Changeset 1018 for trunk/configure
- Timestamp:
- Jun 8, 2008, 9:24:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r942 r1018 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 1 for Rappture Core and Bindings1.1.3 # Generated by GNU Autoconf 2.62 for Rappture 1.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 9 9 # This configure script is free software; the Free Software Foundation 10 10 # gives unlimited permission to copy, distribute and modify it. … … 18 18 emulate sh 19 19 NULLCMD=: 20 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 21 # is contrary to our usage. Disable this feature. 22 22 alias -g '${1+"$@"}'='"$@"' … … 40 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 41 41 42 as_nl=' 43 ' 44 export as_nl 45 # Printing a long string crashes Solaris 7 /usr/bin/printf. 46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 73 42 74 # The user is always right. 43 75 if test "${PATH_SEPARATOR+set}" != set; then 44 echo "#! /bin/sh" >conf$$.sh 45 echo "exit 0" >>conf$$.sh 46 chmod +x conf$$.sh 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 48 PATH_SEPARATOR=';' 49 else 50 PATH_SEPARATOR=: 51 fi 52 rm -f conf$$.sh 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 53 81 fi 54 82 … … 66 94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 67 95 # splitting by setting IFS to empty value.) 68 as_nl='69 '70 96 IFS=" "" $as_nl" 71 97 … … 90 116 fi 91 117 if test ! -f "$as_myself"; then 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93 119 { (exit 1); exit 1; } 94 120 fi … … 103 129 104 130 # NLS nuisances. 105 for as_var in \ 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 108 LC_TELEPHONE LC_TIME 109 do 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111 eval $as_var=C; export $as_var 112 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 114 fi 115 done 131 LC_ALL=C 132 export LC_ALL 133 LANGUAGE=C 134 export LANGUAGE 116 135 117 136 # Required to use basename. … … 135 154 X"$0" : 'X\(//\)$' \| \ 136 155 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137 echo X/"$0" |156 $as_echo X/"$0" | 138 157 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 158 s//\1/ … … 161 180 fi 162 181 163 if test $as_have_required = yes && 182 if test $as_have_required = yes && (eval ": 164 183 (as_func_return () { 165 184 (exit \$1) … … 243 262 emulate sh 244 263 NULLCMD=: 245 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 246 265 # is contrary to our usage. Disable this feature. 247 266 alias -g '${1+"$@"}'='"$@"' … … 264 283 emulate sh 265 284 NULLCMD=: 266 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 267 286 # is contrary to our usage. Disable this feature. 268 287 alias -g '${1+"$@"}'='"$@"' … … 344 363 if test "x$CONFIG_SHELL" != x; then 345 364 for as_var in BASH_ENV ENV 346 347 348 349 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 350 369 fi 351 370 … … 416 435 test \$exitcode = 0") || { 417 436 echo No shell found that supports shell functions. 418 echo Please tell autoconf@gnu.org about your system, 419 echo including any error possibly output before this 420 echo message 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 421 441 } 422 442 … … 454 474 ' >$as_me.lineno && 455 475 chmod +x "$as_me.lineno" || 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 477 { (exit 1); exit 1; }; } 458 478 … … 482 502 ECHO_N='-n';; 483 503 esac 484 485 504 if expr a : '\(a\)' >/dev/null 2>&1 && 486 505 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 495 514 else 496 515 rm -f conf$$.dir 497 mkdir conf$$.dir 498 fi 499 echo >conf$$.file 500 if ln -s conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s='ln -s' 502 # ... but there are two gotchas: 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 505 # In both cases, we have to default to `cp -p'. 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 516 mkdir conf$$.dir 2>/dev/null 517 fi 518 if (echo >conf$$.file) 2>/dev/null; then 519 if ln -s conf$$.file conf$$ 2>/dev/null; then 520 as_ln_s='ln -s' 521 # ... but there are two gotchas: 522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 524 # In both cases, we have to default to `cp -p'. 525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 526 as_ln_s='cp -p' 527 elif ln conf$$.file conf$$ 2>/dev/null; then 528 as_ln_s=ln 529 else 507 530 as_ln_s='cp -p' 508 elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 531 fi 510 532 else 511 533 as_ln_s='cp -p' … … 532 554 eval sh -c '\'' 533 555 if test -d "$1"; then 534 556 test -d "$1/."; 535 557 else 536 558 case $1 in 537 559 -*)set "./$1";; 538 560 esac; 539 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in … … 573 595 574 596 # Identity of this package. 575 PACKAGE_NAME='Rappture Core and Bindings'576 PACKAGE_TARNAME='rappture -core-and-bindings'597 PACKAGE_NAME='Rappture' 598 PACKAGE_TARNAME='rappture' 577 599 PACKAGE_VERSION='1.1' 578 PACKAGE_STRING='Rappture Core and Bindings1.1'600 PACKAGE_STRING='Rappture 1.1' 579 601 PACKAGE_BUGREPORT='rappture@nanohub.org' 580 602 … … 615 637 #endif" 616 638 639 enable_option_checking=no 617 640 ac_subst_vars='SHELL 618 641 PATH_SEPARATOR … … 652 675 host_alias 653 676 target_alias 654 VERSION655 677 LIB_SEARCH_DIRS 656 678 INSTALL_PROGRAM … … 665 687 EXEEXT 666 688 OBJEXT 689 RANLIB 690 LN_S 667 691 CPP 668 692 GREP … … 675 699 FFLAGS 676 700 ac_ct_F77 701 AR 702 DL_LIBS 703 DL_OBJS 704 PLAT_OBJS 705 PLAT_SRCS 706 CFLAGS_DEBUG 707 CFLAGS_OPTIMIZE 708 CFLAGS_WARNING 709 LDFLAGS_DEBUG 710 LDFLAGS_OPTIMIZE 711 CC_SEARCH_FLAGS 712 LD_SEARCH_FLAGS 713 STLIB_LD 714 SHLIB_LD 715 TCL_SHLIB_LD_EXTRAS 716 TK_SHLIB_LD_EXTRAS 717 SHLIB_LD_LIBS 718 SHLIB_CFLAGS 719 SHLIB_SUFFIX 720 MAKE_LIB 721 MAKE_STUB_LIB 722 INSTALL_LIB 723 INSTALL_STUB_LIB 677 724 ENABLE_GUI 678 725 TCLSH … … 689 736 PYTHON_INCLUDES 690 737 PYTHON_SITE_PACKAGES 738 RUBY 691 739 RP_BASE 740 SHLIB_LDFLAGS 741 CFLAGS_DEFAULT 742 LDFLAGS_DEFAULT 692 743 subdirs 693 744 LIBOBJS 694 745 LTLIBOBJS' 695 746 ac_subst_files='' 747 ac_user_opts=' 748 enable_option_checking 749 enable_64bit 750 enable_64bit_vis 751 enable_corefoundation 752 enable_load 753 enable_gui 754 with_tclsh 755 with_matlab 756 with_matlab_arch 757 with_mexext 758 with_octave 759 with_perl 760 with_python 761 with_ruby 762 enable_shared 763 enable_symbols 764 ' 696 765 ac_precious_vars='build_alias 697 766 host_alias … … 709 778 F77 710 779 FFLAGS' 711 ac_subdirs_all='gui 712 src/tcl 713 optimizer/src ' 780 ac_subdirs_all='packages/optimizer/src ' 714 781 715 782 # Initialize some variables set by options. 716 783 ac_init_help= 717 784 ac_init_version=false 785 ac_unrecognized_opts= 786 ac_unrecognized_sep= 718 787 # The variables have the same names as the options, with 719 788 # dashes changed to underlines. … … 814 883 815 884 -disable-* | --disable-*) 816 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`885 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 817 886 # Reject names that are not valid shell variable names. 818 expr "x$ac_ feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&819 { echo "$as_me: error: invalid feature name: $ac_feature" >&2887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 888 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 820 889 { (exit 1); exit 1; }; } 821 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 822 eval enable_$ac_feature=no ;; 890 ac_useropt_orig=$ac_useropt 891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 892 case $ac_user_opts in 893 *" 894 "enable_$ac_useropt" 895 "*) ;; 896 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 897 ac_unrecognized_sep=', ';; 898 esac 899 eval enable_$ac_useropt=no ;; 823 900 824 901 -docdir | --docdir | --docdi | --doc | --do) … … 833 910 834 911 -enable-* | --enable-*) 835 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`912 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 836 913 # Reject names that are not valid shell variable names. 837 expr "x$ac_ feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&838 { echo "$as_me: error: invalid feature name: $ac_feature" >&2914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 915 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 839 916 { (exit 1); exit 1; }; } 840 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 841 eval enable_$ac_feature=\$ac_optarg ;; 917 ac_useropt_orig=$ac_useropt 918 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 919 case $ac_user_opts in 920 *" 921 "enable_$ac_useropt" 922 "*) ;; 923 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 924 ac_unrecognized_sep=', ';; 925 esac 926 eval enable_$ac_useropt=\$ac_optarg ;; 842 927 843 928 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1030 1115 1031 1116 -with-* | --with-*) 1032 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1117 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1033 1118 # Reject names that are not valid shell variable names. 1034 expr "x$ac_ package" : ".*[^-._$as_cr_alnum]" >/dev/null &&1035 { echo "$as_me: error: invalid package name: $ac_package" >&21119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1120 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1036 1121 { (exit 1); exit 1; }; } 1037 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1038 eval with_$ac_package=\$ac_optarg ;; 1122 ac_useropt_orig=$ac_useropt 1123 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1124 case $ac_user_opts in 1125 *" 1126 "with_$ac_useropt" 1127 "*) ;; 1128 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1129 ac_unrecognized_sep=', ';; 1130 esac 1131 eval with_$ac_useropt=\$ac_optarg ;; 1039 1132 1040 1133 -without-* | --without-*) 1041 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1134 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1042 1135 # Reject names that are not valid shell variable names. 1043 expr "x$ac_ package" : ".*[^-._$as_cr_alnum]" >/dev/null &&1044 { echo "$as_me: error: invalid package name: $ac_package" >&21136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1137 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1045 1138 { (exit 1); exit 1; }; } 1046 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1047 eval with_$ac_package=no ;; 1139 ac_useropt_orig=$ac_useropt 1140 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1141 case $ac_user_opts in 1142 *" 1143 "with_$ac_useropt" 1144 "*) ;; 1145 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1146 ac_unrecognized_sep=', ';; 1147 esac 1148 eval with_$ac_useropt=no ;; 1048 1149 1049 1150 --x) … … 1065 1166 x_libraries=$ac_optarg ;; 1066 1167 1067 -*) { echo "$as_me: error: unrecognized option: $ac_option1168 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1068 1169 Try \`$0 --help' for more information." >&2 1069 1170 { (exit 1); exit 1; }; } … … 1074 1175 # Reject names that are not valid shell variable names. 1075 1176 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1076 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21177 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1077 1178 { (exit 1); exit 1; }; } 1078 1179 eval $ac_envvar=\$ac_optarg … … 1081 1182 *) 1082 1183 # FIXME: should be removed in autoconf 3.0. 1083 echo "$as_me: WARNING: you should use --build, --host, --target" >&21184 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1084 1185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1085 echo "$as_me: WARNING: invalid host type: $ac_option" >&21186 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1086 1187 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1087 1188 ;; … … 1092 1193 if test -n "$ac_prev"; then 1093 1194 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1094 { echo "$as_me: error: missing argument to $ac_option" >&21195 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1095 1196 { (exit 1); exit 1; }; } 1096 1197 fi 1097 1198 1098 # Be sure to have absolute directory names. 1199 if test -n "$ac_unrecognized_opts"; then 1200 case $enable_option_checking in 1201 no) ;; 1202 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 1203 { (exit 1); exit 1; }; } ;; 1204 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; 1205 esac 1206 fi 1207 1208 # Check all directory arguments for consistency. 1099 1209 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1100 1210 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1103 1213 do 1104 1214 eval ac_val=\$$ac_var 1215 # Remove trailing slashes. 1216 case $ac_val in 1217 */ ) 1218 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1219 eval $ac_var=\$ac_val;; 1220 esac 1221 # Be sure to have absolute directory names. 1105 1222 case $ac_val in 1106 1223 [\\/$]* | ?:[\\/]* ) continue;; 1107 1224 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1108 1225 esac 1109 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&21226 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1110 1227 { (exit 1); exit 1; }; } 1111 1228 done … … 1122 1239 if test "x$build_alias" = x; then 1123 1240 cross_compiling=maybe 1124 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1241 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1125 1242 If a cross compiler is detected then cross compile mode will be used." >&2 1126 1243 elif test "x$build_alias" != "x$host_alias"; then … … 1138 1255 ac_ls_di=`ls -di .` && 1139 1256 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1140 { echo "$as_me: error: Working directory cannot be determined" >&21257 { $as_echo "$as_me: error: Working directory cannot be determined" >&2 1141 1258 { (exit 1); exit 1; }; } 1142 1259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1143 { echo "$as_me: error: pwd does not report name of working directory" >&21260 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1144 1261 { (exit 1); exit 1; }; } 1145 1262 … … 1149 1266 ac_srcdir_defaulted=yes 1150 1267 # Try the directory containing this script, then the parent directory. 1151 ac_confdir=`$as_dirname -- "$ 0" ||1152 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1153 X"$ 0" : 'X\(//\)[^/]' \| \1154 X"$ 0" : 'X\(//\)$' \| \1155 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1156 echo X"$0" |1268 ac_confdir=`$as_dirname -- "$as_myself" || 1269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1270 X"$as_myself" : 'X\(//\)[^/]' \| \ 1271 X"$as_myself" : 'X\(//\)$' \| \ 1272 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1273 $as_echo X"$as_myself" | 1157 1274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1158 1275 s//\1/ … … 1181 1298 if test ! -r "$srcdir/$ac_unique_file"; then 1182 1299 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1183 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&21300 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1184 1301 { (exit 1); exit 1; }; } 1185 1302 fi 1186 1303 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1187 1304 ac_abs_confdir=`( 1188 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&21305 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1189 1306 { (exit 1); exit 1; }; } 1190 1307 pwd)` … … 1213 1330 # This message is too long to be a string in the A/UX 3.1 sh. 1214 1331 cat <<_ACEOF 1215 \`configure' configures Rappture Core and Bindings1.1 to adapt to many kinds of systems.1332 \`configure' configures Rappture 1.1 to adapt to many kinds of systems. 1216 1333 1217 1334 Usage: $0 [OPTION]... [VAR=VALUE]... … … 1235 1352 Installation directories: 1236 1353 --prefix=PREFIX install architecture-independent files in PREFIX 1237 1354 [$ac_default_prefix] 1238 1355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1239 1356 [PREFIX] 1240 1357 1241 1358 By default, \`make install' will install all the files in … … 1247 1364 1248 1365 Fine tuning of the installation directories: 1249 --bindir=DIR user executables [EPREFIX/bin]1250 --sbindir=DIR system admin executables [EPREFIX/sbin]1251 --libexecdir=DIR program executables [EPREFIX/libexec]1252 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1253 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1254 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1255 --libdir=DIR object code libraries [EPREFIX/lib]1256 --includedir=DIR C header files [PREFIX/include]1257 --oldincludedir=DIR C header files for non-gcc [/usr/include]1258 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1259 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1260 --infodir=DIR info documentation [DATAROOTDIR/info]1261 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1262 --mandir=DIR man documentation [DATAROOTDIR/man]1263 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture-core-and-bindings]1264 --htmldir=DIR html documentation [DOCDIR]1265 --dvidir=DIR dvi documentation [DOCDIR]1266 --pdfdir=DIR pdf documentation [DOCDIR]1267 --psdir=DIR ps documentation [DOCDIR]1366 --bindir=DIR user executables [EPREFIX/bin] 1367 --sbindir=DIR system admin executables [EPREFIX/sbin] 1368 --libexecdir=DIR program executables [EPREFIX/libexec] 1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1371 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1372 --libdir=DIR object code libraries [EPREFIX/lib] 1373 --includedir=DIR C header files [PREFIX/include] 1374 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1375 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1376 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1377 --infodir=DIR info documentation [DATAROOTDIR/info] 1378 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1379 --mandir=DIR man documentation [DATAROOTDIR/man] 1380 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture] 1381 --htmldir=DIR html documentation [DOCDIR] 1382 --dvidir=DIR dvi documentation [DOCDIR] 1383 --pdfdir=DIR pdf documentation [DOCDIR] 1384 --psdir=DIR ps documentation [DOCDIR] 1268 1385 _ACEOF 1269 1386 … … 1274 1391 if test -n "$ac_init_help"; then 1275 1392 case $ac_init_help in 1276 short | recursive ) echo "Configuration of Rappture Core and Bindings1.1:";;1393 short | recursive ) echo "Configuration of Rappture 1.1:";; 1277 1394 esac 1278 1395 cat <<\_ACEOF 1279 1396 1280 1397 Optional Features: 1398 --disable-option-checking ignore unrecognized --enable/--with options 1281 1399 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1282 1400 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1401 --enable-64bit enable 64bit support (where applicable) 1402 --enable-64bit-vis enable 64bit Sparc VIS support 1403 --enable-corefoundation use CoreFoundation API --enable-corefoundation 1404 --disable-load disallow dynamic loading and "load" command 1283 1405 --enable-gui build code related to the graphical user interface 1284 1406 [default=yes] 1407 --enable-shared build and link with shared libraries --enable-shared 1408 --enable-symbols build with debugging symbols --disable-symbols 1285 1409 1286 1410 Optional Packages: … … 1297 1421 --with-perl=DIR location of perl [default=check] 1298 1422 --with-python=DIR location of python [default=check] 1423 --with-ruby=DIR location of ruby [default=check] 1299 1424 1300 1425 Some influential environment variables: … … 1324 1449 # If there are subdirs, report their specific --help. 1325 1450 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1326 test -d "$ac_dir" || continue 1451 test -d "$ac_dir" || 1452 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1453 continue 1327 1454 ac_builddir=. 1328 1455 … … 1330 1457 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1331 1458 *) 1332 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1459 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1333 1460 # A ".." for each directory in $ac_dir_suffix. 1334 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1461 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1335 1462 case $ac_top_builddir_sub in 1336 1463 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1368 1495 $SHELL "$ac_srcdir/configure" --help=recursive 1369 1496 else 1370 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21497 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1371 1498 fi || ac_status=$? 1372 1499 cd "$ac_pwd" || { ac_status=$?; break; } … … 1377 1504 if $ac_init_version; then 1378 1505 cat <<\_ACEOF 1379 Rappture Core and Bindingsconfigure 1.11380 generated by GNU Autoconf 2.6 11506 Rappture configure 1.1 1507 generated by GNU Autoconf 2.62 1381 1508 1382 1509 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1383 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.1510 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1384 1511 This configure script is free software; the Free Software Foundation 1385 1512 gives unlimited permission to copy, distribute and modify it. … … 1391 1518 running configure, to aid debugging if configure makes a mistake. 1392 1519 1393 It was created by Rappture Core and Bindings$as_me 1.1, which was1394 generated by GNU Autoconf 2.6 1. Invocation command line was1520 It was created by Rappture $as_me 1.1, which was 1521 generated by GNU Autoconf 2.62. Invocation command line was 1395 1522 1396 1523 $ $0 $@ … … 1428 1555 IFS=$as_save_IFS 1429 1556 test -z "$as_dir" && as_dir=. 1430 echo "PATH: $as_dir"1557 $as_echo "PATH: $as_dir" 1431 1558 done 1432 1559 IFS=$as_save_IFS … … 1463 1590 continue ;; 1464 1591 *\'*) 1465 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1592 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1466 1593 esac 1467 1594 case $ac_pass in … … 1515 1642 *${as_nl}*) 1516 1643 case $ac_var in #( 1517 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51518 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;1644 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1645 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1519 1646 esac 1520 1647 case $ac_var in #( 1521 1648 _ | IFS | as_nl) ;; #( 1649 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1522 1650 *) $as_unset $ac_var ;; 1523 1651 esac ;; … … 1549 1677 eval ac_val=\$$ac_var 1550 1678 case $ac_val in 1551 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1679 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1552 1680 esac 1553 echo "$ac_var='\''$ac_val'\''"1681 $as_echo "$ac_var='\''$ac_val'\''" 1554 1682 done | sort 1555 1683 echo … … 1566 1694 eval ac_val=\$$ac_var 1567 1695 case $ac_val in 1568 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1696 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1569 1697 esac 1570 echo "$ac_var='\''$ac_val'\''"1698 $as_echo "$ac_var='\''$ac_val'\''" 1571 1699 done | sort 1572 1700 echo … … 1584 1712 fi 1585 1713 test "$ac_signal" != 0 && 1586 echo "$as_me: caught signal $ac_signal"1587 echo "$as_me: exit $exit_status"1714 $as_echo "$as_me: caught signal $ac_signal" 1715 $as_echo "$as_me: exit $exit_status" 1588 1716 } >&5 1589 1717 rm -f core *.core core.conftest.* && … … 1627 1755 1628 1756 # Let the site file select an alternate cache file if it wants to. 1629 # Prefer explicitly selected file to automatically selected ones. 1757 # Prefer an explicitly selected file to automatically selected ones. 1758 ac_site_file1=NONE 1759 ac_site_file2=NONE 1630 1760 if test -n "$CONFIG_SITE"; then 1631 set x "$CONFIG_SITE"1761 ac_site_file1=$CONFIG_SITE 1632 1762 elif test "x$prefix" != xNONE; then 1633 set x "$prefix/share/config.site" "$prefix/etc/config.site"1634 else1635 set x "$ac_default_prefix/share/config.site" \ 1636 "$ac_default_prefix/etc/config.site" 1637 fi 1638 shift 1639 for ac_site_file 1763 ac_site_file1=$prefix/share/config.site 1764 ac_site_file2=$prefix/etc/config.site 1765 else 1766 ac_site_file1=$ac_default_prefix/share/config.site 1767 ac_site_file2=$ac_default_prefix/etc/config.site 1768 fi 1769 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1640 1770 do 1771 test "x$ac_site_file" = xNONE && continue 1641 1772 if test -r "$ac_site_file"; then 1642 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51643 echo "$as_me: loading site script $ac_site_file" >&6;}1773 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1774 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1644 1775 sed 's/^/| /' "$ac_site_file" >&5 1645 1776 . "$ac_site_file" … … 1651 1782 # files actually), so we avoid doing that. 1652 1783 if test -f "$cache_file"; then 1653 { echo "$as_me:$LINENO: loading cache $cache_file" >&51654 echo "$as_me: loading cache $cache_file" >&6;}1784 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1785 $as_echo "$as_me: loading cache $cache_file" >&6;} 1655 1786 case $cache_file in 1656 1787 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1659 1790 fi 1660 1791 else 1661 { echo "$as_me:$LINENO: creating cache $cache_file" >&51662 echo "$as_me: creating cache $cache_file" >&6;}1792 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1793 $as_echo "$as_me: creating cache $cache_file" >&6;} 1663 1794 >$cache_file 1664 1795 fi … … 1674 1805 case $ac_old_set,$ac_new_set in 1675 1806 set,) 1676 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51677 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1807 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1808 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1678 1809 ac_cache_corrupted=: ;; 1679 1810 ,set) 1680 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51681 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1811 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1812 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1682 1813 ac_cache_corrupted=: ;; 1683 1814 ,);; 1684 1815 *) 1685 1816 if test "x$ac_old_val" != "x$ac_new_val"; then 1686 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1687 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1688 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1689 echo "$as_me: former value: $ac_old_val" >&2;} 1690 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1691 echo "$as_me: current value: $ac_new_val" >&2;} 1692 ac_cache_corrupted=: 1817 # differences in whitespace do not lead to failure. 1818 ac_old_val_w=`echo x $ac_old_val` 1819 ac_new_val_w=`echo x $ac_new_val` 1820 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1821 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1822 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1823 ac_cache_corrupted=: 1824 else 1825 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1826 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1827 eval $ac_var=\$ac_old_val 1828 fi 1829 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1830 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1831 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1832 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1693 1833 fi;; 1694 1834 esac … … 1696 1836 if test "$ac_new_set" = set; then 1697 1837 case $ac_new_val in 1698 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;1838 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1699 1839 *) ac_arg=$ac_var=$ac_new_val ;; 1700 1840 esac … … 1706 1846 done 1707 1847 if $ac_cache_corrupted; then 1708 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&51709 echo "$as_me: error: changes in the environment can compromise the build" >&2;}1710 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&51711 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}1848 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1849 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1850 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1851 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1712 1852 { (exit 1); exit 1; }; } 1713 1853 fi … … 1743 1883 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1744 1884 1745 1746 1747 VERSION=0.0.11748 1885 1749 1886 … … 1784 1921 done 1785 1922 if test -z "$ac_aux_dir"; then 1786 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&51787 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}1923 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1924 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1788 1925 { (exit 1); exit 1; }; } 1789 1926 fi … … 1811 1948 # OS/2's system install, which has a completely different semantic 1812 1949 # ./install, which can be erroneously created by make from ./install.sh. 1813 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1814 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1950 # Reject install programs that cannot install multiple files. 1951 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1952 $as_echo_n "checking for a BSD-compatible install... " >&6; } 1815 1953 if test -z "$INSTALL"; then 1816 1954 if test "${ac_cv_path_install+set}" = set; then 1817 echo $ECHO_N "(cached) $ECHO_C" >&61955 $as_echo_n "(cached) " >&6 1818 1956 else 1819 1957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 1844 1982 : 1845 1983 else 1846 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1847 break 3 1984 rm -rf conftest.one conftest.two conftest.dir 1985 echo one > conftest.one 1986 echo two > conftest.two 1987 mkdir conftest.dir 1988 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 1989 test -s conftest.one && test -s conftest.two && 1990 test -s conftest.dir/conftest.one && 1991 test -s conftest.dir/conftest.two 1992 then 1993 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1994 break 3 1995 fi 1848 1996 fi 1849 1997 fi … … 1852 2000 ;; 1853 2001 esac 2002 1854 2003 done 1855 2004 IFS=$as_save_IFS 1856 2005 2006 rm -rf conftest.one conftest.two conftest.dir 1857 2007 1858 2008 fi … … 1867 2017 fi 1868 2018 fi 1869 { echo "$as_me:$LINENO: result: $INSTALL" >&51870 echo "${ECHO_T}$INSTALL" >&6; }2019 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 2020 $as_echo "$INSTALL" >&6; } 1871 2021 1872 2022 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1878 2028 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1879 2029 1880 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1881 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1882 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2030 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2031 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2032 set x ${MAKE-make} 2033 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1883 2034 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1884 echo $ECHO_N "(cached) $ECHO_C" >&62035 $as_echo_n "(cached) " >&6 1885 2036 else 1886 2037 cat >conftest.make <<\_ACEOF … … 1899 2050 fi 1900 2051 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 1901 { echo "$as_me:$LINENO: result: yes" >&51902 echo "${ECHO_T}yes" >&6; }2052 { $as_echo "$as_me:$LINENO: result: yes" >&5 2053 $as_echo "yes" >&6; } 1903 2054 SET_MAKE= 1904 2055 else 1905 { echo "$as_me:$LINENO: result: no" >&51906 echo "${ECHO_T}no" >&6; }2056 { $as_echo "$as_me:$LINENO: result: no" >&5 2057 $as_echo "no" >&6; } 1907 2058 SET_MAKE="MAKE=${MAKE-make}" 1908 2059 fi … … 1917 2068 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1918 2069 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1919 { echo "$as_me:$LINENO: checking for $ac_word" >&51920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2070 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2071 $as_echo_n "checking for $ac_word... " >&6; } 1921 2072 if test "${ac_cv_prog_CC+set}" = set; then 1922 echo $ECHO_N "(cached) $ECHO_C" >&62073 $as_echo_n "(cached) " >&6 1923 2074 else 1924 2075 if test -n "$CC"; then … … 1933 2084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1934 2085 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52086 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1936 2087 break 2 1937 2088 fi … … 1944 2095 CC=$ac_cv_prog_CC 1945 2096 if test -n "$CC"; then 1946 { echo "$as_me:$LINENO: result: $CC" >&51947 echo "${ECHO_T}$CC" >&6; }1948 else 1949 { echo "$as_me:$LINENO: result: no" >&51950 echo "${ECHO_T}no" >&6; }2097 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2098 $as_echo "$CC" >&6; } 2099 else 2100 { $as_echo "$as_me:$LINENO: result: no" >&5 2101 $as_echo "no" >&6; } 1951 2102 fi 1952 2103 … … 1957 2108 # Extract the first word of "gcc", so it can be a program name with args. 1958 2109 set dummy gcc; ac_word=$2 1959 { echo "$as_me:$LINENO: checking for $ac_word" >&51960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2110 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2111 $as_echo_n "checking for $ac_word... " >&6; } 1961 2112 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1962 echo $ECHO_N "(cached) $ECHO_C" >&62113 $as_echo_n "(cached) " >&6 1963 2114 else 1964 2115 if test -n "$ac_ct_CC"; then … … 1973 2124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1974 2125 ac_cv_prog_ac_ct_CC="gcc" 1975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52126 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1976 2127 break 2 1977 2128 fi … … 1984 2135 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1985 2136 if test -n "$ac_ct_CC"; then 1986 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&51987 echo "${ECHO_T}$ac_ct_CC" >&6; }1988 else 1989 { echo "$as_me:$LINENO: result: no" >&51990 echo "${ECHO_T}no" >&6; }2137 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2138 $as_echo "$ac_ct_CC" >&6; } 2139 else 2140 { $as_echo "$as_me:$LINENO: result: no" >&5 2141 $as_echo "no" >&6; } 1991 2142 fi 1992 2143 … … 1996 2147 case $cross_compiling:$ac_tool_warned in 1997 2148 yes:) 1998 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2149 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1999 2150 whose name does not start with the host triplet. If you think this 2000 2151 configuration is useful to you, please write to autoconf@gnu.org." >&5 2001 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2152 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2002 2153 whose name does not start with the host triplet. If you think this 2003 2154 configuration is useful to you, please write to autoconf@gnu.org." >&2;} … … 2014 2165 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2015 2166 set dummy ${ac_tool_prefix}cc; ac_word=$2 2016 { echo "$as_me:$LINENO: checking for $ac_word" >&52017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2167 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2168 $as_echo_n "checking for $ac_word... " >&6; } 2018 2169 if test "${ac_cv_prog_CC+set}" = set; then 2019 echo $ECHO_N "(cached) $ECHO_C" >&62170 $as_echo_n "(cached) " >&6 2020 2171 else 2021 2172 if test -n "$CC"; then … … 2030 2181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2031 2182 ac_cv_prog_CC="${ac_tool_prefix}cc" 2032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52183 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2033 2184 break 2 2034 2185 fi … … 2041 2192 CC=$ac_cv_prog_CC 2042 2193 if test -n "$CC"; then 2043 { echo "$as_me:$LINENO: result: $CC" >&52044 echo "${ECHO_T}$CC" >&6; }2045 else 2046 { echo "$as_me:$LINENO: result: no" >&52047 echo "${ECHO_T}no" >&6; }2194 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2195 $as_echo "$CC" >&6; } 2196 else 2197 { $as_echo "$as_me:$LINENO: result: no" >&5 2198 $as_echo "no" >&6; } 2048 2199 fi 2049 2200 … … 2054 2205 # Extract the first word of "cc", so it can be a program name with args. 2055 2206 set dummy cc; ac_word=$2 2056 { echo "$as_me:$LINENO: checking for $ac_word" >&52057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2207 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2208 $as_echo_n "checking for $ac_word... " >&6; } 2058 2209 if test "${ac_cv_prog_CC+set}" = set; then 2059 echo $ECHO_N "(cached) $ECHO_C" >&62210 $as_echo_n "(cached) " >&6 2060 2211 else 2061 2212 if test -n "$CC"; then … … 2075 2226 fi 2076 2227 ac_cv_prog_CC="cc" 2077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52228 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2078 2229 break 2 2079 2230 fi … … 2098 2249 CC=$ac_cv_prog_CC 2099 2250 if test -n "$CC"; then 2100 { echo "$as_me:$LINENO: result: $CC" >&52101 echo "${ECHO_T}$CC" >&6; }2102 else 2103 { echo "$as_me:$LINENO: result: no" >&52104 echo "${ECHO_T}no" >&6; }2251 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2252 $as_echo "$CC" >&6; } 2253 else 2254 { $as_echo "$as_me:$LINENO: result: no" >&5 2255 $as_echo "no" >&6; } 2105 2256 fi 2106 2257 … … 2113 2264 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2114 2265 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2115 { echo "$as_me:$LINENO: checking for $ac_word" >&52116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2266 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2267 $as_echo_n "checking for $ac_word... " >&6; } 2117 2268 if test "${ac_cv_prog_CC+set}" = set; then 2118 echo $ECHO_N "(cached) $ECHO_C" >&62269 $as_echo_n "(cached) " >&6 2119 2270 else 2120 2271 if test -n "$CC"; then … … 2129 2280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2130 2281 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52282 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2132 2283 break 2 2133 2284 fi … … 2140 2291 CC=$ac_cv_prog_CC 2141 2292 if test -n "$CC"; then 2142 { echo "$as_me:$LINENO: result: $CC" >&52143 echo "${ECHO_T}$CC" >&6; }2144 else 2145 { echo "$as_me:$LINENO: result: no" >&52146 echo "${ECHO_T}no" >&6; }2293 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2294 $as_echo "$CC" >&6; } 2295 else 2296 { $as_echo "$as_me:$LINENO: result: no" >&5 2297 $as_echo "no" >&6; } 2147 2298 fi 2148 2299 … … 2157 2308 # Extract the first word of "$ac_prog", so it can be a program name with args. 2158 2309 set dummy $ac_prog; ac_word=$2 2159 { echo "$as_me:$LINENO: checking for $ac_word" >&52160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2310 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2311 $as_echo_n "checking for $ac_word... " >&6; } 2161 2312 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2162 echo $ECHO_N "(cached) $ECHO_C" >&62313 $as_echo_n "(cached) " >&6 2163 2314 else 2164 2315 if test -n "$ac_ct_CC"; then … … 2173 2324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2174 2325 ac_cv_prog_ac_ct_CC="$ac_prog" 2175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52326 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2176 2327 break 2 2177 2328 fi … … 2184 2335 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2185 2336 if test -n "$ac_ct_CC"; then 2186 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52187 echo "${ECHO_T}$ac_ct_CC" >&6; }2188 else 2189 { echo "$as_me:$LINENO: result: no" >&52190 echo "${ECHO_T}no" >&6; }2337 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2338 $as_echo "$ac_ct_CC" >&6; } 2339 else 2340 { $as_echo "$as_me:$LINENO: result: no" >&5 2341 $as_echo "no" >&6; } 2191 2342 fi 2192 2343 … … 2200 2351 case $cross_compiling:$ac_tool_warned in 2201 2352 yes:) 2202 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2353 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2203 2354 whose name does not start with the host triplet. If you think this 2204 2355 configuration is useful to you, please write to autoconf@gnu.org." >&5 2205 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2356 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2206 2357 whose name does not start with the host triplet. If you think this 2207 2358 configuration is useful to you, please write to autoconf@gnu.org." >&2;} … … 2215 2366 2216 2367 2217 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH2368 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2218 2369 See \`config.log' for more details." >&5 2219 echo "$as_me: error: no acceptable C compiler found in \$PATH2370 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2220 2371 See \`config.log' for more details." >&2;} 2221 2372 { (exit 1); exit 1; }; } 2222 2373 2223 2374 # Provide some information about the compiler. 2224 echo "$as_me:$LINENO: checking for C compiler version" >&5 2225 ac_compiler=`set X $ac_compile; echo $2` 2375 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2376 set X $ac_compile 2377 ac_compiler=$2 2226 2378 { (ac_try="$ac_compiler --version >&5" 2227 2379 case "(($ac_try" in … … 2229 2381 *) ac_try_echo=$ac_try;; 2230 2382 esac 2231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2383 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2384 $as_echo "$ac_try_echo") >&5 2232 2385 (eval "$ac_compiler --version >&5") 2>&5 2233 2386 ac_status=$? 2234 echo "$as_me:$LINENO: \$? = $ac_status" >&52387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2235 2388 (exit $ac_status); } 2236 2389 { (ac_try="$ac_compiler -v >&5" … … 2239 2392 *) ac_try_echo=$ac_try;; 2240 2393 esac 2241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2395 $as_echo "$ac_try_echo") >&5 2242 2396 (eval "$ac_compiler -v >&5") 2>&5 2243 2397 ac_status=$? 2244 echo "$as_me:$LINENO: \$? = $ac_status" >&52398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2245 2399 (exit $ac_status); } 2246 2400 { (ac_try="$ac_compiler -V >&5" … … 2249 2403 *) ac_try_echo=$ac_try;; 2250 2404 esac 2251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2406 $as_echo "$ac_try_echo") >&5 2252 2407 (eval "$ac_compiler -V >&5") 2>&5 2253 2408 ac_status=$? 2254 echo "$as_me:$LINENO: \$? = $ac_status" >&52409 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2255 2410 (exit $ac_status); } 2256 2411 … … 2271 2426 _ACEOF 2272 2427 ac_clean_files_save=$ac_clean_files 2273 ac_clean_files="$ac_clean_files a.out a. exe b.out"2428 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2274 2429 # Try to create an executable without -o first, disregard a.out. 2275 2430 # It will help us diagnose broken compilers, and finding out an intuition 2276 2431 # of exeext. 2277 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2278 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2279 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2280 # 2281 # List of possible output files, starting from the most likely. 2282 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2283 # only as a last resort. b.out is created by i960 compilers. 2284 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2285 # 2286 # The IRIX 6 linker writes into existing files which may not be 2287 # executable, retaining their permissions. Remove them first so a 2288 # subsequent execution test works. 2432 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2433 $as_echo_n "checking for C compiler default output file name... " >&6; } 2434 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2435 2436 # The possible output files: 2437 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2438 2289 2439 ac_rmfiles= 2290 2440 for ac_file in $ac_files 2291 2441 do 2292 2442 case $ac_file in 2293 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;2443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2294 2444 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2295 2445 esac … … 2302 2452 *) ac_try_echo=$ac_try;; 2303 2453 esac 2304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2454 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2455 $as_echo "$ac_try_echo") >&5 2305 2456 (eval "$ac_link_default") 2>&5 2306 2457 ac_status=$? 2307 echo "$as_me:$LINENO: \$? = $ac_status" >&52458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2308 2459 (exit $ac_status); }; then 2309 2460 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. … … 2316 2467 test -f "$ac_file" || continue 2317 2468 case $ac_file in 2318 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )2469 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2319 2470 ;; 2320 2471 [ab].out ) … … 2343 2494 fi 2344 2495 2345 { echo "$as_me:$LINENO: result: $ac_file" >&52346 echo "${ECHO_T}$ac_file" >&6; }2496 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2497 $as_echo "$ac_file" >&6; } 2347 2498 if test -z "$ac_file"; then 2348 echo "$as_me: failed program was:" >&52499 $as_echo "$as_me: failed program was:" >&5 2349 2500 sed 's/^/| /' conftest.$ac_ext >&5 2350 2501 2351 { { echo "$as_me:$LINENO: error: C compiler cannot create executables2502 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2352 2503 See \`config.log' for more details." >&5 2353 echo "$as_me: error: C compiler cannot create executables2504 $as_echo "$as_me: error: C compiler cannot create executables 2354 2505 See \`config.log' for more details." >&2;} 2355 2506 { (exit 77); exit 77; }; } … … 2360 2511 # Check that the compiler produces executables we can run. If not, either 2361 2512 # the compiler is broken, or we cross compile. 2362 { echo "$as_me:$LINENO: checking whether the C compiler works" >&52363 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }2513 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2514 $as_echo_n "checking whether the C compiler works... " >&6; } 2364 2515 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2365 2516 # If not cross compiling, check that we can run a simple program. … … 2370 2521 *) ac_try_echo=$ac_try;; 2371 2522 esac 2372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2524 $as_echo "$ac_try_echo") >&5 2373 2525 (eval "$ac_try") 2>&5 2374 2526 ac_status=$? 2375 echo "$as_me:$LINENO: \$? = $ac_status" >&52527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2376 2528 (exit $ac_status); }; }; then 2377 2529 cross_compiling=no … … 2380 2532 cross_compiling=yes 2381 2533 else 2382 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.2534 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2383 2535 If you meant to cross compile, use \`--host'. 2384 2536 See \`config.log' for more details." >&5 2385 echo "$as_me: error: cannot run C compiled programs.2537 $as_echo "$as_me: error: cannot run C compiled programs. 2386 2538 If you meant to cross compile, use \`--host'. 2387 2539 See \`config.log' for more details." >&2;} … … 2390 2542 fi 2391 2543 fi 2392 { echo "$as_me:$LINENO: result: yes" >&52393 echo "${ECHO_T}yes" >&6; }2394 2395 rm -f a.outa.exe conftest$ac_cv_exeext b.out2544 { $as_echo "$as_me:$LINENO: result: yes" >&5 2545 $as_echo "yes" >&6; } 2546 2547 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2396 2548 ac_clean_files=$ac_clean_files_save 2397 2549 # Check that the compiler produces executables we can run. If not, either 2398 2550 # the compiler is broken, or we cross compile. 2399 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&52400 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }2401 { echo "$as_me:$LINENO: result: $cross_compiling" >&52402 echo "${ECHO_T}$cross_compiling" >&6; }2403 2404 { echo "$as_me:$LINENO: checking for suffix of executables" >&52405 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }2551 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2552 $as_echo_n "checking whether we are cross compiling... " >&6; } 2553 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2554 $as_echo "$cross_compiling" >&6; } 2555 2556 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2557 $as_echo_n "checking for suffix of executables... " >&6; } 2406 2558 if { (ac_try="$ac_link" 2407 2559 case "(($ac_try" in … … 2409 2561 *) ac_try_echo=$ac_try;; 2410 2562 esac 2411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2563 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2564 $as_echo "$ac_try_echo") >&5 2412 2565 (eval "$ac_link") 2>&5 2413 2566 ac_status=$? 2414 echo "$as_me:$LINENO: \$? = $ac_status" >&52567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2415 2568 (exit $ac_status); }; then 2416 2569 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 2421 2574 test -f "$ac_file" || continue 2422 2575 case $ac_file in 2423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;2576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2424 2577 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2425 2578 break;; … … 2428 2581 done 2429 2582 else 2430 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link2583 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2431 2584 See \`config.log' for more details." >&5 2432 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2585 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2433 2586 See \`config.log' for more details." >&2;} 2434 2587 { (exit 1); exit 1; }; } … … 2436 2589 2437 2590 rm -f conftest$ac_cv_exeext 2438 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52439 echo "${ECHO_T}$ac_cv_exeext" >&6; }2591 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2592 $as_echo "$ac_cv_exeext" >&6; } 2440 2593 2441 2594 rm -f conftest.$ac_ext 2442 2595 EXEEXT=$ac_cv_exeext 2443 2596 ac_exeext=$EXEEXT 2444 { echo "$as_me:$LINENO: checking for suffix of object files" >&52445 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }2597 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2598 $as_echo_n "checking for suffix of object files... " >&6; } 2446 2599 if test "${ac_cv_objext+set}" = set; then 2447 echo $ECHO_N "(cached) $ECHO_C" >&62600 $as_echo_n "(cached) " >&6 2448 2601 else 2449 2602 cat >conftest.$ac_ext <<_ACEOF … … 2468 2621 *) ac_try_echo=$ac_try;; 2469 2622 esac 2470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2624 $as_echo "$ac_try_echo") >&5 2471 2625 (eval "$ac_compile") 2>&5 2472 2626 ac_status=$? 2473 echo "$as_me:$LINENO: \$? = $ac_status" >&52627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2474 2628 (exit $ac_status); }; then 2475 2629 for ac_file in conftest.o conftest.obj conftest.*; do 2476 2630 test -f "$ac_file" || continue; 2477 2631 case $ac_file in 2478 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2632 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2479 2633 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2480 2634 break;; … … 2482 2636 done 2483 2637 else 2484 echo "$as_me: failed program was:" >&52638 $as_echo "$as_me: failed program was:" >&5 2485 2639 sed 's/^/| /' conftest.$ac_ext >&5 2486 2640 2487 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile2641 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2488 2642 See \`config.log' for more details." >&5 2489 echo "$as_me: error: cannot compute suffix of object files: cannot compile2643 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2490 2644 See \`config.log' for more details." >&2;} 2491 2645 { (exit 1); exit 1; }; } … … 2494 2648 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2495 2649 fi 2496 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52497 echo "${ECHO_T}$ac_cv_objext" >&6; }2650 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2651 $as_echo "$ac_cv_objext" >&6; } 2498 2652 OBJEXT=$ac_cv_objext 2499 2653 ac_objext=$OBJEXT 2500 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52501 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }2654 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2655 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2502 2656 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2503 echo $ECHO_N "(cached) $ECHO_C" >&62657 $as_echo_n "(cached) " >&6 2504 2658 else 2505 2659 cat >conftest.$ac_ext <<_ACEOF … … 2527 2681 *) ac_try_echo=$ac_try;; 2528 2682 esac 2529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2684 $as_echo "$ac_try_echo") >&5 2530 2685 (eval "$ac_compile") 2>conftest.er1 2531 2686 ac_status=$? … … 2533 2688 rm -f conftest.er1 2534 2689 cat conftest.err >&5 2535 echo "$as_me:$LINENO: \$? = $ac_status" >&52690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2536 2691 (exit $ac_status); } && { 2537 2692 test -z "$ac_c_werror_flag" || … … 2540 2695 ac_compiler_gnu=yes 2541 2696 else 2542 echo "$as_me: failed program was:" >&52697 $as_echo "$as_me: failed program was:" >&5 2543 2698 sed 's/^/| /' conftest.$ac_ext >&5 2544 2699 … … 2550 2705 2551 2706 fi 2552 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2553 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2554 GCC=`test $ac_compiler_gnu = yes && echo yes` 2707 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2708 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2709 if test $ac_compiler_gnu = yes; then 2710 GCC=yes 2711 else 2712 GCC= 2713 fi 2555 2714 ac_test_CFLAGS=${CFLAGS+set} 2556 2715 ac_save_CFLAGS=$CFLAGS 2557 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52558 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2716 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2717 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2559 2718 if test "${ac_cv_prog_cc_g+set}" = set; then 2560 echo $ECHO_N "(cached) $ECHO_C" >&62719 $as_echo_n "(cached) " >&6 2561 2720 else 2562 2721 ac_save_c_werror_flag=$ac_c_werror_flag … … 2585 2744 *) ac_try_echo=$ac_try;; 2586 2745 esac 2587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2746 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2747 $as_echo "$ac_try_echo") >&5 2588 2748 (eval "$ac_compile") 2>conftest.er1 2589 2749 ac_status=$? … … 2591 2751 rm -f conftest.er1 2592 2752 cat conftest.err >&5 2593 echo "$as_me:$LINENO: \$? = $ac_status" >&52753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2594 2754 (exit $ac_status); } && { 2595 2755 test -z "$ac_c_werror_flag" || … … 2598 2758 ac_cv_prog_cc_g=yes 2599 2759 else 2600 echo "$as_me: failed program was:" >&52760 $as_echo "$as_me: failed program was:" >&5 2601 2761 sed 's/^/| /' conftest.$ac_ext >&5 2602 2762 … … 2623 2783 *) ac_try_echo=$ac_try;; 2624 2784 esac 2625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2785 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2786 $as_echo "$ac_try_echo") >&5 2626 2787 (eval "$ac_compile") 2>conftest.er1 2627 2788 ac_status=$? … … 2629 2790 rm -f conftest.er1 2630 2791 cat conftest.err >&5 2631 echo "$as_me:$LINENO: \$? = $ac_status" >&52792 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2632 2793 (exit $ac_status); } && { 2633 2794 test -z "$ac_c_werror_flag" || … … 2636 2797 : 2637 2798 else 2638 echo "$as_me: failed program was:" >&52799 $as_echo "$as_me: failed program was:" >&5 2639 2800 sed 's/^/| /' conftest.$ac_ext >&5 2640 2801 … … 2662 2823 *) ac_try_echo=$ac_try;; 2663 2824 esac 2664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2826 $as_echo "$ac_try_echo") >&5 2665 2827 (eval "$ac_compile") 2>conftest.er1 2666 2828 ac_status=$? … … 2668 2830 rm -f conftest.er1 2669 2831 cat conftest.err >&5 2670 echo "$as_me:$LINENO: \$? = $ac_status" >&52832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2671 2833 (exit $ac_status); } && { 2672 2834 test -z "$ac_c_werror_flag" || … … 2675 2837 ac_cv_prog_cc_g=yes 2676 2838 else 2677 echo "$as_me: failed program was:" >&52839 $as_echo "$as_me: failed program was:" >&5 2678 2840 sed 's/^/| /' conftest.$ac_ext >&5 2679 2841 … … 2690 2852 ac_c_werror_flag=$ac_save_c_werror_flag 2691 2853 fi 2692 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52693 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }2854 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2855 $as_echo "$ac_cv_prog_cc_g" >&6; } 2694 2856 if test "$ac_test_CFLAGS" = set; then 2695 2857 CFLAGS=$ac_save_CFLAGS … … 2707 2869 fi 2708 2870 fi 2709 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52710 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2871 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2872 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2711 2873 if test "${ac_cv_prog_cc_c89+set}" = set; then 2712 echo $ECHO_N "(cached) $ECHO_C" >&62874 $as_echo_n "(cached) " >&6 2713 2875 else 2714 2876 ac_cv_prog_cc_c89=no … … 2781 2943 *) ac_try_echo=$ac_try;; 2782 2944 esac 2783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2945 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2946 $as_echo "$ac_try_echo") >&5 2784 2947 (eval "$ac_compile") 2>conftest.er1 2785 2948 ac_status=$? … … 2787 2950 rm -f conftest.er1 2788 2951 cat conftest.err >&5 2789 echo "$as_me:$LINENO: \$? = $ac_status" >&52952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2790 2953 (exit $ac_status); } && { 2791 2954 test -z "$ac_c_werror_flag" || … … 2794 2957 ac_cv_prog_cc_c89=$ac_arg 2795 2958 else 2796 echo "$as_me: failed program was:" >&52959 $as_echo "$as_me: failed program was:" >&5 2797 2960 sed 's/^/| /' conftest.$ac_ext >&5 2798 2961 … … 2810 2973 case "x$ac_cv_prog_cc_c89" in 2811 2974 x) 2812 { echo "$as_me:$LINENO: result: none needed" >&52813 echo "${ECHO_T}none needed" >&6; } ;;2975 { $as_echo "$as_me:$LINENO: result: none needed" >&5 2976 $as_echo "none needed" >&6; } ;; 2814 2977 xno) 2815 { echo "$as_me:$LINENO: result: unsupported" >&52816 echo "${ECHO_T}unsupported" >&6; } ;;2978 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 2979 $as_echo "unsupported" >&6; } ;; 2817 2980 *) 2818 2981 CC="$CC $ac_cv_prog_cc_c89" 2819 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52820 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;2982 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2983 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2821 2984 esac 2822 2985 … … 2835 2998 2836 2999 3000 # Find a good install program. We prefer a C program (faster), 3001 # so one script is as good as another. But avoid the broken or 3002 # incompatible versions: 3003 # SysV /etc/install, /usr/sbin/install 3004 # SunOS /usr/etc/install 3005 # IRIX /sbin/install 3006 # AIX /bin/install 3007 # AmigaOS /C/install, which installs bootblocks on floppy discs 3008 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3009 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3010 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3011 # OS/2's system install, which has a completely different semantic 3012 # ./install, which can be erroneously created by make from ./install.sh. 3013 # Reject install programs that cannot install multiple files. 3014 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3015 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3016 if test -z "$INSTALL"; then 3017 if test "${ac_cv_path_install+set}" = set; then 3018 $as_echo_n "(cached) " >&6 3019 else 3020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3021 for as_dir in $PATH 3022 do 3023 IFS=$as_save_IFS 3024 test -z "$as_dir" && as_dir=. 3025 # Account for people who put trailing slashes in PATH elements. 3026 case $as_dir/ in 3027 ./ | .// | /cC/* | \ 3028 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3029 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3030 /usr/ucb/* ) ;; 3031 *) 3032 # OSF1 and SCO ODT 3.0 have their own names for install. 3033 # Don't use installbsd from OSF since it installs stuff as root 3034 # by default. 3035 for ac_prog in ginstall scoinst install; do 3036 for ac_exec_ext in '' $ac_executable_extensions; do 3037 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3038 if test $ac_prog = install && 3039 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3040 # AIX install. It has an incompatible calling convention. 3041 : 3042 elif test $ac_prog = install && 3043 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3044 # program-specific install script used by HP pwplus--don't use. 3045 : 3046 else 3047 rm -rf conftest.one conftest.two conftest.dir 3048 echo one > conftest.one 3049 echo two > conftest.two 3050 mkdir conftest.dir 3051 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3052 test -s conftest.one && test -s conftest.two && 3053 test -s conftest.dir/conftest.one && 3054 test -s conftest.dir/conftest.two 3055 then 3056 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3057 break 3 3058 fi 3059 fi 3060 fi 3061 done 3062 done 3063 ;; 3064 esac 3065 3066 done 3067 IFS=$as_save_IFS 3068 3069 rm -rf conftest.one conftest.two conftest.dir 3070 3071 fi 3072 if test "${ac_cv_path_install+set}" = set; then 3073 INSTALL=$ac_cv_path_install 3074 else 3075 # As a last resort, use the slow shell script. Don't cache a 3076 # value for INSTALL within a source directory, because that will 3077 # break other packages using the cache if that directory is 3078 # removed, or if the value is a relative name. 3079 INSTALL=$ac_install_sh 3080 fi 3081 fi 3082 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 3083 $as_echo "$INSTALL" >&6; } 3084 3085 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3086 # It thinks the first close brace ends the variable substitution. 3087 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3088 3089 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3090 3091 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3092 3093 if test -n "$ac_tool_prefix"; then 3094 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3095 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3096 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3097 $as_echo_n "checking for $ac_word... " >&6; } 3098 if test "${ac_cv_prog_RANLIB+set}" = set; then 3099 $as_echo_n "(cached) " >&6 3100 else 3101 if test -n "$RANLIB"; then 3102 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3103 else 3104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3105 for as_dir in $PATH 3106 do 3107 IFS=$as_save_IFS 3108 test -z "$as_dir" && as_dir=. 3109 for ac_exec_ext in '' $ac_executable_extensions; do 3110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3111 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3112 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3113 break 2 3114 fi 3115 done 3116 done 3117 IFS=$as_save_IFS 3118 3119 fi 3120 fi 3121 RANLIB=$ac_cv_prog_RANLIB 3122 if test -n "$RANLIB"; then 3123 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 3124 $as_echo "$RANLIB" >&6; } 3125 else 3126 { $as_echo "$as_me:$LINENO: result: no" >&5 3127 $as_echo "no" >&6; } 3128 fi 3129 3130 3131 fi 3132 if test -z "$ac_cv_prog_RANLIB"; then 3133 ac_ct_RANLIB=$RANLIB 3134 # Extract the first word of "ranlib", so it can be a program name with args. 3135 set dummy ranlib; ac_word=$2 3136 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3137 $as_echo_n "checking for $ac_word... " >&6; } 3138 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3139 $as_echo_n "(cached) " >&6 3140 else 3141 if test -n "$ac_ct_RANLIB"; then 3142 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3143 else 3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3145 for as_dir in $PATH 3146 do 3147 IFS=$as_save_IFS 3148 test -z "$as_dir" && as_dir=. 3149 for ac_exec_ext in '' $ac_executable_extensions; do 3150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3151 ac_cv_prog_ac_ct_RANLIB="ranlib" 3152 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3153 break 2 3154 fi 3155 done 3156 done 3157 IFS=$as_save_IFS 3158 3159 fi 3160 fi 3161 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3162 if test -n "$ac_ct_RANLIB"; then 3163 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3164 $as_echo "$ac_ct_RANLIB" >&6; } 3165 else 3166 { $as_echo "$as_me:$LINENO: result: no" >&5 3167 $as_echo "no" >&6; } 3168 fi 3169 3170 if test "x$ac_ct_RANLIB" = x; then 3171 RANLIB=":" 3172 else 3173 case $cross_compiling:$ac_tool_warned in 3174 yes:) 3175 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3176 whose name does not start with the host triplet. If you think this 3177 configuration is useful to you, please write to autoconf@gnu.org." >&5 3178 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3179 whose name does not start with the host triplet. If you think this 3180 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3181 ac_tool_warned=yes ;; 3182 esac 3183 RANLIB=$ac_ct_RANLIB 3184 fi 3185 else 3186 RANLIB="$ac_cv_prog_RANLIB" 3187 fi 3188 3189 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 3190 $as_echo_n "checking whether ln -s works... " >&6; } 3191 LN_S=$as_ln_s 3192 if test "$LN_S" = "ln -s"; then 3193 { $as_echo "$as_me:$LINENO: result: yes" >&5 3194 $as_echo "yes" >&6; } 3195 else 3196 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3197 $as_echo "no, using $LN_S" >&6; } 3198 fi 3199 3200 2837 3201 2838 3202 ac_ext=c … … 2841 3205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2842 3206 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2843 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52844 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }3207 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3208 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2845 3209 # On Suns, sometimes $CPP names a directory. 2846 3210 if test -n "$CPP" && test -d "$CPP"; then … … 2849 3213 if test -z "$CPP"; then 2850 3214 if test "${ac_cv_prog_CPP+set}" = set; then 2851 echo $ECHO_N "(cached) $ECHO_C" >&63215 $as_echo_n "(cached) " >&6 2852 3216 else 2853 3217 # Double quotes because CPP needs to be expanded … … 2881 3245 *) ac_try_echo=$ac_try;; 2882 3246 esac 2883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3247 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3248 $as_echo "$ac_try_echo") >&5 2884 3249 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2885 3250 ac_status=$? … … 2887 3252 rm -f conftest.er1 2888 3253 cat conftest.err >&5 2889 echo "$as_me:$LINENO: \$? = $ac_status" >&53254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2890 3255 (exit $ac_status); } >/dev/null && { 2891 3256 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 2894 3259 : 2895 3260 else 2896 echo "$as_me: failed program was:" >&53261 $as_echo "$as_me: failed program was:" >&5 2897 3262 sed 's/^/| /' conftest.$ac_ext >&5 2898 3263 … … 2918 3283 *) ac_try_echo=$ac_try;; 2919 3284 esac 2920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3286 $as_echo "$ac_try_echo") >&5 2921 3287 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2922 3288 ac_status=$? … … 2924 3290 rm -f conftest.er1 2925 3291 cat conftest.err >&5 2926 echo "$as_me:$LINENO: \$? = $ac_status" >&53292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2927 3293 (exit $ac_status); } >/dev/null && { 2928 3294 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 2932 3298 continue 2933 3299 else 2934 echo "$as_me: failed program was:" >&53300 $as_echo "$as_me: failed program was:" >&5 2935 3301 sed 's/^/| /' conftest.$ac_ext >&5 2936 3302 … … 2957 3323 ac_cv_prog_CPP=$CPP 2958 3324 fi 2959 { echo "$as_me:$LINENO: result: $CPP" >&52960 echo "${ECHO_T}$CPP" >&6; }3325 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 3326 $as_echo "$CPP" >&6; } 2961 3327 ac_preproc_ok=false 2962 3328 for ac_c_preproc_warn_flag in '' yes … … 2986 3352 *) ac_try_echo=$ac_try;; 2987 3353 esac 2988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3354 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3355 $as_echo "$ac_try_echo") >&5 2989 3356 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2990 3357 ac_status=$? … … 2992 3359 rm -f conftest.er1 2993 3360 cat conftest.err >&5 2994 echo "$as_me:$LINENO: \$? = $ac_status" >&53361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2995 3362 (exit $ac_status); } >/dev/null && { 2996 3363 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 2999 3366 : 3000 3367 else 3001 echo "$as_me: failed program was:" >&53368 $as_echo "$as_me: failed program was:" >&5 3002 3369 sed 's/^/| /' conftest.$ac_ext >&5 3003 3370 … … 3023 3390 *) ac_try_echo=$ac_try;; 3024 3391 esac 3025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3393 $as_echo "$ac_try_echo") >&5 3026 3394 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3027 3395 ac_status=$? … … 3029 3397 rm -f conftest.er1 3030 3398 cat conftest.err >&5 3031 echo "$as_me:$LINENO: \$? = $ac_status" >&53399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3032 3400 (exit $ac_status); } >/dev/null && { 3033 3401 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 3037 3405 continue 3038 3406 else 3039 echo "$as_me: failed program was:" >&53407 $as_echo "$as_me: failed program was:" >&5 3040 3408 sed 's/^/| /' conftest.$ac_ext >&5 3041 3409 … … 3053 3421 : 3054 3422 else 3055 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check3423 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3056 3424 See \`config.log' for more details." >&5 3057 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check3425 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3058 3426 See \`config.log' for more details." >&2;} 3059 3427 { (exit 1); exit 1; }; } … … 3067 3435 3068 3436 3069 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&53070 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }3437 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3438 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3071 3439 if test "${ac_cv_path_GREP+set}" = set; then 3072 echo $ECHO_N "(cached) $ECHO_C" >&6 3073 else 3074 # Extract the first word of "grep ggrep" to use in msg output 3075 if test -z "$GREP"; then 3076 set dummy grep ggrep; ac_prog_name=$2 3077 if test "${ac_cv_path_GREP+set}" = set; then 3078 echo $ECHO_N "(cached) $ECHO_C" >&6 3079 else 3440 $as_echo_n "(cached) " >&6 3441 else 3442 if test -z "$GREP"; then 3080 3443 ac_path_GREP_found=false 3081 # Loop through the user's path and test for each of PROGNAME-LIST3082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3444 # Loop through the user's path and test for each of PROGNAME-LIST 3445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3083 3446 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3084 3447 do … … 3086 3449 test -z "$as_dir" && as_dir=. 3087 3450 for ac_prog in grep ggrep; do 3088 for ac_exec_ext in '' $ac_executable_extensions; do3089 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"3090 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue3091 3451 for ac_exec_ext in '' $ac_executable_extensions; do 3452 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3453 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3454 # Check for GNU ac_path_GREP and select it if it is found. 3092 3455 # Check for GNU $ac_path_GREP 3093 3456 case `"$ac_path_GREP" --version 2>&1` in … … 3096 3459 *) 3097 3460 ac_count=0 3098 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"3461 $as_echo_n 0123456789 >"conftest.in" 3099 3462 while : 3100 3463 do … … 3102 3465 mv "conftest.tmp" "conftest.in" 3103 3466 cp "conftest.in" "conftest.nl" 3104 echo 'GREP' >> "conftest.nl"3467 $as_echo 'GREP' >> "conftest.nl" 3105 3468 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3106 3469 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break … … 3117 3480 esac 3118 3481 3119 3120 $ac_path_GREP_found && break 33482 $ac_path_GREP_found && break 3 3483 done 3121 3484 done 3122 3485 done 3123 3124 done3125 3486 IFS=$as_save_IFS 3126 3127 3128 fi 3129 3130 GREP="$ac_cv_path_GREP" 3131 if test -z "$GREP"; then 3132 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3133 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3487 if test -z "$ac_cv_path_GREP"; then 3488 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3489 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3134 3490 { (exit 1); exit 1; }; } 3135 fi 3136 3491 fi 3137 3492 else 3138 3493 ac_cv_path_GREP=$GREP 3139 3494 fi 3140 3495 3141 3142 fi 3143 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3144 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3496 fi 3497 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3498 $as_echo "$ac_cv_path_GREP" >&6; } 3145 3499 GREP="$ac_cv_path_GREP" 3146 3500 3147 3501 3148 { echo "$as_me:$LINENO: checking for egrep" >&53149 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }3502 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 3503 $as_echo_n "checking for egrep... " >&6; } 3150 3504 if test "${ac_cv_path_EGREP+set}" = set; then 3151 echo $ECHO_N "(cached) $ECHO_C" >&63505 $as_echo_n "(cached) " >&6 3152 3506 else 3153 3507 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3154 3508 then ac_cv_path_EGREP="$GREP -E" 3155 3509 else 3156 # Extract the first word of "egrep" to use in msg output 3157 if test -z "$EGREP"; then 3158 set dummy egrep; ac_prog_name=$2 3159 if test "${ac_cv_path_EGREP+set}" = set; then 3160 echo $ECHO_N "(cached) $ECHO_C" >&6 3161 else 3510 if test -z "$EGREP"; then 3162 3511 ac_path_EGREP_found=false 3163 # Loop through the user's path and test for each of PROGNAME-LIST3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3512 # Loop through the user's path and test for each of PROGNAME-LIST 3513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3165 3514 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3166 3515 do … … 3168 3517 test -z "$as_dir" && as_dir=. 3169 3518 for ac_prog in egrep; do 3170 for ac_exec_ext in '' $ac_executable_extensions; do3171 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"3172 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue3173 3519 for ac_exec_ext in '' $ac_executable_extensions; do 3520 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3521 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3522 # Check for GNU ac_path_EGREP and select it if it is found. 3174 3523 # Check for GNU $ac_path_EGREP 3175 3524 case `"$ac_path_EGREP" --version 2>&1` in … … 3178 3527 *) 3179 3528 ac_count=0 3180 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"3529 $as_echo_n 0123456789 >"conftest.in" 3181 3530 while : 3182 3531 do … … 3184 3533 mv "conftest.tmp" "conftest.in" 3185 3534 cp "conftest.in" "conftest.nl" 3186 echo 'EGREP' >> "conftest.nl"3535 $as_echo 'EGREP' >> "conftest.nl" 3187 3536 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3188 3537 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break … … 3199 3548 esac 3200 3549 3201 3202 $ac_path_EGREP_found && break 33550 $ac_path_EGREP_found && break 3 3551 done 3203 3552 done 3204 3553 done 3205 3206 done3207 3554 IFS=$as_save_IFS 3208 3209 3210 fi 3211 3212 EGREP="$ac_cv_path_EGREP" 3213 if test -z "$EGREP"; then 3214 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3215 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3555 if test -z "$ac_cv_path_EGREP"; then 3556 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3557 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3216 3558 { (exit 1); exit 1; }; } 3217 fi 3218 3559 fi 3219 3560 else 3220 3561 ac_cv_path_EGREP=$EGREP 3221 3562 fi 3222 3563 3223 3224 3564 fi 3225 3565 fi 3226 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&53227 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }3566 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3567 $as_echo "$ac_cv_path_EGREP" >&6; } 3228 3568 EGREP="$ac_cv_path_EGREP" 3229 3569 3230 3570 3231 { echo "$as_me:$LINENO: checking for ANSI C header files" >&53232 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }3571 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3572 $as_echo_n "checking for ANSI C header files... " >&6; } 3233 3573 if test "${ac_cv_header_stdc+set}" = set; then 3234 echo $ECHO_N "(cached) $ECHO_C" >&63574 $as_echo_n "(cached) " >&6 3235 3575 else 3236 3576 cat >conftest.$ac_ext <<_ACEOF … … 3259 3599 *) ac_try_echo=$ac_try;; 3260 3600 esac 3261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3601 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3602 $as_echo "$ac_try_echo") >&5 3262 3603 (eval "$ac_compile") 2>conftest.er1 3263 3604 ac_status=$? … … 3265 3606 rm -f conftest.er1 3266 3607 cat conftest.err >&5 3267 echo "$as_me:$LINENO: \$? = $ac_status" >&53608 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3268 3609 (exit $ac_status); } && { 3269 3610 test -z "$ac_c_werror_flag" || … … 3272 3613 ac_cv_header_stdc=yes 3273 3614 else 3274 echo "$as_me: failed program was:" >&53615 $as_echo "$as_me: failed program was:" >&5 3275 3616 sed 's/^/| /' conftest.$ac_ext >&5 3276 3617 … … 3364 3705 *) ac_try_echo=$ac_try;; 3365 3706 esac 3366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3708 $as_echo "$ac_try_echo") >&5 3367 3709 (eval "$ac_link") 2>&5 3368 3710 ac_status=$? 3369 echo "$as_me:$LINENO: \$? = $ac_status" >&53711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3370 3712 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3371 3713 { (case "(($ac_try" in … … 3373 3715 *) ac_try_echo=$ac_try;; 3374 3716 esac 3375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3718 $as_echo "$ac_try_echo") >&5 3376 3719 (eval "$ac_try") 2>&5 3377 3720 ac_status=$? 3378 echo "$as_me:$LINENO: \$? = $ac_status" >&53721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3379 3722 (exit $ac_status); }; }; then 3380 3723 : 3381 3724 else 3382 echo "$as_me: program exited with status $ac_status" >&53383 echo "$as_me: failed program was:" >&53725 $as_echo "$as_me: program exited with status $ac_status" >&5 3726 $as_echo "$as_me: failed program was:" >&5 3384 3727 sed 's/^/| /' conftest.$ac_ext >&5 3385 3728 … … 3387 3730 ac_cv_header_stdc=no 3388 3731 fi 3732 rm -rf conftest.dSYM 3389 3733 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3390 3734 fi … … 3393 3737 fi 3394 3738 fi 3395 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&53396 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }3739 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3740 $as_echo "$ac_cv_header_stdc" >&6; } 3397 3741 if test $ac_cv_header_stdc = yes; then 3398 3742 … … 3403 3747 fi 3404 3748 3405 { echo "$as_me:$LINENO: checking for atol" >&53406 echo $ECHO_N "checking for atol... $ECHO_C" >&6; }3749 { $as_echo "$as_me:$LINENO: checking for atol" >&5 3750 $as_echo_n "checking for atol... " >&6; } 3407 3751 if test "${ac_cv_func_atol+set}" = set; then 3408 echo $ECHO_N "(cached) $ECHO_C" >&63752 $as_echo_n "(cached) " >&6 3409 3753 else 3410 3754 cat >conftest.$ac_ext <<_ACEOF … … 3459 3803 *) ac_try_echo=$ac_try;; 3460 3804 esac 3461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3805 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3806 $as_echo "$ac_try_echo") >&5 3462 3807 (eval "$ac_link") 2>conftest.er1 3463 3808 ac_status=$? … … 3465 3810 rm -f conftest.er1 3466 3811 cat conftest.err >&5 3467 echo "$as_me:$LINENO: \$? = $ac_status" >&53812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3468 3813 (exit $ac_status); } && { 3469 3814 test -z "$ac_c_werror_flag" || 3470 3815 test ! -s conftest.err 3471 } && test -s conftest$ac_exeext && 3472 $as_test_x conftest$ac_exeext; then 3816 } && test -s conftest$ac_exeext && { 3817 test "$cross_compiling" = yes || 3818 $as_test_x conftest$ac_exeext 3819 }; then 3473 3820 ac_cv_func_atol=yes 3474 3821 else 3475 echo "$as_me: failed program was:" >&53822 $as_echo "$as_me: failed program was:" >&5 3476 3823 sed 's/^/| /' conftest.$ac_ext >&5 3477 3824 … … 3479 3826 fi 3480 3827 3828 rm -rf conftest.dSYM 3481 3829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3482 3830 conftest$ac_exeext conftest.$ac_ext 3483 3831 fi 3484 { echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&53485 echo "${ECHO_T}$ac_cv_func_atol" >&6; }3832 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 3833 $as_echo "$ac_cv_func_atol" >&6; } 3486 3834 if test $ac_cv_func_atol = yes; then 3487 3835 : 3488 3836 else 3489 { { echo "$as_me:$LINENO: error: oops! no atol ?!?" >&53490 echo "$as_me: error: oops! no atol ?!?" >&2;}3837 { { $as_echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5 3838 $as_echo "$as_me: error: oops! no atol ?!?" >&2;} 3491 3839 { (exit 1); exit 1; }; } 3492 3840 fi … … 3507 3855 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3508 3856 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3509 { echo "$as_me:$LINENO: checking for $ac_word" >&53510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3857 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3858 $as_echo_n "checking for $ac_word... " >&6; } 3511 3859 if test "${ac_cv_prog_CXX+set}" = set; then 3512 echo $ECHO_N "(cached) $ECHO_C" >&63860 $as_echo_n "(cached) " >&6 3513 3861 else 3514 3862 if test -n "$CXX"; then … … 3523 3871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3524 3872 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53873 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3526 3874 break 2 3527 3875 fi … … 3534 3882 CXX=$ac_cv_prog_CXX 3535 3883 if test -n "$CXX"; then 3536 { echo "$as_me:$LINENO: result: $CXX" >&53537 echo "${ECHO_T}$CXX" >&6; }3538 else 3539 { echo "$as_me:$LINENO: result: no" >&53540 echo "${ECHO_T}no" >&6; }3884 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 3885 $as_echo "$CXX" >&6; } 3886 else 3887 { $as_echo "$as_me:$LINENO: result: no" >&5 3888 $as_echo "no" >&6; } 3541 3889 fi 3542 3890 … … 3551 3899 # Extract the first word of "$ac_prog", so it can be a program name with args. 3552 3900 set dummy $ac_prog; ac_word=$2 3553 { echo "$as_me:$LINENO: checking for $ac_word" >&53554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3901 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3902 $as_echo_n "checking for $ac_word... " >&6; } 3555 3903 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 3556 echo $ECHO_N "(cached) $ECHO_C" >&63904 $as_echo_n "(cached) " >&6 3557 3905 else 3558 3906 if test -n "$ac_ct_CXX"; then … … 3567 3915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3568 3916 ac_cv_prog_ac_ct_CXX="$ac_prog" 3569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53917 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3570 3918 break 2 3571 3919 fi … … 3578 3926 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3579 3927 if test -n "$ac_ct_CXX"; then 3580 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&53581 echo "${ECHO_T}$ac_ct_CXX" >&6; }3582 else 3583 { echo "$as_me:$LINENO: result: no" >&53584 echo "${ECHO_T}no" >&6; }3928 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3929 $as_echo "$ac_ct_CXX" >&6; } 3930 else 3931 { $as_echo "$as_me:$LINENO: result: no" >&5 3932 $as_echo "no" >&6; } 3585 3933 fi 3586 3934 … … 3594 3942 case $cross_compiling:$ac_tool_warned in 3595 3943 yes:) 3596 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools3944 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3597 3945 whose name does not start with the host triplet. If you think this 3598 3946 configuration is useful to you, please write to autoconf@gnu.org." >&5 3599 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools3947 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3600 3948 whose name does not start with the host triplet. If you think this 3601 3949 configuration is useful to you, please write to autoconf@gnu.org." >&2;} … … 3609 3957 fi 3610 3958 # Provide some information about the compiler. 3611 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3612 ac_compiler=`set X $ac_compile; echo $2` 3959 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3960 set X $ac_compile 3961 ac_compiler=$2 3613 3962 { (ac_try="$ac_compiler --version >&5" 3614 3963 case "(($ac_try" in … … 3616 3965 *) ac_try_echo=$ac_try;; 3617 3966 esac 3618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3968 $as_echo "$ac_try_echo") >&5 3619 3969 (eval "$ac_compiler --version >&5") 2>&5 3620 3970 ac_status=$? 3621 echo "$as_me:$LINENO: \$? = $ac_status" >&53971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3622 3972 (exit $ac_status); } 3623 3973 { (ac_try="$ac_compiler -v >&5" … … 3626 3976 *) ac_try_echo=$ac_try;; 3627 3977 esac 3628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3979 $as_echo "$ac_try_echo") >&5 3629 3980 (eval "$ac_compiler -v >&5") 2>&5 3630 3981 ac_status=$? 3631 echo "$as_me:$LINENO: \$? = $ac_status" >&53982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3632 3983 (exit $ac_status); } 3633 3984 { (ac_try="$ac_compiler -V >&5" … … 3636 3987 *) ac_try_echo=$ac_try;; 3637 3988 esac 3638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3989 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3990 $as_echo "$ac_try_echo") >&5 3639 3991 (eval "$ac_compiler -V >&5") 2>&5 3640 3992 ac_status=$? 3641 echo "$as_me:$LINENO: \$? = $ac_status" >&53993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3642 3994 (exit $ac_status); } 3643 3995 3644 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&53645 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }3996 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3997 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3646 3998 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3647 echo $ECHO_N "(cached) $ECHO_C" >&63999 $as_echo_n "(cached) " >&6 3648 4000 else 3649 4001 cat >conftest.$ac_ext <<_ACEOF … … 3671 4023 *) ac_try_echo=$ac_try;; 3672 4024 esac 3673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4026 $as_echo "$ac_try_echo") >&5 3674 4027 (eval "$ac_compile") 2>conftest.er1 3675 4028 ac_status=$? … … 3677 4030 rm -f conftest.er1 3678 4031 cat conftest.err >&5 3679 echo "$as_me:$LINENO: \$? = $ac_status" >&54032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3680 4033 (exit $ac_status); } && { 3681 4034 test -z "$ac_cxx_werror_flag" || … … 3684 4037 ac_compiler_gnu=yes 3685 4038 else 3686 echo "$as_me: failed program was:" >&54039 $as_echo "$as_me: failed program was:" >&5 3687 4040 sed 's/^/| /' conftest.$ac_ext >&5 3688 4041 … … 3694 4047 3695 4048 fi 3696 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3697 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3698 GXX=`test $ac_compiler_gnu = yes && echo yes` 4049 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 4050 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4051 if test $ac_compiler_gnu = yes; then 4052 GXX=yes 4053 else 4054 GXX= 4055 fi 3699 4056 ac_test_CXXFLAGS=${CXXFLAGS+set} 3700 4057 ac_save_CXXFLAGS=$CXXFLAGS 3701 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53702 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }4058 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 4059 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3703 4060 if test "${ac_cv_prog_cxx_g+set}" = set; then 3704 echo $ECHO_N "(cached) $ECHO_C" >&64061 $as_echo_n "(cached) " >&6 3705 4062 else 3706 4063 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3729 4086 *) ac_try_echo=$ac_try;; 3730 4087 esac 3731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4088 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4089 $as_echo "$ac_try_echo") >&5 3732 4090 (eval "$ac_compile") 2>conftest.er1 3733 4091 ac_status=$? … … 3735 4093 rm -f conftest.er1 3736 4094 cat conftest.err >&5 3737 echo "$as_me:$LINENO: \$? = $ac_status" >&54095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3738 4096 (exit $ac_status); } && { 3739 4097 test -z "$ac_cxx_werror_flag" || … … 3742 4100 ac_cv_prog_cxx_g=yes 3743 4101 else 3744 echo "$as_me: failed program was:" >&54102 $as_echo "$as_me: failed program was:" >&5 3745 4103 sed 's/^/| /' conftest.$ac_ext >&5 3746 4104 … … 3767 4125 *) ac_try_echo=$ac_try;; 3768 4126 esac 3769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4128 $as_echo "$ac_try_echo") >&5 3770 4129 (eval "$ac_compile") 2>conftest.er1 3771 4130 ac_status=$? … … 3773 4132 rm -f conftest.er1 3774 4133 cat conftest.err >&5 3775 echo "$as_me:$LINENO: \$? = $ac_status" >&54134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3776 4135 (exit $ac_status); } && { 3777 4136 test -z "$ac_cxx_werror_flag" || … … 3780 4139 : 3781 4140 else 3782 echo "$as_me: failed program was:" >&54141 $as_echo "$as_me: failed program was:" >&5 3783 4142 sed 's/^/| /' conftest.$ac_ext >&5 3784 4143 … … 3806 4165 *) ac_try_echo=$ac_try;; 3807 4166 esac 3808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4168 $as_echo "$ac_try_echo") >&5 3809 4169 (eval "$ac_compile") 2>conftest.er1 3810 4170 ac_status=$? … … 3812 4172 rm -f conftest.er1 3813 4173 cat conftest.err >&5 3814 echo "$as_me:$LINENO: \$? = $ac_status" >&54174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3815 4175 (exit $ac_status); } && { 3816 4176 test -z "$ac_cxx_werror_flag" || … … 3819 4179 ac_cv_prog_cxx_g=yes 3820 4180 else 3821 echo "$as_me: failed program was:" >&54181 $as_echo "$as_me: failed program was:" >&5 3822 4182 sed 's/^/| /' conftest.$ac_ext >&5 3823 4183 … … 3834 4194 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3835 4195 fi 3836 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53837 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }4196 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 4197 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3838 4198 if test "$ac_test_CXXFLAGS" = set; then 3839 4199 CXXFLAGS=$ac_save_CXXFLAGS … … 3866 4226 3867 4227 3868 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&53869 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; }4228 { $as_echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 4229 $as_echo_n "checking for main in -lstdc++... " >&6; } 3870 4230 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 3871 echo $ECHO_N "(cached) $ECHO_C" >&64231 $as_echo_n "(cached) " >&6 3872 4232 else 3873 4233 ac_check_lib_save_LIBS=$LIBS … … 3895 4255 *) ac_try_echo=$ac_try;; 3896 4256 esac 3897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4258 $as_echo "$ac_try_echo") >&5 3898 4259 (eval "$ac_link") 2>conftest.er1 3899 4260 ac_status=$? … … 3901 4262 rm -f conftest.er1 3902 4263 cat conftest.err >&5 3903 echo "$as_me:$LINENO: \$? = $ac_status" >&54264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3904 4265 (exit $ac_status); } && { 3905 4266 test -z "$ac_cxx_werror_flag" || 3906 4267 test ! -s conftest.err 3907 } && test -s conftest$ac_exeext && 3908 $as_test_x conftest$ac_exeext; then 4268 } && test -s conftest$ac_exeext && { 4269 test "$cross_compiling" = yes || 4270 $as_test_x conftest$ac_exeext 4271 }; then 3909 4272 ac_cv_lib_stdcpp_main=yes 3910 4273 else 3911 echo "$as_me: failed program was:" >&54274 $as_echo "$as_me: failed program was:" >&5 3912 4275 sed 's/^/| /' conftest.$ac_ext >&5 3913 4276 … … 3915 4278 fi 3916 4279 4280 rm -rf conftest.dSYM 3917 4281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3918 4282 conftest$ac_exeext conftest.$ac_ext 3919 4283 LIBS=$ac_check_lib_save_LIBS 3920 4284 fi 3921 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&53922 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }4285 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5 4286 $as_echo "$ac_cv_lib_stdcpp_main" >&6; } 3923 4287 if test $ac_cv_lib_stdcpp_main = yes; then 3924 4288 cat >>confdefs.h <<_ACEOF … … 3929 4293 3930 4294 else 3931 { { echo "$as_me:$LINENO: error: librappture requires libstdc++" >&53932 echo "$as_me: error: librappture requires libstdc++" >&2;}4295 { { $as_echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5 4296 $as_echo "$as_me: error: librappture requires libstdc++" >&2;} 3933 4297 { (exit 1); exit 1; }; } 3934 4298 fi … … 3947 4311 inttypes.h stdint.h unistd.h 3948 4312 do 3949 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`3950 { echo "$as_me:$LINENO: checking for $ac_header" >&53951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4313 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4314 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4315 $as_echo_n "checking for $ac_header... " >&6; } 3952 4316 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3953 echo $ECHO_N "(cached) $ECHO_C" >&64317 $as_echo_n "(cached) " >&6 3954 4318 else 3955 4319 cat >conftest.$ac_ext <<_ACEOF … … 3969 4333 *) ac_try_echo=$ac_try;; 3970 4334 esac 3971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4336 $as_echo "$ac_try_echo") >&5 3972 4337 (eval "$ac_compile") 2>conftest.er1 3973 4338 ac_status=$? … … 3975 4340 rm -f conftest.er1 3976 4341 cat conftest.err >&5 3977 echo "$as_me:$LINENO: \$? = $ac_status" >&54342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3978 4343 (exit $ac_status); } && { 3979 4344 test -z "$ac_cxx_werror_flag" || … … 3982 4347 eval "$as_ac_Header=yes" 3983 4348 else 3984 echo "$as_me: failed program was:" >&54349 $as_echo "$as_me: failed program was:" >&5 3985 4350 sed 's/^/| /' conftest.$ac_ext >&5 3986 4351 … … 3990 4355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3991 4356 fi 3992 ac_res=`eval echo '${'$as_ac_Header'}'` 3993 { echo "$as_me:$LINENO: result: $ac_res" >&5 3994 echo "${ECHO_T}$ac_res" >&6; } 3995 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4357 ac_res=`eval 'as_val=${'$as_ac_Header'} 4358 $as_echo "$as_val"'` 4359 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4360 $as_echo "$ac_res" >&6; } 4361 if test `eval 'as_val=${'$as_ac_Header'} 4362 $as_echo "$as_val"'` = yes; then 3996 4363 cat >>confdefs.h <<_ACEOF 3997 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14364 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3998 4365 _ACEOF 3999 4366 … … 4008 4375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4009 4376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4010 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&54011 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }4377 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 4378 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4012 4379 if test -z "$CXXCPP"; then 4013 4380 if test "${ac_cv_prog_CXXCPP+set}" = set; then 4014 echo $ECHO_N "(cached) $ECHO_C" >&64381 $as_echo_n "(cached) " >&6 4015 4382 else 4016 4383 # Double quotes because CXXCPP needs to be expanded … … 4044 4411 *) ac_try_echo=$ac_try;; 4045 4412 esac 4046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4414 $as_echo "$ac_try_echo") >&5 4047 4415 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4048 4416 ac_status=$? … … 4050 4418 rm -f conftest.er1 4051 4419 cat conftest.err >&5 4052 echo "$as_me:$LINENO: \$? = $ac_status" >&54420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4053 4421 (exit $ac_status); } >/dev/null && { 4054 4422 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 4057 4425 : 4058 4426 else 4059 echo "$as_me: failed program was:" >&54427 $as_echo "$as_me: failed program was:" >&5 4060 4428 sed 's/^/| /' conftest.$ac_ext >&5 4061 4429 … … 4081 4449 *) ac_try_echo=$ac_try;; 4082 4450 esac 4083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4452 $as_echo "$ac_try_echo") >&5 4084 4453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4085 4454 ac_status=$? … … 4087 4456 rm -f conftest.er1 4088 4457 cat conftest.err >&5 4089 echo "$as_me:$LINENO: \$? = $ac_status" >&54458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4090 4459 (exit $ac_status); } >/dev/null && { 4091 4460 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 4095 4464 continue 4096 4465 else 4097 echo "$as_me: failed program was:" >&54466 $as_echo "$as_me: failed program was:" >&5 4098 4467 sed 's/^/| /' conftest.$ac_ext >&5 4099 4468 … … 4120 4489 ac_cv_prog_CXXCPP=$CXXCPP 4121 4490 fi 4122 { echo "$as_me:$LINENO: result: $CXXCPP" >&54123 echo "${ECHO_T}$CXXCPP" >&6; }4491 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 4492 $as_echo "$CXXCPP" >&6; } 4124 4493 ac_preproc_ok=false 4125 4494 for ac_cxx_preproc_warn_flag in '' yes … … 4149 4518 *) ac_try_echo=$ac_try;; 4150 4519 esac 4151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4521 $as_echo "$ac_try_echo") >&5 4152 4522 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4153 4523 ac_status=$? … … 4155 4525 rm -f conftest.er1 4156 4526 cat conftest.err >&5 4157 echo "$as_me:$LINENO: \$? = $ac_status" >&54527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4158 4528 (exit $ac_status); } >/dev/null && { 4159 4529 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 4162 4532 : 4163 4533 else 4164 echo "$as_me: failed program was:" >&54534 $as_echo "$as_me: failed program was:" >&5 4165 4535 sed 's/^/| /' conftest.$ac_ext >&5 4166 4536 … … 4186 4556 *) ac_try_echo=$ac_try;; 4187 4557 esac 4188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4559 $as_echo "$ac_try_echo") >&5 4189 4560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4190 4561 ac_status=$? … … 4192 4563 rm -f conftest.er1 4193 4564 cat conftest.err >&5 4194 echo "$as_me:$LINENO: \$? = $ac_status" >&54565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4195 4566 (exit $ac_status); } >/dev/null && { 4196 4567 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 4200 4571 continue 4201 4572 else 4202 echo "$as_me: failed program was:" >&54573 $as_echo "$as_me: failed program was:" >&5 4203 4574 sed 's/^/| /' conftest.$ac_ext >&5 4204 4575 … … 4216 4587 : 4217 4588 else 4218 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check4589 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4219 4590 See \`config.log' for more details." >&5 4220 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check4591 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4221 4592 See \`config.log' for more details." >&2;} 4222 4593 { (exit 1); exit 1; }; } … … 4233 4604 for ac_header in stack 4234 4605 do 4235 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`4606 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4236 4607 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4237 { echo "$as_me:$LINENO: checking for $ac_header" >&54238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4608 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4609 $as_echo_n "checking for $ac_header... " >&6; } 4239 4610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4240 echo $ECHO_N "(cached) $ECHO_C" >&6 4241 fi 4242 ac_res=`eval echo '${'$as_ac_Header'}'` 4243 { echo "$as_me:$LINENO: result: $ac_res" >&5 4244 echo "${ECHO_T}$ac_res" >&6; } 4611 $as_echo_n "(cached) " >&6 4612 fi 4613 ac_res=`eval 'as_val=${'$as_ac_Header'} 4614 $as_echo "$as_val"'` 4615 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4616 $as_echo "$ac_res" >&6; } 4245 4617 else 4246 4618 # Is the header compilable? 4247 { echo "$as_me:$LINENO: checking $ac_header usability" >&54248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }4619 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 4620 $as_echo_n "checking $ac_header usability... " >&6; } 4249 4621 cat >conftest.$ac_ext <<_ACEOF 4250 4622 /* confdefs.h. */ … … 4262 4634 *) ac_try_echo=$ac_try;; 4263 4635 esac 4264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4637 $as_echo "$ac_try_echo") >&5 4265 4638 (eval "$ac_compile") 2>conftest.er1 4266 4639 ac_status=$? … … 4268 4641 rm -f conftest.er1 4269 4642 cat conftest.err >&5 4270 echo "$as_me:$LINENO: \$? = $ac_status" >&54643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4271 4644 (exit $ac_status); } && { 4272 4645 test -z "$ac_cxx_werror_flag" || … … 4275 4648 ac_header_compiler=yes 4276 4649 else 4277 echo "$as_me: failed program was:" >&54650 $as_echo "$as_me: failed program was:" >&5 4278 4651 sed 's/^/| /' conftest.$ac_ext >&5 4279 4652 … … 4282 4655 4283 4656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4284 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&54285 echo "${ECHO_T}$ac_header_compiler" >&6; }4657 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4658 $as_echo "$ac_header_compiler" >&6; } 4286 4659 4287 4660 # Is the header present? 4288 { echo "$as_me:$LINENO: checking $ac_header presence" >&54289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }4661 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 4662 $as_echo_n "checking $ac_header presence... " >&6; } 4290 4663 cat >conftest.$ac_ext <<_ACEOF 4291 4664 /* confdefs.h. */ … … 4301 4674 *) ac_try_echo=$ac_try;; 4302 4675 esac 4303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4677 $as_echo "$ac_try_echo") >&5 4304 4678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4305 4679 ac_status=$? … … 4307 4681 rm -f conftest.er1 4308 4682 cat conftest.err >&5 4309 echo "$as_me:$LINENO: \$? = $ac_status" >&54683 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4310 4684 (exit $ac_status); } >/dev/null && { 4311 4685 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 4314 4688 ac_header_preproc=yes 4315 4689 else 4316 echo "$as_me: failed program was:" >&54690 $as_echo "$as_me: failed program was:" >&5 4317 4691 sed 's/^/| /' conftest.$ac_ext >&5 4318 4692 … … 4321 4695 4322 4696 rm -f conftest.err conftest.$ac_ext 4323 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&54324 echo "${ECHO_T}$ac_header_preproc" >&6; }4697 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4698 $as_echo "$ac_header_preproc" >&6; } 4325 4699 4326 4700 # So? What about this header? 4327 4701 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4328 4702 yes:no: ) 4329 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&54330 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}4331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&54332 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}4703 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4704 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4705 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4706 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4333 4707 ac_header_preproc=yes 4334 4708 ;; 4335 4709 no:yes:* ) 4336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&54337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}4338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&54339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}4340 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&54341 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}4342 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&54343 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}4344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&54345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}4346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&54347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}4710 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4711 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4712 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4713 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4714 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4715 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4716 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4717 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4718 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4719 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4720 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4721 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4348 4722 ( cat <<\_ASBOX 4349 4723 ## ----------------------------------- ## … … 4354 4728 ;; 4355 4729 esac 4356 { echo "$as_me:$LINENO: checking for $ac_header" >&54357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4730 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4731 $as_echo_n "checking for $ac_header... " >&6; } 4358 4732 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4359 echo $ECHO_N "(cached) $ECHO_C" >&64733 $as_echo_n "(cached) " >&6 4360 4734 else 4361 4735 eval "$as_ac_Header=\$ac_header_preproc" 4362 4736 fi 4363 ac_res=`eval echo '${'$as_ac_Header'}'` 4364 { echo "$as_me:$LINENO: result: $ac_res" >&5 4365 echo "${ECHO_T}$ac_res" >&6; } 4366 4367 fi 4368 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4737 ac_res=`eval 'as_val=${'$as_ac_Header'} 4738 $as_echo "$as_val"'` 4739 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4740 $as_echo "$ac_res" >&6; } 4741 4742 fi 4743 if test `eval 'as_val=${'$as_ac_Header'} 4744 $as_echo "$as_val"'` = yes; then 4369 4745 cat >>confdefs.h <<_ACEOF 4370 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14371 _ACEOF 4372 4373 else 4374 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&54375 echo "$as_me: WARNING: STL classes missing ?" >&2;}4746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4747 _ACEOF 4748 4749 else 4750 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 4751 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4376 4752 fi 4377 4753 … … 4381 4757 for ac_header in string 4382 4758 do 4383 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`4759 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4384 4760 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4385 { echo "$as_me:$LINENO: checking for $ac_header" >&54386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4761 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4762 $as_echo_n "checking for $ac_header... " >&6; } 4387 4763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4388 echo $ECHO_N "(cached) $ECHO_C" >&6 4389 fi 4390 ac_res=`eval echo '${'$as_ac_Header'}'` 4391 { echo "$as_me:$LINENO: result: $ac_res" >&5 4392 echo "${ECHO_T}$ac_res" >&6; } 4764 $as_echo_n "(cached) " >&6 4765 fi 4766 ac_res=`eval 'as_val=${'$as_ac_Header'} 4767 $as_echo "$as_val"'` 4768 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4769 $as_echo "$ac_res" >&6; } 4393 4770 else 4394 4771 # Is the header compilable? 4395 { echo "$as_me:$LINENO: checking $ac_header usability" >&54396 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }4772 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 4773 $as_echo_n "checking $ac_header usability... " >&6; } 4397 4774 cat >conftest.$ac_ext <<_ACEOF 4398 4775 /* confdefs.h. */ … … 4410 4787 *) ac_try_echo=$ac_try;; 4411 4788 esac 4412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4790 $as_echo "$ac_try_echo") >&5 4413 4791 (eval "$ac_compile") 2>conftest.er1 4414 4792 ac_status=$? … … 4416 4794 rm -f conftest.er1 4417 4795 cat conftest.err >&5 4418 echo "$as_me:$LINENO: \$? = $ac_status" >&54796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4419 4797 (exit $ac_status); } && { 4420 4798 test -z "$ac_cxx_werror_flag" || … … 4423 4801 ac_header_compiler=yes 4424 4802 else 4425 echo "$as_me: failed program was:" >&54803 $as_echo "$as_me: failed program was:" >&5 4426 4804 sed 's/^/| /' conftest.$ac_ext >&5 4427 4805 … … 4430 4808 4431 4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4432 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&54433 echo "${ECHO_T}$ac_header_compiler" >&6; }4810 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4811 $as_echo "$ac_header_compiler" >&6; } 4434 4812 4435 4813 # Is the header present? 4436 { echo "$as_me:$LINENO: checking $ac_header presence" >&54437 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }4814 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 4815 $as_echo_n "checking $ac_header presence... " >&6; } 4438 4816 cat >conftest.$ac_ext <<_ACEOF 4439 4817 /* confdefs.h. */ … … 4449 4827 *) ac_try_echo=$ac_try;; 4450 4828 esac 4451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4830 $as_echo "$ac_try_echo") >&5 4452 4831 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4453 4832 ac_status=$? … … 4455 4834 rm -f conftest.er1 4456 4835 cat conftest.err >&5 4457 echo "$as_me:$LINENO: \$? = $ac_status" >&54836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4458 4837 (exit $ac_status); } >/dev/null && { 4459 4838 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 4462 4841 ac_header_preproc=yes 4463 4842 else 4464 echo "$as_me: failed program was:" >&54843 $as_echo "$as_me: failed program was:" >&5 4465 4844 sed 's/^/| /' conftest.$ac_ext >&5 4466 4845 … … 4469 4848 4470 4849 rm -f conftest.err conftest.$ac_ext 4471 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&54472 echo "${ECHO_T}$ac_header_preproc" >&6; }4850 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4851 $as_echo "$ac_header_preproc" >&6; } 4473 4852 4474 4853 # So? What about this header? 4475 4854 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4476 4855 yes:no: ) 4477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&54478 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}4479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&54480 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}4856 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4857 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4858 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4859 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4481 4860 ac_header_preproc=yes 4482 4861 ;; 4483 4862 no:yes:* ) 4484 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&54485 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}4486 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&54487 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}4488 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&54489 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}4490 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&54491 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}4492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&54493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}4494 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&54495 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}4863 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4864 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4865 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4866 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4867 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4868 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4869 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4870 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4871 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4872 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4873 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4874 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4496 4875 ( cat <<\_ASBOX 4497 4876 ## ----------------------------------- ## … … 4502 4881 ;; 4503 4882 esac 4504 { echo "$as_me:$LINENO: checking for $ac_header" >&54505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4883 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4884 $as_echo_n "checking for $ac_header... " >&6; } 4506 4885 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4507 echo $ECHO_N "(cached) $ECHO_C" >&64886 $as_echo_n "(cached) " >&6 4508 4887 else 4509 4888 eval "$as_ac_Header=\$ac_header_preproc" 4510 4889 fi 4511 ac_res=`eval echo '${'$as_ac_Header'}'` 4512 { echo "$as_me:$LINENO: result: $ac_res" >&5 4513 echo "${ECHO_T}$ac_res" >&6; } 4514 4515 fi 4516 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4890 ac_res=`eval 'as_val=${'$as_ac_Header'} 4891 $as_echo "$as_val"'` 4892 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4893 $as_echo "$ac_res" >&6; } 4894 4895 fi 4896 if test `eval 'as_val=${'$as_ac_Header'} 4897 $as_echo "$as_val"'` = yes; then 4517 4898 cat >>confdefs.h <<_ACEOF 4518 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14519 _ACEOF 4520 4521 else 4522 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&54523 echo "$as_me: WARNING: STL classes missing ?" >&2;}4899 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4900 _ACEOF 4901 4902 else 4903 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 4904 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4524 4905 fi 4525 4906 … … 4529 4910 for ac_header in list 4530 4911 do 4531 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`4912 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4532 4913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4533 { echo "$as_me:$LINENO: checking for $ac_header" >&54534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4914 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4915 $as_echo_n "checking for $ac_header... " >&6; } 4535 4916 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4536 echo $ECHO_N "(cached) $ECHO_C" >&6 4537 fi 4538 ac_res=`eval echo '${'$as_ac_Header'}'` 4539 { echo "$as_me:$LINENO: result: $ac_res" >&5 4540 echo "${ECHO_T}$ac_res" >&6; } 4917 $as_echo_n "(cached) " >&6 4918 fi 4919 ac_res=`eval 'as_val=${'$as_ac_Header'} 4920 $as_echo "$as_val"'` 4921 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4922 $as_echo "$ac_res" >&6; } 4541 4923 else 4542 4924 # Is the header compilable? 4543 { echo "$as_me:$LINENO: checking $ac_header usability" >&54544 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }4925 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 4926 $as_echo_n "checking $ac_header usability... " >&6; } 4545 4927 cat >conftest.$ac_ext <<_ACEOF 4546 4928 /* confdefs.h. */ … … 4558 4940 *) ac_try_echo=$ac_try;; 4559 4941 esac 4560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4943 $as_echo "$ac_try_echo") >&5 4561 4944 (eval "$ac_compile") 2>conftest.er1 4562 4945 ac_status=$? … … 4564 4947 rm -f conftest.er1 4565 4948 cat conftest.err >&5 4566 echo "$as_me:$LINENO: \$? = $ac_status" >&54949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4567 4950 (exit $ac_status); } && { 4568 4951 test -z "$ac_cxx_werror_flag" || … … 4571 4954 ac_header_compiler=yes 4572 4955 else 4573 echo "$as_me: failed program was:" >&54956 $as_echo "$as_me: failed program was:" >&5 4574 4957 sed 's/^/| /' conftest.$ac_ext >&5 4575 4958 … … 4578 4961 4579 4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4580 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&54581 echo "${ECHO_T}$ac_header_compiler" >&6; }4963 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4964 $as_echo "$ac_header_compiler" >&6; } 4582 4965 4583 4966 # Is the header present? 4584 { echo "$as_me:$LINENO: checking $ac_header presence" >&54585 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }4967 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 4968 $as_echo_n "checking $ac_header presence... " >&6; } 4586 4969 cat >conftest.$ac_ext <<_ACEOF 4587 4970 /* confdefs.h. */ … … 4597 4980 *) ac_try_echo=$ac_try;; 4598 4981 esac 4599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4983 $as_echo "$ac_try_echo") >&5 4600 4984 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4601 4985 ac_status=$? … … 4603 4987 rm -f conftest.er1 4604 4988 cat conftest.err >&5 4605 echo "$as_me:$LINENO: \$? = $ac_status" >&54989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4606 4990 (exit $ac_status); } >/dev/null && { 4607 4991 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 4610 4994 ac_header_preproc=yes 4611 4995 else 4612 echo "$as_me: failed program was:" >&54996 $as_echo "$as_me: failed program was:" >&5 4613 4997 sed 's/^/| /' conftest.$ac_ext >&5 4614 4998 … … 4617 5001 4618 5002 rm -f conftest.err conftest.$ac_ext 4619 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&54620 echo "${ECHO_T}$ac_header_preproc" >&6; }5003 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5004 $as_echo "$ac_header_preproc" >&6; } 4621 5005 4622 5006 # So? What about this header? 4623 5007 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4624 5008 yes:no: ) 4625 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&54626 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}4627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&54628 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}5009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5010 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5011 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5012 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4629 5013 ac_header_preproc=yes 4630 5014 ;; 4631 5015 no:yes:* ) 4632 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&54633 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}4634 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&54635 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}4636 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&54637 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}4638 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&54639 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}4640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&54641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}4642 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&54643 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}5016 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5017 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5018 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5019 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5020 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5021 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5022 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5023 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5024 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5025 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5026 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5027 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4644 5028 ( cat <<\_ASBOX 4645 5029 ## ----------------------------------- ## … … 4650 5034 ;; 4651 5035 esac 4652 { echo "$as_me:$LINENO: checking for $ac_header" >&54653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }5036 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5037 $as_echo_n "checking for $ac_header... " >&6; } 4654 5038 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4655 echo $ECHO_N "(cached) $ECHO_C" >&65039 $as_echo_n "(cached) " >&6 4656 5040 else 4657 5041 eval "$as_ac_Header=\$ac_header_preproc" 4658 5042 fi 4659 ac_res=`eval echo '${'$as_ac_Header'}'` 4660 { echo "$as_me:$LINENO: result: $ac_res" >&5 4661 echo "${ECHO_T}$ac_res" >&6; } 4662 4663 fi 4664 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5043 ac_res=`eval 'as_val=${'$as_ac_Header'} 5044 $as_echo "$as_val"'` 5045 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5046 $as_echo "$ac_res" >&6; } 5047 5048 fi 5049 if test `eval 'as_val=${'$as_ac_Header'} 5050 $as_echo "$as_val"'` = yes; then 4665 5051 cat >>confdefs.h <<_ACEOF 4666 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14667 _ACEOF 4668 4669 else 4670 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&54671 echo "$as_me: WARNING: STL classes missing ?" >&2;}5052 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5053 _ACEOF 5054 5055 else 5056 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5057 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4672 5058 fi 4673 5059 … … 4677 5063 for ac_header in vector 4678 5064 do 4679 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`5065 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4680 5066 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4681 { echo "$as_me:$LINENO: checking for $ac_header" >&54682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }5067 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5068 $as_echo_n "checking for $ac_header... " >&6; } 4683 5069 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4684 echo $ECHO_N "(cached) $ECHO_C" >&6 4685 fi 4686 ac_res=`eval echo '${'$as_ac_Header'}'` 4687 { echo "$as_me:$LINENO: result: $ac_res" >&5 4688 echo "${ECHO_T}$ac_res" >&6; } 5070 $as_echo_n "(cached) " >&6 5071 fi 5072 ac_res=`eval 'as_val=${'$as_ac_Header'} 5073 $as_echo "$as_val"'` 5074 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5075 $as_echo "$ac_res" >&6; } 4689 5076 else 4690 5077 # Is the header compilable? 4691 { echo "$as_me:$LINENO: checking $ac_header usability" >&54692 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }5078 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5079 $as_echo_n "checking $ac_header usability... " >&6; } 4693 5080 cat >conftest.$ac_ext <<_ACEOF 4694 5081 /* confdefs.h. */ … … 4706 5093 *) ac_try_echo=$ac_try;; 4707 5094 esac 4708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5096 $as_echo "$ac_try_echo") >&5 4709 5097 (eval "$ac_compile") 2>conftest.er1 4710 5098 ac_status=$? … … 4712 5100 rm -f conftest.er1 4713 5101 cat conftest.err >&5 4714 echo "$as_me:$LINENO: \$? = $ac_status" >&55102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4715 5103 (exit $ac_status); } && { 4716 5104 test -z "$ac_cxx_werror_flag" || … … 4719 5107 ac_header_compiler=yes 4720 5108 else 4721 echo "$as_me: failed program was:" >&55109 $as_echo "$as_me: failed program was:" >&5 4722 5110 sed 's/^/| /' conftest.$ac_ext >&5 4723 5111 … … 4726 5114 4727 5115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4728 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&54729 echo "${ECHO_T}$ac_header_compiler" >&6; }5116 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5117 $as_echo "$ac_header_compiler" >&6; } 4730 5118 4731 5119 # Is the header present? 4732 { echo "$as_me:$LINENO: checking $ac_header presence" >&54733 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }5120 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5121 $as_echo_n "checking $ac_header presence... " >&6; } 4734 5122 cat >conftest.$ac_ext <<_ACEOF 4735 5123 /* confdefs.h. */ … … 4745 5133 *) ac_try_echo=$ac_try;; 4746 5134 esac 4747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5136 $as_echo "$ac_try_echo") >&5 4748 5137 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4749 5138 ac_status=$? … … 4751 5140 rm -f conftest.er1 4752 5141 cat conftest.err >&5 4753 echo "$as_me:$LINENO: \$? = $ac_status" >&55142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4754 5143 (exit $ac_status); } >/dev/null && { 4755 5144 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 4758 5147 ac_header_preproc=yes 4759 5148 else 4760 echo "$as_me: failed program was:" >&55149 $as_echo "$as_me: failed program was:" >&5 4761 5150 sed 's/^/| /' conftest.$ac_ext >&5 4762 5151 … … 4765 5154 4766 5155 rm -f conftest.err conftest.$ac_ext 4767 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&54768 echo "${ECHO_T}$ac_header_preproc" >&6; }5156 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5157 $as_echo "$ac_header_preproc" >&6; } 4769 5158 4770 5159 # So? What about this header? 4771 5160 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4772 5161 yes:no: ) 4773 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&54774 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}4775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&54776 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}5162 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5163 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5164 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5165 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4777 5166 ac_header_preproc=yes 4778 5167 ;; 4779 5168 no:yes:* ) 4780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&54781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}4782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&54783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}4784 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&54785 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}4786 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&54787 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}4788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&54789 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}4790 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&54791 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}5169 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5170 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5171 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5172 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5173 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5174 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5175 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5176 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5177 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5178 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5179 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5180 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4792 5181 ( cat <<\_ASBOX 4793 5182 ## ----------------------------------- ## … … 4798 5187 ;; 4799 5188 esac 4800 { echo "$as_me:$LINENO: checking for $ac_header" >&54801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }5189 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5190 $as_echo_n "checking for $ac_header... " >&6; } 4802 5191 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4803 echo $ECHO_N "(cached) $ECHO_C" >&65192 $as_echo_n "(cached) " >&6 4804 5193 else 4805 5194 eval "$as_ac_Header=\$ac_header_preproc" 4806 5195 fi 4807 ac_res=`eval echo '${'$as_ac_Header'}'` 4808 { echo "$as_me:$LINENO: result: $ac_res" >&5 4809 echo "${ECHO_T}$ac_res" >&6; } 4810 4811 fi 4812 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5196 ac_res=`eval 'as_val=${'$as_ac_Header'} 5197 $as_echo "$as_val"'` 5198 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5199 $as_echo "$ac_res" >&6; } 5200 5201 fi 5202 if test `eval 'as_val=${'$as_ac_Header'} 5203 $as_echo "$as_val"'` = yes; then 4813 5204 cat >>confdefs.h <<_ACEOF 4814 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14815 _ACEOF 4816 4817 else 4818 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&54819 echo "$as_me: WARNING: STL classes missing ?" >&2;}5205 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5206 _ACEOF 5207 5208 else 5209 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5210 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4820 5211 fi 4821 5212 … … 4828 5219 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 4829 5220 if test -n "$ac_tool_prefix"; then 4830 for ac_prog in g77 f77 fort77 f90 xlf xlf90 fl325221 for ac_prog in g77 gfortran f77 fort77 f90 xlf xlf90 fl32 4831 5222 do 4832 5223 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4833 5224 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4834 { echo "$as_me:$LINENO: checking for $ac_word" >&54835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }5225 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5226 $as_echo_n "checking for $ac_word... " >&6; } 4836 5227 if test "${ac_cv_prog_F77+set}" = set; then 4837 echo $ECHO_N "(cached) $ECHO_C" >&65228 $as_echo_n "(cached) " >&6 4838 5229 else 4839 5230 if test -n "$F77"; then … … 4848 5239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4849 5240 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 4850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55241 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4851 5242 break 2 4852 5243 fi … … 4859 5250 F77=$ac_cv_prog_F77 4860 5251 if test -n "$F77"; then 4861 { echo "$as_me:$LINENO: result: $F77" >&54862 echo "${ECHO_T}$F77" >&6; }4863 else 4864 { echo "$as_me:$LINENO: result: no" >&54865 echo "${ECHO_T}no" >&6; }5252 { $as_echo "$as_me:$LINENO: result: $F77" >&5 5253 $as_echo "$F77" >&6; } 5254 else 5255 { $as_echo "$as_me:$LINENO: result: no" >&5 5256 $as_echo "no" >&6; } 4866 5257 fi 4867 5258 … … 4872 5263 if test -z "$F77"; then 4873 5264 ac_ct_F77=$F77 4874 for ac_prog in g77 f77 fort77 f90 xlf xlf90 fl325265 for ac_prog in g77 gfortran f77 fort77 f90 xlf xlf90 fl32 4875 5266 do 4876 5267 # Extract the first word of "$ac_prog", so it can be a program name with args. 4877 5268 set dummy $ac_prog; ac_word=$2 4878 { echo "$as_me:$LINENO: checking for $ac_word" >&54879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }5269 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5270 $as_echo_n "checking for $ac_word... " >&6; } 4880 5271 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then 4881 echo $ECHO_N "(cached) $ECHO_C" >&65272 $as_echo_n "(cached) " >&6 4882 5273 else 4883 5274 if test -n "$ac_ct_F77"; then … … 4892 5283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4893 5284 ac_cv_prog_ac_ct_F77="$ac_prog" 4894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55285 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4895 5286 break 2 4896 5287 fi … … 4903 5294 ac_ct_F77=$ac_cv_prog_ac_ct_F77 4904 5295 if test -n "$ac_ct_F77"; then 4905 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&54906 echo "${ECHO_T}$ac_ct_F77" >&6; }4907 else 4908 { echo "$as_me:$LINENO: result: no" >&54909 echo "${ECHO_T}no" >&6; }5296 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 5297 $as_echo "$ac_ct_F77" >&6; } 5298 else 5299 { $as_echo "$as_me:$LINENO: result: no" >&5 5300 $as_echo "no" >&6; } 4910 5301 fi 4911 5302 … … 4919 5310 case $cross_compiling:$ac_tool_warned in 4920 5311 yes:) 4921 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools5312 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4922 5313 whose name does not start with the host triplet. If you think this 4923 5314 configuration is useful to you, please write to autoconf@gnu.org." >&5 4924 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools5315 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 4925 5316 whose name does not start with the host triplet. If you think this 4926 5317 configuration is useful to you, please write to autoconf@gnu.org." >&2;} … … 4933 5324 4934 5325 # Provide some information about the compiler. 4935 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 4936 ac_compiler=`set X $ac_compile; echo $2` 5326 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 5327 set X $ac_compile 5328 ac_compiler=$2 4937 5329 { (ac_try="$ac_compiler --version >&5" 4938 5330 case "(($ac_try" in … … 4940 5332 *) ac_try_echo=$ac_try;; 4941 5333 esac 4942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5335 $as_echo "$ac_try_echo") >&5 4943 5336 (eval "$ac_compiler --version >&5") 2>&5 4944 5337 ac_status=$? 4945 echo "$as_me:$LINENO: \$? = $ac_status" >&55338 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4946 5339 (exit $ac_status); } 4947 5340 { (ac_try="$ac_compiler -v >&5" … … 4950 5343 *) ac_try_echo=$ac_try;; 4951 5344 esac 4952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5346 $as_echo "$ac_try_echo") >&5 4953 5347 (eval "$ac_compiler -v >&5") 2>&5 4954 5348 ac_status=$? 4955 echo "$as_me:$LINENO: \$? = $ac_status" >&55349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4956 5350 (exit $ac_status); } 4957 5351 { (ac_try="$ac_compiler -V >&5" … … 4960 5354 *) ac_try_echo=$ac_try;; 4961 5355 esac 4962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5357 $as_echo "$ac_try_echo") >&5 4963 5358 (eval "$ac_compiler -V >&5") 2>&5 4964 5359 ac_status=$? 4965 echo "$as_me:$LINENO: \$? = $ac_status" >&55360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4966 5361 (exit $ac_status); } 4967 5362 rm -f a.out … … 4971 5366 ac_save_ext=$ac_ext 4972 5367 ac_ext=F 4973 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&54974 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }5368 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 5369 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 4975 5370 if test "${ac_cv_f77_compiler_gnu+set}" = set; then 4976 echo $ECHO_N "(cached) $ECHO_C" >&65371 $as_echo_n "(cached) " >&6 4977 5372 else 4978 5373 cat >conftest.$ac_ext <<_ACEOF … … 4990 5385 *) ac_try_echo=$ac_try;; 4991 5386 esac 4992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5388 $as_echo "$ac_try_echo") >&5 4993 5389 (eval "$ac_compile") 2>conftest.er1 4994 5390 ac_status=$? … … 4996 5392 rm -f conftest.er1 4997 5393 cat conftest.err >&5 4998 echo "$as_me:$LINENO: \$? = $ac_status" >&55394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4999 5395 (exit $ac_status); } && { 5000 5396 test -z "$ac_f77_werror_flag" || … … 5003 5399 ac_compiler_gnu=yes 5004 5400 else 5005 echo "$as_me: failed program was:" >&55401 $as_echo "$as_me: failed program was:" >&5 5006 5402 sed 's/^/| /' conftest.$ac_ext >&5 5007 5403 … … 5013 5409 5014 5410 fi 5015 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&55016 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }5411 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 5412 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 5017 5413 ac_ext=$ac_save_ext 5018 5414 ac_test_FFLAGS=${FFLAGS+set} 5019 5415 ac_save_FFLAGS=$FFLAGS 5020 5416 FFLAGS= 5021 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&55022 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }5417 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 5418 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 5023 5419 if test "${ac_cv_prog_f77_g+set}" = set; then 5024 echo $ECHO_N "(cached) $ECHO_C" >&65420 $as_echo_n "(cached) " >&6 5025 5421 else 5026 5422 FFLAGS=-g … … 5036 5432 *) ac_try_echo=$ac_try;; 5037 5433 esac 5038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5434 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5435 $as_echo "$ac_try_echo") >&5 5039 5436 (eval "$ac_compile") 2>conftest.er1 5040 5437 ac_status=$? … … 5042 5439 rm -f conftest.er1 5043 5440 cat conftest.err >&5 5044 echo "$as_me:$LINENO: \$? = $ac_status" >&55441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5045 5442 (exit $ac_status); } && { 5046 5443 test -z "$ac_f77_werror_flag" || … … 5049 5446 ac_cv_prog_f77_g=yes 5050 5447 else 5051 echo "$as_me: failed program was:" >&55448 $as_echo "$as_me: failed program was:" >&5 5052 5449 sed 's/^/| /' conftest.$ac_ext >&5 5053 5450 … … 5058 5455 5059 5456 fi 5060 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&55061 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }5457 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 5458 $as_echo "$ac_cv_prog_f77_g" >&6; } 5062 5459 if test "$ac_test_FFLAGS" = set; then 5063 5460 FFLAGS=$ac_save_FFLAGS … … 5076 5473 fi 5077 5474 5078 G77=`test $ac_compiler_gnu = yes && echo yes` 5475 if test $ac_compiler_gnu = yes; then 5476 G77=yes 5477 else 5478 G77= 5479 fi 5079 5480 ac_ext=cpp 5080 5481 ac_cpp='$CXXCPP $CPPFLAGS' … … 5084 5485 5085 5486 5086 5087 5487 SC_CONFIG_GCC 5488 5489 5490 # Step 0.a: Enable 64 bit support? 5491 5492 { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5 5493 $as_echo_n "checking if 64bit support is requested... " >&6; } 5494 # Check whether --enable-64bit was given. 5495 if test "${enable_64bit+set}" = set; then 5496 enableval=$enable_64bit; do64bit=$enableval 5497 else 5498 do64bit=no 5499 fi 5500 5501 { $as_echo "$as_me:$LINENO: result: $do64bit" >&5 5502 $as_echo "$do64bit" >&6; } 5503 5504 # Step 0.b: Enable Solaris 64 bit VIS support? 5505 5506 { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5 5507 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 5508 # Check whether --enable-64bit-vis was given. 5509 if test "${enable_64bit_vis+set}" = set; then 5510 enableval=$enable_64bit_vis; do64bitVIS=$enableval 5511 else 5512 do64bitVIS=no 5513 fi 5514 5515 { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5 5516 $as_echo "$do64bitVIS" >&6; } 5517 5518 if test "$do64bitVIS" = "yes"; then 5519 # Force 64bit on with VIS 5520 do64bit=yes 5521 fi 5522 5523 # Step 1: set the variable "system" to hold the name and version number 5524 # for the system. 5525 5526 5527 { $as_echo "$as_me:$LINENO: checking system version" >&5 5528 $as_echo_n "checking system version... " >&6; } 5529 if test "${tcl_cv_sys_version+set}" = set; then 5530 $as_echo_n "(cached) " >&6 5531 else 5532 5533 if test -f /usr/lib/NextStep/software_version; then 5534 tcl_cv_sys_version=NEXTSTEP-`awk '/3/,/3/' /usr/lib/NextStep/software_version` 5535 else 5536 tcl_cv_sys_version=`uname -s`-`uname -r` 5537 if test "$?" -ne 0 ; then 5538 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5 5539 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 5540 tcl_cv_sys_version=unknown 5541 else 5542 # Special check for weird MP-RAS system (uname returns weird 5543 # results, and the version is kept in special file). 5544 5545 if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then 5546 tcl_cv_sys_version=MP-RAS-`awk '{print $3}' /etc/.relid` 5547 fi 5548 if test "`uname -s`" = "AIX" ; then 5549 tcl_cv_sys_version=AIX-`uname -v`.`uname -r` 5550 fi 5551 fi 5552 fi 5553 5554 fi 5555 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5 5556 $as_echo "$tcl_cv_sys_version" >&6; } 5557 system=$tcl_cv_sys_version 5558 5559 5560 # Step 2: check for existence of -ldl library. This is needed because 5561 # Linux can use either -ldl or -ldld for dynamic loading. 5562 5563 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 5564 $as_echo_n "checking for dlopen in -ldl... " >&6; } 5565 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 5566 $as_echo_n "(cached) " >&6 5567 else 5568 ac_check_lib_save_LIBS=$LIBS 5569 LIBS="-ldl $LIBS" 5570 cat >conftest.$ac_ext <<_ACEOF 5571 /* confdefs.h. */ 5572 _ACEOF 5573 cat confdefs.h >>conftest.$ac_ext 5574 cat >>conftest.$ac_ext <<_ACEOF 5575 /* end confdefs.h. */ 5576 5577 /* Override any GCC internal prototype to avoid an error. 5578 Use char because int might match the return type of a GCC 5579 builtin and then its argument prototype would still apply. */ 5580 #ifdef __cplusplus 5581 extern "C" 5582 #endif 5583 char dlopen (); 5584 int 5585 main () 5586 { 5587 return dlopen (); 5588 ; 5589 return 0; 5590 } 5591 _ACEOF 5592 rm -f conftest.$ac_objext conftest$ac_exeext 5593 if { (ac_try="$ac_link" 5594 case "(($ac_try" in 5595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5596 *) ac_try_echo=$ac_try;; 5597 esac 5598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5599 $as_echo "$ac_try_echo") >&5 5600 (eval "$ac_link") 2>conftest.er1 5601 ac_status=$? 5602 grep -v '^ *+' conftest.er1 >conftest.err 5603 rm -f conftest.er1 5604 cat conftest.err >&5 5605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5606 (exit $ac_status); } && { 5607 test -z "$ac_cxx_werror_flag" || 5608 test ! -s conftest.err 5609 } && test -s conftest$ac_exeext && { 5610 test "$cross_compiling" = yes || 5611 $as_test_x conftest$ac_exeext 5612 }; then 5613 ac_cv_lib_dl_dlopen=yes 5614 else 5615 $as_echo "$as_me: failed program was:" >&5 5616 sed 's/^/| /' conftest.$ac_ext >&5 5617 5618 ac_cv_lib_dl_dlopen=no 5619 fi 5620 5621 rm -rf conftest.dSYM 5622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5623 conftest$ac_exeext conftest.$ac_ext 5624 LIBS=$ac_check_lib_save_LIBS 5625 fi 5626 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 5627 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 5628 if test $ac_cv_lib_dl_dlopen = yes; then 5629 have_dl=yes 5630 else 5631 have_dl=no 5632 fi 5633 5634 5635 # Require ranlib early so we can override it in special cases below. 5636 5637 5638 5639 # Step 3: set configuration options based on system name and version. 5640 5641 do64bit_ok=no 5642 LDFLAGS_ORIG="$LDFLAGS" 5643 TCL_EXPORT_FILE_SUFFIX="" 5644 UNSHARED_LIB_SUFFIX="" 5645 TCL_TRIM_DOTS='`echo ${VERSION} | tr -d .`' 5646 ECHO_VERSION='`echo ${VERSION}`' 5647 TCL_LIB_VERSIONS_OK=ok 5648 CFLAGS_DEBUG=-g 5649 CFLAGS_OPTIMIZE=-O 5650 if test "$GCC" = "yes" ; then 5651 CFLAGS_WARNING="-Wall -Wno-implicit-int -fno-strict-aliasing" 5652 else 5653 CFLAGS_WARNING="" 5654 fi 5655 TCL_NEEDS_EXP_FILE=0 5656 TCL_BUILD_EXP_FILE="" 5657 TCL_EXP_FILE="" 5658 # Extract the first word of "ar", so it can be a program name with args. 5659 set dummy ar; ac_word=$2 5660 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5661 $as_echo_n "checking for $ac_word... " >&6; } 5662 if test "${ac_cv_prog_AR+set}" = set; then 5663 $as_echo_n "(cached) " >&6 5664 else 5665 if test -n "$AR"; then 5666 ac_cv_prog_AR="$AR" # Let the user override the test. 5667 else 5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5669 for as_dir in $PATH 5670 do 5671 IFS=$as_save_IFS 5672 test -z "$as_dir" && as_dir=. 5673 for ac_exec_ext in '' $ac_executable_extensions; do 5674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5675 ac_cv_prog_AR="ar" 5676 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5677 break 2 5678 fi 5679 done 5680 done 5681 IFS=$as_save_IFS 5682 5683 fi 5684 fi 5685 AR=$ac_cv_prog_AR 5686 if test -n "$AR"; then 5687 { $as_echo "$as_me:$LINENO: result: $AR" >&5 5688 $as_echo "$AR" >&6; } 5689 else 5690 { $as_echo "$as_me:$LINENO: result: no" >&5 5691 $as_echo "no" >&6; } 5692 fi 5693 5694 5695 if test "${AR}" = "" ; then 5696 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 5697 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 5698 { (exit 1); exit 1; }; } 5699 fi 5700 STLIB_LD='${AR} cr' 5701 LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH" 5702 PLAT_OBJS="" 5703 PLAT_SRCS="" 5704 case $system in 5705 AIX-*) 5706 if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes" ; then 5707 # AIX requires the _r compiler when gcc isn't being used 5708 case "${CC}" in 5709 *_r) 5710 # ok ... 5711 ;; 5712 *) 5713 CC=${CC}_r 5714 ;; 5715 esac 5716 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5 5717 $as_echo "Using $CC for compiling with threads" >&6; } 5718 fi 5719 LIBS="$LIBS -lc" 5720 SHLIB_CFLAGS="" 5721 # Note: need the LIBS below, otherwise Tk won't find Tcl's 5722 # symbols when dynamically loaded into tclsh. 5723 SHLIB_LD_LIBS='${LIBS}' 5724 SHLIB_SUFFIX=".so" 5725 5726 DL_OBJS="tclLoadDl.o" 5727 LD_LIBRARY_PATH_VAR="LIBPATH" 5728 5729 # Check to enable 64-bit flags for compiler/linker on AIX 4+ 5730 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 5731 if test "$GCC" = "yes" ; then 5732 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 5733 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 5734 else 5735 do64bit_ok=yes 5736 CFLAGS="$CFLAGS -q64" 5737 LDFLAGS="$LDFLAGS -q64" 5738 RANLIB="${RANLIB} -X64" 5739 AR="${AR} -X64" 5740 SHLIB_LD_FLAGS="-b64" 5741 fi 5742 fi 5743 5744 if test "`uname -m`" = "ia64" ; then 5745 # AIX-5 uses ELF style dynamic libraries on IA-64, but not PPC 5746 SHLIB_LD="/usr/ccs/bin/ld -G -z text" 5747 # AIX-5 has dl* in libc.so 5748 DL_LIBS="" 5749 if test "$GCC" = "yes" ; then 5750 CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' 5751 else 5752 CC_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}' 5753 fi 5754 LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' 5755 else 5756 if test "$GCC" = "yes" ; then 5757 SHLIB_LD="gcc -shared" 5758 else 5759 SHLIB_LD="/bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry" 5760 fi 5761 SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix ${SHLIB_LD} ${SHLIB_LD_FLAGS}" 5762 DL_LIBS="-ldl" 5763 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' 5764 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5765 TCL_NEEDS_EXP_FILE=1 5766 TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.exp' 5767 fi 5768 5769 # AIX v<=4.1 has some different flags than 4.2+ 5770 if test "$system" = "AIX-4.1" -o "`uname -v`" -lt "4" ; then 5771 LIBOBJS="$LIBOBJS tclLoadAix.o" 5772 DL_LIBS="-lld" 5773 fi 5774 5775 # On AIX <=v4 systems, libbsd.a has to be linked in to support 5776 # non-blocking file IO. This library has to be linked in after 5777 # the MATH_LIBS or it breaks the pow() function. The way to 5778 # insure proper sequencing, is to add it to the tail of MATH_LIBS. 5779 # This library also supplies gettimeofday. 5780 # 5781 # AIX does not have a timezone field in struct tm. When the AIX 5782 # bsd library is used, the timezone global and the gettimeofday 5783 # methods are to be avoided for timezone deduction instead, we 5784 # deduce the timezone by comparing the localtime result on a 5785 # known GMT value. 5786 5787 { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5 5788 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 5789 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 5790 $as_echo_n "(cached) " >&6 5791 else 5792 ac_check_lib_save_LIBS=$LIBS 5793 LIBS="-lbsd $LIBS" 5794 cat >conftest.$ac_ext <<_ACEOF 5795 /* confdefs.h. */ 5796 _ACEOF 5797 cat confdefs.h >>conftest.$ac_ext 5798 cat >>conftest.$ac_ext <<_ACEOF 5799 /* end confdefs.h. */ 5800 5801 /* Override any GCC internal prototype to avoid an error. 5802 Use char because int might match the return type of a GCC 5803 builtin and then its argument prototype would still apply. */ 5804 #ifdef __cplusplus 5805 extern "C" 5806 #endif 5807 char gettimeofday (); 5808 int 5809 main () 5810 { 5811 return gettimeofday (); 5812 ; 5813 return 0; 5814 } 5815 _ACEOF 5816 rm -f conftest.$ac_objext conftest$ac_exeext 5817 if { (ac_try="$ac_link" 5818 case "(($ac_try" in 5819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5820 *) ac_try_echo=$ac_try;; 5821 esac 5822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5823 $as_echo "$ac_try_echo") >&5 5824 (eval "$ac_link") 2>conftest.er1 5825 ac_status=$? 5826 grep -v '^ *+' conftest.er1 >conftest.err 5827 rm -f conftest.er1 5828 cat conftest.err >&5 5829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5830 (exit $ac_status); } && { 5831 test -z "$ac_cxx_werror_flag" || 5832 test ! -s conftest.err 5833 } && test -s conftest$ac_exeext && { 5834 test "$cross_compiling" = yes || 5835 $as_test_x conftest$ac_exeext 5836 }; then 5837 ac_cv_lib_bsd_gettimeofday=yes 5838 else 5839 $as_echo "$as_me: failed program was:" >&5 5840 sed 's/^/| /' conftest.$ac_ext >&5 5841 5842 ac_cv_lib_bsd_gettimeofday=no 5843 fi 5844 5845 rm -rf conftest.dSYM 5846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5847 conftest$ac_exeext conftest.$ac_ext 5848 LIBS=$ac_check_lib_save_LIBS 5849 fi 5850 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5 5851 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 5852 if test $ac_cv_lib_bsd_gettimeofday = yes; then 5853 libbsd=yes 5854 else 5855 libbsd=no 5856 fi 5857 5858 if test $libbsd = yes; then 5859 MATH_LIBS="$MATH_LIBS -lbsd" 5860 cat >>confdefs.h <<\_ACEOF 5861 #define USE_DELTA_FOR_TZ 1 5862 _ACEOF 5863 5864 fi 5865 ;; 5866 BeOS*) 5867 SHLIB_CFLAGS="-fPIC" 5868 SHLIB_LD="${CC} -nostart" 5869 SHLIB_LD_LIBS='${LIBS}' 5870 SHLIB_SUFFIX=".so" 5871 DL_OBJS="tclLoadDl.o" 5872 DL_LIBS="-ldl" 5873 5874 #----------------------------------------------------------- 5875 # Check for inet_ntoa in -lbind, for BeOS (which also needs 5876 # -lsocket, even if the network functions are in -lnet which 5877 # is always linked to, for compatibility. 5878 #----------------------------------------------------------- 5879 { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5 5880 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 5881 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then 5882 $as_echo_n "(cached) " >&6 5883 else 5884 ac_check_lib_save_LIBS=$LIBS 5885 LIBS="-lbind $LIBS" 5886 cat >conftest.$ac_ext <<_ACEOF 5887 /* confdefs.h. */ 5888 _ACEOF 5889 cat confdefs.h >>conftest.$ac_ext 5890 cat >>conftest.$ac_ext <<_ACEOF 5891 /* end confdefs.h. */ 5892 5893 /* Override any GCC internal prototype to avoid an error. 5894 Use char because int might match the return type of a GCC 5895 builtin and then its argument prototype would still apply. */ 5896 #ifdef __cplusplus 5897 extern "C" 5898 #endif 5899 char inet_ntoa (); 5900 int 5901 main () 5902 { 5903 return inet_ntoa (); 5904 ; 5905 return 0; 5906 } 5907 _ACEOF 5908 rm -f conftest.$ac_objext conftest$ac_exeext 5909 if { (ac_try="$ac_link" 5910 case "(($ac_try" in 5911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5912 *) ac_try_echo=$ac_try;; 5913 esac 5914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5915 $as_echo "$ac_try_echo") >&5 5916 (eval "$ac_link") 2>conftest.er1 5917 ac_status=$? 5918 grep -v '^ *+' conftest.er1 >conftest.err 5919 rm -f conftest.er1 5920 cat conftest.err >&5 5921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5922 (exit $ac_status); } && { 5923 test -z "$ac_cxx_werror_flag" || 5924 test ! -s conftest.err 5925 } && test -s conftest$ac_exeext && { 5926 test "$cross_compiling" = yes || 5927 $as_test_x conftest$ac_exeext 5928 }; then 5929 ac_cv_lib_bind_inet_ntoa=yes 5930 else 5931 $as_echo "$as_me: failed program was:" >&5 5932 sed 's/^/| /' conftest.$ac_ext >&5 5933 5934 ac_cv_lib_bind_inet_ntoa=no 5935 fi 5936 5937 rm -rf conftest.dSYM 5938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5939 conftest$ac_exeext conftest.$ac_ext 5940 LIBS=$ac_check_lib_save_LIBS 5941 fi 5942 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5 5943 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 5944 if test $ac_cv_lib_bind_inet_ntoa = yes; then 5945 LIBS="$LIBS -lbind -lsocket" 5946 fi 5947 5948 ;; 5949 BSD/OS-2.1*|BSD/OS-3*) 5950 SHLIB_CFLAGS="" 5951 SHLIB_LD="shlicc -r" 5952 SHLIB_LD_LIBS='${LIBS}' 5953 SHLIB_SUFFIX=".so" 5954 DL_OBJS="tclLoadDl.o" 5955 DL_LIBS="-ldl" 5956 CC_SEARCH_FLAGS="" 5957 LD_SEARCH_FLAGS="" 5958 ;; 5959 BSD/OS-4.*) 5960 SHLIB_CFLAGS="-export-dynamic -fPIC" 5961 SHLIB_LD="cc -shared" 5962 SHLIB_LD_LIBS='${LIBS}' 5963 SHLIB_SUFFIX=".so" 5964 DL_OBJS="tclLoadDl.o" 5965 DL_LIBS="-ldl" 5966 LDFLAGS="$LDFLAGS -export-dynamic" 5967 CC_SEARCH_FLAGS="" 5968 LD_SEARCH_FLAGS="" 5969 ;; 5970 dgux*) 5971 SHLIB_CFLAGS="-K PIC" 5972 SHLIB_LD="cc -G" 5973 SHLIB_LD_LIBS="" 5974 SHLIB_SUFFIX=".so" 5975 DL_OBJS="tclLoadDl.o" 5976 DL_LIBS="-ldl" 5977 CC_SEARCH_FLAGS="" 5978 LD_SEARCH_FLAGS="" 5979 ;; 5980 HP-UX-*.11.*) 5981 # Use updated header definitions where possible 5982 cat >>confdefs.h <<\_ACEOF 5983 #define _XOPEN_SOURCE 1 5984 _ACEOF 5985 # Use the XOPEN network library 5986 cat >>confdefs.h <<\_ACEOF 5987 #define _XOPEN_SOURCE_EXTENDED 1 5988 _ACEOF 5989 # Use the XOPEN network library 5990 LIBS="$LIBS -lxnet" # Use the XOPEN network library 5991 5992 if test "`uname -m`" = "ia64" ; then 5993 SHLIB_SUFFIX=".so" 5994 else 5995 SHLIB_SUFFIX=".sl" 5996 fi 5997 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 5998 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5999 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 6000 $as_echo_n "(cached) " >&6 6001 else 6002 ac_check_lib_save_LIBS=$LIBS 6003 LIBS="-ldld $LIBS" 6004 cat >conftest.$ac_ext <<_ACEOF 6005 /* confdefs.h. */ 6006 _ACEOF 6007 cat confdefs.h >>conftest.$ac_ext 6008 cat >>conftest.$ac_ext <<_ACEOF 6009 /* end confdefs.h. */ 6010 6011 /* Override any GCC internal prototype to avoid an error. 6012 Use char because int might match the return type of a GCC 6013 builtin and then its argument prototype would still apply. */ 6014 #ifdef __cplusplus 6015 extern "C" 6016 #endif 6017 char shl_load (); 6018 int 6019 main () 6020 { 6021 return shl_load (); 6022 ; 6023 return 0; 6024 } 6025 _ACEOF 6026 rm -f conftest.$ac_objext conftest$ac_exeext 6027 if { (ac_try="$ac_link" 6028 case "(($ac_try" in 6029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6030 *) ac_try_echo=$ac_try;; 6031 esac 6032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6033 $as_echo "$ac_try_echo") >&5 6034 (eval "$ac_link") 2>conftest.er1 6035 ac_status=$? 6036 grep -v '^ *+' conftest.er1 >conftest.err 6037 rm -f conftest.er1 6038 cat conftest.err >&5 6039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6040 (exit $ac_status); } && { 6041 test -z "$ac_cxx_werror_flag" || 6042 test ! -s conftest.err 6043 } && test -s conftest$ac_exeext && { 6044 test "$cross_compiling" = yes || 6045 $as_test_x conftest$ac_exeext 6046 }; then 6047 ac_cv_lib_dld_shl_load=yes 6048 else 6049 $as_echo "$as_me: failed program was:" >&5 6050 sed 's/^/| /' conftest.$ac_ext >&5 6051 6052 ac_cv_lib_dld_shl_load=no 6053 fi 6054 6055 rm -rf conftest.dSYM 6056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6057 conftest$ac_exeext conftest.$ac_ext 6058 LIBS=$ac_check_lib_save_LIBS 6059 fi 6060 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 6061 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 6062 if test $ac_cv_lib_dld_shl_load = yes; then 6063 tcl_ok=yes 6064 else 6065 tcl_ok=no 6066 fi 6067 6068 if test "$tcl_ok" = yes; then 6069 SHLIB_CFLAGS="+z" 6070 SHLIB_LD="ld -b" 6071 SHLIB_LD_LIBS='${LIBS}' 6072 DL_OBJS="tclLoadShl.o" 6073 DL_LIBS="-ldld" 6074 LDFLAGS="$LDFLAGS -Wl,-E" 6075 CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.' 6076 LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.' 6077 LD_LIBRARY_PATH_VAR="SHLIB_PATH" 6078 fi 6079 if test "$GCC" = "yes" ; then 6080 SHLIB_LD="gcc -shared" 6081 SHLIB_LD_LIBS='${LIBS}' 6082 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 6083 fi 6084 6085 # Users may want PA-RISC 1.1/2.0 portable code - needs HP cc 6086 #CFLAGS="$CFLAGS +DAportable" 6087 6088 # Check to enable 64-bit flags for compiler/linker 6089 if test "$do64bit" = "yes" ; then 6090 if test "$GCC" = "yes" ; then 6091 hpux_arch=`${CC} -dumpmachine` 6092 case $hpux_arch in 6093 hppa64*) 6094 # 64-bit gcc in use. Fix flags for GNU ld. 6095 do64bit_ok=yes 6096 SHLIB_LD="${CC} -shared" 6097 SHLIB_LD_LIBS='${LIBS}' 6098 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 6099 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 6100 ;; 6101 *) 6102 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 6103 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 6104 ;; 6105 esac 6106 else 6107 do64bit_ok=yes 6108 CFLAGS="$CFLAGS +DD64" 6109 LDFLAGS="$LDFLAGS +DD64" 6110 fi 6111 fi 6112 ;; 6113 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 6114 SHLIB_SUFFIX=".sl" 6115 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 6116 $as_echo_n "checking for shl_load in -ldld... " >&6; } 6117 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 6118 $as_echo_n "(cached) " >&6 6119 else 6120 ac_check_lib_save_LIBS=$LIBS 6121 LIBS="-ldld $LIBS" 6122 cat >conftest.$ac_ext <<_ACEOF 6123 /* confdefs.h. */ 6124 _ACEOF 6125 cat confdefs.h >>conftest.$ac_ext 6126 cat >>conftest.$ac_ext <<_ACEOF 6127 /* end confdefs.h. */ 6128 6129 /* Override any GCC internal prototype to avoid an error. 6130 Use char because int might match the return type of a GCC 6131 builtin and then its argument prototype would still apply. */ 6132 #ifdef __cplusplus 6133 extern "C" 6134 #endif 6135 char shl_load (); 6136 int 6137 main () 6138 { 6139 return shl_load (); 6140 ; 6141 return 0; 6142 } 6143 _ACEOF 6144 rm -f conftest.$ac_objext conftest$ac_exeext 6145 if { (ac_try="$ac_link" 6146 case "(($ac_try" in 6147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6148 *) ac_try_echo=$ac_try;; 6149 esac 6150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6151 $as_echo "$ac_try_echo") >&5 6152 (eval "$ac_link") 2>conftest.er1 6153 ac_status=$? 6154 grep -v '^ *+' conftest.er1 >conftest.err 6155 rm -f conftest.er1 6156 cat conftest.err >&5 6157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6158 (exit $ac_status); } && { 6159 test -z "$ac_cxx_werror_flag" || 6160 test ! -s conftest.err 6161 } && test -s conftest$ac_exeext && { 6162 test "$cross_compiling" = yes || 6163 $as_test_x conftest$ac_exeext 6164 }; then 6165 ac_cv_lib_dld_shl_load=yes 6166 else 6167 $as_echo "$as_me: failed program was:" >&5 6168 sed 's/^/| /' conftest.$ac_ext >&5 6169 6170 ac_cv_lib_dld_shl_load=no 6171 fi 6172 6173 rm -rf conftest.dSYM 6174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6175 conftest$ac_exeext conftest.$ac_ext 6176 LIBS=$ac_check_lib_save_LIBS 6177 fi 6178 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 6179 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 6180 if test $ac_cv_lib_dld_shl_load = yes; then 6181 tcl_ok=yes 6182 else 6183 tcl_ok=no 6184 fi 6185 6186 if test "$tcl_ok" = yes; then 6187 SHLIB_CFLAGS="+z" 6188 SHLIB_LD="ld -b" 6189 SHLIB_LD_LIBS="" 6190 DL_OBJS="tclLoadShl.o" 6191 DL_LIBS="-ldld" 6192 LDFLAGS="$LDFLAGS -Wl,-E" 6193 CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.' 6194 LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.' 6195 LD_LIBRARY_PATH_VAR="SHLIB_PATH" 6196 fi 6197 ;; 6198 IRIX-4.*) 6199 SHLIB_CFLAGS="-G 0" 6200 SHLIB_SUFFIX=".a" 6201 SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0" 6202 SHLIB_LD_LIBS='${LIBS}' 6203 DL_OBJS="tclLoadAout.o" 6204 DL_LIBS="" 6205 LDFLAGS="$LDFLAGS -Wl,-D,08000000" 6206 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' 6207 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 6208 SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a' 6209 ;; 6210 IRIX-5.*) 6211 SHLIB_CFLAGS="" 6212 SHLIB_LD="ld -shared -rdata_shared" 6213 SHLIB_LD_LIBS='${LIBS}' 6214 SHLIB_SUFFIX=".so" 6215 DL_OBJS="tclLoadDl.o" 6216 DL_LIBS="" 6217 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 6218 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 6219 ;; 6220 IRIX-6.*) 6221 SHLIB_CFLAGS="" 6222 SHLIB_LD="ld -n32 -shared -rdata_shared" 6223 SHLIB_LD_LIBS='${LIBS}' 6224 SHLIB_SUFFIX=".so" 6225 DL_OBJS="tclLoadDl.o" 6226 DL_LIBS="" 6227 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 6228 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 6229 if test "$GCC" = "yes" ; then 6230 CFLAGS="$CFLAGS -mabi=n32" 6231 LDFLAGS="$LDFLAGS -mabi=n32" 6232 else 6233 case $system in 6234 IRIX-6.3) 6235 # Use to build 6.2 compatible binaries on 6.3. 6236 CFLAGS="$CFLAGS -n32 -D_OLD_TERMIOS" 6237 ;; 6238 *) 6239 CFLAGS="$CFLAGS -n32" 6240 ;; 6241 esac 6242 LDFLAGS="$LDFLAGS -n32" 6243 fi 6244 ;; 6245 IRIX64-6.*) 6246 SHLIB_CFLAGS="" 6247 SHLIB_LD="ld -n32 -shared -rdata_shared" 6248 SHLIB_LD_LIBS='${LIBS}' 6249 SHLIB_SUFFIX=".so" 6250 DL_OBJS="tclLoadDl.o" 6251 DL_LIBS="" 6252 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 6253 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 6254 6255 # Check to enable 64-bit flags for compiler/linker 6256 6257 if test "$do64bit" = "yes" ; then 6258 if test "$GCC" = "yes" ; then 6259 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5 6260 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 6261 else 6262 do64bit_ok=yes 6263 SHLIB_LD="ld -64 -shared -rdata_shared" 6264 CFLAGS="$CFLAGS -64" 6265 LDFLAGS="$LDFLAGS -64" 6266 fi 6267 fi 6268 ;; 6269 Linux*) 6270 SHLIB_CFLAGS="-fPIC" 6271 SHLIB_LD_LIBS='${LIBS}' 6272 SHLIB_SUFFIX=".so" 6273 6274 CFLAGS_OPTIMIZE=-O2 6275 # egcs-2.91.66 on Redhat Linux 6.0 generates lots of warnings 6276 # when you inline the string and math operations. Turn this off to 6277 # get rid of the warnings. 6278 #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES" 6279 6280 if test "$have_dl" = yes; then 6281 SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}' 6282 DL_OBJS="tclLoadDl.o" 6283 DL_LIBS="-ldl" 6284 LDFLAGS="$LDFLAGS -Wl,--export-dynamic" 6285 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 6286 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 6287 else 6288 if test "${ac_cv_header_dld_h+set}" = set; then 6289 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 6290 $as_echo_n "checking for dld.h... " >&6; } 6291 if test "${ac_cv_header_dld_h+set}" = set; then 6292 $as_echo_n "(cached) " >&6 6293 fi 6294 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 6295 $as_echo "$ac_cv_header_dld_h" >&6; } 6296 else 6297 # Is the header compilable? 6298 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 6299 $as_echo_n "checking dld.h usability... " >&6; } 6300 cat >conftest.$ac_ext <<_ACEOF 6301 /* confdefs.h. */ 6302 _ACEOF 6303 cat confdefs.h >>conftest.$ac_ext 6304 cat >>conftest.$ac_ext <<_ACEOF 6305 /* end confdefs.h. */ 6306 $ac_includes_default 6307 #include <dld.h> 6308 _ACEOF 6309 rm -f conftest.$ac_objext 6310 if { (ac_try="$ac_compile" 6311 case "(($ac_try" in 6312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6313 *) ac_try_echo=$ac_try;; 6314 esac 6315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6316 $as_echo "$ac_try_echo") >&5 6317 (eval "$ac_compile") 2>conftest.er1 6318 ac_status=$? 6319 grep -v '^ *+' conftest.er1 >conftest.err 6320 rm -f conftest.er1 6321 cat conftest.err >&5 6322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6323 (exit $ac_status); } && { 6324 test -z "$ac_cxx_werror_flag" || 6325 test ! -s conftest.err 6326 } && test -s conftest.$ac_objext; then 6327 ac_header_compiler=yes 6328 else 6329 $as_echo "$as_me: failed program was:" >&5 6330 sed 's/^/| /' conftest.$ac_ext >&5 6331 6332 ac_header_compiler=no 6333 fi 6334 6335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6336 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6337 $as_echo "$ac_header_compiler" >&6; } 6338 6339 # Is the header present? 6340 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 6341 $as_echo_n "checking dld.h presence... " >&6; } 6342 cat >conftest.$ac_ext <<_ACEOF 6343 /* confdefs.h. */ 6344 _ACEOF 6345 cat confdefs.h >>conftest.$ac_ext 6346 cat >>conftest.$ac_ext <<_ACEOF 6347 /* end confdefs.h. */ 6348 #include <dld.h> 6349 _ACEOF 6350 if { (ac_try="$ac_cpp conftest.$ac_ext" 6351 case "(($ac_try" in 6352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6353 *) ac_try_echo=$ac_try;; 6354 esac 6355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6356 $as_echo "$ac_try_echo") >&5 6357 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6358 ac_status=$? 6359 grep -v '^ *+' conftest.er1 >conftest.err 6360 rm -f conftest.er1 6361 cat conftest.err >&5 6362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6363 (exit $ac_status); } >/dev/null && { 6364 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6365 test ! -s conftest.err 6366 }; then 6367 ac_header_preproc=yes 6368 else 6369 $as_echo "$as_me: failed program was:" >&5 6370 sed 's/^/| /' conftest.$ac_ext >&5 6371 6372 ac_header_preproc=no 6373 fi 6374 6375 rm -f conftest.err conftest.$ac_ext 6376 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6377 $as_echo "$ac_header_preproc" >&6; } 6378 6379 # So? What about this header? 6380 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6381 yes:no: ) 6382 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 6383 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6384 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 6385 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 6386 ac_header_preproc=yes 6387 ;; 6388 no:yes:* ) 6389 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 6390 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 6391 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 6392 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 6393 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 6394 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 6395 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 6396 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 6397 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 6398 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 6399 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 6400 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 6401 ( cat <<\_ASBOX 6402 ## ----------------------------------- ## 6403 ## Report this to rappture@nanohub.org ## 6404 ## ----------------------------------- ## 6405 _ASBOX 6406 ) | sed "s/^/$as_me: WARNING: /" >&2 6407 ;; 6408 esac 6409 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 6410 $as_echo_n "checking for dld.h... " >&6; } 6411 if test "${ac_cv_header_dld_h+set}" = set; then 6412 $as_echo_n "(cached) " >&6 6413 else 6414 ac_cv_header_dld_h=$ac_header_preproc 6415 fi 6416 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 6417 $as_echo "$ac_cv_header_dld_h" >&6; } 6418 6419 fi 6420 if test $ac_cv_header_dld_h = yes; then 6421 6422 SHLIB_LD="ld -shared" 6423 DL_OBJS="tclLoadDld.o" 6424 DL_LIBS="-ldld" 6425 CC_SEARCH_FLAGS="" 6426 LD_SEARCH_FLAGS="" 6427 fi 6428 6429 6430 fi 6431 if test "`uname -m`" = "alpha" ; then 6432 CFLAGS="$CFLAGS -mieee" 6433 fi 6434 if test $do64bit = yes; then 6435 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5 6436 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 6437 if test "${tcl_cv_cc_m64+set}" = set; then 6438 $as_echo_n "(cached) " >&6 6439 else 6440 6441 hold_cflags=$CFLAGS 6442 CFLAGS="$CFLAGS -m64" 6443 cat >conftest.$ac_ext <<_ACEOF 6444 /* confdefs.h. */ 6445 _ACEOF 6446 cat confdefs.h >>conftest.$ac_ext 6447 cat >>conftest.$ac_ext <<_ACEOF 6448 /* end confdefs.h. */ 6449 6450 int 6451 main () 6452 { 6453 6454 ; 6455 return 0; 6456 } 6457 _ACEOF 6458 rm -f conftest.$ac_objext conftest$ac_exeext 6459 if { (ac_try="$ac_link" 6460 case "(($ac_try" in 6461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6462 *) ac_try_echo=$ac_try;; 6463 esac 6464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6465 $as_echo "$ac_try_echo") >&5 6466 (eval "$ac_link") 2>conftest.er1 6467 ac_status=$? 6468 grep -v '^ *+' conftest.er1 >conftest.err 6469 rm -f conftest.er1 6470 cat conftest.err >&5 6471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6472 (exit $ac_status); } && { 6473 test -z "$ac_cxx_werror_flag" || 6474 test ! -s conftest.err 6475 } && test -s conftest$ac_exeext && { 6476 test "$cross_compiling" = yes || 6477 $as_test_x conftest$ac_exeext 6478 }; then 6479 tcl_cv_cc_m64=yes 6480 else 6481 $as_echo "$as_me: failed program was:" >&5 6482 sed 's/^/| /' conftest.$ac_ext >&5 6483 6484 tcl_cv_cc_m64=no 6485 fi 6486 6487 rm -rf conftest.dSYM 6488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6489 conftest$ac_exeext conftest.$ac_ext 6490 CFLAGS=$hold_cflags 6491 fi 6492 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5 6493 $as_echo "$tcl_cv_cc_m64" >&6; } 6494 if test $tcl_cv_cc_m64 = yes; then 6495 CFLAGS="$CFLAGS -m64" 6496 do64bit_ok=yes 6497 fi 6498 fi 6499 6500 # The combo of gcc + glibc has a bug related 6501 # to inlining of functions like strtod(). The 6502 # -fno-builtin flag should address this problem 6503 # but it does not work. The -fno-inline flag 6504 # is kind of overkill but it works. 6505 # Disable inlining only when one of the 6506 # files in compat/*.c is being linked in. 6507 if test x"${LIBOBJS}" != x ; then 6508 CFLAGS="$CFLAGS -fno-inline" 6509 fi 6510 6511 # XIM peeking works under XFree86. 6512 cat >>confdefs.h <<\_ACEOF 6513 #define PEEK_XCLOSEIM 1 6514 _ACEOF 6515 6516 6517 ;; 6518 GNU*) 6519 SHLIB_CFLAGS="-fPIC" 6520 SHLIB_LD_LIBS='${LIBS}' 6521 SHLIB_SUFFIX=".so" 6522 6523 if test "$have_dl" = yes; then 6524 SHLIB_LD="${CC} -shared" 6525 DL_OBJS="" 6526 DL_LIBS="-ldl" 6527 LDFLAGS="$LDFLAGS -Wl,--export-dynamic" 6528 CC_SEARCH_FLAGS="" 6529 LD_SEARCH_FLAGS="" 6530 else 6531 if test "${ac_cv_header_dld_h+set}" = set; then 6532 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 6533 $as_echo_n "checking for dld.h... " >&6; } 6534 if test "${ac_cv_header_dld_h+set}" = set; then 6535 $as_echo_n "(cached) " >&6 6536 fi 6537 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 6538 $as_echo "$ac_cv_header_dld_h" >&6; } 6539 else 6540 # Is the header compilable? 6541 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 6542 $as_echo_n "checking dld.h usability... " >&6; } 6543 cat >conftest.$ac_ext <<_ACEOF 6544 /* confdefs.h. */ 6545 _ACEOF 6546 cat confdefs.h >>conftest.$ac_ext 6547 cat >>conftest.$ac_ext <<_ACEOF 6548 /* end confdefs.h. */ 6549 $ac_includes_default 6550 #include <dld.h> 6551 _ACEOF 6552 rm -f conftest.$ac_objext 6553 if { (ac_try="$ac_compile" 6554 case "(($ac_try" in 6555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6556 *) ac_try_echo=$ac_try;; 6557 esac 6558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6559 $as_echo "$ac_try_echo") >&5 6560 (eval "$ac_compile") 2>conftest.er1 6561 ac_status=$? 6562 grep -v '^ *+' conftest.er1 >conftest.err 6563 rm -f conftest.er1 6564 cat conftest.err >&5 6565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6566 (exit $ac_status); } && { 6567 test -z "$ac_cxx_werror_flag" || 6568 test ! -s conftest.err 6569 } && test -s conftest.$ac_objext; then 6570 ac_header_compiler=yes 6571 else 6572 $as_echo "$as_me: failed program was:" >&5 6573 sed 's/^/| /' conftest.$ac_ext >&5 6574 6575 ac_header_compiler=no 6576 fi 6577 6578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6579 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6580 $as_echo "$ac_header_compiler" >&6; } 6581 6582 # Is the header present? 6583 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 6584 $as_echo_n "checking dld.h presence... " >&6; } 6585 cat >conftest.$ac_ext <<_ACEOF 6586 /* confdefs.h. */ 6587 _ACEOF 6588 cat confdefs.h >>conftest.$ac_ext 6589 cat >>conftest.$ac_ext <<_ACEOF 6590 /* end confdefs.h. */ 6591 #include <dld.h> 6592 _ACEOF 6593 if { (ac_try="$ac_cpp conftest.$ac_ext" 6594 case "(($ac_try" in 6595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6596 *) ac_try_echo=$ac_try;; 6597 esac 6598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6599 $as_echo "$ac_try_echo") >&5 6600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6601 ac_status=$? 6602 grep -v '^ *+' conftest.er1 >conftest.err 6603 rm -f conftest.er1 6604 cat conftest.err >&5 6605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6606 (exit $ac_status); } >/dev/null && { 6607 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6608 test ! -s conftest.err 6609 }; then 6610 ac_header_preproc=yes 6611 else 6612 $as_echo "$as_me: failed program was:" >&5 6613 sed 's/^/| /' conftest.$ac_ext >&5 6614 6615 ac_header_preproc=no 6616 fi 6617 6618 rm -f conftest.err conftest.$ac_ext 6619 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6620 $as_echo "$ac_header_preproc" >&6; } 6621 6622 # So? What about this header? 6623 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6624 yes:no: ) 6625 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 6626 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6627 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 6628 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 6629 ac_header_preproc=yes 6630 ;; 6631 no:yes:* ) 6632 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 6633 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 6634 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 6635 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 6636 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 6637 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 6638 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 6639 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 6640 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 6641 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 6642 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 6643 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 6644 ( cat <<\_ASBOX 6645 ## ----------------------------------- ## 6646 ## Report this to rappture@nanohub.org ## 6647 ## ----------------------------------- ## 6648 _ASBOX 6649 ) | sed "s/^/$as_me: WARNING: /" >&2 6650 ;; 6651 esac 6652 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 6653 $as_echo_n "checking for dld.h... " >&6; } 6654 if test "${ac_cv_header_dld_h+set}" = set; then 6655 $as_echo_n "(cached) " >&6 6656 else 6657 ac_cv_header_dld_h=$ac_header_preproc 6658 fi 6659 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 6660 $as_echo "$ac_cv_header_dld_h" >&6; } 6661 6662 fi 6663 if test $ac_cv_header_dld_h = yes; then 6664 6665 SHLIB_LD="ld -shared" 6666 DL_OBJS="" 6667 DL_LIBS="-ldld" 6668 CC_SEARCH_FLAGS="" 6669 LD_SEARCH_FLAGS="" 6670 fi 6671 6672 6673 fi 6674 if test "`uname -m`" = "alpha" ; then 6675 CFLAGS="$CFLAGS -mieee" 6676 fi 6677 ;; 6678 Lynx*) 6679 SHLIB_CFLAGS="-fPIC" 6680 SHLIB_LD_LIBS='${LIBS}' 6681 SHLIB_SUFFIX=".so" 6682 CFLAGS_OPTIMIZE=-02 6683 SHLIB_LD="${CC} -shared " 6684 DL_OBJS="tclLoadDl.o" 6685 DL_LIBS="-mshared -ldl" 6686 LD_FLAGS="-Wl,--export-dynamic" 6687 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 6688 LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 6689 ;; 6690 MP-RAS-02*) 6691 SHLIB_CFLAGS="-K PIC" 6692 SHLIB_LD="cc -G" 6693 SHLIB_LD_LIBS="" 6694 SHLIB_SUFFIX=".so" 6695 DL_OBJS="tclLoadDl.o" 6696 DL_LIBS="-ldl" 6697 CC_SEARCH_FLAGS="" 6698 LD_SEARCH_FLAGS="" 6699 ;; 6700 MP-RAS-*) 6701 SHLIB_CFLAGS="-K PIC" 6702 SHLIB_LD="cc -G" 6703 SHLIB_LD_LIBS="" 6704 SHLIB_SUFFIX=".so" 6705 DL_OBJS="tclLoadDl.o" 6706 DL_LIBS="-ldl" 6707 LDFLAGS="$LDFLAGS -Wl,-Bexport" 6708 CC_SEARCH_FLAGS="" 6709 LD_SEARCH_FLAGS="" 6710 ;; 6711 NetBSD-*|FreeBSD-[1-2].*) 6712 # Not available on all versions: check for include file. 6713 if test "${ac_cv_header_dlfcn_h+set}" = set; then 6714 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 6715 $as_echo_n "checking for dlfcn.h... " >&6; } 6716 if test "${ac_cv_header_dlfcn_h+set}" = set; then 6717 $as_echo_n "(cached) " >&6 6718 fi 6719 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 6720 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 6721 else 6722 # Is the header compilable? 6723 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 6724 $as_echo_n "checking dlfcn.h usability... " >&6; } 6725 cat >conftest.$ac_ext <<_ACEOF 6726 /* confdefs.h. */ 6727 _ACEOF 6728 cat confdefs.h >>conftest.$ac_ext 6729 cat >>conftest.$ac_ext <<_ACEOF 6730 /* end confdefs.h. */ 6731 $ac_includes_default 6732 #include <dlfcn.h> 6733 _ACEOF 6734 rm -f conftest.$ac_objext 6735 if { (ac_try="$ac_compile" 6736 case "(($ac_try" in 6737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6738 *) ac_try_echo=$ac_try;; 6739 esac 6740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6741 $as_echo "$ac_try_echo") >&5 6742 (eval "$ac_compile") 2>conftest.er1 6743 ac_status=$? 6744 grep -v '^ *+' conftest.er1 >conftest.err 6745 rm -f conftest.er1 6746 cat conftest.err >&5 6747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6748 (exit $ac_status); } && { 6749 test -z "$ac_cxx_werror_flag" || 6750 test ! -s conftest.err 6751 } && test -s conftest.$ac_objext; then 6752 ac_header_compiler=yes 6753 else 6754 $as_echo "$as_me: failed program was:" >&5 6755 sed 's/^/| /' conftest.$ac_ext >&5 6756 6757 ac_header_compiler=no 6758 fi 6759 6760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6761 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6762 $as_echo "$ac_header_compiler" >&6; } 6763 6764 # Is the header present? 6765 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 6766 $as_echo_n "checking dlfcn.h presence... " >&6; } 6767 cat >conftest.$ac_ext <<_ACEOF 6768 /* confdefs.h. */ 6769 _ACEOF 6770 cat confdefs.h >>conftest.$ac_ext 6771 cat >>conftest.$ac_ext <<_ACEOF 6772 /* end confdefs.h. */ 6773 #include <dlfcn.h> 6774 _ACEOF 6775 if { (ac_try="$ac_cpp conftest.$ac_ext" 6776 case "(($ac_try" in 6777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6778 *) ac_try_echo=$ac_try;; 6779 esac 6780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6781 $as_echo "$ac_try_echo") >&5 6782 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6783 ac_status=$? 6784 grep -v '^ *+' conftest.er1 >conftest.err 6785 rm -f conftest.er1 6786 cat conftest.err >&5 6787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6788 (exit $ac_status); } >/dev/null && { 6789 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6790 test ! -s conftest.err 6791 }; then 6792 ac_header_preproc=yes 6793 else 6794 $as_echo "$as_me: failed program was:" >&5 6795 sed 's/^/| /' conftest.$ac_ext >&5 6796 6797 ac_header_preproc=no 6798 fi 6799 6800 rm -f conftest.err conftest.$ac_ext 6801 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6802 $as_echo "$ac_header_preproc" >&6; } 6803 6804 # So? What about this header? 6805 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6806 yes:no: ) 6807 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 6808 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6809 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 6810 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 6811 ac_header_preproc=yes 6812 ;; 6813 no:yes:* ) 6814 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 6815 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 6816 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 6817 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 6818 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 6819 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 6820 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 6821 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 6822 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 6823 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 6824 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 6825 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 6826 ( cat <<\_ASBOX 6827 ## ----------------------------------- ## 6828 ## Report this to rappture@nanohub.org ## 6829 ## ----------------------------------- ## 6830 _ASBOX 6831 ) | sed "s/^/$as_me: WARNING: /" >&2 6832 ;; 6833 esac 6834 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 6835 $as_echo_n "checking for dlfcn.h... " >&6; } 6836 if test "${ac_cv_header_dlfcn_h+set}" = set; then 6837 $as_echo_n "(cached) " >&6 6838 else 6839 ac_cv_header_dlfcn_h=$ac_header_preproc 6840 fi 6841 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 6842 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 6843 6844 fi 6845 if test $ac_cv_header_dlfcn_h = yes; then 6846 6847 # NetBSD/SPARC needs -fPIC, -fpic will not do. 6848 SHLIB_CFLAGS="-fPIC" 6849 SHLIB_LD="ld -Bshareable -x" 6850 SHLIB_LD_LIBS='${LIBS}' 6851 SHLIB_SUFFIX=".so" 6852 DL_OBJS="tclLoadDl.o" 6853 DL_LIBS="" 6854 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 6855 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 6856 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 6857 $as_echo_n "checking for ELF... " >&6; } 6858 if test "${tcl_cv_ld_elf+set}" = set; then 6859 $as_echo_n "(cached) " >&6 6860 else 6861 6862 cat >conftest.$ac_ext <<_ACEOF 6863 /* confdefs.h. */ 6864 _ACEOF 6865 cat confdefs.h >>conftest.$ac_ext 6866 cat >>conftest.$ac_ext <<_ACEOF 6867 /* end confdefs.h. */ 6868 6869 #ifdef __ELF__ 6870 yes 6871 #endif 6872 6873 _ACEOF 6874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6875 $EGREP "yes" >/dev/null 2>&1; then 6876 tcl_cv_ld_elf=yes 6877 else 6878 tcl_cv_ld_elf=no 6879 fi 6880 rm -f conftest* 6881 6882 fi 6883 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 6884 $as_echo "$tcl_cv_ld_elf" >&6; } 6885 if test $tcl_cv_ld_elf = yes; then 6886 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' 6887 else 6888 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 6889 fi 6890 6891 else 6892 6893 SHLIB_CFLAGS="" 6894 SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r" 6895 SHLIB_LD_LIBS='${LIBS}' 6896 SHLIB_SUFFIX=".a" 6897 DL_OBJS="tclLoadAout.o" 6898 DL_LIBS="" 6899 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' 6900 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 6901 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 6902 6903 fi 6904 6905 6906 6907 # FreeBSD doesn't handle version numbers with dots. 6908 6909 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 6910 TCL_LIB_VERSIONS_OK=nodots 6911 ;; 6912 OpenBSD-*) 6913 case `arch -s` in 6914 m88k|vax) 6915 SHLIB_CFLAGS="" 6916 SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r" 6917 SHLIB_LD_LIBS='${LIBS}' 6918 SHLIB_SUFFIX=".a" 6919 DL_OBJS="tclLoadAout.o" 6920 DL_LIBS="" 6921 LDFLAGS="" 6922 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' 6923 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 6924 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 6925 ;; 6926 *) 6927 # OpenBSD/SPARC[64] needs -fPIC, -fpic will not do. 6928 case `machine` in 6929 sparc|sparc64) 6930 SHLIB_CFLAGS="-fPIC";; 6931 *) 6932 SHLIB_CFLAGS="-fpic";; 6933 esac 6934 SHLIB_LD="${CC} -shared ${SHLIB_CFLAGS}" 6935 SHLIB_LD_LIBS='${LIBS}' 6936 SHLIB_SUFFIX=".so" 6937 DL_OBJS="tclLoadDl.o" 6938 DL_LIBS="" 6939 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 6940 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 6941 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 6942 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 6943 $as_echo_n "checking for ELF... " >&6; } 6944 if test "${tcl_cv_ld_elf+set}" = set; then 6945 $as_echo_n "(cached) " >&6 6946 else 6947 6948 cat >conftest.$ac_ext <<_ACEOF 6949 /* confdefs.h. */ 6950 _ACEOF 6951 cat confdefs.h >>conftest.$ac_ext 6952 cat >>conftest.$ac_ext <<_ACEOF 6953 /* end confdefs.h. */ 6954 6955 #ifdef __ELF__ 6956 yes 6957 #endif 6958 6959 _ACEOF 6960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6961 $EGREP "yes" >/dev/null 2>&1; then 6962 tcl_cv_ld_elf=yes 6963 else 6964 tcl_cv_ld_elf=no 6965 fi 6966 rm -f conftest* 6967 6968 fi 6969 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 6970 $as_echo "$tcl_cv_ld_elf" >&6; } 6971 if test $tcl_cv_ld_elf = yes; then 6972 LDFLAGS=-Wl,-export-dynamic 6973 else 6974 LDFLAGS="" 6975 fi 6976 ;; 6977 esac 6978 6979 # OpenBSD doesn't do version numbers with dots. 6980 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 6981 TCL_LIB_VERSIONS_OK=nodots 6982 ;; 6983 FreeBSD-*) 6984 # FreeBSD 3.* and greater have ELF. 6985 SHLIB_CFLAGS="-fPIC" 6986 SHLIB_LD="ld -Bshareable -x" 6987 SHLIB_LD_LIBS='${LIBS}' 6988 SHLIB_SUFFIX=".so" 6989 DL_OBJS="tclLoadDl.o" 6990 DL_LIBS="" 6991 LDFLAGS="$LDFLAGS -export-dynamic" 6992 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 6993 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 6994 if test "${TCL_THREADS}" = "1" ; then 6995 # The -pthread needs to go in the CFLAGS, not LIBS 6996 LIBS=`echo $LIBS | sed s/-pthread//` 6997 CFLAGS="$CFLAGS -pthread" 6998 LDFLAGS="$LDFLAGS -pthread" 6999 fi 7000 case $system in 7001 FreeBSD-3.*) 7002 # FreeBSD-3 doesn't handle version numbers with dots. 7003 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 7004 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' 7005 TCL_LIB_VERSIONS_OK=nodots 7006 ;; 7007 esac 7008 ;; 7009 Darwin-*) 7010 CFLAGS_OPTIMIZE="-Os" 7011 SHLIB_CFLAGS="-fno-common" 7012 # To avoid discrepancies between what headers configure sees during 7013 # preprocessing tests and compiling tests, move any -isysroot and 7014 # -mmacosx-version-min flags from CFLAGS to CPPFLAGS: 7015 CPPFLAGS="${CPPFLAGS} `echo " ${CFLAGS}" | \ 7016 awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \ 7017 if ($i~/^(isysroot|mmacosx-version-min)/) print "-"$i}'`" 7018 CFLAGS="`echo " ${CFLAGS}" | \ 7019 awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \ 7020 if (!($i~/^(isysroot|mmacosx-version-min)/)) print "-"$i}'`" 7021 if test $do64bit = yes; then 7022 case `arch` in 7023 ppc) 7024 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5 7025 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 7026 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then 7027 $as_echo_n "(cached) " >&6 7028 else 7029 7030 hold_cflags=$CFLAGS 7031 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 7032 cat >conftest.$ac_ext <<_ACEOF 7033 /* confdefs.h. */ 7034 _ACEOF 7035 cat confdefs.h >>conftest.$ac_ext 7036 cat >>conftest.$ac_ext <<_ACEOF 7037 /* end confdefs.h. */ 7038 7039 int 7040 main () 7041 { 7042 7043 ; 7044 return 0; 7045 } 7046 _ACEOF 7047 rm -f conftest.$ac_objext conftest$ac_exeext 7048 if { (ac_try="$ac_link" 7049 case "(($ac_try" in 7050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7051 *) ac_try_echo=$ac_try;; 7052 esac 7053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7054 $as_echo "$ac_try_echo") >&5 7055 (eval "$ac_link") 2>conftest.er1 7056 ac_status=$? 7057 grep -v '^ *+' conftest.er1 >conftest.err 7058 rm -f conftest.er1 7059 cat conftest.err >&5 7060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7061 (exit $ac_status); } && { 7062 test -z "$ac_cxx_werror_flag" || 7063 test ! -s conftest.err 7064 } && test -s conftest$ac_exeext && { 7065 test "$cross_compiling" = yes || 7066 $as_test_x conftest$ac_exeext 7067 }; then 7068 tcl_cv_cc_arch_ppc64=yes 7069 else 7070 $as_echo "$as_me: failed program was:" >&5 7071 sed 's/^/| /' conftest.$ac_ext >&5 7072 7073 tcl_cv_cc_arch_ppc64=no 7074 fi 7075 7076 rm -rf conftest.dSYM 7077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7078 conftest$ac_exeext conftest.$ac_ext 7079 CFLAGS=$hold_cflags 7080 fi 7081 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5 7082 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 7083 if test $tcl_cv_cc_arch_ppc64 = yes; then 7084 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 7085 do64bit_ok=yes 7086 fi;; 7087 i386) 7088 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5 7089 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 7090 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then 7091 $as_echo_n "(cached) " >&6 7092 else 7093 7094 hold_cflags=$CFLAGS 7095 CFLAGS="$CFLAGS -arch x86_64" 7096 cat >conftest.$ac_ext <<_ACEOF 7097 /* confdefs.h. */ 7098 _ACEOF 7099 cat confdefs.h >>conftest.$ac_ext 7100 cat >>conftest.$ac_ext <<_ACEOF 7101 /* end confdefs.h. */ 7102 7103 int 7104 main () 7105 { 7106 7107 ; 7108 return 0; 7109 } 7110 _ACEOF 7111 rm -f conftest.$ac_objext conftest$ac_exeext 7112 if { (ac_try="$ac_link" 7113 case "(($ac_try" in 7114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7115 *) ac_try_echo=$ac_try;; 7116 esac 7117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7118 $as_echo "$ac_try_echo") >&5 7119 (eval "$ac_link") 2>conftest.er1 7120 ac_status=$? 7121 grep -v '^ *+' conftest.er1 >conftest.err 7122 rm -f conftest.er1 7123 cat conftest.err >&5 7124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7125 (exit $ac_status); } && { 7126 test -z "$ac_cxx_werror_flag" || 7127 test ! -s conftest.err 7128 } && test -s conftest$ac_exeext && { 7129 test "$cross_compiling" = yes || 7130 $as_test_x conftest$ac_exeext 7131 }; then 7132 tcl_cv_cc_arch_x86_64=yes 7133 else 7134 $as_echo "$as_me: failed program was:" >&5 7135 sed 's/^/| /' conftest.$ac_ext >&5 7136 7137 tcl_cv_cc_arch_x86_64=no 7138 fi 7139 7140 rm -rf conftest.dSYM 7141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7142 conftest$ac_exeext conftest.$ac_ext 7143 CFLAGS=$hold_cflags 7144 fi 7145 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5 7146 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 7147 if test $tcl_cv_cc_arch_x86_64 = yes; then 7148 CFLAGS="$CFLAGS -arch x86_64" 7149 do64bit_ok=yes 7150 fi;; 7151 *) 7152 { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 7153 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 7154 esac 7155 else 7156 # Check for combined 32-bit and 64-bit fat build 7157 echo "$CFLAGS " | grep -E -q -- '-arch (ppc64|x86_64) ' && \ 7158 echo "$CFLAGS " | grep -E -q -- '-arch (ppc|i386) ' && \ 7159 fat_32_64=yes 7160 fi 7161 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 7162 { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5 7163 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 7164 if test "${tcl_cv_ld_single_module+set}" = set; then 7165 $as_echo_n "(cached) " >&6 7166 else 7167 7168 hold_ldflags=$LDFLAGS 7169 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 7170 cat >conftest.$ac_ext <<_ACEOF 7171 /* confdefs.h. */ 7172 _ACEOF 7173 cat confdefs.h >>conftest.$ac_ext 7174 cat >>conftest.$ac_ext <<_ACEOF 7175 /* end confdefs.h. */ 7176 7177 int 7178 main () 7179 { 7180 int i; 7181 ; 7182 return 0; 7183 } 7184 _ACEOF 7185 rm -f conftest.$ac_objext conftest$ac_exeext 7186 if { (ac_try="$ac_link" 7187 case "(($ac_try" in 7188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7189 *) ac_try_echo=$ac_try;; 7190 esac 7191 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7192 $as_echo "$ac_try_echo") >&5 7193 (eval "$ac_link") 2>conftest.er1 7194 ac_status=$? 7195 grep -v '^ *+' conftest.er1 >conftest.err 7196 rm -f conftest.er1 7197 cat conftest.err >&5 7198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7199 (exit $ac_status); } && { 7200 test -z "$ac_cxx_werror_flag" || 7201 test ! -s conftest.err 7202 } && test -s conftest$ac_exeext && { 7203 test "$cross_compiling" = yes || 7204 $as_test_x conftest$ac_exeext 7205 }; then 7206 tcl_cv_ld_single_module=yes 7207 else 7208 $as_echo "$as_me: failed program was:" >&5 7209 sed 's/^/| /' conftest.$ac_ext >&5 7210 7211 tcl_cv_ld_single_module=no 7212 fi 7213 7214 rm -rf conftest.dSYM 7215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7216 conftest$ac_exeext conftest.$ac_ext 7217 LDFLAGS=$hold_ldflags 7218 fi 7219 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5 7220 $as_echo "$tcl_cv_ld_single_module" >&6; } 7221 if test $tcl_cv_ld_single_module = yes; then 7222 SHLIB_LD="${SHLIB_LD} -Wl,-single_module" 7223 fi 7224 SHLIB_LD_LIBS='${LIBS}' 7225 SHLIB_SUFFIX=".dylib" 7226 DL_OBJS="tclLoadDyld.o" 7227 DL_LIBS="" 7228 # Don't use -prebind when building for Mac OS X 10.4 or later only: 7229 test "`echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F '10\\.' '{print int($2)}'`" -lt 4 -a \ 7230 "`echo "${CPPFLAGS}" | awk -F '-mmacosx-version-min=10\\.' '{print int($2)}'`" -lt 4 && \ 7231 LDFLAGS="$LDFLAGS -prebind" 7232 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 7233 { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5 7234 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 7235 if test "${tcl_cv_ld_search_paths_first+set}" = set; then 7236 $as_echo_n "(cached) " >&6 7237 else 7238 7239 hold_ldflags=$LDFLAGS 7240 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 7241 cat >conftest.$ac_ext <<_ACEOF 7242 /* confdefs.h. */ 7243 _ACEOF 7244 cat confdefs.h >>conftest.$ac_ext 7245 cat >>conftest.$ac_ext <<_ACEOF 7246 /* end confdefs.h. */ 7247 7248 int 7249 main () 7250 { 7251 int i; 7252 ; 7253 return 0; 7254 } 7255 _ACEOF 7256 rm -f conftest.$ac_objext conftest$ac_exeext 7257 if { (ac_try="$ac_link" 7258 case "(($ac_try" in 7259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7260 *) ac_try_echo=$ac_try;; 7261 esac 7262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7263 $as_echo "$ac_try_echo") >&5 7264 (eval "$ac_link") 2>conftest.er1 7265 ac_status=$? 7266 grep -v '^ *+' conftest.er1 >conftest.err 7267 rm -f conftest.er1 7268 cat conftest.err >&5 7269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7270 (exit $ac_status); } && { 7271 test -z "$ac_cxx_werror_flag" || 7272 test ! -s conftest.err 7273 } && test -s conftest$ac_exeext && { 7274 test "$cross_compiling" = yes || 7275 $as_test_x conftest$ac_exeext 7276 }; then 7277 tcl_cv_ld_search_paths_first=yes 7278 else 7279 $as_echo "$as_me: failed program was:" >&5 7280 sed 's/^/| /' conftest.$ac_ext >&5 7281 7282 tcl_cv_ld_search_paths_first=no 7283 fi 7284 7285 rm -rf conftest.dSYM 7286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7287 conftest$ac_exeext conftest.$ac_ext 7288 LDFLAGS=$hold_ldflags 7289 fi 7290 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5 7291 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 7292 if test $tcl_cv_ld_search_paths_first = yes; then 7293 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 7294 fi 7295 CC_SEARCH_FLAGS="" 7296 LD_SEARCH_FLAGS="" 7297 LD_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH" 7298 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 7299 PLAT_SRCS=\$\(MAC\_OSX_SRCS\)