Changeset 1309
- Timestamp:
- Mar 11, 2009, 3:15:30 PM (16 years ago)
- Location:
- trunk/packages/vizservers
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/configure
r1282 r1309 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 1for vizservers 0.1.3 # Generated by GNU Autoconf 2.63 for vizservers 0.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 … … 615 637 #endif" 616 638 617 ac_subst_vars='SHELL 639 ac_subst_vars='LTLIBOBJS 640 LIBOBJS 641 LD_RPATH 642 CG_DIR 643 DX_DIR 644 RP_DIR 645 RP2_INCL_DIR 646 TCL_LIB_SPEC 647 TCL_INC_SPEC 648 TCL_VERSION 649 SUBDIRS 650 EGREP 651 GREP 652 CXXCPP 653 ac_ct_CXX 654 CXXFLAGS 655 CXX 656 CPP 657 OBJEXT 658 EXEEXT 659 ac_ct_CC 660 CPPFLAGS 661 LDFLAGS 662 CFLAGS 663 CC 664 MKDIR_P 665 LN_S 666 RANLIB 667 INSTALL_DATA 668 INSTALL_SCRIPT 669 INSTALL_PROGRAM 670 SHLIB_SUFFIX 671 SHLIB_LDFLAGS 672 SHLIB_CFLAGS 673 SHLIB_LD 674 STLIB_LD 675 CFLAGS_OPTIMIZE 676 CFLAGS_DEBUG 677 VERSION 678 target_alias 679 host_alias 680 build_alias 681 LIBS 682 ECHO_T 683 ECHO_N 684 ECHO_C 685 DEFS 686 mandir 687 localedir 688 libdir 689 psdir 690 pdfdir 691 dvidir 692 htmldir 693 infodir 694 docdir 695 oldincludedir 696 includedir 697 localstatedir 698 sharedstatedir 699 sysconfdir 700 datadir 701 datarootdir 702 libexecdir 703 sbindir 704 bindir 705 program_transform_name 706 prefix 707 exec_prefix 708 PACKAGE_BUGREPORT 709 PACKAGE_STRING 710 PACKAGE_VERSION 711 PACKAGE_TARNAME 712 PACKAGE_NAME 618 713 PATH_SEPARATOR 619 PACKAGE_NAME 620 PACKAGE_TARNAME 621 PACKAGE_VERSION 622 PACKAGE_STRING 623 PACKAGE_BUGREPORT 624 exec_prefix 625 prefix 626 program_transform_name 627 bindir 628 sbindir 629 libexecdir 630 datarootdir 631 datadir 632 sysconfdir 633 sharedstatedir 634 localstatedir 635 includedir 636 oldincludedir 637 docdir 638 infodir 639 htmldir 640 dvidir 641 pdfdir 642 psdir 643 libdir 644 localedir 645 mandir 646 DEFS 647 ECHO_C 648 ECHO_N 649 ECHO_T 650 LIBS 651 build_alias 652 host_alias 653 target_alias 654 VERSION 655 CC 656 CFLAGS 657 LDFLAGS 658 CPPFLAGS 659 ac_ct_CC 660 EXEEXT 661 OBJEXT 662 RANLIB 663 AR 664 CPP 665 GREP 666 EGREP 667 DL_LIBS 668 DL_OBJS 669 PLAT_OBJS 670 PLAT_SRCS 671 CFLAGS_DEBUG 672 CFLAGS_OPTIMIZE 673 CFLAGS_WARNING 674 LDFLAGS_DEBUG 675 LDFLAGS_OPTIMIZE 676 CC_SEARCH_FLAGS 677 LD_SEARCH_FLAGS 678 STLIB_LD 679 SHLIB_LD 680 TCL_SHLIB_LD_EXTRAS 681 TK_SHLIB_LD_EXTRAS 682 SHLIB_LD_LIBS 683 SHLIB_CFLAGS 684 SHLIB_SUFFIX 685 MAKE_LIB 686 MAKE_STUB_LIB 687 INSTALL_LIB 688 INSTALL_STUB_LIB 689 SHLIB_LDFLAGS 690 INSTALL_PROGRAM 691 INSTALL_SCRIPT 692 INSTALL_DATA 693 LN_S 694 CXX 695 CXXFLAGS 696 ac_ct_CXX 697 CXXCPP 698 SUBDIRS 699 TCL_VERSION 700 TCL_INC_SPEC 701 TCL_LIB_SPEC 702 RP2_INCL_DIR 703 RP_DIR 704 DX_DIR 705 FFMPEG_DIR 706 CG_DIR 707 LD_RPATH 708 LIBOBJS 709 LTLIBOBJS' 714 SHELL' 710 715 ac_subst_files='' 716 ac_user_opts=' 717 enable_option_checking 718 with_tcllib 719 with_rappture 720 ' 711 721 ac_precious_vars='build_alias 712 722 host_alias … … 727 737 ac_init_help= 728 738 ac_init_version=false 739 ac_unrecognized_opts= 740 ac_unrecognized_sep= 729 741 # The variables have the same names as the options, with 730 742 # dashes changed to underlines. … … 825 837 826 838 -disable-* | --disable-*) 827 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`839 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 828 840 # Reject names that are not valid shell variable names. 829 expr "x$ac_ feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&830 { echo "$as_me: error: invalid feature name: $ac_feature" >&2841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 842 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 831 843 { (exit 1); exit 1; }; } 832 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 833 eval enable_$ac_feature=no ;; 844 ac_useropt_orig=$ac_useropt 845 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 846 case $ac_user_opts in 847 *" 848 "enable_$ac_useropt" 849 "*) ;; 850 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 851 ac_unrecognized_sep=', ';; 852 esac 853 eval enable_$ac_useropt=no ;; 834 854 835 855 -docdir | --docdir | --docdi | --doc | --do) … … 844 864 845 865 -enable-* | --enable-*) 846 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`866 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 847 867 # Reject names that are not valid shell variable names. 848 expr "x$ac_ feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&849 { echo "$as_me: error: invalid feature name: $ac_feature" >&2868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 869 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 850 870 { (exit 1); exit 1; }; } 851 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 852 eval enable_$ac_feature=\$ac_optarg ;; 871 ac_useropt_orig=$ac_useropt 872 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 873 case $ac_user_opts in 874 *" 875 "enable_$ac_useropt" 876 "*) ;; 877 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 878 ac_unrecognized_sep=', ';; 879 esac 880 eval enable_$ac_useropt=\$ac_optarg ;; 853 881 854 882 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1041 1069 1042 1070 -with-* | --with-*) 1043 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1071 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1044 1072 # Reject names that are not valid shell variable names. 1045 expr "x$ac_ package" : ".*[^-._$as_cr_alnum]" >/dev/null &&1046 { echo "$as_me: error: invalid package name: $ac_package" >&21073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1074 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1047 1075 { (exit 1); exit 1; }; } 1048 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1049 eval with_$ac_package=\$ac_optarg ;; 1076 ac_useropt_orig=$ac_useropt 1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1078 case $ac_user_opts in 1079 *" 1080 "with_$ac_useropt" 1081 "*) ;; 1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1083 ac_unrecognized_sep=', ';; 1084 esac 1085 eval with_$ac_useropt=\$ac_optarg ;; 1050 1086 1051 1087 -without-* | --without-*) 1052 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1088 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1053 1089 # Reject names that are not valid shell variable names. 1054 expr "x$ac_ package" : ".*[^-._$as_cr_alnum]" >/dev/null &&1055 { echo "$as_me: error: invalid package name: $ac_package" >&21090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1091 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1056 1092 { (exit 1); exit 1; }; } 1057 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1058 eval with_$ac_package=no ;; 1093 ac_useropt_orig=$ac_useropt 1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1095 case $ac_user_opts in 1096 *" 1097 "with_$ac_useropt" 1098 "*) ;; 1099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1100 ac_unrecognized_sep=', ';; 1101 esac 1102 eval with_$ac_useropt=no ;; 1059 1103 1060 1104 --x) … … 1076 1120 x_libraries=$ac_optarg ;; 1077 1121 1078 -*) { echo "$as_me: error: unrecognized option: $ac_option1122 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1079 1123 Try \`$0 --help' for more information." >&2 1080 1124 { (exit 1); exit 1; }; } … … 1085 1129 # Reject names that are not valid shell variable names. 1086 1130 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1087 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21131 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1088 1132 { (exit 1); exit 1; }; } 1089 1133 eval $ac_envvar=\$ac_optarg … … 1092 1136 *) 1093 1137 # FIXME: should be removed in autoconf 3.0. 1094 echo "$as_me: WARNING: you should use --build, --host, --target" >&21138 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1095 1139 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1096 echo "$as_me: WARNING: invalid host type: $ac_option" >&21140 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1097 1141 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1098 1142 ;; … … 1103 1147 if test -n "$ac_prev"; then 1104 1148 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1105 { echo "$as_me: error: missing argument to $ac_option" >&21149 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1106 1150 { (exit 1); exit 1; }; } 1107 1151 fi 1108 1152 1109 # Be sure to have absolute directory names. 1153 if test -n "$ac_unrecognized_opts"; then 1154 case $enable_option_checking in 1155 no) ;; 1156 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1157 { (exit 1); exit 1; }; } ;; 1158 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1159 esac 1160 fi 1161 1162 # Check all directory arguments for consistency. 1110 1163 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1111 1164 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1114 1167 do 1115 1168 eval ac_val=\$$ac_var 1169 # Remove trailing slashes. 1170 case $ac_val in 1171 */ ) 1172 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1173 eval $ac_var=\$ac_val;; 1174 esac 1175 # Be sure to have absolute directory names. 1116 1176 case $ac_val in 1117 1177 [\\/$]* | ?:[\\/]* ) continue;; 1118 1178 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1119 1179 esac 1120 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&21180 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1121 1181 { (exit 1); exit 1; }; } 1122 1182 done … … 1133 1193 if test "x$build_alias" = x; then 1134 1194 cross_compiling=maybe 1135 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1195 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1136 1196 If a cross compiler is detected then cross compile mode will be used." >&2 1137 1197 elif test "x$build_alias" != "x$host_alias"; then … … 1149 1209 ac_ls_di=`ls -di .` && 1150 1210 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1151 { echo "$as_me: error: Working directory cannot be determined" >&21211 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1152 1212 { (exit 1); exit 1; }; } 1153 1213 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1154 { echo "$as_me: error: pwd does not report name of working directory" >&21214 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1155 1215 { (exit 1); exit 1; }; } 1156 1216 … … 1160 1220 ac_srcdir_defaulted=yes 1161 1221 # Try the directory containing this script, then the parent directory. 1162 ac_confdir=`$as_dirname -- "$ 0" ||1163 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1164 X"$ 0" : 'X\(//\)[^/]' \| \1165 X"$ 0" : 'X\(//\)$' \| \1166 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1167 echo X"$0" |1222 ac_confdir=`$as_dirname -- "$as_myself" || 1223 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1224 X"$as_myself" : 'X\(//\)[^/]' \| \ 1225 X"$as_myself" : 'X\(//\)$' \| \ 1226 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1227 $as_echo X"$as_myself" | 1168 1228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1169 1229 s//\1/ … … 1192 1252 if test ! -r "$srcdir/$ac_unique_file"; then 1193 1253 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1194 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&21254 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1195 1255 { (exit 1); exit 1; }; } 1196 1256 fi 1197 1257 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1198 1258 ac_abs_confdir=`( 1199 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&21259 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1200 1260 { (exit 1); exit 1; }; } 1201 1261 pwd)` … … 1246 1306 Installation directories: 1247 1307 --prefix=PREFIX install architecture-independent files in PREFIX 1248 1308 [$ac_default_prefix] 1249 1309 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1250 1310 [PREFIX] 1251 1311 1252 1312 By default, \`make install' will install all the files in … … 1258 1318 1259 1319 Fine tuning of the installation directories: 1260 --bindir=DIR user executables [EPREFIX/bin]1261 --sbindir=DIR system admin executables [EPREFIX/sbin]1262 --libexecdir=DIR program executables [EPREFIX/libexec]1263 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1264 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1265 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1266 --libdir=DIR object code libraries [EPREFIX/lib]1267 --includedir=DIR C header files [PREFIX/include]1268 --oldincludedir=DIR C header files for non-gcc [/usr/include]1269 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1270 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1271 --infodir=DIR info documentation [DATAROOTDIR/info]1272 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1273 --mandir=DIR man documentation [DATAROOTDIR/man]1274 --docdir=DIR documentation root [DATAROOTDIR/doc/vizservers]1275 --htmldir=DIR html documentation [DOCDIR]1276 --dvidir=DIR dvi documentation [DOCDIR]1277 --pdfdir=DIR pdf documentation [DOCDIR]1278 --psdir=DIR ps documentation [DOCDIR]1320 --bindir=DIR user executables [EPREFIX/bin] 1321 --sbindir=DIR system admin executables [EPREFIX/sbin] 1322 --libexecdir=DIR program executables [EPREFIX/libexec] 1323 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1324 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1325 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1326 --libdir=DIR object code libraries [EPREFIX/lib] 1327 --includedir=DIR C header files [PREFIX/include] 1328 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1329 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1330 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1331 --infodir=DIR info documentation [DATAROOTDIR/info] 1332 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1333 --mandir=DIR man documentation [DATAROOTDIR/man] 1334 --docdir=DIR documentation root [DATAROOTDIR/doc/vizservers] 1335 --htmldir=DIR html documentation [DOCDIR] 1336 --dvidir=DIR dvi documentation [DOCDIR] 1337 --pdfdir=DIR pdf documentation [DOCDIR] 1338 --psdir=DIR ps documentation [DOCDIR] 1279 1339 _ACEOF 1280 1340 … … 1288 1348 esac 1289 1349 cat <<\_ACEOF 1290 1291 Optional Features:1292 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)1293 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]1294 --enable-64bit enable 64bit support (where applicable)1295 --enable-64bit-vis enable 64bit Sparc VIS support1296 --enable-corefoundation use CoreFoundation API --enable-corefoundation1297 --disable-load disallow dynamic loading and "load" command1298 1350 1299 1351 Optional Packages: … … 1329 1381 # If there are subdirs, report their specific --help. 1330 1382 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1331 test -d "$ac_dir" || continue 1383 test -d "$ac_dir" || 1384 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1385 continue 1332 1386 ac_builddir=. 1333 1387 … … 1335 1389 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1336 1390 *) 1337 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1391 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1338 1392 # A ".." for each directory in $ac_dir_suffix. 1339 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1393 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1340 1394 case $ac_top_builddir_sub in 1341 1395 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1373 1427 $SHELL "$ac_srcdir/configure" --help=recursive 1374 1428 else 1375 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21429 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1376 1430 fi || ac_status=$? 1377 1431 cd "$ac_pwd" || { ac_status=$?; break; } … … 1383 1437 cat <<\_ACEOF 1384 1438 vizservers configure 0.1 1385 generated by GNU Autoconf 2.6 11439 generated by GNU Autoconf 2.63 1386 1440 1387 1441 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1388 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.1442 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1389 1443 This configure script is free software; the Free Software Foundation 1390 1444 gives unlimited permission to copy, distribute and modify it. … … 1397 1451 1398 1452 It was created by vizservers $as_me 0.1, which was 1399 generated by GNU Autoconf 2.6 1. Invocation command line was1453 generated by GNU Autoconf 2.63. Invocation command line was 1400 1454 1401 1455 $ $0 $@ … … 1433 1487 IFS=$as_save_IFS 1434 1488 test -z "$as_dir" && as_dir=. 1435 echo "PATH: $as_dir"1489 $as_echo "PATH: $as_dir" 1436 1490 done 1437 1491 IFS=$as_save_IFS … … 1468 1522 continue ;; 1469 1523 *\'*) 1470 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1524 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1471 1525 esac 1472 1526 case $ac_pass in … … 1520 1574 *${as_nl}*) 1521 1575 case $ac_var in #( 1522 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51523 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;1576 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1577 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1524 1578 esac 1525 1579 case $ac_var in #( 1526 1580 _ | IFS | as_nl) ;; #( 1581 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1527 1582 *) $as_unset $ac_var ;; 1528 1583 esac ;; … … 1554 1609 eval ac_val=\$$ac_var 1555 1610 case $ac_val in 1556 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1611 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1557 1612 esac 1558 echo "$ac_var='\''$ac_val'\''"1613 $as_echo "$ac_var='\''$ac_val'\''" 1559 1614 done | sort 1560 1615 echo … … 1571 1626 eval ac_val=\$$ac_var 1572 1627 case $ac_val in 1573 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1628 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1574 1629 esac 1575 echo "$ac_var='\''$ac_val'\''"1630 $as_echo "$ac_var='\''$ac_val'\''" 1576 1631 done | sort 1577 1632 echo … … 1589 1644 fi 1590 1645 test "$ac_signal" != 0 && 1591 echo "$as_me: caught signal $ac_signal"1592 echo "$as_me: exit $exit_status"1646 $as_echo "$as_me: caught signal $ac_signal" 1647 $as_echo "$as_me: exit $exit_status" 1593 1648 } >&5 1594 1649 rm -f core *.core core.conftest.* && … … 1632 1687 1633 1688 # Let the site file select an alternate cache file if it wants to. 1634 # Prefer explicitly selected file to automatically selected ones. 1689 # Prefer an explicitly selected file to automatically selected ones. 1690 ac_site_file1=NONE 1691 ac_site_file2=NONE 1635 1692 if test -n "$CONFIG_SITE"; then 1636 set x "$CONFIG_SITE"1693 ac_site_file1=$CONFIG_SITE 1637 1694 elif test "x$prefix" != xNONE; then 1638 set x "$prefix/share/config.site" "$prefix/etc/config.site"1639 else1640 set x "$ac_default_prefix/share/config.site" \ 1641 "$ac_default_prefix/etc/config.site" 1642 fi 1643 shift 1644 for ac_site_file 1695 ac_site_file1=$prefix/share/config.site 1696 ac_site_file2=$prefix/etc/config.site 1697 else 1698 ac_site_file1=$ac_default_prefix/share/config.site 1699 ac_site_file2=$ac_default_prefix/etc/config.site 1700 fi 1701 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1645 1702 do 1703 test "x$ac_site_file" = xNONE && continue 1646 1704 if test -r "$ac_site_file"; then 1647 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51648 echo "$as_me: loading site script $ac_site_file" >&6;}1705 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1706 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1649 1707 sed 's/^/| /' "$ac_site_file" >&5 1650 1708 . "$ac_site_file" … … 1656 1714 # files actually), so we avoid doing that. 1657 1715 if test -f "$cache_file"; then 1658 { echo "$as_me:$LINENO: loading cache $cache_file" >&51659 echo "$as_me: loading cache $cache_file" >&6;}1716 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1717 $as_echo "$as_me: loading cache $cache_file" >&6;} 1660 1718 case $cache_file in 1661 1719 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1664 1722 fi 1665 1723 else 1666 { echo "$as_me:$LINENO: creating cache $cache_file" >&51667 echo "$as_me: creating cache $cache_file" >&6;}1724 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1725 $as_echo "$as_me: creating cache $cache_file" >&6;} 1668 1726 >$cache_file 1669 1727 fi … … 1679 1737 case $ac_old_set,$ac_new_set in 1680 1738 set,) 1681 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51682 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1739 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1740 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1683 1741 ac_cache_corrupted=: ;; 1684 1742 ,set) 1685 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51686 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1743 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1744 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1687 1745 ac_cache_corrupted=: ;; 1688 1746 ,);; 1689 1747 *) 1690 1748 if test "x$ac_old_val" != "x$ac_new_val"; then 1691 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1692 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1693 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1694 echo "$as_me: former value: $ac_old_val" >&2;} 1695 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1696 echo "$as_me: current value: $ac_new_val" >&2;} 1697 ac_cache_corrupted=: 1749 # differences in whitespace do not lead to failure. 1750 ac_old_val_w=`echo x $ac_old_val` 1751 ac_new_val_w=`echo x $ac_new_val` 1752 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1753 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1754 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1755 ac_cache_corrupted=: 1756 else 1757 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1758 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1759 eval $ac_var=\$ac_old_val 1760 fi 1761 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1762 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1763 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1764 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1698 1765 fi;; 1699 1766 esac … … 1701 1768 if test "$ac_new_set" = set; then 1702 1769 case $ac_new_val in 1703 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;1770 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1704 1771 *) ac_arg=$ac_var=$ac_new_val ;; 1705 1772 esac … … 1711 1778 done 1712 1779 if $ac_cache_corrupted; then 1713 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1714 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1715 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1716 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1780 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1782 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1783 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1784 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1785 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1717 1786 { (exit 1); exit 1; }; } 1718 1787 fi … … 1749 1818 1750 1819 1751 ac_config_headers="$ac_config_headers nanoscale/config.h "1820 ac_config_headers="$ac_config_headers nanoscale/config.h nanovis/nvconf.h" 1752 1821 1753 1822 … … 1772 1841 fi 1773 1842 1774 ac_ext=c 1775 ac_cpp='$CPP $CPPFLAGS' 1776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1778 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1779 if test -n "$ac_tool_prefix"; then 1780 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1781 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1782 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1784 if test "${ac_cv_prog_CC+set}" = set; then 1785 echo $ECHO_N "(cached) $ECHO_C" >&6 1786 else 1787 if test -n "$CC"; then 1788 ac_cv_prog_CC="$CC" # Let the user override the test. 1789 else 1790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1791 for as_dir in $PATH 1792 do 1793 IFS=$as_save_IFS 1794 test -z "$as_dir" && as_dir=. 1795 for ac_exec_ext in '' $ac_executable_extensions; do 1796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1797 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1799 break 2 1800 fi 1801 done 1802 done 1803 IFS=$as_save_IFS 1804 1805 fi 1806 fi 1807 CC=$ac_cv_prog_CC 1808 if test -n "$CC"; then 1809 { echo "$as_me:$LINENO: result: $CC" >&5 1810 echo "${ECHO_T}$CC" >&6; } 1811 else 1812 { echo "$as_me:$LINENO: result: no" >&5 1813 echo "${ECHO_T}no" >&6; } 1814 fi 1815 1816 1817 fi 1818 if test -z "$ac_cv_prog_CC"; then 1819 ac_ct_CC=$CC 1820 # Extract the first word of "gcc", so it can be a program name with args. 1821 set dummy gcc; ac_word=$2 1822 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1824 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1825 echo $ECHO_N "(cached) $ECHO_C" >&6 1826 else 1827 if test -n "$ac_ct_CC"; then 1828 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1829 else 1830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1831 for as_dir in $PATH 1832 do 1833 IFS=$as_save_IFS 1834 test -z "$as_dir" && as_dir=. 1835 for ac_exec_ext in '' $ac_executable_extensions; do 1836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1837 ac_cv_prog_ac_ct_CC="gcc" 1838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1839 break 2 1840 fi 1841 done 1842 done 1843 IFS=$as_save_IFS 1844 1845 fi 1846 fi 1847 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1848 if test -n "$ac_ct_CC"; then 1849 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1850 echo "${ECHO_T}$ac_ct_CC" >&6; } 1851 else 1852 { echo "$as_me:$LINENO: result: no" >&5 1853 echo "${ECHO_T}no" >&6; } 1854 fi 1855 1856 if test "x$ac_ct_CC" = x; then 1857 CC="" 1858 else 1859 case $cross_compiling:$ac_tool_warned in 1860 yes:) 1861 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1862 whose name does not start with the host triplet. If you think this 1863 configuration is useful to you, please write to autoconf@gnu.org." >&5 1864 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1865 whose name does not start with the host triplet. If you think this 1866 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 1867 ac_tool_warned=yes ;; 1868 esac 1869 CC=$ac_ct_CC 1870 fi 1871 else 1872 CC="$ac_cv_prog_CC" 1873 fi 1874 1875 if test -z "$CC"; then 1876 if test -n "$ac_tool_prefix"; then 1877 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1878 set dummy ${ac_tool_prefix}cc; ac_word=$2 1879 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1881 if test "${ac_cv_prog_CC+set}" = set; then 1882 echo $ECHO_N "(cached) $ECHO_C" >&6 1883 else 1884 if test -n "$CC"; then 1885 ac_cv_prog_CC="$CC" # Let the user override the test. 1886 else 1887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1888 for as_dir in $PATH 1889 do 1890 IFS=$as_save_IFS 1891 test -z "$as_dir" && as_dir=. 1892 for ac_exec_ext in '' $ac_executable_extensions; do 1893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1894 ac_cv_prog_CC="${ac_tool_prefix}cc" 1895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1896 break 2 1897 fi 1898 done 1899 done 1900 IFS=$as_save_IFS 1901 1902 fi 1903 fi 1904 CC=$ac_cv_prog_CC 1905 if test -n "$CC"; then 1906 { echo "$as_me:$LINENO: result: $CC" >&5 1907 echo "${ECHO_T}$CC" >&6; } 1908 else 1909 { echo "$as_me:$LINENO: result: no" >&5 1910 echo "${ECHO_T}no" >&6; } 1911 fi 1912 1913 1914 fi 1915 fi 1916 if test -z "$CC"; then 1917 # Extract the first word of "cc", so it can be a program name with args. 1918 set dummy cc; ac_word=$2 1919 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1921 if test "${ac_cv_prog_CC+set}" = set; then 1922 echo $ECHO_N "(cached) $ECHO_C" >&6 1923 else 1924 if test -n "$CC"; then 1925 ac_cv_prog_CC="$CC" # Let the user override the test. 1926 else 1927 ac_prog_rejected=no 1928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1929 for as_dir in $PATH 1930 do 1931 IFS=$as_save_IFS 1932 test -z "$as_dir" && as_dir=. 1933 for ac_exec_ext in '' $ac_executable_extensions; do 1934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1935 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1936 ac_prog_rejected=yes 1937 continue 1938 fi 1939 ac_cv_prog_CC="cc" 1940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1941 break 2 1942 fi 1943 done 1944 done 1945 IFS=$as_save_IFS 1946 1947 if test $ac_prog_rejected = yes; then 1948 # We found a bogon in the path, so make sure we never use it. 1949 set dummy $ac_cv_prog_CC 1950 shift 1951 if test $# != 0; then 1952 # We chose a different compiler from the bogus one. 1953 # However, it has the same basename, so the bogon will be chosen 1954 # first if we set CC to just the basename; use the full file name. 1955 shift 1956 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1957 fi 1958 fi 1959 fi 1960 fi 1961 CC=$ac_cv_prog_CC 1962 if test -n "$CC"; then 1963 { echo "$as_me:$LINENO: result: $CC" >&5 1964 echo "${ECHO_T}$CC" >&6; } 1965 else 1966 { echo "$as_me:$LINENO: result: no" >&5 1967 echo "${ECHO_T}no" >&6; } 1968 fi 1969 1970 1971 fi 1972 if test -z "$CC"; then 1973 if test -n "$ac_tool_prefix"; then 1974 for ac_prog in cl.exe 1975 do 1976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1977 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1978 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1980 if test "${ac_cv_prog_CC+set}" = set; then 1981 echo $ECHO_N "(cached) $ECHO_C" >&6 1982 else 1983 if test -n "$CC"; then 1984 ac_cv_prog_CC="$CC" # Let the user override the test. 1985 else 1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1987 for as_dir in $PATH 1988 do 1989 IFS=$as_save_IFS 1990 test -z "$as_dir" && as_dir=. 1991 for ac_exec_ext in '' $ac_executable_extensions; do 1992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1993 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1995 break 2 1996 fi 1997 done 1998 done 1999 IFS=$as_save_IFS 2000 2001 fi 2002 fi 2003 CC=$ac_cv_prog_CC 2004 if test -n "$CC"; then 2005 { echo "$as_me:$LINENO: result: $CC" >&5 2006 echo "${ECHO_T}$CC" >&6; } 2007 else 2008 { echo "$as_me:$LINENO: result: no" >&5 2009 echo "${ECHO_T}no" >&6; } 2010 fi 2011 2012 2013 test -n "$CC" && break 2014 done 2015 fi 2016 if test -z "$CC"; then 2017 ac_ct_CC=$CC 2018 for ac_prog in cl.exe 2019 do 2020 # Extract the first word of "$ac_prog", so it can be a program name with args. 2021 set dummy $ac_prog; ac_word=$2 2022 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2024 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2025 echo $ECHO_N "(cached) $ECHO_C" >&6 2026 else 2027 if test -n "$ac_ct_CC"; then 2028 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2029 else 2030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2031 for as_dir in $PATH 2032 do 2033 IFS=$as_save_IFS 2034 test -z "$as_dir" && as_dir=. 2035 for ac_exec_ext in '' $ac_executable_extensions; do 2036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2037 ac_cv_prog_ac_ct_CC="$ac_prog" 2038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2039 break 2 2040 fi 2041 done 2042 done 2043 IFS=$as_save_IFS 2044 2045 fi 2046 fi 2047 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2048 if test -n "$ac_ct_CC"; then 2049 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2050 echo "${ECHO_T}$ac_ct_CC" >&6; } 2051 else 2052 { echo "$as_me:$LINENO: result: no" >&5 2053 echo "${ECHO_T}no" >&6; } 2054 fi 2055 2056 2057 test -n "$ac_ct_CC" && break 2058 done 2059 2060 if test "x$ac_ct_CC" = x; then 2061 CC="" 2062 else 2063 case $cross_compiling:$ac_tool_warned in 2064 yes:) 2065 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2066 whose name does not start with the host triplet. If you think this 2067 configuration is useful to you, please write to autoconf@gnu.org." >&5 2068 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2069 whose name does not start with the host triplet. If you think this 2070 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2071 ac_tool_warned=yes ;; 2072 esac 2073 CC=$ac_ct_CC 2074 fi 2075 fi 2076 2077 fi 2078 2079 2080 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2081 See \`config.log' for more details." >&5 2082 echo "$as_me: error: no acceptable C compiler found in \$PATH 2083 See \`config.log' for more details." >&2;} 2084 { (exit 1); exit 1; }; } 2085 2086 # Provide some information about the compiler. 2087 echo "$as_me:$LINENO: checking for C compiler version" >&5 2088 ac_compiler=`set X $ac_compile; echo $2` 2089 { (ac_try="$ac_compiler --version >&5" 2090 case "(($ac_try" in 2091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2092 *) ac_try_echo=$ac_try;; 2093 esac 2094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2095 (eval "$ac_compiler --version >&5") 2>&5 2096 ac_status=$? 2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2098 (exit $ac_status); } 2099 { (ac_try="$ac_compiler -v >&5" 2100 case "(($ac_try" in 2101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2102 *) ac_try_echo=$ac_try;; 2103 esac 2104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2105 (eval "$ac_compiler -v >&5") 2>&5 2106 ac_status=$? 2107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2108 (exit $ac_status); } 2109 { (ac_try="$ac_compiler -V >&5" 2110 case "(($ac_try" in 2111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2112 *) ac_try_echo=$ac_try;; 2113 esac 2114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2115 (eval "$ac_compiler -V >&5") 2>&5 2116 ac_status=$? 2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2118 (exit $ac_status); } 2119 2120 cat >conftest.$ac_ext <<_ACEOF 2121 /* confdefs.h. */ 2122 _ACEOF 2123 cat confdefs.h >>conftest.$ac_ext 2124 cat >>conftest.$ac_ext <<_ACEOF 2125 /* end confdefs.h. */ 2126 2127 int 2128 main () 2129 { 2130 2131 ; 2132 return 0; 2133 } 2134 _ACEOF 2135 ac_clean_files_save=$ac_clean_files 2136 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2137 # Try to create an executable without -o first, disregard a.out. 2138 # It will help us diagnose broken compilers, and finding out an intuition 2139 # of exeext. 2140 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2141 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2142 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2143 # 2144 # List of possible output files, starting from the most likely. 2145 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2146 # only as a last resort. b.out is created by i960 compilers. 2147 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2148 # 2149 # The IRIX 6 linker writes into existing files which may not be 2150 # executable, retaining their permissions. Remove them first so a 2151 # subsequent execution test works. 2152 ac_rmfiles= 2153 for ac_file in $ac_files 2154 do 2155 case $ac_file in 2156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2157 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2158 esac 2159 done 2160 rm -f $ac_rmfiles 2161 2162 if { (ac_try="$ac_link_default" 2163 case "(($ac_try" in 2164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2165 *) ac_try_echo=$ac_try;; 2166 esac 2167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2168 (eval "$ac_link_default") 2>&5 2169 ac_status=$? 2170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2171 (exit $ac_status); }; then 2172 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2173 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2174 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2175 # so that the user can short-circuit this test for compilers unknown to 2176 # Autoconf. 2177 for ac_file in $ac_files '' 2178 do 2179 test -f "$ac_file" || continue 2180 case $ac_file in 2181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2182 ;; 2183 [ab].out ) 2184 # We found the default executable, but exeext='' is most 2185 # certainly right. 2186 break;; 2187 *.* ) 2188 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2189 then :; else 2190 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2191 fi 2192 # We set ac_cv_exeext here because the later test for it is not 2193 # safe: cross compilers may not add the suffix if given an `-o' 2194 # argument, so we may need to know it at that point already. 2195 # Even if this section looks crufty: it has the advantage of 2196 # actually working. 2197 break;; 2198 * ) 2199 break;; 2200 esac 2201 done 2202 test "$ac_cv_exeext" = no && ac_cv_exeext= 2203 2204 else 2205 ac_file='' 2206 fi 2207 2208 { echo "$as_me:$LINENO: result: $ac_file" >&5 2209 echo "${ECHO_T}$ac_file" >&6; } 2210 if test -z "$ac_file"; then 2211 echo "$as_me: failed program was:" >&5 2212 sed 's/^/| /' conftest.$ac_ext >&5 2213 2214 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2215 See \`config.log' for more details." >&5 2216 echo "$as_me: error: C compiler cannot create executables 2217 See \`config.log' for more details." >&2;} 2218 { (exit 77); exit 77; }; } 2219 fi 2220 2221 ac_exeext=$ac_cv_exeext 2222 2223 # Check that the compiler produces executables we can run. If not, either 2224 # the compiler is broken, or we cross compile. 2225 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2226 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2227 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2228 # If not cross compiling, check that we can run a simple program. 2229 if test "$cross_compiling" != yes; then 2230 if { ac_try='./$ac_file' 2231 { (case "(($ac_try" in 2232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2233 *) ac_try_echo=$ac_try;; 2234 esac 2235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2236 (eval "$ac_try") 2>&5 2237 ac_status=$? 2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2239 (exit $ac_status); }; }; then 2240 cross_compiling=no 2241 else 2242 if test "$cross_compiling" = maybe; then 2243 cross_compiling=yes 2244 else 2245 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2246 If you meant to cross compile, use \`--host'. 2247 See \`config.log' for more details." >&5 2248 echo "$as_me: error: cannot run C compiled programs. 2249 If you meant to cross compile, use \`--host'. 2250 See \`config.log' for more details." >&2;} 2251 { (exit 1); exit 1; }; } 2252 fi 2253 fi 2254 fi 2255 { echo "$as_me:$LINENO: result: yes" >&5 2256 echo "${ECHO_T}yes" >&6; } 2257 2258 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2259 ac_clean_files=$ac_clean_files_save 2260 # Check that the compiler produces executables we can run. If not, either 2261 # the compiler is broken, or we cross compile. 2262 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2263 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2264 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2265 echo "${ECHO_T}$cross_compiling" >&6; } 2266 2267 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2268 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2269 if { (ac_try="$ac_link" 2270 case "(($ac_try" in 2271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2272 *) ac_try_echo=$ac_try;; 2273 esac 2274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2275 (eval "$ac_link") 2>&5 2276 ac_status=$? 2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2278 (exit $ac_status); }; then 2279 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2280 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2281 # work properly (i.e., refer to `conftest.exe'), while it won't with 2282 # `rm'. 2283 for ac_file in conftest.exe conftest conftest.*; do 2284 test -f "$ac_file" || continue 2285 case $ac_file in 2286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2287 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2288 break;; 2289 * ) break;; 2290 esac 2291 done 2292 else 2293 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2294 See \`config.log' for more details." >&5 2295 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2296 See \`config.log' for more details." >&2;} 2297 { (exit 1); exit 1; }; } 2298 fi 2299 2300 rm -f conftest$ac_cv_exeext 2301 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2302 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2303 2304 rm -f conftest.$ac_ext 2305 EXEEXT=$ac_cv_exeext 2306 ac_exeext=$EXEEXT 2307 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2308 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2309 if test "${ac_cv_objext+set}" = set; then 2310 echo $ECHO_N "(cached) $ECHO_C" >&6 2311 else 2312 cat >conftest.$ac_ext <<_ACEOF 2313 /* confdefs.h. */ 2314 _ACEOF 2315 cat confdefs.h >>conftest.$ac_ext 2316 cat >>conftest.$ac_ext <<_ACEOF 2317 /* end confdefs.h. */ 2318 2319 int 2320 main () 2321 { 2322 2323 ; 2324 return 0; 2325 } 2326 _ACEOF 2327 rm -f conftest.o conftest.obj 2328 if { (ac_try="$ac_compile" 2329 case "(($ac_try" in 2330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2331 *) ac_try_echo=$ac_try;; 2332 esac 2333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2334 (eval "$ac_compile") 2>&5 2335 ac_status=$? 2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2337 (exit $ac_status); }; then 2338 for ac_file in conftest.o conftest.obj conftest.*; do 2339 test -f "$ac_file" || continue; 2340 case $ac_file in 2341 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2342 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2343 break;; 2344 esac 2345 done 2346 else 2347 echo "$as_me: failed program was:" >&5 2348 sed 's/^/| /' conftest.$ac_ext >&5 2349 2350 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2351 See \`config.log' for more details." >&5 2352 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2353 See \`config.log' for more details." >&2;} 2354 { (exit 1); exit 1; }; } 2355 fi 2356 2357 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2358 fi 2359 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2360 echo "${ECHO_T}$ac_cv_objext" >&6; } 2361 OBJEXT=$ac_cv_objext 2362 ac_objext=$OBJEXT 2363 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2364 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2365 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2366 echo $ECHO_N "(cached) $ECHO_C" >&6 2367 else 2368 cat >conftest.$ac_ext <<_ACEOF 2369 /* confdefs.h. */ 2370 _ACEOF 2371 cat confdefs.h >>conftest.$ac_ext 2372 cat >>conftest.$ac_ext <<_ACEOF 2373 /* end confdefs.h. */ 2374 2375 int 2376 main () 2377 { 2378 #ifndef __GNUC__ 2379 choke me 2380 #endif 2381 2382 ; 2383 return 0; 2384 } 2385 _ACEOF 2386 rm -f conftest.$ac_objext 2387 if { (ac_try="$ac_compile" 2388 case "(($ac_try" in 2389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2390 *) ac_try_echo=$ac_try;; 2391 esac 2392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2393 (eval "$ac_compile") 2>conftest.er1 2394 ac_status=$? 2395 grep -v '^ *+' conftest.er1 >conftest.err 2396 rm -f conftest.er1 2397 cat conftest.err >&5 2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2399 (exit $ac_status); } && { 2400 test -z "$ac_c_werror_flag" || 2401 test ! -s conftest.err 2402 } && test -s conftest.$ac_objext; then 2403 ac_compiler_gnu=yes 2404 else 2405 echo "$as_me: failed program was:" >&5 2406 sed 's/^/| /' conftest.$ac_ext >&5 2407 2408 ac_compiler_gnu=no 2409 fi 2410 2411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2412 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2413 2414 fi 2415 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2416 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2417 GCC=`test $ac_compiler_gnu = yes && echo yes` 2418 ac_test_CFLAGS=${CFLAGS+set} 2419 ac_save_CFLAGS=$CFLAGS 2420 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2421 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2422 if test "${ac_cv_prog_cc_g+set}" = set; then 2423 echo $ECHO_N "(cached) $ECHO_C" >&6 2424 else 2425 ac_save_c_werror_flag=$ac_c_werror_flag 2426 ac_c_werror_flag=yes 2427 ac_cv_prog_cc_g=no 2428 CFLAGS="-g" 2429 cat >conftest.$ac_ext <<_ACEOF 2430 /* confdefs.h. */ 2431 _ACEOF 2432 cat confdefs.h >>conftest.$ac_ext 2433 cat >>conftest.$ac_ext <<_ACEOF 2434 /* end confdefs.h. */ 2435 2436 int 2437 main () 2438 { 2439 2440 ; 2441 return 0; 2442 } 2443 _ACEOF 2444 rm -f conftest.$ac_objext 2445 if { (ac_try="$ac_compile" 2446 case "(($ac_try" in 2447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2448 *) ac_try_echo=$ac_try;; 2449 esac 2450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2451 (eval "$ac_compile") 2>conftest.er1 2452 ac_status=$? 2453 grep -v '^ *+' conftest.er1 >conftest.err 2454 rm -f conftest.er1 2455 cat conftest.err >&5 2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2457 (exit $ac_status); } && { 2458 test -z "$ac_c_werror_flag" || 2459 test ! -s conftest.err 2460 } && test -s conftest.$ac_objext; then 2461 ac_cv_prog_cc_g=yes 2462 else 2463 echo "$as_me: failed program was:" >&5 2464 sed 's/^/| /' conftest.$ac_ext >&5 2465 2466 CFLAGS="" 2467 cat >conftest.$ac_ext <<_ACEOF 2468 /* confdefs.h. */ 2469 _ACEOF 2470 cat confdefs.h >>conftest.$ac_ext 2471 cat >>conftest.$ac_ext <<_ACEOF 2472 /* end confdefs.h. */ 2473 2474 int 2475 main () 2476 { 2477 2478 ; 2479 return 0; 2480 } 2481 _ACEOF 2482 rm -f conftest.$ac_objext 2483 if { (ac_try="$ac_compile" 2484 case "(($ac_try" in 2485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2486 *) ac_try_echo=$ac_try;; 2487 esac 2488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2489 (eval "$ac_compile") 2>conftest.er1 2490 ac_status=$? 2491 grep -v '^ *+' conftest.er1 >conftest.err 2492 rm -f conftest.er1 2493 cat conftest.err >&5 2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2495 (exit $ac_status); } && { 2496 test -z "$ac_c_werror_flag" || 2497 test ! -s conftest.err 2498 } && test -s conftest.$ac_objext; then 2499 : 2500 else 2501 echo "$as_me: failed program was:" >&5 2502 sed 's/^/| /' conftest.$ac_ext >&5 2503 2504 ac_c_werror_flag=$ac_save_c_werror_flag 2505 CFLAGS="-g" 2506 cat >conftest.$ac_ext <<_ACEOF 2507 /* confdefs.h. */ 2508 _ACEOF 2509 cat confdefs.h >>conftest.$ac_ext 2510 cat >>conftest.$ac_ext <<_ACEOF 2511 /* end confdefs.h. */ 2512 2513 int 2514 main () 2515 { 2516 2517 ; 2518 return 0; 2519 } 2520 _ACEOF 2521 rm -f conftest.$ac_objext 2522 if { (ac_try="$ac_compile" 2523 case "(($ac_try" in 2524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2525 *) ac_try_echo=$ac_try;; 2526 esac 2527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2528 (eval "$ac_compile") 2>conftest.er1 2529 ac_status=$? 2530 grep -v '^ *+' conftest.er1 >conftest.err 2531 rm -f conftest.er1 2532 cat conftest.err >&5 2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2534 (exit $ac_status); } && { 2535 test -z "$ac_c_werror_flag" || 2536 test ! -s conftest.err 2537 } && test -s conftest.$ac_objext; then 2538 ac_cv_prog_cc_g=yes 2539 else 2540 echo "$as_me: failed program was:" >&5 2541 sed 's/^/| /' conftest.$ac_ext >&5 2542 2543 2544 fi 2545 2546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2547 fi 2548 2549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2550 fi 2551 2552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2553 ac_c_werror_flag=$ac_save_c_werror_flag 2554 fi 2555 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2556 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2557 if test "$ac_test_CFLAGS" = set; then 2558 CFLAGS=$ac_save_CFLAGS 2559 elif test $ac_cv_prog_cc_g = yes; then 2560 if test "$GCC" = yes; then 2561 CFLAGS="-g -O2" 2562 else 2563 CFLAGS="-g" 2564 fi 2565 else 2566 if test "$GCC" = yes; then 2567 CFLAGS="-O2" 2568 else 2569 CFLAGS= 2570 fi 2571 fi 2572 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2573 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2574 if test "${ac_cv_prog_cc_c89+set}" = set; then 2575 echo $ECHO_N "(cached) $ECHO_C" >&6 2576 else 2577 ac_cv_prog_cc_c89=no 2578 ac_save_CC=$CC 2579 cat >conftest.$ac_ext <<_ACEOF 2580 /* confdefs.h. */ 2581 _ACEOF 2582 cat confdefs.h >>conftest.$ac_ext 2583 cat >>conftest.$ac_ext <<_ACEOF 2584 /* end confdefs.h. */ 2585 #include <stdarg.h> 2586 #include <stdio.h> 2587 #include <sys/types.h> 2588 #include <sys/stat.h> 2589 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2590 struct buf { int x; }; 2591 FILE * (*rcsopen) (struct buf *, struct stat *, int); 2592 static char *e (p, i) 2593 char **p; 2594 int i; 2595 { 2596 return p[i]; 2597 } 2598 static char *f (char * (*g) (char **, int), char **p, ...) 2599 { 2600 char *s; 2601 va_list v; 2602 va_start (v,p); 2603 s = g (p, va_arg (v,int)); 2604 va_end (v); 2605 return s; 2606 } 2607 2608 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2609 function prototypes and stuff, but not '\xHH' hex character constants. 2610 These don't provoke an error unfortunately, instead are silently treated 2611 as 'x'. The following induces an error, until -std is added to get 2612 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2613 array size at least. It's necessary to write '\x00'==0 to get something 2614 that's true only with -std. */ 2615 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2616 2617 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2618 inside strings and character constants. */ 2619 #define FOO(x) 'x' 2620 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2621 2622 int test (int i, double x); 2623 struct s1 {int (*f) (int a);}; 2624 struct s2 {int (*f) (double a);}; 2625 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2626 int argc; 2627 char **argv; 2628 int 2629 main () 2630 { 2631 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2632 ; 2633 return 0; 2634 } 2635 _ACEOF 2636 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2637 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2638 do 2639 CC="$ac_save_CC $ac_arg" 2640 rm -f conftest.$ac_objext 2641 if { (ac_try="$ac_compile" 2642 case "(($ac_try" in 2643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2644 *) ac_try_echo=$ac_try;; 2645 esac 2646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2647 (eval "$ac_compile") 2>conftest.er1 2648 ac_status=$? 2649 grep -v '^ *+' conftest.er1 >conftest.err 2650 rm -f conftest.er1 2651 cat conftest.err >&5 2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2653 (exit $ac_status); } && { 2654 test -z "$ac_c_werror_flag" || 2655 test ! -s conftest.err 2656 } && test -s conftest.$ac_objext; then 2657 ac_cv_prog_cc_c89=$ac_arg 2658 else 2659 echo "$as_me: failed program was:" >&5 2660 sed 's/^/| /' conftest.$ac_ext >&5 2661 2662 2663 fi 2664 2665 rm -f core conftest.err conftest.$ac_objext 2666 test "x$ac_cv_prog_cc_c89" != "xno" && break 2667 done 2668 rm -f conftest.$ac_ext 2669 CC=$ac_save_CC 2670 2671 fi 2672 # AC_CACHE_VAL 2673 case "x$ac_cv_prog_cc_c89" in 2674 x) 2675 { echo "$as_me:$LINENO: result: none needed" >&5 2676 echo "${ECHO_T}none needed" >&6; } ;; 2677 xno) 2678 { echo "$as_me:$LINENO: result: unsupported" >&5 2679 echo "${ECHO_T}unsupported" >&6; } ;; 2680 *) 2681 CC="$CC $ac_cv_prog_cc_c89" 2682 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2683 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2684 esac 2685 2686 2687 ac_ext=c 2688 ac_cpp='$CPP $CPPFLAGS' 2689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2691 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2692 2693 2694 if test -n "$ac_tool_prefix"; then 2695 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2696 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2697 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2699 if test "${ac_cv_prog_RANLIB+set}" = set; then 2700 echo $ECHO_N "(cached) $ECHO_C" >&6 2701 else 2702 if test -n "$RANLIB"; then 2703 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2704 else 2705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2706 for as_dir in $PATH 2707 do 2708 IFS=$as_save_IFS 2709 test -z "$as_dir" && as_dir=. 2710 for ac_exec_ext in '' $ac_executable_extensions; do 2711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2712 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2714 break 2 2715 fi 2716 done 2717 done 2718 IFS=$as_save_IFS 2719 2720 fi 2721 fi 2722 RANLIB=$ac_cv_prog_RANLIB 2723 if test -n "$RANLIB"; then 2724 { echo "$as_me:$LINENO: result: $RANLIB" >&5 2725 echo "${ECHO_T}$RANLIB" >&6; } 2726 else 2727 { echo "$as_me:$LINENO: result: no" >&5 2728 echo "${ECHO_T}no" >&6; } 2729 fi 2730 2731 2732 fi 2733 if test -z "$ac_cv_prog_RANLIB"; then 2734 ac_ct_RANLIB=$RANLIB 2735 # Extract the first word of "ranlib", so it can be a program name with args. 2736 set dummy ranlib; ac_word=$2 2737 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2739 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2740 echo $ECHO_N "(cached) $ECHO_C" >&6 2741 else 2742 if test -n "$ac_ct_RANLIB"; then 2743 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 2744 else 2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2746 for as_dir in $PATH 2747 do 2748 IFS=$as_save_IFS 2749 test -z "$as_dir" && as_dir=. 2750 for ac_exec_ext in '' $ac_executable_extensions; do 2751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2752 ac_cv_prog_ac_ct_RANLIB="ranlib" 2753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2754 break 2 2755 fi 2756 done 2757 done 2758 IFS=$as_save_IFS 2759 2760 fi 2761 fi 2762 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2763 if test -n "$ac_ct_RANLIB"; then 2764 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 2765 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 2766 else 2767 { echo "$as_me:$LINENO: result: no" >&5 2768 echo "${ECHO_T}no" >&6; } 2769 fi 2770 2771 if test "x$ac_ct_RANLIB" = x; then 2772 RANLIB=":" 2773 else 2774 case $cross_compiling:$ac_tool_warned in 2775 yes:) 2776 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2777 whose name does not start with the host triplet. If you think this 2778 configuration is useful to you, please write to autoconf@gnu.org." >&5 2779 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2780 whose name does not start with the host triplet. If you think this 2781 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2782 ac_tool_warned=yes ;; 2783 esac 2784 RANLIB=$ac_ct_RANLIB 2785 fi 2786 else 2787 RANLIB="$ac_cv_prog_RANLIB" 2788 fi 2789 2790 ac_ext=c 2791 ac_cpp='$CPP $CPPFLAGS' 2792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2794 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2795 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2796 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 2797 # On Suns, sometimes $CPP names a directory. 2798 if test -n "$CPP" && test -d "$CPP"; then 2799 CPP= 2800 fi 2801 if test -z "$CPP"; then 2802 if test "${ac_cv_prog_CPP+set}" = set; then 2803 echo $ECHO_N "(cached) $ECHO_C" >&6 2804 else 2805 # Double quotes because CPP needs to be expanded 2806 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2807 do 2808 ac_preproc_ok=false 2809 for ac_c_preproc_warn_flag in '' yes 2810 do 2811 # Use a header file that comes with gcc, so configuring glibc 2812 # with a fresh cross-compiler works. 2813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2814 # <limits.h> exists even on freestanding compilers. 2815 # On the NeXT, cc -E runs the code through the compiler's parser, 2816 # not just through cpp. "Syntax error" is here to catch this case. 2817 cat >conftest.$ac_ext <<_ACEOF 2818 /* confdefs.h. */ 2819 _ACEOF 2820 cat confdefs.h >>conftest.$ac_ext 2821 cat >>conftest.$ac_ext <<_ACEOF 2822 /* end confdefs.h. */ 2823 #ifdef __STDC__ 2824 # include <limits.h> 2825 #else 2826 # include <assert.h> 2827 #endif 2828 Syntax error 2829 _ACEOF 2830 if { (ac_try="$ac_cpp conftest.$ac_ext" 2831 case "(($ac_try" in 2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2833 *) ac_try_echo=$ac_try;; 2834 esac 2835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2837 ac_status=$? 2838 grep -v '^ *+' conftest.er1 >conftest.err 2839 rm -f conftest.er1 2840 cat conftest.err >&5 2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2842 (exit $ac_status); } >/dev/null && { 2843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2844 test ! -s conftest.err 2845 }; then 2846 : 2847 else 2848 echo "$as_me: failed program was:" >&5 2849 sed 's/^/| /' conftest.$ac_ext >&5 2850 2851 # Broken: fails on valid input. 2852 continue 2853 fi 2854 2855 rm -f conftest.err conftest.$ac_ext 2856 2857 # OK, works on sane cases. Now check whether nonexistent headers 2858 # can be detected and how. 2859 cat >conftest.$ac_ext <<_ACEOF 2860 /* confdefs.h. */ 2861 _ACEOF 2862 cat confdefs.h >>conftest.$ac_ext 2863 cat >>conftest.$ac_ext <<_ACEOF 2864 /* end confdefs.h. */ 2865 #include <ac_nonexistent.h> 2866 _ACEOF 2867 if { (ac_try="$ac_cpp conftest.$ac_ext" 2868 case "(($ac_try" in 2869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2870 *) ac_try_echo=$ac_try;; 2871 esac 2872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2874 ac_status=$? 2875 grep -v '^ *+' conftest.er1 >conftest.err 2876 rm -f conftest.er1 2877 cat conftest.err >&5 2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2879 (exit $ac_status); } >/dev/null && { 2880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2881 test ! -s conftest.err 2882 }; then 2883 # Broken: success on invalid input. 2884 continue 2885 else 2886 echo "$as_me: failed program was:" >&5 2887 sed 's/^/| /' conftest.$ac_ext >&5 2888 2889 # Passes both tests. 2890 ac_preproc_ok=: 2891 break 2892 fi 2893 2894 rm -f conftest.err conftest.$ac_ext 2895 2896 done 2897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2898 rm -f conftest.err conftest.$ac_ext 2899 if $ac_preproc_ok; then 2900 break 2901 fi 2902 2903 done 2904 ac_cv_prog_CPP=$CPP 2905 2906 fi 2907 CPP=$ac_cv_prog_CPP 2908 else 2909 ac_cv_prog_CPP=$CPP 2910 fi 2911 { echo "$as_me:$LINENO: result: $CPP" >&5 2912 echo "${ECHO_T}$CPP" >&6; } 2913 ac_preproc_ok=false 2914 for ac_c_preproc_warn_flag in '' yes 2915 do 2916 # Use a header file that comes with gcc, so configuring glibc 2917 # with a fresh cross-compiler works. 2918 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2919 # <limits.h> exists even on freestanding compilers. 2920 # On the NeXT, cc -E runs the code through the compiler's parser, 2921 # not just through cpp. "Syntax error" is here to catch this case. 2922 cat >conftest.$ac_ext <<_ACEOF 2923 /* confdefs.h. */ 2924 _ACEOF 2925 cat confdefs.h >>conftest.$ac_ext 2926 cat >>conftest.$ac_ext <<_ACEOF 2927 /* end confdefs.h. */ 2928 #ifdef __STDC__ 2929 # include <limits.h> 2930 #else 2931 # include <assert.h> 2932 #endif 2933 Syntax error 2934 _ACEOF 2935 if { (ac_try="$ac_cpp conftest.$ac_ext" 2936 case "(($ac_try" in 2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2938 *) ac_try_echo=$ac_try;; 2939 esac 2940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2941 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2942 ac_status=$? 2943 grep -v '^ *+' conftest.er1 >conftest.err 2944 rm -f conftest.er1 2945 cat conftest.err >&5 2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2947 (exit $ac_status); } >/dev/null && { 2948 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2949 test ! -s conftest.err 2950 }; then 2951 : 2952 else 2953 echo "$as_me: failed program was:" >&5 2954 sed 's/^/| /' conftest.$ac_ext >&5 2955 2956 # Broken: fails on valid input. 2957 continue 2958 fi 2959 2960 rm -f conftest.err conftest.$ac_ext 2961 2962 # OK, works on sane cases. Now check whether nonexistent headers 2963 # can be detected and how. 2964 cat >conftest.$ac_ext <<_ACEOF 2965 /* confdefs.h. */ 2966 _ACEOF 2967 cat confdefs.h >>conftest.$ac_ext 2968 cat >>conftest.$ac_ext <<_ACEOF 2969 /* end confdefs.h. */ 2970 #include <ac_nonexistent.h> 2971 _ACEOF 2972 if { (ac_try="$ac_cpp conftest.$ac_ext" 2973 case "(($ac_try" in 2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2975 *) ac_try_echo=$ac_try;; 2976 esac 2977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2979 ac_status=$? 2980 grep -v '^ *+' conftest.er1 >conftest.err 2981 rm -f conftest.er1 2982 cat conftest.err >&5 2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2984 (exit $ac_status); } >/dev/null && { 2985 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2986 test ! -s conftest.err 2987 }; then 2988 # Broken: success on invalid input. 2989 continue 2990 else 2991 echo "$as_me: failed program was:" >&5 2992 sed 's/^/| /' conftest.$ac_ext >&5 2993 2994 # Passes both tests. 2995 ac_preproc_ok=: 2996 break 2997 fi 2998 2999 rm -f conftest.err conftest.$ac_ext 3000 3001 done 3002 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3003 rm -f conftest.err conftest.$ac_ext 3004 if $ac_preproc_ok; then 3005 : 3006 else 3007 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3008 See \`config.log' for more details." >&5 3009 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3010 See \`config.log' for more details." >&2;} 3011 { (exit 1); exit 1; }; } 3012 fi 3013 3014 ac_ext=c 3015 ac_cpp='$CPP $CPPFLAGS' 3016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3018 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3019 3020 3021 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3022 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3023 if test "${ac_cv_path_GREP+set}" = set; then 3024 echo $ECHO_N "(cached) $ECHO_C" >&6 3025 else 3026 # Extract the first word of "grep ggrep" to use in msg output 3027 if test -z "$GREP"; then 3028 set dummy grep ggrep; ac_prog_name=$2 3029 if test "${ac_cv_path_GREP+set}" = set; then 3030 echo $ECHO_N "(cached) $ECHO_C" >&6 3031 else 3032 ac_path_GREP_found=false 3033 # Loop through the user's path and test for each of PROGNAME-LIST 3034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3035 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3036 do 3037 IFS=$as_save_IFS 3038 test -z "$as_dir" && as_dir=. 3039 for ac_prog in grep ggrep; do 3040 for ac_exec_ext in '' $ac_executable_extensions; do 3041 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3042 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3043 # Check for GNU ac_path_GREP and select it if it is found. 3044 # Check for GNU $ac_path_GREP 3045 case `"$ac_path_GREP" --version 2>&1` in 3046 *GNU*) 3047 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3048 *) 3049 ac_count=0 3050 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3051 while : 3052 do 3053 cat "conftest.in" "conftest.in" >"conftest.tmp" 3054 mv "conftest.tmp" "conftest.in" 3055 cp "conftest.in" "conftest.nl" 3056 echo 'GREP' >> "conftest.nl" 3057 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3058 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3059 ac_count=`expr $ac_count + 1` 3060 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3061 # Best one so far, save it but keep looking for a better one 3062 ac_cv_path_GREP="$ac_path_GREP" 3063 ac_path_GREP_max=$ac_count 3064 fi 3065 # 10*(2^10) chars as input seems more than enough 3066 test $ac_count -gt 10 && break 3067 done 3068 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3069 esac 3070 3071 3072 $ac_path_GREP_found && break 3 3073 done 3074 done 3075 3076 done 3077 IFS=$as_save_IFS 3078 3079 3080 fi 3081 3082 GREP="$ac_cv_path_GREP" 3083 if test -z "$GREP"; then 3084 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3085 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3086 { (exit 1); exit 1; }; } 3087 fi 3088 3089 else 3090 ac_cv_path_GREP=$GREP 3091 fi 3092 3093 3094 fi 3095 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3096 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3097 GREP="$ac_cv_path_GREP" 3098 3099 3100 { echo "$as_me:$LINENO: checking for egrep" >&5 3101 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3102 if test "${ac_cv_path_EGREP+set}" = set; then 3103 echo $ECHO_N "(cached) $ECHO_C" >&6 3104 else 3105 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3106 then ac_cv_path_EGREP="$GREP -E" 3107 else 3108 # Extract the first word of "egrep" to use in msg output 3109 if test -z "$EGREP"; then 3110 set dummy egrep; ac_prog_name=$2 3111 if test "${ac_cv_path_EGREP+set}" = set; then 3112 echo $ECHO_N "(cached) $ECHO_C" >&6 3113 else 3114 ac_path_EGREP_found=false 3115 # Loop through the user's path and test for each of PROGNAME-LIST 3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3117 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3118 do 3119 IFS=$as_save_IFS 3120 test -z "$as_dir" && as_dir=. 3121 for ac_prog in egrep; do 3122 for ac_exec_ext in '' $ac_executable_extensions; do 3123 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3124 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3125 # Check for GNU ac_path_EGREP and select it if it is found. 3126 # Check for GNU $ac_path_EGREP 3127 case `"$ac_path_EGREP" --version 2>&1` in 3128 *GNU*) 3129 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3130 *) 3131 ac_count=0 3132 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3133 while : 3134 do 3135 cat "conftest.in" "conftest.in" >"conftest.tmp" 3136 mv "conftest.tmp" "conftest.in" 3137 cp "conftest.in" "conftest.nl" 3138 echo 'EGREP' >> "conftest.nl" 3139 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3140 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3141 ac_count=`expr $ac_count + 1` 3142 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3143 # Best one so far, save it but keep looking for a better one 3144 ac_cv_path_EGREP="$ac_path_EGREP" 3145 ac_path_EGREP_max=$ac_count 3146 fi 3147 # 10*(2^10) chars as input seems more than enough 3148 test $ac_count -gt 10 && break 3149 done 3150 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3151 esac 3152 3153 3154 $ac_path_EGREP_found && break 3 3155 done 3156 done 3157 3158 done 3159 IFS=$as_save_IFS 3160 3161 3162 fi 3163 3164 EGREP="$ac_cv_path_EGREP" 3165 if test -z "$EGREP"; then 3166 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3167 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3168 { (exit 1); exit 1; }; } 3169 fi 3170 3171 else 3172 ac_cv_path_EGREP=$EGREP 3173 fi 3174 3175 3176 fi 3177 fi 3178 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3179 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3180 EGREP="$ac_cv_path_EGREP" 3181 3182 3183 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3184 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3185 if test "${ac_cv_header_stdc+set}" = set; then 3186 echo $ECHO_N "(cached) $ECHO_C" >&6 3187 else 3188 cat >conftest.$ac_ext <<_ACEOF 3189 /* confdefs.h. */ 3190 _ACEOF 3191 cat confdefs.h >>conftest.$ac_ext 3192 cat >>conftest.$ac_ext <<_ACEOF 3193 /* end confdefs.h. */ 3194 #include <stdlib.h> 3195 #include <stdarg.h> 3196 #include <string.h> 3197 #include <float.h> 3198 3199 int 3200 main () 3201 { 3202 3203 ; 3204 return 0; 3205 } 3206 _ACEOF 3207 rm -f conftest.$ac_objext 3208 if { (ac_try="$ac_compile" 3209 case "(($ac_try" in 3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3211 *) ac_try_echo=$ac_try;; 3212 esac 3213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3214 (eval "$ac_compile") 2>conftest.er1 3215 ac_status=$? 3216 grep -v '^ *+' conftest.er1 >conftest.err 3217 rm -f conftest.er1 3218 cat conftest.err >&5 3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3220 (exit $ac_status); } && { 3221 test -z "$ac_c_werror_flag" || 3222 test ! -s conftest.err 3223 } && test -s conftest.$ac_objext; then 3224 ac_cv_header_stdc=yes 3225 else 3226 echo "$as_me: failed program was:" >&5 3227 sed 's/^/| /' conftest.$ac_ext >&5 3228 3229 ac_cv_header_stdc=no 3230 fi 3231 3232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3233 3234 if test $ac_cv_header_stdc = yes; then 3235 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3236 cat >conftest.$ac_ext <<_ACEOF 3237 /* confdefs.h. */ 3238 _ACEOF 3239 cat confdefs.h >>conftest.$ac_ext 3240 cat >>conftest.$ac_ext <<_ACEOF 3241 /* end confdefs.h. */ 3242 #include <string.h> 3243 3244 _ACEOF 3245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3246 $EGREP "memchr" >/dev/null 2>&1; then 3247 : 3248 else 3249 ac_cv_header_stdc=no 3250 fi 3251 rm -f conftest* 3252 3253 fi 3254 3255 if test $ac_cv_header_stdc = yes; then 3256 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3257 cat >conftest.$ac_ext <<_ACEOF 3258 /* confdefs.h. */ 3259 _ACEOF 3260 cat confdefs.h >>conftest.$ac_ext 3261 cat >>conftest.$ac_ext <<_ACEOF 3262 /* end confdefs.h. */ 3263 #include <stdlib.h> 3264 3265 _ACEOF 3266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3267 $EGREP "free" >/dev/null 2>&1; then 3268 : 3269 else 3270 ac_cv_header_stdc=no 3271 fi 3272 rm -f conftest* 3273 3274 fi 3275 3276 if test $ac_cv_header_stdc = yes; then 3277 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3278 if test "$cross_compiling" = yes; then 3279 : 3280 else 3281 cat >conftest.$ac_ext <<_ACEOF 3282 /* confdefs.h. */ 3283 _ACEOF 3284 cat confdefs.h >>conftest.$ac_ext 3285 cat >>conftest.$ac_ext <<_ACEOF 3286 /* end confdefs.h. */ 3287 #include <ctype.h> 3288 #include <stdlib.h> 3289 #if ((' ' & 0x0FF) == 0x020) 3290 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3291 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3292 #else 3293 # define ISLOWER(c) \ 3294 (('a' <= (c) && (c) <= 'i') \ 3295 || ('j' <= (c) && (c) <= 'r') \ 3296 || ('s' <= (c) && (c) <= 'z')) 3297 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3298 #endif 3299 3300 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3301 int 3302 main () 3303 { 3304 int i; 3305 for (i = 0; i < 256; i++) 3306 if (XOR (islower (i), ISLOWER (i)) 3307 || toupper (i) != TOUPPER (i)) 3308 return 2; 3309 return 0; 3310 } 3311 _ACEOF 3312 rm -f conftest$ac_exeext 3313 if { (ac_try="$ac_link" 3314 case "(($ac_try" in 3315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3316 *) ac_try_echo=$ac_try;; 3317 esac 3318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3319 (eval "$ac_link") 2>&5 3320 ac_status=$? 3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3322 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3323 { (case "(($ac_try" in 3324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3325 *) ac_try_echo=$ac_try;; 3326 esac 3327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3328 (eval "$ac_try") 2>&5 3329 ac_status=$? 3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3331 (exit $ac_status); }; }; then 3332 : 3333 else 3334 echo "$as_me: program exited with status $ac_status" >&5 3335 echo "$as_me: failed program was:" >&5 3336 sed 's/^/| /' conftest.$ac_ext >&5 3337 3338 ( exit $ac_status ) 3339 ac_cv_header_stdc=no 3340 fi 3341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3342 fi 3343 3344 3345 fi 3346 fi 3347 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3348 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3349 if test $ac_cv_header_stdc = yes; then 3350 3351 cat >>confdefs.h <<\_ACEOF 3352 #define STDC_HEADERS 1 3353 _ACEOF 3354 3355 fi 3356 3357 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3368 inttypes.h stdint.h unistd.h 3369 do 3370 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3371 { echo "$as_me:$LINENO: checking for $ac_header" >&5 3372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 3373 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3374 echo $ECHO_N "(cached) $ECHO_C" >&6 3375 else 3376 cat >conftest.$ac_ext <<_ACEOF 3377 /* confdefs.h. */ 3378 _ACEOF 3379 cat confdefs.h >>conftest.$ac_ext 3380 cat >>conftest.$ac_ext <<_ACEOF 3381 /* end confdefs.h. */ 3382 $ac_includes_default 3383 3384 #include <$ac_header> 3385 _ACEOF 3386 rm -f conftest.$ac_objext 3387 if { (ac_try="$ac_compile" 3388 case "(($ac_try" in 3389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3390 *) ac_try_echo=$ac_try;; 3391 esac 3392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3393 (eval "$ac_compile") 2>conftest.er1 3394 ac_status=$? 3395 grep -v '^ *+' conftest.er1 >conftest.err 3396 rm -f conftest.er1 3397 cat conftest.err >&5 3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3399 (exit $ac_status); } && { 3400 test -z "$ac_c_werror_flag" || 3401 test ! -s conftest.err 3402 } && test -s conftest.$ac_objext; then 3403 eval "$as_ac_Header=yes" 3404 else 3405 echo "$as_me: failed program was:" >&5 3406 sed 's/^/| /' conftest.$ac_ext >&5 3407 3408 eval "$as_ac_Header=no" 3409 fi 3410 3411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3412 fi 3413 ac_res=`eval echo '${'$as_ac_Header'}'` 3414 { echo "$as_me:$LINENO: result: $ac_res" >&5 3415 echo "${ECHO_T}$ac_res" >&6; } 3416 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3417 cat >>confdefs.h <<_ACEOF 3418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3419 _ACEOF 3420 3421 fi 3422 3423 done 3424 3425 3426 3427 3428 # Step 0.a: Enable 64 bit support? 3429 3430 { echo "$as_me:$LINENO: checking if 64bit support is requested" >&5 3431 echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; } 3432 # Check whether --enable-64bit was given. 3433 if test "${enable_64bit+set}" = set; then 3434 enableval=$enable_64bit; do64bit=$enableval 3435 else 3436 do64bit=no 3437 fi 3438 3439 { echo "$as_me:$LINENO: result: $do64bit" >&5 3440 echo "${ECHO_T}$do64bit" >&6; } 3441 3442 # Step 0.b: Enable Solaris 64 bit VIS support? 3443 3444 { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5 3445 echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; } 3446 # Check whether --enable-64bit-vis was given. 3447 if test "${enable_64bit_vis+set}" = set; then 3448 enableval=$enable_64bit_vis; do64bitVIS=$enableval 3449 else 3450 do64bitVIS=no 3451 fi 3452 3453 { echo "$as_me:$LINENO: result: $do64bitVIS" >&5 3454 echo "${ECHO_T}$do64bitVIS" >&6; } 3455 3456 if test "$do64bitVIS" = "yes"; then 3457 # Force 64bit on with VIS 3458 do64bit=yes 3459 fi 3460 3461 # Step 1: set the variable "system" to hold the name and version number 3462 # for the system. 3463 3464 3465 { echo "$as_me:$LINENO: checking system version" >&5 3466 echo $ECHO_N "checking system version... $ECHO_C" >&6; } 3467 if test "${tcl_cv_sys_version+set}" = set; then 3468 echo $ECHO_N "(cached) $ECHO_C" >&6 3469 else 3470 3471 if test -f /usr/lib/NextStep/software_version; then 3472 tcl_cv_sys_version=NEXTSTEP-`awk '/3/,/3/' /usr/lib/NextStep/software_version` 3473 else 3474 tcl_cv_sys_version=`uname -s`-`uname -r` 3475 if test "$?" -ne 0 ; then 3476 { echo "$as_me:$LINENO: WARNING: can't find uname command" >&5 3477 echo "$as_me: WARNING: can't find uname command" >&2;} 3478 tcl_cv_sys_version=unknown 3479 else 3480 # Special check for weird MP-RAS system (uname returns weird 3481 # results, and the version is kept in special file). 3482 3483 if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then 3484 tcl_cv_sys_version=MP-RAS-`awk '{print $3}' /etc/.relid` 3485 fi 3486 if test "`uname -s`" = "AIX" ; then 3487 tcl_cv_sys_version=AIX-`uname -v`.`uname -r` 3488 fi 3489 fi 3490 fi 3491 3492 fi 3493 { echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5 3494 echo "${ECHO_T}$tcl_cv_sys_version" >&6; } 3495 system=$tcl_cv_sys_version 3496 3497 3498 # Step 2: check for existence of -ldl library. This is needed because 3499 # Linux can use either -ldl or -ldld for dynamic loading. 3500 3501 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 3502 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 3503 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 3504 echo $ECHO_N "(cached) $ECHO_C" >&6 3505 else 3506 ac_check_lib_save_LIBS=$LIBS 3507 LIBS="-ldl $LIBS" 3508 cat >conftest.$ac_ext <<_ACEOF 3509 /* confdefs.h. */ 3510 _ACEOF 3511 cat confdefs.h >>conftest.$ac_ext 3512 cat >>conftest.$ac_ext <<_ACEOF 3513 /* end confdefs.h. */ 3514 3515 /* Override any GCC internal prototype to avoid an error. 3516 Use char because int might match the return type of a GCC 3517 builtin and then its argument prototype would still apply. */ 3518 #ifdef __cplusplus 3519 extern "C" 3520 #endif 3521 char dlopen (); 3522 int 3523 main () 3524 { 3525 return dlopen (); 3526 ; 3527 return 0; 3528 } 3529 _ACEOF 3530 rm -f conftest.$ac_objext conftest$ac_exeext 3531 if { (ac_try="$ac_link" 3532 case "(($ac_try" in 3533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3534 *) ac_try_echo=$ac_try;; 3535 esac 3536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3537 (eval "$ac_link") 2>conftest.er1 3538 ac_status=$? 3539 grep -v '^ *+' conftest.er1 >conftest.err 3540 rm -f conftest.er1 3541 cat conftest.err >&5 3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3543 (exit $ac_status); } && { 3544 test -z "$ac_c_werror_flag" || 3545 test ! -s conftest.err 3546 } && test -s conftest$ac_exeext && 3547 $as_test_x conftest$ac_exeext; then 3548 ac_cv_lib_dl_dlopen=yes 3549 else 3550 echo "$as_me: failed program was:" >&5 3551 sed 's/^/| /' conftest.$ac_ext >&5 3552 3553 ac_cv_lib_dl_dlopen=no 3554 fi 3555 3556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3557 conftest$ac_exeext conftest.$ac_ext 3558 LIBS=$ac_check_lib_save_LIBS 3559 fi 3560 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 3561 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 3562 if test $ac_cv_lib_dl_dlopen = yes; then 3563 have_dl=yes 3564 else 3565 have_dl=no 3566 fi 3567 3568 3569 # Require ranlib early so we can override it in special cases below. 3570 3571 3572 3573 # Step 3: set configuration options based on system name and version. 3574 3575 do64bit_ok=no 3576 LDFLAGS_ORIG="$LDFLAGS" 3577 TCL_EXPORT_FILE_SUFFIX="" 3578 UNSHARED_LIB_SUFFIX="" 3579 TCL_TRIM_DOTS='`echo ${VERSION} | tr -d .`' 3580 ECHO_VERSION='`echo ${VERSION}`' 3581 TCL_LIB_VERSIONS_OK=ok 3582 CFLAGS_DEBUG=-g 3583 CFLAGS_OPTIMIZE=-O 3584 if test "$GCC" = "yes" ; then 3585 CFLAGS_WARNING="-Wall -Wno-implicit-int -fno-strict-aliasing" 3586 else 3587 CFLAGS_WARNING="" 3588 fi 3589 TCL_NEEDS_EXP_FILE=0 3590 TCL_BUILD_EXP_FILE="" 3591 TCL_EXP_FILE="" 3592 # Extract the first word of "ar", so it can be a program name with args. 3593 set dummy ar; ac_word=$2 3594 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3596 if test "${ac_cv_prog_AR+set}" = set; then 3597 echo $ECHO_N "(cached) $ECHO_C" >&6 3598 else 3599 if test -n "$AR"; then 3600 ac_cv_prog_AR="$AR" # Let the user override the test. 3601 else 3602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3603 for as_dir in $PATH 3604 do 3605 IFS=$as_save_IFS 3606 test -z "$as_dir" && as_dir=. 3607 for ac_exec_ext in '' $ac_executable_extensions; do 3608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3609 ac_cv_prog_AR="ar" 3610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3611 break 2 3612 fi 3613 done 3614 done 3615 IFS=$as_save_IFS 3616 3617 fi 3618 fi 3619 AR=$ac_cv_prog_AR 3620 if test -n "$AR"; then 3621 { echo "$as_me:$LINENO: result: $AR" >&5 3622 echo "${ECHO_T}$AR" >&6; } 3623 else 3624 { echo "$as_me:$LINENO: result: no" >&5 3625 echo "${ECHO_T}no" >&6; } 3626 fi 3627 3628 3629 if test "${AR}" = "" ; then 3630 { { echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 3631 echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 3632 { (exit 1); exit 1; }; } 3633 fi 3634 STLIB_LD='${AR} cr' 3635 LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH" 3636 PLAT_OBJS="" 3637 PLAT_SRCS="" 3638 case $system in 3639 AIX-*) 3640 if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes" ; then 3641 # AIX requires the _r compiler when gcc isn't being used 3642 case "${CC}" in 3643 *_r) 3644 # ok ... 3645 ;; 3646 *) 3647 CC=${CC}_r 3648 ;; 3649 esac 3650 { echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5 3651 echo "${ECHO_T}Using $CC for compiling with threads" >&6; } 3652 fi 3653 LIBS="$LIBS -lc" 3654 SHLIB_CFLAGS="" 3655 # Note: need the LIBS below, otherwise Tk won't find Tcl's 3656 # symbols when dynamically loaded into tclsh. 3657 SHLIB_LD_LIBS='${LIBS}' 3658 SHLIB_SUFFIX=".so" 3659 3660 DL_OBJS="tclLoadDl.o" 3661 LD_LIBRARY_PATH_VAR="LIBPATH" 3662 3663 # Check to enable 64-bit flags for compiler/linker on AIX 4+ 3664 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 3665 if test "$GCC" = "yes" ; then 3666 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 3667 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 3668 else 3669 do64bit_ok=yes 3670 CFLAGS="$CFLAGS -q64" 3671 LDFLAGS="$LDFLAGS -q64" 3672 RANLIB="${RANLIB} -X64" 3673 AR="${AR} -X64" 3674 SHLIB_LD_FLAGS="-b64" 3675 fi 3676 fi 3677 3678 if test "`uname -m`" = "ia64" ; then 3679 # AIX-5 uses ELF style dynamic libraries on IA-64, but not PPC 3680 SHLIB_LD="/usr/ccs/bin/ld -G -z text" 3681 # AIX-5 has dl* in libc.so 3682 DL_LIBS="" 3683 if test "$GCC" = "yes" ; then 3684 CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' 3685 else 3686 CC_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}' 3687 fi 3688 LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' 3689 else 3690 if test "$GCC" = "yes" ; then 3691 SHLIB_LD="gcc -shared" 3692 else 3693 SHLIB_LD="/bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry" 3694 fi 3695 SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix ${SHLIB_LD} ${SHLIB_LD_FLAGS}" 3696 DL_LIBS="-ldl" 3697 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' 3698 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 3699 TCL_NEEDS_EXP_FILE=1 3700 TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.exp' 3701 fi 3702 3703 # AIX v<=4.1 has some different flags than 4.2+ 3704 if test "$system" = "AIX-4.1" -o "`uname -v`" -lt "4" ; then 3705 LIBOBJS="$LIBOBJS tclLoadAix.o" 3706 DL_LIBS="-lld" 3707 fi 3708 3709 # On AIX <=v4 systems, libbsd.a has to be linked in to support 3710 # non-blocking file IO. This library has to be linked in after 3711 # the MATH_LIBS or it breaks the pow() function. The way to 3712 # insure proper sequencing, is to add it to the tail of MATH_LIBS. 3713 # This library also supplies gettimeofday. 3714 # 3715 # AIX does not have a timezone field in struct tm. When the AIX 3716 # bsd library is used, the timezone global and the gettimeofday 3717 # methods are to be avoided for timezone deduction instead, we 3718 # deduce the timezone by comparing the localtime result on a 3719 # known GMT value. 3720 3721 { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5 3722 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; } 3723 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 3724 echo $ECHO_N "(cached) $ECHO_C" >&6 3725 else 3726 ac_check_lib_save_LIBS=$LIBS 3727 LIBS="-lbsd $LIBS" 3728 cat >conftest.$ac_ext <<_ACEOF 3729 /* confdefs.h. */ 3730 _ACEOF 3731 cat confdefs.h >>conftest.$ac_ext 3732 cat >>conftest.$ac_ext <<_ACEOF 3733 /* end confdefs.h. */ 3734 3735 /* Override any GCC internal prototype to avoid an error. 3736 Use char because int might match the return type of a GCC 3737 builtin and then its argument prototype would still apply. */ 3738 #ifdef __cplusplus 3739 extern "C" 3740 #endif 3741 char gettimeofday (); 3742 int 3743 main () 3744 { 3745 return gettimeofday (); 3746 ; 3747 return 0; 3748 } 3749 _ACEOF 3750 rm -f conftest.$ac_objext conftest$ac_exeext 3751 if { (ac_try="$ac_link" 3752 case "(($ac_try" in 3753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3754 *) ac_try_echo=$ac_try;; 3755 esac 3756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3757 (eval "$ac_link") 2>conftest.er1 3758 ac_status=$? 3759 grep -v '^ *+' conftest.er1 >conftest.err 3760 rm -f conftest.er1 3761 cat conftest.err >&5 3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3763 (exit $ac_status); } && { 3764 test -z "$ac_c_werror_flag" || 3765 test ! -s conftest.err 3766 } && test -s conftest$ac_exeext && 3767 $as_test_x conftest$ac_exeext; then 3768 ac_cv_lib_bsd_gettimeofday=yes 3769 else 3770 echo "$as_me: failed program was:" >&5 3771 sed 's/^/| /' conftest.$ac_ext >&5 3772 3773 ac_cv_lib_bsd_gettimeofday=no 3774 fi 3775 3776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3777 conftest$ac_exeext conftest.$ac_ext 3778 LIBS=$ac_check_lib_save_LIBS 3779 fi 3780 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5 3781 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; } 3782 if test $ac_cv_lib_bsd_gettimeofday = yes; then 3783 libbsd=yes 3784 else 3785 libbsd=no 3786 fi 3787 3788 if test $libbsd = yes; then 3789 MATH_LIBS="$MATH_LIBS -lbsd" 3790 cat >>confdefs.h <<\_ACEOF 3791 #define USE_DELTA_FOR_TZ 1 3792 _ACEOF 3793 3794 fi 3795 ;; 3796 BeOS*) 3797 SHLIB_CFLAGS="-fPIC" 3798 SHLIB_LD="${CC} -nostart" 3799 SHLIB_LD_LIBS='${LIBS}' 3800 SHLIB_SUFFIX=".so" 3801 DL_OBJS="tclLoadDl.o" 3802 DL_LIBS="-ldl" 3803 3804 #----------------------------------------------------------- 3805 # Check for inet_ntoa in -lbind, for BeOS (which also needs 3806 # -lsocket, even if the network functions are in -lnet which 3807 # is always linked to, for compatibility. 3808 #----------------------------------------------------------- 3809 { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5 3810 echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; } 3811 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then 3812 echo $ECHO_N "(cached) $ECHO_C" >&6 3813 else 3814 ac_check_lib_save_LIBS=$LIBS 3815 LIBS="-lbind $LIBS" 3816 cat >conftest.$ac_ext <<_ACEOF 3817 /* confdefs.h. */ 3818 _ACEOF 3819 cat confdefs.h >>conftest.$ac_ext 3820 cat >>conftest.$ac_ext <<_ACEOF 3821 /* end confdefs.h. */ 3822 3823 /* Override any GCC internal prototype to avoid an error. 3824 Use char because int might match the return type of a GCC 3825 builtin and then its argument prototype would still apply. */ 3826 #ifdef __cplusplus 3827 extern "C" 3828 #endif 3829 char inet_ntoa (); 3830 int 3831 main () 3832 { 3833 return inet_ntoa (); 3834 ; 3835 return 0; 3836 } 3837 _ACEOF 3838 rm -f conftest.$ac_objext conftest$ac_exeext 3839 if { (ac_try="$ac_link" 3840 case "(($ac_try" in 3841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3842 *) ac_try_echo=$ac_try;; 3843 esac 3844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3845 (eval "$ac_link") 2>conftest.er1 3846 ac_status=$? 3847 grep -v '^ *+' conftest.er1 >conftest.err 3848 rm -f conftest.er1 3849 cat conftest.err >&5 3850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3851 (exit $ac_status); } && { 3852 test -z "$ac_c_werror_flag" || 3853 test ! -s conftest.err 3854 } && test -s conftest$ac_exeext && 3855 $as_test_x conftest$ac_exeext; then 3856 ac_cv_lib_bind_inet_ntoa=yes 3857 else 3858 echo "$as_me: failed program was:" >&5 3859 sed 's/^/| /' conftest.$ac_ext >&5 3860 3861 ac_cv_lib_bind_inet_ntoa=no 3862 fi 3863 3864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3865 conftest$ac_exeext conftest.$ac_ext 3866 LIBS=$ac_check_lib_save_LIBS 3867 fi 3868 { echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5 3869 echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; } 3870 if test $ac_cv_lib_bind_inet_ntoa = yes; then 3871 LIBS="$LIBS -lbind -lsocket" 3872 fi 3873 3874 ;; 3875 BSD/OS-2.1*|BSD/OS-3*) 3876 SHLIB_CFLAGS="" 3877 SHLIB_LD="shlicc -r" 3878 SHLIB_LD_LIBS='${LIBS}' 3879 SHLIB_SUFFIX=".so" 3880 DL_OBJS="tclLoadDl.o" 3881 DL_LIBS="-ldl" 3882 CC_SEARCH_FLAGS="" 3883 LD_SEARCH_FLAGS="" 3884 ;; 3885 BSD/OS-4.*) 3886 SHLIB_CFLAGS="-export-dynamic -fPIC" 3887 SHLIB_LD="cc -shared" 3888 SHLIB_LD_LIBS='${LIBS}' 3889 SHLIB_SUFFIX=".so" 3890 DL_OBJS="tclLoadDl.o" 3891 DL_LIBS="-ldl" 3892 LDFLAGS="$LDFLAGS -export-dynamic" 3893 CC_SEARCH_FLAGS="" 3894 LD_SEARCH_FLAGS="" 3895 ;; 3896 dgux*) 3897 SHLIB_CFLAGS="-K PIC" 3898 SHLIB_LD="cc -G" 3899 SHLIB_LD_LIBS="" 3900 SHLIB_SUFFIX=".so" 3901 DL_OBJS="tclLoadDl.o" 3902 DL_LIBS="-ldl" 3903 CC_SEARCH_FLAGS="" 3904 LD_SEARCH_FLAGS="" 3905 ;; 3906 HP-UX-*.11.*) 3907 # Use updated header definitions where possible 3908 cat >>confdefs.h <<\_ACEOF 3909 #define _XOPEN_SOURCE 1 3910 _ACEOF 3911 # Use the XOPEN network library 3912 cat >>confdefs.h <<\_ACEOF 3913 #define _XOPEN_SOURCE_EXTENDED 1 3914 _ACEOF 3915 # Use the XOPEN network library 3916 LIBS="$LIBS -lxnet" # Use the XOPEN network library 3917 3918 if test "`uname -m`" = "ia64" ; then 3919 SHLIB_SUFFIX=".so" 3920 else 3921 SHLIB_SUFFIX=".sl" 3922 fi 3923 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 3924 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } 3925 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 3926 echo $ECHO_N "(cached) $ECHO_C" >&6 3927 else 3928 ac_check_lib_save_LIBS=$LIBS 3929 LIBS="-ldld $LIBS" 3930 cat >conftest.$ac_ext <<_ACEOF 3931 /* confdefs.h. */ 3932 _ACEOF 3933 cat confdefs.h >>conftest.$ac_ext 3934 cat >>conftest.$ac_ext <<_ACEOF 3935 /* end confdefs.h. */ 3936 3937 /* Override any GCC internal prototype to avoid an error. 3938 Use char because int might match the return type of a GCC 3939 builtin and then its argument prototype would still apply. */ 3940 #ifdef __cplusplus 3941 extern "C" 3942 #endif 3943 char shl_load (); 3944 int 3945 main () 3946 { 3947 return shl_load (); 3948 ; 3949 return 0; 3950 } 3951 _ACEOF 3952 rm -f conftest.$ac_objext conftest$ac_exeext 3953 if { (ac_try="$ac_link" 3954 case "(($ac_try" in 3955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3956 *) ac_try_echo=$ac_try;; 3957 esac 3958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3959 (eval "$ac_link") 2>conftest.er1 3960 ac_status=$? 3961 grep -v '^ *+' conftest.er1 >conftest.err 3962 rm -f conftest.er1 3963 cat conftest.err >&5 3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3965 (exit $ac_status); } && { 3966 test -z "$ac_c_werror_flag" || 3967 test ! -s conftest.err 3968 } && test -s conftest$ac_exeext && 3969 $as_test_x conftest$ac_exeext; then 3970 ac_cv_lib_dld_shl_load=yes 3971 else 3972 echo "$as_me: failed program was:" >&5 3973 sed 's/^/| /' conftest.$ac_ext >&5 3974 3975 ac_cv_lib_dld_shl_load=no 3976 fi 3977 3978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3979 conftest$ac_exeext conftest.$ac_ext 3980 LIBS=$ac_check_lib_save_LIBS 3981 fi 3982 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 3983 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } 3984 if test $ac_cv_lib_dld_shl_load = yes; then 3985 tcl_ok=yes 3986 else 3987 tcl_ok=no 3988 fi 3989 3990 if test "$tcl_ok" = yes; then 3991 SHLIB_CFLAGS="+z" 3992 SHLIB_LD="ld -b" 3993 SHLIB_LD_LIBS='${LIBS}' 3994 DL_OBJS="tclLoadShl.o" 3995 DL_LIBS="-ldld" 3996 LDFLAGS="$LDFLAGS -Wl,-E" 3997 CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.' 3998 LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.' 3999 LD_LIBRARY_PATH_VAR="SHLIB_PATH" 4000 fi 4001 if test "$GCC" = "yes" ; then 4002 SHLIB_LD="gcc -shared" 4003 SHLIB_LD_LIBS='${LIBS}' 4004 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4005 fi 4006 4007 # Users may want PA-RISC 1.1/2.0 portable code - needs HP cc 4008 #CFLAGS="$CFLAGS +DAportable" 4009 4010 # Check to enable 64-bit flags for compiler/linker 4011 if test "$do64bit" = "yes" ; then 4012 if test "$GCC" = "yes" ; then 4013 hpux_arch=`${CC} -dumpmachine` 4014 case $hpux_arch in 4015 hppa64*) 4016 # 64-bit gcc in use. Fix flags for GNU ld. 4017 do64bit_ok=yes 4018 SHLIB_LD="${CC} -shared" 4019 SHLIB_LD_LIBS='${LIBS}' 4020 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4021 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4022 ;; 4023 *) 4024 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 4025 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4026 ;; 4027 esac 4028 else 4029 do64bit_ok=yes 4030 CFLAGS="$CFLAGS +DD64" 4031 LDFLAGS="$LDFLAGS +DD64" 4032 fi 4033 fi 4034 ;; 4035 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 4036 SHLIB_SUFFIX=".sl" 4037 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 4038 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } 4039 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4040 echo $ECHO_N "(cached) $ECHO_C" >&6 4041 else 4042 ac_check_lib_save_LIBS=$LIBS 4043 LIBS="-ldld $LIBS" 4044 cat >conftest.$ac_ext <<_ACEOF 4045 /* confdefs.h. */ 4046 _ACEOF 4047 cat confdefs.h >>conftest.$ac_ext 4048 cat >>conftest.$ac_ext <<_ACEOF 4049 /* end confdefs.h. */ 4050 4051 /* Override any GCC internal prototype to avoid an error. 4052 Use char because int might match the return type of a GCC 4053 builtin and then its argument prototype would still apply. */ 4054 #ifdef __cplusplus 4055 extern "C" 4056 #endif 4057 char shl_load (); 4058 int 4059 main () 4060 { 4061 return shl_load (); 4062 ; 4063 return 0; 4064 } 4065 _ACEOF 4066 rm -f conftest.$ac_objext conftest$ac_exeext 4067 if { (ac_try="$ac_link" 4068 case "(($ac_try" in 4069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4070 *) ac_try_echo=$ac_try;; 4071 esac 4072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4073 (eval "$ac_link") 2>conftest.er1 4074 ac_status=$? 4075 grep -v '^ *+' conftest.er1 >conftest.err 4076 rm -f conftest.er1 4077 cat conftest.err >&5 4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4079 (exit $ac_status); } && { 4080 test -z "$ac_c_werror_flag" || 4081 test ! -s conftest.err 4082 } && test -s conftest$ac_exeext && 4083 $as_test_x conftest$ac_exeext; then 4084 ac_cv_lib_dld_shl_load=yes 4085 else 4086 echo "$as_me: failed program was:" >&5 4087 sed 's/^/| /' conftest.$ac_ext >&5 4088 4089 ac_cv_lib_dld_shl_load=no 4090 fi 4091 4092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4093 conftest$ac_exeext conftest.$ac_ext 4094 LIBS=$ac_check_lib_save_LIBS 4095 fi 4096 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 4097 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } 4098 if test $ac_cv_lib_dld_shl_load = yes; then 4099 tcl_ok=yes 4100 else 4101 tcl_ok=no 4102 fi 4103 4104 if test "$tcl_ok" = yes; then 4105 SHLIB_CFLAGS="+z" 4106 SHLIB_LD="ld -b" 4107 SHLIB_LD_LIBS="" 4108 DL_OBJS="tclLoadShl.o" 4109 DL_LIBS="-ldld" 4110 LDFLAGS="$LDFLAGS -Wl,-E" 4111 CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.' 4112 LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.' 4113 LD_LIBRARY_PATH_VAR="SHLIB_PATH" 4114 fi 4115 ;; 4116 IRIX-4.*) 4117 SHLIB_CFLAGS="-G 0" 4118 SHLIB_SUFFIX=".a" 4119 SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0" 4120 SHLIB_LD_LIBS='${LIBS}' 4121 DL_OBJS="tclLoadAout.o" 4122 DL_LIBS="" 4123 LDFLAGS="$LDFLAGS -Wl,-D,08000000" 4124 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' 4125 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4126 SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a' 4127 ;; 4128 IRIX-5.*) 4129 SHLIB_CFLAGS="" 4130 SHLIB_LD="ld -shared -rdata_shared" 4131 SHLIB_LD_LIBS='${LIBS}' 4132 SHLIB_SUFFIX=".so" 4133 DL_OBJS="tclLoadDl.o" 4134 DL_LIBS="" 4135 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4136 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 4137 ;; 4138 IRIX-6.*) 4139 SHLIB_CFLAGS="" 4140 SHLIB_LD="ld -n32 -shared -rdata_shared" 4141 SHLIB_LD_LIBS='${LIBS}' 4142 SHLIB_SUFFIX=".so" 4143 DL_OBJS="tclLoadDl.o" 4144 DL_LIBS="" 4145 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4146 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 4147 if test "$GCC" = "yes" ; then 4148 CFLAGS="$CFLAGS -mabi=n32" 4149 LDFLAGS="$LDFLAGS -mabi=n32" 4150 else 4151 case $system in 4152 IRIX-6.3) 4153 # Use to build 6.2 compatible binaries on 6.3. 4154 CFLAGS="$CFLAGS -n32 -D_OLD_TERMIOS" 4155 ;; 4156 *) 4157 CFLAGS="$CFLAGS -n32" 4158 ;; 4159 esac 4160 LDFLAGS="$LDFLAGS -n32" 4161 fi 4162 ;; 4163 IRIX64-6.*) 4164 SHLIB_CFLAGS="" 4165 SHLIB_LD="ld -n32 -shared -rdata_shared" 4166 SHLIB_LD_LIBS='${LIBS}' 4167 SHLIB_SUFFIX=".so" 4168 DL_OBJS="tclLoadDl.o" 4169 DL_LIBS="" 4170 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4171 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 4172 4173 # Check to enable 64-bit flags for compiler/linker 4174 4175 if test "$do64bit" = "yes" ; then 4176 if test "$GCC" = "yes" ; then 4177 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5 4178 echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 4179 else 4180 do64bit_ok=yes 4181 SHLIB_LD="ld -64 -shared -rdata_shared" 4182 CFLAGS="$CFLAGS -64" 4183 LDFLAGS="$LDFLAGS -64" 4184 fi 4185 fi 4186 ;; 4187 Linux*) 4188 SHLIB_CFLAGS="-fPIC" 4189 SHLIB_LD_LIBS='${LIBS}' 4190 SHLIB_SUFFIX=".so" 4191 4192 CFLAGS_OPTIMIZE=-O2 4193 # egcs-2.91.66 on Redhat Linux 6.0 generates lots of warnings 4194 # when you inline the string and math operations. Turn this off to 4195 # get rid of the warnings. 4196 #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES" 4197 4198 if test "$have_dl" = yes; then 4199 SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}' 4200 DL_OBJS="tclLoadDl.o" 4201 DL_LIBS="-ldl" 4202 LDFLAGS="$LDFLAGS -Wl,--export-dynamic" 4203 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4204 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4205 else 4206 if test "${ac_cv_header_dld_h+set}" = set; then 4207 { echo "$as_me:$LINENO: checking for dld.h" >&5 4208 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 4209 if test "${ac_cv_header_dld_h+set}" = set; then 4210 echo $ECHO_N "(cached) $ECHO_C" >&6 4211 fi 4212 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4213 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 4214 else 4215 # Is the header compilable? 4216 { echo "$as_me:$LINENO: checking dld.h usability" >&5 4217 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 4218 cat >conftest.$ac_ext <<_ACEOF 4219 /* confdefs.h. */ 4220 _ACEOF 4221 cat confdefs.h >>conftest.$ac_ext 4222 cat >>conftest.$ac_ext <<_ACEOF 4223 /* end confdefs.h. */ 4224 $ac_includes_default 4225 #include <dld.h> 4226 _ACEOF 4227 rm -f conftest.$ac_objext 4228 if { (ac_try="$ac_compile" 4229 case "(($ac_try" in 4230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4231 *) ac_try_echo=$ac_try;; 4232 esac 4233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4234 (eval "$ac_compile") 2>conftest.er1 4235 ac_status=$? 4236 grep -v '^ *+' conftest.er1 >conftest.err 4237 rm -f conftest.er1 4238 cat conftest.err >&5 4239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4240 (exit $ac_status); } && { 4241 test -z "$ac_c_werror_flag" || 4242 test ! -s conftest.err 4243 } && test -s conftest.$ac_objext; then 4244 ac_header_compiler=yes 4245 else 4246 echo "$as_me: failed program was:" >&5 4247 sed 's/^/| /' conftest.$ac_ext >&5 4248 4249 ac_header_compiler=no 4250 fi 4251 4252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4253 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4254 echo "${ECHO_T}$ac_header_compiler" >&6; } 4255 4256 # Is the header present? 4257 { echo "$as_me:$LINENO: checking dld.h presence" >&5 4258 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 4259 cat >conftest.$ac_ext <<_ACEOF 4260 /* confdefs.h. */ 4261 _ACEOF 4262 cat confdefs.h >>conftest.$ac_ext 4263 cat >>conftest.$ac_ext <<_ACEOF 4264 /* end confdefs.h. */ 4265 #include <dld.h> 4266 _ACEOF 4267 if { (ac_try="$ac_cpp conftest.$ac_ext" 4268 case "(($ac_try" in 4269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4270 *) ac_try_echo=$ac_try;; 4271 esac 4272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4273 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4274 ac_status=$? 4275 grep -v '^ *+' conftest.er1 >conftest.err 4276 rm -f conftest.er1 4277 cat conftest.err >&5 4278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4279 (exit $ac_status); } >/dev/null && { 4280 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4281 test ! -s conftest.err 4282 }; then 4283 ac_header_preproc=yes 4284 else 4285 echo "$as_me: failed program was:" >&5 4286 sed 's/^/| /' conftest.$ac_ext >&5 4287 4288 ac_header_preproc=no 4289 fi 4290 4291 rm -f conftest.err conftest.$ac_ext 4292 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4293 echo "${ECHO_T}$ac_header_preproc" >&6; } 4294 4295 # So? What about this header? 4296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4297 yes:no: ) 4298 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4299 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4300 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4301 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4302 ac_header_preproc=yes 4303 ;; 4304 no:yes:* ) 4305 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4306 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4307 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4308 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4309 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4310 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4311 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4312 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4313 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4314 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4315 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4316 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4317 ( cat <<\_ASBOX 4318 ## ----------------------------------- ## 4319 ## Report this to rappture@nanohub.org ## 4320 ## ----------------------------------- ## 4321 _ASBOX 4322 ) | sed "s/^/$as_me: WARNING: /" >&2 4323 ;; 4324 esac 4325 { echo "$as_me:$LINENO: checking for dld.h" >&5 4326 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 4327 if test "${ac_cv_header_dld_h+set}" = set; then 4328 echo $ECHO_N "(cached) $ECHO_C" >&6 4329 else 4330 ac_cv_header_dld_h=$ac_header_preproc 4331 fi 4332 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4333 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 4334 4335 fi 4336 if test $ac_cv_header_dld_h = yes; then 4337 4338 SHLIB_LD="ld -shared" 4339 DL_OBJS="tclLoadDld.o" 4340 DL_LIBS="-ldld" 4341 CC_SEARCH_FLAGS="" 4342 LD_SEARCH_FLAGS="" 4343 fi 4344 4345 4346 fi 4347 if test "`uname -m`" = "alpha" ; then 4348 CFLAGS="$CFLAGS -mieee" 4349 fi 4350 if test $do64bit = yes; then 4351 { echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5 4352 echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; } 4353 if test "${tcl_cv_cc_m64+set}" = set; then 4354 echo $ECHO_N "(cached) $ECHO_C" >&6 4355 else 4356 4357 hold_cflags=$CFLAGS 4358 CFLAGS="$CFLAGS -m64" 4359 cat >conftest.$ac_ext <<_ACEOF 4360 /* confdefs.h. */ 4361 _ACEOF 4362 cat confdefs.h >>conftest.$ac_ext 4363 cat >>conftest.$ac_ext <<_ACEOF 4364 /* end confdefs.h. */ 4365 4366 int 4367 main () 4368 { 4369 4370 ; 4371 return 0; 4372 } 4373 _ACEOF 4374 rm -f conftest.$ac_objext conftest$ac_exeext 4375 if { (ac_try="$ac_link" 4376 case "(($ac_try" in 4377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4378 *) ac_try_echo=$ac_try;; 4379 esac 4380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4381 (eval "$ac_link") 2>conftest.er1 4382 ac_status=$? 4383 grep -v '^ *+' conftest.er1 >conftest.err 4384 rm -f conftest.er1 4385 cat conftest.err >&5 4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4387 (exit $ac_status); } && { 4388 test -z "$ac_c_werror_flag" || 4389 test ! -s conftest.err 4390 } && test -s conftest$ac_exeext && 4391 $as_test_x conftest$ac_exeext; then 4392 tcl_cv_cc_m64=yes 4393 else 4394 echo "$as_me: failed program was:" >&5 4395 sed 's/^/| /' conftest.$ac_ext >&5 4396 4397 tcl_cv_cc_m64=no 4398 fi 4399 4400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4401 conftest$ac_exeext conftest.$ac_ext 4402 CFLAGS=$hold_cflags 4403 fi 4404 { echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5 4405 echo "${ECHO_T}$tcl_cv_cc_m64" >&6; } 4406 if test $tcl_cv_cc_m64 = yes; then 4407 CFLAGS="$CFLAGS -m64" 4408 do64bit_ok=yes 4409 fi 4410 fi 4411 4412 # The combo of gcc + glibc has a bug related 4413 # to inlining of functions like strtod(). The 4414 # -fno-builtin flag should address this problem 4415 # but it does not work. The -fno-inline flag 4416 # is kind of overkill but it works. 4417 # Disable inlining only when one of the 4418 # files in compat/*.c is being linked in. 4419 if test x"${LIBOBJS}" != x ; then 4420 CFLAGS="$CFLAGS -fno-inline" 4421 fi 4422 4423 # XIM peeking works under XFree86. 4424 cat >>confdefs.h <<\_ACEOF 4425 #define PEEK_XCLOSEIM 1 4426 _ACEOF 4427 4428 4429 ;; 4430 GNU*) 4431 SHLIB_CFLAGS="-fPIC" 4432 SHLIB_LD_LIBS='${LIBS}' 4433 SHLIB_SUFFIX=".so" 4434 4435 if test "$have_dl" = yes; then 4436 SHLIB_LD="${CC} -shared" 4437 DL_OBJS="" 4438 DL_LIBS="-ldl" 4439 LDFLAGS="$LDFLAGS -Wl,--export-dynamic" 4440 CC_SEARCH_FLAGS="" 4441 LD_SEARCH_FLAGS="" 4442 else 4443 if test "${ac_cv_header_dld_h+set}" = set; then 4444 { echo "$as_me:$LINENO: checking for dld.h" >&5 4445 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 4446 if test "${ac_cv_header_dld_h+set}" = set; then 4447 echo $ECHO_N "(cached) $ECHO_C" >&6 4448 fi 4449 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4450 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 4451 else 4452 # Is the header compilable? 4453 { echo "$as_me:$LINENO: checking dld.h usability" >&5 4454 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 4455 cat >conftest.$ac_ext <<_ACEOF 4456 /* confdefs.h. */ 4457 _ACEOF 4458 cat confdefs.h >>conftest.$ac_ext 4459 cat >>conftest.$ac_ext <<_ACEOF 4460 /* end confdefs.h. */ 4461 $ac_includes_default 4462 #include <dld.h> 4463 _ACEOF 4464 rm -f conftest.$ac_objext 4465 if { (ac_try="$ac_compile" 4466 case "(($ac_try" in 4467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4468 *) ac_try_echo=$ac_try;; 4469 esac 4470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4471 (eval "$ac_compile") 2>conftest.er1 4472 ac_status=$? 4473 grep -v '^ *+' conftest.er1 >conftest.err 4474 rm -f conftest.er1 4475 cat conftest.err >&5 4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4477 (exit $ac_status); } && { 4478 test -z "$ac_c_werror_flag" || 4479 test ! -s conftest.err 4480 } && test -s conftest.$ac_objext; then 4481 ac_header_compiler=yes 4482 else 4483 echo "$as_me: failed program was:" >&5 4484 sed 's/^/| /' conftest.$ac_ext >&5 4485 4486 ac_header_compiler=no 4487 fi 4488 4489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4490 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4491 echo "${ECHO_T}$ac_header_compiler" >&6; } 4492 4493 # Is the header present? 4494 { echo "$as_me:$LINENO: checking dld.h presence" >&5 4495 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 4496 cat >conftest.$ac_ext <<_ACEOF 4497 /* confdefs.h. */ 4498 _ACEOF 4499 cat confdefs.h >>conftest.$ac_ext 4500 cat >>conftest.$ac_ext <<_ACEOF 4501 /* end confdefs.h. */ 4502 #include <dld.h> 4503 _ACEOF 4504 if { (ac_try="$ac_cpp conftest.$ac_ext" 4505 case "(($ac_try" in 4506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4507 *) ac_try_echo=$ac_try;; 4508 esac 4509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4511 ac_status=$? 4512 grep -v '^ *+' conftest.er1 >conftest.err 4513 rm -f conftest.er1 4514 cat conftest.err >&5 4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4516 (exit $ac_status); } >/dev/null && { 4517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4518 test ! -s conftest.err 4519 }; then 4520 ac_header_preproc=yes 4521 else 4522 echo "$as_me: failed program was:" >&5 4523 sed 's/^/| /' conftest.$ac_ext >&5 4524 4525 ac_header_preproc=no 4526 fi 4527 4528 rm -f conftest.err conftest.$ac_ext 4529 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4530 echo "${ECHO_T}$ac_header_preproc" >&6; } 4531 4532 # So? What about this header? 4533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4534 yes:no: ) 4535 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4536 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4537 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4538 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4539 ac_header_preproc=yes 4540 ;; 4541 no:yes:* ) 4542 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4543 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4544 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4545 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4546 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4547 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4548 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4549 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4550 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4551 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4552 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4553 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4554 ( cat <<\_ASBOX 4555 ## ----------------------------------- ## 4556 ## Report this to rappture@nanohub.org ## 4557 ## ----------------------------------- ## 4558 _ASBOX 4559 ) | sed "s/^/$as_me: WARNING: /" >&2 4560 ;; 4561 esac 4562 { echo "$as_me:$LINENO: checking for dld.h" >&5 4563 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 4564 if test "${ac_cv_header_dld_h+set}" = set; then 4565 echo $ECHO_N "(cached) $ECHO_C" >&6 4566 else 4567 ac_cv_header_dld_h=$ac_header_preproc 4568 fi 4569 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4570 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 4571 4572 fi 4573 if test $ac_cv_header_dld_h = yes; then 4574 4575 SHLIB_LD="ld -shared" 4576 DL_OBJS="" 4577 DL_LIBS="-ldld" 4578 CC_SEARCH_FLAGS="" 4579 LD_SEARCH_FLAGS="" 4580 fi 4581 4582 4583 fi 4584 if test "`uname -m`" = "alpha" ; then 4585 CFLAGS="$CFLAGS -mieee" 4586 fi 4587 ;; 4588 Lynx*) 4589 SHLIB_CFLAGS="-fPIC" 4590 SHLIB_LD_LIBS='${LIBS}' 4591 SHLIB_SUFFIX=".so" 4592 CFLAGS_OPTIMIZE=-02 4593 SHLIB_LD="${CC} -shared " 4594 DL_OBJS="tclLoadDl.o" 4595 DL_LIBS="-mshared -ldl" 4596 LD_FLAGS="-Wl,--export-dynamic" 4597 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4598 LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4599 ;; 4600 MP-RAS-02*) 4601 SHLIB_CFLAGS="-K PIC" 4602 SHLIB_LD="cc -G" 4603 SHLIB_LD_LIBS="" 4604 SHLIB_SUFFIX=".so" 4605 DL_OBJS="tclLoadDl.o" 4606 DL_LIBS="-ldl" 4607 CC_SEARCH_FLAGS="" 4608 LD_SEARCH_FLAGS="" 4609 ;; 4610 MP-RAS-*) 4611 SHLIB_CFLAGS="-K PIC" 4612 SHLIB_LD="cc -G" 4613 SHLIB_LD_LIBS="" 4614 SHLIB_SUFFIX=".so" 4615 DL_OBJS="tclLoadDl.o" 4616 DL_LIBS="-ldl" 4617 LDFLAGS="$LDFLAGS -Wl,-Bexport" 4618 CC_SEARCH_FLAGS="" 4619 LD_SEARCH_FLAGS="" 4620 ;; 4621 NetBSD-*|FreeBSD-[1-2].*) 4622 # Not available on all versions: check for include file. 4623 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4624 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 4625 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 4626 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4627 echo $ECHO_N "(cached) $ECHO_C" >&6 4628 fi 4629 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 4630 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 4631 else 4632 # Is the header compilable? 4633 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 4634 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; } 4635 cat >conftest.$ac_ext <<_ACEOF 4636 /* confdefs.h. */ 4637 _ACEOF 4638 cat confdefs.h >>conftest.$ac_ext 4639 cat >>conftest.$ac_ext <<_ACEOF 4640 /* end confdefs.h. */ 4641 $ac_includes_default 4642 #include <dlfcn.h> 4643 _ACEOF 4644 rm -f conftest.$ac_objext 4645 if { (ac_try="$ac_compile" 4646 case "(($ac_try" in 4647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4648 *) ac_try_echo=$ac_try;; 4649 esac 4650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4651 (eval "$ac_compile") 2>conftest.er1 4652 ac_status=$? 4653 grep -v '^ *+' conftest.er1 >conftest.err 4654 rm -f conftest.er1 4655 cat conftest.err >&5 4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4657 (exit $ac_status); } && { 4658 test -z "$ac_c_werror_flag" || 4659 test ! -s conftest.err 4660 } && test -s conftest.$ac_objext; then 4661 ac_header_compiler=yes 4662 else 4663 echo "$as_me: failed program was:" >&5 4664 sed 's/^/| /' conftest.$ac_ext >&5 4665 4666 ac_header_compiler=no 4667 fi 4668 4669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4670 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4671 echo "${ECHO_T}$ac_header_compiler" >&6; } 4672 4673 # Is the header present? 4674 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 4675 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; } 4676 cat >conftest.$ac_ext <<_ACEOF 4677 /* confdefs.h. */ 4678 _ACEOF 4679 cat confdefs.h >>conftest.$ac_ext 4680 cat >>conftest.$ac_ext <<_ACEOF 4681 /* end confdefs.h. */ 4682 #include <dlfcn.h> 4683 _ACEOF 4684 if { (ac_try="$ac_cpp conftest.$ac_ext" 4685 case "(($ac_try" in 4686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4687 *) ac_try_echo=$ac_try;; 4688 esac 4689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4691 ac_status=$? 4692 grep -v '^ *+' conftest.er1 >conftest.err 4693 rm -f conftest.er1 4694 cat conftest.err >&5 4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4696 (exit $ac_status); } >/dev/null && { 4697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4698 test ! -s conftest.err 4699 }; then 4700 ac_header_preproc=yes 4701 else 4702 echo "$as_me: failed program was:" >&5 4703 sed 's/^/| /' conftest.$ac_ext >&5 4704 4705 ac_header_preproc=no 4706 fi 4707 4708 rm -f conftest.err conftest.$ac_ext 4709 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4710 echo "${ECHO_T}$ac_header_preproc" >&6; } 4711 4712 # So? What about this header? 4713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4714 yes:no: ) 4715 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 4716 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4717 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 4718 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 4719 ac_header_preproc=yes 4720 ;; 4721 no:yes:* ) 4722 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 4723 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 4724 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 4725 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 4726 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 4727 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 4728 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 4729 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 4730 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 4731 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 4732 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 4733 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 4734 ( cat <<\_ASBOX 4735 ## ----------------------------------- ## 4736 ## Report this to rappture@nanohub.org ## 4737 ## ----------------------------------- ## 4738 _ASBOX 4739 ) | sed "s/^/$as_me: WARNING: /" >&2 4740 ;; 4741 esac 4742 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 4743 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 4744 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4745 echo $ECHO_N "(cached) $ECHO_C" >&6 4746 else 4747 ac_cv_header_dlfcn_h=$ac_header_preproc 4748 fi 4749 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 4750 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 4751 4752 fi 4753 if test $ac_cv_header_dlfcn_h = yes; then 4754 4755 # NetBSD/SPARC needs -fPIC, -fpic will not do. 4756 SHLIB_CFLAGS="-fPIC" 4757 SHLIB_LD="ld -Bshareable -x" 4758 SHLIB_LD_LIBS='${LIBS}' 4759 SHLIB_SUFFIX=".so" 4760 DL_OBJS="tclLoadDl.o" 4761 DL_LIBS="" 4762 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4763 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 4764 { echo "$as_me:$LINENO: checking for ELF" >&5 4765 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 4766 if test "${tcl_cv_ld_elf+set}" = set; then 4767 echo $ECHO_N "(cached) $ECHO_C" >&6 4768 else 4769 4770 cat >conftest.$ac_ext <<_ACEOF 4771 /* confdefs.h. */ 4772 _ACEOF 4773 cat confdefs.h >>conftest.$ac_ext 4774 cat >>conftest.$ac_ext <<_ACEOF 4775 /* end confdefs.h. */ 4776 4777 #ifdef __ELF__ 4778 yes 4779 #endif 4780 4781 _ACEOF 4782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4783 $EGREP "yes" >/dev/null 2>&1; then 4784 tcl_cv_ld_elf=yes 4785 else 4786 tcl_cv_ld_elf=no 4787 fi 4788 rm -f conftest* 4789 4790 fi 4791 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 4792 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; } 4793 if test $tcl_cv_ld_elf = yes; then 4794 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' 4795 else 4796 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 4797 fi 4798 4799 else 4800 4801 SHLIB_CFLAGS="" 4802 SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r" 4803 SHLIB_LD_LIBS='${LIBS}' 4804 SHLIB_SUFFIX=".a" 4805 DL_OBJS="tclLoadAout.o" 4806 DL_LIBS="" 4807 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' 4808 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4809 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 4810 4811 fi 4812 4813 4814 4815 # FreeBSD doesn't handle version numbers with dots. 4816 4817 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 4818 TCL_LIB_VERSIONS_OK=nodots 4819 ;; 4820 OpenBSD-*) 4821 case `arch -s` in 4822 m88k|vax) 4823 SHLIB_CFLAGS="" 4824 SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r" 4825 SHLIB_LD_LIBS='${LIBS}' 4826 SHLIB_SUFFIX=".a" 4827 DL_OBJS="tclLoadAout.o" 4828 DL_LIBS="" 4829 LDFLAGS="" 4830 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' 4831 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4832 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 4833 ;; 4834 *) 4835 # OpenBSD/SPARC[64] needs -fPIC, -fpic will not do. 4836 case `machine` in 4837 sparc|sparc64) 4838 SHLIB_CFLAGS="-fPIC";; 4839 *) 4840 SHLIB_CFLAGS="-fpic";; 4841 esac 4842 SHLIB_LD="${CC} -shared ${SHLIB_CFLAGS}" 4843 SHLIB_LD_LIBS='${LIBS}' 4844 SHLIB_SUFFIX=".so" 4845 DL_OBJS="tclLoadDl.o" 4846 DL_LIBS="" 4847 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4848 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4849 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 4850 { echo "$as_me:$LINENO: checking for ELF" >&5 4851 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 4852 if test "${tcl_cv_ld_elf+set}" = set; then 4853 echo $ECHO_N "(cached) $ECHO_C" >&6 4854 else 4855 4856 cat >conftest.$ac_ext <<_ACEOF 4857 /* confdefs.h. */ 4858 _ACEOF 4859 cat confdefs.h >>conftest.$ac_ext 4860 cat >>conftest.$ac_ext <<_ACEOF 4861 /* end confdefs.h. */ 4862 4863 #ifdef __ELF__ 4864 yes 4865 #endif 4866 4867 _ACEOF 4868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4869 $EGREP "yes" >/dev/null 2>&1; then 4870 tcl_cv_ld_elf=yes 4871 else 4872 tcl_cv_ld_elf=no 4873 fi 4874 rm -f conftest* 4875 4876 fi 4877 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 4878 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; } 4879 if test $tcl_cv_ld_elf = yes; then 4880 LDFLAGS=-Wl,-export-dynamic 4881 else 4882 LDFLAGS="" 4883 fi 4884 ;; 4885 esac 4886 4887 # OpenBSD doesn't do version numbers with dots. 4888 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 4889 TCL_LIB_VERSIONS_OK=nodots 4890 ;; 4891 FreeBSD-*) 4892 # FreeBSD 3.* and greater have ELF. 4893 SHLIB_CFLAGS="-fPIC" 4894 SHLIB_LD="ld -Bshareable -x" 4895 SHLIB_LD_LIBS='${LIBS}' 4896 SHLIB_SUFFIX=".so" 4897 DL_OBJS="tclLoadDl.o" 4898 DL_LIBS="" 4899 LDFLAGS="$LDFLAGS -export-dynamic" 4900 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4901 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 4902 if test "${TCL_THREADS}" = "1" ; then 4903 # The -pthread needs to go in the CFLAGS, not LIBS 4904 LIBS=`echo $LIBS | sed s/-pthread//` 4905 CFLAGS="$CFLAGS -pthread" 4906 LDFLAGS="$LDFLAGS -pthread" 4907 fi 4908 case $system in 4909 FreeBSD-3.*) 4910 # FreeBSD-3 doesn't handle version numbers with dots. 4911 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 4912 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' 4913 TCL_LIB_VERSIONS_OK=nodots 4914 ;; 4915 esac 4916 ;; 4917 Darwin-*) 4918 CFLAGS_OPTIMIZE="-Os" 4919 SHLIB_CFLAGS="-fno-common" 4920 # To avoid discrepancies between what headers configure sees during 4921 # preprocessing tests and compiling tests, move any -isysroot and 4922 # -mmacosx-version-min flags from CFLAGS to CPPFLAGS: 4923 CPPFLAGS="${CPPFLAGS} `echo " ${CFLAGS}" | \ 4924 awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \ 4925 if ($i~/^(isysroot|mmacosx-version-min)/) print "-"$i}'`" 4926 CFLAGS="`echo " ${CFLAGS}" | \ 4927 awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \ 4928 if (!($i~/^(isysroot|mmacosx-version-min)/)) print "-"$i}'`" 4929 if test $do64bit = yes; then 4930 case `arch` in 4931 ppc) 4932 { echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5 4933 echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; } 4934 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then 4935 echo $ECHO_N "(cached) $ECHO_C" >&6 4936 else 4937 4938 hold_cflags=$CFLAGS 4939 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 4940 cat >conftest.$ac_ext <<_ACEOF 4941 /* confdefs.h. */ 4942 _ACEOF 4943 cat confdefs.h >>conftest.$ac_ext 4944 cat >>conftest.$ac_ext <<_ACEOF 4945 /* end confdefs.h. */ 4946 4947 int 4948 main () 4949 { 4950 4951 ; 4952 return 0; 4953 } 4954 _ACEOF 4955 rm -f conftest.$ac_objext conftest$ac_exeext 4956 if { (ac_try="$ac_link" 4957 case "(($ac_try" in 4958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4959 *) ac_try_echo=$ac_try;; 4960 esac 4961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4962 (eval "$ac_link") 2>conftest.er1 4963 ac_status=$? 4964 grep -v '^ *+' conftest.er1 >conftest.err 4965 rm -f conftest.er1 4966 cat conftest.err >&5 4967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4968 (exit $ac_status); } && { 4969 test -z "$ac_c_werror_flag" || 4970 test ! -s conftest.err 4971 } && test -s conftest$ac_exeext && 4972 $as_test_x conftest$ac_exeext; then 4973 tcl_cv_cc_arch_ppc64=yes 4974 else 4975 echo "$as_me: failed program was:" >&5 4976 sed 's/^/| /' conftest.$ac_ext >&5 4977 4978 tcl_cv_cc_arch_ppc64=no 4979 fi 4980 4981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4982 conftest$ac_exeext conftest.$ac_ext 4983 CFLAGS=$hold_cflags 4984 fi 4985 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5 4986 echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; } 4987 if test $tcl_cv_cc_arch_ppc64 = yes; then 4988 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 4989 do64bit_ok=yes 4990 fi;; 4991 i386) 4992 { echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5 4993 echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; } 4994 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then 4995 echo $ECHO_N "(cached) $ECHO_C" >&6 4996 else 4997 4998 hold_cflags=$CFLAGS 4999 CFLAGS="$CFLAGS -arch x86_64" 5000 cat >conftest.$ac_ext <<_ACEOF 5001 /* confdefs.h. */ 5002 _ACEOF 5003 cat confdefs.h >>conftest.$ac_ext 5004 cat >>conftest.$ac_ext <<_ACEOF 5005 /* end confdefs.h. */ 5006 5007 int 5008 main () 5009 { 5010 5011 ; 5012 return 0; 5013 } 5014 _ACEOF 5015 rm -f conftest.$ac_objext conftest$ac_exeext 5016 if { (ac_try="$ac_link" 5017 case "(($ac_try" in 5018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5019 *) ac_try_echo=$ac_try;; 5020 esac 5021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5022 (eval "$ac_link") 2>conftest.er1 5023 ac_status=$? 5024 grep -v '^ *+' conftest.er1 >conftest.err 5025 rm -f conftest.er1 5026 cat conftest.err >&5 5027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5028 (exit $ac_status); } && { 5029 test -z "$ac_c_werror_flag" || 5030 test ! -s conftest.err 5031 } && test -s conftest$ac_exeext && 5032 $as_test_x conftest$ac_exeext; then 5033 tcl_cv_cc_arch_x86_64=yes 5034 else 5035 echo "$as_me: failed program was:" >&5 5036 sed 's/^/| /' conftest.$ac_ext >&5 5037 5038 tcl_cv_cc_arch_x86_64=no 5039 fi 5040 5041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5042 conftest$ac_exeext conftest.$ac_ext 5043 CFLAGS=$hold_cflags 5044 fi 5045 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5 5046 echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; } 5047 if test $tcl_cv_cc_arch_x86_64 = yes; then 5048 CFLAGS="$CFLAGS -arch x86_64" 5049 do64bit_ok=yes 5050 fi;; 5051 *) 5052 { echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 5053 echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 5054 esac 5055 else 5056 # Check for combined 32-bit and 64-bit fat build 5057 echo "$CFLAGS " | grep -E -q -- '-arch (ppc64|x86_64) ' && \ 5058 echo "$CFLAGS " | grep -E -q -- '-arch (ppc|i386) ' && \ 5059 fat_32_64=yes 5060 fi 5061 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 5062 { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5 5063 echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; } 5064 if test "${tcl_cv_ld_single_module+set}" = set; then 5065 echo $ECHO_N "(cached) $ECHO_C" >&6 5066 else 5067 5068 hold_ldflags=$LDFLAGS 5069 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 5070 cat >conftest.$ac_ext <<_ACEOF 5071 /* confdefs.h. */ 5072 _ACEOF 5073 cat confdefs.h >>conftest.$ac_ext 5074 cat >>conftest.$ac_ext <<_ACEOF 5075 /* end confdefs.h. */ 5076 5077 int 5078 main () 5079 { 5080 int i; 5081 ; 5082 return 0; 5083 } 5084 _ACEOF 5085 rm -f conftest.$ac_objext conftest$ac_exeext 5086 if { (ac_try="$ac_link" 5087 case "(($ac_try" in 5088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5089 *) ac_try_echo=$ac_try;; 5090 esac 5091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5092 (eval "$ac_link") 2>conftest.er1 5093 ac_status=$? 5094 grep -v '^ *+' conftest.er1 >conftest.err 5095 rm -f conftest.er1 5096 cat conftest.err >&5 5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5098 (exit $ac_status); } && { 5099 test -z "$ac_c_werror_flag" || 5100 test ! -s conftest.err 5101 } && test -s conftest$ac_exeext && 5102 $as_test_x conftest$ac_exeext; then 5103 tcl_cv_ld_single_module=yes 5104 else 5105 echo "$as_me: failed program was:" >&5 5106 sed 's/^/| /' conftest.$ac_ext >&5 5107 5108 tcl_cv_ld_single_module=no 5109 fi 5110 5111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5112 conftest$ac_exeext conftest.$ac_ext 5113 LDFLAGS=$hold_ldflags 5114 fi 5115 { echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5 5116 echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; } 5117 if test $tcl_cv_ld_single_module = yes; then 5118 SHLIB_LD="${SHLIB_LD} -Wl,-single_module" 5119 fi 5120 SHLIB_LD_LIBS='${LIBS}' 5121 SHLIB_SUFFIX=".dylib" 5122 DL_OBJS="tclLoadDyld.o" 5123 DL_LIBS="" 5124 # Don't use -prebind when building for Mac OS X 10.4 or later only: 5125 test "`echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F '10\\.' '{print int($2)}'`" -lt 4 -a \ 5126 "`echo "${CPPFLAGS}" | awk -F '-mmacosx-version-min=10\\.' '{print int($2)}'`" -lt 4 && \ 5127 LDFLAGS="$LDFLAGS -prebind" 5128 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 5129 { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5 5130 echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; } 5131 if test "${tcl_cv_ld_search_paths_first+set}" = set; then 5132 echo $ECHO_N "(cached) $ECHO_C" >&6 5133 else 5134 5135 hold_ldflags=$LDFLAGS 5136 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5137 cat >conftest.$ac_ext <<_ACEOF 5138 /* confdefs.h. */ 5139 _ACEOF 5140 cat confdefs.h >>conftest.$ac_ext 5141 cat >>conftest.$ac_ext <<_ACEOF 5142 /* end confdefs.h. */ 5143 5144 int 5145 main () 5146 { 5147 int i; 5148 ; 5149 return 0; 5150 } 5151 _ACEOF 5152 rm -f conftest.$ac_objext conftest$ac_exeext 5153 if { (ac_try="$ac_link" 5154 case "(($ac_try" in 5155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5156 *) ac_try_echo=$ac_try;; 5157 esac 5158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5159 (eval "$ac_link") 2>conftest.er1 5160 ac_status=$? 5161 grep -v '^ *+' conftest.er1 >conftest.err 5162 rm -f conftest.er1 5163 cat conftest.err >&5 5164 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5165 (exit $ac_status); } && { 5166 test -z "$ac_c_werror_flag" || 5167 test ! -s conftest.err 5168 } && test -s conftest$ac_exeext && 5169 $as_test_x conftest$ac_exeext; then 5170 tcl_cv_ld_search_paths_first=yes 5171 else 5172 echo "$as_me: failed program was:" >&5 5173 sed 's/^/| /' conftest.$ac_ext >&5 5174 5175 tcl_cv_ld_search_paths_first=no 5176 fi 5177 5178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5179 conftest$ac_exeext conftest.$ac_ext 5180 LDFLAGS=$hold_ldflags 5181 fi 5182 { echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5 5183 echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; } 5184 if test $tcl_cv_ld_search_paths_first = yes; then 5185 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5186 fi 5187 CC_SEARCH_FLAGS="" 5188 LD_SEARCH_FLAGS="" 5189 LD_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH" 5190 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 5191 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 5192 { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5 5193 echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; } 5194 # Check whether --enable-corefoundation was given. 5195 if test "${enable_corefoundation+set}" = set; then 5196 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 5197 else 5198 tcl_corefoundation=yes 5199 fi 5200 5201 { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5 5202 echo "${ECHO_T}$tcl_corefoundation" >&6; } 5203 if test $tcl_corefoundation = yes; then 5204 { echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5 5205 echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; } 5206 if test "${tcl_cv_lib_corefoundation+set}" = set; then 5207 echo $ECHO_N "(cached) $ECHO_C" >&6 5208 else 5209 5210 hold_libs=$LIBS 5211 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 5212 # On Tiger there is no 64-bit CF, so remove 64-bit archs 5213 # from CFLAGS et al. while testing for presence of CF. 5214 # 64-bit CF is disabled in tclUnixPort.h if necessary. 5215 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"' 5216 done; fi 5217 LIBS="$LIBS -framework CoreFoundation" 5218 cat >conftest.$ac_ext <<_ACEOF 5219 /* confdefs.h. */ 5220 _ACEOF 5221 cat confdefs.h >>conftest.$ac_ext 5222 cat >>conftest.$ac_ext <<_ACEOF 5223 /* end confdefs.h. */ 5224 #include <CoreFoundation/CoreFoundation.h> 5225 int 5226 main () 5227 { 5228 CFBundleRef b = CFBundleGetMainBundle(); 5229 ; 5230 return 0; 5231 } 5232 _ACEOF 5233 rm -f conftest.$ac_objext conftest$ac_exeext 5234 if { (ac_try="$ac_link" 5235 case "(($ac_try" in 5236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5237 *) ac_try_echo=$ac_try;; 5238 esac 5239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5240 (eval "$ac_link") 2>conftest.er1 5241 ac_status=$? 5242 grep -v '^ *+' conftest.er1 >conftest.err 5243 rm -f conftest.er1 5244 cat conftest.err >&5 5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5246 (exit $ac_status); } && { 5247 test -z "$ac_c_werror_flag" || 5248 test ! -s conftest.err 5249 } && test -s conftest$ac_exeext && 5250 $as_test_x conftest$ac_exeext; then 5251 tcl_cv_lib_corefoundation=yes 5252 else 5253 echo "$as_me: failed program was:" >&5 5254 sed 's/^/| /' conftest.$ac_ext >&5 5255 5256 tcl_cv_lib_corefoundation=no 5257 fi 5258 5259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5260 conftest$ac_exeext conftest.$ac_ext 5261 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 5262 eval $v'="$hold_'$v'"' 5263 done; fi; LIBS=$hold_libs 5264 fi 5265 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5 5266 echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; } 5267 if test $tcl_cv_lib_corefoundation = yes; then 5268 LIBS="$LIBS -framework CoreFoundation" 5269 cat >>confdefs.h <<\_ACEOF 5270 #define HAVE_COREFOUNDATION 1 5271 _ACEOF 5272 5273 else 5274 tcl_corefoundation=no 5275 fi 5276 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 5277 { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5 5278 echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; } 5279 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then 5280 echo $ECHO_N "(cached) $ECHO_C" >&6 5281 else 5282 5283 for v in CFLAGS CPPFLAGS LDFLAGS; do 5284 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 5285 done 5286 cat >conftest.$ac_ext <<_ACEOF 5287 /* confdefs.h. */ 5288 _ACEOF 5289 cat confdefs.h >>conftest.$ac_ext 5290 cat >>conftest.$ac_ext <<_ACEOF 5291 /* end confdefs.h. */ 5292 #include <CoreFoundation/CoreFoundation.h> 5293 int 5294 main () 5295 { 5296 CFBundleRef b = CFBundleGetMainBundle(); 5297 ; 5298 return 0; 5299 } 5300 _ACEOF 5301 rm -f conftest.$ac_objext conftest$ac_exeext 5302 if { (ac_try="$ac_link" 5303 case "(($ac_try" in 5304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5305 *) ac_try_echo=$ac_try;; 5306 esac 5307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5308 (eval "$ac_link") 2>conftest.er1 5309 ac_status=$? 5310 grep -v '^ *+' conftest.er1 >conftest.err 5311 rm -f conftest.er1 5312 cat conftest.err >&5 5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5314 (exit $ac_status); } && { 5315 test -z "$ac_c_werror_flag" || 5316 test ! -s conftest.err 5317 } && test -s conftest$ac_exeext && 5318 $as_test_x conftest$ac_exeext; then 5319 tcl_cv_lib_corefoundation_64=yes 5320 else 5321 echo "$as_me: failed program was:" >&5 5322 sed 's/^/| /' conftest.$ac_ext >&5 5323 5324 tcl_cv_lib_corefoundation_64=no 5325 fi 5326 5327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5328 conftest$ac_exeext conftest.$ac_ext 5329 for v in CFLAGS CPPFLAGS LDFLAGS; do 5330 eval $v'="$hold_'$v'"' 5331 done 5332 fi 5333 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5 5334 echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; } 5335 if test $tcl_cv_lib_corefoundation_64 = no; then 5336 cat >>confdefs.h <<\_ACEOF 5337 #define NO_COREFOUNDATION_64 1 5338 _ACEOF 5339 5340 fi 5341 fi 5342 fi 5343 cat >>confdefs.h <<\_ACEOF 5344 #define MAC_OSX_TCL 1 5345 _ACEOF 5346 5347 ;; 5348 NEXTSTEP-*) 5349 SHLIB_CFLAGS="" 5350 SHLIB_LD="cc -nostdlib -r" 5351 SHLIB_LD_LIBS="" 5352 SHLIB_SUFFIX=".so" 5353 DL_OBJS="tclLoadNext.o" 5354 DL_LIBS="" 5355 CC_SEARCH_FLAGS="" 5356 LD_SEARCH_FLAGS="" 5357 ;; 5358 OS/390-*) 5359 CFLAGS_OPTIMIZE="" # Optimizer is buggy 5360 cat >>confdefs.h <<\_ACEOF 5361 #define _OE_SOCKETS 1 5362 _ACEOF 5363 # needed in sys/socket.h 5364 ;; 5365 OSF1-1.0|OSF1-1.1|OSF1-1.2) 5366 # OSF/1 1.[012] from OSF, and derivatives, including Paragon OSF/1 5367 SHLIB_CFLAGS="" 5368 # Hack: make package name same as library name 5369 SHLIB_LD='ld -R -export :' 5370 SHLIB_LD_LIBS="" 5371 SHLIB_SUFFIX=".so" 5372 DL_OBJS="tclLoadOSF.o" 5373 DL_LIBS="" 5374 CC_SEARCH_FLAGS="" 5375 LD_SEARCH_FLAGS="" 5376 ;; 5377 OSF1-1.*) 5378 # OSF/1 1.3 from OSF using ELF, and derivatives, including AD2 5379 SHLIB_CFLAGS="-fPIC" 5380 if test "$SHARED_BUILD" = "1" ; then 5381 SHLIB_LD="ld -shared" 5382 else 5383 SHLIB_LD="ld -non_shared" 5384 fi 5385 SHLIB_LD_LIBS="" 5386 SHLIB_SUFFIX=".so" 5387 DL_OBJS="tclLoadDl.o" 5388 DL_LIBS="" 5389 CC_SEARCH_FLAGS="" 5390 LD_SEARCH_FLAGS="" 5391 ;; 5392 OSF1-V*) 5393 # Digital OSF/1 5394 SHLIB_CFLAGS="" 5395 if test "$SHARED_BUILD" = "1" ; then 5396 SHLIB_LD='ld -shared -expect_unresolved "*"' 5397 else 5398 SHLIB_LD='ld -non_shared -expect_unresolved "*"' 5399 fi 5400 SHLIB_LD_LIBS="" 5401 SHLIB_SUFFIX=".so" 5402 DL_OBJS="tclLoadDl.o" 5403 DL_LIBS="" 5404 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 5405 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 5406 if test "$GCC" = "yes" ; then 5407 CFLAGS="$CFLAGS -mieee" 5408 else 5409 CFLAGS="$CFLAGS -DHAVE_TZSET -std1 -ieee" 5410 fi 5411 # see pthread_intro(3) for pthread support on osf1, k.furukawa 5412 if test "${TCL_THREADS}" = "1" ; then 5413 CFLAGS="$CFLAGS -DHAVE_PTHREAD_ATTR_SETSTACKSIZE" 5414 CFLAGS="$CFLAGS -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64" 5415 LIBS=`echo $LIBS | sed s/-lpthreads//` 5416 if test "$GCC" = "yes" ; then 5417 LIBS="$LIBS -lpthread -lmach -lexc" 5418 else 5419 CFLAGS="$CFLAGS -pthread" 5420 LDFLAGS="$LDFLAGS -pthread" 5421 fi 5422 fi 5423 5424 ;; 5425 QNX-6*) 5426 # QNX RTP 5427 # This may work for all QNX, but it was only reported for v6. 5428 SHLIB_CFLAGS="-fPIC" 5429 SHLIB_LD="ld -Bshareable -x" 5430 SHLIB_LD_LIBS="" 5431 SHLIB_SUFFIX=".so" 5432 DL_OBJS="tclLoadDl.o" 5433 # dlopen is in -lc on QNX 5434 DL_LIBS="" 5435 CC_SEARCH_FLAGS="" 5436 LD_SEARCH_FLAGS="" 5437 ;; 5438 RISCos-*) 5439 SHLIB_CFLAGS="-G 0" 5440 SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0" 5441 SHLIB_LD_LIBS='${LIBS}' 5442 SHLIB_SUFFIX=".a" 5443 DL_OBJS="tclLoadAout.o" 5444 DL_LIBS="" 5445 LDFLAGS="$LDFLAGS -Wl,-D,08000000" 5446 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' 5447 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5448 ;; 5449 SCO_SV-3.2*) 5450 # Note, dlopen is available only on SCO 3.2.5 and greater. However, 5451 # this test works, since "uname -s" was non-standard in 3.2.4 and 5452 # below. 5453 if test "$GCC" = "yes" ; then 5454 SHLIB_CFLAGS="-fPIC -melf" 5455 LDFLAGS="$LDFLAGS -melf -Wl,-Bexport" 5456 else 5457 SHLIB_CFLAGS="-Kpic -belf" 5458 LDFLAGS="$LDFLAGS -belf -Wl,-Bexport" 5459 fi 5460 SHLIB_LD="ld -G" 5461 SHLIB_LD_LIBS="" 5462 SHLIB_SUFFIX=".so" 5463 DL_OBJS="tclLoadDl.o" 5464 DL_LIBS="" 5465 CC_SEARCH_FLAGS="" 5466 LD_SEARCH_FLAGS="" 5467 ;; 5468 SINIX*5.4*) 5469 SHLIB_CFLAGS="-K PIC" 5470 SHLIB_LD="cc -G" 5471 SHLIB_LD_LIBS="" 5472 SHLIB_SUFFIX=".so" 5473 DL_OBJS="tclLoadDl.o" 5474 DL_LIBS="-ldl" 5475 CC_SEARCH_FLAGS="" 5476 LD_SEARCH_FLAGS="" 5477 ;; 5478 SunOS-4*) 5479 SHLIB_CFLAGS="-PIC" 5480 SHLIB_LD="ld" 5481 SHLIB_LD_LIBS="" 5482 SHLIB_SUFFIX=".so" 5483 DL_OBJS="tclLoadDl.o" 5484 DL_LIBS="-ldl" 5485 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' 5486 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5487 5488 # SunOS can't handle version numbers with dots in them in library 5489 # specs, like -ltcl7.5, so use -ltcl75 instead. Also, it 5490 # requires an extra version number at the end of .so file names. 5491 # So, the library has to have a name like libtcl75.so.1.0 5492 5493 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 5494 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 5495 TCL_LIB_VERSIONS_OK=nodots 5496 ;; 5497 SunOS-5.[0-6]) 5498 # Careful to not let 5.10+ fall into this case 5499 5500 # Note: If _REENTRANT isn't defined, then Solaris 5501 # won't define thread-safe library routines. 5502 5503 cat >>confdefs.h <<\_ACEOF 5504 #define _REENTRANT 1 5505 _ACEOF 5506 5507 cat >>confdefs.h <<\_ACEOF 5508 #define _POSIX_PTHREAD_SEMANTICS 1 5509 _ACEOF 5510 5511 5512 SHLIB_CFLAGS="-KPIC" 5513 5514 # Note: need the LIBS below, otherwise Tk won't find Tcl's 5515 # symbols when dynamically loaded into tclsh. 5516 5517 SHLIB_LD_LIBS='${LIBS}' 5518 SHLIB_SUFFIX=".so" 5519 DL_OBJS="tclLoadDl.o" 5520 DL_LIBS="-ldl" 5521 if test "$GCC" = "yes" ; then 5522 SHLIB_LD="$CC -shared" 5523 CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' 5524 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5525 else 5526 SHLIB_LD="/usr/ccs/bin/ld -G -z text" 5527 CC_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' 5528 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5529 fi 5530 ;; 5531 SunOS-5*) 5532 # Note: If _REENTRANT isn't defined, then Solaris 5533 # won't define thread-safe library routines. 5534 5535 cat >>confdefs.h <<\_ACEOF 5536 #define _REENTRANT 1 5537 _ACEOF 5538 5539 cat >>confdefs.h <<\_ACEOF 5540 #define _POSIX_PTHREAD_SEMANTICS 1 5541 _ACEOF 5542 5543 5544 SHLIB_CFLAGS="-KPIC" 5545 5546 # Check to enable 64-bit flags for compiler/linker 5547 if test "$do64bit" = "yes" ; then 5548 arch=`isainfo` 5549 if test "$arch" = "sparcv9 sparc" ; then 5550 if test "$GCC" = "yes" ; then 5551 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 5552 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 5553 echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 5554 else 5555 do64bit_ok=yes 5556 CFLAGS="$CFLAGS -m64 -mcpu=v9" 5557 LDFLAGS="$LDFLAGS -m64 -mcpu=v9" 5558 SHLIB_CFLAGS="-fPIC" 5559 fi 5560 else 5561 do64bit_ok=yes 5562 if test "$do64bitVIS" = "yes" ; then 5563 CFLAGS="$CFLAGS -xarch=v9a" 5564 LDFLAGS="$LDFLAGS -xarch=v9a" 5565 else 5566 CFLAGS="$CFLAGS -xarch=v9" 5567 LDFLAGS="$LDFLAGS -xarch=v9" 5568 fi 5569 # Solaris 64 uses this as well 5570 #LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH_64" 5571 fi 5572 elif test "$arch" = "amd64 i386" ; then 5573 if test "$GCC" = "yes" ; then 5574 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 5575 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 5576 else 5577 do64bit_ok=yes 5578 CFLAGS="$CFLAGS -xarch=amd64" 5579 LDFLAGS="$LDFLAGS -xarch=amd64" 5580 fi 5581 else 5582 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5 5583 echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 5584 fi 5585 fi 5586 5587 # Note: need the LIBS below, otherwise Tk won't find Tcl's 5588 # symbols when dynamically loaded into tclsh. 5589 5590 SHLIB_LD_LIBS='${LIBS}' 5591 SHLIB_SUFFIX=".so" 5592 DL_OBJS="tclLoadDl.o" 5593 DL_LIBS="-ldl" 5594 if test "$GCC" = "yes" ; then 5595 SHLIB_LD="$CC -shared" 5596 CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' 5597 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5598 if test "$do64bit_ok" = "yes" ; then 5599 # We need to specify -static-libgcc or we need to 5600 # add the path to the sparv9 libgcc. 5601 SHLIB_LD="$SHLIB_LD -m64 -mcpu=v9 -static-libgcc" 5602 # for finding sparcv9 libgcc, get the regular libgcc 5603 # path, remove so name and append 'sparcv9' 5604 #v9gcclibdir="`gcc -print-file-name=libgcc_s.so` | ..." 5605 #CC_SEARCH_FLAGS="${CC_SEARCH_FLAGS},-R,$v9gcclibdir" 5606 fi 5607 else 5608 case $system in 5609 SunOS-5.[1-9][0-9]*) 5610 SHLIB_LD='${CC} -G -z text ${LDFLAGS}';; 5611 *) 5612 SHLIB_LD="/usr/ccs/bin/ld -G -z text";; 5613 esac 5614 CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' 5615 LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' 5616 fi 5617 ;; 5618 ULTRIX-4.*) 5619 SHLIB_CFLAGS="-G 0" 5620 SHLIB_SUFFIX=".a" 5621 SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0" 5622 SHLIB_LD_LIBS='${LIBS}' 5623 DL_OBJS="tclLoadAout.o" 5624 DL_LIBS="" 5625 LDFLAGS="$LDFLAGS -Wl,-D,08000000" 5626 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' 5627 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5628 if test "$GCC" != "yes" ; then 5629 CFLAGS="$CFLAGS -DHAVE_TZSET -std1" 5630 fi 5631 ;; 5632 UNIX_SV* | UnixWare-5*) 5633 SHLIB_CFLAGS="-KPIC" 5634 SHLIB_LD="cc -G" 5635 SHLIB_LD_LIBS="" 5636 SHLIB_SUFFIX=".so" 5637 DL_OBJS="tclLoadDl.o" 5638 DL_LIBS="-ldl" 5639 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 5640 # that don't grok the -Bexport option. Test that it does. 5641 { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5 5642 echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; } 5643 if test "${tcl_cv_ld_Bexport+set}" = set; then 5644 echo $ECHO_N "(cached) $ECHO_C" >&6 5645 else 5646 5647 hold_ldflags=$LDFLAGS 5648 LDFLAGS="$LDFLAGS -Wl,-Bexport" 5649 cat >conftest.$ac_ext <<_ACEOF 5650 /* confdefs.h. */ 5651 _ACEOF 5652 cat confdefs.h >>conftest.$ac_ext 5653 cat >>conftest.$ac_ext <<_ACEOF 5654 /* end confdefs.h. */ 5655 5656 int 5657 main () 5658 { 5659 int i; 5660 ; 5661 return 0; 5662 } 5663 _ACEOF 5664 rm -f conftest.$ac_objext conftest$ac_exeext 5665 if { (ac_try="$ac_link" 5666 case "(($ac_try" in 5667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5668 *) ac_try_echo=$ac_try;; 5669 esac 5670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5671 (eval "$ac_link") 2>conftest.er1 5672 ac_status=$? 5673 grep -v '^ *+' conftest.er1 >conftest.err 5674 rm -f conftest.er1 5675 cat conftest.err >&5 5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5677 (exit $ac_status); } && { 5678 test -z "$ac_c_werror_flag" || 5679 test ! -s conftest.err 5680 } && test -s conftest$ac_exeext && 5681 $as_test_x conftest$ac_exeext; then 5682 tcl_cv_ld_Bexport=yes 5683 else 5684 echo "$as_me: failed program was:" >&5 5685 sed 's/^/| /' conftest.$ac_ext >&5 5686 5687 tcl_cv_ld_Bexport=no 5688 fi 5689 5690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5691 conftest$ac_exeext conftest.$ac_ext 5692 LDFLAGS=$hold_ldflags 5693 fi 5694 { echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5 5695 echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; } 5696 if test $tcl_cv_ld_Bexport = yes; then 5697 LDFLAGS="$LDFLAGS -Wl,-Bexport" 5698 fi 5699 CC_SEARCH_FLAGS="" 5700 LD_SEARCH_FLAGS="" 5701 ;; 5702 esac 5703 5704 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 5705 { echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 5706 echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 5707 fi 5708 5709 5710 5711 5712 # Step 4: If pseudo-static linking is in use (see K. B. Kenny, "Dynamic 5713 # Loading for Tcl -- What Became of It?". Proc. 2nd Tcl/Tk Workshop, 5714 # New Orleans, LA, Computerized Processes Unlimited, 1994), then we need 5715 # to determine which of several header files defines the a.out file 5716 # format (a.out.h, sys/exec.h, or sys/exec_aout.h). At present, we 5717 # support only a file format that is more or less version-7-compatible. 5718 # In particular, 5719 # - a.out files must begin with `struct exec'. 5720 # - the N_TXTOFF on the `struct exec' must compute the seek address 5721 # of the text segment 5722 # - The `struct exec' must contain a_magic, a_text, a_data, a_bss 5723 # and a_entry fields. 5724 # The following compilation should succeed if and only if either sys/exec.h 5725 # or a.out.h is usable for the purpose. 5726 # 5727 # Note that the modified COFF format used on MIPS Ultrix 4.x is usable; the 5728 # `struct exec' includes a second header that contains information that 5729 # duplicates the v7 fields that are needed. 5730 5731 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 5732 { echo "$as_me:$LINENO: checking sys/exec.h" >&5 5733 echo $ECHO_N "checking sys/exec.h... $ECHO_C" >&6; } 5734 if test "${tcl_cv_sysexec_h+set}" = set; then 5735 echo $ECHO_N "(cached) $ECHO_C" >&6 5736 else 5737 5738 cat >conftest.$ac_ext <<_ACEOF 5739 /* confdefs.h. */ 5740 _ACEOF 5741 cat confdefs.h >>conftest.$ac_ext 5742 cat >>conftest.$ac_ext <<_ACEOF 5743 /* end confdefs.h. */ 5744 #include <sys/exec.h> 5745 int 5746 main () 5747 { 5748 5749 struct exec foo; 5750 unsigned long seek; 5751 int flag; 5752 #if defined(__mips) || defined(mips) 5753 seek = N_TXTOFF (foo.ex_f, foo.ex_o); 5754 #else 5755 seek = N_TXTOFF (foo); 5756 #endif 5757 flag = (foo.a_magic == OMAGIC); 5758 return foo.a_text + foo.a_data + foo.a_bss + foo.a_entry; 5759 5760 ; 5761 return 0; 5762 } 5763 _ACEOF 5764 rm -f conftest.$ac_objext 5765 if { (ac_try="$ac_compile" 5766 case "(($ac_try" in 5767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5768 *) ac_try_echo=$ac_try;; 5769 esac 5770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5771 (eval "$ac_compile") 2>conftest.er1 5772 ac_status=$? 5773 grep -v '^ *+' conftest.er1 >conftest.err 5774 rm -f conftest.er1 5775 cat conftest.err >&5 5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5777 (exit $ac_status); } && { 5778 test -z "$ac_c_werror_flag" || 5779 test ! -s conftest.err 5780 } && test -s conftest.$ac_objext; then 5781 tcl_cv_sysexec_h=usable 5782 else 5783 echo "$as_me: failed program was:" >&5 5784 sed 's/^/| /' conftest.$ac_ext >&5 5785 5786 tcl_cv_sysexec_h=unusable 5787 fi 5788 5789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5790 fi 5791 { echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5 5792 echo "${ECHO_T}$tcl_cv_sysexec_h" >&6; } 5793 if test $tcl_cv_sysexec_h = usable; then 5794 cat >>confdefs.h <<\_ACEOF 5795 #define USE_SYS_EXEC_H 1 5796 _ACEOF 5797 5798 else 5799 { echo "$as_me:$LINENO: checking a.out.h" >&5 5800 echo $ECHO_N "checking a.out.h... $ECHO_C" >&6; } 5801 if test "${tcl_cv_aout_h+set}" = set; then 5802 echo $ECHO_N "(cached) $ECHO_C" >&6 5803 else 5804 5805 cat >conftest.$ac_ext <<_ACEOF 5806 /* confdefs.h. */ 5807 _ACEOF 5808 cat confdefs.h >>conftest.$ac_ext 5809 cat >>conftest.$ac_ext <<_ACEOF 5810 /* end confdefs.h. */ 5811 #include <a.out.h> 5812 int 5813 main () 5814 { 5815 5816 struct exec foo; 5817 unsigned long seek; 5818 int flag; 5819 #if defined(__mips) || defined(mips) 5820 seek = N_TXTOFF (foo.ex_f, foo.ex_o); 5821 #else 5822 seek = N_TXTOFF (foo); 5823 #endif 5824 flag = (foo.a_magic == OMAGIC); 5825 return foo.a_text + foo.a_data + foo.a_bss + foo.a_entry; 5826 5827 ; 5828 return 0; 5829 } 5830 _ACEOF 5831 rm -f conftest.$ac_objext 5832 if { (ac_try="$ac_compile" 5833 case "(($ac_try" in 5834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5835 *) ac_try_echo=$ac_try;; 5836 esac 5837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5838 (eval "$ac_compile") 2>conftest.er1 5839 ac_status=$? 5840 grep -v '^ *+' conftest.er1 >conftest.err 5841 rm -f conftest.er1 5842 cat conftest.err >&5 5843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5844 (exit $ac_status); } && { 5845 test -z "$ac_c_werror_flag" || 5846 test ! -s conftest.err 5847 } && test -s conftest.$ac_objext; then 5848 tcl_cv_aout_h=usable 5849 else 5850 echo "$as_me: failed program was:" >&5 5851 sed 's/^/| /' conftest.$ac_ext >&5 5852 5853 tcl_cv_aout_h=unusable 5854 fi 5855 5856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5857 fi 5858 { echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5 5859 echo "${ECHO_T}$tcl_cv_aout_h" >&6; } 5860 if test $tcl_cv_aout_h = usable; then 5861 cat >>confdefs.h <<\_ACEOF 5862 #define USE_A_OUT_H 1 5863 _ACEOF 5864 5865 else 5866 { echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 5867 echo $ECHO_N "checking sys/exec_aout.h... $ECHO_C" >&6; } 5868 if test "${tcl_cv_sysexecaout_h+set}" = set; then 5869 echo $ECHO_N "(cached) $ECHO_C" >&6 5870 else 5871 5872 cat >conftest.$ac_ext <<_ACEOF 5873 /* confdefs.h. */ 5874 _ACEOF 5875 cat confdefs.h >>conftest.$ac_ext 5876 cat >>conftest.$ac_ext <<_ACEOF 5877 /* end confdefs.h. */ 5878 #include <sys/exec_aout.h> 5879 int 5880 main () 5881 { 5882 5883 struct exec foo; 5884 unsigned long seek; 5885 int flag; 5886 #if defined(__mips) || defined(mips) 5887 seek = N_TXTOFF (foo.ex_f, foo.ex_o); 5888 #else 5889 seek = N_TXTOFF (foo); 5890 #endif 5891 flag = (foo.a_midmag == OMAGIC); 5892 return foo.a_text + foo.a_data + foo.a_bss + foo.a_entry; 5893 5894 ; 5895 return 0; 5896 } 5897 _ACEOF 5898 rm -f conftest.$ac_objext 5899 if { (ac_try="$ac_compile" 5900 case "(($ac_try" in 5901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5902 *) ac_try_echo=$ac_try;; 5903 esac 5904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5905 (eval "$ac_compile") 2>conftest.er1 5906 ac_status=$? 5907 grep -v '^ *+' conftest.er1 >conftest.err 5908 rm -f conftest.er1 5909 cat conftest.err >&5 5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5911 (exit $ac_status); } && { 5912 test -z "$ac_c_werror_flag" || 5913 test ! -s conftest.err 5914 } && test -s conftest.$ac_objext; then 5915 tcl_cv_sysexecaout_h=usable 5916 else 5917 echo "$as_me: failed program was:" >&5 5918 sed 's/^/| /' conftest.$ac_ext >&5 5919 5920 tcl_cv_sysexecaout_h=unusable 5921 fi 5922 5923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5924 fi 5925 { echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5 5926 echo "${ECHO_T}$tcl_cv_sysexecaout_h" >&6; } 5927 if test $tcl_cv_sysexecaout_h = usable; then 5928 cat >>confdefs.h <<\_ACEOF 5929 #define USE_SYS_EXEC_AOUT_H 1 5930 _ACEOF 5931 5932 else 5933 DL_OBJS="" 5934 fi 5935 fi 5936 fi 5937 fi 5938 5939 # Step 5: disable dynamic loading if requested via a command-line switch. 5940 5941 # Check whether --enable-load was given. 5942 if test "${enable_load+set}" = set; then 5943 enableval=$enable_load; tcl_ok=$enableval 5944 else 5945 tcl_ok=yes 5946 fi 5947 5948 if test "$tcl_ok" = "no"; then 5949 DL_OBJS="" 5950 fi 5951 5952 if test "x$DL_OBJS" != "x" ; then 5953 BUILD_DLTEST="\$(DLTEST_TARGETS)" 5954 else 5955 echo "Can't figure out how to do dynamic loading or shared libraries" 5956 echo "on this system." 5957 SHLIB_CFLAGS="" 5958 SHLIB_LD="" 5959 SHLIB_SUFFIX="" 5960 DL_OBJS="tclLoadNone.o" 5961 DL_LIBS="" 5962 LDFLAGS="$LDFLAGS_ORIG" 5963 CC_SEARCH_FLAGS="" 5964 LD_SEARCH_FLAGS="" 5965 BUILD_DLTEST="" 5966 fi 5967 5968 # If we're running gcc, then change the C flags for compiling shared 5969 # libraries to the right flags for gcc, instead of those for the 5970 # standard manufacturer compiler. 5971 5972 if test "$DL_OBJS" != "tclLoadNone.o" ; then 5973 if test "$GCC" = "yes" ; then 5974 case $system in 5975 AIX-*) 5976 ;; 5977 BSD/OS*) 5978 ;; 5979 IRIX*) 5980 ;; 5981 NetBSD-*|FreeBSD-*|OpenBSD-*) 5982 ;; 5983 Darwin-*) 5984 ;; 5985 RISCos-*) 5986 ;; 5987 SCO_SV-3.2*) 5988 ;; 5989 ULTRIX-4.*) 5990 ;; 5991 *) 5992 SHLIB_CFLAGS="-fPIC" 5993 ;; 5994 esac 5995 fi 5996 fi 5997 5998 if test "$SHARED_LIB_SUFFIX" = "" ; then 5999 SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}${SHLIB_SUFFIX}' 6000 fi 6001 if test "$UNSHARED_LIB_SUFFIX" = "" ; then 6002 UNSHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a' 6003 fi 6004 6005 if test "${SHARED_BUILD}" = "1" && test "${SHLIB_SUFFIX}" != "" ; then 6006 LIB_SUFFIX=${SHARED_LIB_SUFFIX} 6007 MAKE_LIB='${SHLIB_LD} -o $@ ${OBJS} ${SHLIB_LD_LIBS} ${TCL_SHLIB_LD_EXTRAS} ${TK_SHLIB_LD_EXTRAS} ${LD_SEARCH_FLAGS}' 6008 INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE)' 6009 else 6010 LIB_SUFFIX=${UNSHARED_LIB_SUFFIX} 6011 6012 if test "$RANLIB" = "" ; then 6013 MAKE_LIB='$(STLIB_LD) $@ ${OBJS}' 6014 INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE)' 6015 else 6016 MAKE_LIB='${STLIB_LD} $@ ${OBJS} ; ${RANLIB} $@' 6017 INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB) $(LIB_FILE))' 6018 fi 6019 6020 fi 6021 6022 6023 # Stub lib does not depend on shared/static configuration 6024 if test "$RANLIB" = "" ; then 6025 MAKE_STUB_LIB='${STLIB_LD} $@ ${STUB_LIB_OBJS}' 6026 INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) $(LIB_INSTALL_DIR)/$(STUB_LIB_FILE)' 6027 else 6028 MAKE_STUB_LIB='${STLIB_LD} $@ ${STUB_LIB_OBJS} ; ${RANLIB} $@' 6029 INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) $(LIB_INSTALL_DIR)/$(STUB_LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB) $(STUB_LIB_FILE))' 6030 fi 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 1843 SC_CONFIG_CFLAGS 6063 1844 6064 1845 … … 6087 1868 done 6088 1869 if test -z "$ac_aux_dir"; then 6089 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&56090 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}1870 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1871 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 6091 1872 { (exit 1); exit 1; }; } 6092 1873 fi … … 6114 1895 # OS/2's system install, which has a completely different semantic 6115 1896 # ./install, which can be erroneously created by make from ./install.sh. 6116 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6117 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1897 # Reject install programs that cannot install multiple files. 1898 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1899 $as_echo_n "checking for a BSD-compatible install... " >&6; } 6118 1900 if test -z "$INSTALL"; then 6119 1901 if test "${ac_cv_path_install+set}" = set; then 6120 echo $ECHO_N "(cached) $ECHO_C" >&61902 $as_echo_n "(cached) " >&6 6121 1903 else 6122 1904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 6147 1929 : 6148 1930 else 6149 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 6150 break 3 1931 rm -rf conftest.one conftest.two conftest.dir 1932 echo one > conftest.one 1933 echo two > conftest.two 1934 mkdir conftest.dir 1935 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 1936 test -s conftest.one && test -s conftest.two && 1937 test -s conftest.dir/conftest.one && 1938 test -s conftest.dir/conftest.two 1939 then 1940 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1941 break 3 1942 fi 6151 1943 fi 6152 1944 fi … … 6155 1947 ;; 6156 1948 esac 1949 6157 1950 done 6158 1951 IFS=$as_save_IFS 6159 1952 1953 rm -rf conftest.one conftest.two conftest.dir 6160 1954 6161 1955 fi … … 6170 1964 fi 6171 1965 fi 6172 { echo "$as_me:$LINENO: result: $INSTALL" >&56173 echo "${ECHO_T}$INSTALL" >&6; }1966 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 1967 $as_echo "$INSTALL" >&6; } 6174 1968 6175 1969 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 6184 1978 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6185 1979 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6186 { echo "$as_me:$LINENO: checking for $ac_word" >&56187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1980 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 1981 $as_echo_n "checking for $ac_word... " >&6; } 6188 1982 if test "${ac_cv_prog_RANLIB+set}" = set; then 6189 echo $ECHO_N "(cached) $ECHO_C" >&61983 $as_echo_n "(cached) " >&6 6190 1984 else 6191 1985 if test -n "$RANLIB"; then … … 6200 1994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6201 1995 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51996 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6203 1997 break 2 6204 1998 fi … … 6211 2005 RANLIB=$ac_cv_prog_RANLIB 6212 2006 if test -n "$RANLIB"; then 6213 { echo "$as_me:$LINENO: result: $RANLIB" >&56214 echo "${ECHO_T}$RANLIB" >&6; }6215 else 6216 { echo "$as_me:$LINENO: result: no" >&56217 echo "${ECHO_T}no" >&6; }2007 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 2008 $as_echo "$RANLIB" >&6; } 2009 else 2010 { $as_echo "$as_me:$LINENO: result: no" >&5 2011 $as_echo "no" >&6; } 6218 2012 fi 6219 2013 … … 6224 2018 # Extract the first word of "ranlib", so it can be a program name with args. 6225 2019 set dummy ranlib; ac_word=$2 6226 { echo "$as_me:$LINENO: checking for $ac_word" >&56227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2020 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2021 $as_echo_n "checking for $ac_word... " >&6; } 6228 2022 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 6229 echo $ECHO_N "(cached) $ECHO_C" >&62023 $as_echo_n "(cached) " >&6 6230 2024 else 6231 2025 if test -n "$ac_ct_RANLIB"; then … … 6240 2034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6241 2035 ac_cv_prog_ac_ct_RANLIB="ranlib" 6242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52036 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6243 2037 break 2 6244 2038 fi … … 6251 2045 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6252 2046 if test -n "$ac_ct_RANLIB"; then 6253 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&56254 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }6255 else 6256 { echo "$as_me:$LINENO: result: no" >&56257 echo "${ECHO_T}no" >&6; }2047 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 2048 $as_echo "$ac_ct_RANLIB" >&6; } 2049 else 2050 { $as_echo "$as_me:$LINENO: result: no" >&5 2051 $as_echo "no" >&6; } 6258 2052 fi 6259 2053 … … 6263 2057 case $cross_compiling:$ac_tool_warned in 6264 2058 yes:) 6265 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6266 whose name does not start with the host triplet. If you think this 6267 configuration is useful to you, please write to autoconf@gnu.org." >&5 6268 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6269 whose name does not start with the host triplet. If you think this 6270 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2059 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6271 2061 ac_tool_warned=yes ;; 6272 2062 esac … … 6277 2067 fi 6278 2068 6279 { echo "$as_me:$LINENO: checking whether ln -s works" >&56280 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }2069 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 2070 $as_echo_n "checking whether ln -s works... " >&6; } 6281 2071 LN_S=$as_ln_s 6282 2072 if test "$LN_S" = "ln -s"; then 6283 { echo "$as_me:$LINENO: result: yes" >&56284 echo "${ECHO_T}yes" >&6; }6285 else 6286 { echo "$as_me:$LINENO: result: no, using $LN_S" >&56287 echo "${ECHO_T}no, using $LN_S" >&6; }6288 fi 6289 6290 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&56291 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }2073 { $as_echo "$as_me:$LINENO: result: yes" >&5 2074 $as_echo "yes" >&6; } 2075 else 2076 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 2077 $as_echo "no, using $LN_S" >&6; } 2078 fi 2079 2080 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2081 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 6292 2082 if test -z "$MKDIR_P"; then 6293 2083 if test "${ac_cv_path_mkdir+set}" = set; then 6294 echo $ECHO_N "(cached) $ECHO_C" >&62084 $as_echo_n "(cached) " >&6 6295 2085 else 6296 2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 6327 2117 fi 6328 2118 fi 6329 { echo "$as_me:$LINENO: result: $MKDIR_P" >&56330 echo "${ECHO_T}$MKDIR_P" >&6; }2119 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2120 $as_echo "$MKDIR_P" >&6; } 6331 2121 6332 2122 … … 6339 2129 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 6340 2130 set dummy ${ac_tool_prefix}gcc; ac_word=$2 6341 { echo "$as_me:$LINENO: checking for $ac_word" >&56342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2131 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2132 $as_echo_n "checking for $ac_word... " >&6; } 6343 2133 if test "${ac_cv_prog_CC+set}" = set; then 6344 echo $ECHO_N "(cached) $ECHO_C" >&62134 $as_echo_n "(cached) " >&6 6345 2135 else 6346 2136 if test -n "$CC"; then … … 6355 2145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6356 2146 ac_cv_prog_CC="${ac_tool_prefix}gcc" 6357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52147 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6358 2148 break 2 6359 2149 fi … … 6366 2156 CC=$ac_cv_prog_CC 6367 2157 if test -n "$CC"; then 6368 { echo "$as_me:$LINENO: result: $CC" >&56369 echo "${ECHO_T}$CC" >&6; }6370 else 6371 { echo "$as_me:$LINENO: result: no" >&56372 echo "${ECHO_T}no" >&6; }2158 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2159 $as_echo "$CC" >&6; } 2160 else 2161 { $as_echo "$as_me:$LINENO: result: no" >&5 2162 $as_echo "no" >&6; } 6373 2163 fi 6374 2164 … … 6379 2169 # Extract the first word of "gcc", so it can be a program name with args. 6380 2170 set dummy gcc; ac_word=$2 6381 { echo "$as_me:$LINENO: checking for $ac_word" >&56382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2171 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2172 $as_echo_n "checking for $ac_word... " >&6; } 6383 2173 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6384 echo $ECHO_N "(cached) $ECHO_C" >&62174 $as_echo_n "(cached) " >&6 6385 2175 else 6386 2176 if test -n "$ac_ct_CC"; then … … 6395 2185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6396 2186 ac_cv_prog_ac_ct_CC="gcc" 6397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52187 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6398 2188 break 2 6399 2189 fi … … 6406 2196 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6407 2197 if test -n "$ac_ct_CC"; then 6408 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&56409 echo "${ECHO_T}$ac_ct_CC" >&6; }6410 else 6411 { echo "$as_me:$LINENO: result: no" >&56412 echo "${ECHO_T}no" >&6; }2198 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2199 $as_echo "$ac_ct_CC" >&6; } 2200 else 2201 { $as_echo "$as_me:$LINENO: result: no" >&5 2202 $as_echo "no" >&6; } 6413 2203 fi 6414 2204 … … 6418 2208 case $cross_compiling:$ac_tool_warned in 6419 2209 yes:) 6420 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6421 whose name does not start with the host triplet. If you think this 6422 configuration is useful to you, please write to autoconf@gnu.org." >&5 6423 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6424 whose name does not start with the host triplet. If you think this 6425 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2210 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6426 2212 ac_tool_warned=yes ;; 6427 2213 esac … … 6436 2222 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 6437 2223 set dummy ${ac_tool_prefix}cc; ac_word=$2 6438 { echo "$as_me:$LINENO: checking for $ac_word" >&56439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2224 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2225 $as_echo_n "checking for $ac_word... " >&6; } 6440 2226 if test "${ac_cv_prog_CC+set}" = set; then 6441 echo $ECHO_N "(cached) $ECHO_C" >&62227 $as_echo_n "(cached) " >&6 6442 2228 else 6443 2229 if test -n "$CC"; then … … 6452 2238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6453 2239 ac_cv_prog_CC="${ac_tool_prefix}cc" 6454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52240 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6455 2241 break 2 6456 2242 fi … … 6463 2249 CC=$ac_cv_prog_CC 6464 2250 if test -n "$CC"; then 6465 { echo "$as_me:$LINENO: result: $CC" >&56466 echo "${ECHO_T}$CC" >&6; }6467 else 6468 { echo "$as_me:$LINENO: result: no" >&56469 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; } 6470 2256 fi 6471 2257 … … 6476 2262 # Extract the first word of "cc", so it can be a program name with args. 6477 2263 set dummy cc; ac_word=$2 6478 { echo "$as_me:$LINENO: checking for $ac_word" >&56479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2264 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2265 $as_echo_n "checking for $ac_word... " >&6; } 6480 2266 if test "${ac_cv_prog_CC+set}" = set; then 6481 echo $ECHO_N "(cached) $ECHO_C" >&62267 $as_echo_n "(cached) " >&6 6482 2268 else 6483 2269 if test -n "$CC"; then … … 6497 2283 fi 6498 2284 ac_cv_prog_CC="cc" 6499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52285 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6500 2286 break 2 6501 2287 fi … … 6520 2306 CC=$ac_cv_prog_CC 6521 2307 if test -n "$CC"; then 6522 { echo "$as_me:$LINENO: result: $CC" >&56523 echo "${ECHO_T}$CC" >&6; }6524 else 6525 { echo "$as_me:$LINENO: result: no" >&56526 echo "${ECHO_T}no" >&6; }2308 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2309 $as_echo "$CC" >&6; } 2310 else 2311 { $as_echo "$as_me:$LINENO: result: no" >&5 2312 $as_echo "no" >&6; } 6527 2313 fi 6528 2314 … … 6535 2321 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6536 2322 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6537 { echo "$as_me:$LINENO: checking for $ac_word" >&56538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2323 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2324 $as_echo_n "checking for $ac_word... " >&6; } 6539 2325 if test "${ac_cv_prog_CC+set}" = set; then 6540 echo $ECHO_N "(cached) $ECHO_C" >&62326 $as_echo_n "(cached) " >&6 6541 2327 else 6542 2328 if test -n "$CC"; then … … 6551 2337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6552 2338 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 6553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52339 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6554 2340 break 2 6555 2341 fi … … 6562 2348 CC=$ac_cv_prog_CC 6563 2349 if test -n "$CC"; then 6564 { echo "$as_me:$LINENO: result: $CC" >&56565 echo "${ECHO_T}$CC" >&6; }6566 else 6567 { echo "$as_me:$LINENO: result: no" >&56568 echo "${ECHO_T}no" >&6; }2350 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2351 $as_echo "$CC" >&6; } 2352 else 2353 { $as_echo "$as_me:$LINENO: result: no" >&5 2354 $as_echo "no" >&6; } 6569 2355 fi 6570 2356 … … 6579 2365 # Extract the first word of "$ac_prog", so it can be a program name with args. 6580 2366 set dummy $ac_prog; ac_word=$2 6581 { echo "$as_me:$LINENO: checking for $ac_word" >&56582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2367 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2368 $as_echo_n "checking for $ac_word... " >&6; } 6583 2369 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6584 echo $ECHO_N "(cached) $ECHO_C" >&62370 $as_echo_n "(cached) " >&6 6585 2371 else 6586 2372 if test -n "$ac_ct_CC"; then … … 6595 2381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6596 2382 ac_cv_prog_ac_ct_CC="$ac_prog" 6597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52383 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6598 2384 break 2 6599 2385 fi … … 6606 2392 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6607 2393 if test -n "$ac_ct_CC"; then 6608 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&56609 echo "${ECHO_T}$ac_ct_CC" >&6; }6610 else 6611 { echo "$as_me:$LINENO: result: no" >&56612 echo "${ECHO_T}no" >&6; }2394 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2395 $as_echo "$ac_ct_CC" >&6; } 2396 else 2397 { $as_echo "$as_me:$LINENO: result: no" >&5 2398 $as_echo "no" >&6; } 6613 2399 fi 6614 2400 … … 6622 2408 case $cross_compiling:$ac_tool_warned in 6623 2409 yes:) 6624 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6625 whose name does not start with the host triplet. If you think this 6626 configuration is useful to you, please write to autoconf@gnu.org." >&5 6627 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6628 whose name does not start with the host triplet. If you think this 6629 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2410 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6630 2412 ac_tool_warned=yes ;; 6631 2413 esac … … 6637 2419 6638 2420 6639 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2421 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2423 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 6640 2424 See \`config.log' for more details." >&5 6641 echo "$as_me: error: no acceptable C compiler found in \$PATH2425 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 6642 2426 See \`config.log' for more details." >&2;} 6643 { (exit 1); exit 1; }; } 2427 { (exit 1); exit 1; }; }; } 6644 2428 6645 2429 # Provide some information about the compiler. 6646 echo "$as_me:$LINENO: checking for C compiler version" >&5 6647 ac_compiler=`set X $ac_compile; echo $2` 2430 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2431 set X $ac_compile 2432 ac_compiler=$2 6648 2433 { (ac_try="$ac_compiler --version >&5" 6649 2434 case "(($ac_try" in … … 6651 2436 *) ac_try_echo=$ac_try;; 6652 2437 esac 6653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2439 $as_echo "$ac_try_echo") >&5 6654 2440 (eval "$ac_compiler --version >&5") 2>&5 6655 2441 ac_status=$? 6656 echo "$as_me:$LINENO: \$? = $ac_status" >&52442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6657 2443 (exit $ac_status); } 6658 2444 { (ac_try="$ac_compiler -v >&5" … … 6661 2447 *) ac_try_echo=$ac_try;; 6662 2448 esac 6663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2450 $as_echo "$ac_try_echo") >&5 6664 2451 (eval "$ac_compiler -v >&5") 2>&5 6665 2452 ac_status=$? 6666 echo "$as_me:$LINENO: \$? = $ac_status" >&52453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6667 2454 (exit $ac_status); } 6668 2455 { (ac_try="$ac_compiler -V >&5" … … 6671 2458 *) ac_try_echo=$ac_try;; 6672 2459 esac 6673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2461 $as_echo "$ac_try_echo") >&5 6674 2462 (eval "$ac_compiler -V >&5") 2>&5 6675 2463 ac_status=$? 6676 echo "$as_me:$LINENO: \$? = $ac_status" >&52464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6677 2465 (exit $ac_status); } 6678 2466 6679 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 6680 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2467 cat >conftest.$ac_ext <<_ACEOF 2468 /* confdefs.h. */ 2469 _ACEOF 2470 cat confdefs.h >>conftest.$ac_ext 2471 cat >>conftest.$ac_ext <<_ACEOF 2472 /* end confdefs.h. */ 2473 2474 int 2475 main () 2476 { 2477 2478 ; 2479 return 0; 2480 } 2481 _ACEOF 2482 ac_clean_files_save=$ac_clean_files 2483 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2484 # Try to create an executable without -o first, disregard a.out. 2485 # It will help us diagnose broken compilers, and finding out an intuition 2486 # of exeext. 2487 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2488 $as_echo_n "checking for C compiler default output file name... " >&6; } 2489 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2490 2491 # The possible output files: 2492 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2493 2494 ac_rmfiles= 2495 for ac_file in $ac_files 2496 do 2497 case $ac_file in 2498 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2499 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2500 esac 2501 done 2502 rm -f $ac_rmfiles 2503 2504 if { (ac_try="$ac_link_default" 2505 case "(($ac_try" in 2506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2507 *) ac_try_echo=$ac_try;; 2508 esac 2509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2510 $as_echo "$ac_try_echo") >&5 2511 (eval "$ac_link_default") 2>&5 2512 ac_status=$? 2513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2514 (exit $ac_status); }; then 2515 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2516 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2517 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2518 # so that the user can short-circuit this test for compilers unknown to 2519 # Autoconf. 2520 for ac_file in $ac_files '' 2521 do 2522 test -f "$ac_file" || continue 2523 case $ac_file in 2524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2525 ;; 2526 [ab].out ) 2527 # We found the default executable, but exeext='' is most 2528 # certainly right. 2529 break;; 2530 *.* ) 2531 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2532 then :; else 2533 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2534 fi 2535 # We set ac_cv_exeext here because the later test for it is not 2536 # safe: cross compilers may not add the suffix if given an `-o' 2537 # argument, so we may need to know it at that point already. 2538 # Even if this section looks crufty: it has the advantage of 2539 # actually working. 2540 break;; 2541 * ) 2542 break;; 2543 esac 2544 done 2545 test "$ac_cv_exeext" = no && ac_cv_exeext= 2546 2547 else 2548 ac_file='' 2549 fi 2550 2551 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2552 $as_echo "$ac_file" >&6; } 2553 if test -z "$ac_file"; then 2554 $as_echo "$as_me: failed program was:" >&5 2555 sed 's/^/| /' conftest.$ac_ext >&5 2556 2557 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2559 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2560 See \`config.log' for more details." >&5 2561 $as_echo "$as_me: error: C compiler cannot create executables 2562 See \`config.log' for more details." >&2;} 2563 { (exit 77); exit 77; }; }; } 2564 fi 2565 2566 ac_exeext=$ac_cv_exeext 2567 2568 # Check that the compiler produces executables we can run. If not, either 2569 # the compiler is broken, or we cross compile. 2570 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2571 $as_echo_n "checking whether the C compiler works... " >&6; } 2572 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2573 # If not cross compiling, check that we can run a simple program. 2574 if test "$cross_compiling" != yes; then 2575 if { ac_try='./$ac_file' 2576 { (case "(($ac_try" in 2577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2578 *) ac_try_echo=$ac_try;; 2579 esac 2580 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2581 $as_echo "$ac_try_echo") >&5 2582 (eval "$ac_try") 2>&5 2583 ac_status=$? 2584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2585 (exit $ac_status); }; }; then 2586 cross_compiling=no 2587 else 2588 if test "$cross_compiling" = maybe; then 2589 cross_compiling=yes 2590 else 2591 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2593 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2594 If you meant to cross compile, use \`--host'. 2595 See \`config.log' for more details." >&5 2596 $as_echo "$as_me: error: cannot run C compiled programs. 2597 If you meant to cross compile, use \`--host'. 2598 See \`config.log' for more details." >&2;} 2599 { (exit 1); exit 1; }; }; } 2600 fi 2601 fi 2602 fi 2603 { $as_echo "$as_me:$LINENO: result: yes" >&5 2604 $as_echo "yes" >&6; } 2605 2606 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2607 ac_clean_files=$ac_clean_files_save 2608 # Check that the compiler produces executables we can run. If not, either 2609 # the compiler is broken, or we cross compile. 2610 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2611 $as_echo_n "checking whether we are cross compiling... " >&6; } 2612 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2613 $as_echo "$cross_compiling" >&6; } 2614 2615 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2616 $as_echo_n "checking for suffix of executables... " >&6; } 2617 if { (ac_try="$ac_link" 2618 case "(($ac_try" in 2619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2620 *) ac_try_echo=$ac_try;; 2621 esac 2622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2623 $as_echo "$ac_try_echo") >&5 2624 (eval "$ac_link") 2>&5 2625 ac_status=$? 2626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2627 (exit $ac_status); }; then 2628 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2629 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2630 # work properly (i.e., refer to `conftest.exe'), while it won't with 2631 # `rm'. 2632 for ac_file in conftest.exe conftest conftest.*; do 2633 test -f "$ac_file" || continue 2634 case $ac_file in 2635 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2636 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2637 break;; 2638 * ) break;; 2639 esac 2640 done 2641 else 2642 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2644 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2645 See \`config.log' for more details." >&5 2646 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2647 See \`config.log' for more details." >&2;} 2648 { (exit 1); exit 1; }; }; } 2649 fi 2650 2651 rm -f conftest$ac_cv_exeext 2652 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2653 $as_echo "$ac_cv_exeext" >&6; } 2654 2655 rm -f conftest.$ac_ext 2656 EXEEXT=$ac_cv_exeext 2657 ac_exeext=$EXEEXT 2658 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2659 $as_echo_n "checking for suffix of object files... " >&6; } 2660 if test "${ac_cv_objext+set}" = set; then 2661 $as_echo_n "(cached) " >&6 2662 else 2663 cat >conftest.$ac_ext <<_ACEOF 2664 /* confdefs.h. */ 2665 _ACEOF 2666 cat confdefs.h >>conftest.$ac_ext 2667 cat >>conftest.$ac_ext <<_ACEOF 2668 /* end confdefs.h. */ 2669 2670 int 2671 main () 2672 { 2673 2674 ; 2675 return 0; 2676 } 2677 _ACEOF 2678 rm -f conftest.o conftest.obj 2679 if { (ac_try="$ac_compile" 2680 case "(($ac_try" in 2681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2682 *) ac_try_echo=$ac_try;; 2683 esac 2684 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2685 $as_echo "$ac_try_echo") >&5 2686 (eval "$ac_compile") 2>&5 2687 ac_status=$? 2688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2689 (exit $ac_status); }; then 2690 for ac_file in conftest.o conftest.obj conftest.*; do 2691 test -f "$ac_file" || continue; 2692 case $ac_file in 2693 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2694 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2695 break;; 2696 esac 2697 done 2698 else 2699 $as_echo "$as_me: failed program was:" >&5 2700 sed 's/^/| /' conftest.$ac_ext >&5 2701 2702 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2704 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2705 See \`config.log' for more details." >&5 2706 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2707 See \`config.log' for more details." >&2;} 2708 { (exit 1); exit 1; }; }; } 2709 fi 2710 2711 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2712 fi 2713 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2714 $as_echo "$ac_cv_objext" >&6; } 2715 OBJEXT=$ac_cv_objext 2716 ac_objext=$OBJEXT 2717 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2718 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 6681 2719 if test "${ac_cv_c_compiler_gnu+set}" = set; then 6682 echo $ECHO_N "(cached) $ECHO_C" >&62720 $as_echo_n "(cached) " >&6 6683 2721 else 6684 2722 cat >conftest.$ac_ext <<_ACEOF … … 6706 2744 *) ac_try_echo=$ac_try;; 6707 2745 esac 6708 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 6709 2748 (eval "$ac_compile") 2>conftest.er1 6710 2749 ac_status=$? … … 6712 2751 rm -f conftest.er1 6713 2752 cat conftest.err >&5 6714 echo "$as_me:$LINENO: \$? = $ac_status" >&52753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6715 2754 (exit $ac_status); } && { 6716 2755 test -z "$ac_c_werror_flag" || … … 6719 2758 ac_compiler_gnu=yes 6720 2759 else 6721 echo "$as_me: failed program was:" >&52760 $as_echo "$as_me: failed program was:" >&5 6722 2761 sed 's/^/| /' conftest.$ac_ext >&5 6723 2762 … … 6729 2768 6730 2769 fi 6731 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 6732 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 6733 GCC=`test $ac_compiler_gnu = yes && echo yes` 2770 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2771 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2772 if test $ac_compiler_gnu = yes; then 2773 GCC=yes 2774 else 2775 GCC= 2776 fi 6734 2777 ac_test_CFLAGS=${CFLAGS+set} 6735 2778 ac_save_CFLAGS=$CFLAGS 6736 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&56737 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2779 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2780 $as_echo_n "checking whether $CC accepts -g... " >&6; } 6738 2781 if test "${ac_cv_prog_cc_g+set}" = set; then 6739 echo $ECHO_N "(cached) $ECHO_C" >&62782 $as_echo_n "(cached) " >&6 6740 2783 else 6741 2784 ac_save_c_werror_flag=$ac_c_werror_flag … … 6764 2807 *) ac_try_echo=$ac_try;; 6765 2808 esac 6766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2810 $as_echo "$ac_try_echo") >&5 6767 2811 (eval "$ac_compile") 2>conftest.er1 6768 2812 ac_status=$? … … 6770 2814 rm -f conftest.er1 6771 2815 cat conftest.err >&5 6772 echo "$as_me:$LINENO: \$? = $ac_status" >&52816 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6773 2817 (exit $ac_status); } && { 6774 2818 test -z "$ac_c_werror_flag" || … … 6777 2821 ac_cv_prog_cc_g=yes 6778 2822 else 6779 echo "$as_me: failed program was:" >&52823 $as_echo "$as_me: failed program was:" >&5 6780 2824 sed 's/^/| /' conftest.$ac_ext >&5 6781 2825 … … 6802 2846 *) ac_try_echo=$ac_try;; 6803 2847 esac 6804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2849 $as_echo "$ac_try_echo") >&5 6805 2850 (eval "$ac_compile") 2>conftest.er1 6806 2851 ac_status=$? … … 6808 2853 rm -f conftest.er1 6809 2854 cat conftest.err >&5 6810 echo "$as_me:$LINENO: \$? = $ac_status" >&52855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6811 2856 (exit $ac_status); } && { 6812 2857 test -z "$ac_c_werror_flag" || … … 6815 2860 : 6816 2861 else 6817 echo "$as_me: failed program was:" >&52862 $as_echo "$as_me: failed program was:" >&5 6818 2863 sed 's/^/| /' conftest.$ac_ext >&5 6819 2864 … … 6841 2886 *) ac_try_echo=$ac_try;; 6842 2887 esac 6843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2889 $as_echo "$ac_try_echo") >&5 6844 2890 (eval "$ac_compile") 2>conftest.er1 6845 2891 ac_status=$? … … 6847 2893 rm -f conftest.er1 6848 2894 cat conftest.err >&5 6849 echo "$as_me:$LINENO: \$? = $ac_status" >&52895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6850 2896 (exit $ac_status); } && { 6851 2897 test -z "$ac_c_werror_flag" || … … 6854 2900 ac_cv_prog_cc_g=yes 6855 2901 else 6856 echo "$as_me: failed program was:" >&52902 $as_echo "$as_me: failed program was:" >&5 6857 2903 sed 's/^/| /' conftest.$ac_ext >&5 6858 2904 … … 6869 2915 ac_c_werror_flag=$ac_save_c_werror_flag 6870 2916 fi 6871 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&56872 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }2917 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2918 $as_echo "$ac_cv_prog_cc_g" >&6; } 6873 2919 if test "$ac_test_CFLAGS" = set; then 6874 2920 CFLAGS=$ac_save_CFLAGS … … 6886 2932 fi 6887 2933 fi 6888 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&56889 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2934 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2935 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 6890 2936 if test "${ac_cv_prog_cc_c89+set}" = set; then 6891 echo $ECHO_N "(cached) $ECHO_C" >&62937 $as_echo_n "(cached) " >&6 6892 2938 else 6893 2939 ac_cv_prog_cc_c89=no … … 6960 3006 *) ac_try_echo=$ac_try;; 6961 3007 esac 6962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3008 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3009 $as_echo "$ac_try_echo") >&5 6963 3010 (eval "$ac_compile") 2>conftest.er1 6964 3011 ac_status=$? … … 6966 3013 rm -f conftest.er1 6967 3014 cat conftest.err >&5 6968 echo "$as_me:$LINENO: \$? = $ac_status" >&53015 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6969 3016 (exit $ac_status); } && { 6970 3017 test -z "$ac_c_werror_flag" || … … 6973 3020 ac_cv_prog_cc_c89=$ac_arg 6974 3021 else 6975 echo "$as_me: failed program was:" >&53022 $as_echo "$as_me: failed program was:" >&5 6976 3023 sed 's/^/| /' conftest.$ac_ext >&5 6977 3024 … … 6989 3036 case "x$ac_cv_prog_cc_c89" in 6990 3037 x) 6991 { echo "$as_me:$LINENO: result: none needed" >&56992 echo "${ECHO_T}none needed" >&6; } ;;3038 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3039 $as_echo "none needed" >&6; } ;; 6993 3040 xno) 6994 { echo "$as_me:$LINENO: result: unsupported" >&56995 echo "${ECHO_T}unsupported" >&6; } ;;3041 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3042 $as_echo "unsupported" >&6; } ;; 6996 3043 *) 6997 3044 CC="$CC $ac_cv_prog_cc_c89" 6998 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&56999 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3045 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3046 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 7000 3047 esac 7001 3048 … … 7012 3059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7013 3060 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7014 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&57015 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }3061 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3062 $as_echo_n "checking how to run the C preprocessor... " >&6; } 7016 3063 # On Suns, sometimes $CPP names a directory. 7017 3064 if test -n "$CPP" && test -d "$CPP"; then … … 7020 3067 if test -z "$CPP"; then 7021 3068 if test "${ac_cv_prog_CPP+set}" = set; then 7022 echo $ECHO_N "(cached) $ECHO_C" >&63069 $as_echo_n "(cached) " >&6 7023 3070 else 7024 3071 # Double quotes because CPP needs to be expanded … … 7052 3099 *) ac_try_echo=$ac_try;; 7053 3100 esac 7054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3102 $as_echo "$ac_try_echo") >&5 7055 3103 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7056 3104 ac_status=$? … … 7058 3106 rm -f conftest.er1 7059 3107 cat conftest.err >&5 7060 echo "$as_me:$LINENO: \$? = $ac_status" >&53108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7061 3109 (exit $ac_status); } >/dev/null && { 7062 3110 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 7065 3113 : 7066 3114 else 7067 echo "$as_me: failed program was:" >&53115 $as_echo "$as_me: failed program was:" >&5 7068 3116 sed 's/^/| /' conftest.$ac_ext >&5 7069 3117 … … 7089 3137 *) ac_try_echo=$ac_try;; 7090 3138 esac 7091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3140 $as_echo "$ac_try_echo") >&5 7092 3141 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7093 3142 ac_status=$? … … 7095 3144 rm -f conftest.er1 7096 3145 cat conftest.err >&5 7097 echo "$as_me:$LINENO: \$? = $ac_status" >&53146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7098 3147 (exit $ac_status); } >/dev/null && { 7099 3148 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 7103 3152 continue 7104 3153 else 7105 echo "$as_me: failed program was:" >&53154 $as_echo "$as_me: failed program was:" >&5 7106 3155 sed 's/^/| /' conftest.$ac_ext >&5 7107 3156 … … 7128 3177 ac_cv_prog_CPP=$CPP 7129 3178 fi 7130 { echo "$as_me:$LINENO: result: $CPP" >&57131 echo "${ECHO_T}$CPP" >&6; }3179 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 3180 $as_echo "$CPP" >&6; } 7132 3181 ac_preproc_ok=false 7133 3182 for ac_c_preproc_warn_flag in '' yes … … 7157 3206 *) ac_try_echo=$ac_try;; 7158 3207 esac 7159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3208 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3209 $as_echo "$ac_try_echo") >&5 7160 3210 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7161 3211 ac_status=$? … … 7163 3213 rm -f conftest.er1 7164 3214 cat conftest.err >&5 7165 echo "$as_me:$LINENO: \$? = $ac_status" >&53215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7166 3216 (exit $ac_status); } >/dev/null && { 7167 3217 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 7170 3220 : 7171 3221 else 7172 echo "$as_me: failed program was:" >&53222 $as_echo "$as_me: failed program was:" >&5 7173 3223 sed 's/^/| /' conftest.$ac_ext >&5 7174 3224 … … 7194 3244 *) ac_try_echo=$ac_try;; 7195 3245 esac 7196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3247 $as_echo "$ac_try_echo") >&5 7197 3248 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7198 3249 ac_status=$? … … 7200 3251 rm -f conftest.er1 7201 3252 cat conftest.err >&5 7202 echo "$as_me:$LINENO: \$? = $ac_status" >&53253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7203 3254 (exit $ac_status); } >/dev/null && { 7204 3255 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 7208 3259 continue 7209 3260 else 7210 echo "$as_me: failed program was:" >&53261 $as_echo "$as_me: failed program was:" >&5 7211 3262 sed 's/^/| /' conftest.$ac_ext >&5 7212 3263 … … 7224 3275 : 7225 3276 else 7226 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3277 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3279 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 7227 3280 See \`config.log' for more details." >&5 7228 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check3281 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 7229 3282 See \`config.log' for more details." >&2;} 7230 { (exit 1); exit 1; }; } 3283 { (exit 1); exit 1; }; }; } 7231 3284 fi 7232 3285 … … 7251 3304 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7252 3305 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7253 { echo "$as_me:$LINENO: checking for $ac_word" >&57254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3306 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3307 $as_echo_n "checking for $ac_word... " >&6; } 7255 3308 if test "${ac_cv_prog_CXX+set}" = set; then 7256 echo $ECHO_N "(cached) $ECHO_C" >&63309 $as_echo_n "(cached) " >&6 7257 3310 else 7258 3311 if test -n "$CXX"; then … … 7267 3320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7268 3321 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 7269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53322 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7270 3323 break 2 7271 3324 fi … … 7278 3331 CXX=$ac_cv_prog_CXX 7279 3332 if test -n "$CXX"; then 7280 { echo "$as_me:$LINENO: result: $CXX" >&57281 echo "${ECHO_T}$CXX" >&6; }7282 else 7283 { echo "$as_me:$LINENO: result: no" >&57284 echo "${ECHO_T}no" >&6; }3333 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 3334 $as_echo "$CXX" >&6; } 3335 else 3336 { $as_echo "$as_me:$LINENO: result: no" >&5 3337 $as_echo "no" >&6; } 7285 3338 fi 7286 3339 … … 7295 3348 # Extract the first word of "$ac_prog", so it can be a program name with args. 7296 3349 set dummy $ac_prog; ac_word=$2 7297 { echo "$as_me:$LINENO: checking for $ac_word" >&57298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3350 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3351 $as_echo_n "checking for $ac_word... " >&6; } 7299 3352 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 7300 echo $ECHO_N "(cached) $ECHO_C" >&63353 $as_echo_n "(cached) " >&6 7301 3354 else 7302 3355 if test -n "$ac_ct_CXX"; then … … 7311 3364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7312 3365 ac_cv_prog_ac_ct_CXX="$ac_prog" 7313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53366 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7314 3367 break 2 7315 3368 fi … … 7322 3375 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7323 3376 if test -n "$ac_ct_CXX"; then 7324 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&57325 echo "${ECHO_T}$ac_ct_CXX" >&6; }7326 else 7327 { echo "$as_me:$LINENO: result: no" >&57328 echo "${ECHO_T}no" >&6; }3377 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3378 $as_echo "$ac_ct_CXX" >&6; } 3379 else 3380 { $as_echo "$as_me:$LINENO: result: no" >&5 3381 $as_echo "no" >&6; } 7329 3382 fi 7330 3383 … … 7338 3391 case $cross_compiling:$ac_tool_warned in 7339 3392 yes:) 7340 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7341 whose name does not start with the host triplet. If you think this 7342 configuration is useful to you, please write to autoconf@gnu.org." >&5 7343 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7344 whose name does not start with the host triplet. If you think this 7345 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3393 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7346 3395 ac_tool_warned=yes ;; 7347 3396 esac … … 7353 3402 fi 7354 3403 # Provide some information about the compiler. 7355 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7356 ac_compiler=`set X $ac_compile; echo $2` 3404 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3405 set X $ac_compile 3406 ac_compiler=$2 7357 3407 { (ac_try="$ac_compiler --version >&5" 7358 3408 case "(($ac_try" in … … 7360 3410 *) ac_try_echo=$ac_try;; 7361 3411 esac 7362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3413 $as_echo "$ac_try_echo") >&5 7363 3414 (eval "$ac_compiler --version >&5") 2>&5 7364 3415 ac_status=$? 7365 echo "$as_me:$LINENO: \$? = $ac_status" >&53416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7366 3417 (exit $ac_status); } 7367 3418 { (ac_try="$ac_compiler -v >&5" … … 7370 3421 *) ac_try_echo=$ac_try;; 7371 3422 esac 7372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3424 $as_echo "$ac_try_echo") >&5 7373 3425 (eval "$ac_compiler -v >&5") 2>&5 7374 3426 ac_status=$? 7375 echo "$as_me:$LINENO: \$? = $ac_status" >&53427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7376 3428 (exit $ac_status); } 7377 3429 { (ac_try="$ac_compiler -V >&5" … … 7380 3432 *) ac_try_echo=$ac_try;; 7381 3433 esac 7382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3434 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3435 $as_echo "$ac_try_echo") >&5 7383 3436 (eval "$ac_compiler -V >&5") 2>&5 7384 3437 ac_status=$? 7385 echo "$as_me:$LINENO: \$? = $ac_status" >&53438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7386 3439 (exit $ac_status); } 7387 3440 7388 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&57389 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }3441 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3442 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7390 3443 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 7391 echo $ECHO_N "(cached) $ECHO_C" >&63444 $as_echo_n "(cached) " >&6 7392 3445 else 7393 3446 cat >conftest.$ac_ext <<_ACEOF … … 7415 3468 *) ac_try_echo=$ac_try;; 7416 3469 esac 7417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3471 $as_echo "$ac_try_echo") >&5 7418 3472 (eval "$ac_compile") 2>conftest.er1 7419 3473 ac_status=$? … … 7421 3475 rm -f conftest.er1 7422 3476 cat conftest.err >&5 7423 echo "$as_me:$LINENO: \$? = $ac_status" >&53477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7424 3478 (exit $ac_status); } && { 7425 3479 test -z "$ac_cxx_werror_flag" || … … 7428 3482 ac_compiler_gnu=yes 7429 3483 else 7430 echo "$as_me: failed program was:" >&53484 $as_echo "$as_me: failed program was:" >&5 7431 3485 sed 's/^/| /' conftest.$ac_ext >&5 7432 3486 … … 7438 3492 7439 3493 fi 7440 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 7441 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 7442 GXX=`test $ac_compiler_gnu = yes && echo yes` 3494 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3495 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3496 if test $ac_compiler_gnu = yes; then 3497 GXX=yes 3498 else 3499 GXX= 3500 fi 7443 3501 ac_test_CXXFLAGS=${CXXFLAGS+set} 7444 3502 ac_save_CXXFLAGS=$CXXFLAGS 7445 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&57446 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3503 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3504 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 7447 3505 if test "${ac_cv_prog_cxx_g+set}" = set; then 7448 echo $ECHO_N "(cached) $ECHO_C" >&63506 $as_echo_n "(cached) " >&6 7449 3507 else 7450 3508 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 7473 3531 *) ac_try_echo=$ac_try;; 7474 3532 esac 7475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3534 $as_echo "$ac_try_echo") >&5 7476 3535 (eval "$ac_compile") 2>conftest.er1 7477 3536 ac_status=$? … … 7479 3538 rm -f conftest.er1 7480 3539 cat conftest.err >&5 7481 echo "$as_me:$LINENO: \$? = $ac_status" >&53540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7482 3541 (exit $ac_status); } && { 7483 3542 test -z "$ac_cxx_werror_flag" || … … 7486 3545 ac_cv_prog_cxx_g=yes 7487 3546 else 7488 echo "$as_me: failed program was:" >&53547 $as_echo "$as_me: failed program was:" >&5 7489 3548 sed 's/^/| /' conftest.$ac_ext >&5 7490 3549 … … 7511 3570 *) ac_try_echo=$ac_try;; 7512 3571 esac 7513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3573 $as_echo "$ac_try_echo") >&5 7514 3574 (eval "$ac_compile") 2>conftest.er1 7515 3575 ac_status=$? … … 7517 3577 rm -f conftest.er1 7518 3578 cat conftest.err >&5 7519 echo "$as_me:$LINENO: \$? = $ac_status" >&53579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7520 3580 (exit $ac_status); } && { 7521 3581 test -z "$ac_cxx_werror_flag" || … … 7524 3584 : 7525 3585 else 7526 echo "$as_me: failed program was:" >&53586 $as_echo "$as_me: failed program was:" >&5 7527 3587 sed 's/^/| /' conftest.$ac_ext >&5 7528 3588 … … 7550 3610 *) ac_try_echo=$ac_try;; 7551 3611 esac 7552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3613 $as_echo "$ac_try_echo") >&5 7553 3614 (eval "$ac_compile") 2>conftest.er1 7554 3615 ac_status=$? … … 7556 3617 rm -f conftest.er1 7557 3618 cat conftest.err >&5 7558 echo "$as_me:$LINENO: \$? = $ac_status" >&53619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7559 3620 (exit $ac_status); } && { 7560 3621 test -z "$ac_cxx_werror_flag" || … … 7563 3624 ac_cv_prog_cxx_g=yes 7564 3625 else 7565 echo "$as_me: failed program was:" >&53626 $as_echo "$as_me: failed program was:" >&5 7566 3627 sed 's/^/| /' conftest.$ac_ext >&5 7567 3628 … … 7578 3639 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7579 3640 fi 7580 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&57581 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }3641 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3642 $as_echo "$ac_cv_prog_cxx_g" >&6; } 7582 3643 if test "$ac_test_CXXFLAGS" = set; then 7583 3644 CXXFLAGS=$ac_save_CXXFLAGS … … 7606 3667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7607 3668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7608 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&57609 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }3669 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 3670 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 7610 3671 if test -z "$CXXCPP"; then 7611 3672 if test "${ac_cv_prog_CXXCPP+set}" = set; then 7612 echo $ECHO_N "(cached) $ECHO_C" >&63673 $as_echo_n "(cached) " >&6 7613 3674 else 7614 3675 # Double quotes because CXXCPP needs to be expanded … … 7642 3703 *) ac_try_echo=$ac_try;; 7643 3704 esac 7644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3706 $as_echo "$ac_try_echo") >&5 7645 3707 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7646 3708 ac_status=$? … … 7648 3710 rm -f conftest.er1 7649 3711 cat conftest.err >&5 7650 echo "$as_me:$LINENO: \$? = $ac_status" >&53712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7651 3713 (exit $ac_status); } >/dev/null && { 7652 3714 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 7655 3717 : 7656 3718 else 7657 echo "$as_me: failed program was:" >&53719 $as_echo "$as_me: failed program was:" >&5 7658 3720 sed 's/^/| /' conftest.$ac_ext >&5 7659 3721 … … 7679 3741 *) ac_try_echo=$ac_try;; 7680 3742 esac 7681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3744 $as_echo "$ac_try_echo") >&5 7682 3745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7683 3746 ac_status=$? … … 7685 3748 rm -f conftest.er1 7686 3749 cat conftest.err >&5 7687 echo "$as_me:$LINENO: \$? = $ac_status" >&53750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7688 3751 (exit $ac_status); } >/dev/null && { 7689 3752 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 7693 3756 continue 7694 3757 else 7695 echo "$as_me: failed program was:" >&53758 $as_echo "$as_me: failed program was:" >&5 7696 3759 sed 's/^/| /' conftest.$ac_ext >&5 7697 3760 … … 7718 3781 ac_cv_prog_CXXCPP=$CXXCPP 7719 3782 fi 7720 { echo "$as_me:$LINENO: result: $CXXCPP" >&57721 echo "${ECHO_T}$CXXCPP" >&6; }3783 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 3784 $as_echo "$CXXCPP" >&6; } 7722 3785 ac_preproc_ok=false 7723 3786 for ac_cxx_preproc_warn_flag in '' yes … … 7747 3810 *) ac_try_echo=$ac_try;; 7748 3811 esac 7749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3813 $as_echo "$ac_try_echo") >&5 7750 3814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7751 3815 ac_status=$? … … 7753 3817 rm -f conftest.er1 7754 3818 cat conftest.err >&5 7755 echo "$as_me:$LINENO: \$? = $ac_status" >&53819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7756 3820 (exit $ac_status); } >/dev/null && { 7757 3821 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 7760 3824 : 7761 3825 else 7762 echo "$as_me: failed program was:" >&53826 $as_echo "$as_me: failed program was:" >&5 7763 3827 sed 's/^/| /' conftest.$ac_ext >&5 7764 3828 … … 7784 3848 *) ac_try_echo=$ac_try;; 7785 3849 esac 7786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3851 $as_echo "$ac_try_echo") >&5 7787 3852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7788 3853 ac_status=$? … … 7790 3855 rm -f conftest.er1 7791 3856 cat conftest.err >&5 7792 echo "$as_me:$LINENO: \$? = $ac_status" >&53857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7793 3858 (exit $ac_status); } >/dev/null && { 7794 3859 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 7798 3863 continue 7799 3864 else 7800 echo "$as_me: failed program was:" >&53865 $as_echo "$as_me: failed program was:" >&5 7801 3866 sed 's/^/| /' conftest.$ac_ext >&5 7802 3867 … … 7814 3879 : 7815 3880 else 7816 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 3881 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3883 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 7817 3884 See \`config.log' for more details." >&5 7818 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check3885 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 7819 3886 See \`config.log' for more details." >&2;} 7820 { (exit 1); exit 1; }; } 3887 { (exit 1); exit 1; }; }; } 7821 3888 fi 7822 3889 … … 7841 3908 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7842 3909 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7843 { echo "$as_me:$LINENO: checking for $ac_word" >&57844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3910 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3911 $as_echo_n "checking for $ac_word... " >&6; } 7845 3912 if test "${ac_cv_prog_CXX+set}" = set; then 7846 echo $ECHO_N "(cached) $ECHO_C" >&63913 $as_echo_n "(cached) " >&6 7847 3914 else 7848 3915 if test -n "$CXX"; then … … 7857 3924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7858 3925 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 7859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53926 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7860 3927 break 2 7861 3928 fi … … 7868 3935 CXX=$ac_cv_prog_CXX 7869 3936 if test -n "$CXX"; then 7870 { echo "$as_me:$LINENO: result: $CXX" >&57871 echo "${ECHO_T}$CXX" >&6; }7872 else 7873 { echo "$as_me:$LINENO: result: no" >&57874 echo "${ECHO_T}no" >&6; }3937 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 3938 $as_echo "$CXX" >&6; } 3939 else 3940 { $as_echo "$as_me:$LINENO: result: no" >&5 3941 $as_echo "no" >&6; } 7875 3942 fi 7876 3943 … … 7885 3952 # Extract the first word of "$ac_prog", so it can be a program name with args. 7886 3953 set dummy $ac_prog; ac_word=$2 7887 { echo "$as_me:$LINENO: checking for $ac_word" >&57888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3954 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3955 $as_echo_n "checking for $ac_word... " >&6; } 7889 3956 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 7890 echo $ECHO_N "(cached) $ECHO_C" >&63957 $as_echo_n "(cached) " >&6 7891 3958 else 7892 3959 if test -n "$ac_ct_CXX"; then … … 7901 3968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7902 3969 ac_cv_prog_ac_ct_CXX="$ac_prog" 7903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53970 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7904 3971 break 2 7905 3972 fi … … 7912 3979 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7913 3980 if test -n "$ac_ct_CXX"; then 7914 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&57915 echo "${ECHO_T}$ac_ct_CXX" >&6; }7916 else 7917 { echo "$as_me:$LINENO: result: no" >&57918 echo "${ECHO_T}no" >&6; }3981 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3982 $as_echo "$ac_ct_CXX" >&6; } 3983 else 3984 { $as_echo "$as_me:$LINENO: result: no" >&5 3985 $as_echo "no" >&6; } 7919 3986 fi 7920 3987 … … 7928 3995 case $cross_compiling:$ac_tool_warned in 7929 3996 yes:) 7930 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7931 whose name does not start with the host triplet. If you think this 7932 configuration is useful to you, please write to autoconf@gnu.org." >&5 7933 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7934 whose name does not start with the host triplet. If you think this 7935 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3997 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7936 3999 ac_tool_warned=yes ;; 7937 4000 esac … … 7943 4006 fi 7944 4007 # Provide some information about the compiler. 7945 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7946 ac_compiler=`set X $ac_compile; echo $2` 4008 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 4009 set X $ac_compile 4010 ac_compiler=$2 7947 4011 { (ac_try="$ac_compiler --version >&5" 7948 4012 case "(($ac_try" in … … 7950 4014 *) ac_try_echo=$ac_try;; 7951 4015 esac 7952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4017 $as_echo "$ac_try_echo") >&5 7953 4018 (eval "$ac_compiler --version >&5") 2>&5 7954 4019 ac_status=$? 7955 echo "$as_me:$LINENO: \$? = $ac_status" >&54020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7956 4021 (exit $ac_status); } 7957 4022 { (ac_try="$ac_compiler -v >&5" … … 7960 4025 *) ac_try_echo=$ac_try;; 7961 4026 esac 7962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4028 $as_echo "$ac_try_echo") >&5 7963 4029 (eval "$ac_compiler -v >&5") 2>&5 7964 4030 ac_status=$? 7965 echo "$as_me:$LINENO: \$? = $ac_status" >&54031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7966 4032 (exit $ac_status); } 7967 4033 { (ac_try="$ac_compiler -V >&5" … … 7970 4036 *) ac_try_echo=$ac_try;; 7971 4037 esac 7972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4039 $as_echo "$ac_try_echo") >&5 7973 4040 (eval "$ac_compiler -V >&5") 2>&5 7974 4041 ac_status=$? 7975 echo "$as_me:$LINENO: \$? = $ac_status" >&54042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7976 4043 (exit $ac_status); } 7977 4044 7978 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&57979 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }4045 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 4046 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7980 4047 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 7981 echo $ECHO_N "(cached) $ECHO_C" >&64048 $as_echo_n "(cached) " >&6 7982 4049 else 7983 4050 cat >conftest.$ac_ext <<_ACEOF … … 8005 4072 *) ac_try_echo=$ac_try;; 8006 4073 esac 8007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4075 $as_echo "$ac_try_echo") >&5 8008 4076 (eval "$ac_compile") 2>conftest.er1 8009 4077 ac_status=$? … … 8011 4079 rm -f conftest.er1 8012 4080 cat conftest.err >&5 8013 echo "$as_me:$LINENO: \$? = $ac_status" >&54081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8014 4082 (exit $ac_status); } && { 8015 4083 test -z "$ac_cxx_werror_flag" || … … 8018 4086 ac_compiler_gnu=yes 8019 4087 else 8020 echo "$as_me: failed program was:" >&54088 $as_echo "$as_me: failed program was:" >&5 8021 4089 sed 's/^/| /' conftest.$ac_ext >&5 8022 4090 … … 8028 4096 8029 4097 fi 8030 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 8031 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 8032 GXX=`test $ac_compiler_gnu = yes && echo yes` 4098 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 4099 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4100 if test $ac_compiler_gnu = yes; then 4101 GXX=yes 4102 else 4103 GXX= 4104 fi 8033 4105 ac_test_CXXFLAGS=${CXXFLAGS+set} 8034 4106 ac_save_CXXFLAGS=$CXXFLAGS 8035 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&58036 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }4107 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 4108 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 8037 4109 if test "${ac_cv_prog_cxx_g+set}" = set; then 8038 echo $ECHO_N "(cached) $ECHO_C" >&64110 $as_echo_n "(cached) " >&6 8039 4111 else 8040 4112 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 8063 4135 *) ac_try_echo=$ac_try;; 8064 4136 esac 8065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4138 $as_echo "$ac_try_echo") >&5 8066 4139 (eval "$ac_compile") 2>conftest.er1 8067 4140 ac_status=$? … … 8069 4142 rm -f conftest.er1 8070 4143 cat conftest.err >&5 8071 echo "$as_me:$LINENO: \$? = $ac_status" >&54144 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8072 4145 (exit $ac_status); } && { 8073 4146 test -z "$ac_cxx_werror_flag" || … … 8076 4149 ac_cv_prog_cxx_g=yes 8077 4150 else 8078 echo "$as_me: failed program was:" >&54151 $as_echo "$as_me: failed program was:" >&5 8079 4152 sed 's/^/| /' conftest.$ac_ext >&5 8080 4153 … … 8101 4174 *) ac_try_echo=$ac_try;; 8102 4175 esac 8103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4176 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4177 $as_echo "$ac_try_echo") >&5 8104 4178 (eval "$ac_compile") 2>conftest.er1 8105 4179 ac_status=$? … … 8107 4181 rm -f conftest.er1 8108 4182 cat conftest.err >&5 8109 echo "$as_me:$LINENO: \$? = $ac_status" >&54183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8110 4184 (exit $ac_status); } && { 8111 4185 test -z "$ac_cxx_werror_flag" || … … 8114 4188 : 8115 4189 else 8116 echo "$as_me: failed program was:" >&54190 $as_echo "$as_me: failed program was:" >&5 8117 4191 sed 's/^/| /' conftest.$ac_ext >&5 8118 4192 … … 8140 4214 *) ac_try_echo=$ac_try;; 8141 4215 esac 8142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4217 $as_echo "$ac_try_echo") >&5 8143 4218 (eval "$ac_compile") 2>conftest.er1 8144 4219 ac_status=$? … … 8146 4221 rm -f conftest.er1 8147 4222 cat conftest.err >&5 8148 echo "$as_me:$LINENO: \$? = $ac_status" >&54223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8149 4224 (exit $ac_status); } && { 8150 4225 test -z "$ac_cxx_werror_flag" || … … 8153 4228 ac_cv_prog_cxx_g=yes 8154 4229 else 8155 echo "$as_me: failed program was:" >&54230 $as_echo "$as_me: failed program was:" >&5 8156 4231 sed 's/^/| /' conftest.$ac_ext >&5 8157 4232 … … 8168 4243 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8169 4244 fi 8170 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&58171 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }4245 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 4246 $as_echo "$ac_cv_prog_cxx_g" >&6; } 8172 4247 if test "$ac_test_CXXFLAGS" = set; then 8173 4248 CXXFLAGS=$ac_save_CXXFLAGS … … 8199 4274 8200 4275 8201 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 8202 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 8203 if test "${ac_cv_c_bigendian+set}" = set; then 8204 echo $ECHO_N "(cached) $ECHO_C" >&6 8205 else 8206 # See if sys/param.h defines the BYTE_ORDER macro. 8207 cat >conftest.$ac_ext <<_ACEOF 4276 4277 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4278 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4279 if test "${ac_cv_path_GREP+set}" = set; then 4280 $as_echo_n "(cached) " >&6 4281 else 4282 if test -z "$GREP"; then 4283 ac_path_GREP_found=false 4284 # Loop through the user's path and test for each of PROGNAME-LIST 4285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4286 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4287 do 4288 IFS=$as_save_IFS 4289 test -z "$as_dir" && as_dir=. 4290 for ac_prog in grep ggrep; do 4291 for ac_exec_ext in '' $ac_executable_extensions; do 4292 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4293 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4294 # Check for GNU ac_path_GREP and select it if it is found. 4295 # Check for GNU $ac_path_GREP 4296 case `"$ac_path_GREP" --version 2>&1` in 4297 *GNU*) 4298 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4299 *) 4300 ac_count=0 4301 $as_echo_n 0123456789 >"conftest.in" 4302 while : 4303 do 4304 cat "conftest.in" "conftest.in" >"conftest.tmp" 4305 mv "conftest.tmp" "conftest.in" 4306 cp "conftest.in" "conftest.nl" 4307 $as_echo 'GREP' >> "conftest.nl" 4308 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4309 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4310 ac_count=`expr $ac_count + 1` 4311 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4312 # Best one so far, save it but keep looking for a better one 4313 ac_cv_path_GREP="$ac_path_GREP" 4314 ac_path_GREP_max=$ac_count 4315 fi 4316 # 10*(2^10) chars as input seems more than enough 4317 test $ac_count -gt 10 && break 4318 done 4319 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4320 esac 4321 4322 $ac_path_GREP_found && break 3 4323 done 4324 done 4325 done 4326 IFS=$as_save_IFS 4327 if test -z "$ac_cv_path_GREP"; then 4328 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4329 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4330 { (exit 1); exit 1; }; } 4331 fi 4332 else 4333 ac_cv_path_GREP=$GREP 4334 fi 4335 4336 fi 4337 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4338 $as_echo "$ac_cv_path_GREP" >&6; } 4339 GREP="$ac_cv_path_GREP" 4340 4341 4342 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4343 $as_echo_n "checking for egrep... " >&6; } 4344 if test "${ac_cv_path_EGREP+set}" = set; then 4345 $as_echo_n "(cached) " >&6 4346 else 4347 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4348 then ac_cv_path_EGREP="$GREP -E" 4349 else 4350 if test -z "$EGREP"; then 4351 ac_path_EGREP_found=false 4352 # Loop through the user's path and test for each of PROGNAME-LIST 4353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4354 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4355 do 4356 IFS=$as_save_IFS 4357 test -z "$as_dir" && as_dir=. 4358 for ac_prog in egrep; do 4359 for ac_exec_ext in '' $ac_executable_extensions; do 4360 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4361 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4362 # Check for GNU ac_path_EGREP and select it if it is found. 4363 # Check for GNU $ac_path_EGREP 4364 case `"$ac_path_EGREP" --version 2>&1` in 4365 *GNU*) 4366 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4367 *) 4368 ac_count=0 4369 $as_echo_n 0123456789 >"conftest.in" 4370 while : 4371 do 4372 cat "conftest.in" "conftest.in" >"conftest.tmp" 4373 mv "conftest.tmp" "conftest.in" 4374 cp "conftest.in" "conftest.nl" 4375 $as_echo 'EGREP' >> "conftest.nl" 4376 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4377 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4378 ac_count=`expr $ac_count + 1` 4379 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4380 # Best one so far, save it but keep looking for a better one 4381 ac_cv_path_EGREP="$ac_path_EGREP" 4382 ac_path_EGREP_max=$ac_count 4383 fi 4384 # 10*(2^10) chars as input seems more than enough 4385 test $ac_count -gt 10 && break 4386 done 4387 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4388 esac 4389 4390 $ac_path_EGREP_found && break 3 4391 done 4392 done 4393 done 4394 IFS=$as_save_IFS 4395 if test -z "$ac_cv_path_EGREP"; then 4396 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4397 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4398 { (exit 1); exit 1; }; } 4399 fi 4400 else 4401 ac_cv_path_EGREP=$EGREP 4402 fi 4403 4404 fi 4405 fi 4406 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4407 $as_echo "$ac_cv_path_EGREP" >&6; } 4408 EGREP="$ac_cv_path_EGREP" 4409 4410 4411 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4412 $as_echo_n "checking for ANSI C header files... " >&6; } 4413 if test "${ac_cv_header_stdc+set}" = set; then 4414 $as_echo_n "(cached) " >&6 4415 else 4416 cat >conftest.$ac_ext <<_ACEOF 8208 4417 /* confdefs.h. */ 8209 4418 _ACEOF … … 8211 4420 cat >>conftest.$ac_ext <<_ACEOF 8212 4421 /* end confdefs.h. */ 8213 #include <sys/types.h> 8214 #include <sys/param.h> 4422 #include <stdlib.h> 4423 #include <stdarg.h> 4424 #include <string.h> 4425 #include <float.h> 8215 4426 8216 4427 int 8217 4428 main () 8218 4429 { 8219 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \8220 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)8221 bogus endian macros8222 #endif8223 4430 8224 4431 ; … … 8232 4439 *) ac_try_echo=$ac_try;; 8233 4440 esac 8234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4442 $as_echo "$ac_try_echo") >&5 8235 4443 (eval "$ac_compile") 2>conftest.er1 8236 4444 ac_status=$? … … 8238 4446 rm -f conftest.er1 8239 4447 cat conftest.err >&5 8240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4449 (exit $ac_status); } && { 4450 test -z "$ac_cxx_werror_flag" || 4451 test ! -s conftest.err 4452 } && test -s conftest.$ac_objext; then 4453 ac_cv_header_stdc=yes 4454 else 4455 $as_echo "$as_me: failed program was:" >&5 4456 sed 's/^/| /' conftest.$ac_ext >&5 4457 4458 ac_cv_header_stdc=no 4459 fi 4460 4461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4462 4463 if test $ac_cv_header_stdc = yes; then 4464 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4465 cat >conftest.$ac_ext <<_ACEOF 4466 /* confdefs.h. */ 4467 _ACEOF 4468 cat confdefs.h >>conftest.$ac_ext 4469 cat >>conftest.$ac_ext <<_ACEOF 4470 /* end confdefs.h. */ 4471 #include <string.h> 4472 4473 _ACEOF 4474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4475 $EGREP "memchr" >/dev/null 2>&1; then 4476 : 4477 else 4478 ac_cv_header_stdc=no 4479 fi 4480 rm -f conftest* 4481 4482 fi 4483 4484 if test $ac_cv_header_stdc = yes; then 4485 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4486 cat >conftest.$ac_ext <<_ACEOF 4487 /* confdefs.h. */ 4488 _ACEOF 4489 cat confdefs.h >>conftest.$ac_ext 4490 cat >>conftest.$ac_ext <<_ACEOF 4491 /* end confdefs.h. */ 4492 #include <stdlib.h> 4493 4494 _ACEOF 4495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4496 $EGREP "free" >/dev/null 2>&1; then 4497 : 4498 else 4499 ac_cv_header_stdc=no 4500 fi 4501 rm -f conftest* 4502 4503 fi 4504 4505 if test $ac_cv_header_stdc = yes; then 4506 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4507 if test "$cross_compiling" = yes; then 4508 : 4509 else 4510 cat >conftest.$ac_ext <<_ACEOF 4511 /* confdefs.h. */ 4512 _ACEOF 4513 cat confdefs.h >>conftest.$ac_ext 4514 cat >>conftest.$ac_ext <<_ACEOF 4515 /* end confdefs.h. */ 4516 #include <ctype.h> 4517 #include <stdlib.h> 4518 #if ((' ' & 0x0FF) == 0x020) 4519 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4520 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4521 #else 4522 # define ISLOWER(c) \ 4523 (('a' <= (c) && (c) <= 'i') \ 4524 || ('j' <= (c) && (c) <= 'r') \ 4525 || ('s' <= (c) && (c) <= 'z')) 4526 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4527 #endif 4528 4529 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4530 int 4531 main () 4532 { 4533 int i; 4534 for (i = 0; i < 256; i++) 4535 if (XOR (islower (i), ISLOWER (i)) 4536 || toupper (i) != TOUPPER (i)) 4537 return 2; 4538 return 0; 4539 } 4540 _ACEOF 4541 rm -f conftest$ac_exeext 4542 if { (ac_try="$ac_link" 4543 case "(($ac_try" in 4544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4545 *) ac_try_echo=$ac_try;; 4546 esac 4547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4548 $as_echo "$ac_try_echo") >&5 4549 (eval "$ac_link") 2>&5 4550 ac_status=$? 4551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4552 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4553 { (case "(($ac_try" in 4554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4555 *) ac_try_echo=$ac_try;; 4556 esac 4557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4558 $as_echo "$ac_try_echo") >&5 4559 (eval "$ac_try") 2>&5 4560 ac_status=$? 4561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4562 (exit $ac_status); }; }; then 4563 : 4564 else 4565 $as_echo "$as_me: program exited with status $ac_status" >&5 4566 $as_echo "$as_me: failed program was:" >&5 4567 sed 's/^/| /' conftest.$ac_ext >&5 4568 4569 ( exit $ac_status ) 4570 ac_cv_header_stdc=no 4571 fi 4572 rm -rf conftest.dSYM 4573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4574 fi 4575 4576 4577 fi 4578 fi 4579 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4580 $as_echo "$ac_cv_header_stdc" >&6; } 4581 if test $ac_cv_header_stdc = yes; then 4582 4583 cat >>confdefs.h <<\_ACEOF 4584 #define STDC_HEADERS 1 4585 _ACEOF 4586 4587 fi 4588 4589 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4600 inttypes.h stdint.h unistd.h 4601 do 4602 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4603 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4604 $as_echo_n "checking for $ac_header... " >&6; } 4605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4606 $as_echo_n "(cached) " >&6 4607 else 4608 cat >conftest.$ac_ext <<_ACEOF 4609 /* confdefs.h. */ 4610 _ACEOF 4611 cat confdefs.h >>conftest.$ac_ext 4612 cat >>conftest.$ac_ext <<_ACEOF 4613 /* end confdefs.h. */ 4614 $ac_includes_default 4615 4616 #include <$ac_header> 4617 _ACEOF 4618 rm -f conftest.$ac_objext 4619 if { (ac_try="$ac_compile" 4620 case "(($ac_try" in 4621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4622 *) ac_try_echo=$ac_try;; 4623 esac 4624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4625 $as_echo "$ac_try_echo") >&5 4626 (eval "$ac_compile") 2>conftest.er1 4627 ac_status=$? 4628 grep -v '^ *+' conftest.er1 >conftest.err 4629 rm -f conftest.er1 4630 cat conftest.err >&5 4631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4632 (exit $ac_status); } && { 4633 test -z "$ac_cxx_werror_flag" || 4634 test ! -s conftest.err 4635 } && test -s conftest.$ac_objext; then 4636 eval "$as_ac_Header=yes" 4637 else 4638 $as_echo "$as_me: failed program was:" >&5 4639 sed 's/^/| /' conftest.$ac_ext >&5 4640 4641 eval "$as_ac_Header=no" 4642 fi 4643 4644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4645 fi 4646 ac_res=`eval 'as_val=${'$as_ac_Header'} 4647 $as_echo "$as_val"'` 4648 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4649 $as_echo "$ac_res" >&6; } 4650 as_val=`eval 'as_val=${'$as_ac_Header'} 4651 $as_echo "$as_val"'` 4652 if test "x$as_val" = x""yes; then 4653 cat >>confdefs.h <<_ACEOF 4654 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4655 _ACEOF 4656 4657 fi 4658 4659 done 4660 4661 4662 4663 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4664 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4665 if test "${ac_cv_c_bigendian+set}" = set; then 4666 $as_echo_n "(cached) " >&6 4667 else 4668 ac_cv_c_bigendian=unknown 4669 # See if we're dealing with a universal compiler. 4670 cat >conftest.$ac_ext <<_ACEOF 4671 /* confdefs.h. */ 4672 _ACEOF 4673 cat confdefs.h >>conftest.$ac_ext 4674 cat >>conftest.$ac_ext <<_ACEOF 4675 /* end confdefs.h. */ 4676 #ifndef __APPLE_CC__ 4677 not a universal capable compiler 4678 #endif 4679 typedef int dummy; 4680 4681 _ACEOF 4682 rm -f conftest.$ac_objext 4683 if { (ac_try="$ac_compile" 4684 case "(($ac_try" in 4685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4686 *) ac_try_echo=$ac_try;; 4687 esac 4688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4689 $as_echo "$ac_try_echo") >&5 4690 (eval "$ac_compile") 2>conftest.er1 4691 ac_status=$? 4692 grep -v '^ *+' conftest.er1 >conftest.err 4693 rm -f conftest.er1 4694 cat conftest.err >&5 4695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4696 (exit $ac_status); } && { 4697 test -z "$ac_cxx_werror_flag" || 4698 test ! -s conftest.err 4699 } && test -s conftest.$ac_objext; then 4700 4701 # Check for potential -arch flags. It is not universal unless 4702 # there are some -arch flags. Note that *ppc* also matches 4703 # ppc64. This check is also rather less than ideal. 4704 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 4705 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 4706 esac 4707 else 4708 $as_echo "$as_me: failed program was:" >&5 4709 sed 's/^/| /' conftest.$ac_ext >&5 4710 4711 4712 fi 4713 4714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4715 if test $ac_cv_c_bigendian = unknown; then 4716 # See if sys/param.h defines the BYTE_ORDER macro. 4717 cat >conftest.$ac_ext <<_ACEOF 4718 /* confdefs.h. */ 4719 _ACEOF 4720 cat confdefs.h >>conftest.$ac_ext 4721 cat >>conftest.$ac_ext <<_ACEOF 4722 /* end confdefs.h. */ 4723 #include <sys/types.h> 4724 #include <sys/param.h> 4725 4726 int 4727 main () 4728 { 4729 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4730 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4731 && LITTLE_ENDIAN) 4732 bogus endian macros 4733 #endif 4734 4735 ; 4736 return 0; 4737 } 4738 _ACEOF 4739 rm -f conftest.$ac_objext 4740 if { (ac_try="$ac_compile" 4741 case "(($ac_try" in 4742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4743 *) ac_try_echo=$ac_try;; 4744 esac 4745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4746 $as_echo "$ac_try_echo") >&5 4747 (eval "$ac_compile") 2>conftest.er1 4748 ac_status=$? 4749 grep -v '^ *+' conftest.er1 >conftest.err 4750 rm -f conftest.er1 4751 cat conftest.err >&5 4752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8241 4753 (exit $ac_status); } && { 8242 4754 test -z "$ac_cxx_werror_flag" || … … 8244 4756 } && test -s conftest.$ac_objext; then 8245 4757 # It does; now see whether it defined to BIG_ENDIAN or not. 8246 cat >conftest.$ac_ext <<_ACEOF4758 cat >conftest.$ac_ext <<_ACEOF 8247 4759 /* confdefs.h. */ 8248 4760 _ACEOF … … 8251 4763 /* end confdefs.h. */ 8252 4764 #include <sys/types.h> 8253 #include <sys/param.h>4765 #include <sys/param.h> 8254 4766 8255 4767 int … … 8257 4769 { 8258 4770 #if BYTE_ORDER != BIG_ENDIAN 8259 not big endian8260 #endif4771 not big endian 4772 #endif 8261 4773 8262 4774 ; … … 8270 4782 *) ac_try_echo=$ac_try;; 8271 4783 esac 8272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4784 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4785 $as_echo "$ac_try_echo") >&5 8273 4786 (eval "$ac_compile") 2>conftest.er1 8274 4787 ac_status=$? … … 8276 4789 rm -f conftest.er1 8277 4790 cat conftest.err >&5 8278 echo "$as_me:$LINENO: \$? = $ac_status" >&54791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8279 4792 (exit $ac_status); } && { 8280 4793 test -z "$ac_cxx_werror_flag" || … … 8283 4796 ac_cv_c_bigendian=yes 8284 4797 else 8285 echo "$as_me: failed program was:" >&54798 $as_echo "$as_me: failed program was:" >&5 8286 4799 sed 's/^/| /' conftest.$ac_ext >&5 8287 4800 … … 8291 4804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8292 4805 else 8293 echo "$as_me: failed program was:" >&54806 $as_echo "$as_me: failed program was:" >&5 8294 4807 sed 's/^/| /' conftest.$ac_ext >&5 8295 4808 8296 # It does not; compile a test program. 8297 if test "$cross_compiling" = yes; then 8298 # try to guess the endianness by grepping values into an object file 8299 ac_cv_c_bigendian=unknown 8300 cat >conftest.$ac_ext <<_ACEOF 4809 4810 fi 4811 4812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4813 fi 4814 if test $ac_cv_c_bigendian = unknown; then 4815 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4816 cat >conftest.$ac_ext <<_ACEOF 8301 4817 /* confdefs.h. */ 8302 4818 _ACEOF … … 8304 4820 cat >>conftest.$ac_ext <<_ACEOF 8305 4821 /* end confdefs.h. */ 8306 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 8307 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 8308 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 8309 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 8310 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 8311 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4822 #include <limits.h> 4823 8312 4824 int 8313 4825 main () 8314 4826 { 8315 _ascii (); _ebcdic (); 4827 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4828 bogus endian macros 4829 #endif 4830 8316 4831 ; 8317 4832 return 0; … … 8324 4839 *) ac_try_echo=$ac_try;; 8325 4840 esac 8326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4841 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4842 $as_echo "$ac_try_echo") >&5 8327 4843 (eval "$ac_compile") 2>conftest.er1 8328 4844 ac_status=$? … … 8330 4846 rm -f conftest.er1 8331 4847 cat conftest.err >&5 8332 echo "$as_me:$LINENO: \$? = $ac_status" >&54848 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8333 4849 (exit $ac_status); } && { 8334 4850 test -z "$ac_cxx_werror_flag" || 8335 4851 test ! -s conftest.err 8336 4852 } && test -s conftest.$ac_objext; then 8337 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4853 # It does; now see whether it defined to _BIG_ENDIAN or not. 4854 cat >conftest.$ac_ext <<_ACEOF 4855 /* confdefs.h. */ 4856 _ACEOF 4857 cat confdefs.h >>conftest.$ac_ext 4858 cat >>conftest.$ac_ext <<_ACEOF 4859 /* end confdefs.h. */ 4860 #include <limits.h> 4861 4862 int 4863 main () 4864 { 4865 #ifndef _BIG_ENDIAN 4866 not big endian 4867 #endif 4868 4869 ; 4870 return 0; 4871 } 4872 _ACEOF 4873 rm -f conftest.$ac_objext 4874 if { (ac_try="$ac_compile" 4875 case "(($ac_try" in 4876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4877 *) ac_try_echo=$ac_try;; 4878 esac 4879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4880 $as_echo "$ac_try_echo") >&5 4881 (eval "$ac_compile") 2>conftest.er1 4882 ac_status=$? 4883 grep -v '^ *+' conftest.er1 >conftest.err 4884 rm -f conftest.er1 4885 cat conftest.err >&5 4886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4887 (exit $ac_status); } && { 4888 test -z "$ac_cxx_werror_flag" || 4889 test ! -s conftest.err 4890 } && test -s conftest.$ac_objext; then 8338 4891 ac_cv_c_bigendian=yes 8339 fi 8340 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 8341 if test "$ac_cv_c_bigendian" = unknown; then 8342 ac_cv_c_bigendian=no 8343 else 8344 # finding both strings is unlikely to happen, but who knows? 8345 ac_cv_c_bigendian=unknown 8346 fi 8347 fi 8348 else 8349 echo "$as_me: failed program was:" >&5 4892 else 4893 $as_echo "$as_me: failed program was:" >&5 4894 sed 's/^/| /' conftest.$ac_ext >&5 4895 4896 ac_cv_c_bigendian=no 4897 fi 4898 4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4900 else 4901 $as_echo "$as_me: failed program was:" >&5 4902 sed 's/^/| /' conftest.$ac_ext >&5 4903 4904 4905 fi 4906 4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4908 fi 4909 if test $ac_cv_c_bigendian = unknown; then 4910 # Compile a test program. 4911 if test "$cross_compiling" = yes; then 4912 # Try to guess by grepping values from an object file. 4913 cat >conftest.$ac_ext <<_ACEOF 4914 /* confdefs.h. */ 4915 _ACEOF 4916 cat confdefs.h >>conftest.$ac_ext 4917 cat >>conftest.$ac_ext <<_ACEOF 4918 /* end confdefs.h. */ 4919 short int ascii_mm[] = 4920 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4921 short int ascii_ii[] = 4922 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4923 int use_ascii (int i) { 4924 return ascii_mm[i] + ascii_ii[i]; 4925 } 4926 short int ebcdic_ii[] = 4927 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4928 short int ebcdic_mm[] = 4929 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4930 int use_ebcdic (int i) { 4931 return ebcdic_mm[i] + ebcdic_ii[i]; 4932 } 4933 extern int foo; 4934 4935 int 4936 main () 4937 { 4938 return use_ascii (foo) == use_ebcdic (foo); 4939 ; 4940 return 0; 4941 } 4942 _ACEOF 4943 rm -f conftest.$ac_objext 4944 if { (ac_try="$ac_compile" 4945 case "(($ac_try" in 4946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4947 *) ac_try_echo=$ac_try;; 4948 esac 4949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4950 $as_echo "$ac_try_echo") >&5 4951 (eval "$ac_compile") 2>conftest.er1 4952 ac_status=$? 4953 grep -v '^ *+' conftest.er1 >conftest.err 4954 rm -f conftest.er1 4955 cat conftest.err >&5 4956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4957 (exit $ac_status); } && { 4958 test -z "$ac_cxx_werror_flag" || 4959 test ! -s conftest.err 4960 } && test -s conftest.$ac_objext; then 4961 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4962 ac_cv_c_bigendian=yes 4963 fi 4964 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4965 if test "$ac_cv_c_bigendian" = unknown; then 4966 ac_cv_c_bigendian=no 4967 else 4968 # finding both strings is unlikely to happen, but who knows? 4969 ac_cv_c_bigendian=unknown 4970 fi 4971 fi 4972 else 4973 $as_echo "$as_me: failed program was:" >&5 8350 4974 sed 's/^/| /' conftest.$ac_ext >&5 8351 4975 … … 8366 4990 { 8367 4991 8368 /* Are we little or big endian? From Harbison&Steele. */8369 union8370 {8371 long int l;8372 char c[sizeof (long int)];8373 } u;8374 u.l = 1;8375 return u.c[sizeof (long int) - 1] == 1;4992 /* Are we little or big endian? From Harbison&Steele. */ 4993 union 4994 { 4995 long int l; 4996 char c[sizeof (long int)]; 4997 } u; 4998 u.l = 1; 4999 return u.c[sizeof (long int) - 1] == 1; 8376 5000 8377 5001 ; … … 8385 5009 *) ac_try_echo=$ac_try;; 8386 5010 esac 8387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5012 $as_echo "$ac_try_echo") >&5 8388 5013 (eval "$ac_link") 2>&5 8389 5014 ac_status=$? 8390 echo "$as_me:$LINENO: \$? = $ac_status" >&55015 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8391 5016 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8392 5017 { (case "(($ac_try" in … … 8394 5019 *) ac_try_echo=$ac_try;; 8395 5020 esac 8396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5022 $as_echo "$ac_try_echo") >&5 8397 5023 (eval "$ac_try") 2>&5 8398 5024 ac_status=$? 8399 echo "$as_me:$LINENO: \$? = $ac_status" >&55025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8400 5026 (exit $ac_status); }; }; then 8401 5027 ac_cv_c_bigendian=no 8402 5028 else 8403 echo "$as_me: program exited with status $ac_status" >&58404 echo "$as_me: failed program was:" >&55029 $as_echo "$as_me: program exited with status $ac_status" >&5 5030 $as_echo "$as_me: failed program was:" >&5 8405 5031 sed 's/^/| /' conftest.$ac_ext >&5 8406 5032 … … 8408 5034 ac_cv_c_bigendian=yes 8409 5035 fi 5036 rm -rf conftest.dSYM 8410 5037 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8411 5038 fi 8412 5039 8413 5040 8414 fi 8415 8416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8417 fi 8418 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8419 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 8420 case $ac_cv_c_bigendian in 8421 yes) 5041 fi 5042 fi 5043 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 5044 $as_echo "$ac_cv_c_bigendian" >&6; } 5045 case $ac_cv_c_bigendian in #( 5046 yes) 5047 cat >>confdefs.h <<\_ACEOF 5048 #define WORDS_BIGENDIAN 1 5049 _ACEOF 5050 ;; #( 5051 no) 5052 ;; #( 5053 universal) 8422 5054 8423 5055 cat >>confdefs.h <<\_ACEOF 8424 #define WORDS_BIGENDIAN 1 8425 _ACEOF 8426 ;; 8427 no) 8428 ;; 8429 *) 8430 { { echo "$as_me:$LINENO: error: unknown endianness 8431 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 8432 echo "$as_me: error: unknown endianness 8433 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 5056 #define AC_APPLE_UNIVERSAL_BUILD 1 5057 _ACEOF 5058 5059 ;; #( 5060 *) 5061 { { $as_echo "$as_me:$LINENO: error: unknown endianness 5062 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 5063 $as_echo "$as_me: error: unknown endianness 5064 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8434 5065 { (exit 1); exit 1; }; } ;; 8435 esac5066 esac 8436 5067 8437 5068 … … 8505 5136 RP2_INCL_DIR="" 8506 5137 RP_DIR="" 8507 { echo "$as_me:$LINENO: checking for rappture" >&58508 echo $ECHO_N "checking for rappture... $ECHO_C" >&6; }5138 { $as_echo "$as_me:$LINENO: checking for rappture" >&5 5139 $as_echo_n "checking for rappture... " >&6; } 8509 5140 if test "x$with_rappture" != "x" ; then 8510 5141 if test "x$with_rappture" != "xprefix" ; then 8511 5142 if test -f "$with_rappture" 8512 5143 then 8513 { echo "$as_me:$LINENO: result: no" >&58514 echo "${ECHO_T}no" >&6; }8515 { { echo "$as_me:$LINENO: error: please provide --with-rappture with directory" >&58516 echo "$as_me: error: please provide --with-rappture with directory" >&2;}5144 { $as_echo "$as_me:$LINENO: result: no" >&5 5145 $as_echo "no" >&6; } 5146 { { $as_echo "$as_me:$LINENO: error: please provide --with-rappture with directory" >&5 5147 $as_echo "$as_me: error: please provide --with-rappture with directory" >&2;} 8517 5148 { (exit 1); exit 1; }; } 8518 5149 else … … 8523 5154 RP2_INCL_DIR="$with_rappture/include/rappture2" 8524 5155 RP_DIR="$with_rappture" 8525 { echo "$as_me:$LINENO: result: yes" >&58526 echo "${ECHO_T}yes" >&6; }5156 { $as_echo "$as_me:$LINENO: result: yes" >&5 5157 $as_echo "yes" >&6; } 8527 5158 else 8528 { echo "$as_me:$LINENO: result: no" >&58529 echo "${ECHO_T}no" >&6; }8530 { { echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&58531 echo "$as_me: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&2;}5159 { $as_echo "$as_me:$LINENO: result: no" >&5 5160 $as_echo "no" >&6; } 5161 { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&5 5162 $as_echo "$as_me: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&2;} 8532 5163 { (exit 1); exit 1; }; } 8533 5164 fi 8534 5165 else 8535 { echo "$as_me:$LINENO: result: no" >&58536 echo "${ECHO_T}no" >&6; }8537 { { echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&58538 echo "$as_me: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&2;}5166 { $as_echo "$as_me:$LINENO: result: no" >&5 5167 $as_echo "no" >&6; } 5168 { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&5 5169 $as_echo "$as_me: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&2;} 8539 5170 { (exit 1); exit 1; }; } 8540 5171 fi … … 8543 5174 RP2_INCL_DIR="$prefix/include/rappture2" 8544 5175 RP_DIR="$prefix" 8545 { echo "$as_me:$LINENO: result: set to prefix" >&58546 echo "${ECHO_T}set to prefix" >&6; }5176 { $as_echo "$as_me:$LINENO: result: set to prefix" >&5 5177 $as_echo "set to prefix" >&6; } 8547 5178 fi 8548 5179 else 8549 8550 5180 8551 5181 for ac_header in rappture.h 8552 5182 do 8553 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`5183 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8554 5184 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8555 { echo "$as_me:$LINENO: checking for $ac_header" >&58556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }5185 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5186 $as_echo_n "checking for $ac_header... " >&6; } 8557 5187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8558 echo $ECHO_N "(cached) $ECHO_C" >&6 8559 fi 8560 ac_res=`eval echo '${'$as_ac_Header'}'` 8561 { echo "$as_me:$LINENO: result: $ac_res" >&5 8562 echo "${ECHO_T}$ac_res" >&6; } 5188 $as_echo_n "(cached) " >&6 5189 fi 5190 ac_res=`eval 'as_val=${'$as_ac_Header'} 5191 $as_echo "$as_val"'` 5192 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5193 $as_echo "$ac_res" >&6; } 8563 5194 else 8564 5195 # Is the header compilable? 8565 { echo "$as_me:$LINENO: checking $ac_header usability" >&58566 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }5196 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5197 $as_echo_n "checking $ac_header usability... " >&6; } 8567 5198 cat >conftest.$ac_ext <<_ACEOF 8568 5199 /* confdefs.h. */ … … 8580 5211 *) ac_try_echo=$ac_try;; 8581 5212 esac 8582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5214 $as_echo "$ac_try_echo") >&5 8583 5215 (eval "$ac_compile") 2>conftest.er1 8584 5216 ac_status=$? … … 8586 5218 rm -f conftest.er1 8587 5219 cat conftest.err >&5 8588 echo "$as_me:$LINENO: \$? = $ac_status" >&55220 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8589 5221 (exit $ac_status); } && { 8590 5222 test -z "$ac_cxx_werror_flag" || … … 8593 5225 ac_header_compiler=yes 8594 5226 else 8595 echo "$as_me: failed program was:" >&55227 $as_echo "$as_me: failed program was:" >&5 8596 5228 sed 's/^/| /' conftest.$ac_ext >&5 8597 5229 … … 8600 5232 8601 5233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8602 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&58603 echo "${ECHO_T}$ac_header_compiler" >&6; }5234 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5235 $as_echo "$ac_header_compiler" >&6; } 8604 5236 8605 5237 # Is the header present? 8606 { echo "$as_me:$LINENO: checking $ac_header presence" >&58607 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }5238 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5239 $as_echo_n "checking $ac_header presence... " >&6; } 8608 5240 cat >conftest.$ac_ext <<_ACEOF 8609 5241 /* confdefs.h. */ … … 8619 5251 *) ac_try_echo=$ac_try;; 8620 5252 esac 8621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5253 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5254 $as_echo "$ac_try_echo") >&5 8622 5255 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8623 5256 ac_status=$? … … 8625 5258 rm -f conftest.er1 8626 5259 cat conftest.err >&5 8627 echo "$as_me:$LINENO: \$? = $ac_status" >&55260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8628 5261 (exit $ac_status); } >/dev/null && { 8629 5262 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 8632 5265 ac_header_preproc=yes 8633 5266 else 8634 echo "$as_me: failed program was:" >&55267 $as_echo "$as_me: failed program was:" >&5 8635 5268 sed 's/^/| /' conftest.$ac_ext >&5 8636 5269 … … 8639 5272 8640 5273 rm -f conftest.err conftest.$ac_ext 8641 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&58642 echo "${ECHO_T}$ac_header_preproc" >&6; }5274 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5275 $as_echo "$ac_header_preproc" >&6; } 8643 5276 8644 5277 # So? What about this header? 8645 5278 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8646 5279 yes:no: ) 8647 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&58648 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}8649 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&58650 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}5280 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5281 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5282 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5283 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8651 5284 ac_header_preproc=yes 8652 5285 ;; 8653 5286 no:yes:* ) 8654 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&58655 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}8656 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&58657 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}8658 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&58659 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}8660 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&58661 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}8662 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&58663 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}8664 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&58665 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}5287 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5288 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5289 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5290 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5291 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5292 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5293 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5294 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5295 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5296 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5298 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8666 5299 ( cat <<\_ASBOX 8667 5300 ## ----------------------------------- ## … … 8672 5305 ;; 8673 5306 esac 8674 { echo "$as_me:$LINENO: checking for $ac_header" >&58675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }5307 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5308 $as_echo_n "checking for $ac_header... " >&6; } 8676 5309 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8677 echo $ECHO_N "(cached) $ECHO_C" >&65310 $as_echo_n "(cached) " >&6 8678 5311 else 8679 5312 eval "$as_ac_Header=\$ac_header_preproc" 8680 5313 fi 8681 ac_res=`eval echo '${'$as_ac_Header'}'` 8682 { echo "$as_me:$LINENO: result: $ac_res" >&5 8683 echo "${ECHO_T}$ac_res" >&6; } 8684 8685 fi 8686 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5314 ac_res=`eval 'as_val=${'$as_ac_Header'} 5315 $as_echo "$as_val"'` 5316 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5317 $as_echo "$ac_res" >&6; } 5318 5319 fi 5320 as_val=`eval 'as_val=${'$as_ac_Header'} 5321 $as_echo "$as_val"'` 5322 if test "x$as_val" = x""yes; then 8687 5323 cat >>confdefs.h <<_ACEOF 8688 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 18689 _ACEOF 8690 8691 else 8692 { { echo "$as_me:$LINENO: error: cannot find rappture.h, try using --with-rappture" >&58693 echo "$as_me: error: cannot find rappture.h, try using --with-rappture" >&2;}5324 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5325 _ACEOF 5326 5327 else 5328 { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h, try using --with-rappture" >&5 5329 $as_echo "$as_me: error: cannot find rappture.h, try using --with-rappture" >&2;} 8694 5330 { (exit 1); exit 1; }; } 8695 5331 fi … … 8700 5336 8701 5337 fi 8702 { echo "$as_me:$LINENO: result: ${RP_DIR}/include" >&58703 echo "${ECHO_T}${RP_DIR}/include" >&6; }5338 { $as_echo "$as_me:$LINENO: result: ${RP_DIR}/include" >&5 5339 $as_echo "${RP_DIR}/include" >&6; } 8704 5340 8705 5341 8706 5342 8707 5343 if test "${ac_cv_header_GL_glui_h+set}" = set; then 8708 { echo "$as_me:$LINENO: checking for GL/glui.h" >&58709 echo $ECHO_N "checking for GL/glui.h... $ECHO_C" >&6; }5344 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 5345 $as_echo_n "checking for GL/glui.h... " >&6; } 8710 5346 if test "${ac_cv_header_GL_glui_h+set}" = set; then 8711 echo $ECHO_N "(cached) $ECHO_C" >&68712 fi 8713 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&58714 echo "${ECHO_T}$ac_cv_header_GL_glui_h" >&6; }5347 $as_echo_n "(cached) " >&6 5348 fi 5349 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 5350 $as_echo "$ac_cv_header_GL_glui_h" >&6; } 8715 5351 else 8716 5352 # Is the header compilable? 8717 { echo "$as_me:$LINENO: checking GL/glui.h usability" >&58718 echo $ECHO_N "checking GL/glui.h usability... $ECHO_C" >&6; }5353 { $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&5 5354 $as_echo_n "checking GL/glui.h usability... " >&6; } 8719 5355 cat >conftest.$ac_ext <<_ACEOF 8720 5356 /* confdefs.h. */ … … 8732 5368 *) ac_try_echo=$ac_try;; 8733 5369 esac 8734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5371 $as_echo "$ac_try_echo") >&5 8735 5372 (eval "$ac_compile") 2>conftest.er1 8736 5373 ac_status=$? … … 8738 5375 rm -f conftest.er1 8739 5376 cat conftest.err >&5 8740 echo "$as_me:$LINENO: \$? = $ac_status" >&55377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8741 5378 (exit $ac_status); } && { 8742 5379 test -z "$ac_cxx_werror_flag" || … … 8745 5382 ac_header_compiler=yes 8746 5383 else 8747 echo "$as_me: failed program was:" >&55384 $as_echo "$as_me: failed program was:" >&5 8748 5385 sed 's/^/| /' conftest.$ac_ext >&5 8749 5386 … … 8752 5389 8753 5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8754 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&58755 echo "${ECHO_T}$ac_header_compiler" >&6; }5391 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5392 $as_echo "$ac_header_compiler" >&6; } 8756 5393 8757 5394 # Is the header present? 8758 { echo "$as_me:$LINENO: checking GL/glui.h presence" >&58759 echo $ECHO_N "checking GL/glui.h presence... $ECHO_C" >&6; }5395 { $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&5 5396 $as_echo_n "checking GL/glui.h presence... " >&6; } 8760 5397 cat >conftest.$ac_ext <<_ACEOF 8761 5398 /* confdefs.h. */ … … 8771 5408 *) ac_try_echo=$ac_try;; 8772 5409 esac 8773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5411 $as_echo "$ac_try_echo") >&5 8774 5412 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8775 5413 ac_status=$? … … 8777 5415 rm -f conftest.er1 8778 5416 cat conftest.err >&5 8779 echo "$as_me:$LINENO: \$? = $ac_status" >&55417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8780 5418 (exit $ac_status); } >/dev/null && { 8781 5419 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 8784 5422 ac_header_preproc=yes 8785 5423 else 8786 echo "$as_me: failed program was:" >&55424 $as_echo "$as_me: failed program was:" >&5 8787 5425 sed 's/^/| /' conftest.$ac_ext >&5 8788 5426 … … 8791 5429 8792 5430 rm -f conftest.err conftest.$ac_ext 8793 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&58794 echo "${ECHO_T}$ac_header_preproc" >&6; }5431 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5432 $as_echo "$ac_header_preproc" >&6; } 8795 5433 8796 5434 # So? What about this header? 8797 5435 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8798 5436 yes:no: ) 8799 { echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&58800 echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}8801 { echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&58802 echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;}5437 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 5438 $as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5439 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5 5440 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;} 8803 5441 ac_header_preproc=yes 8804 5442 ;; 8805 5443 no:yes:* ) 8806 { echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&58807 echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;}8808 { echo "$as_me:$LINENO: WARNING: GL/glui.h: check for missing prerequisite headers?" >&58809 echo "$as_me: WARNING: GL/glui.h: check for missing prerequisite headers?" >&2;}8810 { echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&58811 echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;}8812 { echo "$as_me:$LINENO: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&58813 echo "$as_me: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&2;}8814 { echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&58815 echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;}8816 { echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&58817 echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;}5444 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5 5445 $as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;} 5446 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: check for missing prerequisite headers?" >&5 5447 $as_echo "$as_me: WARNING: GL/glui.h: check for missing prerequisite headers?" >&2;} 5448 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5 5449 $as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;} 5450 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&5 5451 $as_echo "$as_me: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&2;} 5452 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5 5453 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;} 5454 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5 5455 $as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;} 8818 5456 ( cat <<\_ASBOX 8819 5457 ## ----------------------------------- ## … … 8824 5462 ;; 8825 5463 esac 8826 { echo "$as_me:$LINENO: checking for GL/glui.h" >&58827 echo $ECHO_N "checking for GL/glui.h... $ECHO_C" >&6; }5464 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 5465 $as_echo_n "checking for GL/glui.h... " >&6; } 8828 5466 if test "${ac_cv_header_GL_glui_h+set}" = set; then 8829 echo $ECHO_N "(cached) $ECHO_C" >&65467 $as_echo_n "(cached) " >&6 8830 5468 else 8831 5469 ac_cv_header_GL_glui_h=$ac_header_preproc 8832 5470 fi 8833 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&58834 echo "${ECHO_T}$ac_cv_header_GL_glui_h" >&6; }5471 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 5472 $as_echo "$ac_cv_header_GL_glui_h" >&6; } 8835 5473 8836 5474 fi … … 8838 5476 8839 5477 if test "${ac_cv_header_glui_h+set}" = set; then 8840 { echo "$as_me:$LINENO: checking for glui.h" >&58841 echo $ECHO_N "checking for glui.h... $ECHO_C" >&6; }5478 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 5479 $as_echo_n "checking for glui.h... " >&6; } 8842 5480 if test "${ac_cv_header_glui_h+set}" = set; then 8843 echo $ECHO_N "(cached) $ECHO_C" >&68844 fi 8845 { echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&58846 echo "${ECHO_T}$ac_cv_header_glui_h" >&6; }5481 $as_echo_n "(cached) " >&6 5482 fi 5483 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 5484 $as_echo "$ac_cv_header_glui_h" >&6; } 8847 5485 else 8848 5486 # Is the header compilable? 8849 { echo "$as_me:$LINENO: checking glui.h usability" >&58850 echo $ECHO_N "checking glui.h usability... $ECHO_C" >&6; }5487 { $as_echo "$as_me:$LINENO: checking glui.h usability" >&5 5488 $as_echo_n "checking glui.h usability... " >&6; } 8851 5489 cat >conftest.$ac_ext <<_ACEOF 8852 5490 /* confdefs.h. */ … … 8864 5502 *) ac_try_echo=$ac_try;; 8865 5503 esac 8866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5505 $as_echo "$ac_try_echo") >&5 8867 5506 (eval "$ac_compile") 2>conftest.er1 8868 5507 ac_status=$? … … 8870 5509 rm -f conftest.er1 8871 5510 cat conftest.err >&5 8872 echo "$as_me:$LINENO: \$? = $ac_status" >&55511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8873 5512 (exit $ac_status); } && { 8874 5513 test -z "$ac_cxx_werror_flag" || … … 8877 5516 ac_header_compiler=yes 8878 5517 else 8879 echo "$as_me: failed program was:" >&55518 $as_echo "$as_me: failed program was:" >&5 8880 5519 sed 's/^/| /' conftest.$ac_ext >&5 8881 5520 … … 8884 5523 8885 5524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8886 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&58887 echo "${ECHO_T}$ac_header_compiler" >&6; }5525 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5526 $as_echo "$ac_header_compiler" >&6; } 8888 5527 8889 5528 # Is the header present? 8890 { echo "$as_me:$LINENO: checking glui.h presence" >&58891 echo $ECHO_N "checking glui.h presence... $ECHO_C" >&6; }5529 { $as_echo "$as_me:$LINENO: checking glui.h presence" >&5 5530 $as_echo_n "checking glui.h presence... " >&6; } 8892 5531 cat >conftest.$ac_ext <<_ACEOF 8893 5532 /* confdefs.h. */ … … 8903 5542 *) ac_try_echo=$ac_try;; 8904 5543 esac 8905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5545 $as_echo "$ac_try_echo") >&5 8906 5546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8907 5547 ac_status=$? … … 8909 5549 rm -f conftest.er1 8910 5550 cat conftest.err >&5 8911 echo "$as_me:$LINENO: \$? = $ac_status" >&55551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8912 5552 (exit $ac_status); } >/dev/null && { 8913 5553 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 8916 5556 ac_header_preproc=yes 8917 5557 else 8918 echo "$as_me: failed program was:" >&55558 $as_echo "$as_me: failed program was:" >&5 8919 5559 sed 's/^/| /' conftest.$ac_ext >&5 8920 5560 … … 8923 5563 8924 5564 rm -f conftest.err conftest.$ac_ext 8925 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&58926 echo "${ECHO_T}$ac_header_preproc" >&6; }5565 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5566 $as_echo "$ac_header_preproc" >&6; } 8927 5567 8928 5568 # So? What about this header? 8929 5569 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8930 5570 yes:no: ) 8931 { echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&58932 echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}8933 { echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&58934 echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;}5571 { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 5572 $as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5573 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5 5574 $as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;} 8935 5575 ac_header_preproc=yes 8936 5576 ;; 8937 5577 no:yes:* ) 8938 { echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&58939 echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;}8940 { echo "$as_me:$LINENO: WARNING: glui.h: check for missing prerequisite headers?" >&58941 echo "$as_me: WARNING: glui.h: check for missing prerequisite headers?" >&2;}8942 { echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&58943 echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;}8944 { echo "$as_me:$LINENO: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&58945 echo "$as_me: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&2;}8946 { echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&58947 echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;}8948 { echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&58949 echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;}5578 { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5 5579 $as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;} 5580 { $as_echo "$as_me:$LINENO: WARNING: glui.h: check for missing prerequisite headers?" >&5 5581 $as_echo "$as_me: WARNING: glui.h: check for missing prerequisite headers?" >&2;} 5582 { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5 5583 $as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;} 5584 { $as_echo "$as_me:$LINENO: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&5 5585 $as_echo "$as_me: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&2;} 5586 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5 5587 $as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;} 5588 { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5 5589 $as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;} 8950 5590 ( cat <<\_ASBOX 8951 5591 ## ----------------------------------- ## … … 8956 5596 ;; 8957 5597 esac 8958 { echo "$as_me:$LINENO: checking for glui.h" >&58959 echo $ECHO_N "checking for glui.h... $ECHO_C" >&6; }5598 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 5599 $as_echo_n "checking for glui.h... " >&6; } 8960 5600 if test "${ac_cv_header_glui_h+set}" = set; then 8961 echo $ECHO_N "(cached) $ECHO_C" >&65601 $as_echo_n "(cached) " >&6 8962 5602 else 8963 5603 ac_cv_header_glui_h=$ac_header_preproc 8964 5604 fi 8965 { echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&58966 echo "${ECHO_T}$ac_cv_header_glui_h" >&6; }5605 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 5606 $as_echo "$ac_cv_header_glui_h" >&6; } 8967 5607 8968 5608 fi … … 8970 5610 8971 5611 if test "${ac_cv_header_GL_glut_h+set}" = set; then 8972 { echo "$as_me:$LINENO: checking for GL/glut.h" >&58973 echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; }5612 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 5613 $as_echo_n "checking for GL/glut.h... " >&6; } 8974 5614 if test "${ac_cv_header_GL_glut_h+set}" = set; then 8975 echo $ECHO_N "(cached) $ECHO_C" >&68976 fi 8977 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&58978 echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; }5615 $as_echo_n "(cached) " >&6 5616 fi 5617 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 5618 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 8979 5619 else 8980 5620 # Is the header compilable? 8981 { echo "$as_me:$LINENO: checking GL/glut.h usability" >&58982 echo $ECHO_N "checking GL/glut.h usability... $ECHO_C" >&6; }5621 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5 5622 $as_echo_n "checking GL/glut.h usability... " >&6; } 8983 5623 cat >conftest.$ac_ext <<_ACEOF 8984 5624 /* confdefs.h. */ … … 8996 5636 *) ac_try_echo=$ac_try;; 8997 5637 esac 8998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5639 $as_echo "$ac_try_echo") >&5 8999 5640 (eval "$ac_compile") 2>conftest.er1 9000 5641 ac_status=$? … … 9002 5643 rm -f conftest.er1 9003 5644 cat conftest.err >&5 9004 echo "$as_me:$LINENO: \$? = $ac_status" >&55645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9005 5646 (exit $ac_status); } && { 9006 5647 test -z "$ac_cxx_werror_flag" || … … 9009 5650 ac_header_compiler=yes 9010 5651 else 9011 echo "$as_me: failed program was:" >&55652 $as_echo "$as_me: failed program was:" >&5 9012 5653 sed 's/^/| /' conftest.$ac_ext >&5 9013 5654 … … 9016 5657 9017 5658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9018 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&59019 echo "${ECHO_T}$ac_header_compiler" >&6; }5659 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5660 $as_echo "$ac_header_compiler" >&6; } 9020 5661 9021 5662 # Is the header present? 9022 { echo "$as_me:$LINENO: checking GL/glut.h presence" >&59023 echo $ECHO_N "checking GL/glut.h presence... $ECHO_C" >&6; }5663 { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5 5664 $as_echo_n "checking GL/glut.h presence... " >&6; } 9024 5665 cat >conftest.$ac_ext <<_ACEOF 9025 5666 /* confdefs.h. */ … … 9035 5676 *) ac_try_echo=$ac_try;; 9036 5677 esac 9037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5678 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5679 $as_echo "$ac_try_echo") >&5 9038 5680 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9039 5681 ac_status=$? … … 9041 5683 rm -f conftest.er1 9042 5684 cat conftest.err >&5 9043 echo "$as_me:$LINENO: \$? = $ac_status" >&55685 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9044 5686 (exit $ac_status); } >/dev/null && { 9045 5687 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 9048 5690 ac_header_preproc=yes 9049 5691 else 9050 echo "$as_me: failed program was:" >&55692 $as_echo "$as_me: failed program was:" >&5 9051 5693 sed 's/^/| /' conftest.$ac_ext >&5 9052 5694 … … 9055 5697 9056 5698 rm -f conftest.err conftest.$ac_ext 9057 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&59058 echo "${ECHO_T}$ac_header_preproc" >&6; }5699 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5700 $as_echo "$ac_header_preproc" >&6; } 9059 5701 9060 5702 # So? What about this header? 9061 5703 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9062 5704 yes:no: ) 9063 { echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&59064 echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}9065 { echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&59066 echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}5705 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5 5706 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5707 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5 5708 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;} 9067 5709 ac_header_preproc=yes 9068 5710 ;; 9069 5711 no:yes:* ) 9070 { echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&59071 echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}9072 { echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&59073 echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;}9074 { echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&59075 echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}9076 { echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&59077 echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;}9078 { echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&59079 echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}9080 { echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&59081 echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}5712 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5 5713 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;} 5714 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5 5715 $as_echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;} 5716 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5 5717 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;} 5718 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5 5719 $as_echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;} 5720 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5 5721 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;} 5722 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5 5723 $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;} 9082 5724 ( cat <<\_ASBOX 9083 5725 ## ----------------------------------- ## … … 9088 5730 ;; 9089 5731 esac 9090 { echo "$as_me:$LINENO: checking for GL/glut.h" >&59091 echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; }5732 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 5733 $as_echo_n "checking for GL/glut.h... " >&6; } 9092 5734 if test "${ac_cv_header_GL_glut_h+set}" = set; then 9093 echo $ECHO_N "(cached) $ECHO_C" >&65735 $as_echo_n "(cached) " >&6 9094 5736 else 9095 5737 ac_cv_header_GL_glut_h=$ac_header_preproc 9096 5738 fi 9097 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&59098 echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; }5739 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 5740 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 9099 5741 9100 5742 fi … … 9102 5744 9103 5745 if test "${ac_cv_header_GL_glew_h+set}" = set; then 9104 { echo "$as_me:$LINENO: checking for GL/glew.h" >&59105 echo $ECHO_N "checking for GL/glew.h... $ECHO_C" >&6; }5746 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 5747 $as_echo_n "checking for GL/glew.h... " >&6; } 9106 5748 if test "${ac_cv_header_GL_glew_h+set}" = set; then 9107 echo $ECHO_N "(cached) $ECHO_C" >&69108 fi 9109 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&59110 echo "${ECHO_T}$ac_cv_header_GL_glew_h" >&6; }5749 $as_echo_n "(cached) " >&6 5750 fi 5751 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 5752 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 9111 5753 else 9112 5754 # Is the header compilable? 9113 { echo "$as_me:$LINENO: checking GL/glew.h usability" >&59114 echo $ECHO_N "checking GL/glew.h usability... $ECHO_C" >&6; }5755 { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5 5756 $as_echo_n "checking GL/glew.h usability... " >&6; } 9115 5757 cat >conftest.$ac_ext <<_ACEOF 9116 5758 /* confdefs.h. */ … … 9128 5770 *) ac_try_echo=$ac_try;; 9129 5771 esac 9130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5773 $as_echo "$ac_try_echo") >&5 9131 5774 (eval "$ac_compile") 2>conftest.er1 9132 5775 ac_status=$? … … 9134 5777 rm -f conftest.er1 9135 5778 cat conftest.err >&5 9136 echo "$as_me:$LINENO: \$? = $ac_status" >&55779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9137 5780 (exit $ac_status); } && { 9138 5781 test -z "$ac_cxx_werror_flag" || … … 9141 5784 ac_header_compiler=yes 9142 5785 else 9143 echo "$as_me: failed program was:" >&55786 $as_echo "$as_me: failed program was:" >&5 9144 5787 sed 's/^/| /' conftest.$ac_ext >&5 9145 5788 … … 9148 5791 9149 5792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9150 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&59151 echo "${ECHO_T}$ac_header_compiler" >&6; }5793 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5794 $as_echo "$ac_header_compiler" >&6; } 9152 5795 9153 5796 # Is the header present? 9154 { echo "$as_me:$LINENO: checking GL/glew.h presence" >&59155 echo $ECHO_N "checking GL/glew.h presence... $ECHO_C" >&6; }5797 { $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5 5798 $as_echo_n "checking GL/glew.h presence... " >&6; } 9156 5799 cat >conftest.$ac_ext <<_ACEOF 9157 5800 /* confdefs.h. */ … … 9167 5810 *) ac_try_echo=$ac_try;; 9168 5811 esac 9169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5813 $as_echo "$ac_try_echo") >&5 9170 5814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9171 5815 ac_status=$? … … 9173 5817 rm -f conftest.er1 9174 5818 cat conftest.err >&5 9175 echo "$as_me:$LINENO: \$? = $ac_status" >&55819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9176 5820 (exit $ac_status); } >/dev/null && { 9177 5821 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 9180 5824 ac_header_preproc=yes 9181 5825 else 9182 echo "$as_me: failed program was:" >&55826 $as_echo "$as_me: failed program was:" >&5 9183 5827 sed 's/^/| /' conftest.$ac_ext >&5 9184 5828 … … 9187 5831 9188 5832 rm -f conftest.err conftest.$ac_ext 9189 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&59190 echo "${ECHO_T}$ac_header_preproc" >&6; }5833 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5834 $as_echo "$ac_header_preproc" >&6; } 9191 5835 9192 5836 # So? What about this header? 9193 5837 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9194 5838 yes:no: ) 9195 { echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&59196 echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;}9197 { echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&59198 echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;}5839 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5 5840 $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5841 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5 5842 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;} 9199 5843 ac_header_preproc=yes 9200 5844 ;; 9201 5845 no:yes:* ) 9202 { echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&59203 echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;}9204 { echo "$as_me:$LINENO: WARNING: GL/glew.h: check for missing prerequisite headers?" >&59205 echo "$as_me: WARNING: GL/glew.h: check for missing prerequisite headers?" >&2;}9206 { echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&59207 echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;}9208 { echo "$as_me:$LINENO: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&59209 echo "$as_me: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&2;}9210 { echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&59211 echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;}9212 { echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&59213 echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;}5846 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5 5847 $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;} 5848 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: check for missing prerequisite headers?" >&5 5849 $as_echo "$as_me: WARNING: GL/glew.h: check for missing prerequisite headers?" >&2;} 5850 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5 5851 $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;} 5852 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&5 5853 $as_echo "$as_me: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&2;} 5854 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5 5855 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;} 5856 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5 5857 $as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;} 9214 5858 ( cat <<\_ASBOX 9215 5859 ## ----------------------------------- ## … … 9220 5864 ;; 9221 5865 esac 9222 { echo "$as_me:$LINENO: checking for GL/glew.h" >&59223 echo $ECHO_N "checking for GL/glew.h... $ECHO_C" >&6; }5866 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 5867 $as_echo_n "checking for GL/glew.h... " >&6; } 9224 5868 if test "${ac_cv_header_GL_glew_h+set}" = set; then 9225 echo $ECHO_N "(cached) $ECHO_C" >&65869 $as_echo_n "(cached) " >&6 9226 5870 else 9227 5871 ac_cv_header_GL_glew_h=$ac_header_preproc 9228 5872 fi 9229 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&59230 echo "${ECHO_T}$ac_cv_header_GL_glew_h" >&6; }5873 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 5874 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 9231 5875 9232 5876 fi … … 9234 5878 9235 5879 if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then 9236 { echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&59237 echo $ECHO_N "checking for Cg/cgGL.h... $ECHO_C" >&6; }5880 { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5 5881 $as_echo_n "checking for Cg/cgGL.h... " >&6; } 9238 5882 if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then 9239 echo $ECHO_N "(cached) $ECHO_C" >&69240 fi 9241 { echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&59242 echo "${ECHO_T}$ac_cv_header_Cg_cgGL_h" >&6; }5883 $as_echo_n "(cached) " >&6 5884 fi 5885 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5 5886 $as_echo "$ac_cv_header_Cg_cgGL_h" >&6; } 9243 5887 else 9244 5888 # Is the header compilable? 9245 { echo "$as_me:$LINENO: checking Cg/cgGL.h usability" >&59246 echo $ECHO_N "checking Cg/cgGL.h usability... $ECHO_C" >&6; }5889 { $as_echo "$as_me:$LINENO: checking Cg/cgGL.h usability" >&5 5890 $as_echo_n "checking Cg/cgGL.h usability... " >&6; } 9247 5891 cat >conftest.$ac_ext <<_ACEOF 9248 5892 /* confdefs.h. */ … … 9260 5904 *) ac_try_echo=$ac_try;; 9261 5905 esac 9262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5907 $as_echo "$ac_try_echo") >&5 9263 5908 (eval "$ac_compile") 2>conftest.er1 9264 5909 ac_status=$? … … 9266 5911 rm -f conftest.er1 9267 5912 cat conftest.err >&5 9268 echo "$as_me:$LINENO: \$? = $ac_status" >&55913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9269 5914 (exit $ac_status); } && { 9270 5915 test -z "$ac_cxx_werror_flag" || … … 9273 5918 ac_header_compiler=yes 9274 5919 else 9275 echo "$as_me: failed program was:" >&55920 $as_echo "$as_me: failed program was:" >&5 9276 5921 sed 's/^/| /' conftest.$ac_ext >&5 9277 5922 … … 9280 5925 9281 5926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9282 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&59283 echo "${ECHO_T}$ac_header_compiler" >&6; }5927 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5928 $as_echo "$ac_header_compiler" >&6; } 9284 5929 9285 5930 # Is the header present? 9286 { echo "$as_me:$LINENO: checking Cg/cgGL.h presence" >&59287 echo $ECHO_N "checking Cg/cgGL.h presence... $ECHO_C" >&6; }5931 { $as_echo "$as_me:$LINENO: checking Cg/cgGL.h presence" >&5 5932 $as_echo_n "checking Cg/cgGL.h presence... " >&6; } 9288 5933 cat >conftest.$ac_ext <<_ACEOF 9289 5934 /* confdefs.h. */ … … 9299 5944 *) ac_try_echo=$ac_try;; 9300 5945 esac 9301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5947 $as_echo "$ac_try_echo") >&5 9302 5948 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9303 5949 ac_status=$? … … 9305 5951 rm -f conftest.er1 9306 5952 cat conftest.err >&5 9307 echo "$as_me:$LINENO: \$? = $ac_status" >&55953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9308 5954 (exit $ac_status); } >/dev/null && { 9309 5955 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 9312 5958 ac_header_preproc=yes 9313 5959 else 9314 echo "$as_me: failed program was:" >&55960 $as_echo "$as_me: failed program was:" >&5 9315 5961 sed 's/^/| /' conftest.$ac_ext >&5 9316 5962 … … 9319 5965 9320 5966 rm -f conftest.err conftest.$ac_ext 9321 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&59322 echo "${ECHO_T}$ac_header_preproc" >&6; }5967 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5968 $as_echo "$ac_header_preproc" >&6; } 9323 5969 9324 5970 # So? What about this header? 9325 5971 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9326 5972 yes:no: ) 9327 { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&59328 echo "$as_me: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&2;}9329 { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&59330 echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&2;}5973 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&5 5974 $as_echo "$as_me: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5975 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&5 5976 $as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&2;} 9331 5977 ac_header_preproc=yes 9332 5978 ;; 9333 5979 no:yes:* ) 9334 { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: present but cannot be compiled" >&59335 echo "$as_me: WARNING: Cg/cgGL.h: present but cannot be compiled" >&2;}9336 { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: check for missing prerequisite headers?" >&59337 echo "$as_me: WARNING: Cg/cgGL.h: check for missing prerequisite headers?" >&2;}9338 { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&59339 echo "$as_me: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&2;}9340 { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: section \"Present But Cannot Be Compiled\"" >&59341 echo "$as_me: WARNING: Cg/cgGL.h: section \"Present But Cannot Be Compiled\"" >&2;}9342 { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&59343 echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&2;}9344 { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&59345 echo "$as_me: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&2;}5980 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: present but cannot be compiled" >&5 5981 $as_echo "$as_me: WARNING: Cg/cgGL.h: present but cannot be compiled" >&2;} 5982 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: check for missing prerequisite headers?" >&5 5983 $as_echo "$as_me: WARNING: Cg/cgGL.h: check for missing prerequisite headers?" >&2;} 5984 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&5 5985 $as_echo "$as_me: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&2;} 5986 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: section \"Present But Cannot Be Compiled\"" >&5 5987 $as_echo "$as_me: WARNING: Cg/cgGL.h: section \"Present But Cannot Be Compiled\"" >&2;} 5988 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&5 5989 $as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&2;} 5990 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&5 5991 $as_echo "$as_me: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&2;} 9346 5992 ( cat <<\_ASBOX 9347 5993 ## ----------------------------------- ## … … 9352 5998 ;; 9353 5999 esac 9354 { echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&59355 echo $ECHO_N "checking for Cg/cgGL.h... $ECHO_C" >&6; }6000 { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5 6001 $as_echo_n "checking for Cg/cgGL.h... " >&6; } 9356 6002 if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then 9357 echo $ECHO_N "(cached) $ECHO_C" >&66003 $as_echo_n "(cached) " >&6 9358 6004 else 9359 6005 ac_cv_header_Cg_cgGL_h=$ac_header_preproc 9360 6006 fi 9361 { echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&59362 echo "${ECHO_T}$ac_cv_header_Cg_cgGL_h" >&6; }6007 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5 6008 $as_echo "$ac_cv_header_Cg_cgGL_h" >&6; } 9363 6009 9364 6010 fi … … 9373 6019 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 9374 6020 do 9375 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`6021 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9376 6022 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9377 { echo "$as_me:$LINENO: checking for $ac_header" >&59378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }6023 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6024 $as_echo_n "checking for $ac_header... " >&6; } 9379 6025 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9380 echo $ECHO_N "(cached) $ECHO_C" >&6 9381 fi 9382 ac_res=`eval echo '${'$as_ac_Header'}'` 9383 { echo "$as_me:$LINENO: result: $ac_res" >&5 9384 echo "${ECHO_T}$ac_res" >&6; } 6026 $as_echo_n "(cached) " >&6 6027 fi 6028 ac_res=`eval 'as_val=${'$as_ac_Header'} 6029 $as_echo "$as_val"'` 6030 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6031 $as_echo "$ac_res" >&6; } 9385 6032 else 9386 6033 # Is the header compilable? 9387 { echo "$as_me:$LINENO: checking $ac_header usability" >&59388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }6034 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6035 $as_echo_n "checking $ac_header usability... " >&6; } 9389 6036 cat >conftest.$ac_ext <<_ACEOF 9390 6037 /* confdefs.h. */ … … 9402 6049 *) ac_try_echo=$ac_try;; 9403 6050 esac 9404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6052 $as_echo "$ac_try_echo") >&5 9405 6053 (eval "$ac_compile") 2>conftest.er1 9406 6054 ac_status=$? … … 9408 6056 rm -f conftest.er1 9409 6057 cat conftest.err >&5 9410 echo "$as_me:$LINENO: \$? = $ac_status" >&56058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9411 6059 (exit $ac_status); } && { 9412 6060 test -z "$ac_cxx_werror_flag" || … … 9415 6063 ac_header_compiler=yes 9416 6064 else 9417 echo "$as_me: failed program was:" >&56065 $as_echo "$as_me: failed program was:" >&5 9418 6066 sed 's/^/| /' conftest.$ac_ext >&5 9419 6067 … … 9422 6070 9423 6071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9424 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&59425 echo "${ECHO_T}$ac_header_compiler" >&6; }6072 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6073 $as_echo "$ac_header_compiler" >&6; } 9426 6074 9427 6075 # Is the header present? 9428 { echo "$as_me:$LINENO: checking $ac_header presence" >&59429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }6076 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6077 $as_echo_n "checking $ac_header presence... " >&6; } 9430 6078 cat >conftest.$ac_ext <<_ACEOF 9431 6079 /* confdefs.h. */ … … 9441 6089 *) ac_try_echo=$ac_try;; 9442 6090 esac 9443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6092 $as_echo "$ac_try_echo") >&5 9444 6093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9445 6094 ac_status=$? … … 9447 6096 rm -f conftest.er1 9448 6097 cat conftest.err >&5 9449 echo "$as_me:$LINENO: \$? = $ac_status" >&56098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9450 6099 (exit $ac_status); } >/dev/null && { 9451 6100 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 9454 6103 ac_header_preproc=yes 9455 6104 else 9456 echo "$as_me: failed program was:" >&56105 $as_echo "$as_me: failed program was:" >&5 9457 6106 sed 's/^/| /' conftest.$ac_ext >&5 9458 6107 … … 9461 6110 9462 6111 rm -f conftest.err conftest.$ac_ext 9463 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&59464 echo "${ECHO_T}$ac_header_preproc" >&6; }6112 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6113 $as_echo "$ac_header_preproc" >&6; } 9465 6114 9466 6115 # So? What about this header? 9467 6116 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9468 6117 yes:no: ) 9469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&59470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}9471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&59472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}6118 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6119 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6120 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6121 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9473 6122 ac_header_preproc=yes 9474 6123 ;; 9475 6124 no:yes:* ) 9476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&59477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}9478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&59479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}9480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&59481 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}9482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&59483 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}9484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&59485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}9486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&59487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}6125 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6126 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6127 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6128 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6129 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6130 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6131 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6132 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6133 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6134 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6135 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6136 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9488 6137 ( cat <<\_ASBOX 9489 6138 ## ----------------------------------- ## … … 9494 6143 ;; 9495 6144 esac 9496 { echo "$as_me:$LINENO: checking for $ac_header" >&59497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }6145 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6146 $as_echo_n "checking for $ac_header... " >&6; } 9498 6147 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9499 echo $ECHO_N "(cached) $ECHO_C" >&66148 $as_echo_n "(cached) " >&6 9500 6149 else 9501 6150 eval "$as_ac_Header=\$ac_header_preproc" 9502 6151 fi 9503 ac_res=`eval echo '${'$as_ac_Header'}'` 9504 { echo "$as_me:$LINENO: result: $ac_res" >&5 9505 echo "${ECHO_T}$ac_res" >&6; } 9506 9507 fi 9508 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6152 ac_res=`eval 'as_val=${'$as_ac_Header'} 6153 $as_echo "$as_val"'` 6154 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6155 $as_echo "$ac_res" >&6; } 6156 6157 fi 6158 as_val=`eval 'as_val=${'$as_ac_Header'} 6159 $as_echo "$as_val"'` 6160 if test "x$as_val" = x""yes; then 9509 6161 cat >>confdefs.h <<_ACEOF 9510 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 16162 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9511 6163 _ACEOF 9512 6164 … … 9522 6174 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 9523 6175 do 9524 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`6176 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9525 6177 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9526 { echo "$as_me:$LINENO: checking for $ac_header" >&59527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }6178 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6179 $as_echo_n "checking for $ac_header... " >&6; } 9528 6180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9529 echo $ECHO_N "(cached) $ECHO_C" >&6 9530 fi 9531 ac_res=`eval echo '${'$as_ac_Header'}'` 9532 { echo "$as_me:$LINENO: result: $ac_res" >&5 9533 echo "${ECHO_T}$ac_res" >&6; } 6181 $as_echo_n "(cached) " >&6 6182 fi 6183 ac_res=`eval 'as_val=${'$as_ac_Header'} 6184 $as_echo "$as_val"'` 6185 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6186 $as_echo "$ac_res" >&6; } 9534 6187 else 9535 6188 # Is the header compilable? 9536 { echo "$as_me:$LINENO: checking $ac_header usability" >&59537 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }6189 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6190 $as_echo_n "checking $ac_header usability... " >&6; } 9538 6191 cat >conftest.$ac_ext <<_ACEOF 9539 6192 /* confdefs.h. */ … … 9551 6204 *) ac_try_echo=$ac_try;; 9552 6205 esac 9553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6207 $as_echo "$ac_try_echo") >&5 9554 6208 (eval "$ac_compile") 2>conftest.er1 9555 6209 ac_status=$? … … 9557 6211 rm -f conftest.er1 9558 6212 cat conftest.err >&5 9559 echo "$as_me:$LINENO: \$? = $ac_status" >&56213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9560 6214 (exit $ac_status); } && { 9561 6215 test -z "$ac_cxx_werror_flag" || … … 9564 6218 ac_header_compiler=yes 9565 6219 else 9566 echo "$as_me: failed program was:" >&56220 $as_echo "$as_me: failed program was:" >&5 9567 6221 sed 's/^/| /' conftest.$ac_ext >&5 9568 6222 … … 9571 6225 9572 6226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9573 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&59574 echo "${ECHO_T}$ac_header_compiler" >&6; }6227 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6228 $as_echo "$ac_header_compiler" >&6; } 9575 6229 9576 6230 # Is the header present? 9577 { echo "$as_me:$LINENO: checking $ac_header presence" >&59578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }6231 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6232 $as_echo_n "checking $ac_header presence... " >&6; } 9579 6233 cat >conftest.$ac_ext <<_ACEOF 9580 6234 /* confdefs.h. */ … … 9590 6244 *) ac_try_echo=$ac_try;; 9591 6245 esac 9592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6247 $as_echo "$ac_try_echo") >&5 9593 6248 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9594 6249 ac_status=$? … … 9596 6251 rm -f conftest.er1 9597 6252 cat conftest.err >&5 9598 echo "$as_me:$LINENO: \$? = $ac_status" >&56253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9599 6254 (exit $ac_status); } >/dev/null && { 9600 6255 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 9603 6258 ac_header_preproc=yes 9604 6259 else 9605 echo "$as_me: failed program was:" >&56260 $as_echo "$as_me: failed program was:" >&5 9606 6261 sed 's/^/| /' conftest.$ac_ext >&5 9607 6262 … … 9610 6265 9611 6266 rm -f conftest.err conftest.$ac_ext 9612 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&59613 echo "${ECHO_T}$ac_header_preproc" >&6; }6267 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6268 $as_echo "$ac_header_preproc" >&6; } 9614 6269 9615 6270 # So? What about this header? 9616 6271 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9617 6272 yes:no: ) 9618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&59619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}9620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&59621 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}6273 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6274 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6275 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6276 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9622 6277 ac_header_preproc=yes 9623 6278 ;; 9624 6279 no:yes:* ) 9625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&59626 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}9627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&59628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}9629 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&59630 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}9631 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&59632 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}9633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&59634 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}9635 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&59636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}6280 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6281 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6282 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6283 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6284 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6285 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6286 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6287 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6288 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6289 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6290 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6291 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9637 6292 ( cat <<\_ASBOX 9638 6293 ## ----------------------------------- ## … … 9643 6298 ;; 9644 6299 esac 9645 { echo "$as_me:$LINENO: checking for $ac_header" >&59646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }6300 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6301 $as_echo_n "checking for $ac_header... " >&6; } 9647 6302 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9648 echo $ECHO_N "(cached) $ECHO_C" >&66303 $as_echo_n "(cached) " >&6 9649 6304 else 9650 6305 eval "$as_ac_Header=\$ac_header_preproc" 9651 6306 fi 9652 ac_res=`eval echo '${'$as_ac_Header'}'` 9653 { echo "$as_me:$LINENO: result: $ac_res" >&5 9654 echo "${ECHO_T}$ac_res" >&6; } 9655 9656 fi 9657 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6307 ac_res=`eval 'as_val=${'$as_ac_Header'} 6308 $as_echo "$as_val"'` 6309 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6310 $as_echo "$ac_res" >&6; } 6311 6312 fi 6313 as_val=`eval 'as_val=${'$as_ac_Header'} 6314 $as_echo "$as_val"'` 6315 if test "x$as_val" = x""yes; then 9658 6316 cat >>confdefs.h <<_ACEOF 9659 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 16317 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9660 6318 _ACEOF 9661 6319 … … 9665 6323 9666 6324 9667 { echo "$as_me:$LINENO: checking for DX installation" >&59668 echo $ECHO_N "checking for DX installation... $ECHO_C" >&6; }6325 { $as_echo "$as_me:$LINENO: checking for DX installation" >&5 6326 $as_echo_n "checking for DX installation... " >&6; } 9669 6327 DX_DIR="" 9670 6328 for dir in \ … … 9679 6337 done 9680 6338 if test "x${DX_DIR}" = "x" ; then 9681 { { echo "$as_me:$LINENO: error: can't find OpenDX installation" >&59682 echo "$as_me: error: can't find OpenDX installation" >&2;}6339 { { $as_echo "$as_me:$LINENO: error: can't find OpenDX installation" >&5 6340 $as_echo "$as_me: error: can't find OpenDX installation" >&2;} 9683 6341 { (exit 1); exit 1; }; } 9684 6342 fi … … 9691 6349 9692 6350 9693 { echo "$as_me:$LINENO: result: ${DX_DIR}" >&5 9694 echo "${ECHO_T}${DX_DIR}" >&6; } 9695 9696 { echo "$as_me:$LINENO: checking for FFmpeg installation" >&5 9697 echo $ECHO_N "checking for FFmpeg installation... $ECHO_C" >&6; } 9698 FFMPEG_DIR="" 9699 for dir in \ 9700 /apps/rappture \ 9701 /usr 6351 { $as_echo "$as_me:$LINENO: result: ${DX_DIR}" >&5 6352 $as_echo "${DX_DIR}" >&6; } 6353 6354 6355 6356 6357 6358 6359 6360 for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h 9702 6361 do 9703 if test -r "${dir}/include/ffmpeg/avcodec.h" ; then 9704 FFMPEG_DIR="$dir" 9705 break 9706 fi 6362 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6364 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6365 $as_echo_n "checking for $ac_header... " >&6; } 6366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6367 $as_echo_n "(cached) " >&6 6368 fi 6369 ac_res=`eval 'as_val=${'$as_ac_Header'} 6370 $as_echo "$as_val"'` 6371 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6372 $as_echo "$ac_res" >&6; } 6373 else 6374 # Is the header compilable? 6375 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6376 $as_echo_n "checking $ac_header usability... " >&6; } 6377 cat >conftest.$ac_ext <<_ACEOF 6378 /* confdefs.h. */ 6379 _ACEOF 6380 cat confdefs.h >>conftest.$ac_ext 6381 cat >>conftest.$ac_ext <<_ACEOF 6382 /* end confdefs.h. */ 6383 $ac_includes_default 6384 #include <$ac_header> 6385 _ACEOF 6386 rm -f conftest.$ac_objext 6387 if { (ac_try="$ac_compile" 6388 case "(($ac_try" in 6389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6390 *) ac_try_echo=$ac_try;; 6391 esac 6392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6393 $as_echo "$ac_try_echo") >&5 6394 (eval "$ac_compile") 2>conftest.er1 6395 ac_status=$? 6396 grep -v '^ *+' conftest.er1 >conftest.err 6397 rm -f conftest.er1 6398 cat conftest.err >&5 6399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6400 (exit $ac_status); } && { 6401 test -z "$ac_cxx_werror_flag" || 6402 test ! -s conftest.err 6403 } && test -s conftest.$ac_objext; then 6404 ac_header_compiler=yes 6405 else 6406 $as_echo "$as_me: failed program was:" >&5 6407 sed 's/^/| /' conftest.$ac_ext >&5 6408 6409 ac_header_compiler=no 6410 fi 6411 6412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6413 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6414 $as_echo "$ac_header_compiler" >&6; } 6415 6416 # Is the header present? 6417 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6418 $as_echo_n "checking $ac_header presence... " >&6; } 6419 cat >conftest.$ac_ext <<_ACEOF 6420 /* confdefs.h. */ 6421 _ACEOF 6422 cat confdefs.h >>conftest.$ac_ext 6423 cat >>conftest.$ac_ext <<_ACEOF 6424 /* end confdefs.h. */ 6425 #include <$ac_header> 6426 _ACEOF 6427 if { (ac_try="$ac_cpp conftest.$ac_ext" 6428 case "(($ac_try" in 6429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6430 *) ac_try_echo=$ac_try;; 6431 esac 6432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6433 $as_echo "$ac_try_echo") >&5 6434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6435 ac_status=$? 6436 grep -v '^ *+' conftest.er1 >conftest.err 6437 rm -f conftest.er1 6438 cat conftest.err >&5 6439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6440 (exit $ac_status); } >/dev/null && { 6441 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6442 test ! -s conftest.err 6443 }; then 6444 ac_header_preproc=yes 6445 else 6446 $as_echo "$as_me: failed program was:" >&5 6447 sed 's/^/| /' conftest.$ac_ext >&5 6448 6449 ac_header_preproc=no 6450 fi 6451 6452 rm -f conftest.err conftest.$ac_ext 6453 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6454 $as_echo "$ac_header_preproc" >&6; } 6455 6456 # So? What about this header? 6457 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6458 yes:no: ) 6459 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6460 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6461 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6462 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6463 ac_header_preproc=yes 6464 ;; 6465 no:yes:* ) 6466 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6467 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6468 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6469 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6470 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6471 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6472 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6473 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6474 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6475 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6476 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6477 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6478 ( cat <<\_ASBOX 6479 ## ----------------------------------- ## 6480 ## Report this to rappture@nanohub.org ## 6481 ## ----------------------------------- ## 6482 _ASBOX 6483 ) | sed "s/^/$as_me: WARNING: /" >&2 6484 ;; 6485 esac 6486 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6487 $as_echo_n "checking for $ac_header... " >&6; } 6488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6489 $as_echo_n "(cached) " >&6 6490 else 6491 eval "$as_ac_Header=\$ac_header_preproc" 6492 fi 6493 ac_res=`eval 'as_val=${'$as_ac_Header'} 6494 $as_echo "$as_val"'` 6495 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6496 $as_echo "$ac_res" >&6; } 6497 6498 fi 6499 as_val=`eval 'as_val=${'$as_ac_Header'} 6500 $as_echo "$as_val"'` 6501 if test "x$as_val" = x""yes; then 6502 cat >>confdefs.h <<_ACEOF 6503 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6504 _ACEOF 6505 6506 fi 6507 9707 6508 done 9708 if test "x${FFMPEG_DIR}" = "x" ; then 9709 { { echo "$as_me:$LINENO: error: can't find FFmpeg installation" >&5 9710 echo "$as_me: error: can't find FFmpeg installation" >&2;} 9711 { (exit 1); exit 1; }; } 9712 fi 9713 9714 if test "${FFMPEG_DIR}" = "/usr" ; then 9715 FFMPEG_DIR="" 9716 #else 9717 # LD_RPATH="$loader_run_path:${FFMPEG_DIR}/lib" 9718 fi 9719 9720 9721 { echo "$as_me:$LINENO: result: ${FFMPEG_DIR}" >&5 9722 echo "${ECHO_T}${FFMPEG_DIR}" >&6; } 9723 9724 { echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5 9725 echo $ECHO_N "checking for nVidia Cg installation... $ECHO_C" >&6; } 6509 6510 6511 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5 6512 $as_echo_n "checking for nVidia Cg installation... " >&6; } 9726 6513 CG_DIR="" 9727 6514 for dir in \ … … 9736 6523 done 9737 6524 if test "x${CG_DIR}" = "x" ; then 9738 { { echo "$as_me:$LINENO: error: can't find nVidia Cg installation" >&59739 echo "$as_me: error: can't find nVidia Cg installation" >&2;}6525 { { $as_echo "$as_me:$LINENO: error: can't find nVidia Cg installation" >&5 6526 $as_echo "$as_me: error: can't find nVidia Cg installation" >&2;} 9740 6527 { (exit 1); exit 1; }; } 9741 6528 fi … … 9748 6535 9749 6536 9750 { echo "$as_me:$LINENO: result: ${CG_DIR}" >&59751 echo "${ECHO_T}${CG_DIR}" >&6; }6537 { $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5 6538 $as_echo "${CG_DIR}" >&6; } 9752 6539 9753 6540 … … 9783 6570 *${as_nl}*) 9784 6571 case $ac_var in #( 9785 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&59786 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;6572 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 6573 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9787 6574 esac 9788 6575 case $ac_var in #( 9789 6576 _ | IFS | as_nl) ;; #( 6577 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9790 6578 *) $as_unset $ac_var ;; 9791 6579 esac ;; … … 9820 6608 if test -w "$cache_file"; then 9821 6609 test "x$cache_file" != "x/dev/null" && 9822 { echo "$as_me:$LINENO: updating cache $cache_file" >&59823 echo "$as_me: updating cache $cache_file" >&6;}6610 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 6611 $as_echo "$as_me: updating cache $cache_file" >&6;} 9824 6612 cat confcache >$cache_file 9825 6613 else 9826 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&59827 echo "$as_me: not updating unwritable cache $cache_file" >&6;}6614 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 6615 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 9828 6616 fi 9829 6617 fi … … 9841 6629 # 1. Remove the extension, and $U if already installed. 9842 6630 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9843 ac_i=` echo "$ac_i" | sed "$ac_script"`6631 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 9844 6632 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9845 6633 # will be set to the directory where LIBOBJS objects are built. … … 9853 6641 9854 6642 6643 9855 6644 : ${CONFIG_STATUS=./config.status} 6645 ac_write_fail=0 9856 6646 ac_clean_files_save=$ac_clean_files 9857 6647 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 9858 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&59859 echo "$as_me: creating $CONFIG_STATUS" >&6;}9860 cat >$CONFIG_STATUS <<_ACEOF 6648 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 6649 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6650 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9861 6651 #! $SHELL 9862 6652 # Generated by $as_me. … … 9871 6661 _ACEOF 9872 6662 9873 cat >>$CONFIG_STATUS <<\_ACEOF 6663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9874 6664 ## --------------------- ## 9875 6665 ## M4sh Initialization. ## … … 9881 6671 emulate sh 9882 6672 NULLCMD=: 9883 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which6673 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 9884 6674 # is contrary to our usage. Disable this feature. 9885 6675 alias -g '${1+"$@"}'='"$@"' … … 9903 6693 as_cr_alnum=$as_cr_Letters$as_cr_digits 9904 6694 6695 as_nl=' 6696 ' 6697 export as_nl 6698 # Printing a long string crashes Solaris 7 /usr/bin/printf. 6699 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6700 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6701 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6702 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6703 as_echo='printf %s\n' 6704 as_echo_n='printf %s' 6705 else 6706 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6707 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6708 as_echo_n='/usr/ucb/echo -n' 6709 else 6710 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6711 as_echo_n_body='eval 6712 arg=$1; 6713 case $arg in 6714 *"$as_nl"*) 6715 expr "X$arg" : "X\\(.*\\)$as_nl"; 6716 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6717 esac; 6718 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6719 ' 6720 export as_echo_n_body 6721 as_echo_n='sh -c $as_echo_n_body as_echo' 6722 fi 6723 export as_echo_body 6724 as_echo='sh -c $as_echo_body as_echo' 6725 fi 6726 9905 6727 # The user is always right. 9906 6728 if test "${PATH_SEPARATOR+set}" != set; then 9907 echo "#! /bin/sh" >conf$$.sh 9908 echo "exit 0" >>conf$$.sh 9909 chmod +x conf$$.sh 9910 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 9911 PATH_SEPARATOR=';' 9912 else 9913 PATH_SEPARATOR=: 9914 fi 9915 rm -f conf$$.sh 6729 PATH_SEPARATOR=: 6730 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6731 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6732 PATH_SEPARATOR=';' 6733 } 9916 6734 fi 9917 6735 … … 9929 6747 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 9930 6748 # splitting by setting IFS to empty value.) 9931 as_nl='9932 '9933 6749 IFS=" "" $as_nl" 9934 6750 … … 9953 6769 fi 9954 6770 if test ! -f "$as_myself"; then 9955 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&26771 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9956 6772 { (exit 1); exit 1; } 9957 6773 fi … … 9966 6782 9967 6783 # NLS nuisances. 9968 for as_var in \ 9969 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 9970 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 9971 LC_TELEPHONE LC_TIME 9972 do 9973 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 9974 eval $as_var=C; export $as_var 9975 else 9976 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9977 fi 9978 done 6784 LC_ALL=C 6785 export LC_ALL 6786 LANGUAGE=C 6787 export LANGUAGE 9979 6788 9980 6789 # Required to use basename. … … 9998 6807 X"$0" : 'X\(//\)$' \| \ 9999 6808 X"$0" : 'X\(/\)' \| . 2>/dev/null || 10000 echo X/"$0" |6809 $as_echo X/"$0" | 10001 6810 sed '/^.*\/\([^/][^/]*\)\/*$/{ 10002 6811 s//\1/ … … 10049 6858 ' >$as_me.lineno && 10050 6859 chmod +x "$as_me.lineno" || 10051 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&26860 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 10052 6861 { (exit 1); exit 1; }; } 10053 6862 … … 10077 6886 ECHO_N='-n';; 10078 6887 esac 10079 10080 6888 if expr a : '\(a\)' >/dev/null 2>&1 && 10081 6889 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 10090 6898 else 10091 6899 rm -f conf$$.dir 10092 mkdir conf$$.dir 10093 fi 10094 echo >conf$$.file 10095 if ln -s conf$$.file conf$$ 2>/dev/null; then 10096 as_ln_s='ln -s' 10097 # ... but there are two gotchas: 10098 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 10099 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 10100 # In both cases, we have to default to `cp -p'. 10101 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6900 mkdir conf$$.dir 2>/dev/null 6901 fi 6902 if (echo >conf$$.file) 2>/dev/null; then 6903 if ln -s conf$$.file conf$$ 2>/dev/null; then 6904 as_ln_s='ln -s' 6905 # ... but there are two gotchas: 6906 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6907 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6908 # In both cases, we have to default to `cp -p'. 6909 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6910 as_ln_s='cp -p' 6911 elif ln conf$$.file conf$$ 2>/dev/null; then 6912 as_ln_s=ln 6913 else 10102 6914 as_ln_s='cp -p' 10103 elif ln conf$$.file conf$$ 2>/dev/null; then 10104 as_ln_s=ln 6915 fi 10105 6916 else 10106 6917 as_ln_s='cp -p' … … 10127 6938 eval sh -c '\'' 10128 6939 if test -d "$1"; then 10129 6940 test -d "$1/."; 10130 6941 else 10131 6942 case $1 in 10132 6943 -*)set "./$1";; 10133 6944 esac; 10134 6945 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in … … 10153 6964 ac_log=" 10154 6965 This file was extended by vizservers $as_me 0.1, which was 10155 generated by GNU Autoconf 2.6 1. Invocation command line was6966 generated by GNU Autoconf 2.63. Invocation command line was 10156 6967 10157 6968 CONFIG_FILES = $CONFIG_FILES … … 10166 6977 _ACEOF 10167 6978 10168 cat >>$CONFIG_STATUS <<_ACEOF 6979 case $ac_config_files in *" 6980 "*) set x $ac_config_files; shift; ac_config_files=$*;; 6981 esac 6982 6983 case $ac_config_headers in *" 6984 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 6985 esac 6986 6987 6988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10169 6989 # Files that config.status was made for. 10170 6990 config_files="$ac_config_files" … … 10173 6993 _ACEOF 10174 6994 10175 cat >>$CONFIG_STATUS <<\_ACEOF 6995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10176 6996 ac_cs_usage="\ 10177 6997 \`$as_me' instantiates files from templates according to the 10178 6998 current configuration. 10179 6999 10180 Usage: $0 [OPTION S][FILE]...7000 Usage: $0 [OPTION]... [FILE]... 10181 7001 10182 7002 -h, --help print this help, then exit 10183 7003 -V, --version print version number and configuration settings, then exit 10184 -q, --quiet do not print progress messages 7004 -q, --quiet, --silent 7005 do not print progress messages 10185 7006 -d, --debug don't remove temporary files 10186 7007 --recheck update $as_me by reconfiguring in the same conditions 10187 --file=FILE[:TEMPLATE]10188 10189 --header=FILE[:TEMPLATE]10190 7008 --file=FILE[:TEMPLATE] 7009 instantiate the configuration file FILE 7010 --header=FILE[:TEMPLATE] 7011 instantiate the configuration header FILE 10191 7012 10192 7013 Configuration files: … … 10199 7020 10200 7021 _ACEOF 10201 cat >>$CONFIG_STATUS <<_ACEOF 7022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10202 7023 ac_cs_version="\\ 10203 7024 vizservers config.status 0.1 10204 configured by $0, generated by GNU Autoconf 2.6 1,10205 with options \\"` echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"10206 10207 Copyright (C) 200 6Free Software Foundation, Inc.7025 configured by $0, generated by GNU Autoconf 2.63, 7026 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 7027 7028 Copyright (C) 2008 Free Software Foundation, Inc. 10208 7029 This config.status script is free software; the Free Software Foundation 10209 7030 gives unlimited permission to copy, distribute and modify it." … … 10213 7034 INSTALL='$INSTALL' 10214 7035 MKDIR_P='$MKDIR_P' 10215 _ACEOF 10216 10217 cat >>$CONFIG_STATUS <<\_ACEOF 10218 # If no file are specified by the user, then we need to provide default 10219 # value. By we need to know if files were specified by the user.7036 test -n "\$AWK" || AWK=awk 7037 _ACEOF 7038 7039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7040 # The default lists apply if the user does not specify any file. 10220 7041 ac_need_defaults=: 10221 7042 while test $# != 0 … … 10239 7060 ac_cs_recheck=: ;; 10240 7061 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 10241 echo "$ac_cs_version"; exit ;;7062 $as_echo "$ac_cs_version"; exit ;; 10242 7063 --debug | --debu | --deb | --de | --d | -d ) 10243 7064 debug=: ;; 10244 7065 --file | --fil | --fi | --f ) 10245 7066 $ac_shift 10246 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 7067 case $ac_optarg in 7068 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7069 esac 7070 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 10247 7071 ac_need_defaults=false;; 10248 7072 --header | --heade | --head | --hea ) 10249 7073 $ac_shift 10250 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 7074 case $ac_optarg in 7075 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7076 esac 7077 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 10251 7078 ac_need_defaults=false;; 10252 7079 --he | --h) 10253 7080 # Conflict between --help and --header 10254 { echo "$as_me: error: ambiguous option: $17081 { $as_echo "$as_me: error: ambiguous option: $1 10255 7082 Try \`$0 --help' for more information." >&2 10256 7083 { (exit 1); exit 1; }; };; 10257 7084 --help | --hel | -h ) 10258 echo "$ac_cs_usage"; exit ;;7085 $as_echo "$ac_cs_usage"; exit ;; 10259 7086 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10260 7087 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 10262 7089 10263 7090 # This is an error. 10264 -*) { echo "$as_me: error: unrecognized option: $17091 -*) { $as_echo "$as_me: error: unrecognized option: $1 10265 7092 Try \`$0 --help' for more information." >&2 10266 7093 { (exit 1); exit 1; }; } ;; … … 10281 7108 10282 7109 _ACEOF 10283 cat >>$CONFIG_STATUS <<_ACEOF 7110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10284 7111 if \$ac_cs_recheck; then 10285 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 10286 CONFIG_SHELL=$SHELL 7112 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7113 shift 7114 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7115 CONFIG_SHELL='$SHELL' 10287 7116 export CONFIG_SHELL 10288 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion10289 fi 10290 10291 _ACEOF 10292 cat >>$CONFIG_STATUS <<\_ACEOF 7117 exec "\$@" 7118 fi 7119 7120 _ACEOF 7121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10293 7122 exec 5>>config.log 10294 7123 { … … 10297 7126 ## Running $as_me. ## 10298 7127 _ASBOX 10299 echo "$ac_log"7128 $as_echo "$ac_log" 10300 7129 } >&5 10301 7130 10302 7131 _ACEOF 10303 cat >>$CONFIG_STATUS <<_ACEOF 10304 _ACEOF 10305 10306 cat >>$CONFIG_STATUS <<\_ACEOF 7132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7133 _ACEOF 7134 7135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10307 7136 10308 7137 # Handling of arguments. … … 10311 7140 case $ac_config_target in 10312 7141 "nanoscale/config.h") CONFIG_HEADERS="$CONFIG_HEADERS nanoscale/config.h" ;; 7142 "nanovis/nvconf.h") CONFIG_HEADERS="$CONFIG_HEADERS nanovis/nvconf.h" ;; 10313 7143 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 10314 7144 "nanoscale/Makefile") CONFIG_FILES="$CONFIG_FILES nanoscale/Makefile" ;; … … 10321 7151 "start_viz.sh") CONFIG_FILES="$CONFIG_FILES start_viz.sh" ;; 10322 7152 10323 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&510324 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}7153 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 7154 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 10325 7155 { (exit 1); exit 1; }; };; 10326 7156 esac … … 10362 7192 } || 10363 7193 { 10364 echo "$me: cannot create a temporary directory in ." >&27194 $as_echo "$as_me: cannot create a temporary directory in ." >&2 10365 7195 { (exit 1); exit 1; } 10366 7196 } 10367 7197 10368 # 10369 # Set up the sed scripts for CONFIG_FILES section. 10370 # 10371 10372 # No need to generate the scripts if there are no CONFIG_FILES. 10373 # This happens for instance when ./config.status config.h 7198 # Set up the scripts for CONFIG_FILES section. 7199 # No need to generate them if there are no CONFIG_FILES. 7200 # This happens for instance with `./config.status config.h'. 10374 7201 if test -n "$CONFIG_FILES"; then 10375 7202 10376 _ACEOF 10377 10378 10379 7203 7204 ac_cr=' 7205 ' 7206 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7207 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7208 ac_cs_awk_cr='\\r' 7209 else 7210 ac_cs_awk_cr=$ac_cr 7211 fi 7212 7213 echo 'BEGIN {' >"$tmp/subs1.awk" && 7214 _ACEOF 7215 7216 7217 { 7218 echo "cat >conf$$subs.awk <<_ACEOF" && 7219 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7220 echo "_ACEOF" 7221 } >conf$$subs.sh || 7222 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 7223 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 7224 { (exit 1); exit 1; }; } 7225 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 10380 7226 ac_delim='%!_!# ' 10381 7227 for ac_last_try in false false false false false :; do 10382 cat >conf$$subs.sed <<_ACEOF 10383 SHELL!$SHELL$ac_delim 10384 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 10385 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 10386 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 10387 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 10388 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 10389 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 10390 exec_prefix!$exec_prefix$ac_delim 10391 prefix!$prefix$ac_delim 10392 program_transform_name!$program_transform_name$ac_delim 10393 bindir!$bindir$ac_delim 10394 sbindir!$sbindir$ac_delim 10395 libexecdir!$libexecdir$ac_delim 10396 datarootdir!$datarootdir$ac_delim 10397 datadir!$datadir$ac_delim 10398 sysconfdir!$sysconfdir$ac_delim 10399 sharedstatedir!$sharedstatedir$ac_delim 10400 localstatedir!$localstatedir$ac_delim 10401 includedir!$includedir$ac_delim 10402 oldincludedir!$oldincludedir$ac_delim 10403 docdir!$docdir$ac_delim 10404 infodir!$infodir$ac_delim 10405 htmldir!$htmldir$ac_delim 10406 dvidir!$dvidir$ac_delim 10407 pdfdir!$pdfdir$ac_delim 10408 psdir!$psdir$ac_delim 10409 libdir!$libdir$ac_delim 10410 localedir!$localedir$ac_delim 10411 mandir!$mandir$ac_delim 10412 DEFS!$DEFS$ac_delim 10413 ECHO_C!$ECHO_C$ac_delim 10414 ECHO_N!$ECHO_N$ac_delim 10415 ECHO_T!$ECHO_T$ac_delim 10416 LIBS!$LIBS$ac_delim 10417 build_alias!$build_alias$ac_delim 10418 host_alias!$host_alias$ac_delim 10419 target_alias!$target_alias$ac_delim 10420 VERSION!$VERSION$ac_delim 10421 CC!$CC$ac_delim 10422 CFLAGS!$CFLAGS$ac_delim 10423 LDFLAGS!$LDFLAGS$ac_delim 10424 CPPFLAGS!$CPPFLAGS$ac_delim 10425 ac_ct_CC!$ac_ct_CC$ac_delim 10426 EXEEXT!$EXEEXT$ac_delim 10427 OBJEXT!$OBJEXT$ac_delim 10428 RANLIB!$RANLIB$ac_delim 10429 AR!$AR$ac_delim 10430 CPP!$CPP$ac_delim 10431 GREP!$GREP$ac_delim 10432 EGREP!$EGREP$ac_delim 10433 DL_LIBS!$DL_LIBS$ac_delim 10434 DL_OBJS!$DL_OBJS$ac_delim 10435 PLAT_OBJS!$PLAT_OBJS$ac_delim 10436 PLAT_SRCS!$PLAT_SRCS$ac_delim 10437 CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim 10438 CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim 10439 CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim 10440 LDFLAGS_DEBUG!$LDFLAGS_DEBUG$ac_delim 10441 LDFLAGS_OPTIMIZE!$LDFLAGS_OPTIMIZE$ac_delim 10442 CC_SEARCH_FLAGS!$CC_SEARCH_FLAGS$ac_delim 10443 LD_SEARCH_FLAGS!$LD_SEARCH_FLAGS$ac_delim 10444 STLIB_LD!$STLIB_LD$ac_delim 10445 SHLIB_LD!$SHLIB_LD$ac_delim 10446 TCL_SHLIB_LD_EXTRAS!$TCL_SHLIB_LD_EXTRAS$ac_delim 10447 TK_SHLIB_LD_EXTRAS!$TK_SHLIB_LD_EXTRAS$ac_delim 10448 SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim 10449 SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim 10450 SHLIB_SUFFIX!$SHLIB_SUFFIX$ac_delim 10451 MAKE_LIB!$MAKE_LIB$ac_delim 10452 MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim 10453 INSTALL_LIB!$INSTALL_LIB$ac_delim 10454 INSTALL_STUB_LIB!$INSTALL_STUB_LIB$ac_delim 10455 SHLIB_LDFLAGS!$SHLIB_LDFLAGS$ac_delim 10456 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 10457 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 10458 INSTALL_DATA!$INSTALL_DATA$ac_delim 10459 LN_S!$LN_S$ac_delim 10460 CXX!$CXX$ac_delim 10461 CXXFLAGS!$CXXFLAGS$ac_delim 10462 ac_ct_CXX!$ac_ct_CXX$ac_delim 10463 CXXCPP!$CXXCPP$ac_delim 10464 SUBDIRS!$SUBDIRS$ac_delim 10465 TCL_VERSION!$TCL_VERSION$ac_delim 10466 TCL_INC_SPEC!$TCL_INC_SPEC$ac_delim 10467 TCL_LIB_SPEC!$TCL_LIB_SPEC$ac_delim 10468 RP2_INCL_DIR!$RP2_INCL_DIR$ac_delim 10469 RP_DIR!$RP_DIR$ac_delim 10470 DX_DIR!$DX_DIR$ac_delim 10471 FFMPEG_DIR!$FFMPEG_DIR$ac_delim 10472 CG_DIR!$CG_DIR$ac_delim 10473 LD_RPATH!$LD_RPATH$ac_delim 10474 LIBOBJS!$LIBOBJS$ac_delim 10475 LTLIBOBJS!$LTLIBOBJS$ac_delim 10476 _ACEOF 10477 10478 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 93; then 7228 . ./conf$$subs.sh || 7229 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 7230 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 7231 { (exit 1); exit 1; }; } 7232 7233 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7234 if test $ac_delim_n = $ac_delim_num; then 10479 7235 break 10480 7236 elif $ac_last_try; then 10481 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&510482 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}7237 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 7238 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 10483 7239 { (exit 1); exit 1; }; } 10484 7240 else … … 10486 7242 fi 10487 7243 done 10488 10489 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 10490 if test -n "$ac_eof"; then 10491 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 10492 ac_eof=`expr $ac_eof + 1` 10493 fi 10494 10495 cat >>$CONFIG_STATUS <<_ACEOF 10496 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 10497 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 10498 _ACEOF 10499 sed ' 10500 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 10501 s/^/s,@/; s/!/@,|#_!!_#|/ 10502 :n 10503 t n 10504 s/'"$ac_delim"'$/,g/; t 10505 s/$/\\/; p 10506 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 10507 ' >>$CONFIG_STATUS <conf$$subs.sed 10508 rm -f conf$$subs.sed 10509 cat >>$CONFIG_STATUS <<_ACEOF 10510 :end 10511 s/|#_!!_#|//g 10512 CEOF$ac_eof 10513 _ACEOF 10514 7244 rm -f conf$$subs.sh 7245 7246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7247 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 7248 _ACEOF 7249 sed -n ' 7250 h 7251 s/^/S["/; s/!.*/"]=/ 7252 p 7253 g 7254 s/^[^!]*!// 7255 :repl 7256 t repl 7257 s/'"$ac_delim"'$// 7258 t delim 7259 :nl 7260 h 7261 s/\(.\{148\}\).*/\1/ 7262 t more1 7263 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7264 p 7265 n 7266 b repl 7267 :more1 7268 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7269 p 7270 g 7271 s/.\{148\}// 7272 t nl 7273 :delim 7274 h 7275 s/\(.\{148\}\).*/\1/ 7276 t more2 7277 s/["\\]/\\&/g; s/^/"/; s/$/"/ 7278 p 7279 b 7280 :more2 7281 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7282 p 7283 g 7284 s/.\{148\}// 7285 t delim 7286 ' <conf$$subs.awk | sed ' 7287 /^[^""]/{ 7288 N 7289 s/\n// 7290 } 7291 ' >>$CONFIG_STATUS || ac_write_fail=1 7292 rm -f conf$$subs.awk 7293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7294 _ACAWK 7295 cat >>"\$tmp/subs1.awk" <<_ACAWK && 7296 for (key in S) S_is_set[key] = 1 7297 FS = "" 7298 7299 } 7300 { 7301 line = $ 0 7302 nfields = split(line, field, "@") 7303 substed = 0 7304 len = length(field[1]) 7305 for (i = 2; i < nfields; i++) { 7306 key = field[i] 7307 keylen = length(key) 7308 if (S_is_set[key]) { 7309 value = S[key] 7310 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7311 len += length(value) + length(field[++i]) 7312 substed = 1 7313 } else 7314 len += 1 + keylen 7315 } 7316 7317 print line 7318 } 7319 7320 _ACAWK 7321 _ACEOF 7322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7323 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7324 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7325 else 7326 cat 7327 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 7328 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 7329 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 7330 { (exit 1); exit 1; }; } 7331 _ACEOF 10515 7332 10516 7333 # VPATH may cause trouble with some makes, so we remove $(srcdir), … … 10529 7346 fi 10530 7347 10531 cat >>$CONFIG_STATUS <<\_ACEOF 7348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10532 7349 fi # test -n "$CONFIG_FILES" 10533 7350 10534 10535 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 7351 # Set up the scripts for CONFIG_HEADERS section. 7352 # No need to generate them if there are no CONFIG_HEADERS. 7353 # This happens for instance with `./config.status Makefile'. 7354 if test -n "$CONFIG_HEADERS"; then 7355 cat >"$tmp/defines.awk" <<\_ACAWK || 7356 BEGIN { 7357 _ACEOF 7358 7359 # Transform confdefs.h into an awk script `defines.awk', embedded as 7360 # here-document in config.status, that substitutes the proper values into 7361 # config.h.in to produce config.h. 7362 7363 # Create a delimiter string that does not exist in confdefs.h, to ease 7364 # handling of long lines. 7365 ac_delim='%!_!# ' 7366 for ac_last_try in false false :; do 7367 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 7368 if test -z "$ac_t"; then 7369 break 7370 elif $ac_last_try; then 7371 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 7372 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 7373 { (exit 1); exit 1; }; } 7374 else 7375 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7376 fi 7377 done 7378 7379 # For the awk script, D is an array of macro values keyed by name, 7380 # likewise P contains macro parameters if any. Preserve backslash 7381 # newline sequences. 7382 7383 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7384 sed -n ' 7385 s/.\{148\}/&'"$ac_delim"'/g 7386 t rset 7387 :rset 7388 s/^[ ]*#[ ]*define[ ][ ]*/ / 7389 t def 7390 d 7391 :def 7392 s/\\$// 7393 t bsnl 7394 s/["\\]/\\&/g 7395 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7396 D["\1"]=" \3"/p 7397 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7398 d 7399 :bsnl 7400 s/["\\]/\\&/g 7401 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7402 D["\1"]=" \3\\\\\\n"\\/p 7403 t cont 7404 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7405 t cont 7406 d 7407 :cont 7408 n 7409 s/.\{148\}/&'"$ac_delim"'/g 7410 t clear 7411 :clear 7412 s/\\$// 7413 t bsnlc 7414 s/["\\]/\\&/g; s/^/"/; s/$/"/p 7415 d 7416 :bsnlc 7417 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7418 b cont 7419 ' <confdefs.h | sed ' 7420 s/'"$ac_delim"'/"\\\ 7421 "/g' >>$CONFIG_STATUS || ac_write_fail=1 7422 7423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7424 for (key in D) D_is_set[key] = 1 7425 FS = "" 7426 } 7427 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7428 line = \$ 0 7429 split(line, arg, " ") 7430 if (arg[1] == "#") { 7431 defundef = arg[2] 7432 mac1 = arg[3] 7433 } else { 7434 defundef = substr(arg[1], 2) 7435 mac1 = arg[2] 7436 } 7437 split(mac1, mac2, "(") #) 7438 macro = mac2[1] 7439 prefix = substr(line, 1, index(line, defundef) - 1) 7440 if (D_is_set[macro]) { 7441 # Preserve the white space surrounding the "#". 7442 print prefix "define", macro P[macro] D[macro] 7443 next 7444 } else { 7445 # Replace #undef with comments. This is necessary, for example, 7446 # in the case of _POSIX_SOURCE, which is predefined and required 7447 # on some systems where configure will not decide to define it. 7448 if (defundef == "undef") { 7449 print "/*", prefix defundef, macro, "*/" 7450 next 7451 } 7452 } 7453 } 7454 { print } 7455 _ACAWK 7456 _ACEOF 7457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7458 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 7459 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 7460 { (exit 1); exit 1; }; } 7461 fi # test -n "$CONFIG_HEADERS" 7462 7463 7464 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 7465 shift 7466 for ac_tag 10536 7467 do 10537 7468 case $ac_tag in … … 10540 7471 case $ac_mode$ac_tag in 10541 7472 :[FHL]*:*);; 10542 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&510543 echo "$as_me: error: Invalid tag $ac_tag." >&2;}7473 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 7474 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 10544 7475 { (exit 1); exit 1; }; };; 10545 7476 :[FH]-) ac_tag=-:-;; … … 10570 7501 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10571 7502 esac || 10572 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&510573 echo "$as_me: error: cannot find input file: $ac_f" >&2;}7503 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 7504 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 10574 7505 { (exit 1); exit 1; }; };; 10575 7506 esac 10576 ac_file_inputs="$ac_file_inputs $ac_f" 7507 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7508 ac_file_inputs="$ac_file_inputs '$ac_f'" 10577 7509 done 10578 7510 … … 10580 7512 # use $as_me), people would be surprised to read: 10581 7513 # /* config.h. Generated by config.status. */ 10582 configure_input="Generated from "`IFS=: 10583 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 7514 configure_input='Generated from '` 7515 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7516 `' by configure.' 10584 7517 if test x"$ac_file" != x-; then 10585 7518 configure_input="$ac_file. $configure_input" 10586 { echo "$as_me:$LINENO: creating $ac_file" >&510587 echo "$as_me: creating $ac_file" >&6;}7519 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 7520 $as_echo "$as_me: creating $ac_file" >&6;} 10588 7521 fi 7522 # Neutralize special characters interpreted by sed in replacement strings. 7523 case $configure_input in #( 7524 *\&* | *\|* | *\\* ) 7525 ac_sed_conf_input=`$as_echo "$configure_input" | 7526 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7527 *) ac_sed_conf_input=$configure_input;; 7528 esac 10589 7529 10590 7530 case $ac_tag in 10591 *:-:* | *:-) cat >"$tmp/stdin";; 7531 *:-:* | *:-) cat >"$tmp/stdin" \ 7532 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7533 $as_echo "$as_me: error: could not create $ac_file" >&2;} 7534 { (exit 1); exit 1; }; } ;; 10592 7535 esac 10593 7536 ;; … … 10599 7542 X"$ac_file" : 'X\(//\)$' \| \ 10600 7543 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10601 echo X"$ac_file" |7544 $as_echo X"$ac_file" | 10602 7545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10603 7546 s//\1/ … … 10625 7568 while :; do 10626 7569 case $as_dir in #( 10627 *\'*) as_qdir=` echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(7570 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10628 7571 *) as_qdir=$as_dir;; 10629 7572 esac … … 10634 7577 X"$as_dir" : 'X\(//\)$' \| \ 10635 7578 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10636 echo X"$as_dir" |7579 $as_echo X"$as_dir" | 10637 7580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10638 7581 s//\1/ … … 10655 7598 done 10656 7599 test -z "$as_dirs" || eval "mkdir $as_dirs" 10657 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&510658 echo "$as_me: error: cannot create directory $as_dir" >&2;}7600 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 7601 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 10659 7602 { (exit 1); exit 1; }; }; } 10660 7603 ac_builddir=. … … 10663 7606 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10664 7607 *) 10665 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`7608 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10666 7609 # A ".." for each directory in $ac_dir_suffix. 10667 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`7610 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10668 7611 case $ac_top_builddir_sub in 10669 7612 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 10710 7653 _ACEOF 10711 7654 10712 cat >>$CONFIG_STATUS <<\_ACEOF 7655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10713 7656 # If the template does not know about datarootdir, expand it. 10714 7657 # FIXME: This hack should be removed a few years after 2.60. 10715 7658 ac_datarootdir_hack=; ac_datarootdir_seen= 10716 7659 10717 case `sed -n '/datarootdir/ { 7660 ac_sed_dataroot=' 7661 /datarootdir/ { 10718 7662 p 10719 7663 q … … 10724 7668 /@localedir@/p 10725 7669 /@mandir@/p 10726 ' $ac_file_inputs` in 7670 ' 7671 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10727 7672 *datarootdir*) ac_datarootdir_seen=yes;; 10728 7673 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10729 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&510730 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}10731 _ACEOF 10732 cat >>$CONFIG_STATUS <<_ACEOF 7674 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7675 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7676 _ACEOF 7677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10733 7678 ac_datarootdir_hack=' 10734 7679 s&@datadir@&$datadir&g … … 10744 7689 # Shell code in configure.ac might set extrasub. 10745 7690 # FIXME: do we really want to maintain this feature? 10746 cat >>$CONFIG_STATUS <<_ACEOF 10747 sed"$ac_vpsub7691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7692 ac_sed_extra="$ac_vpsub 10748 7693 $extrasub 10749 7694 _ACEOF 10750 cat >>$CONFIG_STATUS <<\_ACEOF 7695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10751 7696 :t 10752 7697 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 10753 s &@configure_input@&$configure_input&;t t7698 s|@configure_input@|$ac_sed_conf_input|;t t 10754 7699 s&@top_builddir@&$ac_top_builddir_sub&;t t 7700 s&@top_build_prefix@&$ac_top_build_prefix&;t t 10755 7701 s&@srcdir@&$ac_srcdir&;t t 10756 7702 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 10763 7709 s&@MKDIR_P@&$ac_MKDIR_P&;t t 10764 7710 $ac_datarootdir_hack 10765 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 7711 " 7712 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 7713 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7714 $as_echo "$as_me: error: could not create $ac_file" >&2;} 7715 { (exit 1); exit 1; }; } 10766 7716 10767 7717 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10768 7718 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10769 7719 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10770 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'7720 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10771 7721 which seems to be undefined. Please make sure it is defined." >&5 10772 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'7722 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10773 7723 which seems to be undefined. Please make sure it is defined." >&2;} 10774 7724 10775 7725 rm -f "$tmp/stdin" 10776 7726 case $ac_file in 10777 -) cat "$tmp/out"; rm -f "$tmp/out";; 10778 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 10779 esac 7727 -) cat "$tmp/out" && rm -f "$tmp/out";; 7728 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7729 esac \ 7730 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7731 $as_echo "$as_me: error: could not create $ac_file" >&2;} 7732 { (exit 1); exit 1; }; } 10780 7733 ;; 10781 7734 :H) … … 10783 7736 # CONFIG_HEADER 10784 7737 # 10785 _ACEOF10786 10787 # Transform confdefs.h into a sed script `conftest.defines', that10788 # substitutes the proper values into config.h.in to produce config.h.10789 rm -f conftest.defines conftest.tail10790 # First, append a space to every undef/define line, to ease matching.10791 echo 's/$/ /' >conftest.defines10792 # Then, protect against being on the right side of a sed subst, or in10793 # an unquoted here document, in config.status. If some macros were10794 # called several times there might be several #defines for the same10795 # symbol, which is useless. But do not sort them, since the last10796 # AC_DEFINE must be honored.10797 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*10798 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where10799 # NAME is the cpp macro being defined, VALUE is the value it is being given.10800 # PARAMS is the parameter list in the macro definition--in most cases, it's10801 # just an empty string.10802 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'10803 ac_dB='\\)[ (].*,\\1define\\2'10804 ac_dC=' '10805 ac_dD=' ,'10806 10807 uniq confdefs.h |10808 sed -n '10809 t rset10810 :rset10811 s/^[ ]*#[ ]*define[ ][ ]*//10812 t ok10813 d10814 :ok10815 s/[\\&,]/\\&/g10816 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p10817 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p10818 ' >>conftest.defines10819 10820 # Remove the space that was appended to ease matching.10821 # Then replace #undef with comments. This is necessary, for10822 # example, in the case of _POSIX_SOURCE, which is predefined and required10823 # on some systems where configure will not decide to define it.10824 # (The regexp can be short, since the line contains either #define or #undef.)10825 echo 's/ $//10826 s,^[ #]*u.*,/* & */,' >>conftest.defines10827 10828 # Break up conftest.defines:10829 ac_max_sed_lines=5010830 10831 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"10832 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"10833 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"10834 # et cetera.10835 ac_in='$ac_file_inputs'10836 ac_out='"$tmp/out1"'10837 ac_nxt='"$tmp/out2"'10838 10839 while :10840 do10841 # Write a here document:10842 cat >>$CONFIG_STATUS <<_ACEOF10843 # First, check the format of the line:10844 cat >"\$tmp/defines.sed" <<\\CEOF10845 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def10846 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def10847 b10848 :def10849 _ACEOF10850 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS10851 echo 'CEOF10852 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS10853 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in10854 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail10855 grep . conftest.tail >/dev/null || break10856 rm -f conftest.defines10857 mv conftest.tail conftest.defines10858 done10859 rm -f conftest.defines conftest.tail10860 10861 echo "ac_result=$ac_in" >>$CONFIG_STATUS10862 cat >>$CONFIG_STATUS <<\_ACEOF10863 7738 if test x"$ac_file" != x-; then 10864 echo "/* $configure_input */" >"$tmp/config.h" 10865 cat "$ac_result" >>"$tmp/config.h" 10866 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 10867 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10868 echo "$as_me: $ac_file is unchanged" >&6;} 7739 { 7740 $as_echo "/* $configure_input */" \ 7741 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 7742 } >"$tmp/config.h" \ 7743 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7744 $as_echo "$as_me: error: could not create $ac_file" >&2;} 7745 { (exit 1); exit 1; }; } 7746 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 7747 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 7748 $as_echo "$as_me: $ac_file is unchanged" >&6;} 10869 7749 else 10870 rm -f $ac_file 10871 mv "$tmp/config.h" $ac_file 7750 rm -f "$ac_file" 7751 mv "$tmp/config.h" "$ac_file" \ 7752 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7753 $as_echo "$as_me: error: could not create $ac_file" >&2;} 7754 { (exit 1); exit 1; }; } 10872 7755 fi 10873 7756 else 10874 echo "/* $configure_input */" 10875 cat "$ac_result" 7757 $as_echo "/* $configure_input */" \ 7758 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 7759 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 7760 $as_echo "$as_me: error: could not create -" >&2;} 7761 { (exit 1); exit 1; }; } 10876 7762 fi 10877 rm -f "$tmp/out12"10878 7763 ;; 10879 7764 … … 10888 7773 chmod +x $CONFIG_STATUS 10889 7774 ac_clean_files=$ac_clean_files_save 7775 7776 test $ac_write_fail = 0 || 7777 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 7778 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 7779 { (exit 1); exit 1; }; } 10890 7780 10891 7781 … … 10910 7800 $ac_cs_success || { (exit 1); exit 1; } 10911 7801 fi 10912 7802 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7803 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7804 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7805 fi 7806 -
trunk/packages/vizservers/configure.in
r1282 r1309 1 1 AC_INIT(vizservers, 0.1, rappture@nanohub.org) 2 AC_CONFIG_HEADER(nanoscale/config.h )2 AC_CONFIG_HEADER(nanoscale/config.h nanovis/nvconf.h) 3 3 4 4 VERSION=0.0.1 … … 184 184 AC_MSG_RESULT([${DX_DIR}]) 185 185 186 AC_MSG_CHECKING([for FFmpeg installation]) 187 FFMPEG_DIR="" 188 for dir in \ 189 /apps/rappture \ 190 /usr 191 do 192 if test -r "${dir}/include/ffmpeg/avcodec.h" ; then 193 FFMPEG_DIR="$dir" 194 break 195 fi 196 done 197 if test "x${FFMPEG_DIR}" = "x" ; then 198 AC_MSG_ERROR([can't find FFmpeg installation]) 199 fi 200 201 if test "${FFMPEG_DIR}" = "/usr" ; then 202 FFMPEG_DIR="" 203 #else 204 # LD_RPATH="$loader_run_path:${FFMPEG_DIR}/lib" 205 fi 206 207 AC_SUBST(FFMPEG_DIR) 208 AC_MSG_RESULT([${FFMPEG_DIR}]) 186 AC_CHECK_HEADERS([ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h]) 209 187 210 188 AC_MSG_CHECKING([for nVidia Cg installation]) -
trunk/packages/vizservers/nanoscale/config.h.in
r1118 r1309 1 1 /* nanoscale/config.h.in. Generated from configure.in by autoheader. */ 2 3 /* Define if building universal (internal helper macro) */ 4 #undef AC_APPLE_UNIVERSAL_BUILD 2 5 3 6 /* Define to 1 if you have the <arpa/inet.h> header file. */ 4 7 #undef HAVE_ARPA_INET_H 5 8 9 /* Define to 1 if you have the <ffmpeg/avcodec.h> header file. */ 10 #undef HAVE_FFMPEG_AVCODEC_H 11 12 /* Define to 1 if you have the <ffmpeg/avformat.h> header file. */ 13 #undef HAVE_FFMPEG_AVFORMAT_H 14 15 /* Define to 1 if you have the <ffmpeg/avutil.h> header file. */ 16 #undef HAVE_FFMPEG_AVUTIL_H 17 6 18 /* Define to 1 if you have the <inttypes.h> header file. */ 7 19 #undef HAVE_INTTYPES_H 20 21 /* Define to 1 if you have the <libavcodec/avcodec.h> header file. */ 22 #undef HAVE_LIBAVCODEC_AVCODEC_H 23 24 /* Define to 1 if you have the <libavformat/avformat.h> header file. */ 25 #undef HAVE_LIBAVFORMAT_AVFORMAT_H 26 27 /* Define to 1 if you have the <libavutil/avutil.h> header file. */ 28 #undef HAVE_LIBAVUTIL_AVUTIL_H 8 29 9 30 /* Define to 1 if you have the <memory.h> header file. */ … … 67 88 #undef STDC_HEADERS 68 89 69 /* Define to 1 if your processor stores words with the most significant byte 70 first (like Motorola and SPARC, unlike Intel and VAX). */ 71 #undef WORDS_BIGENDIAN 90 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 91 significant byte first (like Motorola and SPARC, unlike Intel). */ 92 #if defined AC_APPLE_UNIVERSAL_BUILD 93 # if defined __BIG_ENDIAN__ 94 # define WORDS_BIGENDIAN 1 95 # endif 96 #else 97 # ifndef WORDS_BIGENDIAN 98 # undef WORDS_BIGENDIAN 99 # endif 100 #endif -
trunk/packages/vizservers/nanovis/Command.cpp
r1306 r1309 1754 1754 volPtr->disable_cutplane(0); 1755 1755 volPtr->disable_cutplane(1); 1756 1756 1757 volPtr->disable_cutplane(2); 1757 1758 … … 1930 1931 1931 1932 static Rappture::CmdSpec flowParticleOps[] = { 1932 {"slice", 1, FlowParticleSliceOp, 4, 4, "index",},1933 {"slicepos", 1, FlowParticleSliceposOp, 4, 4, "value",},1933 {"slice", 5, FlowParticleSliceOp, 4, 4, "index",}, 1934 {"slicepos", 6, FlowParticleSliceposOp, 4, 4, "value",}, 1934 1935 {"visible", 1, FlowParticleVisibleOp, 4, 4, "on|off",}, 1935 1936 }; -
trunk/packages/vizservers/nanovis/Makefile.in
r1282 r1309 85 85 86 86 INCLUDES = \ 87 -I. \ 87 88 -I$(srcdir) \ 88 89 $(TCL_INC_SPEC) \ -
trunk/packages/vizservers/nanovis/RpAVTranslate.h
r1282 r1309 15 15 #define RAPPTURE_AVTRANSLATE_H 16 16 17 #include "nvconf.h" 17 18 #include "RpOutcome.h" 18 19 … … 21 22 #endif // ifdef __cplusplus 22 23 23 #include "ffmpeg/avformat.h" 24 #ifdef HAVE_FFMPEG_AVFORMAT_H 25 #include <ffmpeg/avformat.h> 26 #endif 27 #ifdef HAVE_LIBAVFORMAT_AVFORMAT_H 28 #include <libavformat/avformat.h> 29 #endif 24 30 25 31 namespace Rappture {
Note: See TracChangeset
for help on using the changeset viewer.