Changeset 1111 for trunk/packages
- Timestamp:
- Aug 13, 2008, 1:33:28 PM (16 years ago)
- Location:
- trunk/packages/vizservers
- Files:
-
- 35 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/Makefile.in
r1082 r1111 34 34 $(MAKE) -C $$i install || exit 1 ; \ 35 35 done 36 $(INSTALL) -m 555 start_viz.sh $( prefix)/start_viz.sh36 $(INSTALL) -m 555 start_viz.sh $(bindir)/start_viz.sh 37 37 38 38 clean: -
trunk/packages/vizservers/configure
r944 r1111 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 1for vizservers 0.1.3 # Generated by GNU Autoconf 2.62 for vizservers 0.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 9 9 # This configure script is free software; the Free Software Foundation 10 10 # gives unlimited permission to copy, distribute and modify it. … … 18 18 emulate sh 19 19 NULLCMD=: 20 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 21 # is contrary to our usage. Disable this feature. 22 22 alias -g '${1+"$@"}'='"$@"' … … 40 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 41 41 42 as_nl=' 43 ' 44 export as_nl 45 # Printing a long string crashes Solaris 7 /usr/bin/printf. 46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 73 42 74 # The user is always right. 43 75 if test "${PATH_SEPARATOR+set}" != set; then 44 echo "#! /bin/sh" >conf$$.sh 45 echo "exit 0" >>conf$$.sh 46 chmod +x conf$$.sh 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 48 PATH_SEPARATOR=';' 49 else 50 PATH_SEPARATOR=: 51 fi 52 rm -f conf$$.sh 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 53 81 fi 54 82 … … 66 94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 67 95 # splitting by setting IFS to empty value.) 68 as_nl='69 '70 96 IFS=" "" $as_nl" 71 97 … … 90 116 fi 91 117 if test ! -f "$as_myself"; then 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93 119 { (exit 1); exit 1; } 94 120 fi … … 103 129 104 130 # NLS nuisances. 105 for as_var in \ 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 108 LC_TELEPHONE LC_TIME 109 do 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111 eval $as_var=C; export $as_var 112 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 114 fi 115 done 131 LC_ALL=C 132 export LC_ALL 133 LANGUAGE=C 134 export LANGUAGE 116 135 117 136 # Required to use basename. … … 135 154 X"$0" : 'X\(//\)$' \| \ 136 155 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137 echo X/"$0" |156 $as_echo X/"$0" | 138 157 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 158 s//\1/ … … 161 180 fi 162 181 163 if test $as_have_required = yes && 182 if test $as_have_required = yes && (eval ": 164 183 (as_func_return () { 165 184 (exit \$1) … … 243 262 emulate sh 244 263 NULLCMD=: 245 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 246 265 # is contrary to our usage. Disable this feature. 247 266 alias -g '${1+"$@"}'='"$@"' … … 264 283 emulate sh 265 284 NULLCMD=: 266 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 267 286 # is contrary to our usage. Disable this feature. 268 287 alias -g '${1+"$@"}'='"$@"' … … 344 363 if test "x$CONFIG_SHELL" != x; then 345 364 for as_var in BASH_ENV ENV 346 347 348 349 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 350 369 fi 351 370 … … 416 435 test \$exitcode = 0") || { 417 436 echo No shell found that supports shell functions. 418 echo Please tell autoconf@gnu.org about your system, 419 echo including any error possibly output before this 420 echo message 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 421 441 } 422 442 … … 454 474 ' >$as_me.lineno && 455 475 chmod +x "$as_me.lineno" || 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 477 { (exit 1); exit 1; }; } 458 478 … … 482 502 ECHO_N='-n';; 483 503 esac 484 485 504 if expr a : '\(a\)' >/dev/null 2>&1 && 486 505 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 495 514 else 496 515 rm -f conf$$.dir 497 mkdir conf$$.dir 498 fi 499 echo >conf$$.file 500 if ln -s conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s='ln -s' 502 # ... but there are two gotchas: 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 505 # In both cases, we have to default to `cp -p'. 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 516 mkdir conf$$.dir 2>/dev/null 517 fi 518 if (echo >conf$$.file) 2>/dev/null; then 519 if ln -s conf$$.file conf$$ 2>/dev/null; then 520 as_ln_s='ln -s' 521 # ... but there are two gotchas: 522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 524 # In both cases, we have to default to `cp -p'. 525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 526 as_ln_s='cp -p' 527 elif ln conf$$.file conf$$ 2>/dev/null; then 528 as_ln_s=ln 529 else 507 530 as_ln_s='cp -p' 508 elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 531 fi 510 532 else 511 533 as_ln_s='cp -p' … … 532 554 eval sh -c '\'' 533 555 if test -d "$1"; then 534 556 test -d "$1/."; 535 557 else 536 558 case $1 in 537 559 -*)set "./$1";; 538 560 esac; 539 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in … … 657 679 INSTALL_SCRIPT 658 680 INSTALL_DATA 659 SET_MAKE 681 RANLIB 682 LN_S 683 MKDIR_P 660 684 CC 661 685 CFLAGS … … 665 689 EXEEXT 666 690 OBJEXT 667 RANLIB668 691 CXX 669 692 CXXFLAGS … … 683 706 LTLIBOBJS' 684 707 ac_subst_files='' 708 ac_user_opts=' 709 enable_option_checking 710 with_tcllib 711 with_tclinclude 712 with_rappture 713 ' 685 714 ac_precious_vars='build_alias 686 715 host_alias … … 700 729 ac_init_help= 701 730 ac_init_version=false 731 ac_unrecognized_opts= 732 ac_unrecognized_sep= 702 733 # The variables have the same names as the options, with 703 734 # dashes changed to underlines. … … 798 829 799 830 -disable-* | --disable-*) 800 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`831 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 801 832 # Reject names that are not valid shell variable names. 802 expr "x$ac_ feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&803 { echo "$as_me: error: invalid feature name: $ac_feature" >&2833 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 834 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 804 835 { (exit 1); exit 1; }; } 805 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 806 eval enable_$ac_feature=no ;; 836 ac_useropt_orig=$ac_useropt 837 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 838 case $ac_user_opts in 839 *" 840 "enable_$ac_useropt" 841 "*) ;; 842 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 843 ac_unrecognized_sep=', ';; 844 esac 845 eval enable_$ac_useropt=no ;; 807 846 808 847 -docdir | --docdir | --docdi | --doc | --do) … … 817 856 818 857 -enable-* | --enable-*) 819 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`858 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 820 859 # Reject names that are not valid shell variable names. 821 expr "x$ac_ feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&822 { echo "$as_me: error: invalid feature name: $ac_feature" >&2860 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 861 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 823 862 { (exit 1); exit 1; }; } 824 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 825 eval enable_$ac_feature=\$ac_optarg ;; 863 ac_useropt_orig=$ac_useropt 864 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 865 case $ac_user_opts in 866 *" 867 "enable_$ac_useropt" 868 "*) ;; 869 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 870 ac_unrecognized_sep=', ';; 871 esac 872 eval enable_$ac_useropt=\$ac_optarg ;; 826 873 827 874 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1014 1061 1015 1062 -with-* | --with-*) 1016 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1063 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1017 1064 # Reject names that are not valid shell variable names. 1018 expr "x$ac_ package" : ".*[^-._$as_cr_alnum]" >/dev/null &&1019 { echo "$as_me: error: invalid package name: $ac_package" >&21065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1066 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1020 1067 { (exit 1); exit 1; }; } 1021 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1022 eval with_$ac_package=\$ac_optarg ;; 1068 ac_useropt_orig=$ac_useropt 1069 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1070 case $ac_user_opts in 1071 *" 1072 "with_$ac_useropt" 1073 "*) ;; 1074 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1075 ac_unrecognized_sep=', ';; 1076 esac 1077 eval with_$ac_useropt=\$ac_optarg ;; 1023 1078 1024 1079 -without-* | --without-*) 1025 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1080 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1026 1081 # Reject names that are not valid shell variable names. 1027 expr "x$ac_ package" : ".*[^-._$as_cr_alnum]" >/dev/null &&1028 { echo "$as_me: error: invalid package name: $ac_package" >&21082 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1083 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1029 1084 { (exit 1); exit 1; }; } 1030 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1031 eval with_$ac_package=no ;; 1085 ac_useropt_orig=$ac_useropt 1086 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1087 case $ac_user_opts in 1088 *" 1089 "with_$ac_useropt" 1090 "*) ;; 1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1092 ac_unrecognized_sep=', ';; 1093 esac 1094 eval with_$ac_useropt=no ;; 1032 1095 1033 1096 --x) … … 1049 1112 x_libraries=$ac_optarg ;; 1050 1113 1051 -*) { echo "$as_me: error: unrecognized option: $ac_option1114 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1052 1115 Try \`$0 --help' for more information." >&2 1053 1116 { (exit 1); exit 1; }; } … … 1058 1121 # Reject names that are not valid shell variable names. 1059 1122 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1060 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21123 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1061 1124 { (exit 1); exit 1; }; } 1062 1125 eval $ac_envvar=\$ac_optarg … … 1065 1128 *) 1066 1129 # FIXME: should be removed in autoconf 3.0. 1067 echo "$as_me: WARNING: you should use --build, --host, --target" >&21130 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1068 1131 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1069 echo "$as_me: WARNING: invalid host type: $ac_option" >&21132 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1070 1133 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1071 1134 ;; … … 1076 1139 if test -n "$ac_prev"; then 1077 1140 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1078 { echo "$as_me: error: missing argument to $ac_option" >&21141 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1079 1142 { (exit 1); exit 1; }; } 1080 1143 fi 1081 1144 1082 # Be sure to have absolute directory names. 1145 if test -n "$ac_unrecognized_opts"; then 1146 case $enable_option_checking in 1147 no) ;; 1148 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 1149 { (exit 1); exit 1; }; } ;; 1150 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; 1151 esac 1152 fi 1153 1154 # Check all directory arguments for consistency. 1083 1155 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1084 1156 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1087 1159 do 1088 1160 eval ac_val=\$$ac_var 1161 # Remove trailing slashes. 1162 case $ac_val in 1163 */ ) 1164 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1165 eval $ac_var=\$ac_val;; 1166 esac 1167 # Be sure to have absolute directory names. 1089 1168 case $ac_val in 1090 1169 [\\/$]* | ?:[\\/]* ) continue;; 1091 1170 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1092 1171 esac 1093 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&21172 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1094 1173 { (exit 1); exit 1; }; } 1095 1174 done … … 1106 1185 if test "x$build_alias" = x; then 1107 1186 cross_compiling=maybe 1108 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1187 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1109 1188 If a cross compiler is detected then cross compile mode will be used." >&2 1110 1189 elif test "x$build_alias" != "x$host_alias"; then … … 1122 1201 ac_ls_di=`ls -di .` && 1123 1202 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1124 { echo "$as_me: error: Working directory cannot be determined" >&21203 { $as_echo "$as_me: error: Working directory cannot be determined" >&2 1125 1204 { (exit 1); exit 1; }; } 1126 1205 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1127 { echo "$as_me: error: pwd does not report name of working directory" >&21206 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1128 1207 { (exit 1); exit 1; }; } 1129 1208 … … 1133 1212 ac_srcdir_defaulted=yes 1134 1213 # Try the directory containing this script, then the parent directory. 1135 ac_confdir=`$as_dirname -- "$ 0" ||1136 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1137 X"$ 0" : 'X\(//\)[^/]' \| \1138 X"$ 0" : 'X\(//\)$' \| \1139 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1140 echo X"$0" |1214 ac_confdir=`$as_dirname -- "$as_myself" || 1215 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1216 X"$as_myself" : 'X\(//\)[^/]' \| \ 1217 X"$as_myself" : 'X\(//\)$' \| \ 1218 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1219 $as_echo X"$as_myself" | 1141 1220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1142 1221 s//\1/ … … 1165 1244 if test ! -r "$srcdir/$ac_unique_file"; then 1166 1245 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1167 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&21246 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1168 1247 { (exit 1); exit 1; }; } 1169 1248 fi 1170 1249 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1171 1250 ac_abs_confdir=`( 1172 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&21251 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1173 1252 { (exit 1); exit 1; }; } 1174 1253 pwd)` … … 1219 1298 Installation directories: 1220 1299 --prefix=PREFIX install architecture-independent files in PREFIX 1221 1300 [$ac_default_prefix] 1222 1301 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1223 1302 [PREFIX] 1224 1303 1225 1304 By default, \`make install' will install all the files in … … 1231 1310 1232 1311 Fine tuning of the installation directories: 1233 --bindir=DIR user executables [EPREFIX/bin]1234 --sbindir=DIR system admin executables [EPREFIX/sbin]1235 --libexecdir=DIR program executables [EPREFIX/libexec]1236 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1237 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1238 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1239 --libdir=DIR object code libraries [EPREFIX/lib]1240 --includedir=DIR C header files [PREFIX/include]1241 --oldincludedir=DIR C header files for non-gcc [/usr/include]1242 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1243 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1244 --infodir=DIR info documentation [DATAROOTDIR/info]1245 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1246 --mandir=DIR man documentation [DATAROOTDIR/man]1247 --docdir=DIR documentation root [DATAROOTDIR/doc/vizservers]1248 --htmldir=DIR html documentation [DOCDIR]1249 --dvidir=DIR dvi documentation [DOCDIR]1250 --pdfdir=DIR pdf documentation [DOCDIR]1251 --psdir=DIR ps documentation [DOCDIR]1312 --bindir=DIR user executables [EPREFIX/bin] 1313 --sbindir=DIR system admin executables [EPREFIX/sbin] 1314 --libexecdir=DIR program executables [EPREFIX/libexec] 1315 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1316 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1317 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1318 --libdir=DIR object code libraries [EPREFIX/lib] 1319 --includedir=DIR C header files [PREFIX/include] 1320 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1321 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1322 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1323 --infodir=DIR info documentation [DATAROOTDIR/info] 1324 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1325 --mandir=DIR man documentation [DATAROOTDIR/man] 1326 --docdir=DIR documentation root [DATAROOTDIR/doc/vizservers] 1327 --htmldir=DIR html documentation [DOCDIR] 1328 --dvidir=DIR dvi documentation [DOCDIR] 1329 --pdfdir=DIR pdf documentation [DOCDIR] 1330 --psdir=DIR ps documentation [DOCDIR] 1252 1331 _ACEOF 1253 1332 … … 1294 1373 # If there are subdirs, report their specific --help. 1295 1374 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1296 test -d "$ac_dir" || continue 1375 test -d "$ac_dir" || 1376 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1377 continue 1297 1378 ac_builddir=. 1298 1379 … … 1300 1381 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1301 1382 *) 1302 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1383 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1303 1384 # A ".." for each directory in $ac_dir_suffix. 1304 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1385 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1305 1386 case $ac_top_builddir_sub in 1306 1387 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1338 1419 $SHELL "$ac_srcdir/configure" --help=recursive 1339 1420 else 1340 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21421 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1341 1422 fi || ac_status=$? 1342 1423 cd "$ac_pwd" || { ac_status=$?; break; } … … 1348 1429 cat <<\_ACEOF 1349 1430 vizservers configure 0.1 1350 generated by GNU Autoconf 2.6 11431 generated by GNU Autoconf 2.62 1351 1432 1352 1433 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1353 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.1434 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1354 1435 This configure script is free software; the Free Software Foundation 1355 1436 gives unlimited permission to copy, distribute and modify it. … … 1362 1443 1363 1444 It was created by vizservers $as_me 0.1, which was 1364 generated by GNU Autoconf 2.6 1. Invocation command line was1445 generated by GNU Autoconf 2.62. Invocation command line was 1365 1446 1366 1447 $ $0 $@ … … 1398 1479 IFS=$as_save_IFS 1399 1480 test -z "$as_dir" && as_dir=. 1400 echo "PATH: $as_dir"1481 $as_echo "PATH: $as_dir" 1401 1482 done 1402 1483 IFS=$as_save_IFS … … 1433 1514 continue ;; 1434 1515 *\'*) 1435 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1516 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1436 1517 esac 1437 1518 case $ac_pass in … … 1485 1566 *${as_nl}*) 1486 1567 case $ac_var in #( 1487 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51488 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;1568 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1569 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1489 1570 esac 1490 1571 case $ac_var in #( 1491 1572 _ | IFS | as_nl) ;; #( 1573 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1492 1574 *) $as_unset $ac_var ;; 1493 1575 esac ;; … … 1519 1601 eval ac_val=\$$ac_var 1520 1602 case $ac_val in 1521 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1603 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1522 1604 esac 1523 echo "$ac_var='\''$ac_val'\''"1605 $as_echo "$ac_var='\''$ac_val'\''" 1524 1606 done | sort 1525 1607 echo … … 1536 1618 eval ac_val=\$$ac_var 1537 1619 case $ac_val in 1538 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1620 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1539 1621 esac 1540 echo "$ac_var='\''$ac_val'\''"1622 $as_echo "$ac_var='\''$ac_val'\''" 1541 1623 done | sort 1542 1624 echo … … 1554 1636 fi 1555 1637 test "$ac_signal" != 0 && 1556 echo "$as_me: caught signal $ac_signal"1557 echo "$as_me: exit $exit_status"1638 $as_echo "$as_me: caught signal $ac_signal" 1639 $as_echo "$as_me: exit $exit_status" 1558 1640 } >&5 1559 1641 rm -f core *.core core.conftest.* && … … 1597 1679 1598 1680 # Let the site file select an alternate cache file if it wants to. 1599 # Prefer explicitly selected file to automatically selected ones. 1681 # Prefer an explicitly selected file to automatically selected ones. 1682 ac_site_file1=NONE 1683 ac_site_file2=NONE 1600 1684 if test -n "$CONFIG_SITE"; then 1601 set x "$CONFIG_SITE"1685 ac_site_file1=$CONFIG_SITE 1602 1686 elif test "x$prefix" != xNONE; then 1603 set x "$prefix/share/config.site" "$prefix/etc/config.site"1604 else1605 set x "$ac_default_prefix/share/config.site" \ 1606 "$ac_default_prefix/etc/config.site" 1607 fi 1608 shift 1609 for ac_site_file 1687 ac_site_file1=$prefix/share/config.site 1688 ac_site_file2=$prefix/etc/config.site 1689 else 1690 ac_site_file1=$ac_default_prefix/share/config.site 1691 ac_site_file2=$ac_default_prefix/etc/config.site 1692 fi 1693 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1610 1694 do 1695 test "x$ac_site_file" = xNONE && continue 1611 1696 if test -r "$ac_site_file"; then 1612 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51613 echo "$as_me: loading site script $ac_site_file" >&6;}1697 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1698 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1614 1699 sed 's/^/| /' "$ac_site_file" >&5 1615 1700 . "$ac_site_file" … … 1621 1706 # files actually), so we avoid doing that. 1622 1707 if test -f "$cache_file"; then 1623 { echo "$as_me:$LINENO: loading cache $cache_file" >&51624 echo "$as_me: loading cache $cache_file" >&6;}1708 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1709 $as_echo "$as_me: loading cache $cache_file" >&6;} 1625 1710 case $cache_file in 1626 1711 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1629 1714 fi 1630 1715 else 1631 { echo "$as_me:$LINENO: creating cache $cache_file" >&51632 echo "$as_me: creating cache $cache_file" >&6;}1716 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1717 $as_echo "$as_me: creating cache $cache_file" >&6;} 1633 1718 >$cache_file 1634 1719 fi … … 1644 1729 case $ac_old_set,$ac_new_set in 1645 1730 set,) 1646 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51647 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1731 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1732 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1648 1733 ac_cache_corrupted=: ;; 1649 1734 ,set) 1650 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51651 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1735 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1736 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1652 1737 ac_cache_corrupted=: ;; 1653 1738 ,);; 1654 1739 *) 1655 1740 if test "x$ac_old_val" != "x$ac_new_val"; then 1656 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1657 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1658 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1659 echo "$as_me: former value: $ac_old_val" >&2;} 1660 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1661 echo "$as_me: current value: $ac_new_val" >&2;} 1662 ac_cache_corrupted=: 1741 # differences in whitespace do not lead to failure. 1742 ac_old_val_w=`echo x $ac_old_val` 1743 ac_new_val_w=`echo x $ac_new_val` 1744 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1745 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1746 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1747 ac_cache_corrupted=: 1748 else 1749 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1750 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1751 eval $ac_var=\$ac_old_val 1752 fi 1753 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1754 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1755 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1756 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1663 1757 fi;; 1664 1758 esac … … 1666 1760 if test "$ac_new_set" = set; then 1667 1761 case $ac_new_val in 1668 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;1762 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1669 1763 *) ac_arg=$ac_var=$ac_new_val ;; 1670 1764 esac … … 1676 1770 done 1677 1771 if $ac_cache_corrupted; then 1678 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&51679 echo "$as_me: error: changes in the environment can compromise the build" >&2;}1680 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&51681 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}1772 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1773 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1774 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1775 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1682 1776 { (exit 1); exit 1; }; } 1683 1777 fi … … 1754 1848 done 1755 1849 if test -z "$ac_aux_dir"; then 1756 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&51757 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}1850 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1851 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1758 1852 { (exit 1); exit 1; }; } 1759 1853 fi … … 1781 1875 # OS/2's system install, which has a completely different semantic 1782 1876 # ./install, which can be erroneously created by make from ./install.sh. 1783 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1784 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1877 # Reject install programs that cannot install multiple files. 1878 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1879 $as_echo_n "checking for a BSD-compatible install... " >&6; } 1785 1880 if test -z "$INSTALL"; then 1786 1881 if test "${ac_cv_path_install+set}" = set; then 1787 echo $ECHO_N "(cached) $ECHO_C" >&61882 $as_echo_n "(cached) " >&6 1788 1883 else 1789 1884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 1814 1909 : 1815 1910 else 1816 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1817 break 3 1911 rm -rf conftest.one conftest.two conftest.dir 1912 echo one > conftest.one 1913 echo two > conftest.two 1914 mkdir conftest.dir 1915 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 1916 test -s conftest.one && test -s conftest.two && 1917 test -s conftest.dir/conftest.one && 1918 test -s conftest.dir/conftest.two 1919 then 1920 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1921 break 3 1922 fi 1818 1923 fi 1819 1924 fi … … 1822 1927 ;; 1823 1928 esac 1929 1824 1930 done 1825 1931 IFS=$as_save_IFS 1826 1932 1933 rm -rf conftest.one conftest.two conftest.dir 1827 1934 1828 1935 fi … … 1837 1944 fi 1838 1945 fi 1839 { echo "$as_me:$LINENO: result: $INSTALL" >&51840 echo "${ECHO_T}$INSTALL" >&6; }1946 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 1947 $as_echo "$INSTALL" >&6; } 1841 1948 1842 1949 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1848 1955 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1849 1956 1850 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1851 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1852 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1853 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1854 echo $ECHO_N "(cached) $ECHO_C" >&6 1855 else 1856 cat >conftest.make <<\_ACEOF 1857 SHELL = /bin/sh 1858 all: 1859 @echo '@@@%%%=$(MAKE)=@@@%%%' 1860 _ACEOF 1861 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1862 case `${MAKE-make} -f conftest.make 2>/dev/null` in 1863 *@@@%%%=?*=@@@%%%*) 1864 eval ac_cv_prog_make_${ac_make}_set=yes;; 1865 *) 1866 eval ac_cv_prog_make_${ac_make}_set=no;; 1867 esac 1868 rm -f conftest.make 1869 fi 1870 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 1871 { echo "$as_me:$LINENO: result: yes" >&5 1872 echo "${ECHO_T}yes" >&6; } 1873 SET_MAKE= 1874 else 1875 { echo "$as_me:$LINENO: result: no" >&5 1876 echo "${ECHO_T}no" >&6; } 1877 SET_MAKE="MAKE=${MAKE-make}" 1878 fi 1957 if test -n "$ac_tool_prefix"; then 1958 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 1959 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1960 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 1961 $as_echo_n "checking for $ac_word... " >&6; } 1962 if test "${ac_cv_prog_RANLIB+set}" = set; then 1963 $as_echo_n "(cached) " >&6 1964 else 1965 if test -n "$RANLIB"; then 1966 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1967 else 1968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1969 for as_dir in $PATH 1970 do 1971 IFS=$as_save_IFS 1972 test -z "$as_dir" && as_dir=. 1973 for ac_exec_ext in '' $ac_executable_extensions; do 1974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1975 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 1976 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1977 break 2 1978 fi 1979 done 1980 done 1981 IFS=$as_save_IFS 1982 1983 fi 1984 fi 1985 RANLIB=$ac_cv_prog_RANLIB 1986 if test -n "$RANLIB"; then 1987 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 1988 $as_echo "$RANLIB" >&6; } 1989 else 1990 { $as_echo "$as_me:$LINENO: result: no" >&5 1991 $as_echo "no" >&6; } 1992 fi 1993 1994 1995 fi 1996 if test -z "$ac_cv_prog_RANLIB"; then 1997 ac_ct_RANLIB=$RANLIB 1998 # Extract the first word of "ranlib", so it can be a program name with args. 1999 set dummy ranlib; ac_word=$2 2000 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2001 $as_echo_n "checking for $ac_word... " >&6; } 2002 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2003 $as_echo_n "(cached) " >&6 2004 else 2005 if test -n "$ac_ct_RANLIB"; then 2006 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 2007 else 2008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2009 for as_dir in $PATH 2010 do 2011 IFS=$as_save_IFS 2012 test -z "$as_dir" && as_dir=. 2013 for ac_exec_ext in '' $ac_executable_extensions; do 2014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2015 ac_cv_prog_ac_ct_RANLIB="ranlib" 2016 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2017 break 2 2018 fi 2019 done 2020 done 2021 IFS=$as_save_IFS 2022 2023 fi 2024 fi 2025 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2026 if test -n "$ac_ct_RANLIB"; then 2027 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 2028 $as_echo "$ac_ct_RANLIB" >&6; } 2029 else 2030 { $as_echo "$as_me:$LINENO: result: no" >&5 2031 $as_echo "no" >&6; } 2032 fi 2033 2034 if test "x$ac_ct_RANLIB" = x; then 2035 RANLIB=":" 2036 else 2037 case $cross_compiling:$ac_tool_warned in 2038 yes:) 2039 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2040 whose name does not start with the host triplet. If you think this 2041 configuration is useful to you, please write to autoconf@gnu.org." >&5 2042 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2043 whose name does not start with the host triplet. If you think this 2044 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2045 ac_tool_warned=yes ;; 2046 esac 2047 RANLIB=$ac_ct_RANLIB 2048 fi 2049 else 2050 RANLIB="$ac_cv_prog_RANLIB" 2051 fi 2052 2053 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 2054 $as_echo_n "checking whether ln -s works... " >&6; } 2055 LN_S=$as_ln_s 2056 if test "$LN_S" = "ln -s"; then 2057 { $as_echo "$as_me:$LINENO: result: yes" >&5 2058 $as_echo "yes" >&6; } 2059 else 2060 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 2061 $as_echo "no, using $LN_S" >&6; } 2062 fi 2063 2064 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2065 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2066 if test -z "$MKDIR_P"; then 2067 if test "${ac_cv_path_mkdir+set}" = set; then 2068 $as_echo_n "(cached) " >&6 2069 else 2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2071 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2072 do 2073 IFS=$as_save_IFS 2074 test -z "$as_dir" && as_dir=. 2075 for ac_prog in mkdir gmkdir; do 2076 for ac_exec_ext in '' $ac_executable_extensions; do 2077 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2078 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2079 'mkdir (GNU coreutils) '* | \ 2080 'mkdir (coreutils) '* | \ 2081 'mkdir (fileutils) '4.1*) 2082 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2083 break 3;; 2084 esac 2085 done 2086 done 2087 done 2088 IFS=$as_save_IFS 2089 2090 fi 2091 2092 if test "${ac_cv_path_mkdir+set}" = set; then 2093 MKDIR_P="$ac_cv_path_mkdir -p" 2094 else 2095 # As a last resort, use the slow shell script. Don't cache a 2096 # value for MKDIR_P within a source directory, because that will 2097 # break other packages using the cache if that directory is 2098 # removed, or if the value is a relative name. 2099 test -d ./--version && rmdir ./--version 2100 MKDIR_P="$ac_install_sh -d" 2101 fi 2102 fi 2103 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2104 $as_echo "$MKDIR_P" >&6; } 1879 2105 1880 2106 … … 1887 2113 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1888 2114 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1889 { echo "$as_me:$LINENO: checking for $ac_word" >&51890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2115 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2116 $as_echo_n "checking for $ac_word... " >&6; } 1891 2117 if test "${ac_cv_prog_CC+set}" = set; then 1892 echo $ECHO_N "(cached) $ECHO_C" >&62118 $as_echo_n "(cached) " >&6 1893 2119 else 1894 2120 if test -n "$CC"; then … … 1903 2129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1904 2130 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52131 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1906 2132 break 2 1907 2133 fi … … 1914 2140 CC=$ac_cv_prog_CC 1915 2141 if test -n "$CC"; then 1916 { echo "$as_me:$LINENO: result: $CC" >&51917 echo "${ECHO_T}$CC" >&6; }1918 else 1919 { echo "$as_me:$LINENO: result: no" >&51920 echo "${ECHO_T}no" >&6; }2142 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2143 $as_echo "$CC" >&6; } 2144 else 2145 { $as_echo "$as_me:$LINENO: result: no" >&5 2146 $as_echo "no" >&6; } 1921 2147 fi 1922 2148 … … 1927 2153 # Extract the first word of "gcc", so it can be a program name with args. 1928 2154 set dummy gcc; ac_word=$2 1929 { echo "$as_me:$LINENO: checking for $ac_word" >&51930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2155 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2156 $as_echo_n "checking for $ac_word... " >&6; } 1931 2157 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1932 echo $ECHO_N "(cached) $ECHO_C" >&62158 $as_echo_n "(cached) " >&6 1933 2159 else 1934 2160 if test -n "$ac_ct_CC"; then … … 1943 2169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1944 2170 ac_cv_prog_ac_ct_CC="gcc" 1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52171 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1946 2172 break 2 1947 2173 fi … … 1954 2180 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1955 2181 if test -n "$ac_ct_CC"; then 1956 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&51957 echo "${ECHO_T}$ac_ct_CC" >&6; }1958 else 1959 { echo "$as_me:$LINENO: result: no" >&51960 echo "${ECHO_T}no" >&6; }2182 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2183 $as_echo "$ac_ct_CC" >&6; } 2184 else 2185 { $as_echo "$as_me:$LINENO: result: no" >&5 2186 $as_echo "no" >&6; } 1961 2187 fi 1962 2188 … … 1966 2192 case $cross_compiling:$ac_tool_warned in 1967 2193 yes:) 1968 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2194 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1969 2195 whose name does not start with the host triplet. If you think this 1970 2196 configuration is useful to you, please write to autoconf@gnu.org." >&5 1971 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2197 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1972 2198 whose name does not start with the host triplet. If you think this 1973 2199 configuration is useful to you, please write to autoconf@gnu.org." >&2;} … … 1984 2210 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1985 2211 set dummy ${ac_tool_prefix}cc; ac_word=$2 1986 { echo "$as_me:$LINENO: checking for $ac_word" >&51987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2212 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2213 $as_echo_n "checking for $ac_word... " >&6; } 1988 2214 if test "${ac_cv_prog_CC+set}" = set; then 1989 echo $ECHO_N "(cached) $ECHO_C" >&62215 $as_echo_n "(cached) " >&6 1990 2216 else 1991 2217 if test -n "$CC"; then … … 2000 2226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2001 2227 ac_cv_prog_CC="${ac_tool_prefix}cc" 2002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52228 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2003 2229 break 2 2004 2230 fi … … 2011 2237 CC=$ac_cv_prog_CC 2012 2238 if test -n "$CC"; then 2013 { echo "$as_me:$LINENO: result: $CC" >&52014 echo "${ECHO_T}$CC" >&6; }2015 else 2016 { echo "$as_me:$LINENO: result: no" >&52017 echo "${ECHO_T}no" >&6; }2239 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2240 $as_echo "$CC" >&6; } 2241 else 2242 { $as_echo "$as_me:$LINENO: result: no" >&5 2243 $as_echo "no" >&6; } 2018 2244 fi 2019 2245 … … 2024 2250 # Extract the first word of "cc", so it can be a program name with args. 2025 2251 set dummy cc; ac_word=$2 2026 { echo "$as_me:$LINENO: checking for $ac_word" >&52027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2252 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2253 $as_echo_n "checking for $ac_word... " >&6; } 2028 2254 if test "${ac_cv_prog_CC+set}" = set; then 2029 echo $ECHO_N "(cached) $ECHO_C" >&62255 $as_echo_n "(cached) " >&6 2030 2256 else 2031 2257 if test -n "$CC"; then … … 2045 2271 fi 2046 2272 ac_cv_prog_CC="cc" 2047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52273 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2048 2274 break 2 2049 2275 fi … … 2068 2294 CC=$ac_cv_prog_CC 2069 2295 if test -n "$CC"; then 2070 { echo "$as_me:$LINENO: result: $CC" >&52071 echo "${ECHO_T}$CC" >&6; }2072 else 2073 { echo "$as_me:$LINENO: result: no" >&52074 echo "${ECHO_T}no" >&6; }2296 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2297 $as_echo "$CC" >&6; } 2298 else 2299 { $as_echo "$as_me:$LINENO: result: no" >&5 2300 $as_echo "no" >&6; } 2075 2301 fi 2076 2302 … … 2083 2309 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2084 2310 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2085 { echo "$as_me:$LINENO: checking for $ac_word" >&52086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2311 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2312 $as_echo_n "checking for $ac_word... " >&6; } 2087 2313 if test "${ac_cv_prog_CC+set}" = set; then 2088 echo $ECHO_N "(cached) $ECHO_C" >&62314 $as_echo_n "(cached) " >&6 2089 2315 else 2090 2316 if test -n "$CC"; then … … 2099 2325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2100 2326 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52327 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2102 2328 break 2 2103 2329 fi … … 2110 2336 CC=$ac_cv_prog_CC 2111 2337 if test -n "$CC"; then 2112 { echo "$as_me:$LINENO: result: $CC" >&52113 echo "${ECHO_T}$CC" >&6; }2114 else 2115 { echo "$as_me:$LINENO: result: no" >&52116 echo "${ECHO_T}no" >&6; }2338 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2339 $as_echo "$CC" >&6; } 2340 else 2341 { $as_echo "$as_me:$LINENO: result: no" >&5 2342 $as_echo "no" >&6; } 2117 2343 fi 2118 2344 … … 2127 2353 # Extract the first word of "$ac_prog", so it can be a program name with args. 2128 2354 set dummy $ac_prog; ac_word=$2 2129 { echo "$as_me:$LINENO: checking for $ac_word" >&52130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2355 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2356 $as_echo_n "checking for $ac_word... " >&6; } 2131 2357 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2132 echo $ECHO_N "(cached) $ECHO_C" >&62358 $as_echo_n "(cached) " >&6 2133 2359 else 2134 2360 if test -n "$ac_ct_CC"; then … … 2143 2369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2144 2370 ac_cv_prog_ac_ct_CC="$ac_prog" 2145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52371 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2146 2372 break 2 2147 2373 fi … … 2154 2380 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2155 2381 if test -n "$ac_ct_CC"; then 2156 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52157 echo "${ECHO_T}$ac_ct_CC" >&6; }2158 else 2159 { echo "$as_me:$LINENO: result: no" >&52160 echo "${ECHO_T}no" >&6; }2382 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2383 $as_echo "$ac_ct_CC" >&6; } 2384 else 2385 { $as_echo "$as_me:$LINENO: result: no" >&5 2386 $as_echo "no" >&6; } 2161 2387 fi 2162 2388 … … 2170 2396 case $cross_compiling:$ac_tool_warned in 2171 2397 yes:) 2172 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2398 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2173 2399 whose name does not start with the host triplet. If you think this 2174 2400 configuration is useful to you, please write to autoconf@gnu.org." >&5 2175 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2401 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2176 2402 whose name does not start with the host triplet. If you think this 2177 2403 configuration is useful to you, please write to autoconf@gnu.org." >&2;} … … 2185 2411 2186 2412 2187 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH2413 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2188 2414 See \`config.log' for more details." >&5 2189 echo "$as_me: error: no acceptable C compiler found in \$PATH2415 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2190 2416 See \`config.log' for more details." >&2;} 2191 2417 { (exit 1); exit 1; }; } 2192 2418 2193 2419 # Provide some information about the compiler. 2194 echo "$as_me:$LINENO: checking for C compiler version" >&5 2195 ac_compiler=`set X $ac_compile; echo $2` 2420 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2421 set X $ac_compile 2422 ac_compiler=$2 2196 2423 { (ac_try="$ac_compiler --version >&5" 2197 2424 case "(($ac_try" in … … 2199 2426 *) ac_try_echo=$ac_try;; 2200 2427 esac 2201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2429 $as_echo "$ac_try_echo") >&5 2202 2430 (eval "$ac_compiler --version >&5") 2>&5 2203 2431 ac_status=$? 2204 echo "$as_me:$LINENO: \$? = $ac_status" >&52432 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2205 2433 (exit $ac_status); } 2206 2434 { (ac_try="$ac_compiler -v >&5" … … 2209 2437 *) ac_try_echo=$ac_try;; 2210 2438 esac 2211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2440 $as_echo "$ac_try_echo") >&5 2212 2441 (eval "$ac_compiler -v >&5") 2>&5 2213 2442 ac_status=$? 2214 echo "$as_me:$LINENO: \$? = $ac_status" >&52443 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2215 2444 (exit $ac_status); } 2216 2445 { (ac_try="$ac_compiler -V >&5" … … 2219 2448 *) ac_try_echo=$ac_try;; 2220 2449 esac 2221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2450 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2451 $as_echo "$ac_try_echo") >&5 2222 2452 (eval "$ac_compiler -V >&5") 2>&5 2223 2453 ac_status=$? 2224 echo "$as_me:$LINENO: \$? = $ac_status" >&52454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2225 2455 (exit $ac_status); } 2226 2456 … … 2241 2471 _ACEOF 2242 2472 ac_clean_files_save=$ac_clean_files 2243 ac_clean_files="$ac_clean_files a.out a. exe b.out"2473 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2244 2474 # Try to create an executable without -o first, disregard a.out. 2245 2475 # It will help us diagnose broken compilers, and finding out an intuition 2246 2476 # of exeext. 2247 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2248 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2249 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2250 # 2251 # List of possible output files, starting from the most likely. 2252 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2253 # only as a last resort. b.out is created by i960 compilers. 2254 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2255 # 2256 # The IRIX 6 linker writes into existing files which may not be 2257 # executable, retaining their permissions. Remove them first so a 2258 # subsequent execution test works. 2477 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2478 $as_echo_n "checking for C compiler default output file name... " >&6; } 2479 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2480 2481 # The possible output files: 2482 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2483 2259 2484 ac_rmfiles= 2260 2485 for ac_file in $ac_files 2261 2486 do 2262 2487 case $ac_file in 2263 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;2488 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2264 2489 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2265 2490 esac … … 2272 2497 *) ac_try_echo=$ac_try;; 2273 2498 esac 2274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2499 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2500 $as_echo "$ac_try_echo") >&5 2275 2501 (eval "$ac_link_default") 2>&5 2276 2502 ac_status=$? 2277 echo "$as_me:$LINENO: \$? = $ac_status" >&52503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2278 2504 (exit $ac_status); }; then 2279 2505 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. … … 2286 2512 test -f "$ac_file" || continue 2287 2513 case $ac_file in 2288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )2514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2289 2515 ;; 2290 2516 [ab].out ) … … 2313 2539 fi 2314 2540 2315 { echo "$as_me:$LINENO: result: $ac_file" >&52316 echo "${ECHO_T}$ac_file" >&6; }2541 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2542 $as_echo "$ac_file" >&6; } 2317 2543 if test -z "$ac_file"; then 2318 echo "$as_me: failed program was:" >&52544 $as_echo "$as_me: failed program was:" >&5 2319 2545 sed 's/^/| /' conftest.$ac_ext >&5 2320 2546 2321 { { echo "$as_me:$LINENO: error: C compiler cannot create executables2547 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2322 2548 See \`config.log' for more details." >&5 2323 echo "$as_me: error: C compiler cannot create executables2549 $as_echo "$as_me: error: C compiler cannot create executables 2324 2550 See \`config.log' for more details." >&2;} 2325 2551 { (exit 77); exit 77; }; } … … 2330 2556 # Check that the compiler produces executables we can run. If not, either 2331 2557 # the compiler is broken, or we cross compile. 2332 { echo "$as_me:$LINENO: checking whether the C compiler works" >&52333 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }2558 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2559 $as_echo_n "checking whether the C compiler works... " >&6; } 2334 2560 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2335 2561 # If not cross compiling, check that we can run a simple program. … … 2340 2566 *) ac_try_echo=$ac_try;; 2341 2567 esac 2342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2568 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2569 $as_echo "$ac_try_echo") >&5 2343 2570 (eval "$ac_try") 2>&5 2344 2571 ac_status=$? 2345 echo "$as_me:$LINENO: \$? = $ac_status" >&52572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2346 2573 (exit $ac_status); }; }; then 2347 2574 cross_compiling=no … … 2350 2577 cross_compiling=yes 2351 2578 else 2352 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.2579 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2353 2580 If you meant to cross compile, use \`--host'. 2354 2581 See \`config.log' for more details." >&5 2355 echo "$as_me: error: cannot run C compiled programs.2582 $as_echo "$as_me: error: cannot run C compiled programs. 2356 2583 If you meant to cross compile, use \`--host'. 2357 2584 See \`config.log' for more details." >&2;} … … 2360 2587 fi 2361 2588 fi 2362 { echo "$as_me:$LINENO: result: yes" >&52363 echo "${ECHO_T}yes" >&6; }2364 2365 rm -f a.outa.exe conftest$ac_cv_exeext b.out2589 { $as_echo "$as_me:$LINENO: result: yes" >&5 2590 $as_echo "yes" >&6; } 2591 2592 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2366 2593 ac_clean_files=$ac_clean_files_save 2367 2594 # Check that the compiler produces executables we can run. If not, either 2368 2595 # the compiler is broken, or we cross compile. 2369 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&52370 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }2371 { echo "$as_me:$LINENO: result: $cross_compiling" >&52372 echo "${ECHO_T}$cross_compiling" >&6; }2373 2374 { echo "$as_me:$LINENO: checking for suffix of executables" >&52375 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }2596 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2597 $as_echo_n "checking whether we are cross compiling... " >&6; } 2598 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2599 $as_echo "$cross_compiling" >&6; } 2600 2601 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2602 $as_echo_n "checking for suffix of executables... " >&6; } 2376 2603 if { (ac_try="$ac_link" 2377 2604 case "(($ac_try" in … … 2379 2606 *) ac_try_echo=$ac_try;; 2380 2607 esac 2381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2608 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2609 $as_echo "$ac_try_echo") >&5 2382 2610 (eval "$ac_link") 2>&5 2383 2611 ac_status=$? 2384 echo "$as_me:$LINENO: \$? = $ac_status" >&52612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2385 2613 (exit $ac_status); }; then 2386 2614 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 2391 2619 test -f "$ac_file" || continue 2392 2620 case $ac_file in 2393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;2621 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2394 2622 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2395 2623 break;; … … 2398 2626 done 2399 2627 else 2400 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link2628 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2401 2629 See \`config.log' for more details." >&5 2402 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2630 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2403 2631 See \`config.log' for more details." >&2;} 2404 2632 { (exit 1); exit 1; }; } … … 2406 2634 2407 2635 rm -f conftest$ac_cv_exeext 2408 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52409 echo "${ECHO_T}$ac_cv_exeext" >&6; }2636 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2637 $as_echo "$ac_cv_exeext" >&6; } 2410 2638 2411 2639 rm -f conftest.$ac_ext 2412 2640 EXEEXT=$ac_cv_exeext 2413 2641 ac_exeext=$EXEEXT 2414 { echo "$as_me:$LINENO: checking for suffix of object files" >&52415 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }2642 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2643 $as_echo_n "checking for suffix of object files... " >&6; } 2416 2644 if test "${ac_cv_objext+set}" = set; then 2417 echo $ECHO_N "(cached) $ECHO_C" >&62645 $as_echo_n "(cached) " >&6 2418 2646 else 2419 2647 cat >conftest.$ac_ext <<_ACEOF … … 2438 2666 *) ac_try_echo=$ac_try;; 2439 2667 esac 2440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2669 $as_echo "$ac_try_echo") >&5 2441 2670 (eval "$ac_compile") 2>&5 2442 2671 ac_status=$? 2443 echo "$as_me:$LINENO: \$? = $ac_status" >&52672 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2444 2673 (exit $ac_status); }; then 2445 2674 for ac_file in conftest.o conftest.obj conftest.*; do 2446 2675 test -f "$ac_file" || continue; 2447 2676 case $ac_file in 2448 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2677 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2449 2678 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2450 2679 break;; … … 2452 2681 done 2453 2682 else 2454 echo "$as_me: failed program was:" >&52683 $as_echo "$as_me: failed program was:" >&5 2455 2684 sed 's/^/| /' conftest.$ac_ext >&5 2456 2685 2457 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile2686 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2458 2687 See \`config.log' for more details." >&5 2459 echo "$as_me: error: cannot compute suffix of object files: cannot compile2688 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2460 2689 See \`config.log' for more details." >&2;} 2461 2690 { (exit 1); exit 1; }; } … … 2464 2693 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2465 2694 fi 2466 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52467 echo "${ECHO_T}$ac_cv_objext" >&6; }2695 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2696 $as_echo "$ac_cv_objext" >&6; } 2468 2697 OBJEXT=$ac_cv_objext 2469 2698 ac_objext=$OBJEXT 2470 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52471 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }2699 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2700 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2472 2701 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2473 echo $ECHO_N "(cached) $ECHO_C" >&62702 $as_echo_n "(cached) " >&6 2474 2703 else 2475 2704 cat >conftest.$ac_ext <<_ACEOF … … 2497 2726 *) ac_try_echo=$ac_try;; 2498 2727 esac 2499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2728 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2729 $as_echo "$ac_try_echo") >&5 2500 2730 (eval "$ac_compile") 2>conftest.er1 2501 2731 ac_status=$? … … 2503 2733 rm -f conftest.er1 2504 2734 cat conftest.err >&5 2505 echo "$as_me:$LINENO: \$? = $ac_status" >&52735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2506 2736 (exit $ac_status); } && { 2507 2737 test -z "$ac_c_werror_flag" || … … 2510 2740 ac_compiler_gnu=yes 2511 2741 else 2512 echo "$as_me: failed program was:" >&52742 $as_echo "$as_me: failed program was:" >&5 2513 2743 sed 's/^/| /' conftest.$ac_ext >&5 2514 2744 … … 2520 2750 2521 2751 fi 2522 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2523 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2524 GCC=`test $ac_compiler_gnu = yes && echo yes` 2752 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2753 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2754 if test $ac_compiler_gnu = yes; then 2755 GCC=yes 2756 else 2757 GCC= 2758 fi 2525 2759 ac_test_CFLAGS=${CFLAGS+set} 2526 2760 ac_save_CFLAGS=$CFLAGS 2527 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52528 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2761 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2762 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2529 2763 if test "${ac_cv_prog_cc_g+set}" = set; then 2530 echo $ECHO_N "(cached) $ECHO_C" >&62764 $as_echo_n "(cached) " >&6 2531 2765 else 2532 2766 ac_save_c_werror_flag=$ac_c_werror_flag … … 2555 2789 *) ac_try_echo=$ac_try;; 2556 2790 esac 2557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2792 $as_echo "$ac_try_echo") >&5 2558 2793 (eval "$ac_compile") 2>conftest.er1 2559 2794 ac_status=$? … … 2561 2796 rm -f conftest.er1 2562 2797 cat conftest.err >&5 2563 echo "$as_me:$LINENO: \$? = $ac_status" >&52798 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2564 2799 (exit $ac_status); } && { 2565 2800 test -z "$ac_c_werror_flag" || … … 2568 2803 ac_cv_prog_cc_g=yes 2569 2804 else 2570 echo "$as_me: failed program was:" >&52805 $as_echo "$as_me: failed program was:" >&5 2571 2806 sed 's/^/| /' conftest.$ac_ext >&5 2572 2807 … … 2593 2828 *) ac_try_echo=$ac_try;; 2594 2829 esac 2595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2831 $as_echo "$ac_try_echo") >&5 2596 2832 (eval "$ac_compile") 2>conftest.er1 2597 2833 ac_status=$? … … 2599 2835 rm -f conftest.er1 2600 2836 cat conftest.err >&5 2601 echo "$as_me:$LINENO: \$? = $ac_status" >&52837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2602 2838 (exit $ac_status); } && { 2603 2839 test -z "$ac_c_werror_flag" || … … 2606 2842 : 2607 2843 else 2608 echo "$as_me: failed program was:" >&52844 $as_echo "$as_me: failed program was:" >&5 2609 2845 sed 's/^/| /' conftest.$ac_ext >&5 2610 2846 … … 2632 2868 *) ac_try_echo=$ac_try;; 2633 2869 esac 2634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2871 $as_echo "$ac_try_echo") >&5 2635 2872 (eval "$ac_compile") 2>conftest.er1 2636 2873 ac_status=$? … … 2638 2875 rm -f conftest.er1 2639 2876 cat conftest.err >&5 2640 echo "$as_me:$LINENO: \$? = $ac_status" >&52877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2641 2878 (exit $ac_status); } && { 2642 2879 test -z "$ac_c_werror_flag" || … … 2645 2882 ac_cv_prog_cc_g=yes 2646 2883 else 2647 echo "$as_me: failed program was:" >&52884 $as_echo "$as_me: failed program was:" >&5 2648 2885 sed 's/^/| /' conftest.$ac_ext >&5 2649 2886 … … 2660 2897 ac_c_werror_flag=$ac_save_c_werror_flag 2661 2898 fi 2662 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52663 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }2899 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2900 $as_echo "$ac_cv_prog_cc_g" >&6; } 2664 2901 if test "$ac_test_CFLAGS" = set; then 2665 2902 CFLAGS=$ac_save_CFLAGS … … 2677 2914 fi 2678 2915 fi 2679 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52680 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2916 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2917 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2681 2918 if test "${ac_cv_prog_cc_c89+set}" = set; then 2682 echo $ECHO_N "(cached) $ECHO_C" >&62919 $as_echo_n "(cached) " >&6 2683 2920 else 2684 2921 ac_cv_prog_cc_c89=no … … 2751 2988 *) ac_try_echo=$ac_try;; 2752 2989 esac 2753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2990 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2991 $as_echo "$ac_try_echo") >&5 2754 2992 (eval "$ac_compile") 2>conftest.er1 2755 2993 ac_status=$? … … 2757 2995 rm -f conftest.er1 2758 2996 cat conftest.err >&5 2759 echo "$as_me:$LINENO: \$? = $ac_status" >&52997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2760 2998 (exit $ac_status); } && { 2761 2999 test -z "$ac_c_werror_flag" || … … 2764 3002 ac_cv_prog_cc_c89=$ac_arg 2765 3003 else 2766 echo "$as_me: failed program was:" >&53004 $as_echo "$as_me: failed program was:" >&5 2767 3005 sed 's/^/| /' conftest.$ac_ext >&5 2768 3006 … … 2780 3018 case "x$ac_cv_prog_cc_c89" in 2781 3019 x) 2782 { echo "$as_me:$LINENO: result: none needed" >&52783 echo "${ECHO_T}none needed" >&6; } ;;3020 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3021 $as_echo "none needed" >&6; } ;; 2784 3022 xno) 2785 { echo "$as_me:$LINENO: result: unsupported" >&52786 echo "${ECHO_T}unsupported" >&6; } ;;3023 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3024 $as_echo "unsupported" >&6; } ;; 2787 3025 *) 2788 3026 CC="$CC $ac_cv_prog_cc_c89" 2789 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52790 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3027 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3028 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2791 3029 esac 2792 3030 … … 2803 3041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2804 3042 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2805 2806 2807 if test -n "$ac_tool_prefix"; then2808 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.2809 set dummy ${ac_tool_prefix}ranlib; ac_word=$22810 { echo "$as_me:$LINENO: checking for $ac_word" >&52811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2812 if test "${ac_cv_prog_RANLIB+set}" = set; then2813 echo $ECHO_N "(cached) $ECHO_C" >&62814 else2815 if test -n "$RANLIB"; then2816 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.2817 else2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2819 for as_dir in $PATH2820 do2821 IFS=$as_save_IFS2822 test -z "$as_dir" && as_dir=.2823 for ac_exec_ext in '' $ac_executable_extensions; do2824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2825 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"2826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52827 break 22828 fi2829 done2830 done2831 IFS=$as_save_IFS2832 2833 fi2834 fi2835 RANLIB=$ac_cv_prog_RANLIB2836 if test -n "$RANLIB"; then2837 { echo "$as_me:$LINENO: result: $RANLIB" >&52838 echo "${ECHO_T}$RANLIB" >&6; }2839 else2840 { echo "$as_me:$LINENO: result: no" >&52841 echo "${ECHO_T}no" >&6; }2842 fi2843 2844 2845 fi2846 if test -z "$ac_cv_prog_RANLIB"; then2847 ac_ct_RANLIB=$RANLIB2848 # Extract the first word of "ranlib", so it can be a program name with args.2849 set dummy ranlib; ac_word=$22850 { echo "$as_me:$LINENO: checking for $ac_word" >&52851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2852 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then2853 echo $ECHO_N "(cached) $ECHO_C" >&62854 else2855 if test -n "$ac_ct_RANLIB"; then2856 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.2857 else2858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2859 for as_dir in $PATH2860 do2861 IFS=$as_save_IFS2862 test -z "$as_dir" && as_dir=.2863 for ac_exec_ext in '' $ac_executable_extensions; do2864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2865 ac_cv_prog_ac_ct_RANLIB="ranlib"2866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52867 break 22868 fi2869 done2870 done2871 IFS=$as_save_IFS2872 2873 fi2874 fi2875 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB2876 if test -n "$ac_ct_RANLIB"; then2877 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&52878 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }2879 else2880 { echo "$as_me:$LINENO: result: no" >&52881 echo "${ECHO_T}no" >&6; }2882 fi2883 2884 if test "x$ac_ct_RANLIB" = x; then2885 RANLIB=":"2886 else2887 case $cross_compiling:$ac_tool_warned in2888 yes:)2889 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2890 whose name does not start with the host triplet. If you think this2891 configuration is useful to you, please write to autoconf@gnu.org." >&52892 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2893 whose name does not start with the host triplet. If you think this2894 configuration is useful to you, please write to autoconf@gnu.org." >&2;}2895 ac_tool_warned=yes ;;2896 esac2897 RANLIB=$ac_ct_RANLIB2898 fi2899 else2900 RANLIB="$ac_cv_prog_RANLIB"2901 fi2902 3043 2903 3044 … … 2916 3057 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2917 3058 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2918 { echo "$as_me:$LINENO: checking for $ac_word" >&52919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3059 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3060 $as_echo_n "checking for $ac_word... " >&6; } 2920 3061 if test "${ac_cv_prog_CXX+set}" = set; then 2921 echo $ECHO_N "(cached) $ECHO_C" >&63062 $as_echo_n "(cached) " >&6 2922 3063 else 2923 3064 if test -n "$CXX"; then … … 2932 3073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2933 3074 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53075 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2935 3076 break 2 2936 3077 fi … … 2943 3084 CXX=$ac_cv_prog_CXX 2944 3085 if test -n "$CXX"; then 2945 { echo "$as_me:$LINENO: result: $CXX" >&52946 echo "${ECHO_T}$CXX" >&6; }2947 else 2948 { echo "$as_me:$LINENO: result: no" >&52949 echo "${ECHO_T}no" >&6; }3086 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 3087 $as_echo "$CXX" >&6; } 3088 else 3089 { $as_echo "$as_me:$LINENO: result: no" >&5 3090 $as_echo "no" >&6; } 2950 3091 fi 2951 3092 … … 2960 3101 # Extract the first word of "$ac_prog", so it can be a program name with args. 2961 3102 set dummy $ac_prog; ac_word=$2 2962 { echo "$as_me:$LINENO: checking for $ac_word" >&52963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3103 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3104 $as_echo_n "checking for $ac_word... " >&6; } 2964 3105 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2965 echo $ECHO_N "(cached) $ECHO_C" >&63106 $as_echo_n "(cached) " >&6 2966 3107 else 2967 3108 if test -n "$ac_ct_CXX"; then … … 2976 3117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2977 3118 ac_cv_prog_ac_ct_CXX="$ac_prog" 2978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53119 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2979 3120 break 2 2980 3121 fi … … 2987 3128 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2988 3129 if test -n "$ac_ct_CXX"; then 2989 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&52990 echo "${ECHO_T}$ac_ct_CXX" >&6; }2991 else 2992 { echo "$as_me:$LINENO: result: no" >&52993 echo "${ECHO_T}no" >&6; }3130 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3131 $as_echo "$ac_ct_CXX" >&6; } 3132 else 3133 { $as_echo "$as_me:$LINENO: result: no" >&5 3134 $as_echo "no" >&6; } 2994 3135 fi 2995 3136 … … 3003 3144 case $cross_compiling:$ac_tool_warned in 3004 3145 yes:) 3005 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools3146 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3006 3147 whose name does not start with the host triplet. If you think this 3007 3148 configuration is useful to you, please write to autoconf@gnu.org." >&5 3008 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools3149 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3009 3150 whose name does not start with the host triplet. If you think this 3010 3151 configuration is useful to you, please write to autoconf@gnu.org." >&2;} … … 3018 3159 fi 3019 3160 # Provide some information about the compiler. 3020 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3021 ac_compiler=`set X $ac_compile; echo $2` 3161 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3162 set X $ac_compile 3163 ac_compiler=$2 3022 3164 { (ac_try="$ac_compiler --version >&5" 3023 3165 case "(($ac_try" in … … 3025 3167 *) ac_try_echo=$ac_try;; 3026 3168 esac 3027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3170 $as_echo "$ac_try_echo") >&5 3028 3171 (eval "$ac_compiler --version >&5") 2>&5 3029 3172 ac_status=$? 3030 echo "$as_me:$LINENO: \$? = $ac_status" >&53173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3031 3174 (exit $ac_status); } 3032 3175 { (ac_try="$ac_compiler -v >&5" … … 3035 3178 *) ac_try_echo=$ac_try;; 3036 3179 esac 3037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3181 $as_echo "$ac_try_echo") >&5 3038 3182 (eval "$ac_compiler -v >&5") 2>&5 3039 3183 ac_status=$? 3040 echo "$as_me:$LINENO: \$? = $ac_status" >&53184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3041 3185 (exit $ac_status); } 3042 3186 { (ac_try="$ac_compiler -V >&5" … … 3045 3189 *) ac_try_echo=$ac_try;; 3046 3190 esac 3047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3191 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3192 $as_echo "$ac_try_echo") >&5 3048 3193 (eval "$ac_compiler -V >&5") 2>&5 3049 3194 ac_status=$? 3050 echo "$as_me:$LINENO: \$? = $ac_status" >&53195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3051 3196 (exit $ac_status); } 3052 3197 3053 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&53054 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }3198 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3199 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3055 3200 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3056 echo $ECHO_N "(cached) $ECHO_C" >&63201 $as_echo_n "(cached) " >&6 3057 3202 else 3058 3203 cat >conftest.$ac_ext <<_ACEOF … … 3080 3225 *) ac_try_echo=$ac_try;; 3081 3226 esac 3082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3228 $as_echo "$ac_try_echo") >&5 3083 3229 (eval "$ac_compile") 2>conftest.er1 3084 3230 ac_status=$? … … 3086 3232 rm -f conftest.er1 3087 3233 cat conftest.err >&5 3088 echo "$as_me:$LINENO: \$? = $ac_status" >&53234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3089 3235 (exit $ac_status); } && { 3090 3236 test -z "$ac_cxx_werror_flag" || … … 3093 3239 ac_compiler_gnu=yes 3094 3240 else 3095 echo "$as_me: failed program was:" >&53241 $as_echo "$as_me: failed program was:" >&5 3096 3242 sed 's/^/| /' conftest.$ac_ext >&5 3097 3243 … … 3103 3249 3104 3250 fi 3105 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3106 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3107 GXX=`test $ac_compiler_gnu = yes && echo yes` 3251 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3252 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3253 if test $ac_compiler_gnu = yes; then 3254 GXX=yes 3255 else 3256 GXX= 3257 fi 3108 3258 ac_test_CXXFLAGS=${CXXFLAGS+set} 3109 3259 ac_save_CXXFLAGS=$CXXFLAGS 3110 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53111 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3260 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3261 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3112 3262 if test "${ac_cv_prog_cxx_g+set}" = set; then 3113 echo $ECHO_N "(cached) $ECHO_C" >&63263 $as_echo_n "(cached) " >&6 3114 3264 else 3115 3265 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3138 3288 *) ac_try_echo=$ac_try;; 3139 3289 esac 3140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3291 $as_echo "$ac_try_echo") >&5 3141 3292 (eval "$ac_compile") 2>conftest.er1 3142 3293 ac_status=$? … … 3144 3295 rm -f conftest.er1 3145 3296 cat conftest.err >&5 3146 echo "$as_me:$LINENO: \$? = $ac_status" >&53297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3147 3298 (exit $ac_status); } && { 3148 3299 test -z "$ac_cxx_werror_flag" || … … 3151 3302 ac_cv_prog_cxx_g=yes 3152 3303 else 3153 echo "$as_me: failed program was:" >&53304 $as_echo "$as_me: failed program was:" >&5 3154 3305 sed 's/^/| /' conftest.$ac_ext >&5 3155 3306 … … 3176 3327 *) ac_try_echo=$ac_try;; 3177 3328 esac 3178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3330 $as_echo "$ac_try_echo") >&5 3179 3331 (eval "$ac_compile") 2>conftest.er1 3180 3332 ac_status=$? … … 3182 3334 rm -f conftest.er1 3183 3335 cat conftest.err >&5 3184 echo "$as_me:$LINENO: \$? = $ac_status" >&53336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3185 3337 (exit $ac_status); } && { 3186 3338 test -z "$ac_cxx_werror_flag" || … … 3189 3341 : 3190 3342 else 3191 echo "$as_me: failed program was:" >&53343 $as_echo "$as_me: failed program was:" >&5 3192 3344 sed 's/^/| /' conftest.$ac_ext >&5 3193 3345 … … 3215 3367 *) ac_try_echo=$ac_try;; 3216 3368 esac 3217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3370 $as_echo "$ac_try_echo") >&5 3218 3371 (eval "$ac_compile") 2>conftest.er1 3219 3372 ac_status=$? … … 3221 3374 rm -f conftest.er1 3222 3375 cat conftest.err >&5 3223 echo "$as_me:$LINENO: \$? = $ac_status" >&53376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3224 3377 (exit $ac_status); } && { 3225 3378 test -z "$ac_cxx_werror_flag" || … … 3228 3381 ac_cv_prog_cxx_g=yes 3229 3382 else 3230 echo "$as_me: failed program was:" >&53383 $as_echo "$as_me: failed program was:" >&5 3231 3384 sed 's/^/| /' conftest.$ac_ext >&5 3232 3385 … … 3243 3396 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3244 3397 fi 3245 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53246 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }3398 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3399 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3247 3400 if test "$ac_test_CXXFLAGS" = set; then 3248 3401 CXXFLAGS=$ac_save_CXXFLAGS … … 3279 3432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3280 3433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3281 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&53282 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }3434 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 3435 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 3283 3436 if test -z "$CXXCPP"; then 3284 3437 if test "${ac_cv_prog_CXXCPP+set}" = set; then 3285 echo $ECHO_N "(cached) $ECHO_C" >&63438 $as_echo_n "(cached) " >&6 3286 3439 else 3287 3440 # Double quotes because CXXCPP needs to be expanded … … 3315 3468 *) ac_try_echo=$ac_try;; 3316 3469 esac 3317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3471 $as_echo "$ac_try_echo") >&5 3318 3472 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3319 3473 ac_status=$? … … 3321 3475 rm -f conftest.er1 3322 3476 cat conftest.err >&5 3323 echo "$as_me:$LINENO: \$? = $ac_status" >&53477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3324 3478 (exit $ac_status); } >/dev/null && { 3325 3479 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 3328 3482 : 3329 3483 else 3330 echo "$as_me: failed program was:" >&53484 $as_echo "$as_me: failed program was:" >&5 3331 3485 sed 's/^/| /' conftest.$ac_ext >&5 3332 3486 … … 3352 3506 *) ac_try_echo=$ac_try;; 3353 3507 esac 3354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3509 $as_echo "$ac_try_echo") >&5 3355 3510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3356 3511 ac_status=$? … … 3358 3513 rm -f conftest.er1 3359 3514 cat conftest.err >&5 3360 echo "$as_me:$LINENO: \$? = $ac_status" >&53515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3361 3516 (exit $ac_status); } >/dev/null && { 3362 3517 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 3366 3521 continue 3367 3522 else 3368 echo "$as_me: failed program was:" >&53523 $as_echo "$as_me: failed program was:" >&5 3369 3524 sed 's/^/| /' conftest.$ac_ext >&5 3370 3525 … … 3391 3546 ac_cv_prog_CXXCPP=$CXXCPP 3392 3547 fi 3393 { echo "$as_me:$LINENO: result: $CXXCPP" >&53394 echo "${ECHO_T}$CXXCPP" >&6; }3548 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 3549 $as_echo "$CXXCPP" >&6; } 3395 3550 ac_preproc_ok=false 3396 3551 for ac_cxx_preproc_warn_flag in '' yes … … 3420 3575 *) ac_try_echo=$ac_try;; 3421 3576 esac 3422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3578 $as_echo "$ac_try_echo") >&5 3423 3579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3424 3580 ac_status=$? … … 3426 3582 rm -f conftest.er1 3427 3583 cat conftest.err >&5 3428 echo "$as_me:$LINENO: \$? = $ac_status" >&53584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3429 3585 (exit $ac_status); } >/dev/null && { 3430 3586 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 3433 3589 : 3434 3590 else 3435 echo "$as_me: failed program was:" >&53591 $as_echo "$as_me: failed program was:" >&5 3436 3592 sed 's/^/| /' conftest.$ac_ext >&5 3437 3593 … … 3457 3613 *) ac_try_echo=$ac_try;; 3458 3614 esac 3459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3616 $as_echo "$ac_try_echo") >&5 3460 3617 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3461 3618 ac_status=$? … … 3463 3620 rm -f conftest.er1 3464 3621 cat conftest.err >&5 3465 echo "$as_me:$LINENO: \$? = $ac_status" >&53622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3466 3623 (exit $ac_status); } >/dev/null && { 3467 3624 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 3471 3628 continue 3472 3629 else 3473 echo "$as_me: failed program was:" >&53630 $as_echo "$as_me: failed program was:" >&5 3474 3631 sed 's/^/| /' conftest.$ac_ext >&5 3475 3632 … … 3487 3644 : 3488 3645 else 3489 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check3646 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 3490 3647 See \`config.log' for more details." >&5 3491 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check3648 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 3492 3649 See \`config.log' for more details." >&2;} 3493 3650 { (exit 1); exit 1; }; } … … 3501 3658 3502 3659 3503 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&53504 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }3660 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3661 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3505 3662 if test "${ac_cv_path_GREP+set}" = set; then 3506 echo $ECHO_N "(cached) $ECHO_C" >&6 3507 else 3508 # Extract the first word of "grep ggrep" to use in msg output 3509 if test -z "$GREP"; then 3510 set dummy grep ggrep; ac_prog_name=$2 3511 if test "${ac_cv_path_GREP+set}" = set; then 3512 echo $ECHO_N "(cached) $ECHO_C" >&6 3513 else 3663 $as_echo_n "(cached) " >&6 3664 else 3665 if test -z "$GREP"; then 3514 3666 ac_path_GREP_found=false 3515 # Loop through the user's path and test for each of PROGNAME-LIST3516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3667 # Loop through the user's path and test for each of PROGNAME-LIST 3668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3517 3669 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3518 3670 do … … 3520 3672 test -z "$as_dir" && as_dir=. 3521 3673 for ac_prog in grep ggrep; do 3522 for ac_exec_ext in '' $ac_executable_extensions; do3523 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"3524 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue3525 3674 for ac_exec_ext in '' $ac_executable_extensions; do 3675 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3676 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3677 # Check for GNU ac_path_GREP and select it if it is found. 3526 3678 # Check for GNU $ac_path_GREP 3527 3679 case `"$ac_path_GREP" --version 2>&1` in … … 3530 3682 *) 3531 3683 ac_count=0 3532 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"3684 $as_echo_n 0123456789 >"conftest.in" 3533 3685 while : 3534 3686 do … … 3536 3688 mv "conftest.tmp" "conftest.in" 3537 3689 cp "conftest.in" "conftest.nl" 3538 echo 'GREP' >> "conftest.nl"3690 $as_echo 'GREP' >> "conftest.nl" 3539 3691 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3540 3692 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break … … 3551 3703 esac 3552 3704 3553 3554 $ac_path_GREP_found && break 33705 $ac_path_GREP_found && break 3 3706 done 3555 3707 done 3556 3708 done 3557 3558 done3559 3709 IFS=$as_save_IFS 3560 3561 3562 fi 3563 3564 GREP="$ac_cv_path_GREP" 3565 if test -z "$GREP"; then 3566 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3567 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3710 if test -z "$ac_cv_path_GREP"; then 3711 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3712 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3568 3713 { (exit 1); exit 1; }; } 3569 fi 3570 3714 fi 3571 3715 else 3572 3716 ac_cv_path_GREP=$GREP 3573 3717 fi 3574 3718 3575 3576 fi 3577 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3578 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3719 fi 3720 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3721 $as_echo "$ac_cv_path_GREP" >&6; } 3579 3722 GREP="$ac_cv_path_GREP" 3580 3723 3581 3724 3582 { echo "$as_me:$LINENO: checking for egrep" >&53583 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }3725 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 3726 $as_echo_n "checking for egrep... " >&6; } 3584 3727 if test "${ac_cv_path_EGREP+set}" = set; then 3585 echo $ECHO_N "(cached) $ECHO_C" >&63728 $as_echo_n "(cached) " >&6 3586 3729 else 3587 3730 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3588 3731 then ac_cv_path_EGREP="$GREP -E" 3589 3732 else 3590 # Extract the first word of "egrep" to use in msg output 3591 if test -z "$EGREP"; then 3592 set dummy egrep; ac_prog_name=$2 3593 if test "${ac_cv_path_EGREP+set}" = set; then 3594 echo $ECHO_N "(cached) $ECHO_C" >&6 3595 else 3733 if test -z "$EGREP"; then 3596 3734 ac_path_EGREP_found=false 3597 # Loop through the user's path and test for each of PROGNAME-LIST3598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3735 # Loop through the user's path and test for each of PROGNAME-LIST 3736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3599 3737 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3600 3738 do … … 3602 3740 test -z "$as_dir" && as_dir=. 3603 3741 for ac_prog in egrep; do 3604 for ac_exec_ext in '' $ac_executable_extensions; do3605 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"3606 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue3607 3742 for ac_exec_ext in '' $ac_executable_extensions; do 3743 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3744 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3745 # Check for GNU ac_path_EGREP and select it if it is found. 3608 3746 # Check for GNU $ac_path_EGREP 3609 3747 case `"$ac_path_EGREP" --version 2>&1` in … … 3612 3750 *) 3613 3751 ac_count=0 3614 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"3752 $as_echo_n 0123456789 >"conftest.in" 3615 3753 while : 3616 3754 do … … 3618 3756 mv "conftest.tmp" "conftest.in" 3619 3757 cp "conftest.in" "conftest.nl" 3620 echo 'EGREP' >> "conftest.nl"3758 $as_echo 'EGREP' >> "conftest.nl" 3621 3759 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3622 3760 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break … … 3633 3771 esac 3634 3772 3635 3636 $ac_path_EGREP_found && break 33773 $ac_path_EGREP_found && break 3 3774 done 3637 3775 done 3638 3776 done 3639 3640 done3641 3777 IFS=$as_save_IFS 3642 3643 3644 fi 3645 3646 EGREP="$ac_cv_path_EGREP" 3647 if test -z "$EGREP"; then 3648 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3649 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3778 if test -z "$ac_cv_path_EGREP"; then 3779 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3780 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3650 3781 { (exit 1); exit 1; }; } 3651 fi 3652 3782 fi 3653 3783 else 3654 3784 ac_cv_path_EGREP=$EGREP 3655 3785 fi 3656 3786 3657 3658 3787 fi 3659 3788 fi 3660 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&53661 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }3789 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3790 $as_echo "$ac_cv_path_EGREP" >&6; } 3662 3791 EGREP="$ac_cv_path_EGREP" 3663 3792 3664 3793 3665 { echo "$as_me:$LINENO: checking for ANSI C header files" >&53666 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }3794 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3795 $as_echo_n "checking for ANSI C header files... " >&6; } 3667 3796 if test "${ac_cv_header_stdc+set}" = set; then 3668 echo $ECHO_N "(cached) $ECHO_C" >&63797 $as_echo_n "(cached) " >&6 3669 3798 else 3670 3799 cat >conftest.$ac_ext <<_ACEOF … … 3693 3822 *) ac_try_echo=$ac_try;; 3694 3823 esac 3695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3825 $as_echo "$ac_try_echo") >&5 3696 3826 (eval "$ac_compile") 2>conftest.er1 3697 3827 ac_status=$? … … 3699 3829 rm -f conftest.er1 3700 3830 cat conftest.err >&5 3701 echo "$as_me:$LINENO: \$? = $ac_status" >&53831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3702 3832 (exit $ac_status); } && { 3703 3833 test -z "$ac_cxx_werror_flag" || … … 3706 3836 ac_cv_header_stdc=yes 3707 3837 else 3708 echo "$as_me: failed program was:" >&53838 $as_echo "$as_me: failed program was:" >&5 3709 3839 sed 's/^/| /' conftest.$ac_ext >&5 3710 3840 … … 3798 3928 *) ac_try_echo=$ac_try;; 3799 3929 esac 3800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3931 $as_echo "$ac_try_echo") >&5 3801 3932 (eval "$ac_link") 2>&5 3802 3933 ac_status=$? 3803 echo "$as_me:$LINENO: \$? = $ac_status" >&53934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3804 3935 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3805 3936 { (case "(($ac_try" in … … 3807 3938 *) ac_try_echo=$ac_try;; 3808 3939 esac 3809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3941 $as_echo "$ac_try_echo") >&5 3810 3942 (eval "$ac_try") 2>&5 3811 3943 ac_status=$? 3812 echo "$as_me:$LINENO: \$? = $ac_status" >&53944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3813 3945 (exit $ac_status); }; }; then 3814 3946 : 3815 3947 else 3816 echo "$as_me: program exited with status $ac_status" >&53817 echo "$as_me: failed program was:" >&53948 $as_echo "$as_me: program exited with status $ac_status" >&5 3949 $as_echo "$as_me: failed program was:" >&5 3818 3950 sed 's/^/| /' conftest.$ac_ext >&5 3819 3951 … … 3821 3953 ac_cv_header_stdc=no 3822 3954 fi 3955 rm -rf conftest.dSYM 3823 3956 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3824 3957 fi … … 3827 3960 fi 3828 3961 fi 3829 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&53830 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }3962 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3963 $as_echo "$ac_cv_header_stdc" >&6; } 3831 3964 if test $ac_cv_header_stdc = yes; then 3832 3965 … … 3850 3983 inttypes.h stdint.h unistd.h 3851 3984 do 3852 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`3853 { echo "$as_me:$LINENO: checking for $ac_header" >&53854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }3985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3986 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3987 $as_echo_n "checking for $ac_header... " >&6; } 3855 3988 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3856 echo $ECHO_N "(cached) $ECHO_C" >&63989 $as_echo_n "(cached) " >&6 3857 3990 else 3858 3991 cat >conftest.$ac_ext <<_ACEOF … … 3872 4005 *) ac_try_echo=$ac_try;; 3873 4006 esac 3874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4008 $as_echo "$ac_try_echo") >&5 3875 4009 (eval "$ac_compile") 2>conftest.er1 3876 4010 ac_status=$? … … 3878 4012 rm -f conftest.er1 3879 4013 cat conftest.err >&5 3880 echo "$as_me:$LINENO: \$? = $ac_status" >&54014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3881 4015 (exit $ac_status); } && { 3882 4016 test -z "$ac_cxx_werror_flag" || … … 3885 4019 eval "$as_ac_Header=yes" 3886 4020 else 3887 echo "$as_me: failed program was:" >&54021 $as_echo "$as_me: failed program was:" >&5 3888 4022 sed 's/^/| /' conftest.$ac_ext >&5 3889 4023 … … 3893 4027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3894 4028 fi 3895 ac_res=`eval echo '${'$as_ac_Header'}'` 3896 { echo "$as_me:$LINENO: result: $ac_res" >&5 3897 echo "${ECHO_T}$ac_res" >&6; } 3898 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4029 ac_res=`eval 'as_val=${'$as_ac_Header'} 4030 $as_echo "$as_val"'` 4031 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4032 $as_echo "$ac_res" >&6; } 4033 if test `eval 'as_val=${'$as_ac_Header'} 4034 $as_echo "$as_val"'` = yes; then 3899 4035 cat >>confdefs.h <<_ACEOF 3900 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14036 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3901 4037 _ACEOF 3902 4038 … … 3906 4042 3907 4043 3908 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&53909 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }4044 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4045 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 3910 4046 if test "${ac_cv_c_bigendian+set}" = set; then 3911 echo $ECHO_N "(cached) $ECHO_C" >&64047 $as_echo_n "(cached) " >&6 3912 4048 else 3913 4049 # See if sys/param.h defines the BYTE_ORDER macro. … … 3939 4075 *) ac_try_echo=$ac_try;; 3940 4076 esac 3941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4078 $as_echo "$ac_try_echo") >&5 3942 4079 (eval "$ac_compile") 2>conftest.er1 3943 4080 ac_status=$? … … 3945 4082 rm -f conftest.er1 3946 4083 cat conftest.err >&5 3947 echo "$as_me:$LINENO: \$? = $ac_status" >&54084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3948 4085 (exit $ac_status); } && { 3949 4086 test -z "$ac_cxx_werror_flag" || … … 3977 4114 *) ac_try_echo=$ac_try;; 3978 4115 esac 3979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4117 $as_echo "$ac_try_echo") >&5 3980 4118 (eval "$ac_compile") 2>conftest.er1 3981 4119 ac_status=$? … … 3983 4121 rm -f conftest.er1 3984 4122 cat conftest.err >&5 3985 echo "$as_me:$LINENO: \$? = $ac_status" >&54123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3986 4124 (exit $ac_status); } && { 3987 4125 test -z "$ac_cxx_werror_flag" || … … 3990 4128 ac_cv_c_bigendian=yes 3991 4129 else 3992 echo "$as_me: failed program was:" >&54130 $as_echo "$as_me: failed program was:" >&5 3993 4131 sed 's/^/| /' conftest.$ac_ext >&5 3994 4132 … … 3998 4136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3999 4137 else 4000 echo "$as_me: failed program was:" >&54138 $as_echo "$as_me: failed program was:" >&5 4001 4139 sed 's/^/| /' conftest.$ac_ext >&5 4002 4140 … … 4031 4169 *) ac_try_echo=$ac_try;; 4032 4170 esac 4033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4172 $as_echo "$ac_try_echo") >&5 4034 4173 (eval "$ac_compile") 2>conftest.er1 4035 4174 ac_status=$? … … 4037 4176 rm -f conftest.er1 4038 4177 cat conftest.err >&5 4039 echo "$as_me:$LINENO: \$? = $ac_status" >&54178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4040 4179 (exit $ac_status); } && { 4041 4180 test -z "$ac_cxx_werror_flag" || … … 4054 4193 fi 4055 4194 else 4056 echo "$as_me: failed program was:" >&54195 $as_echo "$as_me: failed program was:" >&5 4057 4196 sed 's/^/| /' conftest.$ac_ext >&5 4058 4197 … … 4092 4231 *) ac_try_echo=$ac_try;; 4093 4232 esac 4094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4234 $as_echo "$ac_try_echo") >&5 4095 4235 (eval "$ac_link") 2>&5 4096 4236 ac_status=$? 4097 echo "$as_me:$LINENO: \$? = $ac_status" >&54237 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4098 4238 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4099 4239 { (case "(($ac_try" in … … 4101 4241 *) ac_try_echo=$ac_try;; 4102 4242 esac 4103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4244 $as_echo "$ac_try_echo") >&5 4104 4245 (eval "$ac_try") 2>&5 4105 4246 ac_status=$? 4106 echo "$as_me:$LINENO: \$? = $ac_status" >&54247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4107 4248 (exit $ac_status); }; }; then 4108 4249 ac_cv_c_bigendian=no 4109 4250 else 4110 echo "$as_me: program exited with status $ac_status" >&54111 echo "$as_me: failed program was:" >&54251 $as_echo "$as_me: program exited with status $ac_status" >&5 4252 $as_echo "$as_me: failed program was:" >&5 4112 4253 sed 's/^/| /' conftest.$ac_ext >&5 4113 4254 … … 4115 4256 ac_cv_c_bigendian=yes 4116 4257 fi 4258 rm -rf conftest.dSYM 4117 4259 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4118 4260 fi … … 4123 4265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4124 4266 fi 4125 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&54126 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }4267 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4268 $as_echo "$ac_cv_c_bigendian" >&6; } 4127 4269 case $ac_cv_c_bigendian in 4128 4270 yes) … … 4135 4277 ;; 4136 4278 *) 4137 { { echo "$as_me:$LINENO: error: unknown endianness4279 { { $as_echo "$as_me:$LINENO: error: unknown endianness 4138 4280 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4139 echo "$as_me: error: unknown endianness4281 $as_echo "$as_me: error: unknown endianness 4140 4282 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4141 4283 { (exit 1); exit 1; }; } ;; … … 4155 4297 4156 4298 4299 # 4300 # Need to check for the following dependencies: 4301 # Rappture headers and library (done) 4302 # Tcl headers and library (done) 4303 # GL headers and library 4304 # GLuT headers and library 4305 # GLui header and library 4306 # GLEW header and library 4307 # Cg headers and library 4308 # CgGL headers and library 4309 # pthread library 4310 # DX headers and library (done, sort of) 4311 # 4312 4157 4313 TCL_LIB_DIR="" 4158 4314 TCL_LIB="" 4159 4315 TCL_LIB_VERSION="" 4160 { echo "$as_me:$LINENO: checking for tcl binary libraries" >&54161 echo $ECHO_N "checking for tcl binary libraries... $ECHO_C" >&6; }4316 { $as_echo "$as_me:$LINENO: checking for tcl binary libraries" >&5 4317 $as_echo_n "checking for tcl binary libraries... " >&6; } 4162 4318 if test "x$with_tcllib" != "x" ; then 4163 4319 if test -f "$with_tcllib" … … 4174 4330 TCL_LIB_DIR="$with_tcllib" 4175 4331 else 4176 { echo "$as_me:$LINENO: result: no" >&54177 echo "${ECHO_T}no" >&6; }4178 { { echo "$as_me:$LINENO: error: cannot find tcl binary libraries, try using --with-tcllib" >&54179 echo "$as_me: error: cannot find tcl binary libraries, try using --with-tcllib" >&2;}4332 { $as_echo "$as_me:$LINENO: result: no" >&5 4333 $as_echo "no" >&6; } 4334 { { $as_echo "$as_me:$LINENO: error: cannot find tcl binary libraries, try using --with-tcllib" >&5 4335 $as_echo "$as_me: error: cannot find tcl binary libraries, try using --with-tcllib" >&2;} 4180 4336 { (exit 1); exit 1; }; } 4181 4337 fi 4182 4338 else 4183 { echo "$as_me:$LINENO: result: no" >&54184 echo "${ECHO_T}no" >&6; }4185 { { echo "$as_me:$LINENO: error: cannot find tcl binary libraries inside $with_tcllib, try using --with-tcllib" >&54186 echo "$as_me: error: cannot find tcl binary libraries inside $with_tcllib, try using --with-tcllib" >&2;}4339 { $as_echo "$as_me:$LINENO: result: no" >&5 4340 $as_echo "no" >&6; } 4341 { { $as_echo "$as_me:$LINENO: error: cannot find tcl binary libraries inside $with_tcllib, try using --with-tcllib" >&5 4342 $as_echo "$as_me: error: cannot find tcl binary libraries inside $with_tcllib, try using --with-tcllib" >&2;} 4187 4343 { (exit 1); exit 1; }; } 4188 4344 fi … … 4192 4348 for ac_header in tcl.h 4193 4349 do 4194 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`4350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4195 4351 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4196 { echo "$as_me:$LINENO: checking for $ac_header" >&54197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4352 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4353 $as_echo_n "checking for $ac_header... " >&6; } 4198 4354 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4199 echo $ECHO_N "(cached) $ECHO_C" >&6 4200 fi 4201 ac_res=`eval echo '${'$as_ac_Header'}'` 4202 { echo "$as_me:$LINENO: result: $ac_res" >&5 4203 echo "${ECHO_T}$ac_res" >&6; } 4355 $as_echo_n "(cached) " >&6 4356 fi 4357 ac_res=`eval 'as_val=${'$as_ac_Header'} 4358 $as_echo "$as_val"'` 4359 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4360 $as_echo "$ac_res" >&6; } 4204 4361 else 4205 4362 # Is the header compilable? 4206 { echo "$as_me:$LINENO: checking $ac_header usability" >&54207 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }4363 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 4364 $as_echo_n "checking $ac_header usability... " >&6; } 4208 4365 cat >conftest.$ac_ext <<_ACEOF 4209 4366 /* confdefs.h. */ … … 4221 4378 *) ac_try_echo=$ac_try;; 4222 4379 esac 4223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4381 $as_echo "$ac_try_echo") >&5 4224 4382 (eval "$ac_compile") 2>conftest.er1 4225 4383 ac_status=$? … … 4227 4385 rm -f conftest.er1 4228 4386 cat conftest.err >&5 4229 echo "$as_me:$LINENO: \$? = $ac_status" >&54387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4230 4388 (exit $ac_status); } && { 4231 4389 test -z "$ac_cxx_werror_flag" || … … 4234 4392 ac_header_compiler=yes 4235 4393 else 4236 echo "$as_me: failed program was:" >&54394 $as_echo "$as_me: failed program was:" >&5 4237 4395 sed 's/^/| /' conftest.$ac_ext >&5 4238 4396 … … 4241 4399 4242 4400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4243 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&54244 echo "${ECHO_T}$ac_header_compiler" >&6; }4401 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4402 $as_echo "$ac_header_compiler" >&6; } 4245 4403 4246 4404 # Is the header present? 4247 { echo "$as_me:$LINENO: checking $ac_header presence" >&54248 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }4405 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 4406 $as_echo_n "checking $ac_header presence... " >&6; } 4249 4407 cat >conftest.$ac_ext <<_ACEOF 4250 4408 /* confdefs.h. */ … … 4260 4418 *) ac_try_echo=$ac_try;; 4261 4419 esac 4262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4421 $as_echo "$ac_try_echo") >&5 4263 4422 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4264 4423 ac_status=$? … … 4266 4425 rm -f conftest.er1 4267 4426 cat conftest.err >&5 4268 echo "$as_me:$LINENO: \$? = $ac_status" >&54427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4269 4428 (exit $ac_status); } >/dev/null && { 4270 4429 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 4273 4432 ac_header_preproc=yes 4274 4433 else 4275 echo "$as_me: failed program was:" >&54434 $as_echo "$as_me: failed program was:" >&5 4276 4435 sed 's/^/| /' conftest.$ac_ext >&5 4277 4436 … … 4280 4439 4281 4440 rm -f conftest.err conftest.$ac_ext 4282 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&54283 echo "${ECHO_T}$ac_header_preproc" >&6; }4441 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4442 $as_echo "$ac_header_preproc" >&6; } 4284 4443 4285 4444 # So? What about this header? 4286 4445 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4287 4446 yes:no: ) 4288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&54289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}4290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&54291 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}4447 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4448 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4449 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4450 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4292 4451 ac_header_preproc=yes 4293 4452 ;; 4294 4453 no:yes:* ) 4295 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&54296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}4297 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&54298 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}4299 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&54300 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}4301 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&54302 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}4303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&54304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}4305 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&54306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}4454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4455 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4457 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4458 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4459 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4460 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4461 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4462 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4463 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4464 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4465 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4307 4466 ( cat <<\_ASBOX 4308 4467 ## ----------------------------------- ## … … 4313 4472 ;; 4314 4473 esac 4315 { echo "$as_me:$LINENO: checking for $ac_header" >&54316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4474 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4475 $as_echo_n "checking for $ac_header... " >&6; } 4317 4476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4318 echo $ECHO_N "(cached) $ECHO_C" >&64477 $as_echo_n "(cached) " >&6 4319 4478 else 4320 4479 eval "$as_ac_Header=\$ac_header_preproc" 4321 4480 fi 4322 ac_res=`eval echo '${'$as_ac_Header'}'` 4323 { echo "$as_me:$LINENO: result: $ac_res" >&5 4324 echo "${ECHO_T}$ac_res" >&6; } 4325 4326 fi 4327 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4481 ac_res=`eval 'as_val=${'$as_ac_Header'} 4482 $as_echo "$as_val"'` 4483 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4484 $as_echo "$ac_res" >&6; } 4485 4486 fi 4487 if test `eval 'as_val=${'$as_ac_Header'} 4488 $as_echo "$as_val"'` = yes; then 4328 4489 cat >>confdefs.h <<_ACEOF 4329 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14330 _ACEOF 4331 4332 else 4333 { { echo "$as_me:$LINENO: error: cannot find tcl.h, try using --with-tclinclude" >&54334 echo "$as_me: error: cannot find tcl.h, try using --with-tclinclude" >&2;}4490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4491 _ACEOF 4492 4493 else 4494 { { $as_echo "$as_me:$LINENO: error: cannot find tcl.h, try using --with-tclinclude" >&5 4495 $as_echo "$as_me: error: cannot find tcl.h, try using --with-tclinclude" >&2;} 4335 4496 { (exit 1); exit 1; }; } 4336 4497 fi … … 4343 4504 # TCL_LIB=`ls ${TCL_LIB_DIR} | sed -e '/libtcl([0-9]\.?[0-9])?\.so$/ {p}'` 4344 4505 # TCL_LIB_VERSION=$(echo ${TCL_LIB} | sed -e s/libtcl// -e s/\.so//) 4345 { echo "$as_me:$LINENO: result: ${TCL_LIB_DIR}/${TCL_LIB}" >&54346 echo "${ECHO_T}${TCL_LIB_DIR}/${TCL_LIB}" >&6; }4506 { $as_echo "$as_me:$LINENO: result: ${TCL_LIB_DIR}/${TCL_LIB}" >&5 4507 $as_echo "${TCL_LIB_DIR}/${TCL_LIB}" >&6; } 4347 4508 # echo TCL_LIB_DIR = ${TCL_LIB_DIR} 4348 4509 # echo TCL_LIB = ${TCL_LIB} … … 4362 4523 4363 4524 TCL_INCL_DIR="" 4364 { echo "$as_me:$LINENO: checking for tcl.h" >&54365 echo $ECHO_N "checking for tcl.h... $ECHO_C" >&6; }4525 { $as_echo "$as_me:$LINENO: checking for tcl.h" >&5 4526 $as_echo_n "checking for tcl.h... " >&6; } 4366 4527 if test "x$with_tclinclude" != "x" ; then 4367 4528 if test -f "$with_tclinclude" … … 4382 4543 TCL_INCL_DIR="$with_tclinclude/tcl${TCL_LIB_VERSION}" 4383 4544 else 4384 { echo "$as_me:$LINENO: result: no" >&54385 echo "${ECHO_T}no" >&6; }4386 { { echo "$as_me:$LINENO: error: cannot find tcl.h, try using --with-tclinclude" >&54387 echo "$as_me: error: cannot find tcl.h, try using --with-tclinclude" >&2;}4545 { $as_echo "$as_me:$LINENO: result: no" >&5 4546 $as_echo "no" >&6; } 4547 { { $as_echo "$as_me:$LINENO: error: cannot find tcl.h, try using --with-tclinclude" >&5 4548 $as_echo "$as_me: error: cannot find tcl.h, try using --with-tclinclude" >&2;} 4388 4549 { (exit 1); exit 1; }; } 4389 4550 fi 4390 4551 fi 4391 4552 else 4392 { echo "$as_me:$LINENO: result: no" >&54393 echo "${ECHO_T}no" >&6; }4394 { { echo "$as_me:$LINENO: error: cannot find tcl.h inside $with_tclinclude, try using --with-tclinclude" >&54395 echo "$as_me: error: cannot find tcl.h inside $with_tclinclude, try using --with-tclinclude" >&2;}4553 { $as_echo "$as_me:$LINENO: result: no" >&5 4554 $as_echo "no" >&6; } 4555 { { $as_echo "$as_me:$LINENO: error: cannot find tcl.h inside $with_tclinclude, try using --with-tclinclude" >&5 4556 $as_echo "$as_me: error: cannot find tcl.h inside $with_tclinclude, try using --with-tclinclude" >&2;} 4396 4557 { (exit 1); exit 1; }; } 4397 4558 fi … … 4401 4562 for ac_header in tcl.h 4402 4563 do 4403 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`4564 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4404 4565 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4405 { echo "$as_me:$LINENO: checking for $ac_header" >&54406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4566 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4567 $as_echo_n "checking for $ac_header... " >&6; } 4407 4568 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4408 echo $ECHO_N "(cached) $ECHO_C" >&6 4409 fi 4410 ac_res=`eval echo '${'$as_ac_Header'}'` 4411 { echo "$as_me:$LINENO: result: $ac_res" >&5 4412 echo "${ECHO_T}$ac_res" >&6; } 4569 $as_echo_n "(cached) " >&6 4570 fi 4571 ac_res=`eval 'as_val=${'$as_ac_Header'} 4572 $as_echo "$as_val"'` 4573 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4574 $as_echo "$ac_res" >&6; } 4413 4575 else 4414 4576 # Is the header compilable? 4415 { echo "$as_me:$LINENO: checking $ac_header usability" >&54416 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }4577 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 4578 $as_echo_n "checking $ac_header usability... " >&6; } 4417 4579 cat >conftest.$ac_ext <<_ACEOF 4418 4580 /* confdefs.h. */ … … 4430 4592 *) ac_try_echo=$ac_try;; 4431 4593 esac 4432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4595 $as_echo "$ac_try_echo") >&5 4433 4596 (eval "$ac_compile") 2>conftest.er1 4434 4597 ac_status=$? … … 4436 4599 rm -f conftest.er1 4437 4600 cat conftest.err >&5 4438 echo "$as_me:$LINENO: \$? = $ac_status" >&54601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4439 4602 (exit $ac_status); } && { 4440 4603 test -z "$ac_cxx_werror_flag" || … … 4443 4606 ac_header_compiler=yes 4444 4607 else 4445 echo "$as_me: failed program was:" >&54608 $as_echo "$as_me: failed program was:" >&5 4446 4609 sed 's/^/| /' conftest.$ac_ext >&5 4447 4610 … … 4450 4613 4451 4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4452 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&54453 echo "${ECHO_T}$ac_header_compiler" >&6; }4615 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4616 $as_echo "$ac_header_compiler" >&6; } 4454 4617 4455 4618 # Is the header present? 4456 { echo "$as_me:$LINENO: checking $ac_header presence" >&54457 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }4619 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 4620 $as_echo_n "checking $ac_header presence... " >&6; } 4458 4621 cat >conftest.$ac_ext <<_ACEOF 4459 4622 /* confdefs.h. */ … … 4469 4632 *) ac_try_echo=$ac_try;; 4470 4633 esac 4471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4635 $as_echo "$ac_try_echo") >&5 4472 4636 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4473 4637 ac_status=$? … … 4475 4639 rm -f conftest.er1 4476 4640 cat conftest.err >&5 4477 echo "$as_me:$LINENO: \$? = $ac_status" >&54641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4478 4642 (exit $ac_status); } >/dev/null && { 4479 4643 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 4482 4646 ac_header_preproc=yes 4483 4647 else 4484 echo "$as_me: failed program was:" >&54648 $as_echo "$as_me: failed program was:" >&5 4485 4649 sed 's/^/| /' conftest.$ac_ext >&5 4486 4650 … … 4489 4653 4490 4654 rm -f conftest.err conftest.$ac_ext 4491 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&54492 echo "${ECHO_T}$ac_header_preproc" >&6; }4655 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4656 $as_echo "$ac_header_preproc" >&6; } 4493 4657 4494 4658 # So? What about this header? 4495 4659 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4496 4660 yes:no: ) 4497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&54498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}4499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&54500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}4661 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4662 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4663 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4664 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4501 4665 ac_header_preproc=yes 4502 4666 ;; 4503 4667 no:yes:* ) 4504 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&54505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}4506 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&54507 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}4508 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&54509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}4510 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&54511 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}4512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&54513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}4514 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&54515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}4668 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4669 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4670 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4671 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4672 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4673 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4674 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4675 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4676 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4677 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4678 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4679 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4516 4680 ( cat <<\_ASBOX 4517 4681 ## ----------------------------------- ## … … 4522 4686 ;; 4523 4687 esac 4524 { echo "$as_me:$LINENO: checking for $ac_header" >&54525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4688 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4689 $as_echo_n "checking for $ac_header... " >&6; } 4526 4690 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4527 echo $ECHO_N "(cached) $ECHO_C" >&64691 $as_echo_n "(cached) " >&6 4528 4692 else 4529 4693 eval "$as_ac_Header=\$ac_header_preproc" 4530 4694 fi 4531 ac_res=`eval echo '${'$as_ac_Header'}'` 4532 { echo "$as_me:$LINENO: result: $ac_res" >&5 4533 echo "${ECHO_T}$ac_res" >&6; } 4534 4535 fi 4536 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4695 ac_res=`eval 'as_val=${'$as_ac_Header'} 4696 $as_echo "$as_val"'` 4697 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4698 $as_echo "$ac_res" >&6; } 4699 4700 fi 4701 if test `eval 'as_val=${'$as_ac_Header'} 4702 $as_echo "$as_val"'` = yes; then 4537 4703 cat >>confdefs.h <<_ACEOF 4538 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14539 _ACEOF 4540 4541 else 4542 { { echo "$as_me:$LINENO: error: cannot find tcl.h, try using --with-tclinclude" >&54543 echo "$as_me: error: cannot find tcl.h, try using --with-tclinclude" >&2;}4704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4705 _ACEOF 4706 4707 else 4708 { { $as_echo "$as_me:$LINENO: error: cannot find tcl.h, try using --with-tclinclude" >&5 4709 $as_echo "$as_me: error: cannot find tcl.h, try using --with-tclinclude" >&2;} 4544 4710 { (exit 1); exit 1; }; } 4545 4711 fi … … 4548 4714 4549 4715 fi 4550 { echo "$as_me:$LINENO: result: ${TCL_INCL_DIR}" >&54551 echo "${ECHO_T}${TCL_INCL_DIR}" >&6; }4716 { $as_echo "$as_me:$LINENO: result: ${TCL_INCL_DIR}" >&5 4717 $as_echo "${TCL_INCL_DIR}" >&6; } 4552 4718 4553 4719 … … 4563 4729 RP2_INCL_DIR="" 4564 4730 RP_DIR="" 4565 { echo "$as_me:$LINENO: checking for rappture" >&54566 echo $ECHO_N "checking for rappture... $ECHO_C" >&6; }4731 { $as_echo "$as_me:$LINENO: checking for rappture" >&5 4732 $as_echo_n "checking for rappture... " >&6; } 4567 4733 if test "x$with_rappture" != "x" ; then 4568 4734 if test "x$with_rappture" != "xprefix" ; then 4569 4735 if test -f "$with_rappture" 4570 4736 then 4571 { echo "$as_me:$LINENO: result: no" >&54572 echo "${ECHO_T}no" >&6; }4573 { { echo "$as_me:$LINENO: error: please provide --with-rappture with directory" >&54574 echo "$as_me: error: please provide --with-rappture with directory" >&2;}4737 { $as_echo "$as_me:$LINENO: result: no" >&5 4738 $as_echo "no" >&6; } 4739 { { $as_echo "$as_me:$LINENO: error: please provide --with-rappture with directory" >&5 4740 $as_echo "$as_me: error: please provide --with-rappture with directory" >&2;} 4575 4741 { (exit 1); exit 1; }; } 4576 4742 else … … 4581 4747 RP2_INCL_DIR="$with_rappture/include/rappture2" 4582 4748 RP_DIR="$with_rappture" 4583 { echo "$as_me:$LINENO: result: yes" >&54584 echo "${ECHO_T}yes" >&6; }4749 { $as_echo "$as_me:$LINENO: result: yes" >&5 4750 $as_echo "yes" >&6; } 4585 4751 else 4586 { echo "$as_me:$LINENO: result: no" >&54587 echo "${ECHO_T}no" >&6; }4588 { { echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&54589 echo "$as_me: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&2;}4752 { $as_echo "$as_me:$LINENO: result: no" >&5 4753 $as_echo "no" >&6; } 4754 { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&5 4755 $as_echo "$as_me: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&2;} 4590 4756 { (exit 1); exit 1; }; } 4591 4757 fi 4592 4758 else 4593 { echo "$as_me:$LINENO: result: no" >&54594 echo "${ECHO_T}no" >&6; }4595 { { echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&54596 echo "$as_me: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&2;}4759 { $as_echo "$as_me:$LINENO: result: no" >&5 4760 $as_echo "no" >&6; } 4761 { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&5 4762 $as_echo "$as_me: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&2;} 4597 4763 { (exit 1); exit 1; }; } 4598 4764 fi … … 4601 4767 RP2_INCL_DIR="$prefix/include/rappture2" 4602 4768 RP_DIR="$prefix" 4603 { echo "$as_me:$LINENO: result: set to prefix" >&54604 echo "${ECHO_T}set to prefix" >&6; }4769 { $as_echo "$as_me:$LINENO: result: set to prefix" >&5 4770 $as_echo "set to prefix" >&6; } 4605 4771 fi 4606 4772 else … … 4608 4774 for ac_header in rappture.h 4609 4775 do 4610 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`4776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4611 4777 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4612 { echo "$as_me:$LINENO: checking for $ac_header" >&54613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4778 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4779 $as_echo_n "checking for $ac_header... " >&6; } 4614 4780 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4615 echo $ECHO_N "(cached) $ECHO_C" >&6 4616 fi 4617 ac_res=`eval echo '${'$as_ac_Header'}'` 4618 { echo "$as_me:$LINENO: result: $ac_res" >&5 4619 echo "${ECHO_T}$ac_res" >&6; } 4781 $as_echo_n "(cached) " >&6 4782 fi 4783 ac_res=`eval 'as_val=${'$as_ac_Header'} 4784 $as_echo "$as_val"'` 4785 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4786 $as_echo "$ac_res" >&6; } 4620 4787 else 4621 4788 # Is the header compilable? 4622 { echo "$as_me:$LINENO: checking $ac_header usability" >&54623 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }4789 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 4790 $as_echo_n "checking $ac_header usability... " >&6; } 4624 4791 cat >conftest.$ac_ext <<_ACEOF 4625 4792 /* confdefs.h. */ … … 4637 4804 *) ac_try_echo=$ac_try;; 4638 4805 esac 4639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4807 $as_echo "$ac_try_echo") >&5 4640 4808 (eval "$ac_compile") 2>conftest.er1 4641 4809 ac_status=$? … … 4643 4811 rm -f conftest.er1 4644 4812 cat conftest.err >&5 4645 echo "$as_me:$LINENO: \$? = $ac_status" >&54813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4646 4814 (exit $ac_status); } && { 4647 4815 test -z "$ac_cxx_werror_flag" || … … 4650 4818 ac_header_compiler=yes 4651 4819 else 4652 echo "$as_me: failed program was:" >&54820 $as_echo "$as_me: failed program was:" >&5 4653 4821 sed 's/^/| /' conftest.$ac_ext >&5 4654 4822 … … 4657 4825 4658 4826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4659 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&54660 echo "${ECHO_T}$ac_header_compiler" >&6; }4827 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4828 $as_echo "$ac_header_compiler" >&6; } 4661 4829 4662 4830 # Is the header present? 4663 { echo "$as_me:$LINENO: checking $ac_header presence" >&54664 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }4831 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 4832 $as_echo_n "checking $ac_header presence... " >&6; } 4665 4833 cat >conftest.$ac_ext <<_ACEOF 4666 4834 /* confdefs.h. */ … … 4676 4844 *) ac_try_echo=$ac_try;; 4677 4845 esac 4678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4847 $as_echo "$ac_try_echo") >&5 4679 4848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4680 4849 ac_status=$? … … 4682 4851 rm -f conftest.er1 4683 4852 cat conftest.err >&5 4684 echo "$as_me:$LINENO: \$? = $ac_status" >&54853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4685 4854 (exit $ac_status); } >/dev/null && { 4686 4855 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || … … 4689 4858 ac_header_preproc=yes 4690 4859 else 4691 echo "$as_me: failed program was:" >&54860 $as_echo "$as_me: failed program was:" >&5 4692 4861 sed 's/^/| /' conftest.$ac_ext >&5 4693 4862 … … 4696 4865 4697 4866 rm -f conftest.err conftest.$ac_ext 4698 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&54699 echo "${ECHO_T}$ac_header_preproc" >&6; }4867 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4868 $as_echo "$ac_header_preproc" >&6; } 4700 4869 4701 4870 # So? What about this header? 4702 4871 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4703 4872 yes:no: ) 4704 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&54705 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}4706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&54707 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}4873 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4874 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4875 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4876 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4708 4877 ac_header_preproc=yes 4709 4878 ;; 4710 4879 no:yes:* ) 4711 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&54712 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}4713 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&54714 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}4715 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&54716 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}4717 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&54718 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}4719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&54720 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}4721 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&54722 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}4880 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4881 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4882 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4883 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4884 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4885 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4886 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4887 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4888 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4889 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4890 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4891 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4723 4892 ( cat <<\_ASBOX 4724 4893 ## ----------------------------------- ## … … 4729 4898 ;; 4730 4899 esac 4731 { echo "$as_me:$LINENO: checking for $ac_header" >&54732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4900 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4901 $as_echo_n "checking for $ac_header... " >&6; } 4733 4902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4734 echo $ECHO_N "(cached) $ECHO_C" >&64903 $as_echo_n "(cached) " >&6 4735 4904 else 4736 4905 eval "$as_ac_Header=\$ac_header_preproc" 4737 4906 fi 4738 ac_res=`eval echo '${'$as_ac_Header'}'` 4739 { echo "$as_me:$LINENO: result: $ac_res" >&5 4740 echo "${ECHO_T}$ac_res" >&6; } 4741 4742 fi 4743 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4907 ac_res=`eval 'as_val=${'$as_ac_Header'} 4908 $as_echo "$as_val"'` 4909 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4910 $as_echo "$ac_res" >&6; } 4911 4912 fi 4913 if test `eval 'as_val=${'$as_ac_Header'} 4914 $as_echo "$as_val"'` = yes; then 4744 4915 cat >>confdefs.h <<_ACEOF 4745 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14746 _ACEOF 4747 4748 else 4749 { { echo "$as_me:$LINENO: error: cannot find rappture.h, try using --with-rappture" >&54750 echo "$as_me: error: cannot find rappture.h, try using --with-rappture" >&2;}4916 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4917 _ACEOF 4918 4919 else 4920 { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h, try using --with-rappture" >&5 4921 $as_echo "$as_me: error: cannot find rappture.h, try using --with-rappture" >&2;} 4751 4922 { (exit 1); exit 1; }; } 4752 4923 fi … … 4757 4928 4758 4929 fi 4759 { echo "$as_me:$LINENO: result: ${RP_DIR}/include" >&5 4760 echo "${ECHO_T}${RP_DIR}/include" >&6; } 4761 4762 4763 4764 { echo "$as_me:$LINENO: checking for DX installation" >&5 4765 echo $ECHO_N "checking for DX installation... $ECHO_C" >&6; } 4930 { $as_echo "$as_me:$LINENO: result: ${RP_DIR}/include" >&5 4931 $as_echo "${RP_DIR}/include" >&6; } 4932 4933 4934 4935 if test "${ac_cv_header_GL_glui_h+set}" = set; then 4936 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 4937 $as_echo_n "checking for GL/glui.h... " >&6; } 4938 if test "${ac_cv_header_GL_glui_h+set}" = set; then 4939 $as_echo_n "(cached) " >&6 4940 fi 4941 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 4942 $as_echo "$ac_cv_header_GL_glui_h" >&6; } 4943 else 4944 # Is the header compilable? 4945 { $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&5 4946 $as_echo_n "checking GL/glui.h usability... " >&6; } 4947 cat >conftest.$ac_ext <<_ACEOF 4948 /* confdefs.h. */ 4949 _ACEOF 4950 cat confdefs.h >>conftest.$ac_ext 4951 cat >>conftest.$ac_ext <<_ACEOF 4952 /* end confdefs.h. */ 4953 $ac_includes_default 4954 #include <GL/glui.h> 4955 _ACEOF 4956 rm -f conftest.$ac_objext 4957 if { (ac_try="$ac_compile" 4958 case "(($ac_try" in 4959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4960 *) ac_try_echo=$ac_try;; 4961 esac 4962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4963 $as_echo "$ac_try_echo") >&5 4964 (eval "$ac_compile") 2>conftest.er1 4965 ac_status=$? 4966 grep -v '^ *+' conftest.er1 >conftest.err 4967 rm -f conftest.er1 4968 cat conftest.err >&5 4969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4970 (exit $ac_status); } && { 4971 test -z "$ac_cxx_werror_flag" || 4972 test ! -s conftest.err 4973 } && test -s conftest.$ac_objext; then 4974 ac_header_compiler=yes 4975 else 4976 $as_echo "$as_me: failed program was:" >&5 4977 sed 's/^/| /' conftest.$ac_ext >&5 4978 4979 ac_header_compiler=no 4980 fi 4981 4982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4983 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4984 $as_echo "$ac_header_compiler" >&6; } 4985 4986 # Is the header present? 4987 { $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&5 4988 $as_echo_n "checking GL/glui.h presence... " >&6; } 4989 cat >conftest.$ac_ext <<_ACEOF 4990 /* confdefs.h. */ 4991 _ACEOF 4992 cat confdefs.h >>conftest.$ac_ext 4993 cat >>conftest.$ac_ext <<_ACEOF 4994 /* end confdefs.h. */ 4995 #include <GL/glui.h> 4996 _ACEOF 4997 if { (ac_try="$ac_cpp conftest.$ac_ext" 4998 case "(($ac_try" in 4999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5000 *) ac_try_echo=$ac_try;; 5001 esac 5002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5003 $as_echo "$ac_try_echo") >&5 5004 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5005 ac_status=$? 5006 grep -v '^ *+' conftest.er1 >conftest.err 5007 rm -f conftest.er1 5008 cat conftest.err >&5 5009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5010 (exit $ac_status); } >/dev/null && { 5011 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5012 test ! -s conftest.err 5013 }; then 5014 ac_header_preproc=yes 5015 else 5016 $as_echo "$as_me: failed program was:" >&5 5017 sed 's/^/| /' conftest.$ac_ext >&5 5018 5019 ac_header_preproc=no 5020 fi 5021 5022 rm -f conftest.err conftest.$ac_ext 5023 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5024 $as_echo "$ac_header_preproc" >&6; } 5025 5026 # So? What about this header? 5027 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5028 yes:no: ) 5029 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 5030 $as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5031 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5 5032 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;} 5033 ac_header_preproc=yes 5034 ;; 5035 no:yes:* ) 5036 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5 5037 $as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;} 5038 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: check for missing prerequisite headers?" >&5 5039 $as_echo "$as_me: WARNING: GL/glui.h: check for missing prerequisite headers?" >&2;} 5040 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5 5041 $as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;} 5042 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&5 5043 $as_echo "$as_me: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&2;} 5044 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5 5045 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;} 5046 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5 5047 $as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;} 5048 ( cat <<\_ASBOX 5049 ## ----------------------------------- ## 5050 ## Report this to rappture@nanohub.org ## 5051 ## ----------------------------------- ## 5052 _ASBOX 5053 ) | sed "s/^/$as_me: WARNING: /" >&2 5054 ;; 5055 esac 5056 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 5057 $as_echo_n "checking for GL/glui.h... " >&6; } 5058 if test "${ac_cv_header_GL_glui_h+set}" = set; then 5059 $as_echo_n "(cached) " >&6 5060 else 5061 ac_cv_header_GL_glui_h=$ac_header_preproc 5062 fi 5063 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 5064 $as_echo "$ac_cv_header_GL_glui_h" >&6; } 5065 5066 fi 5067 5068 5069 if test "${ac_cv_header_glui_h+set}" = set; then 5070 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 5071 $as_echo_n "checking for glui.h... " >&6; } 5072 if test "${ac_cv_header_glui_h+set}" = set; then 5073 $as_echo_n "(cached) " >&6 5074 fi 5075 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 5076 $as_echo "$ac_cv_header_glui_h" >&6; } 5077 else 5078 # Is the header compilable? 5079 { $as_echo "$as_me:$LINENO: checking glui.h usability" >&5 5080 $as_echo_n "checking glui.h usability... " >&6; } 5081 cat >conftest.$ac_ext <<_ACEOF 5082 /* confdefs.h. */ 5083 _ACEOF 5084 cat confdefs.h >>conftest.$ac_ext 5085 cat >>conftest.$ac_ext <<_ACEOF 5086 /* end confdefs.h. */ 5087 $ac_includes_default 5088 #include <glui.h> 5089 _ACEOF 5090 rm -f conftest.$ac_objext 5091 if { (ac_try="$ac_compile" 5092 case "(($ac_try" in 5093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5094 *) ac_try_echo=$ac_try;; 5095 esac 5096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5097 $as_echo "$ac_try_echo") >&5 5098 (eval "$ac_compile") 2>conftest.er1 5099 ac_status=$? 5100 grep -v '^ *+' conftest.er1 >conftest.err 5101 rm -f conftest.er1 5102 cat conftest.err >&5 5103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5104 (exit $ac_status); } && { 5105 test -z "$ac_cxx_werror_flag" || 5106 test ! -s conftest.err 5107 } && test -s conftest.$ac_objext; then 5108 ac_header_compiler=yes 5109 else 5110 $as_echo "$as_me: failed program was:" >&5 5111 sed 's/^/| /' conftest.$ac_ext >&5 5112 5113 ac_header_compiler=no 5114 fi 5115 5116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5117 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5118 $as_echo "$ac_header_compiler" >&6; } 5119 5120 # Is the header present? 5121 { $as_echo "$as_me:$LINENO: checking glui.h presence" >&5 5122 $as_echo_n "checking glui.h presence... " >&6; } 5123 cat >conftest.$ac_ext <<_ACEOF 5124 /* confdefs.h. */ 5125 _ACEOF 5126 cat confdefs.h >>conftest.$ac_ext 5127 cat >>conftest.$ac_ext <<_ACEOF 5128 /* end confdefs.h. */ 5129 #include <glui.h> 5130 _ACEOF 5131 if { (ac_try="$ac_cpp conftest.$ac_ext" 5132 case "(($ac_try" in 5133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5134 *) ac_try_echo=$ac_try;; 5135 esac 5136 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5137 $as_echo "$ac_try_echo") >&5 5138 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5139 ac_status=$? 5140 grep -v '^ *+' conftest.er1 >conftest.err 5141 rm -f conftest.er1 5142 cat conftest.err >&5 5143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5144 (exit $ac_status); } >/dev/null && { 5145 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5146 test ! -s conftest.err 5147 }; then 5148 ac_header_preproc=yes 5149 else 5150 $as_echo "$as_me: failed program was:" >&5 5151 sed 's/^/| /' conftest.$ac_ext >&5 5152 5153 ac_header_preproc=no 5154 fi 5155 5156 rm -f conftest.err conftest.$ac_ext 5157 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5158 $as_echo "$ac_header_preproc" >&6; } 5159 5160 # So? What about this header? 5161 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5162 yes:no: ) 5163 { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 5164 $as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5165 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5 5166 $as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;} 5167 ac_header_preproc=yes 5168 ;; 5169 no:yes:* ) 5170 { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5 5171 $as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;} 5172 { $as_echo "$as_me:$LINENO: WARNING: glui.h: check for missing prerequisite headers?" >&5 5173 $as_echo "$as_me: WARNING: glui.h: check for missing prerequisite headers?" >&2;} 5174 { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5 5175 $as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;} 5176 { $as_echo "$as_me:$LINENO: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&5 5177 $as_echo "$as_me: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&2;} 5178 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5 5179 $as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;} 5180 { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5 5181 $as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;} 5182 ( cat <<\_ASBOX 5183 ## ----------------------------------- ## 5184 ## Report this to rappture@nanohub.org ## 5185 ## ----------------------------------- ## 5186 _ASBOX 5187 ) | sed "s/^/$as_me: WARNING: /" >&2 5188 ;; 5189 esac 5190 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 5191 $as_echo_n "checking for glui.h... " >&6; } 5192 if test "${ac_cv_header_glui_h+set}" = set; then 5193 $as_echo_n "(cached) " >&6 5194 else 5195 ac_cv_header_glui_h=$ac_header_preproc 5196 fi 5197 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 5198 $as_echo "$ac_cv_header_glui_h" >&6; } 5199 5200 fi 5201 5202 5203 if test "${ac_cv_header_GL_glut_h+set}" = set; then 5204 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 5205 $as_echo_n "checking for GL/glut.h... " >&6; } 5206 if test "${ac_cv_header_GL_glut_h+set}" = set; then 5207 $as_echo_n "(cached) " >&6 5208 fi 5209 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 5210 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 5211 else 5212 # Is the header compilable? 5213 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5 5214 $as_echo_n "checking GL/glut.h usability... " >&6; } 5215 cat >conftest.$ac_ext <<_ACEOF 5216 /* confdefs.h. */ 5217 _ACEOF 5218 cat confdefs.h >>conftest.$ac_ext 5219 cat >>conftest.$ac_ext <<_ACEOF 5220 /* end confdefs.h. */ 5221 $ac_includes_default 5222 #include <GL/glut.h> 5223 _ACEOF 5224 rm -f conftest.$ac_objext 5225 if { (ac_try="$ac_compile" 5226 case "(($ac_try" in 5227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5228 *) ac_try_echo=$ac_try;; 5229 esac 5230 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5231 $as_echo "$ac_try_echo") >&5 5232 (eval "$ac_compile") 2>conftest.er1 5233 ac_status=$? 5234 grep -v '^ *+' conftest.er1 >conftest.err 5235 rm -f conftest.er1 5236 cat conftest.err >&5 5237 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5238 (exit $ac_status); } && { 5239 test -z "$ac_cxx_werror_flag" || 5240 test ! -s conftest.err 5241 } && test -s conftest.$ac_objext; then 5242 ac_header_compiler=yes 5243 else 5244 $as_echo "$as_me: failed program was:" >&5 5245 sed 's/^/| /' conftest.$ac_ext >&5 5246 5247 ac_header_compiler=no 5248 fi 5249 5250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5251 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5252 $as_echo "$ac_header_compiler" >&6; } 5253 5254 # Is the header present? 5255 { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5 5256 $as_echo_n "checking GL/glut.h presence... " >&6; } 5257 cat >conftest.$ac_ext <<_ACEOF 5258 /* confdefs.h. */ 5259 _ACEOF 5260 cat confdefs.h >>conftest.$ac_ext 5261 cat >>conftest.$ac_ext <<_ACEOF 5262 /* end confdefs.h. */ 5263 #include <GL/glut.h> 5264 _ACEOF 5265 if { (ac_try="$ac_cpp conftest.$ac_ext" 5266 case "(($ac_try" in 5267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5268 *) ac_try_echo=$ac_try;; 5269 esac 5270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5271 $as_echo "$ac_try_echo") >&5 5272 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5273 ac_status=$? 5274 grep -v '^ *+' conftest.er1 >conftest.err 5275 rm -f conftest.er1 5276 cat conftest.err >&5 5277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5278 (exit $ac_status); } >/dev/null && { 5279 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5280 test ! -s conftest.err 5281 }; then 5282 ac_header_preproc=yes 5283 else 5284 $as_echo "$as_me: failed program was:" >&5 5285 sed 's/^/| /' conftest.$ac_ext >&5 5286 5287 ac_header_preproc=no 5288 fi 5289 5290 rm -f conftest.err conftest.$ac_ext 5291 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5292 $as_echo "$ac_header_preproc" >&6; } 5293 5294 # So? What about this header? 5295 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5296 yes:no: ) 5297 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5 5298 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5299 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5 5300 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;} 5301 ac_header_preproc=yes 5302 ;; 5303 no:yes:* ) 5304 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5 5305 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;} 5306 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5 5307 $as_echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;} 5308 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5 5309 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;} 5310 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5 5311 $as_echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;} 5312 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5 5313 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;} 5314 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5 5315 $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;} 5316 ( cat <<\_ASBOX 5317 ## ----------------------------------- ## 5318 ## Report this to rappture@nanohub.org ## 5319 ## ----------------------------------- ## 5320 _ASBOX 5321 ) | sed "s/^/$as_me: WARNING: /" >&2 5322 ;; 5323 esac 5324 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 5325 $as_echo_n "checking for GL/glut.h... " >&6; } 5326 if test "${ac_cv_header_GL_glut_h+set}" = set; then 5327 $as_echo_n "(cached) " >&6 5328 else 5329 ac_cv_header_GL_glut_h=$ac_header_preproc 5330 fi 5331 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 5332 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 5333 5334 fi 5335 5336 5337 5338 { $as_echo "$as_me:$LINENO: checking for DX installation" >&5 5339 $as_echo_n "checking for DX installation... " >&6; } 4766 5340 DX_DIR="" 4767 5341 for dir in \ … … 4776 5350 done 4777 5351 if test "x${DX_DIR}" = "x" ; then 4778 { { echo "$as_me:$LINENO: error: can't find OpenDX installation" >&54779 echo "$as_me: error: can't find OpenDX installation" >&2;}5352 { { $as_echo "$as_me:$LINENO: error: can't find OpenDX installation" >&5 5353 $as_echo "$as_me: error: can't find OpenDX installation" >&2;} 4780 5354 { (exit 1); exit 1; }; } 4781 5355 fi … … 4784 5358 fi 4785 5359 4786 { echo "$as_me:$LINENO: result: ${DX_DIR}" >&54787 echo "${ECHO_T}${DX_DIR}" >&6; }5360 { $as_echo "$as_me:$LINENO: result: ${DX_DIR}" >&5 5361 $as_echo "${DX_DIR}" >&6; } 4788 5362 4789 5363 … … 4818 5392 *${as_nl}*) 4819 5393 case $ac_var in #( 4820 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&54821 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;5394 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 5395 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 4822 5396 esac 4823 5397 case $ac_var in #( 4824 5398 _ | IFS | as_nl) ;; #( 5399 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4825 5400 *) $as_unset $ac_var ;; 4826 5401 esac ;; … … 4855 5430 if test -w "$cache_file"; then 4856 5431 test "x$cache_file" != "x/dev/null" && 4857 { echo "$as_me:$LINENO: updating cache $cache_file" >&54858 echo "$as_me: updating cache $cache_file" >&6;}5432 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 5433 $as_echo "$as_me: updating cache $cache_file" >&6;} 4859 5434 cat confcache >$cache_file 4860 5435 else 4861 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&54862 echo "$as_me: not updating unwritable cache $cache_file" >&6;}5436 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 5437 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4863 5438 fi 4864 5439 fi … … 4877 5452 # look for a macro that doesn't take arguments. 4878 5453 ac_script=' 5454 :mline 5455 /\\$/{ 5456 N 5457 s,\\\n,, 5458 b mline 5459 } 4879 5460 t clear 4880 5461 :clear … … 4906 5487 # 1. Remove the extension, and $U if already installed. 4907 5488 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4908 ac_i=` echo "$ac_i" | sed "$ac_script"`5489 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4909 5490 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4910 5491 # will be set to the directory where LIBOBJS objects are built. … … 4919 5500 4920 5501 : ${CONFIG_STATUS=./config.status} 5502 ac_write_fail=0 4921 5503 ac_clean_files_save=$ac_clean_files 4922 5504 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4923 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&54924 echo "$as_me: creating $CONFIG_STATUS" >&6;}4925 cat >$CONFIG_STATUS <<_ACEOF 5505 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5506 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5507 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4926 5508 #! $SHELL 4927 5509 # Generated by $as_me. … … 4936 5518 _ACEOF 4937 5519 4938 cat >>$CONFIG_STATUS <<\_ACEOF 5520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4939 5521 ## --------------------- ## 4940 5522 ## M4sh Initialization. ## … … 4946 5528 emulate sh 4947 5529 NULLCMD=: 4948 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which5530 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4949 5531 # is contrary to our usage. Disable this feature. 4950 5532 alias -g '${1+"$@"}'='"$@"' … … 4968 5550 as_cr_alnum=$as_cr_Letters$as_cr_digits 4969 5551 5552 as_nl=' 5553 ' 5554 export as_nl 5555 # Printing a long string crashes Solaris 7 /usr/bin/printf. 5556 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5557 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 5558 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 5559 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5560 as_echo='printf %s\n' 5561 as_echo_n='printf %s' 5562 else 5563 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5564 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5565 as_echo_n='/usr/ucb/echo -n' 5566 else 5567 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5568 as_echo_n_body='eval 5569 arg=$1; 5570 case $arg in 5571 *"$as_nl"*) 5572 expr "X$arg" : "X\\(.*\\)$as_nl"; 5573 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 5574 esac; 5575 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 5576 ' 5577 export as_echo_n_body 5578 as_echo_n='sh -c $as_echo_n_body as_echo' 5579 fi 5580 export as_echo_body 5581 as_echo='sh -c $as_echo_body as_echo' 5582 fi 5583 4970 5584 # The user is always right. 4971 5585 if test "${PATH_SEPARATOR+set}" != set; then 4972 echo "#! /bin/sh" >conf$$.sh 4973 echo "exit 0" >>conf$$.sh 4974 chmod +x conf$$.sh 4975 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4976 PATH_SEPARATOR=';' 4977 else 4978 PATH_SEPARATOR=: 4979 fi 4980 rm -f conf$$.sh 5586 PATH_SEPARATOR=: 5587 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5588 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5589 PATH_SEPARATOR=';' 5590 } 4981 5591 fi 4982 5592 … … 4994 5604 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 4995 5605 # splitting by setting IFS to empty value.) 4996 as_nl='4997 '4998 5606 IFS=" "" $as_nl" 4999 5607 … … 5018 5626 fi 5019 5627 if test ! -f "$as_myself"; then 5020 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&25628 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5021 5629 { (exit 1); exit 1; } 5022 5630 fi … … 5031 5639 5032 5640 # NLS nuisances. 5033 for as_var in \ 5034 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5035 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5036 LC_TELEPHONE LC_TIME 5037 do 5038 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 5039 eval $as_var=C; export $as_var 5040 else 5041 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5042 fi 5043 done 5641 LC_ALL=C 5642 export LC_ALL 5643 LANGUAGE=C 5644 export LANGUAGE 5044 5645 5045 5646 # Required to use basename. … … 5063 5664 X"$0" : 'X\(//\)$' \| \ 5064 5665 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5065 echo X/"$0" |5666 $as_echo X/"$0" | 5066 5667 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5067 5668 s//\1/ … … 5114 5715 ' >$as_me.lineno && 5115 5716 chmod +x "$as_me.lineno" || 5116 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&25717 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 5117 5718 { (exit 1); exit 1; }; } 5118 5719 … … 5142 5743 ECHO_N='-n';; 5143 5744 esac 5144 5145 5745 if expr a : '\(a\)' >/dev/null 2>&1 && 5146 5746 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 5155 5755 else 5156 5756 rm -f conf$$.dir 5157 mkdir conf$$.dir 5158 fi 5159 echo >conf$$.file 5160 if ln -s conf$$.file conf$$ 2>/dev/null; then 5161 as_ln_s='ln -s' 5162 # ... but there are two gotchas: 5163 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5164 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5165 # In both cases, we have to default to `cp -p'. 5166 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5757 mkdir conf$$.dir 2>/dev/null 5758 fi 5759 if (echo >conf$$.file) 2>/dev/null; then 5760 if ln -s conf$$.file conf$$ 2>/dev/null; then 5761 as_ln_s='ln -s' 5762 # ... but there are two gotchas: 5763 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5764 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5765 # In both cases, we have to default to `cp -p'. 5766 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5767 as_ln_s='cp -p' 5768 elif ln conf$$.file conf$$ 2>/dev/null; then 5769 as_ln_s=ln 5770 else 5167 5771 as_ln_s='cp -p' 5168 elif ln conf$$.file conf$$ 2>/dev/null; then 5169 as_ln_s=ln 5772 fi 5170 5773 else 5171 5774 as_ln_s='cp -p' … … 5192 5795 eval sh -c '\'' 5193 5796 if test -d "$1"; then 5194 5797 test -d "$1/."; 5195 5798 else 5196 5799 case $1 in 5197 5800 -*)set "./$1";; 5198 5801 esac; 5199 5802 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in … … 5218 5821 ac_log=" 5219 5822 This file was extended by vizservers $as_me 0.1, which was 5220 generated by GNU Autoconf 2.6 1. Invocation command line was5823 generated by GNU Autoconf 2.62. Invocation command line was 5221 5824 5222 5825 CONFIG_FILES = $CONFIG_FILES … … 5231 5834 _ACEOF 5232 5835 5233 cat >>$CONFIG_STATUS <<_ACEOF 5836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5234 5837 # Files that config.status was made for. 5235 config_files=" $ac_config_files"5236 5237 _ACEOF 5238 5239 cat >>$CONFIG_STATUS <<\_ACEOF 5838 config_files="`echo $ac_config_files`" 5839 5840 _ACEOF 5841 5842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5240 5843 ac_cs_usage="\ 5241 5844 \`$as_me' instantiates files from templates according to the … … 5250 5853 --recheck update $as_me by reconfiguring in the same conditions 5251 5854 --file=FILE[:TEMPLATE] 5252 5855 instantiate the configuration file FILE 5253 5856 5254 5857 Configuration files: … … 5258 5861 5259 5862 _ACEOF 5260 cat >>$CONFIG_STATUS <<_ACEOF 5863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5261 5864 ac_cs_version="\\ 5262 5865 vizservers config.status 0.1 5263 configured by $0, generated by GNU Autoconf 2.6 1,5264 with options \\"` echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"5265 5266 Copyright (C) 200 6Free Software Foundation, Inc.5866 configured by $0, generated by GNU Autoconf 2.62, 5867 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 5868 5869 Copyright (C) 2008 Free Software Foundation, Inc. 5267 5870 This config.status script is free software; the Free Software Foundation 5268 5871 gives unlimited permission to copy, distribute and modify it." … … 5271 5874 srcdir='$srcdir' 5272 5875 INSTALL='$INSTALL' 5273 _ACEOF 5274 5275 cat >>$CONFIG_STATUS <<\_ACEOF 5276 # If no file are specified by the user, then we need to provide default 5277 # value. By we need to know if files were specified by the user. 5876 MKDIR_P='$MKDIR_P' 5877 test -n "\$AWK" || AWK=awk 5878 _ACEOF 5879 5880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5881 # The default lists apply if the user does not specify any file. 5278 5882 ac_need_defaults=: 5279 5883 while test $# != 0 … … 5297 5901 ac_cs_recheck=: ;; 5298 5902 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5299 echo "$ac_cs_version"; exit ;;5903 $as_echo "$ac_cs_version"; exit ;; 5300 5904 --debug | --debu | --deb | --de | --d | -d ) 5301 5905 debug=: ;; 5302 5906 --file | --fil | --fi | --f ) 5303 5907 $ac_shift 5304 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 5908 case $ac_optarg in 5909 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5910 esac 5911 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 5305 5912 ac_need_defaults=false;; 5306 5913 --he | --h | --help | --hel | -h ) 5307 echo "$ac_cs_usage"; exit ;;5914 $as_echo "$ac_cs_usage"; exit ;; 5308 5915 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5309 5916 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 5311 5918 5312 5919 # This is an error. 5313 -*) { echo "$as_me: error: unrecognized option: $15920 -*) { $as_echo "$as_me: error: unrecognized option: $1 5314 5921 Try \`$0 --help' for more information." >&2 5315 5922 { (exit 1); exit 1; }; } ;; … … 5330 5937 5331 5938 _ACEOF 5332 cat >>$CONFIG_STATUS <<_ACEOF 5939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5333 5940 if \$ac_cs_recheck; then 5334 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 5335 CONFIG_SHELL=$SHELL 5941 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5942 shift 5943 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5944 CONFIG_SHELL='$SHELL' 5336 5945 export CONFIG_SHELL 5337 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion5338 fi 5339 5340 _ACEOF 5341 cat >>$CONFIG_STATUS <<\_ACEOF 5946 exec "\$@" 5947 fi 5948 5949 _ACEOF 5950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5342 5951 exec 5>>config.log 5343 5952 { … … 5346 5955 ## Running $as_me. ## 5347 5956 _ASBOX 5348 echo "$ac_log"5957 $as_echo "$ac_log" 5349 5958 } >&5 5350 5959 5351 5960 _ACEOF 5352 cat >>$CONFIG_STATUS <<_ACEOF 5353 _ACEOF 5354 5355 cat >>$CONFIG_STATUS <<\_ACEOF 5961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5962 _ACEOF 5963 5964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5356 5965 5357 5966 # Handling of arguments. … … 5369 5978 "start_viz.sh") CONFIG_FILES="$CONFIG_FILES start_viz.sh" ;; 5370 5979 5371 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&55372 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}5980 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5981 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5373 5982 { (exit 1); exit 1; }; };; 5374 5983 esac … … 5409 6018 } || 5410 6019 { 5411 echo "$me: cannot create a temporary directory in ." >&26020 $as_echo "$as_me: cannot create a temporary directory in ." >&2 5412 6021 { (exit 1); exit 1; } 5413 6022 } 5414 6023 5415 # 5416 # Set up the sed scripts for CONFIG_FILES section. 5417 # 5418 5419 # No need to generate the scripts if there are no CONFIG_FILES. 5420 # This happens for instance when ./config.status config.h 6024 # Set up the scripts for CONFIG_FILES section. 6025 # No need to generate them if there are no CONFIG_FILES. 6026 # This happens for instance with `./config.status config.h'. 5421 6027 if test -n "$CONFIG_FILES"; then 5422 6028 5423 _ACEOF 5424 5425 5426 6029 6030 ac_cr=' 6031 ' 6032 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 6033 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 6034 ac_cs_awk_cr='\\r' 6035 else 6036 ac_cs_awk_cr=$ac_cr 6037 fi 6038 6039 echo 'BEGIN {' >"$tmp/subs1.awk" && 6040 _ACEOF 6041 6042 6043 { 6044 echo "cat >conf$$subs.awk <<_ACEOF" && 6045 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 6046 echo "_ACEOF" 6047 } >conf$$subs.sh || 6048 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6049 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6050 { (exit 1); exit 1; }; } 6051 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 5427 6052 ac_delim='%!_!# ' 5428 6053 for ac_last_try in false false false false false :; do 5429 cat >conf$$subs.sed <<_ACEOF 5430 SHELL!$SHELL$ac_delim 5431 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 5432 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 5433 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 5434 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 5435 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 5436 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 5437 exec_prefix!$exec_prefix$ac_delim 5438 prefix!$prefix$ac_delim 5439 program_transform_name!$program_transform_name$ac_delim 5440 bindir!$bindir$ac_delim 5441 sbindir!$sbindir$ac_delim 5442 libexecdir!$libexecdir$ac_delim 5443 datarootdir!$datarootdir$ac_delim 5444 datadir!$datadir$ac_delim 5445 sysconfdir!$sysconfdir$ac_delim 5446 sharedstatedir!$sharedstatedir$ac_delim 5447 localstatedir!$localstatedir$ac_delim 5448 includedir!$includedir$ac_delim 5449 oldincludedir!$oldincludedir$ac_delim 5450 docdir!$docdir$ac_delim 5451 infodir!$infodir$ac_delim 5452 htmldir!$htmldir$ac_delim 5453 dvidir!$dvidir$ac_delim 5454 pdfdir!$pdfdir$ac_delim 5455 psdir!$psdir$ac_delim 5456 libdir!$libdir$ac_delim 5457 localedir!$localedir$ac_delim 5458 mandir!$mandir$ac_delim 5459 DEFS!$DEFS$ac_delim 5460 ECHO_C!$ECHO_C$ac_delim 5461 ECHO_N!$ECHO_N$ac_delim 5462 ECHO_T!$ECHO_T$ac_delim 5463 LIBS!$LIBS$ac_delim 5464 build_alias!$build_alias$ac_delim 5465 host_alias!$host_alias$ac_delim 5466 target_alias!$target_alias$ac_delim 5467 VERSION!$VERSION$ac_delim 5468 LIB_SEARCH_DIRS!$LIB_SEARCH_DIRS$ac_delim 5469 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 5470 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 5471 INSTALL_DATA!$INSTALL_DATA$ac_delim 5472 SET_MAKE!$SET_MAKE$ac_delim 5473 CC!$CC$ac_delim 5474 CFLAGS!$CFLAGS$ac_delim 5475 LDFLAGS!$LDFLAGS$ac_delim 5476 CPPFLAGS!$CPPFLAGS$ac_delim 5477 ac_ct_CC!$ac_ct_CC$ac_delim 5478 EXEEXT!$EXEEXT$ac_delim 5479 OBJEXT!$OBJEXT$ac_delim 5480 RANLIB!$RANLIB$ac_delim 5481 CXX!$CXX$ac_delim 5482 CXXFLAGS!$CXXFLAGS$ac_delim 5483 ac_ct_CXX!$ac_ct_CXX$ac_delim 5484 CXXCPP!$CXXCPP$ac_delim 5485 GREP!$GREP$ac_delim 5486 EGREP!$EGREP$ac_delim 5487 SUBDIRS!$SUBDIRS$ac_delim 5488 TCL_LIB_DIR!$TCL_LIB_DIR$ac_delim 5489 TCL_LIB!$TCL_LIB$ac_delim 5490 TCL_LIB_VERSION!$TCL_LIB_VERSION$ac_delim 5491 TCL_INCL_DIR!$TCL_INCL_DIR$ac_delim 5492 RP2_INCL_DIR!$RP2_INCL_DIR$ac_delim 5493 RP_DIR!$RP_DIR$ac_delim 5494 DX_DIR!$DX_DIR$ac_delim 5495 LIBOBJS!$LIBOBJS$ac_delim 5496 LTLIBOBJS!$LTLIBOBJS$ac_delim 5497 _ACEOF 5498 5499 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 67; then 6054 . ./conf$$subs.sh || 6055 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6056 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6057 { (exit 1); exit 1; }; } 6058 6059 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then 5500 6060 break 5501 6061 elif $ac_last_try; then 5502 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&55503 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}6062 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6063 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5504 6064 { (exit 1); exit 1; }; } 5505 6065 else … … 5507 6067 fi 5508 6068 done 5509 5510 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 5511 if test -n "$ac_eof"; then 5512 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 5513 ac_eof=`expr $ac_eof + 1` 5514 fi 5515 5516 cat >>$CONFIG_STATUS <<_ACEOF 5517 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 5518 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 5519 _ACEOF 5520 sed ' 5521 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 5522 s/^/s,@/; s/!/@,|#_!!_#|/ 5523 :n 5524 t n 5525 s/'"$ac_delim"'$/,g/; t 5526 s/$/\\/; p 5527 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 5528 ' >>$CONFIG_STATUS <conf$$subs.sed 5529 rm -f conf$$subs.sed 5530 cat >>$CONFIG_STATUS <<_ACEOF 5531 :end 5532 s/|#_!!_#|//g 5533 CEOF$ac_eof 5534 _ACEOF 5535 6069 rm -f conf$$subs.sh 6070 6071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6072 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 6073 _ACEOF 6074 sed -n ' 6075 h 6076 s/^/S["/; s/!.*/"]=/ 6077 p 6078 g 6079 s/^[^!]*!// 6080 :repl 6081 t repl 6082 s/'"$ac_delim"'$// 6083 t delim 6084 :nl 6085 h 6086 s/\(.\{148\}\).*/\1/ 6087 t more1 6088 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 6089 p 6090 n 6091 b repl 6092 :more1 6093 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6094 p 6095 g 6096 s/.\{148\}// 6097 t nl 6098 :delim 6099 h 6100 s/\(.\{148\}\).*/\1/ 6101 t more2 6102 s/["\\]/\\&/g; s/^/"/; s/$/"/ 6103 p 6104 b 6105 :more2 6106 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6107 p 6108 g 6109 s/.\{148\}// 6110 t delim 6111 ' <conf$$subs.awk | sed ' 6112 /^[^""]/{ 6113 N 6114 s/\n// 6115 } 6116 ' >>$CONFIG_STATUS || ac_write_fail=1 6117 rm -f conf$$subs.awk 6118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6119 _ACAWK 6120 cat >>"\$tmp/subs1.awk" <<_ACAWK && 6121 for (key in S) S_is_set[key] = 1 6122 FS = "" 6123 6124 } 6125 { 6126 line = $ 0 6127 nfields = split(line, field, "@") 6128 substed = 0 6129 len = length(field[1]) 6130 for (i = 2; i < nfields; i++) { 6131 key = field[i] 6132 keylen = length(key) 6133 if (S_is_set[key]) { 6134 value = S[key] 6135 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 6136 len += length(value) + length(field[++i]) 6137 substed = 1 6138 } else 6139 len += 1 + keylen 6140 } 6141 6142 print line 6143 } 6144 6145 _ACAWK 6146 _ACEOF 6147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6148 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 6149 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 6150 else 6151 cat 6152 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 6153 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 6154 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 6155 { (exit 1); exit 1; }; } 6156 _ACEOF 5536 6157 5537 6158 # VPATH may cause trouble with some makes, so we remove $(srcdir), … … 5550 6171 fi 5551 6172 5552 cat >>$CONFIG_STATUS <<\_ACEOF 6173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5553 6174 fi # test -n "$CONFIG_FILES" 5554 6175 5555 6176 5556 for ac_tag in :F $CONFIG_FILES 6177 eval set X " :F $CONFIG_FILES " 6178 shift 6179 for ac_tag 5557 6180 do 5558 6181 case $ac_tag in … … 5561 6184 case $ac_mode$ac_tag in 5562 6185 :[FHL]*:*);; 5563 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&55564 echo "$as_me: error: Invalid tag $ac_tag." >&2;}6186 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 6187 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} 5565 6188 { (exit 1); exit 1; }; };; 5566 6189 :[FH]-) ac_tag=-:-;; … … 5591 6214 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5592 6215 esac || 5593 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&55594 echo "$as_me: error: cannot find input file: $ac_f" >&2;}6216 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 6217 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 5595 6218 { (exit 1); exit 1; }; };; 5596 6219 esac 5597 ac_file_inputs="$ac_file_inputs $ac_f" 6220 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 6221 ac_file_inputs="$ac_file_inputs '$ac_f'" 5598 6222 done 5599 6223 … … 5601 6225 # use $as_me), people would be surprised to read: 5602 6226 # /* config.h. Generated by config.status. */ 5603 configure_input="Generated from "`IFS=: 5604 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 6227 configure_input='Generated from '` 6228 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 6229 `' by configure.' 5605 6230 if test x"$ac_file" != x-; then 5606 6231 configure_input="$ac_file. $configure_input" 5607 { echo "$as_me:$LINENO: creating $ac_file" >&55608 echo "$as_me: creating $ac_file" >&6;}6232 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 6233 $as_echo "$as_me: creating $ac_file" >&6;} 5609 6234 fi 6235 # Neutralize special characters interpreted by sed in replacement strings. 6236 case $configure_input in #( 6237 *\&* | *\|* | *\\* ) 6238 ac_sed_conf_input=`$as_echo "$configure_input" | 6239 sed 's/[\\\\&|]/\\\\&/g'`;; #( 6240 *) ac_sed_conf_input=$configure_input;; 6241 esac 5610 6242 5611 6243 case $ac_tag in 5612 *:-:* | *:-) cat >"$tmp/stdin";; 6244 *:-:* | *:-) cat >"$tmp/stdin" \ 6245 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6246 $as_echo "$as_me: error: could not create $ac_file" >&2;} 6247 { (exit 1); exit 1; }; } ;; 5613 6248 esac 5614 6249 ;; … … 5620 6255 X"$ac_file" : 'X\(//\)$' \| \ 5621 6256 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5622 echo X"$ac_file" |6257 $as_echo X"$ac_file" | 5623 6258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5624 6259 s//\1/ … … 5646 6281 while :; do 5647 6282 case $as_dir in #( 5648 *\'*) as_qdir=` echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(6283 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5649 6284 *) as_qdir=$as_dir;; 5650 6285 esac … … 5655 6290 X"$as_dir" : 'X\(//\)$' \| \ 5656 6291 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5657 echo X"$as_dir" |6292 $as_echo X"$as_dir" | 5658 6293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5659 6294 s//\1/ … … 5676 6311 done 5677 6312 test -z "$as_dirs" || eval "mkdir $as_dirs" 5678 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&55679 echo "$as_me: error: cannot create directory $as_dir" >&2;}6313 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 6314 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 5680 6315 { (exit 1); exit 1; }; }; } 5681 6316 ac_builddir=. … … 5684 6319 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5685 6320 *) 5686 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`6321 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5687 6322 # A ".." for each directory in $ac_dir_suffix. 5688 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`6323 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5689 6324 case $ac_top_builddir_sub in 5690 6325 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 5724 6359 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5725 6360 esac 5726 _ACEOF 5727 5728 cat >>$CONFIG_STATUS <<\_ACEOF 6361 ac_MKDIR_P=$MKDIR_P 6362 case $MKDIR_P in 6363 [\\/$]* | ?:[\\/]* ) ;; 6364 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 6365 esac 6366 _ACEOF 6367 6368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5729 6369 # If the template does not know about datarootdir, expand it. 5730 6370 # FIXME: This hack should be removed a few years after 2.60. 5731 6371 ac_datarootdir_hack=; ac_datarootdir_seen= 5732 6372 5733 case `sed -n '/datarootdir/ { 6373 ac_sed_dataroot=' 6374 /datarootdir/ { 5734 6375 p 5735 6376 q … … 5740 6381 /@localedir@/p 5741 6382 /@mandir@/p 5742 ' $ac_file_inputs` in 6383 ' 6384 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5743 6385 *datarootdir*) ac_datarootdir_seen=yes;; 5744 6386 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5745 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&55746 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}5747 _ACEOF 5748 cat >>$CONFIG_STATUS <<_ACEOF 6387 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6388 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6389 _ACEOF 6390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5749 6391 ac_datarootdir_hack=' 5750 6392 s&@datadir@&$datadir&g … … 5760 6402 # Shell code in configure.ac might set extrasub. 5761 6403 # FIXME: do we really want to maintain this feature? 5762 cat >>$CONFIG_STATUS <<_ACEOF 5763 sed"$ac_vpsub6404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6405 ac_sed_extra="$ac_vpsub 5764 6406 $extrasub 5765 6407 _ACEOF 5766 cat >>$CONFIG_STATUS <<\_ACEOF 6408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5767 6409 :t 5768 6410 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5769 s &@configure_input@&$configure_input&;t t6411 s|@configure_input@|$ac_sed_conf_input|;t t 5770 6412 s&@top_builddir@&$ac_top_builddir_sub&;t t 6413 s&@top_build_prefix@&$ac_top_build_prefix&;t t 5771 6414 s&@srcdir@&$ac_srcdir&;t t 5772 6415 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 5777 6420 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5778 6421 s&@INSTALL@&$ac_INSTALL&;t t 6422 s&@MKDIR_P@&$ac_MKDIR_P&;t t 5779 6423 $ac_datarootdir_hack 5780 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 6424 " 6425 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 6426 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6427 $as_echo "$as_me: error: could not create $ac_file" >&2;} 6428 { (exit 1); exit 1; }; } 5781 6429 5782 6430 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5783 6431 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 5784 6432 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 5785 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'6433 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5786 6434 which seems to be undefined. Please make sure it is defined." >&5 5787 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'6435 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5788 6436 which seems to be undefined. Please make sure it is defined." >&2;} 5789 6437 5790 6438 rm -f "$tmp/stdin" 5791 6439 case $ac_file in 5792 -) cat "$tmp/out"; rm -f "$tmp/out";; 5793 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 5794 esac 6440 -) cat "$tmp/out" && rm -f "$tmp/out";; 6441 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 6442 esac \ 6443 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6444 $as_echo "$as_me: error: could not create $ac_file" >&2;} 6445 { (exit 1); exit 1; }; } 5795 6446 ;; 5796 6447 … … 5806 6457 chmod +x $CONFIG_STATUS 5807 6458 ac_clean_files=$ac_clean_files_save 6459 6460 test $ac_write_fail = 0 || 6461 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 6462 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 6463 { (exit 1); exit 1; }; } 5808 6464 5809 6465 … … 5828 6484 $ac_cs_success || { (exit 1); exit 1; } 5829 6485 fi 5830 6486 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6487 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 6488 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} 6489 fi 6490 -
trunk/packages/vizservers/configure.in
r948 r1111 24 24 25 25 AC_PROG_INSTALL 26 AC_PROG_MAKE_SET 26 AC_PROG_RANLIB 27 AC_PROG_LN_S 28 AC_PROG_MKDIR_P 27 29 28 30 dnl find and test the C compiler 29 31 AC_PROG_CC 30 32 AC_LANG_C 31 32 AC_PROG_RANLIB33 33 34 34 AC_PROG_CXX -
trunk/packages/vizservers/nanoscale/client.c
r409 r1111 19 19 * "unnecessary" pointer comparison. 20 20 */ 21 #define min(x,y) ({ 22 typeof(x) _x = (x);\23 typeof(y) _y = (y);\24 (void) (&_x == &_y);\25 21 #define min(x,y) ({ \ 22 typeof(x) _x = (x); \ 23 typeof(y) _y = (y); \ 24 (void) (&_x == &_y); \ 25 _x < _y ? _x : _y; }) 26 26 27 #define max(x,y) ({ 28 typeof(x) _x = (x);\29 typeof(y) _y = (y);\30 (void) (&_x == &_y);\31 27 #define max(x,y) ({ \ 28 typeof(x) _x = (x); \ 29 typeof(y) _y = (y); \ 30 (void) (&_x == &_y); \ 31 _x > _y ? _x : _y; }) 32 32 33 33 void help(const char *argv0) 34 34 { 35 fprintf(stderr,36 37 38 exit(1);35 fprintf(stderr, 36 "Syntax: %s addr:port load\n", 37 argv0); 38 exit(1); 39 39 } 40 40 41 41 int connect_fd = -1; 42 42 43 void activity(int signum) 43 void 44 activity(int signum) 44 45 { 45 write(connect_fd, "hello\n\r", 7);46 write(1,".",1);46 write(connect_fd, "hello\n\r", 7); 47 write(1,".",1); 47 48 } 48 49 49 50 50 int main(int argc, char *argv[]) 51 int 52 main(int argc, char *argv[]) 51 53 { 52 int val; 53 int status; 54 struct sockaddr_in connect_addr; 55 int connect_port = -1; 54 int status; 55 int connect_port = -1; 56 56 57 if (argc != 3) {58 59 }57 if (argc != 3) { 58 help(argv[0]); 59 } 60 60 61 char addr[100];62 if (sscanf(argv[1], "%100[^:\n]:%d\n", addr, &connect_port) != 2) {63 64 }65 int memory = strtoul(argv[2],0,0);61 char addr[100]; 62 if (sscanf(argv[1], "%100[^:\n]:%d\n", addr, &connect_port) != 2) { 63 help(argv[0]); 64 } 65 int memory = strtoul(argv[2],0,0); 66 66 67 connect_fd = connect_renderer(addr, connect_port, memory);67 connect_fd = connect_renderer(addr, connect_port, memory); 68 68 69 if (connect_fd == -1) {70 71 }69 if (connect_fd == -1) { 70 return 1; 71 } 72 72 73 printf("Connection accepted.\n");73 printf("Connection accepted.\n"); 74 74 75 75 #ifdef DEBUGGING 76 if (signal(SIGALRM, activity) == SIG_ERR) {77 78 }76 if (signal(SIGALRM, activity) == SIG_ERR) { 77 perror("signal"); 78 } 79 79 80 struct itimerval itvalue = {81 82 };83 status = setitimer(ITIMER_REAL, &itvalue, NULL);80 struct itimerval itvalue = { 81 {0,500000}, {0,500000} 82 }; 83 status = setitimer(ITIMER_REAL, &itvalue, NULL); 84 84 #endif 85 85 86 fd_set rfds; 87 FD_ZERO(&rfds); 88 while(1) { 89 char buffer[100]; 90 FD_SET(0,&rfds); 91 FD_SET(connect_fd,&rfds); 92 status = select(connect_fd+1, &rfds, NULL, NULL, NULL); 93 if (FD_ISSET(0,&rfds)) { 94 status = read(0,buffer,sizeof(buffer)); 95 if (status <= 0) { 96 fprintf(stderr,"Goodbye\n"); 97 exit(0); 98 } else { 99 status = write(connect_fd, buffer, status); 100 if (status < 0) { 101 perror("write"); 102 } 103 } 86 fd_set rfds; 87 FD_ZERO(&rfds); 88 while(1) { 89 char buffer[100]; 90 FD_SET(0,&rfds); 91 FD_SET(connect_fd,&rfds); 92 status = select(connect_fd+1, &rfds, NULL, NULL, NULL); 93 if (FD_ISSET(0,&rfds)) { 94 status = read(0,buffer,sizeof(buffer)); 95 if (status <= 0) { 96 fprintf(stderr,"Goodbye\n"); 97 exit(0); 98 } else { 99 status = write(connect_fd, buffer, status); 100 if (status < 0) { 101 perror("write"); 102 } 103 } 104 } else if (FD_ISSET(connect_fd,&rfds)) { 105 status = read(connect_fd,buffer,sizeof(buffer)); 106 if (status <= 0) { 107 fprintf(stderr,"Server closed connection\n"); 108 exit(0); 109 } else { 110 status = write(1, buffer, status); 111 if (status < 0) { 112 perror("write"); 113 } 114 } 115 } else { 116 fprintf(stderr,"Strange case for select: %d\n", status); 117 exit(1); 118 } 104 119 } 105 120 106 else if (FD_ISSET(connect_fd,&rfds)) { 107 status = read(connect_fd,buffer,sizeof(buffer)); 108 if (status <= 0) { 109 fprintf(stderr,"Server closed connection\n"); 110 exit(0); 111 } else { 112 status = write(1, buffer, status); 113 if (status < 0) { 114 perror("write"); 115 } 116 } 117 } 118 119 else { 120 fprintf(stderr,"Strange case for select: %d\n", status); 121 exit(1); 122 } 123 } 124 125 return 0; 121 return 0; 126 122 } 127 123 -
trunk/packages/vizservers/nanovis/Axis.cpp
r1028 r1111 83 83 Ticks::SetTicks(void) 84 84 { 85 _nTicks= 0;86 _ticks = new float[_nSteps];87 if ( _step== 0.0) {85 numTicks_ = 0; 86 ticks_ = new float[nSteps_]; 87 if (step_ == 0.0) { 88 88 /* Hack: A zero step indicates to use log values. */ 89 89 unsigned int i; … … 101 101 1.0 102 102 }; 103 for (i = 0; i < _nSteps; i++) {104 _ticks[i] = logTable[i];103 for (i = 0; i < nSteps_; i++) { 104 ticks_[i] = logTable[i]; 105 105 } 106 106 } else { … … 108 108 unsigned int i; 109 109 110 value = _initial; /* Start from smallest axis tick */111 for (i = 0; i < _nSteps; i++) {112 value = _initial + (_step* i);113 _ticks[i] = UROUND(value, _step);114 } 115 } 116 _nTicks = _nSteps;117 } 118 119 Axis::Axis(const char * name) :120 _major(5), _minor(2)121 { 122 _name= NULL;123 SetName(name);124 _units= NULL;125 _title= NULL;126 _valueMin = DBL_MAX, _valueMax= -DBL_MAX;127 _min = DBL_MAX, _max= -DBL_MAX;128 _reqMin = _reqMax= _NaN;129 _range = 0.0, _scale= 0.0;130 _reqStep= 0.0;131 _flags= AUTOSCALE;110 value = initial_; /* Start from smallest axis tick */ 111 for (i = 0; i < nSteps_; i++) { 112 value = initial_ + (step_ * i); 113 ticks_[i] = UROUND(value, step_); 114 } 115 } 116 numTicks_ = nSteps_; 117 } 118 119 Axis::Axis(const char *axisName) : 120 major_(5), minor_(2) 121 { 122 name_ = NULL; 123 name(axisName); 124 units_ = NULL; 125 title_ = NULL; 126 valueMin_ = DBL_MAX, valueMax_ = -DBL_MAX; 127 min_ = DBL_MAX, max_ = -DBL_MAX; 128 reqMin_ = reqMax_ = _NaN; 129 range_ = 0.0, scale_ = 0.0; 130 reqStep_ = 0.0; 131 flags_ = AUTOSCALE; 132 132 } 133 133 … … 156 156 Axis::InRange(double x) 157 157 { 158 if ( _range< DBL_EPSILON) {159 return (fabs( _max- x) >= DBL_EPSILON);158 if (range_ < DBL_EPSILON) { 159 return (fabs(max_ - x) >= DBL_EPSILON); 160 160 } else { 161 x = (x - _min) * _scale;161 x = (x - min_) * scale_; 162 162 return ((x >= -DBL_EPSILON) && ((x - 1.0) < DBL_EPSILON)); 163 163 } … … 168 168 { 169 169 if (min == DBL_MAX) { 170 if (DEFINED( _reqMin)) {171 min = _reqMin;172 } else { 173 min = ( _flags& LOGSCALE) ? 0.001 : 0.0;170 if (DEFINED(reqMin_)) { 171 min = reqMin_; 172 } else { 173 min = (flags_ & LOGSCALE) ? 0.001 : 0.0; 174 174 } 175 175 } 176 176 if (max == -DBL_MAX) { 177 if (DEFINED( _reqMax)) {178 max = _reqMax;177 if (DEFINED(reqMax_)) { 178 max = reqMax_; 179 179 } else { 180 180 max = 1.0; … … 197 197 * values selected by the user with the -min or -max options. 198 198 */ 199 _valueMin = (DEFINED(_reqMin)) ? _reqMin: min;200 _valueMax = (DEFINED(_reqMax)) ? _reqMax: max;201 if ( _valueMax < _valueMin) {199 valueMin_ = (DEFINED(reqMin_)) ? reqMin_ : min; 200 valueMax_ = (DEFINED(reqMax_)) ? reqMax_ : max; 201 if (valueMax_ < valueMin_) { 202 202 /* 203 203 * If the limits still don't make sense, it's because one limit … … 206 206 * up a new min or max from the user-defined limit. 207 207 */ 208 if (!DEFINED( _reqMin)) {209 _valueMin = _valueMax - (fabs(_valueMax) * 0.1);210 } 211 if (!DEFINED( _reqMax)) {212 _valueMax = _valueMin + (fabs(_valueMax) * 0.1);208 if (!DEFINED(reqMin_)) { 209 valueMin_ = valueMax_ - (fabs(valueMax_) * 0.1); 210 } 211 if (!DEFINED(reqMax_)) { 212 valueMax_ = valueMin_ + (fabs(valueMax_) * 0.1); 213 213 } 214 214 } … … 301 301 majorStep = minorStep = 0.0; 302 302 tickMin = tickMax = _NaN; 303 min = _valueMin, max = _valueMax;303 min = valueMin_, max = valueMax_; 304 304 if (min < max) { 305 305 min = (min != 0.0) ? log10(fabs(min)) : 0.0; … … 314 314 * decade. Instead, treat the axis as a linear scale. */ 315 315 range = NiceNum(range, 0); 316 majorStep = NiceNum(range / _major.reqNumTicks, 1);316 majorStep = NiceNum(range / major_.reqNumTicks, 1); 317 317 tickMin = UFLOOR(tickMin, majorStep); 318 318 tickMax = UCEIL(tickMax, majorStep); … … 339 339 nMinor = 10; 340 340 } 341 if (( _flags & TIGHT_MIN) || (DEFINED(_reqMin))) {341 if ((flags_ & TIGHT_MIN) || (DEFINED(reqMin_))) { 342 342 tickMin = min; 343 343 nMajor++; 344 344 } 345 if (( _flags & TIGHT_MAX) || (DEFINED(_reqMax))) {345 if ((flags_ & TIGHT_MAX) || (DEFINED(reqMax_))) { 346 346 tickMax = max; 347 347 } 348 348 } 349 _major.SetValues(majorStep, nMajor, floor(tickMin));350 _minor.SetValues(minorStep, nMinor, minorStep);351 _min= tickMin;352 _max= tickMax;353 _range = _max - _min;354 _scale = 1.0 / _range;349 major_.SetValues(majorStep, nMajor, floor(tickMin)); 350 minor_.SetValues(minorStep, nMinor, minorStep); 351 min_ = tickMin; 352 max_ = tickMax; 353 range_ = max_ - min_; 354 scale_ = 1.0 / range_; 355 355 } 356 356 … … 427 427 /* Suppress compiler warning. */ 428 428 tickMin = tickMax = 0.0; 429 if ( _valueMin < _valueMax) {429 if (valueMin_ < valueMax_) { 430 430 double range; 431 431 432 range = _valueMax - _valueMin;432 range = valueMax_ - valueMin_; 433 433 /* Calculate the major tick stepping. */ 434 if ( _reqStep> 0.0) {434 if (reqStep_ > 0.0) { 435 435 /* An interval was designated by the user. Keep scaling it until 436 436 * it fits comfortably within the current range of the axis. */ 437 step = _reqStep;437 step = reqStep_; 438 438 while ((2 * step) >= range) { 439 439 step *= 0.5; … … 441 441 } else { 442 442 range = NiceNum(range, 0); 443 step = NiceNum(range / _major.reqNumTicks, 1);443 step = NiceNum(range / major_.reqNumTicks, 1); 444 444 } 445 445 446 446 /* Find the outer tick values. Add 0.0 to prevent getting -0.0. */ 447 tickMin = floor( _valueMin/ step) * step + 0.0;448 tickMax = ceil( _valueMax/ step) * step + 0.0;447 tickMin = floor(valueMin_ / step) * step + 0.0; 448 tickMax = ceil(valueMax_ / step) * step + 0.0; 449 449 450 450 nTicks = ROUND((tickMax - tickMin) / step) + 1; 451 451 } 452 _major.SetValues(tickMin, step, nTicks);452 major_.SetValues(tickMin, step, nTicks); 453 453 454 454 /* … … 460 460 * assume that user would have picked a different number). 461 461 */ 462 _min = ((_flags & TIGHT_MIN)||(DEFINED(_reqMin))) ? _valueMin: tickMin;463 _max = ((_flags & TIGHT_MAX)||(DEFINED(_reqMax))) ? _valueMax: tickMax;464 _range = _max - _min;465 _scale = 1.0 / _range;462 min_ = ((flags_ & TIGHT_MIN)||(DEFINED(reqMin_))) ? valueMin_ : tickMin; 463 max_ = ((flags_ & TIGHT_MAX)||(DEFINED(reqMax_))) ? valueMax_ : tickMax; 464 range_ = max_ - min_; 465 scale_ = 1.0 / range_; 466 466 467 467 /* Now calculate the minor tick step and number. */ 468 468 469 if (( _minor.reqNumTicks > 0) && (_minor.IsAutoScale())) {470 nTicks = _minor.reqNumTicks - 1;469 if ((minor_.reqNumTicks > 0) && (minor_.autoscale())) { 470 nTicks = minor_.reqNumTicks - 1; 471 471 step = 1.0 / (nTicks + 1); 472 472 } else { … … 476 476 * create minor log-scale tick marks. */ 477 477 } 478 _minor.SetValues(step, step, nTicks);478 minor_.SetValues(step, step, nTicks); 479 479 } 480 480 … … 484 484 { 485 485 FixRange(min, max); 486 if ( _flags& LOGSCALE) {486 if (flags_ & LOGSCALE) { 487 487 LogScale(); 488 488 } else { 489 489 LinearScale(); 490 490 } 491 _major.SweepTicks();492 _minor.SweepTicks();491 major_.SweepTicks(); 492 minor_.SweepTicks(); 493 493 MakeTicks(); 494 494 } … … 497 497 Axis::MakeTicks(void) 498 498 { 499 _major.Reset();500 _minor.Reset();499 major_.Reset(); 500 minor_.Reset(); 501 501 int i; 502 for (i = 0; i < _major.NumTicks(); i++) {502 for (i = 0; i < major_.numTicks(); i++) { 503 503 double t1, t2; 504 504 int j; 505 505 506 t1 = _major.GetTick(i);506 t1 = major_.tick(i); 507 507 /* Minor ticks */ 508 for (j = 0; j < _minor.NumTicks(); j++) {509 t2 = t1 + ( _major.Step() * _minor.GetTick(j));508 for (j = 0; j < minor_.numTicks(); j++) { 509 t2 = t1 + (major_.step() * minor_.tick(j)); 510 510 if (!InRange(t2)) { 511 511 continue; … … 514 514 continue; // Don't add duplicate minor ticks. 515 515 } 516 _minor.Append(t2);516 minor_.Append(t2); 517 517 } 518 518 if (!InRange(t1)) { 519 519 continue; 520 520 } 521 _major.Append(t1);521 major_.Append(t1); 522 522 } 523 523 } … … 526 526 Axis::Map(double x) 527 527 { 528 if (( _flags& LOGSCALE) && (x != 0.0)) {528 if ((flags_ & LOGSCALE) && (x != 0.0)) { 529 529 x = log10(fabs(x)); 530 530 } 531 531 /* Map graph coordinate to normalized coordinates [0..1] */ 532 x = (x - _min) * _scale;533 if ( _flags& DESCENDING) {532 x = (x - min_) * scale_; 533 if (flags_ & DESCENDING) { 534 534 x = 1.0 - x; 535 535 } … … 540 540 Axis::InvMap(double x) 541 541 { 542 if ( _flags& DESCENDING) {542 if (flags_ & DESCENDING) { 543 543 x = 1.0 - x; 544 544 } 545 x = (x * _range) + _min;546 if ( _flags& LOGSCALE) {545 x = (x * range_) + min_; 546 if (flags_ & LOGSCALE) { 547 547 x = EXP10(x); 548 548 } -
trunk/packages/vizservers/nanovis/Axis.h
r1028 r1111 8 8 class NaN { 9 9 private: 10 double _x;10 double x_; 11 11 public: 12 12 NaN(void) { … … 23 23 result.words[1] = 0x7ff80000; 24 24 #endif 25 _x= result.value;25 x_ = result.value; 26 26 } 27 27 operator const double() { 28 return _x;28 return x_; 29 29 } 30 30 }; … … 33 33 34 34 class TickIter { 35 ChainLink * _linkPtr;35 ChainLink *linkPtr_; 36 36 public: 37 37 void SetStartingLink(ChainLink *linkPtr) { 38 _linkPtr= linkPtr;38 linkPtr_ = linkPtr; 39 39 } 40 40 bool Next(void) { 41 if ( _linkPtr== NULL) {41 if (linkPtr_ == NULL) { 42 42 return false; 43 43 } 44 _linkPtr = _linkPtr->Next();45 return ( _linkPtr!= NULL);44 linkPtr_ = linkPtr_->Next(); 45 return (linkPtr_ != NULL); 46 46 } 47 47 float GetValue(void) { … … 50 50 void *clientData; 51 51 } value; 52 value.clientData = _linkPtr->GetValue();52 value.clientData = linkPtr_->GetValue(); 53 53 return value.x; 54 54 } … … 66 66 */ 67 67 class Ticks { 68 bool _autoscale; /* Indicates if the ticks are autoscaled. */68 bool autoscale_; /* Indicates if the ticks are autoscaled. */ 69 69 /* 70 70 * Tick locations may be generated in two fashions 71 71 */ 72 72 /* 1. an array of values provided by the user. */ 73 int _nTicks; /* # of ticks on axis */74 float * _ticks; /* Array of tick values (alloc-ed). Right now73 int numTicks_; /* # of ticks on axis */ 74 float *ticks_; /* Array of tick values (alloc-ed). Right now 75 75 * it's a float so we don't have to allocate 76 76 * store for the list of ticks generated. In … … 83 83 * will generate the an array of values. 84 84 */ 85 double _initial; /* Initial value */86 double _step; /* Size of interval */87 unsigned int _nSteps; /* Number of intervals. */85 double initial_; /* Initial value */ 86 double step_; /* Size of interval */ 87 unsigned int nSteps_; /* Number of intervals. */ 88 88 89 89 /* … … 93 93 * the chain. 94 94 */ 95 Chain _chain;95 Chain chain_; 96 96 97 97 void SetTicks(void); /* Routine used internally to create the array … … 111 111 Ticks(int numTicks) { 112 112 reqNumTicks = numTicks; 113 _ticks= NULL;114 _nTicks= 0;115 _autoscale= true;113 ticks_ = NULL; 114 numTicks_ = 0; 115 autoscale_ = true; 116 116 } 117 117 ~Ticks(void) { 118 if ( _ticks!= NULL) {119 delete [] _ticks;120 } 121 _chain.Reset();118 if (ticks_ != NULL) { 119 delete [] ticks_; 120 } 121 chain_.Reset(); 122 122 123 123 } 124 124 void SetTicks(float *ticks, int nTicks) { 125 _ticks = ticks, _nTicks= nTicks;126 } 127 int NumTicks(void) {128 return _nTicks;129 } 130 double GetTick(int i) {131 if ((i < 0) || (i >= _nTicks)) {125 ticks_ = ticks, numTicks_ = nTicks; 126 } 127 int numTicks(void) { 128 return numTicks_; 129 } 130 double tick(int i) { 131 if ((i < 0) || (i >= numTicks_)) { 132 132 return _NaN; 133 133 } 134 return _ticks[i];134 return ticks_[i]; 135 135 } 136 136 void Reset(void) { 137 _chain.Reset();138 } 139 float Step() {140 return _step;137 chain_.Reset(); 138 } 139 float step() { 140 return step_; 141 141 } 142 142 void Append (float x) { 143 _chain.Append(GetClientData(x));143 chain_.Append(GetClientData(x)); 144 144 } 145 145 void SetValues(double initial, double step, unsigned int nSteps) { 146 _initial = initial, _step = step, _nSteps= nSteps;147 } 148 bool IsAutoScale(void) {149 return _autoscale;146 initial_ = initial, step_ = step, nSteps_ = nSteps; 147 } 148 bool autoscale(void) { 149 return autoscale_; 150 150 } 151 151 void SweepTicks(void) { 152 if ( _autoscale) {153 if ( _ticks!= NULL) {154 delete [] _ticks;152 if (autoscale_) { 153 if (ticks_ != NULL) { 154 delete [] ticks_; 155 155 } 156 156 SetTicks(); … … 160 160 ChainLink *linkPtr; 161 161 162 linkPtr = _chain.FirstLink();162 linkPtr = chain_.FirstLink(); 163 163 iter.SetStartingLink(linkPtr); 164 164 return (linkPtr != NULL); … … 187 187 }; 188 188 189 const char * _name; /* Name of the axis. Malloc-ed */190 191 unsigned int _flags;192 193 const char * _title; /* Title of the axis. */194 195 const char * _units; /* Units of the axis. */196 197 double _valueMin, _valueMax; /* The limits of the data. */198 199 double _reqMin, _reqMax; /* Requested axis bounds. Consult the189 const char *name_; /* Name of the axis. Malloc-ed */ 190 191 unsigned int flags_; 192 193 const char *title_; /* Title of the axis. */ 194 195 const char *units_; /* Units of the axis. */ 196 197 double valueMin_, valueMax_; /* The limits of the data. */ 198 199 double reqMin_, reqMax_; /* Requested axis bounds. Consult the 200 200 * axisPtr->flags field for 201 201 * Axis::CONFIG_MIN and Axis::CONFIG_MAX … … 205 205 * (determined by auto-scaling). */ 206 206 207 double _min, _max; /* Smallest and largest major tick values for207 double min_, max_; /* Smallest and largest major tick values for 208 208 * the axis. If loose, the tick values lie 209 209 * outside the range of data values. If … … 211 211 * the data. */ 212 212 213 double _range; /* Range of values on axis (_max - _min) */214 double _scale; /* Scale factor for axis (1.0/_range) */215 216 double _reqStep; /* If > 0.0, overrides the computed major tick213 double range_; /* Range of values on axis (max_ - min_) */ 214 double scale_; /* Scale factor for axis (1.0/_range) */ 215 216 double reqStep_; /* If > 0.0, overrides the computed major tick 217 217 * interval. Otherwise a stepsize is 218 218 * automatically calculated, based upon the … … 220 220 * default value is 0.0. */ 221 221 222 Ticks _major, _minor;222 Ticks major_, minor_; 223 223 224 224 void LogScale(void); … … 230 230 Axis(const char *name); 231 231 ~Axis(void) { 232 if ( _name!= NULL) {233 free((void *) _name);234 } 235 if ( _units!= NULL) {236 free((void *) _units);237 } 238 if ( _title!= NULL) {239 free((void *) _title);232 if (name_ != NULL) { 233 free((void *)name_); 234 } 235 if (units_ != NULL) { 236 free((void *)units_); 237 } 238 if (title_ != NULL) { 239 free((void *)title_); 240 240 } 241 241 } … … 244 244 void FixRange(double min, double max); 245 245 void SetScale(double min, double max); 246 double Scale(void) {247 return _scale;248 } 249 double Range(void) {250 return _range;246 double scale(void) { 247 return scale_; 248 } 249 double range(void) { 250 return range_; 251 251 } 252 252 bool FirstMajor(TickIter &iter) { 253 return _major.FirstTick(iter);253 return major_.FirstTick(iter); 254 254 } 255 255 bool FirstMinor(TickIter &iter) { 256 return _minor.FirstTick(iter);256 return minor_.FirstTick(iter); 257 257 } 258 258 void GetDataLimits(double &min, double &max) { 259 min = _valueMin, max = _valueMax;259 min = valueMin_, max = valueMax_; 260 260 } 261 261 double Map(double x); 262 262 double InvMap(double x); 263 const char *GetName(void) { 264 return (_name == NULL) ? "???" : _name; 265 } 266 void SetName(const char *name) { 267 if (_name != NULL) { 268 free((void *)_name); 269 } 270 _name = strdup(name); 271 } 272 const char *GetUnits(void) { 273 return (_units == NULL) ? "???" : _units; 274 } 275 void SetUnits(const char *units) { 276 if (_units != NULL) { 277 free((void *)_units); 278 } 279 _units = strdup(units); 280 } 281 const char *GetTitle(void) { 282 return (_title == NULL) ? "???" : _title; 283 } 284 void SetTitle(const char *title) { 285 if (_title != NULL) { 286 free((void *)_title); 287 } 288 _title = strdup(title); 289 } 290 void SetMin(double min) { 291 _reqMin = min; // Setting to NaN resets min to "auto" 292 } 293 void SetMax(double min) { 294 _reqMin = min; // Setting to NaN resets max to "auto" 263 const char *name(void) { 264 return (name_ == NULL) ? "???" : name_; 265 } 266 void name(const char *name) { 267 if (name_ != NULL) { 268 free((void *)name_); 269 } 270 name_ = strdup(name); 271 } 272 const char *units(void) { 273 return (units_ == NULL) ? "???" : units_; 274 } 275 void units(const char *units) { 276 if (units_ != NULL) { 277 free((void *)units_); 278 } 279 units_ = strdup(units); 280 } 281 const char *title(void) { 282 return (title_ == NULL) ? "???" : title_; 283 } 284 void title(const char *title) { 285 if (title_ != NULL) { 286 free((void *)title_); 287 } 288 title_ = strdup(title); 289 } 290 double min(void) { 291 return min_; 292 } 293 void min(double min) { 294 reqMin_ = min; 295 } 296 double max(void) { 297 return max_; 298 } 299 void max(double max) { 300 reqMax_ = max; 295 301 } 296 302 void SetLimits(double min, double max) { 297 SetMin(min), SetMax(max);303 reqMin_ = min, reqMax_ = max; 298 304 } 299 305 void UnsetLimits() { 300 SetMin(_NaN), SetMax(_NaN);306 min(_NaN), max(_NaN); 301 307 } 302 308 void SetDescendingOption(bool value) { 303 309 if (value) { 304 _flags|= DESCENDING;310 flags_ |= DESCENDING; 305 311 } else { 306 _flags&= ~DESCENDING;312 flags_ &= ~DESCENDING; 307 313 } 308 314 } 309 315 void SetTightMinOption(bool value) { 310 316 if (value) { 311 _flags|= TIGHT_MIN;317 flags_ |= TIGHT_MIN; 312 318 } else { 313 _flags&= ~TIGHT_MIN;319 flags_ &= ~TIGHT_MIN; 314 320 } 315 321 } 316 322 void SetTightMaxOption(bool value) { 317 323 if (value) { 318 _flags|= TIGHT_MAX;324 flags_ |= TIGHT_MAX; 319 325 } else { 320 _flags&= ~TIGHT_MAX;326 flags_ &= ~TIGHT_MAX; 321 327 } 322 328 } 323 329 void SetLogScaleOption(bool value) { 324 330 if (value) { 325 _flags|= LOGSCALE;331 flags_ |= LOGSCALE; 326 332 } else { 327 _flags&= ~LOGSCALE;333 flags_ &= ~LOGSCALE; 328 334 } 329 335 } 330 336 void SetMajorStepOption(double value) { 331 _reqStep= value; // Setting to 0.0 resets step to "auto"337 reqStep_ = value; // Setting to 0.0 resets step to "auto" 332 338 } 333 339 void SetNumMinorTicksOption(int n) { 334 _minor.reqNumTicks = n;340 minor_.reqNumTicks = n; 335 341 } 336 342 void SetNumMajorTicksOption(int n) { 337 _major.reqNumTicks = n;343 major_.reqNumTicks = n; 338 344 } 339 345 }; -
trunk/packages/vizservers/nanovis/AxisRange.h
r932 r1111 3 3 4 4 class AxisRange { 5 double _min, _max;5 double min_, max_; 6 6 public: 7 7 AxisRange(void) { 8 SetRange(0.0,1.0);8 min(0.0), max(1.0); 9 9 } 10 10 void SetRange(double min, double max) { 11 _min = min, _max= max;11 min_ = min, max_ = max; 12 12 } 13 double Min(void) {14 return _min;13 double min(void) { 14 return min_; 15 15 } 16 double Max(void) { 17 return _max; 16 void min(double min) { 17 min_ = min; 18 } 19 double max(void) { 20 return max_; 21 } 22 void max(double max) { 23 max_ = max; 18 24 } 19 25 }; -
trunk/packages/vizservers/nanovis/Command.cpp
r1089 r1111 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) 36 * o Add bookkeeping for volumes, heightmaps, flows, etc. to track 35 * x Create R2, matrix, etc. libraries. (done) * o Add bookkeeping for volumes, heightmaps, flows, etc. to track 37 36 * 1) id # 2) simulation # 3) include/exclude. The include/exclude 38 37 * is to indicate whether the item should contribute to the overall … … 90 89 // in nanovis.cpp 91 90 extern vector<PointSet*> g_pointSet; 91 extern int debug_flag; 92 92 93 93 extern PlaneRenderer* plane_render; … … 655 655 char buffer[8096]; 656 656 657 clearerr( stdin);657 clearerr(NanoVis::stdin); 658 658 while (nBytes > 0) { 659 659 unsigned int chunk; … … 662 662 chunk = (sizeof(buffer) < (unsigned int) nBytes) ? 663 663 sizeof(buffer) : nBytes; 664 nRead = fread(buffer, sizeof(char), chunk, stdin);665 if (ferror( stdin)) {664 nRead = fread(buffer, sizeof(char), chunk, NanoVis::stdin); 665 if (ferror(NanoVis::stdin)) { 666 666 Tcl_AppendResult(interp, "while reading data stream: ", 667 667 Tcl_PosixError(interp), (char*)NULL); 668 668 return TCL_ERROR; 669 669 } 670 if (feof( stdin)) {670 if (feof(NanoVis::stdin)) { 671 671 Tcl_AppendResult(interp, "premature EOF while reading data stream", 672 672 (char*)NULL); … … 925 925 NanoVis::SetVolumeRanges(); 926 926 } 927 NanoVis::render_legend(tf, Volume::valueMin, Volume::valueMax, w, h, label); 927 NanoVis::render_legend(tf, 928 NanoVis::grid->yAxis.min(), 929 NanoVis::grid->yAxis.max(), w, h, label); 928 930 return TCL_OK; 929 931 } … … 1332 1334 volPtr = NanoVis::volume[n]; 1333 1335 sprintf(info, "nv>data id %d min %g max %g vmin %g vmax %g\n", 1334 n, volPtr->wAxis. Min(), volPtr->wAxis.Max(),1336 n, volPtr->wAxis.min(), volPtr->wAxis.max(), 1335 1337 Volume::valueMin, Volume::valueMax); 1336 1338 write(0, info, strlen(info)); … … 1715 1717 volPtr->height / (float)volPtr->width, 1716 1718 volPtr->depth / (float)volPtr->width, 1717 volPtr->wAxis. Max());1719 volPtr->wAxis.max()); 1718 1720 NanoVis::initParticle(); 1719 1721 } … … 1723 1725 1.0f / volPtr->aspect_ratio_height, 1724 1726 1.0f / volPtr->aspect_ratio_depth, 1725 volPtr->wAxis. Max());1727 volPtr->wAxis.max()); 1726 1728 NanoVis::licRenderer->set_offset(NanoVis::lic_slice_z); 1727 1729 } … … 1930 1932 result = Tcl_Eval(interp, buf.bytes()); 1931 1933 if (result != TCL_OK) { 1932 fprintf(stderr, "error in command: %s\n", Tcl_GetStringResult(interp)); 1933 fflush(stderr); 1934 fprintf(NanoVis::logfile, "error in command: %s\n", 1935 Tcl_GetStringResult(interp)); 1936 fflush(NanoVis::logfile); 1934 1937 } 1935 1938 return result; … … 2234 2237 case 2: axisPtr = &NanoVis::grid->zAxis; break; 2235 2238 } 2236 axisPtr-> SetName(Tcl_GetString(objv[3]));2237 axisPtr-> SetUnits(Tcl_GetString(objv[4]));2239 axisPtr->name(Tcl_GetString(objv[3])); 2240 axisPtr->units(Tcl_GetString(objv[4])); 2238 2241 } 2239 2242 return TCL_OK; … … 2528 2531 HeightMap* hmPtr; 2529 2532 hmPtr = new HeightMap(); 2533 2530 2534 hmPtr->setHeight(xMin, yMin, xMax, yMax, xNum, yNum, zValues); 2531 2535 hmPtr->setColorMap(NanoVis::get_transfunc("default")); … … 2533 2537 hmPtr->setLineContourVisible(true); 2534 2538 NanoVis::heightMap.push_back(hmPtr); 2535 delete [] zValues;2536 2539 return TCL_OK; 2537 2540 } … … 2572 2575 // create a default transfer function 2573 2576 if (Tcl_Eval(interp, def_transfunc) != TCL_OK) { 2574 fprintf( stdin, "WARNING: bad default transfer function\n");2575 fprintf( stdin, Tcl_GetStringResult(interp));2577 fprintf(NanoVis::logfile, "WARNING: bad default transfer function\n"); 2578 fprintf(NanoVis::logfile, Tcl_GetStringResult(interp)); 2576 2579 } 2577 2580 } … … 2601 2604 // 2602 2605 while (1) { 2603 char c = getchar(); 2606 int c = fgetc(NanoVis::stdin); 2607 char ch; 2604 2608 if (c <= 0) { 2605 2609 if (npass == 0) { … … 2609 2613 } 2610 2614 } 2611 Tcl_DStringAppend(&cmdbuffer, &c, 1); 2612 2613 if (c=='\n' && Tcl_CommandComplete(Tcl_DStringValue(&cmdbuffer))) { 2615 ch = (char)c; 2616 Tcl_DStringAppend(&cmdbuffer, &ch, 1); 2617 2618 if (ch=='\n' && Tcl_CommandComplete(Tcl_DStringValue(&cmdbuffer))) { 2614 2619 break; 2615 2620 } 2616 2621 } 2617 2618 2622 // no command? then we're done for now 2619 2623 if (Tcl_DStringLength(&cmdbuffer) == 0) { … … 2623 2627 // back to original flags during command evaluation... 2624 2628 fcntl(0, F_SETFL, flags & ~O_NONBLOCK); 2629 if (debug_flag) { 2630 fprintf(NanoVis::logfile, "%s\n", Tcl_DStringValue(&cmdbuffer)); 2631 } 2625 2632 status = Tcl_Eval(interp, Tcl_DStringValue(&cmdbuffer)); 2626 2633 Tcl_DStringSetLength(&cmdbuffer, 0); … … 2635 2642 const char *string; 2636 2643 int nBytes; 2637 string = Tcl_GetStringFromObj(Tcl_GetObjResult(_interp), &nBytes); 2638 2644 2645 string = Tcl_GetStringFromObj(Tcl_GetObjResult(interp), &nBytes); 2639 2646 struct iovec iov[3]; 2640 iov[0].iov_base = "NanoVis Server Error: ";2641 iov[0].iov_len = strlen( iov[0].iov_base);2642 iov[1].iov_base = string;2647 iov[0].iov_base = (char *)"NanoVis Server Error: "; 2648 iov[0].iov_len = strlen((char *)iov[0].iov_base); 2649 iov[1].iov_base = (char *)string; 2643 2650 iov[1].iov_len = nBytes; 2644 iov[2].iov_base = '\n';2651 iov[2].iov_base = (char *)'\n'; 2645 2652 iov[2].iov_len = 1; 2646 2653 writev(0, iov, 3); -
trunk/packages/vizservers/nanovis/Grid.cpp
r1053 r1111 32 32 #endif 33 33 #ifdef notdef 34 glScalef(xAxis. Scale(),35 yAxis. Range() / xAxis.Range(),36 zAxis. Range() / xAxis.Range());34 glScalef(xAxis.scale(), 35 yAxis.range() / xAxis.range(), 36 zAxis.range() / xAxis.range()); 37 37 #endif 38 38 glScalef(1.0, 1.0, 1.0); … … 141 141 glLoadIdentity(); 142 142 glTranslatef((int) wx, viewport[3] - (int) wy, 0); 143 _font->draw(xAxis. GetName());143 _font->draw(xAxis.name()); 144 144 } 145 145 … … 147 147 glLoadIdentity(); 148 148 glTranslatef((int) wx, viewport[3] - (int)wy, 0); 149 _font->draw(yAxis. GetName());149 _font->draw(yAxis.name()); 150 150 } 151 151 … … 153 153 glLoadIdentity(); 154 154 glTranslatef((int) wx, (int) viewport[3] - (int)wy, 0.0f); 155 _font->draw(zAxis. GetName());155 _font->draw(zAxis.name()); 156 156 } 157 157 -
trunk/packages/vizservers/nanovis/HeightMap.cpp
r1028 r1111 1 1 2 #include <GL/glew.h> 3 #include <GL/gl.h> 4 #include "HeightMap.h" 5 #include "ContourLineFilter.h" 6 #include "TypeDefs.h" 7 #include <Texture1D.h> 2 #include <memory.h> 8 3 #include <stdlib.h> 9 #include <memory.h>10 #include <R2/R2FilePath.h>11 #include "RpField1D.h"12 4 #include <sys/time.h> 13 5 #include <sys/types.h> 14 6 #include <unistd.h> 15 7 #include <fcntl.h> 16 #include <RenderContext.h> 8 #include <stdlib.h> 9 #include <GL/glew.h> 10 #include <GL/gl.h> 11 #include "Grid.h" 12 #include "HeightMap.h" 13 #include "ContourLineFilter.h" 14 #include "TypeDefs.h" 15 #include "Texture1D.h" 16 #include "R2/R2FilePath.h" 17 #include "RpField1D.h" 18 #include "RenderContext.h" 17 19 18 20 bool HeightMap::update_pending = false; … … 35 37 _visible(false), 36 38 _scale(1.0f, 1.0f, 1.0f), 37 _centerPoint(0.0f, 0.0f, 0.0f) 39 _centerPoint(0.0f, 0.0f, 0.0f), 40 heights_(NULL) 38 41 { 39 42 _shader = new NvShader(); 40 41 R2string path = R2FilePath::getInstance()->getPath("heightcolor.cg"); 42 if (path.getLength() == 0) { 43 printf("ERROR : file not found %s\n", "heightcolor.cg"); 44 } 45 _shader->loadFragmentProgram(path, "main"); 43 _shader->loadFragmentProgram("heightcolor.cg", "main"); 46 44 _tf = _shader->getNamedParameterFromFP("tf"); 47 45 } … … 73 71 glPushMatrix(); 74 72 73 #ifndef notdef 75 74 if (_scale.x != 0.0) { 76 glScalef(1 / _scale.x, 1 / _scale. x , 1 / _scale.x);77 } 78 75 glScalef(1 / _scale.x, 1 / _scale.y , 1 / _scale.z); 76 } 77 #endif 79 78 glTranslatef(-_centerPoint.x, -_centerPoint.y, -_centerPoint.z); 80 79 81 if (_contour ) {80 if (_contour != NULL) { 82 81 glDepthRange (0.001, 1.0); 83 82 } … … 140 139 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); 141 140 142 if (_contour ) {141 if (_contour != NULL) { 143 142 if (_contourVisible) { 144 143 glDisable(GL_BLEND); … … 176 175 int boundaryHeight = zCount - 1; 177 176 int* ptr = indexBuffer; 178 177 int index1, index2, index3, index4; 179 178 bool index1Valid, index2Valid, index3Valid, index4Valid; 180 179 index1Valid = index2Valid = index3Valid = index4Valid = true; … … 257 256 reset(); 258 257 258 heights_ = (float *)heights; 259 259 float min, max; 260 260 min = heights[0].y, max = heights[0].y; … … 325 325 326 326 void 327 HeightMap::setHeight(float startX, float startY, float endX, float endY, 328 int xCount, int yCount, float* heights) 329 { 330 _vertexCount = xCount * yCount; 331 327 HeightMap::setHeight(float xMin, float yMin, float xMax, float yMax, 328 int xNum, int yNum, float* heights) 329 { 330 _vertexCount = xNum * yNum; 331 xNum_ = xNum, yNum_ = yNum; 332 heights_ = heights; 332 333 reset(); 333 334 335 // Get the min/max of the heights. */ 334 336 float min, max; 335 min = heights[0], max = heights[0]; 336 int count = xCount * yCount; 337 for (int i = 0; i < count; ++i) { 337 min = max = heights[0]; 338 for (int i = 0; i < _vertexCount; ++i) { 338 339 if (min > heights[i]) { 339 340 min = heights[i]; … … 342 343 } 343 344 } 344 _scale.x = endX - startX;345 _scale.y = max - min;346 _scale.z = endY - startY;347 348 345 wAxis.SetRange(min, max); 349 xAxis.SetRange(startX, endX);350 346 yAxis.SetRange(min, max); 351 zAxis.SetRange(startY, endY); 347 xAxis.SetRange(xMin, xMax); 348 zAxis.SetRange(yMin, yMax); 349 350 351 min = 0.0, max = 1.0; 352 xMin = yMin = min = 0.0; 353 xMax = yMax = max = 1.0; 354 // Save the scales. 355 _scale.x = _scale.y = _scale.z = 1.0; 356 352 357 update_pending = true; 353 358 354 _centerPoint.set( _scale.x * 0.5 + startX, _scale.y * 0.5 + min,355 _scale.z * 0.5 + startY); 356 357 Vector3* texcoord = new Vector3[ count];358 for (int i = 0; i < count; ++i) {359 _centerPoint.set(0.5, 0.5, 0.5); 360 361 #ifndef notdef 362 Vector3* texcoord = new Vector3[_vertexCount]; 363 for (int i = 0; i < _vertexCount; ++i) { 359 364 texcoord[i].set(0, 0, heights[i]); 360 365 } 361 366 362 Vector3* heightMap = createHeightVertices( startX, startY, endX, endY, xCount, yCount, heights);367 Vector3* heightMap = createHeightVertices(xMin, yMin, xMax, yMax, xNum, yNum, heights); 363 368 364 369 glGenBuffers(1, &_vertexBufferObjectID); … … 377 382 ContourLineFilter lineFilter; 378 383 //lineFilter.setColorMap(_colorMap); 379 _contour = lineFilter.create(0.0f, 1.0f, 10, heightMap, x Count, yCount);384 _contour = lineFilter.create(0.0f, 1.0f, 10, heightMap, xNum, yNum); 380 385 381 386 #if TOPCONTOUR 382 387 ContourLineFilter topLineFilter; 383 388 topLineFilter.setHeightTop(true); 384 _topContour = topLineFilter.create(0.0f, 1.0f, 10, heightMap, x Count, yCount);389 _topContour = topLineFilter.create(0.0f, 1.0f, 10, heightMap, xNum, yNum); 385 390 #endif 386 391 … … 388 393 //if (heightMap) 389 394 //{ 390 // VertexBuffer* vertexBuffer = new VertexBuffer(VertexBuffer::POSITION3, x Count * yCount,391 // sizeof(Vector3) * x Count * yCount, heightMap, false);395 // VertexBuffer* vertexBuffer = new VertexBuffer(VertexBuffer::POSITION3, xNum * yNum, 396 // sizeof(Vector3) * xNum * yNum, heightMap, false); 392 397 if (_indexBuffer) { 393 398 free(_indexBuffer); 394 399 } 395 this->createIndexBuffer(x Count, yCount, _indexBuffer, _indexCount, heights);400 this->createIndexBuffer(xNum, yNum, _indexBuffer, _indexCount, heights); 396 401 //} 397 402 //else … … 399 404 //printf("ERROR - HeightMap::setHeight\n"); 400 405 //} 401 } 402 403 Vector3* HeightMap::createHeightVertices(float startX, float startY, float endX, float endY, int xCount, int yCount, float* height) 404 { 405 Vector3* vertices = (Vector3*) malloc(sizeof(Vector3) * xCount * yCount); 406 #endif 407 } 408 409 Vector3* 410 HeightMap::createHeightVertices(float xMin, float yMin, float xMax, 411 float yMax, int xNum, int yNum, float* height) 412 { 413 Vector3* vertices = (Vector3*) malloc(sizeof(Vector3) * xNum * yNum); 406 414 407 415 Vector3* dstDataPtr = vertices; 408 416 float* srcDataPtr = height; 409 417 410 for (int y = 0; y < y Count; ++y) {418 for (int y = 0; y < yNum; ++y) { 411 419 float yCoord; 412 420 413 yCoord = startY + ((endY - startY) * y) / (yCount- 1);414 for (int x = 0; x < x Count; ++x) {421 yCoord = yMin + ((yMax - yMin) * y) / (yNum - 1); 422 for (int x = 0; x < xNum; ++x) { 415 423 float xCoord; 416 424 417 xCoord = startX + ((endX - startX) * x) / (xCount- 1);425 xCoord = xMin + ((xMax - xMin) * x) / (xNum - 1); 418 426 dstDataPtr->set(xCoord, *srcDataPtr, yCoord); 419 427 … … 432 440 } 433 441 442 // Maps the data coordinates of the surface into the grid's axes. 443 void 444 HeightMap::MapToGrid(Grid *gridPtr) 445 { 446 int count = xNum_ * yNum_; 447 448 reset(); 449 450 // The range of the grid's y-axis 0..1 represents the distance between the 451 // smallest and largest major ticks for all surfaces plotted. Translate 452 // this surface's y-values (heights) into the grid's axis coordinates. 453 454 float yScale = 1.0 / (gridPtr->yAxis.max() - gridPtr->yAxis.min()); 455 float *p, *q, *pend; 456 float *normHeights = new float[count]; 457 for (p = heights_, pend = p + count, q = normHeights; p < pend; p++, q++) { 458 *q = (*p - gridPtr->yAxis.min()) * yScale; 459 } 460 Vector3 *t, *texcoord; 461 texcoord = new Vector3[count]; 462 for (t = texcoord, p = normHeights, pend = p + count; p < pend; p++, t++) { 463 t->set(0, 0, *p); 464 } 465 466 // Normalize the mesh coordinates (x and z min/max) the range of 467 // the major ticks for the x and z grid axes as well. 468 469 float xScale, zScale; 470 float xMin, xMax, zMin, zMax; 471 472 xScale = 1.0 / (gridPtr->xAxis.max() - gridPtr->xAxis.min()); 473 xMin = (xAxis.min() - gridPtr->xAxis.min()) * xScale; 474 xMax = (xAxis.max() - gridPtr->xAxis.min()) * xScale; 475 zScale = 1.0 / (gridPtr->zAxis.max() - gridPtr->zAxis.min()); 476 zMin = (zAxis.min() - gridPtr->zAxis.min()) * zScale; 477 zMax = (zAxis.max() - gridPtr->zAxis.min()) * zScale; 478 479 Vector3* vertices; 480 vertices = createHeightVertices(xMin, zMin, xMax, zMax, xNum_, yNum_, 481 normHeights); 482 483 glGenBuffers(1, &_vertexBufferObjectID); 484 glBindBuffer(GL_ARRAY_BUFFER, _vertexBufferObjectID); 485 glBufferData(GL_ARRAY_BUFFER, _vertexCount * sizeof(Vector3), vertices, 486 GL_STATIC_DRAW); 487 glGenBuffers(1, &_textureBufferObjectID); 488 glBindBuffer(GL_ARRAY_BUFFER, _textureBufferObjectID); 489 glBufferData(GL_ARRAY_BUFFER, _vertexCount * sizeof(float) * 3, texcoord, 490 GL_STATIC_DRAW); 491 glBindBuffer(GL_ARRAY_BUFFER, 0); 492 delete [] texcoord; 493 494 ContourLineFilter lineFilter; 495 //lineFilter.setColorMap(_colorMap); 496 _contour = lineFilter.create(0.0f, 1.0f, 10, vertices, xNum_, yNum_); 497 498 #if TOPCONTOUR 499 ContourLineFilter topLineFilter; 500 topLineFilter.setHeightTop(true); 501 _topContour = topLineFilter.create(0.0f, 1.0f, 10, vertices, xNum_, yNum_); 502 #endif 503 if (_indexBuffer) { 504 free(_indexBuffer); 505 } 506 this->createIndexBuffer(xNum_, yNum_, _indexBuffer, _indexCount, 507 normHeights); 508 delete [] normHeights; 509 } -
trunk/packages/vizservers/nanovis/HeightMap.h
r1000 r1111 15 15 } 16 16 17 class Grid; 18 17 19 /** 18 20 *@class HeightMap 19 21 *@brief Create a surface from height map and line contour of the generated surface 20 22 */ 23 21 24 class HeightMap { 22 25 unsigned int _vertexBufferObjectID; 23 26 unsigned int _textureBufferObjectID; 24 27 int xNum_, yNum_; // Number of elements x and y axes in grid. 28 float *heights_; // Array of original (unscaled) heights 29 // (y-values) 25 30 int _vertexCount; 26 31 CGparameter _tf; … … 59 64 void reset(); 60 65 public : 61 66 void render(graphics::RenderContext* renderContext); 62 67 /** 63 68 *@brief Create a height map with heigh values … … 70 75 *@param height a pointer value adrressing xCount * yCount values of heights 71 76 */ 72 void setHeight(float startX, float startY, float endX, float endY, int xCount, int yCount, float* height); 77 void setHeight(float startX, float startY, float endX, float endY, 78 int xCount, int yCount, float* height); 73 79 74 80 /** … … 77 83 *@param yCount the number of rows of height values 78 84 */ 79 85 void setHeight(int xCount, int yCount, Vector3* heights); 80 86 87 void MapToGrid(Grid *gridPtr); 81 88 /** 82 89 *@brief Define a color map for color shading of heightmap -
trunk/packages/vizservers/nanovis/Lic.cpp
r755 r1111 90 90 assert(glGetError()==0); 91 91 92 R2string path = R2FilePath::getInstance()->getPath("render_vel.cg"); 93 m_render_vel_fprog = loadProgram(m_g_context, CG_PROFILE_FP30, CG_SOURCE, path); 94 m_vel_tex_param_render_vel = cgGetNamedParameter(m_render_vel_fprog, "vel_tex"); 95 m_plane_normal_param_render_vel = cgGetNamedParameter(m_render_vel_fprog, "plane_normal"); 92 m_render_vel_fprog = LoadProgram(m_g_context, CG_PROFILE_FP30, CG_SOURCE, 93 NULL, "render_vel.cg"); 94 m_vel_tex_param_render_vel = cgGetNamedParameter(m_render_vel_fprog, 95 "vel_tex"); 96 m_plane_normal_param_render_vel = cgGetNamedParameter(m_render_vel_fprog, 97 "plane_normal"); 96 98 cgGLSetTextureParameter(m_vel_tex_param_render_vel, _vector_field); 97 99 -
trunk/packages/vizservers/nanovis/NvColorTableShader.cpp
r848 r1111 2 2 #include "NvColorTableShader.h" 3 3 #include <Trace.h> 4 #include <global.h> 4 5 5 6 NvColorTableShader::NvColorTableShader() … … 14 15 void NvColorTableShader::init() 15 16 { 16 R2string path = R2FilePath::getInstance()->getPath("one_plane.cg"); 17 if (path.getLength() == 0) 18 { 19 Trace("%s is not found", (const char*) path); 20 } 21 22 _cgFP = cgCreateProgramFromFile(g_context, CG_SOURCE, 23 path, CG_PROFILE_FP30, "main", NULL); 24 cgGLLoadProgram(_cgFP); 25 17 _cgFP = LoadCgSourceProgram(g_context, "one_plane.cg", CG_PROFILE_FP30, 18 "main"); 26 19 _dataParam = cgGetNamedParameter(_cgFP, "data"); 27 20 _tfParam = cgGetNamedParameter(_cgFP, "tf"); -
trunk/packages/vizservers/nanovis/NvEventLog.cpp
r599 r1111 25 25 char* logName = NULL; 26 26 int logNameLen = 0; 27 extern int debug_flag; 27 28 28 29 if (user == NULL) { … … 38 39 } 39 40 40 //open log and map stderr to log file 41 xinetd_log = fopen(logName, "w"); 42 close(2); 43 dup2(fileno(xinetd_log), 2); 44 dup2(2,1); 45 46 //flush junk 47 fflush(stdout); 48 fflush(stderr); 41 if (!debug_flag) { 42 //open log and map stderr to log file 43 xinetd_log = fopen(logName, "w"); 44 close(2); 45 dup2(fileno(xinetd_log), 2); 46 dup2(2,1); 47 //flush junk 48 fflush(stdout); 49 fflush(stderr); 50 } 49 51 50 52 // clean up malloc'd memory -
trunk/packages/vizservers/nanovis/NvLIC.cpp
r1028 r1111 23 23 #include "NvLIC.h" 24 24 #include <Trace.h> 25 #include "global.h" 25 26 26 27 NvLIC::NvLIC(int _size, int _width, int _height, float _offset, … … 110 111 glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); 111 112 112 R2string path = R2FilePath::getInstance()->getPath("render_vel.cg"); 113 m_render_vel_fprog = loadProgram(m_g_context, CG_PROFILE_FP30, CG_SOURCE, path); 114 m_vel_tex_param_render_vel = cgGetNamedParameter(m_render_vel_fprog, "vel_tex"); 115 m_plane_normal_param_render_vel = cgGetNamedParameter(m_render_vel_fprog, "plane_normal"); 113 m_render_vel_fprog = LoadCgSourceProgram(m_g_context, "render_vel.cg", 114 CG_PROFILE_FP30, "main"); 115 m_vel_tex_param_render_vel = cgGetNamedParameter(m_render_vel_fprog, 116 "vel_tex"); 117 m_plane_normal_param_render_vel = cgGetNamedParameter(m_render_vel_fprog, 118 "plane_normal"); 116 119 m_max_param = cgGetNamedParameter(m_render_vel_fprog, "vmax"); 117 120 -
trunk/packages/vizservers/nanovis/NvParticleAdvectionShader.cpp
r953 r1111 2 2 #include <Trace.h> 3 3 #include "NvParticleAdvectionShader.h" 4 #include <global.h> 4 5 5 6 NvParticleAdvectionShader::NvParticleAdvectionShader() : … … 18 19 void NvParticleAdvectionShader::init() 19 20 { 20 R2string path = R2FilePath::getInstance()->getPath("update_pos.cg"); 21 22 if (path.getLength() == 0) 23 { 24 Trace("%s is not found\n", (const char*) path); 25 } 26 27 _cgFP= cgCreateProgramFromFile(g_context, CG_SOURCE, path, 28 CG_PROFILE_FP30, "main", NULL); 29 30 31 cgGLLoadProgram(_cgFP); 32 21 _cgFP = LoadCgSourceProgram(g_context, "update_pos.cg", CG_PROFILE_FP30, 22 "main"); 33 23 _posTimestepParam = cgGetNamedParameter(_cgFP, "timestep"); 34 24 _maxParam = cgGetNamedParameter(_cgFP, "max"); -
trunk/packages/vizservers/nanovis/NvParticleRenderer.cpp
r1028 r1111 80 80 m_g_context = context; 81 81 82 R2string path = R2FilePath::getInstance()->getPath("update_pos.cg");83 m_pos_fprog = loadProgram(m_g_context, CG_PROFILE_FP30, CG_SOURCE, path);82 m_pos_fprog = LoadCgSourceProgram(m_g_context, "update_pos.cg", 83 CG_PROFILE_FP30, NULL); 84 84 m_pos_timestep_param = cgGetNamedParameter(m_pos_fprog, "timestep"); 85 85 m_vel_tex_param = cgGetNamedParameter(m_pos_fprog, "vel_tex"); -
trunk/packages/vizservers/nanovis/NvRegularVolumeShader.cpp
r870 r1111 1 #include <R2/R2FilePath.h>2 1 #include "NvRegularVolumeShader.h" 2 #include <global.h> 3 3 4 4 NvRegularVolumeShader::NvRegularVolumeShader() … … 13 13 void NvRegularVolumeShader::init() 14 14 { 15 R2string path = R2FilePath::getInstance()->getPath("one_volume.cg"); 16 _cgFP= cgCreateProgramFromFile(g_context, CG_SOURCE, path, CG_PROFILE_FP30, "main", NULL); 17 cgGLLoadProgram(_cgFP); 18 15 _cgFP = LoadCgSourceProgram(g_context, "one_volume.cg", CG_PROFILE_FP30, 16 "main"); 19 17 m_mvi_one_volume_param = cgGetNamedParameter(_cgFP, "modelViewInv"); 20 18 m_mv_one_volume_param = cgGetNamedParameter(_cgFP, "modelView"); -
trunk/packages/vizservers/nanovis/NvShader.cpp
r851 r1111 1 #include <stdio.h> 2 #include "global.h" 1 3 #include "NvShader.h" 2 #include <stdio.h>3 4 4 5 CGcontext g_context = 0; … … 10 11 11 12 NvShader::NvShader() 13 12 14 : _cgVP(0), _cgFP(0) 13 15 { … … 22 24 resetPrograms(); 23 25 24 printf("[%s] loading\n", fileName); 25 _cgVP = cgCreateProgramFromFile(g_context, CG_SOURCE, fileName, CG_PROFILE_VP30, 26 entryPoint, NULL); 27 28 cgGLLoadProgram(_cgVP); 26 _cgFP = LoadCgSourceProgram(g_context, fileName, CG_PROFILE_VP30, entryPoint); 29 27 } 30 28 31 29 void NvShader::loadFragmentProgram(const char* fileName, const char* entryPoint) 32 30 { 33 printf("[%s] loading\n", fileName); 34 _cgFP = cgCreateProgramFromFile(g_context, CG_SOURCE, fileName, CG_PROFILE_FP30, 35 entryPoint, NULL); 36 37 cgGLLoadProgram(_cgFP); 31 _cgFP = LoadCgSourceProgram(g_context, fileName, CG_PROFILE_FP30, entryPoint); 38 32 } 39 33 -
trunk/packages/vizservers/nanovis/NvStdVertexShader.cpp
r617 r1111 1 #include <R2/R2FilePath.h> 1 #include <stdio.h> 2 #include "global.h" 2 3 #include "NvStdVertexShader.h" 3 4 … … 13 14 void NvStdVertexShader::init() 14 15 { 15 R2string path = R2FilePath::getInstance()->getPath("vertex_std.cg"); 16 _cgVP= cgCreateProgramFromFile(g_context, CG_SOURCE, 17 (const char*) path, CG_PROFILE_VP30, "main", NULL); 18 cgGLLoadProgram(_cgVP); 19 16 _cgVP = LoadCgSourceProgram(g_context, "vertex_std.cg", CG_PROFILE_VP30, 17 "main"); 20 18 _mvp_vert_std_param = cgGetNamedParameter(_cgVP, "modelViewProjMatrix"); 21 19 _mvi_vert_std_param = cgGetNamedParameter(_cgVP, "modelViewInv"); -
trunk/packages/vizservers/nanovis/NvZincBlendeVolumeShader.cpp
r870 r1111 1 1 2 #include <R2/R2string.h> 3 #include <R2/R2FilePath.h> 2 3 #include <string.h> 4 #include "global.h" 4 5 #include "Nv.h" 5 6 #include "NvZincBlendeVolumeShader.h" 6 7 7 #include <string.h>8 8 9 9 NvZincBlendeVolumeShader::NvZincBlendeVolumeShader() … … 18 18 void NvZincBlendeVolumeShader::init() 19 19 { 20 R2string path = R2FilePath::getInstance()->getPath("zincblende_volume.cg"); 21 _cgFP = cgCreateProgramFromFile(g_context, CG_SOURCE, 22 (const char*) path, CG_PROFILE_FP30, "main", NULL); 23 24 cgGLLoadProgram(_cgFP); 25 20 _cgFP = LoadCgSourceProgram(g_context, "zincblende_volume.cg", 21 CG_PROFILE_FP30, "main"); 26 22 _tfParam = cgGetNamedParameter(_cgFP, "tf"); 27 23 _volumeAParam = cgGetNamedParameter(_cgFP, "volumeA"); -
trunk/packages/vizservers/nanovis/PlaneRenderer.cpp
r953 r1111 15 15 */ 16 16 17 #include <R2/R2FilePath.h>17 #include "global.h" 18 18 #include "PlaneRenderer.h" 19 19 … … 40 40 { 41 41 //plane rendering shader 42 R2string path = R2FilePath::getInstance()->getPath("one_plane.cg");43 m_fprog = loadProgram(g_context, CG_PROFILE_FP30, CG_SOURCE, path);42 m_fprog = LoadCgSourceProgram(g_context, "one_plane.cg", CG_PROFILE_FP30, 43 NULL); 44 44 m_data_param = cgGetNamedParameter(m_fprog, "data"); 45 45 m_tf_param = cgGetNamedParameter(m_fprog, "tf"); -
trunk/packages/vizservers/nanovis/PointSetRenderer.cpp
r953 r1111 17 17 { 18 18 _shader = new PointShader(); 19 R2stringpath = R2FilePath::getInstance()->getPath("particle2.bmp");20 if (path .getLength() == 0) {21 printf("ERROR : pointset file not found - %s\n", (const char*)path);19 const char *path = R2FilePath::getInstance()->getPath("particle2.bmp"); 20 if (path == NULL) { 21 fprintf(stderr, "ERROR : pointset file not found - %s\n", path); 22 22 fflush(stdout); 23 23 return; … … 26 26 ImageLoader* loader = ImageLoaderFactory::getInstance()->createLoader("bmp"); 27 27 Image* image = loader->load(path, Image::IMG_RGBA); 28 28 delete [] path; 29 29 unsigned char* bytes = (unsigned char*) image->getImageBuffer(); 30 30 if (bytes) { -
trunk/packages/vizservers/nanovis/PointShader.cpp
r1053 r1111 2 2 #include <stdio.h> 3 3 #include <stdlib.h> 4 #include "PointShader.h"4 #include <assert.h> 5 5 #include <R2/R2FilePath.h> 6 6 #include <R2/R2string.h> 7 #include "PointShader.h" 7 8 8 PointShader::PointShader() 9 : NvShader(), _normal(0) 9 PointShader::PointShader() : 10 NvShader(), 11 _normal(0) 10 12 { 11 R2string path = R2FilePath::getInstance()->getPath("pointsvp.cg"); 12 if (path.getLength() == 0) 13 { 14 path = R2FilePath::getInstance()->getPath("../examples/points/pointsvp.cg"); 15 if (path.getLength() == 0) 16 { 17 printf("ERROR : file not found [%s]\n", "pointsvp.cg"); 18 exit(1); 19 } 20 21 } 22 else 23 { 24 printf("point shader loaded...\n"); 25 fflush(stdout); 26 } 27 28 this->loadVertexProgram(path, "main"); 29 30 31 _modelviewVP = getNamedParameterFromVP("modelview"); 32 _projectionVP = getNamedParameterFromVP("projection"); 33 34 _attenVP = getNamedParameterFromVP("atten"); 35 _posoffsetVP = getNamedParameterFromVP("posoffset"); 36 _baseposVP = getNamedParameterFromVP("basepos"); 37 _scaleVP = getNamedParameterFromVP("scale"); 38 39 _normalParam = getNamedParameterFromVP("normal"); 13 this->loadVertexProgram("pointsvp.cg", "main"); 14 _modelviewVP = getNamedParameterFromVP("modelview"); 15 _projectionVP = getNamedParameterFromVP("projection"); 16 _attenVP = getNamedParameterFromVP("atten"); 17 _posoffsetVP = getNamedParameterFromVP("posoffset"); 18 _baseposVP = getNamedParameterFromVP("basepos"); 19 _scaleVP = getNamedParameterFromVP("scale"); 20 _normalParam = getNamedParameterFromVP("normal"); 40 21 } 41 22 … … 46 27 void PointShader::setParameters() 47 28 { 48 29 cgGLSetStateMatrixParameter(_modelviewVP, CG_GL_MODELVIEW_MATRIX, CG_GL_MATRIX_IDENTITY); 49 30 cgGLSetStateMatrixParameter(_projectionVP, CG_GL_PROJECTION_MATRIX, CG_GL_MATRIX_IDENTITY); 50 31 51 52 53 54 55 56 57 58 32 cgGLSetParameter1f(_attenVP, 1.0f); 33 cgGLSetParameter4f(_posoffsetVP, 1.0f, 1.0f, 1.0f, 1.0f); 34 cgGLSetParameter4f(_baseposVP, 1.0f, 1.0f, 1.0f, 1.0f); 35 cgGLSetParameter4f(_scaleVP, 1.0f, 1.0f, 1.0f, 1.0f); 36 37 //cgGLSetTextureParameter(_normalParam,_normal->getGraphicsObjectID()); 38 //cgGLEnableTextureParameter(_normalParam); 39 59 40 } 60 41 61 42 void PointShader::resetParameters() 62 43 { 63 44 //cgGLDisableTextureParameter(_normalParam); 64 45 } -
trunk/packages/vizservers/nanovis/R2/include/R2/R2FilePath.h
r611 r1111 6 6 7 7 class R2FilePath { 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 8 typedef std::list<R2string> R2stringList; 9 typedef std::list<R2string>::iterator R2stringListIter; 10 11 /** 12 * @brief application directory 13 */ 14 static R2string _curDirectory; 15 16 /** 17 * @brief R2FilePath instance 18 */ 19 static R2FilePath _instance; 20 21 /** 22 * @brief all default file paths 23 */ 24 R2stringList _pathList; 25 25 public : 26 27 28 29 30 31 32 33 34 35 36 R2stringgetPath(const char* fileName);37 38 39 40 41 42 void setPath(const R2string& filePath);43 26 /** 27 * @brief constructor 28 */ 29 R2FilePath(); 30 31 /** 32 * @brief find a file whose name is fileName and return its full path 33 * @param fileName a file name 34 * @return return full path of the file, but if not found, return "" 35 */ 36 const char *getPath(const char* fileName); 37 38 /** 39 * @brief set default data paths 40 * @param filePath all default paths separated by colon(:) 41 */ 42 bool setPath(const char *path); 43 44 44 /** 45 45 * … … 47 47 void setWorkingDirectory(int argc, const char** argv); 48 48 public : 49 50 /** 51 * @brief get R2FilePath instance 52 */ 53 static R2FilePath* getInstance(); 54 49 50 /** 51 * @brief get R2FilePath instance 52 */ 53 static R2FilePath* getInstance(); 55 54 }; 56 55 -
trunk/packages/vizservers/nanovis/R2/include/R2/R2Fonts.h
r953 r1111 10 10 11 11 struct R2FontAttributes { 12 R2string_fontName;12 char *_fontName; 13 13 R2int32 _textureWidth; 14 14 R2int32 _textureHeight; -
trunk/packages/vizservers/nanovis/R2/src/R2FilePath.cpp
r1053 r1111 5 5 #include <direct.h> 6 6 #endif 7 #include <stdio.h> 8 #include <sys/types.h> 9 #include <sys/stat.h> 7 10 #include <unistd.h> 8 #include <stdio.h>9 11 10 12 R2string R2FilePath::_curDirectory; … … 12 14 13 15 char seps[] = ":"; 16 14 17 R2FilePath::R2FilePath() 15 18 { 16 19 char buff[255]; 17 20 #ifdef WIN32 18 21 _getcwd(buff, 255); 19 22 #else 20 23 getcwd(buff, 100); 21 24 #endif 25 int length = strlen(buff); 26 buff[length] = '/'; 27 buff[length + 1] = '\0'; 22 28 23 int length = strlen(buff); 24 buff[length] = '/'; 25 buff[length + 1] = '\0'; 26 27 _curDirectory = buff; 29 _curDirectory = buff; 28 30 29 31 } 30 32 31 void R2FilePath::setPath(const R2string& filePath) 33 bool 34 R2FilePath::setPath(const char *filePath) 32 35 { 33 36 char buff[255]; 34 37 35 _pathList.clear(); 38 if (filePath == NULL) { 39 return false; 40 } 41 _pathList.clear(); 36 42 37 char *token; 38 strcpy(buff, filePath); 39 token = strtok(buff, seps ); 40 43 char *p; 44 strcpy(buff, filePath); 45 for (p = strtok(buff, seps); p != NULL; p = strtok(NULL, seps)) { 41 46 int lastIndex; 42 while( token != NULL ) 43 { 44 lastIndex = strlen(token) - 1; 45 //if (token[0] == '/' || token[1] == ':') 46 if (token[0] == '/') 47 { 48 if (token[lastIndex] == '/' || token[lastIndex] == '\\') 49 { 50 _pathList.push_back(R2string(token)); 51 } 52 else 53 { 54 _pathList.push_back(R2string(token) + "/"); 55 } 56 57 } 58 else 59 { 60 if (token[lastIndex] == '/' || token[lastIndex] == '\\') 61 { 62 _pathList.push_back(_curDirectory + R2string(token)); 63 } 64 else 65 { 66 _pathList.push_back(_curDirectory + R2string(token) + "/"); 67 } 68 69 70 } 71 token = strtok( NULL, seps ); 47 char *last; 48 struct stat buf; 49 if ((stat(p, &buf) != 0) || (!S_ISDIR(buf.st_mode))) { 50 return false; 72 51 } 52 last = p + strlen(p) - 1; 53 if (*p == '/') { 54 if (*last == '/' || *last == '\\') { 55 _pathList.push_back(R2string(p)); 56 } else { 57 _pathList.push_back(R2string(p) + "/"); 58 } 59 } else { 60 if (*last == '/' || *last == '\\') { 61 _pathList.push_back(_curDirectory + R2string(p)); 62 } else { 63 _pathList.push_back(_curDirectory + R2string(p) + "/"); 64 } 65 } 66 } 67 return true; 73 68 } 74 69 75 70 R2FilePath* R2FilePath::getInstance() 76 71 { 77 72 return &_instance; 78 73 } 79 74 80 R2string R2FilePath::getPath(const char* fileName) 75 const char * 76 R2FilePath::getPath(const char* fileName) 81 77 { 82 R2string path; 83 FILE* file; 78 R2string path; 84 79 85 86 for (iter = _pathList.begin(); iter != _pathList.end(); ++iter) 87 88 chdir(*iter);80 R2stringListIter iter; 81 int nameLength = strlen(fileName); 82 for (iter = _pathList.begin(); iter != _pathList.end(); ++iter) { 83 char *path; 89 84 90 if ((file = fopen(fileName, "rb")) != NULL) 91 { 92 fclose(file); 93 94 path = (*iter) + fileName; 95 96 break; 97 } 98 85 path = new char[strlen((char *)(*iter)) + 1 + nameLength + 1]; 86 sprintf(path, "%s/%s", (char *)(*iter), fileName); 87 if (access(path, R_OK) == 0) { 88 return path; 99 89 } 100 101 chdir(_curDirectory); 102 103 return path; 90 delete [] path; 91 } 92 return NULL; 104 93 } 105 94 106 void R2FilePath::setWorkingDirectory(int argc, const char** argv) 95 void 96 R2FilePath::setWorkingDirectory(int argc, const char** argv) 107 97 { 108 98 char buff[255]; 99 109 100 strcpy(buff, argv[0]); 110 for (int i = strlen(buff) - 1; i >= 0; --i) 111 { 112 if (buff[i] == '\\' || buff[i] == '/') 113 { 114 buff[i] = '/'; 115 buff[i + 1] = '\0'; 116 break; 117 } 101 for (int i = strlen(buff) - 1; i >= 0; --i) { 102 if (buff[i] == '\\' || buff[i] == '/') { 103 buff[i] = '/'; 104 buff[i + 1] = '\0'; 105 break; 106 } 118 107 } 119 120 _curDirectory = buff; 108 _curDirectory = buff; 121 109 } 122 110 -
trunk/packages/vizservers/nanovis/R2/src/R2Fonts.cpp
r953 r1111 25 25 R2Fonts::setFont(const char* fontName) 26 26 { 27 for (unsigned index = 0; index < _fonts.size(); ++index) { 28 if (_fonts[index]._fontName == fontName) { 29 _fontIndex = index; 30 break; 31 } 27 if (fontName != NULL) { 28 unsigned int i; 29 for (i = 0; i < _fonts.size(); ++i) { 30 if (strcmp(_fonts[i]._fontName, fontName) == 0) { 31 _fontIndex = i; 32 break; 33 } 34 } 32 35 } 33 36 } … … 134 137 { 135 138 R2bool bSuccess = false; 136 R2string path = R2FilePath::getInstance()->getPath(fontFileName); 137 138 std::ifstream fsInput((const char*) path, std::ios::binary); 139 140 const char *path = R2FilePath::getInstance()->getPath(fontFileName); 141 if (path == NULL) { 142 return false; 143 } 144 std::ifstream fsInput(path, std::ios::binary); 139 145 if (fsInput) { 140 sFont._fontName = fontName; 141 146 sFont._fontName = new char [strlen(fontName)+1]; 147 strcpy(sFont._fontName, fontName); 148 142 149 // make sure this file is the correct type by checking the header 143 150 unsigned int uiFileId = 0; … … 219 226 fsInput.close( ); 220 227 } 221 228 delete [] path; 222 229 return bSuccess; 223 230 } -
trunk/packages/vizservers/nanovis/VolumeInterpolator.cpp
r932 r1111 146 146 volume->n_components, 147 147 volume->_data, 148 volume->wAxis. Min(),149 volume->wAxis. Max(),148 volume->wAxis.min(), 149 volume->wAxis.max(), 150 150 volume->nonzero_min); 151 151 _referenceOfVolume = volumeId; -
trunk/packages/vizservers/nanovis/VolumeRenderer.cpp
r1053 r1111 37 37 init_shaders(); 38 38 39 R2string path = R2FilePath::getInstance()->getPath("Font.bmp"); 40 init_font((const char*) path); 41 39 const char *path = R2FilePath::getInstance()->getPath("Font.bmp"); 40 if (path == NULL) { 41 fprintf(stderr, "can't find Font.bmp\n"); 42 assert(path != NULL); 43 } 44 init_font(path); 45 delete [] path; 42 46 _volumeInterpolator = new VolumeInterpolator(); 43 47 } -
trunk/packages/vizservers/nanovis/global.h
r835 r1111 40 40 41 41 42 inline CGprogram43 loadProgram(CGcontext context, CGprofile profile, CGenum program_type,44 char *filename)45 {46 CGprogram program = cgCreateProgramFromFile(context, program_type, filename,47 profile, NULL, NULL);48 cgGLLoadProgram(program);49 return program;50 }51 52 42 inline void 53 43 draw_quad(int w, int h, int tw, int th) … … 74 64 "-----------------------------------------------------------\n"); 75 65 } 66 67 extern CGprogram LoadCgSourceProgram(CGcontext context, const char *filename, 68 CGprofile profile, const char *entryPoint); 69 76 70 #endif -
trunk/packages/vizservers/nanovis/nanovis.cpp
r1089 r1111 23 23 #include <sstream> 24 24 #include <string> 25 #include <memory.h> 25 26 #include <time.h> 26 27 #include <sys/time.h> … … 100 101 NvLIC* NanoVis::licRenderer = 0; 101 102 103 FILE *NanoVis::stdin = NULL; 104 FILE *NanoVis::logfile = NULL; 105 102 106 bool NanoVis::lic_on = false; 103 107 bool NanoVis::particle_on = false; … … 122 126 float color_table[256][4]; 123 127 128 int debug_flag = false; 124 129 /* 125 130 #ifdef XINETD … … 274 279 } 275 280 281 282 CGprogram 283 LoadCgSourceProgram(CGcontext context, const char *fileName, CGprofile profile, 284 const char *entryPoint) 285 { 286 const char *path = R2FilePath::getInstance()->getPath(fileName); 287 if (path == NULL) { 288 fprintf(stderr, "can't find program \"%s\"\n", fileName); 289 assert(path != NULL); 290 } 291 CGprogram program; 292 program = cgCreateProgramFromFile(context, CG_SOURCE, path, profile, 293 entryPoint, NULL); 294 delete [] path; 295 cgGLLoadProgram(program); 296 return program; 297 } 276 298 277 299 /* Load a 3D volume … … 621 643 fprintf(stderr, "Graphics hardware: %s\n", glGetString(GL_RENDERER)); 622 644 fprintf(stderr, "-----------------------------------------------------------\n"); 623 645 if (path == NULL) { 646 fprintf(stderr, "no path defined for shaders or resources\n"); 647 fflush(stderr); 648 exit(1); 649 } 624 650 // init GLEW 625 651 GLenum err = glewInit(); … … 632 658 fprintf(stdout, "Status: Using GLEW %s\n", glewGetString(GLEW_VERSION)); 633 659 634 if (path) 635 { 636 R2FilePath::getInstance()->setPath(path); 660 if (!R2FilePath::getInstance()->setPath(path)) { 661 fprintf(stderr, "can't set file path to %s\n", path); 662 fflush(stderr); 663 exit(1); 637 664 } 638 665 … … 1447 1474 continue; 1448 1475 } 1449 if (xMin > volPtr->xAxis. Min()) {1450 xMin = volPtr->xAxis. Min();1451 } 1452 if (xMax < volPtr->xAxis. Max()) {1453 xMax = volPtr->xAxis. Max();1454 } 1455 if (yMin > volPtr->yAxis. Min()) {1456 yMin = volPtr->yAxis. Min();1457 } 1458 if (yMax < volPtr->yAxis. Max()) {1459 yMax = volPtr->yAxis. Max();1460 } 1461 if (zMin > volPtr->zAxis. Min()) {1462 zMin = volPtr->zAxis. Min();1463 } 1464 if (zMax < volPtr->zAxis. Max()) {1465 zMax = volPtr->zAxis. Max();1466 } 1467 if (wMin > volPtr->wAxis. Min()) {1468 wMin = volPtr->wAxis. Min();1469 } 1470 if (wMax < volPtr->wAxis. Max()) {1471 wMax = volPtr->wAxis. Max();1476 if (xMin > volPtr->xAxis.min()) { 1477 xMin = volPtr->xAxis.min(); 1478 } 1479 if (xMax < volPtr->xAxis.max()) { 1480 xMax = volPtr->xAxis.max(); 1481 } 1482 if (yMin > volPtr->yAxis.min()) { 1483 yMin = volPtr->yAxis.min(); 1484 } 1485 if (yMax < volPtr->yAxis.max()) { 1486 yMax = volPtr->yAxis.max(); 1487 } 1488 if (zMin > volPtr->zAxis.min()) { 1489 zMin = volPtr->zAxis.min(); 1490 } 1491 if (zMax < volPtr->zAxis.max()) { 1492 zMax = volPtr->zAxis.max(); 1493 } 1494 if (wMin > volPtr->wAxis.min()) { 1495 wMin = volPtr->wAxis.min(); 1496 } 1497 if (wMax < volPtr->wAxis.max()) { 1498 wMax = volPtr->wAxis.max(); 1472 1499 } 1473 1500 } … … 1502 1529 continue; 1503 1530 } 1504 if (xMin > hmPtr->xAxis. Min()) {1505 xMin = hmPtr->xAxis. Min();1506 } 1507 if (xMax < hmPtr->xAxis. Max()) {1508 xMax = hmPtr->xAxis. Max();1509 } 1510 if (yMin > hmPtr->yAxis. Min()) {1511 yMin = hmPtr->yAxis. Min();1512 } 1513 if (yMax < hmPtr->yAxis. Max()) {1514 yMax = hmPtr->yAxis. Max();1515 } 1516 if (zMin > hmPtr->zAxis. Min()) {1517 zMin = hmPtr->zAxis. Min();1518 } 1519 if (zMax < hmPtr->zAxis. Max()) {1520 zMax = hmPtr->zAxis. Max();1521 } 1522 if (wMin > hmPtr->wAxis. Min()) {1523 wMin = hmPtr->wAxis. Min();1524 } 1525 if (wMax < hmPtr->wAxis. Max()) {1526 wMax = hmPtr->wAxis. Max();1531 if (xMin > hmPtr->xAxis.min()) { 1532 xMin = hmPtr->xAxis.min(); 1533 } 1534 if (xMax < hmPtr->xAxis.max()) { 1535 xMax = hmPtr->xAxis.max(); 1536 } 1537 if (yMin > hmPtr->yAxis.min()) { 1538 yMin = hmPtr->yAxis.min(); 1539 } 1540 if (yMax < hmPtr->yAxis.max()) { 1541 yMax = hmPtr->yAxis.max(); 1542 } 1543 if (zMin > hmPtr->zAxis.min()) { 1544 zMin = hmPtr->zAxis.min(); 1545 } 1546 if (zMax < hmPtr->zAxis.max()) { 1547 zMax = hmPtr->zAxis.max(); 1548 } 1549 if (wMin > hmPtr->wAxis.min()) { 1550 wMin = hmPtr->wAxis.min(); 1551 } 1552 if (wMax < hmPtr->wAxis.max()) { 1553 wMax = hmPtr->wAxis.max(); 1527 1554 } 1528 1555 } … … 1537 1564 } 1538 1565 if ((wMin < DBL_MAX) && (wMax > -DBL_MAX)) { 1539 HeightMap::valueMin = wMin; 1540 HeightMap::valueMax = wMax; 1566 HeightMap::valueMin = grid->yAxis.min(); 1567 HeightMap::valueMax = grid->yAxis.max(); 1568 } 1569 for (unsigned int i = 0; i < heightMap.size(); i++) { 1570 HeightMap *hmPtr; 1571 1572 hmPtr = heightMap[i]; 1573 if (hmPtr == NULL) { 1574 continue; 1575 } 1576 hmPtr->MapToGrid(grid); 1541 1577 } 1542 1578 HeightMap::update_pending = false; … … 1834 1870 init_service() 1835 1871 { 1836 //open log and map stderr to log file 1837 xinetd_log = fopen("/tmp/log.txt", "w"); 1838 close(2); 1839 dup2(fileno(xinetd_log), 2); 1840 dup2(2,1); 1841 1872 if (!debug_flag) { 1873 //open log and map stderr to log file 1874 xinetd_log = fopen("/tmp/log.txt", "w"); 1875 close(2); 1876 dup2(fileno(xinetd_log), 2); 1877 dup2(2,1); 1878 } 1842 1879 //flush junk 1843 1880 fflush(stdout); … … 1893 1930 main(int argc, char** argv) 1894 1931 { 1895 char *path; 1932 const char *path; 1933 char *newPath; 1934 1935 newPath = NULL; 1896 1936 path = NULL; 1897 while(1) { 1898 int c; 1899 int option_index = 0; 1900 struct option long_options[] = { 1901 // name, has_arg, flag, val 1902 { 0,0,0,0 }, 1903 }; 1904 1905 c = getopt_long(argc, argv, "+p:", long_options, &option_index); 1937 NanoVis::stdin = stdin; 1938 NanoVis::logfile = stderr; 1939 opterr = 1; 1940 while (1) { 1941 static struct option long_options[] = { 1942 {"infile", required_argument, NULL, 0}, 1943 {"logfile", required_argument, NULL, 1}, 1944 {"path", required_argument, NULL, 2}, 1945 {"debug", no_argument, NULL, 3}, 1946 {0, 0, 0, 0} 1947 }; 1948 int option_index = 0; 1949 int c; 1950 1951 c = getopt_long(argc, argv, ":dp:i:l:", long_options, &option_index); 1906 1952 if (c == -1) { 1907 1953 break; 1908 1954 } 1909 switch(c) { 1910 case 'p': 1955 switch (c) { 1956 case '?': 1957 fprintf(stderr, "unknown option -%c\n", optopt); 1958 return 1; 1959 case ':': 1960 if (optopt < 4) { 1961 fprintf(stderr, "argument missing for --%s option\n", 1962 long_options[optopt].name); 1963 } else { 1964 fprintf(stderr, "argument missing for -%c option\n", optopt); 1965 } 1966 return 1; 1967 case 2: 1968 case 'p': 1911 1969 path = optarg; 1912 break; 1913 default: 1914 fprintf(stderr,"Don't know what option '%c'.\n", c); 1970 break; 1971 case 3: 1972 case 'd': 1973 debug_flag = true; 1974 break; 1975 case 0: 1976 case 'i': 1977 fprintf(stderr, "opening infile %s\n", optarg); 1978 NanoVis::stdin = fopen(optarg, "r"); 1979 if (NanoVis::stdin == NULL) { 1980 perror(optarg); 1981 return 2; 1982 } 1983 break; 1984 case 1: 1985 case 'l': 1986 fprintf(stderr, "opening logfile %s\n", optarg); 1987 NanoVis::logfile = fopen(optarg, "w"); 1988 if (NanoVis::logfile == NULL) { 1989 perror(optarg); 1990 return 2; 1991 } 1992 break; 1993 default: 1994 fprintf(stderr,"unknown option '%c'.\n", c); 1915 1995 return 1; 1916 1996 } 1917 } 1918 1997 } 1998 if (path == NULL) { 1999 char *p; 2000 2001 // See if we can derive the path from the location of the program. 2002 // Assume program is in the form <path>/bin/nanovis. 2003 2004 path = argv[0]; 2005 p = strrchr(path, '/'); 2006 if (p != NULL) { 2007 *p = '\0'; 2008 p = strrchr(path, '/'); 2009 } 2010 if (p == NULL) { 2011 fprintf(stderr, "path not specified\n"); 2012 return 1; 2013 } 2014 *p = '\0'; 2015 newPath = new char[(strlen(path) + 15) * 2 + 1]; 2016 sprintf(newPath, "%s/lib/shaders:%s/lib/resources", path, path); 2017 path = newPath; 2018 } 1919 2019 R2FilePath::getInstance()->setWorkingDirectory(argc, (const char**) argv); 1920 2020 … … 1943 2043 1944 2044 NanoVis::init(path); 2045 if (newPath != NULL) { 2046 delete [] newPath; 2047 } 1945 2048 NanoVis::initGL(); 1946 2049 initTcl(); … … 1955 2058 1956 2059 NvExit(); 1957 1958 2060 return 0; 1959 2061 } -
trunk/packages/vizservers/nanovis/nanovis.h
r1053 r1111 172 172 #endif 173 173 174 static FILE *stdin, *logfile; 175 174 176 static void read_screen(void) { 175 177 glReadPixels(0, 0, win_width, win_height, GL_RGB, GL_UNSIGNED_BYTE, … … 181 183 }; 182 184 185 183 186 #endif /* __NANOVIS_H__ */ -
trunk/packages/vizservers/pymolproxy/pymolproxy.c
r1072 r1111 825 825 826 826 static int 827 LoadPDB StrCmd(ClientData cdata, Tcl_Interp *interp, int argc,827 LoadPDB2Cmd(ClientData cdata, Tcl_Interp *interp, int argc, 828 828 const char *argv[]) 829 829 { 830 const char *pdbdata, *pdb, *name; 831 char *buf; 832 char buffer[800]; 833 struct pymol_proxy *pymol = (struct pymol_proxy *) cdata; 830 const char *pdbdata, *name; 831 PymolProxy *pymol = (PymolProxy *) cdata; 834 832 int state = 1; 835 833 int tmpf; … … 841 839 842 840 clear_error(pymol); 843 841 pdbdata = name = NULL; /* Suppress compiler warning. */ 844 842 for(arg = 1; arg < argc; arg++) { 845 843 if ( strcmp(argv[arg],"-defer") == 0 ) … … 850 848 pdbdata = argv[arg]; 851 849 varg++; 852 } 853 else if (varg == 2) { 850 } else if (varg == 2) { 854 851 name = argv[arg]; 855 852 varg++; 856 } 857 else if (varg == 3) { 853 } else if (varg == 3) { 858 854 state = atoi( argv[arg] ); 859 855 varg++; … … 874 870 sendf(pymol, "load %s, %s, %d\n", filename, name, state); 875 871 sendf(pymol, "zoom buffer=2\n"); 876 872 /* Can't clean up the temporary file, since we don't when pymol will be 873 * done reading it. */ 877 874 return(pymol->status); 878 875 } … … 959 956 clear_error(pymol); 960 957 961 for(arg = 1; arg < argc; arg++) 962 { 963 if (strcmp(argv[arg],"-defer") == 0) 964 defer = 1; 965 else if (strcmp(argv[arg],"-push") == 0) 966 push = 1; 967 else if (varg == 1) { 968 turnx = atof(argv[arg]); 969 varg++; 970 } 971 else if (varg == 2) { 972 turny = atof(argv[arg]); 973 varg++; 974 } 975 else if (varg == 3) { 976 turnz = atof(argv[arg]); 977 varg++; 978 } 979 } 980 958 for(arg = 1; arg < argc; arg++) { 959 if (strcmp(argv[arg],"-defer") == 0) { 960 defer = 1; 961 } else if (strcmp(argv[arg],"-push") == 0) { 962 push = 1; 963 } else if (varg == 1) { 964 turnx = atof(argv[arg]); 965 varg++; 966 } else if (varg == 2) { 967 turny = atof(argv[arg]); 968 varg++; 969 } else if (varg == 3) { 970 turnz = atof(argv[arg]); 971 varg++; 972 } 973 } 981 974 pymol->need_update = !defer || push; 982 975 pymol->immediate_update |= push; … … 1005 998 clear_error(pymol); 1006 999 1007 for(arg = 1; arg < argc; arg++) 1008 { 1009 if (strcmp(argv[arg],"-defer") == 0) 1010 defer = 1; 1011 else if (strcmp(argv[arg],"-push") == 0) 1012 push = 1; 1013 else if (varg == 1) { 1014 factor = atof(argv[arg]); 1015 varg++; 1016 } 1017 } 1018 1000 for(arg = 1; arg < argc; arg++) { 1001 if (strcmp(argv[arg],"-defer") == 0) 1002 defer = 1; 1003 else if (strcmp(argv[arg],"-push") == 0) 1004 push = 1; 1005 else if (varg == 1) { 1006 factor = atof(argv[arg]); 1007 varg++; 1008 } 1009 } 1019 1010 zmove = factor * -75; 1020 1011 … … 1224 1215 Tcl_CreateCommand(interp, "zoom", ZoomCmd, &pymol, NULL); 1225 1216 Tcl_CreateCommand(interp, "loadpdb", LoadPDBCmd, &pymol, NULL); 1217 Tcl_CreateCommand(interp, "loadpdb2", LoadPDB2Cmd, &pymol, NULL); 1226 1218 Tcl_CreateCommand(interp, "ballnstick",BallNStickCmd, &pymol, NULL); 1227 1219 Tcl_CreateCommand(interp, "spheres", SpheresCmd, &pymol, NULL); -
trunk/packages/vizservers/start_viz.sh.in
r985 r1111 4 4 export DISPLAY 5 5 6 install_dir=@prefix@ 7 nanoscalePort=2000 8 nanovisPort=2000 9 pymolPort=2020 6 broadcast="192.168.200.255" 7 install_dir="@prefix@" 8 nanoscale_port=2000 9 nanovis_port=2000 10 pymol_port=2020 10 11 11 12 dir=$( mktemp -d /tmp/nanorun.XXXXXX ) … … 16 17 export PATH LD_LIBRARY_PATH PYMOL_PATH 17 18 19 nanoscale="${dir}/bin/nanoscale -b $nanoscale_port -s $broadcast" 20 nanovis="${dir}/bin/nanovis -p ${dir}/lib/shaders:${dir}/lib/resources" 21 pymolproxy="${dir}/bin/pymolproxy ${dir}/bin/pymol -p -q -i -x -X 0 -Y 0" 22 18 23 cp -r ${install_dir}/* ${dir} 19 24 … … 23 28 ulimit -t $(expr ${minutes} \* 60 ) 24 29 25 #${dir}/bin/nanoscale -d -b ${nanoscalePort} -s 192.168.200.255 -l ${nanovisPort} -c "${dir}/bin/nanovis -p ${dir}/lib/shaders:${dir}/lib/resources" 26 #${dir}/bin/nanoscale -d -b ${nanoscalePort} -s 192.168.200.255 -l ${pymolPort} -c "${dir}/bin/pymolproxy ${dir}/bin/pymol -p -q -i -x -X 0 -Y 0" 27 ${dir}/bin/nanoscale -b ${nanoscalePort} -s 192.168.200.255 -l ${nanovisPort} -c "${dir}/bin/nanovis -p ${dir}/lib/shaders:${dir}/lib/resources" -l ${pymolPort} -c "${dir}/bin/pymolproxy ${dir}/bin/pymol -p -q -i -x -X 0 -Y 0" 30 #$nanoscale -d -l $nanovis_port -c $nanovis 31 #$nanoscale -d -l $pymol_port -c $pymolproxy 32 33 #echo "$nanoscale -l $nanovis_port -c \"$nanovis\" -l $pymol_port -c \"$pymolproxy\"" 34 #$nanoscale -l $nanovis_port -c "$nanovis" -l $pymol_port -c "$pymolproxy" 35 36 echo "$nanoscale -l $nanovis_port -c \"$nanovis\"" 37 $nanoscale -l $nanovis_port -c "$nanovis"
Note: See TracChangeset
for help on using the changeset viewer.