⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure

📁 aumix-2.8 源碼下載
💻
📖 第 1 页 / 共 5 页
字号:
    fi  fi  # Check whether --with-gpm or --without-gpm was given.if test "${with_gpm+set}" = set; then  withval="$with_gpm"  echo "$ac_t""Compiling without GPM support" 1>&6else      echo $ac_n "checking for Gpm_Repeat in -lgpm""... $ac_c" 1>&6echo "configure:1719: checking for Gpm_Repeat in -lgpm" >&5ac_lib_var=`echo gpm'_'Gpm_Repeat | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-lgpm  $LIBS"cat > conftest.$ac_ext <<EOF#line 1727 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char Gpm_Repeat();int main() {Gpm_Repeat(); return 0; }EOFif { (eval echo configure:1738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6    ac_tr_lib=HAVE_LIB`echo gpm | sed -e 's/^a-zA-Z0-9_/_/g' \    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF  LIBS="-lgpm $LIBS"else  echo "$ac_t""no" 1>&6fi  fi  # Check whether --with-sysmouse or --without-sysmouse was given.if test "${with_sysmouse+set}" = set; then  withval="$with_sysmouse"  echo "$ac_t""Compiling without sysmouse support" 1>&6else      for ac_hdr in sys/consio.h machine/console.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1777: checking for $ac_hdr" >&5if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1782 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  rm -rf conftest*  eval "ac_cv_header_$ac_safe=yes"else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_header_$ac_safe=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  echo "$ac_t""yes" 1>&6    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`  cat >> confdefs.h <<EOF#define $ac_tr_hdr 1EOF breakelse  echo "$ac_t""no" 1>&6fidone    echo $ac_n "checking for CONS_MOUSECTL""... $ac_c" 1>&6echo "configure:1814: checking for CONS_MOUSECTL" >&5if eval "test \"`echo '$''{'aumix_cv_cons_mousectl'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1819 "configure"#include "confdefs.h"#ifdef HAVE_MACHINE_CONSOLE_H#include <machine/console.h>#endif#ifdef HAVE_SYS_CONSIO_H#include <sys/consio.h>#endif#ifdef CONS_MOUSECTLA mouse is a mouse is a mouse#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "A mouse is a mouse is a mouse" >/dev/null 2>&1; then  rm -rf conftest*  aumix_cv_cons_mousectl=yeselse  rm -rf conftest*  aumix_cv_cons_mousectl=nofirm -f conftest*fiecho "$ac_t""$aumix_cv_cons_mousectl" 1>&6    if test $aumix_cv_cons_mousectl = yes; then      cat >> confdefs.h <<\EOF#define HAVE_SYSMOUSE 1EOF    fi  fifiif test "x$CURSLIB" != "x"; then  CURSES_TRUE=  CURSES_FALSE='#'else  CURSES_TRUE='#'  CURSES_FALSE=fiecho $ac_n "checking whether built-in label text is requested""... $ac_c" 1>&6echo "configure:1868: checking whether built-in label text is requested" >&5# Check whether --enable-own-labels or --disable-own-labels was given.if test "${enable_own_labels+set}" = set; then  enableval="$enable_own_labels"  own_labels=$enablevalelse  own_labels=nofiecho "$ac_t""$own_labels" 1>&6if test $own_labels = yes; then  cat >> confdefs.h <<\EOF#define USE_OWN_LABELS 1EOFfi# Check whether --with-alsa or --without-alsa was given.if test "${with_alsa+set}" = set; then  withval="$with_alsa"  alsa_must=offelse  alsa_must=onfiif test $alsa_must = on; then    ac_safe=`echo "sys/asoundlib.h" | sed 'y%./+-%__p_%'`echo $ac_n "checking for sys/asoundlib.h""... $ac_c" 1>&6echo "configure:1896: checking for sys/asoundlib.h" >&5if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1901 "configure"#include "confdefs.h"#include <sys/asoundlib.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  rm -rf conftest*  eval "ac_cv_header_$ac_safe=yes"else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_header_$ac_safe=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  echo "$ac_t""yes" 1>&6  alsa_head=onelse  echo "$ac_t""no" 1>&6alsa_head=offfi  echo $ac_n "checking for snd_mixer_open in -lasound""... $ac_c" 1>&6echo "configure:1929: checking for snd_mixer_open in -lasound" >&5ac_lib_var=`echo asound'_'snd_mixer_open | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-lasound  $LIBS"cat > conftest.$ac_ext <<EOF#line 1937 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char snd_mixer_open();int main() {snd_mixer_open(); return 0; }EOFif { (eval echo configure:1948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  alsa_lib=onelse  echo "$ac_t""no" 1>&6alsa_lib=offfi  if test $alsa_head = on && test $alsa_lib = on; then    cat >> confdefs.h <<\EOF#define HAVE_ALSA_DISABLED 1EOF  fielse  echo "$ac_t""Compiling without hardware mute supported by ALSA" 1>&6fi# Check whether --with-gtk or --without-gtk was given.if test "${with_gtk+set}" = set; then  withval="$with_gtk"  gtk_must=offelse  gtk_must=onfiif test $gtk_must = on; then    # Extract the first word of "pkg-config", so it can be a program name with args.set dummy pkg-config; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1991: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_PKG_CONFIG'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$PKG_CONFIG"; then  ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.else  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_prog_PKG_CONFIG="yes"      break    fi  done  IFS="$ac_save_ifs"  test -z "$ac_cv_prog_PKG_CONFIG" && ac_cv_prog_PKG_CONFIG="no"fifiPKG_CONFIG="$ac_cv_prog_PKG_CONFIG"if test -n "$PKG_CONFIG"; then  echo "$ac_t""$PKG_CONFIG" 1>&6else  echo "$ac_t""no" 1>&6fi  if test "$PKG_CONFIG" = "no"; then    echo "pkg-config not found--compiling without GTK+ 2.0." ;   else    echo "pkg-config found--compiling with GTK+ 2.0." ;     cat >> confdefs.h <<\EOF#define HAVE_GTK 1EOF            # Check whether --with-gtk-prefix or --without-gtk-prefix was given.if test "${with_gtk_prefix+set}" = set; then  withval="$with_gtk_prefix"  gtk_config_prefix="$withval"else  gtk_config_prefix=""fi# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.if test "${with_gtk_exec_prefix+set}" = set; then  withval="$with_gtk_exec_prefix"  gtk_config_exec_prefix="$withval"else  gtk_config_exec_prefix=""fi# Check whether --enable-gtktest or --disable-gtktest was given.if test "${enable_gtktest+set}" = set; then  enableval="$enable_gtktest"  :else  enable_gtktest=yesfi  for module in .   do      case "$module" in         gthread-2.0)              gtk_config_args="$gtk_config_args gthread-2.0"         ;;      esac  done  if test x$gtk_config_exec_prefix != x ; then     gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"     if test x${PKG_CONFIG+set} != xset ; then        PKG_CONFIG=$gtk_config_exec_prefix/bin/pkg-config     fi  fi  if test x$gtk_config_prefix != x ; then     gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"     if test x${PKG_CONFIG+set} != xset ; then        PKG_CONFIG=$gtk_config_prefix/bin/pkg-config     fi  fi  # Extract the first word of "pkg-config", so it can be a program name with args.set dummy pkg-config; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:2076: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$PKG_CONFIG" in  /*)  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"  ;;esacfiPKG_CONFIG="$ac_cv_path_PKG_CONFIG"if test -n "$PKG_CONFIG"; then  echo "$ac_t""$PKG_CONFIG" 1>&6else  echo "$ac_t""no" 1>&6fi  min_gtk_version=2.0.0  echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6echo "configure:2111: checking for GTK - version >= $min_gtk_version" >&5  no_gtk=""  if test "$PKG_CONFIG" = "no" ; then    no_gtk=yes  else    GTK_CFLAGS=`$PKG_CONFIG $gtk_config_args --cflags gtk+-2.0`    GTK_LIBS=`$PKG_CONFIG $gtk_config_args --libs gtk+-2.0`    gtk_config_major_version=`$PKG_CONFIG $gtk_config_args --modversion gtk+-2.0 | \           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`    gtk_config_minor_version=`$PKG_CONFIG $gtk_config_args --modversion gtk+-2.0 | \           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`    gtk_config_micro_version=`$PKG_CONFIG $gtk_config_args --modversion gtk+-2.0 | \           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`    if test "x$enable_gtktest" = "xyes" ; then      ac_save_CFLAGS="$CFLAGS"      ac_save_LIBS="$LIBS"      CFLAGS="$CFLAGS $GTK_CFLAGS"      LIBS="$GTK_LIBS $LIBS"      rm -f conf.gtktest      if test "$cross_compiling" = yes; then  echo $ac_n "cross compiling; assumed OK... $ac_c"else  cat > conftest.$ac_ext <

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -