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

📄 configure

📁 multi-line Adjunct Communication Server
💻
📖 第 1 页 / 共 5 页
字号:
firm -f conftest*firm -f conftest*firm -f conftest*  ac_cv_prog_CPP="$CPP"fi  CPP="$ac_cv_prog_CPP"else  ac_cv_prog_CPP="$CPP"fiecho "$ac_t""$CPP" 1>&6 for 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:1323: checking for $ac_word" >&5if eval "test \"\${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 $CPPFLAGS $LDFLAGS) works""... $ac_c" 1>&6echo "configure:1355: checking whether the C++ compiler ($CXX $CXXFLAGS $CPPFLAGS $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 1366 "configure"#include "confdefs.h"int main(){return(0);}EOFif { (eval echo configure:1371: \"$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# 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_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 $CPPFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6echo "configure:1397: checking whether the C++ compiler ($CXX $CXXFLAGS $CPPFLAGS $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:1402: checking whether we are using GNU C++" >&5if eval "test \"\${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:1411: \"$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:1430: checking whether ${CXX-g++} accepts -g" >&5if eval "test \"\${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=  fifi echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6echo "configure:1462: checking how to run the C++ preprocessor" >&5if test -z "$CXXCPP"; thenif eval "test \"\${ac_cv_prog_CXXCPP+set}\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  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_cross  CXXCPP="${CXX-g++} -E"  cat > conftest.$ac_ext <<EOF#line 1475 "configure"#include "confdefs.h"#include <stdlib.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1480: \"$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  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CXXCPP=/lib/cppfirm -f conftest*  ac_cv_prog_CXXCPP="$CXXCPP"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_crossfiCXXCPP="$ac_cv_prog_CXXCPP"fiecho "$ac_t""$CXXCPP" 1>&6          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_cross    echo $ac_n "checking whether ${CXX} has built-in bool type""... $ac_c" 1>&6echo "configure:1517: checking whether ${CXX} has built-in bool type" >&5if eval "test \"\${ac_cv_cxx_bool_type+set}\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1522 "configure"#include "confdefs.h"int main() {bool b1=true; bool b2=false;; return 0; }EOFif { (eval echo configure:1529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_cxx_bool_type=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_cxx_bool_type=no        firm -f conftest*  fiecho "$ac_t""$ac_cv_cxx_bool_type" 1>&6  if test $ac_cv_cxx_bool_type = yes ; then	cat >> confdefs.h <<\EOF#define HAVE_BOOL_TYPE 1EOF  fi    echo $ac_n "checking whether ${CXX} supports -fhandle-exceptions""... $ac_c" 1>&6echo "configure:1553: checking whether ${CXX} supports -fhandle-exceptions" >&5if eval "test \"\${ac_cv_cxx_exception_flag+set}\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  echo 'void f(){}' >conftest.c	 if test -z "`${CXX} -fhandle-exceptions -c conftest.c 2>&1`"; then		ac_cv_cxx_exception_flag=yes		CXXFLAGS="$CXXFLAGS -fhandle-exceptions"	 else		ac_cv_cxx_exception_flag=no	 fi	 rm -f conftest*	 fiecho "$ac_t""$ac_cv_cxx_exception_flag" 1>&6  if test $ac_cv_cxx_exception_flag = "yes" ; then    ac_cv_cxx_exception_handling=yes  else    echo $ac_n "checking whether ${CXX} supports exception handling""... $ac_c" 1>&6echo "configure:1574: checking whether ${CXX} supports exception handling" >&5if eval "test \"\${ac_cv_cxx_exception_handling+set}\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1579 "configure"#include "confdefs.h"void f(void) 	     { 		throw "abc";	     } 	     void g(void) 	     { 		try 		{ 		   f(); 		} 		catch(char*){} 	    }	    int main() {; return 0; }EOFif { (eval echo configure:1598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_cxx_exception_handling=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_cxx_exception_handling=no	firm -f conftest*    fiecho "$ac_t""$ac_cv_cxx_exception_handling" 1>&6  fi  if test $ac_cv_cxx_exception_handling = yes ; then	cat >> confdefs.h <<\EOF#define HAVE_EXCEPTION_HANDLING 1EOF  fi    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_cross  echo $ac_n "checking whether system meets Posix.1""... $ac_c" 1>&6echo "configure:1633: checking whether system meets Posix.1" >&5if eval "test \"\${ost_cv_sys_posix1+set}\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1638 "configure"#include "confdefs.h"int main() {		#include <sys/types.h>		#include <unistd.h>		#ifndef	_POSIX_VERSION		fatal		#endif		; return 0; }EOFif { (eval echo configure:1651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ost_cv_sys_posix1=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ost_cv_sys_posix1=no        firm -f conftest*  fiecho "$ac_t""$ost_cv_sys_posix1" 1>&6  if test $ost_cv_sys_posix1 = no ; then	for ac_hdr in unistd.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1671: checking for $ac_hdr" >&5if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1676 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1681: \"$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 else  echo "$ac_t""no" 1>&6fidone  else	cat >> confdefs.h <<\EOF#define HAVE_UNISTD_H 1EOF  fi		for ac_func in sigactiondoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:1719: checking for $ac_func" >&5if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1724 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char $ac_func(); below.  */#include <assert.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 $ac_func();char (*f)();int main() {/* The GNU C library defines this for functions which it implements

⌨️ 快捷键说明

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