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

📄 configure

📁 Modem通讯程序包
💻
📖 第 1 页 / 共 5 页
字号:
  echo "$ac_t""yes" 1>&6else  echo "$ac_t""no" 1>&6fiecho $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6set dummy ${MAKE-make}; ac_make=$2if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftestmake <<\EOFall:	@echo 'ac_maketemp="${MAKE}"'EOF# GNU make sometimes prints "make[1]: Entering...", which would confuse us.eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`if test -n "$ac_maketemp"; then  eval ac_cv_prog_make_${ac_make}_set=yeselse  eval ac_cv_prog_make_${ac_make}_set=nofirm -f conftestmakefiif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  echo "$ac_t""yes" 1>&6  SET_MAKE=else  echo "$ac_t""no" 1>&6  SET_MAKE="MAKE=${MAKE-make}"fifor ac_prog in 'bison -y' byaccdo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$YACC"; then  ac_cv_prog_YACC="$YACC" # Let the user override the test.else  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"  for ac_dir in $PATH; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_prog_YACC="$ac_prog"      break    fi  done  IFS="$ac_save_ifs"fifiYACC="$ac_cv_prog_YACC"if test -n "$YACC"; then  echo "$ac_t""$YACC" 1>&6else  echo "$ac_t""no" 1>&6fitest -n "$YACC" && breakdonetest -n "$YACC" || YACC="yacc"# Extract the first word of "ranlib", so it can be a program name with args.set dummy ranlib; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$RANLIB"; then  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.else  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"  for ac_dir in $PATH; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_prog_RANLIB="ranlib"      break    fi  done  IFS="$ac_save_ifs"  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"fifiRANLIB="$ac_cv_prog_RANLIB"if test -n "$RANLIB"; then  echo "$ac_t""$RANLIB" 1>&6else  echo "$ac_t""no" 1>&6fiif test $ui = motif; then   cat >> confdefs.h <<\EOF#define USE_MOTIF 1EOF   UI=motif   UI_LIBS="-lXm -lXt -lXext -lX11"   # on some systems motif requires linking with libXpm   echo $ac_n "checking for -lXpm""... $ac_c" 1>&6ac_lib_var=`echo Xpm'_'XmCreateCommand | tr './+\055' '__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="-lXpm $UI_LIBS -L/usr/X11R6/lib $LIBS"cat > conftest.$ac_ext <<EOF#line 1036 "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 XmCreateCommand();int main() { return 0; }int t() {XmCreateCommand(); return 0; }EOFif { (eval echo configure:1048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  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  UI_LIBS="$UI_LIBS -lXpm"else  echo "$ac_t""no" 1>&6fielif test $ui = tk; then   echo $ac_n "checking Location of Tcl/Tk library""... $ac_c" 1>&6   cat >> confdefs.h <<\EOF#define USE_TK 1EOF   UI=tk# locate tcl/tk libraries   # When location is not specified we use default search path.   if test $location = "yes"; then      dirs="/ /usr /usr/local /usr/X11 /usr/openwin"   else   # otherwise, we only look in specified location      dirs=$location   fi   # find tk library in search path and use highest version number   for d in $dirs   do      found1=`ls $d/lib/libtk*.* 2>/dev/null |\              grep "libtk[0-9]*\.*[0-9]*\." | sort | tail -1`      l1=`basename /$found1`      l2=`basename /$found`      f=`(echo $l1 ; echo $l2) | sort | tail -1`      if test "a$f" = "a$l1"; then         found=$found1      fi   done   if test "a$found" = "a"; then      echo >&2      { echo "configure: error: *** No Tcl/Tk library found" 1>&2; exit 1; }   fi      location=`dirname $found`   location=`dirname $location`  ;# Strip /lib from location   tk_lib=`basename $found`   # strip possible .a or .so extension   tk_version=`basename $tk_lib .a`   tk_version=`basename $tk_version .so`   tk_version=`echo $tk_version | cut -b6-`      # Determine correct tcl library for tk_lib   case $tk_version in      4.0 ) tk=tk4.0; tcl=tcl7.4 ;;      4.1 ) tk=tk4.1; tcl=tcl7.5 ;;      4.2 ) tk=tk4.2; tcl=tcl7.6 ;;      *   ) tk=tk$tk_version; tcl=tcl$tk_version ;;   esac   UI_LIBS="-l$tk -l$tcl -lX11"   echo "$ac_t""$location/lib ($tk_version)" 1>&6elif test $ui = xtthen   cat >> confdefs.h <<\EOF#define USE_XT 1EOF   UI=xt   UI_LIBS="-lXaw -lXt -lXmu  -lXext -lX11"elif test $ui = textthen   cat >> confdefs.h <<\EOF#define USE_TEXT 1EOF   UI=textelse   { echo "configure: error: *** Incorrect ui specified: $ui" 1>&2; exit 1; }fiif test "a$location" != "ayes"; then   UI_LIBS="-L$location/lib $UI_LIBS"   UI_INCLUDES="-I$location/include"fi# ordinary librariesecho $ac_n "checking for -ldl""... $ac_c" 1>&6ac_lib_var=`echo dl'_'dlopen | tr './+\055' '__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="-ldl  $LIBS"cat > conftest.$ac_ext <<EOF#line 1154 "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 dlopen();int main() { return 0; }int t() {dlopen(); return 0; }EOFif { (eval echo configure:1166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  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 dl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`  cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF  LIBS="-ldl $LIBS"else  echo "$ac_t""no" 1>&6fiecho $ac_n "checking for -lm""... $ac_c" 1>&6ac_lib_var=`echo m'_'atan2 | tr './+\055' '__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="-lm  $LIBS"cat > conftest.$ac_ext <<EOF#line 1198 "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 atan2();int main() { return 0; }int t() {atan2(); return 0; }EOFif { (eval echo configure:1210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  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 m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`  cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF  LIBS="-lm $LIBS"else  echo "$ac_t""no" 1>&6fiecho $ac_n "checking for -lnsl""... $ac_c" 1>&6ac_lib_var=`echo nsl'_'dial | tr './+\055' '__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="-lnsl  $LIBS"cat > conftest.$ac_ext <<EOF#line 1242 "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 dial();int main() { return 0; }int t() {dial(); return 0; }EOFif { (eval echo configure:1254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  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 nsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`  cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF  LIBS="-lnsl $LIBS"else  echo "$ac_t""no" 1>&6fiecho $ac_n "checking for -lsocket""... $ac_c" 1>&6ac_lib_var=`echo socket'_'socket | tr './+\055' '__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="-lsocket  $LIBS"cat > conftest.$ac_ext <<EOF#line 1286 "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 socket();int main() { return 0; }int t() {socket(); return 0; }EOFif { (eval echo configure:1298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  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 socket | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`  cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF  LIBS="-lsocket $LIBS"else  echo "$ac_t""no" 1>&6nslfi# If we find X, set shell vars x_includes and x_libraries to the# paths, otherwise set no_x=yes.# Uses ac_ vars as temps to allow command line to override cache and checks.# --without-x overrides everything else, but does not touch the cache.echo $ac_n "checking for X""... $ac_c" 1>&6# Check whether --with-x or --without-x was given.if test "${with_x+set}" = set; then  withval="$with_x"  :fi# $have_x is `yes', `no', `disabled', or empty when we do not yet know.if test "x$with_x" = xno; then  # The user explicitly disabled X.  have_x=disabledelse  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then    # Both variables are already set.    have_x=yes  elseif eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  # One or both of the vars are not set, and there is no cached value.ac_x_includes=NO ac_x_libraries=NOrm -fr conftestdirif mkdir conftestdir; then  cd conftestdir  # Make sure to not put "make" in the Imakefile rules, since we grep it out.  cat > Imakefile <<'EOF'acfindx:	@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'EOF  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.    for ac_extension in a so sl; do      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&        test -f $ac_im_libdir/libX11.$ac_extension; then        ac_im_usrlibdir=$ac_im_libdir; break      fi    done    # Screen out bogus values from the imake configuration.    case "$ac_im_incroot" in	/usr/include) ;;	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;    esac    case "$ac_im_usrlibdir" in	/usr/lib | /lib) ;;	*) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;    esac  fi  cd ..  rm -fr conftestdirfiif test "$ac_x_includes" = NO; then  # Guess where to find include files, by looking for this one X11 .h file.  test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h  # First, try using that file with no special directory specified.cat > conftest.$ac_ext <<EOF#line 1387 "configure"

⌨️ 快捷键说明

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