?? configure
字號:
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:839: 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:852: 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:865: 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# Find a good install program. We prefer a C program (faster),# so one script is as good as another. But avoid the broken or# incompatible versions:# SysV /etc/install, /usr/sbin/install# SunOS /usr/etc/install# IRIX /sbin/install# AIX /bin/install# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag# AFS /usr/afsws/bin/install, which mishandles nonexistent args# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"# ./install, which can be erroneously created by make from ./install.sh.echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6echo "configure:895: checking for a BSD compatible install" >&5if test -z "$INSTALL"; thenif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" for ac_dir in $PATH; do # Account for people who put trailing slashes in PATH elements. case "$ac_dir/" in /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do if test -f $ac_dir/$ac_prog; then if test $ac_prog = install && grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : else ac_cv_path_install="$ac_dir/$ac_prog -c" break 2 fi fi done ;; esac done IFS="$ac_save_IFS"fi if test "${ac_cv_path_install+set}" = set; then INSTALL="$ac_cv_path_install" else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL="$ac_install_sh" fifiecho "$ac_t""$INSTALL" 1>&6# Use test -z because SunOS4 sh mishandles braces in ${var-val}.# It thinks the first close brace ends the variable substitution.test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'ac_ext=C# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CXXCPP $CPPFLAGS'ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cxx_crossecho $ac_n "checking for Cygwin environment""... $ac_c" 1>&6echo "configure:957: checking for Cygwin environment" >&5if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 962 "configure"#include "confdefs.h"int main() {#ifndef __CYGWIN__#define __CYGWIN__ __CYGWIN32__#endifreturn __CYGWIN__;; return 0; }EOFif { (eval echo configure:973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_cygwin=yeselse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_cygwin=nofirm -f conftest*rm -f conftest*fiecho "$ac_t""$ac_cv_cygwin" 1>&6CYGWIN=test "$ac_cv_cygwin" = yes && CYGWIN=yesecho $ac_n "checking if we really have cygwin""... $ac_c" 1>&6echo "configure:991: checking if we really have cygwin" >&5case "$target" in *cyg*) echo "$ac_t""Environment is indeed cygwin." 1>&6 ;; *) echo "$ac_t""Environment is not cygwin." 1>&6 ;;esacfor ac_prog in $CCC c++ g++ gcc CC cxx cc++ cldo# 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>&6echo "configure:1006: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # 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_CXX="$ac_prog" break fi done IFS="$ac_save_ifs"fifiCXX="$ac_cv_prog_CXX"if test -n "$CXX"; then echo "$ac_t""$CXX" 1>&6else echo "$ac_t""no" 1>&6fitest -n "$CXX" && breakdonetest -n "$CXX" || CXX="gcc"echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6echo "configure:1038: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5ac_ext=C# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CXXCPP $CPPFLAGS'ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cxx_crosscat > conftest.$ac_ext << EOF#line 1049 "configure"#include "confdefs.h"int main(){return(0);}EOFif { (eval echo configure:1054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cxx_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_cxx_cross=no else ac_cv_prog_cxx_cross=yes fielse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_prog_cxx_works=nofirm -fr conftest*ac_ext=C# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CXXCPP $CPPFLAGS'ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cxx_crossecho "$ac_t""$ac_cv_prog_cxx_works" 1>&6if test $ac_cv_prog_cxx_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 ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6echo "configure:1080: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6cross_compiling=$ac_cv_prog_cxx_crossecho $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6echo "configure:1085: checking whether we are using GNU C++" >&5if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.C <<EOF#ifdef __GNUC__ yes;#endifEOFif { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gxx=yeselse ac_cv_prog_gxx=nofifiecho "$ac_t""$ac_cv_prog_gxx" 1>&6if test $ac_cv_prog_gxx = yes; then GXX=yeselse GXX=fiac_test_CXXFLAGS="${CXXFLAGS+set}"ac_save_CXXFLAGS="$CXXFLAGS"CXXFLAGS=echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6echo "configure:1113: checking whether ${CXX-g++} accepts -g" >&5if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else echo 'void f(){}' > conftest.ccif test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then ac_cv_prog_cxx_g=yeselse ac_cv_prog_cxx_g=nofirm -f conftest*fiecho "$ac_t""$ac_cv_prog_cxx_g" 1>&6if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS="$ac_save_CXXFLAGS"elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fielse if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fificompiler="none"if test "$GXX" = yes; then compiler=gnuccfiif test $compiler = "none"; then echo $ac_n "checking whether we are using KAI C++""... $ac_c" 1>&6echo "configure:1151: checking whether we are using KAI C++" >&5if eval "test \"`echo '$''{'KAI_CXX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.c <<EOF# if defined(__KCC) yes;#endifEOFif { ac_try='${CXX} -E conftest.c'; { (eval echo configure:1160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then KAI_CXX=yes compiler=kaiccelse KAI_CXX=nofifiecho "$ac_t""$KAI_CXX" 1>&6 ; fiif test $compiler = "none"; then echo $ac_n "checking whether we are using SGI MIPSpro C++""... $ac_c" 1>&6echo "configure:1170: checking whether we are using SGI MIPSpro C++" >&5if eval "test \"`echo '$''{'SGI_CXX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.c <<EOF# if defined(__sgi) && !defined(__GNUC__) yes;#endifEOFif { ac_try='${CXX} -E conftest.c'; { (eval echo configure:1179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then SGI_CXX=yes compiler=sgiccelse SGI_CXX=nofifiecho "$ac_t""$SGI_CXX" 1>&6 ; fiif test $compiler = "none"; then echo $ac_n "checking whether we are using Metrowerks Codewarrior C++""... $ac_c" 1>&6echo "configure:1189: checking whether we are using Metrowerks Codewarrior C++" >&5if eval "test \"`echo '$''{'MWERKS_CXX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.c <<EOF#ifdef __MWERKS__ yes;#endifEOFif { ac_try='${CXX} -E conftest.c'; { (eval echo configure:1198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then MWERKS_CXX=yes compiler=mwerkselse MWERKS_CXX=nofifiecho "$ac_t""$MWERKS_CXX" 1>&6 ; fiif test $compiler = "none"; then echo $ac_n "checking whether we are using Intel C++""... $ac_c" 1>&6echo "configure:1208: checking whether we are using Intel C++" >&5if eval "test \"`echo '$''{'INTEL_CXX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.c <<EOF# if defined(__ICL) yes;#endifEOFif { ac_try='${CXX} -E conftest.c'; { (eval echo configure:1217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then INTEL_CXX=yes compiler=intelccelse INTEL_CXX=nofifiecho "$ac_t""$INTEL_CXX" 1>&6 ; fiif test $compiler = "none"; then echo $ac_n "checking whether we are using Visual C++""... $ac_c" 1>&6echo "configure:1227: checking whether we are using Visual C++" >&5if eval "test \"`echo '$''{'MSVCPP_CXX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.c <<EOF#if defined(_MSC_VER) && !defined(__MWERKS__) && !defined(__ICL) yes;#endifEOFif { ac_try='${CXX} -E conftest.c'; { (eval echo configure:1236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then MSVCPP_CXX=yes compiler=msvcppelse MSVCPP_CXX=nofifi
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -