- Timestamp:
- May 24, 2010, 3:48:01 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r1228 r1733 35 35 36 36 ifneq ($(ENABLE_GUI),) 37 TARGETS += gui lang lib examples37 TARGETS += gui lang lib instant examples 38 38 endif 39 39 … … 43 43 44 44 all: $(TARGETS) 45 46 src: 47 $(MAKE) -C src all 48 gui: 49 $(MAKE) -C gui all 50 lang: 51 $(MAKE) -C lang all 52 examples: 53 $(MAKE) -C examples all 54 lib: 55 $(MAKE) -C lib all 45 for i in $(TARGETS) ; do \ 46 $(MAKE) -C $$i all || exit 1 ;\ 47 done 56 48 test: 57 49 #$(MAKE) -C test all … … 62 54 done 63 55 64 clean: 65 $(MAKE) -C examples clean 66 $(MAKE) -C gui clean 67 $(MAKE) -C lang clean 68 $(MAKE) -C lib clean 69 $(MAKE) -C src clean 70 $(MAKE) -C test clean 56 clean: 57 $(RM) Makefile config.status config.log *~ 58 for i in $(TARGETS) ; do \ 59 $(MAKE) -C $$i clean || exit 1 ;\ 60 done 71 61 72 distclean: 73 $(MAKE) -C examples distclean 74 $(MAKE) -C gui distclean 75 $(MAKE) -C lang distclean 76 $(MAKE) -C lib distclean 77 $(MAKE) -C src distclean 78 $(MAKE) -C test distclean 62 distclean: clean 79 63 $(RM) Makefile config.status config.log *~ 64 for i in $(TARGETS) ; do \ 65 $(MAKE) -C $$i distclean || exit 1 ;\ 66 done 80 67 81 68 package: -
trunk/configure
r1723 r1733 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 1for Rappture 1.1.3 # Generated by GNU Autoconf 2.65 for Rappture 1.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # 7 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 10 # Inc. 11 # 12 # 9 13 # This configure script is free software; the Free Software Foundation 10 14 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. 13 ## -------------------- -##15 ## -------------------- ## 16 ## M4sh Initialization. ## 17 ## -------------------- ## 14 18 15 19 # Be more Bourne compatible 16 20 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 22 emulate sh 19 23 NULLCMD=: 20 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 25 # is contrary to our usage. Disable this feature. 22 26 alias -g '${1+"$@"}'='"$@"' 23 27 setopt NO_GLOB_SUBST 24 28 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 27 34 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 35 fi 36 37 38 as_nl=' 39 ' 40 export as_nl 41 # Printing a long string crashes Solaris 7 /usr/bin/printf. 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54 else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74 fi 41 75 42 76 # The user is always right. 43 77 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 53 fi 54 55 # Support unset when possible. 56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 57 as_unset=unset 58 else 59 as_unset=false 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 60 83 fi 61 84 … … 66 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 67 90 # splitting by setting IFS to empty value.) 68 as_nl='69 '70 91 IFS=" "" $as_nl" 71 92 72 93 # Find who we are. Look in the path if we contain no directory separator. 73 case $0 in 94 case $0 in #(( 74 95 *[\\/]* ) as_myself=$0 ;; 75 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 78 99 IFS=$as_save_IFS 79 100 test -z "$as_dir" && as_dir=. 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break81 done101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 82 103 IFS=$as_save_IFS 83 104 … … 90 111 fi 91 112 if test ! -f "$as_myself"; then 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93 { (exit 1); exit 1; } 94 fi 95 96 # Work around bugs in pre-3.0 UWIN ksh. 97 for as_var in ENV MAIL MAILPATH 98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115 fi 116 117 # Unset variables that we do not need and which cause bugs (e.g. in 118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119 # suppresses any "Segmentation fault" message there. '((' could 120 # trigger a bug in pdksh 5.2.14. 121 for as_var in BASH_ENV ENV MAIL MAILPATH 122 do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 99 124 done 100 125 PS1='$ ' … … 103 128 104 129 # 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 130 LC_ALL=C 131 export LC_ALL 132 LANGUAGE=C 133 export LANGUAGE 134 135 # CDPATH. 136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138 if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146 else 147 case \`(set -o) 2>/dev/null\` in #( 148 *posix*) : 149 set -o posix ;; #( 150 *) : 151 ;; 152 esac 153 fi 154 " 155 as_required="as_fn_return () { (exit \$1); } 156 as_fn_success () { as_fn_return 0; } 157 as_fn_failure () { as_fn_return 1; } 158 as_fn_ret_success () { return 0; } 159 as_fn_ret_failure () { return 1; } 160 161 exitcode=0 162 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168 else 169 exitcode=1; echo positional parameters were not saved. 170 fi 171 test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176 test \$(( 1 + 1 )) = 2 || exit 1" 177 if (eval "$as_required") 2>/dev/null; then : 178 as_have_required=yes 179 else 180 as_have_required=no 181 fi 182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 183 184 else 185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 186 as_found=false 187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 109 188 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 189 IFS=$as_save_IFS 190 test -z "$as_dir" && as_dir=. 191 as_found=: 192 case $as_dir in #( 193 /*) 194 for as_base in sh bash ksh sh5; do 195 # Try only shells that exist, to save several forks. 196 as_shell=$as_dir/$as_base 197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 CONFIG_SHELL=$as_shell as_have_required=yes 200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 201 break 2 202 fi 203 fi 204 done;; 205 esac 206 as_found=false 207 done 208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 210 CONFIG_SHELL=$SHELL as_have_required=yes 211 fi; } 212 IFS=$as_save_IFS 213 214 215 if test "x$CONFIG_SHELL" != x; then : 216 # We cannot yet assume a decent shell, so we have to provide a 217 # neutralization value for shells without unset; and this also 218 # works around shells that cannot unset nonexistent variables. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 224 fi 225 226 if test x$as_have_required = xno; then : 227 $as_echo "$0: This script requires a shell more modern than all" 228 $as_echo "$0: the shells that I found on your system." 229 if test x${ZSH_VERSION+set} = xset ; then 230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 231 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 112 232 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 233 $as_echo "$0: Please tell bug-autoconf@gnu.org and 234 $0: rappture@nanohub.org about your system, including any 235 $0: error possibly output before this message. Then install 236 $0: a modern shell, or manually run the script under such a 237 $0: shell if you do have one." 114 238 fi 115 done 116 117 # Required to use basename. 239 exit 1 240 fi 241 fi 242 fi 243 SHELL=${CONFIG_SHELL-/bin/sh} 244 export SHELL 245 # Unset more variables known to interfere with behavior of common tools. 246 CLICOLOR_FORCE= GREP_OPTIONS= 247 unset CLICOLOR_FORCE GREP_OPTIONS 248 249 ## --------------------- ## 250 ## M4sh Shell Functions. ## 251 ## --------------------- ## 252 # as_fn_unset VAR 253 # --------------- 254 # Portably unset VAR. 255 as_fn_unset () 256 { 257 { eval $1=; unset $1;} 258 } 259 as_unset=as_fn_unset 260 261 # as_fn_set_status STATUS 262 # ----------------------- 263 # Set $? to STATUS, without forking. 264 as_fn_set_status () 265 { 266 return $1 267 } # as_fn_set_status 268 269 # as_fn_exit STATUS 270 # ----------------- 271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 272 as_fn_exit () 273 { 274 set +e 275 as_fn_set_status $1 276 exit $1 277 } # as_fn_exit 278 279 # as_fn_mkdir_p 280 # ------------- 281 # Create "$as_dir" as a directory, including parents if necessary. 282 as_fn_mkdir_p () 283 { 284 285 case $as_dir in #( 286 -*) as_dir=./$as_dir;; 287 esac 288 test -d "$as_dir" || eval $as_mkdir_p || { 289 as_dirs= 290 while :; do 291 case $as_dir in #( 292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 293 *) as_qdir=$as_dir;; 294 esac 295 as_dirs="'$as_qdir' $as_dirs" 296 as_dir=`$as_dirname -- "$as_dir" || 297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 298 X"$as_dir" : 'X\(//\)[^/]' \| \ 299 X"$as_dir" : 'X\(//\)$' \| \ 300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 301 $as_echo X"$as_dir" | 302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 303 s//\1/ 304 q 305 } 306 /^X\(\/\/\)[^/].*/{ 307 s//\1/ 308 q 309 } 310 /^X\(\/\/\)$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\).*/{ 315 s//\1/ 316 q 317 } 318 s/.*/./; q'` 319 test -d "$as_dir" && break 320 done 321 test -z "$as_dirs" || eval "mkdir $as_dirs" 322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 323 324 325 } # as_fn_mkdir_p 326 # as_fn_append VAR VALUE 327 # ---------------------- 328 # Append the text in VALUE to the end of the definition contained in VAR. Take 329 # advantage of any shell optimizations that allow amortized linear growth over 330 # repeated appends, instead of the typical quadratic growth present in naive 331 # implementations. 332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 333 eval 'as_fn_append () 334 { 335 eval $1+=\$2 336 }' 337 else 338 as_fn_append () 339 { 340 eval $1=\$$1\$2 341 } 342 fi # as_fn_append 343 344 # as_fn_arith ARG... 345 # ------------------ 346 # Perform arithmetic evaluation on the ARGs, and store the result in the 347 # global $as_val. Take advantage of shells that can avoid forks. The arguments 348 # must be portable across $(()) and expr. 349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 350 eval 'as_fn_arith () 351 { 352 as_val=$(( $* )) 353 }' 354 else 355 as_fn_arith () 356 { 357 as_val=`expr "$@" || test $? -eq 1` 358 } 359 fi # as_fn_arith 360 361 362 # as_fn_error ERROR [LINENO LOG_FD] 363 # --------------------------------- 364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 366 # script with status $?, using 1 if that was 0. 367 as_fn_error () 368 { 369 as_status=$?; test $as_status -eq 0 && as_status=1 370 if test "$3"; then 371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 373 fi 374 $as_echo "$as_me: error: $1" >&2 375 as_fn_exit $as_status 376 } # as_fn_error 377 118 378 if expr a : '\(a\)' >/dev/null 2>&1 && 119 379 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 129 389 fi 130 390 131 132 # Name of the executable. 391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 392 as_dirname=dirname 393 else 394 as_dirname=false 395 fi 396 133 397 as_me=`$as_basename -- "$0" || 134 398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135 399 X"$0" : 'X\(//\)$' \| \ 136 400 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137 echo X/"$0" |401 $as_echo X/"$0" | 138 402 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 403 s//\1/ … … 150 414 s/.*/./; q'` 151 415 152 # CDPATH. 153 $as_unset CDPATH 154 155 156 if test "x$CONFIG_SHELL" = x; then 157 if (eval ":") 2>/dev/null; then 158 as_have_required=yes 159 else 160 as_have_required=no 161 fi 162 163 if test $as_have_required = yes && (eval ": 164 (as_func_return () { 165 (exit \$1) 166 } 167 as_func_success () { 168 as_func_return 0 169 } 170 as_func_failure () { 171 as_func_return 1 172 } 173 as_func_ret_success () { 174 return 0 175 } 176 as_func_ret_failure () { 177 return 1 178 } 179 180 exitcode=0 181 if as_func_success; then 182 : 183 else 184 exitcode=1 185 echo as_func_success failed. 186 fi 187 188 if as_func_failure; then 189 exitcode=1 190 echo as_func_failure succeeded. 191 fi 192 193 if as_func_ret_success; then 194 : 195 else 196 exitcode=1 197 echo as_func_ret_success failed. 198 fi 199 200 if as_func_ret_failure; then 201 exitcode=1 202 echo as_func_ret_failure succeeded. 203 fi 204 205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 206 : 207 else 208 exitcode=1 209 echo positional parameters were not saved. 210 fi 211 212 test \$exitcode = 0) || { (exit 1); exit 1; } 213 214 ( 215 as_lineno_1=\$LINENO 216 as_lineno_2=\$LINENO 217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 219 ") 2> /dev/null; then 220 : 221 else 222 as_candidate_shells= 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 225 do 226 IFS=$as_save_IFS 227 test -z "$as_dir" && as_dir=. 228 case $as_dir in 229 /*) 230 for as_base in sh bash ksh sh5; do 231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 232 done;; 233 esac 234 done 235 IFS=$as_save_IFS 236 237 238 for as_shell in $as_candidate_shells $SHELL; do 239 # Try only shells that exist, to save several forks. 240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 241 { ("$as_shell") 2> /dev/null <<\_ASEOF 242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 243 emulate sh 244 NULLCMD=: 245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 246 # is contrary to our usage. Disable this feature. 247 alias -g '${1+"$@"}'='"$@"' 248 setopt NO_GLOB_SUBST 249 else 250 case `(set -o) 2>/dev/null` in 251 *posix*) set -o posix ;; 252 esac 253 254 fi 255 256 257 : 258 _ASEOF 259 }; then 260 CONFIG_SHELL=$as_shell 261 as_have_required=yes 262 if { "$as_shell" 2> /dev/null <<\_ASEOF 263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 264 emulate sh 265 NULLCMD=: 266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 267 # is contrary to our usage. Disable this feature. 268 alias -g '${1+"$@"}'='"$@"' 269 setopt NO_GLOB_SUBST 270 else 271 case `(set -o) 2>/dev/null` in 272 *posix*) set -o posix ;; 273 esac 274 275 fi 276 277 278 : 279 (as_func_return () { 280 (exit $1) 281 } 282 as_func_success () { 283 as_func_return 0 284 } 285 as_func_failure () { 286 as_func_return 1 287 } 288 as_func_ret_success () { 289 return 0 290 } 291 as_func_ret_failure () { 292 return 1 293 } 294 295 exitcode=0 296 if as_func_success; then 297 : 298 else 299 exitcode=1 300 echo as_func_success failed. 301 fi 302 303 if as_func_failure; then 304 exitcode=1 305 echo as_func_failure succeeded. 306 fi 307 308 if as_func_ret_success; then 309 : 310 else 311 exitcode=1 312 echo as_func_ret_success failed. 313 fi 314 315 if as_func_ret_failure; then 316 exitcode=1 317 echo as_func_ret_failure succeeded. 318 fi 319 320 if ( set x; as_func_ret_success y && test x = "$1" ); then 321 : 322 else 323 exitcode=1 324 echo positional parameters were not saved. 325 fi 326 327 test $exitcode = 0) || { (exit 1); exit 1; } 328 329 ( 330 as_lineno_1=$LINENO 331 as_lineno_2=$LINENO 332 test "x$as_lineno_1" != "x$as_lineno_2" && 333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 334 335 _ASEOF 336 }; then 337 break 338 fi 339 340 fi 341 342 done 343 344 if test "x$CONFIG_SHELL" != x; then 345 for as_var in BASH_ENV ENV 346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 347 done 348 export CONFIG_SHELL 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 350 fi 351 352 353 if test $as_have_required = no; then 354 echo This script requires a shell more modern than all the 355 echo shells that I found on your system. Please install a 356 echo modern shell, or manually run the script under such a 357 echo shell if you do have one. 358 { (exit 1); exit 1; } 359 fi 360 361 362 fi 363 364 fi 365 366 367 368 (eval "as_func_return () { 369 (exit \$1) 370 } 371 as_func_success () { 372 as_func_return 0 373 } 374 as_func_failure () { 375 as_func_return 1 376 } 377 as_func_ret_success () { 378 return 0 379 } 380 as_func_ret_failure () { 381 return 1 382 } 383 384 exitcode=0 385 if as_func_success; then 386 : 387 else 388 exitcode=1 389 echo as_func_success failed. 390 fi 391 392 if as_func_failure; then 393 exitcode=1 394 echo as_func_failure succeeded. 395 fi 396 397 if as_func_ret_success; then 398 : 399 else 400 exitcode=1 401 echo as_func_ret_success failed. 402 fi 403 404 if as_func_ret_failure; then 405 exitcode=1 406 echo as_func_ret_failure succeeded. 407 fi 408 409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 410 : 411 else 412 exitcode=1 413 echo positional parameters were not saved. 414 fi 415 416 test \$exitcode = 0") || { 417 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 421 } 422 423 424 425 as_lineno_1=$LINENO 426 as_lineno_2=$LINENO 427 test "x$as_lineno_1" != "x$as_lineno_2" && 428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 429 430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 431 # uniformly replaced by the line number. The first 'sed' inserts a 432 # line-number line after each line using $LINENO; the second 'sed' 433 # does the real work. The second script uses 'N' to pair each 434 # line-number line with the line containing $LINENO, and appends 435 # trailing '-' during substitution so that $LINENO is not a special 436 # case at line end. 437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 438 # scripts with optimization help from Paolo Bonzini. Blame Lee 439 # E. McMahon (1931-1989) for sed's syntax. :-) 416 # Avoid depending upon Character Ranges. 417 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 420 as_cr_digits='0123456789' 421 as_cr_alnum=$as_cr_Letters$as_cr_digits 422 423 424 as_lineno_1=$LINENO as_lineno_1a=$LINENO 425 as_lineno_2=$LINENO as_lineno_2a=$LINENO 426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 440 429 sed -n ' 441 430 p … … 454 443 ' >$as_me.lineno && 455 444 chmod +x "$as_me.lineno" || 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 { (exit 1); exit 1; }; } 445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 458 446 459 447 # Don't try to exec as it changes $[0], causing all sort of problems … … 465 453 } 466 454 467 468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then469 as_dirname=dirname470 else471 as_dirname=false472 fi473 474 455 ECHO_C= ECHO_N= ECHO_T= 475 case `echo -n x` in 456 case `echo -n x` in #((((( 476 457 -n*) 477 case `echo 'x \c'` in458 case `echo 'xy\c'` in 478 459 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 460 xy) ECHO_C='\c';; 461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 462 ECHO_T=' ';; 480 463 esac;; 481 464 *) … … 483 466 esac 484 467 485 if expr a : '\(a\)' >/dev/null 2>&1 &&486 test "X`expr 00001 : '.*\(...\)'`" = X001; then487 as_expr=expr488 else489 as_expr=false490 fi491 492 468 rm -f conf$$ conf$$.exe conf$$.file 493 469 if test -d conf$$.dir; then … … 495 471 else 496 472 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 || 473 mkdir conf$$.dir 2>/dev/null 474 fi 475 if (echo >conf$$.file) 2>/dev/null; then 476 if ln -s conf$$.file conf$$ 2>/dev/null; then 477 as_ln_s='ln -s' 478 # ... but there are two gotchas: 479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 481 # In both cases, we have to default to `cp -p'. 482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 483 as_ln_s='cp -p' 484 elif ln conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s=ln 486 else 507 487 as_ln_s='cp -p' 508 elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 488 fi 510 489 else 511 490 as_ln_s='cp -p' … … 515 494 516 495 if mkdir -p . 2>/dev/null; then 517 as_mkdir_p= :496 as_mkdir_p='mkdir -p "$as_dir"' 518 497 else 519 498 test -d ./-p && rmdir ./-p … … 532 511 eval sh -c '\'' 533 512 if test -d "$1"; then 534 513 test -d "$1/."; 535 514 else 536 case $1 in 537 515 case $1 in #( 516 -*)set "./$1";; 538 517 esac; 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 540 519 ???[sx]*):;;*)false;;esac;fi 541 520 '\'' sh … … 551 530 552 531 553 554 exec 7<&0 </dev/null6>&1532 test -n "$DJDIR" || exec 7<&0 </dev/null 533 exec 6>&1 555 534 556 535 # Name of the host. … … 570 549 MFLAGS= 571 550 MAKEFLAGS= 572 SHELL=${CONFIG_SHELL-/bin/sh}573 551 574 552 # Identity of this package. … … 578 556 PACKAGE_STRING='Rappture 1.1' 579 557 PACKAGE_BUGREPORT='rappture@nanohub.org' 558 PACKAGE_URL='' 580 559 581 560 # Factoring default headers for most tests. … … 615 594 #endif" 616 595 617 ac_subst_vars='SHELL 596 enable_option_checking=no 597 ac_subst_vars='LTLIBOBJS 598 LIBOBJS 599 subdirs 600 LDFLAGS_DEFAULT 601 CFLAGS_DEFAULT 602 SIZEOF_VOID_P 603 SIZEOF_LONG_LONG 604 SIZEOF_LONG 605 SIZEOF_INT 606 TK_VERSION 607 TCL_VERSION 608 SHLIB_LDFLAGS 609 RP_BASE 610 JAVA_INC_SPEC 611 JAVA_INC_DIR 612 JAVA_HOME 613 JAVAH 614 JAVAC 615 JAVA 616 RUBY_PLATFORM 617 RUBY_VERSION_RV 618 HAVE_RUBY_DEVEL 619 RUBY_EXTRA_LIBS 620 RUBY_SITE_PKG 621 RUBY_LDFLAGS 622 RUBY_CPPFLAGS 623 AWK 624 RUBY_VERSION 625 SED 626 RUBY 627 HAVE_PYTHON_DISTUTILS 628 PYTHON_SITE_PACKAGES 629 PYTHON_INCLUDES 630 PYTHON_VERSION 631 pythondir 632 PYTHON_CPPFLAGS 633 PYTHON 634 PERL_LIBSPEC 635 PERL_VERSION_RV 636 PERL_INSTALLARCHLIB 637 PERL_PRIVLIB 638 PERL_VENDORLIB 639 PERL_CPPFLAGS 640 PERL_CCFLAGS 641 PERL_VERSION 642 PERL_ARCHLIBEXP 643 PERL_ARCHLIB 644 PERL_INCLUDES 645 PERL 646 OCTAVE_VERSION_MAJOR 647 OCTAVE_VERSION 648 MKOCTFILE 649 OCTAVE 650 MEX_ARCH 651 MCC 652 MEXEXT 653 MEX 654 MATLAB 655 VTKDIR 656 TCLSH 657 ENABLE_GUI 658 MAKE 659 INSTALL_STUB_LIB 660 INSTALL_LIB 661 MAKE_STUB_LIB 662 MAKE_LIB 663 SHLIB_SUFFIX 664 SHLIB_CFLAGS 665 SHLIB_LD_LIBS 666 TK_SHLIB_LD_EXTRAS 667 TCL_SHLIB_LD_EXTRAS 668 SHLIB_LD 669 STLIB_LD 670 LD_SEARCH_FLAGS 671 CC_SEARCH_FLAGS 672 LDFLAGS_OPTIMIZE 673 LDFLAGS_DEBUG 674 CFLAGS_WARNING 675 CFLAGS_OPTIMIZE 676 CFLAGS_DEBUG 677 PLAT_SRCS 678 PLAT_OBJS 679 DL_OBJS 680 DL_LIBS 681 AR 682 HAVE_INTTYPES_H 683 CXXCPP 684 EGREP 685 GREP 686 CPP 687 ac_ct_F77 688 FFLAGS 689 F77 690 MKDIR_P 691 LN_S 692 RANLIB 693 ac_ct_CXX 694 CXXFLAGS 695 CXX 696 OBJEXT 697 EXEEXT 698 ac_ct_CC 699 CPPFLAGS 700 LDFLAGS 701 CFLAGS 702 CC 703 SET_MAKE 704 INSTALL_DATA 705 INSTALL_SCRIPT 706 INSTALL_PROGRAM 707 LIB_SEARCH_DIRS 708 target_alias 709 host_alias 710 build_alias 711 LIBS 712 ECHO_T 713 ECHO_N 714 ECHO_C 715 DEFS 716 mandir 717 localedir 718 libdir 719 psdir 720 pdfdir 721 dvidir 722 htmldir 723 infodir 724 docdir 725 oldincludedir 726 includedir 727 localstatedir 728 sharedstatedir 729 sysconfdir 730 datadir 731 datarootdir 732 libexecdir 733 sbindir 734 bindir 735 program_transform_name 736 prefix 737 exec_prefix 738 PACKAGE_URL 739 PACKAGE_BUGREPORT 740 PACKAGE_STRING 741 PACKAGE_VERSION 742 PACKAGE_TARNAME 743 PACKAGE_NAME 618 744 PATH_SEPARATOR 619 PACKAGE_NAME 620 PACKAGE_TARNAME 621 PACKAGE_VERSION 622 PACKAGE_STRING 623 PACKAGE_BUGREPORT 624 exec_prefix 625 prefix 626 program_transform_name 627 bindir 628 sbindir 629 libexecdir 630 datarootdir 631 datadir 632 sysconfdir 633 sharedstatedir 634 localstatedir 635 includedir 636 oldincludedir 637 docdir 638 infodir 639 htmldir 640 dvidir 641 pdfdir 642 psdir 643 libdir 644 localedir 645 mandir 646 DEFS 647 ECHO_C 648 ECHO_N 649 ECHO_T 650 LIBS 651 build_alias 652 host_alias 653 target_alias 654 LIB_SEARCH_DIRS 655 INSTALL_PROGRAM 656 INSTALL_SCRIPT 657 INSTALL_DATA 658 SET_MAKE 659 CC 660 CFLAGS 661 LDFLAGS 662 CPPFLAGS 663 ac_ct_CC 664 EXEEXT 665 OBJEXT 666 CXX 667 CXXFLAGS 668 ac_ct_CXX 669 RANLIB 670 LN_S 671 F77 672 FFLAGS 673 ac_ct_F77 674 CPP 675 GREP 676 EGREP 677 CXXCPP 678 HAVE_INTTYPES_H 679 AR 680 DL_LIBS 681 DL_OBJS 682 PLAT_OBJS 683 PLAT_SRCS 684 CFLAGS_DEBUG 685 CFLAGS_OPTIMIZE 686 CFLAGS_WARNING 687 LDFLAGS_DEBUG 688 LDFLAGS_OPTIMIZE 689 CC_SEARCH_FLAGS 690 LD_SEARCH_FLAGS 691 STLIB_LD 692 SHLIB_LD 693 TCL_SHLIB_LD_EXTRAS 694 TK_SHLIB_LD_EXTRAS 695 SHLIB_LD_LIBS 696 SHLIB_CFLAGS 697 SHLIB_SUFFIX 698 MAKE_LIB 699 MAKE_STUB_LIB 700 INSTALL_LIB 701 INSTALL_STUB_LIB 702 MAKE 703 ENABLE_GUI 704 TCLSH 705 VTKDIR 706 MATLAB 707 MEX 708 MEXEXT 709 MCC 710 MEX_ARCH 711 OCTAVE 712 MKOCTFILE 713 OCTAVE_VERSION 714 OCTAVE_VERSION_MAJOR 715 PERL 716 PERL_INCLUDES 717 PERL_ARCHLIB 718 PERL_ARCHLIBEXP 719 PERL_VERSION 720 PERL_CCFLAGS 721 PERL_CPPFLAGS 722 PERL_VENDORLIB 723 PERL_PRIVLIB 724 PERL_INSTALLARCHLIB 725 PERL_VERSION_RV 726 PERL_LIBSPEC 727 PYTHON 728 PYTHON_CPPFLAGS 729 pythondir 730 PYTHON_VERSION 731 PYTHON_INCLUDES 732 PYTHON_SITE_PACKAGES 733 HAVE_PYTHON_DISTUTILS 734 RUBY 735 SED 736 RUBY_VERSION 737 AWK 738 RUBY_CPPFLAGS 739 RUBY_LDFLAGS 740 RUBY_SITE_PKG 741 RUBY_EXTRA_LIBS 742 HAVE_RUBY_DEVEL 743 RUBY_VERSION_RV 744 RUBY_PLATFORM 745 JAVA 746 JAVAC 747 JAVAH 748 JAVA_HOME 749 JAVA_INCLUDES 750 RP_BASE 751 SHLIB_LDFLAGS 752 TCL_VERSION 753 TK_VERSION 754 SIZEOF_INT 755 SIZEOF_LONG 756 SIZEOF_LONG_LONG 757 SIZEOF_VOID_P 758 CFLAGS_DEFAULT 759 LDFLAGS_DEFAULT 760 subdirs 761 LIBOBJS 762 LTLIBOBJS' 745 SHELL' 763 746 ac_subst_files='' 747 ac_user_opts=' 748 enable_option_checking 749 enable_64bit 750 enable_64bit_vis 751 enable_corefoundation 752 enable_load 753 enable_gui 754 with_tclsh 755 with_vtk 756 with_matlab 757 with_octave 758 with_perl 759 with_python 760 with_ruby 761 with_java 762 enable_shared 763 enable_symbols 764 ' 764 765 ac_precious_vars='build_alias 765 766 host_alias … … 782 783 ac_init_help= 783 784 ac_init_version=false 785 ac_unrecognized_opts= 786 ac_unrecognized_sep= 784 787 # The variables have the same names as the options, with 785 788 # dashes changed to underlines. … … 880 883 881 884 -disable-* | --disable-*) 882 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`885 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 883 886 # Reject names that are not valid shell variable names. 884 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 885 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 886 { (exit 1); exit 1; }; } 887 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 888 eval enable_$ac_feature=no ;; 887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 888 as_fn_error "invalid feature name: $ac_useropt" 889 ac_useropt_orig=$ac_useropt 890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 891 case $ac_user_opts in 892 *" 893 "enable_$ac_useropt" 894 "*) ;; 895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 896 ac_unrecognized_sep=', ';; 897 esac 898 eval enable_$ac_useropt=no ;; 889 899 890 900 -docdir | --docdir | --docdi | --doc | --do) … … 899 909 900 910 -enable-* | --enable-*) 901 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`911 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 902 912 # Reject names that are not valid shell variable names. 903 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 904 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 905 { (exit 1); exit 1; }; } 906 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 907 eval enable_$ac_feature=\$ac_optarg ;; 913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 914 as_fn_error "invalid feature name: $ac_useropt" 915 ac_useropt_orig=$ac_useropt 916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 917 case $ac_user_opts in 918 *" 919 "enable_$ac_useropt" 920 "*) ;; 921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 922 ac_unrecognized_sep=', ';; 923 esac 924 eval enable_$ac_useropt=\$ac_optarg ;; 908 925 909 926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1096 1113 1097 1114 -with-* | --with-*) 1098 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1115 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1099 1116 # Reject names that are not valid shell variable names. 1100 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1101 { echo "$as_me: error: invalid package name: $ac_package" >&2 1102 { (exit 1); exit 1; }; } 1103 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1104 eval with_$ac_package=\$ac_optarg ;; 1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1118 as_fn_error "invalid package name: $ac_useropt" 1119 ac_useropt_orig=$ac_useropt 1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1121 case $ac_user_opts in 1122 *" 1123 "with_$ac_useropt" 1124 "*) ;; 1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1126 ac_unrecognized_sep=', ';; 1127 esac 1128 eval with_$ac_useropt=\$ac_optarg ;; 1105 1129 1106 1130 -without-* | --without-*) 1107 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1131 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1108 1132 # Reject names that are not valid shell variable names. 1109 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1110 { echo "$as_me: error: invalid package name: $ac_package" >&2 1111 { (exit 1); exit 1; }; } 1112 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1113 eval with_$ac_package=no ;; 1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1134 as_fn_error "invalid package name: $ac_useropt" 1135 ac_useropt_orig=$ac_useropt 1136 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1137 case $ac_user_opts in 1138 *" 1139 "with_$ac_useropt" 1140 "*) ;; 1141 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1142 ac_unrecognized_sep=', ';; 1143 esac 1144 eval with_$ac_useropt=no ;; 1114 1145 1115 1146 --x) … … 1131 1162 x_libraries=$ac_optarg ;; 1132 1163 1133 -*) { echo "$as_me: error: unrecognized option: $ac_option 1134 Try \`$0 --help' for more information." >&2 1135 { (exit 1); exit 1; }; } 1164 -*) as_fn_error "unrecognized option: \`$ac_option' 1165 Try \`$0 --help' for more information." 1136 1166 ;; 1137 1167 … … 1139 1169 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1140 1170 # Reject names that are not valid shell variable names. 1141 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1142 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1143 { (exit 1); exit 1; }; } 1171 case $ac_envvar in #( 1172 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1173 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1174 esac 1144 1175 eval $ac_envvar=\$ac_optarg 1145 1176 export $ac_envvar ;; … … 1147 1178 *) 1148 1179 # FIXME: should be removed in autoconf 3.0. 1149 echo "$as_me: WARNING: you should use --build, --host, --target" >&21180 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1150 1181 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1151 echo "$as_me: WARNING: invalid host type: $ac_option" >&21182 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1152 1183 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1153 1184 ;; … … 1158 1189 if test -n "$ac_prev"; then 1159 1190 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1160 { echo "$as_me: error: missing argument to $ac_option" >&2 1161 { (exit 1); exit 1; }; } 1162 fi 1163 1164 # Be sure to have absolute directory names. 1191 as_fn_error "missing argument to $ac_option" 1192 fi 1193 1194 if test -n "$ac_unrecognized_opts"; then 1195 case $enable_option_checking in 1196 no) ;; 1197 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1199 esac 1200 fi 1201 1202 # Check all directory arguments for consistency. 1165 1203 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1166 1204 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1169 1207 do 1170 1208 eval ac_val=\$$ac_var 1209 # Remove trailing slashes. 1210 case $ac_val in 1211 */ ) 1212 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1213 eval $ac_var=\$ac_val;; 1214 esac 1215 # Be sure to have absolute directory names. 1171 1216 case $ac_val in 1172 1217 [\\/$]* | ?:[\\/]* ) continue;; 1173 1218 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1174 1219 esac 1175 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1176 { (exit 1); exit 1; }; } 1220 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1177 1221 done 1178 1222 … … 1188 1232 if test "x$build_alias" = x; then 1189 1233 cross_compiling=maybe 1190 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1234 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1191 1235 If a cross compiler is detected then cross compile mode will be used." >&2 1192 1236 elif test "x$build_alias" != "x$host_alias"; then … … 1204 1248 ac_ls_di=`ls -di .` && 1205 1249 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1206 { echo "$as_me: error: Working directory cannot be determined" >&2 1207 { (exit 1); exit 1; }; } 1250 as_fn_error "working directory cannot be determined" 1208 1251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1209 { echo "$as_me: error: pwd does not report name of working directory" >&2 1210 { (exit 1); exit 1; }; } 1252 as_fn_error "pwd does not report name of working directory" 1211 1253 1212 1254 … … 1215 1257 ac_srcdir_defaulted=yes 1216 1258 # Try the directory containing this script, then the parent directory. 1217 ac_confdir=`$as_dirname -- "$ 0" ||1218 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1219 X"$ 0" : 'X\(//\)[^/]' \| \1220 X"$ 0" : 'X\(//\)$' \| \1221 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1222 echo X"$0" |1259 ac_confdir=`$as_dirname -- "$as_myself" || 1260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1261 X"$as_myself" : 'X\(//\)[^/]' \| \ 1262 X"$as_myself" : 'X\(//\)$' \| \ 1263 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1264 $as_echo X"$as_myself" | 1223 1265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1224 1266 s//\1/ … … 1247 1289 if test ! -r "$srcdir/$ac_unique_file"; then 1248 1290 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1249 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1250 { (exit 1); exit 1; }; } 1291 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1251 1292 fi 1252 1293 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1253 1294 ac_abs_confdir=`( 1254 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1255 { (exit 1); exit 1; }; } 1295 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1256 1296 pwd)` 1257 1297 # When building in place, set srcdir=. … … 1301 1341 Installation directories: 1302 1342 --prefix=PREFIX install architecture-independent files in PREFIX 1303 1343 [$ac_default_prefix] 1304 1344 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1305 1345 [PREFIX] 1306 1346 1307 1347 By default, \`make install' will install all the files in … … 1313 1353 1314 1354 Fine tuning of the installation directories: 1315 --bindir=DIR user executables [EPREFIX/bin]1316 --sbindir=DIR system admin executables [EPREFIX/sbin]1317 --libexecdir=DIR program executables [EPREFIX/libexec]1318 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1319 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1320 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1321 --libdir=DIR object code libraries [EPREFIX/lib]1322 --includedir=DIR C header files [PREFIX/include]1323 --oldincludedir=DIR C header files for non-gcc [/usr/include]1324 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1325 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1326 --infodir=DIR info documentation [DATAROOTDIR/info]1327 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1328 --mandir=DIR man documentation [DATAROOTDIR/man]1329 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture]1330 --htmldir=DIR html documentation [DOCDIR]1331 --dvidir=DIR dvi documentation [DOCDIR]1332 --pdfdir=DIR pdf documentation [DOCDIR]1333 --psdir=DIR ps documentation [DOCDIR]1355 --bindir=DIR user executables [EPREFIX/bin] 1356 --sbindir=DIR system admin executables [EPREFIX/sbin] 1357 --libexecdir=DIR program executables [EPREFIX/libexec] 1358 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1359 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1360 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1361 --libdir=DIR object code libraries [EPREFIX/lib] 1362 --includedir=DIR C header files [PREFIX/include] 1363 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1366 --infodir=DIR info documentation [DATAROOTDIR/info] 1367 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1368 --mandir=DIR man documentation [DATAROOTDIR/man] 1369 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture] 1370 --htmldir=DIR html documentation [DOCDIR] 1371 --dvidir=DIR dvi documentation [DOCDIR] 1372 --pdfdir=DIR pdf documentation [DOCDIR] 1373 --psdir=DIR ps documentation [DOCDIR] 1334 1374 _ACEOF 1335 1375 … … 1345 1385 1346 1386 Optional Features: 1387 --disable-option-checking ignore unrecognized --enable/--with options 1347 1388 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1348 1389 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1366 1407 --with-python=DIR location of python [default=yes] 1367 1408 --with-ruby=PATH absolute path to ruby executable 1409 --with-java=PATH absolute path to java executable 1368 1410 1369 1411 Some influential environment variables: … … 1373 1415 nonstandard directory <lib dir> 1374 1416 LIBS libraries to pass to the linker, e.g. -l<library> 1375 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1417 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1376 1418 you have headers in a nonstandard directory <include dir> 1377 1419 CXX C++ compiler command … … 1393 1435 # If there are subdirs, report their specific --help. 1394 1436 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1395 test -d "$ac_dir" || continue 1437 test -d "$ac_dir" || 1438 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1439 continue 1396 1440 ac_builddir=. 1397 1441 … … 1399 1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1400 1444 *) 1401 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1445 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1402 1446 # A ".." for each directory in $ac_dir_suffix. 1403 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1447 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1404 1448 case $ac_top_builddir_sub in 1405 1449 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1437 1481 $SHELL "$ac_srcdir/configure" --help=recursive 1438 1482 else 1439 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21483 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1440 1484 fi || ac_status=$? 1441 1485 cd "$ac_pwd" || { ac_status=$?; break; } … … 1447 1491 cat <<\_ACEOF 1448 1492 Rappture configure 1.1 1449 generated by GNU Autoconf 2.61 1450 1451 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1452 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1493 generated by GNU Autoconf 2.65 1494 1495 Copyright (C) 2009 Free Software Foundation, Inc. 1453 1496 This configure script is free software; the Free Software Foundation 1454 1497 gives unlimited permission to copy, distribute and modify it. … … 1456 1499 exit 1457 1500 fi 1501 1502 ## ------------------------ ## 1503 ## Autoconf initialization. ## 1504 ## ------------------------ ## 1505 1506 # ac_fn_c_try_compile LINENO 1507 # -------------------------- 1508 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1509 ac_fn_c_try_compile () 1510 { 1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1512 rm -f conftest.$ac_objext 1513 if { { ac_try="$ac_compile" 1514 case "(($ac_try" in 1515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1516 *) ac_try_echo=$ac_try;; 1517 esac 1518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1519 $as_echo "$ac_try_echo"; } >&5 1520 (eval "$ac_compile") 2>conftest.err 1521 ac_status=$? 1522 if test -s conftest.err; then 1523 grep -v '^ *+' conftest.err >conftest.er1 1524 cat conftest.er1 >&5 1525 mv -f conftest.er1 conftest.err 1526 fi 1527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1528 test $ac_status = 0; } && { 1529 test -z "$ac_c_werror_flag" || 1530 test ! -s conftest.err 1531 } && test -s conftest.$ac_objext; then : 1532 ac_retval=0 1533 else 1534 $as_echo "$as_me: failed program was:" >&5 1535 sed 's/^/| /' conftest.$ac_ext >&5 1536 1537 ac_retval=1 1538 fi 1539 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1540 as_fn_set_status $ac_retval 1541 1542 } # ac_fn_c_try_compile 1543 1544 # ac_fn_cxx_try_compile LINENO 1545 # ---------------------------- 1546 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1547 ac_fn_cxx_try_compile () 1548 { 1549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1550 rm -f conftest.$ac_objext 1551 if { { ac_try="$ac_compile" 1552 case "(($ac_try" in 1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1554 *) ac_try_echo=$ac_try;; 1555 esac 1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1557 $as_echo "$ac_try_echo"; } >&5 1558 (eval "$ac_compile") 2>conftest.err 1559 ac_status=$? 1560 if test -s conftest.err; then 1561 grep -v '^ *+' conftest.err >conftest.er1 1562 cat conftest.er1 >&5 1563 mv -f conftest.er1 conftest.err 1564 fi 1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1566 test $ac_status = 0; } && { 1567 test -z "$ac_cxx_werror_flag" || 1568 test ! -s conftest.err 1569 } && test -s conftest.$ac_objext; then : 1570 ac_retval=0 1571 else 1572 $as_echo "$as_me: failed program was:" >&5 1573 sed 's/^/| /' conftest.$ac_ext >&5 1574 1575 ac_retval=1 1576 fi 1577 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1578 as_fn_set_status $ac_retval 1579 1580 } # ac_fn_cxx_try_compile 1581 1582 # ac_fn_f77_try_compile LINENO 1583 # ---------------------------- 1584 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1585 ac_fn_f77_try_compile () 1586 { 1587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1588 rm -f conftest.$ac_objext 1589 if { { ac_try="$ac_compile" 1590 case "(($ac_try" in 1591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1592 *) ac_try_echo=$ac_try;; 1593 esac 1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1595 $as_echo "$ac_try_echo"; } >&5 1596 (eval "$ac_compile") 2>conftest.err 1597 ac_status=$? 1598 if test -s conftest.err; then 1599 grep -v '^ *+' conftest.err >conftest.er1 1600 cat conftest.er1 >&5 1601 mv -f conftest.er1 conftest.err 1602 fi 1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1604 test $ac_status = 0; } && { 1605 test -z "$ac_f77_werror_flag" || 1606 test ! -s conftest.err 1607 } && test -s conftest.$ac_objext; then : 1608 ac_retval=0 1609 else 1610 $as_echo "$as_me: failed program was:" >&5 1611 sed 's/^/| /' conftest.$ac_ext >&5 1612 1613 ac_retval=1 1614 fi 1615 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1616 as_fn_set_status $ac_retval 1617 1618 } # ac_fn_f77_try_compile 1619 1620 # ac_fn_c_try_cpp LINENO 1621 # ---------------------- 1622 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1623 ac_fn_c_try_cpp () 1624 { 1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1626 if { { ac_try="$ac_cpp conftest.$ac_ext" 1627 case "(($ac_try" in 1628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1629 *) ac_try_echo=$ac_try;; 1630 esac 1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1632 $as_echo "$ac_try_echo"; } >&5 1633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1634 ac_status=$? 1635 if test -s conftest.err; then 1636 grep -v '^ *+' conftest.err >conftest.er1 1637 cat conftest.er1 >&5 1638 mv -f conftest.er1 conftest.err 1639 fi 1640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1641 test $ac_status = 0; } >/dev/null && { 1642 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1643 test ! -s conftest.err 1644 }; then : 1645 ac_retval=0 1646 else 1647 $as_echo "$as_me: failed program was:" >&5 1648 sed 's/^/| /' conftest.$ac_ext >&5 1649 1650 ac_retval=1 1651 fi 1652 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1653 as_fn_set_status $ac_retval 1654 1655 } # ac_fn_c_try_cpp 1656 1657 # ac_fn_c_try_run LINENO 1658 # ---------------------- 1659 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1660 # that executables *can* be run. 1661 ac_fn_c_try_run () 1662 { 1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1664 if { { ac_try="$ac_link" 1665 case "(($ac_try" in 1666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1667 *) ac_try_echo=$ac_try;; 1668 esac 1669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1670 $as_echo "$ac_try_echo"; } >&5 1671 (eval "$ac_link") 2>&5 1672 ac_status=$? 1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1674 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1675 { { case "(($ac_try" in 1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1677 *) ac_try_echo=$ac_try;; 1678 esac 1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1680 $as_echo "$ac_try_echo"; } >&5 1681 (eval "$ac_try") 2>&5 1682 ac_status=$? 1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1684 test $ac_status = 0; }; }; then : 1685 ac_retval=0 1686 else 1687 $as_echo "$as_me: program exited with status $ac_status" >&5 1688 $as_echo "$as_me: failed program was:" >&5 1689 sed 's/^/| /' conftest.$ac_ext >&5 1690 1691 ac_retval=$ac_status 1692 fi 1693 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1694 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1695 as_fn_set_status $ac_retval 1696 1697 } # ac_fn_c_try_run 1698 1699 # ac_fn_c_try_link LINENO 1700 # ----------------------- 1701 # Try to link conftest.$ac_ext, and return whether this succeeded. 1702 ac_fn_c_try_link () 1703 { 1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1705 rm -f conftest.$ac_objext conftest$ac_exeext 1706 if { { ac_try="$ac_link" 1707 case "(($ac_try" in 1708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1709 *) ac_try_echo=$ac_try;; 1710 esac 1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1712 $as_echo "$ac_try_echo"; } >&5 1713 (eval "$ac_link") 2>conftest.err 1714 ac_status=$? 1715 if test -s conftest.err; then 1716 grep -v '^ *+' conftest.err >conftest.er1 1717 cat conftest.er1 >&5 1718 mv -f conftest.er1 conftest.err 1719 fi 1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1721 test $ac_status = 0; } && { 1722 test -z "$ac_c_werror_flag" || 1723 test ! -s conftest.err 1724 } && test -s conftest$ac_exeext && { 1725 test "$cross_compiling" = yes || 1726 $as_test_x conftest$ac_exeext 1727 }; then : 1728 ac_retval=0 1729 else 1730 $as_echo "$as_me: failed program was:" >&5 1731 sed 's/^/| /' conftest.$ac_ext >&5 1732 1733 ac_retval=1 1734 fi 1735 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1736 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1737 # interfere with the next link command; also delete a directory that is 1738 # left behind by Apple's compiler. We do this before executing the actions. 1739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1741 as_fn_set_status $ac_retval 1742 1743 } # ac_fn_c_try_link 1744 1745 # ac_fn_c_check_func LINENO FUNC VAR 1746 # ---------------------------------- 1747 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1748 ac_fn_c_check_func () 1749 { 1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1752 $as_echo_n "checking for $2... " >&6; } 1753 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1754 $as_echo_n "(cached) " >&6 1755 else 1756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1757 /* end confdefs.h. */ 1758 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1759 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1760 #define $2 innocuous_$2 1761 1762 /* System header to define __stub macros and hopefully few prototypes, 1763 which can conflict with char $2 (); below. 1764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1765 <limits.h> exists even on freestanding compilers. */ 1766 1767 #ifdef __STDC__ 1768 # include <limits.h> 1769 #else 1770 # include <assert.h> 1771 #endif 1772 1773 #undef $2 1774 1775 /* Override any GCC internal prototype to avoid an error. 1776 Use char because int might match the return type of a GCC 1777 builtin and then its argument prototype would still apply. */ 1778 #ifdef __cplusplus 1779 extern "C" 1780 #endif 1781 char $2 (); 1782 /* The GNU C library defines this for functions which it implements 1783 to always fail with ENOSYS. Some functions are actually named 1784 something starting with __ and the normal name is an alias. */ 1785 #if defined __stub_$2 || defined __stub___$2 1786 choke me 1787 #endif 1788 1789 int 1790 main () 1791 { 1792 return $2 (); 1793 ; 1794 return 0; 1795 } 1796 _ACEOF 1797 if ac_fn_c_try_link "$LINENO"; then : 1798 eval "$3=yes" 1799 else 1800 eval "$3=no" 1801 fi 1802 rm -f core conftest.err conftest.$ac_objext \ 1803 conftest$ac_exeext conftest.$ac_ext 1804 fi 1805 eval ac_res=\$$3 1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1807 $as_echo "$ac_res" >&6; } 1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1809 1810 } # ac_fn_c_check_func 1811 1812 # ac_fn_cxx_try_link LINENO 1813 # ------------------------- 1814 # Try to link conftest.$ac_ext, and return whether this succeeded. 1815 ac_fn_cxx_try_link () 1816 { 1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1818 rm -f conftest.$ac_objext conftest$ac_exeext 1819 if { { ac_try="$ac_link" 1820 case "(($ac_try" in 1821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1822 *) ac_try_echo=$ac_try;; 1823 esac 1824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1825 $as_echo "$ac_try_echo"; } >&5 1826 (eval "$ac_link") 2>conftest.err 1827 ac_status=$? 1828 if test -s conftest.err; then 1829 grep -v '^ *+' conftest.err >conftest.er1 1830 cat conftest.er1 >&5 1831 mv -f conftest.er1 conftest.err 1832 fi 1833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1834 test $ac_status = 0; } && { 1835 test -z "$ac_cxx_werror_flag" || 1836 test ! -s conftest.err 1837 } && test -s conftest$ac_exeext && { 1838 test "$cross_compiling" = yes || 1839 $as_test_x conftest$ac_exeext 1840 }; then : 1841 ac_retval=0 1842 else 1843 $as_echo "$as_me: failed program was:" >&5 1844 sed 's/^/| /' conftest.$ac_ext >&5 1845 1846 ac_retval=1 1847 fi 1848 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1849 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1850 # interfere with the next link command; also delete a directory that is 1851 # left behind by Apple's compiler. We do this before executing the actions. 1852 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1853 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1854 as_fn_set_status $ac_retval 1855 1856 } # ac_fn_cxx_try_link 1857 1858 # ac_fn_cxx_check_func LINENO FUNC VAR 1859 # ------------------------------------ 1860 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1861 ac_fn_cxx_check_func () 1862 { 1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1865 $as_echo_n "checking for $2... " >&6; } 1866 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1867 $as_echo_n "(cached) " >&6 1868 else 1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1870 /* end confdefs.h. */ 1871 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1872 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1873 #define $2 innocuous_$2 1874 1875 /* System header to define __stub macros and hopefully few prototypes, 1876 which can conflict with char $2 (); below. 1877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1878 <limits.h> exists even on freestanding compilers. */ 1879 1880 #ifdef __STDC__ 1881 # include <limits.h> 1882 #else 1883 # include <assert.h> 1884 #endif 1885 1886 #undef $2 1887 1888 /* Override any GCC internal prototype to avoid an error. 1889 Use char because int might match the return type of a GCC 1890 builtin and then its argument prototype would still apply. */ 1891 #ifdef __cplusplus 1892 extern "C" 1893 #endif 1894 char $2 (); 1895 /* The GNU C library defines this for functions which it implements 1896 to always fail with ENOSYS. Some functions are actually named 1897 something starting with __ and the normal name is an alias. */ 1898 #if defined __stub_$2 || defined __stub___$2 1899 choke me 1900 #endif 1901 1902 int 1903 main () 1904 { 1905 return $2 (); 1906 ; 1907 return 0; 1908 } 1909 _ACEOF 1910 if ac_fn_cxx_try_link "$LINENO"; then : 1911 eval "$3=yes" 1912 else 1913 eval "$3=no" 1914 fi 1915 rm -f core conftest.err conftest.$ac_objext \ 1916 conftest$ac_exeext conftest.$ac_ext 1917 fi 1918 eval ac_res=\$$3 1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1920 $as_echo "$ac_res" >&6; } 1921 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1922 1923 } # ac_fn_cxx_check_func 1924 1925 # ac_fn_cxx_try_cpp LINENO 1926 # ------------------------ 1927 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1928 ac_fn_cxx_try_cpp () 1929 { 1930 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1931 if { { ac_try="$ac_cpp conftest.$ac_ext" 1932 case "(($ac_try" in 1933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1934 *) ac_try_echo=$ac_try;; 1935 esac 1936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1937 $as_echo "$ac_try_echo"; } >&5 1938 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1939 ac_status=$? 1940 if test -s conftest.err; then 1941 grep -v '^ *+' conftest.err >conftest.er1 1942 cat conftest.er1 >&5 1943 mv -f conftest.er1 conftest.err 1944 fi 1945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1946 test $ac_status = 0; } >/dev/null && { 1947 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1948 test ! -s conftest.err 1949 }; then : 1950 ac_retval=0 1951 else 1952 $as_echo "$as_me: failed program was:" >&5 1953 sed 's/^/| /' conftest.$ac_ext >&5 1954 1955 ac_retval=1 1956 fi 1957 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1958 as_fn_set_status $ac_retval 1959 1960 } # ac_fn_cxx_try_cpp 1961 1962 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1963 # --------------------------------------------------------- 1964 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1965 # the include files in INCLUDES and setting the cache variable VAR 1966 # accordingly. 1967 ac_fn_cxx_check_header_mongrel () 1968 { 1969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1970 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1972 $as_echo_n "checking for $2... " >&6; } 1973 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1974 $as_echo_n "(cached) " >&6 1975 fi 1976 eval ac_res=\$$3 1977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1978 $as_echo "$ac_res" >&6; } 1979 else 1980 # Is the header compilable? 1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1982 $as_echo_n "checking $2 usability... " >&6; } 1983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1984 /* end confdefs.h. */ 1985 $4 1986 #include <$2> 1987 _ACEOF 1988 if ac_fn_cxx_try_compile "$LINENO"; then : 1989 ac_header_compiler=yes 1990 else 1991 ac_header_compiler=no 1992 fi 1993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1995 $as_echo "$ac_header_compiler" >&6; } 1996 1997 # Is the header present? 1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1999 $as_echo_n "checking $2 presence... " >&6; } 2000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2001 /* end confdefs.h. */ 2002 #include <$2> 2003 _ACEOF 2004 if ac_fn_cxx_try_cpp "$LINENO"; then : 2005 ac_header_preproc=yes 2006 else 2007 ac_header_preproc=no 2008 fi 2009 rm -f conftest.err conftest.$ac_ext 2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2011 $as_echo "$ac_header_preproc" >&6; } 2012 2013 # So? What about this header? 2014 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2015 yes:no: ) 2016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2017 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2019 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2020 ;; 2021 no:yes:* ) 2022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2023 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2025 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2027 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2029 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2031 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2032 ( cat <<\_ASBOX 2033 ## ----------------------------------- ## 2034 ## Report this to rappture@nanohub.org ## 2035 ## ----------------------------------- ## 2036 _ASBOX 2037 ) | sed "s/^/$as_me: WARNING: /" >&2 2038 ;; 2039 esac 2040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2041 $as_echo_n "checking for $2... " >&6; } 2042 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2043 $as_echo_n "(cached) " >&6 2044 else 2045 eval "$3=\$ac_header_compiler" 2046 fi 2047 eval ac_res=\$$3 2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2049 $as_echo "$ac_res" >&6; } 2050 fi 2051 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2052 2053 } # ac_fn_cxx_check_header_mongrel 2054 2055 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2056 # --------------------------------------------------------- 2057 # Tests whether HEADER exists and can be compiled using the include files in 2058 # INCLUDES, setting the cache variable VAR accordingly. 2059 ac_fn_cxx_check_header_compile () 2060 { 2061 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2063 $as_echo_n "checking for $2... " >&6; } 2064 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2065 $as_echo_n "(cached) " >&6 2066 else 2067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2068 /* end confdefs.h. */ 2069 $4 2070 #include <$2> 2071 _ACEOF 2072 if ac_fn_cxx_try_compile "$LINENO"; then : 2073 eval "$3=yes" 2074 else 2075 eval "$3=no" 2076 fi 2077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2078 fi 2079 eval ac_res=\$$3 2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2081 $as_echo "$ac_res" >&6; } 2082 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2083 2084 } # ac_fn_cxx_check_header_compile 2085 2086 # ac_fn_cxx_try_run LINENO 2087 # ------------------------ 2088 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2089 # that executables *can* be run. 2090 ac_fn_cxx_try_run () 2091 { 2092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2093 if { { ac_try="$ac_link" 2094 case "(($ac_try" in 2095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2096 *) ac_try_echo=$ac_try;; 2097 esac 2098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2099 $as_echo "$ac_try_echo"; } >&5 2100 (eval "$ac_link") 2>&5 2101 ac_status=$? 2102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2103 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2104 { { case "(($ac_try" in 2105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2106 *) ac_try_echo=$ac_try;; 2107 esac 2108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2109 $as_echo "$ac_try_echo"; } >&5 2110 (eval "$ac_try") 2>&5 2111 ac_status=$? 2112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2113 test $ac_status = 0; }; }; then : 2114 ac_retval=0 2115 else 2116 $as_echo "$as_me: program exited with status $ac_status" >&5 2117 $as_echo "$as_me: failed program was:" >&5 2118 sed 's/^/| /' conftest.$ac_ext >&5 2119 2120 ac_retval=$ac_status 2121 fi 2122 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2123 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2124 as_fn_set_status $ac_retval 2125 2126 } # ac_fn_cxx_try_run 2127 2128 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 2129 # ---------------------------------------------- 2130 # Tries to find the compile-time value of EXPR in a program that includes 2131 # INCLUDES, setting VAR accordingly. Returns whether the value could be 2132 # computed 2133 ac_fn_cxx_compute_int () 2134 { 2135 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2136 if test "$cross_compiling" = yes; then 2137 # Depending upon the size, compute the lo and hi bounds. 2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2139 /* end confdefs.h. */ 2140 $4 2141 int 2142 main () 2143 { 2144 static int test_array [1 - 2 * !(($2) >= 0)]; 2145 test_array [0] = 0 2146 2147 ; 2148 return 0; 2149 } 2150 _ACEOF 2151 if ac_fn_cxx_try_compile "$LINENO"; then : 2152 ac_lo=0 ac_mid=0 2153 while :; do 2154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2155 /* end confdefs.h. */ 2156 $4 2157 int 2158 main () 2159 { 2160 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2161 test_array [0] = 0 2162 2163 ; 2164 return 0; 2165 } 2166 _ACEOF 2167 if ac_fn_cxx_try_compile "$LINENO"; then : 2168 ac_hi=$ac_mid; break 2169 else 2170 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2171 if test $ac_lo -le $ac_mid; then 2172 ac_lo= ac_hi= 2173 break 2174 fi 2175 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2176 fi 2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2178 done 2179 else 2180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2181 /* end confdefs.h. */ 2182 $4 2183 int 2184 main () 2185 { 2186 static int test_array [1 - 2 * !(($2) < 0)]; 2187 test_array [0] = 0 2188 2189 ; 2190 return 0; 2191 } 2192 _ACEOF 2193 if ac_fn_cxx_try_compile "$LINENO"; then : 2194 ac_hi=-1 ac_mid=-1 2195 while :; do 2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2197 /* end confdefs.h. */ 2198 $4 2199 int 2200 main () 2201 { 2202 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2203 test_array [0] = 0 2204 2205 ; 2206 return 0; 2207 } 2208 _ACEOF 2209 if ac_fn_cxx_try_compile "$LINENO"; then : 2210 ac_lo=$ac_mid; break 2211 else 2212 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2213 if test $ac_mid -le $ac_hi; then 2214 ac_lo= ac_hi= 2215 break 2216 fi 2217 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2218 fi 2219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2220 done 2221 else 2222 ac_lo= ac_hi= 2223 fi 2224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2225 fi 2226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2227 # Binary search between lo and hi bounds. 2228 while test "x$ac_lo" != "x$ac_hi"; do 2229 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2231 /* end confdefs.h. */ 2232 $4 2233 int 2234 main () 2235 { 2236 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2237 test_array [0] = 0 2238 2239 ; 2240 return 0; 2241 } 2242 _ACEOF 2243 if ac_fn_cxx_try_compile "$LINENO"; then : 2244 ac_hi=$ac_mid 2245 else 2246 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2247 fi 2248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2249 done 2250 case $ac_lo in #(( 2251 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2252 '') ac_retval=1 ;; 2253 esac 2254 else 2255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2256 /* end confdefs.h. */ 2257 $4 2258 static long int longval () { return $2; } 2259 static unsigned long int ulongval () { return $2; } 2260 #include <stdio.h> 2261 #include <stdlib.h> 2262 int 2263 main () 2264 { 2265 2266 FILE *f = fopen ("conftest.val", "w"); 2267 if (! f) 2268 return 1; 2269 if (($2) < 0) 2270 { 2271 long int i = longval (); 2272 if (i != ($2)) 2273 return 1; 2274 fprintf (f, "%ld", i); 2275 } 2276 else 2277 { 2278 unsigned long int i = ulongval (); 2279 if (i != ($2)) 2280 return 1; 2281 fprintf (f, "%lu", i); 2282 } 2283 /* Do not output a trailing newline, as this causes \r\n confusion 2284 on some platforms. */ 2285 return ferror (f) || fclose (f) != 0; 2286 2287 ; 2288 return 0; 2289 } 2290 _ACEOF 2291 if ac_fn_cxx_try_run "$LINENO"; then : 2292 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2293 else 2294 ac_retval=1 2295 fi 2296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2297 conftest.$ac_objext conftest.beam conftest.$ac_ext 2298 rm -f conftest.val 2299 2300 fi 2301 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2302 as_fn_set_status $ac_retval 2303 2304 } # ac_fn_cxx_compute_int 1458 2305 cat >config.log <<_ACEOF 1459 2306 This file contains any messages produced by compilers while … … 1461 2308 1462 2309 It was created by Rappture $as_me 1.1, which was 1463 generated by GNU Autoconf 2.6 1. Invocation command line was2310 generated by GNU Autoconf 2.65. Invocation command line was 1464 2311 1465 2312 $ $0 $@ … … 1497 2344 IFS=$as_save_IFS 1498 2345 test -z "$as_dir" && as_dir=. 1499 echo "PATH: $as_dir"1500 done2346 $as_echo "PATH: $as_dir" 2347 done 1501 2348 IFS=$as_save_IFS 1502 2349 … … 1532 2379 continue ;; 1533 2380 *\'*) 1534 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2381 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1535 2382 esac 1536 2383 case $ac_pass in 1537 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2384 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1538 2385 2) 1539 a c_configure_args1="$ac_configure_args1'$ac_arg'"2386 as_fn_append ac_configure_args1 " '$ac_arg'" 1540 2387 if test $ac_must_keep_next = true; then 1541 2388 ac_must_keep_next=false # Got value, back to normal. … … 1553 2400 esac 1554 2401 fi 1555 a c_configure_args="$ac_configure_args'$ac_arg'"2402 as_fn_append ac_configure_args " '$ac_arg'" 1556 2403 ;; 1557 2404 esac 1558 2405 done 1559 2406 done 1560 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1561 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2407 { ac_configure_args0=; unset ac_configure_args0;} 2408 { ac_configure_args1=; unset ac_configure_args1;} 1562 2409 1563 2410 # When interrupted or exit'd, cleanup temporary files, and complete … … 1584 2431 *${as_nl}*) 1585 2432 case $ac_var in #( 1586 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51587 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2433 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2434 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1588 2435 esac 1589 2436 case $ac_var in #( 1590 2437 _ | IFS | as_nl) ;; #( 1591 *) $as_unset $ac_var ;; 2438 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2439 *) { eval $ac_var=; unset $ac_var;} ;; 1592 2440 esac ;; 1593 2441 esac … … 1618 2466 eval ac_val=\$$ac_var 1619 2467 case $ac_val in 1620 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2468 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1621 2469 esac 1622 echo "$ac_var='\''$ac_val'\''"2470 $as_echo "$ac_var='\''$ac_val'\''" 1623 2471 done | sort 1624 2472 echo … … 1635 2483 eval ac_val=\$$ac_var 1636 2484 case $ac_val in 1637 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2485 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1638 2486 esac 1639 echo "$ac_var='\''$ac_val'\''"2487 $as_echo "$ac_var='\''$ac_val'\''" 1640 2488 done | sort 1641 2489 echo … … 1653 2501 fi 1654 2502 test "$ac_signal" != 0 && 1655 echo "$as_me: caught signal $ac_signal"1656 echo "$as_me: exit $exit_status"2503 $as_echo "$as_me: caught signal $ac_signal" 2504 $as_echo "$as_me: exit $exit_status" 1657 2505 } >&5 1658 2506 rm -f core *.core core.conftest.* && … … 1661 2509 ' 0 1662 2510 for ac_signal in 1 2 13 15; do 1663 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2511 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1664 2512 done 1665 2513 ac_signal=0 … … 1668 2516 rm -f -r conftest* confdefs.h 1669 2517 2518 $as_echo "/* confdefs.h */" > confdefs.h 2519 1670 2520 # Predefined preprocessor variables. 1671 2521 … … 1674 2524 _ACEOF 1675 2525 1676 1677 2526 cat >>confdefs.h <<_ACEOF 1678 2527 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1679 2528 _ACEOF 1680 2529 1681 1682 2530 cat >>confdefs.h <<_ACEOF 1683 2531 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1684 2532 _ACEOF 1685 2533 1686 1687 2534 cat >>confdefs.h <<_ACEOF 1688 2535 #define PACKAGE_STRING "$PACKAGE_STRING" 1689 2536 _ACEOF 1690 2537 1691 1692 2538 cat >>confdefs.h <<_ACEOF 1693 2539 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1694 2540 _ACEOF 1695 2541 2542 cat >>confdefs.h <<_ACEOF 2543 #define PACKAGE_URL "$PACKAGE_URL" 2544 _ACEOF 2545 1696 2546 1697 2547 # Let the site file select an alternate cache file if it wants to. 1698 # Prefer explicitly selected file to automatically selected ones. 2548 # Prefer an explicitly selected file to automatically selected ones. 2549 ac_site_file1=NONE 2550 ac_site_file2=NONE 1699 2551 if test -n "$CONFIG_SITE"; then 1700 set x "$CONFIG_SITE"2552 ac_site_file1=$CONFIG_SITE 1701 2553 elif test "x$prefix" != xNONE; then 1702 set x "$prefix/share/config.site" "$prefix/etc/config.site"1703 else1704 set x "$ac_default_prefix/share/config.site" \ 1705 "$ac_default_prefix/etc/config.site" 1706 fi 1707 shift 1708 for ac_site_file 2554 ac_site_file1=$prefix/share/config.site 2555 ac_site_file2=$prefix/etc/config.site 2556 else 2557 ac_site_file1=$ac_default_prefix/share/config.site 2558 ac_site_file2=$ac_default_prefix/etc/config.site 2559 fi 2560 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1709 2561 do 1710 if test -r "$ac_site_file"; then 1711 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1712 echo "$as_me: loading site script $ac_site_file" >&6;} 2562 test "x$ac_site_file" = xNONE && continue 2563 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2564 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2565 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1713 2566 sed 's/^/| /' "$ac_site_file" >&5 1714 2567 . "$ac_site_file" … … 1717 2570 1718 2571 if test -r "$cache_file"; then 1719 # Some versions of bash will fail to source /dev/null (special 1720 # files actually), so we avoid doing that.1721 if test -f "$cache_file"; then1722 { echo "$as_me:$LINENO: loading cache $cache_file" >&51723 echo "$as_me: loading cache $cache_file" >&6;}2572 # Some versions of bash will fail to source /dev/null (special files 2573 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2574 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2575 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2576 $as_echo "$as_me: loading cache $cache_file" >&6;} 1724 2577 case $cache_file in 1725 2578 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1728 2581 fi 1729 2582 else 1730 { echo "$as_me:$LINENO: creating cache $cache_file" >&51731 echo "$as_me: creating cache $cache_file" >&6;}2583 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2584 $as_echo "$as_me: creating cache $cache_file" >&6;} 1732 2585 >$cache_file 1733 2586 fi … … 1743 2596 case $ac_old_set,$ac_new_set in 1744 2597 set,) 1745 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51746 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2598 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2599 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1747 2600 ac_cache_corrupted=: ;; 1748 2601 ,set) 1749 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51750 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2602 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2603 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1751 2604 ac_cache_corrupted=: ;; 1752 2605 ,);; 1753 2606 *) 1754 2607 if test "x$ac_old_val" != "x$ac_new_val"; then 1755 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1756 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1757 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1758 echo "$as_me: former value: $ac_old_val" >&2;} 1759 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1760 echo "$as_me: current value: $ac_new_val" >&2;} 1761 ac_cache_corrupted=: 2608 # differences in whitespace do not lead to failure. 2609 ac_old_val_w=`echo x $ac_old_val` 2610 ac_new_val_w=`echo x $ac_new_val` 2611 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2613 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2614 ac_cache_corrupted=: 2615 else 2616 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2617 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2618 eval $ac_var=\$ac_old_val 2619 fi 2620 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2621 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2622 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2623 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1762 2624 fi;; 1763 2625 esac … … 1765 2627 if test "$ac_new_set" = set; then 1766 2628 case $ac_new_val in 1767 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2629 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1768 2630 *) ac_arg=$ac_var=$ac_new_val ;; 1769 2631 esac 1770 2632 case " $ac_configure_args " in 1771 2633 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1772 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2634 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1773 2635 esac 1774 2636 fi 1775 2637 done 1776 2638 if $ac_cache_corrupted; then 1777 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1778 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1779 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1780 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1781 { (exit 1); exit 1; }; } 1782 fi 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 2639 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2641 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2642 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2643 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2644 fi 2645 ## -------------------- ## 2646 ## Main body of script. ## 2647 ## -------------------- ## 1807 2648 1808 2649 ac_ext=c … … 1815 2656 ac_aux_dir= 1816 2657 for ac_dir in cf "$srcdir"/cf; do 1817 if test -f "$ac_dir/install-sh"; then 1818 ac_aux_dir=$ac_dir 1819 ac_install_sh="$ac_aux_dir/install-sh -c" 1820 break 1821 elif test -f "$ac_dir/install.sh"; then 1822 ac_aux_dir=$ac_dir 1823 ac_install_sh="$ac_aux_dir/install.sh -c" 1824 break 1825 elif test -f "$ac_dir/shtool"; then 1826 ac_aux_dir=$ac_dir 1827 ac_install_sh="$ac_aux_dir/shtool install -c" 1828 break 1829 fi 2658 for ac_t in install-sh install.sh shtool; do 2659 if test -f "$ac_dir/$ac_t"; then 2660 ac_aux_dir=$ac_dir 2661 ac_install_sh="$ac_aux_dir/$ac_t -c" 2662 break 2 2663 fi 2664 done 1830 2665 done 1831 2666 if test -z "$ac_aux_dir"; then 1832 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1833 echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1834 { (exit 1); exit 1; }; } 2667 as_fn_error "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1835 2668 fi 1836 2669 … … 1879 2712 # OS/2's system install, which has a completely different semantic 1880 2713 # ./install, which can be erroneously created by make from ./install.sh. 1881 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1882 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2714 # Reject install programs that cannot install multiple files. 2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2716 $as_echo_n "checking for a BSD-compatible install... " >&6; } 1883 2717 if test -z "$INSTALL"; then 1884 if test "${ac_cv_path_install+set}" = set; then 1885 echo $ECHO_N "(cached) $ECHO_C" >&62718 if test "${ac_cv_path_install+set}" = set; then : 2719 $as_echo_n "(cached) " >&6 1886 2720 else 1887 2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 1890 2724 IFS=$as_save_IFS 1891 2725 test -z "$as_dir" && as_dir=. 1892 # Account for people who put trailing slashes in PATH elements.1893 case $as_dir/ in 1894 ./ | .// | / cC/* | \2726 # Account for people who put trailing slashes in PATH elements. 2727 case $as_dir/ in #(( 2728 ./ | .// | /[cC]/* | \ 1895 2729 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1896 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2730 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1897 2731 /usr/ucb/* ) ;; 1898 2732 *) … … 1912 2746 : 1913 2747 else 1914 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1915 break 3 2748 rm -rf conftest.one conftest.two conftest.dir 2749 echo one > conftest.one 2750 echo two > conftest.two 2751 mkdir conftest.dir 2752 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2753 test -s conftest.one && test -s conftest.two && 2754 test -s conftest.dir/conftest.one && 2755 test -s conftest.dir/conftest.two 2756 then 2757 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2758 break 3 2759 fi 1916 2760 fi 1917 2761 fi … … 1920 2764 ;; 1921 2765 esac 1922 done 2766 2767 done 1923 2768 IFS=$as_save_IFS 1924 2769 2770 rm -rf conftest.one conftest.two conftest.dir 1925 2771 1926 2772 fi … … 1935 2781 fi 1936 2782 fi 1937 { echo "$as_me:$LINENO: result: $INSTALL" >&51938 echo "${ECHO_T}$INSTALL" >&6; }2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2784 $as_echo "$INSTALL" >&6; } 1939 2785 1940 2786 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1946 2792 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1947 2793 1948 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1949 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1950 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1951 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1952 echo $ECHO_N "(cached) $ECHO_C" >&6 2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2795 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2796 set x ${MAKE-make} 2797 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2798 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2799 $as_echo_n "(cached) " >&6 1953 2800 else 1954 2801 cat >conftest.make <<\_ACEOF … … 1967 2814 fi 1968 2815 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 1969 { echo "$as_me:$LINENO: result: yes" >&51970 echo "${ECHO_T}yes" >&6; }2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2817 $as_echo "yes" >&6; } 1971 2818 SET_MAKE= 1972 2819 else 1973 { echo "$as_me:$LINENO: result: no" >&51974 echo "${ECHO_T}no" >&6; }2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2821 $as_echo "no" >&6; } 1975 2822 SET_MAKE="MAKE=${MAKE-make}" 1976 2823 fi … … 1986 2833 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1987 2834 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1988 { echo "$as_me:$LINENO: checking for $ac_word" >&51989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1990 if test "${ac_cv_prog_CC+set}" = set; then 1991 echo $ECHO_N "(cached) $ECHO_C" >&62835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2836 $as_echo_n "checking for $ac_word... " >&6; } 2837 if test "${ac_cv_prog_CC+set}" = set; then : 2838 $as_echo_n "(cached) " >&6 1992 2839 else 1993 2840 if test -n "$CC"; then … … 1999 2846 IFS=$as_save_IFS 2000 2847 test -z "$as_dir" && as_dir=. 2001 for ac_exec_ext in '' $ac_executable_extensions; do2848 for ac_exec_ext in '' $ac_executable_extensions; do 2002 2849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2003 2850 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2005 2852 break 2 2006 2853 fi 2007 2854 done 2008 done2855 done 2009 2856 IFS=$as_save_IFS 2010 2857 … … 2013 2860 CC=$ac_cv_prog_CC 2014 2861 if test -n "$CC"; then 2015 { echo "$as_me:$LINENO: result: $CC" >&52016 echo "${ECHO_T}$CC" >&6; }2017 else 2018 { echo "$as_me:$LINENO: result: no" >&52019 echo "${ECHO_T}no" >&6; }2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2863 $as_echo "$CC" >&6; } 2864 else 2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2866 $as_echo "no" >&6; } 2020 2867 fi 2021 2868 … … 2026 2873 # Extract the first word of "gcc", so it can be a program name with args. 2027 2874 set dummy gcc; ac_word=$2 2028 { echo "$as_me:$LINENO: checking for $ac_word" >&52029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2030 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2031 echo $ECHO_N "(cached) $ECHO_C" >&62875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2876 $as_echo_n "checking for $ac_word... " >&6; } 2877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2878 $as_echo_n "(cached) " >&6 2032 2879 else 2033 2880 if test -n "$ac_ct_CC"; then … … 2039 2886 IFS=$as_save_IFS 2040 2887 test -z "$as_dir" && as_dir=. 2041 for ac_exec_ext in '' $ac_executable_extensions; do2888 for ac_exec_ext in '' $ac_executable_extensions; do 2042 2889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2043 2890 ac_cv_prog_ac_ct_CC="gcc" 2044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2045 2892 break 2 2046 2893 fi 2047 2894 done 2048 done2895 done 2049 2896 IFS=$as_save_IFS 2050 2897 … … 2053 2900 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2054 2901 if test -n "$ac_ct_CC"; then 2055 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52056 echo "${ECHO_T}$ac_ct_CC" >&6; }2057 else 2058 { echo "$as_me:$LINENO: result: no" >&52059 echo "${ECHO_T}no" >&6; }2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2903 $as_echo "$ac_ct_CC" >&6; } 2904 else 2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2906 $as_echo "no" >&6; } 2060 2907 fi 2061 2908 … … 2065 2912 case $cross_compiling:$ac_tool_warned in 2066 2913 yes:) 2067 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2068 whose name does not start with the host triplet. If you think this 2069 configuration is useful to you, please write to autoconf@gnu.org." >&5 2070 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2071 whose name does not start with the host triplet. If you think this 2072 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2073 2916 ac_tool_warned=yes ;; 2074 2917 esac … … 2083 2926 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2084 2927 set dummy ${ac_tool_prefix}cc; ac_word=$2 2085 { echo "$as_me:$LINENO: checking for $ac_word" >&52086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2087 if test "${ac_cv_prog_CC+set}" = set; then 2088 echo $ECHO_N "(cached) $ECHO_C" >&62928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2929 $as_echo_n "checking for $ac_word... " >&6; } 2930 if test "${ac_cv_prog_CC+set}" = set; then : 2931 $as_echo_n "(cached) " >&6 2089 2932 else 2090 2933 if test -n "$CC"; then … … 2096 2939 IFS=$as_save_IFS 2097 2940 test -z "$as_dir" && as_dir=. 2098 for ac_exec_ext in '' $ac_executable_extensions; do2941 for ac_exec_ext in '' $ac_executable_extensions; do 2099 2942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2100 2943 ac_cv_prog_CC="${ac_tool_prefix}cc" 2101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2102 2945 break 2 2103 2946 fi 2104 2947 done 2105 done2948 done 2106 2949 IFS=$as_save_IFS 2107 2950 … … 2110 2953 CC=$ac_cv_prog_CC 2111 2954 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; }2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2956 $as_echo "$CC" >&6; } 2957 else 2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2959 $as_echo "no" >&6; } 2117 2960 fi 2118 2961 … … 2123 2966 # Extract the first word of "cc", so it can be a program name with args. 2124 2967 set dummy cc; ac_word=$2 2125 { echo "$as_me:$LINENO: checking for $ac_word" >&52126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2127 if test "${ac_cv_prog_CC+set}" = set; then 2128 echo $ECHO_N "(cached) $ECHO_C" >&62968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2969 $as_echo_n "checking for $ac_word... " >&6; } 2970 if test "${ac_cv_prog_CC+set}" = set; then : 2971 $as_echo_n "(cached) " >&6 2129 2972 else 2130 2973 if test -n "$CC"; then … … 2137 2980 IFS=$as_save_IFS 2138 2981 test -z "$as_dir" && as_dir=. 2139 for ac_exec_ext in '' $ac_executable_extensions; do2982 for ac_exec_ext in '' $ac_executable_extensions; do 2140 2983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2141 2984 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2144 2987 fi 2145 2988 ac_cv_prog_CC="cc" 2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2147 2990 break 2 2148 2991 fi 2149 2992 done 2150 done2993 done 2151 2994 IFS=$as_save_IFS 2152 2995 … … 2167 3010 CC=$ac_cv_prog_CC 2168 3011 if test -n "$CC"; then 2169 { echo "$as_me:$LINENO: result: $CC" >&52170 echo "${ECHO_T}$CC" >&6; }2171 else 2172 { echo "$as_me:$LINENO: result: no" >&52173 echo "${ECHO_T}no" >&6; }3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3013 $as_echo "$CC" >&6; } 3014 else 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3016 $as_echo "no" >&6; } 2174 3017 fi 2175 3018 … … 2182 3025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2183 3026 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2184 { echo "$as_me:$LINENO: checking for $ac_word" >&52185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2186 if test "${ac_cv_prog_CC+set}" = set; then 2187 echo $ECHO_N "(cached) $ECHO_C" >&63027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3028 $as_echo_n "checking for $ac_word... " >&6; } 3029 if test "${ac_cv_prog_CC+set}" = set; then : 3030 $as_echo_n "(cached) " >&6 2188 3031 else 2189 3032 if test -n "$CC"; then … … 2195 3038 IFS=$as_save_IFS 2196 3039 test -z "$as_dir" && as_dir=. 2197 for ac_exec_ext in '' $ac_executable_extensions; do3040 for ac_exec_ext in '' $ac_executable_extensions; do 2198 3041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2199 3042 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2201 3044 break 2 2202 3045 fi 2203 3046 done 2204 done3047 done 2205 3048 IFS=$as_save_IFS 2206 3049 … … 2209 3052 CC=$ac_cv_prog_CC 2210 3053 if test -n "$CC"; then 2211 { echo "$as_me:$LINENO: result: $CC" >&52212 echo "${ECHO_T}$CC" >&6; }2213 else 2214 { echo "$as_me:$LINENO: result: no" >&52215 echo "${ECHO_T}no" >&6; }3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3055 $as_echo "$CC" >&6; } 3056 else 3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3058 $as_echo "no" >&6; } 2216 3059 fi 2217 3060 … … 2226 3069 # Extract the first word of "$ac_prog", so it can be a program name with args. 2227 3070 set dummy $ac_prog; ac_word=$2 2228 { echo "$as_me:$LINENO: checking for $ac_word" >&52229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2230 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2231 echo $ECHO_N "(cached) $ECHO_C" >&63071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3072 $as_echo_n "checking for $ac_word... " >&6; } 3073 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3074 $as_echo_n "(cached) " >&6 2232 3075 else 2233 3076 if test -n "$ac_ct_CC"; then … … 2239 3082 IFS=$as_save_IFS 2240 3083 test -z "$as_dir" && as_dir=. 2241 for ac_exec_ext in '' $ac_executable_extensions; do3084 for ac_exec_ext in '' $ac_executable_extensions; do 2242 3085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2243 3086 ac_cv_prog_ac_ct_CC="$ac_prog" 2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2245 3088 break 2 2246 3089 fi 2247 3090 done 2248 done3091 done 2249 3092 IFS=$as_save_IFS 2250 3093 … … 2253 3096 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2254 3097 if test -n "$ac_ct_CC"; then 2255 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52256 echo "${ECHO_T}$ac_ct_CC" >&6; }2257 else 2258 { echo "$as_me:$LINENO: result: no" >&52259 echo "${ECHO_T}no" >&6; }3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3099 $as_echo "$ac_ct_CC" >&6; } 3100 else 3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3102 $as_echo "no" >&6; } 2260 3103 fi 2261 3104 … … 2269 3112 case $cross_compiling:$ac_tool_warned in 2270 3113 yes:) 2271 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2272 whose name does not start with the host triplet. If you think this 2273 configuration is useful to you, please write to autoconf@gnu.org." >&5 2274 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2275 whose name does not start with the host triplet. If you think this 2276 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2277 3116 ac_tool_warned=yes ;; 2278 3117 esac … … 2284 3123 2285 3124 2286 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2287 See \`config.log' for more details." >&5 2288 echo "$as_me: error: no acceptable C compiler found in \$PATH 2289 See \`config.log' for more details." >&2;} 2290 { (exit 1); exit 1; }; } 3125 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3127 as_fn_error "no acceptable C compiler found in \$PATH 3128 See \`config.log' for more details." "$LINENO" 5; } 2291 3129 2292 3130 # Provide some information about the compiler. 2293 echo "$as_me:$LINENO: checking for C compiler version" >&5 2294 ac_compiler=`set X $ac_compile; echo $2` 2295 { (ac_try="$ac_compiler --version >&5" 3131 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3132 set X $ac_compile 3133 ac_compiler=$2 3134 for ac_option in --version -v -V -qversion; do 3135 { { ac_try="$ac_compiler $ac_option >&5" 2296 3136 case "(($ac_try" in 2297 3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2298 3138 *) ac_try_echo=$ac_try;; 2299 3139 esac 2300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2301 (eval "$ac_compiler --version >&5") 2>&5 3140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3141 $as_echo "$ac_try_echo"; } >&5 3142 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2302 3143 ac_status=$? 2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2304 (exit $ac_status); } 2305 { (ac_try="$ac_compiler -v >&5" 3144 if test -s conftest.err; then 3145 sed '10a\ 3146 ... rest of stderr output deleted ... 3147 10q' conftest.err >conftest.er1 3148 cat conftest.er1 >&5 3149 fi 3150 rm -f conftest.er1 conftest.err 3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3152 test $ac_status = 0; } 3153 done 3154 3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3156 /* end confdefs.h. */ 3157 3158 int 3159 main () 3160 { 3161 3162 ; 3163 return 0; 3164 } 3165 _ACEOF 3166 ac_clean_files_save=$ac_clean_files 3167 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3168 # Try to create an executable without -o first, disregard a.out. 3169 # It will help us diagnose broken compilers, and finding out an intuition 3170 # of exeext. 3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3172 $as_echo_n "checking whether the C compiler works... " >&6; } 3173 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3174 3175 # The possible output files: 3176 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3177 3178 ac_rmfiles= 3179 for ac_file in $ac_files 3180 do 3181 case $ac_file in 3182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3183 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3184 esac 3185 done 3186 rm -f $ac_rmfiles 3187 3188 if { { ac_try="$ac_link_default" 2306 3189 case "(($ac_try" in 2307 3190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2308 3191 *) ac_try_echo=$ac_try;; 2309 3192 esac 2310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2311 (eval "$ac_compiler -v >&5") 2>&5 2312 ac_status=$? 2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2314 (exit $ac_status); } 2315 { (ac_try="$ac_compiler -V >&5" 2316 case "(($ac_try" in 2317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2318 *) ac_try_echo=$ac_try;; 2319 esac 2320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2321 (eval "$ac_compiler -V >&5") 2>&5 2322 ac_status=$? 2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2324 (exit $ac_status); } 2325 2326 cat >conftest.$ac_ext <<_ACEOF 2327 /* confdefs.h. */ 2328 _ACEOF 2329 cat confdefs.h >>conftest.$ac_ext 2330 cat >>conftest.$ac_ext <<_ACEOF 2331 /* end confdefs.h. */ 2332 2333 int 2334 main () 2335 { 2336 2337 ; 2338 return 0; 2339 } 2340 _ACEOF 2341 ac_clean_files_save=$ac_clean_files 2342 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2343 # Try to create an executable without -o first, disregard a.out. 2344 # It will help us diagnose broken compilers, and finding out an intuition 2345 # of exeext. 2346 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2347 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2348 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2349 # 2350 # List of possible output files, starting from the most likely. 2351 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2352 # only as a last resort. b.out is created by i960 compilers. 2353 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2354 # 2355 # The IRIX 6 linker writes into existing files which may not be 2356 # executable, retaining their permissions. Remove them first so a 2357 # subsequent execution test works. 2358 ac_rmfiles= 2359 for ac_file in $ac_files 2360 do 2361 case $ac_file in 2362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2363 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2364 esac 2365 done 2366 rm -f $ac_rmfiles 2367 2368 if { (ac_try="$ac_link_default" 2369 case "(($ac_try" in 2370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2371 *) ac_try_echo=$ac_try;; 2372 esac 2373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3194 $as_echo "$ac_try_echo"; } >&5 2374 3195 (eval "$ac_link_default") 2>&5 2375 3196 ac_status=$? 2376 echo "$as_me:$LINENO: \$? = $ac_status" >&52377 (exit $ac_status); }; then3197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3198 test $ac_status = 0; }; then : 2378 3199 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2379 3200 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2385 3206 test -f "$ac_file" || continue 2386 3207 case $ac_file in 2387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )3208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2388 3209 ;; 2389 3210 [ab].out ) … … 2392 3213 break;; 2393 3214 *.* ) 2394 3215 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2395 3216 then :; else 2396 3217 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2411 3232 ac_file='' 2412 3233 fi 2413 2414 { echo "$as_me:$LINENO: result: $ac_file" >&5 2415 echo "${ECHO_T}$ac_file" >&6; } 2416 if test -z "$ac_file"; then 2417 echo "$as_me: failed program was:" >&5 3234 if test -z "$ac_file"; then : 3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3236 $as_echo "no" >&6; } 3237 $as_echo "$as_me: failed program was:" >&5 2418 3238 sed 's/^/| /' conftest.$ac_ext >&5 2419 3239 2420 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2421 See \`config.log' for more details." >&5 2422 echo "$as_me: error: C compiler cannot create executables 2423 See \`config.log' for more details." >&2;} 2424 { (exit 77); exit 77; }; } 2425 fi 2426 3240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3242 { as_fn_set_status 77 3243 as_fn_error "C compiler cannot create executables 3244 See \`config.log' for more details." "$LINENO" 5; }; } 3245 else 3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3247 $as_echo "yes" >&6; } 3248 fi 3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3250 $as_echo_n "checking for C compiler default output file name... " >&6; } 3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3252 $as_echo "$ac_file" >&6; } 2427 3253 ac_exeext=$ac_cv_exeext 2428 3254 2429 # Check that the compiler produces executables we can run. If not, either 2430 # the compiler is broken, or we cross compile. 2431 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2432 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2433 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2434 # If not cross compiling, check that we can run a simple program. 2435 if test "$cross_compiling" != yes; then 2436 if { ac_try='./$ac_file' 2437 { (case "(($ac_try" in 2438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2439 *) ac_try_echo=$ac_try;; 2440 esac 2441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2442 (eval "$ac_try") 2>&5 2443 ac_status=$? 2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2445 (exit $ac_status); }; }; then 2446 cross_compiling=no 2447 else 2448 if test "$cross_compiling" = maybe; then 2449 cross_compiling=yes 2450 else 2451 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2452 If you meant to cross compile, use \`--host'. 2453 See \`config.log' for more details." >&5 2454 echo "$as_me: error: cannot run C compiled programs. 2455 If you meant to cross compile, use \`--host'. 2456 See \`config.log' for more details." >&2;} 2457 { (exit 1); exit 1; }; } 2458 fi 2459 fi 2460 fi 2461 { echo "$as_me:$LINENO: result: yes" >&5 2462 echo "${ECHO_T}yes" >&6; } 2463 2464 rm -f a.out a.exe conftest$ac_cv_exeext b.out 3255 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2465 3256 ac_clean_files=$ac_clean_files_save 2466 # Check that the compiler produces executables we can run. If not, either 2467 # the compiler is broken, or we cross compile. 2468 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2469 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2470 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2471 echo "${ECHO_T}$cross_compiling" >&6; } 2472 2473 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2474 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2475 if { (ac_try="$ac_link" 3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3258 $as_echo_n "checking for suffix of executables... " >&6; } 3259 if { { ac_try="$ac_link" 2476 3260 case "(($ac_try" in 2477 3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2478 3262 *) ac_try_echo=$ac_try;; 2479 3263 esac 2480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3265 $as_echo "$ac_try_echo"; } >&5 2481 3266 (eval "$ac_link") 2>&5 2482 3267 ac_status=$? 2483 echo "$as_me:$LINENO: \$? = $ac_status" >&52484 (exit $ac_status); }; then3268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3269 test $ac_status = 0; }; then : 2485 3270 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2486 3271 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2490 3275 test -f "$ac_file" || continue 2491 3276 case $ac_file in 2492 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;3277 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2493 3278 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2494 3279 break;; … … 2497 3282 done 2498 3283 else 2499 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2500 See \`config.log' for more details." >&5 2501 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2502 See \`config.log' for more details." >&2;} 2503 { (exit 1); exit 1; }; } 2504 fi 2505 2506 rm -f conftest$ac_cv_exeext 2507 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2508 echo "${ECHO_T}$ac_cv_exeext" >&6; } 3284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3286 as_fn_error "cannot compute suffix of executables: cannot compile and link 3287 See \`config.log' for more details." "$LINENO" 5; } 3288 fi 3289 rm -f conftest conftest$ac_cv_exeext 3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3291 $as_echo "$ac_cv_exeext" >&6; } 2509 3292 2510 3293 rm -f conftest.$ac_ext 2511 3294 EXEEXT=$ac_cv_exeext 2512 3295 ac_exeext=$EXEEXT 2513 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2514 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2515 if test "${ac_cv_objext+set}" = set; then 2516 echo $ECHO_N "(cached) $ECHO_C" >&6 2517 else 2518 cat >conftest.$ac_ext <<_ACEOF 2519 /* confdefs.h. */ 2520 _ACEOF 2521 cat confdefs.h >>conftest.$ac_ext 2522 cat >>conftest.$ac_ext <<_ACEOF 3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2523 3297 /* end confdefs.h. */ 2524 3298 #include <stdio.h> 2525 3299 int 2526 3300 main () 2527 3301 { 3302 FILE *f = fopen ("conftest.out", "w"); 3303 return ferror (f) || fclose (f) != 0; 2528 3304 2529 3305 ; … … 2531 3307 } 2532 3308 _ACEOF 2533 rm -f conftest.o conftest.obj 2534 if { (ac_try="$ac_compile" 3309 ac_clean_files="$ac_clean_files conftest.out" 3310 # Check that the compiler produces executables we can run. If not, either 3311 # the compiler is broken, or we cross compile. 3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3313 $as_echo_n "checking whether we are cross compiling... " >&6; } 3314 if test "$cross_compiling" != yes; then 3315 { { ac_try="$ac_link" 2535 3316 case "(($ac_try" in 2536 3317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2537 3318 *) ac_try_echo=$ac_try;; 2538 3319 esac 2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3321 $as_echo "$ac_try_echo"; } >&5 3322 (eval "$ac_link") 2>&5 3323 ac_status=$? 3324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3325 test $ac_status = 0; } 3326 if { ac_try='./conftest$ac_cv_exeext' 3327 { { case "(($ac_try" in 3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3329 *) ac_try_echo=$ac_try;; 3330 esac 3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3332 $as_echo "$ac_try_echo"; } >&5 3333 (eval "$ac_try") 2>&5 3334 ac_status=$? 3335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3336 test $ac_status = 0; }; }; then 3337 cross_compiling=no 3338 else 3339 if test "$cross_compiling" = maybe; then 3340 cross_compiling=yes 3341 else 3342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3344 as_fn_error "cannot run C compiled programs. 3345 If you meant to cross compile, use \`--host'. 3346 See \`config.log' for more details." "$LINENO" 5; } 3347 fi 3348 fi 3349 fi 3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3351 $as_echo "$cross_compiling" >&6; } 3352 3353 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3354 ac_clean_files=$ac_clean_files_save 3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3356 $as_echo_n "checking for suffix of object files... " >&6; } 3357 if test "${ac_cv_objext+set}" = set; then : 3358 $as_echo_n "(cached) " >&6 3359 else 3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3361 /* end confdefs.h. */ 3362 3363 int 3364 main () 3365 { 3366 3367 ; 3368 return 0; 3369 } 3370 _ACEOF 3371 rm -f conftest.o conftest.obj 3372 if { { ac_try="$ac_compile" 3373 case "(($ac_try" in 3374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3375 *) ac_try_echo=$ac_try;; 3376 esac 3377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3378 $as_echo "$ac_try_echo"; } >&5 2540 3379 (eval "$ac_compile") 2>&5 2541 3380 ac_status=$? 2542 echo "$as_me:$LINENO: \$? = $ac_status" >&52543 (exit $ac_status); }; then3381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3382 test $ac_status = 0; }; then : 2544 3383 for ac_file in conftest.o conftest.obj conftest.*; do 2545 3384 test -f "$ac_file" || continue; 2546 3385 case $ac_file in 2547 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;3386 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2548 3387 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2549 3388 break;; … … 2551 3390 done 2552 3391 else 2553 echo "$as_me: failed program was:" >&53392 $as_echo "$as_me: failed program was:" >&5 2554 3393 sed 's/^/| /' conftest.$ac_ext >&5 2555 3394 2556 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2557 See \`config.log' for more details." >&5 2558 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2559 See \`config.log' for more details." >&2;} 2560 { (exit 1); exit 1; }; } 2561 fi 2562 3395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3397 as_fn_error "cannot compute suffix of object files: cannot compile 3398 See \`config.log' for more details." "$LINENO" 5; } 3399 fi 2563 3400 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2564 3401 fi 2565 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52566 echo "${ECHO_T}$ac_cv_objext" >&6; }3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3403 $as_echo "$ac_cv_objext" >&6; } 2567 3404 OBJEXT=$ac_cv_objext 2568 3405 ac_objext=$OBJEXT 2569 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2570 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2571 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2572 echo $ECHO_N "(cached) $ECHO_C" >&6 2573 else 2574 cat >conftest.$ac_ext <<_ACEOF 2575 /* confdefs.h. */ 2576 _ACEOF 2577 cat confdefs.h >>conftest.$ac_ext 2578 cat >>conftest.$ac_ext <<_ACEOF 3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3407 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3408 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3409 $as_echo_n "(cached) " >&6 3410 else 3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2579 3412 /* end confdefs.h. */ 2580 3413 … … 2590 3423 } 2591 3424 _ACEOF 2592 rm -f conftest.$ac_objext 2593 if { (ac_try="$ac_compile" 2594 case "(($ac_try" in 2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2596 *) ac_try_echo=$ac_try;; 2597 esac 2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2599 (eval "$ac_compile") 2>conftest.er1 2600 ac_status=$? 2601 grep -v '^ *+' conftest.er1 >conftest.err 2602 rm -f conftest.er1 2603 cat conftest.err >&5 2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2605 (exit $ac_status); } && { 2606 test -z "$ac_c_werror_flag" || 2607 test ! -s conftest.err 2608 } && test -s conftest.$ac_objext; then 3425 if ac_fn_c_try_compile "$LINENO"; then : 2609 3426 ac_compiler_gnu=yes 2610 3427 else 2611 echo "$as_me: failed program was:" >&5 2612 sed 's/^/| /' conftest.$ac_ext >&5 2613 2614 ac_compiler_gnu=no 2615 fi 2616 3428 ac_compiler_gnu=no 3429 fi 2617 3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2618 3431 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2619 3432 2620 3433 fi 2621 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2622 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2623 GCC=`test $ac_compiler_gnu = yes && echo yes` 3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3435 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3436 if test $ac_compiler_gnu = yes; then 3437 GCC=yes 3438 else 3439 GCC= 3440 fi 2624 3441 ac_test_CFLAGS=${CFLAGS+set} 2625 3442 ac_save_CFLAGS=$CFLAGS 2626 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52627 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2628 if test "${ac_cv_prog_cc_g+set}" = set; then 2629 echo $ECHO_N "(cached) $ECHO_C" >&63443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3444 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3445 if test "${ac_cv_prog_cc_g+set}" = set; then : 3446 $as_echo_n "(cached) " >&6 2630 3447 else 2631 3448 ac_save_c_werror_flag=$ac_c_werror_flag … … 2633 3450 ac_cv_prog_cc_g=no 2634 3451 CFLAGS="-g" 2635 cat >conftest.$ac_ext <<_ACEOF 2636 /* confdefs.h. */ 2637 _ACEOF 2638 cat confdefs.h >>conftest.$ac_ext 2639 cat >>conftest.$ac_ext <<_ACEOF 3452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2640 3453 /* end confdefs.h. */ 2641 3454 … … 2648 3461 } 2649 3462 _ACEOF 2650 rm -f conftest.$ac_objext 2651 if { (ac_try="$ac_compile" 2652 case "(($ac_try" in 2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2654 *) ac_try_echo=$ac_try;; 2655 esac 2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2657 (eval "$ac_compile") 2>conftest.er1 2658 ac_status=$? 2659 grep -v '^ *+' conftest.er1 >conftest.err 2660 rm -f conftest.er1 2661 cat conftest.err >&5 2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2663 (exit $ac_status); } && { 2664 test -z "$ac_c_werror_flag" || 2665 test ! -s conftest.err 2666 } && test -s conftest.$ac_objext; then 3463 if ac_fn_c_try_compile "$LINENO"; then : 2667 3464 ac_cv_prog_cc_g=yes 2668 3465 else 2669 echo "$as_me: failed program was:" >&5 2670 sed 's/^/| /' conftest.$ac_ext >&5 2671 2672 CFLAGS="" 2673 cat >conftest.$ac_ext <<_ACEOF 2674 /* confdefs.h. */ 2675 _ACEOF 2676 cat confdefs.h >>conftest.$ac_ext 2677 cat >>conftest.$ac_ext <<_ACEOF 3466 CFLAGS="" 3467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2678 3468 /* end confdefs.h. */ 2679 3469 … … 2686 3476 } 2687 3477 _ACEOF 2688 rm -f conftest.$ac_objext 2689 if { (ac_try="$ac_compile" 2690 case "(($ac_try" in 2691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2692 *) ac_try_echo=$ac_try;; 2693 esac 2694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2695 (eval "$ac_compile") 2>conftest.er1 2696 ac_status=$? 2697 grep -v '^ *+' conftest.er1 >conftest.err 2698 rm -f conftest.er1 2699 cat conftest.err >&5 2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2701 (exit $ac_status); } && { 2702 test -z "$ac_c_werror_flag" || 2703 test ! -s conftest.err 2704 } && test -s conftest.$ac_objext; then 2705 : 2706 else 2707 echo "$as_me: failed program was:" >&5 2708 sed 's/^/| /' conftest.$ac_ext >&5 2709 2710 ac_c_werror_flag=$ac_save_c_werror_flag 3478 if ac_fn_c_try_compile "$LINENO"; then : 3479 3480 else 3481 ac_c_werror_flag=$ac_save_c_werror_flag 2711 3482 CFLAGS="-g" 2712 cat >conftest.$ac_ext <<_ACEOF 2713 /* confdefs.h. */ 2714 _ACEOF 2715 cat confdefs.h >>conftest.$ac_ext 2716 cat >>conftest.$ac_ext <<_ACEOF 3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2717 3484 /* end confdefs.h. */ 2718 3485 … … 2725 3492 } 2726 3493 _ACEOF 2727 rm -f conftest.$ac_objext 2728 if { (ac_try="$ac_compile" 2729 case "(($ac_try" in 2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2731 *) ac_try_echo=$ac_try;; 2732 esac 2733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2734 (eval "$ac_compile") 2>conftest.er1 2735 ac_status=$? 2736 grep -v '^ *+' conftest.er1 >conftest.err 2737 rm -f conftest.er1 2738 cat conftest.err >&5 2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2740 (exit $ac_status); } && { 2741 test -z "$ac_c_werror_flag" || 2742 test ! -s conftest.err 2743 } && test -s conftest.$ac_objext; then 3494 if ac_fn_c_try_compile "$LINENO"; then : 2744 3495 ac_cv_prog_cc_g=yes 2745 else 2746 echo "$as_me: failed program was:" >&5 2747 sed 's/^/| /' conftest.$ac_ext >&5 2748 2749 2750 fi 2751 3496 fi 2752 3497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2753 3498 fi 2754 2755 3499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2756 3500 fi 2757 2758 3501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2759 3502 ac_c_werror_flag=$ac_save_c_werror_flag 2760 3503 fi 2761 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52762 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3505 $as_echo "$ac_cv_prog_cc_g" >&6; } 2763 3506 if test "$ac_test_CFLAGS" = set; then 2764 3507 CFLAGS=$ac_save_CFLAGS … … 2776 3519 fi 2777 3520 fi 2778 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52779 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2780 if test "${ac_cv_prog_cc_c89+set}" = set; then 2781 echo $ECHO_N "(cached) $ECHO_C" >&63521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3522 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3523 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3524 $as_echo_n "(cached) " >&6 2782 3525 else 2783 3526 ac_cv_prog_cc_c89=no 2784 3527 ac_save_CC=$CC 2785 cat >conftest.$ac_ext <<_ACEOF 2786 /* confdefs.h. */ 2787 _ACEOF 2788 cat confdefs.h >>conftest.$ac_ext 2789 cat >>conftest.$ac_ext <<_ACEOF 3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2790 3529 /* end confdefs.h. */ 2791 3530 #include <stdarg.h> … … 2844 3583 do 2845 3584 CC="$ac_save_CC $ac_arg" 2846 rm -f conftest.$ac_objext 2847 if { (ac_try="$ac_compile" 2848 case "(($ac_try" in 2849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2850 *) ac_try_echo=$ac_try;; 2851 esac 2852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2853 (eval "$ac_compile") 2>conftest.er1 2854 ac_status=$? 2855 grep -v '^ *+' conftest.er1 >conftest.err 2856 rm -f conftest.er1 2857 cat conftest.err >&5 2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2859 (exit $ac_status); } && { 2860 test -z "$ac_c_werror_flag" || 2861 test ! -s conftest.err 2862 } && test -s conftest.$ac_objext; then 3585 if ac_fn_c_try_compile "$LINENO"; then : 2863 3586 ac_cv_prog_cc_c89=$ac_arg 2864 else 2865 echo "$as_me: failed program was:" >&5 2866 sed 's/^/| /' conftest.$ac_ext >&5 2867 2868 2869 fi 2870 3587 fi 2871 3588 rm -f core conftest.err conftest.$ac_objext 2872 3589 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2879 3596 case "x$ac_cv_prog_cc_c89" in 2880 3597 x) 2881 { echo "$as_me:$LINENO: result: none needed" >&52882 echo "${ECHO_T}none needed" >&6; } ;;3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3599 $as_echo "none needed" >&6; } ;; 2883 3600 xno) 2884 { echo "$as_me:$LINENO: result: unsupported" >&52885 echo "${ECHO_T}unsupported" >&6; } ;;3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3602 $as_echo "unsupported" >&6; } ;; 2886 3603 *) 2887 3604 CC="$CC $ac_cv_prog_cc_c89" 2888 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52889 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3606 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2890 3607 esac 2891 3608 if test "x$ac_cv_prog_cc_c89" != xno; then : 3609 3610 fi 2892 3611 2893 3612 ac_ext=c … … 2911 3630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2912 3631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2913 { echo "$as_me:$LINENO: checking for $ac_word" >&52914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2915 if test "${ac_cv_prog_CXX+set}" = set; then 2916 echo $ECHO_N "(cached) $ECHO_C" >&63632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3633 $as_echo_n "checking for $ac_word... " >&6; } 3634 if test "${ac_cv_prog_CXX+set}" = set; then : 3635 $as_echo_n "(cached) " >&6 2917 3636 else 2918 3637 if test -n "$CXX"; then … … 2924 3643 IFS=$as_save_IFS 2925 3644 test -z "$as_dir" && as_dir=. 2926 for ac_exec_ext in '' $ac_executable_extensions; do3645 for ac_exec_ext in '' $ac_executable_extensions; do 2927 3646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2928 3647 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2930 3649 break 2 2931 3650 fi 2932 3651 done 2933 done3652 done 2934 3653 IFS=$as_save_IFS 2935 3654 … … 2938 3657 CXX=$ac_cv_prog_CXX 2939 3658 if test -n "$CXX"; then 2940 { echo "$as_me:$LINENO: result: $CXX" >&52941 echo "${ECHO_T}$CXX" >&6; }2942 else 2943 { echo "$as_me:$LINENO: result: no" >&52944 echo "${ECHO_T}no" >&6; }3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3660 $as_echo "$CXX" >&6; } 3661 else 3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3663 $as_echo "no" >&6; } 2945 3664 fi 2946 3665 … … 2955 3674 # Extract the first word of "$ac_prog", so it can be a program name with args. 2956 3675 set dummy $ac_prog; ac_word=$2 2957 { echo "$as_me:$LINENO: checking for $ac_word" >&52958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2959 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2960 echo $ECHO_N "(cached) $ECHO_C" >&63676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3677 $as_echo_n "checking for $ac_word... " >&6; } 3678 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3679 $as_echo_n "(cached) " >&6 2961 3680 else 2962 3681 if test -n "$ac_ct_CXX"; then … … 2968 3687 IFS=$as_save_IFS 2969 3688 test -z "$as_dir" && as_dir=. 2970 for ac_exec_ext in '' $ac_executable_extensions; do3689 for ac_exec_ext in '' $ac_executable_extensions; do 2971 3690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2972 3691 ac_cv_prog_ac_ct_CXX="$ac_prog" 2973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2974 3693 break 2 2975 3694 fi 2976 3695 done 2977 done3696 done 2978 3697 IFS=$as_save_IFS 2979 3698 … … 2982 3701 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2983 3702 if test -n "$ac_ct_CXX"; then 2984 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&52985 echo "${ECHO_T}$ac_ct_CXX" >&6; }2986 else 2987 { echo "$as_me:$LINENO: result: no" >&52988 echo "${ECHO_T}no" >&6; }3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3704 $as_echo "$ac_ct_CXX" >&6; } 3705 else 3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3707 $as_echo "no" >&6; } 2989 3708 fi 2990 3709 … … 2998 3717 case $cross_compiling:$ac_tool_warned in 2999 3718 yes:) 3000 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3001 whose name does not start with the host triplet. If you think this 3002 configuration is useful to you, please write to autoconf@gnu.org." >&5 3003 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3004 whose name does not start with the host triplet. If you think this 3005 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3006 3721 ac_tool_warned=yes ;; 3007 3722 esac … … 3013 3728 fi 3014 3729 # Provide some information about the compiler. 3015 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3016 ac_compiler=`set X $ac_compile; echo $2` 3017 { (ac_try="$ac_compiler --version >&5" 3730 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3731 set X $ac_compile 3732 ac_compiler=$2 3733 for ac_option in --version -v -V -qversion; do 3734 { { ac_try="$ac_compiler $ac_option >&5" 3018 3735 case "(($ac_try" in 3019 3736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3020 3737 *) ac_try_echo=$ac_try;; 3021 3738 esac 3022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3023 (eval "$ac_compiler --version >&5") 2>&5 3739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3740 $as_echo "$ac_try_echo"; } >&5 3741 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3024 3742 ac_status=$? 3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3026 (exit $ac_status); } 3027 { (ac_try="$ac_compiler -v >&5" 3028 case "(($ac_try" in 3029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3030 *) ac_try_echo=$ac_try;; 3031 esac 3032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3033 (eval "$ac_compiler -v >&5") 2>&5 3034 ac_status=$? 3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3036 (exit $ac_status); } 3037 { (ac_try="$ac_compiler -V >&5" 3038 case "(($ac_try" in 3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3040 *) ac_try_echo=$ac_try;; 3041 esac 3042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3043 (eval "$ac_compiler -V >&5") 2>&5 3044 ac_status=$? 3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3046 (exit $ac_status); } 3047 3048 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3049 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3050 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3051 echo $ECHO_N "(cached) $ECHO_C" >&6 3052 else 3053 cat >conftest.$ac_ext <<_ACEOF 3054 /* confdefs.h. */ 3055 _ACEOF 3056 cat confdefs.h >>conftest.$ac_ext 3057 cat >>conftest.$ac_ext <<_ACEOF 3743 if test -s conftest.err; then 3744 sed '10a\ 3745 ... rest of stderr output deleted ... 3746 10q' conftest.err >conftest.er1 3747 cat conftest.er1 >&5 3748 fi 3749 rm -f conftest.er1 conftest.err 3750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3751 test $ac_status = 0; } 3752 done 3753 3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3755 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3756 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3757 $as_echo_n "(cached) " >&6 3758 else 3759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3058 3760 /* end confdefs.h. */ 3059 3761 … … 3069 3771 } 3070 3772 _ACEOF 3071 rm -f conftest.$ac_objext 3072 if { (ac_try="$ac_compile" 3073 case "(($ac_try" in 3074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3075 *) ac_try_echo=$ac_try;; 3076 esac 3077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3078 (eval "$ac_compile") 2>conftest.er1 3079 ac_status=$? 3080 grep -v '^ *+' conftest.er1 >conftest.err 3081 rm -f conftest.er1 3082 cat conftest.err >&5 3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3084 (exit $ac_status); } && { 3085 test -z "$ac_cxx_werror_flag" || 3086 test ! -s conftest.err 3087 } && test -s conftest.$ac_objext; then 3773 if ac_fn_cxx_try_compile "$LINENO"; then : 3088 3774 ac_compiler_gnu=yes 3089 3775 else 3090 echo "$as_me: failed program was:" >&5 3091 sed 's/^/| /' conftest.$ac_ext >&5 3092 3093 ac_compiler_gnu=no 3094 fi 3095 3776 ac_compiler_gnu=no 3777 fi 3096 3778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3097 3779 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3098 3780 3099 3781 fi 3100 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3101 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3102 GXX=`test $ac_compiler_gnu = yes && echo yes` 3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3783 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3784 if test $ac_compiler_gnu = yes; then 3785 GXX=yes 3786 else 3787 GXX= 3788 fi 3103 3789 ac_test_CXXFLAGS=${CXXFLAGS+set} 3104 3790 ac_save_CXXFLAGS=$CXXFLAGS 3105 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53106 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3107 if test "${ac_cv_prog_cxx_g+set}" = set; then 3108 echo $ECHO_N "(cached) $ECHO_C" >&63791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3792 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3793 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3794 $as_echo_n "(cached) " >&6 3109 3795 else 3110 3796 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3112 3798 ac_cv_prog_cxx_g=no 3113 3799 CXXFLAGS="-g" 3114 cat >conftest.$ac_ext <<_ACEOF 3115 /* confdefs.h. */ 3116 _ACEOF 3117 cat confdefs.h >>conftest.$ac_ext 3118 cat >>conftest.$ac_ext <<_ACEOF 3800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3119 3801 /* end confdefs.h. */ 3120 3802 … … 3127 3809 } 3128 3810 _ACEOF 3129 rm -f conftest.$ac_objext 3130 if { (ac_try="$ac_compile" 3131 case "(($ac_try" in 3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3133 *) ac_try_echo=$ac_try;; 3134 esac 3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3136 (eval "$ac_compile") 2>conftest.er1 3137 ac_status=$? 3138 grep -v '^ *+' conftest.er1 >conftest.err 3139 rm -f conftest.er1 3140 cat conftest.err >&5 3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3142 (exit $ac_status); } && { 3143 test -z "$ac_cxx_werror_flag" || 3144 test ! -s conftest.err 3145 } && test -s conftest.$ac_objext; then 3811 if ac_fn_cxx_try_compile "$LINENO"; then : 3146 3812 ac_cv_prog_cxx_g=yes 3147 3813 else 3148 echo "$as_me: failed program was:" >&5 3149 sed 's/^/| /' conftest.$ac_ext >&5 3150 3151 CXXFLAGS="" 3152 cat >conftest.$ac_ext <<_ACEOF 3153 /* confdefs.h. */ 3154 _ACEOF 3155 cat confdefs.h >>conftest.$ac_ext 3156 cat >>conftest.$ac_ext <<_ACEOF 3814 CXXFLAGS="" 3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3157 3816 /* end confdefs.h. */ 3158 3817 … … 3165 3824 } 3166 3825 _ACEOF 3167 rm -f conftest.$ac_objext 3168 if { (ac_try="$ac_compile" 3169 case "(($ac_try" in 3170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3171 *) ac_try_echo=$ac_try;; 3172 esac 3173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3174 (eval "$ac_compile") 2>conftest.er1 3175 ac_status=$? 3176 grep -v '^ *+' conftest.er1 >conftest.err 3177 rm -f conftest.er1 3178 cat conftest.err >&5 3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3180 (exit $ac_status); } && { 3181 test -z "$ac_cxx_werror_flag" || 3182 test ! -s conftest.err 3183 } && test -s conftest.$ac_objext; then 3184 : 3185 else 3186 echo "$as_me: failed program was:" >&5 3187 sed 's/^/| /' conftest.$ac_ext >&5 3188 3189 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3826 if ac_fn_cxx_try_compile "$LINENO"; then : 3827 3828 else 3829 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3190 3830 CXXFLAGS="-g" 3191 cat >conftest.$ac_ext <<_ACEOF 3192 /* confdefs.h. */ 3193 _ACEOF 3194 cat confdefs.h >>conftest.$ac_ext 3195 cat >>conftest.$ac_ext <<_ACEOF 3831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3196 3832 /* end confdefs.h. */ 3197 3833 … … 3204 3840 } 3205 3841 _ACEOF 3206 rm -f conftest.$ac_objext 3207 if { (ac_try="$ac_compile" 3208 case "(($ac_try" in 3209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3210 *) ac_try_echo=$ac_try;; 3211 esac 3212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3213 (eval "$ac_compile") 2>conftest.er1 3214 ac_status=$? 3215 grep -v '^ *+' conftest.er1 >conftest.err 3216 rm -f conftest.er1 3217 cat conftest.err >&5 3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3219 (exit $ac_status); } && { 3220 test -z "$ac_cxx_werror_flag" || 3221 test ! -s conftest.err 3222 } && test -s conftest.$ac_objext; then 3842 if ac_fn_cxx_try_compile "$LINENO"; then : 3223 3843 ac_cv_prog_cxx_g=yes 3224 else 3225 echo "$as_me: failed program was:" >&5 3226 sed 's/^/| /' conftest.$ac_ext >&5 3227 3228 3229 fi 3230 3844 fi 3231 3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3232 3846 fi 3233 3234 3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3235 3848 fi 3236 3237 3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3238 3850 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3239 3851 fi 3240 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53241 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3853 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3242 3854 if test "$ac_test_CXXFLAGS" = set; then 3243 3855 CXXFLAGS=$ac_save_CXXFLAGS … … 3262 3874 3263 3875 # Avoid g95 3264 # Find a good install program. We prefer a C program (faster),3265 # so one script is as good as another. But avoid the broken or3266 # incompatible versions:3267 # SysV /etc/install, /usr/sbin/install3268 # SunOS /usr/etc/install3269 # IRIX /sbin/install3270 # AIX /bin/install3271 # AmigaOS /C/install, which installs bootblocks on floppy discs3272 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag3273 # AFS /usr/afsws/bin/install, which mishandles nonexistent args3274 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"3275 # OS/2's system install, which has a completely different semantic3276 # ./install, which can be erroneously created by make from ./install.sh.3277 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&53278 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }3279 if test -z "$INSTALL"; then3280 if test "${ac_cv_path_install+set}" = set; then3281 echo $ECHO_N "(cached) $ECHO_C" >&63282 else3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3284 for as_dir in $PATH3285 do3286 IFS=$as_save_IFS3287 test -z "$as_dir" && as_dir=.3288 # Account for people who put trailing slashes in PATH elements.3289 case $as_dir/ in3290 ./ | .// | /cC/* | \3291 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \3292 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \3293 /usr/ucb/* ) ;;3294 *)3295 # OSF1 and SCO ODT 3.0 have their own names for install.3296 # Don't use installbsd from OSF since it installs stuff as root3297 # by default.3298 for ac_prog in ginstall scoinst install; do3299 for ac_exec_ext in '' $ac_executable_extensions; do3300 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then3301 if test $ac_prog = install &&3302 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then3303 # AIX install. It has an incompatible calling convention.3304 :3305 elif test $ac_prog = install &&3306 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then3307 # program-specific install script used by HP pwplus--don't use.3308 :3309 else3310 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"3311 break 33312 fi3313 fi3314 done3315 done3316 ;;3317 esac3318 done3319 IFS=$as_save_IFS3320 3321 3322 fi3323 if test "${ac_cv_path_install+set}" = set; then3324 INSTALL=$ac_cv_path_install3325 else3326 # As a last resort, use the slow shell script. Don't cache a3327 # value for INSTALL within a source directory, because that will3328 # break other packages using the cache if that directory is3329 # removed, or if the value is a relative name.3330 INSTALL=$ac_install_sh3331 fi3332 fi3333 { echo "$as_me:$LINENO: result: $INSTALL" >&53334 echo "${ECHO_T}$INSTALL" >&6; }3335 3336 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.3337 # It thinks the first close brace ends the variable substitution.3338 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'3339 3340 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'3341 3342 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'3343 3876 3344 3877 if test -n "$ac_tool_prefix"; then 3345 3878 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3346 3879 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3347 { echo "$as_me:$LINENO: checking for $ac_word" >&53348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3349 if test "${ac_cv_prog_RANLIB+set}" = set; then 3350 echo $ECHO_N "(cached) $ECHO_C" >&63880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3881 $as_echo_n "checking for $ac_word... " >&6; } 3882 if test "${ac_cv_prog_RANLIB+set}" = set; then : 3883 $as_echo_n "(cached) " >&6 3351 3884 else 3352 3885 if test -n "$RANLIB"; then … … 3358 3891 IFS=$as_save_IFS 3359 3892 test -z "$as_dir" && as_dir=. 3360 for ac_exec_ext in '' $ac_executable_extensions; do3893 for ac_exec_ext in '' $ac_executable_extensions; do 3361 3894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3362 3895 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3364 3897 break 2 3365 3898 fi 3366 3899 done 3367 done3900 done 3368 3901 IFS=$as_save_IFS 3369 3902 … … 3372 3905 RANLIB=$ac_cv_prog_RANLIB 3373 3906 if test -n "$RANLIB"; then 3374 { echo "$as_me:$LINENO: result: $RANLIB" >&53375 echo "${ECHO_T}$RANLIB" >&6; }3376 else 3377 { echo "$as_me:$LINENO: result: no" >&53378 echo "${ECHO_T}no" >&6; }3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3908 $as_echo "$RANLIB" >&6; } 3909 else 3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3911 $as_echo "no" >&6; } 3379 3912 fi 3380 3913 … … 3385 3918 # Extract the first word of "ranlib", so it can be a program name with args. 3386 3919 set dummy ranlib; ac_word=$2 3387 { echo "$as_me:$LINENO: checking for $ac_word" >&53388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3389 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3390 echo $ECHO_N "(cached) $ECHO_C" >&63920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3921 $as_echo_n "checking for $ac_word... " >&6; } 3922 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 3923 $as_echo_n "(cached) " >&6 3391 3924 else 3392 3925 if test -n "$ac_ct_RANLIB"; then … … 3398 3931 IFS=$as_save_IFS 3399 3932 test -z "$as_dir" && as_dir=. 3400 for ac_exec_ext in '' $ac_executable_extensions; do3933 for ac_exec_ext in '' $ac_executable_extensions; do 3401 3934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3402 3935 ac_cv_prog_ac_ct_RANLIB="ranlib" 3403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3404 3937 break 2 3405 3938 fi 3406 3939 done 3407 done3940 done 3408 3941 IFS=$as_save_IFS 3409 3942 … … 3412 3945 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3413 3946 if test -n "$ac_ct_RANLIB"; then 3414 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&53415 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }3416 else 3417 { echo "$as_me:$LINENO: result: no" >&53418 echo "${ECHO_T}no" >&6; }3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3948 $as_echo "$ac_ct_RANLIB" >&6; } 3949 else 3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3951 $as_echo "no" >&6; } 3419 3952 fi 3420 3953 … … 3424 3957 case $cross_compiling:$ac_tool_warned in 3425 3958 yes:) 3426 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3427 whose name does not start with the host triplet. If you think this 3428 configuration is useful to you, please write to autoconf@gnu.org." >&5 3429 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3430 whose name does not start with the host triplet. If you think this 3431 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3432 3961 ac_tool_warned=yes ;; 3433 3962 esac … … 3438 3967 fi 3439 3968 3440 { echo "$as_me:$LINENO: checking whether ln -s works" >&53441 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3970 $as_echo_n "checking whether ln -s works... " >&6; } 3442 3971 LN_S=$as_ln_s 3443 3972 if test "$LN_S" = "ln -s"; then 3444 { echo "$as_me:$LINENO: result: yes" >&53445 echo "${ECHO_T}yes" >&6; }3446 else 3447 { echo "$as_me:$LINENO: result: no, using $LN_S" >&53448 echo "${ECHO_T}no, using $LN_S" >&6; }3449 fi 3450 3451 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&53452 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3974 $as_echo "yes" >&6; } 3975 else 3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3977 $as_echo "no, using $LN_S" >&6; } 3978 fi 3979 3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3981 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3453 3982 if test -z "$MKDIR_P"; then 3454 if test "${ac_cv_path_mkdir+set}" = set; then 3455 echo $ECHO_N "(cached) $ECHO_C" >&63983 if test "${ac_cv_path_mkdir+set}" = set; then : 3984 $as_echo_n "(cached) " >&6 3456 3985 else 3457 3986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3460 3989 IFS=$as_save_IFS 3461 3990 test -z "$as_dir" && as_dir=. 3462 for ac_prog in mkdir gmkdir; do3991 for ac_prog in mkdir gmkdir; do 3463 3992 for ac_exec_ext in '' $ac_executable_extensions; do 3464 3993 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 3472 4001 done 3473 4002 done 3474 done4003 done 3475 4004 IFS=$as_save_IFS 3476 4005 3477 4006 fi 3478 4007 4008 test -d ./--version && rmdir ./--version 3479 4009 if test "${ac_cv_path_mkdir+set}" = set; then 3480 4010 MKDIR_P="$ac_cv_path_mkdir -p" … … 3484 4014 # break other packages using the cache if that directory is 3485 4015 # removed, or if the value is a relative name. 3486 test -d ./--version && rmdir ./--version3487 4016 MKDIR_P="$ac_install_sh -d" 3488 4017 fi 3489 4018 fi 3490 { echo "$as_me:$LINENO: result: $MKDIR_P" >&53491 echo "${ECHO_T}$MKDIR_P" >&6; }4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 4020 $as_echo "$MKDIR_P" >&6; } 3492 4021 3493 4022 … … 3501 4030 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3502 4031 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3503 { echo "$as_me:$LINENO: checking for $ac_word" >&53504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3505 if test "${ac_cv_prog_F77+set}" = set; then 3506 echo $ECHO_N "(cached) $ECHO_C" >&64032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4033 $as_echo_n "checking for $ac_word... " >&6; } 4034 if test "${ac_cv_prog_F77+set}" = set; then : 4035 $as_echo_n "(cached) " >&6 3507 4036 else 3508 4037 if test -n "$F77"; then … … 3514 4043 IFS=$as_save_IFS 3515 4044 test -z "$as_dir" && as_dir=. 3516 for ac_exec_ext in '' $ac_executable_extensions; do4045 for ac_exec_ext in '' $ac_executable_extensions; do 3517 4046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3518 4047 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 3519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3520 4049 break 2 3521 4050 fi 3522 4051 done 3523 done4052 done 3524 4053 IFS=$as_save_IFS 3525 4054 … … 3528 4057 F77=$ac_cv_prog_F77 3529 4058 if test -n "$F77"; then 3530 { echo "$as_me:$LINENO: result: $F77" >&53531 echo "${ECHO_T}$F77" >&6; }3532 else 3533 { echo "$as_me:$LINENO: result: no" >&53534 echo "${ECHO_T}no" >&6; }4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 4060 $as_echo "$F77" >&6; } 4061 else 4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4063 $as_echo "no" >&6; } 3535 4064 fi 3536 4065 … … 3545 4074 # Extract the first word of "$ac_prog", so it can be a program name with args. 3546 4075 set dummy $ac_prog; ac_word=$2 3547 { echo "$as_me:$LINENO: checking for $ac_word" >&53548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3549 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then 3550 echo $ECHO_N "(cached) $ECHO_C" >&64076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4077 $as_echo_n "checking for $ac_word... " >&6; } 4078 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then : 4079 $as_echo_n "(cached) " >&6 3551 4080 else 3552 4081 if test -n "$ac_ct_F77"; then … … 3558 4087 IFS=$as_save_IFS 3559 4088 test -z "$as_dir" && as_dir=. 3560 for ac_exec_ext in '' $ac_executable_extensions; do4089 for ac_exec_ext in '' $ac_executable_extensions; do 3561 4090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3562 4091 ac_cv_prog_ac_ct_F77="$ac_prog" 3563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3564 4093 break 2 3565 4094 fi 3566 4095 done 3567 done4096 done 3568 4097 IFS=$as_save_IFS 3569 4098 … … 3572 4101 ac_ct_F77=$ac_cv_prog_ac_ct_F77 3573 4102 if test -n "$ac_ct_F77"; then 3574 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&53575 echo "${ECHO_T}$ac_ct_F77" >&6; }3576 else 3577 { echo "$as_me:$LINENO: result: no" >&53578 echo "${ECHO_T}no" >&6; }4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 4104 $as_echo "$ac_ct_F77" >&6; } 4105 else 4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4107 $as_echo "no" >&6; } 3579 4108 fi 3580 4109 … … 3588 4117 case $cross_compiling:$ac_tool_warned in 3589 4118 yes:) 3590 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3591 whose name does not start with the host triplet. If you think this 3592 configuration is useful to you, please write to autoconf@gnu.org." >&5 3593 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3594 whose name does not start with the host triplet. If you think this 3595 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3596 4121 ac_tool_warned=yes ;; 3597 4122 esac … … 3602 4127 3603 4128 # Provide some information about the compiler. 3604 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 3605 ac_compiler=`set X $ac_compile; echo $2` 3606 { (ac_try="$ac_compiler --version >&5" 4129 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 4130 set X $ac_compile 4131 ac_compiler=$2 4132 for ac_option in --version -v -V -qversion; do 4133 { { ac_try="$ac_compiler $ac_option >&5" 3607 4134 case "(($ac_try" in 3608 4135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3609 4136 *) ac_try_echo=$ac_try;; 3610 4137 esac 3611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3612 (eval "$ac_compiler --version >&5") 2>&5 4138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4139 $as_echo "$ac_try_echo"; } >&5 4140 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3613 4141 ac_status=$? 3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3615 (exit $ac_status); } 3616 { (ac_try="$ac_compiler -v >&5" 3617 case "(($ac_try" in 3618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3619 *) ac_try_echo=$ac_try;; 3620 esac 3621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3622 (eval "$ac_compiler -v >&5") 2>&5 3623 ac_status=$? 3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3625 (exit $ac_status); } 3626 { (ac_try="$ac_compiler -V >&5" 3627 case "(($ac_try" in 3628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3629 *) ac_try_echo=$ac_try;; 3630 esac 3631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3632 (eval "$ac_compiler -V >&5") 2>&5 3633 ac_status=$? 3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3635 (exit $ac_status); } 4142 if test -s conftest.err; then 4143 sed '10a\ 4144 ... rest of stderr output deleted ... 4145 10q' conftest.err >conftest.er1 4146 cat conftest.er1 >&5 4147 fi 4148 rm -f conftest.er1 conftest.err 4149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4150 test $ac_status = 0; } 4151 done 3636 4152 rm -f a.out 3637 4153 … … 3640 4156 ac_save_ext=$ac_ext 3641 4157 ac_ext=F 3642 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&53643 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }3644 if test "${ac_cv_f77_compiler_gnu+set}" = set; then 3645 echo $ECHO_N "(cached) $ECHO_C" >&63646 else 3647 cat > conftest.$ac_ext <<_ACEOF4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 4159 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 4160 if test "${ac_cv_f77_compiler_gnu+set}" = set; then : 4161 $as_echo_n "(cached) " >&6 4162 else 4163 cat > conftest.$ac_ext <<_ACEOF 3648 4164 program main 3649 4165 #ifndef __GNUC__ … … 3653 4169 end 3654 4170 _ACEOF 3655 rm -f conftest.$ac_objext 3656 if { (ac_try="$ac_compile" 3657 case "(($ac_try" in 3658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3659 *) ac_try_echo=$ac_try;; 3660 esac 3661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3662 (eval "$ac_compile") 2>conftest.er1 3663 ac_status=$? 3664 grep -v '^ *+' conftest.er1 >conftest.err 3665 rm -f conftest.er1 3666 cat conftest.err >&5 3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3668 (exit $ac_status); } && { 3669 test -z "$ac_f77_werror_flag" || 3670 test ! -s conftest.err 3671 } && test -s conftest.$ac_objext; then 4171 if ac_fn_f77_try_compile "$LINENO"; then : 3672 4172 ac_compiler_gnu=yes 3673 4173 else 3674 echo "$as_me: failed program was:" >&5 3675 sed 's/^/| /' conftest.$ac_ext >&5 3676 3677 ac_compiler_gnu=no 3678 fi 3679 4174 ac_compiler_gnu=no 4175 fi 3680 4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3681 4177 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 3682 4178 3683 4179 fi 3684 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&53685 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 4181 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 3686 4182 ac_ext=$ac_save_ext 3687 4183 ac_test_FFLAGS=${FFLAGS+set} 3688 4184 ac_save_FFLAGS=$FFLAGS 3689 4185 FFLAGS= 3690 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&53691 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }3692 if test "${ac_cv_prog_f77_g+set}" = set; then 3693 echo $ECHO_N "(cached) $ECHO_C" >&64186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 4187 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 4188 if test "${ac_cv_prog_f77_g+set}" = set; then : 4189 $as_echo_n "(cached) " >&6 3694 4190 else 3695 4191 FFLAGS=-g 3696 cat > conftest.$ac_ext <<_ACEOF4192 cat > conftest.$ac_ext <<_ACEOF 3697 4193 program main 3698 4194 3699 4195 end 3700 4196 _ACEOF 3701 rm -f conftest.$ac_objext 3702 if { (ac_try="$ac_compile" 3703 case "(($ac_try" in 3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3705 *) ac_try_echo=$ac_try;; 3706 esac 3707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3708 (eval "$ac_compile") 2>conftest.er1 3709 ac_status=$? 3710 grep -v '^ *+' conftest.er1 >conftest.err 3711 rm -f conftest.er1 3712 cat conftest.err >&5 3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3714 (exit $ac_status); } && { 3715 test -z "$ac_f77_werror_flag" || 3716 test ! -s conftest.err 3717 } && test -s conftest.$ac_objext; then 4197 if ac_fn_f77_try_compile "$LINENO"; then : 3718 4198 ac_cv_prog_f77_g=yes 3719 4199 else 3720 echo "$as_me: failed program was:" >&5 3721 sed 's/^/| /' conftest.$ac_ext >&5 3722 3723 ac_cv_prog_f77_g=no 3724 fi 3725 4200 ac_cv_prog_f77_g=no 4201 fi 3726 4202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3727 4203 3728 4204 fi 3729 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&53730 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 4206 $as_echo "$ac_cv_prog_f77_g" >&6; } 3731 4207 if test "$ac_test_FFLAGS" = set; then 3732 4208 FFLAGS=$ac_save_FFLAGS … … 3745 4221 fi 3746 4222 3747 G77=`test $ac_compiler_gnu = yes && echo yes` 4223 if test $ac_compiler_gnu = yes; then 4224 G77=yes 4225 else 4226 G77= 4227 fi 3748 4228 ac_ext=c 3749 4229 ac_cpp='$CPP $CPPFLAGS' … … 3766 4246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3767 4247 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3768 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53769 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4249 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3770 4250 # On Suns, sometimes $CPP names a directory. 3771 4251 if test -n "$CPP" && test -d "$CPP"; then … … 3773 4253 fi 3774 4254 if test -z "$CPP"; then 3775 if test "${ac_cv_prog_CPP+set}" = set; then 3776 echo $ECHO_N "(cached) $ECHO_C" >&64255 if test "${ac_cv_prog_CPP+set}" = set; then : 4256 $as_echo_n "(cached) " >&6 3777 4257 else 3778 4258 # Double quotes because CPP needs to be expanded … … 3788 4268 # On the NeXT, cc -E runs the code through the compiler's parser, 3789 4269 # not just through cpp. "Syntax error" is here to catch this case. 3790 cat >conftest.$ac_ext <<_ACEOF 3791 /* confdefs.h. */ 3792 _ACEOF 3793 cat confdefs.h >>conftest.$ac_ext 3794 cat >>conftest.$ac_ext <<_ACEOF 4270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3795 4271 /* end confdefs.h. */ 3796 4272 #ifdef __STDC__ … … 3801 4277 Syntax error 3802 4278 _ACEOF 3803 if { (ac_try="$ac_cpp conftest.$ac_ext" 3804 case "(($ac_try" in 3805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3806 *) ac_try_echo=$ac_try;; 3807 esac 3808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3810 ac_status=$? 3811 grep -v '^ *+' conftest.er1 >conftest.err 3812 rm -f conftest.er1 3813 cat conftest.err >&5 3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3815 (exit $ac_status); } >/dev/null && { 3816 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3817 test ! -s conftest.err 3818 }; then 3819 : 3820 else 3821 echo "$as_me: failed program was:" >&5 3822 sed 's/^/| /' conftest.$ac_ext >&5 3823 4279 if ac_fn_c_try_cpp "$LINENO"; then : 4280 4281 else 3824 4282 # Broken: fails on valid input. 3825 4283 continue 3826 4284 fi 3827 3828 4285 rm -f conftest.err conftest.$ac_ext 3829 4286 3830 4287 # OK, works on sane cases. Now check whether nonexistent headers 3831 4288 # can be detected and how. 3832 cat >conftest.$ac_ext <<_ACEOF 3833 /* confdefs.h. */ 3834 _ACEOF 3835 cat confdefs.h >>conftest.$ac_ext 3836 cat >>conftest.$ac_ext <<_ACEOF 4289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3837 4290 /* end confdefs.h. */ 3838 4291 #include <ac_nonexistent.h> 3839 4292 _ACEOF 3840 if { (ac_try="$ac_cpp conftest.$ac_ext" 3841 case "(($ac_try" in 3842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3843 *) ac_try_echo=$ac_try;; 3844 esac 3845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3846 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3847 ac_status=$? 3848 grep -v '^ *+' conftest.er1 >conftest.err 3849 rm -f conftest.er1 3850 cat conftest.err >&5 3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3852 (exit $ac_status); } >/dev/null && { 3853 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3854 test ! -s conftest.err 3855 }; then 4293 if ac_fn_c_try_cpp "$LINENO"; then : 3856 4294 # Broken: success on invalid input. 3857 4295 continue 3858 4296 else 3859 echo "$as_me: failed program was:" >&53860 sed 's/^/| /' conftest.$ac_ext >&53861 3862 4297 # Passes both tests. 3863 4298 ac_preproc_ok=: 3864 4299 break 3865 4300 fi 3866 3867 4301 rm -f conftest.err conftest.$ac_ext 3868 4302 … … 3870 4304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3871 4305 rm -f conftest.err conftest.$ac_ext 3872 if $ac_preproc_ok; then 4306 if $ac_preproc_ok; then : 3873 4307 break 3874 4308 fi … … 3882 4316 ac_cv_prog_CPP=$CPP 3883 4317 fi 3884 { echo "$as_me:$LINENO: result: $CPP" >&53885 echo "${ECHO_T}$CPP" >&6; }4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4319 $as_echo "$CPP" >&6; } 3886 4320 ac_preproc_ok=false 3887 4321 for ac_c_preproc_warn_flag in '' yes … … 3893 4327 # On the NeXT, cc -E runs the code through the compiler's parser, 3894 4328 # not just through cpp. "Syntax error" is here to catch this case. 3895 cat >conftest.$ac_ext <<_ACEOF 3896 /* confdefs.h. */ 3897 _ACEOF 3898 cat confdefs.h >>conftest.$ac_ext 3899 cat >>conftest.$ac_ext <<_ACEOF 4329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3900 4330 /* end confdefs.h. */ 3901 4331 #ifdef __STDC__ … … 3906 4336 Syntax error 3907 4337 _ACEOF 3908 if { (ac_try="$ac_cpp conftest.$ac_ext" 3909 case "(($ac_try" in 3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3911 *) ac_try_echo=$ac_try;; 3912 esac 3913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3915 ac_status=$? 3916 grep -v '^ *+' conftest.er1 >conftest.err 3917 rm -f conftest.er1 3918 cat conftest.err >&5 3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3920 (exit $ac_status); } >/dev/null && { 3921 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3922 test ! -s conftest.err 3923 }; then 3924 : 3925 else 3926 echo "$as_me: failed program was:" >&5 3927 sed 's/^/| /' conftest.$ac_ext >&5 3928 4338 if ac_fn_c_try_cpp "$LINENO"; then : 4339 4340 else 3929 4341 # Broken: fails on valid input. 3930 4342 continue 3931 4343 fi 3932 3933 4344 rm -f conftest.err conftest.$ac_ext 3934 4345 3935 4346 # OK, works on sane cases. Now check whether nonexistent headers 3936 4347 # can be detected and how. 3937 cat >conftest.$ac_ext <<_ACEOF 3938 /* confdefs.h. */ 3939 _ACEOF 3940 cat confdefs.h >>conftest.$ac_ext 3941 cat >>conftest.$ac_ext <<_ACEOF 4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3942 4349 /* end confdefs.h. */ 3943 4350 #include <ac_nonexistent.h> 3944 4351 _ACEOF 3945 if { (ac_try="$ac_cpp conftest.$ac_ext" 3946 case "(($ac_try" in 3947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3948 *) ac_try_echo=$ac_try;; 3949 esac 3950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3951 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3952 ac_status=$? 3953 grep -v '^ *+' conftest.er1 >conftest.err 3954 rm -f conftest.er1 3955 cat conftest.err >&5 3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3957 (exit $ac_status); } >/dev/null && { 3958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3959 test ! -s conftest.err 3960 }; then 4352 if ac_fn_c_try_cpp "$LINENO"; then : 3961 4353 # Broken: success on invalid input. 3962 4354 continue 3963 4355 else 3964 echo "$as_me: failed program was:" >&53965 sed 's/^/| /' conftest.$ac_ext >&53966 3967 4356 # Passes both tests. 3968 4357 ac_preproc_ok=: 3969 4358 break 3970 4359 fi 3971 3972 4360 rm -f conftest.err conftest.$ac_ext 3973 4361 … … 3975 4363 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3976 4364 rm -f conftest.err conftest.$ac_ext 3977 if $ac_preproc_ok; then 3978 : 3979 else 3980 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3981 See \`config.log' for more details." >&5 3982 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3983 See \`config.log' for more details." >&2;} 3984 { (exit 1); exit 1; }; } 4365 if $ac_preproc_ok; then : 4366 4367 else 4368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4370 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4371 See \`config.log' for more details." "$LINENO" 5; } 3985 4372 fi 3986 4373 … … 3992 4379 3993 4380 3994 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3995 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3996 if test "${ac_cv_path_GREP+set}" = set; then 3997 echo $ECHO_N "(cached) $ECHO_C" >&6 3998 else 3999 # Extract the first word of "grep ggrep" to use in msg output 4000 if test -z "$GREP"; then 4001 set dummy grep ggrep; ac_prog_name=$2 4002 if test "${ac_cv_path_GREP+set}" = set; then 4003 echo $ECHO_N "(cached) $ECHO_C" >&6 4004 else 4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4382 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4383 if test "${ac_cv_path_GREP+set}" = set; then : 4384 $as_echo_n "(cached) " >&6 4385 else 4386 if test -z "$GREP"; then 4005 4387 ac_path_GREP_found=false 4006 # Loop through the user's path and test for each of PROGNAME-LIST4007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4388 # Loop through the user's path and test for each of PROGNAME-LIST 4389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4008 4390 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4009 4391 do 4010 4392 IFS=$as_save_IFS 4011 4393 test -z "$as_dir" && as_dir=. 4012 for ac_prog in grep ggrep; do4013 for ac_exec_ext in '' $ac_executable_extensions; do4014 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4015 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4016 4394 for ac_prog in grep ggrep; do 4395 for ac_exec_ext in '' $ac_executable_extensions; do 4396 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4397 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4398 # Check for GNU ac_path_GREP and select it if it is found. 4017 4399 # Check for GNU $ac_path_GREP 4018 4400 case `"$ac_path_GREP" --version 2>&1` in … … 4021 4403 *) 4022 4404 ac_count=0 4023 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4405 $as_echo_n 0123456789 >"conftest.in" 4024 4406 while : 4025 4407 do … … 4027 4409 mv "conftest.tmp" "conftest.in" 4028 4410 cp "conftest.in" "conftest.nl" 4029 echo 'GREP' >> "conftest.nl"4411 $as_echo 'GREP' >> "conftest.nl" 4030 4412 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4031 4413 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4032 a c_count=`expr $ac_count + 1`4414 as_fn_arith $ac_count + 1 && ac_count=$as_val 4033 4415 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4034 4416 # Best one so far, save it but keep looking for a better one … … 4042 4424 esac 4043 4425 4044 4045 $ac_path_GREP_found && break 34426 $ac_path_GREP_found && break 3 4427 done 4046 4428 done 4047 done 4048 4049 done 4429 done 4050 4430 IFS=$as_save_IFS 4051 4052 4053 fi 4054 4055 GREP="$ac_cv_path_GREP" 4056 if test -z "$GREP"; then 4057 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4058 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4059 { (exit 1); exit 1; }; } 4060 fi 4061 4431 if test -z "$ac_cv_path_GREP"; then 4432 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4433 fi 4062 4434 else 4063 4435 ac_cv_path_GREP=$GREP 4064 4436 fi 4065 4437 4066 4067 fi 4068 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4069 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4438 fi 4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4440 $as_echo "$ac_cv_path_GREP" >&6; } 4070 4441 GREP="$ac_cv_path_GREP" 4071 4442 4072 4443 4073 { echo "$as_me:$LINENO: checking for egrep" >&54074 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4075 if test "${ac_cv_path_EGREP+set}" = set; then 4076 echo $ECHO_N "(cached) $ECHO_C" >&64444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4445 $as_echo_n "checking for egrep... " >&6; } 4446 if test "${ac_cv_path_EGREP+set}" = set; then : 4447 $as_echo_n "(cached) " >&6 4077 4448 else 4078 4449 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4079 4450 then ac_cv_path_EGREP="$GREP -E" 4080 4451 else 4081 # Extract the first word of "egrep" to use in msg output 4082 if test -z "$EGREP"; then 4083 set dummy egrep; ac_prog_name=$2 4084 if test "${ac_cv_path_EGREP+set}" = set; then 4085 echo $ECHO_N "(cached) $ECHO_C" >&6 4086 else 4452 if test -z "$EGREP"; then 4087 4453 ac_path_EGREP_found=false 4088 # Loop through the user's path and test for each of PROGNAME-LIST4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4454 # Loop through the user's path and test for each of PROGNAME-LIST 4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4090 4456 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4091 4457 do 4092 4458 IFS=$as_save_IFS 4093 4459 test -z "$as_dir" && as_dir=. 4094 for ac_prog in egrep; do4095 for ac_exec_ext in '' $ac_executable_extensions; do4096 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4097 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4098 4460 for ac_prog in egrep; do 4461 for ac_exec_ext in '' $ac_executable_extensions; do 4462 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4463 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4464 # Check for GNU ac_path_EGREP and select it if it is found. 4099 4465 # Check for GNU $ac_path_EGREP 4100 4466 case `"$ac_path_EGREP" --version 2>&1` in … … 4103 4469 *) 4104 4470 ac_count=0 4105 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4471 $as_echo_n 0123456789 >"conftest.in" 4106 4472 while : 4107 4473 do … … 4109 4475 mv "conftest.tmp" "conftest.in" 4110 4476 cp "conftest.in" "conftest.nl" 4111 echo 'EGREP' >> "conftest.nl"4477 $as_echo 'EGREP' >> "conftest.nl" 4112 4478 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4113 4479 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4114 a c_count=`expr $ac_count + 1`4480 as_fn_arith $ac_count + 1 && ac_count=$as_val 4115 4481 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4116 4482 # Best one so far, save it but keep looking for a better one … … 4124 4490 esac 4125 4491 4126 4127 $ac_path_EGREP_found && break 34492 $ac_path_EGREP_found && break 3 4493 done 4128 4494 done 4129 done 4130 4131 done 4495 done 4132 4496 IFS=$as_save_IFS 4133 4134 4135 fi 4136 4137 EGREP="$ac_cv_path_EGREP" 4138 if test -z "$EGREP"; then 4139 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4140 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4141 { (exit 1); exit 1; }; } 4142 fi 4143 4497 if test -z "$ac_cv_path_EGREP"; then 4498 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4499 fi 4144 4500 else 4145 4501 ac_cv_path_EGREP=$EGREP 4146 4502 fi 4147 4503 4148 4149 4504 fi 4150 4505 fi 4151 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54152 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4507 $as_echo "$ac_cv_path_EGREP" >&6; } 4153 4508 EGREP="$ac_cv_path_EGREP" 4154 4509 4155 4510 4156 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4157 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4158 if test "${ac_cv_header_stdc+set}" = set; then 4159 echo $ECHO_N "(cached) $ECHO_C" >&6 4160 else 4161 cat >conftest.$ac_ext <<_ACEOF 4162 /* confdefs.h. */ 4163 _ACEOF 4164 cat confdefs.h >>conftest.$ac_ext 4165 cat >>conftest.$ac_ext <<_ACEOF 4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4512 $as_echo_n "checking for ANSI C header files... " >&6; } 4513 if test "${ac_cv_header_stdc+set}" = set; then : 4514 $as_echo_n "(cached) " >&6 4515 else 4516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4166 4517 /* end confdefs.h. */ 4167 4518 #include <stdlib.h> … … 4178 4529 } 4179 4530 _ACEOF 4180 rm -f conftest.$ac_objext 4181 if { (ac_try="$ac_compile" 4182 case "(($ac_try" in 4183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4184 *) ac_try_echo=$ac_try;; 4185 esac 4186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4187 (eval "$ac_compile") 2>conftest.er1 4188 ac_status=$? 4189 grep -v '^ *+' conftest.er1 >conftest.err 4190 rm -f conftest.er1 4191 cat conftest.err >&5 4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4193 (exit $ac_status); } && { 4194 test -z "$ac_c_werror_flag" || 4195 test ! -s conftest.err 4196 } && test -s conftest.$ac_objext; then 4531 if ac_fn_c_try_compile "$LINENO"; then : 4197 4532 ac_cv_header_stdc=yes 4198 4533 else 4199 echo "$as_me: failed program was:" >&5 4200 sed 's/^/| /' conftest.$ac_ext >&5 4201 4202 ac_cv_header_stdc=no 4203 fi 4204 4534 ac_cv_header_stdc=no 4535 fi 4205 4536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4206 4537 4207 4538 if test $ac_cv_header_stdc = yes; then 4208 4539 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4209 cat >conftest.$ac_ext <<_ACEOF 4210 /* confdefs.h. */ 4211 _ACEOF 4212 cat confdefs.h >>conftest.$ac_ext 4213 cat >>conftest.$ac_ext <<_ACEOF 4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4214 4541 /* end confdefs.h. */ 4215 4542 #include <string.h> … … 4217 4544 _ACEOF 4218 4545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4219 $EGREP "memchr" >/dev/null 2>&1; then 4220 : 4546 $EGREP "memchr" >/dev/null 2>&1; then : 4547 4221 4548 else 4222 4549 ac_cv_header_stdc=no … … 4228 4555 if test $ac_cv_header_stdc = yes; then 4229 4556 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4230 cat >conftest.$ac_ext <<_ACEOF 4231 /* confdefs.h. */ 4232 _ACEOF 4233 cat confdefs.h >>conftest.$ac_ext 4234 cat >>conftest.$ac_ext <<_ACEOF 4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4235 4558 /* end confdefs.h. */ 4236 4559 #include <stdlib.h> … … 4238 4561 _ACEOF 4239 4562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4240 $EGREP "free" >/dev/null 2>&1; then 4241 : 4563 $EGREP "free" >/dev/null 2>&1; then : 4564 4242 4565 else 4243 4566 ac_cv_header_stdc=no … … 4249 4572 if test $ac_cv_header_stdc = yes; then 4250 4573 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4251 if test "$cross_compiling" = yes; then 4574 if test "$cross_compiling" = yes; then : 4252 4575 : 4253 4576 else 4254 cat >conftest.$ac_ext <<_ACEOF 4255 /* confdefs.h. */ 4256 _ACEOF 4257 cat confdefs.h >>conftest.$ac_ext 4258 cat >>conftest.$ac_ext <<_ACEOF 4577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4259 4578 /* end confdefs.h. */ 4260 4579 #include <ctype.h> … … 4283 4602 } 4284 4603 _ACEOF 4285 rm -f conftest$ac_exeext 4286 if { (ac_try="$ac_link" 4287 case "(($ac_try" in 4288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4289 *) ac_try_echo=$ac_try;; 4290 esac 4291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4292 (eval "$ac_link") 2>&5 4293 ac_status=$? 4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4296 { (case "(($ac_try" in 4297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4298 *) ac_try_echo=$ac_try;; 4299 esac 4300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4301 (eval "$ac_try") 2>&5 4302 ac_status=$? 4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4304 (exit $ac_status); }; }; then 4305 : 4306 else 4307 echo "$as_me: program exited with status $ac_status" >&5 4308 echo "$as_me: failed program was:" >&5 4309 sed 's/^/| /' conftest.$ac_ext >&5 4310 4311 ( exit $ac_status ) 4312 ac_cv_header_stdc=no 4313 fi 4314 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4315 fi 4316 4317 4318 fi 4319 fi 4320 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4321 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4604 if ac_fn_c_try_run "$LINENO"; then : 4605 4606 else 4607 ac_cv_header_stdc=no 4608 fi 4609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4610 conftest.$ac_objext conftest.beam conftest.$ac_ext 4611 fi 4612 4613 fi 4614 fi 4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4616 $as_echo "$ac_cv_header_stdc" >&6; } 4322 4617 if test $ac_cv_header_stdc = yes; then 4323 4618 4324 cat >>confdefs.h <<\_ACEOF 4325 #define STDC_HEADERS 1 4326 _ACEOF 4327 4328 fi 4329 4330 { echo "$as_me:$LINENO: checking for atol" >&5 4331 echo $ECHO_N "checking for atol... $ECHO_C" >&6; } 4332 if test "${ac_cv_func_atol+set}" = set; then 4333 echo $ECHO_N "(cached) $ECHO_C" >&6 4334 else 4335 cat >conftest.$ac_ext <<_ACEOF 4336 /* confdefs.h. */ 4337 _ACEOF 4338 cat confdefs.h >>conftest.$ac_ext 4339 cat >>conftest.$ac_ext <<_ACEOF 4340 /* end confdefs.h. */ 4341 /* Define atol to an innocuous variant, in case <limits.h> declares atol. 4342 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4343 #define atol innocuous_atol 4344 4345 /* System header to define __stub macros and hopefully few prototypes, 4346 which can conflict with char atol (); below. 4347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4348 <limits.h> exists even on freestanding compilers. */ 4349 4350 #ifdef __STDC__ 4351 # include <limits.h> 4352 #else 4353 # include <assert.h> 4354 #endif 4355 4356 #undef atol 4357 4358 /* Override any GCC internal prototype to avoid an error. 4359 Use char because int might match the return type of a GCC 4360 builtin and then its argument prototype would still apply. */ 4361 #ifdef __cplusplus 4362 extern "C" 4363 #endif 4364 char atol (); 4365 /* The GNU C library defines this for functions which it implements 4366 to always fail with ENOSYS. Some functions are actually named 4367 something starting with __ and the normal name is an alias. */ 4368 #if defined __stub_atol || defined __stub___atol 4369 choke me 4370 #endif 4371 4372 int 4373 main () 4374 { 4375 return atol (); 4376 ; 4377 return 0; 4378 } 4379 _ACEOF 4380 rm -f conftest.$ac_objext conftest$ac_exeext 4381 if { (ac_try="$ac_link" 4382 case "(($ac_try" in 4383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4384 *) ac_try_echo=$ac_try;; 4385 esac 4386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4387 (eval "$ac_link") 2>conftest.er1 4388 ac_status=$? 4389 grep -v '^ *+' conftest.er1 >conftest.err 4390 rm -f conftest.er1 4391 cat conftest.err >&5 4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4393 (exit $ac_status); } && { 4394 test -z "$ac_c_werror_flag" || 4395 test ! -s conftest.err 4396 } && test -s conftest$ac_exeext && 4397 $as_test_x conftest$ac_exeext; then 4398 ac_cv_func_atol=yes 4399 else 4400 echo "$as_me: failed program was:" >&5 4401 sed 's/^/| /' conftest.$ac_ext >&5 4402 4403 ac_cv_func_atol=no 4404 fi 4405 4406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4407 conftest$ac_exeext conftest.$ac_ext 4408 fi 4409 { echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 4410 echo "${ECHO_T}$ac_cv_func_atol" >&6; } 4411 if test $ac_cv_func_atol = yes; then 4412 : 4413 else 4414 { { echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5 4415 echo "$as_me: error: oops! no atol ?!?" >&2;} 4416 { (exit 1); exit 1; }; } 4619 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4620 4621 fi 4622 4623 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol" 4624 if test "x$ac_cv_func_atol" = x""yes; then : 4625 4626 else 4627 as_fn_error "oops! no atol ?!?" "$LINENO" 5 4417 4628 fi 4418 4629 … … 4426 4637 4427 4638 4428 4429 4639 for ac_func in sysinfo 4430 do 4431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4432 { echo "$as_me:$LINENO: checking for $ac_func" >&5 4433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4434 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4435 echo $ECHO_N "(cached) $ECHO_C" >&6 4436 else 4437 cat >conftest.$ac_ext <<_ACEOF 4438 /* confdefs.h. */ 4439 _ACEOF 4440 cat confdefs.h >>conftest.$ac_ext 4441 cat >>conftest.$ac_ext <<_ACEOF 4442 /* end confdefs.h. */ 4443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4444 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4445 #define $ac_func innocuous_$ac_func 4446 4447 /* System header to define __stub macros and hopefully few prototypes, 4448 which can conflict with char $ac_func (); below. 4449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4450 <limits.h> exists even on freestanding compilers. */ 4451 4452 #ifdef __STDC__ 4453 # include <limits.h> 4454 #else 4455 # include <assert.h> 4456 #endif 4457 4458 #undef $ac_func 4459 4460 /* Override any GCC internal prototype to avoid an error. 4461 Use char because int might match the return type of a GCC 4462 builtin and then its argument prototype would still apply. */ 4463 #ifdef __cplusplus 4464 extern "C" 4465 #endif 4466 char $ac_func (); 4467 /* The GNU C library defines this for functions which it implements 4468 to always fail with ENOSYS. Some functions are actually named 4469 something starting with __ and the normal name is an alias. */ 4470 #if defined __stub_$ac_func || defined __stub___$ac_func 4471 choke me 4472 #endif 4473 4474 int 4475 main () 4476 { 4477 return $ac_func (); 4478 ; 4479 return 0; 4480 } 4481 _ACEOF 4482 rm -f conftest.$ac_objext conftest$ac_exeext 4483 if { (ac_try="$ac_link" 4484 case "(($ac_try" in 4485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4486 *) ac_try_echo=$ac_try;; 4487 esac 4488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4489 (eval "$ac_link") 2>conftest.er1 4490 ac_status=$? 4491 grep -v '^ *+' conftest.er1 >conftest.err 4492 rm -f conftest.er1 4493 cat conftest.err >&5 4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4495 (exit $ac_status); } && { 4496 test -z "$ac_cxx_werror_flag" || 4497 test ! -s conftest.err 4498 } && test -s conftest$ac_exeext && 4499 $as_test_x conftest$ac_exeext; then 4500 eval "$as_ac_var=yes" 4501 else 4502 echo "$as_me: failed program was:" >&5 4503 sed 's/^/| /' conftest.$ac_ext >&5 4504 4505 eval "$as_ac_var=no" 4506 fi 4507 4508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4509 conftest$ac_exeext conftest.$ac_ext 4510 fi 4511 ac_res=`eval echo '${'$as_ac_var'}'` 4512 { echo "$as_me:$LINENO: result: $ac_res" >&5 4513 echo "${ECHO_T}$ac_res" >&6; } 4514 if test `eval echo '${'$as_ac_var'}'` = yes; then 4640 do : 4641 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" 4642 if test "x$ac_cv_func_sysinfo" = x""yes; then : 4515 4643 cat >>confdefs.h <<_ACEOF 4516 #define `echo "HAVE_$ac_func" | $as_tr_cpp`14644 #define HAVE_SYSINFO 1 4517 4645 _ACEOF 4518 4646 4519 4647 fi 4520 4648 done 4521 4522 # On IRIX 5.3, sys/types and inttypes.h are conflicting.4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \4533 inttypes.h stdint.h unistd.h4534 do4535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`4536 { echo "$as_me:$LINENO: checking for $ac_header" >&54537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4539 echo $ECHO_N "(cached) $ECHO_C" >&64540 else4541 cat >conftest.$ac_ext <<_ACEOF4542 /* confdefs.h. */4543 _ACEOF4544 cat confdefs.h >>conftest.$ac_ext4545 cat >>conftest.$ac_ext <<_ACEOF4546 /* end confdefs.h. */4547 $ac_includes_default4548 4549 #include <$ac_header>4550 _ACEOF4551 rm -f conftest.$ac_objext4552 if { (ac_try="$ac_compile"4553 case "(($ac_try" in4554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4555 *) ac_try_echo=$ac_try;;4556 esac4557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54558 (eval "$ac_compile") 2>conftest.er14559 ac_status=$?4560 grep -v '^ *+' conftest.er1 >conftest.err4561 rm -f conftest.er14562 cat conftest.err >&54563 echo "$as_me:$LINENO: \$? = $ac_status" >&54564 (exit $ac_status); } && {4565 test -z "$ac_cxx_werror_flag" ||4566 test ! -s conftest.err4567 } && test -s conftest.$ac_objext; then4568 eval "$as_ac_Header=yes"4569 else4570 echo "$as_me: failed program was:" >&54571 sed 's/^/| /' conftest.$ac_ext >&54572 4573 eval "$as_ac_Header=no"4574 fi4575 4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4577 fi4578 ac_res=`eval echo '${'$as_ac_Header'}'`4579 { echo "$as_me:$LINENO: result: $ac_res" >&54580 echo "${ECHO_T}$ac_res" >&6; }4581 if test `eval echo '${'$as_ac_Header'}'` = yes; then4582 cat >>confdefs.h <<_ACEOF4583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 14584 _ACEOF4585 4586 fi4587 4588 done4589 4590 4649 4591 4650 ac_ext=cpp … … 4594 4653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4595 4654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4596 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&54597 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 4656 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4598 4657 if test -z "$CXXCPP"; then 4599 if test "${ac_cv_prog_CXXCPP+set}" = set; then 4600 echo $ECHO_N "(cached) $ECHO_C" >&64658 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 4659 $as_echo_n "(cached) " >&6 4601 4660 else 4602 4661 # Double quotes because CXXCPP needs to be expanded … … 4612 4671 # On the NeXT, cc -E runs the code through the compiler's parser, 4613 4672 # not just through cpp. "Syntax error" is here to catch this case. 4614 cat >conftest.$ac_ext <<_ACEOF 4615 /* confdefs.h. */ 4616 _ACEOF 4617 cat confdefs.h >>conftest.$ac_ext 4618 cat >>conftest.$ac_ext <<_ACEOF 4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4619 4674 /* end confdefs.h. */ 4620 4675 #ifdef __STDC__ … … 4625 4680 Syntax error 4626 4681 _ACEOF 4627 if { (ac_try="$ac_cpp conftest.$ac_ext" 4628 case "(($ac_try" in 4629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4630 *) ac_try_echo=$ac_try;; 4631 esac 4632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4634 ac_status=$? 4635 grep -v '^ *+' conftest.er1 >conftest.err 4636 rm -f conftest.er1 4637 cat conftest.err >&5 4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4639 (exit $ac_status); } >/dev/null && { 4640 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4641 test ! -s conftest.err 4642 }; then 4643 : 4644 else 4645 echo "$as_me: failed program was:" >&5 4646 sed 's/^/| /' conftest.$ac_ext >&5 4647 4682 if ac_fn_cxx_try_cpp "$LINENO"; then : 4683 4684 else 4648 4685 # Broken: fails on valid input. 4649 4686 continue 4650 4687 fi 4651 4652 4688 rm -f conftest.err conftest.$ac_ext 4653 4689 4654 4690 # OK, works on sane cases. Now check whether nonexistent headers 4655 4691 # can be detected and how. 4656 cat >conftest.$ac_ext <<_ACEOF 4657 /* confdefs.h. */ 4658 _ACEOF 4659 cat confdefs.h >>conftest.$ac_ext 4660 cat >>conftest.$ac_ext <<_ACEOF 4692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4661 4693 /* end confdefs.h. */ 4662 4694 #include <ac_nonexistent.h> 4663 4695 _ACEOF 4664 if { (ac_try="$ac_cpp conftest.$ac_ext" 4665 case "(($ac_try" in 4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4667 *) ac_try_echo=$ac_try;; 4668 esac 4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4670 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4671 ac_status=$? 4672 grep -v '^ *+' conftest.er1 >conftest.err 4673 rm -f conftest.er1 4674 cat conftest.err >&5 4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4676 (exit $ac_status); } >/dev/null && { 4677 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4678 test ! -s conftest.err 4679 }; then 4696 if ac_fn_cxx_try_cpp "$LINENO"; then : 4680 4697 # Broken: success on invalid input. 4681 4698 continue 4682 4699 else 4683 echo "$as_me: failed program was:" >&54684 sed 's/^/| /' conftest.$ac_ext >&54685 4686 4700 # Passes both tests. 4687 4701 ac_preproc_ok=: 4688 4702 break 4689 4703 fi 4690 4691 4704 rm -f conftest.err conftest.$ac_ext 4692 4705 … … 4694 4707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4695 4708 rm -f conftest.err conftest.$ac_ext 4696 if $ac_preproc_ok; then 4709 if $ac_preproc_ok; then : 4697 4710 break 4698 4711 fi … … 4706 4719 ac_cv_prog_CXXCPP=$CXXCPP 4707 4720 fi 4708 { echo "$as_me:$LINENO: result: $CXXCPP" >&54709 echo "${ECHO_T}$CXXCPP" >&6; }4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 4722 $as_echo "$CXXCPP" >&6; } 4710 4723 ac_preproc_ok=false 4711 4724 for ac_cxx_preproc_warn_flag in '' yes … … 4717 4730 # On the NeXT, cc -E runs the code through the compiler's parser, 4718 4731 # not just through cpp. "Syntax error" is here to catch this case. 4719 cat >conftest.$ac_ext <<_ACEOF 4720 /* confdefs.h. */ 4721 _ACEOF 4722 cat confdefs.h >>conftest.$ac_ext 4723 cat >>conftest.$ac_ext <<_ACEOF 4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4724 4733 /* end confdefs.h. */ 4725 4734 #ifdef __STDC__ … … 4730 4739 Syntax error 4731 4740 _ACEOF 4732 if { (ac_try="$ac_cpp conftest.$ac_ext" 4733 case "(($ac_try" in 4734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4735 *) ac_try_echo=$ac_try;; 4736 esac 4737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4739 ac_status=$? 4740 grep -v '^ *+' conftest.er1 >conftest.err 4741 rm -f conftest.er1 4742 cat conftest.err >&5 4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4744 (exit $ac_status); } >/dev/null && { 4745 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4746 test ! -s conftest.err 4747 }; then 4748 : 4749 else 4750 echo "$as_me: failed program was:" >&5 4751 sed 's/^/| /' conftest.$ac_ext >&5 4752 4741 if ac_fn_cxx_try_cpp "$LINENO"; then : 4742 4743 else 4753 4744 # Broken: fails on valid input. 4754 4745 continue 4755 4746 fi 4756 4757 4747 rm -f conftest.err conftest.$ac_ext 4758 4748 4759 4749 # OK, works on sane cases. Now check whether nonexistent headers 4760 4750 # can be detected and how. 4761 cat >conftest.$ac_ext <<_ACEOF 4762 /* confdefs.h. */ 4763 _ACEOF 4764 cat confdefs.h >>conftest.$ac_ext 4765 cat >>conftest.$ac_ext <<_ACEOF 4751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4766 4752 /* end confdefs.h. */ 4767 4753 #include <ac_nonexistent.h> 4768 4754 _ACEOF 4769 if { (ac_try="$ac_cpp conftest.$ac_ext" 4770 case "(($ac_try" in 4771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4772 *) ac_try_echo=$ac_try;; 4773 esac 4774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4776 ac_status=$? 4777 grep -v '^ *+' conftest.er1 >conftest.err 4778 rm -f conftest.er1 4779 cat conftest.err >&5 4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4781 (exit $ac_status); } >/dev/null && { 4782 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4783 test ! -s conftest.err 4784 }; then 4755 if ac_fn_cxx_try_cpp "$LINENO"; then : 4785 4756 # Broken: success on invalid input. 4786 4757 continue 4787 4758 else 4788 echo "$as_me: failed program was:" >&54789 sed 's/^/| /' conftest.$ac_ext >&54790 4791 4759 # Passes both tests. 4792 4760 ac_preproc_ok=: 4793 4761 break 4794 4762 fi 4795 4796 4763 rm -f conftest.err conftest.$ac_ext 4797 4764 … … 4799 4766 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4800 4767 rm -f conftest.err conftest.$ac_ext 4801 if $ac_preproc_ok; then 4802 : 4803 else 4804 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4805 See \`config.log' for more details." >&5 4806 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4807 See \`config.log' for more details." >&2;} 4808 { (exit 1); exit 1; }; } 4768 if $ac_preproc_ok; then : 4769 4770 else 4771 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4773 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check 4774 See \`config.log' for more details." "$LINENO" 5; } 4809 4775 fi 4810 4776 … … 4816 4782 4817 4783 4784 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4785 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4786 inttypes.h stdint.h unistd.h 4787 do : 4788 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4789 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4790 " 4791 eval as_val=\$$as_ac_Header 4792 if test "x$as_val" = x""yes; then : 4793 cat >>confdefs.h <<_ACEOF 4794 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4795 _ACEOF 4796 4797 fi 4798 4799 done 4800 4818 4801 4819 4802 for ac_header in sys/sysinfo.h 4820 do 4821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4822 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4823 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4825 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4826 echo $ECHO_N "(cached) $ECHO_C" >&6 4827 fi 4828 ac_res=`eval echo '${'$as_ac_Header'}'` 4829 { echo "$as_me:$LINENO: result: $ac_res" >&5 4830 echo "${ECHO_T}$ac_res" >&6; } 4831 else 4832 # Is the header compilable? 4833 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4834 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4835 cat >conftest.$ac_ext <<_ACEOF 4836 /* confdefs.h. */ 4837 _ACEOF 4838 cat confdefs.h >>conftest.$ac_ext 4839 cat >>conftest.$ac_ext <<_ACEOF 4840 /* end confdefs.h. */ 4841 $ac_includes_default 4842 #include <$ac_header> 4843 _ACEOF 4844 rm -f conftest.$ac_objext 4845 if { (ac_try="$ac_compile" 4846 case "(($ac_try" in 4847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4848 *) ac_try_echo=$ac_try;; 4849 esac 4850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4851 (eval "$ac_compile") 2>conftest.er1 4852 ac_status=$? 4853 grep -v '^ *+' conftest.er1 >conftest.err 4854 rm -f conftest.er1 4855 cat conftest.err >&5 4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4857 (exit $ac_status); } && { 4858 test -z "$ac_cxx_werror_flag" || 4859 test ! -s conftest.err 4860 } && test -s conftest.$ac_objext; then 4861 ac_header_compiler=yes 4862 else 4863 echo "$as_me: failed program was:" >&5 4864 sed 's/^/| /' conftest.$ac_ext >&5 4865 4866 ac_header_compiler=no 4867 fi 4868 4869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4870 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4871 echo "${ECHO_T}$ac_header_compiler" >&6; } 4872 4873 # Is the header present? 4874 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4875 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4876 cat >conftest.$ac_ext <<_ACEOF 4877 /* confdefs.h. */ 4878 _ACEOF 4879 cat confdefs.h >>conftest.$ac_ext 4880 cat >>conftest.$ac_ext <<_ACEOF 4881 /* end confdefs.h. */ 4882 #include <$ac_header> 4883 _ACEOF 4884 if { (ac_try="$ac_cpp conftest.$ac_ext" 4885 case "(($ac_try" in 4886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4887 *) ac_try_echo=$ac_try;; 4888 esac 4889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4890 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4891 ac_status=$? 4892 grep -v '^ *+' conftest.er1 >conftest.err 4893 rm -f conftest.er1 4894 cat conftest.err >&5 4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4896 (exit $ac_status); } >/dev/null && { 4897 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4898 test ! -s conftest.err 4899 }; then 4900 ac_header_preproc=yes 4901 else 4902 echo "$as_me: failed program was:" >&5 4903 sed 's/^/| /' conftest.$ac_ext >&5 4904 4905 ac_header_preproc=no 4906 fi 4907 4908 rm -f conftest.err conftest.$ac_ext 4909 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4910 echo "${ECHO_T}$ac_header_preproc" >&6; } 4911 4912 # So? What about this header? 4913 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4914 yes:no: ) 4915 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4916 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4918 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4919 ac_header_preproc=yes 4920 ;; 4921 no:yes:* ) 4922 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4923 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4924 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4925 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4926 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4927 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4928 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4929 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4931 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4932 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4933 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4934 ( cat <<\_ASBOX 4935 ## ----------------------------------- ## 4936 ## Report this to rappture@nanohub.org ## 4937 ## ----------------------------------- ## 4938 _ASBOX 4939 ) | sed "s/^/$as_me: WARNING: /" >&2 4940 ;; 4941 esac 4942 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4944 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4945 echo $ECHO_N "(cached) $ECHO_C" >&6 4946 else 4947 eval "$as_ac_Header=\$ac_header_preproc" 4948 fi 4949 ac_res=`eval echo '${'$as_ac_Header'}'` 4950 { echo "$as_me:$LINENO: result: $ac_res" >&5 4951 echo "${ECHO_T}$ac_res" >&6; } 4952 4953 fi 4954 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4803 do : 4804 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" 4805 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then : 4955 4806 cat >>confdefs.h <<_ACEOF 4956 #define `echo "HAVE_$ac_header" | $as_tr_cpp`14807 #define HAVE_SYS_SYSINFO_H 1 4957 4808 _ACEOF 4958 4809 … … 4962 4813 4963 4814 4964 4965 { echo "$as_me:$LINENO: checking for main in -lm" >&5 4966 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 4967 if test "${ac_cv_lib_m_main+set}" = set; then 4968 echo $ECHO_N "(cached) $ECHO_C" >&6 4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 4816 $as_echo_n "checking for main in -lm... " >&6; } 4817 if test "${ac_cv_lib_m_main+set}" = set; then : 4818 $as_echo_n "(cached) " >&6 4969 4819 else 4970 4820 ac_check_lib_save_LIBS=$LIBS 4971 4821 LIBS="-lm $LIBS" 4972 cat >conftest.$ac_ext <<_ACEOF 4973 /* confdefs.h. */ 4974 _ACEOF 4975 cat confdefs.h >>conftest.$ac_ext 4976 cat >>conftest.$ac_ext <<_ACEOF 4822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4977 4823 /* end confdefs.h. */ 4978 4824 … … 4986 4832 } 4987 4833 _ACEOF 4988 rm -f conftest.$ac_objext conftest$ac_exeext 4989 if { (ac_try="$ac_link" 4990 case "(($ac_try" in 4991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4992 *) ac_try_echo=$ac_try;; 4993 esac 4994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4995 (eval "$ac_link") 2>conftest.er1 4996 ac_status=$? 4997 grep -v '^ *+' conftest.er1 >conftest.err 4998 rm -f conftest.er1 4999 cat conftest.err >&5 5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5001 (exit $ac_status); } && { 5002 test -z "$ac_cxx_werror_flag" || 5003 test ! -s conftest.err 5004 } && test -s conftest$ac_exeext && 5005 $as_test_x conftest$ac_exeext; then 4834 if ac_fn_cxx_try_link "$LINENO"; then : 5006 4835 ac_cv_lib_m_main=yes 5007 4836 else 5008 echo "$as_me: failed program was:" >&5 5009 sed 's/^/| /' conftest.$ac_ext >&5 5010 5011 ac_cv_lib_m_main=no 5012 fi 5013 5014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5015 conftest$ac_exeext conftest.$ac_ext 4837 ac_cv_lib_m_main=no 4838 fi 4839 rm -f core conftest.err conftest.$ac_objext \ 4840 conftest$ac_exeext conftest.$ac_ext 5016 4841 LIBS=$ac_check_lib_save_LIBS 5017 4842 fi 5018 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55019 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }5020 if test $ac_cv_lib_m_main = yes; then4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 4844 $as_echo "$ac_cv_lib_m_main" >&6; } 4845 if test "x$ac_cv_lib_m_main" = x""yes; then : 5021 4846 cat >>confdefs.h <<_ACEOF 5022 4847 #define HAVE_LIBM 1 … … 5026 4851 5027 4852 else 5028 { { echo "$as_me:$LINENO: error: librappture requires libm" >&5 5029 echo "$as_me: error: librappture requires libm" >&2;} 5030 { (exit 1); exit 1; }; } 5031 fi 5032 5033 5034 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5035 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; } 5036 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 5037 echo $ECHO_N "(cached) $ECHO_C" >&6 4853 as_fn_error "librappture requires libm" "$LINENO" 5 4854 fi 4855 4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 4857 $as_echo_n "checking for main in -lstdc++... " >&6; } 4858 if test "${ac_cv_lib_stdcpp_main+set}" = set; then : 4859 $as_echo_n "(cached) " >&6 5038 4860 else 5039 4861 ac_check_lib_save_LIBS=$LIBS 5040 4862 LIBS="-lstdc++ $LIBS" 5041 cat >conftest.$ac_ext <<_ACEOF 5042 /* confdefs.h. */ 5043 _ACEOF 5044 cat confdefs.h >>conftest.$ac_ext 5045 cat >>conftest.$ac_ext <<_ACEOF 4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5046 4864 /* end confdefs.h. */ 5047 4865 … … 5055 4873 } 5056 4874 _ACEOF 5057 rm -f conftest.$ac_objext conftest$ac_exeext 5058 if { (ac_try="$ac_link" 5059 case "(($ac_try" in 5060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5061 *) ac_try_echo=$ac_try;; 5062 esac 5063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5064 (eval "$ac_link") 2>conftest.er1 5065 ac_status=$? 5066 grep -v '^ *+' conftest.er1 >conftest.err 5067 rm -f conftest.er1 5068 cat conftest.err >&5 5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5070 (exit $ac_status); } && { 5071 test -z "$ac_cxx_werror_flag" || 5072 test ! -s conftest.err 5073 } && test -s conftest$ac_exeext && 5074 $as_test_x conftest$ac_exeext; then 4875 if ac_fn_cxx_try_link "$LINENO"; then : 5075 4876 ac_cv_lib_stdcpp_main=yes 5076 4877 else 5077 echo "$as_me: failed program was:" >&5 5078 sed 's/^/| /' conftest.$ac_ext >&5 5079 5080 ac_cv_lib_stdcpp_main=no 5081 fi 5082 5083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5084 conftest$ac_exeext conftest.$ac_ext 4878 ac_cv_lib_stdcpp_main=no 4879 fi 4880 rm -f core conftest.err conftest.$ac_objext \ 4881 conftest$ac_exeext conftest.$ac_ext 5085 4882 LIBS=$ac_check_lib_save_LIBS 5086 4883 fi 5087 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&55088 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }5089 if test $ac_cv_lib_stdcpp_main = yes; then4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5 4885 $as_echo "$ac_cv_lib_stdcpp_main" >&6; } 4886 if test "x$ac_cv_lib_stdcpp_main" = x""yes; then : 5090 4887 cat >>confdefs.h <<_ACEOF 5091 4888 #define HAVE_LIBSTDC__ 1 … … 5095 4892 5096 4893 else 5097 { { echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5 5098 echo "$as_me: error: librappture requires libstdc++" >&2;} 5099 { (exit 1); exit 1; }; } 5100 fi 5101 4894 as_fn_error "librappture requires libstdc++" "$LINENO" 5 4895 fi 5102 4896 5103 4897 for ac_header in algorithm 5104 do 5105 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5107 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5110 echo $ECHO_N "(cached) $ECHO_C" >&6 5111 fi 5112 ac_res=`eval echo '${'$as_ac_Header'}'` 5113 { echo "$as_me:$LINENO: result: $ac_res" >&5 5114 echo "${ECHO_T}$ac_res" >&6; } 5115 else 5116 # Is the header compilable? 5117 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5119 cat >conftest.$ac_ext <<_ACEOF 5120 /* confdefs.h. */ 5121 _ACEOF 5122 cat confdefs.h >>conftest.$ac_ext 5123 cat >>conftest.$ac_ext <<_ACEOF 5124 /* end confdefs.h. */ 5125 $ac_includes_default 5126 #include <$ac_header> 5127 _ACEOF 5128 rm -f conftest.$ac_objext 5129 if { (ac_try="$ac_compile" 5130 case "(($ac_try" in 5131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5132 *) ac_try_echo=$ac_try;; 5133 esac 5134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5135 (eval "$ac_compile") 2>conftest.er1 5136 ac_status=$? 5137 grep -v '^ *+' conftest.er1 >conftest.err 5138 rm -f conftest.er1 5139 cat conftest.err >&5 5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5141 (exit $ac_status); } && { 5142 test -z "$ac_cxx_werror_flag" || 5143 test ! -s conftest.err 5144 } && test -s conftest.$ac_objext; then 5145 ac_header_compiler=yes 5146 else 5147 echo "$as_me: failed program was:" >&5 5148 sed 's/^/| /' conftest.$ac_ext >&5 5149 5150 ac_header_compiler=no 5151 fi 5152 5153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5154 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5155 echo "${ECHO_T}$ac_header_compiler" >&6; } 5156 5157 # Is the header present? 5158 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5159 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5160 cat >conftest.$ac_ext <<_ACEOF 5161 /* confdefs.h. */ 5162 _ACEOF 5163 cat confdefs.h >>conftest.$ac_ext 5164 cat >>conftest.$ac_ext <<_ACEOF 5165 /* end confdefs.h. */ 5166 #include <$ac_header> 5167 _ACEOF 5168 if { (ac_try="$ac_cpp conftest.$ac_ext" 5169 case "(($ac_try" in 5170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5171 *) ac_try_echo=$ac_try;; 5172 esac 5173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5175 ac_status=$? 5176 grep -v '^ *+' conftest.er1 >conftest.err 5177 rm -f conftest.er1 5178 cat conftest.err >&5 5179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5180 (exit $ac_status); } >/dev/null && { 5181 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5182 test ! -s conftest.err 5183 }; then 5184 ac_header_preproc=yes 5185 else 5186 echo "$as_me: failed program was:" >&5 5187 sed 's/^/| /' conftest.$ac_ext >&5 5188 5189 ac_header_preproc=no 5190 fi 5191 5192 rm -f conftest.err conftest.$ac_ext 5193 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5194 echo "${ECHO_T}$ac_header_preproc" >&6; } 5195 5196 # So? What about this header? 5197 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5198 yes:no: ) 5199 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5200 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5202 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5203 ac_header_preproc=yes 5204 ;; 5205 no:yes:* ) 5206 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5207 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5208 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5209 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5210 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5211 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5212 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5213 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5215 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5216 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5217 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5218 ( cat <<\_ASBOX 5219 ## ----------------------------------- ## 5220 ## Report this to rappture@nanohub.org ## 5221 ## ----------------------------------- ## 5222 _ASBOX 5223 ) | sed "s/^/$as_me: WARNING: /" >&2 5224 ;; 5225 esac 5226 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5229 echo $ECHO_N "(cached) $ECHO_C" >&6 5230 else 5231 eval "$as_ac_Header=\$ac_header_preproc" 5232 fi 5233 ac_res=`eval echo '${'$as_ac_Header'}'` 5234 { echo "$as_me:$LINENO: result: $ac_res" >&5 5235 echo "${ECHO_T}$ac_res" >&6; } 5236 5237 fi 5238 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4898 do : 4899 ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default" 4900 if test "x$ac_cv_header_algorithm" = x""yes; then : 5239 4901 cat >>confdefs.h <<_ACEOF 5240 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15241 _ACEOF 5242 5243 else 5244 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55245 echo "$as_me: WARNING: STL classes missing ?" >&2;}4902 #define HAVE_ALGORITHM 1 4903 _ACEOF 4904 4905 else 4906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4907 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5246 4908 fi 5247 4909 5248 4910 done 5249 4911 5250 5251 4912 for ac_header in cctype 5252 do 5253 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5255 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5257 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5258 echo $ECHO_N "(cached) $ECHO_C" >&6 5259 fi 5260 ac_res=`eval echo '${'$as_ac_Header'}'` 5261 { echo "$as_me:$LINENO: result: $ac_res" >&5 5262 echo "${ECHO_T}$ac_res" >&6; } 5263 else 5264 # Is the header compilable? 5265 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5266 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5267 cat >conftest.$ac_ext <<_ACEOF 5268 /* confdefs.h. */ 5269 _ACEOF 5270 cat confdefs.h >>conftest.$ac_ext 5271 cat >>conftest.$ac_ext <<_ACEOF 5272 /* end confdefs.h. */ 5273 $ac_includes_default 5274 #include <$ac_header> 5275 _ACEOF 5276 rm -f conftest.$ac_objext 5277 if { (ac_try="$ac_compile" 5278 case "(($ac_try" in 5279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5280 *) ac_try_echo=$ac_try;; 5281 esac 5282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5283 (eval "$ac_compile") 2>conftest.er1 5284 ac_status=$? 5285 grep -v '^ *+' conftest.er1 >conftest.err 5286 rm -f conftest.er1 5287 cat conftest.err >&5 5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5289 (exit $ac_status); } && { 5290 test -z "$ac_cxx_werror_flag" || 5291 test ! -s conftest.err 5292 } && test -s conftest.$ac_objext; then 5293 ac_header_compiler=yes 5294 else 5295 echo "$as_me: failed program was:" >&5 5296 sed 's/^/| /' conftest.$ac_ext >&5 5297 5298 ac_header_compiler=no 5299 fi 5300 5301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5302 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5303 echo "${ECHO_T}$ac_header_compiler" >&6; } 5304 5305 # Is the header present? 5306 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5307 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5308 cat >conftest.$ac_ext <<_ACEOF 5309 /* confdefs.h. */ 5310 _ACEOF 5311 cat confdefs.h >>conftest.$ac_ext 5312 cat >>conftest.$ac_ext <<_ACEOF 5313 /* end confdefs.h. */ 5314 #include <$ac_header> 5315 _ACEOF 5316 if { (ac_try="$ac_cpp conftest.$ac_ext" 5317 case "(($ac_try" in 5318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5319 *) ac_try_echo=$ac_try;; 5320 esac 5321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5322 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5323 ac_status=$? 5324 grep -v '^ *+' conftest.er1 >conftest.err 5325 rm -f conftest.er1 5326 cat conftest.err >&5 5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5328 (exit $ac_status); } >/dev/null && { 5329 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5330 test ! -s conftest.err 5331 }; then 5332 ac_header_preproc=yes 5333 else 5334 echo "$as_me: failed program was:" >&5 5335 sed 's/^/| /' conftest.$ac_ext >&5 5336 5337 ac_header_preproc=no 5338 fi 5339 5340 rm -f conftest.err conftest.$ac_ext 5341 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5342 echo "${ECHO_T}$ac_header_preproc" >&6; } 5343 5344 # So? What about this header? 5345 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5346 yes:no: ) 5347 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5348 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5350 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5351 ac_header_preproc=yes 5352 ;; 5353 no:yes:* ) 5354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5358 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5359 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5360 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5361 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5363 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5364 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5365 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5366 ( cat <<\_ASBOX 5367 ## ----------------------------------- ## 5368 ## Report this to rappture@nanohub.org ## 5369 ## ----------------------------------- ## 5370 _ASBOX 5371 ) | sed "s/^/$as_me: WARNING: /" >&2 5372 ;; 5373 esac 5374 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5376 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5377 echo $ECHO_N "(cached) $ECHO_C" >&6 5378 else 5379 eval "$as_ac_Header=\$ac_header_preproc" 5380 fi 5381 ac_res=`eval echo '${'$as_ac_Header'}'` 5382 { echo "$as_me:$LINENO: result: $ac_res" >&5 5383 echo "${ECHO_T}$ac_res" >&6; } 5384 5385 fi 5386 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4913 do : 4914 ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default" 4915 if test "x$ac_cv_header_cctype" = x""yes; then : 5387 4916 cat >>confdefs.h <<_ACEOF 5388 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15389 _ACEOF 5390 5391 else 5392 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55393 echo "$as_me: WARNING: STL classes missing ?" >&2;}4917 #define HAVE_CCTYPE 1 4918 _ACEOF 4919 4920 else 4921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4922 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5394 4923 fi 5395 4924 5396 4925 done 5397 4926 5398 5399 4927 for ac_header in cfloat 5400 do 5401 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5402 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5403 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5404 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5405 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5406 echo $ECHO_N "(cached) $ECHO_C" >&6 5407 fi 5408 ac_res=`eval echo '${'$as_ac_Header'}'` 5409 { echo "$as_me:$LINENO: result: $ac_res" >&5 5410 echo "${ECHO_T}$ac_res" >&6; } 5411 else 5412 # Is the header compilable? 5413 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5414 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5415 cat >conftest.$ac_ext <<_ACEOF 5416 /* confdefs.h. */ 5417 _ACEOF 5418 cat confdefs.h >>conftest.$ac_ext 5419 cat >>conftest.$ac_ext <<_ACEOF 5420 /* end confdefs.h. */ 5421 $ac_includes_default 5422 #include <$ac_header> 5423 _ACEOF 5424 rm -f conftest.$ac_objext 5425 if { (ac_try="$ac_compile" 5426 case "(($ac_try" in 5427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5428 *) ac_try_echo=$ac_try;; 5429 esac 5430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5431 (eval "$ac_compile") 2>conftest.er1 5432 ac_status=$? 5433 grep -v '^ *+' conftest.er1 >conftest.err 5434 rm -f conftest.er1 5435 cat conftest.err >&5 5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5437 (exit $ac_status); } && { 5438 test -z "$ac_cxx_werror_flag" || 5439 test ! -s conftest.err 5440 } && test -s conftest.$ac_objext; then 5441 ac_header_compiler=yes 5442 else 5443 echo "$as_me: failed program was:" >&5 5444 sed 's/^/| /' conftest.$ac_ext >&5 5445 5446 ac_header_compiler=no 5447 fi 5448 5449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5450 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5451 echo "${ECHO_T}$ac_header_compiler" >&6; } 5452 5453 # Is the header present? 5454 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5455 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5456 cat >conftest.$ac_ext <<_ACEOF 5457 /* confdefs.h. */ 5458 _ACEOF 5459 cat confdefs.h >>conftest.$ac_ext 5460 cat >>conftest.$ac_ext <<_ACEOF 5461 /* end confdefs.h. */ 5462 #include <$ac_header> 5463 _ACEOF 5464 if { (ac_try="$ac_cpp conftest.$ac_ext" 5465 case "(($ac_try" in 5466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5467 *) ac_try_echo=$ac_try;; 5468 esac 5469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5470 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5471 ac_status=$? 5472 grep -v '^ *+' conftest.er1 >conftest.err 5473 rm -f conftest.er1 5474 cat conftest.err >&5 5475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5476 (exit $ac_status); } >/dev/null && { 5477 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5478 test ! -s conftest.err 5479 }; then 5480 ac_header_preproc=yes 5481 else 5482 echo "$as_me: failed program was:" >&5 5483 sed 's/^/| /' conftest.$ac_ext >&5 5484 5485 ac_header_preproc=no 5486 fi 5487 5488 rm -f conftest.err conftest.$ac_ext 5489 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5490 echo "${ECHO_T}$ac_header_preproc" >&6; } 5491 5492 # So? What about this header? 5493 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5494 yes:no: ) 5495 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5496 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5498 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5499 ac_header_preproc=yes 5500 ;; 5501 no:yes:* ) 5502 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5503 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5504 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5505 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5506 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5507 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5508 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5509 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5511 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5512 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5513 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5514 ( cat <<\_ASBOX 5515 ## ----------------------------------- ## 5516 ## Report this to rappture@nanohub.org ## 5517 ## ----------------------------------- ## 5518 _ASBOX 5519 ) | sed "s/^/$as_me: WARNING: /" >&2 5520 ;; 5521 esac 5522 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5524 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5525 echo $ECHO_N "(cached) $ECHO_C" >&6 5526 else 5527 eval "$as_ac_Header=\$ac_header_preproc" 5528 fi 5529 ac_res=`eval echo '${'$as_ac_Header'}'` 5530 { echo "$as_me:$LINENO: result: $ac_res" >&5 5531 echo "${ECHO_T}$ac_res" >&6; } 5532 5533 fi 5534 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4928 do : 4929 ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default" 4930 if test "x$ac_cv_header_cfloat" = x""yes; then : 5535 4931 cat >>confdefs.h <<_ACEOF 5536 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15537 _ACEOF 5538 5539 else 5540 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55541 echo "$as_me: WARNING: STL classes missing ?" >&2;}4932 #define HAVE_CFLOAT 1 4933 _ACEOF 4934 4935 else 4936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4937 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5542 4938 fi 5543 4939 5544 4940 done 5545 4941 5546 5547 4942 for ac_header in cmath 5548 do 5549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5551 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5553 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5554 echo $ECHO_N "(cached) $ECHO_C" >&6 5555 fi 5556 ac_res=`eval echo '${'$as_ac_Header'}'` 5557 { echo "$as_me:$LINENO: result: $ac_res" >&5 5558 echo "${ECHO_T}$ac_res" >&6; } 5559 else 5560 # Is the header compilable? 5561 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5562 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5563 cat >conftest.$ac_ext <<_ACEOF 5564 /* confdefs.h. */ 5565 _ACEOF 5566 cat confdefs.h >>conftest.$ac_ext 5567 cat >>conftest.$ac_ext <<_ACEOF 5568 /* end confdefs.h. */ 5569 $ac_includes_default 5570 #include <$ac_header> 5571 _ACEOF 5572 rm -f conftest.$ac_objext 5573 if { (ac_try="$ac_compile" 5574 case "(($ac_try" in 5575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5576 *) ac_try_echo=$ac_try;; 5577 esac 5578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5579 (eval "$ac_compile") 2>conftest.er1 5580 ac_status=$? 5581 grep -v '^ *+' conftest.er1 >conftest.err 5582 rm -f conftest.er1 5583 cat conftest.err >&5 5584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5585 (exit $ac_status); } && { 5586 test -z "$ac_cxx_werror_flag" || 5587 test ! -s conftest.err 5588 } && test -s conftest.$ac_objext; then 5589 ac_header_compiler=yes 5590 else 5591 echo "$as_me: failed program was:" >&5 5592 sed 's/^/| /' conftest.$ac_ext >&5 5593 5594 ac_header_compiler=no 5595 fi 5596 5597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5598 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5599 echo "${ECHO_T}$ac_header_compiler" >&6; } 5600 5601 # Is the header present? 5602 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5603 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5604 cat >conftest.$ac_ext <<_ACEOF 5605 /* confdefs.h. */ 5606 _ACEOF 5607 cat confdefs.h >>conftest.$ac_ext 5608 cat >>conftest.$ac_ext <<_ACEOF 5609 /* end confdefs.h. */ 5610 #include <$ac_header> 5611 _ACEOF 5612 if { (ac_try="$ac_cpp conftest.$ac_ext" 5613 case "(($ac_try" in 5614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5615 *) ac_try_echo=$ac_try;; 5616 esac 5617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5618 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5619 ac_status=$? 5620 grep -v '^ *+' conftest.er1 >conftest.err 5621 rm -f conftest.er1 5622 cat conftest.err >&5 5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5624 (exit $ac_status); } >/dev/null && { 5625 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5626 test ! -s conftest.err 5627 }; then 5628 ac_header_preproc=yes 5629 else 5630 echo "$as_me: failed program was:" >&5 5631 sed 's/^/| /' conftest.$ac_ext >&5 5632 5633 ac_header_preproc=no 5634 fi 5635 5636 rm -f conftest.err conftest.$ac_ext 5637 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5638 echo "${ECHO_T}$ac_header_preproc" >&6; } 5639 5640 # So? What about this header? 5641 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5642 yes:no: ) 5643 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5644 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5646 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5647 ac_header_preproc=yes 5648 ;; 5649 no:yes:* ) 5650 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5651 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5652 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5653 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5654 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5655 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5656 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5657 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5659 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5660 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5661 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5662 ( cat <<\_ASBOX 5663 ## ----------------------------------- ## 5664 ## Report this to rappture@nanohub.org ## 5665 ## ----------------------------------- ## 5666 _ASBOX 5667 ) | sed "s/^/$as_me: WARNING: /" >&2 5668 ;; 5669 esac 5670 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5673 echo $ECHO_N "(cached) $ECHO_C" >&6 5674 else 5675 eval "$as_ac_Header=\$ac_header_preproc" 5676 fi 5677 ac_res=`eval echo '${'$as_ac_Header'}'` 5678 { echo "$as_me:$LINENO: result: $ac_res" >&5 5679 echo "${ECHO_T}$ac_res" >&6; } 5680 5681 fi 5682 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4943 do : 4944 ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default" 4945 if test "x$ac_cv_header_cmath" = x""yes; then : 5683 4946 cat >>confdefs.h <<_ACEOF 5684 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15685 _ACEOF 5686 5687 else 5688 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55689 echo "$as_me: WARNING: STL classes missing ?" >&2;}4947 #define HAVE_CMATH 1 4948 _ACEOF 4949 4950 else 4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4952 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5690 4953 fi 5691 4954 5692 4955 done 5693 4956 5694 5695 4957 for ac_header in cstdio 5696 do 5697 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5699 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5701 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5702 echo $ECHO_N "(cached) $ECHO_C" >&6 5703 fi 5704 ac_res=`eval echo '${'$as_ac_Header'}'` 5705 { echo "$as_me:$LINENO: result: $ac_res" >&5 5706 echo "${ECHO_T}$ac_res" >&6; } 5707 else 5708 # Is the header compilable? 5709 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5710 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5711 cat >conftest.$ac_ext <<_ACEOF 5712 /* confdefs.h. */ 5713 _ACEOF 5714 cat confdefs.h >>conftest.$ac_ext 5715 cat >>conftest.$ac_ext <<_ACEOF 5716 /* end confdefs.h. */ 5717 $ac_includes_default 5718 #include <$ac_header> 5719 _ACEOF 5720 rm -f conftest.$ac_objext 5721 if { (ac_try="$ac_compile" 5722 case "(($ac_try" in 5723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5724 *) ac_try_echo=$ac_try;; 5725 esac 5726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5727 (eval "$ac_compile") 2>conftest.er1 5728 ac_status=$? 5729 grep -v '^ *+' conftest.er1 >conftest.err 5730 rm -f conftest.er1 5731 cat conftest.err >&5 5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5733 (exit $ac_status); } && { 5734 test -z "$ac_cxx_werror_flag" || 5735 test ! -s conftest.err 5736 } && test -s conftest.$ac_objext; then 5737 ac_header_compiler=yes 5738 else 5739 echo "$as_me: failed program was:" >&5 5740 sed 's/^/| /' conftest.$ac_ext >&5 5741 5742 ac_header_compiler=no 5743 fi 5744 5745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5746 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5747 echo "${ECHO_T}$ac_header_compiler" >&6; } 5748 5749 # Is the header present? 5750 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5751 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5752 cat >conftest.$ac_ext <<_ACEOF 5753 /* confdefs.h. */ 5754 _ACEOF 5755 cat confdefs.h >>conftest.$ac_ext 5756 cat >>conftest.$ac_ext <<_ACEOF 5757 /* end confdefs.h. */ 5758 #include <$ac_header> 5759 _ACEOF 5760 if { (ac_try="$ac_cpp conftest.$ac_ext" 5761 case "(($ac_try" in 5762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5763 *) ac_try_echo=$ac_try;; 5764 esac 5765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5767 ac_status=$? 5768 grep -v '^ *+' conftest.er1 >conftest.err 5769 rm -f conftest.er1 5770 cat conftest.err >&5 5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5772 (exit $ac_status); } >/dev/null && { 5773 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5774 test ! -s conftest.err 5775 }; then 5776 ac_header_preproc=yes 5777 else 5778 echo "$as_me: failed program was:" >&5 5779 sed 's/^/| /' conftest.$ac_ext >&5 5780 5781 ac_header_preproc=no 5782 fi 5783 5784 rm -f conftest.err conftest.$ac_ext 5785 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5786 echo "${ECHO_T}$ac_header_preproc" >&6; } 5787 5788 # So? What about this header? 5789 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5790 yes:no: ) 5791 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5794 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5795 ac_header_preproc=yes 5796 ;; 5797 no:yes:* ) 5798 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5799 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5800 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5801 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5802 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5803 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5804 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5805 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5808 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5809 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5810 ( cat <<\_ASBOX 5811 ## ----------------------------------- ## 5812 ## Report this to rappture@nanohub.org ## 5813 ## ----------------------------------- ## 5814 _ASBOX 5815 ) | sed "s/^/$as_me: WARNING: /" >&2 5816 ;; 5817 esac 5818 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5820 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5821 echo $ECHO_N "(cached) $ECHO_C" >&6 5822 else 5823 eval "$as_ac_Header=\$ac_header_preproc" 5824 fi 5825 ac_res=`eval echo '${'$as_ac_Header'}'` 5826 { echo "$as_me:$LINENO: result: $ac_res" >&5 5827 echo "${ECHO_T}$ac_res" >&6; } 5828 5829 fi 5830 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4958 do : 4959 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default" 4960 if test "x$ac_cv_header_cstdio" = x""yes; then : 5831 4961 cat >>confdefs.h <<_ACEOF 5832 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15833 _ACEOF 5834 5835 else 5836 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55837 echo "$as_me: WARNING: STL classes missing ?" >&2;}4962 #define HAVE_CSTDIO 1 4963 _ACEOF 4964 4965 else 4966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4967 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5838 4968 fi 5839 4969 5840 4970 done 5841 4971 5842 5843 4972 for ac_header in cstdlib 5844 do 5845 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5846 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5847 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5849 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5850 echo $ECHO_N "(cached) $ECHO_C" >&6 5851 fi 5852 ac_res=`eval echo '${'$as_ac_Header'}'` 5853 { echo "$as_me:$LINENO: result: $ac_res" >&5 5854 echo "${ECHO_T}$ac_res" >&6; } 5855 else 5856 # Is the header compilable? 5857 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5858 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5859 cat >conftest.$ac_ext <<_ACEOF 5860 /* confdefs.h. */ 5861 _ACEOF 5862 cat confdefs.h >>conftest.$ac_ext 5863 cat >>conftest.$ac_ext <<_ACEOF 5864 /* end confdefs.h. */ 5865 $ac_includes_default 5866 #include <$ac_header> 5867 _ACEOF 5868 rm -f conftest.$ac_objext 5869 if { (ac_try="$ac_compile" 5870 case "(($ac_try" in 5871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5872 *) ac_try_echo=$ac_try;; 5873 esac 5874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5875 (eval "$ac_compile") 2>conftest.er1 5876 ac_status=$? 5877 grep -v '^ *+' conftest.er1 >conftest.err 5878 rm -f conftest.er1 5879 cat conftest.err >&5 5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5881 (exit $ac_status); } && { 5882 test -z "$ac_cxx_werror_flag" || 5883 test ! -s conftest.err 5884 } && test -s conftest.$ac_objext; then 5885 ac_header_compiler=yes 5886 else 5887 echo "$as_me: failed program was:" >&5 5888 sed 's/^/| /' conftest.$ac_ext >&5 5889 5890 ac_header_compiler=no 5891 fi 5892 5893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5894 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5895 echo "${ECHO_T}$ac_header_compiler" >&6; } 5896 5897 # Is the header present? 5898 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5899 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5900 cat >conftest.$ac_ext <<_ACEOF 5901 /* confdefs.h. */ 5902 _ACEOF 5903 cat confdefs.h >>conftest.$ac_ext 5904 cat >>conftest.$ac_ext <<_ACEOF 5905 /* end confdefs.h. */ 5906 #include <$ac_header> 5907 _ACEOF 5908 if { (ac_try="$ac_cpp conftest.$ac_ext" 5909 case "(($ac_try" in 5910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5911 *) ac_try_echo=$ac_try;; 5912 esac 5913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5915 ac_status=$? 5916 grep -v '^ *+' conftest.er1 >conftest.err 5917 rm -f conftest.er1 5918 cat conftest.err >&5 5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5920 (exit $ac_status); } >/dev/null && { 5921 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5922 test ! -s conftest.err 5923 }; then 5924 ac_header_preproc=yes 5925 else 5926 echo "$as_me: failed program was:" >&5 5927 sed 's/^/| /' conftest.$ac_ext >&5 5928 5929 ac_header_preproc=no 5930 fi 5931 5932 rm -f conftest.err conftest.$ac_ext 5933 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5934 echo "${ECHO_T}$ac_header_preproc" >&6; } 5935 5936 # So? What about this header? 5937 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5938 yes:no: ) 5939 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5940 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5942 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5943 ac_header_preproc=yes 5944 ;; 5945 no:yes:* ) 5946 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5948 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5949 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5950 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5951 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5952 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5953 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5956 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5957 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5958 ( cat <<\_ASBOX 5959 ## ----------------------------------- ## 5960 ## Report this to rappture@nanohub.org ## 5961 ## ----------------------------------- ## 5962 _ASBOX 5963 ) | sed "s/^/$as_me: WARNING: /" >&2 5964 ;; 5965 esac 5966 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5968 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5969 echo $ECHO_N "(cached) $ECHO_C" >&6 5970 else 5971 eval "$as_ac_Header=\$ac_header_preproc" 5972 fi 5973 ac_res=`eval echo '${'$as_ac_Header'}'` 5974 { echo "$as_me:$LINENO: result: $ac_res" >&5 5975 echo "${ECHO_T}$ac_res" >&6; } 5976 5977 fi 5978 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4973 do : 4974 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default" 4975 if test "x$ac_cv_header_cstdlib" = x""yes; then : 5979 4976 cat >>confdefs.h <<_ACEOF 5980 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15981 _ACEOF 5982 5983 else 5984 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55985 echo "$as_me: WARNING: STL classes missing ?" >&2;}4977 #define HAVE_CSTDLIB 1 4978 _ACEOF 4979 4980 else 4981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4982 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5986 4983 fi 5987 4984 5988 4985 done 5989 4986 5990 5991 4987 for ac_header in cstring 5992 do 5993 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5994 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5995 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5997 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5998 echo $ECHO_N "(cached) $ECHO_C" >&6 5999 fi 6000 ac_res=`eval echo '${'$as_ac_Header'}'` 6001 { echo "$as_me:$LINENO: result: $ac_res" >&5 6002 echo "${ECHO_T}$ac_res" >&6; } 6003 else 6004 # Is the header compilable? 6005 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6007 cat >conftest.$ac_ext <<_ACEOF 6008 /* confdefs.h. */ 6009 _ACEOF 6010 cat confdefs.h >>conftest.$ac_ext 6011 cat >>conftest.$ac_ext <<_ACEOF 6012 /* end confdefs.h. */ 6013 $ac_includes_default 6014 #include <$ac_header> 6015 _ACEOF 6016 rm -f conftest.$ac_objext 6017 if { (ac_try="$ac_compile" 6018 case "(($ac_try" in 6019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6020 *) ac_try_echo=$ac_try;; 6021 esac 6022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6023 (eval "$ac_compile") 2>conftest.er1 6024 ac_status=$? 6025 grep -v '^ *+' conftest.er1 >conftest.err 6026 rm -f conftest.er1 6027 cat conftest.err >&5 6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6029 (exit $ac_status); } && { 6030 test -z "$ac_cxx_werror_flag" || 6031 test ! -s conftest.err 6032 } && test -s conftest.$ac_objext; then 6033 ac_header_compiler=yes 6034 else 6035 echo "$as_me: failed program was:" >&5 6036 sed 's/^/| /' conftest.$ac_ext >&5 6037 6038 ac_header_compiler=no 6039 fi 6040 6041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6042 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6043 echo "${ECHO_T}$ac_header_compiler" >&6; } 6044 6045 # Is the header present? 6046 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6047 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6048 cat >conftest.$ac_ext <<_ACEOF 6049 /* confdefs.h. */ 6050 _ACEOF 6051 cat confdefs.h >>conftest.$ac_ext 6052 cat >>conftest.$ac_ext <<_ACEOF 6053 /* end confdefs.h. */ 6054 #include <$ac_header> 6055 _ACEOF 6056 if { (ac_try="$ac_cpp conftest.$ac_ext" 6057 case "(($ac_try" in 6058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6059 *) ac_try_echo=$ac_try;; 6060 esac 6061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6062 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6063 ac_status=$? 6064 grep -v '^ *+' conftest.er1 >conftest.err 6065 rm -f conftest.er1 6066 cat conftest.err >&5 6067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6068 (exit $ac_status); } >/dev/null && { 6069 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6070 test ! -s conftest.err 6071 }; then 6072 ac_header_preproc=yes 6073 else 6074 echo "$as_me: failed program was:" >&5 6075 sed 's/^/| /' conftest.$ac_ext >&5 6076 6077 ac_header_preproc=no 6078 fi 6079 6080 rm -f conftest.err conftest.$ac_ext 6081 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6082 echo "${ECHO_T}$ac_header_preproc" >&6; } 6083 6084 # So? What about this header? 6085 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6086 yes:no: ) 6087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6091 ac_header_preproc=yes 6092 ;; 6093 no:yes:* ) 6094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6106 ( cat <<\_ASBOX 6107 ## ----------------------------------- ## 6108 ## Report this to rappture@nanohub.org ## 6109 ## ----------------------------------- ## 6110 _ASBOX 6111 ) | sed "s/^/$as_me: WARNING: /" >&2 6112 ;; 6113 esac 6114 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6117 echo $ECHO_N "(cached) $ECHO_C" >&6 6118 else 6119 eval "$as_ac_Header=\$ac_header_preproc" 6120 fi 6121 ac_res=`eval echo '${'$as_ac_Header'}'` 6122 { echo "$as_me:$LINENO: result: $ac_res" >&5 6123 echo "${ECHO_T}$ac_res" >&6; } 6124 6125 fi 6126 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4988 do : 4989 ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default" 4990 if test "x$ac_cv_header_cstring" = x""yes; then : 6127 4991 cat >>confdefs.h <<_ACEOF 6128 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16129 _ACEOF 6130 6131 else 6132 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56133 echo "$as_me: WARNING: STL classes missing ?" >&2;}4992 #define HAVE_CSTRING 1 4993 _ACEOF 4994 4995 else 4996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4997 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6134 4998 fi 6135 4999 6136 5000 done 6137 5001 6138 6139 5002 for ac_header in fstream 6140 do 6141 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6142 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6143 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6146 echo $ECHO_N "(cached) $ECHO_C" >&6 6147 fi 6148 ac_res=`eval echo '${'$as_ac_Header'}'` 6149 { echo "$as_me:$LINENO: result: $ac_res" >&5 6150 echo "${ECHO_T}$ac_res" >&6; } 6151 else 6152 # Is the header compilable? 6153 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6154 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6155 cat >conftest.$ac_ext <<_ACEOF 6156 /* confdefs.h. */ 6157 _ACEOF 6158 cat confdefs.h >>conftest.$ac_ext 6159 cat >>conftest.$ac_ext <<_ACEOF 6160 /* end confdefs.h. */ 6161 $ac_includes_default 6162 #include <$ac_header> 6163 _ACEOF 6164 rm -f conftest.$ac_objext 6165 if { (ac_try="$ac_compile" 6166 case "(($ac_try" in 6167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6168 *) ac_try_echo=$ac_try;; 6169 esac 6170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6171 (eval "$ac_compile") 2>conftest.er1 6172 ac_status=$? 6173 grep -v '^ *+' conftest.er1 >conftest.err 6174 rm -f conftest.er1 6175 cat conftest.err >&5 6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6177 (exit $ac_status); } && { 6178 test -z "$ac_cxx_werror_flag" || 6179 test ! -s conftest.err 6180 } && test -s conftest.$ac_objext; then 6181 ac_header_compiler=yes 6182 else 6183 echo "$as_me: failed program was:" >&5 6184 sed 's/^/| /' conftest.$ac_ext >&5 6185 6186 ac_header_compiler=no 6187 fi 6188 6189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6190 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6191 echo "${ECHO_T}$ac_header_compiler" >&6; } 6192 6193 # Is the header present? 6194 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6196 cat >conftest.$ac_ext <<_ACEOF 6197 /* confdefs.h. */ 6198 _ACEOF 6199 cat confdefs.h >>conftest.$ac_ext 6200 cat >>conftest.$ac_ext <<_ACEOF 6201 /* end confdefs.h. */ 6202 #include <$ac_header> 6203 _ACEOF 6204 if { (ac_try="$ac_cpp conftest.$ac_ext" 6205 case "(($ac_try" in 6206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6207 *) ac_try_echo=$ac_try;; 6208 esac 6209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6210 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6211 ac_status=$? 6212 grep -v '^ *+' conftest.er1 >conftest.err 6213 rm -f conftest.er1 6214 cat conftest.err >&5 6215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6216 (exit $ac_status); } >/dev/null && { 6217 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6218 test ! -s conftest.err 6219 }; then 6220 ac_header_preproc=yes 6221 else 6222 echo "$as_me: failed program was:" >&5 6223 sed 's/^/| /' conftest.$ac_ext >&5 6224 6225 ac_header_preproc=no 6226 fi 6227 6228 rm -f conftest.err conftest.$ac_ext 6229 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6230 echo "${ECHO_T}$ac_header_preproc" >&6; } 6231 6232 # So? What about this header? 6233 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6234 yes:no: ) 6235 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6236 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6238 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6239 ac_header_preproc=yes 6240 ;; 6241 no:yes:* ) 6242 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6243 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6244 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6245 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6246 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6247 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6248 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6249 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6252 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6253 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6254 ( cat <<\_ASBOX 6255 ## ----------------------------------- ## 6256 ## Report this to rappture@nanohub.org ## 6257 ## ----------------------------------- ## 6258 _ASBOX 6259 ) | sed "s/^/$as_me: WARNING: /" >&2 6260 ;; 6261 esac 6262 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6264 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6265 echo $ECHO_N "(cached) $ECHO_C" >&6 6266 else 6267 eval "$as_ac_Header=\$ac_header_preproc" 6268 fi 6269 ac_res=`eval echo '${'$as_ac_Header'}'` 6270 { echo "$as_me:$LINENO: result: $ac_res" >&5 6271 echo "${ECHO_T}$ac_res" >&6; } 6272 6273 fi 6274 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5003 do : 5004 ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default" 5005 if test "x$ac_cv_header_fstream" = x""yes; then : 6275 5006 cat >>confdefs.h <<_ACEOF 6276 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16277 _ACEOF 6278 6279 else 6280 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56281 echo "$as_me: WARNING: STL classes missing ?" >&2;}5007 #define HAVE_FSTREAM 1 5008 _ACEOF 5009 5010 else 5011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5012 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6282 5013 fi 6283 5014 6284 5015 done 6285 5016 6286 6287 5017 for ac_header in list 6288 do 6289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6290 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6291 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6293 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6294 echo $ECHO_N "(cached) $ECHO_C" >&6 6295 fi 6296 ac_res=`eval echo '${'$as_ac_Header'}'` 6297 { echo "$as_me:$LINENO: result: $ac_res" >&5 6298 echo "${ECHO_T}$ac_res" >&6; } 6299 else 6300 # Is the header compilable? 6301 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6302 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6303 cat >conftest.$ac_ext <<_ACEOF 6304 /* confdefs.h. */ 6305 _ACEOF 6306 cat confdefs.h >>conftest.$ac_ext 6307 cat >>conftest.$ac_ext <<_ACEOF 6308 /* end confdefs.h. */ 6309 $ac_includes_default 6310 #include <$ac_header> 6311 _ACEOF 6312 rm -f conftest.$ac_objext 6313 if { (ac_try="$ac_compile" 6314 case "(($ac_try" in 6315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6316 *) ac_try_echo=$ac_try;; 6317 esac 6318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6319 (eval "$ac_compile") 2>conftest.er1 6320 ac_status=$? 6321 grep -v '^ *+' conftest.er1 >conftest.err 6322 rm -f conftest.er1 6323 cat conftest.err >&5 6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6325 (exit $ac_status); } && { 6326 test -z "$ac_cxx_werror_flag" || 6327 test ! -s conftest.err 6328 } && test -s conftest.$ac_objext; then 6329 ac_header_compiler=yes 6330 else 6331 echo "$as_me: failed program was:" >&5 6332 sed 's/^/| /' conftest.$ac_ext >&5 6333 6334 ac_header_compiler=no 6335 fi 6336 6337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6338 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6339 echo "${ECHO_T}$ac_header_compiler" >&6; } 6340 6341 # Is the header present? 6342 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6343 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6344 cat >conftest.$ac_ext <<_ACEOF 6345 /* confdefs.h. */ 6346 _ACEOF 6347 cat confdefs.h >>conftest.$ac_ext 6348 cat >>conftest.$ac_ext <<_ACEOF 6349 /* end confdefs.h. */ 6350 #include <$ac_header> 6351 _ACEOF 6352 if { (ac_try="$ac_cpp conftest.$ac_ext" 6353 case "(($ac_try" in 6354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6355 *) ac_try_echo=$ac_try;; 6356 esac 6357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6358 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6359 ac_status=$? 6360 grep -v '^ *+' conftest.er1 >conftest.err 6361 rm -f conftest.er1 6362 cat conftest.err >&5 6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6364 (exit $ac_status); } >/dev/null && { 6365 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6366 test ! -s conftest.err 6367 }; then 6368 ac_header_preproc=yes 6369 else 6370 echo "$as_me: failed program was:" >&5 6371 sed 's/^/| /' conftest.$ac_ext >&5 6372 6373 ac_header_preproc=no 6374 fi 6375 6376 rm -f conftest.err conftest.$ac_ext 6377 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6378 echo "${ECHO_T}$ac_header_preproc" >&6; } 6379 6380 # So? What about this header? 6381 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6382 yes:no: ) 6383 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6384 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6386 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6387 ac_header_preproc=yes 6388 ;; 6389 no:yes:* ) 6390 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6391 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6392 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6393 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6394 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6395 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6396 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6397 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6400 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6401 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6402 ( cat <<\_ASBOX 6403 ## ----------------------------------- ## 6404 ## Report this to rappture@nanohub.org ## 6405 ## ----------------------------------- ## 6406 _ASBOX 6407 ) | sed "s/^/$as_me: WARNING: /" >&2 6408 ;; 6409 esac 6410 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6412 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6413 echo $ECHO_N "(cached) $ECHO_C" >&6 6414 else 6415 eval "$as_ac_Header=\$ac_header_preproc" 6416 fi 6417 ac_res=`eval echo '${'$as_ac_Header'}'` 6418 { echo "$as_me:$LINENO: result: $ac_res" >&5 6419 echo "${ECHO_T}$ac_res" >&6; } 6420 6421 fi 6422 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5018 do : 5019 ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default" 5020 if test "x$ac_cv_header_list" = x""yes; then : 6423 5021 cat >>confdefs.h <<_ACEOF 6424 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16425 _ACEOF 6426 6427 else 6428 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56429 echo "$as_me: WARNING: STL classes missing ?" >&2;}5022 #define HAVE_LIST 1 5023 _ACEOF 5024 5025 else 5026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5027 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6430 5028 fi 6431 5029 6432 5030 done 6433 5031 6434 6435 5032 for ac_header in iostream 6436 do 6437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6438 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6439 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6441 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6442 echo $ECHO_N "(cached) $ECHO_C" >&6 6443 fi 6444 ac_res=`eval echo '${'$as_ac_Header'}'` 6445 { echo "$as_me:$LINENO: result: $ac_res" >&5 6446 echo "${ECHO_T}$ac_res" >&6; } 6447 else 6448 # Is the header compilable? 6449 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6450 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6451 cat >conftest.$ac_ext <<_ACEOF 6452 /* confdefs.h. */ 6453 _ACEOF 6454 cat confdefs.h >>conftest.$ac_ext 6455 cat >>conftest.$ac_ext <<_ACEOF 6456 /* end confdefs.h. */ 6457 $ac_includes_default 6458 #include <$ac_header> 6459 _ACEOF 6460 rm -f conftest.$ac_objext 6461 if { (ac_try="$ac_compile" 6462 case "(($ac_try" in 6463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6464 *) ac_try_echo=$ac_try;; 6465 esac 6466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6467 (eval "$ac_compile") 2>conftest.er1 6468 ac_status=$? 6469 grep -v '^ *+' conftest.er1 >conftest.err 6470 rm -f conftest.er1 6471 cat conftest.err >&5 6472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6473 (exit $ac_status); } && { 6474 test -z "$ac_cxx_werror_flag" || 6475 test ! -s conftest.err 6476 } && test -s conftest.$ac_objext; then 6477 ac_header_compiler=yes 6478 else 6479 echo "$as_me: failed program was:" >&5 6480 sed 's/^/| /' conftest.$ac_ext >&5 6481 6482 ac_header_compiler=no 6483 fi 6484 6485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6486 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6487 echo "${ECHO_T}$ac_header_compiler" >&6; } 6488 6489 # Is the header present? 6490 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6491 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6492 cat >conftest.$ac_ext <<_ACEOF 6493 /* confdefs.h. */ 6494 _ACEOF 6495 cat confdefs.h >>conftest.$ac_ext 6496 cat >>conftest.$ac_ext <<_ACEOF 6497 /* end confdefs.h. */ 6498 #include <$ac_header> 6499 _ACEOF 6500 if { (ac_try="$ac_cpp conftest.$ac_ext" 6501 case "(($ac_try" in 6502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6503 *) ac_try_echo=$ac_try;; 6504 esac 6505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6506 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6507 ac_status=$? 6508 grep -v '^ *+' conftest.er1 >conftest.err 6509 rm -f conftest.er1 6510 cat conftest.err >&5 6511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6512 (exit $ac_status); } >/dev/null && { 6513 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6514 test ! -s conftest.err 6515 }; then 6516 ac_header_preproc=yes 6517 else 6518 echo "$as_me: failed program was:" >&5 6519 sed 's/^/| /' conftest.$ac_ext >&5 6520 6521 ac_header_preproc=no 6522 fi 6523 6524 rm -f conftest.err conftest.$ac_ext 6525 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6526 echo "${ECHO_T}$ac_header_preproc" >&6; } 6527 6528 # So? What about this header? 6529 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6530 yes:no: ) 6531 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6532 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6534 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6535 ac_header_preproc=yes 6536 ;; 6537 no:yes:* ) 6538 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6539 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6540 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6541 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6542 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6543 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6544 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6545 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6548 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6549 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6550 ( cat <<\_ASBOX 6551 ## ----------------------------------- ## 6552 ## Report this to rappture@nanohub.org ## 6553 ## ----------------------------------- ## 6554 _ASBOX 6555 ) | sed "s/^/$as_me: WARNING: /" >&2 6556 ;; 6557 esac 6558 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6560 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6561 echo $ECHO_N "(cached) $ECHO_C" >&6 6562 else 6563 eval "$as_ac_Header=\$ac_header_preproc" 6564 fi 6565 ac_res=`eval echo '${'$as_ac_Header'}'` 6566 { echo "$as_me:$LINENO: result: $ac_res" >&5 6567 echo "${ECHO_T}$ac_res" >&6; } 6568 6569 fi 6570 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5033 do : 5034 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default" 5035 if test "x$ac_cv_header_iostream" = x""yes; then : 6571 5036 cat >>confdefs.h <<_ACEOF 6572 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16573 _ACEOF 6574 6575 else 6576 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56577 echo "$as_me: WARNING: STL classes missing ?" >&2;}5037 #define HAVE_IOSTREAM 1 5038 _ACEOF 5039 5040 else 5041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5042 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6578 5043 fi 6579 5044 6580 5045 done 6581 5046 6582 6583 5047 for ac_header in iterator 6584 do 6585 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6586 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6587 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6589 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6590 echo $ECHO_N "(cached) $ECHO_C" >&6 6591 fi 6592 ac_res=`eval echo '${'$as_ac_Header'}'` 6593 { echo "$as_me:$LINENO: result: $ac_res" >&5 6594 echo "${ECHO_T}$ac_res" >&6; } 6595 else 6596 # Is the header compilable? 6597 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6598 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6599 cat >conftest.$ac_ext <<_ACEOF 6600 /* confdefs.h. */ 6601 _ACEOF 6602 cat confdefs.h >>conftest.$ac_ext 6603 cat >>conftest.$ac_ext <<_ACEOF 6604 /* end confdefs.h. */ 6605 $ac_includes_default 6606 #include <$ac_header> 6607 _ACEOF 6608 rm -f conftest.$ac_objext 6609 if { (ac_try="$ac_compile" 6610 case "(($ac_try" in 6611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6612 *) ac_try_echo=$ac_try;; 6613 esac 6614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6615 (eval "$ac_compile") 2>conftest.er1 6616 ac_status=$? 6617 grep -v '^ *+' conftest.er1 >conftest.err 6618 rm -f conftest.er1 6619 cat conftest.err >&5 6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6621 (exit $ac_status); } && { 6622 test -z "$ac_cxx_werror_flag" || 6623 test ! -s conftest.err 6624 } && test -s conftest.$ac_objext; then 6625 ac_header_compiler=yes 6626 else 6627 echo "$as_me: failed program was:" >&5 6628 sed 's/^/| /' conftest.$ac_ext >&5 6629 6630 ac_header_compiler=no 6631 fi 6632 6633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6634 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6635 echo "${ECHO_T}$ac_header_compiler" >&6; } 6636 6637 # Is the header present? 6638 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6639 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6640 cat >conftest.$ac_ext <<_ACEOF 6641 /* confdefs.h. */ 6642 _ACEOF 6643 cat confdefs.h >>conftest.$ac_ext 6644 cat >>conftest.$ac_ext <<_ACEOF 6645 /* end confdefs.h. */ 6646 #include <$ac_header> 6647 _ACEOF 6648 if { (ac_try="$ac_cpp conftest.$ac_ext" 6649 case "(($ac_try" in 6650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6651 *) ac_try_echo=$ac_try;; 6652 esac 6653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6655 ac_status=$? 6656 grep -v '^ *+' conftest.er1 >conftest.err 6657 rm -f conftest.er1 6658 cat conftest.err >&5 6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6660 (exit $ac_status); } >/dev/null && { 6661 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6662 test ! -s conftest.err 6663 }; then 6664 ac_header_preproc=yes 6665 else 6666 echo "$as_me: failed program was:" >&5 6667 sed 's/^/| /' conftest.$ac_ext >&5 6668 6669 ac_header_preproc=no 6670 fi 6671 6672 rm -f conftest.err conftest.$ac_ext 6673 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6674 echo "${ECHO_T}$ac_header_preproc" >&6; } 6675 6676 # So? What about this header? 6677 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6678 yes:no: ) 6679 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6680 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6682 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6683 ac_header_preproc=yes 6684 ;; 6685 no:yes:* ) 6686 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6687 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6688 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6689 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6690 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6691 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6692 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6693 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6695 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6696 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6697 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6698 ( cat <<\_ASBOX 6699 ## ----------------------------------- ## 6700 ## Report this to rappture@nanohub.org ## 6701 ## ----------------------------------- ## 6702 _ASBOX 6703 ) | sed "s/^/$as_me: WARNING: /" >&2 6704 ;; 6705 esac 6706 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6708 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6709 echo $ECHO_N "(cached) $ECHO_C" >&6 6710 else 6711 eval "$as_ac_Header=\$ac_header_preproc" 6712 fi 6713 ac_res=`eval echo '${'$as_ac_Header'}'` 6714 { echo "$as_me:$LINENO: result: $ac_res" >&5 6715 echo "${ECHO_T}$ac_res" >&6; } 6716 6717 fi 6718 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5048 do : 5049 ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default" 5050 if test "x$ac_cv_header_iterator" = x""yes; then : 6719 5051 cat >>confdefs.h <<_ACEOF 6720 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16721 _ACEOF 6722 6723 else 6724 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56725 echo "$as_me: WARNING: STL classes missing ?" >&2;}5052 #define HAVE_ITERATOR 1 5053 _ACEOF 5054 5055 else 5056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5057 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6726 5058 fi 6727 5059 6728 5060 done 6729 5061 6730 6731 5062 for ac_header in sstream 6732 do 6733 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6735 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6737 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6738 echo $ECHO_N "(cached) $ECHO_C" >&6 6739 fi 6740 ac_res=`eval echo '${'$as_ac_Header'}'` 6741 { echo "$as_me:$LINENO: result: $ac_res" >&5 6742 echo "${ECHO_T}$ac_res" >&6; } 6743 else 6744 # Is the header compilable? 6745 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6746 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6747 cat >conftest.$ac_ext <<_ACEOF 6748 /* confdefs.h. */ 6749 _ACEOF 6750 cat confdefs.h >>conftest.$ac_ext 6751 cat >>conftest.$ac_ext <<_ACEOF 6752 /* end confdefs.h. */ 6753 $ac_includes_default 6754 #include <$ac_header> 6755 _ACEOF 6756 rm -f conftest.$ac_objext 6757 if { (ac_try="$ac_compile" 6758 case "(($ac_try" in 6759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6760 *) ac_try_echo=$ac_try;; 6761 esac 6762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6763 (eval "$ac_compile") 2>conftest.er1 6764 ac_status=$? 6765 grep -v '^ *+' conftest.er1 >conftest.err 6766 rm -f conftest.er1 6767 cat conftest.err >&5 6768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6769 (exit $ac_status); } && { 6770 test -z "$ac_cxx_werror_flag" || 6771 test ! -s conftest.err 6772 } && test -s conftest.$ac_objext; then 6773 ac_header_compiler=yes 6774 else 6775 echo "$as_me: failed program was:" >&5 6776 sed 's/^/| /' conftest.$ac_ext >&5 6777 6778 ac_header_compiler=no 6779 fi 6780 6781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6782 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6783 echo "${ECHO_T}$ac_header_compiler" >&6; } 6784 6785 # Is the header present? 6786 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6788 cat >conftest.$ac_ext <<_ACEOF 6789 /* confdefs.h. */ 6790 _ACEOF 6791 cat confdefs.h >>conftest.$ac_ext 6792 cat >>conftest.$ac_ext <<_ACEOF 6793 /* end confdefs.h. */ 6794 #include <$ac_header> 6795 _ACEOF 6796 if { (ac_try="$ac_cpp conftest.$ac_ext" 6797 case "(($ac_try" in 6798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6799 *) ac_try_echo=$ac_try;; 6800 esac 6801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6802 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6803 ac_status=$? 6804 grep -v '^ *+' conftest.er1 >conftest.err 6805 rm -f conftest.er1 6806 cat conftest.err >&5 6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6808 (exit $ac_status); } >/dev/null && { 6809 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6810 test ! -s conftest.err 6811 }; then 6812 ac_header_preproc=yes 6813 else 6814 echo "$as_me: failed program was:" >&5 6815 sed 's/^/| /' conftest.$ac_ext >&5 6816 6817 ac_header_preproc=no 6818 fi 6819 6820 rm -f conftest.err conftest.$ac_ext 6821 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6822 echo "${ECHO_T}$ac_header_preproc" >&6; } 6823 6824 # So? What about this header? 6825 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6826 yes:no: ) 6827 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6828 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6830 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6831 ac_header_preproc=yes 6832 ;; 6833 no:yes:* ) 6834 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6835 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6836 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6837 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6838 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6839 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6840 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6841 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6844 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6845 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6846 ( cat <<\_ASBOX 6847 ## ----------------------------------- ## 6848 ## Report this to rappture@nanohub.org ## 6849 ## ----------------------------------- ## 6850 _ASBOX 6851 ) | sed "s/^/$as_me: WARNING: /" >&2 6852 ;; 6853 esac 6854 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6856 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6857 echo $ECHO_N "(cached) $ECHO_C" >&6 6858 else 6859 eval "$as_ac_Header=\$ac_header_preproc" 6860 fi 6861 ac_res=`eval echo '${'$as_ac_Header'}'` 6862 { echo "$as_me:$LINENO: result: $ac_res" >&5 6863 echo "${ECHO_T}$ac_res" >&6; } 6864 6865 fi 6866 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5063 do : 5064 ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default" 5065 if test "x$ac_cv_header_sstream" = x""yes; then : 6867 5066 cat >>confdefs.h <<_ACEOF 6868 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16869 _ACEOF 6870 6871 else 6872 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56873 echo "$as_me: WARNING: STL classes missing ?" >&2;}5067 #define HAVE_SSTREAM 1 5068 _ACEOF 5069 5070 else 5071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5072 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6874 5073 fi 6875 5074 6876 5075 done 6877 5076 6878 6879 5077 for ac_header in stack 6880 do 6881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6882 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6883 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6885 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6886 echo $ECHO_N "(cached) $ECHO_C" >&6 6887 fi 6888 ac_res=`eval echo '${'$as_ac_Header'}'` 6889 { echo "$as_me:$LINENO: result: $ac_res" >&5 6890 echo "${ECHO_T}$ac_res" >&6; } 6891 else 6892 # Is the header compilable? 6893 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6895 cat >conftest.$ac_ext <<_ACEOF 6896 /* confdefs.h. */ 6897 _ACEOF 6898 cat confdefs.h >>conftest.$ac_ext 6899 cat >>conftest.$ac_ext <<_ACEOF 6900 /* end confdefs.h. */ 6901 $ac_includes_default 6902 #include <$ac_header> 6903 _ACEOF 6904 rm -f conftest.$ac_objext 6905 if { (ac_try="$ac_compile" 6906 case "(($ac_try" in 6907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6908 *) ac_try_echo=$ac_try;; 6909 esac 6910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6911 (eval "$ac_compile") 2>conftest.er1 6912 ac_status=$? 6913 grep -v '^ *+' conftest.er1 >conftest.err 6914 rm -f conftest.er1 6915 cat conftest.err >&5 6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6917 (exit $ac_status); } && { 6918 test -z "$ac_cxx_werror_flag" || 6919 test ! -s conftest.err 6920 } && test -s conftest.$ac_objext; then 6921 ac_header_compiler=yes 6922 else 6923 echo "$as_me: failed program was:" >&5 6924 sed 's/^/| /' conftest.$ac_ext >&5 6925 6926 ac_header_compiler=no 6927 fi 6928 6929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6930 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6931 echo "${ECHO_T}$ac_header_compiler" >&6; } 6932 6933 # Is the header present? 6934 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6935 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6936 cat >conftest.$ac_ext <<_ACEOF 6937 /* confdefs.h. */ 6938 _ACEOF 6939 cat confdefs.h >>conftest.$ac_ext 6940 cat >>conftest.$ac_ext <<_ACEOF 6941 /* end confdefs.h. */ 6942 #include <$ac_header> 6943 _ACEOF 6944 if { (ac_try="$ac_cpp conftest.$ac_ext" 6945 case "(($ac_try" in 6946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6947 *) ac_try_echo=$ac_try;; 6948 esac 6949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6950 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6951 ac_status=$? 6952 grep -v '^ *+' conftest.er1 >conftest.err 6953 rm -f conftest.er1 6954 cat conftest.err >&5 6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6956 (exit $ac_status); } >/dev/null && { 6957 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6958 test ! -s conftest.err 6959 }; then 6960 ac_header_preproc=yes 6961 else 6962 echo "$as_me: failed program was:" >&5 6963 sed 's/^/| /' conftest.$ac_ext >&5 6964 6965 ac_header_preproc=no 6966 fi 6967 6968 rm -f conftest.err conftest.$ac_ext 6969 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6970 echo "${ECHO_T}$ac_header_preproc" >&6; } 6971 6972 # So? What about this header? 6973 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6974 yes:no: ) 6975 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6976 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6978 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6979 ac_header_preproc=yes 6980 ;; 6981 no:yes:* ) 6982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6986 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6987 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6988 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6989 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6991 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6992 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6993 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6994 ( cat <<\_ASBOX 6995 ## ----------------------------------- ## 6996 ## Report this to rappture@nanohub.org ## 6997 ## ----------------------------------- ## 6998 _ASBOX 6999 ) | sed "s/^/$as_me: WARNING: /" >&2 7000 ;; 7001 esac 7002 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7004 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7005 echo $ECHO_N "(cached) $ECHO_C" >&6 7006 else 7007 eval "$as_ac_Header=\$ac_header_preproc" 7008 fi 7009 ac_res=`eval echo '${'$as_ac_Header'}'` 7010 { echo "$as_me:$LINENO: result: $ac_res" >&5 7011 echo "${ECHO_T}$ac_res" >&6; } 7012 7013 fi 7014 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5078 do : 5079 ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default" 5080 if test "x$ac_cv_header_stack" = x""yes; then : 7015 5081 cat >>confdefs.h <<_ACEOF 7016 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17017 _ACEOF 7018 7019 else 7020 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&57021 echo "$as_me: WARNING: STL classes missing ?" >&2;}5082 #define HAVE_STACK 1 5083 _ACEOF 5084 5085 else 5086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5087 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7022 5088 fi 7023 5089 7024 5090 done 7025 5091 7026 7027 5092 for ac_header in string 7028 do 7029 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7031 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7033 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7034 echo $ECHO_N "(cached) $ECHO_C" >&6 7035 fi 7036 ac_res=`eval echo '${'$as_ac_Header'}'` 7037 { echo "$as_me:$LINENO: result: $ac_res" >&5 7038 echo "${ECHO_T}$ac_res" >&6; } 7039 else 7040 # Is the header compilable? 7041 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7042 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7043 cat >conftest.$ac_ext <<_ACEOF 7044 /* confdefs.h. */ 7045 _ACEOF 7046 cat confdefs.h >>conftest.$ac_ext 7047 cat >>conftest.$ac_ext <<_ACEOF 7048 /* end confdefs.h. */ 7049 $ac_includes_default 7050 #include <$ac_header> 7051 _ACEOF 7052 rm -f conftest.$ac_objext 7053 if { (ac_try="$ac_compile" 7054 case "(($ac_try" in 7055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7056 *) ac_try_echo=$ac_try;; 7057 esac 7058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7059 (eval "$ac_compile") 2>conftest.er1 7060 ac_status=$? 7061 grep -v '^ *+' conftest.er1 >conftest.err 7062 rm -f conftest.er1 7063 cat conftest.err >&5 7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7065 (exit $ac_status); } && { 7066 test -z "$ac_cxx_werror_flag" || 7067 test ! -s conftest.err 7068 } && test -s conftest.$ac_objext; then 7069 ac_header_compiler=yes 7070 else 7071 echo "$as_me: failed program was:" >&5 7072 sed 's/^/| /' conftest.$ac_ext >&5 7073 7074 ac_header_compiler=no 7075 fi 7076 7077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7078 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7079 echo "${ECHO_T}$ac_header_compiler" >&6; } 7080 7081 # Is the header present? 7082 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7083 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7084 cat >conftest.$ac_ext <<_ACEOF 7085 /* confdefs.h. */ 7086 _ACEOF 7087 cat confdefs.h >>conftest.$ac_ext 7088 cat >>conftest.$ac_ext <<_ACEOF 7089 /* end confdefs.h. */ 7090 #include <$ac_header> 7091 _ACEOF 7092 if { (ac_try="$ac_cpp conftest.$ac_ext" 7093 case "(($ac_try" in 7094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7095 *) ac_try_echo=$ac_try;; 7096 esac 7097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7098 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7099 ac_status=$? 7100 grep -v '^ *+' conftest.er1 >conftest.err 7101 rm -f conftest.er1 7102 cat conftest.err >&5 7103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7104 (exit $ac_status); } >/dev/null && { 7105 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7106 test ! -s conftest.err 7107 }; then 7108 ac_header_preproc=yes 7109 else 7110 echo "$as_me: failed program was:" >&5 7111 sed 's/^/| /' conftest.$ac_ext >&5 7112 7113 ac_header_preproc=no 7114 fi 7115 7116 rm -f conftest.err conftest.$ac_ext 7117 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7118 echo "${ECHO_T}$ac_header_preproc" >&6; } 7119 7120 # So? What about this header? 7121 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7122 yes:no: ) 7123 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7124 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7125 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7126 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7127 ac_header_preproc=yes 7128 ;; 7129 no:yes:* ) 7130 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7131 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7132 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7133 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7134 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7135 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7136 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7137 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7140 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7141 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7142 ( cat <<\_ASBOX 7143 ## ----------------------------------- ## 7144 ## Report this to rappture@nanohub.org ## 7145 ## ----------------------------------- ## 7146 _ASBOX 7147 ) | sed "s/^/$as_me: WARNING: /" >&2 7148 ;; 7149 esac 7150 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7152 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7153 echo $ECHO_N "(cached) $ECHO_C" >&6 7154 else 7155 eval "$as_ac_Header=\$ac_header_preproc" 7156 fi 7157 ac_res=`eval echo '${'$as_ac_Header'}'` 7158 { echo "$as_me:$LINENO: result: $ac_res" >&5 7159 echo "${ECHO_T}$ac_res" >&6; } 7160 7161 fi 7162 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5093 do : 5094 ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default" 5095 if test "x$ac_cv_header_string" = x""yes; then : 7163 5096 cat >>confdefs.h <<_ACEOF 7164 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17165 _ACEOF 7166 7167 else 7168 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&57169 echo "$as_me: WARNING: STL classes missing ?" >&2;}5097 #define HAVE_STRING 1 5098 _ACEOF 5099 5100 else 5101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5102 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7170 5103 fi 7171 5104 7172 5105 done 7173 5106 7174 7175 5107 for ac_header in vector 7176 do 7177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7179 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7181 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7182 echo $ECHO_N "(cached) $ECHO_C" >&6 7183 fi 7184 ac_res=`eval echo '${'$as_ac_Header'}'` 7185 { echo "$as_me:$LINENO: result: $ac_res" >&5 7186 echo "${ECHO_T}$ac_res" >&6; } 7187 else 7188 # Is the header compilable? 7189 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7190 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7191 cat >conftest.$ac_ext <<_ACEOF 7192 /* confdefs.h. */ 7193 _ACEOF 7194 cat confdefs.h >>conftest.$ac_ext 7195 cat >>conftest.$ac_ext <<_ACEOF 7196 /* end confdefs.h. */ 7197 $ac_includes_default 7198 #include <$ac_header> 7199 _ACEOF 7200 rm -f conftest.$ac_objext 7201 if { (ac_try="$ac_compile" 7202 case "(($ac_try" in 7203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7204 *) ac_try_echo=$ac_try;; 7205 esac 7206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7207 (eval "$ac_compile") 2>conftest.er1 7208 ac_status=$? 7209 grep -v '^ *+' conftest.er1 >conftest.err 7210 rm -f conftest.er1 7211 cat conftest.err >&5 7212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7213 (exit $ac_status); } && { 7214 test -z "$ac_cxx_werror_flag" || 7215 test ! -s conftest.err 7216 } && test -s conftest.$ac_objext; then 7217 ac_header_compiler=yes 7218 else 7219 echo "$as_me: failed program was:" >&5 7220 sed 's/^/| /' conftest.$ac_ext >&5 7221 7222 ac_header_compiler=no 7223 fi 7224 7225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7226 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7227 echo "${ECHO_T}$ac_header_compiler" >&6; } 7228 7229 # Is the header present? 7230 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7231 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7232 cat >conftest.$ac_ext <<_ACEOF 7233 /* confdefs.h. */ 7234 _ACEOF 7235 cat confdefs.h >>conftest.$ac_ext 7236 cat >>conftest.$ac_ext <<_ACEOF 7237 /* end confdefs.h. */ 7238 #include <$ac_header> 7239 _ACEOF 7240 if { (ac_try="$ac_cpp conftest.$ac_ext" 7241 case "(($ac_try" in 7242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7243 *) ac_try_echo=$ac_try;; 7244 esac 7245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7246 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7247 ac_status=$? 7248 grep -v '^ *+' conftest.er1 >conftest.err 7249 rm -f conftest.er1 7250 cat conftest.err >&5 7251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7252 (exit $ac_status); } >/dev/null && { 7253 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7254 test ! -s conftest.err 7255 }; then 7256 ac_header_preproc=yes 7257 else 7258 echo "$as_me: failed program was:" >&5 7259 sed 's/^/| /' conftest.$ac_ext >&5 7260 7261 ac_header_preproc=no 7262 fi 7263 7264 rm -f conftest.err conftest.$ac_ext 7265 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7266 echo "${ECHO_T}$ac_header_preproc" >&6; } 7267 7268 # So? What about this header? 7269 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7270 yes:no: ) 7271 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7272 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7274 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7275 ac_header_preproc=yes 7276 ;; 7277 no:yes:* ) 7278 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7279 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7280 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7281 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7282 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7283 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7284 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7285 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7287 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7288 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7289 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7290 ( cat <<\_ASBOX 7291 ## ----------------------------------- ## 7292 ## Report this to rappture@nanohub.org ## 7293 ## ----------------------------------- ## 7294 _ASBOX 7295 ) | sed "s/^/$as_me: WARNING: /" >&2 7296 ;; 7297 esac 7298 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7300 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7301 echo $ECHO_N "(cached) $ECHO_C" >&6 7302 else 7303 eval "$as_ac_Header=\$ac_header_preproc" 7304 fi 7305 ac_res=`eval echo '${'$as_ac_Header'}'` 7306 { echo "$as_me:$LINENO: result: $ac_res" >&5 7307 echo "${ECHO_T}$ac_res" >&6; } 7308 7309 fi 7310 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5108 do : 5109 ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default" 5110 if test "x$ac_cv_header_vector" = x""yes; then : 7311 5111 cat >>confdefs.h <<_ACEOF 7312 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17313 _ACEOF 7314 7315 else 7316 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&57317 echo "$as_me: WARNING: STL classes missing ?" >&2;}5112 #define HAVE_VECTOR 1 5113 _ACEOF 5114 5115 else 5116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5117 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7318 5118 fi 7319 5119 … … 7321 5121 7322 5122 7323 7324 5123 for ac_header in assert.h 7325 do 7326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7327 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7328 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7331 echo $ECHO_N "(cached) $ECHO_C" >&6 7332 fi 7333 ac_res=`eval echo '${'$as_ac_Header'}'` 7334 { echo "$as_me:$LINENO: result: $ac_res" >&5 7335 echo "${ECHO_T}$ac_res" >&6; } 7336 else 7337 # Is the header compilable? 7338 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7340 cat >conftest.$ac_ext <<_ACEOF 7341 /* confdefs.h. */ 7342 _ACEOF 7343 cat confdefs.h >>conftest.$ac_ext 7344 cat >>conftest.$ac_ext <<_ACEOF 7345 /* end confdefs.h. */ 7346 $ac_includes_default 7347 #include <$ac_header> 7348 _ACEOF 7349 rm -f conftest.$ac_objext 7350 if { (ac_try="$ac_compile" 7351 case "(($ac_try" in 7352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7353 *) ac_try_echo=$ac_try;; 7354 esac 7355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7356 (eval "$ac_compile") 2>conftest.er1 7357 ac_status=$? 7358 grep -v '^ *+' conftest.er1 >conftest.err 7359 rm -f conftest.er1 7360 cat conftest.err >&5 7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7362 (exit $ac_status); } && { 7363 test -z "$ac_cxx_werror_flag" || 7364 test ! -s conftest.err 7365 } && test -s conftest.$ac_objext; then 7366 ac_header_compiler=yes 7367 else 7368 echo "$as_me: failed program was:" >&5 7369 sed 's/^/| /' conftest.$ac_ext >&5 7370 7371 ac_header_compiler=no 7372 fi 7373 7374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7375 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7376 echo "${ECHO_T}$ac_header_compiler" >&6; } 7377 7378 # Is the header present? 7379 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7381 cat >conftest.$ac_ext <<_ACEOF 7382 /* confdefs.h. */ 7383 _ACEOF 7384 cat confdefs.h >>conftest.$ac_ext 7385 cat >>conftest.$ac_ext <<_ACEOF 7386 /* end confdefs.h. */ 7387 #include <$ac_header> 7388 _ACEOF 7389 if { (ac_try="$ac_cpp conftest.$ac_ext" 7390 case "(($ac_try" in 7391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7392 *) ac_try_echo=$ac_try;; 7393 esac 7394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7395 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7396 ac_status=$? 7397 grep -v '^ *+' conftest.er1 >conftest.err 7398 rm -f conftest.er1 7399 cat conftest.err >&5 7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7401 (exit $ac_status); } >/dev/null && { 7402 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7403 test ! -s conftest.err 7404 }; then 7405 ac_header_preproc=yes 7406 else 7407 echo "$as_me: failed program was:" >&5 7408 sed 's/^/| /' conftest.$ac_ext >&5 7409 7410 ac_header_preproc=no 7411 fi 7412 7413 rm -f conftest.err conftest.$ac_ext 7414 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7415 echo "${ECHO_T}$ac_header_preproc" >&6; } 7416 7417 # So? What about this header? 7418 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7419 yes:no: ) 7420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7423 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7424 ac_header_preproc=yes 7425 ;; 7426 no:yes:* ) 7427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7431 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7432 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7433 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7434 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7436 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7437 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7438 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7439 ( cat <<\_ASBOX 7440 ## ----------------------------------- ## 7441 ## Report this to rappture@nanohub.org ## 7442 ## ----------------------------------- ## 7443 _ASBOX 7444 ) | sed "s/^/$as_me: WARNING: /" >&2 7445 ;; 7446 esac 7447 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7449 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7450 echo $ECHO_N "(cached) $ECHO_C" >&6 7451 else 7452 eval "$as_ac_Header=\$ac_header_preproc" 7453 fi 7454 ac_res=`eval echo '${'$as_ac_Header'}'` 7455 { echo "$as_me:$LINENO: result: $ac_res" >&5 7456 echo "${ECHO_T}$ac_res" >&6; } 7457 7458 fi 7459 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5124 do : 5125 ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 5126 if test "x$ac_cv_header_assert_h" = x""yes; then : 7460 5127 cat >>confdefs.h <<_ACEOF 7461 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17462 _ACEOF 7463 7464 else 7465 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&57466 echo "$as_me: WARNING: C headers missing ?" >&2;}5128 #define HAVE_ASSERT_H 1 5129 _ACEOF 5130 5131 else 5132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5133 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 7467 5134 fi 7468 5135 7469 5136 done 7470 5137 7471 7472 5138 for ac_header in ctype.h 7473 do 7474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7475 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7476 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7478 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7479 echo $ECHO_N "(cached) $ECHO_C" >&6 7480 fi 7481 ac_res=`eval echo '${'$as_ac_Header'}'` 7482 { echo "$as_me:$LINENO: result: $ac_res" >&5 7483 echo "${ECHO_T}$ac_res" >&6; } 7484 else 7485 # Is the header compilable? 7486 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7488 cat >conftest.$ac_ext <<_ACEOF 7489 /* confdefs.h. */ 7490 _ACEOF 7491 cat confdefs.h >>conftest.$ac_ext 7492 cat >>conftest.$ac_ext <<_ACEOF 7493 /* end confdefs.h. */ 7494 $ac_includes_default 7495 #include <$ac_header> 7496 _ACEOF 7497 rm -f conftest.$ac_objext 7498 if { (ac_try="$ac_compile" 7499 case "(($ac_try" in 7500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7501 *) ac_try_echo=$ac_try;; 7502 esac 7503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7504 (eval "$ac_compile") 2>conftest.er1 7505 ac_status=$? 7506 grep -v '^ *+' conftest.er1 >conftest.err 7507 rm -f conftest.er1 7508 cat conftest.err >&5 7509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7510 (exit $ac_status); } && { 7511 test -z "$ac_cxx_werror_flag" || 7512 test ! -s conftest.err 7513 } && test -s conftest.$ac_objext; then 7514 ac_header_compiler=yes 7515 else 7516 echo "$as_me: failed program was:" >&5 7517 sed 's/^/| /' conftest.$ac_ext >&5 7518 7519 ac_header_compiler=no 7520 fi 7521 7522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7523 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7524 echo "${ECHO_T}$ac_header_compiler" >&6; } 7525 7526 # Is the header present? 7527 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7528 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7529 cat >conftest.$ac_ext <<_ACEOF 7530 /* confdefs.h. */ 7531 _ACEOF 7532 cat confdefs.h >>conftest.$ac_ext 7533 cat >>conftest.$ac_ext <<_ACEOF 7534 /* end confdefs.h. */ 7535 #include <$ac_header> 7536 _ACEOF 7537 if { (ac_try="$ac_cpp conftest.$ac_ext" 7538 case "(($ac_try" in 7539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7540 *) ac_try_echo=$ac_try;; 7541 esac 7542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7544 ac_status=$? 7545 grep -v '^ *+' conftest.er1 >conftest.err 7546 rm -f conftest.er1 7547 cat conftest.err >&5 7548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7549 (exit $ac_status); } >/dev/null && { 7550 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7551 test ! -s conftest.err 7552 }; then 7553 ac_header_preproc=yes 7554 else 7555 echo "$as_me: failed program was:" >&5 7556 sed 's/^/| /' conftest.$ac_ext >&5 7557 7558 ac_header_preproc=no 7559 fi 7560 7561 rm -f conftest.err conftest.$ac_ext 7562 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7563 echo "${ECHO_T}$ac_header_preproc" >&6; } 7564 7565 # So? What about this header? 7566 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7567 yes:no: ) 7568 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7572 ac_header_preproc=yes 7573 ;; 7574 no:yes:* ) 7575 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7577 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7579 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7581 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7582 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7585 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7587 ( cat <<\_ASBOX 7588 ## ----------------------------------- ## 7589 ## Report this to rappture@nanohub.org ## 7590 ## ----------------------------------- ## 7591 _ASBOX 7592 ) | sed "s/^/$as_me: WARNING: /" >&2 7593 ;; 7594 esac 7595 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7597 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7598 echo $ECHO_N "(cached) $ECHO_C" >&6 7599 else 7600 eval "$as_ac_Header=\$ac_header_preproc" 7601 fi 7602 ac_res=`eval echo '${'$as_ac_Header'}'` 7603 { echo "$as_me:$LINENO: result: $ac_res" >&5 7604 echo "${ECHO_T}$ac_res" >&6; } 7605 7606 fi 7607 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5139 do : 5140 ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 5141 if test "x$ac_cv_header_ctype_h" = x""yes; then : 7608 5142 cat >>confdefs.h <<_ACEOF 7609 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17610 _ACEOF 7611 7612 else 7613 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&57614 echo "$as_me: WARNING: C headers missing ?" >&2;}5143 #define HAVE_CTYPE_H 1 5144 _ACEOF 5145 5146 else 5147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5148 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 7615 5149 fi 7616 5150 7617 5151 done 7618 5152 7619 7620 5153 for ac_header in errno.h 7621 do 7622 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7624 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7627 echo $ECHO_N "(cached) $ECHO_C" >&6 7628 fi 7629 ac_res=`eval echo '${'$as_ac_Header'}'` 7630 { echo "$as_me:$LINENO: result: $ac_res" >&5 7631 echo "${ECHO_T}$ac_res" >&6; } 7632 else 7633 # Is the header compilable? 7634 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7635 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7636 cat >conftest.$ac_ext <<_ACEOF 7637 /* confdefs.h. */ 7638 _ACEOF 7639 cat confdefs.h >>conftest.$ac_ext 7640 cat >>conftest.$ac_ext <<_ACEOF 7641 /* end confdefs.h. */ 7642 $ac_includes_default 7643 #include <$ac_header> 7644 _ACEOF 7645 rm -f conftest.$ac_objext 7646 if { (ac_try="$ac_compile" 7647 case "(($ac_try" in 7648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7649 *) ac_try_echo=$ac_try;; 7650 esac 7651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7652 (eval "$ac_compile") 2>conftest.er1 7653 ac_status=$? 7654 grep -v '^ *+' conftest.er1 >conftest.err 7655 rm -f conftest.er1 7656 cat conftest.err >&5 7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7658 (exit $ac_status); } && { 7659 test -z "$ac_cxx_werror_flag" || 7660 test ! -s conftest.err 7661 } && test -s conftest.$ac_objext; then 7662 ac_header_compiler=yes 7663 else 7664 echo "$as_me: failed program was:" >&5 7665 sed 's/^/| /' conftest.$ac_ext >&5 7666 7667 ac_header_compiler=no 7668 fi 7669 7670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7671 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7672 echo "${ECHO_T}$ac_header_compiler" >&6; } 7673 7674 # Is the header present? 7675 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7677 cat >conftest.$ac_ext <<_ACEOF 7678 /* confdefs.h. */ 7679 _ACEOF 7680 cat confdefs.h >>conftest.$ac_ext 7681 cat >>conftest.$ac_ext <<_ACEOF 7682 /* end confdefs.h. */ 7683 #include <$ac_header> 7684 _ACEOF 7685 if { (ac_try="$ac_cpp conftest.$ac_ext" 7686 case "(($ac_try" in 7687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7688 *) ac_try_echo=$ac_try;; 7689 esac 7690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7691 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7692 ac_status=$? 7693 grep -v '^ *+' conftest.er1 >conftest.err 7694 rm -f conftest.er1 7695 cat conftest.err >&5 7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7697 (exit $ac_status); } >/dev/null && { 7698 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7699 test ! -s conftest.err 7700 }; then 7701 ac_header_preproc=yes 7702 else 7703 echo "$as_me: failed program was:" >&5 7704 sed 's/^/| /' conftest.$ac_ext >&5 7705 7706 ac_header_preproc=no 7707 fi 7708 7709 rm -f conftest.err conftest.$ac_ext 7710 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7711 echo "${ECHO_T}$ac_header_preproc" >&6; } 7712 7713 # So? What about this header? 7714 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7715 yes:no: ) 7716 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7717 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7719 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7720 ac_header_preproc=yes 7721 ;; 7722 no:yes:* ) 7723 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7724 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7725 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7726 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7727 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7728 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7729 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7730 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7732 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7733 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7734 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7735 ( cat <<\_ASBOX 7736 ## ----------------------------------- ## 7737 ## Report this to rappture@nanohub.org ## 7738 ## ----------------------------------- ## 7739 _ASBOX 7740 ) | sed "s/^/$as_me: WARNING: /" >&2 7741 ;; 7742 esac 7743 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7746 echo $ECHO_N "(cached) $ECHO_C" >&6 7747 else 7748 eval "$as_ac_Header=\$ac_header_preproc" 7749 fi 7750 ac_res=`eval echo '${'$as_ac_Header'}'` 7751 { echo "$as_me:$LINENO: result: $ac_res" >&5 7752 echo "${ECHO_T}$ac_res" >&6; } 7753 7754 fi 7755 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5154 do : 5155 ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 5156 if test "x$ac_cv_header_errno_h" = x""yes; then : 7756 5157 cat >>confdefs.h <<_ACEOF 7757 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17758 _ACEOF 7759 7760 else 7761 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&57762 echo "$as_me: WARNING: C headers missing ?" >&2;}5158 #define HAVE_ERRNO_H 1 5159 _ACEOF 5160 5161 else 5162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5163 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 7763 5164 fi 7764 5165 7765 5166 done 7766 5167 7767 7768 5168 for ac_header in limits.h 7769 do 7770 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7771 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7772 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7774 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7775 echo $ECHO_N "(cached) $ECHO_C" >&6 7776 fi 7777 ac_res=`eval echo '${'$as_ac_Header'}'` 7778 { echo "$as_me:$LINENO: result: $ac_res" >&5 7779 echo "${ECHO_T}$ac_res" >&6; } 7780 else 7781 # Is the header compilable? 7782 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7783 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7784 cat >conftest.$ac_ext <<_ACEOF 7785 /* confdefs.h. */ 7786 _ACEOF 7787 cat confdefs.h >>conftest.$ac_ext 7788 cat >>conftest.$ac_ext <<_ACEOF 7789 /* end confdefs.h. */ 7790 $ac_includes_default 7791 #include <$ac_header> 7792 _ACEOF 7793 rm -f conftest.$ac_objext 7794 if { (ac_try="$ac_compile" 7795 case "(($ac_try" in 7796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7797 *) ac_try_echo=$ac_try;; 7798 esac 7799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7800 (eval "$ac_compile") 2>conftest.er1 7801 ac_status=$? 7802 grep -v '^ *+' conftest.er1 >conftest.err 7803 rm -f conftest.er1 7804 cat conftest.err >&5 7805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7806 (exit $ac_status); } && { 7807 test -z "$ac_cxx_werror_flag" || 7808 test ! -s conftest.err 7809 } && test -s conftest.$ac_objext; then 7810 ac_header_compiler=yes 7811 else 7812 echo "$as_me: failed program was:" >&5 7813 sed 's/^/| /' conftest.$ac_ext >&5 7814 7815 ac_header_compiler=no 7816 fi 7817 7818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7819 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7820 echo "${ECHO_T}$ac_header_compiler" >&6; } 7821 7822 # Is the header present? 7823 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7824 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7825 cat >conftest.$ac_ext <<_ACEOF 7826 /* confdefs.h. */ 7827 _ACEOF 7828 cat confdefs.h >>conftest.$ac_ext 7829 cat >>conftest.$ac_ext <<_ACEOF 7830 /* end confdefs.h. */ 7831 #include <$ac_header> 7832 _ACEOF 7833 if { (ac_try="$ac_cpp conftest.$ac_ext" 7834 case "(($ac_try" in 7835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7836 *) ac_try_echo=$ac_try;; 7837 esac 7838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7839 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7840 ac_status=$? 7841 grep -v '^ *+' conftest.er1 >conftest.err 7842 rm -f conftest.er1 7843 cat conftest.err >&5 7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7845 (exit $ac_status); } >/dev/null && { 7846 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7847 test ! -s conftest.err 7848 }; then 7849 ac_header_preproc=yes 7850 else 7851 echo "$as_me: failed program was:" >&5 7852 sed 's/^/| /' conftest.$ac_ext >&5 7853 7854 ac_header_preproc=no 7855 fi 7856 7857 rm -f conftest.err conftest.$ac_ext 7858 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7859 echo "${ECHO_T}$ac_header_preproc" >&6; } 7860 7861 # So? What about this header? 7862 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7863 yes:no: ) 7864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7867 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7868 ac_header_preproc=yes 7869 ;; 7870 no:yes:* ) 7871 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7873 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7874 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7875 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7876 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7877 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7878 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7881 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7882 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7883 ( cat <<\_ASBOX 7884 ## ----------------------------------- ## 7885 ## Report this to rappture@nanohub.org ## 7886 ## ----------------------------------- ## 7887 _ASBOX 7888 ) | sed "s/^/$as_me: WARNING: /" >&2 7889 ;; 7890 esac 7891 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7893 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7894 echo $ECHO_N "(cached) $ECHO_C" >&6 7895 else 7896 eval "$as_ac_Header=\$ac_header_preproc" 7897 fi 7898 ac_res=`eval echo '${'$as_ac_Header'}'` 7899 { echo "$as_me:$LINENO: result: $ac_res" >&5 7900 echo "${ECHO_T}$ac_res" >&6; } 7901 7902 fi 7903 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5169 do : 5170 ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 5171 if test "x$ac_cv_header_limits_h" = x""yes; then : 7904 5172 cat >>confdefs.h <<_ACEOF 7905 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17906 _ACEOF 7907 7908 else 7909 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&57910 echo "$as_me: WARNING: C headers missing ?" >&2;}5173 #define HAVE_LIMITS_H 1 5174 _ACEOF 5175 5176 else 5177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5178 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 7911 5179 fi 7912 5180 7913 5181 done 7914 5182 7915 7916 5183 for ac_header in string.h 7917 do 7918 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7919 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7920 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7922 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7923 echo $ECHO_N "(cached) $ECHO_C" >&6 7924 fi 7925 ac_res=`eval echo '${'$as_ac_Header'}'` 7926 { echo "$as_me:$LINENO: result: $ac_res" >&5 7927 echo "${ECHO_T}$ac_res" >&6; } 7928 else 7929 # Is the header compilable? 7930 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7932 cat >conftest.$ac_ext <<_ACEOF 7933 /* confdefs.h. */ 7934 _ACEOF 7935 cat confdefs.h >>conftest.$ac_ext 7936 cat >>conftest.$ac_ext <<_ACEOF 7937 /* end confdefs.h. */ 7938 $ac_includes_default 7939 #include <$ac_header> 7940 _ACEOF 7941 rm -f conftest.$ac_objext 7942 if { (ac_try="$ac_compile" 7943 case "(($ac_try" in 7944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7945 *) ac_try_echo=$ac_try;; 7946 esac 7947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7948 (eval "$ac_compile") 2>conftest.er1 7949 ac_status=$? 7950 grep -v '^ *+' conftest.er1 >conftest.err 7951 rm -f conftest.er1 7952 cat conftest.err >&5 7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7954 (exit $ac_status); } && { 7955 test -z "$ac_cxx_werror_flag" || 7956 test ! -s conftest.err 7957 } && test -s conftest.$ac_objext; then 7958 ac_header_compiler=yes 7959 else 7960 echo "$as_me: failed program was:" >&5 7961 sed 's/^/| /' conftest.$ac_ext >&5 7962 7963 ac_header_compiler=no 7964 fi 7965 7966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7967 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7968 echo "${ECHO_T}$ac_header_compiler" >&6; } 7969 7970 # Is the header present? 7971 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7972 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7973 cat >conftest.$ac_ext <<_ACEOF 7974 /* confdefs.h. */ 7975 _ACEOF 7976 cat confdefs.h >>conftest.$ac_ext 7977 cat >>conftest.$ac_ext <<_ACEOF 7978 /* end confdefs.h. */ 7979 #include <$ac_header> 7980 _ACEOF 7981 if { (ac_try="$ac_cpp conftest.$ac_ext" 7982 case "(($ac_try" in 7983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7984 *) ac_try_echo=$ac_try;; 7985 esac 7986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7988 ac_status=$? 7989 grep -v '^ *+' conftest.er1 >conftest.err 7990 rm -f conftest.er1 7991 cat conftest.err >&5 7992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7993 (exit $ac_status); } >/dev/null && { 7994 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7995 test ! -s conftest.err 7996 }; then 7997 ac_header_preproc=yes 7998 else 7999 echo "$as_me: failed program was:" >&5 8000 sed 's/^/| /' conftest.$ac_ext >&5 8001 8002 ac_header_preproc=no 8003 fi 8004 8005 rm -f conftest.err conftest.$ac_ext 8006 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8007 echo "${ECHO_T}$ac_header_preproc" >&6; } 8008 8009 # So? What about this header? 8010 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8011 yes:no: ) 8012 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8013 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8015 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8016 ac_header_preproc=yes 8017 ;; 8018 no:yes:* ) 8019 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8020 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8021 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8022 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8023 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8024 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8025 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8026 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8029 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8030 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8031 ( cat <<\_ASBOX 8032 ## ----------------------------------- ## 8033 ## Report this to rappture@nanohub.org ## 8034 ## ----------------------------------- ## 8035 _ASBOX 8036 ) | sed "s/^/$as_me: WARNING: /" >&2 8037 ;; 8038 esac 8039 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8042 echo $ECHO_N "(cached) $ECHO_C" >&6 8043 else 8044 eval "$as_ac_Header=\$ac_header_preproc" 8045 fi 8046 ac_res=`eval echo '${'$as_ac_Header'}'` 8047 { echo "$as_me:$LINENO: result: $ac_res" >&5 8048 echo "${ECHO_T}$ac_res" >&6; } 8049 8050 fi 8051 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5184 do : 5185 ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 5186 if test "x$ac_cv_header_string_h" = x""yes; then : 8052 5187 cat >>confdefs.h <<_ACEOF 8053 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18054 _ACEOF 8055 8056 else 8057 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58058 echo "$as_me: WARNING: C headers missing ?" >&2;}5188 #define HAVE_STRING_H 1 5189 _ACEOF 5190 5191 else 5192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5193 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8059 5194 fi 8060 5195 8061 5196 done 8062 5197 8063 8064 5198 for ac_header in stdlib.h 8065 do 8066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8067 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8068 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8070 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8071 echo $ECHO_N "(cached) $ECHO_C" >&6 8072 fi 8073 ac_res=`eval echo '${'$as_ac_Header'}'` 8074 { echo "$as_me:$LINENO: result: $ac_res" >&5 8075 echo "${ECHO_T}$ac_res" >&6; } 8076 else 8077 # Is the header compilable? 8078 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8079 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8080 cat >conftest.$ac_ext <<_ACEOF 8081 /* confdefs.h. */ 8082 _ACEOF 8083 cat confdefs.h >>conftest.$ac_ext 8084 cat >>conftest.$ac_ext <<_ACEOF 8085 /* end confdefs.h. */ 8086 $ac_includes_default 8087 #include <$ac_header> 8088 _ACEOF 8089 rm -f conftest.$ac_objext 8090 if { (ac_try="$ac_compile" 8091 case "(($ac_try" in 8092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8093 *) ac_try_echo=$ac_try;; 8094 esac 8095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8096 (eval "$ac_compile") 2>conftest.er1 8097 ac_status=$? 8098 grep -v '^ *+' conftest.er1 >conftest.err 8099 rm -f conftest.er1 8100 cat conftest.err >&5 8101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8102 (exit $ac_status); } && { 8103 test -z "$ac_cxx_werror_flag" || 8104 test ! -s conftest.err 8105 } && test -s conftest.$ac_objext; then 8106 ac_header_compiler=yes 8107 else 8108 echo "$as_me: failed program was:" >&5 8109 sed 's/^/| /' conftest.$ac_ext >&5 8110 8111 ac_header_compiler=no 8112 fi 8113 8114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8115 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8116 echo "${ECHO_T}$ac_header_compiler" >&6; } 8117 8118 # Is the header present? 8119 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8120 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8121 cat >conftest.$ac_ext <<_ACEOF 8122 /* confdefs.h. */ 8123 _ACEOF 8124 cat confdefs.h >>conftest.$ac_ext 8125 cat >>conftest.$ac_ext <<_ACEOF 8126 /* end confdefs.h. */ 8127 #include <$ac_header> 8128 _ACEOF 8129 if { (ac_try="$ac_cpp conftest.$ac_ext" 8130 case "(($ac_try" in 8131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8132 *) ac_try_echo=$ac_try;; 8133 esac 8134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8135 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8136 ac_status=$? 8137 grep -v '^ *+' conftest.er1 >conftest.err 8138 rm -f conftest.er1 8139 cat conftest.err >&5 8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8141 (exit $ac_status); } >/dev/null && { 8142 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8143 test ! -s conftest.err 8144 }; then 8145 ac_header_preproc=yes 8146 else 8147 echo "$as_me: failed program was:" >&5 8148 sed 's/^/| /' conftest.$ac_ext >&5 8149 8150 ac_header_preproc=no 8151 fi 8152 8153 rm -f conftest.err conftest.$ac_ext 8154 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8155 echo "${ECHO_T}$ac_header_preproc" >&6; } 8156 8157 # So? What about this header? 8158 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8159 yes:no: ) 8160 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8161 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8163 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8164 ac_header_preproc=yes 8165 ;; 8166 no:yes:* ) 8167 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8168 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8169 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8170 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8171 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8172 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8173 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8174 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8176 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8177 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8178 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8179 ( cat <<\_ASBOX 8180 ## ----------------------------------- ## 8181 ## Report this to rappture@nanohub.org ## 8182 ## ----------------------------------- ## 8183 _ASBOX 8184 ) | sed "s/^/$as_me: WARNING: /" >&2 8185 ;; 8186 esac 8187 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8189 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8190 echo $ECHO_N "(cached) $ECHO_C" >&6 8191 else 8192 eval "$as_ac_Header=\$ac_header_preproc" 8193 fi 8194 ac_res=`eval echo '${'$as_ac_Header'}'` 8195 { echo "$as_me:$LINENO: result: $ac_res" >&5 8196 echo "${ECHO_T}$ac_res" >&6; } 8197 8198 fi 8199 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5199 do : 5200 ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5201 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 8200 5202 cat >>confdefs.h <<_ACEOF 8201 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18202 _ACEOF 8203 8204 else 8205 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58206 echo "$as_me: WARNING: C headers missing ?" >&2;}5203 #define HAVE_STDLIB_H 1 5204 _ACEOF 5205 5206 else 5207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5208 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8207 5209 fi 8208 5210 8209 5211 done 8210 5212 8211 8212 5213 for ac_header in stddef.h 8213 do 8214 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8215 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8216 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8218 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8219 echo $ECHO_N "(cached) $ECHO_C" >&6 8220 fi 8221 ac_res=`eval echo '${'$as_ac_Header'}'` 8222 { echo "$as_me:$LINENO: result: $ac_res" >&5 8223 echo "${ECHO_T}$ac_res" >&6; } 8224 else 8225 # Is the header compilable? 8226 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8227 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8228 cat >conftest.$ac_ext <<_ACEOF 8229 /* confdefs.h. */ 8230 _ACEOF 8231 cat confdefs.h >>conftest.$ac_ext 8232 cat >>conftest.$ac_ext <<_ACEOF 8233 /* end confdefs.h. */ 8234 $ac_includes_default 8235 #include <$ac_header> 8236 _ACEOF 8237 rm -f conftest.$ac_objext 8238 if { (ac_try="$ac_compile" 8239 case "(($ac_try" in 8240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8241 *) ac_try_echo=$ac_try;; 8242 esac 8243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8244 (eval "$ac_compile") 2>conftest.er1 8245 ac_status=$? 8246 grep -v '^ *+' conftest.er1 >conftest.err 8247 rm -f conftest.er1 8248 cat conftest.err >&5 8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8250 (exit $ac_status); } && { 8251 test -z "$ac_cxx_werror_flag" || 8252 test ! -s conftest.err 8253 } && test -s conftest.$ac_objext; then 8254 ac_header_compiler=yes 8255 else 8256 echo "$as_me: failed program was:" >&5 8257 sed 's/^/| /' conftest.$ac_ext >&5 8258 8259 ac_header_compiler=no 8260 fi 8261 8262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8263 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8264 echo "${ECHO_T}$ac_header_compiler" >&6; } 8265 8266 # Is the header present? 8267 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8268 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8269 cat >conftest.$ac_ext <<_ACEOF 8270 /* confdefs.h. */ 8271 _ACEOF 8272 cat confdefs.h >>conftest.$ac_ext 8273 cat >>conftest.$ac_ext <<_ACEOF 8274 /* end confdefs.h. */ 8275 #include <$ac_header> 8276 _ACEOF 8277 if { (ac_try="$ac_cpp conftest.$ac_ext" 8278 case "(($ac_try" in 8279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8280 *) ac_try_echo=$ac_try;; 8281 esac 8282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8283 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8284 ac_status=$? 8285 grep -v '^ *+' conftest.er1 >conftest.err 8286 rm -f conftest.er1 8287 cat conftest.err >&5 8288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8289 (exit $ac_status); } >/dev/null && { 8290 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8291 test ! -s conftest.err 8292 }; then 8293 ac_header_preproc=yes 8294 else 8295 echo "$as_me: failed program was:" >&5 8296 sed 's/^/| /' conftest.$ac_ext >&5 8297 8298 ac_header_preproc=no 8299 fi 8300 8301 rm -f conftest.err conftest.$ac_ext 8302 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8303 echo "${ECHO_T}$ac_header_preproc" >&6; } 8304 8305 # So? What about this header? 8306 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8307 yes:no: ) 8308 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8309 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8311 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8312 ac_header_preproc=yes 8313 ;; 8314 no:yes:* ) 8315 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8316 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8317 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8318 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8319 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8320 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8321 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8322 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8325 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8326 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8327 ( cat <<\_ASBOX 8328 ## ----------------------------------- ## 8329 ## Report this to rappture@nanohub.org ## 8330 ## ----------------------------------- ## 8331 _ASBOX 8332 ) | sed "s/^/$as_me: WARNING: /" >&2 8333 ;; 8334 esac 8335 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8337 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8338 echo $ECHO_N "(cached) $ECHO_C" >&6 8339 else 8340 eval "$as_ac_Header=\$ac_header_preproc" 8341 fi 8342 ac_res=`eval echo '${'$as_ac_Header'}'` 8343 { echo "$as_me:$LINENO: result: $ac_res" >&5 8344 echo "${ECHO_T}$ac_res" >&6; } 8345 8346 fi 8347 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5214 do : 5215 ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 5216 if test "x$ac_cv_header_stddef_h" = x""yes; then : 8348 5217 cat >>confdefs.h <<_ACEOF 8349 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18350 _ACEOF 8351 8352 else 8353 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58354 echo "$as_me: WARNING: C headers missing ?" >&2;}5218 #define HAVE_STDDEF_H 1 5219 _ACEOF 5220 5221 else 5222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5223 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8355 5224 fi 8356 5225 8357 5226 done 8358 5227 8359 8360 5228 for ac_header in float.h 8361 do 8362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8364 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8367 echo $ECHO_N "(cached) $ECHO_C" >&6 8368 fi 8369 ac_res=`eval echo '${'$as_ac_Header'}'` 8370 { echo "$as_me:$LINENO: result: $ac_res" >&5 8371 echo "${ECHO_T}$ac_res" >&6; } 8372 else 8373 # Is the header compilable? 8374 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8375 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8376 cat >conftest.$ac_ext <<_ACEOF 8377 /* confdefs.h. */ 8378 _ACEOF 8379 cat confdefs.h >>conftest.$ac_ext 8380 cat >>conftest.$ac_ext <<_ACEOF 8381 /* end confdefs.h. */ 8382 $ac_includes_default 8383 #include <$ac_header> 8384 _ACEOF 8385 rm -f conftest.$ac_objext 8386 if { (ac_try="$ac_compile" 8387 case "(($ac_try" in 8388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8389 *) ac_try_echo=$ac_try;; 8390 esac 8391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8392 (eval "$ac_compile") 2>conftest.er1 8393 ac_status=$? 8394 grep -v '^ *+' conftest.er1 >conftest.err 8395 rm -f conftest.er1 8396 cat conftest.err >&5 8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8398 (exit $ac_status); } && { 8399 test -z "$ac_cxx_werror_flag" || 8400 test ! -s conftest.err 8401 } && test -s conftest.$ac_objext; then 8402 ac_header_compiler=yes 8403 else 8404 echo "$as_me: failed program was:" >&5 8405 sed 's/^/| /' conftest.$ac_ext >&5 8406 8407 ac_header_compiler=no 8408 fi 8409 8410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8411 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8412 echo "${ECHO_T}$ac_header_compiler" >&6; } 8413 8414 # Is the header present? 8415 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8417 cat >conftest.$ac_ext <<_ACEOF 8418 /* confdefs.h. */ 8419 _ACEOF 8420 cat confdefs.h >>conftest.$ac_ext 8421 cat >>conftest.$ac_ext <<_ACEOF 8422 /* end confdefs.h. */ 8423 #include <$ac_header> 8424 _ACEOF 8425 if { (ac_try="$ac_cpp conftest.$ac_ext" 8426 case "(($ac_try" in 8427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8428 *) ac_try_echo=$ac_try;; 8429 esac 8430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8431 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8432 ac_status=$? 8433 grep -v '^ *+' conftest.er1 >conftest.err 8434 rm -f conftest.er1 8435 cat conftest.err >&5 8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8437 (exit $ac_status); } >/dev/null && { 8438 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8439 test ! -s conftest.err 8440 }; then 8441 ac_header_preproc=yes 8442 else 8443 echo "$as_me: failed program was:" >&5 8444 sed 's/^/| /' conftest.$ac_ext >&5 8445 8446 ac_header_preproc=no 8447 fi 8448 8449 rm -f conftest.err conftest.$ac_ext 8450 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8451 echo "${ECHO_T}$ac_header_preproc" >&6; } 8452 8453 # So? What about this header? 8454 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8455 yes:no: ) 8456 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8457 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8459 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8460 ac_header_preproc=yes 8461 ;; 8462 no:yes:* ) 8463 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8464 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8465 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8466 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8467 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8468 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8469 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8470 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8472 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8473 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8474 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8475 ( cat <<\_ASBOX 8476 ## ----------------------------------- ## 8477 ## Report this to rappture@nanohub.org ## 8478 ## ----------------------------------- ## 8479 _ASBOX 8480 ) | sed "s/^/$as_me: WARNING: /" >&2 8481 ;; 8482 esac 8483 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8486 echo $ECHO_N "(cached) $ECHO_C" >&6 8487 else 8488 eval "$as_ac_Header=\$ac_header_preproc" 8489 fi 8490 ac_res=`eval echo '${'$as_ac_Header'}'` 8491 { echo "$as_me:$LINENO: result: $ac_res" >&5 8492 echo "${ECHO_T}$ac_res" >&6; } 8493 8494 fi 8495 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5229 do : 5230 ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" 5231 if test "x$ac_cv_header_float_h" = x""yes; then : 8496 5232 cat >>confdefs.h <<_ACEOF 8497 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18498 _ACEOF 8499 8500 else 8501 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58502 echo "$as_me: WARNING: C headers missing ?" >&2;}5233 #define HAVE_FLOAT_H 1 5234 _ACEOF 5235 5236 else 5237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5238 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8503 5239 fi 8504 5240 8505 5241 done 8506 5242 8507 8508 5243 for ac_header in math.h 8509 do 8510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8511 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8512 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8514 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8515 echo $ECHO_N "(cached) $ECHO_C" >&6 8516 fi 8517 ac_res=`eval echo '${'$as_ac_Header'}'` 8518 { echo "$as_me:$LINENO: result: $ac_res" >&5 8519 echo "${ECHO_T}$ac_res" >&6; } 8520 else 8521 # Is the header compilable? 8522 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8523 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8524 cat >conftest.$ac_ext <<_ACEOF 8525 /* confdefs.h. */ 8526 _ACEOF 8527 cat confdefs.h >>conftest.$ac_ext 8528 cat >>conftest.$ac_ext <<_ACEOF 8529 /* end confdefs.h. */ 8530 $ac_includes_default 8531 #include <$ac_header> 8532 _ACEOF 8533 rm -f conftest.$ac_objext 8534 if { (ac_try="$ac_compile" 8535 case "(($ac_try" in 8536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8537 *) ac_try_echo=$ac_try;; 8538 esac 8539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8540 (eval "$ac_compile") 2>conftest.er1 8541 ac_status=$? 8542 grep -v '^ *+' conftest.er1 >conftest.err 8543 rm -f conftest.er1 8544 cat conftest.err >&5 8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8546 (exit $ac_status); } && { 8547 test -z "$ac_cxx_werror_flag" || 8548 test ! -s conftest.err 8549 } && test -s conftest.$ac_objext; then 8550 ac_header_compiler=yes 8551 else 8552 echo "$as_me: failed program was:" >&5 8553 sed 's/^/| /' conftest.$ac_ext >&5 8554 8555 ac_header_compiler=no 8556 fi 8557 8558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8559 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8560 echo "${ECHO_T}$ac_header_compiler" >&6; } 8561 8562 # Is the header present? 8563 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8565 cat >conftest.$ac_ext <<_ACEOF 8566 /* confdefs.h. */ 8567 _ACEOF 8568 cat confdefs.h >>conftest.$ac_ext 8569 cat >>conftest.$ac_ext <<_ACEOF 8570 /* end confdefs.h. */ 8571 #include <$ac_header> 8572 _ACEOF 8573 if { (ac_try="$ac_cpp conftest.$ac_ext" 8574 case "(($ac_try" in 8575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8576 *) ac_try_echo=$ac_try;; 8577 esac 8578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8580 ac_status=$? 8581 grep -v '^ *+' conftest.er1 >conftest.err 8582 rm -f conftest.er1 8583 cat conftest.err >&5 8584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8585 (exit $ac_status); } >/dev/null && { 8586 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8587 test ! -s conftest.err 8588 }; then 8589 ac_header_preproc=yes 8590 else 8591 echo "$as_me: failed program was:" >&5 8592 sed 's/^/| /' conftest.$ac_ext >&5 8593 8594 ac_header_preproc=no 8595 fi 8596 8597 rm -f conftest.err conftest.$ac_ext 8598 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8599 echo "${ECHO_T}$ac_header_preproc" >&6; } 8600 8601 # So? What about this header? 8602 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8603 yes:no: ) 8604 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8605 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8607 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8608 ac_header_preproc=yes 8609 ;; 8610 no:yes:* ) 8611 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8612 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8613 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8614 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8615 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8616 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8617 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8618 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8621 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8622 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8623 ( cat <<\_ASBOX 8624 ## ----------------------------------- ## 8625 ## Report this to rappture@nanohub.org ## 8626 ## ----------------------------------- ## 8627 _ASBOX 8628 ) | sed "s/^/$as_me: WARNING: /" >&2 8629 ;; 8630 esac 8631 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8633 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8634 echo $ECHO_N "(cached) $ECHO_C" >&6 8635 else 8636 eval "$as_ac_Header=\$ac_header_preproc" 8637 fi 8638 ac_res=`eval echo '${'$as_ac_Header'}'` 8639 { echo "$as_me:$LINENO: result: $ac_res" >&5 8640 echo "${ECHO_T}$ac_res" >&6; } 8641 8642 fi 8643 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5244 do : 5245 ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" 5246 if test "x$ac_cv_header_math_h" = x""yes; then : 8644 5247 cat >>confdefs.h <<_ACEOF 8645 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18646 _ACEOF 8647 8648 else 8649 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58650 echo "$as_me: WARNING: C headers missing ?" >&2;}5248 #define HAVE_MATH_H 1 5249 _ACEOF 5250 5251 else 5252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5253 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8651 5254 fi 8652 5255 8653 5256 done 8654 5257 8655 8656 5258 for ac_header in malloc.h 8657 do 8658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8660 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8662 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8663 echo $ECHO_N "(cached) $ECHO_C" >&6 8664 fi 8665 ac_res=`eval echo '${'$as_ac_Header'}'` 8666 { echo "$as_me:$LINENO: result: $ac_res" >&5 8667 echo "${ECHO_T}$ac_res" >&6; } 8668 else 8669 # Is the header compilable? 8670 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8671 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8672 cat >conftest.$ac_ext <<_ACEOF 8673 /* confdefs.h. */ 8674 _ACEOF 8675 cat confdefs.h >>conftest.$ac_ext 8676 cat >>conftest.$ac_ext <<_ACEOF 8677 /* end confdefs.h. */ 8678 $ac_includes_default 8679 #include <$ac_header> 8680 _ACEOF 8681 rm -f conftest.$ac_objext 8682 if { (ac_try="$ac_compile" 8683 case "(($ac_try" in 8684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8685 *) ac_try_echo=$ac_try;; 8686 esac 8687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8688 (eval "$ac_compile") 2>conftest.er1 8689 ac_status=$? 8690 grep -v '^ *+' conftest.er1 >conftest.err 8691 rm -f conftest.er1 8692 cat conftest.err >&5 8693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8694 (exit $ac_status); } && { 8695 test -z "$ac_cxx_werror_flag" || 8696 test ! -s conftest.err 8697 } && test -s conftest.$ac_objext; then 8698 ac_header_compiler=yes 8699 else 8700 echo "$as_me: failed program was:" >&5 8701 sed 's/^/| /' conftest.$ac_ext >&5 8702 8703 ac_header_compiler=no 8704 fi 8705 8706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8707 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8708 echo "${ECHO_T}$ac_header_compiler" >&6; } 8709 8710 # Is the header present? 8711 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8712 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8713 cat >conftest.$ac_ext <<_ACEOF 8714 /* confdefs.h. */ 8715 _ACEOF 8716 cat confdefs.h >>conftest.$ac_ext 8717 cat >>conftest.$ac_ext <<_ACEOF 8718 /* end confdefs.h. */ 8719 #include <$ac_header> 8720 _ACEOF 8721 if { (ac_try="$ac_cpp conftest.$ac_ext" 8722 case "(($ac_try" in 8723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8724 *) ac_try_echo=$ac_try;; 8725 esac 8726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8727 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8728 ac_status=$? 8729 grep -v '^ *+' conftest.er1 >conftest.err 8730 rm -f conftest.er1 8731 cat conftest.err >&5 8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8733 (exit $ac_status); } >/dev/null && { 8734 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8735 test ! -s conftest.err 8736 }; then 8737 ac_header_preproc=yes 8738 else 8739 echo "$as_me: failed program was:" >&5 8740 sed 's/^/| /' conftest.$ac_ext >&5 8741 8742 ac_header_preproc=no 8743 fi 8744 8745 rm -f conftest.err conftest.$ac_ext 8746 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8747 echo "${ECHO_T}$ac_header_preproc" >&6; } 8748 8749 # So? What about this header? 8750 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8751 yes:no: ) 8752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8755 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8756 ac_header_preproc=yes 8757 ;; 8758 no:yes:* ) 8759 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8761 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8762 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8763 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8764 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8765 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8766 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8769 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8770 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8771 ( cat <<\_ASBOX 8772 ## ----------------------------------- ## 8773 ## Report this to rappture@nanohub.org ## 8774 ## ----------------------------------- ## 8775 _ASBOX 8776 ) | sed "s/^/$as_me: WARNING: /" >&2 8777 ;; 8778 esac 8779 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8782 echo $ECHO_N "(cached) $ECHO_C" >&6 8783 else 8784 eval "$as_ac_Header=\$ac_header_preproc" 8785 fi 8786 ac_res=`eval echo '${'$as_ac_Header'}'` 8787 { echo "$as_me:$LINENO: result: $ac_res" >&5 8788 echo "${ECHO_T}$ac_res" >&6; } 8789 8790 fi 8791 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5259 do : 5260 ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 5261 if test "x$ac_cv_header_malloc_h" = x""yes; then : 8792 5262 cat >>confdefs.h <<_ACEOF 8793 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18794 _ACEOF 8795 8796 else 8797 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58798 echo "$as_me: WARNING: C headers missing ?" >&2;}5263 #define HAVE_MALLOC_H 1 5264 _ACEOF 5265 5266 else 5267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5268 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8799 5269 fi 8800 5270 8801 5271 done 8802 5272 8803 8804 5273 for ac_header in memory.h 8805 do 8806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8808 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8810 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8811 echo $ECHO_N "(cached) $ECHO_C" >&6 8812 fi 8813 ac_res=`eval echo '${'$as_ac_Header'}'` 8814 { echo "$as_me:$LINENO: result: $ac_res" >&5 8815 echo "${ECHO_T}$ac_res" >&6; } 8816 else 8817 # Is the header compilable? 8818 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8820 cat >conftest.$ac_ext <<_ACEOF 8821 /* confdefs.h. */ 8822 _ACEOF 8823 cat confdefs.h >>conftest.$ac_ext 8824 cat >>conftest.$ac_ext <<_ACEOF 8825 /* end confdefs.h. */ 8826 $ac_includes_default 8827 #include <$ac_header> 8828 _ACEOF 8829 rm -f conftest.$ac_objext 8830 if { (ac_try="$ac_compile" 8831 case "(($ac_try" in 8832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8833 *) ac_try_echo=$ac_try;; 8834 esac 8835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8836 (eval "$ac_compile") 2>conftest.er1 8837 ac_status=$? 8838 grep -v '^ *+' conftest.er1 >conftest.err 8839 rm -f conftest.er1 8840 cat conftest.err >&5 8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8842 (exit $ac_status); } && { 8843 test -z "$ac_cxx_werror_flag" || 8844 test ! -s conftest.err 8845 } && test -s conftest.$ac_objext; then 8846 ac_header_compiler=yes 8847 else 8848 echo "$as_me: failed program was:" >&5 8849 sed 's/^/| /' conftest.$ac_ext >&5 8850 8851 ac_header_compiler=no 8852 fi 8853 8854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8855 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8856 echo "${ECHO_T}$ac_header_compiler" >&6; } 8857 8858 # Is the header present? 8859 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8860 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8861 cat >conftest.$ac_ext <<_ACEOF 8862 /* confdefs.h. */ 8863 _ACEOF 8864 cat confdefs.h >>conftest.$ac_ext 8865 cat >>conftest.$ac_ext <<_ACEOF 8866 /* end confdefs.h. */ 8867 #include <$ac_header> 8868 _ACEOF 8869 if { (ac_try="$ac_cpp conftest.$ac_ext" 8870 case "(($ac_try" in 8871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8872 *) ac_try_echo=$ac_try;; 8873 esac 8874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8875 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8876 ac_status=$? 8877 grep -v '^ *+' conftest.er1 >conftest.err 8878 rm -f conftest.er1 8879 cat conftest.err >&5 8880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8881 (exit $ac_status); } >/dev/null && { 8882 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8883 test ! -s conftest.err 8884 }; then 8885 ac_header_preproc=yes 8886 else 8887 echo "$as_me: failed program was:" >&5 8888 sed 's/^/| /' conftest.$ac_ext >&5 8889 8890 ac_header_preproc=no 8891 fi 8892 8893 rm -f conftest.err conftest.$ac_ext 8894 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8895 echo "${ECHO_T}$ac_header_preproc" >&6; } 8896 8897 # So? What about this header? 8898 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8899 yes:no: ) 8900 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8901 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8903 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8904 ac_header_preproc=yes 8905 ;; 8906 no:yes:* ) 8907 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8908 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8909 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8910 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8911 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8912 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8913 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8914 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8916 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8917 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8918 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8919 ( cat <<\_ASBOX 8920 ## ----------------------------------- ## 8921 ## Report this to rappture@nanohub.org ## 8922 ## ----------------------------------- ## 8923 _ASBOX 8924 ) | sed "s/^/$as_me: WARNING: /" >&2 8925 ;; 8926 esac 8927 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8929 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8930 echo $ECHO_N "(cached) $ECHO_C" >&6 8931 else 8932 eval "$as_ac_Header=\$ac_header_preproc" 8933 fi 8934 ac_res=`eval echo '${'$as_ac_Header'}'` 8935 { echo "$as_me:$LINENO: result: $ac_res" >&5 8936 echo "${ECHO_T}$ac_res" >&6; } 8937 8938 fi 8939 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5274 do : 5275 ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default" 5276 if test "x$ac_cv_header_memory_h" = x""yes; then : 8940 5277 cat >>confdefs.h <<_ACEOF 8941 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18942 _ACEOF 8943 8944 else 8945 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58946 echo "$as_me: WARNING: C headers missing ?" >&2;}5278 #define HAVE_MEMORY_H 1 5279 _ACEOF 5280 5281 else 5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5283 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8947 5284 fi 8948 5285 8949 5286 done 8950 5287 8951 8952 5288 for ac_header in unistd.h 8953 do 8954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8956 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8959 echo $ECHO_N "(cached) $ECHO_C" >&6 8960 fi 8961 ac_res=`eval echo '${'$as_ac_Header'}'` 8962 { echo "$as_me:$LINENO: result: $ac_res" >&5 8963 echo "${ECHO_T}$ac_res" >&6; } 8964 else 8965 # Is the header compilable? 8966 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8968 cat >conftest.$ac_ext <<_ACEOF 8969 /* confdefs.h. */ 8970 _ACEOF 8971 cat confdefs.h >>conftest.$ac_ext 8972 cat >>conftest.$ac_ext <<_ACEOF 8973 /* end confdefs.h. */ 8974 $ac_includes_default 8975 #include <$ac_header> 8976 _ACEOF 8977 rm -f conftest.$ac_objext 8978 if { (ac_try="$ac_compile" 8979 case "(($ac_try" in 8980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8981 *) ac_try_echo=$ac_try;; 8982 esac 8983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8984 (eval "$ac_compile") 2>conftest.er1 8985 ac_status=$? 8986 grep -v '^ *+' conftest.er1 >conftest.err 8987 rm -f conftest.er1 8988 cat conftest.err >&5 8989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8990 (exit $ac_status); } && { 8991 test -z "$ac_cxx_werror_flag" || 8992 test ! -s conftest.err 8993 } && test -s conftest.$ac_objext; then 8994 ac_header_compiler=yes 8995 else 8996 echo "$as_me: failed program was:" >&5 8997 sed 's/^/| /' conftest.$ac_ext >&5 8998 8999 ac_header_compiler=no 9000 fi 9001 9002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9003 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9004 echo "${ECHO_T}$ac_header_compiler" >&6; } 9005 9006 # Is the header present? 9007 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9009 cat >conftest.$ac_ext <<_ACEOF 9010 /* confdefs.h. */ 9011 _ACEOF 9012 cat confdefs.h >>conftest.$ac_ext 9013 cat >>conftest.$ac_ext <<_ACEOF 9014 /* end confdefs.h. */ 9015 #include <$ac_header> 9016 _ACEOF 9017 if { (ac_try="$ac_cpp conftest.$ac_ext" 9018 case "(($ac_try" in 9019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9020 *) ac_try_echo=$ac_try;; 9021 esac 9022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9024 ac_status=$? 9025 grep -v '^ *+' conftest.er1 >conftest.err 9026 rm -f conftest.er1 9027 cat conftest.err >&5 9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9029 (exit $ac_status); } >/dev/null && { 9030 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9031 test ! -s conftest.err 9032 }; then 9033 ac_header_preproc=yes 9034 else 9035 echo "$as_me: failed program was:" >&5 9036 sed 's/^/| /' conftest.$ac_ext >&5 9037 9038 ac_header_preproc=no 9039 fi 9040 9041 rm -f conftest.err conftest.$ac_ext 9042 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9043 echo "${ECHO_T}$ac_header_preproc" >&6; } 9044 9045 # So? What about this header? 9046 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9047 yes:no: ) 9048 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9049 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9051 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9052 ac_header_preproc=yes 9053 ;; 9054 no:yes:* ) 9055 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9056 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9057 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9058 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9059 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9060 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9061 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9062 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9064 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9065 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9066 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9067 ( cat <<\_ASBOX 9068 ## ----------------------------------- ## 9069 ## Report this to rappture@nanohub.org ## 9070 ## ----------------------------------- ## 9071 _ASBOX 9072 ) | sed "s/^/$as_me: WARNING: /" >&2 9073 ;; 9074 esac 9075 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9077 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9078 echo $ECHO_N "(cached) $ECHO_C" >&6 9079 else 9080 eval "$as_ac_Header=\$ac_header_preproc" 9081 fi 9082 ac_res=`eval echo '${'$as_ac_Header'}'` 9083 { echo "$as_me:$LINENO: result: $ac_res" >&5 9084 echo "${ECHO_T}$ac_res" >&6; } 9085 9086 fi 9087 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5289 do : 5290 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 5291 if test "x$ac_cv_header_unistd_h" = x""yes; then : 9088 5292 cat >>confdefs.h <<_ACEOF 9089 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19090 _ACEOF 9091 9092 else 9093 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&59094 echo "$as_me: WARNING: C headers missing ?" >&2;}5293 #define HAVE_UNISTD_H 1 5294 _ACEOF 5295 5296 else 5297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5298 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9095 5299 fi 9096 5300 … … 9098 5302 9099 5303 9100 9101 5304 for ac_header in inttypes.h 9102 do 9103 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9104 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9105 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9108 echo $ECHO_N "(cached) $ECHO_C" >&6 9109 fi 9110 ac_res=`eval echo '${'$as_ac_Header'}'` 9111 { echo "$as_me:$LINENO: result: $ac_res" >&5 9112 echo "${ECHO_T}$ac_res" >&6; } 9113 else 9114 # Is the header compilable? 9115 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 9116 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9117 cat >conftest.$ac_ext <<_ACEOF 9118 /* confdefs.h. */ 9119 _ACEOF 9120 cat confdefs.h >>conftest.$ac_ext 9121 cat >>conftest.$ac_ext <<_ACEOF 9122 /* end confdefs.h. */ 9123 $ac_includes_default 9124 #include <$ac_header> 9125 _ACEOF 9126 rm -f conftest.$ac_objext 9127 if { (ac_try="$ac_compile" 9128 case "(($ac_try" in 9129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9130 *) ac_try_echo=$ac_try;; 9131 esac 9132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9133 (eval "$ac_compile") 2>conftest.er1 9134 ac_status=$? 9135 grep -v '^ *+' conftest.er1 >conftest.err 9136 rm -f conftest.er1 9137 cat conftest.err >&5 9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9139 (exit $ac_status); } && { 9140 test -z "$ac_cxx_werror_flag" || 9141 test ! -s conftest.err 9142 } && test -s conftest.$ac_objext; then 9143 ac_header_compiler=yes 9144 else 9145 echo "$as_me: failed program was:" >&5 9146 sed 's/^/| /' conftest.$ac_ext >&5 9147 9148 ac_header_compiler=no 9149 fi 9150 9151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9152 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9153 echo "${ECHO_T}$ac_header_compiler" >&6; } 9154 9155 # Is the header present? 9156 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9157 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9158 cat >conftest.$ac_ext <<_ACEOF 9159 /* confdefs.h. */ 9160 _ACEOF 9161 cat confdefs.h >>conftest.$ac_ext 9162 cat >>conftest.$ac_ext <<_ACEOF 9163 /* end confdefs.h. */ 9164 #include <$ac_header> 9165 _ACEOF 9166 if { (ac_try="$ac_cpp conftest.$ac_ext" 9167 case "(($ac_try" in 9168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9169 *) ac_try_echo=$ac_try;; 9170 esac 9171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9172 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9173 ac_status=$? 9174 grep -v '^ *+' conftest.er1 >conftest.err 9175 rm -f conftest.er1 9176 cat conftest.err >&5 9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9178 (exit $ac_status); } >/dev/null && { 9179 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9180 test ! -s conftest.err 9181 }; then 9182 ac_header_preproc=yes 9183 else 9184 echo "$as_me: failed program was:" >&5 9185 sed 's/^/| /' conftest.$ac_ext >&5 9186 9187 ac_header_preproc=no 9188 fi 9189 9190 rm -f conftest.err conftest.$ac_ext 9191 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9192 echo "${ECHO_T}$ac_header_preproc" >&6; } 9193 9194 # So? What about this header? 9195 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9196 yes:no: ) 9197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9201 ac_header_preproc=yes 9202 ;; 9203 no:yes:* ) 9204 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9206 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9207 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9208 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9210 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9211 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9214 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9216 ( cat <<\_ASBOX 9217 ## ----------------------------------- ## 9218 ## Report this to rappture@nanohub.org ## 9219 ## ----------------------------------- ## 9220 _ASBOX 9221 ) | sed "s/^/$as_me: WARNING: /" >&2 9222 ;; 9223 esac 9224 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9227 echo $ECHO_N "(cached) $ECHO_C" >&6 9228 else 9229 eval "$as_ac_Header=\$ac_header_preproc" 9230 fi 9231 ac_res=`eval echo '${'$as_ac_Header'}'` 9232 { echo "$as_me:$LINENO: result: $ac_res" >&5 9233 echo "${ECHO_T}$ac_res" >&6; } 9234 9235 fi 9236 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5305 do : 5306 ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 5307 if test "x$ac_cv_header_inttypes_h" = x""yes; then : 9237 5308 cat >>confdefs.h <<_ACEOF 9238 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19239 _ACEOF 9240 9241 else 9242 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&59243 echo "$as_me: WARNING: C headers missing ?" >&2;}5309 #define HAVE_INTTYPES_H 1 5310 _ACEOF 5311 5312 else 5313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5314 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9244 5315 fi 9245 5316 … … 9258 5329 # Step 0.a: Enable 64 bit support? 9259 5330 9260 { echo "$as_me:$LINENO: checking if 64bit support is requested" >&59261 echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; }5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 5332 $as_echo_n "checking if 64bit support is requested... " >&6; } 9262 5333 # Check whether --enable-64bit was given. 9263 if test "${enable_64bit+set}" = set; then 5334 if test "${enable_64bit+set}" = set; then : 9264 5335 enableval=$enable_64bit; do64bit=$enableval 9265 5336 else … … 9267 5338 fi 9268 5339 9269 { echo "$as_me:$LINENO: result: $do64bit" >&59270 echo "${ECHO_T}$do64bit" >&6; }5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 5341 $as_echo "$do64bit" >&6; } 9271 5342 9272 5343 # Step 0.b: Enable Solaris 64 bit VIS support? 9273 5344 9274 { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&59275 echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; }5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 5346 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 9276 5347 # Check whether --enable-64bit-vis was given. 9277 if test "${enable_64bit_vis+set}" = set; then 5348 if test "${enable_64bit_vis+set}" = set; then : 9278 5349 enableval=$enable_64bit_vis; do64bitVIS=$enableval 9279 5350 else … … 9281 5352 fi 9282 5353 9283 { echo "$as_me:$LINENO: result: $do64bitVIS" >&59284 echo "${ECHO_T}$do64bitVIS" >&6; }5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 5355 $as_echo "$do64bitVIS" >&6; } 9285 5356 9286 5357 if test "$do64bitVIS" = "yes"; then … … 9293 5364 9294 5365 9295 { echo "$as_me:$LINENO: checking system version" >&59296 echo $ECHO_N "checking system version... $ECHO_C" >&6; }9297 if test "${tcl_cv_sys_version+set}" = set; then 9298 echo $ECHO_N "(cached) $ECHO_C" >&65366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 5367 $as_echo_n "checking system version... " >&6; } 5368 if test "${tcl_cv_sys_version+set}" = set; then : 5369 $as_echo_n "(cached) " >&6 9299 5370 else 9300 5371 … … 9304 5375 tcl_cv_sys_version=`uname -s`-`uname -r` 9305 5376 if test "$?" -ne 0 ; then 9306 { echo "$as_me:$LINENO: WARNING: can't find uname command" >&59307 echo "$as_me: WARNING: can't find uname command" >&2;}5377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 5378 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 9308 5379 tcl_cv_sys_version=unknown 9309 5380 else … … 9321 5392 9322 5393 fi 9323 { echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&59324 echo "${ECHO_T}$tcl_cv_sys_version" >&6; }5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 5395 $as_echo "$tcl_cv_sys_version" >&6; } 9325 5396 system=$tcl_cv_sys_version 9326 5397 … … 9329 5400 # Linux can use either -ldl or -ldld for dynamic loading. 9330 5401 9331 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&59332 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }9333 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 9334 echo $ECHO_N "(cached) $ECHO_C" >&65402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 5403 $as_echo_n "checking for dlopen in -ldl... " >&6; } 5404 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 5405 $as_echo_n "(cached) " >&6 9335 5406 else 9336 5407 ac_check_lib_save_LIBS=$LIBS 9337 5408 LIBS="-ldl $LIBS" 9338 cat >conftest.$ac_ext <<_ACEOF 9339 /* confdefs.h. */ 9340 _ACEOF 9341 cat confdefs.h >>conftest.$ac_ext 9342 cat >>conftest.$ac_ext <<_ACEOF 5409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9343 5410 /* end confdefs.h. */ 9344 5411 … … 9358 5425 } 9359 5426 _ACEOF 9360 rm -f conftest.$ac_objext conftest$ac_exeext 9361 if { (ac_try="$ac_link" 9362 case "(($ac_try" in 9363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9364 *) ac_try_echo=$ac_try;; 9365 esac 9366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9367 (eval "$ac_link") 2>conftest.er1 9368 ac_status=$? 9369 grep -v '^ *+' conftest.er1 >conftest.err 9370 rm -f conftest.er1 9371 cat conftest.err >&5 9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9373 (exit $ac_status); } && { 9374 test -z "$ac_cxx_werror_flag" || 9375 test ! -s conftest.err 9376 } && test -s conftest$ac_exeext && 9377 $as_test_x conftest$ac_exeext; then 5427 if ac_fn_cxx_try_link "$LINENO"; then : 9378 5428 ac_cv_lib_dl_dlopen=yes 9379 5429 else 9380 echo "$as_me: failed program was:" >&5 9381 sed 's/^/| /' conftest.$ac_ext >&5 9382 9383 ac_cv_lib_dl_dlopen=no 9384 fi 9385 9386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9387 conftest$ac_exeext conftest.$ac_ext 5430 ac_cv_lib_dl_dlopen=no 5431 fi 5432 rm -f core conftest.err conftest.$ac_objext \ 5433 conftest$ac_exeext conftest.$ac_ext 9388 5434 LIBS=$ac_check_lib_save_LIBS 9389 5435 fi 9390 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&59391 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }9392 if test $ac_cv_lib_dl_dlopen = yes; then5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 5437 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 5438 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 9393 5439 have_dl=yes 9394 5440 else … … 9422 5468 # Extract the first word of "ar", so it can be a program name with args. 9423 5469 set dummy ar; ac_word=$2 9424 { echo "$as_me:$LINENO: checking for $ac_word" >&59425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }9426 if test "${ac_cv_prog_AR+set}" = set; then 9427 echo $ECHO_N "(cached) $ECHO_C" >&65470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5471 $as_echo_n "checking for $ac_word... " >&6; } 5472 if test "${ac_cv_prog_AR+set}" = set; then : 5473 $as_echo_n "(cached) " >&6 9428 5474 else 9429 5475 if test -n "$AR"; then … … 9435 5481 IFS=$as_save_IFS 9436 5482 test -z "$as_dir" && as_dir=. 9437 for ac_exec_ext in '' $ac_executable_extensions; do5483 for ac_exec_ext in '' $ac_executable_extensions; do 9438 5484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9439 5485 ac_cv_prog_AR="ar" 9440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9441 5487 break 2 9442 5488 fi 9443 5489 done 9444 done5490 done 9445 5491 IFS=$as_save_IFS 9446 5492 … … 9449 5495 AR=$ac_cv_prog_AR 9450 5496 if test -n "$AR"; then 9451 { echo "$as_me:$LINENO: result: $AR" >&59452 echo "${ECHO_T}$AR" >&6; }9453 else 9454 { echo "$as_me:$LINENO: result: no" >&59455 echo "${ECHO_T}no" >&6; }5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5498 $as_echo "$AR" >&6; } 5499 else 5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5501 $as_echo "no" >&6; } 9456 5502 fi 9457 5503 9458 5504 9459 5505 if test "${AR}" = "" ; then 9460 { { echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 9461 echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 9462 { (exit 1); exit 1; }; } 5506 as_fn_error "Required archive tool 'ar' not found on PATH." "$LINENO" 5 9463 5507 fi 9464 5508 STLIB_LD='${AR} cr' … … 9478 5522 ;; 9479 5523 esac 9480 { echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&59481 echo "${ECHO_T}Using $CC for compiling with threads" >&6; }5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 5525 $as_echo "Using $CC for compiling with threads" >&6; } 9482 5526 fi 9483 5527 LIBS="$LIBS -lc" … … 9494 5538 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 9495 5539 if test "$GCC" = "yes" ; then 9496 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&59497 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}5540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5541 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 9498 5542 else 9499 5543 do64bit_ok=yes … … 9549 5593 # known GMT value. 9550 5594 9551 { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&59552 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; }9553 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 9554 echo $ECHO_N "(cached) $ECHO_C" >&65595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 5596 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 5597 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then : 5598 $as_echo_n "(cached) " >&6 9555 5599 else 9556 5600 ac_check_lib_save_LIBS=$LIBS 9557 5601 LIBS="-lbsd $LIBS" 9558 cat >conftest.$ac_ext <<_ACEOF 9559 /* confdefs.h. */ 9560 _ACEOF 9561 cat confdefs.h >>conftest.$ac_ext 9562 cat >>conftest.$ac_ext <<_ACEOF 5602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9563 5603 /* end confdefs.h. */ 9564 5604 … … 9578 5618 } 9579 5619 _ACEOF 9580 rm -f conftest.$ac_objext conftest$ac_exeext 9581 if { (ac_try="$ac_link" 9582 case "(($ac_try" in 9583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9584 *) ac_try_echo=$ac_try;; 9585 esac 9586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9587 (eval "$ac_link") 2>conftest.er1 9588 ac_status=$? 9589 grep -v '^ *+' conftest.er1 >conftest.err 9590 rm -f conftest.er1 9591 cat conftest.err >&5 9592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9593 (exit $ac_status); } && { 9594 test -z "$ac_cxx_werror_flag" || 9595 test ! -s conftest.err 9596 } && test -s conftest$ac_exeext && 9597 $as_test_x conftest$ac_exeext; then 5620 if ac_fn_cxx_try_link "$LINENO"; then : 9598 5621 ac_cv_lib_bsd_gettimeofday=yes 9599 5622 else 9600 echo "$as_me: failed program was:" >&5 9601 sed 's/^/| /' conftest.$ac_ext >&5 9602 9603 ac_cv_lib_bsd_gettimeofday=no 9604 fi 9605 9606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9607 conftest$ac_exeext conftest.$ac_ext 5623 ac_cv_lib_bsd_gettimeofday=no 5624 fi 5625 rm -f core conftest.err conftest.$ac_objext \ 5626 conftest$ac_exeext conftest.$ac_ext 9608 5627 LIBS=$ac_check_lib_save_LIBS 9609 5628 fi 9610 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&59611 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; }9612 if test $ac_cv_lib_bsd_gettimeofday = yes; then5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 5630 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 5631 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then : 9613 5632 libbsd=yes 9614 5633 else … … 9618 5637 if test $libbsd = yes; then 9619 5638 MATH_LIBS="$MATH_LIBS -lbsd" 9620 cat >>confdefs.h <<\_ACEOF 9621 #define USE_DELTA_FOR_TZ 1 9622 _ACEOF 5639 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 9623 5640 9624 5641 fi … … 9637 5654 # is always linked to, for compatibility. 9638 5655 #----------------------------------------------------------- 9639 { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&59640 echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; }9641 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then 9642 echo $ECHO_N "(cached) $ECHO_C" >&65656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 5657 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 5658 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then : 5659 $as_echo_n "(cached) " >&6 9643 5660 else 9644 5661 ac_check_lib_save_LIBS=$LIBS 9645 5662 LIBS="-lbind $LIBS" 9646 cat >conftest.$ac_ext <<_ACEOF 9647 /* confdefs.h. */ 9648 _ACEOF 9649 cat confdefs.h >>conftest.$ac_ext 9650 cat >>conftest.$ac_ext <<_ACEOF 5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9651 5664 /* end confdefs.h. */ 9652 5665 … … 9666 5679 } 9667 5680 _ACEOF 9668 rm -f conftest.$ac_objext conftest$ac_exeext 9669 if { (ac_try="$ac_link" 9670 case "(($ac_try" in 9671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9672 *) ac_try_echo=$ac_try;; 9673 esac 9674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9675 (eval "$ac_link") 2>conftest.er1 9676 ac_status=$? 9677 grep -v '^ *+' conftest.er1 >conftest.err 9678 rm -f conftest.er1 9679 cat conftest.err >&5 9680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9681 (exit $ac_status); } && { 9682 test -z "$ac_cxx_werror_flag" || 9683 test ! -s conftest.err 9684 } && test -s conftest$ac_exeext && 9685 $as_test_x conftest$ac_exeext; then 5681 if ac_fn_cxx_try_link "$LINENO"; then : 9686 5682 ac_cv_lib_bind_inet_ntoa=yes 9687 5683 else 9688 echo "$as_me: failed program was:" >&5 9689 sed 's/^/| /' conftest.$ac_ext >&5 9690 9691 ac_cv_lib_bind_inet_ntoa=no 9692 fi 9693 9694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9695 conftest$ac_exeext conftest.$ac_ext 5684 ac_cv_lib_bind_inet_ntoa=no 5685 fi 5686 rm -f core conftest.err conftest.$ac_objext \ 5687 conftest$ac_exeext conftest.$ac_ext 9696 5688 LIBS=$ac_check_lib_save_LIBS 9697 5689 fi 9698 { echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&59699 echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; }9700 if test $ac_cv_lib_bind_inet_ntoa = yes; then5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 5691 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 5692 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then : 9701 5693 LIBS="$LIBS -lbind -lsocket" 9702 5694 fi … … 9736 5728 HP-UX-*.11.*) 9737 5729 # Use updated header definitions where possible 9738 cat >>confdefs.h <<\_ACEOF 9739 #define _XOPEN_SOURCE 1 9740 _ACEOF 5730 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 9741 5731 # Use the XOPEN network library 9742 cat >>confdefs.h <<\_ACEOF 9743 #define _XOPEN_SOURCE_EXTENDED 1 9744 _ACEOF 5732 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 9745 5733 # Use the XOPEN network library 9746 5734 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 9751 5739 SHLIB_SUFFIX=".sl" 9752 5740 fi 9753 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&59754 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }9755 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 9756 echo $ECHO_N "(cached) $ECHO_C" >&65741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 5742 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5743 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 5744 $as_echo_n "(cached) " >&6 9757 5745 else 9758 5746 ac_check_lib_save_LIBS=$LIBS 9759 5747 LIBS="-ldld $LIBS" 9760 cat >conftest.$ac_ext <<_ACEOF 9761 /* confdefs.h. */ 9762 _ACEOF 9763 cat confdefs.h >>conftest.$ac_ext 9764 cat >>conftest.$ac_ext <<_ACEOF 5748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9765 5749 /* end confdefs.h. */ 9766 5750 … … 9780 5764 } 9781 5765 _ACEOF 9782 rm -f conftest.$ac_objext conftest$ac_exeext 9783 if { (ac_try="$ac_link" 9784 case "(($ac_try" in 9785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9786 *) ac_try_echo=$ac_try;; 9787 esac 9788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9789 (eval "$ac_link") 2>conftest.er1 9790 ac_status=$? 9791 grep -v '^ *+' conftest.er1 >conftest.err 9792 rm -f conftest.er1 9793 cat conftest.err >&5 9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9795 (exit $ac_status); } && { 9796 test -z "$ac_cxx_werror_flag" || 9797 test ! -s conftest.err 9798 } && test -s conftest$ac_exeext && 9799 $as_test_x conftest$ac_exeext; then 5766 if ac_fn_cxx_try_link "$LINENO"; then : 9800 5767 ac_cv_lib_dld_shl_load=yes 9801 5768 else 9802 echo "$as_me: failed program was:" >&5 9803 sed 's/^/| /' conftest.$ac_ext >&5 9804 9805 ac_cv_lib_dld_shl_load=no 9806 fi 9807 9808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9809 conftest$ac_exeext conftest.$ac_ext 5769 ac_cv_lib_dld_shl_load=no 5770 fi 5771 rm -f core conftest.err conftest.$ac_objext \ 5772 conftest$ac_exeext conftest.$ac_ext 9810 5773 LIBS=$ac_check_lib_save_LIBS 9811 5774 fi 9812 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&59813 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }9814 if test $ac_cv_lib_dld_shl_load = yes; then5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 5776 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5777 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 9815 5778 tcl_ok=yes 9816 5779 else … … 9852 5815 ;; 9853 5816 *) 9854 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&59855 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}5817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5818 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 9856 5819 ;; 9857 5820 esac … … 9865 5828 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 9866 5829 SHLIB_SUFFIX=".sl" 9867 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&59868 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }9869 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 9870 echo $ECHO_N "(cached) $ECHO_C" >&65830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 5831 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5832 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 5833 $as_echo_n "(cached) " >&6 9871 5834 else 9872 5835 ac_check_lib_save_LIBS=$LIBS 9873 5836 LIBS="-ldld $LIBS" 9874 cat >conftest.$ac_ext <<_ACEOF 9875 /* confdefs.h. */ 9876 _ACEOF 9877 cat confdefs.h >>conftest.$ac_ext 9878 cat >>conftest.$ac_ext <<_ACEOF 5837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9879 5838 /* end confdefs.h. */ 9880 5839 … … 9894 5853 } 9895 5854 _ACEOF 9896 rm -f conftest.$ac_objext conftest$ac_exeext 9897 if { (ac_try="$ac_link" 9898 case "(($ac_try" in 9899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9900 *) ac_try_echo=$ac_try;; 9901 esac 9902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9903 (eval "$ac_link") 2>conftest.er1 9904 ac_status=$? 9905 grep -v '^ *+' conftest.er1 >conftest.err 9906 rm -f conftest.er1 9907 cat conftest.err >&5 9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9909 (exit $ac_status); } && { 9910 test -z "$ac_cxx_werror_flag" || 9911 test ! -s conftest.err 9912 } && test -s conftest$ac_exeext && 9913 $as_test_x conftest$ac_exeext; then 5855 if ac_fn_cxx_try_link "$LINENO"; then : 9914 5856 ac_cv_lib_dld_shl_load=yes 9915 5857 else 9916 echo "$as_me: failed program was:" >&5 9917 sed 's/^/| /' conftest.$ac_ext >&5 9918 9919 ac_cv_lib_dld_shl_load=no 9920 fi 9921 9922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9923 conftest$ac_exeext conftest.$ac_ext 5858 ac_cv_lib_dld_shl_load=no 5859 fi 5860 rm -f core conftest.err conftest.$ac_objext \ 5861 conftest$ac_exeext conftest.$ac_ext 9924 5862 LIBS=$ac_check_lib_save_LIBS 9925 5863 fi 9926 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&59927 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }9928 if test $ac_cv_lib_dld_shl_load = yes; then5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 5865 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5866 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 9929 5867 tcl_ok=yes 9930 5868 else … … 10005 5943 if test "$do64bit" = "yes" ; then 10006 5944 if test "$GCC" = "yes" ; then 10007 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&510008 echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}5945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 5946 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 10009 5947 else 10010 5948 do64bit_ok=yes … … 10034 5972 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10035 5973 else 10036 if test "${ac_cv_header_dld_h+set}" = set; then 10037 { echo "$as_me:$LINENO: checking for dld.h" >&5 10038 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10039 if test "${ac_cv_header_dld_h+set}" = set; then 10040 echo $ECHO_N "(cached) $ECHO_C" >&6 10041 fi 10042 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10043 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10044 else 10045 # Is the header compilable? 10046 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10047 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10048 cat >conftest.$ac_ext <<_ACEOF 10049 /* confdefs.h. */ 10050 _ACEOF 10051 cat confdefs.h >>conftest.$ac_ext 10052 cat >>conftest.$ac_ext <<_ACEOF 10053 /* end confdefs.h. */ 10054 $ac_includes_default 10055 #include <dld.h> 10056 _ACEOF 10057 rm -f conftest.$ac_objext 10058 if { (ac_try="$ac_compile" 10059 case "(($ac_try" in 10060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10061 *) ac_try_echo=$ac_try;; 10062 esac 10063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10064 (eval "$ac_compile") 2>conftest.er1 10065 ac_status=$? 10066 grep -v '^ *+' conftest.er1 >conftest.err 10067 rm -f conftest.er1 10068 cat conftest.err >&5 10069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10070 (exit $ac_status); } && { 10071 test -z "$ac_cxx_werror_flag" || 10072 test ! -s conftest.err 10073 } && test -s conftest.$ac_objext; then 10074 ac_header_compiler=yes 10075 else 10076 echo "$as_me: failed program was:" >&5 10077 sed 's/^/| /' conftest.$ac_ext >&5 10078 10079 ac_header_compiler=no 10080 fi 10081 10082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10083 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10084 echo "${ECHO_T}$ac_header_compiler" >&6; } 10085 10086 # Is the header present? 10087 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10088 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10089 cat >conftest.$ac_ext <<_ACEOF 10090 /* confdefs.h. */ 10091 _ACEOF 10092 cat confdefs.h >>conftest.$ac_ext 10093 cat >>conftest.$ac_ext <<_ACEOF 10094 /* end confdefs.h. */ 10095 #include <dld.h> 10096 _ACEOF 10097 if { (ac_try="$ac_cpp conftest.$ac_ext" 10098 case "(($ac_try" in 10099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10100 *) ac_try_echo=$ac_try;; 10101 esac 10102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10103 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10104 ac_status=$? 10105 grep -v '^ *+' conftest.er1 >conftest.err 10106 rm -f conftest.er1 10107 cat conftest.err >&5 10108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10109 (exit $ac_status); } >/dev/null && { 10110 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10111 test ! -s conftest.err 10112 }; then 10113 ac_header_preproc=yes 10114 else 10115 echo "$as_me: failed program was:" >&5 10116 sed 's/^/| /' conftest.$ac_ext >&5 10117 10118 ac_header_preproc=no 10119 fi 10120 10121 rm -f conftest.err conftest.$ac_ext 10122 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10123 echo "${ECHO_T}$ac_header_preproc" >&6; } 10124 10125 # So? What about this header? 10126 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10127 yes:no: ) 10128 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10129 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10130 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10131 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10132 ac_header_preproc=yes 10133 ;; 10134 no:yes:* ) 10135 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10136 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10137 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10138 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10139 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10140 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10141 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10142 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10143 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10144 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10145 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10146 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10147 ( cat <<\_ASBOX 10148 ## ----------------------------------- ## 10149 ## Report this to rappture@nanohub.org ## 10150 ## ----------------------------------- ## 10151 _ASBOX 10152 ) | sed "s/^/$as_me: WARNING: /" >&2 10153 ;; 10154 esac 10155 { echo "$as_me:$LINENO: checking for dld.h" >&5 10156 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10157 if test "${ac_cv_header_dld_h+set}" = set; then 10158 echo $ECHO_N "(cached) $ECHO_C" >&6 10159 else 10160 ac_cv_header_dld_h=$ac_header_preproc 10161 fi 10162 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10163 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10164 10165 fi 10166 if test $ac_cv_header_dld_h = yes; then 5974 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 5975 if test "x$ac_cv_header_dld_h" = x""yes; then : 10167 5976 10168 5977 SHLIB_LD="ld -shared" … … 10179 5988 fi 10180 5989 if test $do64bit = yes; then 10181 { echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&510182 echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; }10183 if test "${tcl_cv_cc_m64+set}" = set; then 10184 echo $ECHO_N "(cached) $ECHO_C" >&65990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 5991 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 5992 if test "${tcl_cv_cc_m64+set}" = set; then : 5993 $as_echo_n "(cached) " >&6 10185 5994 else 10186 5995 10187 5996 hold_cflags=$CFLAGS 10188 5997 CFLAGS="$CFLAGS -m64" 10189 cat >conftest.$ac_ext <<_ACEOF 10190 /* confdefs.h. */ 10191 _ACEOF 10192 cat confdefs.h >>conftest.$ac_ext 10193 cat >>conftest.$ac_ext <<_ACEOF 5998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10194 5999 /* end confdefs.h. */ 10195 6000 … … 10202 6007 } 10203 6008 _ACEOF 10204 rm -f conftest.$ac_objext conftest$ac_exeext 10205 if { (ac_try="$ac_link" 10206 case "(($ac_try" in 10207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10208 *) ac_try_echo=$ac_try;; 10209 esac 10210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10211 (eval "$ac_link") 2>conftest.er1 10212 ac_status=$? 10213 grep -v '^ *+' conftest.er1 >conftest.err 10214 rm -f conftest.er1 10215 cat conftest.err >&5 10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10217 (exit $ac_status); } && { 10218 test -z "$ac_cxx_werror_flag" || 10219 test ! -s conftest.err 10220 } && test -s conftest$ac_exeext && 10221 $as_test_x conftest$ac_exeext; then 6009 if ac_fn_cxx_try_link "$LINENO"; then : 10222 6010 tcl_cv_cc_m64=yes 10223 6011 else 10224 echo "$as_me: failed program was:" >&5 10225 sed 's/^/| /' conftest.$ac_ext >&5 10226 10227 tcl_cv_cc_m64=no 10228 fi 10229 10230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10231 conftest$ac_exeext conftest.$ac_ext 6012 tcl_cv_cc_m64=no 6013 fi 6014 rm -f core conftest.err conftest.$ac_objext \ 6015 conftest$ac_exeext conftest.$ac_ext 10232 6016 CFLAGS=$hold_cflags 10233 6017 fi 10234 { echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&510235 echo "${ECHO_T}$tcl_cv_cc_m64" >&6; }6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 6019 $as_echo "$tcl_cv_cc_m64" >&6; } 10236 6020 if test $tcl_cv_cc_m64 = yes; then 10237 6021 CFLAGS="$CFLAGS -m64" … … 10252 6036 10253 6037 # XIM peeking works under XFree86. 10254 cat >>confdefs.h <<\_ACEOF 10255 #define PEEK_XCLOSEIM 1 10256 _ACEOF 6038 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 10257 6039 10258 6040 … … 10271 6053 LD_SEARCH_FLAGS="" 10272 6054 else 10273 if test "${ac_cv_header_dld_h+set}" = set; then 10274 { echo "$as_me:$LINENO: checking for dld.h" >&5 10275 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10276 if test "${ac_cv_header_dld_h+set}" = set; then 10277 echo $ECHO_N "(cached) $ECHO_C" >&6 10278 fi 10279 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10280 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10281 else 10282 # Is the header compilable? 10283 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10284 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10285 cat >conftest.$ac_ext <<_ACEOF 10286 /* confdefs.h. */ 10287 _ACEOF 10288 cat confdefs.h >>conftest.$ac_ext 10289 cat >>conftest.$ac_ext <<_ACEOF 10290 /* end confdefs.h. */ 10291 $ac_includes_default 10292 #include <dld.h> 10293 _ACEOF 10294 rm -f conftest.$ac_objext 10295 if { (ac_try="$ac_compile" 10296 case "(($ac_try" in 10297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10298 *) ac_try_echo=$ac_try;; 10299 esac 10300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10301 (eval "$ac_compile") 2>conftest.er1 10302 ac_status=$? 10303 grep -v '^ *+' conftest.er1 >conftest.err 10304 rm -f conftest.er1 10305 cat conftest.err >&5 10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10307 (exit $ac_status); } && { 10308 test -z "$ac_cxx_werror_flag" || 10309 test ! -s conftest.err 10310 } && test -s conftest.$ac_objext; then 10311 ac_header_compiler=yes 10312 else 10313 echo "$as_me: failed program was:" >&5 10314 sed 's/^/| /' conftest.$ac_ext >&5 10315 10316 ac_header_compiler=no 10317 fi 10318 10319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10320 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10321 echo "${ECHO_T}$ac_header_compiler" >&6; } 10322 10323 # Is the header present? 10324 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10325 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10326 cat >conftest.$ac_ext <<_ACEOF 10327 /* confdefs.h. */ 10328 _ACEOF 10329 cat confdefs.h >>conftest.$ac_ext 10330 cat >>conftest.$ac_ext <<_ACEOF 10331 /* end confdefs.h. */ 10332 #include <dld.h> 10333 _ACEOF 10334 if { (ac_try="$ac_cpp conftest.$ac_ext" 10335 case "(($ac_try" in 10336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10337 *) ac_try_echo=$ac_try;; 10338 esac 10339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10340 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10341 ac_status=$? 10342 grep -v '^ *+' conftest.er1 >conftest.err 10343 rm -f conftest.er1 10344 cat conftest.err >&5 10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10346 (exit $ac_status); } >/dev/null && { 10347 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10348 test ! -s conftest.err 10349 }; then 10350 ac_header_preproc=yes 10351 else 10352 echo "$as_me: failed program was:" >&5 10353 sed 's/^/| /' conftest.$ac_ext >&5 10354 10355 ac_header_preproc=no 10356 fi 10357 10358 rm -f conftest.err conftest.$ac_ext 10359 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10360 echo "${ECHO_T}$ac_header_preproc" >&6; } 10361 10362 # So? What about this header? 10363 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10364 yes:no: ) 10365 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10366 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10367 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10368 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10369 ac_header_preproc=yes 10370 ;; 10371 no:yes:* ) 10372 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10373 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10374 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10375 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10376 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10377 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10378 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10379 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10380 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10381 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10382 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10383 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10384 ( cat <<\_ASBOX 10385 ## ----------------------------------- ## 10386 ## Report this to rappture@nanohub.org ## 10387 ## ----------------------------------- ## 10388 _ASBOX 10389 ) | sed "s/^/$as_me: WARNING: /" >&2 10390 ;; 10391 esac 10392 { echo "$as_me:$LINENO: checking for dld.h" >&5 10393 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10394 if test "${ac_cv_header_dld_h+set}" = set; then 10395 echo $ECHO_N "(cached) $ECHO_C" >&6 10396 else 10397 ac_cv_header_dld_h=$ac_header_preproc 10398 fi 10399 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10400 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10401 10402 fi 10403 if test $ac_cv_header_dld_h = yes; then 6055 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6056 if test "x$ac_cv_header_dld_h" = x""yes; then : 10404 6057 10405 6058 SHLIB_LD="ld -shared" … … 10451 6104 NetBSD-*|FreeBSD-[1-2].*) 10452 6105 # Not available on all versions: check for include file. 10453 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10454 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10455 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10456 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10457 echo $ECHO_N "(cached) $ECHO_C" >&6 10458 fi 10459 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10460 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10461 else 10462 # Is the header compilable? 10463 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 10464 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; } 10465 cat >conftest.$ac_ext <<_ACEOF 10466 /* confdefs.h. */ 10467 _ACEOF 10468 cat confdefs.h >>conftest.$ac_ext 10469 cat >>conftest.$ac_ext <<_ACEOF 10470 /* end confdefs.h. */ 10471 $ac_includes_default 10472 #include <dlfcn.h> 10473 _ACEOF 10474 rm -f conftest.$ac_objext 10475 if { (ac_try="$ac_compile" 10476 case "(($ac_try" in 10477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10478 *) ac_try_echo=$ac_try;; 10479 esac 10480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10481 (eval "$ac_compile") 2>conftest.er1 10482 ac_status=$? 10483 grep -v '^ *+' conftest.er1 >conftest.err 10484 rm -f conftest.er1 10485 cat conftest.err >&5 10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10487 (exit $ac_status); } && { 10488 test -z "$ac_cxx_werror_flag" || 10489 test ! -s conftest.err 10490 } && test -s conftest.$ac_objext; then 10491 ac_header_compiler=yes 10492 else 10493 echo "$as_me: failed program was:" >&5 10494 sed 's/^/| /' conftest.$ac_ext >&5 10495 10496 ac_header_compiler=no 10497 fi 10498 10499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10500 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10501 echo "${ECHO_T}$ac_header_compiler" >&6; } 10502 10503 # Is the header present? 10504 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 10505 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; } 10506 cat >conftest.$ac_ext <<_ACEOF 10507 /* confdefs.h. */ 10508 _ACEOF 10509 cat confdefs.h >>conftest.$ac_ext 10510 cat >>conftest.$ac_ext <<_ACEOF 10511 /* end confdefs.h. */ 10512 #include <dlfcn.h> 10513 _ACEOF 10514 if { (ac_try="$ac_cpp conftest.$ac_ext" 10515 case "(($ac_try" in 10516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10517 *) ac_try_echo=$ac_try;; 10518 esac 10519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10520 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10521 ac_status=$? 10522 grep -v '^ *+' conftest.er1 >conftest.err 10523 rm -f conftest.er1 10524 cat conftest.err >&5 10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10526 (exit $ac_status); } >/dev/null && { 10527 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10528 test ! -s conftest.err 10529 }; then 10530 ac_header_preproc=yes 10531 else 10532 echo "$as_me: failed program was:" >&5 10533 sed 's/^/| /' conftest.$ac_ext >&5 10534 10535 ac_header_preproc=no 10536 fi 10537 10538 rm -f conftest.err conftest.$ac_ext 10539 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10540 echo "${ECHO_T}$ac_header_preproc" >&6; } 10541 10542 # So? What about this header? 10543 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10544 yes:no: ) 10545 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 10546 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10547 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 10548 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 10549 ac_header_preproc=yes 10550 ;; 10551 no:yes:* ) 10552 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 10553 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 10554 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 10555 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 10556 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 10557 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 10558 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 10559 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 10560 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 10561 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 10562 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 10563 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 10564 ( cat <<\_ASBOX 10565 ## ----------------------------------- ## 10566 ## Report this to rappture@nanohub.org ## 10567 ## ----------------------------------- ## 10568 _ASBOX 10569 ) | sed "s/^/$as_me: WARNING: /" >&2 10570 ;; 10571 esac 10572 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10573 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10574 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10575 echo $ECHO_N "(cached) $ECHO_C" >&6 10576 else 10577 ac_cv_header_dlfcn_h=$ac_header_preproc 10578 fi 10579 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10580 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10581 10582 fi 10583 if test $ac_cv_header_dlfcn_h = yes; then 6106 ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 6107 if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 10584 6108 10585 6109 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 10592 6116 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 10593 6117 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 10594 { echo "$as_me:$LINENO: checking for ELF" >&5 10595 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10596 if test "${tcl_cv_ld_elf+set}" = set; then 10597 echo $ECHO_N "(cached) $ECHO_C" >&6 10598 else 10599 10600 cat >conftest.$ac_ext <<_ACEOF 10601 /* confdefs.h. */ 10602 _ACEOF 10603 cat confdefs.h >>conftest.$ac_ext 10604 cat >>conftest.$ac_ext <<_ACEOF 6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6119 $as_echo_n "checking for ELF... " >&6; } 6120 if test "${tcl_cv_ld_elf+set}" = set; then : 6121 $as_echo_n "(cached) " >&6 6122 else 6123 6124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10605 6125 /* end confdefs.h. */ 10606 6126 … … 10611 6131 _ACEOF 10612 6132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10613 $EGREP "yes" >/dev/null 2>&1; then 6133 $EGREP "yes" >/dev/null 2>&1; then : 10614 6134 tcl_cv_ld_elf=yes 10615 6135 else … … 10619 6139 10620 6140 fi 10621 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&510622 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 6142 $as_echo "$tcl_cv_ld_elf" >&6; } 10623 6143 if test $tcl_cv_ld_elf = yes; then 10624 6144 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' … … 10678 6198 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10679 6199 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 10680 { echo "$as_me:$LINENO: checking for ELF" >&5 10681 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10682 if test "${tcl_cv_ld_elf+set}" = set; then 10683 echo $ECHO_N "(cached) $ECHO_C" >&6 10684 else 10685 10686 cat >conftest.$ac_ext <<_ACEOF 10687 /* confdefs.h. */ 10688 _ACEOF 10689 cat confdefs.h >>conftest.$ac_ext 10690 cat >>conftest.$ac_ext <<_ACEOF 6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6201 $as_echo_n "checking for ELF... " >&6; } 6202 if test "${tcl_cv_ld_elf+set}" = set; then : 6203 $as_echo_n "(cached) " >&6 6204 else 6205 6206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10691 6207 /* end confdefs.h. */ 10692 6208 … … 10697 6213 _ACEOF 10698 6214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10699 $EGREP "yes" >/dev/null 2>&1; then 6215 $EGREP "yes" >/dev/null 2>&1; then : 10700 6216 tcl_cv_ld_elf=yes 10701 6217 else … … 10705 6221 10706 6222 fi 10707 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&510708 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 6224 $as_echo "$tcl_cv_ld_elf" >&6; } 10709 6225 if test $tcl_cv_ld_elf = yes; then 10710 6226 LDFLAGS=-Wl,-export-dynamic … … 10760 6276 case `arch` in 10761 6277 ppc) 10762 { echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&510763 echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; }10764 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then 10765 echo $ECHO_N "(cached) $ECHO_C" >&66278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 6279 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 6280 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then : 6281 $as_echo_n "(cached) " >&6 10766 6282 else 10767 6283 10768 6284 hold_cflags=$CFLAGS 10769 6285 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 10770 cat >conftest.$ac_ext <<_ACEOF 10771 /* confdefs.h. */ 10772 _ACEOF 10773 cat confdefs.h >>conftest.$ac_ext 10774 cat >>conftest.$ac_ext <<_ACEOF 6286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10775 6287 /* end confdefs.h. */ 10776 6288 … … 10783 6295 } 10784 6296 _ACEOF 10785 rm -f conftest.$ac_objext conftest$ac_exeext 10786 if { (ac_try="$ac_link" 10787 case "(($ac_try" in 10788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10789 *) ac_try_echo=$ac_try;; 10790 esac 10791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10792 (eval "$ac_link") 2>conftest.er1 10793 ac_status=$? 10794 grep -v '^ *+' conftest.er1 >conftest.err 10795 rm -f conftest.er1 10796 cat conftest.err >&5 10797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10798 (exit $ac_status); } && { 10799 test -z "$ac_cxx_werror_flag" || 10800 test ! -s conftest.err 10801 } && test -s conftest$ac_exeext && 10802 $as_test_x conftest$ac_exeext; then 6297 if ac_fn_cxx_try_link "$LINENO"; then : 10803 6298 tcl_cv_cc_arch_ppc64=yes 10804 6299 else 10805 echo "$as_me: failed program was:" >&5 10806 sed 's/^/| /' conftest.$ac_ext >&5 10807 10808 tcl_cv_cc_arch_ppc64=no 10809 fi 10810 10811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10812 conftest$ac_exeext conftest.$ac_ext 6300 tcl_cv_cc_arch_ppc64=no 6301 fi 6302 rm -f core conftest.err conftest.$ac_objext \ 6303 conftest$ac_exeext conftest.$ac_ext 10813 6304 CFLAGS=$hold_cflags 10814 6305 fi 10815 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&510816 echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; }6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 6307 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 10817 6308 if test $tcl_cv_cc_arch_ppc64 = yes; then 10818 6309 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" … … 10820 6311 fi;; 10821 6312 i386) 10822 { echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&510823 echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; }10824 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then 10825 echo $ECHO_N "(cached) $ECHO_C" >&66313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 6314 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 6315 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then : 6316 $as_echo_n "(cached) " >&6 10826 6317 else 10827 6318 10828 6319 hold_cflags=$CFLAGS 10829 6320 CFLAGS="$CFLAGS -arch x86_64" 10830 cat >conftest.$ac_ext <<_ACEOF 10831 /* confdefs.h. */ 10832 _ACEOF 10833 cat confdefs.h >>conftest.$ac_ext 10834 cat >>conftest.$ac_ext <<_ACEOF 6321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10835 6322 /* end confdefs.h. */ 10836 6323 … … 10843 6330 } 10844 6331 _ACEOF 10845 rm -f conftest.$ac_objext conftest$ac_exeext 10846 if { (ac_try="$ac_link" 10847 case "(($ac_try" in 10848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10849 *) ac_try_echo=$ac_try;; 10850 esac 10851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10852 (eval "$ac_link") 2>conftest.er1 10853 ac_status=$? 10854 grep -v '^ *+' conftest.er1 >conftest.err 10855 rm -f conftest.er1 10856 cat conftest.err >&5 10857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10858 (exit $ac_status); } && { 10859 test -z "$ac_cxx_werror_flag" || 10860 test ! -s conftest.err 10861 } && test -s conftest$ac_exeext && 10862 $as_test_x conftest$ac_exeext; then 6332 if ac_fn_cxx_try_link "$LINENO"; then : 10863 6333 tcl_cv_cc_arch_x86_64=yes 10864 6334 else 10865 echo "$as_me: failed program was:" >&5 10866 sed 's/^/| /' conftest.$ac_ext >&5 10867 10868 tcl_cv_cc_arch_x86_64=no 10869 fi 10870 10871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10872 conftest$ac_exeext conftest.$ac_ext 6335 tcl_cv_cc_arch_x86_64=no 6336 fi 6337 rm -f core conftest.err conftest.$ac_objext \ 6338 conftest$ac_exeext conftest.$ac_ext 10873 6339 CFLAGS=$hold_cflags 10874 6340 fi 10875 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&510876 echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; }6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 6342 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 10877 6343 if test $tcl_cv_cc_arch_x86_64 = yes; then 10878 6344 CFLAGS="$CFLAGS -arch x86_64" … … 10880 6346 fi;; 10881 6347 *) 10882 { echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&510883 echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;6348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 6349 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 10884 6350 esac 10885 6351 else … … 10890 6356 fi 10891 6357 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 10892 { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&510893 echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; }10894 if test "${tcl_cv_ld_single_module+set}" = set; then 10895 echo $ECHO_N "(cached) $ECHO_C" >&66358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 6359 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 6360 if test "${tcl_cv_ld_single_module+set}" = set; then : 6361 $as_echo_n "(cached) " >&6 10896 6362 else 10897 6363 10898 6364 hold_ldflags=$LDFLAGS 10899 6365 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 10900 cat >conftest.$ac_ext <<_ACEOF 10901 /* confdefs.h. */ 10902 _ACEOF 10903 cat confdefs.h >>conftest.$ac_ext 10904 cat >>conftest.$ac_ext <<_ACEOF 6366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10905 6367 /* end confdefs.h. */ 10906 6368 … … 10913 6375 } 10914 6376 _ACEOF 10915 rm -f conftest.$ac_objext conftest$ac_exeext 10916 if { (ac_try="$ac_link" 10917 case "(($ac_try" in 10918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10919 *) ac_try_echo=$ac_try;; 10920 esac 10921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10922 (eval "$ac_link") 2>conftest.er1 10923 ac_status=$? 10924 grep -v '^ *+' conftest.er1 >conftest.err 10925 rm -f conftest.er1 10926 cat conftest.err >&5 10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10928 (exit $ac_status); } && { 10929 test -z "$ac_cxx_werror_flag" || 10930 test ! -s conftest.err 10931 } && test -s conftest$ac_exeext && 10932 $as_test_x conftest$ac_exeext; then 6377 if ac_fn_cxx_try_link "$LINENO"; then : 10933 6378 tcl_cv_ld_single_module=yes 10934 6379 else 10935 echo "$as_me: failed program was:" >&5 10936 sed 's/^/| /' conftest.$ac_ext >&5 10937 10938 tcl_cv_ld_single_module=no 10939 fi 10940 10941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10942 conftest$ac_exeext conftest.$ac_ext 6380 tcl_cv_ld_single_module=no 6381 fi 6382 rm -f core conftest.err conftest.$ac_objext \ 6383 conftest$ac_exeext conftest.$ac_ext 10943 6384 LDFLAGS=$hold_ldflags 10944 6385 fi 10945 { echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&510946 echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; }6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 6387 $as_echo "$tcl_cv_ld_single_module" >&6; } 10947 6388 if test $tcl_cv_ld_single_module = yes; then 10948 6389 SHLIB_LD="${SHLIB_LD} -Wl,-single_module" … … 10957 6398 LDFLAGS="$LDFLAGS -prebind" 10958 6399 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 10959 { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&510960 echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; }10961 if test "${tcl_cv_ld_search_paths_first+set}" = set; then 10962 echo $ECHO_N "(cached) $ECHO_C" >&66400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 6401 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 6402 if test "${tcl_cv_ld_search_paths_first+set}" = set; then : 6403 $as_echo_n "(cached) " >&6 10963 6404 else 10964 6405 10965 6406 hold_ldflags=$LDFLAGS 10966 6407 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 10967 cat >conftest.$ac_ext <<_ACEOF 10968 /* confdefs.h. */ 10969 _ACEOF 10970 cat confdefs.h >>conftest.$ac_ext 10971 cat >>conftest.$ac_ext <<_ACEOF 6408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10972 6409 /* end confdefs.h. */ 10973 6410 … … 10980 6417 } 10981 6418 _ACEOF 10982 rm -f conftest.$ac_objext conftest$ac_exeext 10983 if { (ac_try="$ac_link" 10984 case "(($ac_try" in 10985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10986 *) ac_try_echo=$ac_try;; 10987 esac 10988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10989 (eval "$ac_link") 2>conftest.er1 10990 ac_status=$? 10991 grep -v '^ *+' conftest.er1 >conftest.err 10992 rm -f conftest.er1 10993 cat conftest.err >&5 10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10995 (exit $ac_status); } && { 10996 test -z "$ac_cxx_werror_flag" || 10997 test ! -s conftest.err 10998 } && test -s conftest$ac_exeext && 10999 $as_test_x conftest$ac_exeext; then 6419 if ac_fn_cxx_try_link "$LINENO"; then : 11000 6420 tcl_cv_ld_search_paths_first=yes 11001 6421 else 11002 echo "$as_me: failed program was:" >&5 11003 sed 's/^/| /' conftest.$ac_ext >&5 11004 11005 tcl_cv_ld_search_paths_first=no 11006 fi 11007 11008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11009 conftest$ac_exeext conftest.$ac_ext 6422 tcl_cv_ld_search_paths_first=no 6423 fi 6424 rm -f core conftest.err conftest.$ac_objext \ 6425 conftest$ac_exeext conftest.$ac_ext 11010 6426 LDFLAGS=$hold_ldflags 11011 6427 fi 11012 { echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&511013 echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; }6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 6429 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 11014 6430 if test $tcl_cv_ld_search_paths_first = yes; then 11015 6431 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" … … 11020 6436 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 11021 6437 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 11022 { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&511023 echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; }6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5 6439 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 11024 6440 # Check whether --enable-corefoundation was given. 11025 if test "${enable_corefoundation+set}" = set; then 6441 if test "${enable_corefoundation+set}" = set; then : 11026 6442 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 11027 6443 else … … 11029 6445 fi 11030 6446 11031 { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&511032 echo "${ECHO_T}$tcl_corefoundation" >&6; }6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5 6448 $as_echo "$tcl_corefoundation" >&6; } 11033 6449 if test $tcl_corefoundation = yes; then 11034 { echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&511035 echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; }11036 if test "${tcl_cv_lib_corefoundation+set}" = set; then 11037 echo $ECHO_N "(cached) $ECHO_C" >&66450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 6451 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 6452 if test "${tcl_cv_lib_corefoundation+set}" = set; then : 6453 $as_echo_n "(cached) " >&6 11038 6454 else 11039 6455 … … 11046 6462 done; fi 11047 6463 LIBS="$LIBS -framework CoreFoundation" 11048 cat >conftest.$ac_ext <<_ACEOF 11049 /* confdefs.h. */ 11050 _ACEOF 11051 cat confdefs.h >>conftest.$ac_ext 11052 cat >>conftest.$ac_ext <<_ACEOF 6464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11053 6465 /* end confdefs.h. */ 11054 6466 #include <CoreFoundation/CoreFoundation.h> … … 11061 6473 } 11062 6474 _ACEOF 11063 rm -f conftest.$ac_objext conftest$ac_exeext 11064 if { (ac_try="$ac_link" 11065 case "(($ac_try" in 11066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11067 *) ac_try_echo=$ac_try;; 11068 esac 11069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11070 (eval "$ac_link") 2>conftest.er1 11071 ac_status=$? 11072 grep -v '^ *+' conftest.er1 >conftest.err 11073 rm -f conftest.er1 11074 cat conftest.err >&5 11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11076 (exit $ac_status); } && { 11077 test -z "$ac_cxx_werror_flag" || 11078 test ! -s conftest.err 11079 } && test -s conftest$ac_exeext && 11080 $as_test_x conftest$ac_exeext; then 6475 if ac_fn_cxx_try_link "$LINENO"; then : 11081 6476 tcl_cv_lib_corefoundation=yes 11082 6477 else 11083 echo "$as_me: failed program was:" >&5 11084 sed 's/^/| /' conftest.$ac_ext >&5 11085 11086 tcl_cv_lib_corefoundation=no 11087 fi 11088 11089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11090 conftest$ac_exeext conftest.$ac_ext 6478 tcl_cv_lib_corefoundation=no 6479 fi 6480 rm -f core conftest.err conftest.$ac_objext \ 6481 conftest$ac_exeext conftest.$ac_ext 11091 6482 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 11092 6483 eval $v'="$hold_'$v'"' 11093 6484 done; fi; LIBS=$hold_libs 11094 6485 fi 11095 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&511096 echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; }6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5 6487 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 11097 6488 if test $tcl_cv_lib_corefoundation = yes; then 11098 6489 LIBS="$LIBS -framework CoreFoundation" 11099 cat >>confdefs.h <<\_ACEOF 11100 #define HAVE_COREFOUNDATION 1 11101 _ACEOF 6490 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 11102 6491 11103 6492 else … … 11105 6494 fi 11106 6495 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 11107 { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&511108 echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; }11109 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then 11110 echo $ECHO_N "(cached) $ECHO_C" >&66496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 6497 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 6498 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then : 6499 $as_echo_n "(cached) " >&6 11111 6500 else 11112 6501 … … 11114 6503 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 11115 6504 done 11116 cat >conftest.$ac_ext <<_ACEOF 11117 /* confdefs.h. */ 11118 _ACEOF 11119 cat confdefs.h >>conftest.$ac_ext 11120 cat >>conftest.$ac_ext <<_ACEOF 6505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11121 6506 /* end confdefs.h. */ 11122 6507 #include <CoreFoundation/CoreFoundation.h> … … 11129 6514 } 11130 6515 _ACEOF 11131 rm -f conftest.$ac_objext conftest$ac_exeext 11132 if { (ac_try="$ac_link" 11133 case "(($ac_try" in 11134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11135 *) ac_try_echo=$ac_try;; 11136 esac 11137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11138 (eval "$ac_link") 2>conftest.er1 11139 ac_status=$? 11140 grep -v '^ *+' conftest.er1 >conftest.err 11141 rm -f conftest.er1 11142 cat conftest.err >&5 11143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11144 (exit $ac_status); } && { 11145 test -z "$ac_cxx_werror_flag" || 11146 test ! -s conftest.err 11147 } && test -s conftest$ac_exeext && 11148 $as_test_x conftest$ac_exeext; then 6516 if ac_fn_cxx_try_link "$LINENO"; then : 11149 6517 tcl_cv_lib_corefoundation_64=yes 11150 6518 else 11151 echo "$as_me: failed program was:" >&5 11152 sed 's/^/| /' conftest.$ac_ext >&5 11153 11154 tcl_cv_lib_corefoundation_64=no 11155 fi 11156 11157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11158 conftest$ac_exeext conftest.$ac_ext 6519 tcl_cv_lib_corefoundation_64=no 6520 fi 6521 rm -f core conftest.err conftest.$ac_objext \ 6522 conftest$ac_exeext conftest.$ac_ext 11159 6523 for v in CFLAGS CPPFLAGS LDFLAGS; do 11160 6524 eval $v'="$hold_'$v'"' 11161 6525 done 11162 6526 fi 11163 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&511164 echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; }6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5 6528 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 11165 6529 if test $tcl_cv_lib_corefoundation_64 = no; then 11166 cat >>confdefs.h <<\_ACEOF 11167 #define NO_COREFOUNDATION_64 1 11168 _ACEOF 6530 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 11169 6531 11170 6532 fi 11171 6533 fi 11172 6534 fi 11173 cat >>confdefs.h <<\_ACEOF 11174 #define MAC_OSX_TCL 1 11175 _ACEOF 6535 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 11176 6536 11177 6537 ;; … … 11188 6548 OS/390-*) 11189 6549 CFLAGS_OPTIMIZE="" # Optimizer is buggy 11190 cat >>confdefs.h <<\_ACEOF 11191 #define _OE_SOCKETS 1 11192 _ACEOF 6550 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 11193 6551 # needed in sys/socket.h 11194 6552 ;; … … 11331 6689 # won't define thread-safe library routines. 11332 6690 11333 cat >>confdefs.h <<\_ACEOF 11334 #define _REENTRANT 1 11335 _ACEOF 11336 11337 cat >>confdefs.h <<\_ACEOF 11338 #define _POSIX_PTHREAD_SEMANTICS 1 11339 _ACEOF 6691 $as_echo "#define _REENTRANT 1" >>confdefs.h 6692 6693 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11340 6694 11341 6695 … … 11363 6717 # won't define thread-safe library routines. 11364 6718 11365 cat >>confdefs.h <<\_ACEOF 11366 #define _REENTRANT 1 11367 _ACEOF 11368 11369 cat >>confdefs.h <<\_ACEOF 11370 #define _POSIX_PTHREAD_SEMANTICS 1 11371 _ACEOF 6719 $as_echo "#define _REENTRANT 1" >>confdefs.h 6720 6721 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11372 6722 11373 6723 … … 11380 6730 if test "$GCC" = "yes" ; then 11381 6731 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 11382 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&511383 echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}6732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 6733 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 11384 6734 else 11385 6735 do64bit_ok=yes … … 11402 6752 elif test "$arch" = "amd64 i386" ; then 11403 6753 if test "$GCC" = "yes" ; then 11404 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&511405 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}6754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 6755 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 11406 6756 else 11407 6757 do64bit_ok=yes … … 11410 6760 fi 11411 6761 else 11412 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&511413 echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}6762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 6763 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 11414 6764 fi 11415 6765 fi … … 11469 6819 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 11470 6820 # that don't grok the -Bexport option. Test that it does. 11471 { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&511472 echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; }11473 if test "${tcl_cv_ld_Bexport+set}" = set; then 11474 echo $ECHO_N "(cached) $ECHO_C" >&66821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 6822 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 6823 if test "${tcl_cv_ld_Bexport+set}" = set; then : 6824 $as_echo_n "(cached) " >&6 11475 6825 else 11476 6826 11477 6827 hold_ldflags=$LDFLAGS 11478 6828 LDFLAGS="$LDFLAGS -Wl,-Bexport" 11479 cat >conftest.$ac_ext <<_ACEOF 11480 /* confdefs.h. */ 11481 _ACEOF 11482 cat confdefs.h >>conftest.$ac_ext 11483 cat >>conftest.$ac_ext <<_ACEOF 6829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11484 6830 /* end confdefs.h. */ 11485 6831 … … 11492 6838 } 11493 6839 _ACEOF 11494 rm -f conftest.$ac_objext conftest$ac_exeext 11495 if { (ac_try="$ac_link" 11496 case "(($ac_try" in 11497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11498 *) ac_try_echo=$ac_try;; 11499 esac 11500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11501 (eval "$ac_link") 2>conftest.er1 11502 ac_status=$? 11503 grep -v '^ *+' conftest.er1 >conftest.err 11504 rm -f conftest.er1 11505 cat conftest.err >&5 11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11507 (exit $ac_status); } && { 11508 test -z "$ac_cxx_werror_flag" || 11509 test ! -s conftest.err 11510 } && test -s conftest$ac_exeext && 11511 $as_test_x conftest$ac_exeext; then 6840 if ac_fn_cxx_try_link "$LINENO"; then : 11512 6841 tcl_cv_ld_Bexport=yes 11513 6842 else 11514 echo "$as_me: failed program was:" >&5 11515 sed 's/^/| /' conftest.$ac_ext >&5 11516 11517 tcl_cv_ld_Bexport=no 11518 fi 11519 11520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11521 conftest$ac_exeext conftest.$ac_ext 6843 tcl_cv_ld_Bexport=no 6844 fi 6845 rm -f core conftest.err conftest.$ac_objext \ 6846 conftest$ac_exeext conftest.$ac_ext 11522 6847 LDFLAGS=$hold_ldflags 11523 6848 fi 11524 { echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&511525 echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; }6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 6850 $as_echo "$tcl_cv_ld_Bexport" >&6; } 11526 6851 if test $tcl_cv_ld_Bexport = yes; then 11527 6852 LDFLAGS="$LDFLAGS -Wl,-Bexport" … … 11533 6858 11534 6859 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 11535 { echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&511536 echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}6860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 6861 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 11537 6862 fi 11538 6863 … … 11560 6885 11561 6886 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 11562 { echo "$as_me:$LINENO: checking sys/exec.h" >&5 11563 echo $ECHO_N "checking sys/exec.h... $ECHO_C" >&6; } 11564 if test "${tcl_cv_sysexec_h+set}" = set; then 11565 echo $ECHO_N "(cached) $ECHO_C" >&6 11566 else 11567 11568 cat >conftest.$ac_ext <<_ACEOF 11569 /* confdefs.h. */ 11570 _ACEOF 11571 cat confdefs.h >>conftest.$ac_ext 11572 cat >>conftest.$ac_ext <<_ACEOF 6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 6888 $as_echo_n "checking sys/exec.h... " >&6; } 6889 if test "${tcl_cv_sysexec_h+set}" = set; then : 6890 $as_echo_n "(cached) " >&6 6891 else 6892 6893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11573 6894 /* end confdefs.h. */ 11574 6895 #include <sys/exec.h> … … 11592 6913 } 11593 6914 _ACEOF 11594 rm -f conftest.$ac_objext 11595 if { (ac_try="$ac_compile" 11596 case "(($ac_try" in 11597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11598 *) ac_try_echo=$ac_try;; 11599 esac 11600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11601 (eval "$ac_compile") 2>conftest.er1 11602 ac_status=$? 11603 grep -v '^ *+' conftest.er1 >conftest.err 11604 rm -f conftest.er1 11605 cat conftest.err >&5 11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11607 (exit $ac_status); } && { 11608 test -z "$ac_cxx_werror_flag" || 11609 test ! -s conftest.err 11610 } && test -s conftest.$ac_objext; then 6915 if ac_fn_cxx_try_compile "$LINENO"; then : 11611 6916 tcl_cv_sysexec_h=usable 11612 6917 else 11613 echo "$as_me: failed program was:" >&5 11614 sed 's/^/| /' conftest.$ac_ext >&5 11615 11616 tcl_cv_sysexec_h=unusable 11617 fi 11618 6918 tcl_cv_sysexec_h=unusable 6919 fi 11619 6920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11620 6921 fi 11621 { echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&511622 echo "${ECHO_T}$tcl_cv_sysexec_h" >&6; }6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5 6923 $as_echo "$tcl_cv_sysexec_h" >&6; } 11623 6924 if test $tcl_cv_sysexec_h = usable; then 11624 cat >>confdefs.h <<\_ACEOF 11625 #define USE_SYS_EXEC_H 1 11626 _ACEOF 6925 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 11627 6926 11628 6927 else 11629 { echo "$as_me:$LINENO: checking a.out.h" >&5 11630 echo $ECHO_N "checking a.out.h... $ECHO_C" >&6; } 11631 if test "${tcl_cv_aout_h+set}" = set; then 11632 echo $ECHO_N "(cached) $ECHO_C" >&6 11633 else 11634 11635 cat >conftest.$ac_ext <<_ACEOF 11636 /* confdefs.h. */ 11637 _ACEOF 11638 cat confdefs.h >>conftest.$ac_ext 11639 cat >>conftest.$ac_ext <<_ACEOF 6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 6929 $as_echo_n "checking a.out.h... " >&6; } 6930 if test "${tcl_cv_aout_h+set}" = set; then : 6931 $as_echo_n "(cached) " >&6 6932 else 6933 6934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11640 6935 /* end confdefs.h. */ 11641 6936 #include <a.out.h> … … 11659 6954 } 11660 6955 _ACEOF 11661 rm -f conftest.$ac_objext 11662 if { (ac_try="$ac_compile" 11663 case "(($ac_try" in 11664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11665 *) ac_try_echo=$ac_try;; 11666 esac 11667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11668 (eval "$ac_compile") 2>conftest.er1 11669 ac_status=$? 11670 grep -v '^ *+' conftest.er1 >conftest.err 11671 rm -f conftest.er1 11672 cat conftest.err >&5 11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11674 (exit $ac_status); } && { 11675 test -z "$ac_cxx_werror_flag" || 11676 test ! -s conftest.err 11677 } && test -s conftest.$ac_objext; then 6956 if ac_fn_cxx_try_compile "$LINENO"; then : 11678 6957 tcl_cv_aout_h=usable 11679 6958 else 11680 echo "$as_me: failed program was:" >&5 11681 sed 's/^/| /' conftest.$ac_ext >&5 11682 11683 tcl_cv_aout_h=unusable 11684 fi 11685 6959 tcl_cv_aout_h=unusable 6960 fi 11686 6961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11687 6962 fi 11688 { echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&511689 echo "${ECHO_T}$tcl_cv_aout_h" >&6; }6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5 6964 $as_echo "$tcl_cv_aout_h" >&6; } 11690 6965 if test $tcl_cv_aout_h = usable; then 11691 cat >>confdefs.h <<\_ACEOF 11692 #define USE_A_OUT_H 1 11693 _ACEOF 6966 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 11694 6967 11695 6968 else 11696 { echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 11697 echo $ECHO_N "checking sys/exec_aout.h... $ECHO_C" >&6; } 11698 if test "${tcl_cv_sysexecaout_h+set}" = set; then 11699 echo $ECHO_N "(cached) $ECHO_C" >&6 11700 else 11701 11702 cat >conftest.$ac_ext <<_ACEOF 11703 /* confdefs.h. */ 11704 _ACEOF 11705 cat confdefs.h >>conftest.$ac_ext 11706 cat >>conftest.$ac_ext <<_ACEOF 6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 6970 $as_echo_n "checking sys/exec_aout.h... " >&6; } 6971 if test "${tcl_cv_sysexecaout_h+set}" = set; then : 6972 $as_echo_n "(cached) " >&6 6973 else 6974 6975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11707 6976 /* end confdefs.h. */ 11708 6977 #include <sys/exec_aout.h> … … 11726 6995 } 11727 6996 _ACEOF 11728 rm -f conftest.$ac_objext 11729 if { (ac_try="$ac_compile" 11730 case "(($ac_try" in 11731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11732 *) ac_try_echo=$ac_try;; 11733 esac 11734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11735 (eval "$ac_compile") 2>conftest.er1 11736 ac_status=$? 11737 grep -v '^ *+' conftest.er1 >conftest.err 11738 rm -f conftest.er1 11739 cat conftest.err >&5 11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11741 (exit $ac_status); } && { 11742 test -z "$ac_cxx_werror_flag" || 11743 test ! -s conftest.err 11744 } && test -s conftest.$ac_objext; then 6997 if ac_fn_cxx_try_compile "$LINENO"; then : 11745 6998 tcl_cv_sysexecaout_h=usable 11746 6999 else 11747 echo "$as_me: failed program was:" >&5 11748 sed 's/^/| /' conftest.$ac_ext >&5 11749 11750 tcl_cv_sysexecaout_h=unusable 11751 fi 11752 7000 tcl_cv_sysexecaout_h=unusable 7001 fi 11753 7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11754 7003 fi 11755 { echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&511756 echo "${ECHO_T}$tcl_cv_sysexecaout_h" >&6; }7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5 7005 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 11757 7006 if test $tcl_cv_sysexecaout_h = usable; then 11758 cat >>confdefs.h <<\_ACEOF 11759 #define USE_SYS_EXEC_AOUT_H 1 11760 _ACEOF 7007 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 11761 7008 11762 7009 else … … 11770 7017 11771 7018 # Check whether --enable-load was given. 11772 if test "${enable_load+set}" = set; then 7019 if test "${enable_load+set}" = set; then : 11773 7020 enableval=$enable_load; tcl_ok=$enableval 11774 7021 else … … 11901 7148 done 11902 7149 if test "x${make_command}" = "x" ; then 11903 { { echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5 11904 echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;} 11905 { (exit 1); exit 1; }; } 7150 as_fn_error "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5 11906 7151 fi 11907 7152 MAKE=${make_command} … … 11909 7154 11910 7155 # Check whether --enable-gui was given. 11911 if test "${enable_gui+set}" = set; then 7156 if test "${enable_gui+set}" = set; then : 11912 7157 enableval=$enable_gui; 11913 7158 else … … 11925 7170 11926 7171 # Check whether --with-tclsh was given. 11927 if test "${with_tclsh+set}" = set; then 7172 if test "${with_tclsh+set}" = set; then : 11928 7173 withval=$with_tclsh; 11929 7174 else … … 11934 7179 TCLSH= 11935 7180 if test "$with_tclsh" != "no" ; then 11936 { echo "$as_me:$LINENO: checking for tclsh" >&511937 echo $ECHO_N "checking for tclsh... $ECHO_C" >&6; }7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclsh" >&5 7182 $as_echo_n "checking for tclsh... " >&6; } 11938 7183 if test -x "$with_tclsh/bin/tclsh" 11939 7184 then … … 11948 7193 # Extract the first word of "tclsh", so it can be a program name with args. 11949 7194 set dummy tclsh; ac_word=$2 11950 { echo "$as_me:$LINENO: checking for $ac_word" >&511951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }11952 if test "${ac_cv_path_TCLSH+set}" = set; then 11953 echo $ECHO_N "(cached) $ECHO_C" >&67195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7196 $as_echo_n "checking for $ac_word... " >&6; } 7197 if test "${ac_cv_path_TCLSH+set}" = set; then : 7198 $as_echo_n "(cached) " >&6 11954 7199 else 11955 7200 case $TCLSH in … … 11963 7208 IFS=$as_save_IFS 11964 7209 test -z "$as_dir" && as_dir=. 11965 for ac_exec_ext in '' $ac_executable_extensions; do7210 for ac_exec_ext in '' $ac_executable_extensions; do 11966 7211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11967 7212 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 11968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11969 7214 break 2 11970 7215 fi 11971 7216 done 11972 done7217 done 11973 7218 IFS=$as_save_IFS 11974 7219 … … 11978 7223 TCLSH=$ac_cv_path_TCLSH 11979 7224 if test -n "$TCLSH"; then 11980 { echo "$as_me:$LINENO: result: $TCLSH" >&511981 echo "${ECHO_T}$TCLSH" >&6; }11982 else 11983 { echo "$as_me:$LINENO: result: no" >&511984 echo "${ECHO_T}no" >&6; }7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 7226 $as_echo "$TCLSH" >&6; } 7227 else 7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7229 $as_echo "no" >&6; } 11985 7230 fi 11986 7231 … … 11989 7234 fi 11990 7235 fi 11991 { echo "$as_me:$LINENO: result: ${TCLSH}" >&511992 echo "${ECHO_T}${TCLSH}" >&6; }7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCLSH}" >&5 7237 $as_echo "${TCLSH}" >&6; } 11993 7238 11994 7239 … … 11996 7241 11997 7242 # Check whether --with-vtk was given. 11998 if test "${with_vtk+set}" = set; then 7243 if test "${with_vtk+set}" = set; then : 11999 7244 withval=$with_vtk; with_vtk=$withval 12000 7245 else … … 12003 7248 12004 7249 12005 { echo "$as_me:$LINENO: checking for vtk" >&512006 echo $ECHO_N "checking for vtk... $ECHO_C" >&6; }7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtk" >&5 7251 $as_echo_n "checking for vtk... " >&6; } 12007 7252 VTKDIR="" 12008 7253 … … 12027 7272 fi 12028 7273 12029 { echo "$as_me:$LINENO: result: $VTKDIR" >&512030 echo "${ECHO_T}$VTKDIR" >&6; }7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTKDIR" >&5 7275 $as_echo "$VTKDIR" >&6; } 12031 7276 12032 7277 12033 7278 12034 7279 # Check whether --with-matlab was given. 12035 if test "${with_matlab+set}" = set; then 7280 if test "${with_matlab+set}" = set; then : 12036 7281 withval=$with_matlab; with_matlab=$withval 12037 7282 else … … 12050 7295 # Extract the first word of "matlab", so it can be a program name with args. 12051 7296 set dummy matlab; ac_word=$2 12052 { echo "$as_me:$LINENO: checking for $ac_word" >&512053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12054 if test "${ac_cv_path_MATLAB+set}" = set; then 12055 echo $ECHO_N "(cached) $ECHO_C" >&67297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7298 $as_echo_n "checking for $ac_word... " >&6; } 7299 if test "${ac_cv_path_MATLAB+set}" = set; then : 7300 $as_echo_n "(cached) " >&6 12056 7301 else 12057 7302 case $MATLAB in … … 12065 7310 IFS=$as_save_IFS 12066 7311 test -z "$as_dir" && as_dir=. 12067 for ac_exec_ext in '' $ac_executable_extensions; do7312 for ac_exec_ext in '' $ac_executable_extensions; do 12068 7313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12069 7314 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12071 7316 break 2 12072 7317 fi 12073 7318 done 12074 done7319 done 12075 7320 IFS=$as_save_IFS 12076 7321 … … 12080 7325 MATLAB=$ac_cv_path_MATLAB 12081 7326 if test -n "$MATLAB"; then 12082 { echo "$as_me:$LINENO: result: $MATLAB" >&512083 echo "${ECHO_T}$MATLAB" >&6; }12084 else 12085 { echo "$as_me:$LINENO: result: no" >&512086 echo "${ECHO_T}no" >&6; }7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 7328 $as_echo "$MATLAB" >&6; } 7329 else 7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7331 $as_echo "no" >&6; } 12087 7332 fi 12088 7333 … … 12091 7336 # Extract the first word of "matlab", so it can be a program name with args. 12092 7337 set dummy matlab; ac_word=$2 12093 { echo "$as_me:$LINENO: checking for $ac_word" >&512094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12095 if test "${ac_cv_path_MATLAB+set}" = set; then 12096 echo $ECHO_N "(cached) $ECHO_C" >&67338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7339 $as_echo_n "checking for $ac_word... " >&6; } 7340 if test "${ac_cv_path_MATLAB+set}" = set; then : 7341 $as_echo_n "(cached) " >&6 12097 7342 else 12098 7343 case $MATLAB in … … 12107 7352 IFS=$as_save_IFS 12108 7353 test -z "$as_dir" && as_dir=. 12109 for ac_exec_ext in '' $ac_executable_extensions; do7354 for ac_exec_ext in '' $ac_executable_extensions; do 12110 7355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12111 7356 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12113 7358 break 2 12114 7359 fi 12115 7360 done 12116 done7361 done 12117 7362 IFS=$as_save_IFS 12118 7363 … … 12122 7367 MATLAB=$ac_cv_path_MATLAB 12123 7368 if test -n "$MATLAB"; then 12124 { echo "$as_me:$LINENO: result: $MATLAB" >&512125 echo "${ECHO_T}$MATLAB" >&6; }12126 else 12127 { echo "$as_me:$LINENO: result: no" >&512128 echo "${ECHO_T}no" >&6; }7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 7370 $as_echo "$MATLAB" >&6; } 7371 else 7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7373 $as_echo "no" >&6; } 12129 7374 fi 12130 7375 … … 12142 7387 # Extract the first word of "mex", so it can be a program name with args. 12143 7388 set dummy mex; ac_word=$2 12144 { echo "$as_me:$LINENO: checking for $ac_word" >&512145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12146 if test "${ac_cv_path_MEX+set}" = set; then 12147 echo $ECHO_N "(cached) $ECHO_C" >&67389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7390 $as_echo_n "checking for $ac_word... " >&6; } 7391 if test "${ac_cv_path_MEX+set}" = set; then : 7392 $as_echo_n "(cached) " >&6 12148 7393 else 12149 7394 case $MEX in … … 12157 7402 IFS=$as_save_IFS 12158 7403 test -z "$as_dir" && as_dir=. 12159 for ac_exec_ext in '' $ac_executable_extensions; do7404 for ac_exec_ext in '' $ac_executable_extensions; do 12160 7405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12161 7406 ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext" 12162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12163 7408 break 2 12164 7409 fi 12165 7410 done 12166 done7411 done 12167 7412 IFS=$as_save_IFS 12168 7413 … … 12172 7417 MEX=$ac_cv_path_MEX 12173 7418 if test -n "$MEX"; then 12174 { echo "$as_me:$LINENO: result: $MEX" >&512175 echo "${ECHO_T}$MEX" >&6; }12176 else 12177 { echo "$as_me:$LINENO: result: no" >&512178 echo "${ECHO_T}no" >&6; }7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&5 7420 $as_echo "$MEX" >&6; } 7421 else 7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7423 $as_echo "no" >&6; } 12179 7424 fi 12180 7425 … … 12182 7427 # Extract the first word of "mexext", so it can be a program name with args. 12183 7428 set dummy mexext; ac_word=$2 12184 { echo "$as_me:$LINENO: checking for $ac_word" >&512185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12186 if test "${ac_cv_path_MEXEXT+set}" = set; then 12187 echo $ECHO_N "(cached) $ECHO_C" >&67429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7430 $as_echo_n "checking for $ac_word... " >&6; } 7431 if test "${ac_cv_path_MEXEXT+set}" = set; then : 7432 $as_echo_n "(cached) " >&6 12188 7433 else 12189 7434 case $MEXEXT in … … 12197 7442 IFS=$as_save_IFS 12198 7443 test -z "$as_dir" && as_dir=. 12199 for ac_exec_ext in '' $ac_executable_extensions; do7444 for ac_exec_ext in '' $ac_executable_extensions; do 12200 7445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12201 7446 ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext" 12202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12203 7448 break 2 12204 7449 fi 12205 7450 done 12206 done7451 done 12207 7452 IFS=$as_save_IFS 12208 7453 … … 12212 7457 MEXEXT=$ac_cv_path_MEXEXT 12213 7458 if test -n "$MEXEXT"; then 12214 { echo "$as_me:$LINENO: result: $MEXEXT" >&512215 echo "${ECHO_T}$MEXEXT" >&6; }12216 else 12217 { echo "$as_me:$LINENO: result: no" >&512218 echo "${ECHO_T}no" >&6; }7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 7460 $as_echo "$MEXEXT" >&6; } 7461 else 7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7463 $as_echo "no" >&6; } 12219 7464 fi 12220 7465 … … 12222 7467 12223 7468 # Run "mexext" to get the expected module extension for this platform. 12224 { echo "$as_me:$LINENO: checking for mex extension" >&512225 echo $ECHO_N "checking for mex extension... $ECHO_C" >&6; }7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&5 7470 $as_echo_n "checking for mex extension... " >&6; } 12226 7471 if test "x$MEXEXT" != "x" ; then 12227 7472 MEXEXT=`$MEXEXT` … … 12229 7474 MEXEXT="mexglx" 12230 7475 fi 12231 { echo "$as_me:$LINENO: result: $MEXEXT" >&512232 echo "${ECHO_T}$MEXEXT" >&6; }7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 7477 $as_echo "$MEXEXT" >&6; } 12233 7478 # Extract the first word of "mcc", so it can be a program name with args. 12234 7479 set dummy mcc; ac_word=$2 12235 { echo "$as_me:$LINENO: checking for $ac_word" >&512236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12237 if test "${ac_cv_path_MCC+set}" = set; then 12238 echo $ECHO_N "(cached) $ECHO_C" >&67480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7481 $as_echo_n "checking for $ac_word... " >&6; } 7482 if test "${ac_cv_path_MCC+set}" = set; then : 7483 $as_echo_n "(cached) " >&6 12239 7484 else 12240 7485 case $MCC in … … 12248 7493 IFS=$as_save_IFS 12249 7494 test -z "$as_dir" && as_dir=. 12250 for ac_exec_ext in '' $ac_executable_extensions; do7495 for ac_exec_ext in '' $ac_executable_extensions; do 12251 7496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12252 7497 ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext" 12253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12254 7499 break 2 12255 7500 fi 12256 7501 done 12257 done7502 done 12258 7503 IFS=$as_save_IFS 12259 7504 … … 12263 7508 MCC=$ac_cv_path_MCC 12264 7509 if test -n "$MCC"; then 12265 { echo "$as_me:$LINENO: result: $MCC" >&512266 echo "${ECHO_T}$MCC" >&6; }12267 else 12268 { echo "$as_me:$LINENO: result: no" >&512269 echo "${ECHO_T}no" >&6; }12270 fi 12271 12272 12273 { echo "$as_me:$LINENO: checking for mcc extension" >&512274 echo $ECHO_N "checking for mcc extension... $ECHO_C" >&6; }7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&5 7511 $as_echo "$MCC" >&6; } 7512 else 7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7514 $as_echo "no" >&6; } 7515 fi 7516 7517 7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&5 7519 $as_echo_n "checking for mcc extension... " >&6; } 12275 7520 fi 12276 7521 … … 12283 7528 12284 7529 # Check whether --with-octave was given. 12285 if test "${with_octave+set}" = set; then 7530 if test "${with_octave+set}" = set; then : 12286 7531 withval=$with_octave; with_octave=$withval 12287 7532 else … … 12295 7540 MKOCTFILE= 12296 7541 if test "$with_octave" != "no" ; then 12297 { echo "$as_me:$LINENO: checking for octave and mkoctfile" >&512298 echo $ECHO_N "checking for octave and mkoctfile... $ECHO_C" >&6; }7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5 7543 $as_echo_n "checking for octave and mkoctfile... " >&6; } 12299 7544 if test "$with_octave" = "yes" ; then 12300 7545 # Extract the first word of "octave", so it can be a program name with args. 12301 7546 set dummy octave; ac_word=$2 12302 { echo "$as_me:$LINENO: checking for $ac_word" >&512303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12304 if test "${ac_cv_path_OCTAVE+set}" = set; then 12305 echo $ECHO_N "(cached) $ECHO_C" >&67547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7548 $as_echo_n "checking for $ac_word... " >&6; } 7549 if test "${ac_cv_path_OCTAVE+set}" = set; then : 7550 $as_echo_n "(cached) " >&6 12306 7551 else 12307 7552 case $OCTAVE in … … 12315 7560 IFS=$as_save_IFS 12316 7561 test -z "$as_dir" && as_dir=. 12317 for ac_exec_ext in '' $ac_executable_extensions; do7562 for ac_exec_ext in '' $ac_executable_extensions; do 12318 7563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12319 7564 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 12320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12321 7566 break 2 12322 7567 fi 12323 7568 done 12324 done7569 done 12325 7570 IFS=$as_save_IFS 12326 7571 … … 12330 7575 OCTAVE=$ac_cv_path_OCTAVE 12331 7576 if test -n "$OCTAVE"; then 12332 { echo "$as_me:$LINENO: result: $OCTAVE" >&512333 echo "${ECHO_T}$OCTAVE" >&6; }12334 else 12335 { echo "$as_me:$LINENO: result: no" >&512336 echo "${ECHO_T}no" >&6; }7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5 7578 $as_echo "$OCTAVE" >&6; } 7579 else 7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7581 $as_echo "no" >&6; } 12337 7582 fi 12338 7583 … … 12340 7585 # Extract the first word of "mkoctfile", so it can be a program name with args. 12341 7586 set dummy mkoctfile; ac_word=$2 12342 { echo "$as_me:$LINENO: checking for $ac_word" >&512343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12344 if test "${ac_cv_path_MKOCTFILE+set}" = set; then 12345 echo $ECHO_N "(cached) $ECHO_C" >&67587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7588 $as_echo_n "checking for $ac_word... " >&6; } 7589 if test "${ac_cv_path_MKOCTFILE+set}" = set; then : 7590 $as_echo_n "(cached) " >&6 12346 7591 else 12347 7592 case $MKOCTFILE in … … 12355 7600 IFS=$as_save_IFS 12356 7601 test -z "$as_dir" && as_dir=. 12357 for ac_exec_ext in '' $ac_executable_extensions; do7602 for ac_exec_ext in '' $ac_executable_extensions; do 12358 7603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12359 7604 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 12360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12361 7606 break 2 12362 7607 fi 12363 7608 done 12364 done7609 done 12365 7610 IFS=$as_save_IFS 12366 7611 … … 12370 7615 MKOCTFILE=$ac_cv_path_MKOCTFILE 12371 7616 if test -n "$MKOCTFILE"; then 12372 { echo "$as_me:$LINENO: result: $MKOCTFILE" >&512373 echo "${ECHO_T}$MKOCTFILE" >&6; }12374 else 12375 { echo "$as_me:$LINENO: result: no" >&512376 echo "${ECHO_T}no" >&6; }7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5 7618 $as_echo "$MKOCTFILE" >&6; } 7619 else 7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7621 $as_echo "no" >&6; } 12377 7622 fi 12378 7623 … … 12381 7626 # Extract the first word of "octave", so it can be a program name with args. 12382 7627 set dummy octave; ac_word=$2 12383 { echo "$as_me:$LINENO: checking for $ac_word" >&512384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12385 if test "${ac_cv_path_OCTAVE+set}" = set; then 12386 echo $ECHO_N "(cached) $ECHO_C" >&67628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7629 $as_echo_n "checking for $ac_word... " >&6; } 7630 if test "${ac_cv_path_OCTAVE+set}" = set; then : 7631 $as_echo_n "(cached) " >&6 12387 7632 else 12388 7633 case $OCTAVE in … … 12397 7642 IFS=$as_save_IFS 12398 7643 test -z "$as_dir" && as_dir=. 12399 for ac_exec_ext in '' $ac_executable_extensions; do7644 for ac_exec_ext in '' $ac_executable_extensions; do 12400 7645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12401 7646 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 12402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12403 7648 break 2 12404 7649 fi 12405 7650 done 12406 done7651 done 12407 7652 IFS=$as_save_IFS 12408 7653 … … 12412 7657 OCTAVE=$ac_cv_path_OCTAVE 12413 7658 if test -n "$OCTAVE"; then 12414 { echo "$as_me:$LINENO: result: $OCTAVE" >&512415 echo "${ECHO_T}$OCTAVE" >&6; }12416 else 12417 { echo "$as_me:$LINENO: result: no" >&512418 echo "${ECHO_T}no" >&6; }7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5 7660 $as_echo "$OCTAVE" >&6; } 7661 else 7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7663 $as_echo "no" >&6; } 12419 7664 fi 12420 7665 … … 12422 7667 # Extract the first word of "mkoctfile", so it can be a program name with args. 12423 7668 set dummy mkoctfile; ac_word=$2 12424 { echo "$as_me:$LINENO: checking for $ac_word" >&512425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12426 if test "${ac_cv_path_MKOCTFILE+set}" = set; then 12427 echo $ECHO_N "(cached) $ECHO_C" >&67669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7670 $as_echo_n "checking for $ac_word... " >&6; } 7671 if test "${ac_cv_path_MKOCTFILE+set}" = set; then : 7672 $as_echo_n "(cached) " >&6 12428 7673 else 12429 7674 case $MKOCTFILE in … … 12438 7683 IFS=$as_save_IFS 12439 7684 test -z "$as_dir" && as_dir=. 12440 for ac_exec_ext in '' $ac_executable_extensions; do7685 for ac_exec_ext in '' $ac_executable_extensions; do 12441 7686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12442 7687 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 12443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12444 7689 break 2 12445 7690 fi 12446 7691 done 12447 done7692 done 12448 7693 IFS=$as_save_IFS 12449 7694 … … 12453 7698 MKOCTFILE=$ac_cv_path_MKOCTFILE 12454 7699 if test -n "$MKOCTFILE"; then 12455 { echo "$as_me:$LINENO: result: $MKOCTFILE" >&512456 echo "${ECHO_T}$MKOCTFILE" >&6; }12457 else 12458 { echo "$as_me:$LINENO: result: no" >&512459 echo "${ECHO_T}no" >&6; }7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5 7701 $as_echo "$MKOCTFILE" >&6; } 7702 else 7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7704 $as_echo "no" >&6; } 12460 7705 fi 12461 7706 … … 12474 7719 12475 7720 # Check whether --with-perl was given. 12476 if test "${with_perl+set}" = set; then 7721 if test "${with_perl+set}" = set; then : 12477 7722 withval=$with_perl; 12478 7723 else … … 12493 7738 PERL_LIBSPEC= 12494 7739 if test "$with_perl" != "no" ; then 12495 { echo "$as_me:$LINENO: checking for perl" >&512496 echo $ECHO_N "checking for perl... $ECHO_C" >&6; }7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl" >&5 7741 $as_echo_n "checking for perl... " >&6; } 12497 7742 if test "$with_perl" != "yes" ; then 12498 7743 # Extract the first word of "perl", so it can be a program name with args. 12499 7744 set dummy perl; ac_word=$2 12500 { echo "$as_me:$LINENO: checking for $ac_word" >&512501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12502 if test "${ac_cv_path_PERL+set}" = set; then 12503 echo $ECHO_N "(cached) $ECHO_C" >&67745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7746 $as_echo_n "checking for $ac_word... " >&6; } 7747 if test "${ac_cv_path_PERL+set}" = set; then : 7748 $as_echo_n "(cached) " >&6 12504 7749 else 12505 7750 case $PERL in … … 12514 7759 IFS=$as_save_IFS 12515 7760 test -z "$as_dir" && as_dir=. 12516 for ac_exec_ext in '' $ac_executable_extensions; do7761 for ac_exec_ext in '' $ac_executable_extensions; do 12517 7762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12518 7763 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12520 7765 break 2 12521 7766 fi 12522 7767 done 12523 done7768 done 12524 7769 IFS=$as_save_IFS 12525 7770 … … 12529 7774 PERL=$ac_cv_path_PERL 12530 7775 if test -n "$PERL"; then 12531 { echo "$as_me:$LINENO: result: $PERL" >&512532 echo "${ECHO_T}$PERL" >&6; }12533 else 12534 { echo "$as_me:$LINENO: result: no" >&512535 echo "${ECHO_T}no" >&6; }7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 7777 $as_echo "$PERL" >&6; } 7778 else 7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7780 $as_echo "no" >&6; } 12536 7781 fi 12537 7782 … … 12540 7785 # Extract the first word of "perl", so it can be a program name with args. 12541 7786 set dummy perl; ac_word=$2 12542 { echo "$as_me:$LINENO: checking for $ac_word" >&512543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12544 if test "${ac_cv_path_PERL+set}" = set; then 12545 echo $ECHO_N "(cached) $ECHO_C" >&67787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7788 $as_echo_n "checking for $ac_word... " >&6; } 7789 if test "${ac_cv_path_PERL+set}" = set; then : 7790 $as_echo_n "(cached) " >&6 12546 7791 else 12547 7792 case $PERL in … … 12555 7800 IFS=$as_save_IFS 12556 7801 test -z "$as_dir" && as_dir=. 12557 for ac_exec_ext in '' $ac_executable_extensions; do7802 for ac_exec_ext in '' $ac_executable_extensions; do 12558 7803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12559 7804 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12561 7806 break 2 12562 7807 fi 12563 7808 done 12564 done7809 done 12565 7810 IFS=$as_save_IFS 12566 7811 … … 12570 7815 PERL=$ac_cv_path_PERL 12571 7816 if test -n "$PERL"; then 12572 { echo "$as_me:$LINENO: result: $PERL" >&512573 echo "${ECHO_T}$PERL" >&6; }12574 else 12575 { echo "$as_me:$LINENO: result: no" >&512576 echo "${ECHO_T}no" >&6; }7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 7818 $as_echo "$PERL" >&6; } 7819 else 7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7821 $as_echo "no" >&6; } 12577 7822 fi 12578 7823 … … 12597 7842 fi 12598 7843 fi 12599 { echo "$as_me:$LINENO: result: ${PERL}" >&512600 echo "${ECHO_T}${PERL}" >&6; }7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PERL}" >&5 7845 $as_echo "${PERL}" >&6; } 12601 7846 12602 7847 … … 12627 7872 12628 7873 # Check whether --with-python was given. 12629 if test "${with_python+set}" = set; then 7874 if test "${with_python+set}" = set; then : 12630 7875 withval=$with_python; 12631 7876 else … … 12635 7880 12636 7881 if test "$with_python" != "no" ; then 12637 { echo "$as_me:$LINENO: checking for python" >&512638 echo $ECHO_N "checking for python... $ECHO_C" >&6; }7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python" >&5 7883 $as_echo_n "checking for python... " >&6; } 12639 7884 if test -x "$with_python/bin/python"; then 12640 7885 echo Found python in $with_python/bin/python … … 12646 7891 # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args. 12647 7892 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 12648 { echo "$as_me:$LINENO: checking for $ac_word" >&512649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12650 if test "${ac_cv_path_PYTHON+set}" = set; then 12651 echo $ECHO_N "(cached) $ECHO_C" >&67893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7894 $as_echo_n "checking for $ac_word... " >&6; } 7895 if test "${ac_cv_path_PYTHON+set}" = set; then : 7896 $as_echo_n "(cached) " >&6 12652 7897 else 12653 7898 case $PYTHON in … … 12661 7906 IFS=$as_save_IFS 12662 7907 test -z "$as_dir" && as_dir=. 12663 for ac_exec_ext in '' $ac_executable_extensions; do7908 for ac_exec_ext in '' $ac_executable_extensions; do 12664 7909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12665 7910 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 12666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12667 7912 break 2 12668 7913 fi 12669 7914 done 12670 done7915 done 12671 7916 IFS=$as_save_IFS 12672 7917 … … 12676 7921 PYTHON=$ac_cv_path_PYTHON 12677 7922 if test -n "$PYTHON"; then 12678 { echo "$as_me:$LINENO: result: $PYTHON" >&512679 echo "${ECHO_T}$PYTHON" >&6; }12680 else 12681 { echo "$as_me:$LINENO: result: no" >&512682 echo "${ECHO_T}no" >&6; }7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 7924 $as_echo "$PYTHON" >&6; } 7925 else 7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7927 $as_echo "no" >&6; } 12683 7928 fi 12684 7929 … … 12717 7962 fi 12718 7963 12719 { echo "$as_me:$LINENO: checking for python distutils" >&512720 echo $ECHO_N "checking for python distutils... $ECHO_C" >&6; }7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python distutils" >&5 7965 $as_echo_n "checking for python distutils... " >&6; } 12721 7966 ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \ 12722 7967 build build_ext 2>&1 > /dev/null … … 12726 7971 HAVE_PYTHON_DISTUTILS="no" 12727 7972 fi 12728 { echo "$as_me:$LINENO: result: $HAVE_PYTHON_DISTUTILS" >&512729 echo "${ECHO_T}$HAVE_PYTHON_DISTUTILS" >&6; }7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PYTHON_DISTUTILS" >&5 7974 $as_echo "$HAVE_PYTHON_DISTUTILS" >&6; } 12730 7975 12731 7976 if test "${HAVE_PYTHON_DISTUTILS}" = "yes"; then … … 12733 7978 # Check for Python include path 12734 7979 # 12735 { echo "$as_me:$LINENO: checking for Python include path" >&512736 echo $ECHO_N "checking for Python include path... $ECHO_C" >&6; }7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5 7981 $as_echo_n "checking for Python include path... " >&6; } 12737 7982 if test "x${PYTHON_CPPFLAGS}" = "x"; then 12738 7983 incdir_path=`${PYTHON} -c "import distutils.sysconfig; \ … … 12743 7988 PYTHON_CPPFLAGS=$python_path 12744 7989 fi 12745 { echo "$as_me:$LINENO: result: $PYTHON_CPPFLAGS" >&512746 echo "${ECHO_T}$PYTHON_CPPFLAGS" >&6; }7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5 7991 $as_echo "$PYTHON_CPPFLAGS" >&6; } 12747 7992 12748 7993 # 12749 7994 # python distutils found, get settings from python directly 12750 7995 # 12751 { echo "$as_me:$LINENO: checking location of site-packages" >&512752 echo $ECHO_N "checking location of site-packages... $ECHO_C" >&6; }7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking location of site-packages" >&5 7997 $as_echo_n "checking location of site-packages... " >&6; } 12753 7998 PYTHON_SITE_DIR="`${PYTHON} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0);'`" 12754 7999 … … 12774 8019 12775 8020 # Check whether --with-ruby was given. 12776 if test "${with_ruby+set}" = set; then 8021 if test "${with_ruby+set}" = set; then : 12777 8022 withval=$with_ruby; rappture_with_ruby=$with_val 12778 8023 fi … … 12782 8027 # Extract the first word of "ruby", so it can be a program name with args. 12783 8028 set dummy ruby; ac_word=$2 12784 { echo "$as_me:$LINENO: checking for $ac_word" >&512785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12786 if test "${ac_cv_path_RUBY+set}" = set; then 12787 echo $ECHO_N "(cached) $ECHO_C" >&68029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8030 $as_echo_n "checking for $ac_word... " >&6; } 8031 if test "${ac_cv_path_RUBY+set}" = set; then : 8032 $as_echo_n "(cached) " >&6 12788 8033 else 12789 8034 case $RUBY in … … 12797 8042 IFS=$as_save_IFS 12798 8043 test -z "$as_dir" && as_dir=. 12799 for ac_exec_ext in '' $ac_executable_extensions; do8044 for ac_exec_ext in '' $ac_executable_extensions; do 12800 8045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12801 8046 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 12802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12803 8048 break 2 12804 8049 fi 12805 8050 done 12806 done8051 done 12807 8052 IFS=$as_save_IFS 12808 8053 … … 12812 8057 RUBY=$ac_cv_path_RUBY 12813 8058 if test -n "$RUBY"; then 12814 { echo "$as_me:$LINENO: result: $RUBY" >&512815 echo "${ECHO_T}$RUBY" >&6; }12816 else 12817 { echo "$as_me:$LINENO: result: no" >&512818 echo "${ECHO_T}no" >&6; }8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 8060 $as_echo "$RUBY" >&6; } 8061 else 8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8063 $as_echo "no" >&6; } 12819 8064 fi 12820 8065 … … 12823 8068 # Extract the first word of "ruby", so it can be a program name with args. 12824 8069 set dummy ruby; ac_word=$2 12825 { echo "$as_me:$LINENO: checking for $ac_word" >&512826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12827 if test "${ac_cv_path_RUBY+set}" = set; then 12828 echo $ECHO_N "(cached) $ECHO_C" >&68070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8071 $as_echo_n "checking for $ac_word... " >&6; } 8072 if test "${ac_cv_path_RUBY+set}" = set; then : 8073 $as_echo_n "(cached) " >&6 12829 8074 else 12830 8075 case $RUBY in … … 12839 8084 IFS=$as_save_IFS 12840 8085 test -z "$as_dir" && as_dir=. 12841 for ac_exec_ext in '' $ac_executable_extensions; do8086 for ac_exec_ext in '' $ac_executable_extensions; do 12842 8087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12843 8088 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 12844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12845 8090 break 2 12846 8091 fi 12847 8092 done 12848 done8093 done 12849 8094 IFS=$as_save_IFS 12850 8095 … … 12854 8099 RUBY=$ac_cv_path_RUBY 12855 8100 if test -n "$RUBY"; then 12856 { echo "$as_me:$LINENO: result: $RUBY" >&512857 echo "${ECHO_T}$RUBY" >&6; }12858 else 12859 { echo "$as_me:$LINENO: result: no" >&512860 echo "${ECHO_T}no" >&6; }8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 8102 $as_echo "$RUBY" >&6; } 8103 else 8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8105 $as_echo "no" >&6; } 12861 8106 fi 12862 8107 … … 12869 8114 RUBY_PLATFORM= 12870 8115 if test "x${RUBY}" != "x" ; then 12871 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&512872 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }12873 if test "${ac_cv_path_SED+set}" = set; then 12874 echo $ECHO_N "(cached) $ECHO_C" >&68116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 8117 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 8118 if test "${ac_cv_path_SED+set}" = set; then : 8119 $as_echo_n "(cached) " >&6 12875 8120 else 12876 8121 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ … … 12878 8123 ac_script="$ac_script$as_nl$ac_script" 12879 8124 done 12880 echo "$ac_script" | sed 99q >conftest.sed 12881 $as_unset ac_script || ac_script= 12882 # Extract the first word of "sed gsed" to use in msg output 12883 if test -z "$SED"; then 12884 set dummy sed gsed; ac_prog_name=$2 12885 if test "${ac_cv_path_SED+set}" = set; then 12886 echo $ECHO_N "(cached) $ECHO_C" >&6 12887 else 8125 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 8126 { ac_script=; unset ac_script;} 8127 if test -z "$SED"; then 12888 8128 ac_path_SED_found=false 12889 # Loop through the user's path and test for each of PROGNAME-LIST12890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8129 # Loop through the user's path and test for each of PROGNAME-LIST 8130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12891 8131 for as_dir in $PATH 12892 8132 do 12893 8133 IFS=$as_save_IFS 12894 8134 test -z "$as_dir" && as_dir=. 12895 for ac_prog in sed gsed; do12896 for ac_exec_ext in '' $ac_executable_extensions; do12897 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"12898 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue12899 8135 for ac_prog in sed gsed; do 8136 for ac_exec_ext in '' $ac_executable_extensions; do 8137 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 8138 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 8139 # Check for GNU ac_path_SED and select it if it is found. 12900 8140 # Check for GNU $ac_path_SED 12901 8141 case `"$ac_path_SED" --version 2>&1` in … … 12904 8144 *) 12905 8145 ac_count=0 12906 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"8146 $as_echo_n 0123456789 >"conftest.in" 12907 8147 while : 12908 8148 do … … 12910 8150 mv "conftest.tmp" "conftest.in" 12911 8151 cp "conftest.in" "conftest.nl" 12912 echo '' >> "conftest.nl"8152 $as_echo '' >> "conftest.nl" 12913 8153 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 12914 8154 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 12915 a c_count=`expr $ac_count + 1`8155 as_fn_arith $ac_count + 1 && ac_count=$as_val 12916 8156 if test $ac_count -gt ${ac_path_SED_max-0}; then 12917 8157 # Best one so far, save it but keep looking for a better one … … 12925 8165 esac 12926 8166 12927 12928 $ac_path_SED_found && break 38167 $ac_path_SED_found && break 3 8168 done 12929 8169 done 12930 done 12931 12932 done 8170 done 12933 8171 IFS=$as_save_IFS 12934 12935 12936 fi 12937 12938 SED="$ac_cv_path_SED" 12939 if test -z "$SED"; then 12940 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 12941 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} 12942 { (exit 1); exit 1; }; } 12943 fi 12944 8172 if test -z "$ac_cv_path_SED"; then 8173 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 8174 fi 12945 8175 else 12946 8176 ac_cv_path_SED=$SED … … 12948 8178 12949 8179 fi 12950 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&512951 echo "${ECHO_T}$ac_cv_path_SED" >&6; }8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 8181 $as_echo "$ac_cv_path_SED" >&6; } 12952 8182 SED="$ac_cv_path_SED" 12953 8183 rm -f conftest.sed … … 12957 8187 12958 8188 12959 if test -n "$RUBY"; then 8189 if test -n "$RUBY"; then : 12960 8190 12961 8191 ax_ruby_version="" 12962 8192 12963 { echo "$as_me:$LINENO: checking for ruby version" >&512964 echo $ECHO_N "checking for ruby version... $ECHO_C" >&6; }8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ruby version" >&5 8194 $as_echo_n "checking for ruby version... " >&6; } 12965 8195 12966 8196 ruby_version=`$RUBY --version 2>&1 | $GREP "^ruby " | $SED -e 's/^.* \([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'` 12967 8197 12968 { echo "$as_me:$LINENO: result: $ruby_version" >&512969 echo "${ECHO_T}$ruby_version" >&6; }8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ruby_version" >&5 8199 $as_echo "$ruby_version" >&6; } 12970 8200 12971 8201 RUBY_VERSION=$ruby_version … … 12977 8207 # Extract the first word of "$ac_prog", so it can be a program name with args. 12978 8208 set dummy $ac_prog; ac_word=$2 12979 { echo "$as_me:$LINENO: checking for $ac_word" >&512980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12981 if test "${ac_cv_prog_AWK+set}" = set; then 12982 echo $ECHO_N "(cached) $ECHO_C" >&68209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8210 $as_echo_n "checking for $ac_word... " >&6; } 8211 if test "${ac_cv_prog_AWK+set}" = set; then : 8212 $as_echo_n "(cached) " >&6 12983 8213 else 12984 8214 if test -n "$AWK"; then … … 12990 8220 IFS=$as_save_IFS 12991 8221 test -z "$as_dir" && as_dir=. 12992 for ac_exec_ext in '' $ac_executable_extensions; do8222 for ac_exec_ext in '' $ac_executable_extensions; do 12993 8223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12994 8224 ac_cv_prog_AWK="$ac_prog" 12995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12996 8226 break 2 12997 8227 fi 12998 8228 done 12999 done8229 done 13000 8230 IFS=$as_save_IFS 13001 8231 … … 13004 8234 AWK=$ac_cv_prog_AWK 13005 8235 if test -n "$AWK"; then 13006 { echo "$as_me:$LINENO: result: $AWK" >&513007 echo "${ECHO_T}$AWK" >&6; }13008 else 13009 { echo "$as_me:$LINENO: result: no" >&513010 echo "${ECHO_T}no" >&6; }8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 8237 $as_echo "$AWK" >&6; } 8238 else 8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8240 $as_echo "no" >&6; } 13011 8241 fi 13012 8242 … … 13058 8288 else 13059 8289 13060 { echo "$as_me:$LINENO: WARNING: could not find the ruby interpreter" >&5 13061 echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 13062 13063 13064 fi 13065 8290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find the ruby interpreter" >&5 8291 $as_echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 8292 8293 8294 fi 13066 8295 13067 8296 RUBY_VERSION_RV=`echo ${RUBY_VERSION} | cut -d'.' -f1-2` … … 13074 8303 # Check for Ruby include path 13075 8304 # 13076 { echo "$as_me:$LINENO: checking for Ruby include path" >&513077 echo $ECHO_N "checking for Ruby include path... $ECHO_C" >&6; }8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5 8306 $as_echo_n "checking for Ruby include path... " >&6; } 13078 8307 if test -z "$RUBY_CPPFLAGS"; then 13079 8308 ruby_path=`$RUBY -rmkmf -e 'print Config::CONFIG["archdir"]'` … … 13083 8312 RUBY_CPPFLAGS=$ruby_path 13084 8313 fi 13085 { echo "$as_me:$LINENO: result: $RUBY_CPPFLAGS" >&513086 echo "${ECHO_T}$RUBY_CPPFLAGS" >&6; }8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_CPPFLAGS" >&5 8315 $as_echo "$RUBY_CPPFLAGS" >&6; } 13087 8316 13088 8317 … … 13090 8319 # Check for Ruby library path 13091 8320 # 13092 { echo "$as_me:$LINENO: checking for Ruby library path" >&513093 echo $ECHO_N "checking for Ruby library path... $ECHO_C" >&6; }8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby library path" >&5 8322 $as_echo_n "checking for Ruby library path... " >&6; } 13094 8323 if test -z "$RUBY_LDFLAGS"; then 13095 8324 RUBY_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG["LIBRUBYARG_SHARED"]'` 13096 8325 fi 13097 { echo "$as_me:$LINENO: result: $RUBY_LDFLAGS" >&513098 echo "${ECHO_T}$RUBY_LDFLAGS" >&6; }8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_LDFLAGS" >&5 8327 $as_echo "$RUBY_LDFLAGS" >&6; } 13099 8328 13100 8329 … … 13102 8331 # Check for site packages 13103 8332 # 13104 { echo "$as_me:$LINENO: checking for Ruby site-packages path" >&513105 echo $ECHO_N "checking for Ruby site-packages path... $ECHO_C" >&6; }8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby site-packages path" >&5 8334 $as_echo_n "checking for Ruby site-packages path... " >&6; } 13106 8335 if test -z "$RUBY_SITE_PKG"; then 13107 8336 RUBY_SITE_PKG=`$RUBY -rmkmf -e 'print Config::CONFIG["sitearchdir"]'` 13108 8337 fi 13109 { echo "$as_me:$LINENO: result: $RUBY_SITE_PKG" >&513110 echo "${ECHO_T}$RUBY_SITE_PKG" >&6; }8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_SITE_PKG" >&5 8339 $as_echo "$RUBY_SITE_PKG" >&6; } 13111 8340 13112 8341 … … 13114 8343 # libraries which must be linked in when embedding 13115 8344 # 13116 { echo "$as_me:$LINENO: checking ruby extra libraries" >&513117 echo $ECHO_N "checking ruby extra libraries... $ECHO_C" >&6; }8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ruby extra libraries" >&5 8346 $as_echo_n "checking ruby extra libraries... " >&6; } 13118 8347 if test -z "$RUBY_EXTRA_LIBS"; then 13119 8348 RUBY_EXTRA_LIBS=`$RUBY -rmkmf -e 'print Config::CONFIG["SOLIBS"]'` 13120 8349 fi 13121 { echo "$as_me:$LINENO: result: $RUBY_EXTRA_LIBS" >&513122 echo "${ECHO_T}$RUBY_EXTRA_LIBS" >&6; }8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_EXTRA_LIBS" >&5 8351 $as_echo "$RUBY_EXTRA_LIBS" >&6; } 13123 8352 13124 8353 … … 13139 8368 # final check to see if everything compiles alright 13140 8369 # 13141 { echo "$as_me:$LINENO: checking consistency of all components of ruby development environment" >&513142 echo $ECHO_N "checking consistency of all components of ruby development environment... $ECHO_C" >&6; }8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking consistency of all components of ruby development environment" >&5 8371 $as_echo_n "checking consistency of all components of ruby development environment... " >&6; } 13143 8372 ac_ext=c 13144 8373 ac_cpp='$CPP $CPPFLAGS' … … 13152 8381 ac_save_CPPFLAGS="$CPPFLAGS" 13153 8382 CPPFLAGS="$ac_save_CPPFLAGS $RUBY_CPPFLAGS" 13154 cat >conftest.$ac_ext <<_ACEOF 13155 /* confdefs.h. */ 13156 _ACEOF 13157 cat confdefs.h >>conftest.$ac_ext 13158 cat >>conftest.$ac_ext <<_ACEOF 8383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13159 8384 /* end confdefs.h. */ 13160 8385 … … 13171 8396 } 13172 8397 _ACEOF 13173 rm -f conftest.$ac_objext conftest$ac_exeext 13174 if { (ac_try="$ac_link" 13175 case "(($ac_try" in 13176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13177 *) ac_try_echo=$ac_try;; 13178 esac 13179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13180 (eval "$ac_link") 2>conftest.er1 13181 ac_status=$? 13182 grep -v '^ *+' conftest.er1 >conftest.err 13183 rm -f conftest.er1 13184 cat conftest.err >&5 13185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13186 (exit $ac_status); } && { 13187 test -z "$ac_c_werror_flag" || 13188 test ! -s conftest.err 13189 } && test -s conftest$ac_exeext && 13190 $as_test_x conftest$ac_exeext; then 8398 if ac_fn_c_try_link "$LINENO"; then : 13191 8399 rubyexists=yes 13192 8400 else 13193 echo "$as_me: failed program was:" >&5 13194 sed 's/^/| /' conftest.$ac_ext >&5 13195 13196 rubyexists=no 13197 fi 13198 13199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13200 conftest$ac_exeext conftest.$ac_ext 13201 13202 { echo "$as_me:$LINENO: result: $rubyexists" >&5 13203 echo "${ECHO_T}$rubyexists" >&6; } 8401 rubyexists=no 8402 fi 8403 rm -f core conftest.err conftest.$ac_objext \ 8404 conftest$ac_exeext conftest.$ac_ext 8405 8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyexists" >&5 8407 $as_echo "$rubyexists" >&6; } 13204 8408 13205 8409 if test "$rubyexists" = "no"; then … … 13226 8430 13227 8431 13228 # TODO: Check that these actually exist. 13229 JAVA=/apps/java/bin/java 13230 JAVAC=/apps/java/bin/javac 13231 JAVAH=/apps/java/bin/javah 13232 13233 # TODO: Find the java install from path to java exectuable. 13234 JAVA_HOME=/apps/java/jdk1.6.0_01 13235 13236 # TODO: find the location of jni.h and jni_md.h. 13237 # Obviously the linux subdir won't exist on all platforms. 13238 JAVA_INCLUDES="-I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/linux" 8432 rappture_with_java="yes" 8433 JAVA="" 8434 JAVAH="" 8435 JAVAC="" 8436 JAVA_DEV_PKG="no" 8437 8438 8439 # Check whether --with-java was given. 8440 if test "${with_java+set}" = set; then : 8441 withval=$with_java; rappture_with_java=$with_val 8442 fi 8443 8444 if test "${rappture_with_java}" != "no" ; then 8445 if test "${rappture_with_java}" = "yes" ; then 8446 # Extract the first word of "java", so it can be a program name with args. 8447 set dummy java; ac_word=$2 8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8449 $as_echo_n "checking for $ac_word... " >&6; } 8450 if test "${ac_cv_path_JAVA+set}" = set; then : 8451 $as_echo_n "(cached) " >&6 8452 else 8453 case $JAVA in 8454 [\\/]* | ?:[\\/]*) 8455 ac_cv_path_JAVA="$JAVA" # Let the user override the test with a path. 8456 ;; 8457 *) 8458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8459 for as_dir in $PATH 8460 do 8461 IFS=$as_save_IFS 8462 test -z "$as_dir" && as_dir=. 8463 for ac_exec_ext in '' $ac_executable_extensions; do 8464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8465 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 8466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8467 break 2 8468 fi 8469 done 8470 done 8471 IFS=$as_save_IFS 8472 8473 ;; 8474 esac 8475 fi 8476 JAVA=$ac_cv_path_JAVA 8477 if test -n "$JAVA"; then 8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 8479 $as_echo "$JAVA" >&6; } 8480 else 8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8482 $as_echo "no" >&6; } 8483 fi 8484 8485 8486 # Extract the first word of "javac", so it can be a program name with args. 8487 set dummy javac; ac_word=$2 8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8489 $as_echo_n "checking for $ac_word... " >&6; } 8490 if test "${ac_cv_path_JAVAC+set}" = set; then : 8491 $as_echo_n "(cached) " >&6 8492 else 8493 case $JAVAC in 8494 [\\/]* | ?:[\\/]*) 8495 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path. 8496 ;; 8497 *) 8498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8499 for as_dir in $PATH 8500 do 8501 IFS=$as_save_IFS 8502 test -z "$as_dir" && as_dir=. 8503 for ac_exec_ext in '' $ac_executable_extensions; do 8504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8505 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 8506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8507 break 2 8508 fi 8509 done 8510 done 8511 IFS=$as_save_IFS 8512 8513 ;; 8514 esac 8515 fi 8516 JAVAC=$ac_cv_path_JAVAC 8517 if test -n "$JAVAC"; then 8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 8519 $as_echo "$JAVAC" >&6; } 8520 else 8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8522 $as_echo "no" >&6; } 8523 fi 8524 8525 8526 # Extract the first word of "javah", so it can be a program name with args. 8527 set dummy javah; ac_word=$2 8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8529 $as_echo_n "checking for $ac_word... " >&6; } 8530 if test "${ac_cv_path_JAVAH+set}" = set; then : 8531 $as_echo_n "(cached) " >&6 8532 else 8533 case $JAVAH in 8534 [\\/]* | ?:[\\/]*) 8535 ac_cv_path_JAVAH="$JAVAH" # Let the user override the test with a path. 8536 ;; 8537 *) 8538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8539 for as_dir in $PATH 8540 do 8541 IFS=$as_save_IFS 8542 test -z "$as_dir" && as_dir=. 8543 for ac_exec_ext in '' $ac_executable_extensions; do 8544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8545 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 8546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8547 break 2 8548 fi 8549 done 8550 done 8551 IFS=$as_save_IFS 8552 8553 ;; 8554 esac 8555 fi 8556 JAVAH=$ac_cv_path_JAVAH 8557 if test -n "$JAVAH"; then 8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 8559 $as_echo "$JAVAH" >&6; } 8560 else 8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8562 $as_echo "no" >&6; } 8563 fi 8564 8565 8566 else 8567 # Extract the first word of "java", so it can be a program name with args. 8568 set dummy java; ac_word=$2 8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8570 $as_echo_n "checking for $ac_word... " >&6; } 8571 if test "${ac_cv_path_JAVA+set}" = set; then : 8572 $as_echo_n "(cached) " >&6 8573 else 8574 case $JAVA in 8575 [\\/]* | ?:[\\/]*) 8576 ac_cv_path_JAVA="$JAVA" # Let the user override the test with a path. 8577 ;; 8578 *) 8579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8580 as_dummy="${rappture_with_java}/bin/java:${rappture_with_java}" 8581 for as_dir in $as_dummy 8582 do 8583 IFS=$as_save_IFS 8584 test -z "$as_dir" && as_dir=. 8585 for ac_exec_ext in '' $ac_executable_extensions; do 8586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8587 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 8588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8589 break 2 8590 fi 8591 done 8592 done 8593 IFS=$as_save_IFS 8594 8595 ;; 8596 esac 8597 fi 8598 JAVA=$ac_cv_path_JAVA 8599 if test -n "$JAVA"; then 8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 8601 $as_echo "$JAVA" >&6; } 8602 else 8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8604 $as_echo "no" >&6; } 8605 fi 8606 8607 8608 # Extract the first word of "javac", so it can be a program name with args. 8609 set dummy javac; ac_word=$2 8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8611 $as_echo_n "checking for $ac_word... " >&6; } 8612 if test "${ac_cv_path_JAVAC+set}" = set; then : 8613 $as_echo_n "(cached) " >&6 8614 else 8615 case $JAVAC in 8616 [\\/]* | ?:[\\/]*) 8617 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path. 8618 ;; 8619 *) 8620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8621 as_dummy="${rappture_with_java}/bin/java:${rappture_with_java}" 8622 for as_dir in $as_dummy 8623 do 8624 IFS=$as_save_IFS 8625 test -z "$as_dir" && as_dir=. 8626 for ac_exec_ext in '' $ac_executable_extensions; do 8627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8628 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 8629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8630 break 2 8631 fi 8632 done 8633 done 8634 IFS=$as_save_IFS 8635 8636 ;; 8637 esac 8638 fi 8639 JAVAC=$ac_cv_path_JAVAC 8640 if test -n "$JAVAC"; then 8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 8642 $as_echo "$JAVAC" >&6; } 8643 else 8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8645 $as_echo "no" >&6; } 8646 fi 8647 8648 8649 # Extract the first word of "javah", so it can be a program name with args. 8650 set dummy javah; ac_word=$2 8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8652 $as_echo_n "checking for $ac_word... " >&6; } 8653 if test "${ac_cv_path_JAVAH+set}" = set; then : 8654 $as_echo_n "(cached) " >&6 8655 else 8656 case $JAVAH in 8657 [\\/]* | ?:[\\/]*) 8658 ac_cv_path_JAVAH="$JAVAH" # Let the user override the test with a path. 8659 ;; 8660 *) 8661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8662 as_dummy="${rappture_with_java}/bin/java:${rappture_with_java}" 8663 for as_dir in $as_dummy 8664 do 8665 IFS=$as_save_IFS 8666 test -z "$as_dir" && as_dir=. 8667 for ac_exec_ext in '' $ac_executable_extensions; do 8668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8669 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 8670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8671 break 2 8672 fi 8673 done 8674 done 8675 IFS=$as_save_IFS 8676 8677 ;; 8678 esac 8679 fi 8680 JAVAH=$ac_cv_path_JAVAH 8681 if test -n "$JAVAH"; then 8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 8683 $as_echo "$JAVAH" >&6; } 8684 else 8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8686 $as_echo "no" >&6; } 8687 fi 8688 8689 8690 fi 8691 fi 8692 JDK= 8693 JAVA_HOME= 8694 JAVA_INC_DIR= 8695 JAVA_INC_SPEC= 8696 8697 # If java exists, let's look for the jni.h file. 8698 if test "x${JAVA}" != "x" ; then 8699 for d in \ 8700 /apps/java/jdk1.6.0_01 \ 8701 /opt/icedtea6-* \ 8702 /opt/sun-jdk-1.6* \ 8703 /opt/sun-jdk-1.5* 8704 do 8705 if test -r "${d}/include/jni.h" ; then 8706 JDK=${d} 8707 break; 8708 fi 8709 done 8710 JAVA_HOME=$JDK 8711 JAVA_INC_DIR=${JDK}/include 8712 JAVA_INC_SPEC="-I${JDK}/include -I${JDK}/include/linux" 8713 fi 8714 13239 8715 13240 8716 … … 13248 8724 13249 8725 13250 { echo "$as_me:$LINENO: checking how to build libraries" >&513251 echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6; }8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5 8727 $as_echo_n "checking how to build libraries... " >&6; } 13252 8728 # Check whether --enable-shared was given. 13253 if test "${enable_shared+set}" = set; then 8729 if test "${enable_shared+set}" = set; then : 13254 8730 enableval=$enable_shared; tcl_ok=$enableval 13255 8731 else … … 13266 8742 13267 8743 if test "$tcl_ok" = "yes" ; then 13268 { echo "$as_me:$LINENO: result: shared" >&513269 echo "${ECHO_T}shared" >&6; }8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 8745 $as_echo "shared" >&6; } 13270 8746 SHARED_BUILD=1 13271 8747 else 13272 { echo "$as_me:$LINENO: result: static" >&513273 echo "${ECHO_T}static" >&6; }8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 8749 $as_echo "static" >&6; } 13274 8750 SHARED_BUILD=0 13275 cat >>confdefs.h <<\_ACEOF 13276 #define STATIC_BUILD 1 13277 _ACEOF 8751 $as_echo "#define STATIC_BUILD 1" >>confdefs.h 13278 8752 13279 8753 fi … … 13310 8784 # ----------------------------------------------------------------------- 13311 8785 13312 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 13313 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 13314 if test "${ac_cv_c_bigendian+set}" = set; then 13315 echo $ECHO_N "(cached) $ECHO_C" >&6 13316 else 13317 # See if sys/param.h defines the BYTE_ORDER macro. 13318 cat >conftest.$ac_ext <<_ACEOF 13319 /* confdefs.h. */ 13320 _ACEOF 13321 cat confdefs.h >>conftest.$ac_ext 13322 cat >>conftest.$ac_ext <<_ACEOF 8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 8787 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 8788 if test "${ac_cv_c_bigendian+set}" = set; then : 8789 $as_echo_n "(cached) " >&6 8790 else 8791 ac_cv_c_bigendian=unknown 8792 # See if we're dealing with a universal compiler. 8793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8794 /* end confdefs.h. */ 8795 #ifndef __APPLE_CC__ 8796 not a universal capable compiler 8797 #endif 8798 typedef int dummy; 8799 8800 _ACEOF 8801 if ac_fn_cxx_try_compile "$LINENO"; then : 8802 8803 # Check for potential -arch flags. It is not universal unless 8804 # there are at least two -arch flags with different values. 8805 ac_arch= 8806 ac_prev= 8807 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 8808 if test -n "$ac_prev"; then 8809 case $ac_word in 8810 i?86 | x86_64 | ppc | ppc64) 8811 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 8812 ac_arch=$ac_word 8813 else 8814 ac_cv_c_bigendian=universal 8815 break 8816 fi 8817 ;; 8818 esac 8819 ac_prev= 8820 elif test "x$ac_word" = "x-arch"; then 8821 ac_prev=arch 8822 fi 8823 done 8824 fi 8825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8826 if test $ac_cv_c_bigendian = unknown; then 8827 # See if sys/param.h defines the BYTE_ORDER macro. 8828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13323 8829 /* end confdefs.h. */ 13324 8830 #include <sys/types.h> 13325 #include <sys/param.h>8831 #include <sys/param.h> 13326 8832 13327 8833 int 13328 8834 main () 13329 8835 { 13330 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 13331 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 13332 bogus endian macros 13333 #endif 8836 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 8837 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 8838 && LITTLE_ENDIAN) 8839 bogus endian macros 8840 #endif 13334 8841 13335 8842 ; … … 13337 8844 } 13338 8845 _ACEOF 13339 rm -f conftest.$ac_objext 13340 if { (ac_try="$ac_compile" 13341 case "(($ac_try" in 13342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13343 *) ac_try_echo=$ac_try;; 13344 esac 13345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13346 (eval "$ac_compile") 2>conftest.er1 13347 ac_status=$? 13348 grep -v '^ *+' conftest.er1 >conftest.err 13349 rm -f conftest.er1 13350 cat conftest.err >&5 13351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13352 (exit $ac_status); } && { 13353 test -z "$ac_cxx_werror_flag" || 13354 test ! -s conftest.err 13355 } && test -s conftest.$ac_objext; then 8846 if ac_fn_cxx_try_compile "$LINENO"; then : 13356 8847 # It does; now see whether it defined to BIG_ENDIAN or not. 13357 cat >conftest.$ac_ext <<_ACEOF 13358 /* confdefs.h. */ 13359 _ACEOF 13360 cat confdefs.h >>conftest.$ac_ext 13361 cat >>conftest.$ac_ext <<_ACEOF 8848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13362 8849 /* end confdefs.h. */ 13363 8850 #include <sys/types.h> 13364 #include <sys/param.h>8851 #include <sys/param.h> 13365 8852 13366 8853 int … … 13368 8855 { 13369 8856 #if BYTE_ORDER != BIG_ENDIAN 13370 not big endian13371 #endif8857 not big endian 8858 #endif 13372 8859 13373 8860 ; … … 13375 8862 } 13376 8863 _ACEOF 13377 rm -f conftest.$ac_objext 13378 if { (ac_try="$ac_compile" 13379 case "(($ac_try" in 13380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13381 *) ac_try_echo=$ac_try;; 13382 esac 13383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13384 (eval "$ac_compile") 2>conftest.er1 13385 ac_status=$? 13386 grep -v '^ *+' conftest.er1 >conftest.err 13387 rm -f conftest.er1 13388 cat conftest.err >&5 13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13390 (exit $ac_status); } && { 13391 test -z "$ac_cxx_werror_flag" || 13392 test ! -s conftest.err 13393 } && test -s conftest.$ac_objext; then 8864 if ac_fn_cxx_try_compile "$LINENO"; then : 13394 8865 ac_cv_c_bigendian=yes 13395 8866 else 13396 echo "$as_me: failed program was:" >&5 13397 sed 's/^/| /' conftest.$ac_ext >&5 13398 13399 ac_cv_c_bigendian=no 13400 fi 13401 8867 ac_cv_c_bigendian=no 8868 fi 13402 8869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13403 else 13404 echo "$as_me: failed program was:" >&5 13405 sed 's/^/| /' conftest.$ac_ext >&5 13406 13407 # It does not; compile a test program. 13408 if test "$cross_compiling" = yes; then 13409 # try to guess the endianness by grepping values into an object file 13410 ac_cv_c_bigendian=unknown 13411 cat >conftest.$ac_ext <<_ACEOF 13412 /* confdefs.h. */ 13413 _ACEOF 13414 cat confdefs.h >>conftest.$ac_ext 13415 cat >>conftest.$ac_ext <<_ACEOF 8870 fi 8871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8872 fi 8873 if test $ac_cv_c_bigendian = unknown; then 8874 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13416 8876 /* end confdefs.h. */ 13417 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 13418 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 13419 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 13420 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 13421 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 13422 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 8877 #include <limits.h> 8878 13423 8879 int 13424 8880 main () 13425 8881 { 13426 _ascii (); _ebcdic (); 8882 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 8883 bogus endian macros 8884 #endif 8885 13427 8886 ; 13428 8887 return 0; 13429 8888 } 13430 8889 _ACEOF 13431 rm -f conftest.$ac_objext 13432 if { (ac_try="$ac_compile" 13433 case "(($ac_try" in 13434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13435 *) ac_try_echo=$ac_try;; 13436 esac 13437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13438 (eval "$ac_compile") 2>conftest.er1 13439 ac_status=$? 13440 grep -v '^ *+' conftest.er1 >conftest.err 13441 rm -f conftest.er1 13442 cat conftest.err >&5 13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13444 (exit $ac_status); } && {13445 test -z "$ac_cxx_werror_flag" || 13446 test ! -s conftest.err 13447 } && test -s conftest.$ac_objext; then 13448 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 8890 if ac_fn_cxx_try_compile "$LINENO"; then : 8891 # It does; now see whether it defined to _BIG_ENDIAN or not. 8892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8893 /* end confdefs.h. */ 8894 #include <limits.h> 8895 8896 int 8897 main () 8898 { 8899 #ifndef _BIG_ENDIAN 8900 not big endian 8901 #endif 8902 8903 ; 8904 return 0; 8905 } 8906 _ACEOF 8907 if ac_fn_cxx_try_compile "$LINENO"; then : 13449 8908 ac_cv_c_bigendian=yes 13450 fi 13451 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 13452 if test "$ac_cv_c_bigendian" = unknown; then 13453 ac_cv_c_bigendian=no 13454 else 13455 # finding both strings is unlikely to happen, but who knows? 13456 ac_cv_c_bigendian=unknown 13457 fi 13458 fi 13459 else 13460 echo "$as_me: failed program was:" >&5 13461 sed 's/^/| /' conftest.$ac_ext >&5 13462 13463 13464 fi 13465 8909 else 8910 ac_cv_c_bigendian=no 8911 fi 13466 8912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13467 else 13468 cat >conftest.$ac_ext <<_ACEOF 13469 /* confdefs.h. */ 13470 _ACEOF 13471 cat confdefs.h >>conftest.$ac_ext 13472 cat >>conftest.$ac_ext <<_ACEOF 8913 fi 8914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8915 fi 8916 if test $ac_cv_c_bigendian = unknown; then 8917 # Compile a test program. 8918 if test "$cross_compiling" = yes; then : 8919 # Try to guess by grepping values from an object file. 8920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8921 /* end confdefs.h. */ 8922 short int ascii_mm[] = 8923 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 8924 short int ascii_ii[] = 8925 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 8926 int use_ascii (int i) { 8927 return ascii_mm[i] + ascii_ii[i]; 8928 } 8929 short int ebcdic_ii[] = 8930 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 8931 short int ebcdic_mm[] = 8932 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 8933 int use_ebcdic (int i) { 8934 return ebcdic_mm[i] + ebcdic_ii[i]; 8935 } 8936 extern int foo; 8937 8938 int 8939 main () 8940 { 8941 return use_ascii (foo) == use_ebcdic (foo); 8942 ; 8943 return 0; 8944 } 8945 _ACEOF 8946 if ac_fn_cxx_try_compile "$LINENO"; then : 8947 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 8948 ac_cv_c_bigendian=yes 8949 fi 8950 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 8951 if test "$ac_cv_c_bigendian" = unknown; then 8952 ac_cv_c_bigendian=no 8953 else 8954 # finding both strings is unlikely to happen, but who knows? 8955 ac_cv_c_bigendian=unknown 8956 fi 8957 fi 8958 fi 8959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8960 else 8961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13473 8962 /* end confdefs.h. */ 13474 8963 $ac_includes_default … … 13477 8966 { 13478 8967 13479 /* Are we little or big endian? From Harbison&Steele. */13480 union13481 {13482 long int l;13483 char c[sizeof (long int)];13484 } u;13485 u.l = 1;13486 return u.c[sizeof (long int) - 1] == 1;8968 /* Are we little or big endian? From Harbison&Steele. */ 8969 union 8970 { 8971 long int l; 8972 char c[sizeof (long int)]; 8973 } u; 8974 u.l = 1; 8975 return u.c[sizeof (long int) - 1] == 1; 13487 8976 13488 8977 ; … … 13490 8979 } 13491 8980 _ACEOF 13492 rm -f conftest$ac_exeext 13493 if { (ac_try="$ac_link" 13494 case "(($ac_try" in 13495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13496 *) ac_try_echo=$ac_try;; 13497 esac 13498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13499 (eval "$ac_link") 2>&5 13500 ac_status=$? 13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13503 { (case "(($ac_try" in 13504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13505 *) ac_try_echo=$ac_try;; 13506 esac 13507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13508 (eval "$ac_try") 2>&5 13509 ac_status=$? 13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13511 (exit $ac_status); }; }; then 8981 if ac_fn_cxx_try_run "$LINENO"; then : 13512 8982 ac_cv_c_bigendian=no 13513 8983 else 13514 echo "$as_me: program exited with status $ac_status" >&5 13515 echo "$as_me: failed program was:" >&5 13516 sed 's/^/| /' conftest.$ac_ext >&5 13517 13518 ( exit $ac_status ) 13519 ac_cv_c_bigendian=yes 13520 fi 13521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13522 fi 13523 13524 13525 fi 13526 13527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13528 fi 13529 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 13530 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 13531 case $ac_cv_c_bigendian in 13532 yes) 13533 13534 cat >>confdefs.h <<\_ACEOF 13535 #define WORDS_BIGENDIAN 1 13536 _ACEOF 13537 ;; 13538 no) 13539 ;; 13540 *) 13541 { { echo "$as_me:$LINENO: error: unknown endianness 13542 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 13543 echo "$as_me: error: unknown endianness 13544 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 13545 { (exit 1); exit 1; }; } ;; 13546 esac 13547 13548 { echo "$as_me:$LINENO: checking for int" >&5 13549 echo $ECHO_N "checking for int... $ECHO_C" >&6; } 13550 if test "${ac_cv_type_int+set}" = set; then 13551 echo $ECHO_N "(cached) $ECHO_C" >&6 13552 else 13553 cat >conftest.$ac_ext <<_ACEOF 13554 /* confdefs.h. */ 13555 _ACEOF 13556 cat confdefs.h >>conftest.$ac_ext 13557 cat >>conftest.$ac_ext <<_ACEOF 13558 /* end confdefs.h. */ 13559 $ac_includes_default 13560 typedef int ac__type_new_; 13561 int 13562 main () 13563 { 13564 if ((ac__type_new_ *) 0) 13565 return 0; 13566 if (sizeof (ac__type_new_)) 13567 return 0; 13568 ; 13569 return 0; 13570 } 13571 _ACEOF 13572 rm -f conftest.$ac_objext 13573 if { (ac_try="$ac_compile" 13574 case "(($ac_try" in 13575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13576 *) ac_try_echo=$ac_try;; 13577 esac 13578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13579 (eval "$ac_compile") 2>conftest.er1 13580 ac_status=$? 13581 grep -v '^ *+' conftest.er1 >conftest.err 13582 rm -f conftest.er1 13583 cat conftest.err >&5 13584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13585 (exit $ac_status); } && { 13586 test -z "$ac_cxx_werror_flag" || 13587 test ! -s conftest.err 13588 } && test -s conftest.$ac_objext; then 13589 ac_cv_type_int=yes 13590 else 13591 echo "$as_me: failed program was:" >&5 13592 sed 's/^/| /' conftest.$ac_ext >&5 13593 13594 ac_cv_type_int=no 13595 fi 13596 13597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13598 fi 13599 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 13600 echo "${ECHO_T}$ac_cv_type_int" >&6; } 8984 ac_cv_c_bigendian=yes 8985 fi 8986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8987 conftest.$ac_objext conftest.beam conftest.$ac_ext 8988 fi 8989 8990 fi 8991 fi 8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 8993 $as_echo "$ac_cv_c_bigendian" >&6; } 8994 case $ac_cv_c_bigendian in #( 8995 yes) 8996 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 8997 ;; #( 8998 no) 8999 ;; #( 9000 universal) 9001 9002 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9003 9004 ;; #( 9005 *) 9006 as_fn_error "unknown endianness 9007 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9008 esac 13601 9009 13602 9010 # The cast to long int works around a bug in the HP C Compiler … … 13604 9012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13605 9013 # This bug is HP SR number 8606223364. 13606 { echo "$as_me:$LINENO: checking size of int" >&5 13607 echo $ECHO_N "checking size of int... $ECHO_C" >&6; } 13608 if test "${ac_cv_sizeof_int+set}" = set; then 13609 echo $ECHO_N "(cached) $ECHO_C" >&6 13610 else 13611 if test "$cross_compiling" = yes; then 13612 # Depending upon the size, compute the lo and hi bounds. 13613 cat >conftest.$ac_ext <<_ACEOF 13614 /* confdefs.h. */ 13615 _ACEOF 13616 cat confdefs.h >>conftest.$ac_ext 13617 cat >>conftest.$ac_ext <<_ACEOF 13618 /* end confdefs.h. */ 13619 $ac_includes_default 13620 typedef int ac__type_sizeof_; 13621 int 13622 main () 13623 { 13624 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 13625 test_array [0] = 0 13626 13627 ; 13628 return 0; 13629 } 13630 _ACEOF 13631 rm -f conftest.$ac_objext 13632 if { (ac_try="$ac_compile" 13633 case "(($ac_try" in 13634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13635 *) ac_try_echo=$ac_try;; 13636 esac 13637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13638 (eval "$ac_compile") 2>conftest.er1 13639 ac_status=$? 13640 grep -v '^ *+' conftest.er1 >conftest.err 13641 rm -f conftest.er1 13642 cat conftest.err >&5 13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13644 (exit $ac_status); } && { 13645 test -z "$ac_cxx_werror_flag" || 13646 test ! -s conftest.err 13647 } && test -s conftest.$ac_objext; then 13648 ac_lo=0 ac_mid=0 13649 while :; do 13650 cat >conftest.$ac_ext <<_ACEOF 13651 /* confdefs.h. */ 13652 _ACEOF 13653 cat confdefs.h >>conftest.$ac_ext 13654 cat >>conftest.$ac_ext <<_ACEOF 13655 /* end confdefs.h. */ 13656 $ac_includes_default 13657 typedef int ac__type_sizeof_; 13658 int 13659 main () 13660 { 13661 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 13662 test_array [0] = 0 13663 13664 ; 13665 return 0; 13666 } 13667 _ACEOF 13668 rm -f conftest.$ac_objext 13669 if { (ac_try="$ac_compile" 13670 case "(($ac_try" in 13671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13672 *) ac_try_echo=$ac_try;; 13673 esac 13674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13675 (eval "$ac_compile") 2>conftest.er1 13676 ac_status=$? 13677 grep -v '^ *+' conftest.er1 >conftest.err 13678 rm -f conftest.er1 13679 cat conftest.err >&5 13680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13681 (exit $ac_status); } && { 13682 test -z "$ac_cxx_werror_flag" || 13683 test ! -s conftest.err 13684 } && test -s conftest.$ac_objext; then 13685 ac_hi=$ac_mid; break 13686 else 13687 echo "$as_me: failed program was:" >&5 13688 sed 's/^/| /' conftest.$ac_ext >&5 13689 13690 ac_lo=`expr $ac_mid + 1` 13691 if test $ac_lo -le $ac_mid; then 13692 ac_lo= ac_hi= 13693 break 13694 fi 13695 ac_mid=`expr 2 '*' $ac_mid + 1` 13696 fi 13697 13698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13699 done 13700 else 13701 echo "$as_me: failed program was:" >&5 13702 sed 's/^/| /' conftest.$ac_ext >&5 13703 13704 cat >conftest.$ac_ext <<_ACEOF 13705 /* confdefs.h. */ 13706 _ACEOF 13707 cat confdefs.h >>conftest.$ac_ext 13708 cat >>conftest.$ac_ext <<_ACEOF 13709 /* end confdefs.h. */ 13710 $ac_includes_default 13711 typedef int ac__type_sizeof_; 13712 int 13713 main () 13714 { 13715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 13716 test_array [0] = 0 13717 13718 ; 13719 return 0; 13720 } 13721 _ACEOF 13722 rm -f conftest.$ac_objext 13723 if { (ac_try="$ac_compile" 13724 case "(($ac_try" in 13725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13726 *) ac_try_echo=$ac_try;; 13727 esac 13728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13729 (eval "$ac_compile") 2>conftest.er1 13730 ac_status=$? 13731 grep -v '^ *+' conftest.er1 >conftest.err 13732 rm -f conftest.er1 13733 cat conftest.err >&5 13734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13735 (exit $ac_status); } && { 13736 test -z "$ac_cxx_werror_flag" || 13737 test ! -s conftest.err 13738 } && test -s conftest.$ac_objext; then 13739 ac_hi=-1 ac_mid=-1 13740 while :; do 13741 cat >conftest.$ac_ext <<_ACEOF 13742 /* confdefs.h. */ 13743 _ACEOF 13744 cat confdefs.h >>conftest.$ac_ext 13745 cat >>conftest.$ac_ext <<_ACEOF 13746 /* end confdefs.h. */ 13747 $ac_includes_default 13748 typedef int ac__type_sizeof_; 13749 int 13750 main () 13751 { 13752 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 13753 test_array [0] = 0 13754 13755 ; 13756 return 0; 13757 } 13758 _ACEOF 13759 rm -f conftest.$ac_objext 13760 if { (ac_try="$ac_compile" 13761 case "(($ac_try" in 13762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13763 *) ac_try_echo=$ac_try;; 13764 esac 13765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13766 (eval "$ac_compile") 2>conftest.er1 13767 ac_status=$? 13768 grep -v '^ *+' conftest.er1 >conftest.err 13769 rm -f conftest.er1 13770 cat conftest.err >&5 13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13772 (exit $ac_status); } && { 13773 test -z "$ac_cxx_werror_flag" || 13774 test ! -s conftest.err 13775 } && test -s conftest.$ac_objext; then 13776 ac_lo=$ac_mid; break 13777 else 13778 echo "$as_me: failed program was:" >&5 13779 sed 's/^/| /' conftest.$ac_ext >&5 13780 13781 ac_hi=`expr '(' $ac_mid ')' - 1` 13782 if test $ac_mid -le $ac_hi; then 13783 ac_lo= ac_hi= 13784 break 13785 fi 13786 ac_mid=`expr 2 '*' $ac_mid` 13787 fi 13788 13789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13790 done 13791 else 13792 echo "$as_me: failed program was:" >&5 13793 sed 's/^/| /' conftest.$ac_ext >&5 13794 13795 ac_lo= ac_hi= 13796 fi 13797 13798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13799 fi 13800 13801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13802 # Binary search between lo and hi bounds. 13803 while test "x$ac_lo" != "x$ac_hi"; do 13804 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 13805 cat >conftest.$ac_ext <<_ACEOF 13806 /* confdefs.h. */ 13807 _ACEOF 13808 cat confdefs.h >>conftest.$ac_ext 13809 cat >>conftest.$ac_ext <<_ACEOF 13810 /* end confdefs.h. */ 13811 $ac_includes_default 13812 typedef int ac__type_sizeof_; 13813 int 13814 main () 13815 { 13816 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 13817 test_array [0] = 0 13818 13819 ; 13820 return 0; 13821 } 13822 _ACEOF 13823 rm -f conftest.$ac_objext 13824 if { (ac_try="$ac_compile" 13825 case "(($ac_try" in 13826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13827 *) ac_try_echo=$ac_try;; 13828 esac 13829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13830 (eval "$ac_compile") 2>conftest.er1 13831 ac_status=$? 13832 grep -v '^ *+' conftest.er1 >conftest.err 13833 rm -f conftest.er1 13834 cat conftest.err >&5 13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13836 (exit $ac_status); } && { 13837 test -z "$ac_cxx_werror_flag" || 13838 test ! -s conftest.err 13839 } && test -s conftest.$ac_objext; then 13840 ac_hi=$ac_mid 13841 else 13842 echo "$as_me: failed program was:" >&5 13843 sed 's/^/| /' conftest.$ac_ext >&5 13844 13845 ac_lo=`expr '(' $ac_mid ')' + 1` 13846 fi 13847 13848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13849 done 13850 case $ac_lo in 13851 ?*) ac_cv_sizeof_int=$ac_lo;; 13852 '') if test "$ac_cv_type_int" = yes; then 13853 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 13854 See \`config.log' for more details." >&5 13855 echo "$as_me: error: cannot compute sizeof (int) 13856 See \`config.log' for more details." >&2;} 13857 { (exit 77); exit 77; }; } 13858 else 13859 ac_cv_sizeof_int=0 13860 fi ;; 13861 esac 13862 else 13863 cat >conftest.$ac_ext <<_ACEOF 13864 /* confdefs.h. */ 13865 _ACEOF 13866 cat confdefs.h >>conftest.$ac_ext 13867 cat >>conftest.$ac_ext <<_ACEOF 13868 /* end confdefs.h. */ 13869 $ac_includes_default 13870 typedef int ac__type_sizeof_; 13871 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 13872 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 13873 #include <stdio.h> 13874 #include <stdlib.h> 13875 int 13876 main () 13877 { 13878 13879 FILE *f = fopen ("conftest.val", "w"); 13880 if (! f) 13881 return 1; 13882 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 13883 { 13884 long int i = longval (); 13885 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 13886 return 1; 13887 fprintf (f, "%ld\n", i); 13888 } 13889 else 13890 { 13891 unsigned long int i = ulongval (); 13892 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 13893 return 1; 13894 fprintf (f, "%lu\n", i); 13895 } 13896 return ferror (f) || fclose (f) != 0; 13897 13898 ; 13899 return 0; 13900 } 13901 _ACEOF 13902 rm -f conftest$ac_exeext 13903 if { (ac_try="$ac_link" 13904 case "(($ac_try" in 13905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13906 *) ac_try_echo=$ac_try;; 13907 esac 13908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13909 (eval "$ac_link") 2>&5 13910 ac_status=$? 13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13912 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13913 { (case "(($ac_try" in 13914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13915 *) ac_try_echo=$ac_try;; 13916 esac 13917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13918 (eval "$ac_try") 2>&5 13919 ac_status=$? 13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13921 (exit $ac_status); }; }; then 13922 ac_cv_sizeof_int=`cat conftest.val` 13923 else 13924 echo "$as_me: program exited with status $ac_status" >&5 13925 echo "$as_me: failed program was:" >&5 13926 sed 's/^/| /' conftest.$ac_ext >&5 13927 13928 ( exit $ac_status ) 13929 if test "$ac_cv_type_int" = yes; then 13930 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 13931 See \`config.log' for more details." >&5 13932 echo "$as_me: error: cannot compute sizeof (int) 13933 See \`config.log' for more details." >&2;} 13934 { (exit 77); exit 77; }; } 9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 9015 $as_echo_n "checking size of int... " >&6; } 9016 if test "${ac_cv_sizeof_int+set}" = set; then : 9017 $as_echo_n "(cached) " >&6 9018 else 9019 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 9020 9021 else 9022 if test "$ac_cv_type_int" = yes; then 9023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9025 { as_fn_set_status 77 9026 as_fn_error "cannot compute sizeof (int) 9027 See \`config.log' for more details." "$LINENO" 5; }; } 13935 9028 else 13936 9029 ac_cv_sizeof_int=0 13937 9030 fi 13938 9031 fi 13939 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13940 fi 13941 rm -f conftest.val 13942 fi 13943 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 13944 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } 9032 9033 fi 9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9035 $as_echo "$ac_cv_sizeof_int" >&6; } 13945 9036 13946 9037 … … 13950 9041 _ACEOF 13951 9042 13952 13953 { echo "$as_me:$LINENO: checking for long" >&513954 echo $ECHO_N "checking for long... $ECHO_C" >&6; }13955 if test "${ac_cv_type_long+set}" = set; then13956 echo $ECHO_N "(cached) $ECHO_C" >&613957 else13958 cat >conftest.$ac_ext <<_ACEOF13959 /* confdefs.h. */13960 _ACEOF13961 cat confdefs.h >>conftest.$ac_ext13962 cat >>conftest.$ac_ext <<_ACEOF13963 /* end confdefs.h. */13964 $ac_includes_default13965 typedef long ac__type_new_;13966 int13967 main ()13968 {13969 if ((ac__type_new_ *) 0)13970 return 0;13971 if (sizeof (ac__type_new_))13972 return 0;13973 ;13974 return 0;13975 }13976 _ACEOF13977 rm -f conftest.$ac_objext13978 if { (ac_try="$ac_compile"13979 case "(($ac_try" in13980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;13981 *) ac_try_echo=$ac_try;;13982 esac13983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&513984 (eval "$ac_compile") 2>conftest.er113985 ac_status=$?13986 grep -v '^ *+' conftest.er1 >conftest.err13987 rm -f conftest.er113988 cat conftest.err >&513989 echo "$as_me:$LINENO: \$? = $ac_status" >&513990 (exit $ac_status); } && {13991 test -z "$ac_cxx_werror_flag" ||13992 test ! -s conftest.err13993 } && test -s conftest.$ac_objext; then13994 ac_cv_type_long=yes13995 else13996 echo "$as_me: failed program was:" >&513997 sed 's/^/| /' conftest.$ac_ext >&513998 13999 ac_cv_type_long=no14000 fi14001 14002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext14003 fi14004 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&514005 echo "${ECHO_T}$ac_cv_type_long" >&6; }14006 9043 14007 9044 # The cast to long int works around a bug in the HP C Compiler … … 14009 9046 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14010 9047 # This bug is HP SR number 8606223364. 14011 { echo "$as_me:$LINENO: checking size of long" >&5 14012 echo $ECHO_N "checking size of long... $ECHO_C" >&6; } 14013 if test "${ac_cv_sizeof_long+set}" = set; then 14014 echo $ECHO_N "(cached) $ECHO_C" >&6 14015 else 14016 if test "$cross_compiling" = yes; then 14017 # Depending upon the size, compute the lo and hi bounds. 14018 cat >conftest.$ac_ext <<_ACEOF 14019 /* confdefs.h. */ 14020 _ACEOF 14021 cat confdefs.h >>conftest.$ac_ext 14022 cat >>conftest.$ac_ext <<_ACEOF 14023 /* end confdefs.h. */ 14024 $ac_includes_default 14025 typedef long ac__type_sizeof_; 14026 int 14027 main () 14028 { 14029 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14030 test_array [0] = 0 14031 14032 ; 14033 return 0; 14034 } 14035 _ACEOF 14036 rm -f conftest.$ac_objext 14037 if { (ac_try="$ac_compile" 14038 case "(($ac_try" in 14039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14040 *) ac_try_echo=$ac_try;; 14041 esac 14042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14043 (eval "$ac_compile") 2>conftest.er1 14044 ac_status=$? 14045 grep -v '^ *+' conftest.er1 >conftest.err 14046 rm -f conftest.er1 14047 cat conftest.err >&5 14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14049 (exit $ac_status); } && { 14050 test -z "$ac_cxx_werror_flag" || 14051 test ! -s conftest.err 14052 } && test -s conftest.$ac_objext; then 14053 ac_lo=0 ac_mid=0 14054 while :; do 14055 cat >conftest.$ac_ext <<_ACEOF 14056 /* confdefs.h. */ 14057 _ACEOF 14058 cat confdefs.h >>conftest.$ac_ext 14059 cat >>conftest.$ac_ext <<_ACEOF 14060 /* end confdefs.h. */ 14061 $ac_includes_default 14062 typedef long ac__type_sizeof_; 14063 int 14064 main () 14065 { 14066 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14067 test_array [0] = 0 14068 14069 ; 14070 return 0; 14071 } 14072 _ACEOF 14073 rm -f conftest.$ac_objext 14074 if { (ac_try="$ac_compile" 14075 case "(($ac_try" in 14076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14077 *) ac_try_echo=$ac_try;; 14078 esac 14079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14080 (eval "$ac_compile") 2>conftest.er1 14081 ac_status=$? 14082 grep -v '^ *+' conftest.er1 >conftest.err 14083 rm -f conftest.er1 14084 cat conftest.err >&5 14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14086 (exit $ac_status); } && { 14087 test -z "$ac_cxx_werror_flag" || 14088 test ! -s conftest.err 14089 } && test -s conftest.$ac_objext; then 14090 ac_hi=$ac_mid; break 14091 else 14092 echo "$as_me: failed program was:" >&5 14093 sed 's/^/| /' conftest.$ac_ext >&5 14094 14095 ac_lo=`expr $ac_mid + 1` 14096 if test $ac_lo -le $ac_mid; then 14097 ac_lo= ac_hi= 14098 break 14099 fi 14100 ac_mid=`expr 2 '*' $ac_mid + 1` 14101 fi 14102 14103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14104 done 14105 else 14106 echo "$as_me: failed program was:" >&5 14107 sed 's/^/| /' conftest.$ac_ext >&5 14108 14109 cat >conftest.$ac_ext <<_ACEOF 14110 /* confdefs.h. */ 14111 _ACEOF 14112 cat confdefs.h >>conftest.$ac_ext 14113 cat >>conftest.$ac_ext <<_ACEOF 14114 /* end confdefs.h. */ 14115 $ac_includes_default 14116 typedef long ac__type_sizeof_; 14117 int 14118 main () 14119 { 14120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14121 test_array [0] = 0 14122 14123 ; 14124 return 0; 14125 } 14126 _ACEOF 14127 rm -f conftest.$ac_objext 14128 if { (ac_try="$ac_compile" 14129 case "(($ac_try" in 14130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14131 *) ac_try_echo=$ac_try;; 14132 esac 14133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14134 (eval "$ac_compile") 2>conftest.er1 14135 ac_status=$? 14136 grep -v '^ *+' conftest.er1 >conftest.err 14137 rm -f conftest.er1 14138 cat conftest.err >&5 14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14140 (exit $ac_status); } && { 14141 test -z "$ac_cxx_werror_flag" || 14142 test ! -s conftest.err 14143 } && test -s conftest.$ac_objext; then 14144 ac_hi=-1 ac_mid=-1 14145 while :; do 14146 cat >conftest.$ac_ext <<_ACEOF 14147 /* confdefs.h. */ 14148 _ACEOF 14149 cat confdefs.h >>conftest.$ac_ext 14150 cat >>conftest.$ac_ext <<_ACEOF 14151 /* end confdefs.h. */ 14152 $ac_includes_default 14153 typedef long ac__type_sizeof_; 14154 int 14155 main () 14156 { 14157 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14158 test_array [0] = 0 14159 14160 ; 14161 return 0; 14162 } 14163 _ACEOF 14164 rm -f conftest.$ac_objext 14165 if { (ac_try="$ac_compile" 14166 case "(($ac_try" in 14167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14168 *) ac_try_echo=$ac_try;; 14169 esac 14170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14171 (eval "$ac_compile") 2>conftest.er1 14172 ac_status=$? 14173 grep -v '^ *+' conftest.er1 >conftest.err 14174 rm -f conftest.er1 14175 cat conftest.err >&5 14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14177 (exit $ac_status); } && { 14178 test -z "$ac_cxx_werror_flag" || 14179 test ! -s conftest.err 14180 } && test -s conftest.$ac_objext; then 14181 ac_lo=$ac_mid; break 14182 else 14183 echo "$as_me: failed program was:" >&5 14184 sed 's/^/| /' conftest.$ac_ext >&5 14185 14186 ac_hi=`expr '(' $ac_mid ')' - 1` 14187 if test $ac_mid -le $ac_hi; then 14188 ac_lo= ac_hi= 14189 break 14190 fi 14191 ac_mid=`expr 2 '*' $ac_mid` 14192 fi 14193 14194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14195 done 14196 else 14197 echo "$as_me: failed program was:" >&5 14198 sed 's/^/| /' conftest.$ac_ext >&5 14199 14200 ac_lo= ac_hi= 14201 fi 14202 14203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14204 fi 14205 14206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14207 # Binary search between lo and hi bounds. 14208 while test "x$ac_lo" != "x$ac_hi"; do 14209 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14210 cat >conftest.$ac_ext <<_ACEOF 14211 /* confdefs.h. */ 14212 _ACEOF 14213 cat confdefs.h >>conftest.$ac_ext 14214 cat >>conftest.$ac_ext <<_ACEOF 14215 /* end confdefs.h. */ 14216 $ac_includes_default 14217 typedef long ac__type_sizeof_; 14218 int 14219 main () 14220 { 14221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14222 test_array [0] = 0 14223 14224 ; 14225 return 0; 14226 } 14227 _ACEOF 14228 rm -f conftest.$ac_objext 14229 if { (ac_try="$ac_compile" 14230 case "(($ac_try" in 14231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14232 *) ac_try_echo=$ac_try;; 14233 esac 14234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14235 (eval "$ac_compile") 2>conftest.er1 14236 ac_status=$? 14237 grep -v '^ *+' conftest.er1 >conftest.err 14238 rm -f conftest.er1 14239 cat conftest.err >&5 14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14241 (exit $ac_status); } && { 14242 test -z "$ac_cxx_werror_flag" || 14243 test ! -s conftest.err 14244 } && test -s conftest.$ac_objext; then 14245 ac_hi=$ac_mid 14246 else 14247 echo "$as_me: failed program was:" >&5 14248 sed 's/^/| /' conftest.$ac_ext >&5 14249 14250 ac_lo=`expr '(' $ac_mid ')' + 1` 14251 fi 14252 14253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14254 done 14255 case $ac_lo in 14256 ?*) ac_cv_sizeof_long=$ac_lo;; 14257 '') if test "$ac_cv_type_long" = yes; then 14258 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14259 See \`config.log' for more details." >&5 14260 echo "$as_me: error: cannot compute sizeof (long) 14261 See \`config.log' for more details." >&2;} 14262 { (exit 77); exit 77; }; } 14263 else 14264 ac_cv_sizeof_long=0 14265 fi ;; 14266 esac 14267 else 14268 cat >conftest.$ac_ext <<_ACEOF 14269 /* confdefs.h. */ 14270 _ACEOF 14271 cat confdefs.h >>conftest.$ac_ext 14272 cat >>conftest.$ac_ext <<_ACEOF 14273 /* end confdefs.h. */ 14274 $ac_includes_default 14275 typedef long ac__type_sizeof_; 14276 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14277 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14278 #include <stdio.h> 14279 #include <stdlib.h> 14280 int 14281 main () 14282 { 14283 14284 FILE *f = fopen ("conftest.val", "w"); 14285 if (! f) 14286 return 1; 14287 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14288 { 14289 long int i = longval (); 14290 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14291 return 1; 14292 fprintf (f, "%ld\n", i); 14293 } 14294 else 14295 { 14296 unsigned long int i = ulongval (); 14297 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14298 return 1; 14299 fprintf (f, "%lu\n", i); 14300 } 14301 return ferror (f) || fclose (f) != 0; 14302 14303 ; 14304 return 0; 14305 } 14306 _ACEOF 14307 rm -f conftest$ac_exeext 14308 if { (ac_try="$ac_link" 14309 case "(($ac_try" in 14310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14311 *) ac_try_echo=$ac_try;; 14312 esac 14313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14314 (eval "$ac_link") 2>&5 14315 ac_status=$? 14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14317 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14318 { (case "(($ac_try" in 14319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14320 *) ac_try_echo=$ac_try;; 14321 esac 14322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14323 (eval "$ac_try") 2>&5 14324 ac_status=$? 14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14326 (exit $ac_status); }; }; then 14327 ac_cv_sizeof_long=`cat conftest.val` 14328 else 14329 echo "$as_me: program exited with status $ac_status" >&5 14330 echo "$as_me: failed program was:" >&5 14331 sed 's/^/| /' conftest.$ac_ext >&5 14332 14333 ( exit $ac_status ) 14334 if test "$ac_cv_type_long" = yes; then 14335 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14336 See \`config.log' for more details." >&5 14337 echo "$as_me: error: cannot compute sizeof (long) 14338 See \`config.log' for more details." >&2;} 14339 { (exit 77); exit 77; }; } 9048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 9049 $as_echo_n "checking size of long... " >&6; } 9050 if test "${ac_cv_sizeof_long+set}" = set; then : 9051 $as_echo_n "(cached) " >&6 9052 else 9053 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 9054 9055 else 9056 if test "$ac_cv_type_long" = yes; then 9057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9059 { as_fn_set_status 77 9060 as_fn_error "cannot compute sizeof (long) 9061 See \`config.log' for more details." "$LINENO" 5; }; } 14340 9062 else 14341 9063 ac_cv_sizeof_long=0 14342 9064 fi 14343 9065 fi 14344 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14345 fi 14346 rm -f conftest.val 14347 fi 14348 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 14349 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } 9066 9067 fi 9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 9069 $as_echo "$ac_cv_sizeof_long" >&6; } 14350 9070 14351 9071 … … 14355 9075 _ACEOF 14356 9076 14357 14358 { echo "$as_me:$LINENO: checking for long long" >&514359 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }14360 if test "${ac_cv_type_long_long+set}" = set; then14361 echo $ECHO_N "(cached) $ECHO_C" >&614362 else14363 cat >conftest.$ac_ext <<_ACEOF14364 /* confdefs.h. */14365 _ACEOF14366 cat confdefs.h >>conftest.$ac_ext14367 cat >>conftest.$ac_ext <<_ACEOF14368 /* end confdefs.h. */14369 $ac_includes_default14370 typedef long long ac__type_new_;14371 int14372 main ()14373 {14374 if ((ac__type_new_ *) 0)14375 return 0;14376 if (sizeof (ac__type_new_))14377 return 0;14378 ;14379 return 0;14380 }14381 _ACEOF14382 rm -f conftest.$ac_objext14383 if { (ac_try="$ac_compile"14384 case "(($ac_try" in14385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;14386 *) ac_try_echo=$ac_try;;14387 esac14388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&514389 (eval "$ac_compile") 2>conftest.er114390 ac_status=$?14391 grep -v '^ *+' conftest.er1 >conftest.err14392 rm -f conftest.er114393 cat conftest.err >&514394 echo "$as_me:$LINENO: \$? = $ac_status" >&514395 (exit $ac_status); } && {14396 test -z "$ac_cxx_werror_flag" ||14397 test ! -s conftest.err14398 } && test -s conftest.$ac_objext; then14399 ac_cv_type_long_long=yes14400 else14401 echo "$as_me: failed program was:" >&514402 sed 's/^/| /' conftest.$ac_ext >&514403 14404 ac_cv_type_long_long=no14405 fi14406 14407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext14408 fi14409 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&514410 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }14411 9077 14412 9078 # The cast to long int works around a bug in the HP C Compiler … … 14414 9080 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14415 9081 # This bug is HP SR number 8606223364. 14416 { echo "$as_me:$LINENO: checking size of long long" >&5 14417 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } 14418 if test "${ac_cv_sizeof_long_long+set}" = set; then 14419 echo $ECHO_N "(cached) $ECHO_C" >&6 14420 else 14421 if test "$cross_compiling" = yes; then 14422 # Depending upon the size, compute the lo and hi bounds. 14423 cat >conftest.$ac_ext <<_ACEOF 14424 /* confdefs.h. */ 14425 _ACEOF 14426 cat confdefs.h >>conftest.$ac_ext 14427 cat >>conftest.$ac_ext <<_ACEOF 14428 /* end confdefs.h. */ 14429 $ac_includes_default 14430 typedef long long ac__type_sizeof_; 14431 int 14432 main () 14433 { 14434 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14435 test_array [0] = 0 14436 14437 ; 14438 return 0; 14439 } 14440 _ACEOF 14441 rm -f conftest.$ac_objext 14442 if { (ac_try="$ac_compile" 14443 case "(($ac_try" in 14444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14445 *) ac_try_echo=$ac_try;; 14446 esac 14447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14448 (eval "$ac_compile") 2>conftest.er1 14449 ac_status=$? 14450 grep -v '^ *+' conftest.er1 >conftest.err 14451 rm -f conftest.er1 14452 cat conftest.err >&5 14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14454 (exit $ac_status); } && { 14455 test -z "$ac_cxx_werror_flag" || 14456 test ! -s conftest.err 14457 } && test -s conftest.$ac_objext; then 14458 ac_lo=0 ac_mid=0 14459 while :; do 14460 cat >conftest.$ac_ext <<_ACEOF 14461 /* confdefs.h. */ 14462 _ACEOF 14463 cat confdefs.h >>conftest.$ac_ext 14464 cat >>conftest.$ac_ext <<_ACEOF 14465 /* end confdefs.h. */ 14466 $ac_includes_default 14467 typedef long long ac__type_sizeof_; 14468 int 14469 main () 14470 { 14471 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14472 test_array [0] = 0 14473 14474 ; 14475 return 0; 14476 } 14477 _ACEOF 14478 rm -f conftest.$ac_objext 14479 if { (ac_try="$ac_compile" 14480 case "(($ac_try" in 14481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14482 *) ac_try_echo=$ac_try;; 14483 esac 14484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14485 (eval "$ac_compile") 2>conftest.er1 14486 ac_status=$? 14487 grep -v '^ *+' conftest.er1 >conftest.err 14488 rm -f conftest.er1 14489 cat conftest.err >&5 14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14491 (exit $ac_status); } && { 14492 test -z "$ac_cxx_werror_flag" || 14493 test ! -s conftest.err 14494 } && test -s conftest.$ac_objext; then 14495 ac_hi=$ac_mid; break 14496 else 14497 echo "$as_me: failed program was:" >&5 14498 sed 's/^/| /' conftest.$ac_ext >&5 14499 14500 ac_lo=`expr $ac_mid + 1` 14501 if test $ac_lo -le $ac_mid; then 14502 ac_lo= ac_hi= 14503 break 14504 fi 14505 ac_mid=`expr 2 '*' $ac_mid + 1` 14506 fi 14507 14508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14509 done 14510 else 14511 echo "$as_me: failed program was:" >&5 14512 sed 's/^/| /' conftest.$ac_ext >&5 14513 14514 cat >conftest.$ac_ext <<_ACEOF 14515 /* confdefs.h. */ 14516 _ACEOF 14517 cat confdefs.h >>conftest.$ac_ext 14518 cat >>conftest.$ac_ext <<_ACEOF 14519 /* end confdefs.h. */ 14520 $ac_includes_default 14521 typedef long long ac__type_sizeof_; 14522 int 14523 main () 14524 { 14525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14526 test_array [0] = 0 14527 14528 ; 14529 return 0; 14530 } 14531 _ACEOF 14532 rm -f conftest.$ac_objext 14533 if { (ac_try="$ac_compile" 14534 case "(($ac_try" in 14535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14536 *) ac_try_echo=$ac_try;; 14537 esac 14538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14539 (eval "$ac_compile") 2>conftest.er1 14540 ac_status=$? 14541 grep -v '^ *+' conftest.er1 >conftest.err 14542 rm -f conftest.er1 14543 cat conftest.err >&5 14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14545 (exit $ac_status); } && { 14546 test -z "$ac_cxx_werror_flag" || 14547 test ! -s conftest.err 14548 } && test -s conftest.$ac_objext; then 14549 ac_hi=-1 ac_mid=-1 14550 while :; do 14551 cat >conftest.$ac_ext <<_ACEOF 14552 /* confdefs.h. */ 14553 _ACEOF 14554 cat confdefs.h >>conftest.$ac_ext 14555 cat >>conftest.$ac_ext <<_ACEOF 14556 /* end confdefs.h. */ 14557 $ac_includes_default 14558 typedef long long ac__type_sizeof_; 14559 int 14560 main () 14561 { 14562 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14563 test_array [0] = 0 14564 14565 ; 14566 return 0; 14567 } 14568 _ACEOF 14569 rm -f conftest.$ac_objext 14570 if { (ac_try="$ac_compile" 14571 case "(($ac_try" in 14572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14573 *) ac_try_echo=$ac_try;; 14574 esac 14575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14576 (eval "$ac_compile") 2>conftest.er1 14577 ac_status=$? 14578 grep -v '^ *+' conftest.er1 >conftest.err 14579 rm -f conftest.er1 14580 cat conftest.err >&5 14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14582 (exit $ac_status); } && { 14583 test -z "$ac_cxx_werror_flag" || 14584 test ! -s conftest.err 14585 } && test -s conftest.$ac_objext; then 14586 ac_lo=$ac_mid; break 14587 else 14588 echo "$as_me: failed program was:" >&5 14589 sed 's/^/| /' conftest.$ac_ext >&5 14590 14591 ac_hi=`expr '(' $ac_mid ')' - 1` 14592 if test $ac_mid -le $ac_hi; then 14593 ac_lo= ac_hi= 14594 break 14595 fi 14596 ac_mid=`expr 2 '*' $ac_mid` 14597 fi 14598 14599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14600 done 14601 else 14602 echo "$as_me: failed program was:" >&5 14603 sed 's/^/| /' conftest.$ac_ext >&5 14604 14605 ac_lo= ac_hi= 14606 fi 14607 14608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14609 fi 14610 14611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14612 # Binary search between lo and hi bounds. 14613 while test "x$ac_lo" != "x$ac_hi"; do 14614 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14615 cat >conftest.$ac_ext <<_ACEOF 14616 /* confdefs.h. */ 14617 _ACEOF 14618 cat confdefs.h >>conftest.$ac_ext 14619 cat >>conftest.$ac_ext <<_ACEOF 14620 /* end confdefs.h. */ 14621 $ac_includes_default 14622 typedef long long ac__type_sizeof_; 14623 int 14624 main () 14625 { 14626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14627 test_array [0] = 0 14628 14629 ; 14630 return 0; 14631 } 14632 _ACEOF 14633 rm -f conftest.$ac_objext 14634 if { (ac_try="$ac_compile" 14635 case "(($ac_try" in 14636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14637 *) ac_try_echo=$ac_try;; 14638 esac 14639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14640 (eval "$ac_compile") 2>conftest.er1 14641 ac_status=$? 14642 grep -v '^ *+' conftest.er1 >conftest.err 14643 rm -f conftest.er1 14644 cat conftest.err >&5 14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14646 (exit $ac_status); } && { 14647 test -z "$ac_cxx_werror_flag" || 14648 test ! -s conftest.err 14649 } && test -s conftest.$ac_objext; then 14650 ac_hi=$ac_mid 14651 else 14652 echo "$as_me: failed program was:" >&5 14653 sed 's/^/| /' conftest.$ac_ext >&5 14654 14655 ac_lo=`expr '(' $ac_mid ')' + 1` 14656 fi 14657 14658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14659 done 14660 case $ac_lo in 14661 ?*) ac_cv_sizeof_long_long=$ac_lo;; 14662 '') if test "$ac_cv_type_long_long" = yes; then 14663 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 14664 See \`config.log' for more details." >&5 14665 echo "$as_me: error: cannot compute sizeof (long long) 14666 See \`config.log' for more details." >&2;} 14667 { (exit 77); exit 77; }; } 14668 else 14669 ac_cv_sizeof_long_long=0 14670 fi ;; 14671 esac 14672 else 14673 cat >conftest.$ac_ext <<_ACEOF 14674 /* confdefs.h. */ 14675 _ACEOF 14676 cat confdefs.h >>conftest.$ac_ext 14677 cat >>conftest.$ac_ext <<_ACEOF 14678 /* end confdefs.h. */ 14679 $ac_includes_default 14680 typedef long long ac__type_sizeof_; 14681 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14682 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14683 #include <stdio.h> 14684 #include <stdlib.h> 14685 int 14686 main () 14687 { 14688 14689 FILE *f = fopen ("conftest.val", "w"); 14690 if (! f) 14691 return 1; 14692 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14693 { 14694 long int i = longval (); 14695 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14696 return 1; 14697 fprintf (f, "%ld\n", i); 14698 } 14699 else 14700 { 14701 unsigned long int i = ulongval (); 14702 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14703 return 1; 14704 fprintf (f, "%lu\n", i); 14705 } 14706 return ferror (f) || fclose (f) != 0; 14707 14708 ; 14709 return 0; 14710 } 14711 _ACEOF 14712 rm -f conftest$ac_exeext 14713 if { (ac_try="$ac_link" 14714 case "(($ac_try" in 14715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14716 *) ac_try_echo=$ac_try;; 14717 esac 14718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14719 (eval "$ac_link") 2>&5 14720 ac_status=$? 14721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14722 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14723 { (case "(($ac_try" in 14724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14725 *) ac_try_echo=$ac_try;; 14726 esac 14727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14728 (eval "$ac_try") 2>&5 14729 ac_status=$? 14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14731 (exit $ac_status); }; }; then 14732 ac_cv_sizeof_long_long=`cat conftest.val` 14733 else 14734 echo "$as_me: program exited with status $ac_status" >&5 14735 echo "$as_me: failed program was:" >&5 14736 sed 's/^/| /' conftest.$ac_ext >&5 14737 14738 ( exit $ac_status ) 14739 if test "$ac_cv_type_long_long" = yes; then 14740 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 14741 See \`config.log' for more details." >&5 14742 echo "$as_me: error: cannot compute sizeof (long long) 14743 See \`config.log' for more details." >&2;} 14744 { (exit 77); exit 77; }; } 9082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 9083 $as_echo_n "checking size of long long... " >&6; } 9084 if test "${ac_cv_sizeof_long_long+set}" = set; then : 9085 $as_echo_n "(cached) " >&6 9086 else 9087 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 9088 9089 else 9090 if test "$ac_cv_type_long_long" = yes; then 9091 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9093 { as_fn_set_status 77 9094 as_fn_error "cannot compute sizeof (long long) 9095 See \`config.log' for more details." "$LINENO" 5; }; } 14745 9096 else 14746 9097 ac_cv_sizeof_long_long=0 14747 9098 fi 14748 9099 fi 14749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14750 fi 14751 rm -f conftest.val 14752 fi 14753 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 14754 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } 9100 9101 fi 9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 9103 $as_echo "$ac_cv_sizeof_long_long" >&6; } 14755 9104 14756 9105 … … 14760 9109 _ACEOF 14761 9110 14762 14763 { echo "$as_me:$LINENO: checking for void *" >&514764 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }14765 if test "${ac_cv_type_void_p+set}" = set; then14766 echo $ECHO_N "(cached) $ECHO_C" >&614767 else14768 cat >conftest.$ac_ext <<_ACEOF14769 /* confdefs.h. */14770 _ACEOF14771 cat confdefs.h >>conftest.$ac_ext14772 cat >>conftest.$ac_ext <<_ACEOF14773 /* end confdefs.h. */14774 $ac_includes_default14775 typedef void * ac__type_new_;14776 int14777 main ()14778 {14779 if ((ac__type_new_ *) 0)14780 return 0;14781 if (sizeof (ac__type_new_))14782 return 0;14783 ;14784 return 0;14785 }14786 _ACEOF14787 rm -f conftest.$ac_objext14788 if { (ac_try="$ac_compile"14789 case "(($ac_try" in14790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;14791 *) ac_try_echo=$ac_try;;14792 esac14793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&514794 (eval "$ac_compile") 2>conftest.er114795 ac_status=$?14796 grep -v '^ *+' conftest.er1 >conftest.err14797 rm -f conftest.er114798 cat conftest.err >&514799 echo "$as_me:$LINENO: \$? = $ac_status" >&514800 (exit $ac_status); } && {14801 test -z "$ac_cxx_werror_flag" ||14802 test ! -s conftest.err14803 } && test -s conftest.$ac_objext; then14804 ac_cv_type_void_p=yes14805 else14806 echo "$as_me: failed program was:" >&514807 sed 's/^/| /' conftest.$ac_ext >&514808 14809 ac_cv_type_void_p=no14810 fi14811 14812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext14813 fi14814 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&514815 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }14816 9111 14817 9112 # The cast to long int works around a bug in the HP C Compiler … … 14819 9114 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14820 9115 # This bug is HP SR number 8606223364. 14821 { echo "$as_me:$LINENO: checking size of void *" >&5 14822 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; } 14823 if test "${ac_cv_sizeof_void_p+set}" = set; then 14824 echo $ECHO_N "(cached) $ECHO_C" >&6 14825 else 14826 if test "$cross_compiling" = yes; then 14827 # Depending upon the size, compute the lo and hi bounds. 14828 cat >conftest.$ac_ext <<_ACEOF 14829 /* confdefs.h. */ 14830 _ACEOF 14831 cat confdefs.h >>conftest.$ac_ext 14832 cat >>conftest.$ac_ext <<_ACEOF 14833 /* end confdefs.h. */ 14834 $ac_includes_default 14835 typedef void * ac__type_sizeof_; 14836 int 14837 main () 14838 { 14839 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14840 test_array [0] = 0 14841 14842 ; 14843 return 0; 14844 } 14845 _ACEOF 14846 rm -f conftest.$ac_objext 14847 if { (ac_try="$ac_compile" 14848 case "(($ac_try" in 14849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14850 *) ac_try_echo=$ac_try;; 14851 esac 14852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14853 (eval "$ac_compile") 2>conftest.er1 14854 ac_status=$? 14855 grep -v '^ *+' conftest.er1 >conftest.err 14856 rm -f conftest.er1 14857 cat conftest.err >&5 14858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14859 (exit $ac_status); } && { 14860 test -z "$ac_cxx_werror_flag" || 14861 test ! -s conftest.err 14862 } && test -s conftest.$ac_objext; then 14863 ac_lo=0 ac_mid=0 14864 while :; do 14865 cat >conftest.$ac_ext <<_ACEOF 14866 /* confdefs.h. */ 14867 _ACEOF 14868 cat confdefs.h >>conftest.$ac_ext 14869 cat >>conftest.$ac_ext <<_ACEOF 14870 /* end confdefs.h. */ 14871 $ac_includes_default 14872 typedef void * ac__type_sizeof_; 14873 int 14874 main () 14875 { 14876 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14877 test_array [0] = 0 14878 14879 ; 14880 return 0; 14881 } 14882 _ACEOF 14883 rm -f conftest.$ac_objext 14884 if { (ac_try="$ac_compile" 14885 case "(($ac_try" in 14886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14887 *) ac_try_echo=$ac_try;; 14888 esac 14889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14890 (eval "$ac_compile") 2>conftest.er1 14891 ac_status=$? 14892 grep -v '^ *+' conftest.er1 >conftest.err 14893 rm -f conftest.er1 14894 cat conftest.err >&5 14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14896 (exit $ac_status); } && { 14897 test -z "$ac_cxx_werror_flag" || 14898 test ! -s conftest.err 14899 } && test -s conftest.$ac_objext; then 14900 ac_hi=$ac_mid; break 14901 else 14902 echo "$as_me: failed program was:" >&5 14903 sed 's/^/| /' conftest.$ac_ext >&5 14904 14905 ac_lo=`expr $ac_mid + 1` 14906 if test $ac_lo -le $ac_mid; then 14907 ac_lo= ac_hi= 14908 break 14909 fi 14910 ac_mid=`expr 2 '*' $ac_mid + 1` 14911 fi 14912 14913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14914 done 14915 else 14916 echo "$as_me: failed program was:" >&5 14917 sed 's/^/| /' conftest.$ac_ext >&5 14918 14919 cat >conftest.$ac_ext <<_ACEOF 14920 /* confdefs.h. */ 14921 _ACEOF 14922 cat confdefs.h >>conftest.$ac_ext 14923 cat >>conftest.$ac_ext <<_ACEOF 14924 /* end confdefs.h. */ 14925 $ac_includes_default 14926 typedef void * ac__type_sizeof_; 14927 int 14928 main () 14929 { 14930 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14931 test_array [0] = 0 14932 14933 ; 14934 return 0; 14935 } 14936 _ACEOF 14937 rm -f conftest.$ac_objext 14938 if { (ac_try="$ac_compile" 14939 case "(($ac_try" in 14940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14941 *) ac_try_echo=$ac_try;; 14942 esac 14943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14944 (eval "$ac_compile") 2>conftest.er1 14945 ac_status=$? 14946 grep -v '^ *+' conftest.er1 >conftest.err 14947 rm -f conftest.er1 14948 cat conftest.err >&5 14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14950 (exit $ac_status); } && { 14951 test -z "$ac_cxx_werror_flag" || 14952 test ! -s conftest.err 14953 } && test -s conftest.$ac_objext; then 14954 ac_hi=-1 ac_mid=-1 14955 while :; do 14956 cat >conftest.$ac_ext <<_ACEOF 14957 /* confdefs.h. */ 14958 _ACEOF 14959 cat confdefs.h >>conftest.$ac_ext 14960 cat >>conftest.$ac_ext <<_ACEOF 14961 /* end confdefs.h. */ 14962 $ac_includes_default 14963 typedef void * ac__type_sizeof_; 14964 int 14965 main () 14966 { 14967 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14968 test_array [0] = 0 14969 14970 ; 14971 return 0; 14972 } 14973 _ACEOF 14974 rm -f conftest.$ac_objext 14975 if { (ac_try="$ac_compile" 14976 case "(($ac_try" in 14977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14978 *) ac_try_echo=$ac_try;; 14979 esac 14980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14981 (eval "$ac_compile") 2>conftest.er1 14982 ac_status=$? 14983 grep -v '^ *+' conftest.er1 >conftest.err 14984 rm -f conftest.er1 14985 cat conftest.err >&5 14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14987 (exit $ac_status); } && { 14988 test -z "$ac_cxx_werror_flag" || 14989 test ! -s conftest.err 14990 } && test -s conftest.$ac_objext; then 14991 ac_lo=$ac_mid; break 14992 else 14993 echo "$as_me: failed program was:" >&5 14994 sed 's/^/| /' conftest.$ac_ext >&5 14995 14996 ac_hi=`expr '(' $ac_mid ')' - 1` 14997 if test $ac_mid -le $ac_hi; then 14998 ac_lo= ac_hi= 14999 break 15000 fi 15001 ac_mid=`expr 2 '*' $ac_mid` 15002 fi 15003 15004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15005 done 15006 else 15007 echo "$as_me: failed program was:" >&5 15008 sed 's/^/| /' conftest.$ac_ext >&5 15009 15010 ac_lo= ac_hi= 15011 fi 15012 15013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15014 fi 15015 15016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15017 # Binary search between lo and hi bounds. 15018 while test "x$ac_lo" != "x$ac_hi"; do 15019 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15020 cat >conftest.$ac_ext <<_ACEOF 15021 /* confdefs.h. */ 15022 _ACEOF 15023 cat confdefs.h >>conftest.$ac_ext 15024 cat >>conftest.$ac_ext <<_ACEOF 15025 /* end confdefs.h. */ 15026 $ac_includes_default 15027 typedef void * ac__type_sizeof_; 15028 int 15029 main () 15030 { 15031 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15032 test_array [0] = 0 15033 15034 ; 15035 return 0; 15036 } 15037 _ACEOF 15038 rm -f conftest.$ac_objext 15039 if { (ac_try="$ac_compile" 15040 case "(($ac_try" in 15041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15042 *) ac_try_echo=$ac_try;; 15043 esac 15044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15045 (eval "$ac_compile") 2>conftest.er1 15046 ac_status=$? 15047 grep -v '^ *+' conftest.er1 >conftest.err 15048 rm -f conftest.er1 15049 cat conftest.err >&5 15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15051 (exit $ac_status); } && { 15052 test -z "$ac_cxx_werror_flag" || 15053 test ! -s conftest.err 15054 } && test -s conftest.$ac_objext; then 15055 ac_hi=$ac_mid 15056 else 15057 echo "$as_me: failed program was:" >&5 15058 sed 's/^/| /' conftest.$ac_ext >&5 15059 15060 ac_lo=`expr '(' $ac_mid ')' + 1` 15061 fi 15062 15063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15064 done 15065 case $ac_lo in 15066 ?*) ac_cv_sizeof_void_p=$ac_lo;; 15067 '') if test "$ac_cv_type_void_p" = yes; then 15068 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15069 See \`config.log' for more details." >&5 15070 echo "$as_me: error: cannot compute sizeof (void *) 15071 See \`config.log' for more details." >&2;} 15072 { (exit 77); exit 77; }; } 15073 else 15074 ac_cv_sizeof_void_p=0 15075 fi ;; 15076 esac 15077 else 15078 cat >conftest.$ac_ext <<_ACEOF 15079 /* confdefs.h. */ 15080 _ACEOF 15081 cat confdefs.h >>conftest.$ac_ext 15082 cat >>conftest.$ac_ext <<_ACEOF 15083 /* end confdefs.h. */ 15084 $ac_includes_default 15085 typedef void * ac__type_sizeof_; 15086 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 15087 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 15088 #include <stdio.h> 15089 #include <stdlib.h> 15090 int 15091 main () 15092 { 15093 15094 FILE *f = fopen ("conftest.val", "w"); 15095 if (! f) 15096 return 1; 15097 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 15098 { 15099 long int i = longval (); 15100 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15101 return 1; 15102 fprintf (f, "%ld\n", i); 15103 } 15104 else 15105 { 15106 unsigned long int i = ulongval (); 15107 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15108 return 1; 15109 fprintf (f, "%lu\n", i); 15110 } 15111 return ferror (f) || fclose (f) != 0; 15112 15113 ; 15114 return 0; 15115 } 15116 _ACEOF 15117 rm -f conftest$ac_exeext 15118 if { (ac_try="$ac_link" 15119 case "(($ac_try" in 15120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15121 *) ac_try_echo=$ac_try;; 15122 esac 15123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15124 (eval "$ac_link") 2>&5 15125 ac_status=$? 15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15128 { (case "(($ac_try" in 15129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15130 *) ac_try_echo=$ac_try;; 15131 esac 15132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15133 (eval "$ac_try") 2>&5 15134 ac_status=$? 15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15136 (exit $ac_status); }; }; then 15137 ac_cv_sizeof_void_p=`cat conftest.val` 15138 else 15139 echo "$as_me: program exited with status $ac_status" >&5 15140 echo "$as_me: failed program was:" >&5 15141 sed 's/^/| /' conftest.$ac_ext >&5 15142 15143 ( exit $ac_status ) 15144 if test "$ac_cv_type_void_p" = yes; then 15145 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15146 See \`config.log' for more details." >&5 15147 echo "$as_me: error: cannot compute sizeof (void *) 15148 See \`config.log' for more details." >&2;} 15149 { (exit 77); exit 77; }; } 9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 9117 $as_echo_n "checking size of void *... " >&6; } 9118 if test "${ac_cv_sizeof_void_p+set}" = set; then : 9119 $as_echo_n "(cached) " >&6 9120 else 9121 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 9122 9123 else 9124 if test "$ac_cv_type_void_p" = yes; then 9125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9127 { as_fn_set_status 77 9128 as_fn_error "cannot compute sizeof (void *) 9129 See \`config.log' for more details." "$LINENO" 5; }; } 15150 9130 else 15151 9131 ac_cv_sizeof_void_p=0 15152 9132 fi 15153 9133 fi 15154 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15155 fi 15156 rm -f conftest.val 15157 fi 15158 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 15159 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; } 9134 9135 fi 9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 9137 $as_echo "$ac_cv_sizeof_void_p" >&6; } 15160 9138 15161 9139 … … 15183 9161 15184 9162 15185 { echo "$as_me:$LINENO: checking for build with symbols" >&515186 echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6; }9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5 9164 $as_echo_n "checking for build with symbols... " >&6; } 15187 9165 # Check whether --enable-symbols was given. 15188 if test "${enable_symbols+set}" = set; then 9166 if test "${enable_symbols+set}" = set; then : 15189 9167 enableval=$enable_symbols; tcl_ok=$enableval 15190 9168 else … … 15197 9175 LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)' 15198 9176 DBGX="" 15199 { echo "$as_me:$LINENO: result: no" >&515200 echo "${ECHO_T}no" >&6; }9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9178 $as_echo "no" >&6; } 15201 9179 else 15202 9180 CFLAGS_DEFAULT='$(CFLAGS_DEBUG)' … … 15204 9182 DBGX=g 15205 9183 if test "$tcl_ok" = "yes"; then 15206 { echo "$as_me:$LINENO: result: yes (standard debugging)" >&515207 echo "${ECHO_T}yes (standard debugging)" >&6; }9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5 9185 $as_echo "yes (standard debugging)" >&6; } 15208 9186 fi 15209 9187 fi … … 15212 9190 15213 9191 if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then 15214 cat >>confdefs.h <<\_ACEOF 15215 #define TCL_MEM_DEBUG 1 15216 _ACEOF 9192 $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h 15217 9193 15218 9194 fi 15219 9195 15220 9196 if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then 15221 cat >>confdefs.h <<\_ACEOF 15222 #define TCL_COMPILE_DEBUG 1 15223 _ACEOF 15224 15225 cat >>confdefs.h <<\_ACEOF 15226 #define TCL_COMPILE_STATS 1 15227 _ACEOF 9197 $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h 9198 9199 $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h 15228 9200 15229 9201 fi … … 15231 9203 if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then 15232 9204 if test "$tcl_ok" = "all"; then 15233 { echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&515234 echo "${ECHO_T}enabled symbols mem compile debugging" >&6; }9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem compile debugging" >&5 9206 $as_echo "enabled symbols mem compile debugging" >&6; } 15235 9207 else 15236 { echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&515237 echo "${ECHO_T}enabled $tcl_ok debugging" >&6; }9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5 9209 $as_echo "enabled $tcl_ok debugging" >&6; } 15238 9210 fi 15239 9211 fi … … 15247 9219 15248 9220 ac_configure_args="--disable-threads --enable-shared" 9221 9222 15249 9223 subdirs="$subdirs packages/optimizer/src" 15250 9224 15251 9225 15252 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rappture.use gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile lang/Makefile lang/java/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/RpOctaveInterface.h lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/octave/2/Makefile examples/app-fermi/octave/3/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/contour/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/group/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/periodicelement/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile examples/zoo/unirect2d/Makefile test/Makefile test/src/Makefile"9226 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rappture.use gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile instant/Makefile instant/irappture lang/Makefile lang/java/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/RpOctaveInterface.h lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/octave/2/Makefile examples/app-fermi/octave/3/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/contour/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/group/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/periodicelement/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile examples/zoo/unirect2d/Makefile test/Makefile test/src/Makefile" 15253 9227 15254 9228 cat >confcache <<\_ACEOF … … 15279 9253 *${as_nl}*) 15280 9254 case $ac_var in #( 15281 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&515282 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;9255 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 9256 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 15283 9257 esac 15284 9258 case $ac_var in #( 15285 9259 _ | IFS | as_nl) ;; #( 15286 *) $as_unset $ac_var ;; 9260 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9261 *) { eval $ac_var=; unset $ac_var;} ;; 15287 9262 esac ;; 15288 9263 esac … … 15292 9267 case $as_nl`(ac_space=' '; set) 2>&1` in #( 15293 9268 *${as_nl}ac_space=\ *) 15294 # `set' does not quote correctly, so add quotes (double-quote15295 # substitution turns \\\\ into \\, and sed turns \\ into \ ).9269 # `set' does not quote correctly, so add quotes: double-quote 9270 # substitution turns \\\\ into \\, and sed turns \\ into \. 15296 9271 sed -n \ 15297 9272 "s/'/'\\\\''/g; … … 15316 9291 if test -w "$cache_file"; then 15317 9292 test "x$cache_file" != "x/dev/null" && 15318 { echo "$as_me:$LINENO: updating cache $cache_file" >&515319 echo "$as_me: updating cache $cache_file" >&6;}9293 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 9294 $as_echo "$as_me: updating cache $cache_file" >&6;} 15320 9295 cat confcache >$cache_file 15321 9296 else 15322 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&515323 echo "$as_me: not updating unwritable cache $cache_file" >&6;}9297 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 9298 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15324 9299 fi 15325 9300 fi … … 15337 9312 # 1. Remove the extension, and $U if already installed. 15338 9313 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15339 ac_i=` echo "$ac_i" | sed "$ac_script"`9314 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 15340 9315 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 15341 9316 # will be set to the directory where LIBOBJS objects are built. 15342 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"15343 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'9317 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9318 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 15344 9319 done 15345 9320 LIBOBJS=$ac_libobjs … … 15349 9324 15350 9325 9326 15351 9327 : ${CONFIG_STATUS=./config.status} 9328 ac_write_fail=0 15352 9329 ac_clean_files_save=$ac_clean_files 15353 9330 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15354 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 15355 echo "$as_me: creating $CONFIG_STATUS" >&6;} 15356 cat >$CONFIG_STATUS <<_ACEOF 9331 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 9332 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9333 as_write_fail=0 9334 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 15357 9335 #! $SHELL 15358 9336 # Generated by $as_me. … … 15364 9342 ac_cs_recheck=false 15365 9343 ac_cs_silent=false 9344 15366 9345 SHELL=\${CONFIG_SHELL-$SHELL} 15367 _ACEOF 15368 15369 cat >>$CONFIG_STATUS <<\_A CEOF15370 ## -------------------- -##15371 ## M4sh Initialization. 15372 ## -------------------- -##9346 export SHELL 9347 _ASEOF 9348 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 9349 ## -------------------- ## 9350 ## M4sh Initialization. ## 9351 ## -------------------- ## 15373 9352 15374 9353 # Be more Bourne compatible 15375 9354 DUALCASE=1; export DUALCASE # for MKS sh 15376 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 9355 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 15377 9356 emulate sh 15378 9357 NULLCMD=: 15379 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which9358 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 15380 9359 # is contrary to our usage. Disable this feature. 15381 9360 alias -g '${1+"$@"}'='"$@"' 15382 9361 setopt NO_GLOB_SUBST 15383 9362 else 15384 case `(set -o) 2>/dev/null` in 15385 *posix*) set -o posix ;; 9363 case `(set -o) 2>/dev/null` in #( 9364 *posix*) : 9365 set -o posix ;; #( 9366 *) : 9367 ;; 15386 9368 esac 15387 15388 fi 15389 15390 15391 15392 15393 # PATH needs CR 15394 # Avoid depending upon Character Ranges. 15395 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15396 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15397 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15398 as_cr_digits='0123456789' 15399 as_cr_alnum=$as_cr_Letters$as_cr_digits 9369 fi 9370 9371 9372 as_nl=' 9373 ' 9374 export as_nl 9375 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9376 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9377 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9378 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9379 # Prefer a ksh shell builtin over an external printf program on Solaris, 9380 # but without wasting forks for bash or zsh. 9381 if test -z "$BASH_VERSION$ZSH_VERSION" \ 9382 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9383 as_echo='print -r --' 9384 as_echo_n='print -rn --' 9385 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9386 as_echo='printf %s\n' 9387 as_echo_n='printf %s' 9388 else 9389 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9390 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9391 as_echo_n='/usr/ucb/echo -n' 9392 else 9393 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9394 as_echo_n_body='eval 9395 arg=$1; 9396 case $arg in #( 9397 *"$as_nl"*) 9398 expr "X$arg" : "X\\(.*\\)$as_nl"; 9399 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9400 esac; 9401 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9402 ' 9403 export as_echo_n_body 9404 as_echo_n='sh -c $as_echo_n_body as_echo' 9405 fi 9406 export as_echo_body 9407 as_echo='sh -c $as_echo_body as_echo' 9408 fi 15400 9409 15401 9410 # The user is always right. 15402 9411 if test "${PATH_SEPARATOR+set}" != set; then 15403 echo "#! /bin/sh" >conf$$.sh 15404 echo "exit 0" >>conf$$.sh 15405 chmod +x conf$$.sh 15406 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 15407 PATH_SEPARATOR=';' 15408 else 15409 PATH_SEPARATOR=: 15410 fi 15411 rm -f conf$$.sh 15412 fi 15413 15414 # Support unset when possible. 15415 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 15416 as_unset=unset 15417 else 15418 as_unset=false 9412 PATH_SEPARATOR=: 9413 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9414 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9415 PATH_SEPARATOR=';' 9416 } 15419 9417 fi 15420 9418 … … 15425 9423 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 15426 9424 # splitting by setting IFS to empty value.) 15427 as_nl='15428 '15429 9425 IFS=" "" $as_nl" 15430 9426 15431 9427 # Find who we are. Look in the path if we contain no directory separator. 15432 case $0 in 9428 case $0 in #(( 15433 9429 *[\\/]* ) as_myself=$0 ;; 15434 9430 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 15437 9433 IFS=$as_save_IFS 15438 9434 test -z "$as_dir" && as_dir=. 15439 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break15440 done9435 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9436 done 15441 9437 IFS=$as_save_IFS 15442 9438 … … 15449 9445 fi 15450 9446 if test ! -f "$as_myself"; then 15451 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 15452 { (exit 1); exit 1; } 15453 fi 15454 15455 # Work around bugs in pre-3.0 UWIN ksh. 15456 for as_var in ENV MAIL MAILPATH 15457 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9447 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9448 exit 1 9449 fi 9450 9451 # Unset variables that we do not need and which cause bugs (e.g. in 9452 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 9453 # suppresses any "Segmentation fault" message there. '((' could 9454 # trigger a bug in pdksh 5.2.14. 9455 for as_var in BASH_ENV ENV MAIL MAILPATH 9456 do eval test x\${$as_var+set} = xset \ 9457 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 15458 9458 done 15459 9459 PS1='$ ' … … 15462 9462 15463 9463 # NLS nuisances. 15464 for as_var in \ 15465 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 15466 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 15467 LC_TELEPHONE LC_TIME 15468 do 15469 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 15470 eval $as_var=C; export $as_var 15471 else 15472 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9464 LC_ALL=C 9465 export LC_ALL 9466 LANGUAGE=C 9467 export LANGUAGE 9468 9469 # CDPATH. 9470 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9471 9472 9473 # as_fn_error ERROR [LINENO LOG_FD] 9474 # --------------------------------- 9475 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9476 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9477 # script with status $?, using 1 if that was 0. 9478 as_fn_error () 9479 { 9480 as_status=$?; test $as_status -eq 0 && as_status=1 9481 if test "$3"; then 9482 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9483 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 15473 9484 fi 15474 done 15475 15476 # Required to use basename. 9485 $as_echo "$as_me: error: $1" >&2 9486 as_fn_exit $as_status 9487 } # as_fn_error 9488 9489 9490 # as_fn_set_status STATUS 9491 # ----------------------- 9492 # Set $? to STATUS, without forking. 9493 as_fn_set_status () 9494 { 9495 return $1 9496 } # as_fn_set_status 9497 9498 # as_fn_exit STATUS 9499 # ----------------- 9500 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9501 as_fn_exit () 9502 { 9503 set +e 9504 as_fn_set_status $1 9505 exit $1 9506 } # as_fn_exit 9507 9508 # as_fn_unset VAR 9509 # --------------- 9510 # Portably unset VAR. 9511 as_fn_unset () 9512 { 9513 { eval $1=; unset $1;} 9514 } 9515 as_unset=as_fn_unset 9516 # as_fn_append VAR VALUE 9517 # ---------------------- 9518 # Append the text in VALUE to the end of the definition contained in VAR. Take 9519 # advantage of any shell optimizations that allow amortized linear growth over 9520 # repeated appends, instead of the typical quadratic growth present in naive 9521 # implementations. 9522 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 9523 eval 'as_fn_append () 9524 { 9525 eval $1+=\$2 9526 }' 9527 else 9528 as_fn_append () 9529 { 9530 eval $1=\$$1\$2 9531 } 9532 fi # as_fn_append 9533 9534 # as_fn_arith ARG... 9535 # ------------------ 9536 # Perform arithmetic evaluation on the ARGs, and store the result in the 9537 # global $as_val. Take advantage of shells that can avoid forks. The arguments 9538 # must be portable across $(()) and expr. 9539 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 9540 eval 'as_fn_arith () 9541 { 9542 as_val=$(( $* )) 9543 }' 9544 else 9545 as_fn_arith () 9546 { 9547 as_val=`expr "$@" || test $? -eq 1` 9548 } 9549 fi # as_fn_arith 9550 9551 15477 9552 if expr a : '\(a\)' >/dev/null 2>&1 && 15478 9553 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 15488 9563 fi 15489 9564 15490 15491 # Name of the executable. 9565 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9566 as_dirname=dirname 9567 else 9568 as_dirname=false 9569 fi 9570 15492 9571 as_me=`$as_basename -- "$0" || 15493 9572 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 15494 9573 X"$0" : 'X\(//\)$' \| \ 15495 9574 X"$0" : 'X\(/\)' \| . 2>/dev/null || 15496 echo X/"$0" |9575 $as_echo X/"$0" | 15497 9576 sed '/^.*\/\([^/][^/]*\)\/*$/{ 15498 9577 s//\1/ … … 15509 9588 s/.*/./; q'` 15510 9589 15511 # CDPATH. 15512 $as_unset CDPATH 15513 15514 15515 15516 as_lineno_1=$LINENO 15517 as_lineno_2=$LINENO 15518 test "x$as_lineno_1" != "x$as_lineno_2" && 15519 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 15520 15521 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 15522 # uniformly replaced by the line number. The first 'sed' inserts a 15523 # line-number line after each line using $LINENO; the second 'sed' 15524 # does the real work. The second script uses 'N' to pair each 15525 # line-number line with the line containing $LINENO, and appends 15526 # trailing '-' during substitution so that $LINENO is not a special 15527 # case at line end. 15528 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 15529 # scripts with optimization help from Paolo Bonzini. Blame Lee 15530 # E. McMahon (1931-1989) for sed's syntax. :-) 15531 sed -n ' 15532 p 15533 /[$]LINENO/= 15534 ' <$as_myself | 15535 sed ' 15536 s/[$]LINENO.*/&-/ 15537 t lineno 15538 b 15539 :lineno 15540 N 15541 :loop 15542 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 15543 t loop 15544 s/-\n.*// 15545 ' >$as_me.lineno && 15546 chmod +x "$as_me.lineno" || 15547 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 15548 { (exit 1); exit 1; }; } 15549 15550 # Don't try to exec as it changes $[0], causing all sort of problems 15551 # (the dirname of $[0] is not the place where we might find the 15552 # original and so on. Autoconf is especially sensitive to this). 15553 . "./$as_me.lineno" 15554 # Exit status is that of the last command. 15555 exit 15556 } 15557 15558 15559 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 15560 as_dirname=dirname 15561 else 15562 as_dirname=false 15563 fi 9590 # Avoid depending upon Character Ranges. 9591 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9592 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9593 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9594 as_cr_digits='0123456789' 9595 as_cr_alnum=$as_cr_Letters$as_cr_digits 15564 9596 15565 9597 ECHO_C= ECHO_N= ECHO_T= 15566 case `echo -n x` in 9598 case `echo -n x` in #((((( 15567 9599 -n*) 15568 case `echo 'x \c'` in9600 case `echo 'xy\c'` in 15569 9601 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 15570 *) ECHO_C='\c';; 9602 xy) ECHO_C='\c';; 9603 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 9604 ECHO_T=' ';; 15571 9605 esac;; 15572 9606 *) … … 15574 9608 esac 15575 9609 15576 if expr a : '\(a\)' >/dev/null 2>&1 &&15577 test "X`expr 00001 : '.*\(...\)'`" = X001; then15578 as_expr=expr15579 else15580 as_expr=false15581 fi15582 15583 9610 rm -f conf$$ conf$$.exe conf$$.file 15584 9611 if test -d conf$$.dir; then … … 15586 9613 else 15587 9614 rm -f conf$$.dir 15588 mkdir conf$$.dir 15589 fi 15590 echo >conf$$.file 15591 if ln -s conf$$.file conf$$ 2>/dev/null; then 15592 as_ln_s='ln -s' 15593 # ... but there are two gotchas: 15594 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 15595 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 15596 # In both cases, we have to default to `cp -p'. 15597 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9615 mkdir conf$$.dir 2>/dev/null 9616 fi 9617 if (echo >conf$$.file) 2>/dev/null; then 9618 if ln -s conf$$.file conf$$ 2>/dev/null; then 9619 as_ln_s='ln -s' 9620 # ... but there are two gotchas: 9621 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9622 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9623 # In both cases, we have to default to `cp -p'. 9624 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9625 as_ln_s='cp -p' 9626 elif ln conf$$.file conf$$ 2>/dev/null; then 9627 as_ln_s=ln 9628 else 15598 9629 as_ln_s='cp -p' 15599 elif ln conf$$.file conf$$ 2>/dev/null; then 15600 as_ln_s=ln 9630 fi 15601 9631 else 15602 9632 as_ln_s='cp -p' … … 15605 9635 rmdir conf$$.dir 2>/dev/null 15606 9636 9637 9638 # as_fn_mkdir_p 9639 # ------------- 9640 # Create "$as_dir" as a directory, including parents if necessary. 9641 as_fn_mkdir_p () 9642 { 9643 9644 case $as_dir in #( 9645 -*) as_dir=./$as_dir;; 9646 esac 9647 test -d "$as_dir" || eval $as_mkdir_p || { 9648 as_dirs= 9649 while :; do 9650 case $as_dir in #( 9651 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 9652 *) as_qdir=$as_dir;; 9653 esac 9654 as_dirs="'$as_qdir' $as_dirs" 9655 as_dir=`$as_dirname -- "$as_dir" || 9656 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9657 X"$as_dir" : 'X\(//\)[^/]' \| \ 9658 X"$as_dir" : 'X\(//\)$' \| \ 9659 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9660 $as_echo X"$as_dir" | 9661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9662 s//\1/ 9663 q 9664 } 9665 /^X\(\/\/\)[^/].*/{ 9666 s//\1/ 9667 q 9668 } 9669 /^X\(\/\/\)$/{ 9670 s//\1/ 9671 q 9672 } 9673 /^X\(\/\).*/{ 9674 s//\1/ 9675 q 9676 } 9677 s/.*/./; q'` 9678 test -d "$as_dir" && break 9679 done 9680 test -z "$as_dirs" || eval "mkdir $as_dirs" 9681 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 9682 9683 9684 } # as_fn_mkdir_p 15607 9685 if mkdir -p . 2>/dev/null; then 15608 as_mkdir_p= :9686 as_mkdir_p='mkdir -p "$as_dir"' 15609 9687 else 15610 9688 test -d ./-p && rmdir ./-p … … 15623 9701 eval sh -c '\'' 15624 9702 if test -d "$1"; then 15625 9703 test -d "$1/."; 15626 9704 else 15627 case $1 in 15628 9705 case $1 in #( 9706 -*)set "./$1";; 15629 9707 esac; 15630 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9708 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 15631 9709 ???[sx]*):;;*)false;;esac;fi 15632 9710 '\'' sh … … 15643 9721 15644 9722 exec 6>&1 15645 15646 # Save the log message, to keep $[0] and so on meaningful, and to 9723 ## ----------------------------------- ## 9724 ## Main body of $CONFIG_STATUS script. ## 9725 ## ----------------------------------- ## 9726 _ASEOF 9727 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9728 9729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9730 # Save the log message, to keep $0 and so on meaningful, and to 15647 9731 # report actual input values of CONFIG_FILES etc. instead of their 15648 9732 # values after options handling. 15649 9733 ac_log=" 15650 9734 This file was extended by Rappture $as_me 1.1, which was 15651 generated by GNU Autoconf 2.6 1. Invocation command line was9735 generated by GNU Autoconf 2.65. Invocation command line was 15652 9736 15653 9737 CONFIG_FILES = $CONFIG_FILES … … 15662 9746 _ACEOF 15663 9747 15664 cat >>$CONFIG_STATUS <<_ACEOF 9748 case $ac_config_files in *" 9749 "*) set x $ac_config_files; shift; ac_config_files=$*;; 9750 esac 9751 9752 case $ac_config_headers in *" 9753 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 9754 esac 9755 9756 9757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15665 9758 # Files that config.status was made for. 15666 9759 config_files="$ac_config_files" … … 15669 9762 _ACEOF 15670 9763 15671 cat >>$CONFIG_STATUS <<\_ACEOF 9764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15672 9765 ac_cs_usage="\ 15673 \`$as_me' instantiates files from templates according to the 15674 current configuration. 15675 15676 Usage: $0 [OPTIONS] [FILE]... 9766 \`$as_me' instantiates files and other configuration actions 9767 from templates according to the current configuration. Unless the files 9768 and actions are specified as TAGs, all are instantiated by default. 9769 9770 Usage: $0 [OPTION]... [TAG]... 15677 9771 15678 9772 -h, --help print this help, then exit 15679 9773 -V, --version print version number and configuration settings, then exit 15680 -q, --quiet do not print progress messages 9774 --config print configuration, then exit 9775 -q, --quiet, --silent 9776 do not print progress messages 15681 9777 -d, --debug don't remove temporary files 15682 9778 --recheck update $as_me by reconfiguring in the same conditions 15683 --file=FILE[:TEMPLATE]15684 15685 --header=FILE[:TEMPLATE]15686 9779 --file=FILE[:TEMPLATE] 9780 instantiate the configuration file FILE 9781 --header=FILE[:TEMPLATE] 9782 instantiate the configuration header FILE 15687 9783 15688 9784 Configuration files: … … 15692 9788 $config_headers 15693 9789 15694 Report bugs to <bug-autoconf@gnu.org>." 15695 15696 _ACEOF 15697 cat >>$CONFIG_STATUS <<_ACEOF 9790 Report bugs to <rappture@nanohub.org>." 9791 9792 _ACEOF 9793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9794 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 15698 9795 ac_cs_version="\\ 15699 9796 Rappture config.status 1.1 15700 configured by $0, generated by GNU Autoconf 2.6 1,15701 with options \\" `echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"15702 15703 Copyright (C) 200 6Free Software Foundation, Inc.9797 configured by $0, generated by GNU Autoconf 2.65, 9798 with options \\"\$ac_cs_config\\" 9799 9800 Copyright (C) 2009 Free Software Foundation, Inc. 15704 9801 This config.status script is free software; the Free Software Foundation 15705 9802 gives unlimited permission to copy, distribute and modify it." … … 15709 9806 INSTALL='$INSTALL' 15710 9807 MKDIR_P='$MKDIR_P' 15711 _ACEOF 15712 15713 cat >>$CONFIG_STATUS <<\_ACEOF 15714 # If no file are specified by the user, then we need to provide default 15715 # value. By we need to know if files were specified by the user. 9808 AWK='$AWK' 9809 test -n "\$AWK" || AWK=awk 9810 _ACEOF 9811 9812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9813 # The default lists apply if the user does not specify any file. 15716 9814 ac_need_defaults=: 15717 9815 while test $# != 0 … … 15735 9833 ac_cs_recheck=: ;; 15736 9834 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 15737 echo "$ac_cs_version"; exit ;; 9835 $as_echo "$ac_cs_version"; exit ;; 9836 --config | --confi | --conf | --con | --co | --c ) 9837 $as_echo "$ac_cs_config"; exit ;; 15738 9838 --debug | --debu | --deb | --de | --d | -d ) 15739 9839 debug=: ;; 15740 9840 --file | --fil | --fi | --f ) 15741 9841 $ac_shift 15742 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 9842 case $ac_optarg in 9843 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9844 esac 9845 as_fn_append CONFIG_FILES " '$ac_optarg'" 15743 9846 ac_need_defaults=false;; 15744 9847 --header | --heade | --head | --hea ) 15745 9848 $ac_shift 15746 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 9849 case $ac_optarg in 9850 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9851 esac 9852 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 15747 9853 ac_need_defaults=false;; 15748 9854 --he | --h) 15749 9855 # Conflict between --help and --header 15750 { echo "$as_me: error: ambiguous option: $1 15751 Try \`$0 --help' for more information." >&2 15752 { (exit 1); exit 1; }; };; 9856 as_fn_error "ambiguous option: \`$1' 9857 Try \`$0 --help' for more information.";; 15753 9858 --help | --hel | -h ) 15754 echo "$ac_cs_usage"; exit ;;9859 $as_echo "$ac_cs_usage"; exit ;; 15755 9860 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15756 9861 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 15758 9863 15759 9864 # This is an error. 15760 -*) { echo "$as_me: error: unrecognized option: $1 15761 Try \`$0 --help' for more information." >&2 15762 { (exit 1); exit 1; }; } ;; 15763 15764 *) ac_config_targets="$ac_config_targets $1" 9865 -*) as_fn_error "unrecognized option: \`$1' 9866 Try \`$0 --help' for more information." ;; 9867 9868 *) as_fn_append ac_config_targets " $1" 15765 9869 ac_need_defaults=false ;; 15766 9870 … … 15777 9881 15778 9882 _ACEOF 15779 cat >>$CONFIG_STATUS <<_ACEOF 9883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15780 9884 if \$ac_cs_recheck; then 15781 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 15782 CONFIG_SHELL=$SHELL 9885 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9886 shift 9887 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9888 CONFIG_SHELL='$SHELL' 15783 9889 export CONFIG_SHELL 15784 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion15785 fi 15786 15787 _ACEOF 15788 cat >>$CONFIG_STATUS <<\_ACEOF 9890 exec "\$@" 9891 fi 9892 9893 _ACEOF 9894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15789 9895 exec 5>>config.log 15790 9896 { … … 15793 9899 ## Running $as_me. ## 15794 9900 _ASBOX 15795 echo "$ac_log"9901 $as_echo "$ac_log" 15796 9902 } >&5 15797 9903 15798 9904 _ACEOF 15799 cat >>$CONFIG_STATUS <<_ACEOF 15800 _ACEOF 15801 15802 cat >>$CONFIG_STATUS <<\_ACEOF 9905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9906 _ACEOF 9907 9908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15803 9909 15804 9910 # Handling of arguments. … … 15827 9933 "gui/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES gui/pkgIndex.tcl" ;; 15828 9934 "gui/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES gui/scripts/Makefile" ;; 9935 "instant/Makefile") CONFIG_FILES="$CONFIG_FILES instant/Makefile" ;; 9936 "instant/irappture") CONFIG_FILES="$CONFIG_FILES instant/irappture" ;; 15829 9937 "lang/Makefile") CONFIG_FILES="$CONFIG_FILES lang/Makefile" ;; 15830 9938 "lang/java/Makefile") CONFIG_FILES="$CONFIG_FILES lang/java/Makefile" ;; … … 15923 10031 "test/src/Makefile") CONFIG_FILES="$CONFIG_FILES test/src/Makefile" ;; 15924 10032 15925 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 15926 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 15927 { (exit 1); exit 1; }; };; 10033 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15928 10034 esac 15929 10035 done … … 15951 10057 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 15952 10058 ' 0 15953 trap ' { (exit 1); exit 1; }' 1 2 13 1510059 trap 'as_fn_exit 1' 1 2 13 15 15954 10060 } 15955 10061 # Create a (secure) tmp directory for tmp files. … … 15962 10068 tmp=./conf$$-$RANDOM 15963 10069 (umask 077 && mkdir "$tmp") 15964 } || 10070 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 10071 10072 # Set up the scripts for CONFIG_FILES section. 10073 # No need to generate them if there are no CONFIG_FILES. 10074 # This happens for instance with `./config.status config.h'. 10075 if test -n "$CONFIG_FILES"; then 10076 10077 10078 ac_cr=`echo X | tr X '\015'` 10079 # On cygwin, bash can eat \r inside `` if the user requested igncr. 10080 # But we know of no other shell where ac_cr would be empty at this 10081 # point, so we can use a bashism as a fallback. 10082 if test "x$ac_cr" = x; then 10083 eval ac_cr=\$\'\\r\' 10084 fi 10085 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10086 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 10087 ac_cs_awk_cr='\r' 10088 else 10089 ac_cs_awk_cr=$ac_cr 10090 fi 10091 10092 echo 'BEGIN {' >"$tmp/subs1.awk" && 10093 _ACEOF 10094 10095 15965 10096 { 15966 echo "$me: cannot create a temporary directory in ." >&2 15967 { (exit 1); exit 1; } 15968 } 15969 15970 # 15971 # Set up the sed scripts for CONFIG_FILES section. 15972 # 15973 15974 # No need to generate the scripts if there are no CONFIG_FILES. 15975 # This happens for instance when ./config.status config.h 15976 if test -n "$CONFIG_FILES"; then 15977 15978 _ACEOF 15979 15980 15981 10097 echo "cat >conf$$subs.awk <<_ACEOF" && 10098 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 10099 echo "_ACEOF" 10100 } >conf$$subs.sh || 10101 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 10102 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 15982 10103 ac_delim='%!_!# ' 15983 10104 for ac_last_try in false false false false false :; do 15984 cat >conf$$subs.sed <<_ACEOF 15985 SHELL!$SHELL$ac_delim 15986 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 15987 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 15988 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 15989 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 15990 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 15991 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 15992 exec_prefix!$exec_prefix$ac_delim 15993 prefix!$prefix$ac_delim 15994 program_transform_name!$program_transform_name$ac_delim 15995 bindir!$bindir$ac_delim 15996 sbindir!$sbindir$ac_delim 15997 libexecdir!$libexecdir$ac_delim 15998 datarootdir!$datarootdir$ac_delim 15999 datadir!$datadir$ac_delim 16000 sysconfdir!$sysconfdir$ac_delim 16001 sharedstatedir!$sharedstatedir$ac_delim 16002 localstatedir!$localstatedir$ac_delim 16003 includedir!$includedir$ac_delim 16004 oldincludedir!$oldincludedir$ac_delim 16005 docdir!$docdir$ac_delim 16006 infodir!$infodir$ac_delim 16007 htmldir!$htmldir$ac_delim 16008 dvidir!$dvidir$ac_delim 16009 pdfdir!$pdfdir$ac_delim 16010 psdir!$psdir$ac_delim 16011 libdir!$libdir$ac_delim 16012 localedir!$localedir$ac_delim 16013 mandir!$mandir$ac_delim 16014 DEFS!$DEFS$ac_delim 16015 ECHO_C!$ECHO_C$ac_delim 16016 ECHO_N!$ECHO_N$ac_delim 16017 ECHO_T!$ECHO_T$ac_delim 16018 LIBS!$LIBS$ac_delim 16019 build_alias!$build_alias$ac_delim 16020 host_alias!$host_alias$ac_delim 16021 target_alias!$target_alias$ac_delim 16022 LIB_SEARCH_DIRS!$LIB_SEARCH_DIRS$ac_delim 16023 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 16024 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 16025 INSTALL_DATA!$INSTALL_DATA$ac_delim 16026 SET_MAKE!$SET_MAKE$ac_delim 16027 CC!$CC$ac_delim 16028 CFLAGS!$CFLAGS$ac_delim 16029 LDFLAGS!$LDFLAGS$ac_delim 16030 CPPFLAGS!$CPPFLAGS$ac_delim 16031 ac_ct_CC!$ac_ct_CC$ac_delim 16032 EXEEXT!$EXEEXT$ac_delim 16033 OBJEXT!$OBJEXT$ac_delim 16034 CXX!$CXX$ac_delim 16035 CXXFLAGS!$CXXFLAGS$ac_delim 16036 ac_ct_CXX!$ac_ct_CXX$ac_delim 16037 RANLIB!$RANLIB$ac_delim 16038 LN_S!$LN_S$ac_delim 16039 F77!$F77$ac_delim 16040 FFLAGS!$FFLAGS$ac_delim 16041 ac_ct_F77!$ac_ct_F77$ac_delim 16042 CPP!$CPP$ac_delim 16043 GREP!$GREP$ac_delim 16044 EGREP!$EGREP$ac_delim 16045 CXXCPP!$CXXCPP$ac_delim 16046 HAVE_INTTYPES_H!$HAVE_INTTYPES_H$ac_delim 16047 AR!$AR$ac_delim 16048 DL_LIBS!$DL_LIBS$ac_delim 16049 DL_OBJS!$DL_OBJS$ac_delim 16050 PLAT_OBJS!$PLAT_OBJS$ac_delim 16051 PLAT_SRCS!$PLAT_SRCS$ac_delim 16052 CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim 16053 CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim 16054 CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim 16055 LDFLAGS_DEBUG!$LDFLAGS_DEBUG$ac_delim 16056 LDFLAGS_OPTIMIZE!$LDFLAGS_OPTIMIZE$ac_delim 16057 CC_SEARCH_FLAGS!$CC_SEARCH_FLAGS$ac_delim 16058 LD_SEARCH_FLAGS!$LD_SEARCH_FLAGS$ac_delim 16059 STLIB_LD!$STLIB_LD$ac_delim 16060 SHLIB_LD!$SHLIB_LD$ac_delim 16061 TCL_SHLIB_LD_EXTRAS!$TCL_SHLIB_LD_EXTRAS$ac_delim 16062 TK_SHLIB_LD_EXTRAS!$TK_SHLIB_LD_EXTRAS$ac_delim 16063 SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim 16064 SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim 16065 SHLIB_SUFFIX!$SHLIB_SUFFIX$ac_delim 16066 MAKE_LIB!$MAKE_LIB$ac_delim 16067 MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim 16068 INSTALL_LIB!$INSTALL_LIB$ac_delim 16069 INSTALL_STUB_LIB!$INSTALL_STUB_LIB$ac_delim 16070 MAKE!$MAKE$ac_delim 16071 ENABLE_GUI!$ENABLE_GUI$ac_delim 16072 TCLSH!$TCLSH$ac_delim 16073 VTKDIR!$VTKDIR$ac_delim 16074 MATLAB!$MATLAB$ac_delim 16075 MEX!$MEX$ac_delim 16076 MEXEXT!$MEXEXT$ac_delim 16077 MCC!$MCC$ac_delim 16078 MEX_ARCH!$MEX_ARCH$ac_delim 16079 OCTAVE!$OCTAVE$ac_delim 16080 MKOCTFILE!$MKOCTFILE$ac_delim 16081 OCTAVE_VERSION!$OCTAVE_VERSION$ac_delim 16082 _ACEOF 16083 16084 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 10105 . ./conf$$subs.sh || 10106 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 10107 10108 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 10109 if test $ac_delim_n = $ac_delim_num; then 16085 10110 break 16086 10111 elif $ac_last_try; then 16087 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 16088 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 16089 { (exit 1); exit 1; }; } 10112 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 16090 10113 else 16091 10114 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16092 10115 fi 16093 10116 done 16094 16095 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 16096 if test -n "$ac_eof"; then 16097 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 16098 ac_eof=`expr $ac_eof + 1` 16099 fi 16100 16101 cat >>$CONFIG_STATUS <<_ACEOF 16102 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 16103 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16104 _ACEOF 16105 sed ' 16106 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 16107 s/^/s,@/; s/!/@,|#_!!_#|/ 16108 :n 16109 t n 16110 s/'"$ac_delim"'$/,g/; t 16111 s/$/\\/; p 16112 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 16113 ' >>$CONFIG_STATUS <conf$$subs.sed 16114 rm -f conf$$subs.sed 16115 cat >>$CONFIG_STATUS <<_ACEOF 16116 CEOF$ac_eof 16117 _ACEOF 16118 16119 16120 ac_delim='%!_!# ' 16121 for ac_last_try in false false false false false :; do 16122 cat >conf$$subs.sed <<_ACEOF 16123 OCTAVE_VERSION_MAJOR!$OCTAVE_VERSION_MAJOR$ac_delim 16124 PERL!$PERL$ac_delim 16125 PERL_INCLUDES!$PERL_INCLUDES$ac_delim 16126 PERL_ARCHLIB!$PERL_ARCHLIB$ac_delim 16127 PERL_ARCHLIBEXP!$PERL_ARCHLIBEXP$ac_delim 16128 PERL_VERSION!$PERL_VERSION$ac_delim 16129 PERL_CCFLAGS!$PERL_CCFLAGS$ac_delim 16130 PERL_CPPFLAGS!$PERL_CPPFLAGS$ac_delim 16131 PERL_VENDORLIB!$PERL_VENDORLIB$ac_delim 16132 PERL_PRIVLIB!$PERL_PRIVLIB$ac_delim 16133 PERL_INSTALLARCHLIB!$PERL_INSTALLARCHLIB$ac_delim 16134 PERL_VERSION_RV!$PERL_VERSION_RV$ac_delim 16135 PERL_LIBSPEC!$PERL_LIBSPEC$ac_delim 16136 PYTHON!$PYTHON$ac_delim 16137 PYTHON_CPPFLAGS!$PYTHON_CPPFLAGS$ac_delim 16138 pythondir!$pythondir$ac_delim 16139 PYTHON_VERSION!$PYTHON_VERSION$ac_delim 16140 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim 16141 PYTHON_SITE_PACKAGES!$PYTHON_SITE_PACKAGES$ac_delim 16142 HAVE_PYTHON_DISTUTILS!$HAVE_PYTHON_DISTUTILS$ac_delim 16143 RUBY!$RUBY$ac_delim 16144 SED!$SED$ac_delim 16145 RUBY_VERSION!$RUBY_VERSION$ac_delim 16146 AWK!$AWK$ac_delim 16147 RUBY_CPPFLAGS!$RUBY_CPPFLAGS$ac_delim 16148 RUBY_LDFLAGS!$RUBY_LDFLAGS$ac_delim 16149 RUBY_SITE_PKG!$RUBY_SITE_PKG$ac_delim 16150 RUBY_EXTRA_LIBS!$RUBY_EXTRA_LIBS$ac_delim 16151 HAVE_RUBY_DEVEL!$HAVE_RUBY_DEVEL$ac_delim 16152 RUBY_VERSION_RV!$RUBY_VERSION_RV$ac_delim 16153 RUBY_PLATFORM!$RUBY_PLATFORM$ac_delim 16154 JAVA!$JAVA$ac_delim 16155 JAVAC!$JAVAC$ac_delim 16156 JAVAH!$JAVAH$ac_delim 16157 JAVA_HOME!$JAVA_HOME$ac_delim 16158 JAVA_INCLUDES!$JAVA_INCLUDES$ac_delim 16159 RP_BASE!$RP_BASE$ac_delim 16160 SHLIB_LDFLAGS!$SHLIB_LDFLAGS$ac_delim 16161 TCL_VERSION!$TCL_VERSION$ac_delim 16162 TK_VERSION!$TK_VERSION$ac_delim 16163 SIZEOF_INT!$SIZEOF_INT$ac_delim 16164 SIZEOF_LONG!$SIZEOF_LONG$ac_delim 16165 SIZEOF_LONG_LONG!$SIZEOF_LONG_LONG$ac_delim 16166 SIZEOF_VOID_P!$SIZEOF_VOID_P$ac_delim 16167 CFLAGS_DEFAULT!$CFLAGS_DEFAULT$ac_delim 16168 LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim 16169 subdirs!$subdirs$ac_delim 16170 LIBOBJS!$LIBOBJS$ac_delim 16171 LTLIBOBJS!$LTLIBOBJS$ac_delim 16172 _ACEOF 16173 16174 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 49; then 16175 break 16176 elif $ac_last_try; then 16177 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 16178 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 16179 { (exit 1); exit 1; }; } 16180 else 16181 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16182 fi 16183 done 16184 16185 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 16186 if test -n "$ac_eof"; then 16187 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 16188 ac_eof=`expr $ac_eof + 1` 16189 fi 16190 16191 cat >>$CONFIG_STATUS <<_ACEOF 16192 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 16193 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 16194 _ACEOF 16195 sed ' 16196 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 16197 s/^/s,@/; s/!/@,|#_!!_#|/ 16198 :n 16199 t n 16200 s/'"$ac_delim"'$/,g/; t 16201 s/$/\\/; p 16202 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 16203 ' >>$CONFIG_STATUS <conf$$subs.sed 16204 rm -f conf$$subs.sed 16205 cat >>$CONFIG_STATUS <<_ACEOF 16206 :end 16207 s/|#_!!_#|//g 16208 CEOF$ac_eof 16209 _ACEOF 16210 10117 rm -f conf$$subs.sh 10118 10119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10120 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 10121 _ACEOF 10122 sed -n ' 10123 h 10124 s/^/S["/; s/!.*/"]=/ 10125 p 10126 g 10127 s/^[^!]*!// 10128 :repl 10129 t repl 10130 s/'"$ac_delim"'$// 10131 t delim 10132 :nl 10133 h 10134 s/\(.\{148\}\)..*/\1/ 10135 t more1 10136 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 10137 p 10138 n 10139 b repl 10140 :more1 10141 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10142 p 10143 g 10144 s/.\{148\}// 10145 t nl 10146 :delim 10147 h 10148 s/\(.\{148\}\)..*/\1/ 10149 t more2 10150 s/["\\]/\\&/g; s/^/"/; s/$/"/ 10151 p 10152 b 10153 :more2 10154 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10155 p 10156 g 10157 s/.\{148\}// 10158 t delim 10159 ' <conf$$subs.awk | sed ' 10160 /^[^""]/{ 10161 N 10162 s/\n// 10163 } 10164 ' >>$CONFIG_STATUS || ac_write_fail=1 10165 rm -f conf$$subs.awk 10166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10167 _ACAWK 10168 cat >>"\$tmp/subs1.awk" <<_ACAWK && 10169 for (key in S) S_is_set[key] = 1 10170 FS = "" 10171 10172 } 10173 { 10174 line = $ 0 10175 nfields = split(line, field, "@") 10176 substed = 0 10177 len = length(field[1]) 10178 for (i = 2; i < nfields; i++) { 10179 key = field[i] 10180 keylen = length(key) 10181 if (S_is_set[key]) { 10182 value = S[key] 10183 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 10184 len += length(value) + length(field[++i]) 10185 substed = 1 10186 } else 10187 len += 1 + keylen 10188 } 10189 10190 print line 10191 } 10192 10193 _ACAWK 10194 _ACEOF 10195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10196 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 10197 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 10198 else 10199 cat 10200 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 10201 || as_fn_error "could not setup config files machinery" "$LINENO" 5 10202 _ACEOF 16211 10203 16212 10204 # VPATH may cause trouble with some makes, so we remove $(srcdir), … … 16225 10217 fi 16226 10218 16227 cat >>$CONFIG_STATUS <<\_ACEOF 10219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16228 10220 fi # test -n "$CONFIG_FILES" 16229 10221 16230 16231 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 10222 # Set up the scripts for CONFIG_HEADERS section. 10223 # No need to generate them if there are no CONFIG_HEADERS. 10224 # This happens for instance with `./config.status Makefile'. 10225 if test -n "$CONFIG_HEADERS"; then 10226 cat >"$tmp/defines.awk" <<\_ACAWK || 10227 BEGIN { 10228 _ACEOF 10229 10230 # Transform confdefs.h into an awk script `defines.awk', embedded as 10231 # here-document in config.status, that substitutes the proper values into 10232 # config.h.in to produce config.h. 10233 10234 # Create a delimiter string that does not exist in confdefs.h, to ease 10235 # handling of long lines. 10236 ac_delim='%!_!# ' 10237 for ac_last_try in false false :; do 10238 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 10239 if test -z "$ac_t"; then 10240 break 10241 elif $ac_last_try; then 10242 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 10243 else 10244 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10245 fi 10246 done 10247 10248 # For the awk script, D is an array of macro values keyed by name, 10249 # likewise P contains macro parameters if any. Preserve backslash 10250 # newline sequences. 10251 10252 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 10253 sed -n ' 10254 s/.\{148\}/&'"$ac_delim"'/g 10255 t rset 10256 :rset 10257 s/^[ ]*#[ ]*define[ ][ ]*/ / 10258 t def 10259 d 10260 :def 10261 s/\\$// 10262 t bsnl 10263 s/["\\]/\\&/g 10264 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10265 D["\1"]=" \3"/p 10266 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 10267 d 10268 :bsnl 10269 s/["\\]/\\&/g 10270 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10271 D["\1"]=" \3\\\\\\n"\\/p 10272 t cont 10273 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 10274 t cont 10275 d 10276 :cont 10277 n 10278 s/.\{148\}/&'"$ac_delim"'/g 10279 t clear 10280 :clear 10281 s/\\$// 10282 t bsnlc 10283 s/["\\]/\\&/g; s/^/"/; s/$/"/p 10284 d 10285 :bsnlc 10286 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 10287 b cont 10288 ' <confdefs.h | sed ' 10289 s/'"$ac_delim"'/"\\\ 10290 "/g' >>$CONFIG_STATUS || ac_write_fail=1 10291 10292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10293 for (key in D) D_is_set[key] = 1 10294 FS = "" 10295 } 10296 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 10297 line = \$ 0 10298 split(line, arg, " ") 10299 if (arg[1] == "#") { 10300 defundef = arg[2] 10301 mac1 = arg[3] 10302 } else { 10303 defundef = substr(arg[1], 2) 10304 mac1 = arg[2] 10305 } 10306 split(mac1, mac2, "(") #) 10307 macro = mac2[1] 10308 prefix = substr(line, 1, index(line, defundef) - 1) 10309 if (D_is_set[macro]) { 10310 # Preserve the white space surrounding the "#". 10311 print prefix "define", macro P[macro] D[macro] 10312 next 10313 } else { 10314 # Replace #undef with comments. This is necessary, for example, 10315 # in the case of _POSIX_SOURCE, which is predefined and required 10316 # on some systems where configure will not decide to define it. 10317 if (defundef == "undef") { 10318 print "/*", prefix defundef, macro, "*/" 10319 next 10320 } 10321 } 10322 } 10323 { print } 10324 _ACAWK 10325 _ACEOF 10326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10327 as_fn_error "could not setup config headers machinery" "$LINENO" 5 10328 fi # test -n "$CONFIG_HEADERS" 10329 10330 10331 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 10332 shift 10333 for ac_tag 16232 10334 do 16233 10335 case $ac_tag in … … 16236 10338 case $ac_mode$ac_tag in 16237 10339 :[FHL]*:*);; 16238 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 16239 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 16240 { (exit 1); exit 1; }; };; 10340 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 16241 10341 :[FH]-) ac_tag=-:-;; 16242 10342 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 16266 10366 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16267 10367 esac || 16268 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 16269 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 16270 { (exit 1); exit 1; }; };; 10368 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16271 10369 esac 16272 ac_file_inputs="$ac_file_inputs $ac_f" 10370 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10371 as_fn_append ac_file_inputs " '$ac_f'" 16273 10372 done 16274 10373 … … 16276 10375 # use $as_me), people would be surprised to read: 16277 10376 # /* config.h. Generated by config.status. */ 16278 configure_input="Generated from "`IFS=: 16279 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 10377 configure_input='Generated from '` 10378 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10379 `' by configure.' 16280 10380 if test x"$ac_file" != x-; then 16281 10381 configure_input="$ac_file. $configure_input" 16282 { echo "$as_me:$LINENO: creating $ac_file" >&516283 echo "$as_me: creating $ac_file" >&6;}10382 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 10383 $as_echo "$as_me: creating $ac_file" >&6;} 16284 10384 fi 10385 # Neutralize special characters interpreted by sed in replacement strings. 10386 case $configure_input in #( 10387 *\&* | *\|* | *\\* ) 10388 ac_sed_conf_input=`$as_echo "$configure_input" | 10389 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10390 *) ac_sed_conf_input=$configure_input;; 10391 esac 16285 10392 16286 10393 case $ac_tag in 16287 *:-:* | *:-) cat >"$tmp/stdin";; 10394 *:-:* | *:-) cat >"$tmp/stdin" \ 10395 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 16288 10396 esac 16289 10397 ;; … … 16295 10403 X"$ac_file" : 'X\(//\)$' \| \ 16296 10404 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 16297 echo X"$ac_file" |10405 $as_echo X"$ac_file" | 16298 10406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16299 10407 s//\1/ … … 16313 10421 } 16314 10422 s/.*/./; q'` 16315 { as_dir="$ac_dir" 16316 case $as_dir in #( 16317 -*) as_dir=./$as_dir;; 16318 esac 16319 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 16320 as_dirs= 16321 while :; do 16322 case $as_dir in #( 16323 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 16324 *) as_qdir=$as_dir;; 16325 esac 16326 as_dirs="'$as_qdir' $as_dirs" 16327 as_dir=`$as_dirname -- "$as_dir" || 16328 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16329 X"$as_dir" : 'X\(//\)[^/]' \| \ 16330 X"$as_dir" : 'X\(//\)$' \| \ 16331 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16332 echo X"$as_dir" | 16333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16334 s//\1/ 16335 q 16336 } 16337 /^X\(\/\/\)[^/].*/{ 16338 s//\1/ 16339 q 16340 } 16341 /^X\(\/\/\)$/{ 16342 s//\1/ 16343 q 16344 } 16345 /^X\(\/\).*/{ 16346 s//\1/ 16347 q 16348 } 16349 s/.*/./; q'` 16350 test -d "$as_dir" && break 16351 done 16352 test -z "$as_dirs" || eval "mkdir $as_dirs" 16353 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 16354 echo "$as_me: error: cannot create directory $as_dir" >&2;} 16355 { (exit 1); exit 1; }; }; } 10423 as_dir="$ac_dir"; as_fn_mkdir_p 16356 10424 ac_builddir=. 16357 10425 … … 16359 10427 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 16360 10428 *) 16361 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`10429 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 16362 10430 # A ".." for each directory in $ac_dir_suffix. 16363 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`10431 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 16364 10432 case $ac_top_builddir_sub in 16365 10433 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 16406 10474 _ACEOF 16407 10475 16408 cat >>$CONFIG_STATUS <<\_ACEOF 10476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16409 10477 # If the template does not know about datarootdir, expand it. 16410 10478 # FIXME: This hack should be removed a few years after 2.60. 16411 10479 ac_datarootdir_hack=; ac_datarootdir_seen= 16412 16413 case `sed -n '/datarootdir/ {10480 ac_sed_dataroot=' 10481 /datarootdir/ { 16414 10482 p 16415 10483 q … … 16419 10487 /@infodir@/p 16420 10488 /@localedir@/p 16421 /@mandir@/p 16422 ' $ac_file_inputs` in10489 /@mandir@/p' 10490 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 16423 10491 *datarootdir*) ac_datarootdir_seen=yes;; 16424 10492 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 16425 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&516426 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}16427 _ACEOF 16428 cat >>$CONFIG_STATUS <<_ACEOF 10493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10494 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10495 _ACEOF 10496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16429 10497 ac_datarootdir_hack=' 16430 10498 s&@datadir@&$datadir&g … … 16433 10501 s&@localedir@&$localedir&g 16434 10502 s&@mandir@&$mandir&g 16435 10503 s&\\\${datarootdir}&$datarootdir&g' ;; 16436 10504 esac 16437 10505 _ACEOF … … 16440 10508 # Shell code in configure.ac might set extrasub. 16441 10509 # FIXME: do we really want to maintain this feature? 16442 cat >>$CONFIG_STATUS <<_ACEOF 16443 sed"$ac_vpsub10510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10511 ac_sed_extra="$ac_vpsub 16444 10512 $extrasub 16445 10513 _ACEOF 16446 cat >>$CONFIG_STATUS <<\_ACEOF 10514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16447 10515 :t 16448 10516 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16449 s &@configure_input@&$configure_input&;t t10517 s|@configure_input@|$ac_sed_conf_input|;t t 16450 10518 s&@top_builddir@&$ac_top_builddir_sub&;t t 10519 s&@top_build_prefix@&$ac_top_build_prefix&;t t 16451 10520 s&@srcdir@&$ac_srcdir&;t t 16452 10521 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 16459 10528 s&@MKDIR_P@&$ac_MKDIR_P&;t t 16460 10529 $ac_datarootdir_hack 16461 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 10530 " 10531 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 10532 || as_fn_error "could not create $ac_file" "$LINENO" 5 16462 10533 16463 10534 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16464 10535 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 16465 10536 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 16466 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'10537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16467 10538 which seems to be undefined. Please make sure it is defined." >&5 16468 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'10539 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16469 10540 which seems to be undefined. Please make sure it is defined." >&2;} 16470 10541 16471 10542 rm -f "$tmp/stdin" 16472 10543 case $ac_file in 16473 -) cat "$tmp/out"; rm -f "$tmp/out";; 16474 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 16475 esac 10544 -) cat "$tmp/out" && rm -f "$tmp/out";; 10545 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10546 esac \ 10547 || as_fn_error "could not create $ac_file" "$LINENO" 5 16476 10548 ;; 16477 10549 :H) … … 16479 10551 # CONFIG_HEADER 16480 10552 # 16481 _ACEOF16482 16483 # Transform confdefs.h into a sed script `conftest.defines', that16484 # substitutes the proper values into config.h.in to produce config.h.16485 rm -f conftest.defines conftest.tail16486 # First, append a space to every undef/define line, to ease matching.16487 echo 's/$/ /' >conftest.defines16488 # Then, protect against being on the right side of a sed subst, or in16489 # an unquoted here document, in config.status. If some macros were16490 # called several times there might be several #defines for the same16491 # symbol, which is useless. But do not sort them, since the last16492 # AC_DEFINE must be honored.16493 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*16494 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where16495 # NAME is the cpp macro being defined, VALUE is the value it is being given.16496 # PARAMS is the parameter list in the macro definition--in most cases, it's16497 # just an empty string.16498 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'16499 ac_dB='\\)[ (].*,\\1define\\2'16500 ac_dC=' '16501 ac_dD=' ,'16502 16503 uniq confdefs.h |16504 sed -n '16505 t rset16506 :rset16507 s/^[ ]*#[ ]*define[ ][ ]*//16508 t ok16509 d16510 :ok16511 s/[\\&,]/\\&/g16512 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p16513 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p16514 ' >>conftest.defines16515 16516 # Remove the space that was appended to ease matching.16517 # Then replace #undef with comments. This is necessary, for16518 # example, in the case of _POSIX_SOURCE, which is predefined and required16519 # on some systems where configure will not decide to define it.16520 # (The regexp can be short, since the line contains either #define or #undef.)16521 echo 's/ $//16522 s,^[ #]*u.*,/* & */,' >>conftest.defines16523 16524 # Break up conftest.defines:16525 ac_max_sed_lines=5016526 16527 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"16528 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"16529 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"16530 # et cetera.16531 ac_in='$ac_file_inputs'16532 ac_out='"$tmp/out1"'16533 ac_nxt='"$tmp/out2"'16534 16535 while :16536 do16537 # Write a here document:16538 cat >>$CONFIG_STATUS <<_ACEOF16539 # First, check the format of the line:16540 cat >"\$tmp/defines.sed" <<\\CEOF16541 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def16542 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def16543 b16544 :def16545 _ACEOF16546 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS16547 echo 'CEOF16548 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS16549 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in16550 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail16551 grep . conftest.tail >/dev/null || break16552 rm -f conftest.defines16553 mv conftest.tail conftest.defines16554 done16555 rm -f conftest.defines conftest.tail16556 16557 echo "ac_result=$ac_in" >>$CONFIG_STATUS16558 cat >>$CONFIG_STATUS <<\_ACEOF16559 10553 if test x"$ac_file" != x-; then 16560 echo "/* $configure_input */" >"$tmp/config.h" 16561 cat "$ac_result" >>"$tmp/config.h" 16562 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 16563 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 16564 echo "$as_me: $ac_file is unchanged" >&6;} 10554 { 10555 $as_echo "/* $configure_input */" \ 10556 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10557 } >"$tmp/config.h" \ 10558 || as_fn_error "could not create $ac_file" "$LINENO" 5 10559 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10560 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 10561 $as_echo "$as_me: $ac_file is unchanged" >&6;} 16565 10562 else 16566 rm -f $ac_file 16567 mv "$tmp/config.h" $ac_file 10563 rm -f "$ac_file" 10564 mv "$tmp/config.h" "$ac_file" \ 10565 || as_fn_error "could not create $ac_file" "$LINENO" 5 16568 10566 fi 16569 10567 else 16570 echo "/* $configure_input */" 16571 cat "$ac_result" 10568 $as_echo "/* $configure_input */" \ 10569 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10570 || as_fn_error "could not create -" "$LINENO" 5 16572 10571 fi 16573 rm -f "$tmp/out12"16574 10572 ;; 16575 10573 … … 16580 10578 16581 10579 16582 { (exit 0); exit 0; } 16583 _ACEOF 16584 chmod +x $CONFIG_STATUS 10580 as_fn_exit 0 10581 _ACEOF 16585 10582 ac_clean_files=$ac_clean_files_save 10583 10584 test $ac_write_fail = 0 || 10585 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 16586 10586 16587 10587 … … 16604 10604 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16605 10605 # would make configure fail if this is the last instruction. 16606 $ac_cs_success || { (exit 1); exit 1; }10606 $ac_cs_success || as_fn_exit $? 16607 10607 fi 16608 10608 … … 16612 10612 if test "$no_recursion" != yes; then 16613 10613 16614 # Remove --cache-file and --srcdir arguments so they do not pile up. 10614 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 10615 # so they do not pile up. 16615 10616 ac_sub_configure_args= 16616 10617 ac_prev= … … 16641 10642 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 16642 10643 ;; 10644 --disable-option-checking) 10645 ;; 16643 10646 *) 16644 10647 case $ac_arg in 16645 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;10648 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 16646 10649 esac 16647 a c_sub_configure_args="$ac_sub_configure_args'$ac_arg'" ;;10650 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 16648 10651 esac 16649 10652 done … … 16653 10656 ac_arg="--prefix=$prefix" 16654 10657 case $ac_arg in 16655 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;10658 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 16656 10659 esac 16657 10660 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" … … 16662 10665 fi 16663 10666 10667 # Always prepend --disable-option-checking to silence warnings, since 10668 # different subdirs can have different --enable and --with options. 10669 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 10670 16664 10671 ac_popdir=`pwd` 16665 10672 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue … … 16670 10677 16671 10678 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 16672 echo "$as_me:$LINENO: $ac_msg" >&5 16673 echo "$ac_msg" >&6 16674 { as_dir="$ac_dir" 16675 case $as_dir in #( 16676 -*) as_dir=./$as_dir;; 16677 esac 16678 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 16679 as_dirs= 16680 while :; do 16681 case $as_dir in #( 16682 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 16683 *) as_qdir=$as_dir;; 16684 esac 16685 as_dirs="'$as_qdir' $as_dirs" 16686 as_dir=`$as_dirname -- "$as_dir" || 16687 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16688 X"$as_dir" : 'X\(//\)[^/]' \| \ 16689 X"$as_dir" : 'X\(//\)$' \| \ 16690 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16691 echo X"$as_dir" | 16692 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16693 s//\1/ 16694 q 16695 } 16696 /^X\(\/\/\)[^/].*/{ 16697 s//\1/ 16698 q 16699 } 16700 /^X\(\/\/\)$/{ 16701 s//\1/ 16702 q 16703 } 16704 /^X\(\/\).*/{ 16705 s//\1/ 16706 q 16707 } 16708 s/.*/./; q'` 16709 test -d "$as_dir" && break 16710 done 16711 test -z "$as_dirs" || eval "mkdir $as_dirs" 16712 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 16713 echo "$as_me: error: cannot create directory $as_dir" >&2;} 16714 { (exit 1); exit 1; }; }; } 10679 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 10680 $as_echo "$ac_msg" >&6 10681 as_dir="$ac_dir"; as_fn_mkdir_p 16715 10682 ac_builddir=. 16716 10683 … … 16718 10685 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 16719 10686 *) 16720 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`10687 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 16721 10688 # A ".." for each directory in $ac_dir_suffix. 16722 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`10689 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 16723 10690 case $ac_top_builddir_sub in 16724 10691 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 16759 10726 ac_sub_configure=$ac_aux_dir/configure 16760 10727 else 16761 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&516762 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}10728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 10729 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 16763 10730 ac_sub_configure= 16764 10731 fi … … 16773 10740 esac 16774 10741 16775 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&516776 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}10742 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 10743 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 16777 10744 # The eval makes quoting arguments work. 16778 10745 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 16779 10746 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 16780 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 16781 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 16782 { (exit 1); exit 1; }; } 10747 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 16783 10748 fi 16784 10749 … … 16786 10751 done 16787 10752 fi 16788 10753 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10755 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10756 fi 10757 -
trunk/configure.in
r1728 r1733 452 452 AC_SUBST(RUBY_PLATFORM) 453 453 454 # TODO: Check that these actually exist. 455 JAVA=/apps/java/bin/java 456 JAVAC=/apps/java/bin/javac 457 JAVAH=/apps/java/bin/javah 458 459 # TODO: Find the java install from path to java exectuable. 460 JAVA_HOME=/apps/java/jdk1.6.0_01 461 462 # TODO: find the location of jni.h and jni_md.h. 463 # Obviously the linux subdir won't exist on all platforms. 464 JAVA_INCLUDES="-I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/linux" 454 rappture_with_java="yes" 455 JAVA="" 456 JAVAH="" 457 JAVAC="" 458 JAVA_DEV_PKG="no" 459 460 AC_ARG_WITH(java, 461 AS_HELP_STRING([--with-java=PATH], [absolute path to java executable]), 462 [rappture_with_java=$with_val]) 463 if test "${rappture_with_java}" != "no" ; then 464 if test "${rappture_with_java}" = "yes" ; then 465 AC_PATH_PROG(JAVA, java) 466 AC_PATH_PROG(JAVAC, javac) 467 AC_PATH_PROG(JAVAH, javah) 468 else 469 AC_PATH_PROG(JAVA, java, [], 470 [${rappture_with_java}/bin/java:${rappture_with_java}]) 471 AC_PATH_PROG(JAVAC, javac, [], 472 [${rappture_with_java}/bin/java:${rappture_with_java}]) 473 AC_PATH_PROG(JAVAH, javah, [], 474 [${rappture_with_java}/bin/java:${rappture_with_java}]) 475 fi 476 fi 477 JDK= 478 JAVA_HOME= 479 JAVA_INC_DIR= 480 JAVA_INC_SPEC= 481 482 # If java exists, let's look for the jni.h file. 483 if test "x${JAVA}" != "x" ; then 484 for d in \ 485 /apps/java/jdk1.6.0_01 \ 486 /opt/icedtea6-* \ 487 /opt/sun-jdk-1.6* \ 488 /opt/sun-jdk-1.5* 489 do 490 if test -r "${d}/include/jni.h" ; then 491 JDK=${d} 492 break; 493 fi 494 done 495 JAVA_HOME=$JDK 496 JAVA_INC_DIR=${JDK}/include 497 JAVA_INC_SPEC="-I${JDK}/include -I${JDK}/include/linux" 498 fi 465 499 466 500 AC_SUBST(JAVA) … … 468 502 AC_SUBST(JAVAH) 469 503 AC_SUBST(JAVA_HOME) 470 AC_SUBST(JAVA_INCLUDES) 504 AC_SUBST(JAVA_INC_DIR) 505 AC_SUBST(JAVA_INC_SPEC) 471 506 472 507 RP_BASE=`pwd` … … 560 595 gui/scripts/Makefile 561 596 instant/Makefile 597 instant/irappture 562 598 lang/Makefile 563 599 lang/java/Makefile
Note: See TracChangeset
for help on using the changeset viewer.