- Timestamp:
- Jul 14, 2010, 7:07:44 PM (14 years ago)
- Location:
- branches/blt4/packages/vizservers
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/packages/vizservers/configure
r1571 r1823 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 3for vizservers 0.1.3 # Generated by GNU Autoconf 2.65 for vizservers 0.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, 2007, 2008 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=: … … 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 41 37 42 38 as_nl=' … … 47 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 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 50 52 as_echo='printf %s\n' 51 53 as_echo_n='printf %s' … … 58 60 as_echo_n_body='eval 59 61 arg=$1; 60 case $arg in 62 case $arg in #( 61 63 *"$as_nl"*) 62 64 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 81 83 fi 82 84 83 # Support unset when possible.84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then85 as_unset=unset86 else87 as_unset=false88 fi89 90 85 91 86 # IFS … … 97 92 98 93 # Find who we are. Look in the path if we contain no directory separator. 99 case $0 in 94 case $0 in #(( 100 95 *[\\/]* ) as_myself=$0 ;; 101 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 104 99 IFS=$as_save_IFS 105 100 test -z "$as_dir" && as_dir=. 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break107 done101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 108 103 IFS=$as_save_IFS 109 104 … … 117 112 if test ! -f "$as_myself"; then 118 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 { (exit 1); exit 1; } 120 fi 121 122 # Work around bugs in pre-3.0 UWIN ksh. 123 for as_var in ENV MAIL MAILPATH 124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 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 || : 125 124 done 126 125 PS1='$ ' … … 134 133 export LANGUAGE 135 134 136 # Required to use basename. 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 188 do 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." 232 else 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." 238 fi 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 137 378 if expr a : '\(a\)' >/dev/null 2>&1 && 138 379 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 148 389 fi 149 390 150 151 # 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 152 397 as_me=`$as_basename -- "$0" || 153 398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 169 414 s/.*/./; q'` 170 415 171 # CDPATH. 172 $as_unset CDPATH 173 174 175 if test "x$CONFIG_SHELL" = x; then 176 if (eval ":") 2>/dev/null; then 177 as_have_required=yes 178 else 179 as_have_required=no 180 fi 181 182 if test $as_have_required = yes && (eval ": 183 (as_func_return () { 184 (exit \$1) 185 } 186 as_func_success () { 187 as_func_return 0 188 } 189 as_func_failure () { 190 as_func_return 1 191 } 192 as_func_ret_success () { 193 return 0 194 } 195 as_func_ret_failure () { 196 return 1 197 } 198 199 exitcode=0 200 if as_func_success; then 201 : 202 else 203 exitcode=1 204 echo as_func_success failed. 205 fi 206 207 if as_func_failure; then 208 exitcode=1 209 echo as_func_failure succeeded. 210 fi 211 212 if as_func_ret_success; then 213 : 214 else 215 exitcode=1 216 echo as_func_ret_success failed. 217 fi 218 219 if as_func_ret_failure; then 220 exitcode=1 221 echo as_func_ret_failure succeeded. 222 fi 223 224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225 : 226 else 227 exitcode=1 228 echo positional parameters were not saved. 229 fi 230 231 test \$exitcode = 0) || { (exit 1); exit 1; } 232 233 ( 234 as_lineno_1=\$LINENO 235 as_lineno_2=\$LINENO 236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238 ") 2> /dev/null; then 239 : 240 else 241 as_candidate_shells= 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244 do 245 IFS=$as_save_IFS 246 test -z "$as_dir" && as_dir=. 247 case $as_dir in 248 /*) 249 for as_base in sh bash ksh sh5; do 250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251 done;; 252 esac 253 done 254 IFS=$as_save_IFS 255 256 257 for as_shell in $as_candidate_shells $SHELL; do 258 # Try only shells that exist, to save several forks. 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260 { ("$as_shell") 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 _ASEOF 278 }; then 279 CONFIG_SHELL=$as_shell 280 as_have_required=yes 281 if { "$as_shell" 2> /dev/null <<\_ASEOF 282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283 emulate sh 284 NULLCMD=: 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286 # is contrary to our usage. Disable this feature. 287 alias -g '${1+"$@"}'='"$@"' 288 setopt NO_GLOB_SUBST 289 else 290 case `(set -o) 2>/dev/null` in 291 *posix*) set -o posix ;; 292 esac 293 294 fi 295 296 297 : 298 (as_func_return () { 299 (exit $1) 300 } 301 as_func_success () { 302 as_func_return 0 303 } 304 as_func_failure () { 305 as_func_return 1 306 } 307 as_func_ret_success () { 308 return 0 309 } 310 as_func_ret_failure () { 311 return 1 312 } 313 314 exitcode=0 315 if as_func_success; then 316 : 317 else 318 exitcode=1 319 echo as_func_success failed. 320 fi 321 322 if as_func_failure; then 323 exitcode=1 324 echo as_func_failure succeeded. 325 fi 326 327 if as_func_ret_success; then 328 : 329 else 330 exitcode=1 331 echo as_func_ret_success failed. 332 fi 333 334 if as_func_ret_failure; then 335 exitcode=1 336 echo as_func_ret_failure succeeded. 337 fi 338 339 if ( set x; as_func_ret_success y && test x = "$1" ); then 340 : 341 else 342 exitcode=1 343 echo positional parameters were not saved. 344 fi 345 346 test $exitcode = 0) || { (exit 1); exit 1; } 347 348 ( 349 as_lineno_1=$LINENO 350 as_lineno_2=$LINENO 351 test "x$as_lineno_1" != "x$as_lineno_2" && 352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353 354 _ASEOF 355 }; then 356 break 357 fi 358 359 fi 360 361 done 362 363 if test "x$CONFIG_SHELL" != x; then 364 for as_var in BASH_ENV ENV 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369 fi 370 371 372 if test $as_have_required = no; then 373 echo This script requires a shell more modern than all the 374 echo shells that I found on your system. Please install a 375 echo modern shell, or manually run the script under such a 376 echo shell if you do have one. 377 { (exit 1); exit 1; } 378 fi 379 380 381 fi 382 383 fi 384 385 386 387 (eval "as_func_return () { 388 (exit \$1) 389 } 390 as_func_success () { 391 as_func_return 0 392 } 393 as_func_failure () { 394 as_func_return 1 395 } 396 as_func_ret_success () { 397 return 0 398 } 399 as_func_ret_failure () { 400 return 1 401 } 402 403 exitcode=0 404 if as_func_success; then 405 : 406 else 407 exitcode=1 408 echo as_func_success failed. 409 fi 410 411 if as_func_failure; then 412 exitcode=1 413 echo as_func_failure succeeded. 414 fi 415 416 if as_func_ret_success; then 417 : 418 else 419 exitcode=1 420 echo as_func_ret_success failed. 421 fi 422 423 if as_func_ret_failure; then 424 exitcode=1 425 echo as_func_ret_failure succeeded. 426 fi 427 428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429 : 430 else 431 exitcode=1 432 echo positional parameters were not saved. 433 fi 434 435 test \$exitcode = 0") || { 436 echo No shell found that supports shell functions. 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 441 } 442 443 444 445 as_lineno_1=$LINENO 446 as_lineno_2=$LINENO 447 test "x$as_lineno_1" != "x$as_lineno_2" && 448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449 450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451 # uniformly replaced by the line number. The first 'sed' inserts a 452 # line-number line after each line using $LINENO; the second 'sed' 453 # does the real work. The second script uses 'N' to pair each 454 # line-number line with the line containing $LINENO, and appends 455 # trailing '-' during substitution so that $LINENO is not a special 456 # case at line end. 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458 # scripts with optimization help from Paolo Bonzini. Blame Lee 459 # 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. :-) 460 429 sed -n ' 461 430 p … … 474 443 ' >$as_me.lineno && 475 444 chmod +x "$as_me.lineno" || 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (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; } 478 446 479 447 # Don't try to exec as it changes $[0], causing all sort of problems … … 485 453 } 486 454 487 488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then489 as_dirname=dirname490 else491 as_dirname=false492 fi493 494 455 ECHO_C= ECHO_N= ECHO_T= 495 case `echo -n x` in 456 case `echo -n x` in #((((( 496 457 -n*) 497 case `echo 'x \c'` in458 case `echo 'xy\c'` in 498 459 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499 *) ECHO_C='\c';; 460 xy) ECHO_C='\c';; 461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 462 ECHO_T=' ';; 500 463 esac;; 501 464 *) 502 465 ECHO_N='-n';; 503 466 esac 504 if expr a : '\(a\)' >/dev/null 2>&1 &&505 test "X`expr 00001 : '.*\(...\)'`" = X001; then506 as_expr=expr507 else508 as_expr=false509 fi510 467 511 468 rm -f conf$$ conf$$.exe conf$$.file … … 537 494 538 495 if mkdir -p . 2>/dev/null; then 539 as_mkdir_p= :496 as_mkdir_p='mkdir -p "$as_dir"' 540 497 else 541 498 test -d ./-p && rmdir ./-p … … 556 513 test -d "$1/."; 557 514 else 558 case $1 in 515 case $1 in #( 559 516 -*)set "./$1";; 560 517 esac; 561 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 #(( 562 519 ???[sx]*):;;*)false;;esac;fi 563 520 '\'' sh … … 573 530 574 531 575 576 exec 7<&0 </dev/null6>&1532 test -n "$DJDIR" || exec 7<&0 </dev/null 533 exec 6>&1 577 534 578 535 # Name of the host. … … 592 549 MFLAGS= 593 550 MAKEFLAGS= 594 SHELL=${CONFIG_SHELL-/bin/sh}595 551 596 552 # Identity of this package. … … 600 556 PACKAGE_STRING='vizservers 0.1' 601 557 PACKAGE_BUGREPORT='rappture@nanohub.org' 558 PACKAGE_URL='' 602 559 603 560 # Factoring default headers for most tests. … … 724 681 prefix 725 682 exec_prefix 683 PACKAGE_URL 726 684 PACKAGE_BUGREPORT 727 685 PACKAGE_STRING … … 862 820 # Reject names that are not valid shell variable names. 863 821 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 864 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 865 { (exit 1); exit 1; }; } 822 as_fn_error "invalid feature name: $ac_useropt" 866 823 ac_useropt_orig=$ac_useropt 867 824 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 889 846 # Reject names that are not valid shell variable names. 890 847 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 891 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 892 { (exit 1); exit 1; }; } 848 as_fn_error "invalid feature name: $ac_useropt" 893 849 ac_useropt_orig=$ac_useropt 894 850 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1094 1050 # Reject names that are not valid shell variable names. 1095 1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1096 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1097 { (exit 1); exit 1; }; } 1052 as_fn_error "invalid package name: $ac_useropt" 1098 1053 ac_useropt_orig=$ac_useropt 1099 1054 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1111 1066 # Reject names that are not valid shell variable names. 1112 1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1113 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1114 { (exit 1); exit 1; }; } 1068 as_fn_error "invalid package name: $ac_useropt" 1115 1069 ac_useropt_orig=$ac_useropt 1116 1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1142 1096 x_libraries=$ac_optarg ;; 1143 1097 1144 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1145 Try \`$0 --help' for more information." >&2 1146 { (exit 1); exit 1; }; } 1098 -*) as_fn_error "unrecognized option: \`$ac_option' 1099 Try \`$0 --help' for more information." 1147 1100 ;; 1148 1101 … … 1150 1103 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1151 1104 # Reject names that are not valid shell variable names. 1152 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1153 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1154 { (exit 1); exit 1; }; } 1105 case $ac_envvar in #( 1106 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1107 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1108 esac 1155 1109 eval $ac_envvar=\$ac_optarg 1156 1110 export $ac_envvar ;; … … 1169 1123 if test -n "$ac_prev"; then 1170 1124 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1171 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1172 { (exit 1); exit 1; }; } 1125 as_fn_error "missing argument to $ac_option" 1173 1126 fi 1174 1127 … … 1176 1129 case $enable_option_checking in 1177 1130 no) ;; 1178 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1179 { (exit 1); exit 1; }; } ;; 1131 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1180 1132 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1181 1133 esac … … 1200 1152 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1201 1153 esac 1202 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1203 { (exit 1); exit 1; }; } 1154 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1204 1155 done 1205 1156 … … 1231 1182 ac_ls_di=`ls -di .` && 1232 1183 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1233 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1234 { (exit 1); exit 1; }; } 1184 as_fn_error "working directory cannot be determined" 1235 1185 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1236 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1237 { (exit 1); exit 1; }; } 1186 as_fn_error "pwd does not report name of working directory" 1238 1187 1239 1188 … … 1274 1223 if test ! -r "$srcdir/$ac_unique_file"; then 1275 1224 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1276 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1277 { (exit 1); exit 1; }; } 1225 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1278 1226 fi 1279 1227 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1280 1228 ac_abs_confdir=`( 1281 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1282 { (exit 1); exit 1; }; } 1229 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1283 1230 pwd)` 1284 1231 # When building in place, set srcdir=. … … 1394 1341 nonstandard directory <lib dir> 1395 1342 LIBS libraries to pass to the linker, e.g. -l<library> 1396 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1343 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1397 1344 you have headers in a nonstandard directory <include dir> 1398 1345 CPP C preprocessor … … 1468 1415 cat <<\_ACEOF 1469 1416 vizservers configure 0.1 1470 generated by GNU Autoconf 2.63 1471 1472 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1473 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1417 generated by GNU Autoconf 2.65 1418 1419 Copyright (C) 2009 Free Software Foundation, Inc. 1474 1420 This configure script is free software; the Free Software Foundation 1475 1421 gives unlimited permission to copy, distribute and modify it. … … 1477 1423 exit 1478 1424 fi 1425 1426 ## ------------------------ ## 1427 ## Autoconf initialization. ## 1428 ## ------------------------ ## 1429 1430 # ac_fn_c_try_compile LINENO 1431 # -------------------------- 1432 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1433 ac_fn_c_try_compile () 1434 { 1435 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1436 rm -f conftest.$ac_objext 1437 if { { ac_try="$ac_compile" 1438 case "(($ac_try" in 1439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1440 *) ac_try_echo=$ac_try;; 1441 esac 1442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1443 $as_echo "$ac_try_echo"; } >&5 1444 (eval "$ac_compile") 2>conftest.err 1445 ac_status=$? 1446 if test -s conftest.err; then 1447 grep -v '^ *+' conftest.err >conftest.er1 1448 cat conftest.er1 >&5 1449 mv -f conftest.er1 conftest.err 1450 fi 1451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1452 test $ac_status = 0; } && { 1453 test -z "$ac_c_werror_flag" || 1454 test ! -s conftest.err 1455 } && test -s conftest.$ac_objext; then : 1456 ac_retval=0 1457 else 1458 $as_echo "$as_me: failed program was:" >&5 1459 sed 's/^/| /' conftest.$ac_ext >&5 1460 1461 ac_retval=1 1462 fi 1463 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1464 as_fn_set_status $ac_retval 1465 1466 } # ac_fn_c_try_compile 1467 1468 # ac_fn_c_try_link LINENO 1469 # ----------------------- 1470 # Try to link conftest.$ac_ext, and return whether this succeeded. 1471 ac_fn_c_try_link () 1472 { 1473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1474 rm -f conftest.$ac_objext conftest$ac_exeext 1475 if { { ac_try="$ac_link" 1476 case "(($ac_try" in 1477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1478 *) ac_try_echo=$ac_try;; 1479 esac 1480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1481 $as_echo "$ac_try_echo"; } >&5 1482 (eval "$ac_link") 2>conftest.err 1483 ac_status=$? 1484 if test -s conftest.err; then 1485 grep -v '^ *+' conftest.err >conftest.er1 1486 cat conftest.er1 >&5 1487 mv -f conftest.er1 conftest.err 1488 fi 1489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1490 test $ac_status = 0; } && { 1491 test -z "$ac_c_werror_flag" || 1492 test ! -s conftest.err 1493 } && test -s conftest$ac_exeext && { 1494 test "$cross_compiling" = yes || 1495 $as_test_x conftest$ac_exeext 1496 }; then : 1497 ac_retval=0 1498 else 1499 $as_echo "$as_me: failed program was:" >&5 1500 sed 's/^/| /' conftest.$ac_ext >&5 1501 1502 ac_retval=1 1503 fi 1504 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1505 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1506 # interfere with the next link command; also delete a directory that is 1507 # left behind by Apple's compiler. We do this before executing the actions. 1508 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1509 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1510 as_fn_set_status $ac_retval 1511 1512 } # ac_fn_c_try_link 1513 1514 # ac_fn_c_try_cpp LINENO 1515 # ---------------------- 1516 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1517 ac_fn_c_try_cpp () 1518 { 1519 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1520 if { { ac_try="$ac_cpp conftest.$ac_ext" 1521 case "(($ac_try" in 1522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1523 *) ac_try_echo=$ac_try;; 1524 esac 1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1526 $as_echo "$ac_try_echo"; } >&5 1527 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1528 ac_status=$? 1529 if test -s conftest.err; then 1530 grep -v '^ *+' conftest.err >conftest.er1 1531 cat conftest.er1 >&5 1532 mv -f conftest.er1 conftest.err 1533 fi 1534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1535 test $ac_status = 0; } >/dev/null && { 1536 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1537 test ! -s conftest.err 1538 }; then : 1539 ac_retval=0 1540 else 1541 $as_echo "$as_me: failed program was:" >&5 1542 sed 's/^/| /' conftest.$ac_ext >&5 1543 1544 ac_retval=1 1545 fi 1546 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1547 as_fn_set_status $ac_retval 1548 1549 } # ac_fn_c_try_cpp 1550 1551 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1552 # ------------------------------------------------------- 1553 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1554 # the include files in INCLUDES and setting the cache variable VAR 1555 # accordingly. 1556 ac_fn_c_check_header_mongrel () 1557 { 1558 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1559 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1561 $as_echo_n "checking for $2... " >&6; } 1562 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1563 $as_echo_n "(cached) " >&6 1564 fi 1565 eval ac_res=\$$3 1566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1567 $as_echo "$ac_res" >&6; } 1568 else 1569 # Is the header compilable? 1570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1571 $as_echo_n "checking $2 usability... " >&6; } 1572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1573 /* end confdefs.h. */ 1574 $4 1575 #include <$2> 1576 _ACEOF 1577 if ac_fn_c_try_compile "$LINENO"; then : 1578 ac_header_compiler=yes 1579 else 1580 ac_header_compiler=no 1581 fi 1582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1584 $as_echo "$ac_header_compiler" >&6; } 1585 1586 # Is the header present? 1587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1588 $as_echo_n "checking $2 presence... " >&6; } 1589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1590 /* end confdefs.h. */ 1591 #include <$2> 1592 _ACEOF 1593 if ac_fn_c_try_cpp "$LINENO"; then : 1594 ac_header_preproc=yes 1595 else 1596 ac_header_preproc=no 1597 fi 1598 rm -f conftest.err conftest.$ac_ext 1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1600 $as_echo "$ac_header_preproc" >&6; } 1601 1602 # So? What about this header? 1603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1604 yes:no: ) 1605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1606 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1608 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1609 ;; 1610 no:yes:* ) 1611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1612 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1614 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1616 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1618 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1620 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1621 ( cat <<\_ASBOX 1622 ## ----------------------------------- ## 1623 ## Report this to rappture@nanohub.org ## 1624 ## ----------------------------------- ## 1625 _ASBOX 1626 ) | sed "s/^/$as_me: WARNING: /" >&2 1627 ;; 1628 esac 1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1630 $as_echo_n "checking for $2... " >&6; } 1631 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1632 $as_echo_n "(cached) " >&6 1633 else 1634 eval "$3=\$ac_header_compiler" 1635 fi 1636 eval ac_res=\$$3 1637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1638 $as_echo "$ac_res" >&6; } 1639 fi 1640 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1641 1642 } # ac_fn_c_check_header_mongrel 1643 1644 # ac_fn_c_try_run LINENO 1645 # ---------------------- 1646 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1647 # that executables *can* be run. 1648 ac_fn_c_try_run () 1649 { 1650 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1651 if { { ac_try="$ac_link" 1652 case "(($ac_try" in 1653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1654 *) ac_try_echo=$ac_try;; 1655 esac 1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1657 $as_echo "$ac_try_echo"; } >&5 1658 (eval "$ac_link") 2>&5 1659 ac_status=$? 1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1661 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1662 { { case "(($ac_try" in 1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1664 *) ac_try_echo=$ac_try;; 1665 esac 1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1667 $as_echo "$ac_try_echo"; } >&5 1668 (eval "$ac_try") 2>&5 1669 ac_status=$? 1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1671 test $ac_status = 0; }; }; then : 1672 ac_retval=0 1673 else 1674 $as_echo "$as_me: program exited with status $ac_status" >&5 1675 $as_echo "$as_me: failed program was:" >&5 1676 sed 's/^/| /' conftest.$ac_ext >&5 1677 1678 ac_retval=$ac_status 1679 fi 1680 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1681 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1682 as_fn_set_status $ac_retval 1683 1684 } # ac_fn_c_try_run 1685 1686 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1687 # ------------------------------------------------------- 1688 # Tests whether HEADER exists and can be compiled using the include files in 1689 # INCLUDES, setting the cache variable VAR accordingly. 1690 ac_fn_c_check_header_compile () 1691 { 1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1694 $as_echo_n "checking for $2... " >&6; } 1695 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1696 $as_echo_n "(cached) " >&6 1697 else 1698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1699 /* end confdefs.h. */ 1700 $4 1701 #include <$2> 1702 _ACEOF 1703 if ac_fn_c_try_compile "$LINENO"; then : 1704 eval "$3=yes" 1705 else 1706 eval "$3=no" 1707 fi 1708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1709 fi 1710 eval ac_res=\$$3 1711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1712 $as_echo "$ac_res" >&6; } 1713 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1714 1715 } # ac_fn_c_check_header_compile 1716 1717 # ac_fn_cxx_try_compile LINENO 1718 # ---------------------------- 1719 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1720 ac_fn_cxx_try_compile () 1721 { 1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1723 rm -f conftest.$ac_objext 1724 if { { ac_try="$ac_compile" 1725 case "(($ac_try" in 1726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1727 *) ac_try_echo=$ac_try;; 1728 esac 1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1730 $as_echo "$ac_try_echo"; } >&5 1731 (eval "$ac_compile") 2>conftest.err 1732 ac_status=$? 1733 if test -s conftest.err; then 1734 grep -v '^ *+' conftest.err >conftest.er1 1735 cat conftest.er1 >&5 1736 mv -f conftest.er1 conftest.err 1737 fi 1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1739 test $ac_status = 0; } && { 1740 test -z "$ac_cxx_werror_flag" || 1741 test ! -s conftest.err 1742 } && test -s conftest.$ac_objext; then : 1743 ac_retval=0 1744 else 1745 $as_echo "$as_me: failed program was:" >&5 1746 sed 's/^/| /' conftest.$ac_ext >&5 1747 1748 ac_retval=1 1749 fi 1750 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1751 as_fn_set_status $ac_retval 1752 1753 } # ac_fn_cxx_try_compile 1754 1755 # ac_fn_cxx_try_cpp LINENO 1756 # ------------------------ 1757 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1758 ac_fn_cxx_try_cpp () 1759 { 1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1761 if { { ac_try="$ac_cpp conftest.$ac_ext" 1762 case "(($ac_try" in 1763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1764 *) ac_try_echo=$ac_try;; 1765 esac 1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1767 $as_echo "$ac_try_echo"; } >&5 1768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1769 ac_status=$? 1770 if test -s conftest.err; then 1771 grep -v '^ *+' conftest.err >conftest.er1 1772 cat conftest.er1 >&5 1773 mv -f conftest.er1 conftest.err 1774 fi 1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1776 test $ac_status = 0; } >/dev/null && { 1777 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1778 test ! -s conftest.err 1779 }; then : 1780 ac_retval=0 1781 else 1782 $as_echo "$as_me: failed program was:" >&5 1783 sed 's/^/| /' conftest.$ac_ext >&5 1784 1785 ac_retval=1 1786 fi 1787 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1788 as_fn_set_status $ac_retval 1789 1790 } # ac_fn_cxx_try_cpp 1791 1792 # ac_fn_cxx_try_run LINENO 1793 # ------------------------ 1794 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1795 # that executables *can* be run. 1796 ac_fn_cxx_try_run () 1797 { 1798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1799 if { { ac_try="$ac_link" 1800 case "(($ac_try" in 1801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1802 *) ac_try_echo=$ac_try;; 1803 esac 1804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1805 $as_echo "$ac_try_echo"; } >&5 1806 (eval "$ac_link") 2>&5 1807 ac_status=$? 1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1809 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1810 { { case "(($ac_try" in 1811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1812 *) ac_try_echo=$ac_try;; 1813 esac 1814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1815 $as_echo "$ac_try_echo"; } >&5 1816 (eval "$ac_try") 2>&5 1817 ac_status=$? 1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1819 test $ac_status = 0; }; }; then : 1820 ac_retval=0 1821 else 1822 $as_echo "$as_me: program exited with status $ac_status" >&5 1823 $as_echo "$as_me: failed program was:" >&5 1824 sed 's/^/| /' conftest.$ac_ext >&5 1825 1826 ac_retval=$ac_status 1827 fi 1828 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1829 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1830 as_fn_set_status $ac_retval 1831 1832 } # ac_fn_cxx_try_run 1833 1834 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1835 # --------------------------------------------------------- 1836 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1837 # the include files in INCLUDES and setting the cache variable VAR 1838 # accordingly. 1839 ac_fn_cxx_check_header_mongrel () 1840 { 1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1842 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1844 $as_echo_n "checking for $2... " >&6; } 1845 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1846 $as_echo_n "(cached) " >&6 1847 fi 1848 eval ac_res=\$$3 1849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1850 $as_echo "$ac_res" >&6; } 1851 else 1852 # Is the header compilable? 1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1854 $as_echo_n "checking $2 usability... " >&6; } 1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1856 /* end confdefs.h. */ 1857 $4 1858 #include <$2> 1859 _ACEOF 1860 if ac_fn_cxx_try_compile "$LINENO"; then : 1861 ac_header_compiler=yes 1862 else 1863 ac_header_compiler=no 1864 fi 1865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1867 $as_echo "$ac_header_compiler" >&6; } 1868 1869 # Is the header present? 1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1871 $as_echo_n "checking $2 presence... " >&6; } 1872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1873 /* end confdefs.h. */ 1874 #include <$2> 1875 _ACEOF 1876 if ac_fn_cxx_try_cpp "$LINENO"; then : 1877 ac_header_preproc=yes 1878 else 1879 ac_header_preproc=no 1880 fi 1881 rm -f conftest.err conftest.$ac_ext 1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1883 $as_echo "$ac_header_preproc" >&6; } 1884 1885 # So? What about this header? 1886 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 1887 yes:no: ) 1888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1889 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1891 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1892 ;; 1893 no:yes:* ) 1894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1895 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1897 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1899 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1901 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1903 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1904 ( cat <<\_ASBOX 1905 ## ----------------------------------- ## 1906 ## Report this to rappture@nanohub.org ## 1907 ## ----------------------------------- ## 1908 _ASBOX 1909 ) | sed "s/^/$as_me: WARNING: /" >&2 1910 ;; 1911 esac 1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1913 $as_echo_n "checking for $2... " >&6; } 1914 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1915 $as_echo_n "(cached) " >&6 1916 else 1917 eval "$3=\$ac_header_compiler" 1918 fi 1919 eval ac_res=\$$3 1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1921 $as_echo "$ac_res" >&6; } 1922 fi 1923 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1924 1925 } # ac_fn_cxx_check_header_mongrel 1926 1927 # ac_fn_cxx_try_link LINENO 1928 # ------------------------- 1929 # Try to link conftest.$ac_ext, and return whether this succeeded. 1930 ac_fn_cxx_try_link () 1931 { 1932 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1933 rm -f conftest.$ac_objext conftest$ac_exeext 1934 if { { ac_try="$ac_link" 1935 case "(($ac_try" in 1936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1937 *) ac_try_echo=$ac_try;; 1938 esac 1939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1940 $as_echo "$ac_try_echo"; } >&5 1941 (eval "$ac_link") 2>conftest.err 1942 ac_status=$? 1943 if test -s conftest.err; then 1944 grep -v '^ *+' conftest.err >conftest.er1 1945 cat conftest.er1 >&5 1946 mv -f conftest.er1 conftest.err 1947 fi 1948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1949 test $ac_status = 0; } && { 1950 test -z "$ac_cxx_werror_flag" || 1951 test ! -s conftest.err 1952 } && test -s conftest$ac_exeext && { 1953 test "$cross_compiling" = yes || 1954 $as_test_x conftest$ac_exeext 1955 }; then : 1956 ac_retval=0 1957 else 1958 $as_echo "$as_me: failed program was:" >&5 1959 sed 's/^/| /' conftest.$ac_ext >&5 1960 1961 ac_retval=1 1962 fi 1963 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1964 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1965 # interfere with the next link command; also delete a directory that is 1966 # left behind by Apple's compiler. We do this before executing the actions. 1967 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1968 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1969 as_fn_set_status $ac_retval 1970 1971 } # ac_fn_cxx_try_link 1972 1973 # ac_fn_cxx_check_func LINENO FUNC VAR 1974 # ------------------------------------ 1975 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1976 ac_fn_cxx_check_func () 1977 { 1978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1980 $as_echo_n "checking for $2... " >&6; } 1981 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1982 $as_echo_n "(cached) " >&6 1983 else 1984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1985 /* end confdefs.h. */ 1986 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1987 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1988 #define $2 innocuous_$2 1989 1990 /* System header to define __stub macros and hopefully few prototypes, 1991 which can conflict with char $2 (); below. 1992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1993 <limits.h> exists even on freestanding compilers. */ 1994 1995 #ifdef __STDC__ 1996 # include <limits.h> 1997 #else 1998 # include <assert.h> 1999 #endif 2000 2001 #undef $2 2002 2003 /* Override any GCC internal prototype to avoid an error. 2004 Use char because int might match the return type of a GCC 2005 builtin and then its argument prototype would still apply. */ 2006 #ifdef __cplusplus 2007 extern "C" 2008 #endif 2009 char $2 (); 2010 /* The GNU C library defines this for functions which it implements 2011 to always fail with ENOSYS. Some functions are actually named 2012 something starting with __ and the normal name is an alias. */ 2013 #if defined __stub_$2 || defined __stub___$2 2014 choke me 2015 #endif 2016 2017 int 2018 main () 2019 { 2020 return $2 (); 2021 ; 2022 return 0; 2023 } 2024 _ACEOF 2025 if ac_fn_cxx_try_link "$LINENO"; then : 2026 eval "$3=yes" 2027 else 2028 eval "$3=no" 2029 fi 2030 rm -f core conftest.err conftest.$ac_objext \ 2031 conftest$ac_exeext conftest.$ac_ext 2032 fi 2033 eval ac_res=\$$3 2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2035 $as_echo "$ac_res" >&6; } 2036 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2037 2038 } # ac_fn_cxx_check_func 1479 2039 cat >config.log <<_ACEOF 1480 2040 This file contains any messages produced by compilers while … … 1482 2042 1483 2043 It was created by vizservers $as_me 0.1, which was 1484 generated by GNU Autoconf 2.6 3. Invocation command line was2044 generated by GNU Autoconf 2.65. Invocation command line was 1485 2045 1486 2046 $ $0 $@ … … 1518 2078 IFS=$as_save_IFS 1519 2079 test -z "$as_dir" && as_dir=. 1520 $as_echo "PATH: $as_dir"1521 done2080 $as_echo "PATH: $as_dir" 2081 done 1522 2082 IFS=$as_save_IFS 1523 2083 … … 1556 2116 esac 1557 2117 case $ac_pass in 1558 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2118 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1559 2119 2) 1560 a c_configure_args1="$ac_configure_args1'$ac_arg'"2120 as_fn_append ac_configure_args1 " '$ac_arg'" 1561 2121 if test $ac_must_keep_next = true; then 1562 2122 ac_must_keep_next=false # Got value, back to normal. … … 1574 2134 esac 1575 2135 fi 1576 a c_configure_args="$ac_configure_args'$ac_arg'"2136 as_fn_append ac_configure_args " '$ac_arg'" 1577 2137 ;; 1578 2138 esac 1579 2139 done 1580 2140 done 1581 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1582 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2141 { ac_configure_args0=; unset ac_configure_args0;} 2142 { ac_configure_args1=; unset ac_configure_args1;} 1583 2143 1584 2144 # When interrupted or exit'd, cleanup temporary files, and complete … … 1605 2165 *${as_nl}*) 1606 2166 case $ac_var in #( 1607 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&52167 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1608 2168 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1609 2169 esac … … 1611 2171 _ | IFS | as_nl) ;; #( 1612 2172 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1613 *) $as_unset $ac_var;;2173 *) { eval $ac_var=; unset $ac_var;} ;; 1614 2174 esac ;; 1615 2175 esac … … 1683 2243 ' 0 1684 2244 for ac_signal in 1 2 13 15; do 1685 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2245 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1686 2246 done 1687 2247 ac_signal=0 … … 1690 2250 rm -f -r conftest* confdefs.h 1691 2251 2252 $as_echo "/* confdefs.h */" > confdefs.h 2253 1692 2254 # Predefined preprocessor variables. 1693 2255 … … 1696 2258 _ACEOF 1697 2259 1698 1699 2260 cat >>confdefs.h <<_ACEOF 1700 2261 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1701 2262 _ACEOF 1702 2263 1703 1704 2264 cat >>confdefs.h <<_ACEOF 1705 2265 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1706 2266 _ACEOF 1707 2267 1708 1709 2268 cat >>confdefs.h <<_ACEOF 1710 2269 #define PACKAGE_STRING "$PACKAGE_STRING" 1711 2270 _ACEOF 1712 2271 1713 1714 2272 cat >>confdefs.h <<_ACEOF 1715 2273 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2274 _ACEOF 2275 2276 cat >>confdefs.h <<_ACEOF 2277 #define PACKAGE_URL "$PACKAGE_URL" 1716 2278 _ACEOF 1717 2279 … … 1733 2295 do 1734 2296 test "x$ac_site_file" = xNONE && continue 1735 if test -r "$ac_site_file"; then1736 { $as_echo "$as_me:$ LINENO: loading site script $ac_site_file" >&52297 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2298 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1737 2299 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1738 2300 sed 's/^/| /' "$ac_site_file" >&5 … … 1742 2304 1743 2305 if test -r "$cache_file"; then 1744 # Some versions of bash will fail to source /dev/null (special 1745 # files actually), so we avoid doing that.1746 if test -f "$cache_file"; then1747 { $as_echo "$as_me:$ LINENO: loading cache $cache_file" >&52306 # Some versions of bash will fail to source /dev/null (special files 2307 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2308 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2309 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1748 2310 $as_echo "$as_me: loading cache $cache_file" >&6;} 1749 2311 case $cache_file in … … 1753 2315 fi 1754 2316 else 1755 { $as_echo "$as_me:$ LINENO: creating cache $cache_file" >&52317 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1756 2318 $as_echo "$as_me: creating cache $cache_file" >&6;} 1757 2319 >$cache_file … … 1768 2330 case $ac_old_set,$ac_new_set in 1769 2331 set,) 1770 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52332 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1771 2333 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1772 2334 ac_cache_corrupted=: ;; 1773 2335 ,set) 1774 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was not set in the previous run" >&52336 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1775 2337 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1776 2338 ac_cache_corrupted=: ;; … … 1782 2344 ac_new_val_w=`echo x $ac_new_val` 1783 2345 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1784 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' has changed since the previous run:" >&52346 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1785 2347 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1786 2348 ac_cache_corrupted=: 1787 2349 else 1788 { $as_echo "$as_me:$ LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52350 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1789 2351 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1790 2352 eval $ac_var=\$ac_old_val 1791 2353 fi 1792 { $as_echo "$as_me:$ LINENO: former value: \`$ac_old_val'" >&52354 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1793 2355 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1794 { $as_echo "$as_me:$ LINENO: current value: \`$ac_new_val'" >&52356 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1795 2357 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1796 2358 fi;; … … 1804 2366 case " $ac_configure_args " in 1805 2367 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1806 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2368 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1807 2369 esac 1808 2370 fi 1809 2371 done 1810 2372 if $ac_cache_corrupted; then 1811 { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1812 2374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1813 { $as_echo "$as_me:$ LINENO: error: changes in the environment can compromise the build" >&52375 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1814 2376 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1815 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1816 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1817 { (exit 1); exit 1; }; } 1818 fi 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 2377 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2378 fi 2379 ## -------------------- ## 2380 ## Main body of script. ## 2381 ## -------------------- ## 1843 2382 1844 2383 ac_ext=c … … 1880 2419 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1881 2420 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1882 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1883 2422 $as_echo_n "checking for $ac_word... " >&6; } 1884 if test "${ac_cv_prog_CC+set}" = set; then 2423 if test "${ac_cv_prog_CC+set}" = set; then : 1885 2424 $as_echo_n "(cached) " >&6 1886 2425 else … … 1893 2432 IFS=$as_save_IFS 1894 2433 test -z "$as_dir" && as_dir=. 1895 for ac_exec_ext in '' $ac_executable_extensions; do2434 for ac_exec_ext in '' $ac_executable_extensions; do 1896 2435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1897 2436 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1898 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1899 2438 break 2 1900 2439 fi 1901 2440 done 1902 done2441 done 1903 2442 IFS=$as_save_IFS 1904 2443 … … 1907 2446 CC=$ac_cv_prog_CC 1908 2447 if test -n "$CC"; then 1909 { $as_echo "$as_me:$ LINENO: result: $CC" >&52448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1910 2449 $as_echo "$CC" >&6; } 1911 2450 else 1912 { $as_echo "$as_me:$ LINENO: result: no" >&52451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1913 2452 $as_echo "no" >&6; } 1914 2453 fi … … 1920 2459 # Extract the first word of "gcc", so it can be a program name with args. 1921 2460 set dummy gcc; ac_word=$2 1922 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1923 2462 $as_echo_n "checking for $ac_word... " >&6; } 1924 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2463 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 1925 2464 $as_echo_n "(cached) " >&6 1926 2465 else … … 1933 2472 IFS=$as_save_IFS 1934 2473 test -z "$as_dir" && as_dir=. 1935 for ac_exec_ext in '' $ac_executable_extensions; do2474 for ac_exec_ext in '' $ac_executable_extensions; do 1936 2475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1937 2476 ac_cv_prog_ac_ct_CC="gcc" 1938 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1939 2478 break 2 1940 2479 fi 1941 2480 done 1942 done2481 done 1943 2482 IFS=$as_save_IFS 1944 2483 … … 1947 2486 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1948 2487 if test -n "$ac_ct_CC"; then 1949 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 1950 2489 $as_echo "$ac_ct_CC" >&6; } 1951 2490 else 1952 { $as_echo "$as_me:$ LINENO: result: no" >&52491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1953 2492 $as_echo "no" >&6; } 1954 2493 fi … … 1959 2498 case $cross_compiling:$ac_tool_warned in 1960 2499 yes:) 1961 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1962 2501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1963 2502 ac_tool_warned=yes ;; … … 1973 2512 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1974 2513 set dummy ${ac_tool_prefix}cc; ac_word=$2 1975 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1976 2515 $as_echo_n "checking for $ac_word... " >&6; } 1977 if test "${ac_cv_prog_CC+set}" = set; then 2516 if test "${ac_cv_prog_CC+set}" = set; then : 1978 2517 $as_echo_n "(cached) " >&6 1979 2518 else … … 1986 2525 IFS=$as_save_IFS 1987 2526 test -z "$as_dir" && as_dir=. 1988 for ac_exec_ext in '' $ac_executable_extensions; do2527 for ac_exec_ext in '' $ac_executable_extensions; do 1989 2528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1990 2529 ac_cv_prog_CC="${ac_tool_prefix}cc" 1991 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1992 2531 break 2 1993 2532 fi 1994 2533 done 1995 done2534 done 1996 2535 IFS=$as_save_IFS 1997 2536 … … 2000 2539 CC=$ac_cv_prog_CC 2001 2540 if test -n "$CC"; then 2002 { $as_echo "$as_me:$ LINENO: result: $CC" >&52541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2003 2542 $as_echo "$CC" >&6; } 2004 2543 else 2005 { $as_echo "$as_me:$ LINENO: result: no" >&52544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2006 2545 $as_echo "no" >&6; } 2007 2546 fi … … 2013 2552 # Extract the first word of "cc", so it can be a program name with args. 2014 2553 set dummy cc; ac_word=$2 2015 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2016 2555 $as_echo_n "checking for $ac_word... " >&6; } 2017 if test "${ac_cv_prog_CC+set}" = set; then 2556 if test "${ac_cv_prog_CC+set}" = set; then : 2018 2557 $as_echo_n "(cached) " >&6 2019 2558 else … … 2027 2566 IFS=$as_save_IFS 2028 2567 test -z "$as_dir" && as_dir=. 2029 for ac_exec_ext in '' $ac_executable_extensions; do2568 for ac_exec_ext in '' $ac_executable_extensions; do 2030 2569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2031 2570 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2034 2573 fi 2035 2574 ac_cv_prog_CC="cc" 2036 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2037 2576 break 2 2038 2577 fi 2039 2578 done 2040 done2579 done 2041 2580 IFS=$as_save_IFS 2042 2581 … … 2057 2596 CC=$ac_cv_prog_CC 2058 2597 if test -n "$CC"; then 2059 { $as_echo "$as_me:$ LINENO: result: $CC" >&52598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2060 2599 $as_echo "$CC" >&6; } 2061 2600 else 2062 { $as_echo "$as_me:$ LINENO: result: no" >&52601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2063 2602 $as_echo "no" >&6; } 2064 2603 fi … … 2072 2611 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2073 2612 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2074 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2075 2614 $as_echo_n "checking for $ac_word... " >&6; } 2076 if test "${ac_cv_prog_CC+set}" = set; then 2615 if test "${ac_cv_prog_CC+set}" = set; then : 2077 2616 $as_echo_n "(cached) " >&6 2078 2617 else … … 2085 2624 IFS=$as_save_IFS 2086 2625 test -z "$as_dir" && as_dir=. 2087 for ac_exec_ext in '' $ac_executable_extensions; do2626 for ac_exec_ext in '' $ac_executable_extensions; do 2088 2627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2089 2628 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2090 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2091 2630 break 2 2092 2631 fi 2093 2632 done 2094 done2633 done 2095 2634 IFS=$as_save_IFS 2096 2635 … … 2099 2638 CC=$ac_cv_prog_CC 2100 2639 if test -n "$CC"; then 2101 { $as_echo "$as_me:$ LINENO: result: $CC" >&52640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2102 2641 $as_echo "$CC" >&6; } 2103 2642 else 2104 { $as_echo "$as_me:$ LINENO: result: no" >&52643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2105 2644 $as_echo "no" >&6; } 2106 2645 fi … … 2116 2655 # Extract the first word of "$ac_prog", so it can be a program name with args. 2117 2656 set dummy $ac_prog; ac_word=$2 2118 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2119 2658 $as_echo_n "checking for $ac_word... " >&6; } 2120 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2659 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2121 2660 $as_echo_n "(cached) " >&6 2122 2661 else … … 2129 2668 IFS=$as_save_IFS 2130 2669 test -z "$as_dir" && as_dir=. 2131 for ac_exec_ext in '' $ac_executable_extensions; do2670 for ac_exec_ext in '' $ac_executable_extensions; do 2132 2671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2133 2672 ac_cv_prog_ac_ct_CC="$ac_prog" 2134 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2135 2674 break 2 2136 2675 fi 2137 2676 done 2138 done2677 done 2139 2678 IFS=$as_save_IFS 2140 2679 … … 2143 2682 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2144 2683 if test -n "$ac_ct_CC"; then 2145 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2146 2685 $as_echo "$ac_ct_CC" >&6; } 2147 2686 else 2148 { $as_echo "$as_me:$ LINENO: result: no" >&52687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2149 2688 $as_echo "no" >&6; } 2150 2689 fi … … 2159 2698 case $cross_compiling:$ac_tool_warned in 2160 2699 yes:) 2161 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2162 2701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2163 2702 ac_tool_warned=yes ;; … … 2170 2709 2171 2710 2172 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52711 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2173 2712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2174 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2175 See \`config.log' for more details." >&5 2176 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2177 See \`config.log' for more details." >&2;} 2178 { (exit 1); exit 1; }; }; } 2713 as_fn_error "no acceptable C compiler found in \$PATH 2714 See \`config.log' for more details." "$LINENO" 5; } 2179 2715 2180 2716 # Provide some information about the compiler. 2181 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&52717 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2182 2718 set X $ac_compile 2183 2719 ac_compiler=$2 2184 { (ac_try="$ac_compiler --version >&5" 2720 for ac_option in --version -v -V -qversion; do 2721 { { ac_try="$ac_compiler $ac_option >&5" 2185 2722 case "(($ac_try" in 2186 2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2187 2724 *) ac_try_echo=$ac_try;; 2188 2725 esac 2189 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2190 $as_echo "$ac_try_echo" )>&52191 (eval "$ac_compiler --version >&5") 2>&52726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2727 $as_echo "$ac_try_echo"; } >&5 2728 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2192 2729 ac_status=$? 2193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2194 (exit $ac_status); } 2195 { (ac_try="$ac_compiler -v >&5" 2196 case "(($ac_try" in 2197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2198 *) ac_try_echo=$ac_try;; 2199 esac 2200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2201 $as_echo "$ac_try_echo") >&5 2202 (eval "$ac_compiler -v >&5") 2>&5 2203 ac_status=$? 2204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2205 (exit $ac_status); } 2206 { (ac_try="$ac_compiler -V >&5" 2207 case "(($ac_try" in 2208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2209 *) ac_try_echo=$ac_try;; 2210 esac 2211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2212 $as_echo "$ac_try_echo") >&5 2213 (eval "$ac_compiler -V >&5") 2>&5 2214 ac_status=$? 2215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2216 (exit $ac_status); } 2217 2218 cat >conftest.$ac_ext <<_ACEOF 2219 /* confdefs.h. */ 2220 _ACEOF 2221 cat confdefs.h >>conftest.$ac_ext 2222 cat >>conftest.$ac_ext <<_ACEOF 2730 if test -s conftest.err; then 2731 sed '10a\ 2732 ... rest of stderr output deleted ... 2733 10q' conftest.err >conftest.er1 2734 cat conftest.er1 >&5 2735 fi 2736 rm -f conftest.er1 conftest.err 2737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2738 test $ac_status = 0; } 2739 done 2740 2741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2223 2742 /* end confdefs.h. */ 2224 2743 … … 2236 2755 # It will help us diagnose broken compilers, and finding out an intuition 2237 2756 # of exeext. 2238 { $as_echo "$as_me:$ LINENO: checking for C compiler default output file name" >&52239 $as_echo_n "checking for C compiler default output file name... " >&6; }2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2758 $as_echo_n "checking whether the C compiler works... " >&6; } 2240 2759 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2241 2760 … … 2253 2772 rm -f $ac_rmfiles 2254 2773 2255 if { (ac_try="$ac_link_default"2774 if { { ac_try="$ac_link_default" 2256 2775 case "(($ac_try" in 2257 2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2258 2777 *) ac_try_echo=$ac_try;; 2259 2778 esac 2260 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2261 $as_echo "$ac_try_echo" )>&52779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2780 $as_echo "$ac_try_echo"; } >&5 2262 2781 (eval "$ac_link_default") 2>&5 2263 2782 ac_status=$? 2264 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52265 (exit $ac_status); }; then2783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2784 test $ac_status = 0; }; then : 2266 2785 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2267 2786 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2280 2799 break;; 2281 2800 *.* ) 2282 2801 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2283 2802 then :; else 2284 2803 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2299 2818 ac_file='' 2300 2819 fi 2301 2302 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2820 if test -z "$ac_file"; then : 2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2822 $as_echo "no" >&6; } 2823 $as_echo "$as_me: failed program was:" >&5 2824 sed 's/^/| /' conftest.$ac_ext >&5 2825 2826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2828 { as_fn_set_status 77 2829 as_fn_error "C compiler cannot create executables 2830 See \`config.log' for more details." "$LINENO" 5; }; } 2831 else 2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2833 $as_echo "yes" >&6; } 2834 fi 2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2836 $as_echo_n "checking for C compiler default output file name... " >&6; } 2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2303 2838 $as_echo "$ac_file" >&6; } 2304 if test -z "$ac_file"; then2305 $as_echo "$as_me: failed program was:" >&52306 sed 's/^/| /' conftest.$ac_ext >&52307 2308 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2310 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables2311 See \`config.log' for more details." >&52312 $as_echo "$as_me: error: C compiler cannot create executables2313 See \`config.log' for more details." >&2;}2314 { (exit 77); exit 77; }; }; }2315 fi2316 2317 2839 ac_exeext=$ac_cv_exeext 2318 2319 # Check that the compiler produces executables we can run. If not, either2320 # the compiler is broken, or we cross compile.2321 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&52322 $as_echo_n "checking whether the C compiler works... " >&6; }2323 # FIXME: These cross compiler hacks should be removed for Autoconf 3.02324 # If not cross compiling, check that we can run a simple program.2325 if test "$cross_compiling" != yes; then2326 if { ac_try='./$ac_file'2327 { (case "(($ac_try" in2328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2329 *) ac_try_echo=$ac_try;;2330 esac2331 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""2332 $as_echo "$ac_try_echo") >&52333 (eval "$ac_try") 2>&52334 ac_status=$?2335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52336 (exit $ac_status); }; }; then2337 cross_compiling=no2338 else2339 if test "$cross_compiling" = maybe; then2340 cross_compiling=yes2341 else2342 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2344 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.2345 If you meant to cross compile, use \`--host'.2346 See \`config.log' for more details." >&52347 $as_echo "$as_me: error: cannot run C compiled programs.2348 If you meant to cross compile, use \`--host'.2349 See \`config.log' for more details." >&2;}2350 { (exit 1); exit 1; }; }; }2351 fi2352 fi2353 fi2354 { $as_echo "$as_me:$LINENO: result: yes" >&52355 $as_echo "yes" >&6; }2356 2840 2357 2841 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2358 2842 ac_clean_files=$ac_clean_files_save 2359 # Check that the compiler produces executables we can run. If not, either 2360 # the compiler is broken, or we cross compile. 2361 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2362 $as_echo_n "checking whether we are cross compiling... " >&6; } 2363 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2364 $as_echo "$cross_compiling" >&6; } 2365 2366 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2367 2844 $as_echo_n "checking for suffix of executables... " >&6; } 2368 if { (ac_try="$ac_link"2845 if { { ac_try="$ac_link" 2369 2846 case "(($ac_try" in 2370 2847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2371 2848 *) ac_try_echo=$ac_try;; 2372 2849 esac 2373 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2374 $as_echo "$ac_try_echo" )>&52850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2851 $as_echo "$ac_try_echo"; } >&5 2375 2852 (eval "$ac_link") 2>&5 2376 2853 ac_status=$? 2377 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52378 (exit $ac_status); }; then2854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2855 test $ac_status = 0; }; then : 2379 2856 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2380 2857 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2391 2868 done 2392 2869 else 2393 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2394 2871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2395 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2396 See \`config.log' for more details." >&5 2397 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2398 See \`config.log' for more details." >&2;} 2399 { (exit 1); exit 1; }; }; } 2400 fi 2401 2402 rm -f conftest$ac_cv_exeext 2403 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2872 as_fn_error "cannot compute suffix of executables: cannot compile and link 2873 See \`config.log' for more details." "$LINENO" 5; } 2874 fi 2875 rm -f conftest conftest$ac_cv_exeext 2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2404 2877 $as_echo "$ac_cv_exeext" >&6; } 2405 2878 … … 2407 2880 EXEEXT=$ac_cv_exeext 2408 2881 ac_exeext=$EXEEXT 2409 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2410 $as_echo_n "checking for suffix of object files... " >&6; } 2411 if test "${ac_cv_objext+set}" = set; then 2412 $as_echo_n "(cached) " >&6 2413 else 2414 cat >conftest.$ac_ext <<_ACEOF 2415 /* confdefs.h. */ 2416 _ACEOF 2417 cat confdefs.h >>conftest.$ac_ext 2418 cat >>conftest.$ac_ext <<_ACEOF 2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2419 2883 /* end confdefs.h. */ 2420 2884 #include <stdio.h> 2421 2885 int 2422 2886 main () 2423 2887 { 2888 FILE *f = fopen ("conftest.out", "w"); 2889 return ferror (f) || fclose (f) != 0; 2424 2890 2425 2891 ; … … 2427 2893 } 2428 2894 _ACEOF 2429 rm -f conftest.o conftest.obj 2430 if { (ac_try="$ac_compile" 2895 ac_clean_files="$ac_clean_files conftest.out" 2896 # Check that the compiler produces executables we can run. If not, either 2897 # the compiler is broken, or we cross compile. 2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2899 $as_echo_n "checking whether we are cross compiling... " >&6; } 2900 if test "$cross_compiling" != yes; then 2901 { { ac_try="$ac_link" 2431 2902 case "(($ac_try" in 2432 2903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2433 2904 *) ac_try_echo=$ac_try;; 2434 2905 esac 2435 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2436 $as_echo "$ac_try_echo") >&5 2906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2907 $as_echo "$ac_try_echo"; } >&5 2908 (eval "$ac_link") 2>&5 2909 ac_status=$? 2910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2911 test $ac_status = 0; } 2912 if { ac_try='./conftest$ac_cv_exeext' 2913 { { case "(($ac_try" in 2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2915 *) ac_try_echo=$ac_try;; 2916 esac 2917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2918 $as_echo "$ac_try_echo"; } >&5 2919 (eval "$ac_try") 2>&5 2920 ac_status=$? 2921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2922 test $ac_status = 0; }; }; then 2923 cross_compiling=no 2924 else 2925 if test "$cross_compiling" = maybe; then 2926 cross_compiling=yes 2927 else 2928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2930 as_fn_error "cannot run C compiled programs. 2931 If you meant to cross compile, use \`--host'. 2932 See \`config.log' for more details." "$LINENO" 5; } 2933 fi 2934 fi 2935 fi 2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2937 $as_echo "$cross_compiling" >&6; } 2938 2939 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2940 ac_clean_files=$ac_clean_files_save 2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2942 $as_echo_n "checking for suffix of object files... " >&6; } 2943 if test "${ac_cv_objext+set}" = set; then : 2944 $as_echo_n "(cached) " >&6 2945 else 2946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2947 /* end confdefs.h. */ 2948 2949 int 2950 main () 2951 { 2952 2953 ; 2954 return 0; 2955 } 2956 _ACEOF 2957 rm -f conftest.o conftest.obj 2958 if { { ac_try="$ac_compile" 2959 case "(($ac_try" in 2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2961 *) ac_try_echo=$ac_try;; 2962 esac 2963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2964 $as_echo "$ac_try_echo"; } >&5 2437 2965 (eval "$ac_compile") 2>&5 2438 2966 ac_status=$? 2439 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52440 (exit $ac_status); }; then2967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2968 test $ac_status = 0; }; then : 2441 2969 for ac_file in conftest.o conftest.obj conftest.*; do 2442 2970 test -f "$ac_file" || continue; … … 2451 2979 sed 's/^/| /' conftest.$ac_ext >&5 2452 2980 2453 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2454 2982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2455 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2456 See \`config.log' for more details." >&5 2457 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2458 See \`config.log' for more details." >&2;} 2459 { (exit 1); exit 1; }; }; } 2460 fi 2461 2983 as_fn_error "cannot compute suffix of object files: cannot compile 2984 See \`config.log' for more details." "$LINENO" 5; } 2985 fi 2462 2986 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2463 2987 fi 2464 { $as_echo "$as_me:$ LINENO: result: $ac_cv_objext" >&52988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2465 2989 $as_echo "$ac_cv_objext" >&6; } 2466 2990 OBJEXT=$ac_cv_objext 2467 2991 ac_objext=$OBJEXT 2468 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU C compiler" >&52992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2469 2993 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2470 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2994 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2471 2995 $as_echo_n "(cached) " >&6 2472 2996 else 2473 cat >conftest.$ac_ext <<_ACEOF 2474 /* confdefs.h. */ 2475 _ACEOF 2476 cat confdefs.h >>conftest.$ac_ext 2477 cat >>conftest.$ac_ext <<_ACEOF 2997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2478 2998 /* end confdefs.h. */ 2479 2999 … … 2489 3009 } 2490 3010 _ACEOF 2491 rm -f conftest.$ac_objext 2492 if { (ac_try="$ac_compile" 2493 case "(($ac_try" in 2494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2495 *) ac_try_echo=$ac_try;; 2496 esac 2497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2498 $as_echo "$ac_try_echo") >&5 2499 (eval "$ac_compile") 2>conftest.er1 2500 ac_status=$? 2501 grep -v '^ *+' conftest.er1 >conftest.err 2502 rm -f conftest.er1 2503 cat conftest.err >&5 2504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2505 (exit $ac_status); } && { 2506 test -z "$ac_c_werror_flag" || 2507 test ! -s conftest.err 2508 } && test -s conftest.$ac_objext; then 3011 if ac_fn_c_try_compile "$LINENO"; then : 2509 3012 ac_compiler_gnu=yes 2510 3013 else 2511 $as_echo "$as_me: failed program was:" >&5 2512 sed 's/^/| /' conftest.$ac_ext >&5 2513 2514 ac_compiler_gnu=no 2515 fi 2516 3014 ac_compiler_gnu=no 3015 fi 2517 3016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2518 3017 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2519 3018 2520 3019 fi 2521 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&53020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2522 3021 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2523 3022 if test $ac_compiler_gnu = yes; then … … 2528 3027 ac_test_CFLAGS=${CFLAGS+set} 2529 3028 ac_save_CFLAGS=$CFLAGS 2530 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&53029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2531 3030 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2532 if test "${ac_cv_prog_cc_g+set}" = set; then 3031 if test "${ac_cv_prog_cc_g+set}" = set; then : 2533 3032 $as_echo_n "(cached) " >&6 2534 3033 else … … 2537 3036 ac_cv_prog_cc_g=no 2538 3037 CFLAGS="-g" 2539 cat >conftest.$ac_ext <<_ACEOF 2540 /* confdefs.h. */ 2541 _ACEOF 2542 cat confdefs.h >>conftest.$ac_ext 2543 cat >>conftest.$ac_ext <<_ACEOF 3038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2544 3039 /* end confdefs.h. */ 2545 3040 … … 2552 3047 } 2553 3048 _ACEOF 2554 rm -f conftest.$ac_objext 2555 if { (ac_try="$ac_compile" 2556 case "(($ac_try" in 2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2558 *) ac_try_echo=$ac_try;; 2559 esac 2560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2561 $as_echo "$ac_try_echo") >&5 2562 (eval "$ac_compile") 2>conftest.er1 2563 ac_status=$? 2564 grep -v '^ *+' conftest.er1 >conftest.err 2565 rm -f conftest.er1 2566 cat conftest.err >&5 2567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2568 (exit $ac_status); } && { 2569 test -z "$ac_c_werror_flag" || 2570 test ! -s conftest.err 2571 } && test -s conftest.$ac_objext; then 3049 if ac_fn_c_try_compile "$LINENO"; then : 2572 3050 ac_cv_prog_cc_g=yes 2573 3051 else 2574 $as_echo "$as_me: failed program was:" >&5 2575 sed 's/^/| /' conftest.$ac_ext >&5 2576 2577 CFLAGS="" 2578 cat >conftest.$ac_ext <<_ACEOF 2579 /* confdefs.h. */ 2580 _ACEOF 2581 cat confdefs.h >>conftest.$ac_ext 2582 cat >>conftest.$ac_ext <<_ACEOF 3052 CFLAGS="" 3053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2583 3054 /* end confdefs.h. */ 2584 3055 … … 2591 3062 } 2592 3063 _ACEOF 2593 rm -f conftest.$ac_objext 2594 if { (ac_try="$ac_compile" 2595 case "(($ac_try" in 2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2597 *) ac_try_echo=$ac_try;; 2598 esac 2599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2600 $as_echo "$ac_try_echo") >&5 2601 (eval "$ac_compile") 2>conftest.er1 2602 ac_status=$? 2603 grep -v '^ *+' conftest.er1 >conftest.err 2604 rm -f conftest.er1 2605 cat conftest.err >&5 2606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2607 (exit $ac_status); } && { 2608 test -z "$ac_c_werror_flag" || 2609 test ! -s conftest.err 2610 } && test -s conftest.$ac_objext; then 2611 : 2612 else 2613 $as_echo "$as_me: failed program was:" >&5 2614 sed 's/^/| /' conftest.$ac_ext >&5 2615 2616 ac_c_werror_flag=$ac_save_c_werror_flag 3064 if ac_fn_c_try_compile "$LINENO"; then : 3065 3066 else 3067 ac_c_werror_flag=$ac_save_c_werror_flag 2617 3068 CFLAGS="-g" 2618 cat >conftest.$ac_ext <<_ACEOF 2619 /* confdefs.h. */ 2620 _ACEOF 2621 cat confdefs.h >>conftest.$ac_ext 2622 cat >>conftest.$ac_ext <<_ACEOF 3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2623 3070 /* end confdefs.h. */ 2624 3071 … … 2631 3078 } 2632 3079 _ACEOF 2633 rm -f conftest.$ac_objext 2634 if { (ac_try="$ac_compile" 2635 case "(($ac_try" in 2636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2637 *) ac_try_echo=$ac_try;; 2638 esac 2639 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2640 $as_echo "$ac_try_echo") >&5 2641 (eval "$ac_compile") 2>conftest.er1 2642 ac_status=$? 2643 grep -v '^ *+' conftest.er1 >conftest.err 2644 rm -f conftest.er1 2645 cat conftest.err >&5 2646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2647 (exit $ac_status); } && { 2648 test -z "$ac_c_werror_flag" || 2649 test ! -s conftest.err 2650 } && test -s conftest.$ac_objext; then 3080 if ac_fn_c_try_compile "$LINENO"; then : 2651 3081 ac_cv_prog_cc_g=yes 2652 else 2653 $as_echo "$as_me: failed program was:" >&5 2654 sed 's/^/| /' conftest.$ac_ext >&5 2655 2656 2657 fi 2658 3082 fi 2659 3083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2660 3084 fi 2661 2662 3085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2663 3086 fi 2664 2665 3087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2666 3088 ac_c_werror_flag=$ac_save_c_werror_flag 2667 3089 fi 2668 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&53090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2669 3091 $as_echo "$ac_cv_prog_cc_g" >&6; } 2670 3092 if test "$ac_test_CFLAGS" = set; then … … 2683 3105 fi 2684 3106 fi 2685 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&53107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2686 3108 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2687 if test "${ac_cv_prog_cc_c89+set}" = set; then 3109 if test "${ac_cv_prog_cc_c89+set}" = set; then : 2688 3110 $as_echo_n "(cached) " >&6 2689 3111 else 2690 3112 ac_cv_prog_cc_c89=no 2691 3113 ac_save_CC=$CC 2692 cat >conftest.$ac_ext <<_ACEOF 2693 /* confdefs.h. */ 2694 _ACEOF 2695 cat confdefs.h >>conftest.$ac_ext 2696 cat >>conftest.$ac_ext <<_ACEOF 3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2697 3115 /* end confdefs.h. */ 2698 3116 #include <stdarg.h> … … 2751 3169 do 2752 3170 CC="$ac_save_CC $ac_arg" 2753 rm -f conftest.$ac_objext 2754 if { (ac_try="$ac_compile" 2755 case "(($ac_try" in 2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2757 *) ac_try_echo=$ac_try;; 2758 esac 2759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2760 $as_echo "$ac_try_echo") >&5 2761 (eval "$ac_compile") 2>conftest.er1 2762 ac_status=$? 2763 grep -v '^ *+' conftest.er1 >conftest.err 2764 rm -f conftest.er1 2765 cat conftest.err >&5 2766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2767 (exit $ac_status); } && { 2768 test -z "$ac_c_werror_flag" || 2769 test ! -s conftest.err 2770 } && test -s conftest.$ac_objext; then 3171 if ac_fn_c_try_compile "$LINENO"; then : 2771 3172 ac_cv_prog_cc_c89=$ac_arg 2772 else 2773 $as_echo "$as_me: failed program was:" >&5 2774 sed 's/^/| /' conftest.$ac_ext >&5 2775 2776 2777 fi 2778 3173 fi 2779 3174 rm -f core conftest.err conftest.$ac_objext 2780 3175 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2787 3182 case "x$ac_cv_prog_cc_c89" in 2788 3183 x) 2789 { $as_echo "$as_me:$ LINENO: result: none needed" >&53184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2790 3185 $as_echo "none needed" >&6; } ;; 2791 3186 xno) 2792 { $as_echo "$as_me:$ LINENO: result: unsupported" >&53187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2793 3188 $as_echo "unsupported" >&6; } ;; 2794 3189 *) 2795 3190 CC="$CC $ac_cv_prog_cc_c89" 2796 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&53191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2797 3192 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2798 3193 esac 2799 3194 if test "x$ac_cv_prog_cc_c89" != xno; then : 3195 3196 fi 2800 3197 2801 3198 ac_ext=c … … 2809 3206 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2810 3207 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2811 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2812 3209 $as_echo_n "checking for $ac_word... " >&6; } 2813 if test "${ac_cv_prog_RANLIB+set}" = set; then 3210 if test "${ac_cv_prog_RANLIB+set}" = set; then : 2814 3211 $as_echo_n "(cached) " >&6 2815 3212 else … … 2822 3219 IFS=$as_save_IFS 2823 3220 test -z "$as_dir" && as_dir=. 2824 for ac_exec_ext in '' $ac_executable_extensions; do3221 for ac_exec_ext in '' $ac_executable_extensions; do 2825 3222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2826 3223 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2827 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2828 3225 break 2 2829 3226 fi 2830 3227 done 2831 done3228 done 2832 3229 IFS=$as_save_IFS 2833 3230 … … 2836 3233 RANLIB=$ac_cv_prog_RANLIB 2837 3234 if test -n "$RANLIB"; then 2838 { $as_echo "$as_me:$ LINENO: result: $RANLIB" >&53235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 2839 3236 $as_echo "$RANLIB" >&6; } 2840 3237 else 2841 { $as_echo "$as_me:$ LINENO: result: no" >&53238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2842 3239 $as_echo "no" >&6; } 2843 3240 fi … … 2849 3246 # Extract the first word of "ranlib", so it can be a program name with args. 2850 3247 set dummy ranlib; ac_word=$2 2851 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2852 3249 $as_echo_n "checking for $ac_word... " >&6; } 2853 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3250 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 2854 3251 $as_echo_n "(cached) " >&6 2855 3252 else … … 2862 3259 IFS=$as_save_IFS 2863 3260 test -z "$as_dir" && as_dir=. 2864 for ac_exec_ext in '' $ac_executable_extensions; do3261 for ac_exec_ext in '' $ac_executable_extensions; do 2865 3262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2866 3263 ac_cv_prog_ac_ct_RANLIB="ranlib" 2867 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2868 3265 break 2 2869 3266 fi 2870 3267 done 2871 done3268 done 2872 3269 IFS=$as_save_IFS 2873 3270 … … 2876 3273 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2877 3274 if test -n "$ac_ct_RANLIB"; then 2878 { $as_echo "$as_me:$ LINENO: result: $ac_ct_RANLIB" >&53275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 2879 3276 $as_echo "$ac_ct_RANLIB" >&6; } 2880 3277 else 2881 { $as_echo "$as_me:$ LINENO: result: no" >&53278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2882 3279 $as_echo "no" >&6; } 2883 3280 fi … … 2888 3285 case $cross_compiling:$ac_tool_warned in 2889 3286 yes:) 2890 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2891 3288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2892 3289 ac_tool_warned=yes ;; … … 2903 3300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2904 3301 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2905 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&53302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 2906 3303 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2907 3304 # On Suns, sometimes $CPP names a directory. … … 2910 3307 fi 2911 3308 if test -z "$CPP"; then 2912 if test "${ac_cv_prog_CPP+set}" = set; then 3309 if test "${ac_cv_prog_CPP+set}" = set; then : 2913 3310 $as_echo_n "(cached) " >&6 2914 3311 else … … 2925 3322 # On the NeXT, cc -E runs the code through the compiler's parser, 2926 3323 # not just through cpp. "Syntax error" is here to catch this case. 2927 cat >conftest.$ac_ext <<_ACEOF 2928 /* confdefs.h. */ 2929 _ACEOF 2930 cat confdefs.h >>conftest.$ac_ext 2931 cat >>conftest.$ac_ext <<_ACEOF 3324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2932 3325 /* end confdefs.h. */ 2933 3326 #ifdef __STDC__ … … 2938 3331 Syntax error 2939 3332 _ACEOF 2940 if { (ac_try="$ac_cpp conftest.$ac_ext" 2941 case "(($ac_try" in 2942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2943 *) ac_try_echo=$ac_try;; 2944 esac 2945 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2946 $as_echo "$ac_try_echo") >&5 2947 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2948 ac_status=$? 2949 grep -v '^ *+' conftest.er1 >conftest.err 2950 rm -f conftest.er1 2951 cat conftest.err >&5 2952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2953 (exit $ac_status); } >/dev/null && { 2954 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2955 test ! -s conftest.err 2956 }; then 2957 : 2958 else 2959 $as_echo "$as_me: failed program was:" >&5 2960 sed 's/^/| /' conftest.$ac_ext >&5 2961 3333 if ac_fn_c_try_cpp "$LINENO"; then : 3334 3335 else 2962 3336 # Broken: fails on valid input. 2963 3337 continue 2964 3338 fi 2965 2966 3339 rm -f conftest.err conftest.$ac_ext 2967 3340 2968 3341 # OK, works on sane cases. Now check whether nonexistent headers 2969 3342 # can be detected and how. 2970 cat >conftest.$ac_ext <<_ACEOF 2971 /* confdefs.h. */ 2972 _ACEOF 2973 cat confdefs.h >>conftest.$ac_ext 2974 cat >>conftest.$ac_ext <<_ACEOF 3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2975 3344 /* end confdefs.h. */ 2976 3345 #include <ac_nonexistent.h> 2977 3346 _ACEOF 2978 if { (ac_try="$ac_cpp conftest.$ac_ext" 2979 case "(($ac_try" in 2980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2981 *) ac_try_echo=$ac_try;; 2982 esac 2983 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2984 $as_echo "$ac_try_echo") >&5 2985 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2986 ac_status=$? 2987 grep -v '^ *+' conftest.er1 >conftest.err 2988 rm -f conftest.er1 2989 cat conftest.err >&5 2990 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2991 (exit $ac_status); } >/dev/null && { 2992 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2993 test ! -s conftest.err 2994 }; then 3347 if ac_fn_c_try_cpp "$LINENO"; then : 2995 3348 # Broken: success on invalid input. 2996 3349 continue 2997 3350 else 2998 $as_echo "$as_me: failed program was:" >&52999 sed 's/^/| /' conftest.$ac_ext >&53000 3001 3351 # Passes both tests. 3002 3352 ac_preproc_ok=: 3003 3353 break 3004 3354 fi 3005 3006 3355 rm -f conftest.err conftest.$ac_ext 3007 3356 … … 3009 3358 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3010 3359 rm -f conftest.err conftest.$ac_ext 3011 if $ac_preproc_ok; then 3360 if $ac_preproc_ok; then : 3012 3361 break 3013 3362 fi … … 3021 3370 ac_cv_prog_CPP=$CPP 3022 3371 fi 3023 { $as_echo "$as_me:$ LINENO: result: $CPP" >&53372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3024 3373 $as_echo "$CPP" >&6; } 3025 3374 ac_preproc_ok=false … … 3032 3381 # On the NeXT, cc -E runs the code through the compiler's parser, 3033 3382 # not just through cpp. "Syntax error" is here to catch this case. 3034 cat >conftest.$ac_ext <<_ACEOF 3035 /* confdefs.h. */ 3036 _ACEOF 3037 cat confdefs.h >>conftest.$ac_ext 3038 cat >>conftest.$ac_ext <<_ACEOF 3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3039 3384 /* end confdefs.h. */ 3040 3385 #ifdef __STDC__ … … 3045 3390 Syntax error 3046 3391 _ACEOF 3047 if { (ac_try="$ac_cpp conftest.$ac_ext" 3048 case "(($ac_try" in 3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3050 *) ac_try_echo=$ac_try;; 3051 esac 3052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3053 $as_echo "$ac_try_echo") >&5 3054 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3055 ac_status=$? 3056 grep -v '^ *+' conftest.er1 >conftest.err 3057 rm -f conftest.er1 3058 cat conftest.err >&5 3059 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3060 (exit $ac_status); } >/dev/null && { 3061 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3062 test ! -s conftest.err 3063 }; then 3064 : 3065 else 3066 $as_echo "$as_me: failed program was:" >&5 3067 sed 's/^/| /' conftest.$ac_ext >&5 3068 3392 if ac_fn_c_try_cpp "$LINENO"; then : 3393 3394 else 3069 3395 # Broken: fails on valid input. 3070 3396 continue 3071 3397 fi 3072 3073 3398 rm -f conftest.err conftest.$ac_ext 3074 3399 3075 3400 # OK, works on sane cases. Now check whether nonexistent headers 3076 3401 # can be detected and how. 3077 cat >conftest.$ac_ext <<_ACEOF 3078 /* confdefs.h. */ 3079 _ACEOF 3080 cat confdefs.h >>conftest.$ac_ext 3081 cat >>conftest.$ac_ext <<_ACEOF 3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3082 3403 /* end confdefs.h. */ 3083 3404 #include <ac_nonexistent.h> 3084 3405 _ACEOF 3085 if { (ac_try="$ac_cpp conftest.$ac_ext" 3086 case "(($ac_try" in 3087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3088 *) ac_try_echo=$ac_try;; 3089 esac 3090 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3091 $as_echo "$ac_try_echo") >&5 3092 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3093 ac_status=$? 3094 grep -v '^ *+' conftest.er1 >conftest.err 3095 rm -f conftest.er1 3096 cat conftest.err >&5 3097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3098 (exit $ac_status); } >/dev/null && { 3099 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3100 test ! -s conftest.err 3101 }; then 3406 if ac_fn_c_try_cpp "$LINENO"; then : 3102 3407 # Broken: success on invalid input. 3103 3408 continue 3104 3409 else 3105 $as_echo "$as_me: failed program was:" >&53106 sed 's/^/| /' conftest.$ac_ext >&53107 3108 3410 # Passes both tests. 3109 3411 ac_preproc_ok=: 3110 3412 break 3111 3413 fi 3112 3113 3414 rm -f conftest.err conftest.$ac_ext 3114 3415 … … 3116 3417 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3117 3418 rm -f conftest.err conftest.$ac_ext 3118 if $ac_preproc_ok; then 3119 : 3120 else 3121 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53419 if $ac_preproc_ok; then : 3420 3421 else 3422 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3122 3423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3123 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3124 See \`config.log' for more details." >&5 3125 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3126 See \`config.log' for more details." >&2;} 3127 { (exit 1); exit 1; }; }; } 3424 as_fn_error "C preprocessor \"$CPP\" fails sanity check 3425 See \`config.log' for more details." "$LINENO" 5; } 3128 3426 fi 3129 3427 … … 3135 3433 3136 3434 3137 { $as_echo "$as_me:$ LINENO: checking for grep that handles long lines and -e" >&53435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3138 3436 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3139 if test "${ac_cv_path_GREP+set}" = set; then 3437 if test "${ac_cv_path_GREP+set}" = set; then : 3140 3438 $as_echo_n "(cached) " >&6 3141 3439 else … … 3148 3446 IFS=$as_save_IFS 3149 3447 test -z "$as_dir" && as_dir=. 3150 for ac_prog in grep ggrep; do3448 for ac_prog in grep ggrep; do 3151 3449 for ac_exec_ext in '' $ac_executable_extensions; do 3152 3450 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" … … 3168 3466 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3169 3467 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3170 a c_count=`expr $ac_count + 1`3468 as_fn_arith $ac_count + 1 && ac_count=$as_val 3171 3469 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3172 3470 # Best one so far, save it but keep looking for a better one … … 3183 3481 done 3184 3482 done 3185 done3483 done 3186 3484 IFS=$as_save_IFS 3187 3485 if test -z "$ac_cv_path_GREP"; then 3188 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3189 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3190 { (exit 1); exit 1; }; } 3486 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3191 3487 fi 3192 3488 else … … 3195 3491 3196 3492 fi 3197 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_GREP" >&53493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3198 3494 $as_echo "$ac_cv_path_GREP" >&6; } 3199 3495 GREP="$ac_cv_path_GREP" 3200 3496 3201 3497 3202 { $as_echo "$as_me:$ LINENO: checking for egrep" >&53498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3203 3499 $as_echo_n "checking for egrep... " >&6; } 3204 if test "${ac_cv_path_EGREP+set}" = set; then 3500 if test "${ac_cv_path_EGREP+set}" = set; then : 3205 3501 $as_echo_n "(cached) " >&6 3206 3502 else … … 3216 3512 IFS=$as_save_IFS 3217 3513 test -z "$as_dir" && as_dir=. 3218 for ac_prog in egrep; do3514 for ac_prog in egrep; do 3219 3515 for ac_exec_ext in '' $ac_executable_extensions; do 3220 3516 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" … … 3236 3532 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3237 3533 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3238 a c_count=`expr $ac_count + 1`3534 as_fn_arith $ac_count + 1 && ac_count=$as_val 3239 3535 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3240 3536 # Best one so far, save it but keep looking for a better one … … 3251 3547 done 3252 3548 done 3253 done3549 done 3254 3550 IFS=$as_save_IFS 3255 3551 if test -z "$ac_cv_path_EGREP"; then 3256 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3257 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3258 { (exit 1); exit 1; }; } 3552 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3259 3553 fi 3260 3554 else … … 3264 3558 fi 3265 3559 fi 3266 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_EGREP" >&53560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3267 3561 $as_echo "$ac_cv_path_EGREP" >&6; } 3268 3562 EGREP="$ac_cv_path_EGREP" 3269 3563 3270 3564 3271 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&53565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3272 3566 $as_echo_n "checking for ANSI C header files... " >&6; } 3273 if test "${ac_cv_header_stdc+set}" = set; then 3567 if test "${ac_cv_header_stdc+set}" = set; then : 3274 3568 $as_echo_n "(cached) " >&6 3275 3569 else 3276 cat >conftest.$ac_ext <<_ACEOF 3277 /* confdefs.h. */ 3278 _ACEOF 3279 cat confdefs.h >>conftest.$ac_ext 3280 cat >>conftest.$ac_ext <<_ACEOF 3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3281 3571 /* end confdefs.h. */ 3282 3572 #include <stdlib.h> … … 3293 3583 } 3294 3584 _ACEOF 3295 rm -f conftest.$ac_objext 3296 if { (ac_try="$ac_compile" 3297 case "(($ac_try" in 3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3299 *) ac_try_echo=$ac_try;; 3300 esac 3301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3302 $as_echo "$ac_try_echo") >&5 3303 (eval "$ac_compile") 2>conftest.er1 3304 ac_status=$? 3305 grep -v '^ *+' conftest.er1 >conftest.err 3306 rm -f conftest.er1 3307 cat conftest.err >&5 3308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3309 (exit $ac_status); } && { 3310 test -z "$ac_c_werror_flag" || 3311 test ! -s conftest.err 3312 } && test -s conftest.$ac_objext; then 3585 if ac_fn_c_try_compile "$LINENO"; then : 3313 3586 ac_cv_header_stdc=yes 3314 3587 else 3315 $as_echo "$as_me: failed program was:" >&5 3316 sed 's/^/| /' conftest.$ac_ext >&5 3317 3318 ac_cv_header_stdc=no 3319 fi 3320 3588 ac_cv_header_stdc=no 3589 fi 3321 3590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3322 3591 3323 3592 if test $ac_cv_header_stdc = yes; then 3324 3593 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3325 cat >conftest.$ac_ext <<_ACEOF 3326 /* confdefs.h. */ 3327 _ACEOF 3328 cat confdefs.h >>conftest.$ac_ext 3329 cat >>conftest.$ac_ext <<_ACEOF 3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3330 3595 /* end confdefs.h. */ 3331 3596 #include <string.h> … … 3333 3598 _ACEOF 3334 3599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3335 $EGREP "memchr" >/dev/null 2>&1; then 3336 : 3600 $EGREP "memchr" >/dev/null 2>&1; then : 3601 3337 3602 else 3338 3603 ac_cv_header_stdc=no … … 3344 3609 if test $ac_cv_header_stdc = yes; then 3345 3610 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3346 cat >conftest.$ac_ext <<_ACEOF 3347 /* confdefs.h. */ 3348 _ACEOF 3349 cat confdefs.h >>conftest.$ac_ext 3350 cat >>conftest.$ac_ext <<_ACEOF 3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3351 3612 /* end confdefs.h. */ 3352 3613 #include <stdlib.h> … … 3354 3615 _ACEOF 3355 3616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3356 $EGREP "free" >/dev/null 2>&1; then 3357 : 3617 $EGREP "free" >/dev/null 2>&1; then : 3618 3358 3619 else 3359 3620 ac_cv_header_stdc=no … … 3365 3626 if test $ac_cv_header_stdc = yes; then 3366 3627 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3367 if test "$cross_compiling" = yes; then 3628 if test "$cross_compiling" = yes; then : 3368 3629 : 3369 3630 else 3370 cat >conftest.$ac_ext <<_ACEOF 3371 /* confdefs.h. */ 3372 _ACEOF 3373 cat confdefs.h >>conftest.$ac_ext 3374 cat >>conftest.$ac_ext <<_ACEOF 3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3375 3632 /* end confdefs.h. */ 3376 3633 #include <ctype.h> … … 3399 3656 } 3400 3657 _ACEOF 3401 rm -f conftest$ac_exeext 3402 if { (ac_try="$ac_link" 3403 case "(($ac_try" in 3404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3405 *) ac_try_echo=$ac_try;; 3406 esac 3407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3408 $as_echo "$ac_try_echo") >&5 3409 (eval "$ac_link") 2>&5 3410 ac_status=$? 3411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3412 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3413 { (case "(($ac_try" in 3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3415 *) ac_try_echo=$ac_try;; 3416 esac 3417 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3418 $as_echo "$ac_try_echo") >&5 3419 (eval "$ac_try") 2>&5 3420 ac_status=$? 3421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3422 (exit $ac_status); }; }; then 3423 : 3424 else 3425 $as_echo "$as_me: program exited with status $ac_status" >&5 3426 $as_echo "$as_me: failed program was:" >&5 3427 sed 's/^/| /' conftest.$ac_ext >&5 3428 3429 ( exit $ac_status ) 3430 ac_cv_header_stdc=no 3431 fi 3432 rm -rf conftest.dSYM 3433 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3434 fi 3435 3436 3437 fi 3438 fi 3439 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3658 if ac_fn_c_try_run "$LINENO"; then : 3659 3660 else 3661 ac_cv_header_stdc=no 3662 fi 3663 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3664 conftest.$ac_objext conftest.beam conftest.$ac_ext 3665 fi 3666 3667 fi 3668 fi 3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3440 3670 $as_echo "$ac_cv_header_stdc" >&6; } 3441 3671 if test $ac_cv_header_stdc = yes; then 3442 3672 3443 cat >>confdefs.h <<\_ACEOF 3444 #define STDC_HEADERS 1 3445 _ACEOF 3673 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3446 3674 3447 3675 fi 3448 3676 3449 3677 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3678 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3460 3679 inttypes.h stdint.h unistd.h 3461 do 3462 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3463 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3464 $as_echo_n "checking for $ac_header... " >&6; } 3465 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3466 $as_echo_n "(cached) " >&6 3467 else 3468 cat >conftest.$ac_ext <<_ACEOF 3469 /* confdefs.h. */ 3470 _ACEOF 3471 cat confdefs.h >>conftest.$ac_ext 3472 cat >>conftest.$ac_ext <<_ACEOF 3473 /* end confdefs.h. */ 3474 $ac_includes_default 3475 3476 #include <$ac_header> 3477 _ACEOF 3478 rm -f conftest.$ac_objext 3479 if { (ac_try="$ac_compile" 3480 case "(($ac_try" in 3481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3482 *) ac_try_echo=$ac_try;; 3483 esac 3484 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3485 $as_echo "$ac_try_echo") >&5 3486 (eval "$ac_compile") 2>conftest.er1 3487 ac_status=$? 3488 grep -v '^ *+' conftest.er1 >conftest.err 3489 rm -f conftest.er1 3490 cat conftest.err >&5 3491 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3492 (exit $ac_status); } && { 3493 test -z "$ac_c_werror_flag" || 3494 test ! -s conftest.err 3495 } && test -s conftest.$ac_objext; then 3496 eval "$as_ac_Header=yes" 3497 else 3498 $as_echo "$as_me: failed program was:" >&5 3499 sed 's/^/| /' conftest.$ac_ext >&5 3500 3501 eval "$as_ac_Header=no" 3502 fi 3503 3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3505 fi 3506 ac_res=`eval 'as_val=${'$as_ac_Header'} 3507 $as_echo "$as_val"'` 3508 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3509 $as_echo "$ac_res" >&6; } 3510 as_val=`eval 'as_val=${'$as_ac_Header'} 3511 $as_echo "$as_val"'` 3512 if test "x$as_val" = x""yes; then 3680 do : 3681 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3682 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3683 " 3684 eval as_val=\$$as_ac_Header 3685 if test "x$as_val" = x""yes; then : 3513 3686 cat >>confdefs.h <<_ACEOF 3514 3687 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 3524 3697 # Step 0.a: Enable 64 bit support? 3525 3698 3526 { $as_echo "$as_me:$ LINENO: checking if 64bit support is requested" >&53699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 3527 3700 $as_echo_n "checking if 64bit support is requested... " >&6; } 3528 3701 # Check whether --enable-64bit was given. 3529 if test "${enable_64bit+set}" = set; then 3702 if test "${enable_64bit+set}" = set; then : 3530 3703 enableval=$enable_64bit; do64bit=$enableval 3531 3704 else … … 3533 3706 fi 3534 3707 3535 { $as_echo "$as_me:$ LINENO: result: $do64bit" >&53708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 3536 3709 $as_echo "$do64bit" >&6; } 3537 3710 3538 3711 # Step 0.b: Enable Solaris 64 bit VIS support? 3539 3712 3540 { $as_echo "$as_me:$ LINENO: checking if 64bit Sparc VIS support is requested" >&53713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 3541 3714 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 3542 3715 # Check whether --enable-64bit-vis was given. 3543 if test "${enable_64bit_vis+set}" = set; then 3716 if test "${enable_64bit_vis+set}" = set; then : 3544 3717 enableval=$enable_64bit_vis; do64bitVIS=$enableval 3545 3718 else … … 3547 3720 fi 3548 3721 3549 { $as_echo "$as_me:$ LINENO: result: $do64bitVIS" >&53722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 3550 3723 $as_echo "$do64bitVIS" >&6; } 3551 3724 … … 3559 3732 3560 3733 3561 { $as_echo "$as_me:$ LINENO: checking system version" >&53734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 3562 3735 $as_echo_n "checking system version... " >&6; } 3563 if test "${tcl_cv_sys_version+set}" = set; then 3736 if test "${tcl_cv_sys_version+set}" = set; then : 3564 3737 $as_echo_n "(cached) " >&6 3565 3738 else … … 3570 3743 tcl_cv_sys_version=`uname -s`-`uname -r` 3571 3744 if test "$?" -ne 0 ; then 3572 { $as_echo "$as_me:$ LINENO: WARNING: can't find uname command" >&53745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 3573 3746 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 3574 3747 tcl_cv_sys_version=unknown … … 3587 3760 3588 3761 fi 3589 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sys_version" >&53762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 3590 3763 $as_echo "$tcl_cv_sys_version" >&6; } 3591 3764 system=$tcl_cv_sys_version … … 3595 3768 # Linux can use either -ldl or -ldld for dynamic loading. 3596 3769 3597 { $as_echo "$as_me:$ LINENO: checking for dlopen in -ldl" >&53770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 3598 3771 $as_echo_n "checking for dlopen in -ldl... " >&6; } 3599 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 3772 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 3600 3773 $as_echo_n "(cached) " >&6 3601 3774 else 3602 3775 ac_check_lib_save_LIBS=$LIBS 3603 3776 LIBS="-ldl $LIBS" 3604 cat >conftest.$ac_ext <<_ACEOF 3605 /* confdefs.h. */ 3606 _ACEOF 3607 cat confdefs.h >>conftest.$ac_ext 3608 cat >>conftest.$ac_ext <<_ACEOF 3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3609 3778 /* end confdefs.h. */ 3610 3779 … … 3624 3793 } 3625 3794 _ACEOF 3626 rm -f conftest.$ac_objext conftest$ac_exeext 3627 if { (ac_try="$ac_link" 3628 case "(($ac_try" in 3629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3630 *) ac_try_echo=$ac_try;; 3631 esac 3632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3633 $as_echo "$ac_try_echo") >&5 3634 (eval "$ac_link") 2>conftest.er1 3635 ac_status=$? 3636 grep -v '^ *+' conftest.er1 >conftest.err 3637 rm -f conftest.er1 3638 cat conftest.err >&5 3639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3640 (exit $ac_status); } && { 3641 test -z "$ac_c_werror_flag" || 3642 test ! -s conftest.err 3643 } && test -s conftest$ac_exeext && { 3644 test "$cross_compiling" = yes || 3645 $as_test_x conftest$ac_exeext 3646 }; then 3795 if ac_fn_c_try_link "$LINENO"; then : 3647 3796 ac_cv_lib_dl_dlopen=yes 3648 3797 else 3649 $as_echo "$as_me: failed program was:" >&5 3650 sed 's/^/| /' conftest.$ac_ext >&5 3651 3652 ac_cv_lib_dl_dlopen=no 3653 fi 3654 3655 rm -rf conftest.dSYM 3656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3657 conftest$ac_exeext conftest.$ac_ext 3798 ac_cv_lib_dl_dlopen=no 3799 fi 3800 rm -f core conftest.err conftest.$ac_objext \ 3801 conftest$ac_exeext conftest.$ac_ext 3658 3802 LIBS=$ac_check_lib_save_LIBS 3659 3803 fi 3660 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dl_dlopen" >&53804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 3661 3805 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 3662 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 3806 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 3663 3807 have_dl=yes 3664 3808 else … … 3692 3836 # Extract the first word of "ar", so it can be a program name with args. 3693 3837 set dummy ar; ac_word=$2 3694 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3695 3839 $as_echo_n "checking for $ac_word... " >&6; } 3696 if test "${ac_cv_prog_AR+set}" = set; then 3840 if test "${ac_cv_prog_AR+set}" = set; then : 3697 3841 $as_echo_n "(cached) " >&6 3698 3842 else … … 3705 3849 IFS=$as_save_IFS 3706 3850 test -z "$as_dir" && as_dir=. 3707 for ac_exec_ext in '' $ac_executable_extensions; do3851 for ac_exec_ext in '' $ac_executable_extensions; do 3708 3852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3709 3853 ac_cv_prog_AR="ar" 3710 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3711 3855 break 2 3712 3856 fi 3713 3857 done 3714 done3858 done 3715 3859 IFS=$as_save_IFS 3716 3860 … … 3719 3863 AR=$ac_cv_prog_AR 3720 3864 if test -n "$AR"; then 3721 { $as_echo "$as_me:$ LINENO: result: $AR" >&53865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 3722 3866 $as_echo "$AR" >&6; } 3723 3867 else 3724 { $as_echo "$as_me:$ LINENO: result: no" >&53868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3725 3869 $as_echo "no" >&6; } 3726 3870 fi … … 3728 3872 3729 3873 if test "${AR}" = "" ; then 3730 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 3731 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 3732 { (exit 1); exit 1; }; } 3874 as_fn_error "Required archive tool 'ar' not found on PATH." "$LINENO" 5 3733 3875 fi 3734 3876 STLIB_LD='${AR} cr' … … 3748 3890 ;; 3749 3891 esac 3750 { $as_echo "$as_me:$ LINENO: result: Using $CC for compiling with threads" >&53892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 3751 3893 $as_echo "Using $CC for compiling with threads" >&6; } 3752 3894 fi … … 3764 3906 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 3765 3907 if test "$GCC" = "yes" ; then 3766 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&53908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 3767 3909 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 3768 3910 else … … 3819 3961 # known GMT value. 3820 3962 3821 { $as_echo "$as_me:$ LINENO: checking for gettimeofday in -lbsd" >&53963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 3822 3964 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 3823 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 3965 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then : 3824 3966 $as_echo_n "(cached) " >&6 3825 3967 else 3826 3968 ac_check_lib_save_LIBS=$LIBS 3827 3969 LIBS="-lbsd $LIBS" 3828 cat >conftest.$ac_ext <<_ACEOF 3829 /* confdefs.h. */ 3830 _ACEOF 3831 cat confdefs.h >>conftest.$ac_ext 3832 cat >>conftest.$ac_ext <<_ACEOF 3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3833 3971 /* end confdefs.h. */ 3834 3972 … … 3848 3986 } 3849 3987 _ACEOF 3850 rm -f conftest.$ac_objext conftest$ac_exeext 3851 if { (ac_try="$ac_link" 3852 case "(($ac_try" in 3853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3854 *) ac_try_echo=$ac_try;; 3855 esac 3856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3857 $as_echo "$ac_try_echo") >&5 3858 (eval "$ac_link") 2>conftest.er1 3859 ac_status=$? 3860 grep -v '^ *+' conftest.er1 >conftest.err 3861 rm -f conftest.er1 3862 cat conftest.err >&5 3863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3864 (exit $ac_status); } && { 3865 test -z "$ac_c_werror_flag" || 3866 test ! -s conftest.err 3867 } && test -s conftest$ac_exeext && { 3868 test "$cross_compiling" = yes || 3869 $as_test_x conftest$ac_exeext 3870 }; then 3988 if ac_fn_c_try_link "$LINENO"; then : 3871 3989 ac_cv_lib_bsd_gettimeofday=yes 3872 3990 else 3873 $as_echo "$as_me: failed program was:" >&5 3874 sed 's/^/| /' conftest.$ac_ext >&5 3875 3876 ac_cv_lib_bsd_gettimeofday=no 3877 fi 3878 3879 rm -rf conftest.dSYM 3880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3881 conftest$ac_exeext conftest.$ac_ext 3991 ac_cv_lib_bsd_gettimeofday=no 3992 fi 3993 rm -f core conftest.err conftest.$ac_objext \ 3994 conftest$ac_exeext conftest.$ac_ext 3882 3995 LIBS=$ac_check_lib_save_LIBS 3883 3996 fi 3884 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&53997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 3885 3998 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 3886 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then 3999 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then : 3887 4000 libbsd=yes 3888 4001 else … … 3892 4005 if test $libbsd = yes; then 3893 4006 MATH_LIBS="$MATH_LIBS -lbsd" 3894 cat >>confdefs.h <<\_ACEOF 3895 #define USE_DELTA_FOR_TZ 1 3896 _ACEOF 4007 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 3897 4008 3898 4009 fi … … 3911 4022 # is always linked to, for compatibility. 3912 4023 #----------------------------------------------------------- 3913 { $as_echo "$as_me:$ LINENO: checking for inet_ntoa in -lbind" >&54024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 3914 4025 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 3915 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then 4026 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then : 3916 4027 $as_echo_n "(cached) " >&6 3917 4028 else 3918 4029 ac_check_lib_save_LIBS=$LIBS 3919 4030 LIBS="-lbind $LIBS" 3920 cat >conftest.$ac_ext <<_ACEOF 3921 /* confdefs.h. */ 3922 _ACEOF 3923 cat confdefs.h >>conftest.$ac_ext 3924 cat >>conftest.$ac_ext <<_ACEOF 4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3925 4032 /* end confdefs.h. */ 3926 4033 … … 3940 4047 } 3941 4048 _ACEOF 3942 rm -f conftest.$ac_objext conftest$ac_exeext 3943 if { (ac_try="$ac_link" 3944 case "(($ac_try" in 3945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3946 *) ac_try_echo=$ac_try;; 3947 esac 3948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3949 $as_echo "$ac_try_echo") >&5 3950 (eval "$ac_link") 2>conftest.er1 3951 ac_status=$? 3952 grep -v '^ *+' conftest.er1 >conftest.err 3953 rm -f conftest.er1 3954 cat conftest.err >&5 3955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3956 (exit $ac_status); } && { 3957 test -z "$ac_c_werror_flag" || 3958 test ! -s conftest.err 3959 } && test -s conftest$ac_exeext && { 3960 test "$cross_compiling" = yes || 3961 $as_test_x conftest$ac_exeext 3962 }; then 4049 if ac_fn_c_try_link "$LINENO"; then : 3963 4050 ac_cv_lib_bind_inet_ntoa=yes 3964 4051 else 3965 $as_echo "$as_me: failed program was:" >&5 3966 sed 's/^/| /' conftest.$ac_ext >&5 3967 3968 ac_cv_lib_bind_inet_ntoa=no 3969 fi 3970 3971 rm -rf conftest.dSYM 3972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3973 conftest$ac_exeext conftest.$ac_ext 4052 ac_cv_lib_bind_inet_ntoa=no 4053 fi 4054 rm -f core conftest.err conftest.$ac_objext \ 4055 conftest$ac_exeext conftest.$ac_ext 3974 4056 LIBS=$ac_check_lib_save_LIBS 3975 4057 fi 3976 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&54058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 3977 4059 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 3978 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then 4060 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then : 3979 4061 LIBS="$LIBS -lbind -lsocket" 3980 4062 fi … … 4014 4096 HP-UX-*.11.*) 4015 4097 # Use updated header definitions where possible 4016 cat >>confdefs.h <<\_ACEOF 4017 #define _XOPEN_SOURCE 1 4018 _ACEOF 4098 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 4019 4099 # Use the XOPEN network library 4020 cat >>confdefs.h <<\_ACEOF 4021 #define _XOPEN_SOURCE_EXTENDED 1 4022 _ACEOF 4100 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 4023 4101 # Use the XOPEN network library 4024 4102 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 4029 4107 SHLIB_SUFFIX=".sl" 4030 4108 fi 4031 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&54109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 4032 4110 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4033 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4111 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 4034 4112 $as_echo_n "(cached) " >&6 4035 4113 else 4036 4114 ac_check_lib_save_LIBS=$LIBS 4037 4115 LIBS="-ldld $LIBS" 4038 cat >conftest.$ac_ext <<_ACEOF 4039 /* confdefs.h. */ 4040 _ACEOF 4041 cat confdefs.h >>conftest.$ac_ext 4042 cat >>conftest.$ac_ext <<_ACEOF 4116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4043 4117 /* end confdefs.h. */ 4044 4118 … … 4058 4132 } 4059 4133 _ACEOF 4060 rm -f conftest.$ac_objext conftest$ac_exeext 4061 if { (ac_try="$ac_link" 4062 case "(($ac_try" in 4063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4064 *) ac_try_echo=$ac_try;; 4065 esac 4066 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4067 $as_echo "$ac_try_echo") >&5 4068 (eval "$ac_link") 2>conftest.er1 4069 ac_status=$? 4070 grep -v '^ *+' conftest.er1 >conftest.err 4071 rm -f conftest.er1 4072 cat conftest.err >&5 4073 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4074 (exit $ac_status); } && { 4075 test -z "$ac_c_werror_flag" || 4076 test ! -s conftest.err 4077 } && test -s conftest$ac_exeext && { 4078 test "$cross_compiling" = yes || 4079 $as_test_x conftest$ac_exeext 4080 }; then 4134 if ac_fn_c_try_link "$LINENO"; then : 4081 4135 ac_cv_lib_dld_shl_load=yes 4082 4136 else 4083 $as_echo "$as_me: failed program was:" >&5 4084 sed 's/^/| /' conftest.$ac_ext >&5 4085 4086 ac_cv_lib_dld_shl_load=no 4087 fi 4088 4089 rm -rf conftest.dSYM 4090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4091 conftest$ac_exeext conftest.$ac_ext 4137 ac_cv_lib_dld_shl_load=no 4138 fi 4139 rm -f core conftest.err conftest.$ac_objext \ 4140 conftest$ac_exeext conftest.$ac_ext 4092 4141 LIBS=$ac_check_lib_save_LIBS 4093 4142 fi 4094 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&54143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 4095 4144 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4096 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 4145 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 4097 4146 tcl_ok=yes 4098 4147 else … … 4134 4183 ;; 4135 4184 *) 4136 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&54185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 4137 4186 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4138 4187 ;; … … 4147 4196 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 4148 4197 SHLIB_SUFFIX=".sl" 4149 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&54198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 4150 4199 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4151 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4200 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 4152 4201 $as_echo_n "(cached) " >&6 4153 4202 else 4154 4203 ac_check_lib_save_LIBS=$LIBS 4155 4204 LIBS="-ldld $LIBS" 4156 cat >conftest.$ac_ext <<_ACEOF 4157 /* confdefs.h. */ 4158 _ACEOF 4159 cat confdefs.h >>conftest.$ac_ext 4160 cat >>conftest.$ac_ext <<_ACEOF 4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4161 4206 /* end confdefs.h. */ 4162 4207 … … 4176 4221 } 4177 4222 _ACEOF 4178 rm -f conftest.$ac_objext conftest$ac_exeext 4179 if { (ac_try="$ac_link" 4180 case "(($ac_try" in 4181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4182 *) ac_try_echo=$ac_try;; 4183 esac 4184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4185 $as_echo "$ac_try_echo") >&5 4186 (eval "$ac_link") 2>conftest.er1 4187 ac_status=$? 4188 grep -v '^ *+' conftest.er1 >conftest.err 4189 rm -f conftest.er1 4190 cat conftest.err >&5 4191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4192 (exit $ac_status); } && { 4193 test -z "$ac_c_werror_flag" || 4194 test ! -s conftest.err 4195 } && test -s conftest$ac_exeext && { 4196 test "$cross_compiling" = yes || 4197 $as_test_x conftest$ac_exeext 4198 }; then 4223 if ac_fn_c_try_link "$LINENO"; then : 4199 4224 ac_cv_lib_dld_shl_load=yes 4200 4225 else 4201 $as_echo "$as_me: failed program was:" >&5 4202 sed 's/^/| /' conftest.$ac_ext >&5 4203 4204 ac_cv_lib_dld_shl_load=no 4205 fi 4206 4207 rm -rf conftest.dSYM 4208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4209 conftest$ac_exeext conftest.$ac_ext 4226 ac_cv_lib_dld_shl_load=no 4227 fi 4228 rm -f core conftest.err conftest.$ac_objext \ 4229 conftest$ac_exeext conftest.$ac_ext 4210 4230 LIBS=$ac_check_lib_save_LIBS 4211 4231 fi 4212 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&54232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 4213 4233 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4214 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 4234 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 4215 4235 tcl_ok=yes 4216 4236 else … … 4291 4311 if test "$do64bit" = "yes" ; then 4292 4312 if test "$GCC" = "yes" ; then 4293 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported by gcc" >&54313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 4294 4314 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 4295 4315 else … … 4320 4340 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4321 4341 else 4322 if test "${ac_cv_header_dld_h+set}" = set; then 4323 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4324 $as_echo_n "checking for dld.h... " >&6; } 4325 if test "${ac_cv_header_dld_h+set}" = set; then 4326 $as_echo_n "(cached) " >&6 4327 fi 4328 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4329 $as_echo "$ac_cv_header_dld_h" >&6; } 4330 else 4331 # Is the header compilable? 4332 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4333 $as_echo_n "checking dld.h usability... " >&6; } 4334 cat >conftest.$ac_ext <<_ACEOF 4335 /* confdefs.h. */ 4336 _ACEOF 4337 cat confdefs.h >>conftest.$ac_ext 4338 cat >>conftest.$ac_ext <<_ACEOF 4339 /* end confdefs.h. */ 4340 $ac_includes_default 4341 #include <dld.h> 4342 _ACEOF 4343 rm -f conftest.$ac_objext 4344 if { (ac_try="$ac_compile" 4345 case "(($ac_try" in 4346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4347 *) ac_try_echo=$ac_try;; 4348 esac 4349 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4350 $as_echo "$ac_try_echo") >&5 4351 (eval "$ac_compile") 2>conftest.er1 4352 ac_status=$? 4353 grep -v '^ *+' conftest.er1 >conftest.err 4354 rm -f conftest.er1 4355 cat conftest.err >&5 4356 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4357 (exit $ac_status); } && { 4358 test -z "$ac_c_werror_flag" || 4359 test ! -s conftest.err 4360 } && test -s conftest.$ac_objext; then 4361 ac_header_compiler=yes 4362 else 4363 $as_echo "$as_me: failed program was:" >&5 4364 sed 's/^/| /' conftest.$ac_ext >&5 4365 4366 ac_header_compiler=no 4367 fi 4368 4369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4370 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4371 $as_echo "$ac_header_compiler" >&6; } 4372 4373 # Is the header present? 4374 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4375 $as_echo_n "checking dld.h presence... " >&6; } 4376 cat >conftest.$ac_ext <<_ACEOF 4377 /* confdefs.h. */ 4378 _ACEOF 4379 cat confdefs.h >>conftest.$ac_ext 4380 cat >>conftest.$ac_ext <<_ACEOF 4381 /* end confdefs.h. */ 4382 #include <dld.h> 4383 _ACEOF 4384 if { (ac_try="$ac_cpp conftest.$ac_ext" 4385 case "(($ac_try" in 4386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4387 *) ac_try_echo=$ac_try;; 4388 esac 4389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4390 $as_echo "$ac_try_echo") >&5 4391 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4392 ac_status=$? 4393 grep -v '^ *+' conftest.er1 >conftest.err 4394 rm -f conftest.er1 4395 cat conftest.err >&5 4396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4397 (exit $ac_status); } >/dev/null && { 4398 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4399 test ! -s conftest.err 4400 }; then 4401 ac_header_preproc=yes 4402 else 4403 $as_echo "$as_me: failed program was:" >&5 4404 sed 's/^/| /' conftest.$ac_ext >&5 4405 4406 ac_header_preproc=no 4407 fi 4408 4409 rm -f conftest.err conftest.$ac_ext 4410 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4411 $as_echo "$ac_header_preproc" >&6; } 4412 4413 # So? What about this header? 4414 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4415 yes:no: ) 4416 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4417 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4418 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4419 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4420 ac_header_preproc=yes 4421 ;; 4422 no:yes:* ) 4423 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4424 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4425 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4426 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4427 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4428 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4429 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4430 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4431 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4432 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4433 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4434 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4435 ( cat <<\_ASBOX 4436 ## ----------------------------------- ## 4437 ## Report this to rappture@nanohub.org ## 4438 ## ----------------------------------- ## 4439 _ASBOX 4440 ) | sed "s/^/$as_me: WARNING: /" >&2 4441 ;; 4442 esac 4443 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4444 $as_echo_n "checking for dld.h... " >&6; } 4445 if test "${ac_cv_header_dld_h+set}" = set; then 4446 $as_echo_n "(cached) " >&6 4447 else 4448 ac_cv_header_dld_h=$ac_header_preproc 4449 fi 4450 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4451 $as_echo "$ac_cv_header_dld_h" >&6; } 4452 4453 fi 4454 if test "x$ac_cv_header_dld_h" = x""yes; then 4342 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4343 if test "x$ac_cv_header_dld_h" = x""yes; then : 4455 4344 4456 4345 SHLIB_LD="ld -shared" … … 4467 4356 fi 4468 4357 if test $do64bit = yes; then 4469 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -m64 flag" >&54358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 4470 4359 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 4471 if test "${tcl_cv_cc_m64+set}" = set; then 4360 if test "${tcl_cv_cc_m64+set}" = set; then : 4472 4361 $as_echo_n "(cached) " >&6 4473 4362 else … … 4475 4364 hold_cflags=$CFLAGS 4476 4365 CFLAGS="$CFLAGS -m64" 4477 cat >conftest.$ac_ext <<_ACEOF 4478 /* confdefs.h. */ 4479 _ACEOF 4480 cat confdefs.h >>conftest.$ac_ext 4481 cat >>conftest.$ac_ext <<_ACEOF 4366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4482 4367 /* end confdefs.h. */ 4483 4368 … … 4490 4375 } 4491 4376 _ACEOF 4492 rm -f conftest.$ac_objext conftest$ac_exeext 4493 if { (ac_try="$ac_link" 4494 case "(($ac_try" in 4495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4496 *) ac_try_echo=$ac_try;; 4497 esac 4498 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4499 $as_echo "$ac_try_echo") >&5 4500 (eval "$ac_link") 2>conftest.er1 4501 ac_status=$? 4502 grep -v '^ *+' conftest.er1 >conftest.err 4503 rm -f conftest.er1 4504 cat conftest.err >&5 4505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4506 (exit $ac_status); } && { 4507 test -z "$ac_c_werror_flag" || 4508 test ! -s conftest.err 4509 } && test -s conftest$ac_exeext && { 4510 test "$cross_compiling" = yes || 4511 $as_test_x conftest$ac_exeext 4512 }; then 4377 if ac_fn_c_try_link "$LINENO"; then : 4513 4378 tcl_cv_cc_m64=yes 4514 4379 else 4515 $as_echo "$as_me: failed program was:" >&5 4516 sed 's/^/| /' conftest.$ac_ext >&5 4517 4518 tcl_cv_cc_m64=no 4519 fi 4520 4521 rm -rf conftest.dSYM 4522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4523 conftest$ac_exeext conftest.$ac_ext 4380 tcl_cv_cc_m64=no 4381 fi 4382 rm -f core conftest.err conftest.$ac_objext \ 4383 conftest$ac_exeext conftest.$ac_ext 4524 4384 CFLAGS=$hold_cflags 4525 4385 fi 4526 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_m64" >&54386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 4527 4387 $as_echo "$tcl_cv_cc_m64" >&6; } 4528 4388 if test $tcl_cv_cc_m64 = yes; then … … 4544 4404 4545 4405 # XIM peeking works under XFree86. 4546 cat >>confdefs.h <<\_ACEOF 4547 #define PEEK_XCLOSEIM 1 4548 _ACEOF 4406 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 4549 4407 4550 4408 … … 4563 4421 LD_SEARCH_FLAGS="" 4564 4422 else 4565 if test "${ac_cv_header_dld_h+set}" = set; then 4566 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4567 $as_echo_n "checking for dld.h... " >&6; } 4568 if test "${ac_cv_header_dld_h+set}" = set; then 4569 $as_echo_n "(cached) " >&6 4570 fi 4571 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4572 $as_echo "$ac_cv_header_dld_h" >&6; } 4573 else 4574 # Is the header compilable? 4575 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4576 $as_echo_n "checking dld.h usability... " >&6; } 4577 cat >conftest.$ac_ext <<_ACEOF 4578 /* confdefs.h. */ 4579 _ACEOF 4580 cat confdefs.h >>conftest.$ac_ext 4581 cat >>conftest.$ac_ext <<_ACEOF 4582 /* end confdefs.h. */ 4583 $ac_includes_default 4584 #include <dld.h> 4585 _ACEOF 4586 rm -f conftest.$ac_objext 4587 if { (ac_try="$ac_compile" 4588 case "(($ac_try" in 4589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4590 *) ac_try_echo=$ac_try;; 4591 esac 4592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4593 $as_echo "$ac_try_echo") >&5 4594 (eval "$ac_compile") 2>conftest.er1 4595 ac_status=$? 4596 grep -v '^ *+' conftest.er1 >conftest.err 4597 rm -f conftest.er1 4598 cat conftest.err >&5 4599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4600 (exit $ac_status); } && { 4601 test -z "$ac_c_werror_flag" || 4602 test ! -s conftest.err 4603 } && test -s conftest.$ac_objext; then 4604 ac_header_compiler=yes 4605 else 4606 $as_echo "$as_me: failed program was:" >&5 4607 sed 's/^/| /' conftest.$ac_ext >&5 4608 4609 ac_header_compiler=no 4610 fi 4611 4612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4613 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4614 $as_echo "$ac_header_compiler" >&6; } 4615 4616 # Is the header present? 4617 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4618 $as_echo_n "checking dld.h presence... " >&6; } 4619 cat >conftest.$ac_ext <<_ACEOF 4620 /* confdefs.h. */ 4621 _ACEOF 4622 cat confdefs.h >>conftest.$ac_ext 4623 cat >>conftest.$ac_ext <<_ACEOF 4624 /* end confdefs.h. */ 4625 #include <dld.h> 4626 _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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4633 $as_echo "$ac_try_echo") >&5 4634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4635 ac_status=$? 4636 grep -v '^ *+' conftest.er1 >conftest.err 4637 rm -f conftest.er1 4638 cat conftest.err >&5 4639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4640 (exit $ac_status); } >/dev/null && { 4641 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4642 test ! -s conftest.err 4643 }; then 4644 ac_header_preproc=yes 4645 else 4646 $as_echo "$as_me: failed program was:" >&5 4647 sed 's/^/| /' conftest.$ac_ext >&5 4648 4649 ac_header_preproc=no 4650 fi 4651 4652 rm -f conftest.err conftest.$ac_ext 4653 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4654 $as_echo "$ac_header_preproc" >&6; } 4655 4656 # So? What about this header? 4657 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4658 yes:no: ) 4659 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4660 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4661 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4662 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4663 ac_header_preproc=yes 4664 ;; 4665 no:yes:* ) 4666 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4667 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4668 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4669 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4670 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4671 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4672 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4673 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4674 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4675 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4676 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4677 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4678 ( cat <<\_ASBOX 4679 ## ----------------------------------- ## 4680 ## Report this to rappture@nanohub.org ## 4681 ## ----------------------------------- ## 4682 _ASBOX 4683 ) | sed "s/^/$as_me: WARNING: /" >&2 4684 ;; 4685 esac 4686 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4687 $as_echo_n "checking for dld.h... " >&6; } 4688 if test "${ac_cv_header_dld_h+set}" = set; then 4689 $as_echo_n "(cached) " >&6 4690 else 4691 ac_cv_header_dld_h=$ac_header_preproc 4692 fi 4693 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4694 $as_echo "$ac_cv_header_dld_h" >&6; } 4695 4696 fi 4697 if test "x$ac_cv_header_dld_h" = x""yes; then 4423 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4424 if test "x$ac_cv_header_dld_h" = x""yes; then : 4698 4425 4699 4426 SHLIB_LD="ld -shared" … … 4745 4472 NetBSD-*|FreeBSD-[1-2].*) 4746 4473 # Not available on all versions: check for include file. 4747 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4748 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 4749 $as_echo_n "checking for dlfcn.h... " >&6; } 4750 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4751 $as_echo_n "(cached) " >&6 4752 fi 4753 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 4754 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 4755 else 4756 # Is the header compilable? 4757 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 4758 $as_echo_n "checking dlfcn.h usability... " >&6; } 4759 cat >conftest.$ac_ext <<_ACEOF 4760 /* confdefs.h. */ 4761 _ACEOF 4762 cat confdefs.h >>conftest.$ac_ext 4763 cat >>conftest.$ac_ext <<_ACEOF 4764 /* end confdefs.h. */ 4765 $ac_includes_default 4766 #include <dlfcn.h> 4767 _ACEOF 4768 rm -f conftest.$ac_objext 4769 if { (ac_try="$ac_compile" 4770 case "(($ac_try" in 4771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4772 *) ac_try_echo=$ac_try;; 4773 esac 4774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4775 $as_echo "$ac_try_echo") >&5 4776 (eval "$ac_compile") 2>conftest.er1 4777 ac_status=$? 4778 grep -v '^ *+' conftest.er1 >conftest.err 4779 rm -f conftest.er1 4780 cat conftest.err >&5 4781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4782 (exit $ac_status); } && { 4783 test -z "$ac_c_werror_flag" || 4784 test ! -s conftest.err 4785 } && test -s conftest.$ac_objext; then 4786 ac_header_compiler=yes 4787 else 4788 $as_echo "$as_me: failed program was:" >&5 4789 sed 's/^/| /' conftest.$ac_ext >&5 4790 4791 ac_header_compiler=no 4792 fi 4793 4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4795 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4796 $as_echo "$ac_header_compiler" >&6; } 4797 4798 # Is the header present? 4799 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 4800 $as_echo_n "checking dlfcn.h presence... " >&6; } 4801 cat >conftest.$ac_ext <<_ACEOF 4802 /* confdefs.h. */ 4803 _ACEOF 4804 cat confdefs.h >>conftest.$ac_ext 4805 cat >>conftest.$ac_ext <<_ACEOF 4806 /* end confdefs.h. */ 4807 #include <dlfcn.h> 4808 _ACEOF 4809 if { (ac_try="$ac_cpp conftest.$ac_ext" 4810 case "(($ac_try" in 4811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4812 *) ac_try_echo=$ac_try;; 4813 esac 4814 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4815 $as_echo "$ac_try_echo") >&5 4816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4817 ac_status=$? 4818 grep -v '^ *+' conftest.er1 >conftest.err 4819 rm -f conftest.er1 4820 cat conftest.err >&5 4821 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4822 (exit $ac_status); } >/dev/null && { 4823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4824 test ! -s conftest.err 4825 }; then 4826 ac_header_preproc=yes 4827 else 4828 $as_echo "$as_me: failed program was:" >&5 4829 sed 's/^/| /' conftest.$ac_ext >&5 4830 4831 ac_header_preproc=no 4832 fi 4833 4834 rm -f conftest.err conftest.$ac_ext 4835 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4836 $as_echo "$ac_header_preproc" >&6; } 4837 4838 # So? What about this header? 4839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4840 yes:no: ) 4841 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 4842 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4843 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 4844 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 4845 ac_header_preproc=yes 4846 ;; 4847 no:yes:* ) 4848 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 4849 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 4850 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 4851 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 4852 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 4853 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 4854 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 4855 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 4856 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 4857 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 4858 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 4859 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 4860 ( cat <<\_ASBOX 4861 ## ----------------------------------- ## 4862 ## Report this to rappture@nanohub.org ## 4863 ## ----------------------------------- ## 4864 _ASBOX 4865 ) | sed "s/^/$as_me: WARNING: /" >&2 4866 ;; 4867 esac 4868 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 4869 $as_echo_n "checking for dlfcn.h... " >&6; } 4870 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4871 $as_echo_n "(cached) " >&6 4872 else 4873 ac_cv_header_dlfcn_h=$ac_header_preproc 4874 fi 4875 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 4876 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 4877 4878 fi 4879 if test "x$ac_cv_header_dlfcn_h" = x""yes; then 4474 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 4475 if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 4880 4476 4881 4477 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 4888 4484 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4889 4485 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 4890 { $as_echo "$as_me:$ LINENO: checking for ELF" >&54486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 4891 4487 $as_echo_n "checking for ELF... " >&6; } 4892 if test "${tcl_cv_ld_elf+set}" = set; then 4488 if test "${tcl_cv_ld_elf+set}" = set; then : 4893 4489 $as_echo_n "(cached) " >&6 4894 4490 else 4895 4491 4896 cat >conftest.$ac_ext <<_ACEOF 4897 /* confdefs.h. */ 4898 _ACEOF 4899 cat confdefs.h >>conftest.$ac_ext 4900 cat >>conftest.$ac_ext <<_ACEOF 4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4901 4493 /* end confdefs.h. */ 4902 4494 … … 4907 4499 _ACEOF 4908 4500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4909 $EGREP "yes" >/dev/null 2>&1; then 4501 $EGREP "yes" >/dev/null 2>&1; then : 4910 4502 tcl_cv_ld_elf=yes 4911 4503 else … … 4915 4507 4916 4508 fi 4917 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&54509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 4918 4510 $as_echo "$tcl_cv_ld_elf" >&6; } 4919 4511 if test $tcl_cv_ld_elf = yes; then … … 4974 4566 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4975 4567 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 4976 { $as_echo "$as_me:$ LINENO: checking for ELF" >&54568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 4977 4569 $as_echo_n "checking for ELF... " >&6; } 4978 if test "${tcl_cv_ld_elf+set}" = set; then 4570 if test "${tcl_cv_ld_elf+set}" = set; then : 4979 4571 $as_echo_n "(cached) " >&6 4980 4572 else 4981 4573 4982 cat >conftest.$ac_ext <<_ACEOF 4983 /* confdefs.h. */ 4984 _ACEOF 4985 cat confdefs.h >>conftest.$ac_ext 4986 cat >>conftest.$ac_ext <<_ACEOF 4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4987 4575 /* end confdefs.h. */ 4988 4576 … … 4993 4581 _ACEOF 4994 4582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4995 $EGREP "yes" >/dev/null 2>&1; then 4583 $EGREP "yes" >/dev/null 2>&1; then : 4996 4584 tcl_cv_ld_elf=yes 4997 4585 else … … 5001 4589 5002 4590 fi 5003 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&54591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 5004 4592 $as_echo "$tcl_cv_ld_elf" >&6; } 5005 4593 if test $tcl_cv_ld_elf = yes; then … … 5056 4644 case `arch` in 5057 4645 ppc) 5058 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -arch ppc64 flag" >&54646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 5059 4647 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 5060 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then 4648 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then : 5061 4649 $as_echo_n "(cached) " >&6 5062 4650 else … … 5064 4652 hold_cflags=$CFLAGS 5065 4653 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 5066 cat >conftest.$ac_ext <<_ACEOF 5067 /* confdefs.h. */ 5068 _ACEOF 5069 cat confdefs.h >>conftest.$ac_ext 5070 cat >>conftest.$ac_ext <<_ACEOF 4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5071 4655 /* end confdefs.h. */ 5072 4656 … … 5079 4663 } 5080 4664 _ACEOF 5081 rm -f conftest.$ac_objext conftest$ac_exeext 5082 if { (ac_try="$ac_link" 5083 case "(($ac_try" in 5084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5085 *) ac_try_echo=$ac_try;; 5086 esac 5087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5088 $as_echo "$ac_try_echo") >&5 5089 (eval "$ac_link") 2>conftest.er1 5090 ac_status=$? 5091 grep -v '^ *+' conftest.er1 >conftest.err 5092 rm -f conftest.er1 5093 cat conftest.err >&5 5094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5095 (exit $ac_status); } && { 5096 test -z "$ac_c_werror_flag" || 5097 test ! -s conftest.err 5098 } && test -s conftest$ac_exeext && { 5099 test "$cross_compiling" = yes || 5100 $as_test_x conftest$ac_exeext 5101 }; then 4665 if ac_fn_c_try_link "$LINENO"; then : 5102 4666 tcl_cv_cc_arch_ppc64=yes 5103 4667 else 5104 $as_echo "$as_me: failed program was:" >&5 5105 sed 's/^/| /' conftest.$ac_ext >&5 5106 5107 tcl_cv_cc_arch_ppc64=no 5108 fi 5109 5110 rm -rf conftest.dSYM 5111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5112 conftest$ac_exeext conftest.$ac_ext 4668 tcl_cv_cc_arch_ppc64=no 4669 fi 4670 rm -f core conftest.err conftest.$ac_objext \ 4671 conftest$ac_exeext conftest.$ac_ext 5113 4672 CFLAGS=$hold_cflags 5114 4673 fi 5115 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_arch_ppc64" >&54674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 5116 4675 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 5117 4676 if test $tcl_cv_cc_arch_ppc64 = yes; then … … 5120 4679 fi;; 5121 4680 i386) 5122 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -arch x86_64 flag" >&54681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 5123 4682 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 5124 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then 4683 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then : 5125 4684 $as_echo_n "(cached) " >&6 5126 4685 else … … 5128 4687 hold_cflags=$CFLAGS 5129 4688 CFLAGS="$CFLAGS -arch x86_64" 5130 cat >conftest.$ac_ext <<_ACEOF 5131 /* confdefs.h. */ 5132 _ACEOF 5133 cat confdefs.h >>conftest.$ac_ext 5134 cat >>conftest.$ac_ext <<_ACEOF 4689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5135 4690 /* end confdefs.h. */ 5136 4691 … … 5143 4698 } 5144 4699 _ACEOF 5145 rm -f conftest.$ac_objext conftest$ac_exeext 5146 if { (ac_try="$ac_link" 5147 case "(($ac_try" in 5148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5149 *) ac_try_echo=$ac_try;; 5150 esac 5151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5152 $as_echo "$ac_try_echo") >&5 5153 (eval "$ac_link") 2>conftest.er1 5154 ac_status=$? 5155 grep -v '^ *+' conftest.er1 >conftest.err 5156 rm -f conftest.er1 5157 cat conftest.err >&5 5158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5159 (exit $ac_status); } && { 5160 test -z "$ac_c_werror_flag" || 5161 test ! -s conftest.err 5162 } && test -s conftest$ac_exeext && { 5163 test "$cross_compiling" = yes || 5164 $as_test_x conftest$ac_exeext 5165 }; then 4700 if ac_fn_c_try_link "$LINENO"; then : 5166 4701 tcl_cv_cc_arch_x86_64=yes 5167 4702 else 5168 $as_echo "$as_me: failed program was:" >&5 5169 sed 's/^/| /' conftest.$ac_ext >&5 5170 5171 tcl_cv_cc_arch_x86_64=no 5172 fi 5173 5174 rm -rf conftest.dSYM 5175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5176 conftest$ac_exeext conftest.$ac_ext 4703 tcl_cv_cc_arch_x86_64=no 4704 fi 4705 rm -f core conftest.err conftest.$ac_objext \ 4706 conftest$ac_exeext conftest.$ac_ext 5177 4707 CFLAGS=$hold_cflags 5178 4708 fi 5179 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_arch_x86_64" >&54709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 5180 4710 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 5181 4711 if test $tcl_cv_cc_arch_x86_64 = yes; then … … 5184 4714 fi;; 5185 4715 *) 5186 { $as_echo "$as_me:$ LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&54716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 5187 4717 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 5188 4718 esac … … 5194 4724 fi 5195 4725 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 5196 { $as_echo "$as_me:$ LINENO: checking if ld accepts -single_module flag" >&54726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 5197 4727 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 5198 if test "${tcl_cv_ld_single_module+set}" = set; then 4728 if test "${tcl_cv_ld_single_module+set}" = set; then : 5199 4729 $as_echo_n "(cached) " >&6 5200 4730 else … … 5202 4732 hold_ldflags=$LDFLAGS 5203 4733 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 5204 cat >conftest.$ac_ext <<_ACEOF 5205 /* confdefs.h. */ 5206 _ACEOF 5207 cat confdefs.h >>conftest.$ac_ext 5208 cat >>conftest.$ac_ext <<_ACEOF 4734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5209 4735 /* end confdefs.h. */ 5210 4736 … … 5217 4743 } 5218 4744 _ACEOF 5219 rm -f conftest.$ac_objext conftest$ac_exeext 5220 if { (ac_try="$ac_link" 5221 case "(($ac_try" in 5222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5223 *) ac_try_echo=$ac_try;; 5224 esac 5225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5226 $as_echo "$ac_try_echo") >&5 5227 (eval "$ac_link") 2>conftest.er1 5228 ac_status=$? 5229 grep -v '^ *+' conftest.er1 >conftest.err 5230 rm -f conftest.er1 5231 cat conftest.err >&5 5232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5233 (exit $ac_status); } && { 5234 test -z "$ac_c_werror_flag" || 5235 test ! -s conftest.err 5236 } && test -s conftest$ac_exeext && { 5237 test "$cross_compiling" = yes || 5238 $as_test_x conftest$ac_exeext 5239 }; then 4745 if ac_fn_c_try_link "$LINENO"; then : 5240 4746 tcl_cv_ld_single_module=yes 5241 4747 else 5242 $as_echo "$as_me: failed program was:" >&5 5243 sed 's/^/| /' conftest.$ac_ext >&5 5244 5245 tcl_cv_ld_single_module=no 5246 fi 5247 5248 rm -rf conftest.dSYM 5249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5250 conftest$ac_exeext conftest.$ac_ext 4748 tcl_cv_ld_single_module=no 4749 fi 4750 rm -f core conftest.err conftest.$ac_objext \ 4751 conftest$ac_exeext conftest.$ac_ext 5251 4752 LDFLAGS=$hold_ldflags 5252 4753 fi 5253 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_single_module" >&54754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 5254 4755 $as_echo "$tcl_cv_ld_single_module" >&6; } 5255 4756 if test $tcl_cv_ld_single_module = yes; then … … 5265 4766 LDFLAGS="$LDFLAGS -prebind" 5266 4767 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 5267 { $as_echo "$as_me:$ LINENO: checking if ld accepts -search_paths_first flag" >&54768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 5268 4769 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 5269 if test "${tcl_cv_ld_search_paths_first+set}" = set; then 4770 if test "${tcl_cv_ld_search_paths_first+set}" = set; then : 5270 4771 $as_echo_n "(cached) " >&6 5271 4772 else … … 5273 4774 hold_ldflags=$LDFLAGS 5274 4775 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5275 cat >conftest.$ac_ext <<_ACEOF 5276 /* confdefs.h. */ 5277 _ACEOF 5278 cat confdefs.h >>conftest.$ac_ext 5279 cat >>conftest.$ac_ext <<_ACEOF 4776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5280 4777 /* end confdefs.h. */ 5281 4778 … … 5288 4785 } 5289 4786 _ACEOF 5290 rm -f conftest.$ac_objext conftest$ac_exeext 5291 if { (ac_try="$ac_link" 5292 case "(($ac_try" in 5293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5294 *) ac_try_echo=$ac_try;; 5295 esac 5296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5297 $as_echo "$ac_try_echo") >&5 5298 (eval "$ac_link") 2>conftest.er1 5299 ac_status=$? 5300 grep -v '^ *+' conftest.er1 >conftest.err 5301 rm -f conftest.er1 5302 cat conftest.err >&5 5303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5304 (exit $ac_status); } && { 5305 test -z "$ac_c_werror_flag" || 5306 test ! -s conftest.err 5307 } && test -s conftest$ac_exeext && { 5308 test "$cross_compiling" = yes || 5309 $as_test_x conftest$ac_exeext 5310 }; then 4787 if ac_fn_c_try_link "$LINENO"; then : 5311 4788 tcl_cv_ld_search_paths_first=yes 5312 4789 else 5313 $as_echo "$as_me: failed program was:" >&5 5314 sed 's/^/| /' conftest.$ac_ext >&5 5315 5316 tcl_cv_ld_search_paths_first=no 5317 fi 5318 5319 rm -rf conftest.dSYM 5320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5321 conftest$ac_exeext conftest.$ac_ext 4790 tcl_cv_ld_search_paths_first=no 4791 fi 4792 rm -f core conftest.err conftest.$ac_objext \ 4793 conftest$ac_exeext conftest.$ac_ext 5322 4794 LDFLAGS=$hold_ldflags 5323 4795 fi 5324 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_search_paths_first" >&54796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 5325 4797 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 5326 4798 if test $tcl_cv_ld_search_paths_first = yes; then … … 5332 4804 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 5333 4805 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 5334 { $as_echo "$as_me:$ LINENO: checking whether to use CoreFoundation" >&54806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5 5335 4807 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 5336 4808 # Check whether --enable-corefoundation was given. 5337 if test "${enable_corefoundation+set}" = set; then 4809 if test "${enable_corefoundation+set}" = set; then : 5338 4810 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 5339 4811 else … … 5341 4813 fi 5342 4814 5343 { $as_echo "$as_me:$ LINENO: result: $tcl_corefoundation" >&54815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5 5344 4816 $as_echo "$tcl_corefoundation" >&6; } 5345 4817 if test $tcl_corefoundation = yes; then 5346 { $as_echo "$as_me:$ LINENO: checking for CoreFoundation.framework" >&54818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 5347 4819 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 5348 if test "${tcl_cv_lib_corefoundation+set}" = set; then 4820 if test "${tcl_cv_lib_corefoundation+set}" = set; then : 5349 4821 $as_echo_n "(cached) " >&6 5350 4822 else … … 5358 4830 done; fi 5359 4831 LIBS="$LIBS -framework CoreFoundation" 5360 cat >conftest.$ac_ext <<_ACEOF 5361 /* confdefs.h. */ 5362 _ACEOF 5363 cat confdefs.h >>conftest.$ac_ext 5364 cat >>conftest.$ac_ext <<_ACEOF 4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5365 4833 /* end confdefs.h. */ 5366 4834 #include <CoreFoundation/CoreFoundation.h> … … 5373 4841 } 5374 4842 _ACEOF 5375 rm -f conftest.$ac_objext conftest$ac_exeext 5376 if { (ac_try="$ac_link" 5377 case "(($ac_try" in 5378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5379 *) ac_try_echo=$ac_try;; 5380 esac 5381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5382 $as_echo "$ac_try_echo") >&5 5383 (eval "$ac_link") 2>conftest.er1 5384 ac_status=$? 5385 grep -v '^ *+' conftest.er1 >conftest.err 5386 rm -f conftest.er1 5387 cat conftest.err >&5 5388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5389 (exit $ac_status); } && { 5390 test -z "$ac_c_werror_flag" || 5391 test ! -s conftest.err 5392 } && test -s conftest$ac_exeext && { 5393 test "$cross_compiling" = yes || 5394 $as_test_x conftest$ac_exeext 5395 }; then 4843 if ac_fn_c_try_link "$LINENO"; then : 5396 4844 tcl_cv_lib_corefoundation=yes 5397 4845 else 5398 $as_echo "$as_me: failed program was:" >&5 5399 sed 's/^/| /' conftest.$ac_ext >&5 5400 5401 tcl_cv_lib_corefoundation=no 5402 fi 5403 5404 rm -rf conftest.dSYM 5405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5406 conftest$ac_exeext conftest.$ac_ext 4846 tcl_cv_lib_corefoundation=no 4847 fi 4848 rm -f core conftest.err conftest.$ac_objext \ 4849 conftest$ac_exeext conftest.$ac_ext 5407 4850 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 5408 4851 eval $v'="$hold_'$v'"' 5409 4852 done; fi; LIBS=$hold_libs 5410 4853 fi 5411 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_lib_corefoundation" >&54854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5 5412 4855 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 5413 4856 if test $tcl_cv_lib_corefoundation = yes; then 5414 4857 LIBS="$LIBS -framework CoreFoundation" 5415 cat >>confdefs.h <<\_ACEOF 5416 #define HAVE_COREFOUNDATION 1 5417 _ACEOF 4858 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 5418 4859 5419 4860 else … … 5421 4862 fi 5422 4863 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 5423 { $as_echo "$as_me:$ LINENO: checking for 64-bit CoreFoundation" >&54864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 5424 4865 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 5425 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then 4866 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then : 5426 4867 $as_echo_n "(cached) " >&6 5427 4868 else … … 5430 4871 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 5431 4872 done 5432 cat >conftest.$ac_ext <<_ACEOF 5433 /* confdefs.h. */ 5434 _ACEOF 5435 cat confdefs.h >>conftest.$ac_ext 5436 cat >>conftest.$ac_ext <<_ACEOF 4873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5437 4874 /* end confdefs.h. */ 5438 4875 #include <CoreFoundation/CoreFoundation.h> … … 5445 4882 } 5446 4883 _ACEOF 5447 rm -f conftest.$ac_objext conftest$ac_exeext 5448 if { (ac_try="$ac_link" 5449 case "(($ac_try" in 5450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5451 *) ac_try_echo=$ac_try;; 5452 esac 5453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5454 $as_echo "$ac_try_echo") >&5 5455 (eval "$ac_link") 2>conftest.er1 5456 ac_status=$? 5457 grep -v '^ *+' conftest.er1 >conftest.err 5458 rm -f conftest.er1 5459 cat conftest.err >&5 5460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5461 (exit $ac_status); } && { 5462 test -z "$ac_c_werror_flag" || 5463 test ! -s conftest.err 5464 } && test -s conftest$ac_exeext && { 5465 test "$cross_compiling" = yes || 5466 $as_test_x conftest$ac_exeext 5467 }; then 4884 if ac_fn_c_try_link "$LINENO"; then : 5468 4885 tcl_cv_lib_corefoundation_64=yes 5469 4886 else 5470 $as_echo "$as_me: failed program was:" >&5 5471 sed 's/^/| /' conftest.$ac_ext >&5 5472 5473 tcl_cv_lib_corefoundation_64=no 5474 fi 5475 5476 rm -rf conftest.dSYM 5477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5478 conftest$ac_exeext conftest.$ac_ext 4887 tcl_cv_lib_corefoundation_64=no 4888 fi 4889 rm -f core conftest.err conftest.$ac_objext \ 4890 conftest$ac_exeext conftest.$ac_ext 5479 4891 for v in CFLAGS CPPFLAGS LDFLAGS; do 5480 4892 eval $v'="$hold_'$v'"' 5481 4893 done 5482 4894 fi 5483 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_lib_corefoundation_64" >&54895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5 5484 4896 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 5485 4897 if test $tcl_cv_lib_corefoundation_64 = no; then 5486 cat >>confdefs.h <<\_ACEOF 5487 #define NO_COREFOUNDATION_64 1 5488 _ACEOF 4898 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 5489 4899 5490 4900 fi 5491 4901 fi 5492 4902 fi 5493 cat >>confdefs.h <<\_ACEOF 5494 #define MAC_OSX_TCL 1 5495 _ACEOF 4903 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 5496 4904 5497 4905 ;; … … 5508 4916 OS/390-*) 5509 4917 CFLAGS_OPTIMIZE="" # Optimizer is buggy 5510 cat >>confdefs.h <<\_ACEOF 5511 #define _OE_SOCKETS 1 5512 _ACEOF 4918 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 5513 4919 # needed in sys/socket.h 5514 4920 ;; … … 5651 5057 # won't define thread-safe library routines. 5652 5058 5653 cat >>confdefs.h <<\_ACEOF 5654 #define _REENTRANT 1 5655 _ACEOF 5656 5657 cat >>confdefs.h <<\_ACEOF 5658 #define _POSIX_PTHREAD_SEMANTICS 1 5659 _ACEOF 5059 $as_echo "#define _REENTRANT 1" >>confdefs.h 5060 5061 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5660 5062 5661 5063 … … 5683 5085 # won't define thread-safe library routines. 5684 5086 5685 cat >>confdefs.h <<\_ACEOF 5686 #define _REENTRANT 1 5687 _ACEOF 5688 5689 cat >>confdefs.h <<\_ACEOF 5690 #define _POSIX_PTHREAD_SEMANTICS 1 5691 _ACEOF 5087 $as_echo "#define _REENTRANT 1" >>confdefs.h 5088 5089 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5692 5090 5693 5091 … … 5700 5098 if test "$GCC" = "yes" ; then 5701 5099 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 5702 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&55100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 5703 5101 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 5704 5102 else … … 5722 5120 elif test "$arch" = "amd64 i386" ; then 5723 5121 if test "$GCC" = "yes" ; then 5724 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&55122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5725 5123 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 5726 5124 else … … 5730 5128 fi 5731 5129 else 5732 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported for $arch" >&55130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 5733 5131 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 5734 5132 fi … … 5789 5187 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 5790 5188 # that don't grok the -Bexport option. Test that it does. 5791 { $as_echo "$as_me:$ LINENO: checking for ld accepts -Bexport flag" >&55189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 5792 5190 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 5793 if test "${tcl_cv_ld_Bexport+set}" = set; then 5191 if test "${tcl_cv_ld_Bexport+set}" = set; then : 5794 5192 $as_echo_n "(cached) " >&6 5795 5193 else … … 5797 5195 hold_ldflags=$LDFLAGS 5798 5196 LDFLAGS="$LDFLAGS -Wl,-Bexport" 5799 cat >conftest.$ac_ext <<_ACEOF 5800 /* confdefs.h. */ 5801 _ACEOF 5802 cat confdefs.h >>conftest.$ac_ext 5803 cat >>conftest.$ac_ext <<_ACEOF 5197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5804 5198 /* end confdefs.h. */ 5805 5199 … … 5812 5206 } 5813 5207 _ACEOF 5814 rm -f conftest.$ac_objext conftest$ac_exeext 5815 if { (ac_try="$ac_link" 5816 case "(($ac_try" in 5817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5818 *) ac_try_echo=$ac_try;; 5819 esac 5820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5821 $as_echo "$ac_try_echo") >&5 5822 (eval "$ac_link") 2>conftest.er1 5823 ac_status=$? 5824 grep -v '^ *+' conftest.er1 >conftest.err 5825 rm -f conftest.er1 5826 cat conftest.err >&5 5827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5828 (exit $ac_status); } && { 5829 test -z "$ac_c_werror_flag" || 5830 test ! -s conftest.err 5831 } && test -s conftest$ac_exeext && { 5832 test "$cross_compiling" = yes || 5833 $as_test_x conftest$ac_exeext 5834 }; then 5208 if ac_fn_c_try_link "$LINENO"; then : 5835 5209 tcl_cv_ld_Bexport=yes 5836 5210 else 5837 $as_echo "$as_me: failed program was:" >&5 5838 sed 's/^/| /' conftest.$ac_ext >&5 5839 5840 tcl_cv_ld_Bexport=no 5841 fi 5842 5843 rm -rf conftest.dSYM 5844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5845 conftest$ac_exeext conftest.$ac_ext 5211 tcl_cv_ld_Bexport=no 5212 fi 5213 rm -f core conftest.err conftest.$ac_objext \ 5214 conftest$ac_exeext conftest.$ac_ext 5846 5215 LDFLAGS=$hold_ldflags 5847 5216 fi 5848 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_Bexport" >&55217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 5849 5218 $as_echo "$tcl_cv_ld_Bexport" >&6; } 5850 5219 if test $tcl_cv_ld_Bexport = yes; then … … 5857 5226 5858 5227 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 5859 { $as_echo "$as_me:$ LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&55228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 5860 5229 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 5861 5230 fi … … 5884 5253 5885 5254 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 5886 { $as_echo "$as_me:$ LINENO: checking sys/exec.h" >&55255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 5887 5256 $as_echo_n "checking sys/exec.h... " >&6; } 5888 if test "${tcl_cv_sysexec_h+set}" = set; then 5257 if test "${tcl_cv_sysexec_h+set}" = set; then : 5889 5258 $as_echo_n "(cached) " >&6 5890 5259 else 5891 5260 5892 cat >conftest.$ac_ext <<_ACEOF 5893 /* confdefs.h. */ 5894 _ACEOF 5895 cat confdefs.h >>conftest.$ac_ext 5896 cat >>conftest.$ac_ext <<_ACEOF 5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5897 5262 /* end confdefs.h. */ 5898 5263 #include <sys/exec.h> … … 5916 5281 } 5917 5282 _ACEOF 5918 rm -f conftest.$ac_objext 5919 if { (ac_try="$ac_compile" 5920 case "(($ac_try" in 5921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5922 *) ac_try_echo=$ac_try;; 5923 esac 5924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5925 $as_echo "$ac_try_echo") >&5 5926 (eval "$ac_compile") 2>conftest.er1 5927 ac_status=$? 5928 grep -v '^ *+' conftest.er1 >conftest.err 5929 rm -f conftest.er1 5930 cat conftest.err >&5 5931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5932 (exit $ac_status); } && { 5933 test -z "$ac_c_werror_flag" || 5934 test ! -s conftest.err 5935 } && test -s conftest.$ac_objext; then 5283 if ac_fn_c_try_compile "$LINENO"; then : 5936 5284 tcl_cv_sysexec_h=usable 5937 5285 else 5938 $as_echo "$as_me: failed program was:" >&5 5939 sed 's/^/| /' conftest.$ac_ext >&5 5940 5941 tcl_cv_sysexec_h=unusable 5942 fi 5943 5286 tcl_cv_sysexec_h=unusable 5287 fi 5944 5288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5945 5289 fi 5946 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sysexec_h" >&55290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5 5947 5291 $as_echo "$tcl_cv_sysexec_h" >&6; } 5948 5292 if test $tcl_cv_sysexec_h = usable; then 5949 cat >>confdefs.h <<\_ACEOF 5950 #define USE_SYS_EXEC_H 1 5951 _ACEOF 5293 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 5952 5294 5953 5295 else 5954 { $as_echo "$as_me:$ LINENO: checking a.out.h" >&55296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 5955 5297 $as_echo_n "checking a.out.h... " >&6; } 5956 if test "${tcl_cv_aout_h+set}" = set; then 5298 if test "${tcl_cv_aout_h+set}" = set; then : 5957 5299 $as_echo_n "(cached) " >&6 5958 5300 else 5959 5301 5960 cat >conftest.$ac_ext <<_ACEOF 5961 /* confdefs.h. */ 5962 _ACEOF 5963 cat confdefs.h >>conftest.$ac_ext 5964 cat >>conftest.$ac_ext <<_ACEOF 5302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5965 5303 /* end confdefs.h. */ 5966 5304 #include <a.out.h> … … 5984 5322 } 5985 5323 _ACEOF 5986 rm -f conftest.$ac_objext 5987 if { (ac_try="$ac_compile" 5988 case "(($ac_try" in 5989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5990 *) ac_try_echo=$ac_try;; 5991 esac 5992 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5993 $as_echo "$ac_try_echo") >&5 5994 (eval "$ac_compile") 2>conftest.er1 5995 ac_status=$? 5996 grep -v '^ *+' conftest.er1 >conftest.err 5997 rm -f conftest.er1 5998 cat conftest.err >&5 5999 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6000 (exit $ac_status); } && { 6001 test -z "$ac_c_werror_flag" || 6002 test ! -s conftest.err 6003 } && test -s conftest.$ac_objext; then 5324 if ac_fn_c_try_compile "$LINENO"; then : 6004 5325 tcl_cv_aout_h=usable 6005 5326 else 6006 $as_echo "$as_me: failed program was:" >&5 6007 sed 's/^/| /' conftest.$ac_ext >&5 6008 6009 tcl_cv_aout_h=unusable 6010 fi 6011 5327 tcl_cv_aout_h=unusable 5328 fi 6012 5329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6013 5330 fi 6014 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_aout_h" >&55331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5 6015 5332 $as_echo "$tcl_cv_aout_h" >&6; } 6016 5333 if test $tcl_cv_aout_h = usable; then 6017 cat >>confdefs.h <<\_ACEOF 6018 #define USE_A_OUT_H 1 6019 _ACEOF 5334 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 6020 5335 6021 5336 else 6022 { $as_echo "$as_me:$ LINENO: checking sys/exec_aout.h" >&55337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 6023 5338 $as_echo_n "checking sys/exec_aout.h... " >&6; } 6024 if test "${tcl_cv_sysexecaout_h+set}" = set; then 5339 if test "${tcl_cv_sysexecaout_h+set}" = set; then : 6025 5340 $as_echo_n "(cached) " >&6 6026 5341 else 6027 5342 6028 cat >conftest.$ac_ext <<_ACEOF 6029 /* confdefs.h. */ 6030 _ACEOF 6031 cat confdefs.h >>conftest.$ac_ext 6032 cat >>conftest.$ac_ext <<_ACEOF 5343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6033 5344 /* end confdefs.h. */ 6034 5345 #include <sys/exec_aout.h> … … 6052 5363 } 6053 5364 _ACEOF 6054 rm -f conftest.$ac_objext 6055 if { (ac_try="$ac_compile" 6056 case "(($ac_try" in 6057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6058 *) ac_try_echo=$ac_try;; 6059 esac 6060 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6061 $as_echo "$ac_try_echo") >&5 6062 (eval "$ac_compile") 2>conftest.er1 6063 ac_status=$? 6064 grep -v '^ *+' conftest.er1 >conftest.err 6065 rm -f conftest.er1 6066 cat conftest.err >&5 6067 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6068 (exit $ac_status); } && { 6069 test -z "$ac_c_werror_flag" || 6070 test ! -s conftest.err 6071 } && test -s conftest.$ac_objext; then 5365 if ac_fn_c_try_compile "$LINENO"; then : 6072 5366 tcl_cv_sysexecaout_h=usable 6073 5367 else 6074 $as_echo "$as_me: failed program was:" >&5 6075 sed 's/^/| /' conftest.$ac_ext >&5 6076 6077 tcl_cv_sysexecaout_h=unusable 6078 fi 6079 5368 tcl_cv_sysexecaout_h=unusable 5369 fi 6080 5370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6081 5371 fi 6082 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sysexecaout_h" >&55372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5 6083 5373 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 6084 5374 if test $tcl_cv_sysexecaout_h = usable; then 6085 cat >>confdefs.h <<\_ACEOF 6086 #define USE_SYS_EXEC_AOUT_H 1 6087 _ACEOF 5375 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 6088 5376 6089 5377 else … … 6097 5385 6098 5386 # Check whether --enable-load was given. 6099 if test "${enable_load+set}" = set; then 5387 if test "${enable_load+set}" = set; then : 6100 5388 enableval=$enable_load; tcl_ok=$enableval 6101 5389 else … … 6229 5517 ac_aux_dir= 6230 5518 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 6231 if test -f "$ac_dir/install-sh"; then 6232 ac_aux_dir=$ac_dir 6233 ac_install_sh="$ac_aux_dir/install-sh -c" 6234 break 6235 elif test -f "$ac_dir/install.sh"; then 6236 ac_aux_dir=$ac_dir 6237 ac_install_sh="$ac_aux_dir/install.sh -c" 6238 break 6239 elif test -f "$ac_dir/shtool"; then 6240 ac_aux_dir=$ac_dir 6241 ac_install_sh="$ac_aux_dir/shtool install -c" 6242 break 6243 fi 5519 for ac_t in install-sh install.sh shtool; do 5520 if test -f "$ac_dir/$ac_t"; then 5521 ac_aux_dir=$ac_dir 5522 ac_install_sh="$ac_aux_dir/$ac_t -c" 5523 break 2 5524 fi 5525 done 6244 5526 done 6245 5527 if test -z "$ac_aux_dir"; then 6246 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 6247 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 6248 { (exit 1); exit 1; }; } 5528 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 6249 5529 fi 6250 5530 … … 6272 5552 # ./install, which can be erroneously created by make from ./install.sh. 6273 5553 # Reject install programs that cannot install multiple files. 6274 { $as_echo "$as_me:$ LINENO: checking for a BSD-compatible install" >&55554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 6275 5555 $as_echo_n "checking for a BSD-compatible install... " >&6; } 6276 5556 if test -z "$INSTALL"; then 6277 if test "${ac_cv_path_install+set}" = set; then 5557 if test "${ac_cv_path_install+set}" = set; then : 6278 5558 $as_echo_n "(cached) " >&6 6279 5559 else … … 6283 5563 IFS=$as_save_IFS 6284 5564 test -z "$as_dir" && as_dir=. 6285 # Account for people who put trailing slashes in PATH elements.6286 case $as_dir/ in 6287 ./ | .// | / cC/* | \5565 # Account for people who put trailing slashes in PATH elements. 5566 case $as_dir/ in #(( 5567 ./ | .// | /[cC]/* | \ 6288 5568 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6289 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \5569 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 6290 5570 /usr/ucb/* ) ;; 6291 5571 *) … … 6324 5604 esac 6325 5605 6326 done5606 done 6327 5607 IFS=$as_save_IFS 6328 5608 … … 6340 5620 fi 6341 5621 fi 6342 { $as_echo "$as_me:$ LINENO: result: $INSTALL" >&55622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 6343 5623 $as_echo "$INSTALL" >&6; } 6344 5624 … … 6354 5634 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6355 5635 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6356 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&55636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6357 5637 $as_echo_n "checking for $ac_word... " >&6; } 6358 if test "${ac_cv_prog_RANLIB+set}" = set; then 5638 if test "${ac_cv_prog_RANLIB+set}" = set; then : 6359 5639 $as_echo_n "(cached) " >&6 6360 5640 else … … 6367 5647 IFS=$as_save_IFS 6368 5648 test -z "$as_dir" && as_dir=. 6369 for ac_exec_ext in '' $ac_executable_extensions; do5649 for ac_exec_ext in '' $ac_executable_extensions; do 6370 5650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6371 5651 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6372 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6373 5653 break 2 6374 5654 fi 6375 5655 done 6376 done5656 done 6377 5657 IFS=$as_save_IFS 6378 5658 … … 6381 5661 RANLIB=$ac_cv_prog_RANLIB 6382 5662 if test -n "$RANLIB"; then 6383 { $as_echo "$as_me:$ LINENO: result: $RANLIB" >&55663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6384 5664 $as_echo "$RANLIB" >&6; } 6385 5665 else 6386 { $as_echo "$as_me:$ LINENO: result: no" >&55666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6387 5667 $as_echo "no" >&6; } 6388 5668 fi … … 6394 5674 # Extract the first word of "ranlib", so it can be a program name with args. 6395 5675 set dummy ranlib; ac_word=$2 6396 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&55676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6397 5677 $as_echo_n "checking for $ac_word... " >&6; } 6398 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5678 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6399 5679 $as_echo_n "(cached) " >&6 6400 5680 else … … 6407 5687 IFS=$as_save_IFS 6408 5688 test -z "$as_dir" && as_dir=. 6409 for ac_exec_ext in '' $ac_executable_extensions; do5689 for ac_exec_ext in '' $ac_executable_extensions; do 6410 5690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6411 5691 ac_cv_prog_ac_ct_RANLIB="ranlib" 6412 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6413 5693 break 2 6414 5694 fi 6415 5695 done 6416 done5696 done 6417 5697 IFS=$as_save_IFS 6418 5698 … … 6421 5701 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6422 5702 if test -n "$ac_ct_RANLIB"; then 6423 { $as_echo "$as_me:$ LINENO: result: $ac_ct_RANLIB" >&55703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6424 5704 $as_echo "$ac_ct_RANLIB" >&6; } 6425 5705 else 6426 { $as_echo "$as_me:$ LINENO: result: no" >&55706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6427 5707 $as_echo "no" >&6; } 6428 5708 fi … … 6433 5713 case $cross_compiling:$ac_tool_warned in 6434 5714 yes:) 6435 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&55715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6436 5716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6437 5717 ac_tool_warned=yes ;; … … 6443 5723 fi 6444 5724 6445 { $as_echo "$as_me:$ LINENO: checking whether ln -s works" >&55725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6446 5726 $as_echo_n "checking whether ln -s works... " >&6; } 6447 5727 LN_S=$as_ln_s 6448 5728 if test "$LN_S" = "ln -s"; then 6449 { $as_echo "$as_me:$ LINENO: result: yes" >&55729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6450 5730 $as_echo "yes" >&6; } 6451 5731 else 6452 { $as_echo "$as_me:$ LINENO: result: no, using $LN_S" >&55732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6453 5733 $as_echo "no, using $LN_S" >&6; } 6454 5734 fi 6455 5735 6456 { $as_echo "$as_me:$ LINENO: checking for a thread-safe mkdir -p" >&55736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 6457 5737 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 6458 5738 if test -z "$MKDIR_P"; then 6459 if test "${ac_cv_path_mkdir+set}" = set; then 5739 if test "${ac_cv_path_mkdir+set}" = set; then : 6460 5740 $as_echo_n "(cached) " >&6 6461 5741 else … … 6465 5745 IFS=$as_save_IFS 6466 5746 test -z "$as_dir" && as_dir=. 6467 for ac_prog in mkdir gmkdir; do5747 for ac_prog in mkdir gmkdir; do 6468 5748 for ac_exec_ext in '' $ac_executable_extensions; do 6469 5749 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 6477 5757 done 6478 5758 done 6479 done5759 done 6480 5760 IFS=$as_save_IFS 6481 5761 6482 5762 fi 6483 5763 5764 test -d ./--version && rmdir ./--version 6484 5765 if test "${ac_cv_path_mkdir+set}" = set; then 6485 5766 MKDIR_P="$ac_cv_path_mkdir -p" … … 6489 5770 # break other packages using the cache if that directory is 6490 5771 # removed, or if the value is a relative name. 6491 test -d ./--version && rmdir ./--version6492 5772 MKDIR_P="$ac_install_sh -d" 6493 5773 fi 6494 5774 fi 6495 { $as_echo "$as_me:$ LINENO: result: $MKDIR_P" >&55775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 6496 5776 $as_echo "$MKDIR_P" >&6; } 6497 5777 … … 6505 5785 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 6506 5786 set dummy ${ac_tool_prefix}gcc; ac_word=$2 6507 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&55787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6508 5788 $as_echo_n "checking for $ac_word... " >&6; } 6509 if test "${ac_cv_prog_CC+set}" = set; then 5789 if test "${ac_cv_prog_CC+set}" = set; then : 6510 5790 $as_echo_n "(cached) " >&6 6511 5791 else … … 6518 5798 IFS=$as_save_IFS 6519 5799 test -z "$as_dir" && as_dir=. 6520 for ac_exec_ext in '' $ac_executable_extensions; do5800 for ac_exec_ext in '' $ac_executable_extensions; do 6521 5801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6522 5802 ac_cv_prog_CC="${ac_tool_prefix}gcc" 6523 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6524 5804 break 2 6525 5805 fi 6526 5806 done 6527 done5807 done 6528 5808 IFS=$as_save_IFS 6529 5809 … … 6532 5812 CC=$ac_cv_prog_CC 6533 5813 if test -n "$CC"; then 6534 { $as_echo "$as_me:$ LINENO: result: $CC" >&55814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 6535 5815 $as_echo "$CC" >&6; } 6536 5816 else 6537 { $as_echo "$as_me:$ LINENO: result: no" >&55817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6538 5818 $as_echo "no" >&6; } 6539 5819 fi … … 6545 5825 # Extract the first word of "gcc", so it can be a program name with args. 6546 5826 set dummy gcc; ac_word=$2 6547 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&55827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6548 5828 $as_echo_n "checking for $ac_word... " >&6; } 6549 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 5829 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 6550 5830 $as_echo_n "(cached) " >&6 6551 5831 else … … 6558 5838 IFS=$as_save_IFS 6559 5839 test -z "$as_dir" && as_dir=. 6560 for ac_exec_ext in '' $ac_executable_extensions; do5840 for ac_exec_ext in '' $ac_executable_extensions; do 6561 5841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6562 5842 ac_cv_prog_ac_ct_CC="gcc" 6563 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6564 5844 break 2 6565 5845 fi 6566 5846 done 6567 done5847 done 6568 5848 IFS=$as_save_IFS 6569 5849 … … 6572 5852 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6573 5853 if test -n "$ac_ct_CC"; then 6574 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&55854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 6575 5855 $as_echo "$ac_ct_CC" >&6; } 6576 5856 else 6577 { $as_echo "$as_me:$ LINENO: result: no" >&55857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6578 5858 $as_echo "no" >&6; } 6579 5859 fi … … 6584 5864 case $cross_compiling:$ac_tool_warned in 6585 5865 yes:) 6586 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&55866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6587 5867 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6588 5868 ac_tool_warned=yes ;; … … 6598 5878 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 6599 5879 set dummy ${ac_tool_prefix}cc; ac_word=$2 6600 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&55880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6601 5881 $as_echo_n "checking for $ac_word... " >&6; } 6602 if test "${ac_cv_prog_CC+set}" = set; then 5882 if test "${ac_cv_prog_CC+set}" = set; then : 6603 5883 $as_echo_n "(cached) " >&6 6604 5884 else … … 6611 5891 IFS=$as_save_IFS 6612 5892 test -z "$as_dir" && as_dir=. 6613 for ac_exec_ext in '' $ac_executable_extensions; do5893 for ac_exec_ext in '' $ac_executable_extensions; do 6614 5894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6615 5895 ac_cv_prog_CC="${ac_tool_prefix}cc" 6616 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6617 5897 break 2 6618 5898 fi 6619 5899 done 6620 done5900 done 6621 5901 IFS=$as_save_IFS 6622 5902 … … 6625 5905 CC=$ac_cv_prog_CC 6626 5906 if test -n "$CC"; then 6627 { $as_echo "$as_me:$ LINENO: result: $CC" >&55907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 6628 5908 $as_echo "$CC" >&6; } 6629 5909 else 6630 { $as_echo "$as_me:$ LINENO: result: no" >&55910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6631 5911 $as_echo "no" >&6; } 6632 5912 fi … … 6638 5918 # Extract the first word of "cc", so it can be a program name with args. 6639 5919 set dummy cc; ac_word=$2 6640 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&55920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6641 5921 $as_echo_n "checking for $ac_word... " >&6; } 6642 if test "${ac_cv_prog_CC+set}" = set; then 5922 if test "${ac_cv_prog_CC+set}" = set; then : 6643 5923 $as_echo_n "(cached) " >&6 6644 5924 else … … 6652 5932 IFS=$as_save_IFS 6653 5933 test -z "$as_dir" && as_dir=. 6654 for ac_exec_ext in '' $ac_executable_extensions; do5934 for ac_exec_ext in '' $ac_executable_extensions; do 6655 5935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6656 5936 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 6659 5939 fi 6660 5940 ac_cv_prog_CC="cc" 6661 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6662 5942 break 2 6663 5943 fi 6664 5944 done 6665 done5945 done 6666 5946 IFS=$as_save_IFS 6667 5947 … … 6682 5962 CC=$ac_cv_prog_CC 6683 5963 if test -n "$CC"; then 6684 { $as_echo "$as_me:$ LINENO: result: $CC" >&55964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 6685 5965 $as_echo "$CC" >&6; } 6686 5966 else 6687 { $as_echo "$as_me:$ LINENO: result: no" >&55967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6688 5968 $as_echo "no" >&6; } 6689 5969 fi … … 6697 5977 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6698 5978 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6699 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&55979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6700 5980 $as_echo_n "checking for $ac_word... " >&6; } 6701 if test "${ac_cv_prog_CC+set}" = set; then 5981 if test "${ac_cv_prog_CC+set}" = set; then : 6702 5982 $as_echo_n "(cached) " >&6 6703 5983 else … … 6710 5990 IFS=$as_save_IFS 6711 5991 test -z "$as_dir" && as_dir=. 6712 for ac_exec_ext in '' $ac_executable_extensions; do5992 for ac_exec_ext in '' $ac_executable_extensions; do 6713 5993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6714 5994 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 6715 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6716 5996 break 2 6717 5997 fi 6718 5998 done 6719 done5999 done 6720 6000 IFS=$as_save_IFS 6721 6001 … … 6724 6004 CC=$ac_cv_prog_CC 6725 6005 if test -n "$CC"; then 6726 { $as_echo "$as_me:$ LINENO: result: $CC" >&56006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 6727 6007 $as_echo "$CC" >&6; } 6728 6008 else 6729 { $as_echo "$as_me:$ LINENO: result: no" >&56009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6730 6010 $as_echo "no" >&6; } 6731 6011 fi … … 6741 6021 # Extract the first word of "$ac_prog", so it can be a program name with args. 6742 6022 set dummy $ac_prog; ac_word=$2 6743 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6744 6024 $as_echo_n "checking for $ac_word... " >&6; } 6745 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6025 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 6746 6026 $as_echo_n "(cached) " >&6 6747 6027 else … … 6754 6034 IFS=$as_save_IFS 6755 6035 test -z "$as_dir" && as_dir=. 6756 for ac_exec_ext in '' $ac_executable_extensions; do6036 for ac_exec_ext in '' $ac_executable_extensions; do 6757 6037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6758 6038 ac_cv_prog_ac_ct_CC="$ac_prog" 6759 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6760 6040 break 2 6761 6041 fi 6762 6042 done 6763 done6043 done 6764 6044 IFS=$as_save_IFS 6765 6045 … … 6768 6048 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6769 6049 if test -n "$ac_ct_CC"; then 6770 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&56050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 6771 6051 $as_echo "$ac_ct_CC" >&6; } 6772 6052 else 6773 { $as_echo "$as_me:$ LINENO: result: no" >&56053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6774 6054 $as_echo "no" >&6; } 6775 6055 fi … … 6784 6064 case $cross_compiling:$ac_tool_warned in 6785 6065 yes:) 6786 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&56066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6787 6067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6788 6068 ac_tool_warned=yes ;; … … 6795 6075 6796 6076 6797 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&56077 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6798 6078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6799 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 6800 See \`config.log' for more details." >&5 6801 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 6802 See \`config.log' for more details." >&2;} 6803 { (exit 1); exit 1; }; }; } 6079 as_fn_error "no acceptable C compiler found in \$PATH 6080 See \`config.log' for more details." "$LINENO" 5; } 6804 6081 6805 6082 # Provide some information about the compiler. 6806 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&56083 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 6807 6084 set X $ac_compile 6808 6085 ac_compiler=$2 6809 { (ac_try="$ac_compiler --version >&5" 6086 for ac_option in --version -v -V -qversion; do 6087 { { ac_try="$ac_compiler $ac_option >&5" 6810 6088 case "(($ac_try" in 6811 6089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6812 6090 *) ac_try_echo=$ac_try;; 6813 6091 esac 6814 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""6815 $as_echo "$ac_try_echo" )>&56816 (eval "$ac_compiler --version >&5") 2>&56092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 6093 $as_echo "$ac_try_echo"; } >&5 6094 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 6817 6095 ac_status=$? 6818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6819 (exit $ac_status); } 6820 { (ac_try="$ac_compiler -v >&5" 6821 case "(($ac_try" in 6822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6823 *) ac_try_echo=$ac_try;; 6824 esac 6825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6826 $as_echo "$ac_try_echo") >&5 6827 (eval "$ac_compiler -v >&5") 2>&5 6828 ac_status=$? 6829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6830 (exit $ac_status); } 6831 { (ac_try="$ac_compiler -V >&5" 6832 case "(($ac_try" in 6833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6834 *) ac_try_echo=$ac_try;; 6835 esac 6836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6837 $as_echo "$ac_try_echo") >&5 6838 (eval "$ac_compiler -V >&5") 2>&5 6839 ac_status=$? 6840 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6841 (exit $ac_status); } 6842 6843 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 6096 if test -s conftest.err; then 6097 sed '10a\ 6098 ... rest of stderr output deleted ... 6099 10q' conftest.err >conftest.er1 6100 cat conftest.er1 >&5 6101 fi 6102 rm -f conftest.er1 conftest.err 6103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6104 test $ac_status = 0; } 6105 done 6106 6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 6844 6108 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 6845 if test "${ac_cv_c_compiler_gnu+set}" = set; then 6109 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 6846 6110 $as_echo_n "(cached) " >&6 6847 6111 else 6848 cat >conftest.$ac_ext <<_ACEOF 6849 /* confdefs.h. */ 6850 _ACEOF 6851 cat confdefs.h >>conftest.$ac_ext 6852 cat >>conftest.$ac_ext <<_ACEOF 6112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6853 6113 /* end confdefs.h. */ 6854 6114 … … 6864 6124 } 6865 6125 _ACEOF 6866 rm -f conftest.$ac_objext 6867 if { (ac_try="$ac_compile" 6868 case "(($ac_try" in 6869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6870 *) ac_try_echo=$ac_try;; 6871 esac 6872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6873 $as_echo "$ac_try_echo") >&5 6874 (eval "$ac_compile") 2>conftest.er1 6875 ac_status=$? 6876 grep -v '^ *+' conftest.er1 >conftest.err 6877 rm -f conftest.er1 6878 cat conftest.err >&5 6879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6880 (exit $ac_status); } && { 6881 test -z "$ac_c_werror_flag" || 6882 test ! -s conftest.err 6883 } && test -s conftest.$ac_objext; then 6126 if ac_fn_c_try_compile "$LINENO"; then : 6884 6127 ac_compiler_gnu=yes 6885 6128 else 6886 $as_echo "$as_me: failed program was:" >&5 6887 sed 's/^/| /' conftest.$ac_ext >&5 6888 6889 ac_compiler_gnu=no 6890 fi 6891 6129 ac_compiler_gnu=no 6130 fi 6892 6131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6893 6132 ac_cv_c_compiler_gnu=$ac_compiler_gnu 6894 6133 6895 6134 fi 6896 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&56135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 6897 6136 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 6898 6137 if test $ac_compiler_gnu = yes; then … … 6903 6142 ac_test_CFLAGS=${CFLAGS+set} 6904 6143 ac_save_CFLAGS=$CFLAGS 6905 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&56144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 6906 6145 $as_echo_n "checking whether $CC accepts -g... " >&6; } 6907 if test "${ac_cv_prog_cc_g+set}" = set; then 6146 if test "${ac_cv_prog_cc_g+set}" = set; then : 6908 6147 $as_echo_n "(cached) " >&6 6909 6148 else … … 6912 6151 ac_cv_prog_cc_g=no 6913 6152 CFLAGS="-g" 6914 cat >conftest.$ac_ext <<_ACEOF 6915 /* confdefs.h. */ 6916 _ACEOF 6917 cat confdefs.h >>conftest.$ac_ext 6918 cat >>conftest.$ac_ext <<_ACEOF 6153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6919 6154 /* end confdefs.h. */ 6920 6155 … … 6927 6162 } 6928 6163 _ACEOF 6929 rm -f conftest.$ac_objext 6930 if { (ac_try="$ac_compile" 6931 case "(($ac_try" in 6932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6933 *) ac_try_echo=$ac_try;; 6934 esac 6935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6936 $as_echo "$ac_try_echo") >&5 6937 (eval "$ac_compile") 2>conftest.er1 6938 ac_status=$? 6939 grep -v '^ *+' conftest.er1 >conftest.err 6940 rm -f conftest.er1 6941 cat conftest.err >&5 6942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6943 (exit $ac_status); } && { 6944 test -z "$ac_c_werror_flag" || 6945 test ! -s conftest.err 6946 } && test -s conftest.$ac_objext; then 6164 if ac_fn_c_try_compile "$LINENO"; then : 6947 6165 ac_cv_prog_cc_g=yes 6948 6166 else 6949 $as_echo "$as_me: failed program was:" >&5 6950 sed 's/^/| /' conftest.$ac_ext >&5 6951 6952 CFLAGS="" 6953 cat >conftest.$ac_ext <<_ACEOF 6954 /* confdefs.h. */ 6955 _ACEOF 6956 cat confdefs.h >>conftest.$ac_ext 6957 cat >>conftest.$ac_ext <<_ACEOF 6167 CFLAGS="" 6168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6958 6169 /* end confdefs.h. */ 6959 6170 … … 6966 6177 } 6967 6178 _ACEOF 6968 rm -f conftest.$ac_objext 6969 if { (ac_try="$ac_compile" 6970 case "(($ac_try" in 6971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6972 *) ac_try_echo=$ac_try;; 6973 esac 6974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6975 $as_echo "$ac_try_echo") >&5 6976 (eval "$ac_compile") 2>conftest.er1 6977 ac_status=$? 6978 grep -v '^ *+' conftest.er1 >conftest.err 6979 rm -f conftest.er1 6980 cat conftest.err >&5 6981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6982 (exit $ac_status); } && { 6983 test -z "$ac_c_werror_flag" || 6984 test ! -s conftest.err 6985 } && test -s conftest.$ac_objext; then 6986 : 6987 else 6988 $as_echo "$as_me: failed program was:" >&5 6989 sed 's/^/| /' conftest.$ac_ext >&5 6990 6991 ac_c_werror_flag=$ac_save_c_werror_flag 6179 if ac_fn_c_try_compile "$LINENO"; then : 6180 6181 else 6182 ac_c_werror_flag=$ac_save_c_werror_flag 6992 6183 CFLAGS="-g" 6993 cat >conftest.$ac_ext <<_ACEOF 6994 /* confdefs.h. */ 6995 _ACEOF 6996 cat confdefs.h >>conftest.$ac_ext 6997 cat >>conftest.$ac_ext <<_ACEOF 6184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6998 6185 /* end confdefs.h. */ 6999 6186 … … 7006 6193 } 7007 6194 _ACEOF 7008 rm -f conftest.$ac_objext 7009 if { (ac_try="$ac_compile" 7010 case "(($ac_try" in 7011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7012 *) ac_try_echo=$ac_try;; 7013 esac 7014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7015 $as_echo "$ac_try_echo") >&5 7016 (eval "$ac_compile") 2>conftest.er1 7017 ac_status=$? 7018 grep -v '^ *+' conftest.er1 >conftest.err 7019 rm -f conftest.er1 7020 cat conftest.err >&5 7021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7022 (exit $ac_status); } && { 7023 test -z "$ac_c_werror_flag" || 7024 test ! -s conftest.err 7025 } && test -s conftest.$ac_objext; then 6195 if ac_fn_c_try_compile "$LINENO"; then : 7026 6196 ac_cv_prog_cc_g=yes 7027 else 7028 $as_echo "$as_me: failed program was:" >&5 7029 sed 's/^/| /' conftest.$ac_ext >&5 7030 7031 7032 fi 7033 6197 fi 7034 6198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7035 6199 fi 7036 7037 6200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7038 6201 fi 7039 7040 6202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7041 6203 ac_c_werror_flag=$ac_save_c_werror_flag 7042 6204 fi 7043 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&56205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 7044 6206 $as_echo "$ac_cv_prog_cc_g" >&6; } 7045 6207 if test "$ac_test_CFLAGS" = set; then … … 7058 6220 fi 7059 6221 fi 7060 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&56222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 7061 6223 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 7062 if test "${ac_cv_prog_cc_c89+set}" = set; then 6224 if test "${ac_cv_prog_cc_c89+set}" = set; then : 7063 6225 $as_echo_n "(cached) " >&6 7064 6226 else 7065 6227 ac_cv_prog_cc_c89=no 7066 6228 ac_save_CC=$CC 7067 cat >conftest.$ac_ext <<_ACEOF 7068 /* confdefs.h. */ 7069 _ACEOF 7070 cat confdefs.h >>conftest.$ac_ext 7071 cat >>conftest.$ac_ext <<_ACEOF 6229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7072 6230 /* end confdefs.h. */ 7073 6231 #include <stdarg.h> … … 7126 6284 do 7127 6285 CC="$ac_save_CC $ac_arg" 7128 rm -f conftest.$ac_objext 7129 if { (ac_try="$ac_compile" 7130 case "(($ac_try" in 7131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7132 *) ac_try_echo=$ac_try;; 7133 esac 7134 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7135 $as_echo "$ac_try_echo") >&5 7136 (eval "$ac_compile") 2>conftest.er1 7137 ac_status=$? 7138 grep -v '^ *+' conftest.er1 >conftest.err 7139 rm -f conftest.er1 7140 cat conftest.err >&5 7141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7142 (exit $ac_status); } && { 7143 test -z "$ac_c_werror_flag" || 7144 test ! -s conftest.err 7145 } && test -s conftest.$ac_objext; then 6286 if ac_fn_c_try_compile "$LINENO"; then : 7146 6287 ac_cv_prog_cc_c89=$ac_arg 7147 else 7148 $as_echo "$as_me: failed program was:" >&5 7149 sed 's/^/| /' conftest.$ac_ext >&5 7150 7151 7152 fi 7153 6288 fi 7154 6289 rm -f core conftest.err conftest.$ac_objext 7155 6290 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 7162 6297 case "x$ac_cv_prog_cc_c89" in 7163 6298 x) 7164 { $as_echo "$as_me:$ LINENO: result: none needed" >&56299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 7165 6300 $as_echo "none needed" >&6; } ;; 7166 6301 xno) 7167 { $as_echo "$as_me:$ LINENO: result: unsupported" >&56302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 7168 6303 $as_echo "unsupported" >&6; } ;; 7169 6304 *) 7170 6305 CC="$CC $ac_cv_prog_cc_c89" 7171 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&56306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 7172 6307 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 7173 6308 esac 7174 6309 if test "x$ac_cv_prog_cc_c89" != xno; then : 6310 6311 fi 7175 6312 7176 6313 ac_ext=c … … 7185 6322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7186 6323 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7187 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&56324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7188 6325 $as_echo_n "checking how to run the C preprocessor... " >&6; } 7189 6326 # On Suns, sometimes $CPP names a directory. … … 7192 6329 fi 7193 6330 if test -z "$CPP"; then 7194 if test "${ac_cv_prog_CPP+set}" = set; then 6331 if test "${ac_cv_prog_CPP+set}" = set; then : 7195 6332 $as_echo_n "(cached) " >&6 7196 6333 else … … 7207 6344 # On the NeXT, cc -E runs the code through the compiler's parser, 7208 6345 # not just through cpp. "Syntax error" is here to catch this case. 7209 cat >conftest.$ac_ext <<_ACEOF 7210 /* confdefs.h. */ 7211 _ACEOF 7212 cat confdefs.h >>conftest.$ac_ext 7213 cat >>conftest.$ac_ext <<_ACEOF 6346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7214 6347 /* end confdefs.h. */ 7215 6348 #ifdef __STDC__ … … 7220 6353 Syntax error 7221 6354 _ACEOF 7222 if { (ac_try="$ac_cpp conftest.$ac_ext" 7223 case "(($ac_try" in 7224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7225 *) ac_try_echo=$ac_try;; 7226 esac 7227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7228 $as_echo "$ac_try_echo") >&5 7229 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7230 ac_status=$? 7231 grep -v '^ *+' conftest.er1 >conftest.err 7232 rm -f conftest.er1 7233 cat conftest.err >&5 7234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7235 (exit $ac_status); } >/dev/null && { 7236 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7237 test ! -s conftest.err 7238 }; then 7239 : 7240 else 7241 $as_echo "$as_me: failed program was:" >&5 7242 sed 's/^/| /' conftest.$ac_ext >&5 7243 6355 if ac_fn_c_try_cpp "$LINENO"; then : 6356 6357 else 7244 6358 # Broken: fails on valid input. 7245 6359 continue 7246 6360 fi 7247 7248 6361 rm -f conftest.err conftest.$ac_ext 7249 6362 7250 6363 # OK, works on sane cases. Now check whether nonexistent headers 7251 6364 # can be detected and how. 7252 cat >conftest.$ac_ext <<_ACEOF 7253 /* confdefs.h. */ 7254 _ACEOF 7255 cat confdefs.h >>conftest.$ac_ext 7256 cat >>conftest.$ac_ext <<_ACEOF 6365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7257 6366 /* end confdefs.h. */ 7258 6367 #include <ac_nonexistent.h> 7259 6368 _ACEOF 7260 if { (ac_try="$ac_cpp conftest.$ac_ext" 7261 case "(($ac_try" in 7262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7263 *) ac_try_echo=$ac_try;; 7264 esac 7265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7266 $as_echo "$ac_try_echo") >&5 7267 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7268 ac_status=$? 7269 grep -v '^ *+' conftest.er1 >conftest.err 7270 rm -f conftest.er1 7271 cat conftest.err >&5 7272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7273 (exit $ac_status); } >/dev/null && { 7274 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7275 test ! -s conftest.err 7276 }; then 6369 if ac_fn_c_try_cpp "$LINENO"; then : 7277 6370 # Broken: success on invalid input. 7278 6371 continue 7279 6372 else 7280 $as_echo "$as_me: failed program was:" >&57281 sed 's/^/| /' conftest.$ac_ext >&57282 7283 6373 # Passes both tests. 7284 6374 ac_preproc_ok=: 7285 6375 break 7286 6376 fi 7287 7288 6377 rm -f conftest.err conftest.$ac_ext 7289 6378 … … 7291 6380 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7292 6381 rm -f conftest.err conftest.$ac_ext 7293 if $ac_preproc_ok; then 6382 if $ac_preproc_ok; then : 7294 6383 break 7295 6384 fi … … 7303 6392 ac_cv_prog_CPP=$CPP 7304 6393 fi 7305 { $as_echo "$as_me:$ LINENO: result: $CPP" >&56394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7306 6395 $as_echo "$CPP" >&6; } 7307 6396 ac_preproc_ok=false … … 7314 6403 # On the NeXT, cc -E runs the code through the compiler's parser, 7315 6404 # not just through cpp. "Syntax error" is here to catch this case. 7316 cat >conftest.$ac_ext <<_ACEOF 7317 /* confdefs.h. */ 7318 _ACEOF 7319 cat confdefs.h >>conftest.$ac_ext 7320 cat >>conftest.$ac_ext <<_ACEOF 6405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7321 6406 /* end confdefs.h. */ 7322 6407 #ifdef __STDC__ … … 7327 6412 Syntax error 7328 6413 _ACEOF 7329 if { (ac_try="$ac_cpp conftest.$ac_ext" 7330 case "(($ac_try" in 7331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7332 *) ac_try_echo=$ac_try;; 7333 esac 7334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7335 $as_echo "$ac_try_echo") >&5 7336 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7337 ac_status=$? 7338 grep -v '^ *+' conftest.er1 >conftest.err 7339 rm -f conftest.er1 7340 cat conftest.err >&5 7341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7342 (exit $ac_status); } >/dev/null && { 7343 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7344 test ! -s conftest.err 7345 }; then 7346 : 7347 else 7348 $as_echo "$as_me: failed program was:" >&5 7349 sed 's/^/| /' conftest.$ac_ext >&5 7350 6414 if ac_fn_c_try_cpp "$LINENO"; then : 6415 6416 else 7351 6417 # Broken: fails on valid input. 7352 6418 continue 7353 6419 fi 7354 7355 6420 rm -f conftest.err conftest.$ac_ext 7356 6421 7357 6422 # OK, works on sane cases. Now check whether nonexistent headers 7358 6423 # can be detected and how. 7359 cat >conftest.$ac_ext <<_ACEOF 7360 /* confdefs.h. */ 7361 _ACEOF 7362 cat confdefs.h >>conftest.$ac_ext 7363 cat >>conftest.$ac_ext <<_ACEOF 6424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7364 6425 /* end confdefs.h. */ 7365 6426 #include <ac_nonexistent.h> 7366 6427 _ACEOF 7367 if { (ac_try="$ac_cpp conftest.$ac_ext" 7368 case "(($ac_try" in 7369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7370 *) ac_try_echo=$ac_try;; 7371 esac 7372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7373 $as_echo "$ac_try_echo") >&5 7374 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7375 ac_status=$? 7376 grep -v '^ *+' conftest.er1 >conftest.err 7377 rm -f conftest.er1 7378 cat conftest.err >&5 7379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7380 (exit $ac_status); } >/dev/null && { 7381 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7382 test ! -s conftest.err 7383 }; then 6428 if ac_fn_c_try_cpp "$LINENO"; then : 7384 6429 # Broken: success on invalid input. 7385 6430 continue 7386 6431 else 7387 $as_echo "$as_me: failed program was:" >&57388 sed 's/^/| /' conftest.$ac_ext >&57389 7390 6432 # Passes both tests. 7391 6433 ac_preproc_ok=: 7392 6434 break 7393 6435 fi 7394 7395 6436 rm -f conftest.err conftest.$ac_ext 7396 6437 … … 7398 6439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7399 6440 rm -f conftest.err conftest.$ac_ext 7400 if $ac_preproc_ok; then 7401 : 7402 else 7403 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&56441 if $ac_preproc_ok; then : 6442 6443 else 6444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7404 6445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7405 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 7406 See \`config.log' for more details." >&5 7407 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 7408 See \`config.log' for more details." >&2;} 7409 { (exit 1); exit 1; }; }; } 6446 as_fn_error "C preprocessor \"$CPP\" fails sanity check 6447 See \`config.log' for more details." "$LINENO" 5; } 7410 6448 fi 7411 6449 … … 7430 6468 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7431 6469 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7432 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7433 6471 $as_echo_n "checking for $ac_word... " >&6; } 7434 if test "${ac_cv_prog_CXX+set}" = set; then 6472 if test "${ac_cv_prog_CXX+set}" = set; then : 7435 6473 $as_echo_n "(cached) " >&6 7436 6474 else … … 7443 6481 IFS=$as_save_IFS 7444 6482 test -z "$as_dir" && as_dir=. 7445 for ac_exec_ext in '' $ac_executable_extensions; do6483 for ac_exec_ext in '' $ac_executable_extensions; do 7446 6484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7447 6485 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 7448 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7449 6487 break 2 7450 6488 fi 7451 6489 done 7452 done6490 done 7453 6491 IFS=$as_save_IFS 7454 6492 … … 7457 6495 CXX=$ac_cv_prog_CXX 7458 6496 if test -n "$CXX"; then 7459 { $as_echo "$as_me:$ LINENO: result: $CXX" >&56497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 7460 6498 $as_echo "$CXX" >&6; } 7461 6499 else 7462 { $as_echo "$as_me:$ LINENO: result: no" >&56500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7463 6501 $as_echo "no" >&6; } 7464 6502 fi … … 7474 6512 # Extract the first word of "$ac_prog", so it can be a program name with args. 7475 6513 set dummy $ac_prog; ac_word=$2 7476 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7477 6515 $as_echo_n "checking for $ac_word... " >&6; } 7478 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 6516 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 7479 6517 $as_echo_n "(cached) " >&6 7480 6518 else … … 7487 6525 IFS=$as_save_IFS 7488 6526 test -z "$as_dir" && as_dir=. 7489 for ac_exec_ext in '' $ac_executable_extensions; do6527 for ac_exec_ext in '' $ac_executable_extensions; do 7490 6528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7491 6529 ac_cv_prog_ac_ct_CXX="$ac_prog" 7492 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7493 6531 break 2 7494 6532 fi 7495 6533 done 7496 done6534 done 7497 6535 IFS=$as_save_IFS 7498 6536 … … 7501 6539 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7502 6540 if test -n "$ac_ct_CXX"; then 7503 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&56541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 7504 6542 $as_echo "$ac_ct_CXX" >&6; } 7505 6543 else 7506 { $as_echo "$as_me:$ LINENO: result: no" >&56544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7507 6545 $as_echo "no" >&6; } 7508 6546 fi … … 7517 6555 case $cross_compiling:$ac_tool_warned in 7518 6556 yes:) 7519 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&56557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7520 6558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7521 6559 ac_tool_warned=yes ;; … … 7528 6566 fi 7529 6567 # Provide some information about the compiler. 7530 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&56568 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 7531 6569 set X $ac_compile 7532 6570 ac_compiler=$2 7533 { (ac_try="$ac_compiler --version >&5" 6571 for ac_option in --version -v -V -qversion; do 6572 { { ac_try="$ac_compiler $ac_option >&5" 7534 6573 case "(($ac_try" in 7535 6574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7536 6575 *) ac_try_echo=$ac_try;; 7537 6576 esac 7538 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""7539 $as_echo "$ac_try_echo" )>&57540 (eval "$ac_compiler --version >&5") 2>&56577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 6578 $as_echo "$ac_try_echo"; } >&5 6579 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 7541 6580 ac_status=$? 7542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7543 (exit $ac_status); } 7544 { (ac_try="$ac_compiler -v >&5" 7545 case "(($ac_try" in 7546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7547 *) ac_try_echo=$ac_try;; 7548 esac 7549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7550 $as_echo "$ac_try_echo") >&5 7551 (eval "$ac_compiler -v >&5") 2>&5 7552 ac_status=$? 7553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7554 (exit $ac_status); } 7555 { (ac_try="$ac_compiler -V >&5" 7556 case "(($ac_try" in 7557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7558 *) ac_try_echo=$ac_try;; 7559 esac 7560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7561 $as_echo "$ac_try_echo") >&5 7562 (eval "$ac_compiler -V >&5") 2>&5 7563 ac_status=$? 7564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7565 (exit $ac_status); } 7566 7567 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 6581 if test -s conftest.err; then 6582 sed '10a\ 6583 ... rest of stderr output deleted ... 6584 10q' conftest.err >conftest.er1 6585 cat conftest.er1 >&5 6586 fi 6587 rm -f conftest.er1 conftest.err 6588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6589 test $ac_status = 0; } 6590 done 6591 6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 7568 6593 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7569 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 6594 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 7570 6595 $as_echo_n "(cached) " >&6 7571 6596 else 7572 cat >conftest.$ac_ext <<_ACEOF 7573 /* confdefs.h. */ 7574 _ACEOF 7575 cat confdefs.h >>conftest.$ac_ext 7576 cat >>conftest.$ac_ext <<_ACEOF 6597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7577 6598 /* end confdefs.h. */ 7578 6599 … … 7588 6609 } 7589 6610 _ACEOF 7590 rm -f conftest.$ac_objext 7591 if { (ac_try="$ac_compile" 7592 case "(($ac_try" in 7593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7594 *) ac_try_echo=$ac_try;; 7595 esac 7596 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7597 $as_echo "$ac_try_echo") >&5 7598 (eval "$ac_compile") 2>conftest.er1 7599 ac_status=$? 7600 grep -v '^ *+' conftest.er1 >conftest.err 7601 rm -f conftest.er1 7602 cat conftest.err >&5 7603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7604 (exit $ac_status); } && { 7605 test -z "$ac_cxx_werror_flag" || 7606 test ! -s conftest.err 7607 } && test -s conftest.$ac_objext; then 6611 if ac_fn_cxx_try_compile "$LINENO"; then : 7608 6612 ac_compiler_gnu=yes 7609 6613 else 7610 $as_echo "$as_me: failed program was:" >&5 7611 sed 's/^/| /' conftest.$ac_ext >&5 7612 7613 ac_compiler_gnu=no 7614 fi 7615 6614 ac_compiler_gnu=no 6615 fi 7616 6616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7617 6617 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 7618 6618 7619 6619 fi 7620 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&56620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 7621 6621 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 7622 6622 if test $ac_compiler_gnu = yes; then … … 7627 6627 ac_test_CXXFLAGS=${CXXFLAGS+set} 7628 6628 ac_save_CXXFLAGS=$CXXFLAGS 7629 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&56629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 7630 6630 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 7631 if test "${ac_cv_prog_cxx_g+set}" = set; then 6631 if test "${ac_cv_prog_cxx_g+set}" = set; then : 7632 6632 $as_echo_n "(cached) " >&6 7633 6633 else … … 7636 6636 ac_cv_prog_cxx_g=no 7637 6637 CXXFLAGS="-g" 7638 cat >conftest.$ac_ext <<_ACEOF 7639 /* confdefs.h. */ 7640 _ACEOF 7641 cat confdefs.h >>conftest.$ac_ext 7642 cat >>conftest.$ac_ext <<_ACEOF 6638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7643 6639 /* end confdefs.h. */ 7644 6640 … … 7651 6647 } 7652 6648 _ACEOF 7653 rm -f conftest.$ac_objext 7654 if { (ac_try="$ac_compile" 7655 case "(($ac_try" in 7656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7657 *) ac_try_echo=$ac_try;; 7658 esac 7659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7660 $as_echo "$ac_try_echo") >&5 7661 (eval "$ac_compile") 2>conftest.er1 7662 ac_status=$? 7663 grep -v '^ *+' conftest.er1 >conftest.err 7664 rm -f conftest.er1 7665 cat conftest.err >&5 7666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7667 (exit $ac_status); } && { 7668 test -z "$ac_cxx_werror_flag" || 7669 test ! -s conftest.err 7670 } && test -s conftest.$ac_objext; then 6649 if ac_fn_cxx_try_compile "$LINENO"; then : 7671 6650 ac_cv_prog_cxx_g=yes 7672 6651 else 7673 $as_echo "$as_me: failed program was:" >&5 7674 sed 's/^/| /' conftest.$ac_ext >&5 7675 7676 CXXFLAGS="" 7677 cat >conftest.$ac_ext <<_ACEOF 7678 /* confdefs.h. */ 7679 _ACEOF 7680 cat confdefs.h >>conftest.$ac_ext 7681 cat >>conftest.$ac_ext <<_ACEOF 6652 CXXFLAGS="" 6653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7682 6654 /* end confdefs.h. */ 7683 6655 … … 7690 6662 } 7691 6663 _ACEOF 7692 rm -f conftest.$ac_objext 7693 if { (ac_try="$ac_compile" 7694 case "(($ac_try" in 7695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7696 *) ac_try_echo=$ac_try;; 7697 esac 7698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7699 $as_echo "$ac_try_echo") >&5 7700 (eval "$ac_compile") 2>conftest.er1 7701 ac_status=$? 7702 grep -v '^ *+' conftest.er1 >conftest.err 7703 rm -f conftest.er1 7704 cat conftest.err >&5 7705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7706 (exit $ac_status); } && { 7707 test -z "$ac_cxx_werror_flag" || 7708 test ! -s conftest.err 7709 } && test -s conftest.$ac_objext; then 7710 : 7711 else 7712 $as_echo "$as_me: failed program was:" >&5 7713 sed 's/^/| /' conftest.$ac_ext >&5 7714 7715 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 6664 if ac_fn_cxx_try_compile "$LINENO"; then : 6665 6666 else 6667 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7716 6668 CXXFLAGS="-g" 7717 cat >conftest.$ac_ext <<_ACEOF 7718 /* confdefs.h. */ 7719 _ACEOF 7720 cat confdefs.h >>conftest.$ac_ext 7721 cat >>conftest.$ac_ext <<_ACEOF 6669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7722 6670 /* end confdefs.h. */ 7723 6671 … … 7730 6678 } 7731 6679 _ACEOF 7732 rm -f conftest.$ac_objext 7733 if { (ac_try="$ac_compile" 7734 case "(($ac_try" in 7735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7736 *) ac_try_echo=$ac_try;; 7737 esac 7738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7739 $as_echo "$ac_try_echo") >&5 7740 (eval "$ac_compile") 2>conftest.er1 7741 ac_status=$? 7742 grep -v '^ *+' conftest.er1 >conftest.err 7743 rm -f conftest.er1 7744 cat conftest.err >&5 7745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7746 (exit $ac_status); } && { 7747 test -z "$ac_cxx_werror_flag" || 7748 test ! -s conftest.err 7749 } && test -s conftest.$ac_objext; then 6680 if ac_fn_cxx_try_compile "$LINENO"; then : 7750 6681 ac_cv_prog_cxx_g=yes 7751 else 7752 $as_echo "$as_me: failed program was:" >&5 7753 sed 's/^/| /' conftest.$ac_ext >&5 7754 7755 7756 fi 7757 6682 fi 7758 6683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7759 6684 fi 7760 7761 6685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7762 6686 fi 7763 7764 6687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7765 6688 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7766 6689 fi 7767 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&56690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 7768 6691 $as_echo "$ac_cv_prog_cxx_g" >&6; } 7769 6692 if test "$ac_test_CXXFLAGS" = set; then … … 7793 6716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7794 6717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7795 { $as_echo "$as_me:$ LINENO: checking how to run the C++ preprocessor" >&56718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 7796 6719 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 7797 6720 if test -z "$CXXCPP"; then 7798 if test "${ac_cv_prog_CXXCPP+set}" = set; then 6721 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 7799 6722 $as_echo_n "(cached) " >&6 7800 6723 else … … 7811 6734 # On the NeXT, cc -E runs the code through the compiler's parser, 7812 6735 # not just through cpp. "Syntax error" is here to catch this case. 7813 cat >conftest.$ac_ext <<_ACEOF 7814 /* confdefs.h. */ 7815 _ACEOF 7816 cat confdefs.h >>conftest.$ac_ext 7817 cat >>conftest.$ac_ext <<_ACEOF 6736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7818 6737 /* end confdefs.h. */ 7819 6738 #ifdef __STDC__ … … 7824 6743 Syntax error 7825 6744 _ACEOF 7826 if { (ac_try="$ac_cpp conftest.$ac_ext" 7827 case "(($ac_try" in 7828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7829 *) ac_try_echo=$ac_try;; 7830 esac 7831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7832 $as_echo "$ac_try_echo") >&5 7833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7834 ac_status=$? 7835 grep -v '^ *+' conftest.er1 >conftest.err 7836 rm -f conftest.er1 7837 cat conftest.err >&5 7838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7839 (exit $ac_status); } >/dev/null && { 7840 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7841 test ! -s conftest.err 7842 }; then 7843 : 7844 else 7845 $as_echo "$as_me: failed program was:" >&5 7846 sed 's/^/| /' conftest.$ac_ext >&5 7847 6745 if ac_fn_cxx_try_cpp "$LINENO"; then : 6746 6747 else 7848 6748 # Broken: fails on valid input. 7849 6749 continue 7850 6750 fi 7851 7852 6751 rm -f conftest.err conftest.$ac_ext 7853 6752 7854 6753 # OK, works on sane cases. Now check whether nonexistent headers 7855 6754 # can be detected and how. 7856 cat >conftest.$ac_ext <<_ACEOF 7857 /* confdefs.h. */ 7858 _ACEOF 7859 cat confdefs.h >>conftest.$ac_ext 7860 cat >>conftest.$ac_ext <<_ACEOF 6755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7861 6756 /* end confdefs.h. */ 7862 6757 #include <ac_nonexistent.h> 7863 6758 _ACEOF 7864 if { (ac_try="$ac_cpp conftest.$ac_ext" 7865 case "(($ac_try" in 7866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7867 *) ac_try_echo=$ac_try;; 7868 esac 7869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7870 $as_echo "$ac_try_echo") >&5 7871 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7872 ac_status=$? 7873 grep -v '^ *+' conftest.er1 >conftest.err 7874 rm -f conftest.er1 7875 cat conftest.err >&5 7876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7877 (exit $ac_status); } >/dev/null && { 7878 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7879 test ! -s conftest.err 7880 }; then 6759 if ac_fn_cxx_try_cpp "$LINENO"; then : 7881 6760 # Broken: success on invalid input. 7882 6761 continue 7883 6762 else 7884 $as_echo "$as_me: failed program was:" >&57885 sed 's/^/| /' conftest.$ac_ext >&57886 7887 6763 # Passes both tests. 7888 6764 ac_preproc_ok=: 7889 6765 break 7890 6766 fi 7891 7892 6767 rm -f conftest.err conftest.$ac_ext 7893 6768 … … 7895 6770 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7896 6771 rm -f conftest.err conftest.$ac_ext 7897 if $ac_preproc_ok; then 6772 if $ac_preproc_ok; then : 7898 6773 break 7899 6774 fi … … 7907 6782 ac_cv_prog_CXXCPP=$CXXCPP 7908 6783 fi 7909 { $as_echo "$as_me:$ LINENO: result: $CXXCPP" >&56784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 7910 6785 $as_echo "$CXXCPP" >&6; } 7911 6786 ac_preproc_ok=false … … 7918 6793 # On the NeXT, cc -E runs the code through the compiler's parser, 7919 6794 # not just through cpp. "Syntax error" is here to catch this case. 7920 cat >conftest.$ac_ext <<_ACEOF 7921 /* confdefs.h. */ 7922 _ACEOF 7923 cat confdefs.h >>conftest.$ac_ext 7924 cat >>conftest.$ac_ext <<_ACEOF 6795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7925 6796 /* end confdefs.h. */ 7926 6797 #ifdef __STDC__ … … 7931 6802 Syntax error 7932 6803 _ACEOF 7933 if { (ac_try="$ac_cpp conftest.$ac_ext" 7934 case "(($ac_try" in 7935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7936 *) ac_try_echo=$ac_try;; 7937 esac 7938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7939 $as_echo "$ac_try_echo") >&5 7940 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7941 ac_status=$? 7942 grep -v '^ *+' conftest.er1 >conftest.err 7943 rm -f conftest.er1 7944 cat conftest.err >&5 7945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7946 (exit $ac_status); } >/dev/null && { 7947 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7948 test ! -s conftest.err 7949 }; then 7950 : 7951 else 7952 $as_echo "$as_me: failed program was:" >&5 7953 sed 's/^/| /' conftest.$ac_ext >&5 7954 6804 if ac_fn_cxx_try_cpp "$LINENO"; then : 6805 6806 else 7955 6807 # Broken: fails on valid input. 7956 6808 continue 7957 6809 fi 7958 7959 6810 rm -f conftest.err conftest.$ac_ext 7960 6811 7961 6812 # OK, works on sane cases. Now check whether nonexistent headers 7962 6813 # can be detected and how. 7963 cat >conftest.$ac_ext <<_ACEOF 7964 /* confdefs.h. */ 7965 _ACEOF 7966 cat confdefs.h >>conftest.$ac_ext 7967 cat >>conftest.$ac_ext <<_ACEOF 6814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7968 6815 /* end confdefs.h. */ 7969 6816 #include <ac_nonexistent.h> 7970 6817 _ACEOF 7971 if { (ac_try="$ac_cpp conftest.$ac_ext" 7972 case "(($ac_try" in 7973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7974 *) ac_try_echo=$ac_try;; 7975 esac 7976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7977 $as_echo "$ac_try_echo") >&5 7978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7979 ac_status=$? 7980 grep -v '^ *+' conftest.er1 >conftest.err 7981 rm -f conftest.er1 7982 cat conftest.err >&5 7983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7984 (exit $ac_status); } >/dev/null && { 7985 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7986 test ! -s conftest.err 7987 }; then 6818 if ac_fn_cxx_try_cpp "$LINENO"; then : 7988 6819 # Broken: success on invalid input. 7989 6820 continue 7990 6821 else 7991 $as_echo "$as_me: failed program was:" >&57992 sed 's/^/| /' conftest.$ac_ext >&57993 7994 6822 # Passes both tests. 7995 6823 ac_preproc_ok=: 7996 6824 break 7997 6825 fi 7998 7999 6826 rm -f conftest.err conftest.$ac_ext 8000 6827 … … 8002 6829 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8003 6830 rm -f conftest.err conftest.$ac_ext 8004 if $ac_preproc_ok; then 8005 : 8006 else 8007 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&56831 if $ac_preproc_ok; then : 6832 6833 else 6834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8008 6835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8009 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8010 See \`config.log' for more details." >&5 8011 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8012 See \`config.log' for more details." >&2;} 8013 { (exit 1); exit 1; }; }; } 6836 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check 6837 See \`config.log' for more details." "$LINENO" 5; } 8014 6838 fi 8015 6839 … … 8034 6858 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8035 6859 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8036 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8037 6861 $as_echo_n "checking for $ac_word... " >&6; } 8038 if test "${ac_cv_prog_CXX+set}" = set; then 6862 if test "${ac_cv_prog_CXX+set}" = set; then : 8039 6863 $as_echo_n "(cached) " >&6 8040 6864 else … … 8047 6871 IFS=$as_save_IFS 8048 6872 test -z "$as_dir" && as_dir=. 8049 for ac_exec_ext in '' $ac_executable_extensions; do6873 for ac_exec_ext in '' $ac_executable_extensions; do 8050 6874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8051 6875 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 8052 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8053 6877 break 2 8054 6878 fi 8055 6879 done 8056 done6880 done 8057 6881 IFS=$as_save_IFS 8058 6882 … … 8061 6885 CXX=$ac_cv_prog_CXX 8062 6886 if test -n "$CXX"; then 8063 { $as_echo "$as_me:$ LINENO: result: $CXX" >&56887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 8064 6888 $as_echo "$CXX" >&6; } 8065 6889 else 8066 { $as_echo "$as_me:$ LINENO: result: no" >&56890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8067 6891 $as_echo "no" >&6; } 8068 6892 fi … … 8078 6902 # Extract the first word of "$ac_prog", so it can be a program name with args. 8079 6903 set dummy $ac_prog; ac_word=$2 8080 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8081 6905 $as_echo_n "checking for $ac_word... " >&6; } 8082 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 6906 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 8083 6907 $as_echo_n "(cached) " >&6 8084 6908 else … … 8091 6915 IFS=$as_save_IFS 8092 6916 test -z "$as_dir" && as_dir=. 8093 for ac_exec_ext in '' $ac_executable_extensions; do6917 for ac_exec_ext in '' $ac_executable_extensions; do 8094 6918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8095 6919 ac_cv_prog_ac_ct_CXX="$ac_prog" 8096 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8097 6921 break 2 8098 6922 fi 8099 6923 done 8100 done6924 done 8101 6925 IFS=$as_save_IFS 8102 6926 … … 8105 6929 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 8106 6930 if test -n "$ac_ct_CXX"; then 8107 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&56931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 8108 6932 $as_echo "$ac_ct_CXX" >&6; } 8109 6933 else 8110 { $as_echo "$as_me:$ LINENO: result: no" >&56934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8111 6935 $as_echo "no" >&6; } 8112 6936 fi … … 8121 6945 case $cross_compiling:$ac_tool_warned in 8122 6946 yes:) 8123 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&56947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8124 6948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8125 6949 ac_tool_warned=yes ;; … … 8132 6956 fi 8133 6957 # Provide some information about the compiler. 8134 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&56958 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 8135 6959 set X $ac_compile 8136 6960 ac_compiler=$2 8137 { (ac_try="$ac_compiler --version >&5" 6961 for ac_option in --version -v -V -qversion; do 6962 { { ac_try="$ac_compiler $ac_option >&5" 8138 6963 case "(($ac_try" in 8139 6964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8140 6965 *) ac_try_echo=$ac_try;; 8141 6966 esac 8142 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""8143 $as_echo "$ac_try_echo" )>&58144 (eval "$ac_compiler --version >&5") 2>&56967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 6968 $as_echo "$ac_try_echo"; } >&5 6969 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 8145 6970 ac_status=$? 8146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8147 (exit $ac_status); } 8148 { (ac_try="$ac_compiler -v >&5" 8149 case "(($ac_try" in 8150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8151 *) ac_try_echo=$ac_try;; 8152 esac 8153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8154 $as_echo "$ac_try_echo") >&5 8155 (eval "$ac_compiler -v >&5") 2>&5 8156 ac_status=$? 8157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8158 (exit $ac_status); } 8159 { (ac_try="$ac_compiler -V >&5" 8160 case "(($ac_try" in 8161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8162 *) ac_try_echo=$ac_try;; 8163 esac 8164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8165 $as_echo "$ac_try_echo") >&5 8166 (eval "$ac_compiler -V >&5") 2>&5 8167 ac_status=$? 8168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8169 (exit $ac_status); } 8170 8171 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 6971 if test -s conftest.err; then 6972 sed '10a\ 6973 ... rest of stderr output deleted ... 6974 10q' conftest.err >conftest.er1 6975 cat conftest.er1 >&5 6976 fi 6977 rm -f conftest.er1 conftest.err 6978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6979 test $ac_status = 0; } 6980 done 6981 6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8172 6983 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 8173 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 6984 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 8174 6985 $as_echo_n "(cached) " >&6 8175 6986 else 8176 cat >conftest.$ac_ext <<_ACEOF 8177 /* confdefs.h. */ 8178 _ACEOF 8179 cat confdefs.h >>conftest.$ac_ext 8180 cat >>conftest.$ac_ext <<_ACEOF 6987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8181 6988 /* end confdefs.h. */ 8182 6989 … … 8192 6999 } 8193 7000 _ACEOF 8194 rm -f conftest.$ac_objext 8195 if { (ac_try="$ac_compile" 8196 case "(($ac_try" in 8197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8198 *) ac_try_echo=$ac_try;; 8199 esac 8200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8201 $as_echo "$ac_try_echo") >&5 8202 (eval "$ac_compile") 2>conftest.er1 8203 ac_status=$? 8204 grep -v '^ *+' conftest.er1 >conftest.err 8205 rm -f conftest.er1 8206 cat conftest.err >&5 8207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8208 (exit $ac_status); } && { 8209 test -z "$ac_cxx_werror_flag" || 8210 test ! -s conftest.err 8211 } && test -s conftest.$ac_objext; then 7001 if ac_fn_cxx_try_compile "$LINENO"; then : 8212 7002 ac_compiler_gnu=yes 8213 7003 else 8214 $as_echo "$as_me: failed program was:" >&5 8215 sed 's/^/| /' conftest.$ac_ext >&5 8216 8217 ac_compiler_gnu=no 8218 fi 8219 7004 ac_compiler_gnu=no 7005 fi 8220 7006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8221 7007 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 8222 7008 8223 7009 fi 8224 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&57010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 8225 7011 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 8226 7012 if test $ac_compiler_gnu = yes; then … … 8231 7017 ac_test_CXXFLAGS=${CXXFLAGS+set} 8232 7018 ac_save_CXXFLAGS=$CXXFLAGS 8233 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&57019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 8234 7020 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 8235 if test "${ac_cv_prog_cxx_g+set}" = set; then 7021 if test "${ac_cv_prog_cxx_g+set}" = set; then : 8236 7022 $as_echo_n "(cached) " >&6 8237 7023 else … … 8240 7026 ac_cv_prog_cxx_g=no 8241 7027 CXXFLAGS="-g" 8242 cat >conftest.$ac_ext <<_ACEOF 8243 /* confdefs.h. */ 8244 _ACEOF 8245 cat confdefs.h >>conftest.$ac_ext 8246 cat >>conftest.$ac_ext <<_ACEOF 7028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8247 7029 /* end confdefs.h. */ 8248 7030 … … 8255 7037 } 8256 7038 _ACEOF 8257 rm -f conftest.$ac_objext 8258 if { (ac_try="$ac_compile" 8259 case "(($ac_try" in 8260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8261 *) ac_try_echo=$ac_try;; 8262 esac 8263 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8264 $as_echo "$ac_try_echo") >&5 8265 (eval "$ac_compile") 2>conftest.er1 8266 ac_status=$? 8267 grep -v '^ *+' conftest.er1 >conftest.err 8268 rm -f conftest.er1 8269 cat conftest.err >&5 8270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8271 (exit $ac_status); } && { 8272 test -z "$ac_cxx_werror_flag" || 8273 test ! -s conftest.err 8274 } && test -s conftest.$ac_objext; then 7039 if ac_fn_cxx_try_compile "$LINENO"; then : 8275 7040 ac_cv_prog_cxx_g=yes 8276 7041 else 8277 $as_echo "$as_me: failed program was:" >&5 8278 sed 's/^/| /' conftest.$ac_ext >&5 8279 8280 CXXFLAGS="" 8281 cat >conftest.$ac_ext <<_ACEOF 8282 /* confdefs.h. */ 8283 _ACEOF 8284 cat confdefs.h >>conftest.$ac_ext 8285 cat >>conftest.$ac_ext <<_ACEOF 7042 CXXFLAGS="" 7043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8286 7044 /* end confdefs.h. */ 8287 7045 … … 8294 7052 } 8295 7053 _ACEOF 8296 rm -f conftest.$ac_objext 8297 if { (ac_try="$ac_compile" 8298 case "(($ac_try" in 8299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8300 *) ac_try_echo=$ac_try;; 8301 esac 8302 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8303 $as_echo "$ac_try_echo") >&5 8304 (eval "$ac_compile") 2>conftest.er1 8305 ac_status=$? 8306 grep -v '^ *+' conftest.er1 >conftest.err 8307 rm -f conftest.er1 8308 cat conftest.err >&5 8309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8310 (exit $ac_status); } && { 8311 test -z "$ac_cxx_werror_flag" || 8312 test ! -s conftest.err 8313 } && test -s conftest.$ac_objext; then 8314 : 8315 else 8316 $as_echo "$as_me: failed program was:" >&5 8317 sed 's/^/| /' conftest.$ac_ext >&5 8318 8319 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7054 if ac_fn_cxx_try_compile "$LINENO"; then : 7055 7056 else 7057 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8320 7058 CXXFLAGS="-g" 8321 cat >conftest.$ac_ext <<_ACEOF 8322 /* confdefs.h. */ 8323 _ACEOF 8324 cat confdefs.h >>conftest.$ac_ext 8325 cat >>conftest.$ac_ext <<_ACEOF 7059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8326 7060 /* end confdefs.h. */ 8327 7061 … … 8334 7068 } 8335 7069 _ACEOF 8336 rm -f conftest.$ac_objext 8337 if { (ac_try="$ac_compile" 8338 case "(($ac_try" in 8339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8340 *) ac_try_echo=$ac_try;; 8341 esac 8342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8343 $as_echo "$ac_try_echo") >&5 8344 (eval "$ac_compile") 2>conftest.er1 8345 ac_status=$? 8346 grep -v '^ *+' conftest.er1 >conftest.err 8347 rm -f conftest.er1 8348 cat conftest.err >&5 8349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8350 (exit $ac_status); } && { 8351 test -z "$ac_cxx_werror_flag" || 8352 test ! -s conftest.err 8353 } && test -s conftest.$ac_objext; then 7070 if ac_fn_cxx_try_compile "$LINENO"; then : 8354 7071 ac_cv_prog_cxx_g=yes 8355 else 8356 $as_echo "$as_me: failed program was:" >&5 8357 sed 's/^/| /' conftest.$ac_ext >&5 8358 8359 8360 fi 8361 7072 fi 8362 7073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8363 7074 fi 8364 8365 7075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8366 7076 fi 8367 8368 7077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8369 7078 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8370 7079 fi 8371 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&57080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 8372 7081 $as_echo "$ac_cv_prog_cxx_g" >&6; } 8373 7082 if test "$ac_test_CXXFLAGS" = set; then … … 8400 7109 8401 7110 8402 8403 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 8404 7112 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 8405 if test "${ac_cv_c_bigendian+set}" = set; then 7113 if test "${ac_cv_c_bigendian+set}" = set; then : 8406 7114 $as_echo_n "(cached) " >&6 8407 7115 else 8408 7116 ac_cv_c_bigendian=unknown 8409 7117 # See if we're dealing with a universal compiler. 8410 cat >conftest.$ac_ext <<_ACEOF 8411 /* confdefs.h. */ 8412 _ACEOF 8413 cat confdefs.h >>conftest.$ac_ext 8414 cat >>conftest.$ac_ext <<_ACEOF 7118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8415 7119 /* end confdefs.h. */ 8416 7120 #ifndef __APPLE_CC__ … … 8420 7124 8421 7125 _ACEOF 8422 rm -f conftest.$ac_objext 8423 if { (ac_try="$ac_compile" 8424 case "(($ac_try" in 8425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8426 *) ac_try_echo=$ac_try;; 8427 esac 8428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8429 $as_echo "$ac_try_echo") >&5 8430 (eval "$ac_compile") 2>conftest.er1 8431 ac_status=$? 8432 grep -v '^ *+' conftest.er1 >conftest.err 8433 rm -f conftest.er1 8434 cat conftest.err >&5 8435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8436 (exit $ac_status); } && { 8437 test -z "$ac_cxx_werror_flag" || 8438 test ! -s conftest.err 8439 } && test -s conftest.$ac_objext; then 7126 if ac_fn_cxx_try_compile "$LINENO"; then : 8440 7127 8441 7128 # Check for potential -arch flags. It is not universal unless 8442 # there are some -arch flags. Note that *ppc* also matches 8443 # ppc64. This check is also rather less than ideal. 8444 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8445 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8446 esac 8447 else 8448 $as_echo "$as_me: failed program was:" >&5 8449 sed 's/^/| /' conftest.$ac_ext >&5 8450 8451 8452 fi 8453 7129 # there are at least two -arch flags with different values. 7130 ac_arch= 7131 ac_prev= 7132 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 7133 if test -n "$ac_prev"; then 7134 case $ac_word in 7135 i?86 | x86_64 | ppc | ppc64) 7136 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 7137 ac_arch=$ac_word 7138 else 7139 ac_cv_c_bigendian=universal 7140 break 7141 fi 7142 ;; 7143 esac 7144 ac_prev= 7145 elif test "x$ac_word" = "x-arch"; then 7146 ac_prev=arch 7147 fi 7148 done 7149 fi 8454 7150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8455 7151 if test $ac_cv_c_bigendian = unknown; then 8456 7152 # See if sys/param.h defines the BYTE_ORDER macro. 8457 cat >conftest.$ac_ext <<_ACEOF 8458 /* confdefs.h. */ 8459 _ACEOF 8460 cat confdefs.h >>conftest.$ac_ext 8461 cat >>conftest.$ac_ext <<_ACEOF 7153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8462 7154 /* end confdefs.h. */ 8463 7155 #include <sys/types.h> … … 8477 7169 } 8478 7170 _ACEOF 8479 rm -f conftest.$ac_objext 8480 if { (ac_try="$ac_compile" 8481 case "(($ac_try" in 8482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8483 *) ac_try_echo=$ac_try;; 8484 esac 8485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8486 $as_echo "$ac_try_echo") >&5 8487 (eval "$ac_compile") 2>conftest.er1 8488 ac_status=$? 8489 grep -v '^ *+' conftest.er1 >conftest.err 8490 rm -f conftest.er1 8491 cat conftest.err >&5 8492 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8493 (exit $ac_status); } && { 8494 test -z "$ac_cxx_werror_flag" || 8495 test ! -s conftest.err 8496 } && test -s conftest.$ac_objext; then 7171 if ac_fn_cxx_try_compile "$LINENO"; then : 8497 7172 # It does; now see whether it defined to BIG_ENDIAN or not. 8498 cat >conftest.$ac_ext <<_ACEOF 8499 /* confdefs.h. */ 8500 _ACEOF 8501 cat confdefs.h >>conftest.$ac_ext 8502 cat >>conftest.$ac_ext <<_ACEOF 7173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8503 7174 /* end confdefs.h. */ 8504 7175 #include <sys/types.h> … … 8516 7187 } 8517 7188 _ACEOF 8518 rm -f conftest.$ac_objext 8519 if { (ac_try="$ac_compile" 8520 case "(($ac_try" in 8521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8522 *) ac_try_echo=$ac_try;; 8523 esac 8524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8525 $as_echo "$ac_try_echo") >&5 8526 (eval "$ac_compile") 2>conftest.er1 8527 ac_status=$? 8528 grep -v '^ *+' conftest.er1 >conftest.err 8529 rm -f conftest.er1 8530 cat conftest.err >&5 8531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8532 (exit $ac_status); } && { 8533 test -z "$ac_cxx_werror_flag" || 8534 test ! -s conftest.err 8535 } && test -s conftest.$ac_objext; then 7189 if ac_fn_cxx_try_compile "$LINENO"; then : 8536 7190 ac_cv_c_bigendian=yes 8537 7191 else 8538 $as_echo "$as_me: failed program was:" >&5 8539 sed 's/^/| /' conftest.$ac_ext >&5 8540 8541 ac_cv_c_bigendian=no 8542 fi 8543 7192 ac_cv_c_bigendian=no 7193 fi 8544 7194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8545 else 8546 $as_echo "$as_me: failed program was:" >&5 8547 sed 's/^/| /' conftest.$ac_ext >&5 8548 8549 8550 fi 8551 7195 fi 8552 7196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8553 7197 fi 8554 7198 if test $ac_cv_c_bigendian = unknown; then 8555 7199 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8556 cat >conftest.$ac_ext <<_ACEOF 8557 /* confdefs.h. */ 8558 _ACEOF 8559 cat confdefs.h >>conftest.$ac_ext 8560 cat >>conftest.$ac_ext <<_ACEOF 7200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8561 7201 /* end confdefs.h. */ 8562 7202 #include <limits.h> … … 8573 7213 } 8574 7214 _ACEOF 8575 rm -f conftest.$ac_objext 8576 if { (ac_try="$ac_compile" 8577 case "(($ac_try" in 8578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8579 *) ac_try_echo=$ac_try;; 8580 esac 8581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8582 $as_echo "$ac_try_echo") >&5 8583 (eval "$ac_compile") 2>conftest.er1 8584 ac_status=$? 8585 grep -v '^ *+' conftest.er1 >conftest.err 8586 rm -f conftest.er1 8587 cat conftest.err >&5 8588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8589 (exit $ac_status); } && { 8590 test -z "$ac_cxx_werror_flag" || 8591 test ! -s conftest.err 8592 } && test -s conftest.$ac_objext; then 7215 if ac_fn_cxx_try_compile "$LINENO"; then : 8593 7216 # It does; now see whether it defined to _BIG_ENDIAN or not. 8594 cat >conftest.$ac_ext <<_ACEOF 8595 /* confdefs.h. */ 8596 _ACEOF 8597 cat confdefs.h >>conftest.$ac_ext 8598 cat >>conftest.$ac_ext <<_ACEOF 7217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8599 7218 /* end confdefs.h. */ 8600 7219 #include <limits.h> … … 8611 7230 } 8612 7231 _ACEOF 8613 rm -f conftest.$ac_objext 8614 if { (ac_try="$ac_compile" 8615 case "(($ac_try" in 8616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8617 *) ac_try_echo=$ac_try;; 8618 esac 8619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8620 $as_echo "$ac_try_echo") >&5 8621 (eval "$ac_compile") 2>conftest.er1 8622 ac_status=$? 8623 grep -v '^ *+' conftest.er1 >conftest.err 8624 rm -f conftest.er1 8625 cat conftest.err >&5 8626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8627 (exit $ac_status); } && { 8628 test -z "$ac_cxx_werror_flag" || 8629 test ! -s conftest.err 8630 } && test -s conftest.$ac_objext; then 7232 if ac_fn_cxx_try_compile "$LINENO"; then : 8631 7233 ac_cv_c_bigendian=yes 8632 7234 else 8633 $as_echo "$as_me: failed program was:" >&5 8634 sed 's/^/| /' conftest.$ac_ext >&5 8635 8636 ac_cv_c_bigendian=no 8637 fi 8638 7235 ac_cv_c_bigendian=no 7236 fi 8639 7237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8640 else 8641 $as_echo "$as_me: failed program was:" >&5 8642 sed 's/^/| /' conftest.$ac_ext >&5 8643 8644 8645 fi 8646 7238 fi 8647 7239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8648 7240 fi 8649 7241 if test $ac_cv_c_bigendian = unknown; then 8650 7242 # Compile a test program. 8651 if test "$cross_compiling" = yes; then 7243 if test "$cross_compiling" = yes; then : 8652 7244 # Try to guess by grepping values from an object file. 8653 cat >conftest.$ac_ext <<_ACEOF 8654 /* confdefs.h. */ 8655 _ACEOF 8656 cat confdefs.h >>conftest.$ac_ext 8657 cat >>conftest.$ac_ext <<_ACEOF 7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8658 7246 /* end confdefs.h. */ 8659 7247 short int ascii_mm[] = … … 8681 7269 } 8682 7270 _ACEOF 8683 rm -f conftest.$ac_objext 8684 if { (ac_try="$ac_compile" 8685 case "(($ac_try" in 8686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8687 *) ac_try_echo=$ac_try;; 8688 esac 8689 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8690 $as_echo "$ac_try_echo") >&5 8691 (eval "$ac_compile") 2>conftest.er1 8692 ac_status=$? 8693 grep -v '^ *+' conftest.er1 >conftest.err 8694 rm -f conftest.er1 8695 cat conftest.err >&5 8696 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8697 (exit $ac_status); } && { 8698 test -z "$ac_cxx_werror_flag" || 8699 test ! -s conftest.err 8700 } && test -s conftest.$ac_objext; then 7271 if ac_fn_cxx_try_compile "$LINENO"; then : 8701 7272 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 8702 7273 ac_cv_c_bigendian=yes … … 8710 7281 fi 8711 7282 fi 8712 else 8713 $as_echo "$as_me: failed program was:" >&5 8714 sed 's/^/| /' conftest.$ac_ext >&5 8715 8716 8717 fi 8718 7283 fi 8719 7284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8720 7285 else 8721 cat >conftest.$ac_ext <<_ACEOF 8722 /* confdefs.h. */ 8723 _ACEOF 8724 cat confdefs.h >>conftest.$ac_ext 8725 cat >>conftest.$ac_ext <<_ACEOF 7286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8726 7287 /* end confdefs.h. */ 8727 7288 $ac_includes_default … … 8743 7304 } 8744 7305 _ACEOF 8745 rm -f conftest$ac_exeext 8746 if { (ac_try="$ac_link" 8747 case "(($ac_try" in 8748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8749 *) ac_try_echo=$ac_try;; 8750 esac 8751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8752 $as_echo "$ac_try_echo") >&5 8753 (eval "$ac_link") 2>&5 8754 ac_status=$? 8755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8757 { (case "(($ac_try" in 8758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8759 *) ac_try_echo=$ac_try;; 8760 esac 8761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8762 $as_echo "$ac_try_echo") >&5 8763 (eval "$ac_try") 2>&5 8764 ac_status=$? 8765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8766 (exit $ac_status); }; }; then 7306 if ac_fn_cxx_try_run "$LINENO"; then : 8767 7307 ac_cv_c_bigendian=no 8768 7308 else 8769 $as_echo "$as_me: program exited with status $ac_status" >&5 8770 $as_echo "$as_me: failed program was:" >&5 8771 sed 's/^/| /' conftest.$ac_ext >&5 8772 8773 ( exit $ac_status ) 8774 ac_cv_c_bigendian=yes 8775 fi 8776 rm -rf conftest.dSYM 8777 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8778 fi 8779 7309 ac_cv_c_bigendian=yes 7310 fi 7311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7312 conftest.$ac_objext conftest.beam conftest.$ac_ext 7313 fi 8780 7314 8781 7315 fi 8782 7316 fi 8783 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_bigendian" >&57317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 8784 7318 $as_echo "$ac_cv_c_bigendian" >&6; } 8785 7319 case $ac_cv_c_bigendian in #( 8786 7320 yes) 8787 cat >>confdefs.h <<\_ACEOF 8788 #define WORDS_BIGENDIAN 1 8789 _ACEOF 7321 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 8790 7322 ;; #( 8791 7323 no) … … 8793 7325 universal) 8794 7326 8795 cat >>confdefs.h <<\_ACEOF 8796 #define AC_APPLE_UNIVERSAL_BUILD 1 8797 _ACEOF 7327 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 8798 7328 8799 7329 ;; #( 8800 7330 *) 8801 { { $as_echo "$as_me:$LINENO: error: unknown endianness 8802 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 8803 $as_echo "$as_me: error: unknown endianness 8804 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8805 { (exit 1); exit 1; }; } ;; 7331 as_fn_error "unknown endianness 7332 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 8806 7333 esac 8807 7334 … … 8814 7341 8815 7342 # Check whether --with-tcllib was given. 8816 if test "${with_tcllib+set}" = set; then 7343 if test "${with_tcllib+set}" = set; then : 8817 7344 withval=$with_tcllib; with_tcllib=$withval 8818 7345 else … … 8867 7394 8868 7395 # Check whether --with-rappture was given. 8869 if test "${with_rappture+set}" = set; then 7396 if test "${with_rappture+set}" = set; then : 8870 7397 withval=$with_rappture; with_rappture=$withval 8871 7398 else … … 8876 7403 RP2_INCL_DIR="" 8877 7404 RP_DIR="" 8878 { $as_echo "$as_me:$ LINENO: checking for rappture" >&57405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rappture" >&5 8879 7406 $as_echo_n "checking for rappture... " >&6; } 8880 7407 if test "x$with_rappture" != "x" ; then … … 8882 7409 if test -f "$with_rappture" 8883 7410 then 8884 { $as_echo "$as_me:$ LINENO: result: no" >&57411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8885 7412 $as_echo "no" >&6; } 8886 { { $as_echo "$as_me:$LINENO: error: please provide --with-rappture with directory" >&5 8887 $as_echo "$as_me: error: please provide --with-rappture with directory" >&2;} 8888 { (exit 1); exit 1; }; } 7413 as_fn_error "please provide --with-rappture with directory" "$LINENO" 5 8889 7414 else 8890 7415 if test -d "$with_rappture" … … 8894 7419 RP2_INCL_DIR="$with_rappture/include/rappture2" 8895 7420 RP_DIR="$with_rappture" 8896 { $as_echo "$as_me:$ LINENO: result: yes" >&57421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8897 7422 $as_echo "yes" >&6; } 8898 7423 else 8899 { $as_echo "$as_me:$ LINENO: result: no" >&57424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8900 7425 $as_echo "no" >&6; } 8901 { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&5 8902 $as_echo "$as_me: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&2;} 8903 { (exit 1); exit 1; }; } 7426 as_fn_error "cannot find rappture2.h and librappture2.a, try using --with-rappture" "$LINENO" 5 8904 7427 fi 8905 7428 else 8906 { $as_echo "$as_me:$ LINENO: result: no" >&57429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8907 7430 $as_echo "no" >&6; } 8908 { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&5 8909 $as_echo "$as_me: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&2;} 8910 { (exit 1); exit 1; }; } 7431 as_fn_error "cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" "$LINENO" 5 8911 7432 fi 8912 7433 fi … … 8914 7435 RP2_INCL_DIR="$prefix/include/rappture2" 8915 7436 RP_DIR="$prefix" 8916 { $as_echo "$as_me:$ LINENO: result: set to prefix" >&57437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: set to prefix" >&5 8917 7438 $as_echo "set to prefix" >&6; } 8918 7439 fi 8919 7440 else 8920 7441 8921 8922 7442 for ac_header in rappture.h 8923 do 8924 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8925 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8926 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8927 $as_echo_n "checking for $ac_header... " >&6; } 8928 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8929 $as_echo_n "(cached) " >&6 8930 fi 8931 ac_res=`eval 'as_val=${'$as_ac_Header'} 8932 $as_echo "$as_val"'` 8933 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8934 $as_echo "$ac_res" >&6; } 8935 else 8936 # Is the header compilable? 8937 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8938 $as_echo_n "checking $ac_header usability... " >&6; } 8939 cat >conftest.$ac_ext <<_ACEOF 8940 /* confdefs.h. */ 8941 _ACEOF 8942 cat confdefs.h >>conftest.$ac_ext 8943 cat >>conftest.$ac_ext <<_ACEOF 8944 /* end confdefs.h. */ 8945 $ac_includes_default 8946 #include <$ac_header> 8947 _ACEOF 8948 rm -f conftest.$ac_objext 8949 if { (ac_try="$ac_compile" 8950 case "(($ac_try" in 8951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8952 *) ac_try_echo=$ac_try;; 8953 esac 8954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8955 $as_echo "$ac_try_echo") >&5 8956 (eval "$ac_compile") 2>conftest.er1 8957 ac_status=$? 8958 grep -v '^ *+' conftest.er1 >conftest.err 8959 rm -f conftest.er1 8960 cat conftest.err >&5 8961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8962 (exit $ac_status); } && { 8963 test -z "$ac_cxx_werror_flag" || 8964 test ! -s conftest.err 8965 } && test -s conftest.$ac_objext; then 8966 ac_header_compiler=yes 8967 else 8968 $as_echo "$as_me: failed program was:" >&5 8969 sed 's/^/| /' conftest.$ac_ext >&5 8970 8971 ac_header_compiler=no 8972 fi 8973 8974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8975 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8976 $as_echo "$ac_header_compiler" >&6; } 8977 8978 # Is the header present? 8979 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8980 $as_echo_n "checking $ac_header presence... " >&6; } 8981 cat >conftest.$ac_ext <<_ACEOF 8982 /* confdefs.h. */ 8983 _ACEOF 8984 cat confdefs.h >>conftest.$ac_ext 8985 cat >>conftest.$ac_ext <<_ACEOF 8986 /* end confdefs.h. */ 8987 #include <$ac_header> 8988 _ACEOF 8989 if { (ac_try="$ac_cpp conftest.$ac_ext" 8990 case "(($ac_try" in 8991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8992 *) ac_try_echo=$ac_try;; 8993 esac 8994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8995 $as_echo "$ac_try_echo") >&5 8996 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8997 ac_status=$? 8998 grep -v '^ *+' conftest.er1 >conftest.err 8999 rm -f conftest.er1 9000 cat conftest.err >&5 9001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9002 (exit $ac_status); } >/dev/null && { 9003 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9004 test ! -s conftest.err 9005 }; then 9006 ac_header_preproc=yes 9007 else 9008 $as_echo "$as_me: failed program was:" >&5 9009 sed 's/^/| /' conftest.$ac_ext >&5 9010 9011 ac_header_preproc=no 9012 fi 9013 9014 rm -f conftest.err conftest.$ac_ext 9015 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9016 $as_echo "$ac_header_preproc" >&6; } 9017 9018 # So? What about this header? 9019 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9020 yes:no: ) 9021 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9022 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9023 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9024 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9025 ac_header_preproc=yes 9026 ;; 9027 no:yes:* ) 9028 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9029 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9030 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9031 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9032 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9033 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9034 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9035 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9036 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9037 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9038 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9039 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9040 ( cat <<\_ASBOX 9041 ## ----------------------------------- ## 9042 ## Report this to rappture@nanohub.org ## 9043 ## ----------------------------------- ## 9044 _ASBOX 9045 ) | sed "s/^/$as_me: WARNING: /" >&2 9046 ;; 9047 esac 9048 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9049 $as_echo_n "checking for $ac_header... " >&6; } 9050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9051 $as_echo_n "(cached) " >&6 9052 else 9053 eval "$as_ac_Header=\$ac_header_preproc" 9054 fi 9055 ac_res=`eval 'as_val=${'$as_ac_Header'} 9056 $as_echo "$as_val"'` 9057 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9058 $as_echo "$ac_res" >&6; } 9059 9060 fi 9061 as_val=`eval 'as_val=${'$as_ac_Header'} 9062 $as_echo "$as_val"'` 9063 if test "x$as_val" = x""yes; then 7443 do : 7444 ac_fn_cxx_check_header_mongrel "$LINENO" "rappture.h" "ac_cv_header_rappture_h" "$ac_includes_default" 7445 if test "x$ac_cv_header_rappture_h" = x""yes; then : 7446 cat >>confdefs.h <<_ACEOF 7447 #define HAVE_RAPPTURE_H 1 7448 _ACEOF 7449 7450 else 7451 as_fn_error "cannot find rappture.h, try using --with-rappture" "$LINENO" 5 7452 fi 7453 7454 done 7455 7456 7457 7458 fi 7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${RP_DIR}/include" >&5 7460 $as_echo "${RP_DIR}/include" >&6; } 7461 7462 7463 7464 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glui.h" "ac_cv_header_GL_glui_h" "$ac_includes_default" 7465 if test "x$ac_cv_header_GL_glui_h" = x""yes; then : 7466 7467 fi 7468 7469 7470 ac_fn_cxx_check_header_mongrel "$LINENO" "glui.h" "ac_cv_header_glui_h" "$ac_includes_default" 7471 if test "x$ac_cv_header_glui_h" = x""yes; then : 7472 7473 fi 7474 7475 7476 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default" 7477 if test "x$ac_cv_header_GL_glut_h" = x""yes; then : 7478 7479 fi 7480 7481 7482 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default" 7483 if test "x$ac_cv_header_GL_glew_h" = x""yes; then : 7484 7485 fi 7486 7487 7488 ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default" 7489 if test "x$ac_cv_header_Cg_cgGL_h" = x""yes; then : 7490 7491 fi 7492 7493 7494 7495 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 7496 do : 7497 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7498 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 7499 eval as_val=\$$as_ac_Header 7500 if test "x$as_val" = x""yes; then : 9064 7501 cat >>confdefs.h <<_ACEOF 9065 7502 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9066 7503 _ACEOF 9067 7504 9068 else9069 { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h, try using --with-rappture" >&59070 $as_echo "$as_me: error: cannot find rappture.h, try using --with-rappture" >&2;}9071 { (exit 1); exit 1; }; }9072 7505 fi 9073 7506 9074 7507 done 9075 7508 9076 9077 9078 fi 9079 { $as_echo "$as_me:$LINENO: result: ${RP_DIR}/include" >&5 9080 $as_echo "${RP_DIR}/include" >&6; } 9081 9082 9083 9084 if test "${ac_cv_header_GL_glui_h+set}" = set; then 9085 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 9086 $as_echo_n "checking for GL/glui.h... " >&6; } 9087 if test "${ac_cv_header_GL_glui_h+set}" = set; then 9088 $as_echo_n "(cached) " >&6 9089 fi 9090 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 9091 $as_echo "$ac_cv_header_GL_glui_h" >&6; } 9092 else 9093 # Is the header compilable? 9094 { $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&5 9095 $as_echo_n "checking GL/glui.h usability... " >&6; } 9096 cat >conftest.$ac_ext <<_ACEOF 9097 /* confdefs.h. */ 9098 _ACEOF 9099 cat confdefs.h >>conftest.$ac_ext 9100 cat >>conftest.$ac_ext <<_ACEOF 9101 /* end confdefs.h. */ 9102 $ac_includes_default 9103 #include <GL/glui.h> 9104 _ACEOF 9105 rm -f conftest.$ac_objext 9106 if { (ac_try="$ac_compile" 9107 case "(($ac_try" in 9108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9109 *) ac_try_echo=$ac_try;; 9110 esac 9111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9112 $as_echo "$ac_try_echo") >&5 9113 (eval "$ac_compile") 2>conftest.er1 9114 ac_status=$? 9115 grep -v '^ *+' conftest.er1 >conftest.err 9116 rm -f conftest.er1 9117 cat conftest.err >&5 9118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9119 (exit $ac_status); } && { 9120 test -z "$ac_cxx_werror_flag" || 9121 test ! -s conftest.err 9122 } && test -s conftest.$ac_objext; then 9123 ac_header_compiler=yes 9124 else 9125 $as_echo "$as_me: failed program was:" >&5 9126 sed 's/^/| /' conftest.$ac_ext >&5 9127 9128 ac_header_compiler=no 9129 fi 9130 9131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9132 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9133 $as_echo "$ac_header_compiler" >&6; } 9134 9135 # Is the header present? 9136 { $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&5 9137 $as_echo_n "checking GL/glui.h presence... " >&6; } 9138 cat >conftest.$ac_ext <<_ACEOF 9139 /* confdefs.h. */ 9140 _ACEOF 9141 cat confdefs.h >>conftest.$ac_ext 9142 cat >>conftest.$ac_ext <<_ACEOF 9143 /* end confdefs.h. */ 9144 #include <GL/glui.h> 9145 _ACEOF 9146 if { (ac_try="$ac_cpp conftest.$ac_ext" 9147 case "(($ac_try" in 9148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9149 *) ac_try_echo=$ac_try;; 9150 esac 9151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9152 $as_echo "$ac_try_echo") >&5 9153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9154 ac_status=$? 9155 grep -v '^ *+' conftest.er1 >conftest.err 9156 rm -f conftest.er1 9157 cat conftest.err >&5 9158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9159 (exit $ac_status); } >/dev/null && { 9160 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9161 test ! -s conftest.err 9162 }; then 9163 ac_header_preproc=yes 9164 else 9165 $as_echo "$as_me: failed program was:" >&5 9166 sed 's/^/| /' conftest.$ac_ext >&5 9167 9168 ac_header_preproc=no 9169 fi 9170 9171 rm -f conftest.err conftest.$ac_ext 9172 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9173 $as_echo "$ac_header_preproc" >&6; } 9174 9175 # So? What about this header? 9176 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9177 yes:no: ) 9178 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 9179 $as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9180 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5 9181 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;} 9182 ac_header_preproc=yes 9183 ;; 9184 no:yes:* ) 9185 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5 9186 $as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;} 9187 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: check for missing prerequisite headers?" >&5 9188 $as_echo "$as_me: WARNING: GL/glui.h: check for missing prerequisite headers?" >&2;} 9189 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5 9190 $as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;} 9191 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&5 9192 $as_echo "$as_me: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&2;} 9193 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5 9194 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;} 9195 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5 9196 $as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;} 9197 ( cat <<\_ASBOX 9198 ## ----------------------------------- ## 9199 ## Report this to rappture@nanohub.org ## 9200 ## ----------------------------------- ## 9201 _ASBOX 9202 ) | sed "s/^/$as_me: WARNING: /" >&2 9203 ;; 9204 esac 9205 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 9206 $as_echo_n "checking for GL/glui.h... " >&6; } 9207 if test "${ac_cv_header_GL_glui_h+set}" = set; then 9208 $as_echo_n "(cached) " >&6 9209 else 9210 ac_cv_header_GL_glui_h=$ac_header_preproc 9211 fi 9212 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 9213 $as_echo "$ac_cv_header_GL_glui_h" >&6; } 9214 9215 fi 9216 9217 9218 if test "${ac_cv_header_glui_h+set}" = set; then 9219 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 9220 $as_echo_n "checking for glui.h... " >&6; } 9221 if test "${ac_cv_header_glui_h+set}" = set; then 9222 $as_echo_n "(cached) " >&6 9223 fi 9224 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 9225 $as_echo "$ac_cv_header_glui_h" >&6; } 9226 else 9227 # Is the header compilable? 9228 { $as_echo "$as_me:$LINENO: checking glui.h usability" >&5 9229 $as_echo_n "checking glui.h usability... " >&6; } 9230 cat >conftest.$ac_ext <<_ACEOF 9231 /* confdefs.h. */ 9232 _ACEOF 9233 cat confdefs.h >>conftest.$ac_ext 9234 cat >>conftest.$ac_ext <<_ACEOF 9235 /* end confdefs.h. */ 9236 $ac_includes_default 9237 #include <glui.h> 9238 _ACEOF 9239 rm -f conftest.$ac_objext 9240 if { (ac_try="$ac_compile" 9241 case "(($ac_try" in 9242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9243 *) ac_try_echo=$ac_try;; 9244 esac 9245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9246 $as_echo "$ac_try_echo") >&5 9247 (eval "$ac_compile") 2>conftest.er1 9248 ac_status=$? 9249 grep -v '^ *+' conftest.er1 >conftest.err 9250 rm -f conftest.er1 9251 cat conftest.err >&5 9252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9253 (exit $ac_status); } && { 9254 test -z "$ac_cxx_werror_flag" || 9255 test ! -s conftest.err 9256 } && test -s conftest.$ac_objext; then 9257 ac_header_compiler=yes 9258 else 9259 $as_echo "$as_me: failed program was:" >&5 9260 sed 's/^/| /' conftest.$ac_ext >&5 9261 9262 ac_header_compiler=no 9263 fi 9264 9265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9266 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9267 $as_echo "$ac_header_compiler" >&6; } 9268 9269 # Is the header present? 9270 { $as_echo "$as_me:$LINENO: checking glui.h presence" >&5 9271 $as_echo_n "checking glui.h presence... " >&6; } 9272 cat >conftest.$ac_ext <<_ACEOF 9273 /* confdefs.h. */ 9274 _ACEOF 9275 cat confdefs.h >>conftest.$ac_ext 9276 cat >>conftest.$ac_ext <<_ACEOF 9277 /* end confdefs.h. */ 9278 #include <glui.h> 9279 _ACEOF 9280 if { (ac_try="$ac_cpp conftest.$ac_ext" 9281 case "(($ac_try" in 9282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9283 *) ac_try_echo=$ac_try;; 9284 esac 9285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9286 $as_echo "$ac_try_echo") >&5 9287 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9288 ac_status=$? 9289 grep -v '^ *+' conftest.er1 >conftest.err 9290 rm -f conftest.er1 9291 cat conftest.err >&5 9292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9293 (exit $ac_status); } >/dev/null && { 9294 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9295 test ! -s conftest.err 9296 }; then 9297 ac_header_preproc=yes 9298 else 9299 $as_echo "$as_me: failed program was:" >&5 9300 sed 's/^/| /' conftest.$ac_ext >&5 9301 9302 ac_header_preproc=no 9303 fi 9304 9305 rm -f conftest.err conftest.$ac_ext 9306 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9307 $as_echo "$ac_header_preproc" >&6; } 9308 9309 # So? What about this header? 9310 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9311 yes:no: ) 9312 { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 9313 $as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9314 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5 9315 $as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;} 9316 ac_header_preproc=yes 9317 ;; 9318 no:yes:* ) 9319 { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5 9320 $as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;} 9321 { $as_echo "$as_me:$LINENO: WARNING: glui.h: check for missing prerequisite headers?" >&5 9322 $as_echo "$as_me: WARNING: glui.h: check for missing prerequisite headers?" >&2;} 9323 { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5 9324 $as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;} 9325 { $as_echo "$as_me:$LINENO: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&5 9326 $as_echo "$as_me: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&2;} 9327 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5 9328 $as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;} 9329 { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5 9330 $as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;} 9331 ( cat <<\_ASBOX 9332 ## ----------------------------------- ## 9333 ## Report this to rappture@nanohub.org ## 9334 ## ----------------------------------- ## 9335 _ASBOX 9336 ) | sed "s/^/$as_me: WARNING: /" >&2 9337 ;; 9338 esac 9339 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 9340 $as_echo_n "checking for glui.h... " >&6; } 9341 if test "${ac_cv_header_glui_h+set}" = set; then 9342 $as_echo_n "(cached) " >&6 9343 else 9344 ac_cv_header_glui_h=$ac_header_preproc 9345 fi 9346 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 9347 $as_echo "$ac_cv_header_glui_h" >&6; } 9348 9349 fi 9350 9351 9352 if test "${ac_cv_header_GL_glut_h+set}" = set; then 9353 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 9354 $as_echo_n "checking for GL/glut.h... " >&6; } 9355 if test "${ac_cv_header_GL_glut_h+set}" = set; then 9356 $as_echo_n "(cached) " >&6 9357 fi 9358 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 9359 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 9360 else 9361 # Is the header compilable? 9362 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5 9363 $as_echo_n "checking GL/glut.h usability... " >&6; } 9364 cat >conftest.$ac_ext <<_ACEOF 9365 /* confdefs.h. */ 9366 _ACEOF 9367 cat confdefs.h >>conftest.$ac_ext 9368 cat >>conftest.$ac_ext <<_ACEOF 9369 /* end confdefs.h. */ 9370 $ac_includes_default 9371 #include <GL/glut.h> 9372 _ACEOF 9373 rm -f conftest.$ac_objext 9374 if { (ac_try="$ac_compile" 9375 case "(($ac_try" in 9376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9377 *) ac_try_echo=$ac_try;; 9378 esac 9379 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9380 $as_echo "$ac_try_echo") >&5 9381 (eval "$ac_compile") 2>conftest.er1 9382 ac_status=$? 9383 grep -v '^ *+' conftest.er1 >conftest.err 9384 rm -f conftest.er1 9385 cat conftest.err >&5 9386 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9387 (exit $ac_status); } && { 9388 test -z "$ac_cxx_werror_flag" || 9389 test ! -s conftest.err 9390 } && test -s conftest.$ac_objext; then 9391 ac_header_compiler=yes 9392 else 9393 $as_echo "$as_me: failed program was:" >&5 9394 sed 's/^/| /' conftest.$ac_ext >&5 9395 9396 ac_header_compiler=no 9397 fi 9398 9399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9400 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9401 $as_echo "$ac_header_compiler" >&6; } 9402 9403 # Is the header present? 9404 { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5 9405 $as_echo_n "checking GL/glut.h presence... " >&6; } 9406 cat >conftest.$ac_ext <<_ACEOF 9407 /* confdefs.h. */ 9408 _ACEOF 9409 cat confdefs.h >>conftest.$ac_ext 9410 cat >>conftest.$ac_ext <<_ACEOF 9411 /* end confdefs.h. */ 9412 #include <GL/glut.h> 9413 _ACEOF 9414 if { (ac_try="$ac_cpp conftest.$ac_ext" 9415 case "(($ac_try" in 9416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9417 *) ac_try_echo=$ac_try;; 9418 esac 9419 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9420 $as_echo "$ac_try_echo") >&5 9421 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9422 ac_status=$? 9423 grep -v '^ *+' conftest.er1 >conftest.err 9424 rm -f conftest.er1 9425 cat conftest.err >&5 9426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9427 (exit $ac_status); } >/dev/null && { 9428 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9429 test ! -s conftest.err 9430 }; then 9431 ac_header_preproc=yes 9432 else 9433 $as_echo "$as_me: failed program was:" >&5 9434 sed 's/^/| /' conftest.$ac_ext >&5 9435 9436 ac_header_preproc=no 9437 fi 9438 9439 rm -f conftest.err conftest.$ac_ext 9440 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9441 $as_echo "$ac_header_preproc" >&6; } 9442 9443 # So? What about this header? 9444 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9445 yes:no: ) 9446 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5 9447 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9448 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5 9449 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;} 9450 ac_header_preproc=yes 9451 ;; 9452 no:yes:* ) 9453 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5 9454 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;} 9455 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5 9456 $as_echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;} 9457 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5 9458 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;} 9459 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5 9460 $as_echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;} 9461 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5 9462 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;} 9463 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5 9464 $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;} 9465 ( cat <<\_ASBOX 9466 ## ----------------------------------- ## 9467 ## Report this to rappture@nanohub.org ## 9468 ## ----------------------------------- ## 9469 _ASBOX 9470 ) | sed "s/^/$as_me: WARNING: /" >&2 9471 ;; 9472 esac 9473 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 9474 $as_echo_n "checking for GL/glut.h... " >&6; } 9475 if test "${ac_cv_header_GL_glut_h+set}" = set; then 9476 $as_echo_n "(cached) " >&6 9477 else 9478 ac_cv_header_GL_glut_h=$ac_header_preproc 9479 fi 9480 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 9481 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 9482 9483 fi 9484 9485 9486 if test "${ac_cv_header_GL_glew_h+set}" = set; then 9487 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 9488 $as_echo_n "checking for GL/glew.h... " >&6; } 9489 if test "${ac_cv_header_GL_glew_h+set}" = set; then 9490 $as_echo_n "(cached) " >&6 9491 fi 9492 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 9493 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 9494 else 9495 # Is the header compilable? 9496 { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5 9497 $as_echo_n "checking GL/glew.h usability... " >&6; } 9498 cat >conftest.$ac_ext <<_ACEOF 9499 /* confdefs.h. */ 9500 _ACEOF 9501 cat confdefs.h >>conftest.$ac_ext 9502 cat >>conftest.$ac_ext <<_ACEOF 9503 /* end confdefs.h. */ 9504 $ac_includes_default 9505 #include <GL/glew.h> 9506 _ACEOF 9507 rm -f conftest.$ac_objext 9508 if { (ac_try="$ac_compile" 9509 case "(($ac_try" in 9510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9511 *) ac_try_echo=$ac_try;; 9512 esac 9513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9514 $as_echo "$ac_try_echo") >&5 9515 (eval "$ac_compile") 2>conftest.er1 9516 ac_status=$? 9517 grep -v '^ *+' conftest.er1 >conftest.err 9518 rm -f conftest.er1 9519 cat conftest.err >&5 9520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9521 (exit $ac_status); } && { 9522 test -z "$ac_cxx_werror_flag" || 9523 test ! -s conftest.err 9524 } && test -s conftest.$ac_objext; then 9525 ac_header_compiler=yes 9526 else 9527 $as_echo "$as_me: failed program was:" >&5 9528 sed 's/^/| /' conftest.$ac_ext >&5 9529 9530 ac_header_compiler=no 9531 fi 9532 9533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9534 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9535 $as_echo "$ac_header_compiler" >&6; } 9536 9537 # Is the header present? 9538 { $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5 9539 $as_echo_n "checking GL/glew.h presence... " >&6; } 9540 cat >conftest.$ac_ext <<_ACEOF 9541 /* confdefs.h. */ 9542 _ACEOF 9543 cat confdefs.h >>conftest.$ac_ext 9544 cat >>conftest.$ac_ext <<_ACEOF 9545 /* end confdefs.h. */ 9546 #include <GL/glew.h> 9547 _ACEOF 9548 if { (ac_try="$ac_cpp conftest.$ac_ext" 9549 case "(($ac_try" in 9550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9551 *) ac_try_echo=$ac_try;; 9552 esac 9553 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9554 $as_echo "$ac_try_echo") >&5 9555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9556 ac_status=$? 9557 grep -v '^ *+' conftest.er1 >conftest.err 9558 rm -f conftest.er1 9559 cat conftest.err >&5 9560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9561 (exit $ac_status); } >/dev/null && { 9562 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9563 test ! -s conftest.err 9564 }; then 9565 ac_header_preproc=yes 9566 else 9567 $as_echo "$as_me: failed program was:" >&5 9568 sed 's/^/| /' conftest.$ac_ext >&5 9569 9570 ac_header_preproc=no 9571 fi 9572 9573 rm -f conftest.err conftest.$ac_ext 9574 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9575 $as_echo "$ac_header_preproc" >&6; } 9576 9577 # So? What about this header? 9578 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9579 yes:no: ) 9580 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5 9581 $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9582 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5 9583 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;} 9584 ac_header_preproc=yes 9585 ;; 9586 no:yes:* ) 9587 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5 9588 $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;} 9589 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: check for missing prerequisite headers?" >&5 9590 $as_echo "$as_me: WARNING: GL/glew.h: check for missing prerequisite headers?" >&2;} 9591 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5 9592 $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;} 9593 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&5 9594 $as_echo "$as_me: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&2;} 9595 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5 9596 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;} 9597 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5 9598 $as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;} 9599 ( cat <<\_ASBOX 9600 ## ----------------------------------- ## 9601 ## Report this to rappture@nanohub.org ## 9602 ## ----------------------------------- ## 9603 _ASBOX 9604 ) | sed "s/^/$as_me: WARNING: /" >&2 9605 ;; 9606 esac 9607 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 9608 $as_echo_n "checking for GL/glew.h... " >&6; } 9609 if test "${ac_cv_header_GL_glew_h+set}" = set; then 9610 $as_echo_n "(cached) " >&6 9611 else 9612 ac_cv_header_GL_glew_h=$ac_header_preproc 9613 fi 9614 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 9615 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 9616 9617 fi 9618 9619 9620 if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then 9621 { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5 9622 $as_echo_n "checking for Cg/cgGL.h... " >&6; } 9623 if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then 9624 $as_echo_n "(cached) " >&6 9625 fi 9626 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5 9627 $as_echo "$ac_cv_header_Cg_cgGL_h" >&6; } 9628 else 9629 # Is the header compilable? 9630 { $as_echo "$as_me:$LINENO: checking Cg/cgGL.h usability" >&5 9631 $as_echo_n "checking Cg/cgGL.h usability... " >&6; } 9632 cat >conftest.$ac_ext <<_ACEOF 9633 /* confdefs.h. */ 9634 _ACEOF 9635 cat confdefs.h >>conftest.$ac_ext 9636 cat >>conftest.$ac_ext <<_ACEOF 9637 /* end confdefs.h. */ 9638 $ac_includes_default 9639 #include <Cg/cgGL.h> 9640 _ACEOF 9641 rm -f conftest.$ac_objext 9642 if { (ac_try="$ac_compile" 9643 case "(($ac_try" in 9644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9645 *) ac_try_echo=$ac_try;; 9646 esac 9647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9648 $as_echo "$ac_try_echo") >&5 9649 (eval "$ac_compile") 2>conftest.er1 9650 ac_status=$? 9651 grep -v '^ *+' conftest.er1 >conftest.err 9652 rm -f conftest.er1 9653 cat conftest.err >&5 9654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9655 (exit $ac_status); } && { 9656 test -z "$ac_cxx_werror_flag" || 9657 test ! -s conftest.err 9658 } && test -s conftest.$ac_objext; then 9659 ac_header_compiler=yes 9660 else 9661 $as_echo "$as_me: failed program was:" >&5 9662 sed 's/^/| /' conftest.$ac_ext >&5 9663 9664 ac_header_compiler=no 9665 fi 9666 9667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9668 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9669 $as_echo "$ac_header_compiler" >&6; } 9670 9671 # Is the header present? 9672 { $as_echo "$as_me:$LINENO: checking Cg/cgGL.h presence" >&5 9673 $as_echo_n "checking Cg/cgGL.h presence... " >&6; } 9674 cat >conftest.$ac_ext <<_ACEOF 9675 /* confdefs.h. */ 9676 _ACEOF 9677 cat confdefs.h >>conftest.$ac_ext 9678 cat >>conftest.$ac_ext <<_ACEOF 9679 /* end confdefs.h. */ 9680 #include <Cg/cgGL.h> 9681 _ACEOF 9682 if { (ac_try="$ac_cpp conftest.$ac_ext" 9683 case "(($ac_try" in 9684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9685 *) ac_try_echo=$ac_try;; 9686 esac 9687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9688 $as_echo "$ac_try_echo") >&5 9689 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9690 ac_status=$? 9691 grep -v '^ *+' conftest.er1 >conftest.err 9692 rm -f conftest.er1 9693 cat conftest.err >&5 9694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9695 (exit $ac_status); } >/dev/null && { 9696 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9697 test ! -s conftest.err 9698 }; then 9699 ac_header_preproc=yes 9700 else 9701 $as_echo "$as_me: failed program was:" >&5 9702 sed 's/^/| /' conftest.$ac_ext >&5 9703 9704 ac_header_preproc=no 9705 fi 9706 9707 rm -f conftest.err conftest.$ac_ext 9708 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9709 $as_echo "$ac_header_preproc" >&6; } 9710 9711 # So? What about this header? 9712 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9713 yes:no: ) 9714 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&5 9715 $as_echo "$as_me: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9716 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&5 9717 $as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&2;} 9718 ac_header_preproc=yes 9719 ;; 9720 no:yes:* ) 9721 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: present but cannot be compiled" >&5 9722 $as_echo "$as_me: WARNING: Cg/cgGL.h: present but cannot be compiled" >&2;} 9723 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: check for missing prerequisite headers?" >&5 9724 $as_echo "$as_me: WARNING: Cg/cgGL.h: check for missing prerequisite headers?" >&2;} 9725 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&5 9726 $as_echo "$as_me: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&2;} 9727 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: section \"Present But Cannot Be Compiled\"" >&5 9728 $as_echo "$as_me: WARNING: Cg/cgGL.h: section \"Present But Cannot Be Compiled\"" >&2;} 9729 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&5 9730 $as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&2;} 9731 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&5 9732 $as_echo "$as_me: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&2;} 9733 ( cat <<\_ASBOX 9734 ## ----------------------------------- ## 9735 ## Report this to rappture@nanohub.org ## 9736 ## ----------------------------------- ## 9737 _ASBOX 9738 ) | sed "s/^/$as_me: WARNING: /" >&2 9739 ;; 9740 esac 9741 { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5 9742 $as_echo_n "checking for Cg/cgGL.h... " >&6; } 9743 if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then 9744 $as_echo_n "(cached) " >&6 9745 else 9746 ac_cv_header_Cg_cgGL_h=$ac_header_preproc 9747 fi 9748 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5 9749 $as_echo "$ac_cv_header_Cg_cgGL_h" >&6; } 9750 9751 fi 9752 9753 9754 9755 9756 9757 9758 9759 9760 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 9761 do 9762 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9764 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9765 $as_echo_n "checking for $ac_header... " >&6; } 9766 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9767 $as_echo_n "(cached) " >&6 9768 fi 9769 ac_res=`eval 'as_val=${'$as_ac_Header'} 9770 $as_echo "$as_val"'` 9771 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9772 $as_echo "$ac_res" >&6; } 9773 else 9774 # Is the header compilable? 9775 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9776 $as_echo_n "checking $ac_header usability... " >&6; } 9777 cat >conftest.$ac_ext <<_ACEOF 9778 /* confdefs.h. */ 9779 _ACEOF 9780 cat confdefs.h >>conftest.$ac_ext 9781 cat >>conftest.$ac_ext <<_ACEOF 9782 /* end confdefs.h. */ 9783 $ac_includes_default 9784 #include <$ac_header> 9785 _ACEOF 9786 rm -f conftest.$ac_objext 9787 if { (ac_try="$ac_compile" 9788 case "(($ac_try" in 9789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9790 *) ac_try_echo=$ac_try;; 9791 esac 9792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9793 $as_echo "$ac_try_echo") >&5 9794 (eval "$ac_compile") 2>conftest.er1 9795 ac_status=$? 9796 grep -v '^ *+' conftest.er1 >conftest.err 9797 rm -f conftest.er1 9798 cat conftest.err >&5 9799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9800 (exit $ac_status); } && { 9801 test -z "$ac_cxx_werror_flag" || 9802 test ! -s conftest.err 9803 } && test -s conftest.$ac_objext; then 9804 ac_header_compiler=yes 9805 else 9806 $as_echo "$as_me: failed program was:" >&5 9807 sed 's/^/| /' conftest.$ac_ext >&5 9808 9809 ac_header_compiler=no 9810 fi 9811 9812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9813 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9814 $as_echo "$ac_header_compiler" >&6; } 9815 9816 # Is the header present? 9817 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9818 $as_echo_n "checking $ac_header presence... " >&6; } 9819 cat >conftest.$ac_ext <<_ACEOF 9820 /* confdefs.h. */ 9821 _ACEOF 9822 cat confdefs.h >>conftest.$ac_ext 9823 cat >>conftest.$ac_ext <<_ACEOF 9824 /* end confdefs.h. */ 9825 #include <$ac_header> 9826 _ACEOF 9827 if { (ac_try="$ac_cpp conftest.$ac_ext" 9828 case "(($ac_try" in 9829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9830 *) ac_try_echo=$ac_try;; 9831 esac 9832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9833 $as_echo "$ac_try_echo") >&5 9834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9835 ac_status=$? 9836 grep -v '^ *+' conftest.er1 >conftest.err 9837 rm -f conftest.er1 9838 cat conftest.err >&5 9839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9840 (exit $ac_status); } >/dev/null && { 9841 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9842 test ! -s conftest.err 9843 }; then 9844 ac_header_preproc=yes 9845 else 9846 $as_echo "$as_me: failed program was:" >&5 9847 sed 's/^/| /' conftest.$ac_ext >&5 9848 9849 ac_header_preproc=no 9850 fi 9851 9852 rm -f conftest.err conftest.$ac_ext 9853 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9854 $as_echo "$ac_header_preproc" >&6; } 9855 9856 # So? What about this header? 9857 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9858 yes:no: ) 9859 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9860 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9861 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9862 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9863 ac_header_preproc=yes 9864 ;; 9865 no:yes:* ) 9866 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9867 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9868 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9869 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9870 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9871 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9872 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9873 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9874 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9875 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9876 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9877 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9878 ( cat <<\_ASBOX 9879 ## ----------------------------------- ## 9880 ## Report this to rappture@nanohub.org ## 9881 ## ----------------------------------- ## 9882 _ASBOX 9883 ) | sed "s/^/$as_me: WARNING: /" >&2 9884 ;; 9885 esac 9886 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9887 $as_echo_n "checking for $ac_header... " >&6; } 9888 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9889 $as_echo_n "(cached) " >&6 9890 else 9891 eval "$as_ac_Header=\$ac_header_preproc" 9892 fi 9893 ac_res=`eval 'as_val=${'$as_ac_Header'} 9894 $as_echo "$as_val"'` 9895 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9896 $as_echo "$ac_res" >&6; } 9897 9898 fi 9899 as_val=`eval 'as_val=${'$as_ac_Header'} 9900 $as_echo "$as_val"'` 9901 if test "x$as_val" = x""yes; then 7509 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 7510 do : 7511 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7512 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 7513 eval as_val=\$$as_ac_Header 7514 if test "x$as_val" = x""yes; then : 9902 7515 cat >>confdefs.h <<_ACEOF 9903 7516 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 9909 7522 9910 7523 9911 9912 9913 9914 9915 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 9916 do 9917 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9918 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9919 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9920 $as_echo_n "checking for $ac_header... " >&6; } 9921 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9922 $as_echo_n "(cached) " >&6 9923 fi 9924 ac_res=`eval 'as_val=${'$as_ac_Header'} 9925 $as_echo "$as_val"'` 9926 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9927 $as_echo "$ac_res" >&6; } 9928 else 9929 # Is the header compilable? 9930 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9931 $as_echo_n "checking $ac_header usability... " >&6; } 9932 cat >conftest.$ac_ext <<_ACEOF 9933 /* confdefs.h. */ 9934 _ACEOF 9935 cat confdefs.h >>conftest.$ac_ext 9936 cat >>conftest.$ac_ext <<_ACEOF 9937 /* end confdefs.h. */ 9938 $ac_includes_default 9939 #include <$ac_header> 9940 _ACEOF 9941 rm -f conftest.$ac_objext 9942 if { (ac_try="$ac_compile" 9943 case "(($ac_try" in 9944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9945 *) ac_try_echo=$ac_try;; 9946 esac 9947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9948 $as_echo "$ac_try_echo") >&5 9949 (eval "$ac_compile") 2>conftest.er1 9950 ac_status=$? 9951 grep -v '^ *+' conftest.er1 >conftest.err 9952 rm -f conftest.er1 9953 cat conftest.err >&5 9954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9955 (exit $ac_status); } && { 9956 test -z "$ac_cxx_werror_flag" || 9957 test ! -s conftest.err 9958 } && test -s conftest.$ac_objext; then 9959 ac_header_compiler=yes 9960 else 9961 $as_echo "$as_me: failed program was:" >&5 9962 sed 's/^/| /' conftest.$ac_ext >&5 9963 9964 ac_header_compiler=no 9965 fi 9966 9967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9968 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9969 $as_echo "$ac_header_compiler" >&6; } 9970 9971 # Is the header present? 9972 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9973 $as_echo_n "checking $ac_header presence... " >&6; } 9974 cat >conftest.$ac_ext <<_ACEOF 9975 /* confdefs.h. */ 9976 _ACEOF 9977 cat confdefs.h >>conftest.$ac_ext 9978 cat >>conftest.$ac_ext <<_ACEOF 9979 /* end confdefs.h. */ 9980 #include <$ac_header> 9981 _ACEOF 9982 if { (ac_try="$ac_cpp conftest.$ac_ext" 9983 case "(($ac_try" in 9984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9985 *) ac_try_echo=$ac_try;; 9986 esac 9987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9988 $as_echo "$ac_try_echo") >&5 9989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9990 ac_status=$? 9991 grep -v '^ *+' conftest.er1 >conftest.err 9992 rm -f conftest.er1 9993 cat conftest.err >&5 9994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9995 (exit $ac_status); } >/dev/null && { 9996 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9997 test ! -s conftest.err 9998 }; then 9999 ac_header_preproc=yes 10000 else 10001 $as_echo "$as_me: failed program was:" >&5 10002 sed 's/^/| /' conftest.$ac_ext >&5 10003 10004 ac_header_preproc=no 10005 fi 10006 10007 rm -f conftest.err conftest.$ac_ext 10008 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10009 $as_echo "$ac_header_preproc" >&6; } 10010 10011 # So? What about this header? 10012 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10013 yes:no: ) 10014 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10015 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 10016 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 10017 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10018 ac_header_preproc=yes 10019 ;; 10020 no:yes:* ) 10021 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 10022 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 10023 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 10024 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 10025 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 10026 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 10027 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 10028 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 10029 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 10030 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 10031 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 10032 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10033 ( cat <<\_ASBOX 10034 ## ----------------------------------- ## 10035 ## Report this to rappture@nanohub.org ## 10036 ## ----------------------------------- ## 10037 _ASBOX 10038 ) | sed "s/^/$as_me: WARNING: /" >&2 10039 ;; 10040 esac 10041 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 10042 $as_echo_n "checking for $ac_header... " >&6; } 10043 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10044 $as_echo_n "(cached) " >&6 10045 else 10046 eval "$as_ac_Header=\$ac_header_preproc" 10047 fi 10048 ac_res=`eval 'as_val=${'$as_ac_Header'} 10049 $as_echo "$as_val"'` 10050 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 10051 $as_echo "$ac_res" >&6; } 10052 10053 fi 10054 as_val=`eval 'as_val=${'$as_ac_Header'} 10055 $as_echo "$as_val"'` 10056 if test "x$as_val" = x""yes; then 10057 cat >>confdefs.h <<_ACEOF 10058 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10059 _ACEOF 10060 10061 fi 10062 10063 done 10064 10065 10066 { $as_echo "$as_me:$LINENO: checking for OpenDX headers" >&5 7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenDX headers" >&5 10067 7525 $as_echo_n "checking for OpenDX headers... " >&6; } 10068 7526 DX_INC_DIR="" … … 10078 7536 done 10079 7537 if test "x${DX_INC_DIR}" = "x" ; then 10080 { { $as_echo "$as_me:$LINENO: error: can't find OpenDX include files" >&5 10081 $as_echo "$as_me: error: can't find OpenDX include files" >&2;} 10082 { (exit 1); exit 1; }; } 7538 as_fn_error "can't find OpenDX include files" "$LINENO" 5 10083 7539 fi 10084 7540 … … 10089 7545 fi 10090 7546 10091 { $as_echo "$as_me:$ LINENO: result: ${DX_INC_DIR}" >&57547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DX_INC_DIR}" >&5 10092 7548 $as_echo "${DX_INC_DIR}" >&6; } 10093 7549 10094 { $as_echo "$as_me:$ LINENO: checking for OpenDX libraries" >&57550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenDX libraries" >&5 10095 7551 $as_echo_n "checking for OpenDX libraries... " >&6; } 10096 7552 DX_LIB_DIR="" … … 10107 7563 done 10108 7564 if test "x${DX_LIB_DIR}" = "x" ; then 10109 { { $as_echo "$as_me:$LINENO: error: can't find OpenDX libraries" >&5 10110 $as_echo "$as_me: error: can't find OpenDX libraries" >&2;} 10111 { (exit 1); exit 1; }; } 7565 as_fn_error "can't find OpenDX libraries" "$LINENO" 5 10112 7566 fi 10113 7567 … … 10119 7573 10120 7574 10121 { $as_echo "$as_me:$ LINENO: result: ${DX_LIB_DIR}" >&57575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DX_LIB_DIR}" >&5 10122 7576 $as_echo "${DX_LIB_DIR}" >&6; } 10123 7577 10124 10125 10126 10127 10128 10129 10130 7578 for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h 10131 do 10132 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10133 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10134 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 10135 $as_echo_n "checking for $ac_header... " >&6; } 10136 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10137 $as_echo_n "(cached) " >&6 10138 fi 10139 ac_res=`eval 'as_val=${'$as_ac_Header'} 10140 $as_echo "$as_val"'` 10141 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 10142 $as_echo "$ac_res" >&6; } 10143 else 10144 # Is the header compilable? 10145 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 10146 $as_echo_n "checking $ac_header usability... " >&6; } 10147 cat >conftest.$ac_ext <<_ACEOF 10148 /* confdefs.h. */ 10149 _ACEOF 10150 cat confdefs.h >>conftest.$ac_ext 10151 cat >>conftest.$ac_ext <<_ACEOF 10152 /* end confdefs.h. */ 10153 $ac_includes_default 10154 #include <$ac_header> 10155 _ACEOF 10156 rm -f conftest.$ac_objext 10157 if { (ac_try="$ac_compile" 10158 case "(($ac_try" in 10159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10160 *) ac_try_echo=$ac_try;; 10161 esac 10162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10163 $as_echo "$ac_try_echo") >&5 10164 (eval "$ac_compile") 2>conftest.er1 10165 ac_status=$? 10166 grep -v '^ *+' conftest.er1 >conftest.err 10167 rm -f conftest.er1 10168 cat conftest.err >&5 10169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10170 (exit $ac_status); } && { 10171 test -z "$ac_cxx_werror_flag" || 10172 test ! -s conftest.err 10173 } && test -s conftest.$ac_objext; then 10174 ac_header_compiler=yes 10175 else 10176 $as_echo "$as_me: failed program was:" >&5 10177 sed 's/^/| /' conftest.$ac_ext >&5 10178 10179 ac_header_compiler=no 10180 fi 10181 10182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10183 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10184 $as_echo "$ac_header_compiler" >&6; } 10185 10186 # Is the header present? 10187 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 10188 $as_echo_n "checking $ac_header presence... " >&6; } 10189 cat >conftest.$ac_ext <<_ACEOF 10190 /* confdefs.h. */ 10191 _ACEOF 10192 cat confdefs.h >>conftest.$ac_ext 10193 cat >>conftest.$ac_ext <<_ACEOF 10194 /* end confdefs.h. */ 10195 #include <$ac_header> 10196 _ACEOF 10197 if { (ac_try="$ac_cpp conftest.$ac_ext" 10198 case "(($ac_try" in 10199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10200 *) ac_try_echo=$ac_try;; 10201 esac 10202 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10203 $as_echo "$ac_try_echo") >&5 10204 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10205 ac_status=$? 10206 grep -v '^ *+' conftest.er1 >conftest.err 10207 rm -f conftest.er1 10208 cat conftest.err >&5 10209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10210 (exit $ac_status); } >/dev/null && { 10211 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10212 test ! -s conftest.err 10213 }; then 10214 ac_header_preproc=yes 10215 else 10216 $as_echo "$as_me: failed program was:" >&5 10217 sed 's/^/| /' conftest.$ac_ext >&5 10218 10219 ac_header_preproc=no 10220 fi 10221 10222 rm -f conftest.err conftest.$ac_ext 10223 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10224 $as_echo "$ac_header_preproc" >&6; } 10225 10226 # So? What about this header? 10227 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10228 yes:no: ) 10229 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10230 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 10231 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 10232 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10233 ac_header_preproc=yes 10234 ;; 10235 no:yes:* ) 10236 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 10237 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 10238 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 10239 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 10240 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 10241 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 10242 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 10243 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 10244 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 10245 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 10246 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 10247 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10248 ( cat <<\_ASBOX 10249 ## ----------------------------------- ## 10250 ## Report this to rappture@nanohub.org ## 10251 ## ----------------------------------- ## 10252 _ASBOX 10253 ) | sed "s/^/$as_me: WARNING: /" >&2 10254 ;; 10255 esac 10256 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 10257 $as_echo_n "checking for $ac_header... " >&6; } 10258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10259 $as_echo_n "(cached) " >&6 10260 else 10261 eval "$as_ac_Header=\$ac_header_preproc" 10262 fi 10263 ac_res=`eval 'as_val=${'$as_ac_Header'} 10264 $as_echo "$as_val"'` 10265 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 10266 $as_echo "$ac_res" >&6; } 10267 10268 fi 10269 as_val=`eval 'as_val=${'$as_ac_Header'} 10270 $as_echo "$as_val"'` 10271 if test "x$as_val" = x""yes; then 7579 do : 7580 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7581 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 7582 eval as_val=\$$as_ac_Header 7583 if test "x$as_val" = x""yes; then : 10272 7584 cat >>confdefs.h <<_ACEOF 10273 7585 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 10281 7593 oldLIBS=$LIBS 10282 7594 LIBS=-lavcodec 10283 10284 7595 for ac_func in img_convert 10285 do 10286 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 10287 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 10288 $as_echo_n "checking for $ac_func... " >&6; } 10289 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 10290 $as_echo_n "(cached) " >&6 10291 else 10292 cat >conftest.$ac_ext <<_ACEOF 10293 /* confdefs.h. */ 10294 _ACEOF 10295 cat confdefs.h >>conftest.$ac_ext 10296 cat >>conftest.$ac_ext <<_ACEOF 10297 /* end confdefs.h. */ 10298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 10299 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10300 #define $ac_func innocuous_$ac_func 10301 10302 /* System header to define __stub macros and hopefully few prototypes, 10303 which can conflict with char $ac_func (); below. 10304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10305 <limits.h> exists even on freestanding compilers. */ 10306 10307 #ifdef __STDC__ 10308 # include <limits.h> 10309 #else 10310 # include <assert.h> 10311 #endif 10312 10313 #undef $ac_func 10314 10315 /* Override any GCC internal prototype to avoid an error. 10316 Use char because int might match the return type of a GCC 10317 builtin and then its argument prototype would still apply. */ 10318 #ifdef __cplusplus 10319 extern "C" 10320 #endif 10321 char $ac_func (); 10322 /* The GNU C library defines this for functions which it implements 10323 to always fail with ENOSYS. Some functions are actually named 10324 something starting with __ and the normal name is an alias. */ 10325 #if defined __stub_$ac_func || defined __stub___$ac_func 10326 choke me 10327 #endif 10328 10329 int 10330 main () 10331 { 10332 return $ac_func (); 10333 ; 10334 return 0; 10335 } 10336 _ACEOF 10337 rm -f conftest.$ac_objext conftest$ac_exeext 10338 if { (ac_try="$ac_link" 10339 case "(($ac_try" in 10340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10341 *) ac_try_echo=$ac_try;; 10342 esac 10343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10344 $as_echo "$ac_try_echo") >&5 10345 (eval "$ac_link") 2>conftest.er1 10346 ac_status=$? 10347 grep -v '^ *+' conftest.er1 >conftest.err 10348 rm -f conftest.er1 10349 cat conftest.err >&5 10350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10351 (exit $ac_status); } && { 10352 test -z "$ac_cxx_werror_flag" || 10353 test ! -s conftest.err 10354 } && test -s conftest$ac_exeext && { 10355 test "$cross_compiling" = yes || 10356 $as_test_x conftest$ac_exeext 10357 }; then 10358 eval "$as_ac_var=yes" 10359 else 10360 $as_echo "$as_me: failed program was:" >&5 10361 sed 's/^/| /' conftest.$ac_ext >&5 10362 10363 eval "$as_ac_var=no" 10364 fi 10365 10366 rm -rf conftest.dSYM 10367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10368 conftest$ac_exeext conftest.$ac_ext 10369 fi 10370 ac_res=`eval 'as_val=${'$as_ac_var'} 10371 $as_echo "$as_val"'` 10372 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 10373 $as_echo "$ac_res" >&6; } 10374 as_val=`eval 'as_val=${'$as_ac_var'} 10375 $as_echo "$as_val"'` 10376 if test "x$as_val" = x""yes; then 7596 do : 7597 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 7598 if test "x$ac_cv_func_img_convert" = x""yes; then : 10377 7599 cat >>confdefs.h <<_ACEOF 10378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp`17600 #define HAVE_IMG_CONVERT 1 10379 7601 _ACEOF 10380 7602 … … 10383 7605 10384 7606 LIBS=-lavformat 10385 10386 7607 for ac_func in avformat_alloc_context 10387 do 10388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 10389 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 10390 $as_echo_n "checking for $ac_func... " >&6; } 10391 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 10392 $as_echo_n "(cached) " >&6 10393 else 10394 cat >conftest.$ac_ext <<_ACEOF 10395 /* confdefs.h. */ 10396 _ACEOF 10397 cat confdefs.h >>conftest.$ac_ext 10398 cat >>conftest.$ac_ext <<_ACEOF 10399 /* end confdefs.h. */ 10400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 10401 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10402 #define $ac_func innocuous_$ac_func 10403 10404 /* System header to define __stub macros and hopefully few prototypes, 10405 which can conflict with char $ac_func (); below. 10406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10407 <limits.h> exists even on freestanding compilers. */ 10408 10409 #ifdef __STDC__ 10410 # include <limits.h> 10411 #else 10412 # include <assert.h> 10413 #endif 10414 10415 #undef $ac_func 10416 10417 /* Override any GCC internal prototype to avoid an error. 10418 Use char because int might match the return type of a GCC 10419 builtin and then its argument prototype would still apply. */ 10420 #ifdef __cplusplus 10421 extern "C" 10422 #endif 10423 char $ac_func (); 10424 /* The GNU C library defines this for functions which it implements 10425 to always fail with ENOSYS. Some functions are actually named 10426 something starting with __ and the normal name is an alias. */ 10427 #if defined __stub_$ac_func || defined __stub___$ac_func 10428 choke me 10429 #endif 10430 10431 int 10432 main () 10433 { 10434 return $ac_func (); 10435 ; 10436 return 0; 10437 } 10438 _ACEOF 10439 rm -f conftest.$ac_objext conftest$ac_exeext 10440 if { (ac_try="$ac_link" 10441 case "(($ac_try" in 10442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10443 *) ac_try_echo=$ac_try;; 10444 esac 10445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10446 $as_echo "$ac_try_echo") >&5 10447 (eval "$ac_link") 2>conftest.er1 10448 ac_status=$? 10449 grep -v '^ *+' conftest.er1 >conftest.err 10450 rm -f conftest.er1 10451 cat conftest.err >&5 10452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10453 (exit $ac_status); } && { 10454 test -z "$ac_cxx_werror_flag" || 10455 test ! -s conftest.err 10456 } && test -s conftest$ac_exeext && { 10457 test "$cross_compiling" = yes || 10458 $as_test_x conftest$ac_exeext 10459 }; then 10460 eval "$as_ac_var=yes" 10461 else 10462 $as_echo "$as_me: failed program was:" >&5 10463 sed 's/^/| /' conftest.$ac_ext >&5 10464 10465 eval "$as_ac_var=no" 10466 fi 10467 10468 rm -rf conftest.dSYM 10469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10470 conftest$ac_exeext conftest.$ac_ext 10471 fi 10472 ac_res=`eval 'as_val=${'$as_ac_var'} 10473 $as_echo "$as_val"'` 10474 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 10475 $as_echo "$ac_res" >&6; } 10476 as_val=`eval 'as_val=${'$as_ac_var'} 10477 $as_echo "$as_val"'` 10478 if test "x$as_val" = x""yes; then 7608 do : 7609 ac_fn_cxx_check_func "$LINENO" "avformat_alloc_context" "ac_cv_func_avformat_alloc_context" 7610 if test "x$ac_cv_func_avformat_alloc_context" = x""yes; then : 10479 7611 cat >>confdefs.h <<_ACEOF 10480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp`17612 #define HAVE_AVFORMAT_ALLOC_CONTEXT 1 10481 7613 _ACEOF 10482 7614 … … 10486 7618 LIBS=$oldLIBS 10487 7619 10488 { $as_echo "$as_me:$ LINENO: checking for nVidia Cg installation" >&57620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nVidia Cg installation" >&5 10489 7621 $as_echo_n "checking for nVidia Cg installation... " >&6; } 10490 7622 CG_DIR="" … … 10500 7632 done 10501 7633 if test "x${CG_DIR}" = "x" ; then 10502 { { $as_echo "$as_me:$LINENO: error: can't find nVidia Cg installation" >&5 10503 $as_echo "$as_me: error: can't find nVidia Cg installation" >&2;} 10504 { (exit 1); exit 1; }; } 7634 as_fn_error "can't find nVidia Cg installation" "$LINENO" 5 10505 7635 fi 10506 7636 … … 10512 7642 10513 7643 10514 { $as_echo "$as_me:$ LINENO: result: ${CG_DIR}" >&57644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CG_DIR}" >&5 10515 7645 $as_echo "${CG_DIR}" >&6; } 10516 7646 … … 10518 7648 10519 7649 10520 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanovis/Makefile nanovis/newmat11/Makefile nanovis/R2/src/Makefile nanovis/ imgLoaders/Makefile nanovis/transfer-function/Makefile pymolproxy/Makefile start_viz.sh"7650 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanovis/Makefile nanovis/newmat11/Makefile nanovis/R2/src/Makefile nanovis/vrutil/Makefile nanovis/vrmath/Makefile nanovis/vr3d/Makefile nanovis/imgLoaders/Makefile nanovis/transfer-function/Makefile pymolproxy/Makefile start_viz.sh" 10521 7651 10522 7652 cat >confcache <<\_ACEOF … … 10547 7677 *${as_nl}*) 10548 7678 case $ac_var in #( 10549 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&57679 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 10550 7680 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 10551 7681 esac … … 10553 7683 _ | IFS | as_nl) ;; #( 10554 7684 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 10555 *) $as_unset $ac_var;;7685 *) { eval $ac_var=; unset $ac_var;} ;; 10556 7686 esac ;; 10557 7687 esac … … 10561 7691 case $as_nl`(ac_space=' '; set) 2>&1` in #( 10562 7692 *${as_nl}ac_space=\ *) 10563 # `set' does not quote correctly, so add quotes (double-quote10564 # substitution turns \\\\ into \\, and sed turns \\ into \ ).7693 # `set' does not quote correctly, so add quotes: double-quote 7694 # substitution turns \\\\ into \\, and sed turns \\ into \. 10565 7695 sed -n \ 10566 7696 "s/'/'\\\\''/g; … … 10585 7715 if test -w "$cache_file"; then 10586 7716 test "x$cache_file" != "x/dev/null" && 10587 { $as_echo "$as_me:$ LINENO: updating cache $cache_file" >&57717 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 10588 7718 $as_echo "$as_me: updating cache $cache_file" >&6;} 10589 7719 cat confcache >$cache_file 10590 7720 else 10591 { $as_echo "$as_me:$ LINENO: not updating unwritable cache $cache_file" >&57721 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 10592 7722 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 10593 7723 fi … … 10609 7739 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 10610 7740 # will be set to the directory where LIBOBJS objects are built. 10611 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"10612 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'7741 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7742 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 10613 7743 done 10614 7744 LIBOBJS=$ac_libobjs … … 10623 7753 ac_clean_files_save=$ac_clean_files 10624 7754 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 10625 { $as_echo "$as_me:$ LINENO: creating $CONFIG_STATUS" >&57755 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 10626 7756 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 10627 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7757 as_write_fail=0 7758 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 10628 7759 #! $SHELL 10629 7760 # Generated by $as_me. … … 10635 7766 ac_cs_recheck=false 10636 7767 ac_cs_silent=false 7768 10637 7769 SHELL=\${CONFIG_SHELL-$SHELL} 10638 _ACEOF 10639 10640 cat >>$CONFIG_STATUS <<\_A CEOF || ac_write_fail=110641 ## -------------------- -##10642 ## M4sh Initialization. 10643 ## -------------------- -##7770 export SHELL 7771 _ASEOF 7772 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 7773 ## -------------------- ## 7774 ## M4sh Initialization. ## 7775 ## -------------------- ## 10644 7776 10645 7777 # Be more Bourne compatible 10646 7778 DUALCASE=1; export DUALCASE # for MKS sh 10647 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 7779 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 10648 7780 emulate sh 10649 7781 NULLCMD=: … … 10653 7785 setopt NO_GLOB_SUBST 10654 7786 else 10655 case `(set -o) 2>/dev/null` in 10656 *posix*) set -o posix ;; 7787 case `(set -o) 2>/dev/null` in #( 7788 *posix*) : 7789 set -o posix ;; #( 7790 *) : 7791 ;; 10657 7792 esac 10658 10659 fi 10660 10661 10662 10663 10664 # PATH needs CR 10665 # Avoid depending upon Character Ranges. 10666 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 10667 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 10668 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 10669 as_cr_digits='0123456789' 10670 as_cr_alnum=$as_cr_Letters$as_cr_digits 7793 fi 7794 10671 7795 10672 7796 as_nl=' … … 10677 7801 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 10678 7802 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 10679 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 7803 # Prefer a ksh shell builtin over an external printf program on Solaris, 7804 # but without wasting forks for bash or zsh. 7805 if test -z "$BASH_VERSION$ZSH_VERSION" \ 7806 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 7807 as_echo='print -r --' 7808 as_echo_n='print -rn --' 7809 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 10680 7810 as_echo='printf %s\n' 10681 7811 as_echo_n='printf %s' … … 10688 7818 as_echo_n_body='eval 10689 7819 arg=$1; 10690 case $arg in 7820 case $arg in #( 10691 7821 *"$as_nl"*) 10692 7822 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 10711 7841 fi 10712 7842 10713 # Support unset when possible.10714 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then10715 as_unset=unset10716 else10717 as_unset=false10718 fi10719 10720 7843 10721 7844 # IFS … … 10727 7850 10728 7851 # Find who we are. Look in the path if we contain no directory separator. 10729 case $0 in 7852 case $0 in #(( 10730 7853 *[\\/]* ) as_myself=$0 ;; 10731 7854 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 10734 7857 IFS=$as_save_IFS 10735 7858 test -z "$as_dir" && as_dir=. 10736 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break10737 done7859 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7860 done 10738 7861 IFS=$as_save_IFS 10739 7862 … … 10747 7870 if test ! -f "$as_myself"; then 10748 7871 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 10749 { (exit 1); exit 1; } 10750 fi 10751 10752 # Work around bugs in pre-3.0 UWIN ksh. 10753 for as_var in ENV MAIL MAILPATH 10754 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7872 exit 1 7873 fi 7874 7875 # Unset variables that we do not need and which cause bugs (e.g. in 7876 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 7877 # suppresses any "Segmentation fault" message there. '((' could 7878 # trigger a bug in pdksh 5.2.14. 7879 for as_var in BASH_ENV ENV MAIL MAILPATH 7880 do eval test x\${$as_var+set} = xset \ 7881 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 10755 7882 done 10756 7883 PS1='$ ' … … 10764 7891 export LANGUAGE 10765 7892 10766 # Required to use basename. 7893 # CDPATH. 7894 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 7895 7896 7897 # as_fn_error ERROR [LINENO LOG_FD] 7898 # --------------------------------- 7899 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 7900 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 7901 # script with status $?, using 1 if that was 0. 7902 as_fn_error () 7903 { 7904 as_status=$?; test $as_status -eq 0 && as_status=1 7905 if test "$3"; then 7906 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 7907 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 7908 fi 7909 $as_echo "$as_me: error: $1" >&2 7910 as_fn_exit $as_status 7911 } # as_fn_error 7912 7913 7914 # as_fn_set_status STATUS 7915 # ----------------------- 7916 # Set $? to STATUS, without forking. 7917 as_fn_set_status () 7918 { 7919 return $1 7920 } # as_fn_set_status 7921 7922 # as_fn_exit STATUS 7923 # ----------------- 7924 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 7925 as_fn_exit () 7926 { 7927 set +e 7928 as_fn_set_status $1 7929 exit $1 7930 } # as_fn_exit 7931 7932 # as_fn_unset VAR 7933 # --------------- 7934 # Portably unset VAR. 7935 as_fn_unset () 7936 { 7937 { eval $1=; unset $1;} 7938 } 7939 as_unset=as_fn_unset 7940 # as_fn_append VAR VALUE 7941 # ---------------------- 7942 # Append the text in VALUE to the end of the definition contained in VAR. Take 7943 # advantage of any shell optimizations that allow amortized linear growth over 7944 # repeated appends, instead of the typical quadratic growth present in naive 7945 # implementations. 7946 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 7947 eval 'as_fn_append () 7948 { 7949 eval $1+=\$2 7950 }' 7951 else 7952 as_fn_append () 7953 { 7954 eval $1=\$$1\$2 7955 } 7956 fi # as_fn_append 7957 7958 # as_fn_arith ARG... 7959 # ------------------ 7960 # Perform arithmetic evaluation on the ARGs, and store the result in the 7961 # global $as_val. Take advantage of shells that can avoid forks. The arguments 7962 # must be portable across $(()) and expr. 7963 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 7964 eval 'as_fn_arith () 7965 { 7966 as_val=$(( $* )) 7967 }' 7968 else 7969 as_fn_arith () 7970 { 7971 as_val=`expr "$@" || test $? -eq 1` 7972 } 7973 fi # as_fn_arith 7974 7975 10767 7976 if expr a : '\(a\)' >/dev/null 2>&1 && 10768 7977 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 10778 7987 fi 10779 7988 10780 10781 # Name of the executable. 7989 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7990 as_dirname=dirname 7991 else 7992 as_dirname=false 7993 fi 7994 10782 7995 as_me=`$as_basename -- "$0" || 10783 7996 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 10799 8012 s/.*/./; q'` 10800 8013 10801 # CDPATH. 10802 $as_unset CDPATH 10803 10804 10805 10806 as_lineno_1=$LINENO 10807 as_lineno_2=$LINENO 10808 test "x$as_lineno_1" != "x$as_lineno_2" && 10809 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 10810 10811 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 10812 # uniformly replaced by the line number. The first 'sed' inserts a 10813 # line-number line after each line using $LINENO; the second 'sed' 10814 # does the real work. The second script uses 'N' to pair each 10815 # line-number line with the line containing $LINENO, and appends 10816 # trailing '-' during substitution so that $LINENO is not a special 10817 # case at line end. 10818 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 10819 # scripts with optimization help from Paolo Bonzini. Blame Lee 10820 # E. McMahon (1931-1989) for sed's syntax. :-) 10821 sed -n ' 10822 p 10823 /[$]LINENO/= 10824 ' <$as_myself | 10825 sed ' 10826 s/[$]LINENO.*/&-/ 10827 t lineno 10828 b 10829 :lineno 10830 N 10831 :loop 10832 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 10833 t loop 10834 s/-\n.*// 10835 ' >$as_me.lineno && 10836 chmod +x "$as_me.lineno" || 10837 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 10838 { (exit 1); exit 1; }; } 10839 10840 # Don't try to exec as it changes $[0], causing all sort of problems 10841 # (the dirname of $[0] is not the place where we might find the 10842 # original and so on. Autoconf is especially sensitive to this). 10843 . "./$as_me.lineno" 10844 # Exit status is that of the last command. 10845 exit 10846 } 10847 10848 10849 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 10850 as_dirname=dirname 10851 else 10852 as_dirname=false 10853 fi 8014 # Avoid depending upon Character Ranges. 8015 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8016 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8017 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8018 as_cr_digits='0123456789' 8019 as_cr_alnum=$as_cr_Letters$as_cr_digits 10854 8020 10855 8021 ECHO_C= ECHO_N= ECHO_T= 10856 case `echo -n x` in 8022 case `echo -n x` in #((((( 10857 8023 -n*) 10858 case `echo 'x \c'` in8024 case `echo 'xy\c'` in 10859 8025 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 10860 *) ECHO_C='\c';; 8026 xy) ECHO_C='\c';; 8027 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 8028 ECHO_T=' ';; 10861 8029 esac;; 10862 8030 *) 10863 8031 ECHO_N='-n';; 10864 8032 esac 10865 if expr a : '\(a\)' >/dev/null 2>&1 &&10866 test "X`expr 00001 : '.*\(...\)'`" = X001; then10867 as_expr=expr10868 else10869 as_expr=false10870 fi10871 8033 10872 8034 rm -f conf$$ conf$$.exe conf$$.file … … 10897 8059 rmdir conf$$.dir 2>/dev/null 10898 8060 8061 8062 # as_fn_mkdir_p 8063 # ------------- 8064 # Create "$as_dir" as a directory, including parents if necessary. 8065 as_fn_mkdir_p () 8066 { 8067 8068 case $as_dir in #( 8069 -*) as_dir=./$as_dir;; 8070 esac 8071 test -d "$as_dir" || eval $as_mkdir_p || { 8072 as_dirs= 8073 while :; do 8074 case $as_dir in #( 8075 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 8076 *) as_qdir=$as_dir;; 8077 esac 8078 as_dirs="'$as_qdir' $as_dirs" 8079 as_dir=`$as_dirname -- "$as_dir" || 8080 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8081 X"$as_dir" : 'X\(//\)[^/]' \| \ 8082 X"$as_dir" : 'X\(//\)$' \| \ 8083 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8084 $as_echo X"$as_dir" | 8085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8086 s//\1/ 8087 q 8088 } 8089 /^X\(\/\/\)[^/].*/{ 8090 s//\1/ 8091 q 8092 } 8093 /^X\(\/\/\)$/{ 8094 s//\1/ 8095 q 8096 } 8097 /^X\(\/\).*/{ 8098 s//\1/ 8099 q 8100 } 8101 s/.*/./; q'` 8102 test -d "$as_dir" && break 8103 done 8104 test -z "$as_dirs" || eval "mkdir $as_dirs" 8105 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 8106 8107 8108 } # as_fn_mkdir_p 10899 8109 if mkdir -p . 2>/dev/null; then 10900 as_mkdir_p= :8110 as_mkdir_p='mkdir -p "$as_dir"' 10901 8111 else 10902 8112 test -d ./-p && rmdir ./-p … … 10917 8127 test -d "$1/."; 10918 8128 else 10919 case $1 in 8129 case $1 in #( 10920 8130 -*)set "./$1";; 10921 8131 esac; 10922 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 8132 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 10923 8133 ???[sx]*):;;*)false;;esac;fi 10924 8134 '\'' sh … … 10935 8145 10936 8146 exec 6>&1 10937 10938 # Save the log message, to keep $[0] and so on meaningful, and to 8147 ## ----------------------------------- ## 8148 ## Main body of $CONFIG_STATUS script. ## 8149 ## ----------------------------------- ## 8150 _ASEOF 8151 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 8152 8153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8154 # Save the log message, to keep $0 and so on meaningful, and to 10939 8155 # report actual input values of CONFIG_FILES etc. instead of their 10940 8156 # values after options handling. 10941 8157 ac_log=" 10942 8158 This file was extended by vizservers $as_me 0.1, which was 10943 generated by GNU Autoconf 2.6 3. Invocation command line was8159 generated by GNU Autoconf 2.65. Invocation command line was 10944 8160 10945 8161 CONFIG_FILES = $CONFIG_FILES … … 10972 8188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10973 8189 ac_cs_usage="\ 10974 \`$as_me' instantiates files from templates according to the 10975 current configuration. 10976 10977 Usage: $0 [OPTION]... [FILE]... 8190 \`$as_me' instantiates files and other configuration actions 8191 from templates according to the current configuration. Unless the files 8192 and actions are specified as TAGs, all are instantiated by default. 8193 8194 Usage: $0 [OPTION]... [TAG]... 10978 8195 10979 8196 -h, --help print this help, then exit 10980 8197 -V, --version print version number and configuration settings, then exit 8198 --config print configuration, then exit 10981 8199 -q, --quiet, --silent 10982 8200 do not print progress messages … … 10994 8212 $config_headers 10995 8213 10996 Report bugs to < bug-autoconf@gnu.org>."8214 Report bugs to <rappture@nanohub.org>." 10997 8215 10998 8216 _ACEOF 10999 8217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8218 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 11000 8219 ac_cs_version="\\ 11001 8220 vizservers config.status 0.1 11002 configured by $0, generated by GNU Autoconf 2.6 3,11003 with options \\" `$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"11004 11005 Copyright (C) 200 8Free Software Foundation, Inc.8221 configured by $0, generated by GNU Autoconf 2.65, 8222 with options \\"\$ac_cs_config\\" 8223 8224 Copyright (C) 2009 Free Software Foundation, Inc. 11006 8225 This config.status script is free software; the Free Software Foundation 11007 8226 gives unlimited permission to copy, distribute and modify it." … … 11038 8257 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 11039 8258 $as_echo "$ac_cs_version"; exit ;; 8259 --config | --confi | --conf | --con | --co | --c ) 8260 $as_echo "$ac_cs_config"; exit ;; 11040 8261 --debug | --debu | --deb | --de | --d | -d ) 11041 8262 debug=: ;; … … 11045 8266 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11046 8267 esac 11047 CONFIG_FILES="$CONFIG_FILES'$ac_optarg'"8268 as_fn_append CONFIG_FILES " '$ac_optarg'" 11048 8269 ac_need_defaults=false;; 11049 8270 --header | --heade | --head | --hea ) … … 11052 8273 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11053 8274 esac 11054 CONFIG_HEADERS="$CONFIG_HEADERS'$ac_optarg'"8275 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 11055 8276 ac_need_defaults=false;; 11056 8277 --he | --h) 11057 8278 # Conflict between --help and --header 11058 { $as_echo "$as_me: error: ambiguous option: $1 11059 Try \`$0 --help' for more information." >&2 11060 { (exit 1); exit 1; }; };; 8279 as_fn_error "ambiguous option: \`$1' 8280 Try \`$0 --help' for more information.";; 11061 8281 --help | --hel | -h ) 11062 8282 $as_echo "$ac_cs_usage"; exit ;; … … 11066 8286 11067 8287 # This is an error. 11068 -*) { $as_echo "$as_me: error: unrecognized option: $1 11069 Try \`$0 --help' for more information." >&2 11070 { (exit 1); exit 1; }; } ;; 11071 11072 *) ac_config_targets="$ac_config_targets $1" 8288 -*) as_fn_error "unrecognized option: \`$1' 8289 Try \`$0 --help' for more information." ;; 8290 8291 *) as_fn_append ac_config_targets " $1" 11073 8292 ac_need_defaults=false ;; 11074 8293 … … 11123 8342 "nanovis/newmat11/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/newmat11/Makefile" ;; 11124 8343 "nanovis/R2/src/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/R2/src/Makefile" ;; 8344 "nanovis/vrutil/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/vrutil/Makefile" ;; 8345 "nanovis/vrmath/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/vrmath/Makefile" ;; 8346 "nanovis/vr3d/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/vr3d/Makefile" ;; 11125 8347 "nanovis/imgLoaders/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/imgLoaders/Makefile" ;; 11126 8348 "nanovis/transfer-function/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/transfer-function/Makefile" ;; … … 11128 8350 "start_viz.sh") CONFIG_FILES="$CONFIG_FILES start_viz.sh" ;; 11129 8351 11130 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 11131 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 11132 { (exit 1); exit 1; }; };; 8352 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 11133 8353 esac 11134 8354 done … … 11156 8376 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 11157 8377 ' 0 11158 trap ' { (exit 1); exit 1; }' 1 2 13 158378 trap 'as_fn_exit 1' 1 2 13 15 11159 8379 } 11160 8380 # Create a (secure) tmp directory for tmp files. … … 11167 8387 tmp=./conf$$-$RANDOM 11168 8388 (umask 077 && mkdir "$tmp") 11169 } || 11170 { 11171 $as_echo "$as_me: cannot create a temporary directory in ." >&2 11172 { (exit 1); exit 1; } 11173 } 8389 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 11174 8390 11175 8391 # Set up the scripts for CONFIG_FILES section. … … 11179 8395 11180 8396 11181 ac_cr=' 11182 ' 8397 ac_cr=`echo X | tr X '\015'` 8398 # On cygwin, bash can eat \r inside `` if the user requested igncr. 8399 # But we know of no other shell where ac_cr would be empty at this 8400 # point, so we can use a bashism as a fallback. 8401 if test "x$ac_cr" = x; then 8402 eval ac_cr=\$\'\\r\' 8403 fi 11183 8404 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 11184 8405 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 11185 ac_cs_awk_cr='\ \r'8406 ac_cs_awk_cr='\r' 11186 8407 else 11187 8408 ac_cs_awk_cr=$ac_cr … … 11197 8418 echo "_ACEOF" 11198 8419 } >conf$$subs.sh || 11199 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 11200 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 11201 { (exit 1); exit 1; }; } 8420 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 11202 8421 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 11203 8422 ac_delim='%!_!# ' 11204 8423 for ac_last_try in false false false false false :; do 11205 8424 . ./conf$$subs.sh || 11206 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 11207 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 11208 { (exit 1); exit 1; }; } 8425 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 11209 8426 11210 8427 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 11212 8429 break 11213 8430 elif $ac_last_try; then 11214 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 11215 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 11216 { (exit 1); exit 1; }; } 8431 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 11217 8432 else 11218 8433 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 11236 8451 :nl 11237 8452 h 11238 s/\(.\{148\}\). */\1/8453 s/\(.\{148\}\)..*/\1/ 11239 8454 t more1 11240 8455 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 11250 8465 :delim 11251 8466 h 11252 s/\(.\{148\}\). */\1/8467 s/\(.\{148\}\)..*/\1/ 11253 8468 t more2 11254 8469 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 11303 8518 cat 11304 8519 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 11305 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 11306 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 11307 { (exit 1); exit 1; }; } 8520 || as_fn_error "could not setup config files machinery" "$LINENO" 5 11308 8521 _ACEOF 11309 8522 … … 11346 8559 break 11347 8560 elif $ac_last_try; then 11348 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 11349 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 11350 { (exit 1); exit 1; }; } 8561 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 11351 8562 else 11352 8563 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 11433 8644 _ACEOF 11434 8645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11435 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 11436 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 11437 { (exit 1); exit 1; }; } 8646 as_fn_error "could not setup config headers machinery" "$LINENO" 5 11438 8647 fi # test -n "$CONFIG_HEADERS" 11439 8648 … … 11448 8657 case $ac_mode$ac_tag in 11449 8658 :[FHL]*:*);; 11450 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 11451 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 11452 { (exit 1); exit 1; }; };; 8659 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 11453 8660 :[FH]-) ac_tag=-:-;; 11454 8661 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 11478 8685 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 11479 8686 esac || 11480 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 11481 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 11482 { (exit 1); exit 1; }; };; 8687 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 11483 8688 esac 11484 8689 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 11485 a c_file_inputs="$ac_file_inputs'$ac_f'"8690 as_fn_append ac_file_inputs " '$ac_f'" 11486 8691 done 11487 8692 … … 11494 8699 if test x"$ac_file" != x-; then 11495 8700 configure_input="$ac_file. $configure_input" 11496 { $as_echo "$as_me:$ LINENO: creating $ac_file" >&58701 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 11497 8702 $as_echo "$as_me: creating $ac_file" >&6;} 11498 8703 fi … … 11507 8712 case $ac_tag in 11508 8713 *:-:* | *:-) cat >"$tmp/stdin" \ 11509 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 11510 $as_echo "$as_me: error: could not create $ac_file" >&2;} 11511 { (exit 1); exit 1; }; } ;; 8714 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 11512 8715 esac 11513 8716 ;; … … 11537 8740 } 11538 8741 s/.*/./; q'` 11539 { as_dir="$ac_dir" 11540 case $as_dir in #( 11541 -*) as_dir=./$as_dir;; 11542 esac 11543 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 11544 as_dirs= 11545 while :; do 11546 case $as_dir in #( 11547 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 11548 *) as_qdir=$as_dir;; 11549 esac 11550 as_dirs="'$as_qdir' $as_dirs" 11551 as_dir=`$as_dirname -- "$as_dir" || 11552 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11553 X"$as_dir" : 'X\(//\)[^/]' \| \ 11554 X"$as_dir" : 'X\(//\)$' \| \ 11555 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 11556 $as_echo X"$as_dir" | 11557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11558 s//\1/ 11559 q 11560 } 11561 /^X\(\/\/\)[^/].*/{ 11562 s//\1/ 11563 q 11564 } 11565 /^X\(\/\/\)$/{ 11566 s//\1/ 11567 q 11568 } 11569 /^X\(\/\).*/{ 11570 s//\1/ 11571 q 11572 } 11573 s/.*/./; q'` 11574 test -d "$as_dir" && break 11575 done 11576 test -z "$as_dirs" || eval "mkdir $as_dirs" 11577 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 11578 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 11579 { (exit 1); exit 1; }; }; } 8742 as_dir="$ac_dir"; as_fn_mkdir_p 11580 8743 ac_builddir=. 11581 8744 … … 11634 8797 # FIXME: This hack should be removed a few years after 2.60. 11635 8798 ac_datarootdir_hack=; ac_datarootdir_seen= 11636 11637 8799 ac_sed_dataroot=' 11638 8800 /datarootdir/ { … … 11644 8806 /@infodir@/p 11645 8807 /@localedir@/p 11646 /@mandir@/p 11647 ' 8808 /@mandir@/p' 11648 8809 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 11649 8810 *datarootdir*) ac_datarootdir_seen=yes;; 11650 8811 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 11651 { $as_echo "$as_me:$ LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&58812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 11652 8813 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 11653 8814 _ACEOF … … 11659 8820 s&@localedir@&$localedir&g 11660 8821 s&@mandir@&$mandir&g 11661 8822 s&\\\${datarootdir}&$datarootdir&g' ;; 11662 8823 esac 11663 8824 _ACEOF … … 11688 8849 " 11689 8850 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 11690 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 11691 $as_echo "$as_me: error: could not create $ac_file" >&2;} 11692 { (exit 1); exit 1; }; } 8851 || as_fn_error "could not create $ac_file" "$LINENO" 5 11693 8852 11694 8853 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 11695 8854 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 11696 8855 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 11697 { $as_echo "$as_me:$ LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'8856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11698 8857 which seems to be undefined. Please make sure it is defined." >&5 11699 8858 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' … … 11705 8864 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 11706 8865 esac \ 11707 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 11708 $as_echo "$as_me: error: could not create $ac_file" >&2;} 11709 { (exit 1); exit 1; }; } 8866 || as_fn_error "could not create $ac_file" "$LINENO" 5 11710 8867 ;; 11711 8868 :H) … … 11718 8875 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 11719 8876 } >"$tmp/config.h" \ 11720 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 11721 $as_echo "$as_me: error: could not create $ac_file" >&2;} 11722 { (exit 1); exit 1; }; } 8877 || as_fn_error "could not create $ac_file" "$LINENO" 5 11723 8878 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 11724 { $as_echo "$as_me:$ LINENO: $ac_file is unchanged" >&58879 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 11725 8880 $as_echo "$as_me: $ac_file is unchanged" >&6;} 11726 8881 else 11727 8882 rm -f "$ac_file" 11728 8883 mv "$tmp/config.h" "$ac_file" \ 11729 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 11730 $as_echo "$as_me: error: could not create $ac_file" >&2;} 11731 { (exit 1); exit 1; }; } 8884 || as_fn_error "could not create $ac_file" "$LINENO" 5 11732 8885 fi 11733 8886 else 11734 8887 $as_echo "/* $configure_input */" \ 11735 8888 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 11736 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 11737 $as_echo "$as_me: error: could not create -" >&2;} 11738 { (exit 1); exit 1; }; } 8889 || as_fn_error "could not create -" "$LINENO" 5 11739 8890 fi 11740 8891 ;; … … 11746 8897 11747 8898 11748 { (exit 0); exit 0; } 11749 _ACEOF 11750 chmod +x $CONFIG_STATUS 8899 as_fn_exit 0 8900 _ACEOF 11751 8901 ac_clean_files=$ac_clean_files_save 11752 8902 11753 8903 test $ac_write_fail = 0 || 11754 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 11755 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 11756 { (exit 1); exit 1; }; } 8904 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 11757 8905 11758 8906 … … 11775 8923 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 11776 8924 # would make configure fail if this is the last instruction. 11777 $ac_cs_success || { (exit 1); exit 1; }8925 $ac_cs_success || as_fn_exit $? 11778 8926 fi 11779 8927 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 11780 { $as_echo "$as_me:$ LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&58928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 11781 8929 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 11782 8930 fi -
branches/blt4/packages/vizservers/configure.in
r1571 r1823 261 261 nanovis/newmat11/Makefile \ 262 262 nanovis/R2/src/Makefile \ 263 nanovis/vrutil/Makefile \ 264 nanovis/vrmath/Makefile \ 265 nanovis/vr3d/Makefile \ 263 266 nanovis/imgLoaders/Makefile \ 264 267 nanovis/transfer-function/Makefile \ -
branches/blt4/packages/vizservers/nanovis/Makefile.in
r1571 r1823 39 39 GL_INC_SPEC = -I/usr/include/GL 40 40 GL_LIB_SPEC = -lGL -lglut -lGLEW 41 IMG_DIR = ./imgLoaders 42 IMG_INC_SPEC = -I$(srcdir)/$(IMG_DIR) 43 IMG_LIB = $(IMG_DIR)/ImageLoaders.a 44 IMG_LIB_SPEC = $(IMG_LIB) 45 MAT_DIR = ./newmat11 46 MAT_INC_SPEC = -I$(srcdir)/$(MAT_DIR) 47 MAT_LIB = $(MAT_DIR)/newmat11.a 48 MAT_LIB_SPEC = $(MAT_LIB) 49 R2_DIR = ./R2 50 R2_INC_SPEC = -I$(srcdir)/$(R2_DIR)/include 51 R2_LIB = $(R2_DIR)/src/R2.a 52 R2_LIB_SPEC = $(R2_LIB) 41 IMG_DIR = ./imgLoaders 42 IMG_INC_SPEC = -I$(srcdir)/$(IMG_DIR) 43 IMG_LIB = $(IMG_DIR)/ImageLoaders.a 44 IMG_LIB_SPEC = $(IMG_LIB) 45 MAT_DIR = ./newmat11 46 MAT_INC_SPEC = -I$(srcdir)/$(MAT_DIR) 47 MAT_LIB = $(MAT_DIR)/newmat11.a 48 MAT_LIB_SPEC = $(MAT_LIB) 49 VRMATH_DIR = ./vrmath 50 VRMATH_INC_SPEC = -I$(srcdir)/$(VRMATH_DIR)/include 51 VRMATH_LIB = $(VRMATH_DIR)/vrmath.a 52 VRMATH_LIB_SPEC = $(VRMATH_LIB) 53 VRUTIL_DIR = ./vrutil 54 VRUTIL_INC_SPEC = -I$(srcdir)/$(VRUTIL_DIR)/include 55 VRUTIL_LIB = $(VRUTIL_DIR)/vrutil.a 56 VRUTIL_LIB_SPEC = $(VRUTIL_LIB) 57 VR3D_DIR = ./vr3d 58 VR3D_INC_SPEC = -I$(srcdir)/$(VR3D_DIR)/include 59 VR3D_LIB = $(VR3D_DIR)/vr3d.a 60 VR3D_LIB_SPEC = $(VR3D_LIB) 61 R2_DIR = ./R2 62 R2_INC_SPEC = -I$(srcdir)/$(R2_DIR)/include 63 R2_LIB = $(R2_DIR)/src/R2.a 64 R2_LIB_SPEC = $(R2_LIB) 53 65 54 66 EXTRA_LIBS = -lm -lpthread … … 68 80 $(R2_LIB_SPEC) \ 69 81 $(MAT_LIB_SPEC) \ 82 $(VRMATH_LIB_SPEC) \ 83 $(VRUTIL_LIB_SPEC) \ 84 $(VR3D_LIB_SPEC) \ 70 85 $(TCL_LIB_SPEC) \ 71 86 $(CG_LIB_SPEC) \ … … 81 96 $(IMG_INC_SPEC) \ 82 97 $(MAT_INC_SPEC) \ 98 $(VRMATH_INC_SPEC) \ 99 $(VRUTIL_INC_SPEC) \ 100 $(VR3D_INC_SPEC) \ 83 101 $(TCL_INC_SPEC) \ 84 102 $(CG_INC_SPEC) \ … … 101 119 ContourLineFilter.o \ 102 120 ConvexPolygon.o \ 121 DataLoader.o \ 103 122 Event.o \ 104 123 Unirect.o \ … … 127 146 NvZincBlendeReconstructor.o \ 128 147 NvZincBlendeVolumeShader.o \ 148 ParticleSystem.o \ 149 ParticleEmitter.o \ 150 ParticleSystemFactory.o \ 129 151 PCASplit.o \ 130 152 PerfQuery.o \ … … 160 182 $(srcdir)/resources/Font.bmp \ 161 183 $(srcdir)/resource/arrows_flip2.png \ 184 $(srcdir)/resource/arrows_red_bg.bmp \ 185 $(srcdir)/resource/arrows.bmp \ 162 186 $(srcdir)/resources/particle2.bmp \ 163 187 $(srcdir)/resources/verdana.fnt \ … … 182 206 $(srcdir)/shaders/velocityslicevp.cg \ 183 207 $(srcdir)/shaders/velocityslicefp.cg \ 184 $(srcdir)/shaders/zincblende_volume.cg 185 186 .PHONY: newmat11 R2 imgloaders transfer-function nanovis 187 188 all: newmat11 R2 imgloaders transfer-function nanovis 208 $(srcdir)/shaders/zincblende_volume.cg \ 209 $(srcdir)/shaders/distance.cg \ 210 $(srcdir)/shaders/distancesort.cg \ 211 $(srcdir)/shaders/mergesort.cg \ 212 $(srcdir)/shaders/moveparticles.cg \ 213 $(srcdir)/shaders/particlefp.cg \ 214 $(srcdir)/shaders/particlevp.cg \ 215 $(srcdir)/shaders/passthrough.cg \ 216 $(srcdir)/shaders/renderparticle.cg \ 217 $(srcdir)/shaders/velocity.cg 218 219 .PHONY: newmat11 R2 imgloaders vrmath vrutil vr3d transfer-function nanovis 220 221 all: newmat11 R2 imgloaders vrmath vrutil vr3d transfer-function nanovis 189 222 190 223 install: install-nanovis install-resources install-shaders … … 192 225 newmat11: $(MAT_LIB) 193 226 R2: $(R2_LIB) 227 vrmath: $(VRMATH_LIB) 228 vrutil: $(VRUTIL_LIB) 229 vr3d: $(VR3D_LIB) 194 230 imgloaders: $(IMG_LIB) 195 231 … … 197 233 $(MAKE) -C $(MAT_DIR) all 198 234 235 $(VRMATH_LIB): 236 $(MAKE) -C $(VRMATH_DIR) all 237 238 $(VRUTIL_LIB): 239 $(MAKE) -C $(VRUTIL_DIR) all 240 241 $(VR3D_LIB): 242 $(MAKE) -C $(VR3D_DIR) all 243 199 244 $(R2_LIB): 200 245 $(MAKE) -C $(R2_DIR)/src all … … 203 248 $(MAKE) -C $(IMG_DIR) all 204 249 205 nanovis: $(MAT_LIB) $(R2_LIB) $(IMG_LIB) $( OBJS)250 nanovis: $(MAT_LIB) $(R2_LIB) $(IMG_LIB) $(VRMATH_LIB) $(VRUTIL_LIB) $(VR3D_LIB) $(OBJS) 206 251 $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS) 207 252 … … 245 290 clean: 246 291 $(MAKE) -C $(MAT_DIR) clean 292 $(MAKE) -C $(VRMATH_DIR) clean 293 $(MAKE) -C $(VRUTIL_DIR) clean 294 $(MAKE) -C $(VR3D_DIR) clean 247 295 $(MAKE) -C $(R2_DIR)/src clean 248 296 $(MAKE) -C $(IMG_DIR) clean … … 254 302 NvStdVertexShader.o: NvStdVertexShader.cpp NvStdVertexShader.h 255 303 ContourLineFilter.o: ContourLineFilter.cpp ContourLineFilter.h 304 DataLoader.o: DataLoader.cpp 256 305 HeightMap.o: HeightMap.cpp HeightMap.h 257 306 Grid.o: Grid.cpp Grid.h … … 270 319 NvRegularVolumeShader.o: NvRegularVolumeShader.cpp NvRegularVolumeShader.h 271 320 NvZincBlendeVolumeShader.o: NvZincBlendeVolumeShader.cpp NvZincBlendeVolumeShader.h 321 ParticleSystem.o: ParticleSystem.cpp ParticleSystem.h 322 ParticleSystemFactory.o: ParticleSystemFactory.cpp ParticleSystemFactory.h 323 ParticleEmitter.o: ParticleEmitter.cpp ParticleEmitter.h 272 324 RenderVertexArray.o: RenderVertexArray.cpp RenderVertexArray.h 273 325 Color.o: Color.cpp Color.h -
branches/blt4/packages/vizservers/nanovis/imgLoaders/BMPImageLoaderImpl.cpp
r1380 r1823 90 90 } 91 91 break; 92 case 32: 93 fseek(f,offset,SEEK_SET); 94 if (_targetImageFormat == Image::IMG_RGBA) { 95 if (fread(bytes,width*height*4,1,f) != 1) { 96 fprintf(stderr, "can't read image data\n"); 97 } 98 for(x=0;x<width*height*4;x+=4) { //except the format is BGR, grr 99 unsigned char temp = bytes[x]; 100 bytes[x] = bytes[x+2]; 101 bytes[x+2] = temp; 102 } 103 } 104 else if (_targetImageFormat == Image::IMG_RGB) { 105 char* buff = (char*) malloc(width * height * sizeof(unsigned char) * 3); 106 if (fread(buff,width*height*4,1,f) != 1) { 107 fprintf(stderr, "can't read BMP image data\n"); 108 } 109 for(x=0, y = 0;x<width*height*4;x+=4, y+=3) { //except the format is BGR, grr 110 bytes[y] = buff[x+2]; 111 bytes[y+2] = buff[x]; 112 } 113 free(buff); 114 } 115 break; 92 116 case 8: 93 117 if (fread(cols,256 * 4,1,f) != 1) { -
branches/blt4/packages/vizservers/nanovis/nanovis.cpp
r1571 r1823 60 60 #include "VolumeInterpolator.h" 61 61 #include <RenderContext.h> 62 #include <vrutil/vrFilePath.h> 62 63 63 64 #include <BMPImageLoaderImpl.h> … … 835 836 DoExit(1); 836 837 } 838 839 vrFilePath::getInstance()->setPath(path); 837 840 838 841 NvInitCG(); … … 2459 2462 } 2460 2463 R2FilePath::getInstance()->setWorkingDirectory(argc, (const char**) argv); 2464 vrFilePath::getInstance()->setWorkingDirectory(argc, (const char**) argv); 2461 2465 2462 2466 #ifdef XINETD -
branches/blt4/packages/vizservers/nanovis/nanovis.h
r1798 r1823 15 15 */ 16 16 #ifndef __NANOVIS_H__ 17 #define __NANOVIS_H__ 117 #define __NANOVIS_H__ 18 18 19 19 #include <tcl.h> -
branches/blt4/packages/vizservers/nanovis/nvconf.h.in
r1798 r1823 1 #ifndef NVCONF_H2 #define NVCONF_H 13 4 1 /* nanovis/nvconf.h.in. Generated from configure.in by autoheader. */ 5 2 … … 108 105 # endif 109 106 #endif 110 111 #endif /* NVCONF_H */
Note: See TracChangeset
for help on using the changeset viewer.