configure

来自「KDE下的西门子手机管理程序」· 代码 · 共 2,160 行 · 第 1/5 页

TXT
2,160
字号
#define PACKAGE "$PACKAGE"EOFcat >> confdefs.h <<EOF#define VERSION "$VERSION"EOFmissing_dir=`cd $ac_aux_dir && pwd`echo $ac_n "checking for working aclocal""... $ac_c" 1>&6echo "configure:877: checking for working aclocal" >&5# Run test in a subshell; some versions of sh will print an error if# an executable is not found, even if stderr is redirected.# Redirect stdin to placate older versions of autoconf.  Sigh.if (aclocal --version) < /dev/null > /dev/null 2>&1; then   ACLOCAL=aclocal   echo "$ac_t""found" 1>&6else   ACLOCAL="$missing_dir/missing aclocal"   echo "$ac_t""missing" 1>&6fiecho $ac_n "checking for working autoconf""... $ac_c" 1>&6echo "configure:890: checking for working autoconf" >&5# Run test in a subshell; some versions of sh will print an error if# an executable is not found, even if stderr is redirected.# Redirect stdin to placate older versions of autoconf.  Sigh.if (autoconf --version) < /dev/null > /dev/null 2>&1; then   AUTOCONF=autoconf   echo "$ac_t""found" 1>&6else   AUTOCONF="$missing_dir/missing autoconf"   echo "$ac_t""missing" 1>&6fiecho $ac_n "checking for working automake""... $ac_c" 1>&6echo "configure:903: checking for working automake" >&5# Run test in a subshell; some versions of sh will print an error if# an executable is not found, even if stderr is redirected.# Redirect stdin to placate older versions of autoconf.  Sigh.if (automake --version) < /dev/null > /dev/null 2>&1; then   AUTOMAKE=automake   echo "$ac_t""found" 1>&6else   AUTOMAKE="$missing_dir/missing automake"   echo "$ac_t""missing" 1>&6fiecho $ac_n "checking for working autoheader""... $ac_c" 1>&6echo "configure:916: checking for working autoheader" >&5# Run test in a subshell; some versions of sh will print an error if# an executable is not found, even if stderr is redirected.# Redirect stdin to placate older versions of autoconf.  Sigh.if (autoheader --version) < /dev/null > /dev/null 2>&1; then   AUTOHEADER=autoheader   echo "$ac_t""found" 1>&6else   AUTOHEADER="$missing_dir/missing autoheader"   echo "$ac_t""missing" 1>&6fiecho $ac_n "checking for working makeinfo""... $ac_c" 1>&6echo "configure:929: checking for working makeinfo" >&5# Run test in a subshell; some versions of sh will print an error if# an executable is not found, even if stderr is redirected.# Redirect stdin to placate older versions of autoconf.  Sigh.if (makeinfo --version) < /dev/null > /dev/null 2>&1; then   MAKEINFO=makeinfo   echo "$ac_t""found" 1>&6else   MAKEINFO="$missing_dir/missing makeinfo"   echo "$ac_t""missing" 1>&6fi       if test "x$prefix" = "xNONE"; then    prefix=$ac_default_prefix    ac_configure_args="$ac_configure_args --prefix $prefix"  fi      # Check whether --enable-fast-perl or --disable-fast-perl was given.if test "${enable_fast_perl+set}" = set; then  enableval="$enable_fast_perl"  with_fast_perl=$enablevalelse  with_fast_perl=yesfi             # Check whether --enable-debug or --disable-debug was given.if test "${enable_debug+set}" = set; then  enableval="$enable_debug"     if test $enableval = "no";      then       kde_use_debug_code="no"       kde_use_debug_define=yes     else       kde_use_debug_code="yes"       kde_use_debug_define=no   fi  else  kde_use_debug_code="no"      kde_use_debug_define=no    fi  # Check whether --enable-strict or --disable-strict was given.if test "${enable_strict+set}" = set; then  enableval="$enable_strict"      if test $enableval = "no"; then         kde_use_strict_options="no"       else         kde_use_strict_options="yes"    fi   else  kde_use_strict_options="no"fi  # Check whether --enable-profile or --disable-profile was given.if test "${enable_profile+set}" = set; then  enableval="$enable_profile"  kde_use_profiling=$enablevalelse  kde_use_profiling="no"  fi  echo $ac_n "checking for a C-Compiler""... $ac_c" 1>&6echo "configure:1015: checking for a C-Compiler" >&5    echo "$ac_t""$CC" 1>&6  if test -z "$CC"; then # Extract the first word of "gcc", so it can be a program name with args.set dummy gcc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1021: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # 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_CC="gcc"      break    fi  done  IFS="$ac_save_ifs"fifiCC="$ac_cv_prog_CC"if test -n "$CC"; then  echo "$ac_t""$CC" 1>&6else  echo "$ac_t""no" 1>&6fi fi  if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1050: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # Let the user override the test.else  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_prog_rejected=no  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then        ac_prog_rejected=yes	continue      fi      ac_cv_prog_CC="cc"      break    fi  done  IFS="$ac_save_ifs"if test $ac_prog_rejected = yes; then  # We found a bogon in the path, so make sure we never use it.  set dummy $ac_cv_prog_CC  shift  if test $# -gt 0; then    # We chose a different compiler from the bogus one.    # However, it has the same basename, so the bogon will be chosen    # first if we set CC to just the basename; use the full file name.    shift    set dummy "$ac_dir/$ac_word" "$@"    shift    ac_cv_prog_CC="$@"  fifififiCC="$ac_cv_prog_CC"if test -n "$CC"; then  echo "$ac_t""$CC" 1>&6else  echo "$ac_t""no" 1>&6fi fi  if test -z "$CC"; then # Extract the first word of "xlc", so it can be a program name with args.set dummy xlc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1098: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # 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_CC="xlc"      break    fi  done  IFS="$ac_save_ifs"fifiCC="$ac_cv_prog_CC"if test -n "$CC"; then  echo "$ac_t""$CC" 1>&6else  echo "$ac_t""no" 1>&6fi fi  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6echo "configure:1127: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5ac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_crosscat > conftest.$ac_ext << EOF#line 1138 "configure"#include "confdefs.h"main(){return(0);}EOFif { (eval echo configure:1143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  ac_cv_prog_cc_works=yes  # If we can't run a trivial program, we are probably using a cross compiler.  if (./conftest; exit) 2>/dev/null; then    ac_cv_prog_cc_cross=no  else    ac_cv_prog_cc_cross=yes  fielse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  ac_cv_prog_cc_works=nofirm -fr conftest*ac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_crossecho "$ac_t""$ac_cv_prog_cc_works" 1>&6if test $ac_cv_prog_cc_works = no; then  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }fiecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6echo "configure:1169: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6cross_compiling=$ac_cv_prog_cc_cross  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6echo "configure:1174: checking whether we are using GNU C" >&5if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.c <<EOF#ifdef __GNUC__  yes;#endifEOFif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  ac_cv_prog_gcc=yeselse  ac_cv_prog_gcc=nofifiecho "$ac_t""$ac_cv_prog_gcc" 1>&6  if test $ac_cv_prog_gcc = yes; then    GCC=yes  else    GCC=  fi  USER_CFLAGS=$CFLAGS  CFLAGS=  if test -z "$CFLAGS"; then    if test "$kde_use_debug_code" = "yes"; then      echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6echo "configure:1204: checking whether ${CC-cc} accepts -g" >&5if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  echo 'void f(){}' > conftest.cif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then  ac_cv_prog_cc_g=yeselse  ac_cv_prog_cc_g=nofirm -f conftest*fiecho "$ac_t""$ac_cv_prog_cc_g" 1>&6      if test $ac_cv_prog_cc_g = yes; then	CFLAGS="-g"	case $host in   	*-*-linux-gnu)	           CFLAGS="$CFLAGS -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE -D_BSD_SOURCE"         ;;        esac      fi    else      if test "$GCC" = "yes"; then        CFLAGS="-O2"      else        CFLAGS=""      fi      if test "$kde_use_debug_define" = "yes"; then         CFLAGS="$CFLAGS -DNDEBUG"      fi    fi    if test "$kde_use_profiling" = yes; then       echo $ac_n "checking whether ${CC-cc} accepts -pg""... $ac_c" 1>&6echo "configure:1240: checking whether ${CC-cc} accepts -pg" >&5if eval "test \"`echo '$''{'kde_cv_prog_cc_pg'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  echo 'void f(){}' > conftest.c   if test -z "`${CC-cc} -pg -c conftest.c 2>&1`"; then     kde_cv_prog_cc_pg=yes   else     kde_cv_prog_cc_pg=no   fi   rm -f conftest*fiecho "$ac_t""$kde_cv_prog_cc_pg" 1>&6      if test "$kde_cv_prog_cc_pg" = yes; then        CFLAGS="$CFLAGS -pg"      fi    fi    if test "$GCC" = "yes"; then     CFLAGS="$CFLAGS"     if test "$kde_use_strict_options" = "yes"; then	CFLAGS="$CFLAGS -W -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings"     fi    fi  fi  case "$host" in  *-*-sysv4.2uw*) CFLAGS="$CFLAGS -D_UNIXWARE";;  esac  if test -n "$USER_CFLAGS"; then    CFLAGS="$CFLAGS $USER_CFLAGS"  fi  if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then     LDFLAGS=""  fi  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6echo "configure:1285: checking how to run the C preprocessor" >&5  # On Suns, sometimes $CPP names a directory.  if test -n "$CPP" && test -d "$CPP"; then    CPP=  fi  if test -z "$CPP"; then  if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    # This must be in double quotes, not single quotes, because CPP may get    # substituted into the Makefile and "${CC-cc}" will confuse make.    CPP="${CC-cc} -E"    # On the NeXT, cc -E runs the code through the compiler's parser,

⌨️ 快捷键说明

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