Changeset 1282
- Timestamp:
- Mar 2, 2009, 10:30:04 PM (16 years ago)
- Location:
- trunk/packages/vizservers
- Files:
-
- 4 added
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/configure
r1278 r1282 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 3for vizservers 0.1.3 # Generated by GNU Autoconf 2.61 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 , 2007, 2008Free Software Foundation, Inc.8 # 2002, 2003, 2004, 2005, 2006 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 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which20 # Zsh 3.x and 4.x performs 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_nl45 # 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_echo48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then50 as_echo='printf %s\n'51 as_echo_n='printf %s'52 else53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'55 as_echo_n='/usr/ucb/echo -n'56 else57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'58 as_echo_n_body='eval59 arg=$1;60 case $arg in61 *"$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_body68 as_echo_n='sh -c $as_echo_n_body as_echo'69 fi70 export as_echo_body71 as_echo='sh -c $as_echo_body as_echo'72 fi73 74 42 # The user is always right. 75 43 if test "${PATH_SEPARATOR+set}" != set; then 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 } 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 81 53 fi 82 54 … … 94 66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 95 67 # splitting by setting IFS to empty value.) 68 as_nl=' 69 ' 96 70 IFS=" "" $as_nl" 97 71 … … 116 90 fi 117 91 if test ! -f "$as_myself"; then 118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&292 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 93 { (exit 1); exit 1; } 120 94 fi … … 129 103 130 104 # NLS nuisances. 131 LC_ALL=C 132 export LC_ALL 133 LANGUAGE=C 134 export LANGUAGE 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 135 116 136 117 # Required to use basename. … … 154 135 X"$0" : 'X\(//\)$' \| \ 155 136 X"$0" : 'X\(/\)' \| . 2>/dev/null || 156 $as_echo X/"$0" |137 echo X/"$0" | 157 138 sed '/^.*\/\([^/][^/]*\)\/*$/{ 158 139 s//\1/ … … 180 161 fi 181 162 182 if test $as_have_required = yes && (eval ":163 if test $as_have_required = yes && (eval ": 183 164 (as_func_return () { 184 165 (exit \$1) … … 262 243 emulate sh 263 244 NULLCMD=: 264 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 246 # is contrary to our usage. Disable this feature. 266 247 alias -g '${1+"$@"}'='"$@"' … … 283 264 emulate sh 284 265 NULLCMD=: 285 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 286 267 # is contrary to our usage. Disable this feature. 287 268 alias -g '${1+"$@"}'='"$@"' … … 363 344 if test "x$CONFIG_SHELL" != x; then 364 345 for as_var in BASH_ENV ENV 365 366 367 368 346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 347 done 348 export CONFIG_SHELL 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369 350 fi 370 351 … … 435 416 test \$exitcode = 0") || { 436 417 echo No shell found that supports shell functions. 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. 418 echo Please tell autoconf@gnu.org about your system, 419 echo including any error possibly output before this 420 echo message 441 421 } 442 422 … … 474 454 ' >$as_me.lineno && 475 455 chmod +x "$as_me.lineno" || 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 457 { (exit 1); exit 1; }; } 478 458 … … 502 482 ECHO_N='-n';; 503 483 esac 484 504 485 if expr a : '\(a\)' >/dev/null 2>&1 && 505 486 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 514 495 else 515 496 rm -f conf$$.dir 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 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 || 530 507 as_ln_s='cp -p' 531 fi 508 elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 532 510 else 533 511 as_ln_s='cp -p' … … 554 532 eval sh -c '\'' 555 533 if test -d "$1"; then 556 534 test -d "$1/."; 557 535 else 558 536 case $1 in 559 537 -*)set "./$1";; 560 538 esac; 561 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in … … 637 615 #endif" 638 616 639 ac_subst_vars='LTLIBOBJS 617 ac_subst_vars='SHELL 618 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 640 708 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 CXXCPP 651 ac_ct_CXX 652 CXXFLAGS 653 CXX 654 MKDIR_P 655 LN_S 656 INSTALL_DATA 657 INSTALL_SCRIPT 658 INSTALL_PROGRAM 659 SHLIB_LDFLAGS 660 INSTALL_STUB_LIB 661 INSTALL_LIB 662 MAKE_STUB_LIB 663 MAKE_LIB 664 SHLIB_SUFFIX 665 SHLIB_CFLAGS 666 SHLIB_LD_LIBS 667 TK_SHLIB_LD_EXTRAS 668 TCL_SHLIB_LD_EXTRAS 669 SHLIB_LD 670 STLIB_LD 671 LD_SEARCH_FLAGS 672 CC_SEARCH_FLAGS 673 LDFLAGS_OPTIMIZE 674 LDFLAGS_DEBUG 675 CFLAGS_WARNING 676 CFLAGS_OPTIMIZE 677 CFLAGS_DEBUG 678 PLAT_SRCS 679 PLAT_OBJS 680 DL_OBJS 681 DL_LIBS 682 EGREP 683 GREP 684 CPP 685 AR 686 RANLIB 687 OBJEXT 688 EXEEXT 689 ac_ct_CC 690 CPPFLAGS 691 LDFLAGS 692 CFLAGS 693 CC 694 VERSION 695 target_alias 696 host_alias 697 build_alias 698 LIBS 699 ECHO_T 700 ECHO_N 701 ECHO_C 702 DEFS 703 mandir 704 localedir 705 libdir 706 psdir 707 pdfdir 708 dvidir 709 htmldir 710 infodir 711 docdir 712 oldincludedir 713 includedir 714 localstatedir 715 sharedstatedir 716 sysconfdir 717 datadir 718 datarootdir 719 libexecdir 720 sbindir 721 bindir 722 program_transform_name 723 prefix 724 exec_prefix 725 PACKAGE_BUGREPORT 726 PACKAGE_STRING 727 PACKAGE_VERSION 728 PACKAGE_TARNAME 729 PACKAGE_NAME 730 PATH_SEPARATOR 731 SHELL' 709 LTLIBOBJS' 732 710 ac_subst_files='' 733 ac_user_opts='734 enable_option_checking735 enable_64bit736 enable_64bit_vis737 enable_corefoundation738 enable_load739 with_tcllib740 with_rappture741 '742 711 ac_precious_vars='build_alias 743 712 host_alias … … 758 727 ac_init_help= 759 728 ac_init_version=false 760 ac_unrecognized_opts=761 ac_unrecognized_sep=762 729 # The variables have the same names as the options, with 763 730 # dashes changed to underlines. … … 858 825 859 826 -disable-* | --disable-*) 860 ac_ useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`827 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 861 828 # Reject names that are not valid shell variable names. 862 expr "x$ac_ useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&863 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2829 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 830 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 864 831 { (exit 1); exit 1; }; } 865 ac_useropt_orig=$ac_useropt 866 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 867 case $ac_user_opts in 868 *" 869 "enable_$ac_useropt" 870 "*) ;; 871 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 872 ac_unrecognized_sep=', ';; 873 esac 874 eval enable_$ac_useropt=no ;; 832 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 833 eval enable_$ac_feature=no ;; 875 834 876 835 -docdir | --docdir | --docdi | --doc | --do) … … 885 844 886 845 -enable-* | --enable-*) 887 ac_ useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`846 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 888 847 # Reject names that are not valid shell variable names. 889 expr "x$ac_ useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&890 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2848 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 849 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 891 850 { (exit 1); exit 1; }; } 892 ac_useropt_orig=$ac_useropt 893 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 894 case $ac_user_opts in 895 *" 896 "enable_$ac_useropt" 897 "*) ;; 898 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 899 ac_unrecognized_sep=', ';; 900 esac 901 eval enable_$ac_useropt=\$ac_optarg ;; 851 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 852 eval enable_$ac_feature=\$ac_optarg ;; 902 853 903 854 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1090 1041 1091 1042 -with-* | --with-*) 1092 ac_ useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1043 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1093 1044 # Reject names that are not valid shell variable names. 1094 expr "x$ac_ useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&1095 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&21045 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1046 { echo "$as_me: error: invalid package name: $ac_package" >&2 1096 1047 { (exit 1); exit 1; }; } 1097 ac_useropt_orig=$ac_useropt 1098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1099 case $ac_user_opts in 1100 *" 1101 "with_$ac_useropt" 1102 "*) ;; 1103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1104 ac_unrecognized_sep=', ';; 1105 esac 1106 eval with_$ac_useropt=\$ac_optarg ;; 1048 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1049 eval with_$ac_package=\$ac_optarg ;; 1107 1050 1108 1051 -without-* | --without-*) 1109 ac_ useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`1052 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1110 1053 # Reject names that are not valid shell variable names. 1111 expr "x$ac_ useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&1112 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&21054 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1055 { echo "$as_me: error: invalid package name: $ac_package" >&2 1113 1056 { (exit 1); exit 1; }; } 1114 ac_useropt_orig=$ac_useropt 1115 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1116 case $ac_user_opts in 1117 *" 1118 "with_$ac_useropt" 1119 "*) ;; 1120 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1121 ac_unrecognized_sep=', ';; 1122 esac 1123 eval with_$ac_useropt=no ;; 1057 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1058 eval with_$ac_package=no ;; 1124 1059 1125 1060 --x) … … 1141 1076 x_libraries=$ac_optarg ;; 1142 1077 1143 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option1078 -*) { echo "$as_me: error: unrecognized option: $ac_option 1144 1079 Try \`$0 --help' for more information." >&2 1145 1080 { (exit 1); exit 1; }; } … … 1150 1085 # Reject names that are not valid shell variable names. 1151 1086 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1152 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&21087 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1153 1088 { (exit 1); exit 1; }; } 1154 1089 eval $ac_envvar=\$ac_optarg … … 1157 1092 *) 1158 1093 # FIXME: should be removed in autoconf 3.0. 1159 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&21094 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1160 1095 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1161 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&21096 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1162 1097 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1163 1098 ;; … … 1168 1103 if test -n "$ac_prev"; then 1169 1104 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1170 { $as_echo "$as_me: error: missing argument to $ac_option" >&21105 { echo "$as_me: error: missing argument to $ac_option" >&2 1171 1106 { (exit 1); exit 1; }; } 1172 1107 fi 1173 1108 1174 if test -n "$ac_unrecognized_opts"; then 1175 case $enable_option_checking in 1176 no) ;; 1177 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1178 { (exit 1); exit 1; }; } ;; 1179 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1180 esac 1181 fi 1182 1183 # Check all directory arguments for consistency. 1109 # Be sure to have absolute directory names. 1184 1110 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1185 1111 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1188 1114 do 1189 1115 eval ac_val=\$$ac_var 1190 # Remove trailing slashes.1191 case $ac_val in1192 */ )1193 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`1194 eval $ac_var=\$ac_val;;1195 esac1196 # Be sure to have absolute directory names.1197 1116 case $ac_val in 1198 1117 [\\/$]* | ?:[\\/]* ) continue;; 1199 1118 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1200 1119 esac 1201 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&21120 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1202 1121 { (exit 1); exit 1; }; } 1203 1122 done … … 1214 1133 if test "x$build_alias" = x; then 1215 1134 cross_compiling=maybe 1216 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1135 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1217 1136 If a cross compiler is detected then cross compile mode will be used." >&2 1218 1137 elif test "x$build_alias" != "x$host_alias"; then … … 1230 1149 ac_ls_di=`ls -di .` && 1231 1150 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1232 { $as_echo "$as_me: error: working directory cannot be determined" >&21151 { echo "$as_me: error: Working directory cannot be determined" >&2 1233 1152 { (exit 1); exit 1; }; } 1234 1153 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1235 { $as_echo "$as_me: error: pwd does not report name of working directory" >&21154 { echo "$as_me: error: pwd does not report name of working directory" >&2 1236 1155 { (exit 1); exit 1; }; } 1237 1156 … … 1241 1160 ac_srcdir_defaulted=yes 1242 1161 # Try the directory containing this script, then the parent directory. 1243 ac_confdir=`$as_dirname -- "$ as_myself" ||1244 $as_expr X"$ as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1245 X"$ as_myself" : 'X\(//\)[^/]' \| \1246 X"$ as_myself" : 'X\(//\)$' \| \1247 X"$ as_myself" : 'X\(/\)' \| . 2>/dev/null ||1248 $as_echo X"$as_myself" |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" | 1249 1168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1250 1169 s//\1/ … … 1273 1192 if test ! -r "$srcdir/$ac_unique_file"; then 1274 1193 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1275 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&21194 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1276 1195 { (exit 1); exit 1; }; } 1277 1196 fi 1278 1197 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1279 1198 ac_abs_confdir=`( 1280 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&21199 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1281 1200 { (exit 1); exit 1; }; } 1282 1201 pwd)` … … 1327 1246 Installation directories: 1328 1247 --prefix=PREFIX install architecture-independent files in PREFIX 1329 1248 [$ac_default_prefix] 1330 1249 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1331 1250 [PREFIX] 1332 1251 1333 1252 By default, \`make install' will install all the files in … … 1339 1258 1340 1259 Fine tuning of the installation directories: 1341 --bindir=DIR 1342 --sbindir=DIR 1343 --libexecdir=DIR 1344 --sysconfdir=DIR 1345 --sharedstatedir=DIR 1346 --localstatedir=DIR 1347 --libdir=DIR 1348 --includedir=DIR 1349 --oldincludedir=DIR 1350 --datarootdir=DIR 1351 --datadir=DIR 1352 --infodir=DIR 1353 --localedir=DIR 1354 --mandir=DIR 1355 --docdir=DIR 1356 --htmldir=DIR 1357 --dvidir=DIR 1358 --pdfdir=DIR 1359 --psdir=DIR 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] 1360 1279 _ACEOF 1361 1280 … … 1371 1290 1372 1291 Optional Features: 1373 --disable-option-checking ignore unrecognized --enable/--with options1374 1292 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1375 1293 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1411 1329 # If there are subdirs, report their specific --help. 1412 1330 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1413 test -d "$ac_dir" || 1414 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1415 continue 1331 test -d "$ac_dir" || continue 1416 1332 ac_builddir=. 1417 1333 … … 1419 1335 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1420 1336 *) 1421 ac_dir_suffix=/` $as_echo "$ac_dir" | sed 's|^\.[\\/]||'`1337 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1422 1338 # A ".." for each directory in $ac_dir_suffix. 1423 ac_top_builddir_sub=` $as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`1339 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1424 1340 case $ac_top_builddir_sub in 1425 1341 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1457 1373 $SHELL "$ac_srcdir/configure" --help=recursive 1458 1374 else 1459 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21375 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1460 1376 fi || ac_status=$? 1461 1377 cd "$ac_pwd" || { ac_status=$?; break; } … … 1467 1383 cat <<\_ACEOF 1468 1384 vizservers configure 0.1 1469 generated by GNU Autoconf 2.6 31385 generated by GNU Autoconf 2.61 1470 1386 1471 1387 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1472 2002, 2003, 2004, 2005, 2006 , 2007, 2008Free Software Foundation, Inc.1388 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1473 1389 This configure script is free software; the Free Software Foundation 1474 1390 gives unlimited permission to copy, distribute and modify it. … … 1481 1397 1482 1398 It was created by vizservers $as_me 0.1, which was 1483 generated by GNU Autoconf 2.6 3. Invocation command line was1399 generated by GNU Autoconf 2.61. Invocation command line was 1484 1400 1485 1401 $ $0 $@ … … 1517 1433 IFS=$as_save_IFS 1518 1434 test -z "$as_dir" && as_dir=. 1519 $as_echo "PATH: $as_dir"1435 echo "PATH: $as_dir" 1520 1436 done 1521 1437 IFS=$as_save_IFS … … 1552 1468 continue ;; 1553 1469 *\'*) 1554 ac_arg=` $as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1470 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1555 1471 esac 1556 1472 case $ac_pass in … … 1604 1520 *${as_nl}*) 1605 1521 case $ac_var in #( 1606 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&51607 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;1522 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1523 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1608 1524 esac 1609 1525 case $ac_var in #( 1610 1526 _ | IFS | as_nl) ;; #( 1611 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(1612 1527 *) $as_unset $ac_var ;; 1613 1528 esac ;; … … 1639 1554 eval ac_val=\$$ac_var 1640 1555 case $ac_val in 1641 *\'\''*) ac_val=` $as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1556 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1642 1557 esac 1643 $as_echo "$ac_var='\''$ac_val'\''"1558 echo "$ac_var='\''$ac_val'\''" 1644 1559 done | sort 1645 1560 echo … … 1656 1571 eval ac_val=\$$ac_var 1657 1572 case $ac_val in 1658 *\'\''*) ac_val=` $as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1573 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1659 1574 esac 1660 $as_echo "$ac_var='\''$ac_val'\''"1575 echo "$ac_var='\''$ac_val'\''" 1661 1576 done | sort 1662 1577 echo … … 1674 1589 fi 1675 1590 test "$ac_signal" != 0 && 1676 $as_echo "$as_me: caught signal $ac_signal"1677 $as_echo "$as_me: exit $exit_status"1591 echo "$as_me: caught signal $ac_signal" 1592 echo "$as_me: exit $exit_status" 1678 1593 } >&5 1679 1594 rm -f core *.core core.conftest.* && … … 1717 1632 1718 1633 # Let the site file select an alternate cache file if it wants to. 1719 # Prefer an explicitly selected file to automatically selected ones. 1720 ac_site_file1=NONE 1721 ac_site_file2=NONE 1634 # Prefer explicitly selected file to automatically selected ones. 1722 1635 if test -n "$CONFIG_SITE"; then 1723 ac_site_file1=$CONFIG_SITE1636 set x "$CONFIG_SITE" 1724 1637 elif test "x$prefix" != xNONE; then 1725 ac_site_file1=$prefix/share/config.site1726 ac_site_file2=$prefix/etc/config.site1727 else 1728 ac_site_file1=$ac_default_prefix/share/config.site 1729 ac_site_file2=$ac_default_prefix/etc/config.site 1730 fi 1731 for ac_site_file in "$ac_site_file1" "$ac_site_file2"1638 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1639 else 1640 set x "$ac_default_prefix/share/config.site" \ 1641 "$ac_default_prefix/etc/config.site" 1642 fi 1643 shift 1644 for ac_site_file 1732 1645 do 1733 test "x$ac_site_file" = xNONE && continue1734 1646 if test -r "$ac_site_file"; then 1735 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&51736 $as_echo "$as_me: loading site script $ac_site_file" >&6;}1647 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1648 echo "$as_me: loading site script $ac_site_file" >&6;} 1737 1649 sed 's/^/| /' "$ac_site_file" >&5 1738 1650 . "$ac_site_file" … … 1744 1656 # files actually), so we avoid doing that. 1745 1657 if test -f "$cache_file"; then 1746 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&51747 $as_echo "$as_me: loading cache $cache_file" >&6;}1658 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1659 echo "$as_me: loading cache $cache_file" >&6;} 1748 1660 case $cache_file in 1749 1661 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1752 1664 fi 1753 1665 else 1754 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&51755 $as_echo "$as_me: creating cache $cache_file" >&6;}1666 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1667 echo "$as_me: creating cache $cache_file" >&6;} 1756 1668 >$cache_file 1757 1669 fi … … 1767 1679 case $ac_old_set,$ac_new_set in 1768 1680 set,) 1769 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51770 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1681 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1682 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1771 1683 ac_cache_corrupted=: ;; 1772 1684 ,set) 1773 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51774 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1685 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1686 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1775 1687 ac_cache_corrupted=: ;; 1776 1688 ,);; 1777 1689 *) 1778 1690 if test "x$ac_old_val" != "x$ac_new_val"; then 1779 # differences in whitespace do not lead to failure. 1780 ac_old_val_w=`echo x $ac_old_val` 1781 ac_new_val_w=`echo x $ac_new_val` 1782 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1783 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1784 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1785 ac_cache_corrupted=: 1786 else 1787 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1788 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1789 eval $ac_var=\$ac_old_val 1790 fi 1791 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1792 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1793 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1794 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 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=: 1795 1698 fi;; 1796 1699 esac … … 1798 1701 if test "$ac_new_set" = set; then 1799 1702 case $ac_new_val in 1800 *\'*) ac_arg=$ac_var=` $as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;1703 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1801 1704 *) ac_arg=$ac_var=$ac_new_val ;; 1802 1705 esac … … 1808 1711 done 1809 1712 if $ac_cache_corrupted; then 1810 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1812 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1813 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1814 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1815 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 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;} 1816 1717 { (exit 1); exit 1; }; } 1817 1718 fi … … 1879 1780 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1880 1781 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1881 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&51882 $as_echo_n "checking for $ac_word..." >&6; }1782 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1883 1784 if test "${ac_cv_prog_CC+set}" = set; then 1884 $as_echo_n "(cached)" >&61785 echo $ECHO_N "(cached) $ECHO_C" >&6 1885 1786 else 1886 1787 if test -n "$CC"; then … … 1895 1796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1896 1797 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1897 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1898 1799 break 2 1899 1800 fi … … 1906 1807 CC=$ac_cv_prog_CC 1907 1808 if test -n "$CC"; then 1908 { $as_echo "$as_me:$LINENO: result: $CC" >&51909 $as_echo "$CC" >&6; }1910 else 1911 { $as_echo "$as_me:$LINENO: result: no" >&51912 $as_echo "no" >&6; }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; } 1913 1814 fi 1914 1815 … … 1919 1820 # Extract the first word of "gcc", so it can be a program name with args. 1920 1821 set dummy gcc; ac_word=$2 1921 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&51922 $as_echo_n "checking for $ac_word..." >&6; }1822 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1923 1824 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1924 $as_echo_n "(cached)" >&61825 echo $ECHO_N "(cached) $ECHO_C" >&6 1925 1826 else 1926 1827 if test -n "$ac_ct_CC"; then … … 1935 1836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1936 1837 ac_cv_prog_ac_ct_CC="gcc" 1937 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1938 1839 break 2 1939 1840 fi … … 1946 1847 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1947 1848 if test -n "$ac_ct_CC"; then 1948 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&51949 $as_echo "$ac_ct_CC" >&6; }1950 else 1951 { $as_echo "$as_me:$LINENO: result: no" >&51952 $as_echo "no" >&6; }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; } 1953 1854 fi 1954 1855 … … 1958 1859 case $cross_compiling:$ac_tool_warned in 1959 1860 yes:) 1960 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 1961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 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;} 1962 1867 ac_tool_warned=yes ;; 1963 1868 esac … … 1972 1877 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1973 1878 set dummy ${ac_tool_prefix}cc; ac_word=$2 1974 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&51975 $as_echo_n "checking for $ac_word..." >&6; }1879 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1976 1881 if test "${ac_cv_prog_CC+set}" = set; then 1977 $as_echo_n "(cached)" >&61882 echo $ECHO_N "(cached) $ECHO_C" >&6 1978 1883 else 1979 1884 if test -n "$CC"; then … … 1988 1893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1989 1894 ac_cv_prog_CC="${ac_tool_prefix}cc" 1990 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1991 1896 break 2 1992 1897 fi … … 1999 1904 CC=$ac_cv_prog_CC 2000 1905 if test -n "$CC"; then 2001 { $as_echo "$as_me:$LINENO: result: $CC" >&52002 $as_echo "$CC" >&6; }2003 else 2004 { $as_echo "$as_me:$LINENO: result: no" >&52005 $as_echo "no" >&6; }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; } 2006 1911 fi 2007 1912 … … 2012 1917 # Extract the first word of "cc", so it can be a program name with args. 2013 1918 set dummy cc; ac_word=$2 2014 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&52015 $as_echo_n "checking for $ac_word..." >&6; }1919 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2016 1921 if test "${ac_cv_prog_CC+set}" = set; then 2017 $as_echo_n "(cached)" >&61922 echo $ECHO_N "(cached) $ECHO_C" >&6 2018 1923 else 2019 1924 if test -n "$CC"; then … … 2033 1938 fi 2034 1939 ac_cv_prog_CC="cc" 2035 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2036 1941 break 2 2037 1942 fi … … 2056 1961 CC=$ac_cv_prog_CC 2057 1962 if test -n "$CC"; then 2058 { $as_echo "$as_me:$LINENO: result: $CC" >&52059 $as_echo "$CC" >&6; }2060 else 2061 { $as_echo "$as_me:$LINENO: result: no" >&52062 $as_echo "no" >&6; }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; } 2063 1968 fi 2064 1969 … … 2071 1976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2072 1977 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2073 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&52074 $as_echo_n "checking for $ac_word..." >&6; }1978 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2075 1980 if test "${ac_cv_prog_CC+set}" = set; then 2076 $as_echo_n "(cached)" >&61981 echo $ECHO_N "(cached) $ECHO_C" >&6 2077 1982 else 2078 1983 if test -n "$CC"; then … … 2087 1992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2088 1993 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2089 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2090 1995 break 2 2091 1996 fi … … 2098 2003 CC=$ac_cv_prog_CC 2099 2004 if test -n "$CC"; then 2100 { $as_echo "$as_me:$LINENO: result: $CC" >&52101 $as_echo "$CC" >&6; }2102 else 2103 { $as_echo "$as_me:$LINENO: result: no" >&52104 $as_echo "no" >&6; }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; } 2105 2010 fi 2106 2011 … … 2115 2020 # Extract the first word of "$ac_prog", so it can be a program name with args. 2116 2021 set dummy $ac_prog; ac_word=$2 2117 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&52118 $as_echo_n "checking for $ac_word..." >&6; }2022 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2119 2024 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2120 $as_echo_n "(cached)" >&62025 echo $ECHO_N "(cached) $ECHO_C" >&6 2121 2026 else 2122 2027 if test -n "$ac_ct_CC"; then … … 2131 2036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2132 2037 ac_cv_prog_ac_ct_CC="$ac_prog" 2133 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2134 2039 break 2 2135 2040 fi … … 2142 2047 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2143 2048 if test -n "$ac_ct_CC"; then 2144 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&52145 $as_echo "$ac_ct_CC" >&6; }2146 else 2147 { $as_echo "$as_me:$LINENO: result: no" >&52148 $as_echo "no" >&6; }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; } 2149 2054 fi 2150 2055 … … 2158 2063 case $cross_compiling:$ac_tool_warned in 2159 2064 yes:) 2160 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 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;} 2162 2071 ac_tool_warned=yes ;; 2163 2072 esac … … 2169 2078 2170 2079 2171 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2173 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2080 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2174 2081 See \`config.log' for more details." >&5 2175 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH2082 echo "$as_me: error: no acceptable C compiler found in \$PATH 2176 2083 See \`config.log' for more details." >&2;} 2177 { (exit 1); exit 1; }; } ; }2084 { (exit 1); exit 1; }; } 2178 2085 2179 2086 # Provide some information about the compiler. 2180 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2181 set X $ac_compile 2182 ac_compiler=$2 2087 echo "$as_me:$LINENO: checking for C compiler version" >&5 2088 ac_compiler=`set X $ac_compile; echo $2` 2183 2089 { (ac_try="$ac_compiler --version >&5" 2184 2090 case "(($ac_try" in … … 2186 2092 *) ac_try_echo=$ac_try;; 2187 2093 esac 2188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2189 $as_echo "$ac_try_echo") >&5 2094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2190 2095 (eval "$ac_compiler --version >&5") 2>&5 2191 2096 ac_status=$? 2192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2193 2098 (exit $ac_status); } 2194 2099 { (ac_try="$ac_compiler -v >&5" … … 2197 2102 *) ac_try_echo=$ac_try;; 2198 2103 esac 2199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2200 $as_echo "$ac_try_echo") >&5 2104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2201 2105 (eval "$ac_compiler -v >&5") 2>&5 2202 2106 ac_status=$? 2203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2204 2108 (exit $ac_status); } 2205 2109 { (ac_try="$ac_compiler -V >&5" … … 2208 2112 *) ac_try_echo=$ac_try;; 2209 2113 esac 2210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2211 $as_echo "$ac_try_echo") >&5 2114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2212 2115 (eval "$ac_compiler -V >&5") 2>&5 2213 2116 ac_status=$? 2214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2215 2118 (exit $ac_status); } 2216 2119 … … 2231 2134 _ACEOF 2232 2135 ac_clean_files_save=$ac_clean_files 2233 ac_clean_files="$ac_clean_files a.out a. out.dSYM a.exe b.out"2136 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2234 2137 # Try to create an executable without -o first, disregard a.out. 2235 2138 # It will help us diagnose broken compilers, and finding out an intuition 2236 2139 # of exeext. 2237 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2238 $as_echo_n "checking for C compiler default output file name... " >&6; } 2239 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2240 2241 # The possible output files: 2242 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2243 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. 2244 2152 ac_rmfiles= 2245 2153 for ac_file in $ac_files 2246 2154 do 2247 2155 case $ac_file in 2248 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj ) ;;2156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2249 2157 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2250 2158 esac … … 2257 2165 *) ac_try_echo=$ac_try;; 2258 2166 esac 2259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2260 $as_echo "$ac_try_echo") >&5 2167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2261 2168 (eval "$ac_link_default") 2>&5 2262 2169 ac_status=$? 2263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2264 2171 (exit $ac_status); }; then 2265 2172 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. … … 2272 2179 test -f "$ac_file" || continue 2273 2180 case $ac_file in 2274 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj )2181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2275 2182 ;; 2276 2183 [ab].out ) … … 2299 2206 fi 2300 2207 2301 { $as_echo "$as_me:$LINENO: result: $ac_file" >&52302 $as_echo "$ac_file" >&6; }2208 { echo "$as_me:$LINENO: result: $ac_file" >&5 2209 echo "${ECHO_T}$ac_file" >&6; } 2303 2210 if test -z "$ac_file"; then 2304 $as_echo "$as_me: failed program was:" >&52211 echo "$as_me: failed program was:" >&5 2305 2212 sed 's/^/| /' conftest.$ac_ext >&5 2306 2213 2307 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2309 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2214 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2310 2215 See \`config.log' for more details." >&5 2311 $as_echo "$as_me: error: C compiler cannot create executables2216 echo "$as_me: error: C compiler cannot create executables 2312 2217 See \`config.log' for more details." >&2;} 2313 { (exit 77); exit 77; }; } ; }2218 { (exit 77); exit 77; }; } 2314 2219 fi 2315 2220 … … 2318 2223 # Check that the compiler produces executables we can run. If not, either 2319 2224 # the compiler is broken, or we cross compile. 2320 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&52321 $as_echo_n "checking whether the C compiler works..." >&6; }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; } 2322 2227 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2323 2228 # If not cross compiling, check that we can run a simple program. … … 2328 2233 *) ac_try_echo=$ac_try;; 2329 2234 esac 2330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2331 $as_echo "$ac_try_echo") >&5 2235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2332 2236 (eval "$ac_try") 2>&5 2333 2237 ac_status=$? 2334 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2335 2239 (exit $ac_status); }; }; then 2336 2240 cross_compiling=no … … 2339 2243 cross_compiling=yes 2340 2244 else 2341 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2343 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2245 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2344 2246 If you meant to cross compile, use \`--host'. 2345 2247 See \`config.log' for more details." >&5 2346 $as_echo "$as_me: error: cannot run C compiled programs.2248 echo "$as_me: error: cannot run C compiled programs. 2347 2249 If you meant to cross compile, use \`--host'. 2348 2250 See \`config.log' for more details." >&2;} 2349 { (exit 1); exit 1; }; } ; }2251 { (exit 1); exit 1; }; } 2350 2252 fi 2351 2253 fi 2352 2254 fi 2353 { $as_echo "$as_me:$LINENO: result: yes" >&52354 $as_echo "yes" >&6; }2355 2356 rm -f -r a.out a.out.dSYMa.exe conftest$ac_cv_exeext b.out2255 { 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 2357 2259 ac_clean_files=$ac_clean_files_save 2358 2260 # Check that the compiler produces executables we can run. If not, either 2359 2261 # the compiler is broken, or we cross compile. 2360 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&52361 $as_echo_n "checking whether we are cross compiling..." >&6; }2362 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&52363 $as_echo "$cross_compiling" >&6; }2364 2365 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&52366 $as_echo_n "checking for suffix of executables..." >&6; }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; } 2367 2269 if { (ac_try="$ac_link" 2368 2270 case "(($ac_try" in … … 2370 2272 *) ac_try_echo=$ac_try;; 2371 2273 esac 2372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2373 $as_echo "$ac_try_echo") >&5 2274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2374 2275 (eval "$ac_link") 2>&5 2375 2276 ac_status=$? 2376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2377 2278 (exit $ac_status); }; then 2378 2279 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 2383 2284 test -f "$ac_file" || continue 2384 2285 case $ac_file in 2385 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj ) ;;2286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2386 2287 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2387 2288 break;; … … 2390 2291 done 2391 2292 else 2392 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2394 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2293 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2395 2294 See \`config.log' for more details." >&5 2396 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2295 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2397 2296 See \`config.log' for more details." >&2;} 2398 { (exit 1); exit 1; }; } ; }2297 { (exit 1); exit 1; }; } 2399 2298 fi 2400 2299 2401 2300 rm -f conftest$ac_cv_exeext 2402 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52403 $as_echo "$ac_cv_exeext" >&6; }2301 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2302 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2404 2303 2405 2304 rm -f conftest.$ac_ext 2406 2305 EXEEXT=$ac_cv_exeext 2407 2306 ac_exeext=$EXEEXT 2408 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&52409 $as_echo_n "checking for suffix of object files..." >&6; }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; } 2410 2309 if test "${ac_cv_objext+set}" = set; then 2411 $as_echo_n "(cached)" >&62310 echo $ECHO_N "(cached) $ECHO_C" >&6 2412 2311 else 2413 2312 cat >conftest.$ac_ext <<_ACEOF … … 2432 2331 *) ac_try_echo=$ac_try;; 2433 2332 esac 2434 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2435 $as_echo "$ac_try_echo") >&5 2333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2436 2334 (eval "$ac_compile") 2>&5 2437 2335 ac_status=$? 2438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2439 2337 (exit $ac_status); }; then 2440 2338 for ac_file in conftest.o conftest.obj conftest.*; do 2441 2339 test -f "$ac_file" || continue; 2442 2340 case $ac_file in 2443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM) ;;2341 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2444 2342 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2445 2343 break;; … … 2447 2345 done 2448 2346 else 2449 $as_echo "$as_me: failed program was:" >&52347 echo "$as_me: failed program was:" >&5 2450 2348 sed 's/^/| /' conftest.$ac_ext >&5 2451 2349 2452 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2454 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2350 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2455 2351 See \`config.log' for more details." >&5 2456 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile2352 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2457 2353 See \`config.log' for more details." >&2;} 2458 { (exit 1); exit 1; }; } ; }2354 { (exit 1); exit 1; }; } 2459 2355 fi 2460 2356 2461 2357 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2462 2358 fi 2463 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&52464 $as_echo "$ac_cv_objext" >&6; }2359 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2360 echo "${ECHO_T}$ac_cv_objext" >&6; } 2465 2361 OBJEXT=$ac_cv_objext 2466 2362 ac_objext=$OBJEXT 2467 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52468 $as_echo_n "checking whether we are using the GNU C compiler..." >&6; }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; } 2469 2365 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2470 $as_echo_n "(cached)" >&62366 echo $ECHO_N "(cached) $ECHO_C" >&6 2471 2367 else 2472 2368 cat >conftest.$ac_ext <<_ACEOF … … 2494 2390 *) ac_try_echo=$ac_try;; 2495 2391 esac 2496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2497 $as_echo "$ac_try_echo") >&5 2392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2498 2393 (eval "$ac_compile") 2>conftest.er1 2499 2394 ac_status=$? … … 2501 2396 rm -f conftest.er1 2502 2397 cat conftest.err >&5 2503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2504 2399 (exit $ac_status); } && { 2505 2400 test -z "$ac_c_werror_flag" || … … 2508 2403 ac_compiler_gnu=yes 2509 2404 else 2510 $as_echo "$as_me: failed program was:" >&52405 echo "$as_me: failed program was:" >&5 2511 2406 sed 's/^/| /' conftest.$ac_ext >&5 2512 2407 … … 2518 2413 2519 2414 fi 2520 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2521 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2522 if test $ac_compiler_gnu = yes; then 2523 GCC=yes 2524 else 2525 GCC= 2526 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` 2527 2418 ac_test_CFLAGS=${CFLAGS+set} 2528 2419 ac_save_CFLAGS=$CFLAGS 2529 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52530 $as_echo_n "checking whether $CC accepts -g..." >&6; }2420 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2421 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2531 2422 if test "${ac_cv_prog_cc_g+set}" = set; then 2532 $as_echo_n "(cached)" >&62423 echo $ECHO_N "(cached) $ECHO_C" >&6 2533 2424 else 2534 2425 ac_save_c_werror_flag=$ac_c_werror_flag … … 2557 2448 *) ac_try_echo=$ac_try;; 2558 2449 esac 2559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2560 $as_echo "$ac_try_echo") >&5 2450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2561 2451 (eval "$ac_compile") 2>conftest.er1 2562 2452 ac_status=$? … … 2564 2454 rm -f conftest.er1 2565 2455 cat conftest.err >&5 2566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2567 2457 (exit $ac_status); } && { 2568 2458 test -z "$ac_c_werror_flag" || … … 2571 2461 ac_cv_prog_cc_g=yes 2572 2462 else 2573 $as_echo "$as_me: failed program was:" >&52463 echo "$as_me: failed program was:" >&5 2574 2464 sed 's/^/| /' conftest.$ac_ext >&5 2575 2465 … … 2596 2486 *) ac_try_echo=$ac_try;; 2597 2487 esac 2598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2599 $as_echo "$ac_try_echo") >&5 2488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2600 2489 (eval "$ac_compile") 2>conftest.er1 2601 2490 ac_status=$? … … 2603 2492 rm -f conftest.er1 2604 2493 cat conftest.err >&5 2605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2606 2495 (exit $ac_status); } && { 2607 2496 test -z "$ac_c_werror_flag" || … … 2610 2499 : 2611 2500 else 2612 $as_echo "$as_me: failed program was:" >&52501 echo "$as_me: failed program was:" >&5 2613 2502 sed 's/^/| /' conftest.$ac_ext >&5 2614 2503 … … 2636 2525 *) ac_try_echo=$ac_try;; 2637 2526 esac 2638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2639 $as_echo "$ac_try_echo") >&5 2527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2640 2528 (eval "$ac_compile") 2>conftest.er1 2641 2529 ac_status=$? … … 2643 2531 rm -f conftest.er1 2644 2532 cat conftest.err >&5 2645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2646 2534 (exit $ac_status); } && { 2647 2535 test -z "$ac_c_werror_flag" || … … 2650 2538 ac_cv_prog_cc_g=yes 2651 2539 else 2652 $as_echo "$as_me: failed program was:" >&52540 echo "$as_me: failed program was:" >&5 2653 2541 sed 's/^/| /' conftest.$ac_ext >&5 2654 2542 … … 2665 2553 ac_c_werror_flag=$ac_save_c_werror_flag 2666 2554 fi 2667 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52668 $as_echo "$ac_cv_prog_cc_g" >&6; }2555 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2556 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2669 2557 if test "$ac_test_CFLAGS" = set; then 2670 2558 CFLAGS=$ac_save_CFLAGS … … 2682 2570 fi 2683 2571 fi 2684 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52685 $as_echo_n "checking for $CC option to accept ISO C89..." >&6; }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; } 2686 2574 if test "${ac_cv_prog_cc_c89+set}" = set; then 2687 $as_echo_n "(cached)" >&62575 echo $ECHO_N "(cached) $ECHO_C" >&6 2688 2576 else 2689 2577 ac_cv_prog_cc_c89=no … … 2756 2644 *) ac_try_echo=$ac_try;; 2757 2645 esac 2758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2759 $as_echo "$ac_try_echo") >&5 2646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2760 2647 (eval "$ac_compile") 2>conftest.er1 2761 2648 ac_status=$? … … 2763 2650 rm -f conftest.er1 2764 2651 cat conftest.err >&5 2765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2766 2653 (exit $ac_status); } && { 2767 2654 test -z "$ac_c_werror_flag" || … … 2770 2657 ac_cv_prog_cc_c89=$ac_arg 2771 2658 else 2772 $as_echo "$as_me: failed program was:" >&52659 echo "$as_me: failed program was:" >&5 2773 2660 sed 's/^/| /' conftest.$ac_ext >&5 2774 2661 … … 2786 2673 case "x$ac_cv_prog_cc_c89" in 2787 2674 x) 2788 { $as_echo "$as_me:$LINENO: result: none needed" >&52789 $as_echo "none needed" >&6; } ;;2675 { echo "$as_me:$LINENO: result: none needed" >&5 2676 echo "${ECHO_T}none needed" >&6; } ;; 2790 2677 xno) 2791 { $as_echo "$as_me:$LINENO: result: unsupported" >&52792 $as_echo "unsupported" >&6; } ;;2678 { echo "$as_me:$LINENO: result: unsupported" >&5 2679 echo "${ECHO_T}unsupported" >&6; } ;; 2793 2680 *) 2794 2681 CC="$CC $ac_cv_prog_cc_c89" 2795 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52796 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;2682 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2683 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2797 2684 esac 2798 2685 … … 2808 2695 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2809 2696 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2810 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&52811 $as_echo_n "checking for $ac_word..." >&6; }2697 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2812 2699 if test "${ac_cv_prog_RANLIB+set}" = set; then 2813 $as_echo_n "(cached)" >&62700 echo $ECHO_N "(cached) $ECHO_C" >&6 2814 2701 else 2815 2702 if test -n "$RANLIB"; then … … 2824 2711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2825 2712 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2826 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2827 2714 break 2 2828 2715 fi … … 2835 2722 RANLIB=$ac_cv_prog_RANLIB 2836 2723 if test -n "$RANLIB"; then 2837 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&52838 $as_echo "$RANLIB" >&6; }2839 else 2840 { $as_echo "$as_me:$LINENO: result: no" >&52841 $as_echo "no" >&6; }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; } 2842 2729 fi 2843 2730 … … 2848 2735 # Extract the first word of "ranlib", so it can be a program name with args. 2849 2736 set dummy ranlib; ac_word=$2 2850 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&52851 $as_echo_n "checking for $ac_word..." >&6; }2737 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2852 2739 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2853 $as_echo_n "(cached)" >&62740 echo $ECHO_N "(cached) $ECHO_C" >&6 2854 2741 else 2855 2742 if test -n "$ac_ct_RANLIB"; then … … 2864 2751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2865 2752 ac_cv_prog_ac_ct_RANLIB="ranlib" 2866 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2867 2754 break 2 2868 2755 fi … … 2875 2762 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2876 2763 if test -n "$ac_ct_RANLIB"; then 2877 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&52878 $as_echo "$ac_ct_RANLIB" >&6; }2879 else 2880 { $as_echo "$as_me:$LINENO: result: no" >&52881 $as_echo "no" >&6; }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; } 2882 2769 fi 2883 2770 … … 2887 2774 case $cross_compiling:$ac_tool_warned in 2888 2775 yes:) 2889 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 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;} 2891 2782 ac_tool_warned=yes ;; 2892 2783 esac … … 2902 2793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2903 2794 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2904 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52905 $as_echo_n "checking how to run the C preprocessor..." >&6; }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; } 2906 2797 # On Suns, sometimes $CPP names a directory. 2907 2798 if test -n "$CPP" && test -d "$CPP"; then … … 2910 2801 if test -z "$CPP"; then 2911 2802 if test "${ac_cv_prog_CPP+set}" = set; then 2912 $as_echo_n "(cached)" >&62803 echo $ECHO_N "(cached) $ECHO_C" >&6 2913 2804 else 2914 2805 # Double quotes because CPP needs to be expanded … … 2942 2833 *) ac_try_echo=$ac_try;; 2943 2834 esac 2944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2945 $as_echo "$ac_try_echo") >&5 2835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2946 2836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2947 2837 ac_status=$? … … 2949 2839 rm -f conftest.er1 2950 2840 cat conftest.err >&5 2951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2952 2842 (exit $ac_status); } >/dev/null && { 2953 2843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 2956 2846 : 2957 2847 else 2958 $as_echo "$as_me: failed program was:" >&52848 echo "$as_me: failed program was:" >&5 2959 2849 sed 's/^/| /' conftest.$ac_ext >&5 2960 2850 … … 2980 2870 *) ac_try_echo=$ac_try;; 2981 2871 esac 2982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2983 $as_echo "$ac_try_echo") >&5 2872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2984 2873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2985 2874 ac_status=$? … … 2987 2876 rm -f conftest.er1 2988 2877 cat conftest.err >&5 2989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2990 2879 (exit $ac_status); } >/dev/null && { 2991 2880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 2995 2884 continue 2996 2885 else 2997 $as_echo "$as_me: failed program was:" >&52886 echo "$as_me: failed program was:" >&5 2998 2887 sed 's/^/| /' conftest.$ac_ext >&5 2999 2888 … … 3020 2909 ac_cv_prog_CPP=$CPP 3021 2910 fi 3022 { $as_echo "$as_me:$LINENO: result: $CPP" >&53023 $as_echo "$CPP" >&6; }2911 { echo "$as_me:$LINENO: result: $CPP" >&5 2912 echo "${ECHO_T}$CPP" >&6; } 3024 2913 ac_preproc_ok=false 3025 2914 for ac_c_preproc_warn_flag in '' yes … … 3049 2938 *) ac_try_echo=$ac_try;; 3050 2939 esac 3051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3052 $as_echo "$ac_try_echo") >&5 2940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3053 2941 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3054 2942 ac_status=$? … … 3056 2944 rm -f conftest.er1 3057 2945 cat conftest.err >&5 3058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3059 2947 (exit $ac_status); } >/dev/null && { 3060 2948 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 3063 2951 : 3064 2952 else 3065 $as_echo "$as_me: failed program was:" >&52953 echo "$as_me: failed program was:" >&5 3066 2954 sed 's/^/| /' conftest.$ac_ext >&5 3067 2955 … … 3087 2975 *) ac_try_echo=$ac_try;; 3088 2976 esac 3089 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3090 $as_echo "$ac_try_echo") >&5 2977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3091 2978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3092 2979 ac_status=$? … … 3094 2981 rm -f conftest.er1 3095 2982 cat conftest.err >&5 3096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3097 2984 (exit $ac_status); } >/dev/null && { 3098 2985 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 3102 2989 continue 3103 2990 else 3104 $as_echo "$as_me: failed program was:" >&52991 echo "$as_me: failed program was:" >&5 3105 2992 sed 's/^/| /' conftest.$ac_ext >&5 3106 2993 … … 3118 3005 : 3119 3006 else 3120 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3122 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3007 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3123 3008 See \`config.log' for more details." >&5 3124 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check3009 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3125 3010 See \`config.log' for more details." >&2;} 3126 { (exit 1); exit 1; }; } ; }3011 { (exit 1); exit 1; }; } 3127 3012 fi 3128 3013 … … 3134 3019 3135 3020 3136 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&53137 $as_echo_n "checking for grep that handles long lines and -e..." >&6; }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; } 3138 3023 if test "${ac_cv_path_GREP+set}" = set; then 3139 $as_echo_n "(cached) " >&6 3140 else 3141 if test -z "$GREP"; 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 3142 3032 ac_path_GREP_found=false 3143 3144 3033 # Loop through the user's path and test for each of PROGNAME-LIST 3034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3145 3035 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3146 3036 do … … 3148 3038 test -z "$as_dir" && as_dir=. 3149 3039 for ac_prog in grep ggrep; do 3150 3151 3152 3153 # Check for GNU ac_path_GREP and select it if it is found.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. 3154 3044 # Check for GNU $ac_path_GREP 3155 3045 case `"$ac_path_GREP" --version 2>&1` in … … 3158 3048 *) 3159 3049 ac_count=0 3160 $as_echo_n 0123456789>"conftest.in"3050 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3161 3051 while : 3162 3052 do … … 3164 3054 mv "conftest.tmp" "conftest.in" 3165 3055 cp "conftest.in" "conftest.nl" 3166 $as_echo 'GREP' >> "conftest.nl"3056 echo 'GREP' >> "conftest.nl" 3167 3057 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3168 3058 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break … … 3179 3069 esac 3180 3070 3181 $ac_path_GREP_found && break 3 3182 done3071 3072 $ac_path_GREP_found && break 3 3183 3073 done 3184 3074 done 3075 3076 done 3185 3077 IFS=$as_save_IFS 3186 if test -z "$ac_cv_path_GREP"; then 3187 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3188 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 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;} 3189 3086 { (exit 1); exit 1; }; } 3190 fi 3087 fi 3088 3191 3089 else 3192 3090 ac_cv_path_GREP=$GREP 3193 3091 fi 3194 3092 3195 fi 3196 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3197 $as_echo "$ac_cv_path_GREP" >&6; } 3093 3094 fi 3095 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3096 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3198 3097 GREP="$ac_cv_path_GREP" 3199 3098 3200 3099 3201 { $as_echo "$as_me:$LINENO: checking for egrep" >&53202 $as_echo_n "checking for egrep..." >&6; }3100 { echo "$as_me:$LINENO: checking for egrep" >&5 3101 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3203 3102 if test "${ac_cv_path_EGREP+set}" = set; then 3204 $as_echo_n "(cached)" >&63103 echo $ECHO_N "(cached) $ECHO_C" >&6 3205 3104 else 3206 3105 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3207 3106 then ac_cv_path_EGREP="$GREP -E" 3208 3107 else 3209 if test -z "$EGREP"; then 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 3210 3114 ac_path_EGREP_found=false 3211 3212 3115 # Loop through the user's path and test for each of PROGNAME-LIST 3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3213 3117 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3214 3118 do … … 3216 3120 test -z "$as_dir" && as_dir=. 3217 3121 for ac_prog in egrep; do 3218 3219 3220 3221 # Check for GNU ac_path_EGREP and select it if it is found.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. 3222 3126 # Check for GNU $ac_path_EGREP 3223 3127 case `"$ac_path_EGREP" --version 2>&1` in … … 3226 3130 *) 3227 3131 ac_count=0 3228 $as_echo_n 0123456789>"conftest.in"3132 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3229 3133 while : 3230 3134 do … … 3232 3136 mv "conftest.tmp" "conftest.in" 3233 3137 cp "conftest.in" "conftest.nl" 3234 $as_echo 'EGREP' >> "conftest.nl"3138 echo 'EGREP' >> "conftest.nl" 3235 3139 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3236 3140 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break … … 3247 3151 esac 3248 3152 3249 $ac_path_EGREP_found && break 3 3250 done3153 3154 $ac_path_EGREP_found && break 3 3251 3155 done 3252 3156 done 3157 3158 done 3253 3159 IFS=$as_save_IFS 3254 if test -z "$ac_cv_path_EGREP"; then 3255 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3256 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 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;} 3257 3168 { (exit 1); exit 1; }; } 3258 fi 3169 fi 3170 3259 3171 else 3260 3172 ac_cv_path_EGREP=$EGREP 3261 3173 fi 3262 3174 3175 3263 3176 fi 3264 3177 fi 3265 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&53266 $as_echo "$ac_cv_path_EGREP" >&6; }3178 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3179 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3267 3180 EGREP="$ac_cv_path_EGREP" 3268 3181 3269 3182 3270 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&53271 $as_echo_n "checking for ANSI C header files..." >&6; }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; } 3272 3185 if test "${ac_cv_header_stdc+set}" = set; then 3273 $as_echo_n "(cached)" >&63186 echo $ECHO_N "(cached) $ECHO_C" >&6 3274 3187 else 3275 3188 cat >conftest.$ac_ext <<_ACEOF … … 3298 3211 *) ac_try_echo=$ac_try;; 3299 3212 esac 3300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3301 $as_echo "$ac_try_echo") >&5 3213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3302 3214 (eval "$ac_compile") 2>conftest.er1 3303 3215 ac_status=$? … … 3305 3217 rm -f conftest.er1 3306 3218 cat conftest.err >&5 3307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&53219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3308 3220 (exit $ac_status); } && { 3309 3221 test -z "$ac_c_werror_flag" || … … 3312 3224 ac_cv_header_stdc=yes 3313 3225 else 3314 $as_echo "$as_me: failed program was:" >&53226 echo "$as_me: failed program was:" >&5 3315 3227 sed 's/^/| /' conftest.$ac_ext >&5 3316 3228 … … 3404 3316 *) ac_try_echo=$ac_try;; 3405 3317 esac 3406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3407 $as_echo "$ac_try_echo") >&5 3318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3408 3319 (eval "$ac_link") 2>&5 3409 3320 ac_status=$? 3410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&53321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3411 3322 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3412 3323 { (case "(($ac_try" in … … 3414 3325 *) ac_try_echo=$ac_try;; 3415 3326 esac 3416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3417 $as_echo "$ac_try_echo") >&5 3327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3418 3328 (eval "$ac_try") 2>&5 3419 3329 ac_status=$? 3420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&53330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3421 3331 (exit $ac_status); }; }; then 3422 3332 : 3423 3333 else 3424 $as_echo "$as_me: program exited with status $ac_status" >&53425 $as_echo "$as_me: failed program was:" >&53334 echo "$as_me: program exited with status $ac_status" >&5 3335 echo "$as_me: failed program was:" >&5 3426 3336 sed 's/^/| /' conftest.$ac_ext >&5 3427 3337 … … 3429 3339 ac_cv_header_stdc=no 3430 3340 fi 3431 rm -rf conftest.dSYM3432 3341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3433 3342 fi … … 3436 3345 fi 3437 3346 fi 3438 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&53439 $as_echo "$ac_cv_header_stdc" >&6; }3347 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3348 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3440 3349 if test $ac_cv_header_stdc = yes; then 3441 3350 … … 3459 3368 inttypes.h stdint.h unistd.h 3460 3369 do 3461 as_ac_Header=` $as_echo "ac_cv_header_$ac_header" | $as_tr_sh`3462 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&53463 $as_echo_n "checking for $ac_header..." >&6; }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; } 3464 3373 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3465 $as_echo_n "(cached)" >&63374 echo $ECHO_N "(cached) $ECHO_C" >&6 3466 3375 else 3467 3376 cat >conftest.$ac_ext <<_ACEOF … … 3481 3390 *) ac_try_echo=$ac_try;; 3482 3391 esac 3483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3484 $as_echo "$ac_try_echo") >&5 3392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3485 3393 (eval "$ac_compile") 2>conftest.er1 3486 3394 ac_status=$? … … 3488 3396 rm -f conftest.er1 3489 3397 cat conftest.err >&5 3490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&53398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3491 3399 (exit $ac_status); } && { 3492 3400 test -z "$ac_c_werror_flag" || … … 3495 3403 eval "$as_ac_Header=yes" 3496 3404 else 3497 $as_echo "$as_me: failed program was:" >&53405 echo "$as_me: failed program was:" >&5 3498 3406 sed 's/^/| /' conftest.$ac_ext >&5 3499 3407 … … 3503 3411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3504 3412 fi 3505 ac_res=`eval 'as_val=${'$as_ac_Header'} 3506 $as_echo "$as_val"'` 3507 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3508 $as_echo "$ac_res" >&6; } 3509 as_val=`eval 'as_val=${'$as_ac_Header'} 3510 $as_echo "$as_val"'` 3511 if test "x$as_val" = x""yes; then 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 3512 3417 cat >>confdefs.h <<_ACEOF 3513 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 13418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3514 3419 _ACEOF 3515 3420 … … 3523 3428 # Step 0.a: Enable 64 bit support? 3524 3429 3525 { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&53526 $as_echo_n "checking if 64bit support is requested..." >&6; }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; } 3527 3432 # Check whether --enable-64bit was given. 3528 3433 if test "${enable_64bit+set}" = set; then … … 3532 3437 fi 3533 3438 3534 { $as_echo "$as_me:$LINENO: result: $do64bit" >&53535 $as_echo "$do64bit" >&6; }3439 { echo "$as_me:$LINENO: result: $do64bit" >&5 3440 echo "${ECHO_T}$do64bit" >&6; } 3536 3441 3537 3442 # Step 0.b: Enable Solaris 64 bit VIS support? 3538 3443 3539 { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&53540 $as_echo_n "checking if 64bit Sparc VIS support is requested..." >&6; }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; } 3541 3446 # Check whether --enable-64bit-vis was given. 3542 3447 if test "${enable_64bit_vis+set}" = set; then … … 3546 3451 fi 3547 3452 3548 { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&53549 $as_echo "$do64bitVIS" >&6; }3453 { echo "$as_me:$LINENO: result: $do64bitVIS" >&5 3454 echo "${ECHO_T}$do64bitVIS" >&6; } 3550 3455 3551 3456 if test "$do64bitVIS" = "yes"; then … … 3558 3463 3559 3464 3560 { $as_echo "$as_me:$LINENO: checking system version" >&53561 $as_echo_n "checking system version..." >&6; }3465 { echo "$as_me:$LINENO: checking system version" >&5 3466 echo $ECHO_N "checking system version... $ECHO_C" >&6; } 3562 3467 if test "${tcl_cv_sys_version+set}" = set; then 3563 $as_echo_n "(cached)" >&63468 echo $ECHO_N "(cached) $ECHO_C" >&6 3564 3469 else 3565 3470 … … 3569 3474 tcl_cv_sys_version=`uname -s`-`uname -r` 3570 3475 if test "$?" -ne 0 ; then 3571 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&53572 $as_echo "$as_me: WARNING: can't find uname command" >&2;}3476 { echo "$as_me:$LINENO: WARNING: can't find uname command" >&5 3477 echo "$as_me: WARNING: can't find uname command" >&2;} 3573 3478 tcl_cv_sys_version=unknown 3574 3479 else … … 3586 3491 3587 3492 fi 3588 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&53589 $as_echo "$tcl_cv_sys_version" >&6; }3493 { echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5 3494 echo "${ECHO_T}$tcl_cv_sys_version" >&6; } 3590 3495 system=$tcl_cv_sys_version 3591 3496 … … 3594 3499 # Linux can use either -ldl or -ldld for dynamic loading. 3595 3500 3596 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&53597 $as_echo_n "checking for dlopen in -ldl..." >&6; }3501 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 3502 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 3598 3503 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 3599 $as_echo_n "(cached)" >&63504 echo $ECHO_N "(cached) $ECHO_C" >&6 3600 3505 else 3601 3506 ac_check_lib_save_LIBS=$LIBS … … 3629 3534 *) ac_try_echo=$ac_try;; 3630 3535 esac 3631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3632 $as_echo "$ac_try_echo") >&5 3536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3633 3537 (eval "$ac_link") 2>conftest.er1 3634 3538 ac_status=$? … … 3636 3540 rm -f conftest.er1 3637 3541 cat conftest.err >&5 3638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&53542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3639 3543 (exit $ac_status); } && { 3640 3544 test -z "$ac_c_werror_flag" || 3641 3545 test ! -s conftest.err 3642 } && test -s conftest$ac_exeext && { 3643 test "$cross_compiling" = yes || 3644 $as_test_x conftest$ac_exeext 3645 }; then 3546 } && test -s conftest$ac_exeext && 3547 $as_test_x conftest$ac_exeext; then 3646 3548 ac_cv_lib_dl_dlopen=yes 3647 3549 else 3648 $as_echo "$as_me: failed program was:" >&53550 echo "$as_me: failed program was:" >&5 3649 3551 sed 's/^/| /' conftest.$ac_ext >&5 3650 3552 … … 3652 3554 fi 3653 3555 3654 rm -rf conftest.dSYM3655 3556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3656 3557 conftest$ac_exeext conftest.$ac_ext 3657 3558 LIBS=$ac_check_lib_save_LIBS 3658 3559 fi 3659 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&53660 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }3661 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then3560 { 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 3662 3563 have_dl=yes 3663 3564 else … … 3691 3592 # Extract the first word of "ar", so it can be a program name with args. 3692 3593 set dummy ar; ac_word=$2 3693 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&53694 $as_echo_n "checking for $ac_word..." >&6; }3594 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3695 3596 if test "${ac_cv_prog_AR+set}" = set; then 3696 $as_echo_n "(cached)" >&63597 echo $ECHO_N "(cached) $ECHO_C" >&6 3697 3598 else 3698 3599 if test -n "$AR"; then … … 3707 3608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3708 3609 ac_cv_prog_AR="ar" 3709 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3710 3611 break 2 3711 3612 fi … … 3718 3619 AR=$ac_cv_prog_AR 3719 3620 if test -n "$AR"; then 3720 { $as_echo "$as_me:$LINENO: result: $AR" >&53721 $as_echo "$AR" >&6; }3722 else 3723 { $as_echo "$as_me:$LINENO: result: no" >&53724 $as_echo "no" >&6; }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; } 3725 3626 fi 3726 3627 3727 3628 3728 3629 if test "${AR}" = "" ; then 3729 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&53730 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}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;} 3731 3632 { (exit 1); exit 1; }; } 3732 3633 fi … … 3747 3648 ;; 3748 3649 esac 3749 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&53750 $as_echo "Using $CC for compiling with threads" >&6; }3650 { echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5 3651 echo "${ECHO_T}Using $CC for compiling with threads" >&6; } 3751 3652 fi 3752 3653 LIBS="$LIBS -lc" … … 3763 3664 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 3764 3665 if test "$GCC" = "yes" ; then 3765 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&53766 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}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;} 3767 3668 else 3768 3669 do64bit_ok=yes … … 3818 3719 # known GMT value. 3819 3720 3820 { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&53821 $as_echo_n "checking for gettimeofday in -lbsd..." >&6; }3721 { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5 3722 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; } 3822 3723 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 3823 $as_echo_n "(cached)" >&63724 echo $ECHO_N "(cached) $ECHO_C" >&6 3824 3725 else 3825 3726 ac_check_lib_save_LIBS=$LIBS … … 3853 3754 *) ac_try_echo=$ac_try;; 3854 3755 esac 3855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3856 $as_echo "$ac_try_echo") >&5 3756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3857 3757 (eval "$ac_link") 2>conftest.er1 3858 3758 ac_status=$? … … 3860 3760 rm -f conftest.er1 3861 3761 cat conftest.err >&5 3862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&53762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3863 3763 (exit $ac_status); } && { 3864 3764 test -z "$ac_c_werror_flag" || 3865 3765 test ! -s conftest.err 3866 } && test -s conftest$ac_exeext && { 3867 test "$cross_compiling" = yes || 3868 $as_test_x conftest$ac_exeext 3869 }; then 3766 } && test -s conftest$ac_exeext && 3767 $as_test_x conftest$ac_exeext; then 3870 3768 ac_cv_lib_bsd_gettimeofday=yes 3871 3769 else 3872 $as_echo "$as_me: failed program was:" >&53770 echo "$as_me: failed program was:" >&5 3873 3771 sed 's/^/| /' conftest.$ac_ext >&5 3874 3772 … … 3876 3774 fi 3877 3775 3878 rm -rf conftest.dSYM3879 3776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3880 3777 conftest$ac_exeext conftest.$ac_ext 3881 3778 LIBS=$ac_check_lib_save_LIBS 3882 3779 fi 3883 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&53884 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }3885 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then3780 { 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 3886 3783 libbsd=yes 3887 3784 else … … 3910 3807 # is always linked to, for compatibility. 3911 3808 #----------------------------------------------------------- 3912 { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&53913 $as_echo_n "checking for inet_ntoa in -lbind..." >&6; }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; } 3914 3811 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then 3915 $as_echo_n "(cached)" >&63812 echo $ECHO_N "(cached) $ECHO_C" >&6 3916 3813 else 3917 3814 ac_check_lib_save_LIBS=$LIBS … … 3945 3842 *) ac_try_echo=$ac_try;; 3946 3843 esac 3947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3948 $as_echo "$ac_try_echo") >&5 3844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3949 3845 (eval "$ac_link") 2>conftest.er1 3950 3846 ac_status=$? … … 3952 3848 rm -f conftest.er1 3953 3849 cat conftest.err >&5 3954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&53850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3955 3851 (exit $ac_status); } && { 3956 3852 test -z "$ac_c_werror_flag" || 3957 3853 test ! -s conftest.err 3958 } && test -s conftest$ac_exeext && { 3959 test "$cross_compiling" = yes || 3960 $as_test_x conftest$ac_exeext 3961 }; then 3854 } && test -s conftest$ac_exeext && 3855 $as_test_x conftest$ac_exeext; then 3962 3856 ac_cv_lib_bind_inet_ntoa=yes 3963 3857 else 3964 $as_echo "$as_me: failed program was:" >&53858 echo "$as_me: failed program was:" >&5 3965 3859 sed 's/^/| /' conftest.$ac_ext >&5 3966 3860 … … 3968 3862 fi 3969 3863 3970 rm -rf conftest.dSYM3971 3864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3972 3865 conftest$ac_exeext conftest.$ac_ext 3973 3866 LIBS=$ac_check_lib_save_LIBS 3974 3867 fi 3975 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&53976 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }3977 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then3868 { 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 3978 3871 LIBS="$LIBS -lbind -lsocket" 3979 3872 fi … … 4028 3921 SHLIB_SUFFIX=".sl" 4029 3922 fi 4030 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&54031 $as_echo_n "checking for shl_load in -ldld..." >&6; }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; } 4032 3925 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4033 $as_echo_n "(cached)" >&63926 echo $ECHO_N "(cached) $ECHO_C" >&6 4034 3927 else 4035 3928 ac_check_lib_save_LIBS=$LIBS … … 4063 3956 *) ac_try_echo=$ac_try;; 4064 3957 esac 4065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4066 $as_echo "$ac_try_echo") >&5 3958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4067 3959 (eval "$ac_link") 2>conftest.er1 4068 3960 ac_status=$? … … 4070 3962 rm -f conftest.er1 4071 3963 cat conftest.err >&5 4072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&53964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4073 3965 (exit $ac_status); } && { 4074 3966 test -z "$ac_c_werror_flag" || 4075 3967 test ! -s conftest.err 4076 } && test -s conftest$ac_exeext && { 4077 test "$cross_compiling" = yes || 4078 $as_test_x conftest$ac_exeext 4079 }; then 3968 } && test -s conftest$ac_exeext && 3969 $as_test_x conftest$ac_exeext; then 4080 3970 ac_cv_lib_dld_shl_load=yes 4081 3971 else 4082 $as_echo "$as_me: failed program was:" >&53972 echo "$as_me: failed program was:" >&5 4083 3973 sed 's/^/| /' conftest.$ac_ext >&5 4084 3974 … … 4086 3976 fi 4087 3977 4088 rm -rf conftest.dSYM4089 3978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4090 3979 conftest$ac_exeext conftest.$ac_ext 4091 3980 LIBS=$ac_check_lib_save_LIBS 4092 3981 fi 4093 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&54094 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }4095 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then3982 { 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 4096 3985 tcl_ok=yes 4097 3986 else … … 4133 4022 ;; 4134 4023 *) 4135 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&54136 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}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;} 4137 4026 ;; 4138 4027 esac … … 4146 4035 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 4147 4036 SHLIB_SUFFIX=".sl" 4148 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&54149 $as_echo_n "checking for shl_load in -ldld..." >&6; }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; } 4150 4039 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4151 $as_echo_n "(cached)" >&64040 echo $ECHO_N "(cached) $ECHO_C" >&6 4152 4041 else 4153 4042 ac_check_lib_save_LIBS=$LIBS … … 4181 4070 *) ac_try_echo=$ac_try;; 4182 4071 esac 4183 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4184 $as_echo "$ac_try_echo") >&5 4072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4185 4073 (eval "$ac_link") 2>conftest.er1 4186 4074 ac_status=$? … … 4188 4076 rm -f conftest.er1 4189 4077 cat conftest.err >&5 4190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4191 4079 (exit $ac_status); } && { 4192 4080 test -z "$ac_c_werror_flag" || 4193 4081 test ! -s conftest.err 4194 } && test -s conftest$ac_exeext && { 4195 test "$cross_compiling" = yes || 4196 $as_test_x conftest$ac_exeext 4197 }; then 4082 } && test -s conftest$ac_exeext && 4083 $as_test_x conftest$ac_exeext; then 4198 4084 ac_cv_lib_dld_shl_load=yes 4199 4085 else 4200 $as_echo "$as_me: failed program was:" >&54086 echo "$as_me: failed program was:" >&5 4201 4087 sed 's/^/| /' conftest.$ac_ext >&5 4202 4088 … … 4204 4090 fi 4205 4091 4206 rm -rf conftest.dSYM4207 4092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4208 4093 conftest$ac_exeext conftest.$ac_ext 4209 4094 LIBS=$ac_check_lib_save_LIBS 4210 4095 fi 4211 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&54212 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }4213 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then4096 { 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 4214 4099 tcl_ok=yes 4215 4100 else … … 4290 4175 if test "$do64bit" = "yes" ; then 4291 4176 if test "$GCC" = "yes" ; then 4292 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&54293 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}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;} 4294 4179 else 4295 4180 do64bit_ok=yes … … 4320 4205 else 4321 4206 if test "${ac_cv_header_dld_h+set}" = set; then 4322 { $as_echo "$as_me:$LINENO: checking for dld.h" >&54323 $as_echo_n "checking for dld.h..." >&6; }4207 { echo "$as_me:$LINENO: checking for dld.h" >&5 4208 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 4324 4209 if test "${ac_cv_header_dld_h+set}" = set; then 4325 $as_echo_n "(cached)" >&64326 fi 4327 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&54328 $as_echo "$ac_cv_header_dld_h" >&6; }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; } 4329 4214 else 4330 4215 # Is the header compilable? 4331 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&54332 $as_echo_n "checking dld.h usability..." >&6; }4216 { echo "$as_me:$LINENO: checking dld.h usability" >&5 4217 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 4333 4218 cat >conftest.$ac_ext <<_ACEOF 4334 4219 /* confdefs.h. */ … … 4346 4231 *) ac_try_echo=$ac_try;; 4347 4232 esac 4348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4349 $as_echo "$ac_try_echo") >&5 4233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4350 4234 (eval "$ac_compile") 2>conftest.er1 4351 4235 ac_status=$? … … 4353 4237 rm -f conftest.er1 4354 4238 cat conftest.err >&5 4355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4356 4240 (exit $ac_status); } && { 4357 4241 test -z "$ac_c_werror_flag" || … … 4360 4244 ac_header_compiler=yes 4361 4245 else 4362 $as_echo "$as_me: failed program was:" >&54246 echo "$as_me: failed program was:" >&5 4363 4247 sed 's/^/| /' conftest.$ac_ext >&5 4364 4248 … … 4367 4251 4368 4252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4369 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&54370 $as_echo "$ac_header_compiler" >&6; }4253 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4254 echo "${ECHO_T}$ac_header_compiler" >&6; } 4371 4255 4372 4256 # Is the header present? 4373 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&54374 $as_echo_n "checking dld.h presence..." >&6; }4257 { echo "$as_me:$LINENO: checking dld.h presence" >&5 4258 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 4375 4259 cat >conftest.$ac_ext <<_ACEOF 4376 4260 /* confdefs.h. */ … … 4386 4270 *) ac_try_echo=$ac_try;; 4387 4271 esac 4388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4389 $as_echo "$ac_try_echo") >&5 4272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4390 4273 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4391 4274 ac_status=$? … … 4393 4276 rm -f conftest.er1 4394 4277 cat conftest.err >&5 4395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4396 4279 (exit $ac_status); } >/dev/null && { 4397 4280 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 4400 4283 ac_header_preproc=yes 4401 4284 else 4402 $as_echo "$as_me: failed program was:" >&54285 echo "$as_me: failed program was:" >&5 4403 4286 sed 's/^/| /' conftest.$ac_ext >&5 4404 4287 … … 4407 4290 4408 4291 rm -f conftest.err conftest.$ac_ext 4409 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&54410 $as_echo "$ac_header_preproc" >&6; }4292 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4293 echo "${ECHO_T}$ac_header_preproc" >&6; } 4411 4294 4412 4295 # So? What about this header? 4413 4296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4414 4297 yes:no: ) 4415 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&54416 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}4417 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&54418 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}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;} 4419 4302 ac_header_preproc=yes 4420 4303 ;; 4421 4304 no:yes:* ) 4422 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&54423 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}4424 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&54425 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;}4426 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&54427 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}4428 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&54429 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;}4430 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&54431 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}4432 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&54433 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}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;} 4434 4317 ( cat <<\_ASBOX 4435 4318 ## ----------------------------------- ## … … 4440 4323 ;; 4441 4324 esac 4442 { $as_echo "$as_me:$LINENO: checking for dld.h" >&54443 $as_echo_n "checking for dld.h..." >&6; }4325 { echo "$as_me:$LINENO: checking for dld.h" >&5 4326 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 4444 4327 if test "${ac_cv_header_dld_h+set}" = set; then 4445 $as_echo_n "(cached)" >&64328 echo $ECHO_N "(cached) $ECHO_C" >&6 4446 4329 else 4447 4330 ac_cv_header_dld_h=$ac_header_preproc 4448 4331 fi 4449 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&54450 $as_echo "$ac_cv_header_dld_h" >&6; }4451 4452 fi 4453 if test "x$ac_cv_header_dld_h" = x""yes; then4332 { 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 4454 4337 4455 4338 SHLIB_LD="ld -shared" … … 4466 4349 fi 4467 4350 if test $do64bit = yes; then 4468 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&54469 $as_echo_n "checking if compiler accepts -m64 flag..." >&6; }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; } 4470 4353 if test "${tcl_cv_cc_m64+set}" = set; then 4471 $as_echo_n "(cached)" >&64354 echo $ECHO_N "(cached) $ECHO_C" >&6 4472 4355 else 4473 4356 … … 4495 4378 *) ac_try_echo=$ac_try;; 4496 4379 esac 4497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4498 $as_echo "$ac_try_echo") >&5 4380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4499 4381 (eval "$ac_link") 2>conftest.er1 4500 4382 ac_status=$? … … 4502 4384 rm -f conftest.er1 4503 4385 cat conftest.err >&5 4504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4505 4387 (exit $ac_status); } && { 4506 4388 test -z "$ac_c_werror_flag" || 4507 4389 test ! -s conftest.err 4508 } && test -s conftest$ac_exeext && { 4509 test "$cross_compiling" = yes || 4510 $as_test_x conftest$ac_exeext 4511 }; then 4390 } && test -s conftest$ac_exeext && 4391 $as_test_x conftest$ac_exeext; then 4512 4392 tcl_cv_cc_m64=yes 4513 4393 else 4514 $as_echo "$as_me: failed program was:" >&54394 echo "$as_me: failed program was:" >&5 4515 4395 sed 's/^/| /' conftest.$ac_ext >&5 4516 4396 … … 4518 4398 fi 4519 4399 4520 rm -rf conftest.dSYM4521 4400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4522 4401 conftest$ac_exeext conftest.$ac_ext 4523 4402 CFLAGS=$hold_cflags 4524 4403 fi 4525 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&54526 $as_echo "$tcl_cv_cc_m64" >&6; }4404 { echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5 4405 echo "${ECHO_T}$tcl_cv_cc_m64" >&6; } 4527 4406 if test $tcl_cv_cc_m64 = yes; then 4528 4407 CFLAGS="$CFLAGS -m64" … … 4563 4442 else 4564 4443 if test "${ac_cv_header_dld_h+set}" = set; then 4565 { $as_echo "$as_me:$LINENO: checking for dld.h" >&54566 $as_echo_n "checking for dld.h..." >&6; }4444 { echo "$as_me:$LINENO: checking for dld.h" >&5 4445 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 4567 4446 if test "${ac_cv_header_dld_h+set}" = set; then 4568 $as_echo_n "(cached)" >&64569 fi 4570 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&54571 $as_echo "$ac_cv_header_dld_h" >&6; }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; } 4572 4451 else 4573 4452 # Is the header compilable? 4574 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&54575 $as_echo_n "checking dld.h usability..." >&6; }4453 { echo "$as_me:$LINENO: checking dld.h usability" >&5 4454 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 4576 4455 cat >conftest.$ac_ext <<_ACEOF 4577 4456 /* confdefs.h. */ … … 4589 4468 *) ac_try_echo=$ac_try;; 4590 4469 esac 4591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4592 $as_echo "$ac_try_echo") >&5 4470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4593 4471 (eval "$ac_compile") 2>conftest.er1 4594 4472 ac_status=$? … … 4596 4474 rm -f conftest.er1 4597 4475 cat conftest.err >&5 4598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54476 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4599 4477 (exit $ac_status); } && { 4600 4478 test -z "$ac_c_werror_flag" || … … 4603 4481 ac_header_compiler=yes 4604 4482 else 4605 $as_echo "$as_me: failed program was:" >&54483 echo "$as_me: failed program was:" >&5 4606 4484 sed 's/^/| /' conftest.$ac_ext >&5 4607 4485 … … 4610 4488 4611 4489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4612 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&54613 $as_echo "$ac_header_compiler" >&6; }4490 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4491 echo "${ECHO_T}$ac_header_compiler" >&6; } 4614 4492 4615 4493 # Is the header present? 4616 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&54617 $as_echo_n "checking dld.h presence..." >&6; }4494 { echo "$as_me:$LINENO: checking dld.h presence" >&5 4495 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 4618 4496 cat >conftest.$ac_ext <<_ACEOF 4619 4497 /* confdefs.h. */ … … 4629 4507 *) ac_try_echo=$ac_try;; 4630 4508 esac 4631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4632 $as_echo "$ac_try_echo") >&5 4509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4633 4510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4634 4511 ac_status=$? … … 4636 4513 rm -f conftest.er1 4637 4514 cat conftest.err >&5 4638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4639 4516 (exit $ac_status); } >/dev/null && { 4640 4517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 4643 4520 ac_header_preproc=yes 4644 4521 else 4645 $as_echo "$as_me: failed program was:" >&54522 echo "$as_me: failed program was:" >&5 4646 4523 sed 's/^/| /' conftest.$ac_ext >&5 4647 4524 … … 4650 4527 4651 4528 rm -f conftest.err conftest.$ac_ext 4652 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&54653 $as_echo "$ac_header_preproc" >&6; }4529 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4530 echo "${ECHO_T}$ac_header_preproc" >&6; } 4654 4531 4655 4532 # So? What about this header? 4656 4533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4657 4534 yes:no: ) 4658 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&54659 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}4660 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&54661 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}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;} 4662 4539 ac_header_preproc=yes 4663 4540 ;; 4664 4541 no:yes:* ) 4665 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&54666 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}4667 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&54668 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;}4669 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&54670 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}4671 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&54672 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;}4673 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&54674 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}4675 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&54676 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}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;} 4677 4554 ( cat <<\_ASBOX 4678 4555 ## ----------------------------------- ## … … 4683 4560 ;; 4684 4561 esac 4685 { $as_echo "$as_me:$LINENO: checking for dld.h" >&54686 $as_echo_n "checking for dld.h..." >&6; }4562 { echo "$as_me:$LINENO: checking for dld.h" >&5 4563 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 4687 4564 if test "${ac_cv_header_dld_h+set}" = set; then 4688 $as_echo_n "(cached)" >&64565 echo $ECHO_N "(cached) $ECHO_C" >&6 4689 4566 else 4690 4567 ac_cv_header_dld_h=$ac_header_preproc 4691 4568 fi 4692 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&54693 $as_echo "$ac_cv_header_dld_h" >&6; }4694 4695 fi 4696 if test "x$ac_cv_header_dld_h" = x""yes; then4569 { 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 4697 4574 4698 4575 SHLIB_LD="ld -shared" … … 4745 4622 # Not available on all versions: check for include file. 4746 4623 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4747 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&54748 $as_echo_n "checking for dlfcn.h..." >&6; }4624 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 4625 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 4749 4626 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4750 $as_echo_n "(cached)" >&64751 fi 4752 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&54753 $as_echo "$ac_cv_header_dlfcn_h" >&6; }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; } 4754 4631 else 4755 4632 # Is the header compilable? 4756 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&54757 $as_echo_n "checking dlfcn.h usability..." >&6; }4633 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 4634 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; } 4758 4635 cat >conftest.$ac_ext <<_ACEOF 4759 4636 /* confdefs.h. */ … … 4771 4648 *) ac_try_echo=$ac_try;; 4772 4649 esac 4773 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4774 $as_echo "$ac_try_echo") >&5 4650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4775 4651 (eval "$ac_compile") 2>conftest.er1 4776 4652 ac_status=$? … … 4778 4654 rm -f conftest.er1 4779 4655 cat conftest.err >&5 4780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4781 4657 (exit $ac_status); } && { 4782 4658 test -z "$ac_c_werror_flag" || … … 4785 4661 ac_header_compiler=yes 4786 4662 else 4787 $as_echo "$as_me: failed program was:" >&54663 echo "$as_me: failed program was:" >&5 4788 4664 sed 's/^/| /' conftest.$ac_ext >&5 4789 4665 … … 4792 4668 4793 4669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4794 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&54795 $as_echo "$ac_header_compiler" >&6; }4670 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4671 echo "${ECHO_T}$ac_header_compiler" >&6; } 4796 4672 4797 4673 # Is the header present? 4798 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&54799 $as_echo_n "checking dlfcn.h presence..." >&6; }4674 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 4675 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; } 4800 4676 cat >conftest.$ac_ext <<_ACEOF 4801 4677 /* confdefs.h. */ … … 4811 4687 *) ac_try_echo=$ac_try;; 4812 4688 esac 4813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4814 $as_echo "$ac_try_echo") >&5 4689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4815 4690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4816 4691 ac_status=$? … … 4818 4693 rm -f conftest.er1 4819 4694 cat conftest.err >&5 4820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4821 4696 (exit $ac_status); } >/dev/null && { 4822 4697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 4825 4700 ac_header_preproc=yes 4826 4701 else 4827 $as_echo "$as_me: failed program was:" >&54702 echo "$as_me: failed program was:" >&5 4828 4703 sed 's/^/| /' conftest.$ac_ext >&5 4829 4704 … … 4832 4707 4833 4708 rm -f conftest.err conftest.$ac_ext 4834 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&54835 $as_echo "$ac_header_preproc" >&6; }4709 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4710 echo "${ECHO_T}$ac_header_preproc" >&6; } 4836 4711 4837 4712 # So? What about this header? 4838 4713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4839 4714 yes:no: ) 4840 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&54841 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}4842 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&54843 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}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;} 4844 4719 ac_header_preproc=yes 4845 4720 ;; 4846 4721 no:yes:* ) 4847 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&54848 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}4849 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&54850 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}4851 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&54852 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}4853 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&54854 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;}4855 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&54856 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}4857 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&54858 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}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;} 4859 4734 ( cat <<\_ASBOX 4860 4735 ## ----------------------------------- ## … … 4865 4740 ;; 4866 4741 esac 4867 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&54868 $as_echo_n "checking for dlfcn.h..." >&6; }4742 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 4743 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 4869 4744 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4870 $as_echo_n "(cached)" >&64745 echo $ECHO_N "(cached) $ECHO_C" >&6 4871 4746 else 4872 4747 ac_cv_header_dlfcn_h=$ac_header_preproc 4873 4748 fi 4874 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&54875 $as_echo "$ac_cv_header_dlfcn_h" >&6; }4876 4877 fi 4878 if test "x$ac_cv_header_dlfcn_h" = x""yes; then4749 { 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 4879 4754 4880 4755 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 4887 4762 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4888 4763 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 4889 { $as_echo "$as_me:$LINENO: checking for ELF" >&54890 $as_echo_n "checking for ELF..." >&6; }4764 { echo "$as_me:$LINENO: checking for ELF" >&5 4765 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 4891 4766 if test "${tcl_cv_ld_elf+set}" = set; then 4892 $as_echo_n "(cached)" >&64767 echo $ECHO_N "(cached) $ECHO_C" >&6 4893 4768 else 4894 4769 … … 4914 4789 4915 4790 fi 4916 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&54917 $as_echo "$tcl_cv_ld_elf" >&6; }4791 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 4792 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; } 4918 4793 if test $tcl_cv_ld_elf = yes; then 4919 4794 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' … … 4973 4848 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4974 4849 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 4975 { $as_echo "$as_me:$LINENO: checking for ELF" >&54976 $as_echo_n "checking for ELF..." >&6; }4850 { echo "$as_me:$LINENO: checking for ELF" >&5 4851 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 4977 4852 if test "${tcl_cv_ld_elf+set}" = set; then 4978 $as_echo_n "(cached)" >&64853 echo $ECHO_N "(cached) $ECHO_C" >&6 4979 4854 else 4980 4855 … … 5000 4875 5001 4876 fi 5002 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&55003 $as_echo "$tcl_cv_ld_elf" >&6; }4877 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 4878 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; } 5004 4879 if test $tcl_cv_ld_elf = yes; then 5005 4880 LDFLAGS=-Wl,-export-dynamic … … 5055 4930 case `arch` in 5056 4931 ppc) 5057 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&55058 $as_echo_n "checking if compiler accepts -arch ppc64 flag..." >&6; }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; } 5059 4934 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then 5060 $as_echo_n "(cached)" >&64935 echo $ECHO_N "(cached) $ECHO_C" >&6 5061 4936 else 5062 4937 … … 5084 4959 *) ac_try_echo=$ac_try;; 5085 4960 esac 5086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5087 $as_echo "$ac_try_echo") >&5 4961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5088 4962 (eval "$ac_link") 2>conftest.er1 5089 4963 ac_status=$? … … 5091 4965 rm -f conftest.er1 5092 4966 cat conftest.err >&5 5093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5094 4968 (exit $ac_status); } && { 5095 4969 test -z "$ac_c_werror_flag" || 5096 4970 test ! -s conftest.err 5097 } && test -s conftest$ac_exeext && { 5098 test "$cross_compiling" = yes || 5099 $as_test_x conftest$ac_exeext 5100 }; then 4971 } && test -s conftest$ac_exeext && 4972 $as_test_x conftest$ac_exeext; then 5101 4973 tcl_cv_cc_arch_ppc64=yes 5102 4974 else 5103 $as_echo "$as_me: failed program was:" >&54975 echo "$as_me: failed program was:" >&5 5104 4976 sed 's/^/| /' conftest.$ac_ext >&5 5105 4977 … … 5107 4979 fi 5108 4980 5109 rm -rf conftest.dSYM5110 4981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5111 4982 conftest$ac_exeext conftest.$ac_ext 5112 4983 CFLAGS=$hold_cflags 5113 4984 fi 5114 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&55115 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; }4985 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5 4986 echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; } 5116 4987 if test $tcl_cv_cc_arch_ppc64 = yes; then 5117 4988 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" … … 5119 4990 fi;; 5120 4991 i386) 5121 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&55122 $as_echo_n "checking if compiler accepts -arch x86_64 flag..." >&6; }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; } 5123 4994 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then 5124 $as_echo_n "(cached)" >&64995 echo $ECHO_N "(cached) $ECHO_C" >&6 5125 4996 else 5126 4997 … … 5148 5019 *) ac_try_echo=$ac_try;; 5149 5020 esac 5150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5151 $as_echo "$ac_try_echo") >&5 5021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5152 5022 (eval "$ac_link") 2>conftest.er1 5153 5023 ac_status=$? … … 5155 5025 rm -f conftest.er1 5156 5026 cat conftest.err >&5 5157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&55027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5158 5028 (exit $ac_status); } && { 5159 5029 test -z "$ac_c_werror_flag" || 5160 5030 test ! -s conftest.err 5161 } && test -s conftest$ac_exeext && { 5162 test "$cross_compiling" = yes || 5163 $as_test_x conftest$ac_exeext 5164 }; then 5031 } && test -s conftest$ac_exeext && 5032 $as_test_x conftest$ac_exeext; then 5165 5033 tcl_cv_cc_arch_x86_64=yes 5166 5034 else 5167 $as_echo "$as_me: failed program was:" >&55035 echo "$as_me: failed program was:" >&5 5168 5036 sed 's/^/| /' conftest.$ac_ext >&5 5169 5037 … … 5171 5039 fi 5172 5040 5173 rm -rf conftest.dSYM5174 5041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5175 5042 conftest$ac_exeext conftest.$ac_ext 5176 5043 CFLAGS=$hold_cflags 5177 5044 fi 5178 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&55179 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; }5045 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5 5046 echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; } 5180 5047 if test $tcl_cv_cc_arch_x86_64 = yes; then 5181 5048 CFLAGS="$CFLAGS -arch x86_64" … … 5183 5050 fi;; 5184 5051 *) 5185 { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&55186 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;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;};; 5187 5054 esac 5188 5055 else … … 5193 5060 fi 5194 5061 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 5195 { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&55196 $as_echo_n "checking if ld accepts -single_module flag..." >&6; }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; } 5197 5064 if test "${tcl_cv_ld_single_module+set}" = set; then 5198 $as_echo_n "(cached)" >&65065 echo $ECHO_N "(cached) $ECHO_C" >&6 5199 5066 else 5200 5067 … … 5222 5089 *) ac_try_echo=$ac_try;; 5223 5090 esac 5224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5225 $as_echo "$ac_try_echo") >&5 5091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5226 5092 (eval "$ac_link") 2>conftest.er1 5227 5093 ac_status=$? … … 5229 5095 rm -f conftest.er1 5230 5096 cat conftest.err >&5 5231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&55097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5232 5098 (exit $ac_status); } && { 5233 5099 test -z "$ac_c_werror_flag" || 5234 5100 test ! -s conftest.err 5235 } && test -s conftest$ac_exeext && { 5236 test "$cross_compiling" = yes || 5237 $as_test_x conftest$ac_exeext 5238 }; then 5101 } && test -s conftest$ac_exeext && 5102 $as_test_x conftest$ac_exeext; then 5239 5103 tcl_cv_ld_single_module=yes 5240 5104 else 5241 $as_echo "$as_me: failed program was:" >&55105 echo "$as_me: failed program was:" >&5 5242 5106 sed 's/^/| /' conftest.$ac_ext >&5 5243 5107 … … 5245 5109 fi 5246 5110 5247 rm -rf conftest.dSYM5248 5111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5249 5112 conftest$ac_exeext conftest.$ac_ext 5250 5113 LDFLAGS=$hold_ldflags 5251 5114 fi 5252 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&55253 $as_echo "$tcl_cv_ld_single_module" >&6; }5115 { echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5 5116 echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; } 5254 5117 if test $tcl_cv_ld_single_module = yes; then 5255 5118 SHLIB_LD="${SHLIB_LD} -Wl,-single_module" … … 5264 5127 LDFLAGS="$LDFLAGS -prebind" 5265 5128 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 5266 { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&55267 $as_echo_n "checking if ld accepts -search_paths_first flag..." >&6; }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; } 5268 5131 if test "${tcl_cv_ld_search_paths_first+set}" = set; then 5269 $as_echo_n "(cached)" >&65132 echo $ECHO_N "(cached) $ECHO_C" >&6 5270 5133 else 5271 5134 … … 5293 5156 *) ac_try_echo=$ac_try;; 5294 5157 esac 5295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5296 $as_echo "$ac_try_echo") >&5 5158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5297 5159 (eval "$ac_link") 2>conftest.er1 5298 5160 ac_status=$? … … 5300 5162 rm -f conftest.er1 5301 5163 cat conftest.err >&5 5302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&55164 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5303 5165 (exit $ac_status); } && { 5304 5166 test -z "$ac_c_werror_flag" || 5305 5167 test ! -s conftest.err 5306 } && test -s conftest$ac_exeext && { 5307 test "$cross_compiling" = yes || 5308 $as_test_x conftest$ac_exeext 5309 }; then 5168 } && test -s conftest$ac_exeext && 5169 $as_test_x conftest$ac_exeext; then 5310 5170 tcl_cv_ld_search_paths_first=yes 5311 5171 else 5312 $as_echo "$as_me: failed program was:" >&55172 echo "$as_me: failed program was:" >&5 5313 5173 sed 's/^/| /' conftest.$ac_ext >&5 5314 5174 … … 5316 5176 fi 5317 5177 5318 rm -rf conftest.dSYM5319 5178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5320 5179 conftest$ac_exeext conftest.$ac_ext 5321 5180 LDFLAGS=$hold_ldflags 5322 5181 fi 5323 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&55324 $as_echo "$tcl_cv_ld_search_paths_first" >&6; }5182 { echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5 5183 echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; } 5325 5184 if test $tcl_cv_ld_search_paths_first = yes; then 5326 5185 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" … … 5331 5190 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 5332 5191 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 5333 { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&55334 $as_echo_n "checking whether to use CoreFoundation..." >&6; }5192 { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5 5193 echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; } 5335 5194 # Check whether --enable-corefoundation was given. 5336 5195 if test "${enable_corefoundation+set}" = set; then … … 5340 5199 fi 5341 5200 5342 { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&55343 $as_echo "$tcl_corefoundation" >&6; }5201 { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5 5202 echo "${ECHO_T}$tcl_corefoundation" >&6; } 5344 5203 if test $tcl_corefoundation = yes; then 5345 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&55346 $as_echo_n "checking for CoreFoundation.framework..." >&6; }5204 { echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5 5205 echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; } 5347 5206 if test "${tcl_cv_lib_corefoundation+set}" = set; then 5348 $as_echo_n "(cached)" >&65207 echo $ECHO_N "(cached) $ECHO_C" >&6 5349 5208 else 5350 5209 … … 5378 5237 *) ac_try_echo=$ac_try;; 5379 5238 esac 5380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5381 $as_echo "$ac_try_echo") >&5 5239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5382 5240 (eval "$ac_link") 2>conftest.er1 5383 5241 ac_status=$? … … 5385 5243 rm -f conftest.er1 5386 5244 cat conftest.err >&5 5387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&55245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5388 5246 (exit $ac_status); } && { 5389 5247 test -z "$ac_c_werror_flag" || 5390 5248 test ! -s conftest.err 5391 } && test -s conftest$ac_exeext && { 5392 test "$cross_compiling" = yes || 5393 $as_test_x conftest$ac_exeext 5394 }; then 5249 } && test -s conftest$ac_exeext && 5250 $as_test_x conftest$ac_exeext; then 5395 5251 tcl_cv_lib_corefoundation=yes 5396 5252 else 5397 $as_echo "$as_me: failed program was:" >&55253 echo "$as_me: failed program was:" >&5 5398 5254 sed 's/^/| /' conftest.$ac_ext >&5 5399 5255 … … 5401 5257 fi 5402 5258 5403 rm -rf conftest.dSYM5404 5259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5405 5260 conftest$ac_exeext conftest.$ac_ext … … 5408 5263 done; fi; LIBS=$hold_libs 5409 5264 fi 5410 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&55411 $as_echo "$tcl_cv_lib_corefoundation" >&6; }5265 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5 5266 echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; } 5412 5267 if test $tcl_cv_lib_corefoundation = yes; then 5413 5268 LIBS="$LIBS -framework CoreFoundation" … … 5420 5275 fi 5421 5276 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 5422 { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&55423 $as_echo_n "checking for 64-bit CoreFoundation..." >&6; }5277 { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5 5278 echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; } 5424 5279 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then 5425 $as_echo_n "(cached)" >&65280 echo $ECHO_N "(cached) $ECHO_C" >&6 5426 5281 else 5427 5282 … … 5450 5305 *) ac_try_echo=$ac_try;; 5451 5306 esac 5452 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5453 $as_echo "$ac_try_echo") >&5 5307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5454 5308 (eval "$ac_link") 2>conftest.er1 5455 5309 ac_status=$? … … 5457 5311 rm -f conftest.er1 5458 5312 cat conftest.err >&5 5459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&55313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5460 5314 (exit $ac_status); } && { 5461 5315 test -z "$ac_c_werror_flag" || 5462 5316 test ! -s conftest.err 5463 } && test -s conftest$ac_exeext && { 5464 test "$cross_compiling" = yes || 5465 $as_test_x conftest$ac_exeext 5466 }; then 5317 } && test -s conftest$ac_exeext && 5318 $as_test_x conftest$ac_exeext; then 5467 5319 tcl_cv_lib_corefoundation_64=yes 5468 5320 else 5469 $as_echo "$as_me: failed program was:" >&55321 echo "$as_me: failed program was:" >&5 5470 5322 sed 's/^/| /' conftest.$ac_ext >&5 5471 5323 … … 5473 5325 fi 5474 5326 5475 rm -rf conftest.dSYM5476 5327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5477 5328 conftest$ac_exeext conftest.$ac_ext … … 5480 5331 done 5481 5332 fi 5482 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&55483 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; }5333 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5 5334 echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; } 5484 5335 if test $tcl_cv_lib_corefoundation_64 = no; then 5485 5336 cat >>confdefs.h <<\_ACEOF … … 5699 5550 if test "$GCC" = "yes" ; then 5700 5551 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 5701 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&55702 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}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;} 5703 5554 else 5704 5555 do64bit_ok=yes … … 5721 5572 elif test "$arch" = "amd64 i386" ; then 5722 5573 if test "$GCC" = "yes" ; then 5723 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&55724 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}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;} 5725 5576 else 5726 5577 do64bit_ok=yes … … 5729 5580 fi 5730 5581 else 5731 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&55732 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}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;} 5733 5584 fi 5734 5585 fi … … 5788 5639 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 5789 5640 # that don't grok the -Bexport option. Test that it does. 5790 { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&55791 $as_echo_n "checking for ld accepts -Bexport flag..." >&6; }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; } 5792 5643 if test "${tcl_cv_ld_Bexport+set}" = set; then 5793 $as_echo_n "(cached)" >&65644 echo $ECHO_N "(cached) $ECHO_C" >&6 5794 5645 else 5795 5646 … … 5817 5668 *) ac_try_echo=$ac_try;; 5818 5669 esac 5819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5820 $as_echo "$ac_try_echo") >&5 5670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5821 5671 (eval "$ac_link") 2>conftest.er1 5822 5672 ac_status=$? … … 5824 5674 rm -f conftest.er1 5825 5675 cat conftest.err >&5 5826 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&55676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5827 5677 (exit $ac_status); } && { 5828 5678 test -z "$ac_c_werror_flag" || 5829 5679 test ! -s conftest.err 5830 } && test -s conftest$ac_exeext && { 5831 test "$cross_compiling" = yes || 5832 $as_test_x conftest$ac_exeext 5833 }; then 5680 } && test -s conftest$ac_exeext && 5681 $as_test_x conftest$ac_exeext; then 5834 5682 tcl_cv_ld_Bexport=yes 5835 5683 else 5836 $as_echo "$as_me: failed program was:" >&55684 echo "$as_me: failed program was:" >&5 5837 5685 sed 's/^/| /' conftest.$ac_ext >&5 5838 5686 … … 5840 5688 fi 5841 5689 5842 rm -rf conftest.dSYM5843 5690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5844 5691 conftest$ac_exeext conftest.$ac_ext 5845 5692 LDFLAGS=$hold_ldflags 5846 5693 fi 5847 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&55848 $as_echo "$tcl_cv_ld_Bexport" >&6; }5694 { echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5 5695 echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; } 5849 5696 if test $tcl_cv_ld_Bexport = yes; then 5850 5697 LDFLAGS="$LDFLAGS -Wl,-Bexport" … … 5856 5703 5857 5704 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 5858 { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&55859 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}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;} 5860 5707 fi 5861 5708 … … 5883 5730 5884 5731 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 5885 { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&55886 $as_echo_n "checking sys/exec.h..." >&6; }5732 { echo "$as_me:$LINENO: checking sys/exec.h" >&5 5733 echo $ECHO_N "checking sys/exec.h... $ECHO_C" >&6; } 5887 5734 if test "${tcl_cv_sysexec_h+set}" = set; then 5888 $as_echo_n "(cached)" >&65735 echo $ECHO_N "(cached) $ECHO_C" >&6 5889 5736 else 5890 5737 … … 5921 5768 *) ac_try_echo=$ac_try;; 5922 5769 esac 5923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5924 $as_echo "$ac_try_echo") >&5 5770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5925 5771 (eval "$ac_compile") 2>conftest.er1 5926 5772 ac_status=$? … … 5928 5774 rm -f conftest.er1 5929 5775 cat conftest.err >&5 5930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&55776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5931 5777 (exit $ac_status); } && { 5932 5778 test -z "$ac_c_werror_flag" || … … 5935 5781 tcl_cv_sysexec_h=usable 5936 5782 else 5937 $as_echo "$as_me: failed program was:" >&55783 echo "$as_me: failed program was:" >&5 5938 5784 sed 's/^/| /' conftest.$ac_ext >&5 5939 5785 … … 5943 5789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5944 5790 fi 5945 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&55946 $as_echo "$tcl_cv_sysexec_h" >&6; }5791 { echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5 5792 echo "${ECHO_T}$tcl_cv_sysexec_h" >&6; } 5947 5793 if test $tcl_cv_sysexec_h = usable; then 5948 5794 cat >>confdefs.h <<\_ACEOF … … 5951 5797 5952 5798 else 5953 { $as_echo "$as_me:$LINENO: checking a.out.h" >&55954 $as_echo_n "checking a.out.h..." >&6; }5799 { echo "$as_me:$LINENO: checking a.out.h" >&5 5800 echo $ECHO_N "checking a.out.h... $ECHO_C" >&6; } 5955 5801 if test "${tcl_cv_aout_h+set}" = set; then 5956 $as_echo_n "(cached)" >&65802 echo $ECHO_N "(cached) $ECHO_C" >&6 5957 5803 else 5958 5804 … … 5989 5835 *) ac_try_echo=$ac_try;; 5990 5836 esac 5991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5992 $as_echo "$ac_try_echo") >&5 5837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5993 5838 (eval "$ac_compile") 2>conftest.er1 5994 5839 ac_status=$? … … 5996 5841 rm -f conftest.er1 5997 5842 cat conftest.err >&5 5998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&55843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5999 5844 (exit $ac_status); } && { 6000 5845 test -z "$ac_c_werror_flag" || … … 6003 5848 tcl_cv_aout_h=usable 6004 5849 else 6005 $as_echo "$as_me: failed program was:" >&55850 echo "$as_me: failed program was:" >&5 6006 5851 sed 's/^/| /' conftest.$ac_ext >&5 6007 5852 … … 6011 5856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6012 5857 fi 6013 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&56014 $as_echo "$tcl_cv_aout_h" >&6; }5858 { echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5 5859 echo "${ECHO_T}$tcl_cv_aout_h" >&6; } 6015 5860 if test $tcl_cv_aout_h = usable; then 6016 5861 cat >>confdefs.h <<\_ACEOF … … 6019 5864 6020 5865 else 6021 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&56022 $as_echo_n "checking sys/exec_aout.h..." >&6; }5866 { echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 5867 echo $ECHO_N "checking sys/exec_aout.h... $ECHO_C" >&6; } 6023 5868 if test "${tcl_cv_sysexecaout_h+set}" = set; then 6024 $as_echo_n "(cached)" >&65869 echo $ECHO_N "(cached) $ECHO_C" >&6 6025 5870 else 6026 5871 … … 6057 5902 *) ac_try_echo=$ac_try;; 6058 5903 esac 6059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6060 $as_echo "$ac_try_echo") >&5 5904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6061 5905 (eval "$ac_compile") 2>conftest.er1 6062 5906 ac_status=$? … … 6064 5908 rm -f conftest.er1 6065 5909 cat conftest.err >&5 6066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&55910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6067 5911 (exit $ac_status); } && { 6068 5912 test -z "$ac_c_werror_flag" || … … 6071 5915 tcl_cv_sysexecaout_h=usable 6072 5916 else 6073 $as_echo "$as_me: failed program was:" >&55917 echo "$as_me: failed program was:" >&5 6074 5918 sed 's/^/| /' conftest.$ac_ext >&5 6075 5919 … … 6079 5923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6080 5924 fi 6081 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&56082 $as_echo "$tcl_cv_sysexecaout_h" >&6; }5925 { echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5 5926 echo "${ECHO_T}$tcl_cv_sysexecaout_h" >&6; } 6083 5927 if test $tcl_cv_sysexecaout_h = usable; then 6084 5928 cat >>confdefs.h <<\_ACEOF … … 6243 6087 done 6244 6088 if test -z "$ac_aux_dir"; then 6245 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&56246 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}6089 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 6090 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 6247 6091 { (exit 1); exit 1; }; } 6248 6092 fi … … 6270 6114 # OS/2's system install, which has a completely different semantic 6271 6115 # ./install, which can be erroneously created by make from ./install.sh. 6272 # Reject install programs that cannot install multiple files. 6273 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6274 $as_echo_n "checking for a BSD-compatible install... " >&6; } 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; } 6275 6118 if test -z "$INSTALL"; then 6276 6119 if test "${ac_cv_path_install+set}" = set; then 6277 $as_echo_n "(cached)" >&66120 echo $ECHO_N "(cached) $ECHO_C" >&6 6278 6121 else 6279 6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 6304 6147 : 6305 6148 else 6306 rm -rf conftest.one conftest.two conftest.dir 6307 echo one > conftest.one 6308 echo two > conftest.two 6309 mkdir conftest.dir 6310 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 6311 test -s conftest.one && test -s conftest.two && 6312 test -s conftest.dir/conftest.one && 6313 test -s conftest.dir/conftest.two 6314 then 6315 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 6316 break 3 6317 fi 6149 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 6150 break 3 6318 6151 fi 6319 6152 fi … … 6322 6155 ;; 6323 6156 esac 6324 6325 6157 done 6326 6158 IFS=$as_save_IFS 6327 6159 6328 rm -rf conftest.one conftest.two conftest.dir6329 6160 6330 6161 fi … … 6339 6170 fi 6340 6171 fi 6341 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&56342 $as_echo "$INSTALL" >&6; }6172 { echo "$as_me:$LINENO: result: $INSTALL" >&5 6173 echo "${ECHO_T}$INSTALL" >&6; } 6343 6174 6344 6175 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 6353 6184 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6354 6185 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6355 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&56356 $as_echo_n "checking for $ac_word..." >&6; }6186 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6357 6188 if test "${ac_cv_prog_RANLIB+set}" = set; then 6358 $as_echo_n "(cached)" >&66189 echo $ECHO_N "(cached) $ECHO_C" >&6 6359 6190 else 6360 6191 if test -n "$RANLIB"; then … … 6369 6200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6370 6201 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6371 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6372 6203 break 2 6373 6204 fi … … 6380 6211 RANLIB=$ac_cv_prog_RANLIB 6381 6212 if test -n "$RANLIB"; then 6382 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&56383 $as_echo "$RANLIB" >&6; }6384 else 6385 { $as_echo "$as_me:$LINENO: result: no" >&56386 $as_echo "no" >&6; }6213 { echo "$as_me:$LINENO: result: $RANLIB" >&5 6214 echo "${ECHO_T}$RANLIB" >&6; } 6215 else 6216 { echo "$as_me:$LINENO: result: no" >&5 6217 echo "${ECHO_T}no" >&6; } 6387 6218 fi 6388 6219 … … 6393 6224 # Extract the first word of "ranlib", so it can be a program name with args. 6394 6225 set dummy ranlib; ac_word=$2 6395 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&56396 $as_echo_n "checking for $ac_word..." >&6; }6226 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6397 6228 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 6398 $as_echo_n "(cached)" >&66229 echo $ECHO_N "(cached) $ECHO_C" >&6 6399 6230 else 6400 6231 if test -n "$ac_ct_RANLIB"; then … … 6409 6240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6410 6241 ac_cv_prog_ac_ct_RANLIB="ranlib" 6411 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6412 6243 break 2 6413 6244 fi … … 6420 6251 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6421 6252 if test -n "$ac_ct_RANLIB"; then 6422 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&56423 $as_echo "$ac_ct_RANLIB" >&6; }6424 else 6425 { $as_echo "$as_me:$LINENO: result: no" >&56426 $as_echo "no" >&6; }6253 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 6254 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 6255 else 6256 { echo "$as_me:$LINENO: result: no" >&5 6257 echo "${ECHO_T}no" >&6; } 6427 6258 fi 6428 6259 … … 6432 6263 case $cross_compiling:$ac_tool_warned in 6433 6264 yes:) 6434 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 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;} 6436 6271 ac_tool_warned=yes ;; 6437 6272 esac … … 6442 6277 fi 6443 6278 6444 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&56445 $as_echo_n "checking whether ln -s works..." >&6; }6279 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 6280 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 6446 6281 LN_S=$as_ln_s 6447 6282 if test "$LN_S" = "ln -s"; then 6448 { $as_echo "$as_me:$LINENO: result: yes" >&56449 $as_echo "yes" >&6; }6450 else 6451 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&56452 $as_echo "no, using $LN_S" >&6; }6453 fi 6454 6455 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&56456 $as_echo_n "checking for a thread-safe mkdir -p..." >&6; }6283 { echo "$as_me:$LINENO: result: yes" >&5 6284 echo "${ECHO_T}yes" >&6; } 6285 else 6286 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 6287 echo "${ECHO_T}no, using $LN_S" >&6; } 6288 fi 6289 6290 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 6291 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 6457 6292 if test -z "$MKDIR_P"; then 6458 6293 if test "${ac_cv_path_mkdir+set}" = set; then 6459 $as_echo_n "(cached)" >&66294 echo $ECHO_N "(cached) $ECHO_C" >&6 6460 6295 else 6461 6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 6492 6327 fi 6493 6328 fi 6494 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&56495 $as_echo "$MKDIR_P" >&6; }6329 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 6330 echo "${ECHO_T}$MKDIR_P" >&6; } 6496 6331 6497 6332 … … 6504 6339 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 6505 6340 set dummy ${ac_tool_prefix}gcc; ac_word=$2 6506 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&56507 $as_echo_n "checking for $ac_word..." >&6; }6341 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6508 6343 if test "${ac_cv_prog_CC+set}" = set; then 6509 $as_echo_n "(cached)" >&66344 echo $ECHO_N "(cached) $ECHO_C" >&6 6510 6345 else 6511 6346 if test -n "$CC"; then … … 6520 6355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6521 6356 ac_cv_prog_CC="${ac_tool_prefix}gcc" 6522 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6523 6358 break 2 6524 6359 fi … … 6531 6366 CC=$ac_cv_prog_CC 6532 6367 if test -n "$CC"; then 6533 { $as_echo "$as_me:$LINENO: result: $CC" >&56534 $as_echo "$CC" >&6; }6535 else 6536 { $as_echo "$as_me:$LINENO: result: no" >&56537 $as_echo "no" >&6; }6368 { echo "$as_me:$LINENO: result: $CC" >&5 6369 echo "${ECHO_T}$CC" >&6; } 6370 else 6371 { echo "$as_me:$LINENO: result: no" >&5 6372 echo "${ECHO_T}no" >&6; } 6538 6373 fi 6539 6374 … … 6544 6379 # Extract the first word of "gcc", so it can be a program name with args. 6545 6380 set dummy gcc; ac_word=$2 6546 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&56547 $as_echo_n "checking for $ac_word..." >&6; }6381 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6548 6383 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6549 $as_echo_n "(cached)" >&66384 echo $ECHO_N "(cached) $ECHO_C" >&6 6550 6385 else 6551 6386 if test -n "$ac_ct_CC"; then … … 6560 6395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6561 6396 ac_cv_prog_ac_ct_CC="gcc" 6562 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6563 6398 break 2 6564 6399 fi … … 6571 6406 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6572 6407 if test -n "$ac_ct_CC"; then 6573 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&56574 $as_echo "$ac_ct_CC" >&6; }6575 else 6576 { $as_echo "$as_me:$LINENO: result: no" >&56577 $as_echo "no" >&6; }6408 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 6409 echo "${ECHO_T}$ac_ct_CC" >&6; } 6410 else 6411 { echo "$as_me:$LINENO: result: no" >&5 6412 echo "${ECHO_T}no" >&6; } 6578 6413 fi 6579 6414 … … 6583 6418 case $cross_compiling:$ac_tool_warned in 6584 6419 yes:) 6585 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 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;} 6587 6426 ac_tool_warned=yes ;; 6588 6427 esac … … 6597 6436 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 6598 6437 set dummy ${ac_tool_prefix}cc; ac_word=$2 6599 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&56600 $as_echo_n "checking for $ac_word..." >&6; }6438 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6601 6440 if test "${ac_cv_prog_CC+set}" = set; then 6602 $as_echo_n "(cached)" >&66441 echo $ECHO_N "(cached) $ECHO_C" >&6 6603 6442 else 6604 6443 if test -n "$CC"; then … … 6613 6452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6614 6453 ac_cv_prog_CC="${ac_tool_prefix}cc" 6615 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6616 6455 break 2 6617 6456 fi … … 6624 6463 CC=$ac_cv_prog_CC 6625 6464 if test -n "$CC"; then 6626 { $as_echo "$as_me:$LINENO: result: $CC" >&56627 $as_echo "$CC" >&6; }6628 else 6629 { $as_echo "$as_me:$LINENO: result: no" >&56630 $as_echo "no" >&6; }6465 { echo "$as_me:$LINENO: result: $CC" >&5 6466 echo "${ECHO_T}$CC" >&6; } 6467 else 6468 { echo "$as_me:$LINENO: result: no" >&5 6469 echo "${ECHO_T}no" >&6; } 6631 6470 fi 6632 6471 … … 6637 6476 # Extract the first word of "cc", so it can be a program name with args. 6638 6477 set dummy cc; ac_word=$2 6639 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&56640 $as_echo_n "checking for $ac_word..." >&6; }6478 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6641 6480 if test "${ac_cv_prog_CC+set}" = set; then 6642 $as_echo_n "(cached)" >&66481 echo $ECHO_N "(cached) $ECHO_C" >&6 6643 6482 else 6644 6483 if test -n "$CC"; then … … 6658 6497 fi 6659 6498 ac_cv_prog_CC="cc" 6660 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6661 6500 break 2 6662 6501 fi … … 6681 6520 CC=$ac_cv_prog_CC 6682 6521 if test -n "$CC"; then 6683 { $as_echo "$as_me:$LINENO: result: $CC" >&56684 $as_echo "$CC" >&6; }6685 else 6686 { $as_echo "$as_me:$LINENO: result: no" >&56687 $as_echo "no" >&6; }6522 { echo "$as_me:$LINENO: result: $CC" >&5 6523 echo "${ECHO_T}$CC" >&6; } 6524 else 6525 { echo "$as_me:$LINENO: result: no" >&5 6526 echo "${ECHO_T}no" >&6; } 6688 6527 fi 6689 6528 … … 6696 6535 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6697 6536 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6698 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&56699 $as_echo_n "checking for $ac_word..." >&6; }6537 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6700 6539 if test "${ac_cv_prog_CC+set}" = set; then 6701 $as_echo_n "(cached)" >&66540 echo $ECHO_N "(cached) $ECHO_C" >&6 6702 6541 else 6703 6542 if test -n "$CC"; then … … 6712 6551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6713 6552 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 6714 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6715 6554 break 2 6716 6555 fi … … 6723 6562 CC=$ac_cv_prog_CC 6724 6563 if test -n "$CC"; then 6725 { $as_echo "$as_me:$LINENO: result: $CC" >&56726 $as_echo "$CC" >&6; }6727 else 6728 { $as_echo "$as_me:$LINENO: result: no" >&56729 $as_echo "no" >&6; }6564 { echo "$as_me:$LINENO: result: $CC" >&5 6565 echo "${ECHO_T}$CC" >&6; } 6566 else 6567 { echo "$as_me:$LINENO: result: no" >&5 6568 echo "${ECHO_T}no" >&6; } 6730 6569 fi 6731 6570 … … 6740 6579 # Extract the first word of "$ac_prog", so it can be a program name with args. 6741 6580 set dummy $ac_prog; ac_word=$2 6742 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&56743 $as_echo_n "checking for $ac_word..." >&6; }6581 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6744 6583 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6745 $as_echo_n "(cached)" >&66584 echo $ECHO_N "(cached) $ECHO_C" >&6 6746 6585 else 6747 6586 if test -n "$ac_ct_CC"; then … … 6756 6595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6757 6596 ac_cv_prog_ac_ct_CC="$ac_prog" 6758 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6759 6598 break 2 6760 6599 fi … … 6767 6606 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6768 6607 if test -n "$ac_ct_CC"; then 6769 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&56770 $as_echo "$ac_ct_CC" >&6; }6771 else 6772 { $as_echo "$as_me:$LINENO: result: no" >&56773 $as_echo "no" >&6; }6608 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 6609 echo "${ECHO_T}$ac_ct_CC" >&6; } 6610 else 6611 { echo "$as_me:$LINENO: result: no" >&5 6612 echo "${ECHO_T}no" >&6; } 6774 6613 fi 6775 6614 … … 6783 6622 case $cross_compiling:$ac_tool_warned in 6784 6623 yes:) 6785 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 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;} 6787 6630 ac_tool_warned=yes ;; 6788 6631 esac … … 6794 6637 6795 6638 6796 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 6797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6798 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 6639 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 6799 6640 See \`config.log' for more details." >&5 6800 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH6641 echo "$as_me: error: no acceptable C compiler found in \$PATH 6801 6642 See \`config.log' for more details." >&2;} 6802 { (exit 1); exit 1; }; } ; }6643 { (exit 1); exit 1; }; } 6803 6644 6804 6645 # Provide some information about the compiler. 6805 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 6806 set X $ac_compile 6807 ac_compiler=$2 6646 echo "$as_me:$LINENO: checking for C compiler version" >&5 6647 ac_compiler=`set X $ac_compile; echo $2` 6808 6648 { (ac_try="$ac_compiler --version >&5" 6809 6649 case "(($ac_try" in … … 6811 6651 *) ac_try_echo=$ac_try;; 6812 6652 esac 6813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6814 $as_echo "$ac_try_echo") >&5 6653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6815 6654 (eval "$ac_compiler --version >&5") 2>&5 6816 6655 ac_status=$? 6817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&56656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6818 6657 (exit $ac_status); } 6819 6658 { (ac_try="$ac_compiler -v >&5" … … 6822 6661 *) ac_try_echo=$ac_try;; 6823 6662 esac 6824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6825 $as_echo "$ac_try_echo") >&5 6663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6826 6664 (eval "$ac_compiler -v >&5") 2>&5 6827 6665 ac_status=$? 6828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&56666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6829 6667 (exit $ac_status); } 6830 6668 { (ac_try="$ac_compiler -V >&5" … … 6833 6671 *) ac_try_echo=$ac_try;; 6834 6672 esac 6835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6836 $as_echo "$ac_try_echo") >&5 6673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6837 6674 (eval "$ac_compiler -V >&5") 2>&5 6838 6675 ac_status=$? 6839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&56676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6840 6677 (exit $ac_status); } 6841 6678 6842 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&56843 $as_echo_n "checking whether we are using the GNU C compiler..." >&6; }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; } 6844 6681 if test "${ac_cv_c_compiler_gnu+set}" = set; then 6845 $as_echo_n "(cached)" >&66682 echo $ECHO_N "(cached) $ECHO_C" >&6 6846 6683 else 6847 6684 cat >conftest.$ac_ext <<_ACEOF … … 6869 6706 *) ac_try_echo=$ac_try;; 6870 6707 esac 6871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6872 $as_echo "$ac_try_echo") >&5 6708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6873 6709 (eval "$ac_compile") 2>conftest.er1 6874 6710 ac_status=$? … … 6876 6712 rm -f conftest.er1 6877 6713 cat conftest.err >&5 6878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&56714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6879 6715 (exit $ac_status); } && { 6880 6716 test -z "$ac_c_werror_flag" || … … 6883 6719 ac_compiler_gnu=yes 6884 6720 else 6885 $as_echo "$as_me: failed program was:" >&56721 echo "$as_me: failed program was:" >&5 6886 6722 sed 's/^/| /' conftest.$ac_ext >&5 6887 6723 … … 6893 6729 6894 6730 fi 6895 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 6896 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 6897 if test $ac_compiler_gnu = yes; then 6898 GCC=yes 6899 else 6900 GCC= 6901 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` 6902 6734 ac_test_CFLAGS=${CFLAGS+set} 6903 6735 ac_save_CFLAGS=$CFLAGS 6904 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&56905 $as_echo_n "checking whether $CC accepts -g..." >&6; }6736 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 6737 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 6906 6738 if test "${ac_cv_prog_cc_g+set}" = set; then 6907 $as_echo_n "(cached)" >&66739 echo $ECHO_N "(cached) $ECHO_C" >&6 6908 6740 else 6909 6741 ac_save_c_werror_flag=$ac_c_werror_flag … … 6932 6764 *) ac_try_echo=$ac_try;; 6933 6765 esac 6934 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6935 $as_echo "$ac_try_echo") >&5 6766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6936 6767 (eval "$ac_compile") 2>conftest.er1 6937 6768 ac_status=$? … … 6939 6770 rm -f conftest.er1 6940 6771 cat conftest.err >&5 6941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&56772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6942 6773 (exit $ac_status); } && { 6943 6774 test -z "$ac_c_werror_flag" || … … 6946 6777 ac_cv_prog_cc_g=yes 6947 6778 else 6948 $as_echo "$as_me: failed program was:" >&56779 echo "$as_me: failed program was:" >&5 6949 6780 sed 's/^/| /' conftest.$ac_ext >&5 6950 6781 … … 6971 6802 *) ac_try_echo=$ac_try;; 6972 6803 esac 6973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6974 $as_echo "$ac_try_echo") >&5 6804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6975 6805 (eval "$ac_compile") 2>conftest.er1 6976 6806 ac_status=$? … … 6978 6808 rm -f conftest.er1 6979 6809 cat conftest.err >&5 6980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&56810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6981 6811 (exit $ac_status); } && { 6982 6812 test -z "$ac_c_werror_flag" || … … 6985 6815 : 6986 6816 else 6987 $as_echo "$as_me: failed program was:" >&56817 echo "$as_me: failed program was:" >&5 6988 6818 sed 's/^/| /' conftest.$ac_ext >&5 6989 6819 … … 7011 6841 *) ac_try_echo=$ac_try;; 7012 6842 esac 7013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7014 $as_echo "$ac_try_echo") >&5 6843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7015 6844 (eval "$ac_compile") 2>conftest.er1 7016 6845 ac_status=$? … … 7018 6847 rm -f conftest.er1 7019 6848 cat conftest.err >&5 7020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&56849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7021 6850 (exit $ac_status); } && { 7022 6851 test -z "$ac_c_werror_flag" || … … 7025 6854 ac_cv_prog_cc_g=yes 7026 6855 else 7027 $as_echo "$as_me: failed program was:" >&56856 echo "$as_me: failed program was:" >&5 7028 6857 sed 's/^/| /' conftest.$ac_ext >&5 7029 6858 … … 7040 6869 ac_c_werror_flag=$ac_save_c_werror_flag 7041 6870 fi 7042 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&57043 $as_echo "$ac_cv_prog_cc_g" >&6; }6871 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 6872 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 7044 6873 if test "$ac_test_CFLAGS" = set; then 7045 6874 CFLAGS=$ac_save_CFLAGS … … 7057 6886 fi 7058 6887 fi 7059 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&57060 $as_echo_n "checking for $CC option to accept ISO C89..." >&6; }6888 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 6889 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 7061 6890 if test "${ac_cv_prog_cc_c89+set}" = set; then 7062 $as_echo_n "(cached)" >&66891 echo $ECHO_N "(cached) $ECHO_C" >&6 7063 6892 else 7064 6893 ac_cv_prog_cc_c89=no … … 7131 6960 *) ac_try_echo=$ac_try;; 7132 6961 esac 7133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7134 $as_echo "$ac_try_echo") >&5 6962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7135 6963 (eval "$ac_compile") 2>conftest.er1 7136 6964 ac_status=$? … … 7138 6966 rm -f conftest.er1 7139 6967 cat conftest.err >&5 7140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&56968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7141 6969 (exit $ac_status); } && { 7142 6970 test -z "$ac_c_werror_flag" || … … 7145 6973 ac_cv_prog_cc_c89=$ac_arg 7146 6974 else 7147 $as_echo "$as_me: failed program was:" >&56975 echo "$as_me: failed program was:" >&5 7148 6976 sed 's/^/| /' conftest.$ac_ext >&5 7149 6977 … … 7161 6989 case "x$ac_cv_prog_cc_c89" in 7162 6990 x) 7163 { $as_echo "$as_me:$LINENO: result: none needed" >&57164 $as_echo "none needed" >&6; } ;;6991 { echo "$as_me:$LINENO: result: none needed" >&5 6992 echo "${ECHO_T}none needed" >&6; } ;; 7165 6993 xno) 7166 { $as_echo "$as_me:$LINENO: result: unsupported" >&57167 $as_echo "unsupported" >&6; } ;;6994 { echo "$as_me:$LINENO: result: unsupported" >&5 6995 echo "${ECHO_T}unsupported" >&6; } ;; 7168 6996 *) 7169 6997 CC="$CC $ac_cv_prog_cc_c89" 7170 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&57171 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;6998 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 6999 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 7172 7000 esac 7173 7001 … … 7184 7012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7185 7013 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7186 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&57187 $as_echo_n "checking how to run the C preprocessor..." >&6; }7014 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 7015 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 7188 7016 # On Suns, sometimes $CPP names a directory. 7189 7017 if test -n "$CPP" && test -d "$CPP"; then … … 7192 7020 if test -z "$CPP"; then 7193 7021 if test "${ac_cv_prog_CPP+set}" = set; then 7194 $as_echo_n "(cached)" >&67022 echo $ECHO_N "(cached) $ECHO_C" >&6 7195 7023 else 7196 7024 # Double quotes because CPP needs to be expanded … … 7224 7052 *) ac_try_echo=$ac_try;; 7225 7053 esac 7226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7227 $as_echo "$ac_try_echo") >&5 7054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7228 7055 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7229 7056 ac_status=$? … … 7231 7058 rm -f conftest.er1 7232 7059 cat conftest.err >&5 7233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7234 7061 (exit $ac_status); } >/dev/null && { 7235 7062 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 7238 7065 : 7239 7066 else 7240 $as_echo "$as_me: failed program was:" >&57067 echo "$as_me: failed program was:" >&5 7241 7068 sed 's/^/| /' conftest.$ac_ext >&5 7242 7069 … … 7262 7089 *) ac_try_echo=$ac_try;; 7263 7090 esac 7264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7265 $as_echo "$ac_try_echo") >&5 7091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7266 7092 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7267 7093 ac_status=$? … … 7269 7095 rm -f conftest.er1 7270 7096 cat conftest.err >&5 7271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7272 7098 (exit $ac_status); } >/dev/null && { 7273 7099 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 7277 7103 continue 7278 7104 else 7279 $as_echo "$as_me: failed program was:" >&57105 echo "$as_me: failed program was:" >&5 7280 7106 sed 's/^/| /' conftest.$ac_ext >&5 7281 7107 … … 7302 7128 ac_cv_prog_CPP=$CPP 7303 7129 fi 7304 { $as_echo "$as_me:$LINENO: result: $CPP" >&57305 $as_echo "$CPP" >&6; }7130 { echo "$as_me:$LINENO: result: $CPP" >&5 7131 echo "${ECHO_T}$CPP" >&6; } 7306 7132 ac_preproc_ok=false 7307 7133 for ac_c_preproc_warn_flag in '' yes … … 7331 7157 *) ac_try_echo=$ac_try;; 7332 7158 esac 7333 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7334 $as_echo "$ac_try_echo") >&5 7159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7335 7160 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7336 7161 ac_status=$? … … 7338 7163 rm -f conftest.er1 7339 7164 cat conftest.err >&5 7340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7341 7166 (exit $ac_status); } >/dev/null && { 7342 7167 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 7345 7170 : 7346 7171 else 7347 $as_echo "$as_me: failed program was:" >&57172 echo "$as_me: failed program was:" >&5 7348 7173 sed 's/^/| /' conftest.$ac_ext >&5 7349 7174 … … 7369 7194 *) ac_try_echo=$ac_try;; 7370 7195 esac 7371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7372 $as_echo "$ac_try_echo") >&5 7196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7373 7197 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7374 7198 ac_status=$? … … 7376 7200 rm -f conftest.er1 7377 7201 cat conftest.err >&5 7378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7379 7203 (exit $ac_status); } >/dev/null && { 7380 7204 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || … … 7384 7208 continue 7385 7209 else 7386 $as_echo "$as_me: failed program was:" >&57210 echo "$as_me: failed program was:" >&5 7387 7211 sed 's/^/| /' conftest.$ac_ext >&5 7388 7212 … … 7400 7224 : 7401 7225 else 7402 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7404 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 7226 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 7405 7227 See \`config.log' for more details." >&5 7406 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check7228 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 7407 7229 See \`config.log' for more details." >&2;} 7408 { (exit 1); exit 1; }; } ; }7230 { (exit 1); exit 1; }; } 7409 7231 fi 7410 7232 … … 7429 7251 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7430 7252 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7431 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&57432 $as_echo_n "checking for $ac_word..." >&6; }7253 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7433 7255 if test "${ac_cv_prog_CXX+set}" = set; then 7434 $as_echo_n "(cached)" >&67256 echo $ECHO_N "(cached) $ECHO_C" >&6 7435 7257 else 7436 7258 if test -n "$CXX"; then … … 7445 7267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7446 7268 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 7447 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7448 7270 break 2 7449 7271 fi … … 7456 7278 CXX=$ac_cv_prog_CXX 7457 7279 if test -n "$CXX"; then 7458 { $as_echo "$as_me:$LINENO: result: $CXX" >&57459 $as_echo "$CXX" >&6; }7460 else 7461 { $as_echo "$as_me:$LINENO: result: no" >&57462 $as_echo "no" >&6; }7280 { echo "$as_me:$LINENO: result: $CXX" >&5 7281 echo "${ECHO_T}$CXX" >&6; } 7282 else 7283 { echo "$as_me:$LINENO: result: no" >&5 7284 echo "${ECHO_T}no" >&6; } 7463 7285 fi 7464 7286 … … 7473 7295 # Extract the first word of "$ac_prog", so it can be a program name with args. 7474 7296 set dummy $ac_prog; ac_word=$2 7475 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&57476 $as_echo_n "checking for $ac_word..." >&6; }7297 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7477 7299 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 7478 $as_echo_n "(cached)" >&67300 echo $ECHO_N "(cached) $ECHO_C" >&6 7479 7301 else 7480 7302 if test -n "$ac_ct_CXX"; then … … 7489 7311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7490 7312 ac_cv_prog_ac_ct_CXX="$ac_prog" 7491 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7492 7314 break 2 7493 7315 fi … … 7500 7322 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7501 7323 if test -n "$ac_ct_CXX"; then 7502 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&57503 $as_echo "$ac_ct_CXX" >&6; }7504 else 7505 { $as_echo "$as_me:$LINENO: result: no" >&57506 $as_echo "no" >&6; }7324 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 7325 echo "${ECHO_T}$ac_ct_CXX" >&6; } 7326 else 7327 { echo "$as_me:$LINENO: result: no" >&5 7328 echo "${ECHO_T}no" >&6; } 7507 7329 fi 7508 7330 … … 7516 7338 case $cross_compiling:$ac_tool_warned in 7517 7339 yes:) 7518 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 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;} 7520 7346 ac_tool_warned=yes ;; 7521 7347 esac … … 7527 7353 fi 7528 7354 # Provide some information about the compiler. 7529 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7530 set X $ac_compile 7531 ac_compiler=$2 7355 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7356 ac_compiler=`set X $ac_compile; echo $2` 7532 7357 { (ac_try="$ac_compiler --version >&5" 7533 7358 case "(($ac_try" in … … 7535 7360 *) ac_try_echo=$ac_try;; 7536 7361 esac 7537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7538 $as_echo "$ac_try_echo") >&5 7362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7539 7363 (eval "$ac_compiler --version >&5") 2>&5 7540 7364 ac_status=$? 7541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7542 7366 (exit $ac_status); } 7543 7367 { (ac_try="$ac_compiler -v >&5" … … 7546 7370 *) ac_try_echo=$ac_try;; 7547 7371 esac 7548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7549 $as_echo "$ac_try_echo") >&5 7372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7550 7373 (eval "$ac_compiler -v >&5") 2>&5 7551 7374 ac_status=$? 7552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57375 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7553 7376 (exit $ac_status); } 7554 7377 { (ac_try="$ac_compiler -V >&5" … … 7557 7380 *) ac_try_echo=$ac_try;; 7558 7381 esac 7559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7560 $as_echo "$ac_try_echo") >&5 7382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7561 7383 (eval "$ac_compiler -V >&5") 2>&5 7562 7384 ac_status=$? 7563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7564 7386 (exit $ac_status); } 7565 7387 7566 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&57567 $as_echo_n "checking whether we are using the GNU C++ compiler..." >&6; }7388 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7389 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 7568 7390 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 7569 $as_echo_n "(cached)" >&67391 echo $ECHO_N "(cached) $ECHO_C" >&6 7570 7392 else 7571 7393 cat >conftest.$ac_ext <<_ACEOF … … 7593 7415 *) ac_try_echo=$ac_try;; 7594 7416 esac 7595 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7596 $as_echo "$ac_try_echo") >&5 7417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7597 7418 (eval "$ac_compile") 2>conftest.er1 7598 7419 ac_status=$? … … 7600 7421 rm -f conftest.er1 7601 7422 cat conftest.err >&5 7602 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7603 7424 (exit $ac_status); } && { 7604 7425 test -z "$ac_cxx_werror_flag" || … … 7607 7428 ac_compiler_gnu=yes 7608 7429 else 7609 $as_echo "$as_me: failed program was:" >&57430 echo "$as_me: failed program was:" >&5 7610 7431 sed 's/^/| /' conftest.$ac_ext >&5 7611 7432 … … 7617 7438 7618 7439 fi 7619 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 7620 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 7621 if test $ac_compiler_gnu = yes; then 7622 GXX=yes 7623 else 7624 GXX= 7625 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` 7626 7443 ac_test_CXXFLAGS=${CXXFLAGS+set} 7627 7444 ac_save_CXXFLAGS=$CXXFLAGS 7628 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&57629 $as_echo_n "checking whether $CXX accepts -g..." >&6; }7445 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 7446 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 7630 7447 if test "${ac_cv_prog_cxx_g+set}" = set; then 7631 $as_echo_n "(cached)" >&67448 echo $ECHO_N "(cached) $ECHO_C" >&6 7632 7449 else 7633 7450 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 7656 7473 *) ac_try_echo=$ac_try;; 7657 7474 esac 7658 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7659 $as_echo "$ac_try_echo") >&5 7475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7660 7476 (eval "$ac_compile") 2>conftest.er1 7661 7477 ac_status=$? … … 7663 7479 rm -f conftest.er1 7664 7480 cat conftest.err >&5 7665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7666 7482 (exit $ac_status); } && { 7667 7483 test -z "$ac_cxx_werror_flag" || … … 7670 7486 ac_cv_prog_cxx_g=yes 7671 7487 else 7672 $as_echo "$as_me: failed program was:" >&57488 echo "$as_me: failed program was:" >&5 7673 7489 sed 's/^/| /' conftest.$ac_ext >&5 7674 7490 … … 7695 7511 *) ac_try_echo=$ac_try;; 7696 7512 esac 7697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7698 $as_echo "$ac_try_echo") >&5 7513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7699 7514 (eval "$ac_compile") 2>conftest.er1 7700 7515 ac_status=$? … … 7702 7517 rm -f conftest.er1 7703 7518 cat conftest.err >&5 7704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7705 7520 (exit $ac_status); } && { 7706 7521 test -z "$ac_cxx_werror_flag" || … … 7709 7524 : 7710 7525 else 7711 $as_echo "$as_me: failed program was:" >&57526 echo "$as_me: failed program was:" >&5 7712 7527 sed 's/^/| /' conftest.$ac_ext >&5 7713 7528 … … 7735 7550 *) ac_try_echo=$ac_try;; 7736 7551 esac 7737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7738 $as_echo "$ac_try_echo") >&5 7552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7739 7553 (eval "$ac_compile") 2>conftest.er1 7740 7554 ac_status=$? … … 7742 7556 rm -f conftest.er1 7743 7557 cat conftest.err >&5 7744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7745 7559 (exit $ac_status); } && { 7746 7560 test -z "$ac_cxx_werror_flag" || … … 7749 7563 ac_cv_prog_cxx_g=yes 7750 7564 else 7751 $as_echo "$as_me: failed program was:" >&57565 echo "$as_me: failed program was:" >&5 7752 7566 sed 's/^/| /' conftest.$ac_ext >&5 7753 7567 … … 7764 7578 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7765 7579 fi 7766 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&57767 $as_echo "$ac_cv_prog_cxx_g" >&6; }7580 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 7581 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 7768 7582 if test "$ac_test_CXXFLAGS" = set; then 7769 7583 CXXFLAGS=$ac_save_CXXFLAGS … … 7792 7606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7793 7607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7794 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&57795 $as_echo_n "checking how to run the C++ preprocessor..." >&6; }7608 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 7609 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } 7796 7610 if test -z "$CXXCPP"; then 7797 7611 if test "${ac_cv_prog_CXXCPP+set}" = set; then 7798 $as_echo_n "(cached)" >&67612 echo $ECHO_N "(cached) $ECHO_C" >&6 7799 7613 else 7800 7614 # Double quotes because CXXCPP needs to be expanded … … 7828 7642 *) ac_try_echo=$ac_try;; 7829 7643 esac 7830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7831 $as_echo "$ac_try_echo") >&5 7644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7832 7645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7833 7646 ac_status=$? … … 7835 7648 rm -f conftest.er1 7836 7649 cat conftest.err >&5 7837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7838 7651 (exit $ac_status); } >/dev/null && { 7839 7652 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 7842 7655 : 7843 7656 else 7844 $as_echo "$as_me: failed program was:" >&57657 echo "$as_me: failed program was:" >&5 7845 7658 sed 's/^/| /' conftest.$ac_ext >&5 7846 7659 … … 7866 7679 *) ac_try_echo=$ac_try;; 7867 7680 esac 7868 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7869 $as_echo "$ac_try_echo") >&5 7681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7870 7682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7871 7683 ac_status=$? … … 7873 7685 rm -f conftest.er1 7874 7686 cat conftest.err >&5 7875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7876 7688 (exit $ac_status); } >/dev/null && { 7877 7689 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 7881 7693 continue 7882 7694 else 7883 $as_echo "$as_me: failed program was:" >&57695 echo "$as_me: failed program was:" >&5 7884 7696 sed 's/^/| /' conftest.$ac_ext >&5 7885 7697 … … 7906 7718 ac_cv_prog_CXXCPP=$CXXCPP 7907 7719 fi 7908 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&57909 $as_echo "$CXXCPP" >&6; }7720 { echo "$as_me:$LINENO: result: $CXXCPP" >&5 7721 echo "${ECHO_T}$CXXCPP" >&6; } 7910 7722 ac_preproc_ok=false 7911 7723 for ac_cxx_preproc_warn_flag in '' yes … … 7935 7747 *) ac_try_echo=$ac_try;; 7936 7748 esac 7937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7938 $as_echo "$ac_try_echo") >&5 7749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7939 7750 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7940 7751 ac_status=$? … … 7942 7753 rm -f conftest.er1 7943 7754 cat conftest.err >&5 7944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7945 7756 (exit $ac_status); } >/dev/null && { 7946 7757 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 7949 7760 : 7950 7761 else 7951 $as_echo "$as_me: failed program was:" >&57762 echo "$as_me: failed program was:" >&5 7952 7763 sed 's/^/| /' conftest.$ac_ext >&5 7953 7764 … … 7973 7784 *) ac_try_echo=$ac_try;; 7974 7785 esac 7975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7976 $as_echo "$ac_try_echo") >&5 7786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7977 7787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7978 7788 ac_status=$? … … 7980 7790 rm -f conftest.er1 7981 7791 cat conftest.err >&5 7982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7983 7793 (exit $ac_status); } >/dev/null && { 7984 7794 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 7988 7798 continue 7989 7799 else 7990 $as_echo "$as_me: failed program was:" >&57800 echo "$as_me: failed program was:" >&5 7991 7801 sed 's/^/| /' conftest.$ac_ext >&5 7992 7802 … … 8004 7814 : 8005 7815 else 8006 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8008 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 7816 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8009 7817 See \`config.log' for more details." >&5 8010 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check7818 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8011 7819 See \`config.log' for more details." >&2;} 8012 { (exit 1); exit 1; }; } ; }7820 { (exit 1); exit 1; }; } 8013 7821 fi 8014 7822 … … 8033 7841 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8034 7842 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8035 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&58036 $as_echo_n "checking for $ac_word..." >&6; }7843 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 8037 7845 if test "${ac_cv_prog_CXX+set}" = set; then 8038 $as_echo_n "(cached)" >&67846 echo $ECHO_N "(cached) $ECHO_C" >&6 8039 7847 else 8040 7848 if test -n "$CXX"; then … … 8049 7857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8050 7858 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 8051 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8052 7860 break 2 8053 7861 fi … … 8060 7868 CXX=$ac_cv_prog_CXX 8061 7869 if test -n "$CXX"; then 8062 { $as_echo "$as_me:$LINENO: result: $CXX" >&58063 $as_echo "$CXX" >&6; }8064 else 8065 { $as_echo "$as_me:$LINENO: result: no" >&58066 $as_echo "no" >&6; }7870 { echo "$as_me:$LINENO: result: $CXX" >&5 7871 echo "${ECHO_T}$CXX" >&6; } 7872 else 7873 { echo "$as_me:$LINENO: result: no" >&5 7874 echo "${ECHO_T}no" >&6; } 8067 7875 fi 8068 7876 … … 8077 7885 # Extract the first word of "$ac_prog", so it can be a program name with args. 8078 7886 set dummy $ac_prog; ac_word=$2 8079 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&58080 $as_echo_n "checking for $ac_word..." >&6; }7887 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 8081 7889 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 8082 $as_echo_n "(cached)" >&67890 echo $ECHO_N "(cached) $ECHO_C" >&6 8083 7891 else 8084 7892 if test -n "$ac_ct_CXX"; then … … 8093 7901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8094 7902 ac_cv_prog_ac_ct_CXX="$ac_prog" 8095 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8096 7904 break 2 8097 7905 fi … … 8104 7912 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 8105 7913 if test -n "$ac_ct_CXX"; then 8106 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&58107 $as_echo "$ac_ct_CXX" >&6; }8108 else 8109 { $as_echo "$as_me:$LINENO: result: no" >&58110 $as_echo "no" >&6; }7914 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 7915 echo "${ECHO_T}$ac_ct_CXX" >&6; } 7916 else 7917 { echo "$as_me:$LINENO: result: no" >&5 7918 echo "${ECHO_T}no" >&6; } 8111 7919 fi 8112 7920 … … 8120 7928 case $cross_compiling:$ac_tool_warned in 8121 7929 yes:) 8122 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 8123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 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;} 8124 7936 ac_tool_warned=yes ;; 8125 7937 esac … … 8131 7943 fi 8132 7944 # Provide some information about the compiler. 8133 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 8134 set X $ac_compile 8135 ac_compiler=$2 7945 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7946 ac_compiler=`set X $ac_compile; echo $2` 8136 7947 { (ac_try="$ac_compiler --version >&5" 8137 7948 case "(($ac_try" in … … 8139 7950 *) ac_try_echo=$ac_try;; 8140 7951 esac 8141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8142 $as_echo "$ac_try_echo") >&5 7952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8143 7953 (eval "$ac_compiler --version >&5") 2>&5 8144 7954 ac_status=$? 8145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8146 7956 (exit $ac_status); } 8147 7957 { (ac_try="$ac_compiler -v >&5" … … 8150 7960 *) ac_try_echo=$ac_try;; 8151 7961 esac 8152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8153 $as_echo "$ac_try_echo") >&5 7962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8154 7963 (eval "$ac_compiler -v >&5") 2>&5 8155 7964 ac_status=$? 8156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8157 7966 (exit $ac_status); } 8158 7967 { (ac_try="$ac_compiler -V >&5" … … 8161 7970 *) ac_try_echo=$ac_try;; 8162 7971 esac 8163 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8164 $as_echo "$ac_try_echo") >&5 7972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8165 7973 (eval "$ac_compiler -V >&5") 2>&5 8166 7974 ac_status=$? 8167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8168 7976 (exit $ac_status); } 8169 7977 8170 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&58171 $as_echo_n "checking whether we are using the GNU C++ compiler..." >&6; }7978 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7979 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 8172 7980 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 8173 $as_echo_n "(cached)" >&67981 echo $ECHO_N "(cached) $ECHO_C" >&6 8174 7982 else 8175 7983 cat >conftest.$ac_ext <<_ACEOF … … 8197 8005 *) ac_try_echo=$ac_try;; 8198 8006 esac 8199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8200 $as_echo "$ac_try_echo") >&5 8007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8201 8008 (eval "$ac_compile") 2>conftest.er1 8202 8009 ac_status=$? … … 8204 8011 rm -f conftest.er1 8205 8012 cat conftest.err >&5 8206 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&58013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8207 8014 (exit $ac_status); } && { 8208 8015 test -z "$ac_cxx_werror_flag" || … … 8211 8018 ac_compiler_gnu=yes 8212 8019 else 8213 $as_echo "$as_me: failed program was:" >&58020 echo "$as_me: failed program was:" >&5 8214 8021 sed 's/^/| /' conftest.$ac_ext >&5 8215 8022 … … 8221 8028 8222 8029 fi 8223 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 8224 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 8225 if test $ac_compiler_gnu = yes; then 8226 GXX=yes 8227 else 8228 GXX= 8229 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` 8230 8033 ac_test_CXXFLAGS=${CXXFLAGS+set} 8231 8034 ac_save_CXXFLAGS=$CXXFLAGS 8232 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&58233 $as_echo_n "checking whether $CXX accepts -g..." >&6; }8035 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 8036 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 8234 8037 if test "${ac_cv_prog_cxx_g+set}" = set; then 8235 $as_echo_n "(cached)" >&68038 echo $ECHO_N "(cached) $ECHO_C" >&6 8236 8039 else 8237 8040 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 8260 8063 *) ac_try_echo=$ac_try;; 8261 8064 esac 8262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8263 $as_echo "$ac_try_echo") >&5 8065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8264 8066 (eval "$ac_compile") 2>conftest.er1 8265 8067 ac_status=$? … … 8267 8069 rm -f conftest.er1 8268 8070 cat conftest.err >&5 8269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&58071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8270 8072 (exit $ac_status); } && { 8271 8073 test -z "$ac_cxx_werror_flag" || … … 8274 8076 ac_cv_prog_cxx_g=yes 8275 8077 else 8276 $as_echo "$as_me: failed program was:" >&58078 echo "$as_me: failed program was:" >&5 8277 8079 sed 's/^/| /' conftest.$ac_ext >&5 8278 8080 … … 8299 8101 *) ac_try_echo=$ac_try;; 8300 8102 esac 8301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8302 $as_echo "$ac_try_echo") >&5 8103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8303 8104 (eval "$ac_compile") 2>conftest.er1 8304 8105 ac_status=$? … … 8306 8107 rm -f conftest.er1 8307 8108 cat conftest.err >&5 8308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&58109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8309 8110 (exit $ac_status); } && { 8310 8111 test -z "$ac_cxx_werror_flag" || … … 8313 8114 : 8314 8115 else 8315 $as_echo "$as_me: failed program was:" >&58116 echo "$as_me: failed program was:" >&5 8316 8117 sed 's/^/| /' conftest.$ac_ext >&5 8317 8118 … … 8339 8140 *) ac_try_echo=$ac_try;; 8340 8141 esac 8341 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8342 $as_echo "$ac_try_echo") >&5 8142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8343 8143 (eval "$ac_compile") 2>conftest.er1 8344 8144 ac_status=$? … … 8346 8146 rm -f conftest.er1 8347 8147 cat conftest.err >&5 8348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&58148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8349 8149 (exit $ac_status); } && { 8350 8150 test -z "$ac_cxx_werror_flag" || … … 8353 8153 ac_cv_prog_cxx_g=yes 8354 8154 else 8355 $as_echo "$as_me: failed program was:" >&58155 echo "$as_me: failed program was:" >&5 8356 8156 sed 's/^/| /' conftest.$ac_ext >&5 8357 8157 … … 8368 8168 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8369 8169 fi 8370 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&58371 $as_echo "$ac_cv_prog_cxx_g" >&6; }8170 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 8171 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 8372 8172 if test "$ac_test_CXXFLAGS" = set; then 8373 8173 CXXFLAGS=$ac_save_CXXFLAGS … … 8399 8199 8400 8200 8401 8402 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 8403 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 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; } 8404 8203 if test "${ac_cv_c_bigendian+set}" = set; then 8405 $as_echo_n "(cached) " >&6 8406 else 8407 ac_cv_c_bigendian=unknown 8408 # See if we're dealing with a universal compiler. 8409 cat >conftest.$ac_ext <<_ACEOF 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 8410 8208 /* confdefs.h. */ 8411 8209 _ACEOF … … 8413 8211 cat >>conftest.$ac_ext <<_ACEOF 8414 8212 /* end confdefs.h. */ 8415 #ifndef __APPLE_CC__ 8416 not a universal capable compiler 8417 #endif 8418 typedef int dummy; 8419 8213 #include <sys/types.h> 8214 #include <sys/param.h> 8215 8216 int 8217 main () 8218 { 8219 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 8220 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 8221 bogus endian macros 8222 #endif 8223 8224 ; 8225 return 0; 8226 } 8420 8227 _ACEOF 8421 8228 rm -f conftest.$ac_objext … … 8425 8232 *) ac_try_echo=$ac_try;; 8426 8233 esac 8427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8428 $as_echo "$ac_try_echo") >&5 8234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8429 8235 (eval "$ac_compile") 2>conftest.er1 8430 8236 ac_status=$? … … 8432 8238 rm -f conftest.er1 8433 8239 cat conftest.err >&5 8434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&58240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8435 8241 (exit $ac_status); } && { 8436 8242 test -z "$ac_cxx_werror_flag" || 8437 8243 test ! -s conftest.err 8438 8244 } && test -s conftest.$ac_objext; then 8439 8440 # Check for potential -arch flags. It is not universal unless 8441 # there are some -arch flags. Note that *ppc* also matches 8442 # ppc64. This check is also rather less than ideal. 8443 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8444 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8445 esac 8446 else 8447 $as_echo "$as_me: failed program was:" >&5 8448 sed 's/^/| /' conftest.$ac_ext >&5 8449 8450 8451 fi 8452 8453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8454 if test $ac_cv_c_bigendian = unknown; then 8455 # See if sys/param.h defines the BYTE_ORDER macro. 8456 cat >conftest.$ac_ext <<_ACEOF 8245 # It does; now see whether it defined to BIG_ENDIAN or not. 8246 cat >conftest.$ac_ext <<_ACEOF 8457 8247 /* confdefs.h. */ 8458 8248 _ACEOF … … 8461 8251 /* end confdefs.h. */ 8462 8252 #include <sys/types.h> 8463 8253 #include <sys/param.h> 8464 8254 8465 8255 int 8466 8256 main () 8467 8257 { 8468 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 8469 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 8470 && LITTLE_ENDIAN) 8471 bogus endian macros 8472 #endif 8258 #if BYTE_ORDER != BIG_ENDIAN 8259 not big endian 8260 #endif 8473 8261 8474 8262 ; … … 8482 8270 *) ac_try_echo=$ac_try;; 8483 8271 esac 8484 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8485 $as_echo "$ac_try_echo") >&5 8272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8486 8273 (eval "$ac_compile") 2>conftest.er1 8487 8274 ac_status=$? … … 8489 8276 rm -f conftest.er1 8490 8277 cat conftest.err >&5 8491 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&58278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8492 8279 (exit $ac_status); } && { 8493 8280 test -z "$ac_cxx_werror_flag" || 8494 8281 test ! -s conftest.err 8495 8282 } && test -s conftest.$ac_objext; then 8496 # It does; now see whether it defined to BIG_ENDIAN or not. 8497 cat >conftest.$ac_ext <<_ACEOF 8283 ac_cv_c_bigendian=yes 8284 else 8285 echo "$as_me: failed program was:" >&5 8286 sed 's/^/| /' conftest.$ac_ext >&5 8287 8288 ac_cv_c_bigendian=no 8289 fi 8290 8291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8292 else 8293 echo "$as_me: failed program was:" >&5 8294 sed 's/^/| /' conftest.$ac_ext >&5 8295 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 8498 8301 /* confdefs.h. */ 8499 8302 _ACEOF … … 8501 8304 cat >>conftest.$ac_ext <<_ACEOF 8502 8305 /* end confdefs.h. */ 8503 #include <sys/types.h> 8504 #include <sys/param.h> 8505 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; } 8506 8312 int 8507 8313 main () 8508 8314 { 8509 #if BYTE_ORDER != BIG_ENDIAN 8510 not big endian 8511 #endif 8512 8315 _ascii (); _ebcdic (); 8513 8316 ; 8514 8317 return 0; … … 8521 8324 *) ac_try_echo=$ac_try;; 8522 8325 esac 8523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8524 $as_echo "$ac_try_echo") >&5 8326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8525 8327 (eval "$ac_compile") 2>conftest.er1 8526 8328 ac_status=$? … … 8528 8330 rm -f conftest.er1 8529 8331 cat conftest.err >&5 8530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&58332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8531 8333 (exit $ac_status); } && { 8532 8334 test -z "$ac_cxx_werror_flag" || 8533 8335 test ! -s conftest.err 8534 8336 } && test -s conftest.$ac_objext; then 8337 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 8535 8338 ac_cv_c_bigendian=yes 8536 else 8537 $as_echo "$as_me: failed program was:" >&5 8538 sed 's/^/| /' conftest.$ac_ext >&5 8539 8540 ac_cv_c_bigendian=no 8541 fi 8542 8543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8544 else 8545 $as_echo "$as_me: failed program was:" >&5 8546 sed 's/^/| /' conftest.$ac_ext >&5 8547 8548 8549 fi 8550 8551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8552 fi 8553 if test $ac_cv_c_bigendian = unknown; then 8554 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8555 cat >conftest.$ac_ext <<_ACEOF 8556 /* confdefs.h. */ 8557 _ACEOF 8558 cat confdefs.h >>conftest.$ac_ext 8559 cat >>conftest.$ac_ext <<_ACEOF 8560 /* end confdefs.h. */ 8561 #include <limits.h> 8562 8563 int 8564 main () 8565 { 8566 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 8567 bogus endian macros 8568 #endif 8569 8570 ; 8571 return 0; 8572 } 8573 _ACEOF 8574 rm -f conftest.$ac_objext 8575 if { (ac_try="$ac_compile" 8576 case "(($ac_try" in 8577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8578 *) ac_try_echo=$ac_try;; 8579 esac 8580 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8581 $as_echo "$ac_try_echo") >&5 8582 (eval "$ac_compile") 2>conftest.er1 8583 ac_status=$? 8584 grep -v '^ *+' conftest.er1 >conftest.err 8585 rm -f conftest.er1 8586 cat conftest.err >&5 8587 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8588 (exit $ac_status); } && { 8589 test -z "$ac_cxx_werror_flag" || 8590 test ! -s conftest.err 8591 } && test -s conftest.$ac_objext; then 8592 # It does; now see whether it defined to _BIG_ENDIAN or not. 8593 cat >conftest.$ac_ext <<_ACEOF 8594 /* confdefs.h. */ 8595 _ACEOF 8596 cat confdefs.h >>conftest.$ac_ext 8597 cat >>conftest.$ac_ext <<_ACEOF 8598 /* end confdefs.h. */ 8599 #include <limits.h> 8600 8601 int 8602 main () 8603 { 8604 #ifndef _BIG_ENDIAN 8605 not big endian 8606 #endif 8607 8608 ; 8609 return 0; 8610 } 8611 _ACEOF 8612 rm -f conftest.$ac_objext 8613 if { (ac_try="$ac_compile" 8614 case "(($ac_try" in 8615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8616 *) ac_try_echo=$ac_try;; 8617 esac 8618 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8619 $as_echo "$ac_try_echo") >&5 8620 (eval "$ac_compile") 2>conftest.er1 8621 ac_status=$? 8622 grep -v '^ *+' conftest.er1 >conftest.err 8623 rm -f conftest.er1 8624 cat conftest.err >&5 8625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8626 (exit $ac_status); } && { 8627 test -z "$ac_cxx_werror_flag" || 8628 test ! -s conftest.err 8629 } && test -s conftest.$ac_objext; then 8630 ac_cv_c_bigendian=yes 8631 else 8632 $as_echo "$as_me: failed program was:" >&5 8633 sed 's/^/| /' conftest.$ac_ext >&5 8634 8635 ac_cv_c_bigendian=no 8636 fi 8637 8638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8639 else 8640 $as_echo "$as_me: failed program was:" >&5 8641 sed 's/^/| /' conftest.$ac_ext >&5 8642 8643 8644 fi 8645 8646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8647 fi 8648 if test $ac_cv_c_bigendian = unknown; then 8649 # Compile a test program. 8650 if test "$cross_compiling" = yes; then 8651 # Try to guess by grepping values from an object file. 8652 cat >conftest.$ac_ext <<_ACEOF 8653 /* confdefs.h. */ 8654 _ACEOF 8655 cat confdefs.h >>conftest.$ac_ext 8656 cat >>conftest.$ac_ext <<_ACEOF 8657 /* end confdefs.h. */ 8658 short int ascii_mm[] = 8659 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 8660 short int ascii_ii[] = 8661 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 8662 int use_ascii (int i) { 8663 return ascii_mm[i] + ascii_ii[i]; 8664 } 8665 short int ebcdic_ii[] = 8666 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 8667 short int ebcdic_mm[] = 8668 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 8669 int use_ebcdic (int i) { 8670 return ebcdic_mm[i] + ebcdic_ii[i]; 8671 } 8672 extern int foo; 8673 8674 int 8675 main () 8676 { 8677 return use_ascii (foo) == use_ebcdic (foo); 8678 ; 8679 return 0; 8680 } 8681 _ACEOF 8682 rm -f conftest.$ac_objext 8683 if { (ac_try="$ac_compile" 8684 case "(($ac_try" in 8685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8686 *) ac_try_echo=$ac_try;; 8687 esac 8688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8689 $as_echo "$ac_try_echo") >&5 8690 (eval "$ac_compile") 2>conftest.er1 8691 ac_status=$? 8692 grep -v '^ *+' conftest.er1 >conftest.err 8693 rm -f conftest.er1 8694 cat conftest.err >&5 8695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8696 (exit $ac_status); } && { 8697 test -z "$ac_cxx_werror_flag" || 8698 test ! -s conftest.err 8699 } && test -s conftest.$ac_objext; then 8700 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 8701 ac_cv_c_bigendian=yes 8702 fi 8703 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 8704 if test "$ac_cv_c_bigendian" = unknown; then 8705 ac_cv_c_bigendian=no 8706 else 8707 # finding both strings is unlikely to happen, but who knows? 8708 ac_cv_c_bigendian=unknown 8709 fi 8710 fi 8711 else 8712 $as_echo "$as_me: failed program was:" >&5 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 8713 8350 sed 's/^/| /' conftest.$ac_ext >&5 8714 8351 … … 8729 8366 { 8730 8367 8731 8732 8733 8734 8735 8736 8737 8738 8368 /* Are we little or big endian? From Harbison&Steele. */ 8369 union 8370 { 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; 8739 8376 8740 8377 ; … … 8748 8385 *) ac_try_echo=$ac_try;; 8749 8386 esac 8750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8751 $as_echo "$ac_try_echo") >&5 8387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8752 8388 (eval "$ac_link") 2>&5 8753 8389 ac_status=$? 8754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&58390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8755 8391 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8756 8392 { (case "(($ac_try" in … … 8758 8394 *) ac_try_echo=$ac_try;; 8759 8395 esac 8760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8761 $as_echo "$ac_try_echo") >&5 8396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8762 8397 (eval "$ac_try") 2>&5 8763 8398 ac_status=$? 8764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&58399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8765 8400 (exit $ac_status); }; }; then 8766 8401 ac_cv_c_bigendian=no 8767 8402 else 8768 $as_echo "$as_me: program exited with status $ac_status" >&58769 $as_echo "$as_me: failed program was:" >&58403 echo "$as_me: program exited with status $ac_status" >&5 8404 echo "$as_me: failed program was:" >&5 8770 8405 sed 's/^/| /' conftest.$ac_ext >&5 8771 8406 … … 8773 8408 ac_cv_c_bigendian=yes 8774 8409 fi 8775 rm -rf conftest.dSYM8776 8410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8777 8411 fi 8778 8412 8779 8413 8780 fi 8781 fi 8782 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8783 $as_echo "$ac_cv_c_bigendian" >&6; } 8784 case $ac_cv_c_bigendian in #( 8785 yes) 8786 cat >>confdefs.h <<\_ACEOF 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) 8422 8423 cat >>confdefs.h <<\_ACEOF 8787 8424 #define WORDS_BIGENDIAN 1 8788 8425 _ACEOF 8789 ;; #( 8790 no) 8791 ;; #( 8792 universal) 8793 8794 cat >>confdefs.h <<\_ACEOF 8795 #define AC_APPLE_UNIVERSAL_BUILD 1 8796 _ACEOF 8797 8798 ;; #( 8799 *) 8800 { { $as_echo "$as_me:$LINENO: error: unknown endianness 8801 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 8802 $as_echo "$as_me: error: unknown endianness 8803 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 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;} 8804 8434 { (exit 1); exit 1; }; } ;; 8805 8435 esac 8806 8436 8807 8437 … … 8832 8462 # pthread library 8833 8463 # DX headers and library (done, sort of) 8464 # ffmpeg headers and library (started) 8834 8465 # 8835 8466 … … 8874 8505 RP2_INCL_DIR="" 8875 8506 RP_DIR="" 8876 { $as_echo "$as_me:$LINENO: checking for rappture" >&58877 $as_echo_n "checking for rappture..." >&6; }8507 { echo "$as_me:$LINENO: checking for rappture" >&5 8508 echo $ECHO_N "checking for rappture... $ECHO_C" >&6; } 8878 8509 if test "x$with_rappture" != "x" ; then 8879 8510 if test "x$with_rappture" != "xprefix" ; then 8880 8511 if test -f "$with_rappture" 8881 8512 then 8882 { $as_echo "$as_me:$LINENO: result: no" >&58883 $as_echo "no" >&6; }8884 { { $as_echo "$as_me:$LINENO: error: please provide --with-rappture with directory" >&58885 $as_echo "$as_me: error: please provide --with-rappture with directory" >&2;}8513 { echo "$as_me:$LINENO: result: no" >&5 8514 echo "${ECHO_T}no" >&6; } 8515 { { echo "$as_me:$LINENO: error: please provide --with-rappture with directory" >&5 8516 echo "$as_me: error: please provide --with-rappture with directory" >&2;} 8886 8517 { (exit 1); exit 1; }; } 8887 8518 else … … 8892 8523 RP2_INCL_DIR="$with_rappture/include/rappture2" 8893 8524 RP_DIR="$with_rappture" 8894 { $as_echo "$as_me:$LINENO: result: yes" >&58895 $as_echo "yes" >&6; }8525 { echo "$as_me:$LINENO: result: yes" >&5 8526 echo "${ECHO_T}yes" >&6; } 8896 8527 else 8897 { $as_echo "$as_me:$LINENO: result: no" >&58898 $as_echo "no" >&6; }8899 { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&58900 $as_echo "$as_me: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&2;}8528 { echo "$as_me:$LINENO: result: no" >&5 8529 echo "${ECHO_T}no" >&6; } 8530 { { echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&5 8531 echo "$as_me: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&2;} 8901 8532 { (exit 1); exit 1; }; } 8902 8533 fi 8903 8534 else 8904 { $as_echo "$as_me:$LINENO: result: no" >&58905 $as_echo "no" >&6; }8906 { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&58907 $as_echo "$as_me: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&2;}8535 { echo "$as_me:$LINENO: result: no" >&5 8536 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" >&5 8538 echo "$as_me: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&2;} 8908 8539 { (exit 1); exit 1; }; } 8909 8540 fi … … 8912 8543 RP2_INCL_DIR="$prefix/include/rappture2" 8913 8544 RP_DIR="$prefix" 8914 { $as_echo "$as_me:$LINENO: result: set to prefix" >&58915 $as_echo "set to prefix" >&6; }8545 { echo "$as_me:$LINENO: result: set to prefix" >&5 8546 echo "${ECHO_T}set to prefix" >&6; } 8916 8547 fi 8917 8548 else … … 8920 8551 for ac_header in rappture.h 8921 8552 do 8922 as_ac_Header=` $as_echo "ac_cv_header_$ac_header" | $as_tr_sh`8553 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8923 8554 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8924 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&58925 $as_echo_n "checking for $ac_header..." >&6; }8555 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8926 8557 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8927 $as_echo_n "(cached) " >&6 8928 fi 8929 ac_res=`eval 'as_val=${'$as_ac_Header'} 8930 $as_echo "$as_val"'` 8931 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8932 $as_echo "$ac_res" >&6; } 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; } 8933 8563 else 8934 8564 # Is the header compilable? 8935 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&58936 $as_echo_n "checking $ac_header usability..." >&6; }8565 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8566 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8937 8567 cat >conftest.$ac_ext <<_ACEOF 8938 8568 /* confdefs.h. */ … … 8950 8580 *) ac_try_echo=$ac_try;; 8951 8581 esac 8952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8953 $as_echo "$ac_try_echo") >&5 8582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8954 8583 (eval "$ac_compile") 2>conftest.er1 8955 8584 ac_status=$? … … 8957 8586 rm -f conftest.er1 8958 8587 cat conftest.err >&5 8959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&58588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8960 8589 (exit $ac_status); } && { 8961 8590 test -z "$ac_cxx_werror_flag" || … … 8964 8593 ac_header_compiler=yes 8965 8594 else 8966 $as_echo "$as_me: failed program was:" >&58595 echo "$as_me: failed program was:" >&5 8967 8596 sed 's/^/| /' conftest.$ac_ext >&5 8968 8597 … … 8971 8600 8972 8601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8973 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&58974 $as_echo "$ac_header_compiler" >&6; }8602 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8603 echo "${ECHO_T}$ac_header_compiler" >&6; } 8975 8604 8976 8605 # Is the header present? 8977 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&58978 $as_echo_n "checking $ac_header presence..." >&6; }8606 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8607 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8979 8608 cat >conftest.$ac_ext <<_ACEOF 8980 8609 /* confdefs.h. */ … … 8990 8619 *) ac_try_echo=$ac_try;; 8991 8620 esac 8992 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8993 $as_echo "$ac_try_echo") >&5 8621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8994 8622 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8995 8623 ac_status=$? … … 8997 8625 rm -f conftest.er1 8998 8626 cat conftest.err >&5 8999 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&58627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9000 8628 (exit $ac_status); } >/dev/null && { 9001 8629 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 9004 8632 ac_header_preproc=yes 9005 8633 else 9006 $as_echo "$as_me: failed program was:" >&58634 echo "$as_me: failed program was:" >&5 9007 8635 sed 's/^/| /' conftest.$ac_ext >&5 9008 8636 … … 9011 8639 9012 8640 rm -f conftest.err conftest.$ac_ext 9013 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&59014 $as_echo "$ac_header_preproc" >&6; }8641 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8642 echo "${ECHO_T}$ac_header_preproc" >&6; } 9015 8643 9016 8644 # So? What about this header? 9017 8645 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9018 8646 yes:no: ) 9019 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&59020 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}9021 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&59022 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}8647 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8648 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" >&5 8650 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9023 8651 ac_header_preproc=yes 9024 8652 ;; 9025 8653 no:yes:* ) 9026 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&59027 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}9028 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&59029 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}9030 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&59031 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}9032 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&59033 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}9034 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&59035 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}9036 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&59037 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}8654 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8655 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?" >&5 8657 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8658 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8659 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\"" >&5 8661 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" >&5 8663 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" >&5 8665 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9038 8666 ( cat <<\_ASBOX 9039 8667 ## ----------------------------------- ## … … 9044 8672 ;; 9045 8673 esac 9046 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&59047 $as_echo_n "checking for $ac_header..." >&6; }8674 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9048 8676 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9049 $as_echo_n "(cached)" >&68677 echo $ECHO_N "(cached) $ECHO_C" >&6 9050 8678 else 9051 8679 eval "$as_ac_Header=\$ac_header_preproc" 9052 8680 fi 9053 ac_res=`eval 'as_val=${'$as_ac_Header'} 9054 $as_echo "$as_val"'` 9055 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9056 $as_echo "$ac_res" >&6; } 9057 9058 fi 9059 as_val=`eval 'as_val=${'$as_ac_Header'} 9060 $as_echo "$as_val"'` 9061 if test "x$as_val" = x""yes; then 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 9062 8687 cat >>confdefs.h <<_ACEOF 9063 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 19064 _ACEOF 9065 9066 else 9067 { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h, try using --with-rappture" >&59068 $as_echo "$as_me: error: cannot find rappture.h, try using --with-rappture" >&2;}8688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8689 _ACEOF 8690 8691 else 8692 { { echo "$as_me:$LINENO: error: cannot find rappture.h, try using --with-rappture" >&5 8693 echo "$as_me: error: cannot find rappture.h, try using --with-rappture" >&2;} 9069 8694 { (exit 1); exit 1; }; } 9070 8695 fi … … 9075 8700 9076 8701 fi 9077 { $as_echo "$as_me:$LINENO: result: ${RP_DIR}/include" >&59078 $as_echo "${RP_DIR}/include" >&6; }8702 { echo "$as_me:$LINENO: result: ${RP_DIR}/include" >&5 8703 echo "${ECHO_T}${RP_DIR}/include" >&6; } 9079 8704 9080 8705 9081 8706 9082 8707 if test "${ac_cv_header_GL_glui_h+set}" = set; then 9083 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&59084 $as_echo_n "checking for GL/glui.h..." >&6; }8708 { echo "$as_me:$LINENO: checking for GL/glui.h" >&5 8709 echo $ECHO_N "checking for GL/glui.h... $ECHO_C" >&6; } 9085 8710 if test "${ac_cv_header_GL_glui_h+set}" = set; then 9086 $as_echo_n "(cached)" >&69087 fi 9088 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&59089 $as_echo "$ac_cv_header_GL_glui_h" >&6; }8711 echo $ECHO_N "(cached) $ECHO_C" >&6 8712 fi 8713 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 8714 echo "${ECHO_T}$ac_cv_header_GL_glui_h" >&6; } 9090 8715 else 9091 8716 # Is the header compilable? 9092 { $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&59093 $as_echo_n "checking GL/glui.h usability..." >&6; }8717 { echo "$as_me:$LINENO: checking GL/glui.h usability" >&5 8718 echo $ECHO_N "checking GL/glui.h usability... $ECHO_C" >&6; } 9094 8719 cat >conftest.$ac_ext <<_ACEOF 9095 8720 /* confdefs.h. */ … … 9107 8732 *) ac_try_echo=$ac_try;; 9108 8733 esac 9109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9110 $as_echo "$ac_try_echo") >&5 8734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9111 8735 (eval "$ac_compile") 2>conftest.er1 9112 8736 ac_status=$? … … 9114 8738 rm -f conftest.er1 9115 8739 cat conftest.err >&5 9116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&58740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9117 8741 (exit $ac_status); } && { 9118 8742 test -z "$ac_cxx_werror_flag" || … … 9121 8745 ac_header_compiler=yes 9122 8746 else 9123 $as_echo "$as_me: failed program was:" >&58747 echo "$as_me: failed program was:" >&5 9124 8748 sed 's/^/| /' conftest.$ac_ext >&5 9125 8749 … … 9128 8752 9129 8753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9130 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&59131 $as_echo "$ac_header_compiler" >&6; }8754 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8755 echo "${ECHO_T}$ac_header_compiler" >&6; } 9132 8756 9133 8757 # Is the header present? 9134 { $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&59135 $as_echo_n "checking GL/glui.h presence..." >&6; }8758 { echo "$as_me:$LINENO: checking GL/glui.h presence" >&5 8759 echo $ECHO_N "checking GL/glui.h presence... $ECHO_C" >&6; } 9136 8760 cat >conftest.$ac_ext <<_ACEOF 9137 8761 /* confdefs.h. */ … … 9147 8771 *) ac_try_echo=$ac_try;; 9148 8772 esac 9149 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9150 $as_echo "$ac_try_echo") >&5 8773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9151 8774 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9152 8775 ac_status=$? … … 9154 8777 rm -f conftest.er1 9155 8778 cat conftest.err >&5 9156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&58779 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9157 8780 (exit $ac_status); } >/dev/null && { 9158 8781 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 9161 8784 ac_header_preproc=yes 9162 8785 else 9163 $as_echo "$as_me: failed program was:" >&58786 echo "$as_me: failed program was:" >&5 9164 8787 sed 's/^/| /' conftest.$ac_ext >&5 9165 8788 … … 9168 8791 9169 8792 rm -f conftest.err conftest.$ac_ext 9170 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&59171 $as_echo "$ac_header_preproc" >&6; }8793 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8794 echo "${ECHO_T}$ac_header_preproc" >&6; } 9172 8795 9173 8796 # So? What about this header? 9174 8797 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9175 8798 yes:no: ) 9176 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&59177 $as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}9178 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&59179 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;}8799 { echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 8800 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" >&5 8802 echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;} 9180 8803 ac_header_preproc=yes 9181 8804 ;; 9182 8805 no:yes:* ) 9183 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&59184 $as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;}9185 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: check for missing prerequisite headers?" >&59186 $as_echo "$as_me: WARNING: GL/glui.h: check for missing prerequisite headers?" >&2;}9187 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&59188 $as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;}9189 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&59190 $as_echo "$as_me: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&2;}9191 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&59192 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;}9193 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&59194 $as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;}8806 { echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5 8807 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?" >&5 8809 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" >&5 8811 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\"" >&5 8813 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" >&5 8815 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" >&5 8817 echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;} 9195 8818 ( cat <<\_ASBOX 9196 8819 ## ----------------------------------- ## … … 9201 8824 ;; 9202 8825 esac 9203 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&59204 $as_echo_n "checking for GL/glui.h..." >&6; }8826 { echo "$as_me:$LINENO: checking for GL/glui.h" >&5 8827 echo $ECHO_N "checking for GL/glui.h... $ECHO_C" >&6; } 9205 8828 if test "${ac_cv_header_GL_glui_h+set}" = set; then 9206 $as_echo_n "(cached)" >&68829 echo $ECHO_N "(cached) $ECHO_C" >&6 9207 8830 else 9208 8831 ac_cv_header_GL_glui_h=$ac_header_preproc 9209 8832 fi 9210 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&59211 $as_echo "$ac_cv_header_GL_glui_h" >&6; }8833 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 8834 echo "${ECHO_T}$ac_cv_header_GL_glui_h" >&6; } 9212 8835 9213 8836 fi … … 9215 8838 9216 8839 if test "${ac_cv_header_glui_h+set}" = set; then 9217 { $as_echo "$as_me:$LINENO: checking for glui.h" >&59218 $as_echo_n "checking for glui.h..." >&6; }8840 { echo "$as_me:$LINENO: checking for glui.h" >&5 8841 echo $ECHO_N "checking for glui.h... $ECHO_C" >&6; } 9219 8842 if test "${ac_cv_header_glui_h+set}" = set; then 9220 $as_echo_n "(cached)" >&69221 fi 9222 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&59223 $as_echo "$ac_cv_header_glui_h" >&6; }8843 echo $ECHO_N "(cached) $ECHO_C" >&6 8844 fi 8845 { echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 8846 echo "${ECHO_T}$ac_cv_header_glui_h" >&6; } 9224 8847 else 9225 8848 # Is the header compilable? 9226 { $as_echo "$as_me:$LINENO: checking glui.h usability" >&59227 $as_echo_n "checking glui.h usability..." >&6; }8849 { echo "$as_me:$LINENO: checking glui.h usability" >&5 8850 echo $ECHO_N "checking glui.h usability... $ECHO_C" >&6; } 9228 8851 cat >conftest.$ac_ext <<_ACEOF 9229 8852 /* confdefs.h. */ … … 9241 8864 *) ac_try_echo=$ac_try;; 9242 8865 esac 9243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9244 $as_echo "$ac_try_echo") >&5 8866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9245 8867 (eval "$ac_compile") 2>conftest.er1 9246 8868 ac_status=$? … … 9248 8870 rm -f conftest.er1 9249 8871 cat conftest.err >&5 9250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&58872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9251 8873 (exit $ac_status); } && { 9252 8874 test -z "$ac_cxx_werror_flag" || … … 9255 8877 ac_header_compiler=yes 9256 8878 else 9257 $as_echo "$as_me: failed program was:" >&58879 echo "$as_me: failed program was:" >&5 9258 8880 sed 's/^/| /' conftest.$ac_ext >&5 9259 8881 … … 9262 8884 9263 8885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9264 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&59265 $as_echo "$ac_header_compiler" >&6; }8886 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8887 echo "${ECHO_T}$ac_header_compiler" >&6; } 9266 8888 9267 8889 # Is the header present? 9268 { $as_echo "$as_me:$LINENO: checking glui.h presence" >&59269 $as_echo_n "checking glui.h presence..." >&6; }8890 { echo "$as_me:$LINENO: checking glui.h presence" >&5 8891 echo $ECHO_N "checking glui.h presence... $ECHO_C" >&6; } 9270 8892 cat >conftest.$ac_ext <<_ACEOF 9271 8893 /* confdefs.h. */ … … 9281 8903 *) ac_try_echo=$ac_try;; 9282 8904 esac 9283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9284 $as_echo "$ac_try_echo") >&5 8905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9285 8906 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9286 8907 ac_status=$? … … 9288 8909 rm -f conftest.er1 9289 8910 cat conftest.err >&5 9290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&58911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9291 8912 (exit $ac_status); } >/dev/null && { 9292 8913 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 9295 8916 ac_header_preproc=yes 9296 8917 else 9297 $as_echo "$as_me: failed program was:" >&58918 echo "$as_me: failed program was:" >&5 9298 8919 sed 's/^/| /' conftest.$ac_ext >&5 9299 8920 … … 9302 8923 9303 8924 rm -f conftest.err conftest.$ac_ext 9304 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&59305 $as_echo "$ac_header_preproc" >&6; }8925 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8926 echo "${ECHO_T}$ac_header_preproc" >&6; } 9306 8927 9307 8928 # So? What about this header? 9308 8929 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9309 8930 yes:no: ) 9310 { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&59311 $as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}9312 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&59313 $as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;}8931 { echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 8932 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" >&5 8934 echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;} 9314 8935 ac_header_preproc=yes 9315 8936 ;; 9316 8937 no:yes:* ) 9317 { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&59318 $as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;}9319 { $as_echo "$as_me:$LINENO: WARNING: glui.h: check for missing prerequisite headers?" >&59320 $as_echo "$as_me: WARNING: glui.h: check for missing prerequisite headers?" >&2;}9321 { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&59322 $as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;}9323 { $as_echo "$as_me:$LINENO: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&59324 $as_echo "$as_me: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&2;}9325 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&59326 $as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;}9327 { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&59328 $as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;}8938 { echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5 8939 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?" >&5 8941 echo "$as_me: WARNING: glui.h: check for missing prerequisite headers?" >&2;} 8942 { echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5 8943 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\"" >&5 8945 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" >&5 8947 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" >&5 8949 echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;} 9329 8950 ( cat <<\_ASBOX 9330 8951 ## ----------------------------------- ## … … 9335 8956 ;; 9336 8957 esac 9337 { $as_echo "$as_me:$LINENO: checking for glui.h" >&59338 $as_echo_n "checking for glui.h..." >&6; }8958 { echo "$as_me:$LINENO: checking for glui.h" >&5 8959 echo $ECHO_N "checking for glui.h... $ECHO_C" >&6; } 9339 8960 if test "${ac_cv_header_glui_h+set}" = set; then 9340 $as_echo_n "(cached)" >&68961 echo $ECHO_N "(cached) $ECHO_C" >&6 9341 8962 else 9342 8963 ac_cv_header_glui_h=$ac_header_preproc 9343 8964 fi 9344 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&59345 $as_echo "$ac_cv_header_glui_h" >&6; }8965 { echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 8966 echo "${ECHO_T}$ac_cv_header_glui_h" >&6; } 9346 8967 9347 8968 fi … … 9349 8970 9350 8971 if test "${ac_cv_header_GL_glut_h+set}" = set; then 9351 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&59352 $as_echo_n "checking for GL/glut.h..." >&6; }8972 { echo "$as_me:$LINENO: checking for GL/glut.h" >&5 8973 echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; } 9353 8974 if test "${ac_cv_header_GL_glut_h+set}" = set; then 9354 $as_echo_n "(cached)" >&69355 fi 9356 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&59357 $as_echo "$ac_cv_header_GL_glut_h" >&6; }8975 echo $ECHO_N "(cached) $ECHO_C" >&6 8976 fi 8977 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 8978 echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; } 9358 8979 else 9359 8980 # Is the header compilable? 9360 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&59361 $as_echo_n "checking GL/glut.h usability..." >&6; }8981 { echo "$as_me:$LINENO: checking GL/glut.h usability" >&5 8982 echo $ECHO_N "checking GL/glut.h usability... $ECHO_C" >&6; } 9362 8983 cat >conftest.$ac_ext <<_ACEOF 9363 8984 /* confdefs.h. */ … … 9375 8996 *) ac_try_echo=$ac_try;; 9376 8997 esac 9377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9378 $as_echo "$ac_try_echo") >&5 8998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9379 8999 (eval "$ac_compile") 2>conftest.er1 9380 9000 ac_status=$? … … 9382 9002 rm -f conftest.er1 9383 9003 cat conftest.err >&5 9384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&59004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9385 9005 (exit $ac_status); } && { 9386 9006 test -z "$ac_cxx_werror_flag" || … … 9389 9009 ac_header_compiler=yes 9390 9010 else 9391 $as_echo "$as_me: failed program was:" >&59011 echo "$as_me: failed program was:" >&5 9392 9012 sed 's/^/| /' conftest.$ac_ext >&5 9393 9013 … … 9396 9016 9397 9017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9398 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&59399 $as_echo "$ac_header_compiler" >&6; }9018 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9019 echo "${ECHO_T}$ac_header_compiler" >&6; } 9400 9020 9401 9021 # Is the header present? 9402 { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&59403 $as_echo_n "checking GL/glut.h presence..." >&6; }9022 { echo "$as_me:$LINENO: checking GL/glut.h presence" >&5 9023 echo $ECHO_N "checking GL/glut.h presence... $ECHO_C" >&6; } 9404 9024 cat >conftest.$ac_ext <<_ACEOF 9405 9025 /* confdefs.h. */ … … 9415 9035 *) ac_try_echo=$ac_try;; 9416 9036 esac 9417 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9418 $as_echo "$ac_try_echo") >&5 9037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9419 9038 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9420 9039 ac_status=$? … … 9422 9041 rm -f conftest.er1 9423 9042 cat conftest.err >&5 9424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&59043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9425 9044 (exit $ac_status); } >/dev/null && { 9426 9045 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 9429 9048 ac_header_preproc=yes 9430 9049 else 9431 $as_echo "$as_me: failed program was:" >&59050 echo "$as_me: failed program was:" >&5 9432 9051 sed 's/^/| /' conftest.$ac_ext >&5 9433 9052 … … 9436 9055 9437 9056 rm -f conftest.err conftest.$ac_ext 9438 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&59439 $as_echo "$ac_header_preproc" >&6; }9057 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9058 echo "${ECHO_T}$ac_header_preproc" >&6; } 9440 9059 9441 9060 # So? What about this header? 9442 9061 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9443 9062 yes:no: ) 9444 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&59445 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}9446 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&59447 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}9063 { echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5 9064 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" >&5 9066 echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;} 9448 9067 ac_header_preproc=yes 9449 9068 ;; 9450 9069 no:yes:* ) 9451 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&59452 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}9453 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&59454 $as_echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;}9455 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&59456 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}9457 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&59458 $as_echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;}9459 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&59460 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}9461 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&59462 $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}9070 { echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5 9071 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?" >&5 9073 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" >&5 9075 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\"" >&5 9077 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" >&5 9079 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" >&5 9081 echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;} 9463 9082 ( cat <<\_ASBOX 9464 9083 ## ----------------------------------- ## … … 9469 9088 ;; 9470 9089 esac 9471 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&59472 $as_echo_n "checking for GL/glut.h..." >&6; }9090 { echo "$as_me:$LINENO: checking for GL/glut.h" >&5 9091 echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; } 9473 9092 if test "${ac_cv_header_GL_glut_h+set}" = set; then 9474 $as_echo_n "(cached)" >&69093 echo $ECHO_N "(cached) $ECHO_C" >&6 9475 9094 else 9476 9095 ac_cv_header_GL_glut_h=$ac_header_preproc 9477 9096 fi 9478 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&59479 $as_echo "$ac_cv_header_GL_glut_h" >&6; }9097 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 9098 echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; } 9480 9099 9481 9100 fi … … 9483 9102 9484 9103 if test "${ac_cv_header_GL_glew_h+set}" = set; then 9485 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&59486 $as_echo_n "checking for GL/glew.h..." >&6; }9104 { echo "$as_me:$LINENO: checking for GL/glew.h" >&5 9105 echo $ECHO_N "checking for GL/glew.h... $ECHO_C" >&6; } 9487 9106 if test "${ac_cv_header_GL_glew_h+set}" = set; then 9488 $as_echo_n "(cached)" >&69489 fi 9490 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&59491 $as_echo "$ac_cv_header_GL_glew_h" >&6; }9107 echo $ECHO_N "(cached) $ECHO_C" >&6 9108 fi 9109 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 9110 echo "${ECHO_T}$ac_cv_header_GL_glew_h" >&6; } 9492 9111 else 9493 9112 # Is the header compilable? 9494 { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&59495 $as_echo_n "checking GL/glew.h usability..." >&6; }9113 { echo "$as_me:$LINENO: checking GL/glew.h usability" >&5 9114 echo $ECHO_N "checking GL/glew.h usability... $ECHO_C" >&6; } 9496 9115 cat >conftest.$ac_ext <<_ACEOF 9497 9116 /* confdefs.h. */ … … 9509 9128 *) ac_try_echo=$ac_try;; 9510 9129 esac 9511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9512 $as_echo "$ac_try_echo") >&5 9130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9513 9131 (eval "$ac_compile") 2>conftest.er1 9514 9132 ac_status=$? … … 9516 9134 rm -f conftest.er1 9517 9135 cat conftest.err >&5 9518 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&59136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9519 9137 (exit $ac_status); } && { 9520 9138 test -z "$ac_cxx_werror_flag" || … … 9523 9141 ac_header_compiler=yes 9524 9142 else 9525 $as_echo "$as_me: failed program was:" >&59143 echo "$as_me: failed program was:" >&5 9526 9144 sed 's/^/| /' conftest.$ac_ext >&5 9527 9145 … … 9530 9148 9531 9149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9532 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&59533 $as_echo "$ac_header_compiler" >&6; }9150 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9151 echo "${ECHO_T}$ac_header_compiler" >&6; } 9534 9152 9535 9153 # Is the header present? 9536 { $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&59537 $as_echo_n "checking GL/glew.h presence..." >&6; }9154 { echo "$as_me:$LINENO: checking GL/glew.h presence" >&5 9155 echo $ECHO_N "checking GL/glew.h presence... $ECHO_C" >&6; } 9538 9156 cat >conftest.$ac_ext <<_ACEOF 9539 9157 /* confdefs.h. */ … … 9549 9167 *) ac_try_echo=$ac_try;; 9550 9168 esac 9551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9552 $as_echo "$ac_try_echo") >&5 9169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9553 9170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9554 9171 ac_status=$? … … 9556 9173 rm -f conftest.er1 9557 9174 cat conftest.err >&5 9558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&59175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9559 9176 (exit $ac_status); } >/dev/null && { 9560 9177 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 9563 9180 ac_header_preproc=yes 9564 9181 else 9565 $as_echo "$as_me: failed program was:" >&59182 echo "$as_me: failed program was:" >&5 9566 9183 sed 's/^/| /' conftest.$ac_ext >&5 9567 9184 … … 9570 9187 9571 9188 rm -f conftest.err conftest.$ac_ext 9572 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&59573 $as_echo "$ac_header_preproc" >&6; }9189 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9190 echo "${ECHO_T}$ac_header_preproc" >&6; } 9574 9191 9575 9192 # So? What about this header? 9576 9193 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9577 9194 yes:no: ) 9578 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&59579 $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;}9580 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&59581 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;}9195 { echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5 9196 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" >&5 9198 echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;} 9582 9199 ac_header_preproc=yes 9583 9200 ;; 9584 9201 no:yes:* ) 9585 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&59586 $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;}9587 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: check for missing prerequisite headers?" >&59588 $as_echo "$as_me: WARNING: GL/glew.h: check for missing prerequisite headers?" >&2;}9589 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&59590 $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;}9591 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&59592 $as_echo "$as_me: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&2;}9593 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&59594 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;}9595 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&59596 $as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;}9202 { echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5 9203 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?" >&5 9205 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" >&5 9207 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\"" >&5 9209 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" >&5 9211 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" >&5 9213 echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;} 9597 9214 ( cat <<\_ASBOX 9598 9215 ## ----------------------------------- ## … … 9603 9220 ;; 9604 9221 esac 9605 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&59606 $as_echo_n "checking for GL/glew.h..." >&6; }9222 { echo "$as_me:$LINENO: checking for GL/glew.h" >&5 9223 echo $ECHO_N "checking for GL/glew.h... $ECHO_C" >&6; } 9607 9224 if test "${ac_cv_header_GL_glew_h+set}" = set; then 9608 $as_echo_n "(cached)" >&69225 echo $ECHO_N "(cached) $ECHO_C" >&6 9609 9226 else 9610 9227 ac_cv_header_GL_glew_h=$ac_header_preproc 9611 9228 fi 9612 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&59613 $as_echo "$ac_cv_header_GL_glew_h" >&6; }9229 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 9230 echo "${ECHO_T}$ac_cv_header_GL_glew_h" >&6; } 9614 9231 9615 9232 fi … … 9617 9234 9618 9235 if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then 9619 { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&59620 $as_echo_n "checking for Cg/cgGL.h..." >&6; }9236 { echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5 9237 echo $ECHO_N "checking for Cg/cgGL.h... $ECHO_C" >&6; } 9621 9238 if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then 9622 $as_echo_n "(cached)" >&69623 fi 9624 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&59625 $as_echo "$ac_cv_header_Cg_cgGL_h" >&6; }9239 echo $ECHO_N "(cached) $ECHO_C" >&6 9240 fi 9241 { echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5 9242 echo "${ECHO_T}$ac_cv_header_Cg_cgGL_h" >&6; } 9626 9243 else 9627 9244 # Is the header compilable? 9628 { $as_echo "$as_me:$LINENO: checking Cg/cgGL.h usability" >&59629 $as_echo_n "checking Cg/cgGL.h usability..." >&6; }9245 { echo "$as_me:$LINENO: checking Cg/cgGL.h usability" >&5 9246 echo $ECHO_N "checking Cg/cgGL.h usability... $ECHO_C" >&6; } 9630 9247 cat >conftest.$ac_ext <<_ACEOF 9631 9248 /* confdefs.h. */ … … 9643 9260 *) ac_try_echo=$ac_try;; 9644 9261 esac 9645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9646 $as_echo "$ac_try_echo") >&5 9262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9647 9263 (eval "$ac_compile") 2>conftest.er1 9648 9264 ac_status=$? … … 9650 9266 rm -f conftest.er1 9651 9267 cat conftest.err >&5 9652 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&59268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9653 9269 (exit $ac_status); } && { 9654 9270 test -z "$ac_cxx_werror_flag" || … … 9657 9273 ac_header_compiler=yes 9658 9274 else 9659 $as_echo "$as_me: failed program was:" >&59275 echo "$as_me: failed program was:" >&5 9660 9276 sed 's/^/| /' conftest.$ac_ext >&5 9661 9277 … … 9664 9280 9665 9281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9666 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&59667 $as_echo "$ac_header_compiler" >&6; }9282 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9283 echo "${ECHO_T}$ac_header_compiler" >&6; } 9668 9284 9669 9285 # Is the header present? 9670 { $as_echo "$as_me:$LINENO: checking Cg/cgGL.h presence" >&59671 $as_echo_n "checking Cg/cgGL.h presence..." >&6; }9286 { echo "$as_me:$LINENO: checking Cg/cgGL.h presence" >&5 9287 echo $ECHO_N "checking Cg/cgGL.h presence... $ECHO_C" >&6; } 9672 9288 cat >conftest.$ac_ext <<_ACEOF 9673 9289 /* confdefs.h. */ … … 9683 9299 *) ac_try_echo=$ac_try;; 9684 9300 esac 9685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9686 $as_echo "$ac_try_echo") >&5 9301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9687 9302 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9688 9303 ac_status=$? … … 9690 9305 rm -f conftest.er1 9691 9306 cat conftest.err >&5 9692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&59307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9693 9308 (exit $ac_status); } >/dev/null && { 9694 9309 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 9697 9312 ac_header_preproc=yes 9698 9313 else 9699 $as_echo "$as_me: failed program was:" >&59314 echo "$as_me: failed program was:" >&5 9700 9315 sed 's/^/| /' conftest.$ac_ext >&5 9701 9316 … … 9704 9319 9705 9320 rm -f conftest.err conftest.$ac_ext 9706 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&59707 $as_echo "$ac_header_preproc" >&6; }9321 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9322 echo "${ECHO_T}$ac_header_preproc" >&6; } 9708 9323 9709 9324 # So? What about this header? 9710 9325 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9711 9326 yes:no: ) 9712 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&59713 $as_echo "$as_me: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&2;}9714 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&59715 $as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&2;}9327 { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&5 9328 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" >&5 9330 echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&2;} 9716 9331 ac_header_preproc=yes 9717 9332 ;; 9718 9333 no:yes:* ) 9719 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: present but cannot be compiled" >&59720 $as_echo "$as_me: WARNING: Cg/cgGL.h: present but cannot be compiled" >&2;}9721 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: check for missing prerequisite headers?" >&59722 $as_echo "$as_me: WARNING: Cg/cgGL.h: check for missing prerequisite headers?" >&2;}9723 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&59724 $as_echo "$as_me: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&2;}9725 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: section \"Present But Cannot Be Compiled\"" >&59726 $as_echo "$as_me: WARNING: Cg/cgGL.h: section \"Present But Cannot Be Compiled\"" >&2;}9727 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&59728 $as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&2;}9729 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&59730 $as_echo "$as_me: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&2;}9334 { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: present but cannot be compiled" >&5 9335 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?" >&5 9337 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" >&5 9339 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\"" >&5 9341 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" >&5 9343 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" >&5 9345 echo "$as_me: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&2;} 9731 9346 ( cat <<\_ASBOX 9732 9347 ## ----------------------------------- ## … … 9737 9352 ;; 9738 9353 esac 9739 { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&59740 $as_echo_n "checking for Cg/cgGL.h..." >&6; }9354 { echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5 9355 echo $ECHO_N "checking for Cg/cgGL.h... $ECHO_C" >&6; } 9741 9356 if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then 9742 $as_echo_n "(cached)" >&69357 echo $ECHO_N "(cached) $ECHO_C" >&6 9743 9358 else 9744 9359 ac_cv_header_Cg_cgGL_h=$ac_header_preproc 9745 9360 fi 9746 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&59747 $as_echo "$ac_cv_header_Cg_cgGL_h" >&6; }9361 { echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5 9362 echo "${ECHO_T}$ac_cv_header_Cg_cgGL_h" >&6; } 9748 9363 9749 9364 fi … … 9758 9373 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 9759 9374 do 9760 as_ac_Header=` $as_echo "ac_cv_header_$ac_header" | $as_tr_sh`9375 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9761 9376 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9762 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&59763 $as_echo_n "checking for $ac_header..." >&6; }9377 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9764 9379 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9765 $as_echo_n "(cached) " >&6 9766 fi 9767 ac_res=`eval 'as_val=${'$as_ac_Header'} 9768 $as_echo "$as_val"'` 9769 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9770 $as_echo "$ac_res" >&6; } 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; } 9771 9385 else 9772 9386 # Is the header compilable? 9773 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&59774 $as_echo_n "checking $ac_header usability..." >&6; }9387 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 9388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9775 9389 cat >conftest.$ac_ext <<_ACEOF 9776 9390 /* confdefs.h. */ … … 9788 9402 *) ac_try_echo=$ac_try;; 9789 9403 esac 9790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9791 $as_echo "$ac_try_echo") >&5 9404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9792 9405 (eval "$ac_compile") 2>conftest.er1 9793 9406 ac_status=$? … … 9795 9408 rm -f conftest.er1 9796 9409 cat conftest.err >&5 9797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&59410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9798 9411 (exit $ac_status); } && { 9799 9412 test -z "$ac_cxx_werror_flag" || … … 9802 9415 ac_header_compiler=yes 9803 9416 else 9804 $as_echo "$as_me: failed program was:" >&59417 echo "$as_me: failed program was:" >&5 9805 9418 sed 's/^/| /' conftest.$ac_ext >&5 9806 9419 … … 9809 9422 9810 9423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9811 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&59812 $as_echo "$ac_header_compiler" >&6; }9424 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9425 echo "${ECHO_T}$ac_header_compiler" >&6; } 9813 9426 9814 9427 # Is the header present? 9815 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&59816 $as_echo_n "checking $ac_header presence..." >&6; }9428 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9817 9430 cat >conftest.$ac_ext <<_ACEOF 9818 9431 /* confdefs.h. */ … … 9828 9441 *) ac_try_echo=$ac_try;; 9829 9442 esac 9830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9831 $as_echo "$ac_try_echo") >&5 9443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9832 9444 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9833 9445 ac_status=$? … … 9835 9447 rm -f conftest.er1 9836 9448 cat conftest.err >&5 9837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&59449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9838 9450 (exit $ac_status); } >/dev/null && { 9839 9451 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 9842 9454 ac_header_preproc=yes 9843 9455 else 9844 $as_echo "$as_me: failed program was:" >&59456 echo "$as_me: failed program was:" >&5 9845 9457 sed 's/^/| /' conftest.$ac_ext >&5 9846 9458 … … 9849 9461 9850 9462 rm -f conftest.err conftest.$ac_ext 9851 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&59852 $as_echo "$ac_header_preproc" >&6; }9463 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9464 echo "${ECHO_T}$ac_header_preproc" >&6; } 9853 9465 9854 9466 # So? What about this header? 9855 9467 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9856 9468 yes:no: ) 9857 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&59858 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}9859 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&59860 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}9469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9470 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" >&5 9472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9861 9473 ac_header_preproc=yes 9862 9474 ;; 9863 9475 no:yes:* ) 9864 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&59865 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}9866 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&59867 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}9868 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&59869 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}9870 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&59871 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}9872 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&59873 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}9874 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&59875 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}9476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9477 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?" >&5 9479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9481 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\"" >&5 9483 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" >&5 9485 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" >&5 9487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9876 9488 ( cat <<\_ASBOX 9877 9489 ## ----------------------------------- ## … … 9882 9494 ;; 9883 9495 esac 9884 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&59885 $as_echo_n "checking for $ac_header..." >&6; }9496 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9886 9498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9887 $as_echo_n "(cached)" >&69499 echo $ECHO_N "(cached) $ECHO_C" >&6 9888 9500 else 9889 9501 eval "$as_ac_Header=\$ac_header_preproc" 9890 9502 fi 9891 ac_res=`eval 'as_val=${'$as_ac_Header'} 9892 $as_echo "$as_val"'` 9893 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9894 $as_echo "$ac_res" >&6; } 9895 9896 fi 9897 as_val=`eval 'as_val=${'$as_ac_Header'} 9898 $as_echo "$as_val"'` 9899 if test "x$as_val" = x""yes; then 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 9900 9509 cat >>confdefs.h <<_ACEOF 9901 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 19510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9902 9511 _ACEOF 9903 9512 … … 9913 9522 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 9914 9523 do 9915 as_ac_Header=` $as_echo "ac_cv_header_$ac_header" | $as_tr_sh`9524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9916 9525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9917 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&59918 $as_echo_n "checking for $ac_header..." >&6; }9526 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9919 9528 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9920 $as_echo_n "(cached) " >&6 9921 fi 9922 ac_res=`eval 'as_val=${'$as_ac_Header'} 9923 $as_echo "$as_val"'` 9924 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9925 $as_echo "$ac_res" >&6; } 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; } 9926 9534 else 9927 9535 # Is the header compilable? 9928 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&59929 $as_echo_n "checking $ac_header usability..." >&6; }9536 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 9537 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9930 9538 cat >conftest.$ac_ext <<_ACEOF 9931 9539 /* confdefs.h. */ … … 9943 9551 *) ac_try_echo=$ac_try;; 9944 9552 esac 9945 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9946 $as_echo "$ac_try_echo") >&5 9553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9947 9554 (eval "$ac_compile") 2>conftest.er1 9948 9555 ac_status=$? … … 9950 9557 rm -f conftest.er1 9951 9558 cat conftest.err >&5 9952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&59559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9953 9560 (exit $ac_status); } && { 9954 9561 test -z "$ac_cxx_werror_flag" || … … 9957 9564 ac_header_compiler=yes 9958 9565 else 9959 $as_echo "$as_me: failed program was:" >&59566 echo "$as_me: failed program was:" >&5 9960 9567 sed 's/^/| /' conftest.$ac_ext >&5 9961 9568 … … 9964 9571 9965 9572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9966 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&59967 $as_echo "$ac_header_compiler" >&6; }9573 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9574 echo "${ECHO_T}$ac_header_compiler" >&6; } 9968 9575 9969 9576 # Is the header present? 9970 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&59971 $as_echo_n "checking $ac_header presence..." >&6; }9577 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9972 9579 cat >conftest.$ac_ext <<_ACEOF 9973 9580 /* confdefs.h. */ … … 9983 9590 *) ac_try_echo=$ac_try;; 9984 9591 esac 9985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9986 $as_echo "$ac_try_echo") >&5 9592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9987 9593 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9988 9594 ac_status=$? … … 9990 9596 rm -f conftest.er1 9991 9597 cat conftest.err >&5 9992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&59598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9993 9599 (exit $ac_status); } >/dev/null && { 9994 9600 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 9997 9603 ac_header_preproc=yes 9998 9604 else 9999 $as_echo "$as_me: failed program was:" >&59605 echo "$as_me: failed program was:" >&5 10000 9606 sed 's/^/| /' conftest.$ac_ext >&5 10001 9607 … … 10004 9610 10005 9611 rm -f conftest.err conftest.$ac_ext 10006 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&510007 $as_echo "$ac_header_preproc" >&6; }9612 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9613 echo "${ECHO_T}$ac_header_preproc" >&6; } 10008 9614 10009 9615 # So? What about this header? 10010 9616 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10011 9617 yes:no: ) 10012 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&510013 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}10014 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&510015 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}9618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9619 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" >&5 9621 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10016 9622 ac_header_preproc=yes 10017 9623 ;; 10018 9624 no:yes:* ) 10019 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&510020 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}10021 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&510022 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}10023 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&510024 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}10025 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&510026 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}10027 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&510028 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}10029 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&510030 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}9625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9626 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?" >&5 9628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9629 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9630 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\"" >&5 9632 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" >&5 9634 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" >&5 9636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10031 9637 ( cat <<\_ASBOX 10032 9638 ## ----------------------------------- ## … … 10037 9643 ;; 10038 9644 esac 10039 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&510040 $as_echo_n "checking for $ac_header..." >&6; }9645 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10041 9647 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10042 $as_echo_n "(cached)" >&69648 echo $ECHO_N "(cached) $ECHO_C" >&6 10043 9649 else 10044 9650 eval "$as_ac_Header=\$ac_header_preproc" 10045 9651 fi 10046 ac_res=`eval 'as_val=${'$as_ac_Header'} 10047 $as_echo "$as_val"'` 10048 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 10049 $as_echo "$ac_res" >&6; } 10050 10051 fi 10052 as_val=`eval 'as_val=${'$as_ac_Header'} 10053 $as_echo "$as_val"'` 10054 if test "x$as_val" = x""yes; then 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 10055 9658 cat >>confdefs.h <<_ACEOF 10056 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 19659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10057 9660 _ACEOF 10058 9661 … … 10062 9665 10063 9666 10064 { $as_echo "$as_me:$LINENO: checking for DX installation" >&510065 $as_echo_n "checking for DX installation..." >&6; }9667 { echo "$as_me:$LINENO: checking for DX installation" >&5 9668 echo $ECHO_N "checking for DX installation... $ECHO_C" >&6; } 10066 9669 DX_DIR="" 10067 9670 for dir in \ … … 10076 9679 done 10077 9680 if test "x${DX_DIR}" = "x" ; then 10078 { { $as_echo "$as_me:$LINENO: error: can't find OpenDX installation" >&510079 $as_echo "$as_me: error: can't find OpenDX installation" >&2;}9681 { { echo "$as_me:$LINENO: error: can't find OpenDX installation" >&5 9682 echo "$as_me: error: can't find OpenDX installation" >&2;} 10080 9683 { (exit 1); exit 1; }; } 10081 9684 fi … … 10088 9691 10089 9692 10090 { $as_echo "$as_me:$LINENO: result: ${DX_DIR}" >&5 10091 $as_echo "${DX_DIR}" >&6; } 10092 10093 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5 10094 $as_echo_n "checking for nVidia Cg installation... " >&6; } 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 9702 do 9703 if test -r "${dir}/include/ffmpeg/avcodec.h" ; then 9704 FFMPEG_DIR="$dir" 9705 break 9706 fi 9707 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; } 10095 9726 CG_DIR="" 10096 9727 for dir in \ … … 10105 9736 done 10106 9737 if test "x${CG_DIR}" = "x" ; then 10107 { { $as_echo "$as_me:$LINENO: error: can't find nVidia Cg installation" >&510108 $as_echo "$as_me: error: can't find nVidia Cg installation" >&2;}9738 { { echo "$as_me:$LINENO: error: can't find nVidia Cg installation" >&5 9739 echo "$as_me: error: can't find nVidia Cg installation" >&2;} 10109 9740 { (exit 1); exit 1; }; } 10110 9741 fi … … 10117 9748 10118 9749 10119 { $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&510120 $as_echo "${CG_DIR}" >&6; }9750 { echo "$as_me:$LINENO: result: ${CG_DIR}" >&5 9751 echo "${ECHO_T}${CG_DIR}" >&6; } 10121 9752 10122 9753 … … 10152 9783 *${as_nl}*) 10153 9784 case $ac_var in #( 10154 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&510155 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;9785 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 9786 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 10156 9787 esac 10157 9788 case $ac_var in #( 10158 9789 _ | IFS | as_nl) ;; #( 10159 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(10160 9790 *) $as_unset $ac_var ;; 10161 9791 esac ;; … … 10190 9820 if test -w "$cache_file"; then 10191 9821 test "x$cache_file" != "x/dev/null" && 10192 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&510193 $as_echo "$as_me: updating cache $cache_file" >&6;}9822 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 9823 echo "$as_me: updating cache $cache_file" >&6;} 10194 9824 cat confcache >$cache_file 10195 9825 else 10196 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&510197 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}9826 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 9827 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 10198 9828 fi 10199 9829 fi … … 10211 9841 # 1. Remove the extension, and $U if already installed. 10212 9842 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 10213 ac_i=` $as_echo "$ac_i" | sed "$ac_script"`9843 ac_i=`echo "$ac_i" | sed "$ac_script"` 10214 9844 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 10215 9845 # will be set to the directory where LIBOBJS objects are built. … … 10223 9853 10224 9854 10225 10226 9855 : ${CONFIG_STATUS=./config.status} 10227 ac_write_fail=010228 9856 ac_clean_files_save=$ac_clean_files 10229 9857 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 10230 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&510231 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}10232 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=19858 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 9859 echo "$as_me: creating $CONFIG_STATUS" >&6;} 9860 cat >$CONFIG_STATUS <<_ACEOF 10233 9861 #! $SHELL 10234 9862 # Generated by $as_me. … … 10243 9871 _ACEOF 10244 9872 10245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=19873 cat >>$CONFIG_STATUS <<\_ACEOF 10246 9874 ## --------------------- ## 10247 9875 ## M4sh Initialization. ## … … 10253 9881 emulate sh 10254 9882 NULLCMD=: 10255 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which9883 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 10256 9884 # is contrary to our usage. Disable this feature. 10257 9885 alias -g '${1+"$@"}'='"$@"' … … 10275 9903 as_cr_alnum=$as_cr_Letters$as_cr_digits 10276 9904 10277 as_nl='10278 '10279 export as_nl10280 # Printing a long string crashes Solaris 7 /usr/bin/printf.10281 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'10282 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo10283 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo10284 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then10285 as_echo='printf %s\n'10286 as_echo_n='printf %s'10287 else10288 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then10289 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'10290 as_echo_n='/usr/ucb/echo -n'10291 else10292 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'10293 as_echo_n_body='eval10294 arg=$1;10295 case $arg in10296 *"$as_nl"*)10297 expr "X$arg" : "X\\(.*\\)$as_nl";10298 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;10299 esac;10300 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"10301 '10302 export as_echo_n_body10303 as_echo_n='sh -c $as_echo_n_body as_echo'10304 fi10305 export as_echo_body10306 as_echo='sh -c $as_echo_body as_echo'10307 fi10308 10309 9905 # The user is always right. 10310 9906 if test "${PATH_SEPARATOR+set}" != set; then 10311 PATH_SEPARATOR=: 10312 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 10313 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 10314 PATH_SEPARATOR=';' 10315 } 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 10316 9916 fi 10317 9917 … … 10329 9929 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 10330 9930 # splitting by setting IFS to empty value.) 9931 as_nl=' 9932 ' 10331 9933 IFS=" "" $as_nl" 10332 9934 … … 10351 9953 fi 10352 9954 if test ! -f "$as_myself"; then 10353 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&29955 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 10354 9956 { (exit 1); exit 1; } 10355 9957 fi … … 10364 9966 10365 9967 # NLS nuisances. 10366 LC_ALL=C 10367 export LC_ALL 10368 LANGUAGE=C 10369 export LANGUAGE 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 10370 9979 10371 9980 # Required to use basename. … … 10389 9998 X"$0" : 'X\(//\)$' \| \ 10390 9999 X"$0" : 'X\(/\)' \| . 2>/dev/null || 10391 $as_echo X/"$0" |10000 echo X/"$0" | 10392 10001 sed '/^.*\/\([^/][^/]*\)\/*$/{ 10393 10002 s//\1/ … … 10440 10049 ' >$as_me.lineno && 10441 10050 chmod +x "$as_me.lineno" || 10442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&210051 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 10443 10052 { (exit 1); exit 1; }; } 10444 10053 … … 10468 10077 ECHO_N='-n';; 10469 10078 esac 10079 10470 10080 if expr a : '\(a\)' >/dev/null 2>&1 && 10471 10081 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 10480 10090 else 10481 10091 rm -f conf$$.dir 10482 mkdir conf$$.dir 2>/dev/null 10483 fi 10484 if (echo >conf$$.file) 2>/dev/null; then 10485 if ln -s conf$$.file conf$$ 2>/dev/null; then 10486 as_ln_s='ln -s' 10487 # ... but there are two gotchas: 10488 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 10489 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 10490 # In both cases, we have to default to `cp -p'. 10491 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10492 as_ln_s='cp -p' 10493 elif ln conf$$.file conf$$ 2>/dev/null; then 10494 as_ln_s=ln 10495 else 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 || 10496 10102 as_ln_s='cp -p' 10497 fi 10103 elif ln conf$$.file conf$$ 2>/dev/null; then 10104 as_ln_s=ln 10498 10105 else 10499 10106 as_ln_s='cp -p' … … 10520 10127 eval sh -c '\'' 10521 10128 if test -d "$1"; then 10522 10129 test -d "$1/."; 10523 10130 else 10524 10131 case $1 in 10525 10132 -*)set "./$1";; 10526 10133 esac; 10527 10134 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in … … 10546 10153 ac_log=" 10547 10154 This file was extended by vizservers $as_me 0.1, which was 10548 generated by GNU Autoconf 2.6 3. Invocation command line was10155 generated by GNU Autoconf 2.61. Invocation command line was 10549 10156 10550 10157 CONFIG_FILES = $CONFIG_FILES … … 10559 10166 _ACEOF 10560 10167 10561 case $ac_config_files in *" 10562 "*) set x $ac_config_files; shift; ac_config_files=$*;; 10563 esac 10564 10565 case $ac_config_headers in *" 10566 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 10567 esac 10568 10569 10570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10168 cat >>$CONFIG_STATUS <<_ACEOF 10571 10169 # Files that config.status was made for. 10572 10170 config_files="$ac_config_files" … … 10575 10173 _ACEOF 10576 10174 10577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=110175 cat >>$CONFIG_STATUS <<\_ACEOF 10578 10176 ac_cs_usage="\ 10579 10177 \`$as_me' instantiates files from templates according to the 10580 10178 current configuration. 10581 10179 10582 Usage: $0 [OPTION ]...[FILE]...10180 Usage: $0 [OPTIONS] [FILE]... 10583 10181 10584 10182 -h, --help print this help, then exit 10585 10183 -V, --version print version number and configuration settings, then exit 10586 -q, --quiet, --silent 10587 do not print progress messages 10184 -q, --quiet do not print progress messages 10588 10185 -d, --debug don't remove temporary files 10589 10186 --recheck update $as_me by reconfiguring in the same conditions 10590 10591 10592 10593 10187 --file=FILE[:TEMPLATE] 10188 instantiate the configuration file FILE 10189 --header=FILE[:TEMPLATE] 10190 instantiate the configuration header FILE 10594 10191 10595 10192 Configuration files: … … 10602 10199 10603 10200 _ACEOF 10604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=110201 cat >>$CONFIG_STATUS <<_ACEOF 10605 10202 ac_cs_version="\\ 10606 10203 vizservers config.status 0.1 10607 configured by $0, generated by GNU Autoconf 2.6 3,10608 with options \\"` $as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"10609 10610 Copyright (C) 200 8Free Software Foundation, Inc.10204 configured by $0, generated by GNU Autoconf 2.61, 10205 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 10206 10207 Copyright (C) 2006 Free Software Foundation, Inc. 10611 10208 This config.status script is free software; the Free Software Foundation 10612 10209 gives unlimited permission to copy, distribute and modify it." … … 10616 10213 INSTALL='$INSTALL' 10617 10214 MKDIR_P='$MKDIR_P' 10618 test -n "\$AWK" || AWK=awk 10619 _ACEOF 10620 10621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10622 # The default lists apply if the user does not specify any file.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. 10623 10220 ac_need_defaults=: 10624 10221 while test $# != 0 … … 10642 10239 ac_cs_recheck=: ;; 10643 10240 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 10644 $as_echo "$ac_cs_version"; exit ;;10241 echo "$ac_cs_version"; exit ;; 10645 10242 --debug | --debu | --deb | --de | --d | -d ) 10646 10243 debug=: ;; 10647 10244 --file | --fil | --fi | --f ) 10648 10245 $ac_shift 10649 case $ac_optarg in 10650 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10651 esac 10652 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 10246 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 10653 10247 ac_need_defaults=false;; 10654 10248 --header | --heade | --head | --hea ) 10655 10249 $ac_shift 10656 case $ac_optarg in 10657 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10658 esac 10659 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 10250 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 10660 10251 ac_need_defaults=false;; 10661 10252 --he | --h) 10662 10253 # Conflict between --help and --header 10663 { $as_echo "$as_me: error: ambiguous option: $110254 { echo "$as_me: error: ambiguous option: $1 10664 10255 Try \`$0 --help' for more information." >&2 10665 10256 { (exit 1); exit 1; }; };; 10666 10257 --help | --hel | -h ) 10667 $as_echo "$ac_cs_usage"; exit ;;10258 echo "$ac_cs_usage"; exit ;; 10668 10259 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10669 10260 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 10671 10262 10672 10263 # This is an error. 10673 -*) { $as_echo "$as_me: error: unrecognized option: $110264 -*) { echo "$as_me: error: unrecognized option: $1 10674 10265 Try \`$0 --help' for more information." >&2 10675 10266 { (exit 1); exit 1; }; } ;; … … 10690 10281 10691 10282 _ACEOF 10692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=110283 cat >>$CONFIG_STATUS <<_ACEOF 10693 10284 if \$ac_cs_recheck; then 10694 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 10695 shift 10696 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 10697 CONFIG_SHELL='$SHELL' 10285 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 10286 CONFIG_SHELL=$SHELL 10698 10287 export CONFIG_SHELL 10699 exec "\$@"10700 fi 10701 10702 _ACEOF 10703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=110288 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 10289 fi 10290 10291 _ACEOF 10292 cat >>$CONFIG_STATUS <<\_ACEOF 10704 10293 exec 5>>config.log 10705 10294 { … … 10708 10297 ## Running $as_me. ## 10709 10298 _ASBOX 10710 $as_echo "$ac_log"10299 echo "$ac_log" 10711 10300 } >&5 10712 10301 10713 10302 _ACEOF 10714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=110715 _ACEOF 10716 10717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=110303 cat >>$CONFIG_STATUS <<_ACEOF 10304 _ACEOF 10305 10306 cat >>$CONFIG_STATUS <<\_ACEOF 10718 10307 10719 10308 # Handling of arguments. … … 10732 10321 "start_viz.sh") CONFIG_FILES="$CONFIG_FILES start_viz.sh" ;; 10733 10322 10734 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&510735 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}10323 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 10324 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 10736 10325 { (exit 1); exit 1; }; };; 10737 10326 esac … … 10773 10362 } || 10774 10363 { 10775 $as_echo "$as_me: cannot create a temporary directory in ." >&210364 echo "$me: cannot create a temporary directory in ." >&2 10776 10365 { (exit 1); exit 1; } 10777 10366 } 10778 10367 10779 # Set up the scripts for CONFIG_FILES section. 10780 # No need to generate them if there are no CONFIG_FILES. 10781 # This happens for instance with `./config.status config.h'. 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 10782 10374 if test -n "$CONFIG_FILES"; then 10783 10375 10784 10785 ac_cr=' 10786 ' 10787 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10788 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 10789 ac_cs_awk_cr='\\r' 10790 else 10791 ac_cs_awk_cr=$ac_cr 10792 fi 10793 10794 echo 'BEGIN {' >"$tmp/subs1.awk" && 10795 _ACEOF 10796 10797 10798 { 10799 echo "cat >conf$$subs.awk <<_ACEOF" && 10800 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 10801 echo "_ACEOF" 10802 } >conf$$subs.sh || 10803 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 10804 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 10805 { (exit 1); exit 1; }; } 10806 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 10376 _ACEOF 10377 10378 10379 10807 10380 ac_delim='%!_!# ' 10808 10381 for ac_last_try in false false false false false :; do 10809 . ./conf$$subs.sh || 10810 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 10811 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 10812 { (exit 1); exit 1; }; } 10813 10814 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 10815 if test $ac_delim_n = $ac_delim_num; then 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 10816 10479 break 10817 10480 elif $ac_last_try; then 10818 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&510819 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}10481 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 10482 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 10820 10483 { (exit 1); exit 1; }; } 10821 10484 else … … 10823 10486 fi 10824 10487 done 10825 rm -f conf$$subs.sh 10826 10827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10828 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 10829 _ACEOF 10830 sed -n ' 10831 h 10832 s/^/S["/; s/!.*/"]=/ 10833 p 10834 g 10835 s/^[^!]*!// 10836 :repl 10837 t repl 10838 s/'"$ac_delim"'$// 10839 t delim 10840 :nl 10841 h 10842 s/\(.\{148\}\).*/\1/ 10843 t more1 10844 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 10845 p 10846 n 10847 b repl 10848 :more1 10849 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10850 p 10851 g 10852 s/.\{148\}// 10853 t nl 10854 :delim 10855 h 10856 s/\(.\{148\}\).*/\1/ 10857 t more2 10858 s/["\\]/\\&/g; s/^/"/; s/$/"/ 10859 p 10860 b 10861 :more2 10862 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10863 p 10864 g 10865 s/.\{148\}// 10866 t delim 10867 ' <conf$$subs.awk | sed ' 10868 /^[^""]/{ 10869 N 10870 s/\n// 10871 } 10872 ' >>$CONFIG_STATUS || ac_write_fail=1 10873 rm -f conf$$subs.awk 10874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10875 _ACAWK 10876 cat >>"\$tmp/subs1.awk" <<_ACAWK && 10877 for (key in S) S_is_set[key] = 1 10878 FS = "" 10879 10880 } 10881 { 10882 line = $ 0 10883 nfields = split(line, field, "@") 10884 substed = 0 10885 len = length(field[1]) 10886 for (i = 2; i < nfields; i++) { 10887 key = field[i] 10888 keylen = length(key) 10889 if (S_is_set[key]) { 10890 value = S[key] 10891 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 10892 len += length(value) + length(field[++i]) 10893 substed = 1 10894 } else 10895 len += 1 + keylen 10896 } 10897 10898 print line 10899 } 10900 10901 _ACAWK 10902 _ACEOF 10903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10904 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 10905 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 10906 else 10907 cat 10908 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 10909 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 10910 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 10911 { (exit 1); exit 1; }; } 10912 _ACEOF 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 10913 10515 10914 10516 # VPATH may cause trouble with some makes, so we remove $(srcdir), … … 10927 10529 fi 10928 10530 10929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=110531 cat >>$CONFIG_STATUS <<\_ACEOF 10930 10532 fi # test -n "$CONFIG_FILES" 10931 10533 10932 # Set up the scripts for CONFIG_HEADERS section. 10933 # No need to generate them if there are no CONFIG_HEADERS. 10934 # This happens for instance with `./config.status Makefile'. 10935 if test -n "$CONFIG_HEADERS"; then 10936 cat >"$tmp/defines.awk" <<\_ACAWK || 10937 BEGIN { 10938 _ACEOF 10939 10940 # Transform confdefs.h into an awk script `defines.awk', embedded as 10941 # here-document in config.status, that substitutes the proper values into 10942 # config.h.in to produce config.h. 10943 10944 # Create a delimiter string that does not exist in confdefs.h, to ease 10945 # handling of long lines. 10946 ac_delim='%!_!# ' 10947 for ac_last_try in false false :; do 10948 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 10949 if test -z "$ac_t"; then 10950 break 10951 elif $ac_last_try; then 10952 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 10953 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 10954 { (exit 1); exit 1; }; } 10955 else 10956 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10957 fi 10958 done 10959 10960 # For the awk script, D is an array of macro values keyed by name, 10961 # likewise P contains macro parameters if any. Preserve backslash 10962 # newline sequences. 10963 10964 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 10965 sed -n ' 10966 s/.\{148\}/&'"$ac_delim"'/g 10967 t rset 10968 :rset 10969 s/^[ ]*#[ ]*define[ ][ ]*/ / 10970 t def 10971 d 10972 :def 10973 s/\\$// 10974 t bsnl 10975 s/["\\]/\\&/g 10976 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10977 D["\1"]=" \3"/p 10978 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 10979 d 10980 :bsnl 10981 s/["\\]/\\&/g 10982 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10983 D["\1"]=" \3\\\\\\n"\\/p 10984 t cont 10985 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 10986 t cont 10987 d 10988 :cont 10989 n 10990 s/.\{148\}/&'"$ac_delim"'/g 10991 t clear 10992 :clear 10993 s/\\$// 10994 t bsnlc 10995 s/["\\]/\\&/g; s/^/"/; s/$/"/p 10996 d 10997 :bsnlc 10998 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 10999 b cont 11000 ' <confdefs.h | sed ' 11001 s/'"$ac_delim"'/"\\\ 11002 "/g' >>$CONFIG_STATUS || ac_write_fail=1 11003 11004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11005 for (key in D) D_is_set[key] = 1 11006 FS = "" 11007 } 11008 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 11009 line = \$ 0 11010 split(line, arg, " ") 11011 if (arg[1] == "#") { 11012 defundef = arg[2] 11013 mac1 = arg[3] 11014 } else { 11015 defundef = substr(arg[1], 2) 11016 mac1 = arg[2] 11017 } 11018 split(mac1, mac2, "(") #) 11019 macro = mac2[1] 11020 prefix = substr(line, 1, index(line, defundef) - 1) 11021 if (D_is_set[macro]) { 11022 # Preserve the white space surrounding the "#". 11023 print prefix "define", macro P[macro] D[macro] 11024 next 11025 } else { 11026 # Replace #undef with comments. This is necessary, for example, 11027 # in the case of _POSIX_SOURCE, which is predefined and required 11028 # on some systems where configure will not decide to define it. 11029 if (defundef == "undef") { 11030 print "/*", prefix defundef, macro, "*/" 11031 next 11032 } 11033 } 11034 } 11035 { print } 11036 _ACAWK 11037 _ACEOF 11038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11039 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 11040 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 11041 { (exit 1); exit 1; }; } 11042 fi # test -n "$CONFIG_HEADERS" 11043 11044 11045 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 11046 shift 11047 for ac_tag 10534 10535 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 11048 10536 do 11049 10537 case $ac_tag in … … 11052 10540 case $ac_mode$ac_tag in 11053 10541 :[FHL]*:*);; 11054 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&511055 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}10542 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 10543 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 11056 10544 { (exit 1); exit 1; }; };; 11057 10545 :[FH]-) ac_tag=-:-;; … … 11082 10570 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 11083 10571 esac || 11084 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&511085 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}10572 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 10573 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 11086 10574 { (exit 1); exit 1; }; };; 11087 10575 esac 11088 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 11089 ac_file_inputs="$ac_file_inputs '$ac_f'" 10576 ac_file_inputs="$ac_file_inputs $ac_f" 11090 10577 done 11091 10578 … … 11093 10580 # use $as_me), people would be surprised to read: 11094 10581 # /* config.h. Generated by config.status. */ 11095 configure_input='Generated from '` 11096 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 11097 `' by configure.' 10582 configure_input="Generated from "`IFS=: 10583 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 11098 10584 if test x"$ac_file" != x-; then 11099 10585 configure_input="$ac_file. $configure_input" 11100 { $as_echo "$as_me:$LINENO: creating $ac_file" >&511101 $as_echo "$as_me: creating $ac_file" >&6;}10586 { echo "$as_me:$LINENO: creating $ac_file" >&5 10587 echo "$as_me: creating $ac_file" >&6;} 11102 10588 fi 11103 # Neutralize special characters interpreted by sed in replacement strings.11104 case $configure_input in #(11105 *\&* | *\|* | *\\* )11106 ac_sed_conf_input=`$as_echo "$configure_input" |11107 sed 's/[\\\\&|]/\\\\&/g'`;; #(11108 *) ac_sed_conf_input=$configure_input;;11109 esac11110 10589 11111 10590 case $ac_tag in 11112 *:-:* | *:-) cat >"$tmp/stdin" \ 11113 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 11114 $as_echo "$as_me: error: could not create $ac_file" >&2;} 11115 { (exit 1); exit 1; }; } ;; 10591 *:-:* | *:-) cat >"$tmp/stdin";; 11116 10592 esac 11117 10593 ;; … … 11123 10599 X"$ac_file" : 'X\(//\)$' \| \ 11124 10600 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 11125 $as_echo X"$ac_file" |10601 echo X"$ac_file" | 11126 10602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11127 10603 s//\1/ … … 11149 10625 while :; do 11150 10626 case $as_dir in #( 11151 *\'*) as_qdir=` $as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(10627 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 11152 10628 *) as_qdir=$as_dir;; 11153 10629 esac … … 11158 10634 X"$as_dir" : 'X\(//\)$' \| \ 11159 10635 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 11160 $as_echo X"$as_dir" |10636 echo X"$as_dir" | 11161 10637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11162 10638 s//\1/ … … 11179 10655 done 11180 10656 test -z "$as_dirs" || eval "mkdir $as_dirs" 11181 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&511182 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}10657 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10658 echo "$as_me: error: cannot create directory $as_dir" >&2;} 11183 10659 { (exit 1); exit 1; }; }; } 11184 10660 ac_builddir=. … … 11187 10663 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 11188 10664 *) 11189 ac_dir_suffix=/` $as_echo "$ac_dir" | sed 's|^\.[\\/]||'`10665 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 11190 10666 # A ".." for each directory in $ac_dir_suffix. 11191 ac_top_builddir_sub=` $as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`10667 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 11192 10668 case $ac_top_builddir_sub in 11193 10669 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 11234 10710 _ACEOF 11235 10711 11236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=110712 cat >>$CONFIG_STATUS <<\_ACEOF 11237 10713 # If the template does not know about datarootdir, expand it. 11238 10714 # FIXME: This hack should be removed a few years after 2.60. 11239 10715 ac_datarootdir_hack=; ac_datarootdir_seen= 11240 10716 11241 ac_sed_dataroot=' 11242 /datarootdir/ { 10717 case `sed -n '/datarootdir/ { 11243 10718 p 11244 10719 q … … 11249 10724 /@localedir@/p 11250 10725 /@mandir@/p 11251 ' 11252 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10726 ' $ac_file_inputs` in 11253 10727 *datarootdir*) ac_datarootdir_seen=yes;; 11254 10728 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 11255 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&511256 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}11257 _ACEOF 11258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=110729 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10730 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10731 _ACEOF 10732 cat >>$CONFIG_STATUS <<_ACEOF 11259 10733 ac_datarootdir_hack=' 11260 10734 s&@datadir@&$datadir&g … … 11270 10744 # Shell code in configure.ac might set extrasub. 11271 10745 # FIXME: do we really want to maintain this feature? 11272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=111273 ac_sed_extra="$ac_vpsub10746 cat >>$CONFIG_STATUS <<_ACEOF 10747 sed "$ac_vpsub 11274 10748 $extrasub 11275 10749 _ACEOF 11276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=110750 cat >>$CONFIG_STATUS <<\_ACEOF 11277 10751 :t 11278 10752 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 11279 s |@configure_input@|$ac_sed_conf_input|;t t10753 s&@configure_input@&$configure_input&;t t 11280 10754 s&@top_builddir@&$ac_top_builddir_sub&;t t 11281 s&@top_build_prefix@&$ac_top_build_prefix&;t t11282 10755 s&@srcdir@&$ac_srcdir&;t t 11283 10756 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 11290 10763 s&@MKDIR_P@&$ac_MKDIR_P&;t t 11291 10764 $ac_datarootdir_hack 11292 " 11293 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 11294 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 11295 $as_echo "$as_me: error: could not create $ac_file" >&2;} 11296 { (exit 1); exit 1; }; } 10765 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 11297 10766 11298 10767 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 11299 10768 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 11300 10769 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 11301 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'10770 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11302 10771 which seems to be undefined. Please make sure it is defined." >&5 11303 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'10772 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11304 10773 which seems to be undefined. Please make sure it is defined." >&2;} 11305 10774 11306 10775 rm -f "$tmp/stdin" 11307 10776 case $ac_file in 11308 -) cat "$tmp/out" && rm -f "$tmp/out";; 11309 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 11310 esac \ 11311 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 11312 $as_echo "$as_me: error: could not create $ac_file" >&2;} 11313 { (exit 1); exit 1; }; } 10777 -) cat "$tmp/out"; rm -f "$tmp/out";; 10778 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 10779 esac 11314 10780 ;; 11315 10781 :H) … … 11317 10783 # CONFIG_HEADER 11318 10784 # 10785 _ACEOF 10786 10787 # Transform confdefs.h into a sed script `conftest.defines', that 10788 # substitutes the proper values into config.h.in to produce config.h. 10789 rm -f conftest.defines conftest.tail 10790 # First, append a space to every undef/define line, to ease matching. 10791 echo 's/$/ /' >conftest.defines 10792 # Then, protect against being on the right side of a sed subst, or in 10793 # an unquoted here document, in config.status. If some macros were 10794 # called several times there might be several #defines for the same 10795 # symbol, which is useless. But do not sort them, since the last 10796 # 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", where 10799 # 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's 10801 # 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 rset 10810 :rset 10811 s/^[ ]*#[ ]*define[ ][ ]*// 10812 t ok 10813 d 10814 :ok 10815 s/[\\&,]/\\&/g 10816 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 10817 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 10818 ' >>conftest.defines 10819 10820 # Remove the space that was appended to ease matching. 10821 # Then replace #undef with comments. This is necessary, for 10822 # example, in the case of _POSIX_SOURCE, which is predefined and required 10823 # 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.defines 10827 10828 # Break up conftest.defines: 10829 ac_max_sed_lines=50 10830 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 do 10841 # Write a here document: 10842 cat >>$CONFIG_STATUS <<_ACEOF 10843 # First, check the format of the line: 10844 cat >"\$tmp/defines.sed" <<\\CEOF 10845 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 10846 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 10847 b 10848 :def 10849 _ACEOF 10850 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 10851 echo 'CEOF 10852 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 10853 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 10854 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 10855 grep . conftest.tail >/dev/null || break 10856 rm -f conftest.defines 10857 mv conftest.tail conftest.defines 10858 done 10859 rm -f conftest.defines conftest.tail 10860 10861 echo "ac_result=$ac_in" >>$CONFIG_STATUS 10862 cat >>$CONFIG_STATUS <<\_ACEOF 11319 10863 if test x"$ac_file" != x-; then 11320 { 11321 $as_echo "/* $configure_input */" \ 11322 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 11323 } >"$tmp/config.h" \ 11324 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 11325 $as_echo "$as_me: error: could not create $ac_file" >&2;} 11326 { (exit 1); exit 1; }; } 11327 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 11328 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 11329 $as_echo "$as_me: $ac_file is unchanged" >&6;} 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;} 11330 10869 else 11331 rm -f "$ac_file" 11332 mv "$tmp/config.h" "$ac_file" \ 11333 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 11334 $as_echo "$as_me: error: could not create $ac_file" >&2;} 11335 { (exit 1); exit 1; }; } 10870 rm -f $ac_file 10871 mv "$tmp/config.h" $ac_file 11336 10872 fi 11337 10873 else 11338 $as_echo "/* $configure_input */" \ 11339 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 11340 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 11341 $as_echo "$as_me: error: could not create -" >&2;} 11342 { (exit 1); exit 1; }; } 10874 echo "/* $configure_input */" 10875 cat "$ac_result" 11343 10876 fi 10877 rm -f "$tmp/out12" 11344 10878 ;; 11345 10879 … … 11354 10888 chmod +x $CONFIG_STATUS 11355 10889 ac_clean_files=$ac_clean_files_save 11356 11357 test $ac_write_fail = 0 ||11358 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&511359 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}11360 { (exit 1); exit 1; }; }11361 10890 11362 10891 … … 11381 10910 $ac_cs_success || { (exit 1); exit 1; } 11382 10911 fi 11383 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 11384 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 11385 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 11386 fi 11387 10912 -
trunk/packages/vizservers/configure.in
r1278 r1282 70 70 # pthread library 71 71 # DX headers and library (done, sort of) 72 # ffmpeg headers and library (started) 72 73 # 73 74 … … 183 184 AC_MSG_RESULT([${DX_DIR}]) 184 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}]) 209 185 210 AC_MSG_CHECKING([for nVidia Cg installation]) 186 211 CG_DIR="" -
trunk/packages/vizservers/nanovis/Command.cpp
r1250 r1282 33 33 * the vector. 1) Use a list instead of a vector. 2) carry 34 34 * an id field that's a number that gets incremented each new volume. 35 * x Create R2, matrix, etc. libraries. (done) * o Add bookkeeping for volumes, heightmaps, flows, etc. to track 35 * x Create R2, matrix, etc. libraries. (done) 36 * o Add bookkeeping for volumes, heightmaps, flows, etc. to track 36 37 * 1) id # 2) simulation # 3) include/exclude. The include/exclude 37 38 * is to indicate whether the item should contribute to the overall … … 52 53 #include <RpOutcome.h> 53 54 #include <RpBuffer.h> 55 #include <RpAVTranslate.h> 54 56 55 57 #include "transfer-function/TransferFunctionMain.h" … … 676 678 } 677 679 if (NanoVis::recfile != NULL) { 678 679 680 fwrite(buf.bytes(), sizeof(char), buf.size(), NanoVis::recfile); 681 fflush(NanoVis::recfile); 680 682 } 681 683 { … … 696 698 static int 697 699 CameraAimOp(ClientData cdata, Tcl_Interp *interp, int objc, 698 700 Tcl_Obj *const *objv) 699 701 { 700 702 float x, y, z; … … 712 714 static int 713 715 CameraAngleOp(ClientData cdata, Tcl_Interp *interp, int objc, 714 716 Tcl_Obj *const *objv) 715 717 { 716 718 float theta, phi, psi; … … 727 729 static int 728 730 CameraPanOp(ClientData cdata, Tcl_Interp *interp, int objc, 729 731 Tcl_Obj *const *objv) 730 732 { 731 733 float x, y; … … 740 742 static int 741 743 CameraZoomOp(ClientData cdata, Tcl_Interp *interp, int objc, 742 744 Tcl_Obj *const *objv) 743 745 { 744 746 float zoom; … … 931 933 tf = NanoVis::get_transfunc(string); 932 934 if (tf == NULL) { 933 Tcl_AppendResult(interp, "unknown transfer function \"", string, "\"", 934 935 Tcl_AppendResult(interp, "unknown transfer function \"", string, "\"", 936 (char*)NULL); 935 937 return TCL_ERROR; 936 938 } … … 945 947 NanoVis::SetVolumeRanges(); 946 948 } 947 NanoVis::render_legend(tf, 948 NanoVis::grid->yAxis.min(), 949 NanoVis::grid->yAxis.max(), w, h, label); 949 NanoVis::render_legend(tf, NanoVis::grid->yAxis.min(), 950 NanoVis::grid->yAxis.max(), w, h, label); 950 951 return TCL_OK; 951 952 } … … 1354 1355 } 1355 1356 volPtr = NanoVis::volume[n]; 1357 // FIXME: strlen(info) is the return value of sprintf 1356 1358 sprintf(info, "nv>data id %d min %g max %g vmin %g vmax %g\n", 1357 1359 n, volPtr->wAxis.min(), volPtr->wAxis.max(), … … 1712 1714 } 1713 1715 1716 // ========================= VOLUME END ================================== 1717 1718 // ============================= FLOW ================================== 1719 1720 static int 1721 FlowDataFollowsOp(ClientData cdata, Tcl_Interp *interp, int objc, 1722 Tcl_Obj *const *objv) 1723 { 1724 Trace("Flow Data Loading\n"); 1725 1726 int nbytes; 1727 if (Tcl_GetIntFromObj(interp, objv[3], &nbytes) != TCL_OK) { 1728 return TCL_ERROR; 1729 } 1730 1731 Rappture::Buffer buf; 1732 if (GetDataStream(interp, buf, nbytes) != TCL_OK) { 1733 return TCL_ERROR; 1734 } 1735 int n = NanoVis::n_volumes; 1736 std::stringstream fdata; 1737 fdata.write(buf.bytes(),buf.size()); 1738 load_vector_stream(n, fdata); 1739 Volume *volPtr = NanoVis::volume[n]; 1740 1741 // 1742 // BE CAREFUL: Set the number of slices to something 1743 // slightly different for each volume. If we have 1744 // identical volumes at exactly the same position 1745 // with exactly the same number of slices, the second 1746 // volume will overwrite the first, so the first won't 1747 // appear at all. 1748 // 1749 if (volPtr != NULL) { 1750 //volPtr->set_n_slice(256-n); 1751 volPtr->set_n_slice(512-n); 1752 volPtr->disable_cutplane(0); 1753 volPtr->disable_cutplane(1); 1754 volPtr->disable_cutplane(2); 1755 1756 NanoVis::vol_renderer->add_volume(volPtr, 1757 NanoVis::get_transfunc("default")); 1758 } 1759 1760 return TCL_OK; 1761 } 1762 1763 static Rappture::CmdSpec flowDataOps[] = { 1764 {"follows", 1, FlowDataFollowsOp, 4, 4, "size",}, 1765 }; 1766 static int nFlowDataOps = NumCmdSpecs(flowDataOps); 1767 1768 static int 1769 FlowDataOp(ClientData cdata, Tcl_Interp *interp, int objc, 1770 Tcl_Obj *const *objv) 1771 { 1772 Tcl_ObjCmdProc *proc; 1773 1774 proc = Rappture::GetOpFromObj(interp, nFlowDataOps, flowDataOps, 1775 Rappture::CMDSPEC_ARG2, objc, objv, 0); 1776 if (proc == NULL) { 1777 return TCL_ERROR; 1778 } 1779 return (*proc) (cdata, interp, objc, objv); 1780 } 1781 1782 static int 1783 FlowCaptureOp(ClientData cdata, Tcl_Interp *interp, int objc, 1784 Tcl_Obj *const *objv) 1785 { 1786 int total_frame_count; 1787 1788 if (Tcl_GetIntFromObj(interp, objv[2], &total_frame_count) != TCL_OK) { 1789 return TCL_ERROR; 1790 } 1791 if (NanoVis::licRenderer) { 1792 NanoVis::licRenderer->activate(); 1793 } 1794 if (NanoVis::particleRenderer) { 1795 NanoVis::particleRenderer->activate(); 1796 } 1797 1798 const char *fileName = Tcl_GetString(objv[3]); 1799 1800 Trace("FLOW started\n"); 1801 1802 Rappture::AVTranslate movie(NanoVis::win_width,NanoVis::win_height); 1803 1804 int pad = 0; 1805 if ((3*NanoVis::win_width) % 4 > 0) { 1806 pad = 4 - ((3*NanoVis::win_width) % 4); 1807 } 1808 1809 movie.init(fileName); 1810 1811 for (int frame_count = 0; frame_count < total_frame_count; frame_count++) { 1812 1813 // Generate the latest frame and send it back to the client 1814 if (NanoVis::licRenderer && 1815 NanoVis::licRenderer->isActivated()) { 1816 NanoVis::licRenderer->convolve(); 1817 } 1818 if (NanoVis::particleRenderer && 1819 NanoVis::particleRenderer->isActivated()) { 1820 NanoVis::particleRenderer->advect(); 1821 } 1822 NanoVis::offscreen_buffer_capture(); //enable offscreen render 1823 NanoVis::display(); 1824 1825 NanoVis::read_screen(); 1826 glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); 1827 1828 // this is done before bmp_write_to_file because bmp_write_to_file 1829 // turns rgb data to bgr 1830 movie.append(NanoVis::screen_buffer,pad); 1831 // NanoVis::bmp_write_to_file(frame_count, fileName); 1832 } 1833 1834 movie.close(); 1835 Trace("FLOW end\n"); 1836 1837 if (NanoVis::licRenderer) { 1838 NanoVis::licRenderer->deactivate(); 1839 } 1840 if (NanoVis::particleRenderer) { 1841 NanoVis::particleRenderer->deactivate(); 1842 } 1843 NanoVis::initParticle(); 1844 return TCL_OK; 1845 } 1846 1847 static int 1848 FlowLicOp(ClientData cdata, Tcl_Interp *interp, int objc, 1849 Tcl_Obj *const *objv) 1850 { 1851 bool state; 1852 if (GetBooleanFromObj(interp, objv[2], &state) != TCL_OK) { 1853 return TCL_ERROR; 1854 } 1855 NanoVis::lic_on = state; 1856 return TCL_OK; 1857 } 1858 1859 static int 1860 FlowParticleVisibleOp(ClientData cdata, Tcl_Interp *interp, int objc, 1861 Tcl_Obj *const *objv) 1862 { 1863 bool state; 1864 if (GetBooleanFromObj(interp, objv[3], &state) != TCL_OK) { 1865 return TCL_ERROR; 1866 } 1867 NanoVis::particle_on = state; 1868 return TCL_OK; 1869 } 1870 1871 static int 1872 FlowParticleSliceOp(ClientData cdata, Tcl_Interp *interp, int objc, 1873 Tcl_Obj *const *objv) 1874 { 1875 int axis; 1876 if (GetAxisFromObj(interp, objv[3], &axis) != TCL_OK) { 1877 return TCL_ERROR; 1878 } 1879 NanoVis::lic_axis = axis; 1880 return TCL_OK; 1881 } 1882 1883 static int 1884 FlowParticleSliceposOp(ClientData cdata, Tcl_Interp *interp, int objc, 1885 Tcl_Obj *const *objv) 1886 { 1887 float pos; 1888 if (GetFloatFromObj(interp, objv[2], &pos) != TCL_OK) { 1889 return TCL_ERROR; 1890 } 1891 if (pos < 0.0f) { 1892 pos = 0.0f; 1893 } else if (pos > 1.0f) { 1894 pos = 1.0f; 1895 } 1896 switch (NanoVis::lic_axis) { 1897 case 0 : 1898 NanoVis::lic_slice_x = pos; 1899 break; 1900 case 1 : 1901 NanoVis::lic_slice_y = pos; 1902 break; 1903 case 2 : 1904 NanoVis::lic_slice_z = pos; 1905 break; 1906 } 1907 return TCL_OK; 1908 } 1909 1910 static Rappture::CmdSpec flowParticleOps[] = { 1911 {"slice", 1, FlowParticleSliceOp, 4, 4, "index",}, 1912 {"slicepos", 1, FlowParticleSliceposOp, 4, 4, "value",}, 1913 {"visible", 1, FlowParticleVisibleOp, 4, 4, "on|off",}, 1914 }; 1915 static int nFlowParticleOps = NumCmdSpecs(flowParticleOps); 1916 1917 static int 1918 FlowParticleOp(ClientData cdata, Tcl_Interp *interp, int objc, 1919 Tcl_Obj *const *objv) 1920 { 1921 Tcl_ObjCmdProc *proc; 1922 1923 proc = Rappture::GetOpFromObj(interp, nFlowParticleOps, flowParticleOps, 1924 Rappture::CMDSPEC_ARG2, objc, objv, 0); 1925 if (proc == NULL) { 1926 return TCL_ERROR; 1927 } 1928 return (*proc) (cdata, interp, objc, objv); 1929 } 1930 1931 static int 1932 FlowResetOp(ClientData cdata, Tcl_Interp *interp, int objc, 1933 Tcl_Obj *const *objv) 1934 { 1935 NanoVis::initParticle(); 1936 return TCL_OK; 1937 } 1938 1939 static int 1940 FlowVectorIdOp(ClientData cdata, Tcl_Interp *interp, int objc, 1941 Tcl_Obj *const *objv) 1942 { 1943 Volume *volPtr; 1944 if (GetVolumeFromObj(interp, objv[2], &volPtr) != TCL_OK) { 1945 return TCL_ERROR; 1946 } 1947 if (NanoVis::particleRenderer != NULL) { 1948 NanoVis::particleRenderer->setVectorField(volPtr->id, 1.0f, 1949 volPtr->height / (float)volPtr->width, 1950 volPtr->depth / (float)volPtr->width, 1951 volPtr->wAxis.max()); 1952 NanoVis::initParticle(); 1953 } 1954 if (NanoVis::licRenderer != NULL) { 1955 NanoVis::licRenderer->setVectorField(volPtr->id, 1956 1.0f / volPtr->aspect_ratio_width, 1957 1.0f / volPtr->aspect_ratio_height, 1958 1.0f / volPtr->aspect_ratio_depth, 1959 volPtr->wAxis.max()); 1960 NanoVis::licRenderer->set_offset(NanoVis::lic_slice_z); 1961 } 1962 return TCL_OK; 1963 } 1964 1965 static Rappture::CmdSpec flowOps[] = { 1966 {"capture", 1, FlowCaptureOp, 4, 4, "frames filename",}, 1967 {"data", 1, FlowDataOp, 3, 0, "oper ?args?",}, 1968 {"lic", 1, FlowLicOp, 3, 3, "on|off",}, 1969 {"particle", 1, FlowParticleOp, 3, 0, "oper ?args?",}, 1970 {"reset", 1, FlowResetOp, 2, 2, "",}, 1971 {"vectorid", 1, FlowVectorIdOp, 3, 3, "index",}, 1972 }; 1973 static int nFlowOps = NumCmdSpecs(flowOps); 1974 1975 /* 1976 * ---------------------------------------------------------------------- 1977 * CLIENT COMMAND: 1978 * flow data follows <value> 1979 * flow capture 1980 * flow lic on|off 1981 * flow particle visible on|off 1982 * flow particle slice <volumeId> 1983 * flow particle slicepos <value> 1984 * flow reset 1985 * flow vectorid <volumeId> 1986 * 1987 * Clients send these commands to manipulate the flow. 1988 * ---------------------------------------------------------------------- 1989 */ 1714 1990 static int 1715 1991 FlowCmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) 1716 1992 { 1717 Rappture::Outcome err; 1718 1719 if (objc < 2) { 1720 Tcl_AppendResult(interp, "wrong # args: should be \"", 1721 Tcl_GetString(objv[0]), " option ?arg arg?", (char *)NULL); 1722 return TCL_ERROR; 1723 } 1724 const char *string = Tcl_GetString(objv[1]); 1725 char c = string[0]; 1726 if ((c == 'v') && (strcmp(string, "vectorid") == 0)) { 1727 if (objc != 3) { 1728 Tcl_AppendResult(interp, "wrong # args: should be \"", 1729 Tcl_GetString(objv[0]), " vectorid volume", (char *)NULL); 1730 return TCL_ERROR; 1731 } 1732 Volume *volPtr; 1733 if (GetVolumeFromObj(interp, objv[2], &volPtr) != TCL_OK) { 1734 return TCL_ERROR; 1735 } 1736 if (NanoVis::particleRenderer != NULL) { 1737 NanoVis::particleRenderer->setVectorField(volPtr->id, 1.0f, 1738 volPtr->height / (float)volPtr->width, 1739 volPtr->depth / (float)volPtr->width, 1740 volPtr->wAxis.max()); 1741 NanoVis::initParticle(); 1742 } 1743 if (NanoVis::licRenderer != NULL) { 1744 NanoVis::licRenderer->setVectorField(volPtr->id, 1745 1.0f / volPtr->aspect_ratio_width, 1746 1.0f / volPtr->aspect_ratio_height, 1747 1.0f / volPtr->aspect_ratio_depth, 1748 volPtr->wAxis.max()); 1749 NanoVis::licRenderer->set_offset(NanoVis::lic_slice_z); 1750 } 1751 } else if (c == 'l' && strcmp(string, "lic") == 0) { 1752 if (objc != 3) { 1753 Tcl_AppendResult(interp, "wrong # args: should be \"", 1754 Tcl_GetString(objv[0]), " lic on|off\"", (char*)NULL); 1755 return TCL_ERROR; 1756 } 1757 bool state; 1758 if (GetBooleanFromObj(interp, objv[2], &state) != TCL_OK) { 1759 return TCL_ERROR; 1760 } 1761 NanoVis::lic_on = state; 1762 } else if ((c == 'p') && (strcmp(string, "particle") == 0)) { 1763 if (objc < 3) { 1764 Tcl_AppendResult(interp, "wrong # args: should be \"", 1765 Tcl_GetString(objv[0]), " particle visible|slice|slicepos arg \"", 1766 (char*)NULL); 1767 return TCL_ERROR; 1768 } 1769 const char *string = Tcl_GetString(objv[2]); 1770 c = string[0]; 1771 if ((c == 'v') && (strcmp(string, "visible") == 0)) { 1772 if (objc != 4) { 1773 Tcl_AppendResult(interp, "wrong # args: should be \"", 1774 Tcl_GetString(objv[0]), " particle visible on|off\"", 1775 (char*)NULL); 1776 return TCL_ERROR; 1777 } 1778 bool state; 1779 if (GetBooleanFromObj(interp, objv[3], &state) != TCL_OK) { 1780 return TCL_ERROR; 1781 } 1782 NanoVis::particle_on = state; 1783 } else if ((c == 's') && (strcmp(string, "slice") == 0)) { 1784 if (objc != 4) { 1785 Tcl_AppendResult(interp, "wrong # args: should be \"", 1786 Tcl_GetString(objv[0]), 1787 " particle slice volume\"", (char*)NULL); 1788 return TCL_ERROR; 1789 } 1790 int axis; 1791 if (GetAxisFromObj(interp, objv[3], &axis) != TCL_OK) { 1792 return TCL_ERROR; 1793 } 1794 NanoVis::lic_axis = axis; 1795 } else if ((c == 's') && (strcmp(string, "slicepos") == 0)) { 1796 if (objc != 4) { 1797 Tcl_AppendResult(interp, "wrong # args: should be \"", 1798 Tcl_GetString(objv[0]), " particle slicepos value\"", 1799 (char*)NULL); 1800 return TCL_ERROR; 1801 } 1802 float pos; 1803 if (GetFloatFromObj(interp, objv[2], &pos) != TCL_OK) { 1804 return TCL_ERROR; 1805 } 1806 if (pos < 0.0f) { 1807 pos = 0.0f; 1808 } else if (pos > 1.0f) { 1809 pos = 1.0f; 1810 } 1811 switch (NanoVis::lic_axis) { 1812 case 0 : 1813 NanoVis::lic_slice_x = pos; 1814 break; 1815 case 1 : 1816 NanoVis::lic_slice_y = pos; 1817 break; 1818 case 2 : 1819 NanoVis::lic_slice_z = pos; 1820 break; 1821 } 1822 } else { 1823 Tcl_AppendResult(interp, "unknown option \"", string, 1824 "\": should be \"", Tcl_GetString(objv[0]), 1825 " visible, slice, or slicepos\"", (char *)NULL); 1826 return TCL_ERROR; 1827 } 1828 } else if ((c == 'r') && (strcmp(string, "reset") == 0)) { 1829 NanoVis::initParticle(); 1830 } else if ((c == 'c') && (strcmp(string, "capture") == 0)) { 1831 if (objc > 4 || objc < 3) { 1832 Tcl_AppendResult(interp, "wrong # args: should be \"", 1833 Tcl_GetString(objv[0]), " capture numframes [directory]\"", 1834 (char*)NULL); 1835 return TCL_ERROR; 1836 } 1837 int total_frame_count; 1838 1839 if (Tcl_GetIntFromObj(interp, objv[2], &total_frame_count) != TCL_OK) { 1840 return TCL_ERROR; 1841 } 1842 if (NanoVis::licRenderer) { 1843 NanoVis::licRenderer->activate(); 1844 } 1845 if (NanoVis::particleRenderer) { 1846 NanoVis::particleRenderer->activate(); 1847 } 1848 // Karl 1849 // 1850 Trace("FLOW started\n"); 1851 const char *fileName; 1852 fileName = (objc < 4) ? NULL : Tcl_GetString(objv[3]); 1853 for (int frame_count = 0; frame_count < total_frame_count; 1854 frame_count++) { 1855 1856 // Generate the latest frame and send it back to the client 1857 if (NanoVis::licRenderer && 1858 NanoVis::licRenderer->isActivated()) { 1859 NanoVis::licRenderer->convolve(); 1860 } 1861 if (NanoVis::particleRenderer && 1862 NanoVis::particleRenderer->isActivated()) { 1863 NanoVis::particleRenderer->advect(); 1864 } 1865 NanoVis::offscreen_buffer_capture(); //enable offscreen render 1866 NanoVis::display(); 1867 1868 // printf("Read Screen for Writing to file...\n"); 1869 1870 NanoVis::read_screen(); 1871 glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); 1872 1873 NanoVis::bmp_write_to_file(frame_count, fileName); 1874 } 1875 Trace("FLOW end\n"); 1876 // put your code... 1877 if (NanoVis::licRenderer) { 1878 NanoVis::licRenderer->deactivate(); 1879 } 1880 if (NanoVis::particleRenderer) { 1881 NanoVis::particleRenderer->deactivate(); 1882 } 1883 NanoVis::initParticle(); 1884 } else if ((c == 'd') && (strcmp(string, "data") == 0)) { 1885 if (objc < 3) { 1886 Tcl_AppendResult(interp, "wrong # args: should be \"", 1887 Tcl_GetString(objv[0]), " data follows ?args?", (char *)NULL); 1888 return TCL_ERROR; 1889 } 1890 const char *string = Tcl_GetString(objv[2]);; 1891 c = string[0]; 1892 if ((c == 'f') && (strcmp(string,"follows") == 0)) { 1893 if (objc != 4) { 1894 Tcl_AppendResult(interp, "wrong # args: should be \"", 1895 Tcl_GetString(objv[0]), " data follows length", 1896 (char *)NULL); 1897 return TCL_ERROR; 1898 } 1899 int nbytes; 1900 if (Tcl_GetIntFromObj(interp, objv[3], &nbytes) != TCL_OK) { 1901 return TCL_ERROR; 1902 } 1903 Rappture::Buffer buf; 1904 if (GetDataStream(interp, buf, nbytes) != TCL_OK) { 1905 return TCL_ERROR; 1906 } 1907 int n = NanoVis::n_volumes; 1908 std::stringstream fdata; 1909 fdata.write(buf.bytes(),buf.size()); 1910 load_vector_stream(n, fdata); 1911 Volume *volPtr = NanoVis::volume[n]; 1912 1913 // 1914 // BE CAREFUL: Set the number of slices to something 1915 // slightly different for each volume. If we have 1916 // identical volumes at exactly the same position 1917 // with exactly the same number of slices, the second 1918 // volume will overwrite the first, so the first won't 1919 // appear at all. 1920 // 1921 if (volPtr != NULL) { 1922 //volPtr->set_n_slice(256-n); 1923 volPtr->set_n_slice(512-n); 1924 volPtr->disable_cutplane(0); 1925 volPtr->disable_cutplane(1); 1926 volPtr->disable_cutplane(2); 1927 1928 NanoVis::vol_renderer->add_volume(volPtr, 1929 NanoVis::get_transfunc("default")); 1930 } 1931 } 1932 } else { 1933 return TCL_ERROR; 1934 } 1935 return TCL_OK; 1936 } 1993 Tcl_ObjCmdProc *proc; 1994 1995 proc = Rappture::GetOpFromObj(interp, nFlowOps, flowOps, 1996 Rappture::CMDSPEC_ARG1, objc, objv, 0); 1997 if (proc == NULL) { 1998 return TCL_ERROR; 1999 } 2000 return (*proc) (cdata, interp, objc, objv); 2001 } 2002 2003 // ============================ FLOW END ================================== 1937 2004 1938 2005 static int … … 1953 2020 result = Tcl_Eval(interp, buf.bytes()); 1954 2021 if (result != TCL_OK) { 1955 fprintf(NanoVis::logfile, "error in command: %s\n", 1956 2022 fprintf(NanoVis::logfile, "error in command: %s\n", 2023 Tcl_GetStringResult(interp)); 1957 2024 fflush(NanoVis::logfile); 1958 2025 } … … 2153 2220 2154 2221 NanoVis::render_2d_contour(heightmap, image_width, image_height); 2155 2222 2156 2223 return TCL_OK; 2157 2224 } … … 2470 2537 static int nPlaneOps = NumCmdSpecs(planeOps); 2471 2538 2472 static int 2539 static int 2473 2540 PlaneCmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) 2474 { 2541 { 2475 2542 Tcl_ObjCmdProc *proc; 2476 2543 … … 2518 2585 for (i = 1; i < objc; i += 2) { 2519 2586 const char *string; 2520 2587 char c; 2521 2588 2522 2589 string = Tcl_GetString(objv[i]); 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2590 c = string[0]; 2591 if ((c == 'x') && (strcmp(string, "xmin") == 0)) { 2592 if (GetFloatFromObj(interp, objv[i+1], &xMin) != TCL_OK) { 2593 return TCL_ERROR; 2594 } 2595 } else if ((c == 'x') && (strcmp(string, "xmax") == 0)) { 2596 if (GetFloatFromObj(interp, objv[i+1], &xMax) != TCL_OK) { 2597 return TCL_ERROR; 2598 } 2599 } else if ((c == 'x') && (strcmp(string, "xnum") == 0)) { 2600 if (Tcl_GetIntFromObj(interp, objv[i+1], &xNum) != TCL_OK) { 2601 return TCL_ERROR; 2602 } 2603 if (xNum <= 0) { 2604 Tcl_AppendResult(interp, "bad xnum value: must be > 0", 2605 (char *)NULL); 2606 return TCL_ERROR; 2607 } 2608 } else if ((c == 'x') && (strcmp(string, "xunits") == 0)) { 2609 xUnits = Tcl_GetString(objv[i+1]); 2610 } else if ((c == 'y') && (strcmp(string, "ymin") == 0)) { 2544 2611 if (GetFloatFromObj(interp, objv[i+1], &yMin) != TCL_OK) { 2545 2612 return TCL_ERROR; … … 2558 2625 return TCL_ERROR; 2559 2626 } 2560 2561 2627 } else if ((c == 'y') && (strcmp(string, "yunits") == 0)) { 2628 yUnits = Tcl_GetString(objv[i+1]); 2562 2629 } else if ((c == 'z') && (strcmp(string, "zvalues") == 0)) { 2563 2630 Tcl_Obj **zObj; … … 2573 2640 } 2574 2641 } 2575 2576 2642 } else if ((c == 'z') && (strcmp(string, "zunits") == 0)) { 2643 zUnits = Tcl_GetString(objv[i+1]); 2577 2644 } else { 2578 2645 Tcl_AppendResult(interp, "unknown key \"", string, -
trunk/packages/vizservers/nanovis/Makefile.in
r1278 r1282 8 8 9 9 bindir = @bindir@ 10 datadir 11 datarootdir 10 datadir = @datadir@ 11 datarootdir = @datarootdir@ 12 12 exec_prefix = @exec_prefix@ 13 13 includedir = @includedir@ … … 15 15 mandir = @mandir@ 16 16 prefix = @prefix@ 17 srcdir 18 19 VPATH 20 21 INSTALL 22 MKDIR_P 17 srcdir = @srcdir@ 18 19 VPATH = $(srcdir) 20 21 INSTALL = @INSTALL@ 22 MKDIR_P = @MKDIR_P@ 23 23 24 24 #Why are these files installed owner writable? 25 INSTALL_PROGRAM = ${INSTALL} -m 555 26 INSTALL_DATA = ${INSTALL} -m 444 27 INSTALL_SCRIPT = ${INSTALL} -m 444 28 RM = rm -f 29 30 AUXSRC = config.h define.h global.h 31 32 CG_DIR = @CG_DIR@ 33 CG_INC_SPEC = -I$(CG_DIR)/include 34 CG_LIB_SPEC = -L$(CG_DIR)/lib -lCg -lCgGL 35 DX_DIR = @DX_DIR@ 36 DX_INC_SPEC = -I$(DX_DIR)/include 37 DX_LIB_SPEC = -L$(DX_DIR)/lib_linux -lDXcallm 38 GL_INC_SPEC = -I/usr/include/GL 39 GL_LIB_SPEC = -lGL -lglut -lglui -lGLEW 40 IMG_DIR = ./imgLoaders 41 IMG_INC_SPEC = -I$(srcdir)/$(IMG_DIR) 42 IMG_LIB = $(IMG_DIR)/ImageLoaders.a 43 IMG_LIB_SPEC = $(IMG_LIB) 44 MAT_DIR = ./newmat11 45 MAT_INC_SPEC = -I$(srcdir)/$(MAT_DIR) 46 MAT_LIB = $(MAT_DIR)/newmat11.a 47 MAT_LIB_SPEC = $(MAT_LIB) 48 R2_DIR = ./R2 49 R2_INC_SPEC = -I$(srcdir)/$(R2_DIR)/include 50 R2_LIB = $(R2_DIR)/src/R2.a 25 INSTALL_PROGRAM = ${INSTALL} -m 555 26 INSTALL_DATA = ${INSTALL} -m 444 27 INSTALL_SCRIPT = ${INSTALL} -m 444 28 RM = rm -f 29 30 AUXSRC = config.h define.h global.h 31 32 CG_DIR = @CG_DIR@ 33 CG_INC_SPEC = -I$(CG_DIR)/include 34 CG_LIB_SPEC = -L$(CG_DIR)/lib -lCg -lCgGL 35 DX_DIR = @DX_DIR@ 36 DX_INC_SPEC = -I$(DX_DIR)/include 37 DX_LIB_SPEC = -L$(DX_DIR)/lib_linux -lDXcallm 38 FFMPEG_DIR = @FFMPEG_DIR@ 39 FF_INC_SPEC = -I$(FFMPEG_DIR)/include 40 FF_LIB_SPEC = -L$(FFMPEG_DIR)/lib -lavformat -lavcodec 41 # might also need -lavutil 42 GL_INC_SPEC = -I/usr/include/GL 43 GL_LIB_SPEC = -lGL -lglut -lglui -lGLEW 44 IMG_DIR = ./imgLoaders 45 IMG_INC_SPEC = -I$(srcdir)/$(IMG_DIR) 46 IMG_LIB = $(IMG_DIR)/ImageLoaders.a 47 IMG_LIB_SPEC = $(IMG_LIB) 48 MAT_DIR = ./newmat11 49 MAT_INC_SPEC = -I$(srcdir)/$(MAT_DIR) 50 MAT_LIB = $(MAT_DIR)/newmat11.a 51 MAT_LIB_SPEC = $(MAT_LIB) 52 R2_DIR = ./R2 53 R2_INC_SPEC = -I$(srcdir)/$(R2_DIR)/include 54 R2_LIB = $(R2_DIR)/src/R2.a 51 55 R2_LIB_SPEC = $(R2_LIB) 52 56 53 EXTRA_LIBS = -lm -lpthread 54 RP_DIR 55 RP_INC_SPEC 56 RP_LIB_SPEC 57 58 TF_DIR 59 TF_INC_SPEC = -I$(TF_DIR)60 TF_LIB 61 TF_LIB_SPEC 62 63 TCL_LIB_SPEC 64 TCL_INC_SPEC 65 66 LD_RUN_PATH 57 EXTRA_LIBS = -lm -lpthread 58 RP_DIR = @RP_DIR@ 59 RP_INC_SPEC = -I$(RP_DIR)/include -I$(RP_DIR)/include/rappture2 60 RP_LIB_SPEC = -L$(RP_DIR)/lib -lrappture2 -lrappture -lexpat -lz 61 62 TF_DIR = ./transfer-function 63 TF_INC_SPEC = -I$(TF_DIR) 64 TF_LIB = $(TF_DIR)/transfer-function.a 65 TF_LIB_SPEC = $(TF_LIB) 66 67 TCL_LIB_SPEC = @TCL_LIB_SPEC@ 68 TCL_INC_SPEC = @TCL_INC_SPEC@ 69 70 LD_RUN_PATH = @LD_RPATH@ 67 71 68 72 LIBS = \ 69 73 $(RP_LIB_SPEC) \ 70 74 $(DX_LIB_SPEC) \ 75 $(FF_LIB_SPEC) \ 71 76 $(IMG_LIB_SPEC) \ 72 77 $(R2_LIB_SPEC) \ … … 89 94 $(MAT_INC_SPEC) 90 95 91 CC 92 CFLAGS 93 EXTRA_CFLAGS = -Wall94 DEFINES 95 CC_SWITCHES 96 CC = @CC@ 97 CFLAGS = @CFLAGS@ 98 EXTRA_CFLAGS = -Wall 99 DEFINES = @DEFINES@ 100 CC_SWITCHES = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES) 96 101 97 102 OBJS = \ … … 135 140 RenderVertexArray.o \ 136 141 Renderable.o \ 142 RpAVTranslate.o \ 137 143 RpDX.o \ 138 144 ScreenSnapper.o \ … … 173 179 $(srcdir)/shaders/vertex_std.cg \ 174 180 $(srcdir)/shaders/volqd_volume.cg \ 175 $(srcdir)/shaders/zincblende_volume.cg 181 $(srcdir)/shaders/zincblende_volume.cg 176 182 177 183 all: mat_lib r2_lib img_lib tf_lib nanovis … … 196 202 $(MAKE) -C $(TF_DIR) all 197 203 198 nanovis: $(MAT_LIB) $(R2_LIB) $(IMG_LIB) $(TF_LIB) $(OBJS) 204 nanovis: $(MAT_LIB) $(R2_LIB) $(IMG_LIB) $(TF_LIB) $(OBJS) 199 205 $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS) 200 206 … … 206 212 RpDX.o: $(srcdir)/RpDX.cpp 207 213 $(CC) -c $(CC_SWITCHES) $(DX_INC_SPEC) $? 214 RpAVTranslate.o: $(srcdir)/RpAVTranslate.cpp 215 $(CC) -c $(CC_SWITCHES) $(FF_INC_SPEC) $? 208 216 209 217 client: Socket.o ClientSocket.o RenderClient.o Event.o -
trunk/packages/vizservers/nanovis/nanovis.cpp
r1258 r1282 267 267 268 268 { 269 270 271 272 273 274 275 269 struct timeval tv; 270 271 /* Get ending time. */ 272 gettimeofday(&tv, NULL); 273 finish = CVT2SECS(tv); 274 tv = stats.start; 275 start = CVT2SECS(tv); 276 276 } 277 277 pid = getpid(); … … 311 311 Tcl_DStringAppend(&ds, buf, -1); 312 312 { 313 314 315 316 317 318 319 320 321 322 323 324 325 326 313 long clocksPerSec = sysconf(_SC_CLK_TCK); 314 double clockRes = 1.0 / clocksPerSec; 315 struct tms tms; 316 317 memset(&tms, 0, sizeof(tms)); 318 times(&tms); 319 sprintf(buf, "utime=\"%g\" ", tms.tms_utime * clockRes); 320 Tcl_DStringAppend(&ds, buf, -1); 321 sprintf(buf, "stime=\"%g\" ", tms.tms_stime * clockRes); 322 Tcl_DStringAppend(&ds, buf, -1); 323 sprintf(buf, "cutime=\"%g\" ", tms.tms_cutime * clockRes); 324 Tcl_DStringAppend(&ds, buf, -1); 325 sprintf(buf, "cstime=\"%g\" ", tms.tms_cstime * clockRes); 326 Tcl_DStringAppend(&ds, buf, -1); 327 327 } 328 328 Tcl_DStringAppend(&ds, "/>\n", -1); 329 329 330 330 { 331 332 333 331 int f; 332 ssize_t length; 333 int result; 334 334 335 335 #define STATSDIR "/var/tmp/visservers" 336 336 #define STATSFILE STATSDIR "/" "data.xml" 337 338 339 340 341 342 343 344 345 346 347 348 349 337 if (access(STATSDIR, X_OK) != 0) { 338 mkdir(STATSDIR, 0770); 339 } 340 length = Tcl_DStringLength(&ds); 341 f = open(STATSFILE, O_APPEND | O_CREAT | O_WRONLY, 0600); 342 result = FALSE; 343 if (f < 0) { 344 goto error; 345 } 346 if (write(f, Tcl_DStringValue(&ds), length) != length) { 347 goto error; 348 } 349 result = TRUE; 350 350 error: 351 352 353 354 355 351 if (f >= 0) { 352 close(f); 353 } 354 Tcl_DStringFree(&ds); 355 return result; 356 356 } 357 357 } … … 362 362 { 363 363 if (NanoVis::debug_flag) { 364 364 fprintf(stderr, "in DoExit\n"); 365 365 } 366 366 removeAllData(); … … 385 385 Trace("Cg error, exiting...\n"); 386 386 cgDestroyContext(g_context); 387 387 DoExit(-1); 388 388 } 389 389 } … … 392 392 CGprogram 393 393 LoadCgSourceProgram(CGcontext context, const char *fileName, CGprofile profile, 394 394 const char *entryPoint) 395 395 { 396 396 const char *path = R2FilePath::getInstance()->getPath(fileName); 397 397 if (path == NULL) { 398 399 398 fprintf(stderr, "can't find program \"%s\"\n", fileName); 399 assert(path != NULL); 400 400 } 401 401 CGprogram program; 402 402 program = cgCreateProgramFromFile(context, CG_SOURCE, path, profile, 403 403 entryPoint, NULL); 404 404 delete [] path; 405 405 cgGLLoadProgram(program); … … 415 415 416 416 if (NanoVis::debug_flag) { 417 417 fprintf(stderr, "in ExecuteCommand(%s)\n", Tcl_DStringValue(dsPtr)); 418 418 } 419 419 … … 422 422 423 423 if (NanoVis::logfile != NULL) { 424 425 424 fprintf(NanoVis::logfile, "%s", Tcl_DStringValue(dsPtr)); 425 fflush(NanoVis::logfile); 426 426 } 427 427 if (NanoVis::recfile != NULL) { 428 429 428 fprintf(NanoVis::recfile, "%s", Tcl_DStringValue(dsPtr)); 429 fflush(NanoVis::recfile); 430 430 } 431 431 result = Tcl_Eval(interp, Tcl_DStringValue(dsPtr)); … … 438 438 stats.nCommands++; 439 439 if (NanoVis::debug_flag) { 440 440 fprintf(stderr, "leaving ExecuteCommand status=%d\n", result); 441 441 } 442 442 return result; … … 567 567 int 568 568 NanoVis::render_legend(TransferFunction *tf, double min, double max, 569 569 int width, int height, const char* volArg) 570 570 { 571 571 if (debug_flag) { … … 596 596 597 597 if (debug_flag) { 598 598 fprintf(stderr, "ppm legend image not written (debug mode)\n"); 599 599 } else { 600 601 602 603 600 char prefix[200]; 601 sprintf(prefix, "nv>legend %s %g %g", volArg, min, max); 602 ppm_write(prefix); 603 write(0, "\n", 1); 604 604 } 605 605 plane_render->remove_plane(index); … … 617 617 { 618 618 if (debug_flag) { 619 619 fprintf(stderr, "in init_offscreen_buffer\n"); 620 620 } 621 621 // Initialize a fbo for final display. … … 638 638 glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, final_depth_rb); 639 639 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT24, 640 640 win_width, win_height); 641 641 glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT, 642 642 GL_TEXTURE_2D, final_color_tex, 0); 643 643 glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT, 644 644 GL_RENDERBUFFER_EXT, final_depth_rb); 645 645 646 646 GLenum status; 647 647 if (!CheckFBO(&status)) { 648 648 PrintFBOStatus(status, "final_fbo"); 649 649 DoExit(3); 650 650 } … … 655 655 //assert(glGetError()==0); 656 656 if (debug_flag) { 657 657 fprintf(stderr, "leaving init_offscreen_buffer\n"); 658 658 } 659 659 } … … 665 665 { 666 666 if ((w == win_width) && (h == win_height)) { 667 668 } 669 if (debug_flag) { 670 667 return; 668 } 669 if (debug_flag) { 670 fprintf(stderr, "in resize_offscreen_buffer(%d, %d)\n", w, h); 671 671 } 672 672 … … 701 701 702 702 if (debug_flag) { 703 703 fprintf(stderr, "reinitialize FBO\n"); 704 704 } 705 705 //Reinitialize final fbo for final display … … 719 719 #endif 720 720 if (debug_flag) { 721 721 fprintf(stderr, "before bindframebuffer\n"); 722 722 } 723 723 glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, final_fbo); 724 724 if (debug_flag) { 725 725 fprintf(stderr, "after bindframebuffer\n"); 726 726 } 727 727 glGenRenderbuffersEXT(1, &final_depth_rb); 728 728 glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, final_depth_rb); 729 729 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT24, 730 730 win_width, win_height); 731 731 glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT, 732 732 GL_TEXTURE_2D, final_color_tex, 0); 733 733 glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT, 734 734 GL_RENDERBUFFER_EXT, final_depth_rb); 735 735 736 736 GLenum status; 737 737 if (!CheckFBO(&status)) { 738 739 738 PrintFBOStatus(status, "final_fbo"); 739 DoExit(3); 740 740 } 741 741 … … 749 749 750 750 if (debug_flag) { 751 751 fprintf(stderr, "leaving resize_offscreen_buffer(%d, %d)\n", w, h); 752 752 } 753 753 } … … 828 828 cgDestroyContext(g_context); 829 829 fflush(stdout); 830 830 DoExit(-1); 831 831 } 832 832 } … … 836 836 // print system information 837 837 fprintf(stderr, 838 838 "-----------------------------------------------------------\n"); 839 839 fprintf(stderr, "OpenGL driver: %s %s\n", glGetString(GL_VENDOR), 840 840 glGetString(GL_VERSION)); 841 841 fprintf(stderr, "Graphics hardware: %s\n", glGetString(GL_RENDERER)); 842 842 fprintf(stderr, 843 843 "-----------------------------------------------------------\n"); 844 844 if (path == NULL) { 845 846 847 845 fprintf(stderr, "No path defined for shaders or resources\n"); 846 fflush(stderr); 847 DoExit(1); 848 848 } 849 849 GLenum err = glewInit(); … … 856 856 857 857 if (!R2FilePath::getInstance()->setPath(path)) { 858 859 860 858 fprintf(stderr, "can't set file path to %s\n", path); 859 fflush(stderr); 860 DoExit(1); 861 861 } 862 862 … … 900 900 //create the camera with default setting 901 901 cam = new NvCamera(0, 0, win_width, win_height, 902 903 904 902 def_eye_x, def_eye_y, def_eye_z, /* location. */ 903 def_target_x, def_target_y, def_target_z, /* target. */ 904 def_rot_x, def_rot_y, def_rot_z); /* angle. */ 905 905 906 906 glEnable(GL_TEXTURE_2D); … … 1214 1214 char command[200]; 1215 1215 sprintf(command, "%s %lu\n", prefix, 1216 1216 (unsigned long)header_length + data_length); 1217 1217 1218 1218 size_t wordsPerRow = (win_width * 24 + 31) / 32; … … 1352 1352 float y = vert[3*i+1]; 1353 1353 float z = vert[3*i+2]; 1354 1355 1356 1357 1354 float dx, dy, dz; 1355 dx = x - cam->x(); 1356 dy = y - cam->y(); 1357 dz = z - cam->z(); 1358 1358 float dis = (dx * dx) + (dy * dy) + (dz * dz); 1359 1359 p[i].x = x; … … 1791 1791 continue; 1792 1792 } 1793 1793 hmPtr->MapToGrid(grid); 1794 1794 } 1795 1795 HeightMap::update_pending = false; … … 2108 2108 { 2109 2109 if (!NanoVis::debug_flag) { 2110 2111 2112 2113 2114 2110 //open log and map stderr to log file 2111 xinetd_log = fopen("/tmp/log.txt", "w"); 2112 close(2); 2113 dup2(fileno(xinetd_log), 2); 2114 dup2(2,1); 2115 2115 } 2116 2116 //flush junk … … 2162 2162 { 2163 2163 if (debug_flag) { 2164 2164 fprintf(stderr, "in xinetd_listen\n"); 2165 2165 } 2166 2166 int flags = fcntl(0, F_GETFL, 0); … … 2183 2183 // here. 2184 2184 // 2185 2186 2187 2188 2185 if (debug_flag) { 2186 fprintf(stderr, "in xinetd_listen: check eof %d\n", 2187 feof(NanoVis::stdin)); 2188 } 2189 2189 while (!feof(NanoVis::stdin)) { 2190 2190 int c = fgetc(NanoVis::stdin); 2191 2191 char ch; 2192 2192 if (c <= 0) { 2193 2194 2195 2196 2193 if (errno == EWOULDBLOCK) { 2194 break; 2195 } 2196 DoExit(0); 2197 2197 } 2198 2198 ch = (char)c; 2199 2199 Tcl_DStringAppend(&cmdbuffer, &ch, 1); 2200 2200 if (ch == '\n') { 2201 2202 2203 2204 2201 isComplete = Tcl_CommandComplete(Tcl_DStringValue(&cmdbuffer)); 2202 if (isComplete) { 2203 break; 2204 } 2205 2205 } 2206 2206 } … … 2210 2210 } 2211 2211 2212 2213 2214 2215 2216 2217 2218 2219 2212 if (isComplete) { 2213 // back to original flags during command evaluation... 2214 fcntl(0, F_SETFL, flags & ~O_NONBLOCK); 2215 status = ExecuteCommand(interp, &cmdbuffer); 2216 // non-blocking for next read -- we might not get anything 2217 fcntl(0, F_SETFL, flags | O_NONBLOCK); 2218 isComplete = false; 2219 } 2220 2220 } 2221 2221 fcntl(0, F_SETFL, flags); … … 2224 2224 const char *string; 2225 2225 int nBytes; 2226 2227 2228 2229 2226 int count; 2227 2228 string = Tcl_GetVar(interp, "errorInfo", TCL_GLOBAL_ONLY); 2229 nBytes = strlen(string); 2230 2230 struct iovec iov[3]; 2231 2231 iov[0].iov_base = (char *)"NanoVis Server Error: "; … … 2233 2233 iov[1].iov_base = (char *)string; 2234 2234 iov[1].iov_len = nBytes; 2235 2236 2237 2238 2239 2240 2235 iov[2].iov_len = 1; 2236 iov[2].iov_base = (char *)'\n'; 2237 writev(0, iov, 3); 2238 if (debug_flag) { 2239 fprintf(stderr, "leaving xinetd_listen\n"); 2240 } 2241 2241 return; 2242 2242 } … … 2283 2283 #else 2284 2284 if (debug_flag) { 2285 2286 2285 fprintf(stderr, "ppm image not written (debug mode)\n"); 2286 bmp_write_to_file(1, "/tmp"); 2287 2287 } else { 2288 2288 NanoVis::ppm_write("nv>image -bytes"); 2289 2289 } 2290 2290 #endif 2291 2291 if (feof(NanoVis::stdin)) { 2292 2293 } 2294 if (debug_flag) { 2295 2292 DoExit(0); 2293 } 2294 if (debug_flag) { 2295 fprintf(stderr, "leaving xinetd_listen\n"); 2296 2296 } 2297 2297 } … … 2333 2333 2334 2334 while (1) { 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2335 static struct option long_options[] = { 2336 {"infile", required_argument, NULL, 0}, 2337 {"logfile", required_argument, NULL, 1}, 2338 {"path", required_argument, NULL, 2}, 2339 {"debug", no_argument, NULL, 3}, 2340 {"record", required_argument, NULL, 4}, 2341 {0, 0, 0, 0} 2342 }; 2343 int option_index = 0; 2344 int c; 2345 2346 c = getopt_long(argc, argv, ":dp:i:l:r:", long_options, &option_index); 2347 2347 if (c == -1) { 2348 2348 break; 2349 2349 } 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2350 switch (c) { 2351 case '?': 2352 fprintf(stderr, "unknown option -%c\n", optopt); 2353 return 1; 2354 case ':': 2355 if (optopt < 4) { 2356 fprintf(stderr, "argument missing for --%s option\n", 2357 long_options[optopt].name); 2358 } else { 2359 fprintf(stderr, "argument missing for -%c option\n", optopt); 2360 } 2361 return 1; 2362 case 2: 2363 case 'p': 2364 2364 path = optarg; 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2365 break; 2366 case 3: 2367 case 'd': 2368 NanoVis::debug_flag = true; 2369 break; 2370 case 0: 2371 case 'i': 2372 NanoVis::stdin = fopen(optarg, "r"); 2373 if (NanoVis::stdin == NULL) { 2374 perror(optarg); 2375 return 2; 2376 } 2377 break; 2378 case 1: 2379 case 'l': 2380 NanoVis::logfile = fopen(optarg, "w"); 2381 if (NanoVis::logfile == NULL) { 2382 perror(optarg); 2383 return 2; 2384 } 2385 break; 2386 case 4: 2387 case 'r': 2388 Tcl_DString ds; 2389 char buf[200]; 2390 2391 Tcl_DStringInit(&ds); 2392 Tcl_DStringAppend(&ds, optarg, -1); 2393 sprintf(buf, ".%d", getpid()); 2394 Tcl_DStringAppend(&ds, buf, -1); 2395 NanoVis::recfile = fopen(Tcl_DStringValue(&ds), "w"); 2396 if (NanoVis::recfile == NULL) { 2397 perror(optarg); 2398 return 2; 2399 } 2400 break; 2401 default: 2402 2402 fprintf(stderr,"unknown option '%c'.\n", c); 2403 2403 return 1; … … 2405 2405 } 2406 2406 if (path == NULL) { 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2407 char *p; 2408 2409 // See if we can derive the path from the location of the program. 2410 // Assume program is in the form <path>/bin/nanovis. 2411 2412 path = argv[0]; 2413 p = strrchr(path, '/'); 2414 if (p != NULL) { 2415 *p = '\0'; 2416 p = strrchr(path, '/'); 2417 } 2418 if (p == NULL) { 2419 fprintf(stderr, "path not specified\n"); 2420 return 1; 2421 } 2422 *p = '\0'; 2423 newPath = new char[(strlen(path) + 15) * 2 + 1]; 2424 sprintf(newPath, "%s/lib/shaders:%s/lib/resources", path, path); 2425 path = newPath; 2426 2426 } 2427 2427 R2FilePath::getInstance()->setWorkingDirectory(argc, (const char**) argv); … … 2434 2434 NanoVis::init(path); 2435 2435 if (newPath != NULL) { 2436 2436 delete [] newPath; 2437 2437 } 2438 2438 NanoVis::initGL(); … … 2510 2510 // INSOO TEST CODE 2511 2511 bmp_write_to_file(1, "/tmp"); 2512 2512 2513 2513 resize_offscreen_buffer(old_width, old_height); 2514 2514
Note: See TracChangeset
for help on using the changeset viewer.