Changeset 1823 for branches/blt4/packages/vizservers/configure
- Timestamp:
- Jul 14, 2010 7:07:44 PM (12 years ago)
- File:
-
- 1 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