📄 configure
字号:
else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_stdc=nofirm -f conftest*if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI.cat > conftest.$ac_ext <<EOF#line 1271 "configure"#include "confdefs.h"#include <string.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "memchr" >/dev/null 2>&1; then :else rm -rf conftest* ac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.cat > conftest.$ac_ext <<EOF#line 1289 "configure"#include "confdefs.h"#include <stdlib.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "free" >/dev/null 2>&1; then :else rm -rf conftest* ac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.if test "$cross_compiling" = yes; then :else cat > conftest.$ac_ext <<EOF#line 1310 "configure"#include "confdefs.h"#include <ctype.h>#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))int main () { int i; for (i = 0; i < 256; i++)if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);exit (0); }EOFif { (eval echo configure:1321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen :else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_header_stdc=nofirm -fr conftest*fififiecho "$ac_t""$ac_cv_header_stdc" 1>&6if test $ac_cv_header_stdc = yes; then cat >> confdefs.h <<\EOF#define STDC_HEADERS 1EOFfiecho $ac_n "checking for size_t""... $ac_c" 1>&6echo "configure:1345: checking for size_t" >&5if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1350 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#include <stddef.h>#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_size_t=yeselse rm -rf conftest* ac_cv_type_size_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_size_t" 1>&6if test $ac_cv_type_size_t = no; then cat >> confdefs.h <<\EOF#define size_t unsignedEOFfiecho $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6echo "configure:1378: checking whether time.h and sys/time.h may both be included" >&5if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1383 "configure"#include "confdefs.h"#include <sys/types.h>#include <sys/time.h>#include <time.h>int main() {struct tm *tp;; return 0; }EOFif { (eval echo configure:1392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yeselse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_time=nofirm -f conftest*fiecho "$ac_t""$ac_cv_header_time" 1>&6if test $ac_cv_header_time = yes; then cat >> confdefs.h <<\EOF#define TIME_WITH_SYS_TIME 1EOFfi# Check whether --enable-debug or --disable-debug was given.if test "${enable_debug+set}" = set; then enableval="$enable_debug" :else enable_debug=nofiecho $ac_n "checking whether to enable debugging""... $ac_c" 1>&6echo "configure:1427: checking whether to enable debugging" >&5if test "$enable_debug" = "no"; then echo "$ac_t""no" 1>&6elif test 0 -le $enable_debug -a $enable_debug -le 5; then echo "$ac_t""$enable_debug" 1>&6 cat >> confdefs.h <<EOF#define AMIS_DEBUG_LEVEL $enable_debugEOFelse echo "$ac_t""$enable_debug" 1>&6 echo "configure: warning: debugging level is invalid" 1>&2fi# Check whether --enable-profile or --disable-profile was given.if test "${enable_profile+set}" = set; then enableval="$enable_profile" :else enable_profile=nofiecho $ac_n "checking whether to enable profiling""... $ac_c" 1>&6echo "configure:1452: checking whether to enable profiling" >&5if test "$enable_profile" = "no"; then echo "$ac_t""no" 1>&6elif test 0 -le $enable_profile -a $enable_profile -le 5; then if test "$ac_cv_header_sstream" = yes; then echo "$ac_t""$enable_profile" 1>&6 cat >> confdefs.h <<EOF#define AMIS_PROFILE_LEVEL $enable_profileEOF else echo "$ac_t""no" 1>&6 echo "configure: warning: profiling is invalid without "sstream"" 1>&2 fielse echo "$ac_t""no" 1>&6 echo "configure: warning: profiling level is invalid" 1>&2fi# Check whether --enable-feature-lambda or --disable-feature-lambda was given.if test "${enable_feature_lambda+set}" = set; then enableval="$enable_feature_lambda" :else enable_feature_lambda=nofiecho $ac_n "checking whether to enable feature weights to be lambda""... $ac_c" 1>&6echo "configure:1482: checking whether to enable feature weights to be lambda" >&5if test "$enable_feature_lambda" = "yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF#define AMIS_FEATURE_WEIGHT_LAMBDA 1EOFelse echo "$ac_t""no" 1>&6 AMIS_FEATURE_WEIGHT_LAMBDA=nofi# Check whether --enable-parallel or --disable-parallel was given.if test "${enable_parallel+set}" = set; then enableval="$enable_parallel" :else enable_parallel=nofiecho $ac_n "checking whether to enable parallel processing""... $ac_c" 1>&6echo "configure:1505: checking whether to enable parallel processing" >&5if test "$enable_parallel" = "yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6echo "configure:1509: checking for pthread_create in -lpthread" >&5ac_lib_var=`echo pthread'_'pthread_create | 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="-lpthread $LIBS"cat > conftest.$ac_ext <<EOF#line 1517 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char pthread_create();int main() {pthread_create(); return 0; }EOFif { (eval echo configure:1531: \"$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 pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF LIBS="-lpthread $LIBS"else echo "$ac_t""no" 1>&6fi echo $ac_n "checking for thr_create in -lthread""... $ac_c" 1>&6echo "configure:1559: checking for thr_create in -lthread" >&5ac_lib_var=`echo thread'_'thr_create | 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="-lthread $LIBS"cat > conftest.$ac_ext <<EOF#line 1567 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char thr_create();int main() {thr_create(); return 0; }EOFif { (eval echo configure:1581: \"$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 thread | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF LIBS="-lthread $LIBS"else echo "$ac_t""no" 1>&6fi if test "$ac_cv_lib_thread_thr_create" = "yes"; then cat >> confdefs.h <<\EOF#define AMIS_PARALLEL 1EOF cat >> confdefs.h <<\EOF#define AMIS_SOLARIS_THREAD 1EOF else if test "$ac_cv_lib_pthread_pthread_create" = "yes"; then cat >> confdefs.h <<\EOF#define AMIS_PARALLEL 1EOF AMIS_PARALLEL=yes else echo "configure: warning: parallel processing could not be enabled without pthread" 1>&2 AMIS_PARALLEL=no fi fielse echo "$ac_t""no" 1>&6 AMIS_PARALLEL=nofi# Check whether --enable-long-double or --disable-long-double was given.if test "${enable_long_double+set}" = set; then enableval="$enable_long_double" :else enable_long_double=nofiecho $ac_n "checking whether to use long double as Real""... $ac_c" 1>&6echo "configure:1645: checking whether to use long double as Real" >&5if test "$enable_long_double" = "yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF#define AMIS_USE_LONG_DOUBLE 1EOF AMIS_USE_LONG_DOUBLE=yeselse echo "$ac_t""no" 1>&6 AMIS_USE_LONG_DOUBLE=nofi# Check whether --enable-tao or --disable-tao was given.if test "${enable_tao+set}" = set; then enableval="$enable_tao" :else enable_tao=nofiecho $ac_n "checking whether to use TAO""... $ac_c" 1>&6echo "configure:1669: checking whether to use TAO" >&5if test "$enable_tao" = "yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF#define AMIS_USE_TAO 1EOF AMIS_USE_TAO=yes # TAO CONFIGURAION
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -