Changeset 2936 for branches/blt4/packages/vizservers/configure
- Timestamp:
- Apr 3, 2012 3:51:13 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/packages/vizservers/configure
r2742 r2936 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 8for vizservers 0.1.3 # Generated by GNU Autoconf 2.63 for vizservers 0.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 #8 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 11 # 12 # 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 13 9 # This configure script is free software; the Free Software Foundation 14 10 # gives unlimited permission to copy, distribute and modify it. 15 ## -------------------- ##16 ## M4sh Initialization. ##17 ## -------------------- ##11 ## --------------------- ## 12 ## M4sh Initialization. ## 13 ## --------------------- ## 18 14 19 15 # Be more Bourne compatible 20 16 DUALCASE=1; export DUALCASE # for MKS sh 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 22 18 emulate sh 23 19 NULLCMD=: … … 27 23 setopt NO_GLOB_SUBST 28 24 else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34 esac 35 fi 36 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 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 37 41 38 42 as_nl=' … … 43 47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 50 as_echo='printf %s\n' 53 51 as_echo_n='printf %s' … … 60 58 as_echo_n_body='eval 61 59 arg=$1; 62 case $arg in #(60 case $arg in 63 61 *"$as_nl"*) 64 62 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 83 81 fi 84 82 83 # Support unset when possible. 84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 85 as_unset=unset 86 else 87 as_unset=false 88 fi 89 85 90 86 91 # IFS … … 92 97 93 98 # Find who we are. Look in the path if we contain no directory separator. 94 as_myself= 95 case $0 in #(( 99 case $0 in 96 100 *[\\/]* ) as_myself=$0 ;; 97 101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 100 104 IFS=$as_save_IFS 101 105 test -z "$as_dir" && as_dir=. 102 103 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 107 done 104 108 IFS=$as_save_IFS 105 109 … … 113 117 if test ! -f "$as_myself"; then 114 118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116 fi 117 118 # Unset variables that we do not need and which cause bugs (e.g. in 119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120 # suppresses any "Segmentation fault" message there. '((' could 121 # trigger a bug in pdksh 5.2.14. 122 for as_var in BASH_ENV ENV MAIL MAILPATH 123 do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 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 125 125 done 126 126 PS1='$ ' … … 134 134 export LANGUAGE 135 135 136 # CDPATH. 137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139 if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147 else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153 esac 154 fi 155 " 156 as_required="as_fn_return () { (exit \$1); } 157 as_fn_success () { as_fn_return 0; } 158 as_fn_failure () { as_fn_return 1; } 159 as_fn_ret_success () { return 0; } 160 as_fn_ret_failure () { return 1; } 161 162 exitcode=0 163 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169 else 170 exitcode=1; echo positional parameters were not saved. 171 fi 172 test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177 test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180 else 181 as_have_required=no 182 fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185 else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187 as_found=false 188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189 do 190 IFS=$as_save_IFS 191 test -z "$as_dir" && as_dir=. 192 as_found=: 193 case $as_dir in #( 194 /*) 195 for as_base in sh bash ksh sh5; do 196 # Try only shells that exist, to save several forks. 197 as_shell=$as_dir/$as_base 198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 CONFIG_SHELL=$as_shell as_have_required=yes 201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202 break 2 203 fi 204 fi 205 done;; 206 esac 207 as_found=false 208 done 209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211 CONFIG_SHELL=$SHELL as_have_required=yes 212 fi; } 213 IFS=$as_save_IFS 214 215 216 if test "x$CONFIG_SHELL" != x; then : 217 # We cannot yet assume a decent shell, so we have to provide a 218 # neutralization value for shells without unset; and this also 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232 fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240 else 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242 $0: rappture@nanohub.org about your system, including any 243 $0: error possibly output before this message. Then install 244 $0: a modern shell, or manually run the script under such a 245 $0: shell if you do have one." 246 fi 247 exit 1 248 fi 249 fi 250 fi 251 SHELL=${CONFIG_SHELL-/bin/sh} 252 export SHELL 253 # Unset more variables known to interfere with behavior of common tools. 254 CLICOLOR_FORCE= GREP_OPTIONS= 255 unset CLICOLOR_FORCE GREP_OPTIONS 256 257 ## --------------------- ## 258 ## M4sh Shell Functions. ## 259 ## --------------------- ## 260 # as_fn_unset VAR 261 # --------------- 262 # Portably unset VAR. 263 as_fn_unset () 264 { 265 { eval $1=; unset $1;} 266 } 267 as_unset=as_fn_unset 268 269 # as_fn_set_status STATUS 270 # ----------------------- 271 # Set $? to STATUS, without forking. 272 as_fn_set_status () 273 { 274 return $1 275 } # as_fn_set_status 276 277 # as_fn_exit STATUS 278 # ----------------- 279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280 as_fn_exit () 281 { 282 set +e 283 as_fn_set_status $1 284 exit $1 285 } # as_fn_exit 286 287 # as_fn_mkdir_p 288 # ------------- 289 # Create "$as_dir" as a directory, including parents if necessary. 290 as_fn_mkdir_p () 291 { 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309 $as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 331 332 333 } # as_fn_mkdir_p 334 # as_fn_append VAR VALUE 335 # ---------------------- 336 # Append the text in VALUE to the end of the definition contained in VAR. Take 337 # advantage of any shell optimizations that allow amortized linear growth over 338 # repeated appends, instead of the typical quadratic growth present in naive 339 # implementations. 340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345 else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350 fi # as_fn_append 351 352 # as_fn_arith ARG... 353 # ------------------ 354 # Perform arithmetic evaluation on the ARGs, and store the result in the 355 # global $as_val. Take advantage of shells that can avoid forks. The arguments 356 # must be portable across $(()) and expr. 357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362 else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367 fi # as_fn_arith 368 369 370 # as_fn_error STATUS ERROR [LINENO LOG_FD] 371 # ---------------------------------------- 372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374 # script with STATUS, using 1 if that was 0. 375 as_fn_error () 376 { 377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 381 fi 382 $as_echo "$as_me: error: $2" >&2 383 as_fn_exit $as_status 384 } # as_fn_error 385 136 # Required to use basename. 386 137 if expr a : '\(a\)' >/dev/null 2>&1 && 387 138 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 397 148 fi 398 149 399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401 else 402 as_dirname=false 403 fi 404 150 151 # Name of the executable. 405 152 as_me=`$as_basename -- "$0" || 406 153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 422 169 s/.*/./; q'` 423 170 424 # Avoid depending upon Character Ranges. 425 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 428 as_cr_digits='0123456789' 429 as_cr_alnum=$as_cr_Letters$as_cr_digits 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 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. :-) 437 460 sed -n ' 438 461 p … … 451 474 ' >$as_me.lineno && 452 475 chmod +x "$as_me.lineno" || 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 454 478 455 479 # Don't try to exec as it changes $[0], causing all sort of problems … … 461 485 } 462 486 487 488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 489 as_dirname=dirname 490 else 491 as_dirname=false 492 fi 493 463 494 ECHO_C= ECHO_N= ECHO_T= 464 case `echo -n x` in #(((((495 case `echo -n x` in 465 496 -n*) 466 case `echo 'x y\c'` in497 case `echo 'x\c'` in 467 498 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 499 *) ECHO_C='\c';; 471 500 esac;; 472 501 *) 473 502 ECHO_N='-n';; 474 503 esac 504 if expr a : '\(a\)' >/dev/null 2>&1 && 505 test "X`expr 00001 : '.*\(...\)'`" = X001; then 506 as_expr=expr 507 else 508 as_expr=false 509 fi 475 510 476 511 rm -f conf$$ conf$$.exe conf$$.file … … 502 537 503 538 if mkdir -p . 2>/dev/null; then 504 as_mkdir_p= 'mkdir -p "$as_dir"'539 as_mkdir_p=: 505 540 else 506 541 test -d ./-p && rmdir ./-p … … 521 556 test -d "$1/."; 522 557 else 523 case $1 in #(558 case $1 in 524 559 -*)set "./$1";; 525 560 esac; 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 527 562 ???[sx]*):;;*)false;;esac;fi 528 563 '\'' sh … … 538 573 539 574 540 test -n "$DJDIR" || exec 7<&0 </dev/null 541 exec 6>&1575 576 exec 7<&0 </dev/null 6>&1 542 577 543 578 # Name of the host. 544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 545 580 # so uname gets run too. 546 581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 557 592 MFLAGS= 558 593 MAKEFLAGS= 594 SHELL=${CONFIG_SHELL-/bin/sh} 559 595 560 596 # Identity of this package. … … 564 600 PACKAGE_STRING='vizservers 0.1' 565 601 PACKAGE_BUGREPORT='rappture@nanohub.org' 566 PACKAGE_URL=''567 602 568 603 # Factoring default headers for most tests. … … 624 659 DX_LIB_SPEC 625 660 DX_INC_SPEC 626 CG_LIB_DIR 627 CG_INC_DIR 628 CG_DIR 661 CG_LIB_SPEC 662 CG_INC_SPEC 629 663 CXXCPP 630 664 ac_ct_CXX … … 702 736 prefix 703 737 exec_prefix 704 PACKAGE_URL705 738 PACKAGE_BUGREPORT 706 739 PACKAGE_STRING … … 801 834 802 835 case $ac_option in 803 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 804 *=) ac_optarg= ;; 805 *) ac_optarg=yes ;; 836 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 837 *) ac_optarg=yes ;; 806 838 esac 807 839 … … 848 880 # Reject names that are not valid shell variable names. 849 881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 850 as_fn_error $? "invalid feature name: $ac_useropt" 882 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 883 { (exit 1); exit 1; }; } 851 884 ac_useropt_orig=$ac_useropt 852 885 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 874 907 # Reject names that are not valid shell variable names. 875 908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 876 as_fn_error $? "invalid feature name: $ac_useropt" 909 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 910 { (exit 1); exit 1; }; } 877 911 ac_useropt_orig=$ac_useropt 878 912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1078 1112 # Reject names that are not valid shell variable names. 1079 1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1080 as_fn_error $? "invalid package name: $ac_useropt" 1114 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1115 { (exit 1); exit 1; }; } 1081 1116 ac_useropt_orig=$ac_useropt 1082 1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1094 1129 # Reject names that are not valid shell variable names. 1095 1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1096 as_fn_error $? "invalid package name: $ac_useropt" 1131 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1132 { (exit 1); exit 1; }; } 1097 1133 ac_useropt_orig=$ac_useropt 1098 1134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1124 1160 x_libraries=$ac_optarg ;; 1125 1161 1126 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1127 Try \`$0 --help' for more information" 1162 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1163 Try \`$0 --help' for more information." >&2 1164 { (exit 1); exit 1; }; } 1128 1165 ;; 1129 1166 … … 1131 1168 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1132 1169 # Reject names that are not valid shell variable names. 1133 case $ac_envvar in #( 1134 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1135 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1136 esac 1170 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1171 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1172 { (exit 1); exit 1; }; } 1137 1173 eval $ac_envvar=\$ac_optarg 1138 1174 export $ac_envvar ;; … … 1143 1179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1144 1180 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1145 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"1181 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1146 1182 ;; 1147 1183 … … 1151 1187 if test -n "$ac_prev"; then 1152 1188 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1153 as_fn_error $? "missing argument to $ac_option" 1189 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1190 { (exit 1); exit 1; }; } 1154 1191 fi 1155 1192 … … 1157 1194 case $enable_option_checking in 1158 1195 no) ;; 1159 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1196 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1197 { (exit 1); exit 1; }; } ;; 1160 1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1161 1199 esac … … 1180 1218 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1181 1219 esac 1182 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1220 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1221 { (exit 1); exit 1; }; } 1183 1222 done 1184 1223 … … 1194 1233 if test "x$build_alias" = x; then 1195 1234 cross_compiling=maybe 1196 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1197 If a cross compiler is detected then cross compile mode will be used " >&21235 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1236 If a cross compiler is detected then cross compile mode will be used." >&2 1198 1237 elif test "x$build_alias" != "x$host_alias"; then 1199 1238 cross_compiling=yes … … 1210 1249 ac_ls_di=`ls -di .` && 1211 1250 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1212 as_fn_error $? "working directory cannot be determined" 1251 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1252 { (exit 1); exit 1; }; } 1213 1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1214 as_fn_error $? "pwd does not report name of working directory" 1254 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1255 { (exit 1); exit 1; }; } 1215 1256 1216 1257 … … 1251 1292 if test ! -r "$srcdir/$ac_unique_file"; then 1252 1293 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1253 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1294 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1295 { (exit 1); exit 1; }; } 1254 1296 fi 1255 1297 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1256 1298 ac_abs_confdir=`( 1257 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1299 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1300 { (exit 1); exit 1; }; } 1258 1301 pwd)` 1259 1302 # When building in place, set srcdir=. … … 1295 1338 --help=recursive display the short help of all the included packages 1296 1339 -V, --version display version information and exit 1297 -q, --quiet, --silent do not print \`checking 1340 -q, --quiet, --silent do not print \`checking...' messages 1298 1341 --cache-file=FILE cache test results in FILE [disabled] 1299 1342 -C, --config-cache alias for \`--cache-file=config.cache' … … 1378 1421 nonstandard directory <lib dir> 1379 1422 LIBS libraries to pass to the linker, e.g. -l<library> 1380 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1423 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1381 1424 you have headers in a nonstandard directory <include dir> 1382 1425 CPP C preprocessor … … 1453 1496 cat <<\_ACEOF 1454 1497 vizservers configure 0.1 1455 generated by GNU Autoconf 2.68 1456 1457 Copyright (C) 2010 Free Software Foundation, Inc. 1498 generated by GNU Autoconf 2.63 1499 1500 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1501 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1458 1502 This configure script is free software; the Free Software Foundation 1459 1503 gives unlimited permission to copy, distribute and modify it. … … 1461 1505 exit 1462 1506 fi 1463 1464 ## ------------------------ ##1465 ## Autoconf initialization. ##1466 ## ------------------------ ##1467 1468 # ac_fn_c_try_compile LINENO1469 # --------------------------1470 # Try to compile conftest.$ac_ext, and return whether this succeeded.1471 ac_fn_c_try_compile ()1472 {1473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1474 rm -f conftest.$ac_objext1475 if { { ac_try="$ac_compile"1476 case "(($ac_try" in1477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1478 *) ac_try_echo=$ac_try;;1479 esac1480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1481 $as_echo "$ac_try_echo"; } >&51482 (eval "$ac_compile") 2>conftest.err1483 ac_status=$?1484 if test -s conftest.err; then1485 grep -v '^ *+' conftest.err >conftest.er11486 cat conftest.er1 >&51487 mv -f conftest.er1 conftest.err1488 fi1489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51490 test $ac_status = 0; } && {1491 test -z "$ac_c_werror_flag" ||1492 test ! -s conftest.err1493 } && test -s conftest.$ac_objext; then :1494 ac_retval=01495 else1496 $as_echo "$as_me: failed program was:" >&51497 sed 's/^/| /' conftest.$ac_ext >&51498 1499 ac_retval=11500 fi1501 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1502 as_fn_set_status $ac_retval1503 1504 } # ac_fn_c_try_compile1505 1506 # ac_fn_c_try_cpp LINENO1507 # ----------------------1508 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1509 ac_fn_c_try_cpp ()1510 {1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1512 if { { ac_try="$ac_cpp conftest.$ac_ext"1513 case "(($ac_try" in1514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1515 *) ac_try_echo=$ac_try;;1516 esac1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1518 $as_echo "$ac_try_echo"; } >&51519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1520 ac_status=$?1521 if test -s conftest.err; then1522 grep -v '^ *+' conftest.err >conftest.er11523 cat conftest.er1 >&51524 mv -f conftest.er1 conftest.err1525 fi1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51527 test $ac_status = 0; } > conftest.i && {1528 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1529 test ! -s conftest.err1530 }; then :1531 ac_retval=01532 else1533 $as_echo "$as_me: failed program was:" >&51534 sed 's/^/| /' conftest.$ac_ext >&51535 1536 ac_retval=11537 fi1538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1539 as_fn_set_status $ac_retval1540 1541 } # ac_fn_c_try_cpp1542 1543 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1544 # -------------------------------------------------------1545 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1546 # the include files in INCLUDES and setting the cache variable VAR1547 # accordingly.1548 ac_fn_c_check_header_mongrel ()1549 {1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1551 if eval \${$3+:} false; then :1552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51553 $as_echo_n "checking for $2... " >&6; }1554 if eval \${$3+:} false; then :1555 $as_echo_n "(cached) " >&61556 fi1557 eval ac_res=\$$31558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51559 $as_echo "$ac_res" >&6; }1560 else1561 # Is the header compilable?1562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51563 $as_echo_n "checking $2 usability... " >&6; }1564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1565 /* end confdefs.h. */1566 $41567 #include <$2>1568 _ACEOF1569 if ac_fn_c_try_compile "$LINENO"; then :1570 ac_header_compiler=yes1571 else1572 ac_header_compiler=no1573 fi1574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51576 $as_echo "$ac_header_compiler" >&6; }1577 1578 # Is the header present?1579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51580 $as_echo_n "checking $2 presence... " >&6; }1581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1582 /* end confdefs.h. */1583 #include <$2>1584 _ACEOF1585 if ac_fn_c_try_cpp "$LINENO"; then :1586 ac_header_preproc=yes1587 else1588 ac_header_preproc=no1589 fi1590 rm -f conftest.err conftest.i conftest.$ac_ext1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51592 $as_echo "$ac_header_preproc" >&6; }1593 1594 # So? What about this header?1595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((1596 yes:no: )1597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&51598 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}1599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51600 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1601 ;;1602 no:yes:* )1603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&51604 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}1605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&51606 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}1607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&51608 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}1609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&51610 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}1611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51612 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1613 ( $as_echo "## ----------------------------------- ##1614 ## Report this to rappture@nanohub.org ##1615 ## ----------------------------------- ##"1616 ) | sed "s/^/$as_me: WARNING: /" >&21617 ;;1618 esac1619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51620 $as_echo_n "checking for $2... " >&6; }1621 if eval \${$3+:} false; then :1622 $as_echo_n "(cached) " >&61623 else1624 eval "$3=\$ac_header_compiler"1625 fi1626 eval ac_res=\$$31627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51628 $as_echo "$ac_res" >&6; }1629 fi1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1631 1632 } # ac_fn_c_check_header_mongrel1633 1634 # ac_fn_c_try_run LINENO1635 # ----------------------1636 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1637 # that executables *can* be run.1638 ac_fn_c_try_run ()1639 {1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1641 if { { ac_try="$ac_link"1642 case "(($ac_try" in1643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1644 *) ac_try_echo=$ac_try;;1645 esac1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1647 $as_echo "$ac_try_echo"; } >&51648 (eval "$ac_link") 2>&51649 ac_status=$?1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51651 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1652 { { case "(($ac_try" in1653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1654 *) ac_try_echo=$ac_try;;1655 esac1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1657 $as_echo "$ac_try_echo"; } >&51658 (eval "$ac_try") 2>&51659 ac_status=$?1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51661 test $ac_status = 0; }; }; then :1662 ac_retval=01663 else1664 $as_echo "$as_me: program exited with status $ac_status" >&51665 $as_echo "$as_me: failed program was:" >&51666 sed 's/^/| /' conftest.$ac_ext >&51667 1668 ac_retval=$ac_status1669 fi1670 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1672 as_fn_set_status $ac_retval1673 1674 } # ac_fn_c_try_run1675 1676 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1677 # -------------------------------------------------------1678 # Tests whether HEADER exists and can be compiled using the include files in1679 # INCLUDES, setting the cache variable VAR accordingly.1680 ac_fn_c_check_header_compile ()1681 {1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51684 $as_echo_n "checking for $2... " >&6; }1685 if eval \${$3+:} false; then :1686 $as_echo_n "(cached) " >&61687 else1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1689 /* end confdefs.h. */1690 $41691 #include <$2>1692 _ACEOF1693 if ac_fn_c_try_compile "$LINENO"; then :1694 eval "$3=yes"1695 else1696 eval "$3=no"1697 fi1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1699 fi1700 eval ac_res=\$$31701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51702 $as_echo "$ac_res" >&6; }1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1704 1705 } # ac_fn_c_check_header_compile1706 1707 # ac_fn_c_try_link LINENO1708 # -----------------------1709 # Try to link conftest.$ac_ext, and return whether this succeeded.1710 ac_fn_c_try_link ()1711 {1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1713 rm -f conftest.$ac_objext conftest$ac_exeext1714 if { { ac_try="$ac_link"1715 case "(($ac_try" in1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1717 *) ac_try_echo=$ac_try;;1718 esac1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1720 $as_echo "$ac_try_echo"; } >&51721 (eval "$ac_link") 2>conftest.err1722 ac_status=$?1723 if test -s conftest.err; then1724 grep -v '^ *+' conftest.err >conftest.er11725 cat conftest.er1 >&51726 mv -f conftest.er1 conftest.err1727 fi1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51729 test $ac_status = 0; } && {1730 test -z "$ac_c_werror_flag" ||1731 test ! -s conftest.err1732 } && test -s conftest$ac_exeext && {1733 test "$cross_compiling" = yes ||1734 $as_test_x conftest$ac_exeext1735 }; then :1736 ac_retval=01737 else1738 $as_echo "$as_me: failed program was:" >&51739 sed 's/^/| /' conftest.$ac_ext >&51740 1741 ac_retval=11742 fi1743 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1744 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1745 # interfere with the next link command; also delete a directory that is1746 # left behind by Apple's compiler. We do this before executing the actions.1747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1749 as_fn_set_status $ac_retval1750 1751 } # ac_fn_c_try_link1752 1753 # ac_fn_cxx_try_compile LINENO1754 # ----------------------------1755 # Try to compile conftest.$ac_ext, and return whether this succeeded.1756 ac_fn_cxx_try_compile ()1757 {1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1759 rm -f conftest.$ac_objext1760 if { { ac_try="$ac_compile"1761 case "(($ac_try" in1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1763 *) ac_try_echo=$ac_try;;1764 esac1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1766 $as_echo "$ac_try_echo"; } >&51767 (eval "$ac_compile") 2>conftest.err1768 ac_status=$?1769 if test -s conftest.err; then1770 grep -v '^ *+' conftest.err >conftest.er11771 cat conftest.er1 >&51772 mv -f conftest.er1 conftest.err1773 fi1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51775 test $ac_status = 0; } && {1776 test -z "$ac_cxx_werror_flag" ||1777 test ! -s conftest.err1778 } && test -s conftest.$ac_objext; then :1779 ac_retval=01780 else1781 $as_echo "$as_me: failed program was:" >&51782 sed 's/^/| /' conftest.$ac_ext >&51783 1784 ac_retval=11785 fi1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1787 as_fn_set_status $ac_retval1788 1789 } # ac_fn_cxx_try_compile1790 1791 # ac_fn_cxx_try_cpp LINENO1792 # ------------------------1793 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1794 ac_fn_cxx_try_cpp ()1795 {1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1797 if { { ac_try="$ac_cpp conftest.$ac_ext"1798 case "(($ac_try" in1799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1800 *) ac_try_echo=$ac_try;;1801 esac1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1803 $as_echo "$ac_try_echo"; } >&51804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1805 ac_status=$?1806 if test -s conftest.err; then1807 grep -v '^ *+' conftest.err >conftest.er11808 cat conftest.er1 >&51809 mv -f conftest.er1 conftest.err1810 fi1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51812 test $ac_status = 0; } > conftest.i && {1813 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||1814 test ! -s conftest.err1815 }; then :1816 ac_retval=01817 else1818 $as_echo "$as_me: failed program was:" >&51819 sed 's/^/| /' conftest.$ac_ext >&51820 1821 ac_retval=11822 fi1823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1824 as_fn_set_status $ac_retval1825 1826 } # ac_fn_cxx_try_cpp1827 1828 # ac_fn_cxx_try_run LINENO1829 # ------------------------1830 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1831 # that executables *can* be run.1832 ac_fn_cxx_try_run ()1833 {1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1835 if { { ac_try="$ac_link"1836 case "(($ac_try" in1837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1838 *) ac_try_echo=$ac_try;;1839 esac1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1841 $as_echo "$ac_try_echo"; } >&51842 (eval "$ac_link") 2>&51843 ac_status=$?1844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51845 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1846 { { case "(($ac_try" in1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1848 *) ac_try_echo=$ac_try;;1849 esac1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1851 $as_echo "$ac_try_echo"; } >&51852 (eval "$ac_try") 2>&51853 ac_status=$?1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51855 test $ac_status = 0; }; }; then :1856 ac_retval=01857 else1858 $as_echo "$as_me: program exited with status $ac_status" >&51859 $as_echo "$as_me: failed program was:" >&51860 sed 's/^/| /' conftest.$ac_ext >&51861 1862 ac_retval=$ac_status1863 fi1864 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1866 as_fn_set_status $ac_retval1867 1868 } # ac_fn_cxx_try_run1869 1870 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES1871 # ----------------------------------------------1872 # Tries to find the compile-time value of EXPR in a program that includes1873 # INCLUDES, setting VAR accordingly. Returns whether the value could be1874 # computed1875 ac_fn_cxx_compute_int ()1876 {1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1878 if test "$cross_compiling" = yes; then1879 # Depending upon the size, compute the lo and hi bounds.1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1881 /* end confdefs.h. */1882 $41883 int1884 main ()1885 {1886 static int test_array [1 - 2 * !(($2) >= 0)];1887 test_array [0] = 01888 1889 ;1890 return 0;1891 }1892 _ACEOF1893 if ac_fn_cxx_try_compile "$LINENO"; then :1894 ac_lo=0 ac_mid=01895 while :; do1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1897 /* end confdefs.h. */1898 $41899 int1900 main ()1901 {1902 static int test_array [1 - 2 * !(($2) <= $ac_mid)];1903 test_array [0] = 01904 1905 ;1906 return 0;1907 }1908 _ACEOF1909 if ac_fn_cxx_try_compile "$LINENO"; then :1910 ac_hi=$ac_mid; break1911 else1912 as_fn_arith $ac_mid + 1 && ac_lo=$as_val1913 if test $ac_lo -le $ac_mid; then1914 ac_lo= ac_hi=1915 break1916 fi1917 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val1918 fi1919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1920 done1921 else1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1923 /* end confdefs.h. */1924 $41925 int1926 main ()1927 {1928 static int test_array [1 - 2 * !(($2) < 0)];1929 test_array [0] = 01930 1931 ;1932 return 0;1933 }1934 _ACEOF1935 if ac_fn_cxx_try_compile "$LINENO"; then :1936 ac_hi=-1 ac_mid=-11937 while :; do1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1939 /* end confdefs.h. */1940 $41941 int1942 main ()1943 {1944 static int test_array [1 - 2 * !(($2) >= $ac_mid)];1945 test_array [0] = 01946 1947 ;1948 return 0;1949 }1950 _ACEOF1951 if ac_fn_cxx_try_compile "$LINENO"; then :1952 ac_lo=$ac_mid; break1953 else1954 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val1955 if test $ac_mid -le $ac_hi; then1956 ac_lo= ac_hi=1957 break1958 fi1959 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val1960 fi1961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1962 done1963 else1964 ac_lo= ac_hi=1965 fi1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1967 fi1968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1969 # Binary search between lo and hi bounds.1970 while test "x$ac_lo" != "x$ac_hi"; do1971 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1973 /* end confdefs.h. */1974 $41975 int1976 main ()1977 {1978 static int test_array [1 - 2 * !(($2) <= $ac_mid)];1979 test_array [0] = 01980 1981 ;1982 return 0;1983 }1984 _ACEOF1985 if ac_fn_cxx_try_compile "$LINENO"; then :1986 ac_hi=$ac_mid1987 else1988 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val1989 fi1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1991 done1992 case $ac_lo in #((1993 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;1994 '') ac_retval=1 ;;1995 esac1996 else1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1998 /* end confdefs.h. */1999 $42000 static long int longval () { return $2; }2001 static unsigned long int ulongval () { return $2; }2002 #include <stdio.h>2003 #include <stdlib.h>2004 int2005 main ()2006 {2007 2008 FILE *f = fopen ("conftest.val", "w");2009 if (! f)2010 return 1;2011 if (($2) < 0)2012 {2013 long int i = longval ();2014 if (i != ($2))2015 return 1;2016 fprintf (f, "%ld", i);2017 }2018 else2019 {2020 unsigned long int i = ulongval ();2021 if (i != ($2))2022 return 1;2023 fprintf (f, "%lu", i);2024 }2025 /* Do not output a trailing newline, as this causes \r\n confusion2026 on some platforms. */2027 return ferror (f) || fclose (f) != 0;2028 2029 ;2030 return 0;2031 }2032 _ACEOF2033 if ac_fn_cxx_try_run "$LINENO"; then :2034 echo >>conftest.val; read $3 <conftest.val; ac_retval=02035 else2036 ac_retval=12037 fi2038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \2039 conftest.$ac_objext conftest.beam conftest.$ac_ext2040 rm -f conftest.val2041 2042 fi2043 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2044 as_fn_set_status $ac_retval2045 2046 } # ac_fn_cxx_compute_int2047 2048 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES2049 # ---------------------------------------------------------2050 # Tests whether HEADER exists, giving a warning if it cannot be compiled using2051 # the include files in INCLUDES and setting the cache variable VAR2052 # accordingly.2053 ac_fn_cxx_check_header_mongrel ()2054 {2055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2056 if eval \${$3+:} false; then :2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52058 $as_echo_n "checking for $2... " >&6; }2059 if eval \${$3+:} false; then :2060 $as_echo_n "(cached) " >&62061 fi2062 eval ac_res=\$$32063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52064 $as_echo "$ac_res" >&6; }2065 else2066 # Is the header compilable?2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&52068 $as_echo_n "checking $2 usability... " >&6; }2069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2070 /* end confdefs.h. */2071 $42072 #include <$2>2073 _ACEOF2074 if ac_fn_cxx_try_compile "$LINENO"; then :2075 ac_header_compiler=yes2076 else2077 ac_header_compiler=no2078 fi2079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&52081 $as_echo "$ac_header_compiler" >&6; }2082 2083 # Is the header present?2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&52085 $as_echo_n "checking $2 presence... " >&6; }2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2087 /* end confdefs.h. */2088 #include <$2>2089 _ACEOF2090 if ac_fn_cxx_try_cpp "$LINENO"; then :2091 ac_header_preproc=yes2092 else2093 ac_header_preproc=no2094 fi2095 rm -f conftest.err conftest.i conftest.$ac_ext2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&52097 $as_echo "$ac_header_preproc" >&6; }2098 2099 # So? What about this header?2100 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((2101 yes:no: )2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&52103 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}2104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52105 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2106 ;;2107 no:yes:* )2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&52109 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&52111 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&52113 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&52115 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}2116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52117 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2118 ( $as_echo "## ----------------------------------- ##2119 ## Report this to rappture@nanohub.org ##2120 ## ----------------------------------- ##"2121 ) | sed "s/^/$as_me: WARNING: /" >&22122 ;;2123 esac2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52125 $as_echo_n "checking for $2... " >&6; }2126 if eval \${$3+:} false; then :2127 $as_echo_n "(cached) " >&62128 else2129 eval "$3=\$ac_header_compiler"2130 fi2131 eval ac_res=\$$32132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52133 $as_echo "$ac_res" >&6; }2134 fi2135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2136 2137 } # ac_fn_cxx_check_header_mongrel2138 2139 # ac_fn_cxx_try_link LINENO2140 # -------------------------2141 # Try to link conftest.$ac_ext, and return whether this succeeded.2142 ac_fn_cxx_try_link ()2143 {2144 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2145 rm -f conftest.$ac_objext conftest$ac_exeext2146 if { { ac_try="$ac_link"2147 case "(($ac_try" in2148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2149 *) ac_try_echo=$ac_try;;2150 esac2151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2152 $as_echo "$ac_try_echo"; } >&52153 (eval "$ac_link") 2>conftest.err2154 ac_status=$?2155 if test -s conftest.err; then2156 grep -v '^ *+' conftest.err >conftest.er12157 cat conftest.er1 >&52158 mv -f conftest.er1 conftest.err2159 fi2160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52161 test $ac_status = 0; } && {2162 test -z "$ac_cxx_werror_flag" ||2163 test ! -s conftest.err2164 } && test -s conftest$ac_exeext && {2165 test "$cross_compiling" = yes ||2166 $as_test_x conftest$ac_exeext2167 }; then :2168 ac_retval=02169 else2170 $as_echo "$as_me: failed program was:" >&52171 sed 's/^/| /' conftest.$ac_ext >&52172 2173 ac_retval=12174 fi2175 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information2176 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would2177 # interfere with the next link command; also delete a directory that is2178 # left behind by Apple's compiler. We do this before executing the actions.2179 rm -rf conftest.dSYM conftest_ipa8_conftest.oo2180 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2181 as_fn_set_status $ac_retval2182 2183 } # ac_fn_cxx_try_link2184 2185 # ac_fn_cxx_check_func LINENO FUNC VAR2186 # ------------------------------------2187 # Tests whether FUNC exists, setting the cache variable VAR accordingly2188 ac_fn_cxx_check_func ()2189 {2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52192 $as_echo_n "checking for $2... " >&6; }2193 if eval \${$3+:} false; then :2194 $as_echo_n "(cached) " >&62195 else2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2197 /* end confdefs.h. */2198 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.2199 For example, HP-UX 11i <limits.h> declares gettimeofday. */2200 #define $2 innocuous_$22201 2202 /* System header to define __stub macros and hopefully few prototypes,2203 which can conflict with char $2 (); below.2204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since2205 <limits.h> exists even on freestanding compilers. */2206 2207 #ifdef __STDC__2208 # include <limits.h>2209 #else2210 # include <assert.h>2211 #endif2212 2213 #undef $22214 2215 /* Override any GCC internal prototype to avoid an error.2216 Use char because int might match the return type of a GCC2217 builtin and then its argument prototype would still apply. */2218 #ifdef __cplusplus2219 extern "C"2220 #endif2221 char $2 ();2222 /* The GNU C library defines this for functions which it implements2223 to always fail with ENOSYS. Some functions are actually named2224 something starting with __ and the normal name is an alias. */2225 #if defined __stub_$2 || defined __stub___$22226 choke me2227 #endif2228 2229 int2230 main ()2231 {2232 return $2 ();2233 ;2234 return 0;2235 }2236 _ACEOF2237 if ac_fn_cxx_try_link "$LINENO"; then :2238 eval "$3=yes"2239 else2240 eval "$3=no"2241 fi2242 rm -f core conftest.err conftest.$ac_objext \2243 conftest$ac_exeext conftest.$ac_ext2244 fi2245 eval ac_res=\$$32246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52247 $as_echo "$ac_res" >&6; }2248 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2249 2250 } # ac_fn_cxx_check_func2251 2252 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES2253 # ---------------------------------------------------------2254 # Tests whether HEADER exists and can be compiled using the include files in2255 # INCLUDES, setting the cache variable VAR accordingly.2256 ac_fn_cxx_check_header_compile ()2257 {2258 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52260 $as_echo_n "checking for $2... " >&6; }2261 if eval \${$3+:} false; then :2262 $as_echo_n "(cached) " >&62263 else2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2265 /* end confdefs.h. */2266 $42267 #include <$2>2268 _ACEOF2269 if ac_fn_cxx_try_compile "$LINENO"; then :2270 eval "$3=yes"2271 else2272 eval "$3=no"2273 fi2274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2275 fi2276 eval ac_res=\$$32277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52278 $as_echo "$ac_res" >&6; }2279 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2280 2281 } # ac_fn_cxx_check_header_compile2282 1507 cat >config.log <<_ACEOF 2283 1508 This file contains any messages produced by compilers while … … 2285 1510 2286 1511 It was created by vizservers $as_me 0.1, which was 2287 generated by GNU Autoconf 2.6 8. Invocation command line was1512 generated by GNU Autoconf 2.63. Invocation command line was 2288 1513 2289 1514 $ $0 $@ … … 2321 1546 IFS=$as_save_IFS 2322 1547 test -z "$as_dir" && as_dir=. 2323 2324 1548 $as_echo "PATH: $as_dir" 1549 done 2325 1550 IFS=$as_save_IFS 2326 1551 … … 2359 1584 esac 2360 1585 case $ac_pass in 2361 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1586 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2362 1587 2) 2363 a s_fn_append ac_configure_args1 "'$ac_arg'"1588 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2364 1589 if test $ac_must_keep_next = true; then 2365 1590 ac_must_keep_next=false # Got value, back to normal. … … 2377 1602 esac 2378 1603 fi 2379 a s_fn_append ac_configure_args "'$ac_arg'"1604 ac_configure_args="$ac_configure_args '$ac_arg'" 2380 1605 ;; 2381 1606 esac 2382 1607 done 2383 1608 done 2384 { ac_configure_args0=; unset ac_configure_args0;}2385 { ac_configure_args1=; unset ac_configure_args1;}1609 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1610 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2386 1611 2387 1612 # When interrupted or exit'd, cleanup temporary files, and complete … … 2395 1620 echo 2396 1621 2397 $as_echo "## ---------------- ## 1622 cat <<\_ASBOX 1623 ## ---------------- ## 2398 1624 ## Cache variables. ## 2399 ## ---------------- ##" 1625 ## ---------------- ## 1626 _ASBOX 2400 1627 echo 2401 1628 # The following way of writing the cache mishandles newlines in values, … … 2406 1633 *${as_nl}*) 2407 1634 case $ac_var in #( 2408 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&51635 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 2409 1636 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2410 1637 esac … … 2412 1639 _ | IFS | as_nl) ;; #( 2413 1640 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2414 *) { eval $ac_var=; unset $ac_var;};;1641 *) $as_unset $ac_var ;; 2415 1642 esac ;; 2416 1643 esac … … 2431 1658 echo 2432 1659 2433 $as_echo "## ----------------- ## 1660 cat <<\_ASBOX 1661 ## ----------------- ## 2434 1662 ## Output variables. ## 2435 ## ----------------- ##" 1663 ## ----------------- ## 1664 _ASBOX 2436 1665 echo 2437 1666 for ac_var in $ac_subst_vars … … 2446 1675 2447 1676 if test -n "$ac_subst_files"; then 2448 $as_echo "## ------------------- ## 1677 cat <<\_ASBOX 1678 ## ------------------- ## 2449 1679 ## File substitutions. ## 2450 ## ------------------- ##" 1680 ## ------------------- ## 1681 _ASBOX 2451 1682 echo 2452 1683 for ac_var in $ac_subst_files … … 2462 1693 2463 1694 if test -s confdefs.h; then 2464 $as_echo "## ----------- ## 1695 cat <<\_ASBOX 1696 ## ----------- ## 2465 1697 ## confdefs.h. ## 2466 ## ----------- ##" 1698 ## ----------- ## 1699 _ASBOX 2467 1700 echo 2468 1701 cat confdefs.h … … 2478 1711 ' 0 2479 1712 for ac_signal in 1 2 13 15; do 2480 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1713 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2481 1714 done 2482 1715 ac_signal=0 … … 2485 1718 rm -f -r conftest* confdefs.h 2486 1719 2487 $as_echo "/* confdefs.h */" > confdefs.h2488 2489 1720 # Predefined preprocessor variables. 2490 1721 … … 2493 1724 _ACEOF 2494 1725 1726 2495 1727 cat >>confdefs.h <<_ACEOF 2496 1728 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2497 1729 _ACEOF 2498 1730 1731 2499 1732 cat >>confdefs.h <<_ACEOF 2500 1733 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2501 1734 _ACEOF 2502 1735 1736 2503 1737 cat >>confdefs.h <<_ACEOF 2504 1738 #define PACKAGE_STRING "$PACKAGE_STRING" 2505 1739 _ACEOF 2506 1740 1741 2507 1742 cat >>confdefs.h <<_ACEOF 2508 1743 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2509 _ACEOF2510 2511 cat >>confdefs.h <<_ACEOF2512 #define PACKAGE_URL "$PACKAGE_URL"2513 1744 _ACEOF 2514 1745 … … 2519 1750 ac_site_file2=NONE 2520 1751 if test -n "$CONFIG_SITE"; then 2521 # We do not want a PATH search for config.site. 2522 case $CONFIG_SITE in #(( 2523 -*) ac_site_file1=./$CONFIG_SITE;; 2524 */*) ac_site_file1=$CONFIG_SITE;; 2525 *) ac_site_file1=./$CONFIG_SITE;; 2526 esac 1752 ac_site_file1=$CONFIG_SITE 2527 1753 elif test "x$prefix" != xNONE; then 2528 1754 ac_site_file1=$prefix/share/config.site … … 2535 1761 do 2536 1762 test "x$ac_site_file" = xNONE && continue 2537 if test /dev/null != "$ac_site_file" && test-r "$ac_site_file"; then2538 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading site script $ac_site_file" >&51763 if test -r "$ac_site_file"; then 1764 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2539 1765 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2540 1766 sed 's/^/| /' "$ac_site_file" >&5 2541 . "$ac_site_file" \ 2542 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2544 as_fn_error $? "failed to load site script $ac_site_file 2545 See \`config.log' for more details" "$LINENO" 5; } 1767 . "$ac_site_file" 2546 1768 fi 2547 1769 done 2548 1770 2549 1771 if test -r "$cache_file"; then 2550 # Some versions of bash will fail to source /dev/null (special files2551 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2552 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2553 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading cache $cache_file" >&51772 # Some versions of bash will fail to source /dev/null (special 1773 # files actually), so we avoid doing that. 1774 if test -f "$cache_file"; then 1775 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2554 1776 $as_echo "$as_me: loading cache $cache_file" >&6;} 2555 1777 case $cache_file in … … 2559 1781 fi 2560 1782 else 2561 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating cache $cache_file" >&51783 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2562 1784 $as_echo "$as_me: creating cache $cache_file" >&6;} 2563 1785 >$cache_file … … 2574 1796 case $ac_old_set,$ac_new_set in 2575 1797 set,) 2576 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51798 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2577 1799 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2578 1800 ac_cache_corrupted=: ;; 2579 1801 ,set) 2580 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&51802 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2581 1803 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2582 1804 ac_cache_corrupted=: ;; … … 2588 1810 ac_new_val_w=`echo x $ac_new_val` 2589 1811 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2590 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&51812 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2591 1813 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2592 1814 ac_cache_corrupted=: 2593 1815 else 2594 { $as_echo "$as_me:$ {as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&51816 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2595 1817 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2596 1818 eval $ac_var=\$ac_old_val 2597 1819 fi 2598 { $as_echo "$as_me:$ {as_lineno-$LINENO}: former value: \`$ac_old_val'" >&51820 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2599 1821 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2600 { $as_echo "$as_me:$ {as_lineno-$LINENO}: current value: \`$ac_new_val'" >&51822 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2601 1823 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2602 1824 fi;; … … 2610 1832 case " $ac_configure_args " in 2611 1833 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2612 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1834 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2613 1835 esac 2614 1836 fi 2615 1837 done 2616 1838 if $ac_cache_corrupted; then 2617 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&51839 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2618 1840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2619 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&51841 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2620 1842 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2621 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2622 fi 2623 ## -------------------- ## 2624 ## Main body of script. ## 2625 ## -------------------- ## 1843 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1844 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1845 { (exit 1); exit 1; }; } 1846 fi 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 2626 1871 2627 1872 ac_ext=c … … 2649 1894 done 2650 1895 if test -z "$ac_aux_dir"; then 2651 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1896 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1897 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1898 { (exit 1); exit 1; }; } 2652 1899 fi 2653 1900 … … 2666 1913 2667 1914 # Check whether --with-tcllib was given. 2668 if test "${with_tcllib+set}" = set; then :1915 if test "${with_tcllib+set}" = set; then 2669 1916 withval=$with_tcllib; with_tcllib=$withval 2670 1917 else … … 2675 1922 2676 1923 # Check whether --with-rappture was given. 2677 if test "${with_rappture+set}" = set; then :1924 if test "${with_rappture+set}" = set; then 2678 1925 withval=$with_rappture; with_rappture=$withval 2679 1926 else … … 2684 1931 2685 1932 # Check whether --with-vtk-includes was given. 2686 if test "${with_vtk_includes+set}" = set; then :1933 if test "${with_vtk_includes+set}" = set; then 2687 1934 withval=$with_vtk_includes; with_vtk_includes=$withval 2688 1935 else … … 2693 1940 2694 1941 # Check whether --with-vtk-libs was given. 2695 if test "${with_vtk_libs+set}" = set; then :1942 if test "${with_vtk_libs+set}" = set; then 2696 1943 withval=$with_vtk_libs; with_vtk_libs=$withval 2697 1944 else … … 2702 1949 2703 1950 # Check whether --with-vtk was given. 2704 if test "${with_vtk+set}" = set; then :1951 if test "${with_vtk+set}" = set; then 2705 1952 withval=$with_vtk; with_vtk=$withval 2706 1953 else … … 2717 1964 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2718 1965 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2719 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&51966 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2720 1967 $as_echo_n "checking for $ac_word... " >&6; } 2721 if ${ac_cv_prog_CC+:} false; then :1968 if test "${ac_cv_prog_CC+set}" = set; then 2722 1969 $as_echo_n "(cached) " >&6 2723 1970 else … … 2730 1977 IFS=$as_save_IFS 2731 1978 test -z "$as_dir" && as_dir=. 2732 1979 for ac_exec_ext in '' $ac_executable_extensions; do 2733 1980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2734 1981 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2735 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51982 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2736 1983 break 2 2737 1984 fi 2738 1985 done 2739 1986 done 2740 1987 IFS=$as_save_IFS 2741 1988 … … 2744 1991 CC=$ac_cv_prog_CC 2745 1992 if test -n "$CC"; then 2746 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&51993 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2747 1994 $as_echo "$CC" >&6; } 2748 1995 else 2749 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&51996 { $as_echo "$as_me:$LINENO: result: no" >&5 2750 1997 $as_echo "no" >&6; } 2751 1998 fi … … 2757 2004 # Extract the first word of "gcc", so it can be a program name with args. 2758 2005 set dummy gcc; ac_word=$2 2759 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52006 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2760 2007 $as_echo_n "checking for $ac_word... " >&6; } 2761 if ${ac_cv_prog_ac_ct_CC+:} false; then :2008 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2762 2009 $as_echo_n "(cached) " >&6 2763 2010 else … … 2770 2017 IFS=$as_save_IFS 2771 2018 test -z "$as_dir" && as_dir=. 2772 2019 for ac_exec_ext in '' $ac_executable_extensions; do 2773 2020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2774 2021 ac_cv_prog_ac_ct_CC="gcc" 2775 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52022 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2776 2023 break 2 2777 2024 fi 2778 2025 done 2779 2026 done 2780 2027 IFS=$as_save_IFS 2781 2028 … … 2784 2031 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2785 2032 if test -n "$ac_ct_CC"; then 2786 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52033 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2787 2034 $as_echo "$ac_ct_CC" >&6; } 2788 2035 else 2789 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52036 { $as_echo "$as_me:$LINENO: result: no" >&5 2790 2037 $as_echo "no" >&6; } 2791 2038 fi … … 2796 2043 case $cross_compiling:$ac_tool_warned in 2797 2044 yes:) 2798 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52045 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2799 2046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2800 2047 ac_tool_warned=yes ;; … … 2810 2057 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2811 2058 set dummy ${ac_tool_prefix}cc; ac_word=$2 2812 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52059 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2813 2060 $as_echo_n "checking for $ac_word... " >&6; } 2814 if ${ac_cv_prog_CC+:} false; then :2061 if test "${ac_cv_prog_CC+set}" = set; then 2815 2062 $as_echo_n "(cached) " >&6 2816 2063 else … … 2823 2070 IFS=$as_save_IFS 2824 2071 test -z "$as_dir" && as_dir=. 2825 2072 for ac_exec_ext in '' $ac_executable_extensions; do 2826 2073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2827 2074 ac_cv_prog_CC="${ac_tool_prefix}cc" 2828 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52075 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2829 2076 break 2 2830 2077 fi 2831 2078 done 2832 2079 done 2833 2080 IFS=$as_save_IFS 2834 2081 … … 2837 2084 CC=$ac_cv_prog_CC 2838 2085 if test -n "$CC"; then 2839 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52086 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2840 2087 $as_echo "$CC" >&6; } 2841 2088 else 2842 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52089 { $as_echo "$as_me:$LINENO: result: no" >&5 2843 2090 $as_echo "no" >&6; } 2844 2091 fi … … 2850 2097 # Extract the first word of "cc", so it can be a program name with args. 2851 2098 set dummy cc; ac_word=$2 2852 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52099 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2853 2100 $as_echo_n "checking for $ac_word... " >&6; } 2854 if ${ac_cv_prog_CC+:} false; then :2101 if test "${ac_cv_prog_CC+set}" = set; then 2855 2102 $as_echo_n "(cached) " >&6 2856 2103 else … … 2864 2111 IFS=$as_save_IFS 2865 2112 test -z "$as_dir" && as_dir=. 2866 2113 for ac_exec_ext in '' $ac_executable_extensions; do 2867 2114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2868 2115 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2871 2118 fi 2872 2119 ac_cv_prog_CC="cc" 2873 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52120 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2874 2121 break 2 2875 2122 fi 2876 2123 done 2877 2124 done 2878 2125 IFS=$as_save_IFS 2879 2126 … … 2894 2141 CC=$ac_cv_prog_CC 2895 2142 if test -n "$CC"; then 2896 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52143 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2897 2144 $as_echo "$CC" >&6; } 2898 2145 else 2899 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52146 { $as_echo "$as_me:$LINENO: result: no" >&5 2900 2147 $as_echo "no" >&6; } 2901 2148 fi … … 2909 2156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2910 2157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2911 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52158 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2912 2159 $as_echo_n "checking for $ac_word... " >&6; } 2913 if ${ac_cv_prog_CC+:} false; then :2160 if test "${ac_cv_prog_CC+set}" = set; then 2914 2161 $as_echo_n "(cached) " >&6 2915 2162 else … … 2922 2169 IFS=$as_save_IFS 2923 2170 test -z "$as_dir" && as_dir=. 2924 2171 for ac_exec_ext in '' $ac_executable_extensions; do 2925 2172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2926 2173 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2927 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52174 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2928 2175 break 2 2929 2176 fi 2930 2177 done 2931 2178 done 2932 2179 IFS=$as_save_IFS 2933 2180 … … 2936 2183 CC=$ac_cv_prog_CC 2937 2184 if test -n "$CC"; then 2938 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52185 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2939 2186 $as_echo "$CC" >&6; } 2940 2187 else 2941 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52188 { $as_echo "$as_me:$LINENO: result: no" >&5 2942 2189 $as_echo "no" >&6; } 2943 2190 fi … … 2953 2200 # Extract the first word of "$ac_prog", so it can be a program name with args. 2954 2201 set dummy $ac_prog; ac_word=$2 2955 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52202 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2956 2203 $as_echo_n "checking for $ac_word... " >&6; } 2957 if ${ac_cv_prog_ac_ct_CC+:} false; then :2204 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2958 2205 $as_echo_n "(cached) " >&6 2959 2206 else … … 2966 2213 IFS=$as_save_IFS 2967 2214 test -z "$as_dir" && as_dir=. 2968 2215 for ac_exec_ext in '' $ac_executable_extensions; do 2969 2216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2970 2217 ac_cv_prog_ac_ct_CC="$ac_prog" 2971 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52218 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2972 2219 break 2 2973 2220 fi 2974 2221 done 2975 2222 done 2976 2223 IFS=$as_save_IFS 2977 2224 … … 2980 2227 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2981 2228 if test -n "$ac_ct_CC"; then 2982 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52229 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2983 2230 $as_echo "$ac_ct_CC" >&6; } 2984 2231 else 2985 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52232 { $as_echo "$as_me:$LINENO: result: no" >&5 2986 2233 $as_echo "no" >&6; } 2987 2234 fi … … 2996 2243 case $cross_compiling:$ac_tool_warned in 2997 2244 yes:) 2998 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52245 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2999 2246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3000 2247 ac_tool_warned=yes ;; … … 3007 2254 3008 2255 3009 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52256 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3010 2257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3011 as_fn_error $? "no acceptable C compiler found in \$PATH 3012 See \`config.log' for more details" "$LINENO" 5; } 2258 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2259 See \`config.log' for more details." >&5 2260 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2261 See \`config.log' for more details." >&2;} 2262 { (exit 1); exit 1; }; }; } 3013 2263 3014 2264 # Provide some information about the compiler. 3015 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&52265 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3016 2266 set X $ac_compile 3017 2267 ac_compiler=$2 3018 for ac_option in --version -v -V -qversion; do 3019 { { ac_try="$ac_compiler $ac_option >&5" 2268 { (ac_try="$ac_compiler --version >&5" 3020 2269 case "(($ac_try" in 3021 2270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3022 2271 *) ac_try_echo=$ac_try;; 3023 2272 esac 3024 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3025 $as_echo "$ac_try_echo" ; }>&53026 (eval "$ac_compiler $ac_option >&5") 2>conftest.err2273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2274 $as_echo "$ac_try_echo") >&5 2275 (eval "$ac_compiler --version >&5") 2>&5 3027 2276 ac_status=$? 3028 if test -s conftest.err; then 3029 sed '10a\ 3030 ... rest of stderr output deleted ... 3031 10q' conftest.err >conftest.er1 3032 cat conftest.er1 >&5 3033 fi 3034 rm -f conftest.er1 conftest.err 3035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3036 test $ac_status = 0; } 3037 done 3038 3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2278 (exit $ac_status); } 2279 { (ac_try="$ac_compiler -v >&5" 2280 case "(($ac_try" in 2281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2282 *) ac_try_echo=$ac_try;; 2283 esac 2284 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2285 $as_echo "$ac_try_echo") >&5 2286 (eval "$ac_compiler -v >&5") 2>&5 2287 ac_status=$? 2288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2289 (exit $ac_status); } 2290 { (ac_try="$ac_compiler -V >&5" 2291 case "(($ac_try" in 2292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2293 *) ac_try_echo=$ac_try;; 2294 esac 2295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2296 $as_echo "$ac_try_echo") >&5 2297 (eval "$ac_compiler -V >&5") 2>&5 2298 ac_status=$? 2299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2300 (exit $ac_status); } 2301 2302 cat >conftest.$ac_ext <<_ACEOF 2303 /* confdefs.h. */ 2304 _ACEOF 2305 cat confdefs.h >>conftest.$ac_ext 2306 cat >>conftest.$ac_ext <<_ACEOF 3040 2307 /* end confdefs.h. */ 3041 2308 … … 3053 2320 # It will help us diagnose broken compilers, and finding out an intuition 3054 2321 # of exeext. 3055 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether the C compiler works" >&53056 $as_echo_n "checking whether the C compiler works... " >&6; }2322 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2323 $as_echo_n "checking for C compiler default output file name... " >&6; } 3057 2324 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3058 2325 … … 3070 2337 rm -f $ac_rmfiles 3071 2338 3072 if { {ac_try="$ac_link_default"2339 if { (ac_try="$ac_link_default" 3073 2340 case "(($ac_try" in 3074 2341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3075 2342 *) ac_try_echo=$ac_try;; 3076 2343 esac 3077 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3078 $as_echo "$ac_try_echo" ; }>&52344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2345 $as_echo "$ac_try_echo") >&5 3079 2346 (eval "$ac_link_default") 2>&5 3080 2347 ac_status=$? 3081 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53082 test $ac_status = 0; }; then :2348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2349 (exit $ac_status); }; then 3083 2350 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3084 2351 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 3097 2364 break;; 3098 2365 *.* ) 3099 2366 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3100 2367 then :; else 3101 2368 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 3116 2383 ac_file='' 3117 2384 fi 3118 if test -z "$ac_file"; then : 3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3120 $as_echo "no" >&6; } 3121 $as_echo "$as_me: failed program was:" >&5 2385 2386 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2387 $as_echo "$ac_file" >&6; } 2388 if test -z "$ac_file"; then 2389 $as_echo "$as_me: failed program was:" >&5 3122 2390 sed 's/^/| /' conftest.$ac_ext >&5 3123 2391 3124 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52392 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3125 2393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3126 as_fn_error 77 "C compiler cannot create executables 3127 See \`config.log' for more details" "$LINENO" 5; } 3128 else 3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2394 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2395 See \`config.log' for more details." >&5 2396 $as_echo "$as_me: error: C compiler cannot create executables 2397 See \`config.log' for more details." >&2;} 2398 { (exit 77); exit 77; }; }; } 2399 fi 2400 2401 ac_exeext=$ac_cv_exeext 2402 2403 # Check that the compiler produces executables we can run. If not, either 2404 # the compiler is broken, or we cross compile. 2405 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2406 $as_echo_n "checking whether the C compiler works... " >&6; } 2407 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2408 # If not cross compiling, check that we can run a simple program. 2409 if test "$cross_compiling" != yes; then 2410 if { ac_try='./$ac_file' 2411 { (case "(($ac_try" in 2412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2413 *) ac_try_echo=$ac_try;; 2414 esac 2415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2416 $as_echo "$ac_try_echo") >&5 2417 (eval "$ac_try") 2>&5 2418 ac_status=$? 2419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2420 (exit $ac_status); }; }; then 2421 cross_compiling=no 2422 else 2423 if test "$cross_compiling" = maybe; then 2424 cross_compiling=yes 2425 else 2426 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2428 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2429 If you meant to cross compile, use \`--host'. 2430 See \`config.log' for more details." >&5 2431 $as_echo "$as_me: error: cannot run C compiled programs. 2432 If you meant to cross compile, use \`--host'. 2433 See \`config.log' for more details." >&2;} 2434 { (exit 1); exit 1; }; }; } 2435 fi 2436 fi 2437 fi 2438 { $as_echo "$as_me:$LINENO: result: yes" >&5 3130 2439 $as_echo "yes" >&6; } 3131 fi3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&53133 $as_echo_n "checking for C compiler default output file name... " >&6; }3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&53135 $as_echo "$ac_file" >&6; }3136 ac_exeext=$ac_cv_exeext3137 2440 3138 2441 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3139 2442 ac_clean_files=$ac_clean_files_save 3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2443 # Check that the compiler produces executables we can run. If not, either 2444 # the compiler is broken, or we cross compile. 2445 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2446 $as_echo_n "checking whether we are cross compiling... " >&6; } 2447 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2448 $as_echo "$cross_compiling" >&6; } 2449 2450 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3141 2451 $as_echo_n "checking for suffix of executables... " >&6; } 3142 if { {ac_try="$ac_link"2452 if { (ac_try="$ac_link" 3143 2453 case "(($ac_try" in 3144 2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3145 2455 *) ac_try_echo=$ac_try;; 3146 2456 esac 3147 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3148 $as_echo "$ac_try_echo" ; }>&52457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2458 $as_echo "$ac_try_echo") >&5 3149 2459 (eval "$ac_link") 2>&5 3150 2460 ac_status=$? 3151 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53152 test $ac_status = 0; }; then :2461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2462 (exit $ac_status); }; then 3153 2463 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3154 2464 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 3165 2475 done 3166 2476 else 3167 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52477 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3168 2478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3169 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3170 See \`config.log' for more details" "$LINENO" 5; } 3171 fi 3172 rm -f conftest conftest$ac_cv_exeext 3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2479 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2480 See \`config.log' for more details." >&5 2481 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2482 See \`config.log' for more details." >&2;} 2483 { (exit 1); exit 1; }; }; } 2484 fi 2485 2486 rm -f conftest$ac_cv_exeext 2487 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3174 2488 $as_echo "$ac_cv_exeext" >&6; } 3175 2489 … … 3177 2491 EXEEXT=$ac_cv_exeext 3178 2492 ac_exeext=$EXEEXT 3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2493 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2494 $as_echo_n "checking for suffix of object files... " >&6; } 2495 if test "${ac_cv_objext+set}" = set; then 2496 $as_echo_n "(cached) " >&6 2497 else 2498 cat >conftest.$ac_ext <<_ACEOF 2499 /* confdefs.h. */ 2500 _ACEOF 2501 cat confdefs.h >>conftest.$ac_ext 2502 cat >>conftest.$ac_ext <<_ACEOF 3180 2503 /* end confdefs.h. */ 3181 #include <stdio.h> 2504 3182 2505 int 3183 2506 main () 3184 2507 { 3185 FILE *f = fopen ("conftest.out", "w");3186 return ferror (f) || fclose (f) != 0;3187 2508 3188 2509 ; … … 3190 2511 } 3191 2512 _ACEOF 3192 ac_clean_files="$ac_clean_files conftest.out" 3193 # Check that the compiler produces executables we can run. If not, either 3194 # the compiler is broken, or we cross compile. 3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3196 $as_echo_n "checking whether we are cross compiling... " >&6; } 3197 if test "$cross_compiling" != yes; then 3198 { { ac_try="$ac_link" 2513 rm -f conftest.o conftest.obj 2514 if { (ac_try="$ac_compile" 3199 2515 case "(($ac_try" in 3200 2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3201 2517 *) ac_try_echo=$ac_try;; 3202 2518 esac 3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3204 $as_echo "$ac_try_echo"; } >&5 3205 (eval "$ac_link") 2>&5 3206 ac_status=$? 3207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3208 test $ac_status = 0; } 3209 if { ac_try='./conftest$ac_cv_exeext' 3210 { { case "(($ac_try" in 3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3212 *) ac_try_echo=$ac_try;; 3213 esac 3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3215 $as_echo "$ac_try_echo"; } >&5 3216 (eval "$ac_try") 2>&5 3217 ac_status=$? 3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3219 test $ac_status = 0; }; }; then 3220 cross_compiling=no 3221 else 3222 if test "$cross_compiling" = maybe; then 3223 cross_compiling=yes 3224 else 3225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3227 as_fn_error $? "cannot run C compiled programs. 3228 If you meant to cross compile, use \`--host'. 3229 See \`config.log' for more details" "$LINENO" 5; } 3230 fi 3231 fi 3232 fi 3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3234 $as_echo "$cross_compiling" >&6; } 3235 3236 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3237 ac_clean_files=$ac_clean_files_save 3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3239 $as_echo_n "checking for suffix of object files... " >&6; } 3240 if ${ac_cv_objext+:} false; then : 3241 $as_echo_n "(cached) " >&6 3242 else 3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3244 /* end confdefs.h. */ 3245 3246 int 3247 main () 3248 { 3249 3250 ; 3251 return 0; 3252 } 3253 _ACEOF 3254 rm -f conftest.o conftest.obj 3255 if { { ac_try="$ac_compile" 3256 case "(($ac_try" in 3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3258 *) ac_try_echo=$ac_try;; 3259 esac 3260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3261 $as_echo "$ac_try_echo"; } >&5 2519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2520 $as_echo "$ac_try_echo") >&5 3262 2521 (eval "$ac_compile") 2>&5 3263 2522 ac_status=$? 3264 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53265 test $ac_status = 0; }; then :2523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2524 (exit $ac_status); }; then 3266 2525 for ac_file in conftest.o conftest.obj conftest.*; do 3267 2526 test -f "$ac_file" || continue; … … 3276 2535 sed 's/^/| /' conftest.$ac_ext >&5 3277 2536 3278 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52537 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3279 2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3280 as_fn_error $? "cannot compute suffix of object files: cannot compile 3281 See \`config.log' for more details" "$LINENO" 5; } 3282 fi 2539 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2540 See \`config.log' for more details." >&5 2541 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2542 See \`config.log' for more details." >&2;} 2543 { (exit 1); exit 1; }; }; } 2544 fi 2545 3283 2546 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3284 2547 fi 3285 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_objext" >&52548 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3286 2549 $as_echo "$ac_cv_objext" >&6; } 3287 2550 OBJEXT=$ac_cv_objext 3288 2551 ac_objext=$OBJEXT 3289 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&52552 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3290 2553 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3291 if ${ac_cv_c_compiler_gnu+:} false; then :2554 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3292 2555 $as_echo_n "(cached) " >&6 3293 2556 else 3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2557 cat >conftest.$ac_ext <<_ACEOF 2558 /* confdefs.h. */ 2559 _ACEOF 2560 cat confdefs.h >>conftest.$ac_ext 2561 cat >>conftest.$ac_ext <<_ACEOF 3295 2562 /* end confdefs.h. */ 3296 2563 … … 3306 2573 } 3307 2574 _ACEOF 3308 if ac_fn_c_try_compile "$LINENO"; then : 2575 rm -f conftest.$ac_objext 2576 if { (ac_try="$ac_compile" 2577 case "(($ac_try" in 2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2579 *) ac_try_echo=$ac_try;; 2580 esac 2581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2582 $as_echo "$ac_try_echo") >&5 2583 (eval "$ac_compile") 2>conftest.er1 2584 ac_status=$? 2585 grep -v '^ *+' conftest.er1 >conftest.err 2586 rm -f conftest.er1 2587 cat conftest.err >&5 2588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2589 (exit $ac_status); } && { 2590 test -z "$ac_c_werror_flag" || 2591 test ! -s conftest.err 2592 } && test -s conftest.$ac_objext; then 3309 2593 ac_compiler_gnu=yes 3310 2594 else 3311 ac_compiler_gnu=no 3312 fi 2595 $as_echo "$as_me: failed program was:" >&5 2596 sed 's/^/| /' conftest.$ac_ext >&5 2597 2598 ac_compiler_gnu=no 2599 fi 2600 3313 2601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3314 2602 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3315 2603 3316 2604 fi 3317 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&52605 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3318 2606 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3319 2607 if test $ac_compiler_gnu = yes; then … … 3324 2612 ac_test_CFLAGS=${CFLAGS+set} 3325 2613 ac_save_CFLAGS=$CFLAGS 3326 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&52614 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3327 2615 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3328 if ${ac_cv_prog_cc_g+:} false; then :2616 if test "${ac_cv_prog_cc_g+set}" = set; then 3329 2617 $as_echo_n "(cached) " >&6 3330 2618 else … … 3333 2621 ac_cv_prog_cc_g=no 3334 2622 CFLAGS="-g" 3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2623 cat >conftest.$ac_ext <<_ACEOF 2624 /* confdefs.h. */ 2625 _ACEOF 2626 cat confdefs.h >>conftest.$ac_ext 2627 cat >>conftest.$ac_ext <<_ACEOF 3336 2628 /* end confdefs.h. */ 3337 2629 … … 3344 2636 } 3345 2637 _ACEOF 3346 if ac_fn_c_try_compile "$LINENO"; then : 2638 rm -f conftest.$ac_objext 2639 if { (ac_try="$ac_compile" 2640 case "(($ac_try" in 2641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2642 *) ac_try_echo=$ac_try;; 2643 esac 2644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2645 $as_echo "$ac_try_echo") >&5 2646 (eval "$ac_compile") 2>conftest.er1 2647 ac_status=$? 2648 grep -v '^ *+' conftest.er1 >conftest.err 2649 rm -f conftest.er1 2650 cat conftest.err >&5 2651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2652 (exit $ac_status); } && { 2653 test -z "$ac_c_werror_flag" || 2654 test ! -s conftest.err 2655 } && test -s conftest.$ac_objext; then 3347 2656 ac_cv_prog_cc_g=yes 3348 2657 else 3349 CFLAGS="" 3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2658 $as_echo "$as_me: failed program was:" >&5 2659 sed 's/^/| /' conftest.$ac_ext >&5 2660 2661 CFLAGS="" 2662 cat >conftest.$ac_ext <<_ACEOF 2663 /* confdefs.h. */ 2664 _ACEOF 2665 cat confdefs.h >>conftest.$ac_ext 2666 cat >>conftest.$ac_ext <<_ACEOF 3351 2667 /* end confdefs.h. */ 3352 2668 … … 3359 2675 } 3360 2676 _ACEOF 3361 if ac_fn_c_try_compile "$LINENO"; then : 3362 3363 else 3364 ac_c_werror_flag=$ac_save_c_werror_flag 2677 rm -f conftest.$ac_objext 2678 if { (ac_try="$ac_compile" 2679 case "(($ac_try" in 2680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2681 *) ac_try_echo=$ac_try;; 2682 esac 2683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2684 $as_echo "$ac_try_echo") >&5 2685 (eval "$ac_compile") 2>conftest.er1 2686 ac_status=$? 2687 grep -v '^ *+' conftest.er1 >conftest.err 2688 rm -f conftest.er1 2689 cat conftest.err >&5 2690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2691 (exit $ac_status); } && { 2692 test -z "$ac_c_werror_flag" || 2693 test ! -s conftest.err 2694 } && test -s conftest.$ac_objext; then 2695 : 2696 else 2697 $as_echo "$as_me: failed program was:" >&5 2698 sed 's/^/| /' conftest.$ac_ext >&5 2699 2700 ac_c_werror_flag=$ac_save_c_werror_flag 3365 2701 CFLAGS="-g" 3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2702 cat >conftest.$ac_ext <<_ACEOF 2703 /* confdefs.h. */ 2704 _ACEOF 2705 cat confdefs.h >>conftest.$ac_ext 2706 cat >>conftest.$ac_ext <<_ACEOF 3367 2707 /* end confdefs.h. */ 3368 2708 … … 3375 2715 } 3376 2716 _ACEOF 3377 if ac_fn_c_try_compile "$LINENO"; then : 2717 rm -f conftest.$ac_objext 2718 if { (ac_try="$ac_compile" 2719 case "(($ac_try" in 2720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2721 *) ac_try_echo=$ac_try;; 2722 esac 2723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2724 $as_echo "$ac_try_echo") >&5 2725 (eval "$ac_compile") 2>conftest.er1 2726 ac_status=$? 2727 grep -v '^ *+' conftest.er1 >conftest.err 2728 rm -f conftest.er1 2729 cat conftest.err >&5 2730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2731 (exit $ac_status); } && { 2732 test -z "$ac_c_werror_flag" || 2733 test ! -s conftest.err 2734 } && test -s conftest.$ac_objext; then 3378 2735 ac_cv_prog_cc_g=yes 3379 fi 2736 else 2737 $as_echo "$as_me: failed program was:" >&5 2738 sed 's/^/| /' conftest.$ac_ext >&5 2739 2740 2741 fi 2742 3380 2743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3381 2744 fi 2745 3382 2746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3383 2747 fi 2748 3384 2749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3385 2750 ac_c_werror_flag=$ac_save_c_werror_flag 3386 2751 fi 3387 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&52752 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3388 2753 $as_echo "$ac_cv_prog_cc_g" >&6; } 3389 2754 if test "$ac_test_CFLAGS" = set; then … … 3402 2767 fi 3403 2768 fi 3404 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&52769 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3405 2770 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3406 if ${ac_cv_prog_cc_c89+:} false; then :2771 if test "${ac_cv_prog_cc_c89+set}" = set; then 3407 2772 $as_echo_n "(cached) " >&6 3408 2773 else 3409 2774 ac_cv_prog_cc_c89=no 3410 2775 ac_save_CC=$CC 3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2776 cat >conftest.$ac_ext <<_ACEOF 2777 /* confdefs.h. */ 2778 _ACEOF 2779 cat confdefs.h >>conftest.$ac_ext 2780 cat >>conftest.$ac_ext <<_ACEOF 3412 2781 /* end confdefs.h. */ 3413 2782 #include <stdarg.h> … … 3466 2835 do 3467 2836 CC="$ac_save_CC $ac_arg" 3468 if ac_fn_c_try_compile "$LINENO"; then : 2837 rm -f conftest.$ac_objext 2838 if { (ac_try="$ac_compile" 2839 case "(($ac_try" in 2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2841 *) ac_try_echo=$ac_try;; 2842 esac 2843 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2844 $as_echo "$ac_try_echo") >&5 2845 (eval "$ac_compile") 2>conftest.er1 2846 ac_status=$? 2847 grep -v '^ *+' conftest.er1 >conftest.err 2848 rm -f conftest.er1 2849 cat conftest.err >&5 2850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2851 (exit $ac_status); } && { 2852 test -z "$ac_c_werror_flag" || 2853 test ! -s conftest.err 2854 } && test -s conftest.$ac_objext; then 3469 2855 ac_cv_prog_cc_c89=$ac_arg 3470 fi 2856 else 2857 $as_echo "$as_me: failed program was:" >&5 2858 sed 's/^/| /' conftest.$ac_ext >&5 2859 2860 2861 fi 2862 3471 2863 rm -f core conftest.err conftest.$ac_objext 3472 2864 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3479 2871 case "x$ac_cv_prog_cc_c89" in 3480 2872 x) 3481 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&52873 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3482 2874 $as_echo "none needed" >&6; } ;; 3483 2875 xno) 3484 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&52876 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3485 2877 $as_echo "unsupported" >&6; } ;; 3486 2878 *) 3487 2879 CC="$CC $ac_cv_prog_cc_c89" 3488 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&52880 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3489 2881 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3490 2882 esac 3491 if test "x$ac_cv_prog_cc_c89" != xno; then : 3492 3493 fi 2883 3494 2884 3495 2885 ac_ext=c … … 3505 2895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3506 2896 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3507 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&52897 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3508 2898 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3509 2899 # On Suns, sometimes $CPP names a directory. … … 3512 2902 fi 3513 2903 if test -z "$CPP"; then 3514 if ${ac_cv_prog_CPP+:} false; then :2904 if test "${ac_cv_prog_CPP+set}" = set; then 3515 2905 $as_echo_n "(cached) " >&6 3516 2906 else … … 3527 2917 # On the NeXT, cc -E runs the code through the compiler's parser, 3528 2918 # not just through cpp. "Syntax error" is here to catch this case. 3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2919 cat >conftest.$ac_ext <<_ACEOF 2920 /* confdefs.h. */ 2921 _ACEOF 2922 cat confdefs.h >>conftest.$ac_ext 2923 cat >>conftest.$ac_ext <<_ACEOF 3530 2924 /* end confdefs.h. */ 3531 2925 #ifdef __STDC__ … … 3536 2930 Syntax error 3537 2931 _ACEOF 3538 if ac_fn_c_try_cpp "$LINENO"; then : 3539 3540 else 2932 if { (ac_try="$ac_cpp conftest.$ac_ext" 2933 case "(($ac_try" in 2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2935 *) ac_try_echo=$ac_try;; 2936 esac 2937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2938 $as_echo "$ac_try_echo") >&5 2939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2940 ac_status=$? 2941 grep -v '^ *+' conftest.er1 >conftest.err 2942 rm -f conftest.er1 2943 cat conftest.err >&5 2944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2945 (exit $ac_status); } >/dev/null && { 2946 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2947 test ! -s conftest.err 2948 }; then 2949 : 2950 else 2951 $as_echo "$as_me: failed program was:" >&5 2952 sed 's/^/| /' conftest.$ac_ext >&5 2953 3541 2954 # Broken: fails on valid input. 3542 2955 continue 3543 2956 fi 3544 rm -f conftest.err conftest.i conftest.$ac_ext 2957 2958 rm -f conftest.err conftest.$ac_ext 3545 2959 3546 2960 # OK, works on sane cases. Now check whether nonexistent headers 3547 2961 # can be detected and how. 3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2962 cat >conftest.$ac_ext <<_ACEOF 2963 /* confdefs.h. */ 2964 _ACEOF 2965 cat confdefs.h >>conftest.$ac_ext 2966 cat >>conftest.$ac_ext <<_ACEOF 3549 2967 /* end confdefs.h. */ 3550 2968 #include <ac_nonexistent.h> 3551 2969 _ACEOF 3552 if ac_fn_c_try_cpp "$LINENO"; then : 2970 if { (ac_try="$ac_cpp conftest.$ac_ext" 2971 case "(($ac_try" in 2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2973 *) ac_try_echo=$ac_try;; 2974 esac 2975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2976 $as_echo "$ac_try_echo") >&5 2977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2978 ac_status=$? 2979 grep -v '^ *+' conftest.er1 >conftest.err 2980 rm -f conftest.er1 2981 cat conftest.err >&5 2982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2983 (exit $ac_status); } >/dev/null && { 2984 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2985 test ! -s conftest.err 2986 }; then 3553 2987 # Broken: success on invalid input. 3554 2988 continue 3555 2989 else 2990 $as_echo "$as_me: failed program was:" >&5 2991 sed 's/^/| /' conftest.$ac_ext >&5 2992 3556 2993 # Passes both tests. 3557 2994 ac_preproc_ok=: 3558 2995 break 3559 2996 fi 3560 rm -f conftest.err conftest.i conftest.$ac_ext 2997 2998 rm -f conftest.err conftest.$ac_ext 3561 2999 3562 3000 done 3563 3001 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3564 rm -f conftest. i conftest.err conftest.$ac_ext3565 if $ac_preproc_ok; then :3002 rm -f conftest.err conftest.$ac_ext 3003 if $ac_preproc_ok; then 3566 3004 break 3567 3005 fi … … 3575 3013 ac_cv_prog_CPP=$CPP 3576 3014 fi 3577 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&53015 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 3578 3016 $as_echo "$CPP" >&6; } 3579 3017 ac_preproc_ok=false … … 3586 3024 # On the NeXT, cc -E runs the code through the compiler's parser, 3587 3025 # not just through cpp. "Syntax error" is here to catch this case. 3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3026 cat >conftest.$ac_ext <<_ACEOF 3027 /* confdefs.h. */ 3028 _ACEOF 3029 cat confdefs.h >>conftest.$ac_ext 3030 cat >>conftest.$ac_ext <<_ACEOF 3589 3031 /* end confdefs.h. */ 3590 3032 #ifdef __STDC__ … … 3595 3037 Syntax error 3596 3038 _ACEOF 3597 if ac_fn_c_try_cpp "$LINENO"; then : 3598 3599 else 3039 if { (ac_try="$ac_cpp conftest.$ac_ext" 3040 case "(($ac_try" in 3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3042 *) ac_try_echo=$ac_try;; 3043 esac 3044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3045 $as_echo "$ac_try_echo") >&5 3046 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3047 ac_status=$? 3048 grep -v '^ *+' conftest.er1 >conftest.err 3049 rm -f conftest.er1 3050 cat conftest.err >&5 3051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3052 (exit $ac_status); } >/dev/null && { 3053 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3054 test ! -s conftest.err 3055 }; then 3056 : 3057 else 3058 $as_echo "$as_me: failed program was:" >&5 3059 sed 's/^/| /' conftest.$ac_ext >&5 3060 3600 3061 # Broken: fails on valid input. 3601 3062 continue 3602 3063 fi 3603 rm -f conftest.err conftest.i conftest.$ac_ext 3064 3065 rm -f conftest.err conftest.$ac_ext 3604 3066 3605 3067 # OK, works on sane cases. Now check whether nonexistent headers 3606 3068 # can be detected and how. 3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3069 cat >conftest.$ac_ext <<_ACEOF 3070 /* confdefs.h. */ 3071 _ACEOF 3072 cat confdefs.h >>conftest.$ac_ext 3073 cat >>conftest.$ac_ext <<_ACEOF 3608 3074 /* end confdefs.h. */ 3609 3075 #include <ac_nonexistent.h> 3610 3076 _ACEOF 3611 if ac_fn_c_try_cpp "$LINENO"; then : 3077 if { (ac_try="$ac_cpp conftest.$ac_ext" 3078 case "(($ac_try" in 3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3080 *) ac_try_echo=$ac_try;; 3081 esac 3082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3083 $as_echo "$ac_try_echo") >&5 3084 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3085 ac_status=$? 3086 grep -v '^ *+' conftest.er1 >conftest.err 3087 rm -f conftest.er1 3088 cat conftest.err >&5 3089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3090 (exit $ac_status); } >/dev/null && { 3091 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3092 test ! -s conftest.err 3093 }; then 3612 3094 # Broken: success on invalid input. 3613 3095 continue 3614 3096 else 3097 $as_echo "$as_me: failed program was:" >&5 3098 sed 's/^/| /' conftest.$ac_ext >&5 3099 3615 3100 # Passes both tests. 3616 3101 ac_preproc_ok=: 3617 3102 break 3618 3103 fi 3619 rm -f conftest.err conftest.i conftest.$ac_ext 3104 3105 rm -f conftest.err conftest.$ac_ext 3620 3106 3621 3107 done 3622 3108 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3623 rm -f conftest. i conftest.err conftest.$ac_ext3624 if $ac_preproc_ok; then :3625 3626 else 3627 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53109 rm -f conftest.err conftest.$ac_ext 3110 if $ac_preproc_ok; then 3111 : 3112 else 3113 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3628 3114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3629 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3630 See \`config.log' for more details" "$LINENO" 5; } 3115 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3116 See \`config.log' for more details." >&5 3117 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3118 See \`config.log' for more details." >&2;} 3119 { (exit 1); exit 1; }; }; } 3631 3120 fi 3632 3121 … … 3638 3127 3639 3128 3640 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&53129 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3641 3130 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3642 if ${ac_cv_path_GREP+:} false; then :3131 if test "${ac_cv_path_GREP+set}" = set; then 3643 3132 $as_echo_n "(cached) " >&6 3644 3133 else … … 3651 3140 IFS=$as_save_IFS 3652 3141 test -z "$as_dir" && as_dir=. 3653 3142 for ac_prog in grep ggrep; do 3654 3143 for ac_exec_ext in '' $ac_executable_extensions; do 3655 3144 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" … … 3671 3160 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3672 3161 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3673 a s_fn_arith $ac_count + 1 && ac_count=$as_val3162 ac_count=`expr $ac_count + 1` 3674 3163 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3675 3164 # Best one so far, save it but keep looking for a better one … … 3686 3175 done 3687 3176 done 3688 3177 done 3689 3178 IFS=$as_save_IFS 3690 3179 if test -z "$ac_cv_path_GREP"; then 3691 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3180 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3181 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3182 { (exit 1); exit 1; }; } 3692 3183 fi 3693 3184 else … … 3696 3187 3697 3188 fi 3698 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&53189 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3699 3190 $as_echo "$ac_cv_path_GREP" >&6; } 3700 3191 GREP="$ac_cv_path_GREP" 3701 3192 3702 3193 3703 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for egrep" >&53194 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 3704 3195 $as_echo_n "checking for egrep... " >&6; } 3705 if ${ac_cv_path_EGREP+:} false; then :3196 if test "${ac_cv_path_EGREP+set}" = set; then 3706 3197 $as_echo_n "(cached) " >&6 3707 3198 else … … 3717 3208 IFS=$as_save_IFS 3718 3209 test -z "$as_dir" && as_dir=. 3719 3210 for ac_prog in egrep; do 3720 3211 for ac_exec_ext in '' $ac_executable_extensions; do 3721 3212 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" … … 3737 3228 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3738 3229 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3739 a s_fn_arith $ac_count + 1 && ac_count=$as_val3230 ac_count=`expr $ac_count + 1` 3740 3231 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3741 3232 # Best one so far, save it but keep looking for a better one … … 3752 3243 done 3753 3244 done 3754 3245 done 3755 3246 IFS=$as_save_IFS 3756 3247 if test -z "$ac_cv_path_EGREP"; then 3757 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3248 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3249 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3250 { (exit 1); exit 1; }; } 3758 3251 fi 3759 3252 else … … 3763 3256 fi 3764 3257 fi 3765 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&53258 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3766 3259 $as_echo "$ac_cv_path_EGREP" >&6; } 3767 3260 EGREP="$ac_cv_path_EGREP" 3768 3261 3769 3262 3770 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ANSI C header files" >&53263 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3771 3264 $as_echo_n "checking for ANSI C header files... " >&6; } 3772 if ${ac_cv_header_stdc+:} false; then :3265 if test "${ac_cv_header_stdc+set}" = set; then 3773 3266 $as_echo_n "(cached) " >&6 3774 3267 else 3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3268 cat >conftest.$ac_ext <<_ACEOF 3269 /* confdefs.h. */ 3270 _ACEOF 3271 cat confdefs.h >>conftest.$ac_ext 3272 cat >>conftest.$ac_ext <<_ACEOF 3776 3273 /* end confdefs.h. */ 3777 3274 #include <stdlib.h> … … 3788 3285 } 3789 3286 _ACEOF 3790 if ac_fn_c_try_compile "$LINENO"; then : 3287 rm -f conftest.$ac_objext 3288 if { (ac_try="$ac_compile" 3289 case "(($ac_try" in 3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3291 *) ac_try_echo=$ac_try;; 3292 esac 3293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3294 $as_echo "$ac_try_echo") >&5 3295 (eval "$ac_compile") 2>conftest.er1 3296 ac_status=$? 3297 grep -v '^ *+' conftest.er1 >conftest.err 3298 rm -f conftest.er1 3299 cat conftest.err >&5 3300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3301 (exit $ac_status); } && { 3302 test -z "$ac_c_werror_flag" || 3303 test ! -s conftest.err 3304 } && test -s conftest.$ac_objext; then 3791 3305 ac_cv_header_stdc=yes 3792 3306 else 3793 ac_cv_header_stdc=no 3794 fi 3307 $as_echo "$as_me: failed program was:" >&5 3308 sed 's/^/| /' conftest.$ac_ext >&5 3309 3310 ac_cv_header_stdc=no 3311 fi 3312 3795 3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3796 3314 3797 3315 if test $ac_cv_header_stdc = yes; then 3798 3316 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3317 cat >conftest.$ac_ext <<_ACEOF 3318 /* confdefs.h. */ 3319 _ACEOF 3320 cat confdefs.h >>conftest.$ac_ext 3321 cat >>conftest.$ac_ext <<_ACEOF 3800 3322 /* end confdefs.h. */ 3801 3323 #include <string.h> … … 3803 3325 _ACEOF 3804 3326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3805 $EGREP "memchr" >/dev/null 2>&1; then :3806 3327 $EGREP "memchr" >/dev/null 2>&1; then 3328 : 3807 3329 else 3808 3330 ac_cv_header_stdc=no … … 3814 3336 if test $ac_cv_header_stdc = yes; then 3815 3337 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3338 cat >conftest.$ac_ext <<_ACEOF 3339 /* confdefs.h. */ 3340 _ACEOF 3341 cat confdefs.h >>conftest.$ac_ext 3342 cat >>conftest.$ac_ext <<_ACEOF 3817 3343 /* end confdefs.h. */ 3818 3344 #include <stdlib.h> … … 3820 3346 _ACEOF 3821 3347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3822 $EGREP "free" >/dev/null 2>&1; then :3823 3348 $EGREP "free" >/dev/null 2>&1; then 3349 : 3824 3350 else 3825 3351 ac_cv_header_stdc=no … … 3831 3357 if test $ac_cv_header_stdc = yes; then 3832 3358 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3833 if test "$cross_compiling" = yes; then :3359 if test "$cross_compiling" = yes; then 3834 3360 : 3835 3361 else 3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3362 cat >conftest.$ac_ext <<_ACEOF 3363 /* confdefs.h. */ 3364 _ACEOF 3365 cat confdefs.h >>conftest.$ac_ext 3366 cat >>conftest.$ac_ext <<_ACEOF 3837 3367 /* end confdefs.h. */ 3838 3368 #include <ctype.h> … … 3861 3391 } 3862 3392 _ACEOF 3863 if ac_fn_c_try_run "$LINENO"; then : 3864 3865 else 3866 ac_cv_header_stdc=no 3867 fi 3868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3869 conftest.$ac_objext conftest.beam conftest.$ac_ext 3870 fi 3871 3872 fi 3873 fi 3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3393 rm -f conftest$ac_exeext 3394 if { (ac_try="$ac_link" 3395 case "(($ac_try" in 3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3397 *) ac_try_echo=$ac_try;; 3398 esac 3399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3400 $as_echo "$ac_try_echo") >&5 3401 (eval "$ac_link") 2>&5 3402 ac_status=$? 3403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3404 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3405 { (case "(($ac_try" in 3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3407 *) ac_try_echo=$ac_try;; 3408 esac 3409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3410 $as_echo "$ac_try_echo") >&5 3411 (eval "$ac_try") 2>&5 3412 ac_status=$? 3413 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3414 (exit $ac_status); }; }; then 3415 : 3416 else 3417 $as_echo "$as_me: program exited with status $ac_status" >&5 3418 $as_echo "$as_me: failed program was:" >&5 3419 sed 's/^/| /' conftest.$ac_ext >&5 3420 3421 ( exit $ac_status ) 3422 ac_cv_header_stdc=no 3423 fi 3424 rm -rf conftest.dSYM 3425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3426 fi 3427 3428 3429 fi 3430 fi 3431 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3875 3432 $as_echo "$ac_cv_header_stdc" >&6; } 3876 3433 if test $ac_cv_header_stdc = yes; then 3877 3434 3878 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3435 cat >>confdefs.h <<\_ACEOF 3436 #define STDC_HEADERS 1 3437 _ACEOF 3879 3438 3880 3439 fi 3881 3440 3882 3441 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3442 3443 3444 3445 3446 3447 3448 3449 3450 3883 3451 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3884 3452 inttypes.h stdint.h unistd.h 3885 do : 3886 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3887 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3888 " 3889 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3453 do 3454 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3455 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3456 $as_echo_n "checking for $ac_header... " >&6; } 3457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3458 $as_echo_n "(cached) " >&6 3459 else 3460 cat >conftest.$ac_ext <<_ACEOF 3461 /* confdefs.h. */ 3462 _ACEOF 3463 cat confdefs.h >>conftest.$ac_ext 3464 cat >>conftest.$ac_ext <<_ACEOF 3465 /* end confdefs.h. */ 3466 $ac_includes_default 3467 3468 #include <$ac_header> 3469 _ACEOF 3470 rm -f conftest.$ac_objext 3471 if { (ac_try="$ac_compile" 3472 case "(($ac_try" in 3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3474 *) ac_try_echo=$ac_try;; 3475 esac 3476 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3477 $as_echo "$ac_try_echo") >&5 3478 (eval "$ac_compile") 2>conftest.er1 3479 ac_status=$? 3480 grep -v '^ *+' conftest.er1 >conftest.err 3481 rm -f conftest.er1 3482 cat conftest.err >&5 3483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3484 (exit $ac_status); } && { 3485 test -z "$ac_c_werror_flag" || 3486 test ! -s conftest.err 3487 } && test -s conftest.$ac_objext; then 3488 eval "$as_ac_Header=yes" 3489 else 3490 $as_echo "$as_me: failed program was:" >&5 3491 sed 's/^/| /' conftest.$ac_ext >&5 3492 3493 eval "$as_ac_Header=no" 3494 fi 3495 3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3497 fi 3498 ac_res=`eval 'as_val=${'$as_ac_Header'} 3499 $as_echo "$as_val"'` 3500 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3501 $as_echo "$ac_res" >&6; } 3502 as_val=`eval 'as_val=${'$as_ac_Header'} 3503 $as_echo "$as_val"'` 3504 if test "x$as_val" = x""yes; then 3890 3505 cat >>confdefs.h <<_ACEOF 3891 3506 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 3912 3527 3913 3528 # Check whether --with-python was given. 3914 if test "${with_python+set}" = set; then :3529 if test "${with_python+set}" = set; then 3915 3530 withval=$with_python; 3916 3531 else … … 3923 3538 # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args. 3924 3539 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 3925 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53540 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3926 3541 $as_echo_n "checking for $ac_word... " >&6; } 3927 if ${ac_cv_path_PYTHON+:} false; then :3542 if test "${ac_cv_path_PYTHON+set}" = set; then 3928 3543 $as_echo_n "(cached) " >&6 3929 3544 else … … 3938 3553 IFS=$as_save_IFS 3939 3554 test -z "$as_dir" && as_dir=. 3940 3555 for ac_exec_ext in '' $ac_executable_extensions; do 3941 3556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3942 3557 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3943 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53558 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3944 3559 break 2 3945 3560 fi 3946 3561 done 3947 3562 done 3948 3563 IFS=$as_save_IFS 3949 3564 … … 3953 3568 PYTHON=$ac_cv_path_PYTHON 3954 3569 if test -n "$PYTHON"; then 3955 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON" >&53570 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5 3956 3571 $as_echo "$PYTHON" >&6; } 3957 3572 else 3958 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53573 { $as_echo "$as_me:$LINENO: result: no" >&5 3959 3574 $as_echo "no" >&6; } 3960 3575 fi … … 3964 3579 # Extract the first word of "python", so it can be a program name with args. 3965 3580 set dummy python; ac_word=$2 3966 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53581 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3967 3582 $as_echo_n "checking for $ac_word... " >&6; } 3968 if ${ac_cv_path_PYTHON+:} false; then :3583 if test "${ac_cv_path_PYTHON+set}" = set; then 3969 3584 $as_echo_n "(cached) " >&6 3970 3585 else … … 3980 3595 IFS=$as_save_IFS 3981 3596 test -z "$as_dir" && as_dir=. 3982 3597 for ac_exec_ext in '' $ac_executable_extensions; do 3983 3598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3984 3599 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3985 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53600 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3986 3601 break 2 3987 3602 fi 3988 3603 done 3989 3604 done 3990 3605 IFS=$as_save_IFS 3991 3606 … … 3995 3610 PYTHON=$ac_cv_path_PYTHON 3996 3611 if test -n "$PYTHON"; then 3997 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON" >&53612 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5 3998 3613 $as_echo "$PYTHON" >&6; } 3999 3614 else 4000 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53615 { $as_echo "$as_me:$LINENO: result: no" >&5 4001 3616 $as_echo "no" >&6; } 4002 3617 fi … … 4004 3619 4005 3620 fi 4006 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for Python version" >&53621 { $as_echo "$as_me:$LINENO: checking for Python version" >&5 4007 3622 $as_echo_n "checking for Python version... " >&6; } 4008 3623 if test "x${PYTHON}" != "x"; then 4009 3624 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 4010 3625 fi 4011 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON_VERSION" >&53626 { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5 4012 3627 $as_echo "$PYTHON_VERSION" >&6; } 4013 3628 fi … … 4015 3630 if test "x${PYTHON_VERSION}" != "x"; then 4016 3631 PYTHON_INCLUDES=$incdir 4017 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for Python distutils" >&53632 { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5 4018 3633 $as_echo_n "checking for Python distutils... " >&6; } 4019 3634 PYTHON_DISTUTILS="" … … 4023 3638 PYTHON_DISTUTILS="yes" 4024 3639 fi 4025 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&53640 { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5 4026 3641 $as_echo "$PYTHON_DISTUTILS" >&6; } 4027 3642 if test "${PYTHON_DISTUTILS}" = "yes" ; then … … 4030 3645 # Check for Python include path 4031 3646 # 4032 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking path to Python headers" >&53647 { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5 4033 3648 $as_echo_n "checking path to Python headers... " >&6; } 4034 3649 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 4035 3650 print distutils.sysconfig.get_python_inc();"` 4036 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&53651 { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5 4037 3652 $as_echo "$PYTHON_INCDIR" >&6; } 4038 3653 # … … 4047 3662 save_CPPFLAGS=$CPPFLAGS 4048 3663 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 4049 for ac_header in Python.h 4050 do : 4051 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 4052 if test "x$ac_cv_header_Python_h" = xyes; then : 3664 3665 for ac_header in Python.h 3666 do 3667 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3668 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3669 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3670 $as_echo_n "checking for $ac_header... " >&6; } 3671 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3672 $as_echo_n "(cached) " >&6 3673 fi 3674 ac_res=`eval 'as_val=${'$as_ac_Header'} 3675 $as_echo "$as_val"'` 3676 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3677 $as_echo "$ac_res" >&6; } 3678 else 3679 # Is the header compilable? 3680 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 3681 $as_echo_n "checking $ac_header usability... " >&6; } 3682 cat >conftest.$ac_ext <<_ACEOF 3683 /* confdefs.h. */ 3684 _ACEOF 3685 cat confdefs.h >>conftest.$ac_ext 3686 cat >>conftest.$ac_ext <<_ACEOF 3687 /* end confdefs.h. */ 3688 $ac_includes_default 3689 #include <$ac_header> 3690 _ACEOF 3691 rm -f conftest.$ac_objext 3692 if { (ac_try="$ac_compile" 3693 case "(($ac_try" in 3694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3695 *) ac_try_echo=$ac_try;; 3696 esac 3697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3698 $as_echo "$ac_try_echo") >&5 3699 (eval "$ac_compile") 2>conftest.er1 3700 ac_status=$? 3701 grep -v '^ *+' conftest.er1 >conftest.err 3702 rm -f conftest.er1 3703 cat conftest.err >&5 3704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3705 (exit $ac_status); } && { 3706 test -z "$ac_c_werror_flag" || 3707 test ! -s conftest.err 3708 } && test -s conftest.$ac_objext; then 3709 ac_header_compiler=yes 3710 else 3711 $as_echo "$as_me: failed program was:" >&5 3712 sed 's/^/| /' conftest.$ac_ext >&5 3713 3714 ac_header_compiler=no 3715 fi 3716 3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3718 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3719 $as_echo "$ac_header_compiler" >&6; } 3720 3721 # Is the header present? 3722 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 3723 $as_echo_n "checking $ac_header presence... " >&6; } 3724 cat >conftest.$ac_ext <<_ACEOF 3725 /* confdefs.h. */ 3726 _ACEOF 3727 cat confdefs.h >>conftest.$ac_ext 3728 cat >>conftest.$ac_ext <<_ACEOF 3729 /* end confdefs.h. */ 3730 #include <$ac_header> 3731 _ACEOF 3732 if { (ac_try="$ac_cpp conftest.$ac_ext" 3733 case "(($ac_try" in 3734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3735 *) ac_try_echo=$ac_try;; 3736 esac 3737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3738 $as_echo "$ac_try_echo") >&5 3739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3740 ac_status=$? 3741 grep -v '^ *+' conftest.er1 >conftest.err 3742 rm -f conftest.er1 3743 cat conftest.err >&5 3744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3745 (exit $ac_status); } >/dev/null && { 3746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3747 test ! -s conftest.err 3748 }; then 3749 ac_header_preproc=yes 3750 else 3751 $as_echo "$as_me: failed program was:" >&5 3752 sed 's/^/| /' conftest.$ac_ext >&5 3753 3754 ac_header_preproc=no 3755 fi 3756 3757 rm -f conftest.err conftest.$ac_ext 3758 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3759 $as_echo "$ac_header_preproc" >&6; } 3760 3761 # So? What about this header? 3762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3763 yes:no: ) 3764 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3765 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3766 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3767 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3768 ac_header_preproc=yes 3769 ;; 3770 no:yes:* ) 3771 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3772 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3773 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3774 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3775 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3776 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3777 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3778 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3779 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3780 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3781 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3782 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3783 ( cat <<\_ASBOX 3784 ## ----------------------------------- ## 3785 ## Report this to rappture@nanohub.org ## 3786 ## ----------------------------------- ## 3787 _ASBOX 3788 ) | sed "s/^/$as_me: WARNING: /" >&2 3789 ;; 3790 esac 3791 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3792 $as_echo_n "checking for $ac_header... " >&6; } 3793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3794 $as_echo_n "(cached) " >&6 3795 else 3796 eval "$as_ac_Header=\$ac_header_preproc" 3797 fi 3798 ac_res=`eval 'as_val=${'$as_ac_Header'} 3799 $as_echo "$as_val"'` 3800 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3801 $as_echo "$ac_res" >&6; } 3802 3803 fi 3804 as_val=`eval 'as_val=${'$as_ac_Header'} 3805 $as_echo "$as_val"'` 3806 if test "x$as_val" = x""yes; then 4053 3807 cat >>confdefs.h <<_ACEOF 4054 #define HAVE_PYTHON_H13808 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4055 3809 _ACEOF 4056 3810 found=yes … … 4096 3850 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4097 3851 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4098 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53852 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4099 3853 $as_echo_n "checking for $ac_word... " >&6; } 4100 if ${ac_cv_prog_RANLIB+:} false; then :3854 if test "${ac_cv_prog_RANLIB+set}" = set; then 4101 3855 $as_echo_n "(cached) " >&6 4102 3856 else … … 4109 3863 IFS=$as_save_IFS 4110 3864 test -z "$as_dir" && as_dir=. 4111 3865 for ac_exec_ext in '' $ac_executable_extensions; do 4112 3866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4113 3867 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4114 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53868 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4115 3869 break 2 4116 3870 fi 4117 3871 done 4118 3872 done 4119 3873 IFS=$as_save_IFS 4120 3874 … … 4123 3877 RANLIB=$ac_cv_prog_RANLIB 4124 3878 if test -n "$RANLIB"; then 4125 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&53879 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 4126 3880 $as_echo "$RANLIB" >&6; } 4127 3881 else 4128 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53882 { $as_echo "$as_me:$LINENO: result: no" >&5 4129 3883 $as_echo "no" >&6; } 4130 3884 fi … … 4136 3890 # Extract the first word of "ranlib", so it can be a program name with args. 4137 3891 set dummy ranlib; ac_word=$2 4138 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53892 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4139 3893 $as_echo_n "checking for $ac_word... " >&6; } 4140 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :3894 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 4141 3895 $as_echo_n "(cached) " >&6 4142 3896 else … … 4149 3903 IFS=$as_save_IFS 4150 3904 test -z "$as_dir" && as_dir=. 4151 3905 for ac_exec_ext in '' $ac_executable_extensions; do 4152 3906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4153 3907 ac_cv_prog_ac_ct_RANLIB="ranlib" 4154 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53908 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4155 3909 break 2 4156 3910 fi 4157 3911 done 4158 3912 done 4159 3913 IFS=$as_save_IFS 4160 3914 … … 4163 3917 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4164 3918 if test -n "$ac_ct_RANLIB"; then 4165 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&53919 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4166 3920 $as_echo "$ac_ct_RANLIB" >&6; } 4167 3921 else 4168 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53922 { $as_echo "$as_me:$LINENO: result: no" >&5 4169 3923 $as_echo "no" >&6; } 4170 3924 fi … … 4175 3929 case $cross_compiling:$ac_tool_warned in 4176 3930 yes:) 4177 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&53931 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4178 3932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4179 3933 ac_tool_warned=yes ;; … … 4189 3943 # Step 0.a: Enable 64 bit support? 4190 3944 4191 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if 64bit support is requested" >&53945 { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5 4192 3946 $as_echo_n "checking if 64bit support is requested... " >&6; } 4193 3947 # Check whether --enable-64bit was given. 4194 if test "${enable_64bit+set}" = set; then :3948 if test "${enable_64bit+set}" = set; then 4195 3949 enableval=$enable_64bit; do64bit=$enableval 4196 3950 else … … 4198 3952 fi 4199 3953 4200 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $do64bit" >&53954 { $as_echo "$as_me:$LINENO: result: $do64bit" >&5 4201 3955 $as_echo "$do64bit" >&6; } 4202 3956 4203 3957 # Step 0.b: Enable Solaris 64 bit VIS support? 4204 3958 4205 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&53959 { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5 4206 3960 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 4207 3961 # Check whether --enable-64bit-vis was given. 4208 if test "${enable_64bit_vis+set}" = set; then :3962 if test "${enable_64bit_vis+set}" = set; then 4209 3963 enableval=$enable_64bit_vis; do64bitVIS=$enableval 4210 3964 else … … 4212 3966 fi 4213 3967 4214 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $do64bitVIS" >&53968 { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5 4215 3969 $as_echo "$do64bitVIS" >&6; } 4216 3970 … … 4224 3978 4225 3979 4226 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking system version" >&53980 { $as_echo "$as_me:$LINENO: checking system version" >&5 4227 3981 $as_echo_n "checking system version... " >&6; } 4228 if ${tcl_cv_sys_version+:} false; then :3982 if test "${tcl_cv_sys_version+set}" = set; then 4229 3983 $as_echo_n "(cached) " >&6 4230 3984 else … … 4235 3989 tcl_cv_sys_version=`uname -s`-`uname -r` 4236 3990 if test "$?" -ne 0 ; then 4237 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: can't find uname command" >&53991 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5 4238 3992 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 4239 3993 tcl_cv_sys_version=unknown … … 4252 4006 4253 4007 fi 4254 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&54008 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5 4255 4009 $as_echo "$tcl_cv_sys_version" >&6; } 4256 4010 system=$tcl_cv_sys_version … … 4260 4014 # Linux can use either -ldl or -ldld for dynamic loading. 4261 4015 4262 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for dlopen in -ldl" >&54016 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 4263 4017 $as_echo_n "checking for dlopen in -ldl... " >&6; } 4264 if ${ac_cv_lib_dl_dlopen+:} false; then :4018 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 4265 4019 $as_echo_n "(cached) " >&6 4266 4020 else 4267 4021 ac_check_lib_save_LIBS=$LIBS 4268 4022 LIBS="-ldl $LIBS" 4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4023 cat >conftest.$ac_ext <<_ACEOF 4024 /* confdefs.h. */ 4025 _ACEOF 4026 cat confdefs.h >>conftest.$ac_ext 4027 cat >>conftest.$ac_ext <<_ACEOF 4270 4028 /* end confdefs.h. */ 4271 4029 … … 4285 4043 } 4286 4044 _ACEOF 4287 if ac_fn_c_try_link "$LINENO"; then : 4045 rm -f conftest.$ac_objext conftest$ac_exeext 4046 if { (ac_try="$ac_link" 4047 case "(($ac_try" in 4048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4049 *) ac_try_echo=$ac_try;; 4050 esac 4051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4052 $as_echo "$ac_try_echo") >&5 4053 (eval "$ac_link") 2>conftest.er1 4054 ac_status=$? 4055 grep -v '^ *+' conftest.er1 >conftest.err 4056 rm -f conftest.er1 4057 cat conftest.err >&5 4058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4059 (exit $ac_status); } && { 4060 test -z "$ac_c_werror_flag" || 4061 test ! -s conftest.err 4062 } && test -s conftest$ac_exeext && { 4063 test "$cross_compiling" = yes || 4064 $as_test_x conftest$ac_exeext 4065 }; then 4288 4066 ac_cv_lib_dl_dlopen=yes 4289 4067 else 4290 ac_cv_lib_dl_dlopen=no 4291 fi 4292 rm -f core conftest.err conftest.$ac_objext \ 4293 conftest$ac_exeext conftest.$ac_ext 4068 $as_echo "$as_me: failed program was:" >&5 4069 sed 's/^/| /' conftest.$ac_ext >&5 4070 4071 ac_cv_lib_dl_dlopen=no 4072 fi 4073 4074 rm -rf conftest.dSYM 4075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4076 conftest$ac_exeext conftest.$ac_ext 4294 4077 LIBS=$ac_check_lib_save_LIBS 4295 4078 fi 4296 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&54079 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 4297 4080 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 4298 if test "x$ac_cv_lib_dl_dlopen" = x yes; then :4081 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 4299 4082 have_dl=yes 4300 4083 else … … 4328 4111 # Extract the first word of "ar", so it can be a program name with args. 4329 4112 set dummy ar; ac_word=$2 4330 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&54113 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4331 4114 $as_echo_n "checking for $ac_word... " >&6; } 4332 if ${ac_cv_prog_AR+:} false; then :4115 if test "${ac_cv_prog_AR+set}" = set; then 4333 4116 $as_echo_n "(cached) " >&6 4334 4117 else … … 4341 4124 IFS=$as_save_IFS 4342 4125 test -z "$as_dir" && as_dir=. 4343 4126 for ac_exec_ext in '' $ac_executable_extensions; do 4344 4127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4345 4128 ac_cv_prog_AR="ar" 4346 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&54129 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4347 4130 break 2 4348 4131 fi 4349 4132 done 4350 4133 done 4351 4134 IFS=$as_save_IFS 4352 4135 … … 4355 4138 AR=$ac_cv_prog_AR 4356 4139 if test -n "$AR"; then 4357 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $AR" >&54140 { $as_echo "$as_me:$LINENO: result: $AR" >&5 4358 4141 $as_echo "$AR" >&6; } 4359 4142 else 4360 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&54143 { $as_echo "$as_me:$LINENO: result: no" >&5 4361 4144 $as_echo "no" >&6; } 4362 4145 fi … … 4364 4147 4365 4148 if test "${AR}" = "" ; then 4366 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 4149 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 4150 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 4151 { (exit 1); exit 1; }; } 4367 4152 fi 4368 4153 STLIB_LD='${AR} cr' … … 4382 4167 ;; 4383 4168 esac 4384 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&54169 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5 4385 4170 $as_echo "Using $CC for compiling with threads" >&6; } 4386 4171 fi … … 4398 4183 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 4399 4184 if test "$GCC" = "yes" ; then 4400 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&54185 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 4401 4186 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4402 4187 else … … 4453 4238 # known GMT value. 4454 4239 4455 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&54240 { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5 4456 4241 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 4457 if ${ac_cv_lib_bsd_gettimeofday+:} false; then :4242 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 4458 4243 $as_echo_n "(cached) " >&6 4459 4244 else 4460 4245 ac_check_lib_save_LIBS=$LIBS 4461 4246 LIBS="-lbsd $LIBS" 4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4247 cat >conftest.$ac_ext <<_ACEOF 4248 /* confdefs.h. */ 4249 _ACEOF 4250 cat confdefs.h >>conftest.$ac_ext 4251 cat >>conftest.$ac_ext <<_ACEOF 4463 4252 /* end confdefs.h. */ 4464 4253 … … 4478 4267 } 4479 4268 _ACEOF 4480 if ac_fn_c_try_link "$LINENO"; then : 4269 rm -f conftest.$ac_objext conftest$ac_exeext 4270 if { (ac_try="$ac_link" 4271 case "(($ac_try" in 4272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4273 *) ac_try_echo=$ac_try;; 4274 esac 4275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4276 $as_echo "$ac_try_echo") >&5 4277 (eval "$ac_link") 2>conftest.er1 4278 ac_status=$? 4279 grep -v '^ *+' conftest.er1 >conftest.err 4280 rm -f conftest.er1 4281 cat conftest.err >&5 4282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4283 (exit $ac_status); } && { 4284 test -z "$ac_c_werror_flag" || 4285 test ! -s conftest.err 4286 } && test -s conftest$ac_exeext && { 4287 test "$cross_compiling" = yes || 4288 $as_test_x conftest$ac_exeext 4289 }; then 4481 4290 ac_cv_lib_bsd_gettimeofday=yes 4482 4291 else 4483 ac_cv_lib_bsd_gettimeofday=no 4484 fi 4485 rm -f core conftest.err conftest.$ac_objext \ 4486 conftest$ac_exeext conftest.$ac_ext 4292 $as_echo "$as_me: failed program was:" >&5 4293 sed 's/^/| /' conftest.$ac_ext >&5 4294 4295 ac_cv_lib_bsd_gettimeofday=no 4296 fi 4297 4298 rm -rf conftest.dSYM 4299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4300 conftest$ac_exeext conftest.$ac_ext 4487 4301 LIBS=$ac_check_lib_save_LIBS 4488 4302 fi 4489 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&54303 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5 4490 4304 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 4491 if test "x$ac_cv_lib_bsd_gettimeofday" = x yes; then :4305 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then 4492 4306 libbsd=yes 4493 4307 else … … 4497 4311 if test $libbsd = yes; then 4498 4312 MATH_LIBS="$MATH_LIBS -lbsd" 4499 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 4313 cat >>confdefs.h <<\_ACEOF 4314 #define USE_DELTA_FOR_TZ 1 4315 _ACEOF 4500 4316 4501 4317 fi … … 4514 4330 # is always linked to, for compatibility. 4515 4331 #----------------------------------------------------------- 4516 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&54332 { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5 4517 4333 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 4518 if ${ac_cv_lib_bind_inet_ntoa+:} false; then :4334 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then 4519 4335 $as_echo_n "(cached) " >&6 4520 4336 else 4521 4337 ac_check_lib_save_LIBS=$LIBS 4522 4338 LIBS="-lbind $LIBS" 4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4339 cat >conftest.$ac_ext <<_ACEOF 4340 /* confdefs.h. */ 4341 _ACEOF 4342 cat confdefs.h >>conftest.$ac_ext 4343 cat >>conftest.$ac_ext <<_ACEOF 4524 4344 /* end confdefs.h. */ 4525 4345 … … 4539 4359 } 4540 4360 _ACEOF 4541 if ac_fn_c_try_link "$LINENO"; then : 4361 rm -f conftest.$ac_objext conftest$ac_exeext 4362 if { (ac_try="$ac_link" 4363 case "(($ac_try" in 4364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4365 *) ac_try_echo=$ac_try;; 4366 esac 4367 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4368 $as_echo "$ac_try_echo") >&5 4369 (eval "$ac_link") 2>conftest.er1 4370 ac_status=$? 4371 grep -v '^ *+' conftest.er1 >conftest.err 4372 rm -f conftest.er1 4373 cat conftest.err >&5 4374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4375 (exit $ac_status); } && { 4376 test -z "$ac_c_werror_flag" || 4377 test ! -s conftest.err 4378 } && test -s conftest$ac_exeext && { 4379 test "$cross_compiling" = yes || 4380 $as_test_x conftest$ac_exeext 4381 }; then 4542 4382 ac_cv_lib_bind_inet_ntoa=yes 4543 4383 else 4544 ac_cv_lib_bind_inet_ntoa=no 4545 fi 4546 rm -f core conftest.err conftest.$ac_objext \ 4547 conftest$ac_exeext conftest.$ac_ext 4384 $as_echo "$as_me: failed program was:" >&5 4385 sed 's/^/| /' conftest.$ac_ext >&5 4386 4387 ac_cv_lib_bind_inet_ntoa=no 4388 fi 4389 4390 rm -rf conftest.dSYM 4391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4392 conftest$ac_exeext conftest.$ac_ext 4548 4393 LIBS=$ac_check_lib_save_LIBS 4549 4394 fi 4550 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&54395 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5 4551 4396 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 4552 if test "x$ac_cv_lib_bind_inet_ntoa" = x yes; then :4397 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then 4553 4398 LIBS="$LIBS -lbind -lsocket" 4554 4399 fi … … 4588 4433 HP-UX-*.11.*) 4589 4434 # Use updated header definitions where possible 4590 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 4435 cat >>confdefs.h <<\_ACEOF 4436 #define _XOPEN_SOURCE 1 4437 _ACEOF 4591 4438 # Use the XOPEN network library 4592 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 4439 cat >>confdefs.h <<\_ACEOF 4440 #define _XOPEN_SOURCE_EXTENDED 1 4441 _ACEOF 4593 4442 # Use the XOPEN network library 4594 4443 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 4599 4448 SHLIB_SUFFIX=".sl" 4600 4449 fi 4601 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for shl_load in -ldld" >&54450 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 4602 4451 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4603 if ${ac_cv_lib_dld_shl_load+:} false; then :4452 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4604 4453 $as_echo_n "(cached) " >&6 4605 4454 else 4606 4455 ac_check_lib_save_LIBS=$LIBS 4607 4456 LIBS="-ldld $LIBS" 4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4457 cat >conftest.$ac_ext <<_ACEOF 4458 /* confdefs.h. */ 4459 _ACEOF 4460 cat confdefs.h >>conftest.$ac_ext 4461 cat >>conftest.$ac_ext <<_ACEOF 4609 4462 /* end confdefs.h. */ 4610 4463 … … 4624 4477 } 4625 4478 _ACEOF 4626 if ac_fn_c_try_link "$LINENO"; then : 4479 rm -f conftest.$ac_objext conftest$ac_exeext 4480 if { (ac_try="$ac_link" 4481 case "(($ac_try" in 4482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4483 *) ac_try_echo=$ac_try;; 4484 esac 4485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4486 $as_echo "$ac_try_echo") >&5 4487 (eval "$ac_link") 2>conftest.er1 4488 ac_status=$? 4489 grep -v '^ *+' conftest.er1 >conftest.err 4490 rm -f conftest.er1 4491 cat conftest.err >&5 4492 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4493 (exit $ac_status); } && { 4494 test -z "$ac_c_werror_flag" || 4495 test ! -s conftest.err 4496 } && test -s conftest$ac_exeext && { 4497 test "$cross_compiling" = yes || 4498 $as_test_x conftest$ac_exeext 4499 }; then 4627 4500 ac_cv_lib_dld_shl_load=yes 4628 4501 else 4629 ac_cv_lib_dld_shl_load=no 4630 fi 4631 rm -f core conftest.err conftest.$ac_objext \ 4632 conftest$ac_exeext conftest.$ac_ext 4502 $as_echo "$as_me: failed program was:" >&5 4503 sed 's/^/| /' conftest.$ac_ext >&5 4504 4505 ac_cv_lib_dld_shl_load=no 4506 fi 4507 4508 rm -rf conftest.dSYM 4509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4510 conftest$ac_exeext conftest.$ac_ext 4633 4511 LIBS=$ac_check_lib_save_LIBS 4634 4512 fi 4635 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&54513 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 4636 4514 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4637 if test "x$ac_cv_lib_dld_shl_load" = x yes; then :4515 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 4638 4516 tcl_ok=yes 4639 4517 else … … 4675 4553 ;; 4676 4554 *) 4677 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&54555 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 4678 4556 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4679 4557 ;; … … 4688 4566 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 4689 4567 SHLIB_SUFFIX=".sl" 4690 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for shl_load in -ldld" >&54568 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 4691 4569 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4692 if ${ac_cv_lib_dld_shl_load+:} false; then :4570 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4693 4571 $as_echo_n "(cached) " >&6 4694 4572 else 4695 4573 ac_check_lib_save_LIBS=$LIBS 4696 4574 LIBS="-ldld $LIBS" 4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4575 cat >conftest.$ac_ext <<_ACEOF 4576 /* confdefs.h. */ 4577 _ACEOF 4578 cat confdefs.h >>conftest.$ac_ext 4579 cat >>conftest.$ac_ext <<_ACEOF 4698 4580 /* end confdefs.h. */ 4699 4581 … … 4713 4595 } 4714 4596 _ACEOF 4715 if ac_fn_c_try_link "$LINENO"; then : 4597 rm -f conftest.$ac_objext conftest$ac_exeext 4598 if { (ac_try="$ac_link" 4599 case "(($ac_try" in 4600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4601 *) ac_try_echo=$ac_try;; 4602 esac 4603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4604 $as_echo "$ac_try_echo") >&5 4605 (eval "$ac_link") 2>conftest.er1 4606 ac_status=$? 4607 grep -v '^ *+' conftest.er1 >conftest.err 4608 rm -f conftest.er1 4609 cat conftest.err >&5 4610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4611 (exit $ac_status); } && { 4612 test -z "$ac_c_werror_flag" || 4613 test ! -s conftest.err 4614 } && test -s conftest$ac_exeext && { 4615 test "$cross_compiling" = yes || 4616 $as_test_x conftest$ac_exeext 4617 }; then 4716 4618 ac_cv_lib_dld_shl_load=yes 4717 4619 else 4718 ac_cv_lib_dld_shl_load=no 4719 fi 4720 rm -f core conftest.err conftest.$ac_objext \ 4721 conftest$ac_exeext conftest.$ac_ext 4620 $as_echo "$as_me: failed program was:" >&5 4621 sed 's/^/| /' conftest.$ac_ext >&5 4622 4623 ac_cv_lib_dld_shl_load=no 4624 fi 4625 4626 rm -rf conftest.dSYM 4627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4628 conftest$ac_exeext conftest.$ac_ext 4722 4629 LIBS=$ac_check_lib_save_LIBS 4723 4630 fi 4724 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&54631 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 4725 4632 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4726 if test "x$ac_cv_lib_dld_shl_load" = x yes; then :4633 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 4727 4634 tcl_ok=yes 4728 4635 else … … 4803 4710 if test "$do64bit" = "yes" ; then 4804 4711 if test "$GCC" = "yes" ; then 4805 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&54712 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5 4806 4713 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 4807 4714 else … … 4832 4739 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4833 4740 else 4834 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4835 if test "x$ac_cv_header_dld_h" = xyes; then : 4741 if test "${ac_cv_header_dld_h+set}" = set; then 4742 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4743 $as_echo_n "checking for dld.h... " >&6; } 4744 if test "${ac_cv_header_dld_h+set}" = set; then 4745 $as_echo_n "(cached) " >&6 4746 fi 4747 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4748 $as_echo "$ac_cv_header_dld_h" >&6; } 4749 else 4750 # Is the header compilable? 4751 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4752 $as_echo_n "checking dld.h usability... " >&6; } 4753 cat >conftest.$ac_ext <<_ACEOF 4754 /* confdefs.h. */ 4755 _ACEOF 4756 cat confdefs.h >>conftest.$ac_ext 4757 cat >>conftest.$ac_ext <<_ACEOF 4758 /* end confdefs.h. */ 4759 $ac_includes_default 4760 #include <dld.h> 4761 _ACEOF 4762 rm -f conftest.$ac_objext 4763 if { (ac_try="$ac_compile" 4764 case "(($ac_try" in 4765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4766 *) ac_try_echo=$ac_try;; 4767 esac 4768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4769 $as_echo "$ac_try_echo") >&5 4770 (eval "$ac_compile") 2>conftest.er1 4771 ac_status=$? 4772 grep -v '^ *+' conftest.er1 >conftest.err 4773 rm -f conftest.er1 4774 cat conftest.err >&5 4775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4776 (exit $ac_status); } && { 4777 test -z "$ac_c_werror_flag" || 4778 test ! -s conftest.err 4779 } && test -s conftest.$ac_objext; then 4780 ac_header_compiler=yes 4781 else 4782 $as_echo "$as_me: failed program was:" >&5 4783 sed 's/^/| /' conftest.$ac_ext >&5 4784 4785 ac_header_compiler=no 4786 fi 4787 4788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4789 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4790 $as_echo "$ac_header_compiler" >&6; } 4791 4792 # Is the header present? 4793 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4794 $as_echo_n "checking dld.h presence... " >&6; } 4795 cat >conftest.$ac_ext <<_ACEOF 4796 /* confdefs.h. */ 4797 _ACEOF 4798 cat confdefs.h >>conftest.$ac_ext 4799 cat >>conftest.$ac_ext <<_ACEOF 4800 /* end confdefs.h. */ 4801 #include <dld.h> 4802 _ACEOF 4803 if { (ac_try="$ac_cpp conftest.$ac_ext" 4804 case "(($ac_try" in 4805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4806 *) ac_try_echo=$ac_try;; 4807 esac 4808 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4809 $as_echo "$ac_try_echo") >&5 4810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4811 ac_status=$? 4812 grep -v '^ *+' conftest.er1 >conftest.err 4813 rm -f conftest.er1 4814 cat conftest.err >&5 4815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4816 (exit $ac_status); } >/dev/null && { 4817 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4818 test ! -s conftest.err 4819 }; then 4820 ac_header_preproc=yes 4821 else 4822 $as_echo "$as_me: failed program was:" >&5 4823 sed 's/^/| /' conftest.$ac_ext >&5 4824 4825 ac_header_preproc=no 4826 fi 4827 4828 rm -f conftest.err conftest.$ac_ext 4829 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4830 $as_echo "$ac_header_preproc" >&6; } 4831 4832 # So? What about this header? 4833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4834 yes:no: ) 4835 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4836 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4837 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4838 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4839 ac_header_preproc=yes 4840 ;; 4841 no:yes:* ) 4842 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4843 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4844 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4845 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4846 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4847 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4848 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4849 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4850 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4851 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4852 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4853 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4854 ( cat <<\_ASBOX 4855 ## ----------------------------------- ## 4856 ## Report this to rappture@nanohub.org ## 4857 ## ----------------------------------- ## 4858 _ASBOX 4859 ) | sed "s/^/$as_me: WARNING: /" >&2 4860 ;; 4861 esac 4862 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4863 $as_echo_n "checking for dld.h... " >&6; } 4864 if test "${ac_cv_header_dld_h+set}" = set; then 4865 $as_echo_n "(cached) " >&6 4866 else 4867 ac_cv_header_dld_h=$ac_header_preproc 4868 fi 4869 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4870 $as_echo "$ac_cv_header_dld_h" >&6; } 4871 4872 fi 4873 if test "x$ac_cv_header_dld_h" = x""yes; then 4836 4874 4837 4875 SHLIB_LD="ld -shared" … … 4848 4886 fi 4849 4887 if test $do64bit = yes; then 4850 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&54888 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5 4851 4889 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 4852 if ${tcl_cv_cc_m64+:} false; then :4890 if test "${tcl_cv_cc_m64+set}" = set; then 4853 4891 $as_echo_n "(cached) " >&6 4854 4892 else … … 4856 4894 hold_cflags=$CFLAGS 4857 4895 CFLAGS="$CFLAGS -m64" 4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4896 cat >conftest.$ac_ext <<_ACEOF 4897 /* confdefs.h. */ 4898 _ACEOF 4899 cat confdefs.h >>conftest.$ac_ext 4900 cat >>conftest.$ac_ext <<_ACEOF 4859 4901 /* end confdefs.h. */ 4860 4902 … … 4867 4909 } 4868 4910 _ACEOF 4869 if ac_fn_c_try_link "$LINENO"; then : 4911 rm -f conftest.$ac_objext conftest$ac_exeext 4912 if { (ac_try="$ac_link" 4913 case "(($ac_try" in 4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4915 *) ac_try_echo=$ac_try;; 4916 esac 4917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4918 $as_echo "$ac_try_echo") >&5 4919 (eval "$ac_link") 2>conftest.er1 4920 ac_status=$? 4921 grep -v '^ *+' conftest.er1 >conftest.err 4922 rm -f conftest.er1 4923 cat conftest.err >&5 4924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4925 (exit $ac_status); } && { 4926 test -z "$ac_c_werror_flag" || 4927 test ! -s conftest.err 4928 } && test -s conftest$ac_exeext && { 4929 test "$cross_compiling" = yes || 4930 $as_test_x conftest$ac_exeext 4931 }; then 4870 4932 tcl_cv_cc_m64=yes 4871 4933 else 4872 tcl_cv_cc_m64=no 4873 fi 4874 rm -f core conftest.err conftest.$ac_objext \ 4875 conftest$ac_exeext conftest.$ac_ext 4934 $as_echo "$as_me: failed program was:" >&5 4935 sed 's/^/| /' conftest.$ac_ext >&5 4936 4937 tcl_cv_cc_m64=no 4938 fi 4939 4940 rm -rf conftest.dSYM 4941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4942 conftest$ac_exeext conftest.$ac_ext 4876 4943 CFLAGS=$hold_cflags 4877 4944 fi 4878 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&54945 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5 4879 4946 $as_echo "$tcl_cv_cc_m64" >&6; } 4880 4947 if test $tcl_cv_cc_m64 = yes; then … … 4896 4963 4897 4964 # XIM peeking works under XFree86. 4898 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 4965 cat >>confdefs.h <<\_ACEOF 4966 #define PEEK_XCLOSEIM 1 4967 _ACEOF 4899 4968 4900 4969 … … 4913 4982 LD_SEARCH_FLAGS="" 4914 4983 else 4915 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4916 if test "x$ac_cv_header_dld_h" = xyes; then : 4984 if test "${ac_cv_header_dld_h+set}" = set; then 4985 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4986 $as_echo_n "checking for dld.h... " >&6; } 4987 if test "${ac_cv_header_dld_h+set}" = set; then 4988 $as_echo_n "(cached) " >&6 4989 fi 4990 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4991 $as_echo "$ac_cv_header_dld_h" >&6; } 4992 else 4993 # Is the header compilable? 4994 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4995 $as_echo_n "checking dld.h usability... " >&6; } 4996 cat >conftest.$ac_ext <<_ACEOF 4997 /* confdefs.h. */ 4998 _ACEOF 4999 cat confdefs.h >>conftest.$ac_ext 5000 cat >>conftest.$ac_ext <<_ACEOF 5001 /* end confdefs.h. */ 5002 $ac_includes_default 5003 #include <dld.h> 5004 _ACEOF 5005 rm -f conftest.$ac_objext 5006 if { (ac_try="$ac_compile" 5007 case "(($ac_try" in 5008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5009 *) ac_try_echo=$ac_try;; 5010 esac 5011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5012 $as_echo "$ac_try_echo") >&5 5013 (eval "$ac_compile") 2>conftest.er1 5014 ac_status=$? 5015 grep -v '^ *+' conftest.er1 >conftest.err 5016 rm -f conftest.er1 5017 cat conftest.err >&5 5018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5019 (exit $ac_status); } && { 5020 test -z "$ac_c_werror_flag" || 5021 test ! -s conftest.err 5022 } && test -s conftest.$ac_objext; then 5023 ac_header_compiler=yes 5024 else 5025 $as_echo "$as_me: failed program was:" >&5 5026 sed 's/^/| /' conftest.$ac_ext >&5 5027 5028 ac_header_compiler=no 5029 fi 5030 5031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5032 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5033 $as_echo "$ac_header_compiler" >&6; } 5034 5035 # Is the header present? 5036 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 5037 $as_echo_n "checking dld.h presence... " >&6; } 5038 cat >conftest.$ac_ext <<_ACEOF 5039 /* confdefs.h. */ 5040 _ACEOF 5041 cat confdefs.h >>conftest.$ac_ext 5042 cat >>conftest.$ac_ext <<_ACEOF 5043 /* end confdefs.h. */ 5044 #include <dld.h> 5045 _ACEOF 5046 if { (ac_try="$ac_cpp conftest.$ac_ext" 5047 case "(($ac_try" in 5048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5049 *) ac_try_echo=$ac_try;; 5050 esac 5051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5052 $as_echo "$ac_try_echo") >&5 5053 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5054 ac_status=$? 5055 grep -v '^ *+' conftest.er1 >conftest.err 5056 rm -f conftest.er1 5057 cat conftest.err >&5 5058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5059 (exit $ac_status); } >/dev/null && { 5060 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5061 test ! -s conftest.err 5062 }; then 5063 ac_header_preproc=yes 5064 else 5065 $as_echo "$as_me: failed program was:" >&5 5066 sed 's/^/| /' conftest.$ac_ext >&5 5067 5068 ac_header_preproc=no 5069 fi 5070 5071 rm -f conftest.err conftest.$ac_ext 5072 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5073 $as_echo "$ac_header_preproc" >&6; } 5074 5075 # So? What about this header? 5076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5077 yes:no: ) 5078 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 5079 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5080 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 5081 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 5082 ac_header_preproc=yes 5083 ;; 5084 no:yes:* ) 5085 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 5086 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 5087 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 5088 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 5089 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 5090 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 5091 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 5092 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 5093 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 5094 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 5095 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 5096 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 5097 ( cat <<\_ASBOX 5098 ## ----------------------------------- ## 5099 ## Report this to rappture@nanohub.org ## 5100 ## ----------------------------------- ## 5101 _ASBOX 5102 ) | sed "s/^/$as_me: WARNING: /" >&2 5103 ;; 5104 esac 5105 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 5106 $as_echo_n "checking for dld.h... " >&6; } 5107 if test "${ac_cv_header_dld_h+set}" = set; then 5108 $as_echo_n "(cached) " >&6 5109 else 5110 ac_cv_header_dld_h=$ac_header_preproc 5111 fi 5112 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 5113 $as_echo "$ac_cv_header_dld_h" >&6; } 5114 5115 fi 5116 if test "x$ac_cv_header_dld_h" = x""yes; then 4917 5117 4918 5118 SHLIB_LD="ld -shared" … … 4964 5164 NetBSD-*|FreeBSD-[1-2].*) 4965 5165 # Not available on all versions: check for include file. 4966 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 4967 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 5166 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5167 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 5168 $as_echo_n "checking for dlfcn.h... " >&6; } 5169 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5170 $as_echo_n "(cached) " >&6 5171 fi 5172 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 5173 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 5174 else 5175 # Is the header compilable? 5176 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 5177 $as_echo_n "checking dlfcn.h usability... " >&6; } 5178 cat >conftest.$ac_ext <<_ACEOF 5179 /* confdefs.h. */ 5180 _ACEOF 5181 cat confdefs.h >>conftest.$ac_ext 5182 cat >>conftest.$ac_ext <<_ACEOF 5183 /* end confdefs.h. */ 5184 $ac_includes_default 5185 #include <dlfcn.h> 5186 _ACEOF 5187 rm -f conftest.$ac_objext 5188 if { (ac_try="$ac_compile" 5189 case "(($ac_try" in 5190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5191 *) ac_try_echo=$ac_try;; 5192 esac 5193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5194 $as_echo "$ac_try_echo") >&5 5195 (eval "$ac_compile") 2>conftest.er1 5196 ac_status=$? 5197 grep -v '^ *+' conftest.er1 >conftest.err 5198 rm -f conftest.er1 5199 cat conftest.err >&5 5200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5201 (exit $ac_status); } && { 5202 test -z "$ac_c_werror_flag" || 5203 test ! -s conftest.err 5204 } && test -s conftest.$ac_objext; then 5205 ac_header_compiler=yes 5206 else 5207 $as_echo "$as_me: failed program was:" >&5 5208 sed 's/^/| /' conftest.$ac_ext >&5 5209 5210 ac_header_compiler=no 5211 fi 5212 5213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5214 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5215 $as_echo "$ac_header_compiler" >&6; } 5216 5217 # Is the header present? 5218 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 5219 $as_echo_n "checking dlfcn.h presence... " >&6; } 5220 cat >conftest.$ac_ext <<_ACEOF 5221 /* confdefs.h. */ 5222 _ACEOF 5223 cat confdefs.h >>conftest.$ac_ext 5224 cat >>conftest.$ac_ext <<_ACEOF 5225 /* end confdefs.h. */ 5226 #include <dlfcn.h> 5227 _ACEOF 5228 if { (ac_try="$ac_cpp conftest.$ac_ext" 5229 case "(($ac_try" in 5230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5231 *) ac_try_echo=$ac_try;; 5232 esac 5233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5234 $as_echo "$ac_try_echo") >&5 5235 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5236 ac_status=$? 5237 grep -v '^ *+' conftest.er1 >conftest.err 5238 rm -f conftest.er1 5239 cat conftest.err >&5 5240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5241 (exit $ac_status); } >/dev/null && { 5242 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5243 test ! -s conftest.err 5244 }; then 5245 ac_header_preproc=yes 5246 else 5247 $as_echo "$as_me: failed program was:" >&5 5248 sed 's/^/| /' conftest.$ac_ext >&5 5249 5250 ac_header_preproc=no 5251 fi 5252 5253 rm -f conftest.err conftest.$ac_ext 5254 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5255 $as_echo "$ac_header_preproc" >&6; } 5256 5257 # So? What about this header? 5258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5259 yes:no: ) 5260 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 5261 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5262 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 5263 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 5264 ac_header_preproc=yes 5265 ;; 5266 no:yes:* ) 5267 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 5268 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 5269 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 5270 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 5271 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 5272 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 5273 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 5274 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 5275 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 5276 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 5277 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 5278 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 5279 ( cat <<\_ASBOX 5280 ## ----------------------------------- ## 5281 ## Report this to rappture@nanohub.org ## 5282 ## ----------------------------------- ## 5283 _ASBOX 5284 ) | sed "s/^/$as_me: WARNING: /" >&2 5285 ;; 5286 esac 5287 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 5288 $as_echo_n "checking for dlfcn.h... " >&6; } 5289 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5290 $as_echo_n "(cached) " >&6 5291 else 5292 ac_cv_header_dlfcn_h=$ac_header_preproc 5293 fi 5294 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 5295 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 5296 5297 fi 5298 if test "x$ac_cv_header_dlfcn_h" = x""yes; then 4968 5299 4969 5300 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 4976 5307 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4977 5308 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 4978 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ELF" >&55309 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 4979 5310 $as_echo_n "checking for ELF... " >&6; } 4980 if ${tcl_cv_ld_elf+:} false; then :5311 if test "${tcl_cv_ld_elf+set}" = set; then 4981 5312 $as_echo_n "(cached) " >&6 4982 5313 else 4983 5314 4984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5315 cat >conftest.$ac_ext <<_ACEOF 5316 /* confdefs.h. */ 5317 _ACEOF 5318 cat confdefs.h >>conftest.$ac_ext 5319 cat >>conftest.$ac_ext <<_ACEOF 4985 5320 /* end confdefs.h. */ 4986 5321 … … 4991 5326 _ACEOF 4992 5327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4993 $EGREP "yes" >/dev/null 2>&1; then :5328 $EGREP "yes" >/dev/null 2>&1; then 4994 5329 tcl_cv_ld_elf=yes 4995 5330 else … … 4999 5334 5000 5335 fi 5001 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&55336 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 5002 5337 $as_echo "$tcl_cv_ld_elf" >&6; } 5003 5338 if test $tcl_cv_ld_elf = yes; then … … 5058 5393 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5059 5394 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 5060 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ELF" >&55395 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 5061 5396 $as_echo_n "checking for ELF... " >&6; } 5062 if ${tcl_cv_ld_elf+:} false; then :5397 if test "${tcl_cv_ld_elf+set}" = set; then 5063 5398 $as_echo_n "(cached) " >&6 5064 5399 else 5065 5400 5066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5401 cat >conftest.$ac_ext <<_ACEOF 5402 /* confdefs.h. */ 5403 _ACEOF 5404 cat confdefs.h >>conftest.$ac_ext 5405 cat >>conftest.$ac_ext <<_ACEOF 5067 5406 /* end confdefs.h. */ 5068 5407 … … 5073 5412 _ACEOF 5074 5413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5075 $EGREP "yes" >/dev/null 2>&1; then :5414 $EGREP "yes" >/dev/null 2>&1; then 5076 5415 tcl_cv_ld_elf=yes 5077 5416 else … … 5081 5420 5082 5421 fi 5083 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&55422 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 5084 5423 $as_echo "$tcl_cv_ld_elf" >&6; } 5085 5424 if test $tcl_cv_ld_elf = yes; then … … 5136 5475 case `arch` in 5137 5476 ppc) 5138 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&55477 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5 5139 5478 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 5140 if ${tcl_cv_cc_arch_ppc64+:} false; then :5479 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then 5141 5480 $as_echo_n "(cached) " >&6 5142 5481 else … … 5144 5483 hold_cflags=$CFLAGS 5145 5484 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5485 cat >conftest.$ac_ext <<_ACEOF 5486 /* confdefs.h. */ 5487 _ACEOF 5488 cat confdefs.h >>conftest.$ac_ext 5489 cat >>conftest.$ac_ext <<_ACEOF 5147 5490 /* end confdefs.h. */ 5148 5491 … … 5155 5498 } 5156 5499 _ACEOF 5157 if ac_fn_c_try_link "$LINENO"; then : 5500 rm -f conftest.$ac_objext conftest$ac_exeext 5501 if { (ac_try="$ac_link" 5502 case "(($ac_try" in 5503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5504 *) ac_try_echo=$ac_try;; 5505 esac 5506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5507 $as_echo "$ac_try_echo") >&5 5508 (eval "$ac_link") 2>conftest.er1 5509 ac_status=$? 5510 grep -v '^ *+' conftest.er1 >conftest.err 5511 rm -f conftest.er1 5512 cat conftest.err >&5 5513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5514 (exit $ac_status); } && { 5515 test -z "$ac_c_werror_flag" || 5516 test ! -s conftest.err 5517 } && test -s conftest$ac_exeext && { 5518 test "$cross_compiling" = yes || 5519 $as_test_x conftest$ac_exeext 5520 }; then 5158 5521 tcl_cv_cc_arch_ppc64=yes 5159 5522 else 5160 tcl_cv_cc_arch_ppc64=no 5161 fi 5162 rm -f core conftest.err conftest.$ac_objext \ 5163 conftest$ac_exeext conftest.$ac_ext 5523 $as_echo "$as_me: failed program was:" >&5 5524 sed 's/^/| /' conftest.$ac_ext >&5 5525 5526 tcl_cv_cc_arch_ppc64=no 5527 fi 5528 5529 rm -rf conftest.dSYM 5530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5531 conftest$ac_exeext conftest.$ac_ext 5164 5532 CFLAGS=$hold_cflags 5165 5533 fi 5166 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&55534 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5 5167 5535 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 5168 5536 if test $tcl_cv_cc_arch_ppc64 = yes; then … … 5171 5539 fi;; 5172 5540 i386) 5173 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&55541 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5 5174 5542 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 5175 if ${tcl_cv_cc_arch_x86_64+:} false; then :5543 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then 5176 5544 $as_echo_n "(cached) " >&6 5177 5545 else … … 5179 5547 hold_cflags=$CFLAGS 5180 5548 CFLAGS="$CFLAGS -arch x86_64" 5181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5549 cat >conftest.$ac_ext <<_ACEOF 5550 /* confdefs.h. */ 5551 _ACEOF 5552 cat confdefs.h >>conftest.$ac_ext 5553 cat >>conftest.$ac_ext <<_ACEOF 5182 5554 /* end confdefs.h. */ 5183 5555 … … 5190 5562 } 5191 5563 _ACEOF 5192 if ac_fn_c_try_link "$LINENO"; then : 5564 rm -f conftest.$ac_objext conftest$ac_exeext 5565 if { (ac_try="$ac_link" 5566 case "(($ac_try" in 5567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5568 *) ac_try_echo=$ac_try;; 5569 esac 5570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5571 $as_echo "$ac_try_echo") >&5 5572 (eval "$ac_link") 2>conftest.er1 5573 ac_status=$? 5574 grep -v '^ *+' conftest.er1 >conftest.err 5575 rm -f conftest.er1 5576 cat conftest.err >&5 5577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5578 (exit $ac_status); } && { 5579 test -z "$ac_c_werror_flag" || 5580 test ! -s conftest.err 5581 } && test -s conftest$ac_exeext && { 5582 test "$cross_compiling" = yes || 5583 $as_test_x conftest$ac_exeext 5584 }; then 5193 5585 tcl_cv_cc_arch_x86_64=yes 5194 5586 else 5195 tcl_cv_cc_arch_x86_64=no 5196 fi 5197 rm -f core conftest.err conftest.$ac_objext \ 5198 conftest$ac_exeext conftest.$ac_ext 5587 $as_echo "$as_me: failed program was:" >&5 5588 sed 's/^/| /' conftest.$ac_ext >&5 5589 5590 tcl_cv_cc_arch_x86_64=no 5591 fi 5592 5593 rm -rf conftest.dSYM 5594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5595 conftest$ac_exeext conftest.$ac_ext 5199 5596 CFLAGS=$hold_cflags 5200 5597 fi 5201 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&55598 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5 5202 5599 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 5203 5600 if test $tcl_cv_cc_arch_x86_64 = yes; then … … 5206 5603 fi;; 5207 5604 *) 5208 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&55605 { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 5209 5606 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 5210 5607 esac … … 5216 5613 fi 5217 5614 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 5218 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&55615 { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5 5219 5616 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 5220 if ${tcl_cv_ld_single_module+:} false; then :5617 if test "${tcl_cv_ld_single_module+set}" = set; then 5221 5618 $as_echo_n "(cached) " >&6 5222 5619 else … … 5224 5621 hold_ldflags=$LDFLAGS 5225 5622 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5623 cat >conftest.$ac_ext <<_ACEOF 5624 /* confdefs.h. */ 5625 _ACEOF 5626 cat confdefs.h >>conftest.$ac_ext 5627 cat >>conftest.$ac_ext <<_ACEOF 5227 5628 /* end confdefs.h. */ 5228 5629 … … 5235 5636 } 5236 5637 _ACEOF 5237 if ac_fn_c_try_link "$LINENO"; then : 5638 rm -f conftest.$ac_objext conftest$ac_exeext 5639 if { (ac_try="$ac_link" 5640 case "(($ac_try" in 5641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5642 *) ac_try_echo=$ac_try;; 5643 esac 5644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5645 $as_echo "$ac_try_echo") >&5 5646 (eval "$ac_link") 2>conftest.er1 5647 ac_status=$? 5648 grep -v '^ *+' conftest.er1 >conftest.err 5649 rm -f conftest.er1 5650 cat conftest.err >&5 5651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5652 (exit $ac_status); } && { 5653 test -z "$ac_c_werror_flag" || 5654 test ! -s conftest.err 5655 } && test -s conftest$ac_exeext && { 5656 test "$cross_compiling" = yes || 5657 $as_test_x conftest$ac_exeext 5658 }; then 5238 5659 tcl_cv_ld_single_module=yes 5239 5660 else 5240 tcl_cv_ld_single_module=no 5241 fi 5242 rm -f core conftest.err conftest.$ac_objext \ 5243 conftest$ac_exeext conftest.$ac_ext 5661 $as_echo "$as_me: failed program was:" >&5 5662 sed 's/^/| /' conftest.$ac_ext >&5 5663 5664 tcl_cv_ld_single_module=no 5665 fi 5666 5667 rm -rf conftest.dSYM 5668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5669 conftest$ac_exeext conftest.$ac_ext 5244 5670 LDFLAGS=$hold_ldflags 5245 5671 fi 5246 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&55672 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5 5247 5673 $as_echo "$tcl_cv_ld_single_module" >&6; } 5248 5674 if test $tcl_cv_ld_single_module = yes; then … … 5258 5684 LDFLAGS="$LDFLAGS -prebind" 5259 5685 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 5260 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&55686 { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5 5261 5687 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 5262 if ${tcl_cv_ld_search_paths_first+:} false; then :5688 if test "${tcl_cv_ld_search_paths_first+set}" = set; then 5263 5689 $as_echo_n "(cached) " >&6 5264 5690 else … … 5266 5692 hold_ldflags=$LDFLAGS 5267 5693 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5694 cat >conftest.$ac_ext <<_ACEOF 5695 /* confdefs.h. */ 5696 _ACEOF 5697 cat confdefs.h >>conftest.$ac_ext 5698 cat >>conftest.$ac_ext <<_ACEOF 5269 5699 /* end confdefs.h. */ 5270 5700 … … 5277 5707 } 5278 5708 _ACEOF 5279 if ac_fn_c_try_link "$LINENO"; then : 5709 rm -f conftest.$ac_objext conftest$ac_exeext 5710 if { (ac_try="$ac_link" 5711 case "(($ac_try" in 5712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5713 *) ac_try_echo=$ac_try;; 5714 esac 5715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5716 $as_echo "$ac_try_echo") >&5 5717 (eval "$ac_link") 2>conftest.er1 5718 ac_status=$? 5719 grep -v '^ *+' conftest.er1 >conftest.err 5720 rm -f conftest.er1 5721 cat conftest.err >&5 5722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5723 (exit $ac_status); } && { 5724 test -z "$ac_c_werror_flag" || 5725 test ! -s conftest.err 5726 } && test -s conftest$ac_exeext && { 5727 test "$cross_compiling" = yes || 5728 $as_test_x conftest$ac_exeext 5729 }; then 5280 5730 tcl_cv_ld_search_paths_first=yes 5281 5731 else 5282 tcl_cv_ld_search_paths_first=no 5283 fi 5284 rm -f core conftest.err conftest.$ac_objext \ 5285 conftest$ac_exeext conftest.$ac_ext 5732 $as_echo "$as_me: failed program was:" >&5 5733 sed 's/^/| /' conftest.$ac_ext >&5 5734 5735 tcl_cv_ld_search_paths_first=no 5736 fi 5737 5738 rm -rf conftest.dSYM 5739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5740 conftest$ac_exeext conftest.$ac_ext 5286 5741 LDFLAGS=$hold_ldflags 5287 5742 fi 5288 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&55743 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5 5289 5744 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 5290 5745 if test $tcl_cv_ld_search_paths_first = yes; then … … 5296 5751 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 5297 5752 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 5298 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether to use CoreFoundation" >&55753 { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5 5299 5754 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 5300 5755 # Check whether --enable-corefoundation was given. 5301 if test "${enable_corefoundation+set}" = set; then :5756 if test "${enable_corefoundation+set}" = set; then 5302 5757 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 5303 5758 else … … 5305 5760 fi 5306 5761 5307 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_corefoundation" >&55762 { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5 5308 5763 $as_echo "$tcl_corefoundation" >&6; } 5309 5764 if test $tcl_corefoundation = yes; then 5310 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for CoreFoundation.framework" >&55765 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5 5311 5766 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 5312 if ${tcl_cv_lib_corefoundation+:} false; then :5767 if test "${tcl_cv_lib_corefoundation+set}" = set; then 5313 5768 $as_echo_n "(cached) " >&6 5314 5769 else … … 5322 5777 done; fi 5323 5778 LIBS="$LIBS -framework CoreFoundation" 5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5779 cat >conftest.$ac_ext <<_ACEOF 5780 /* confdefs.h. */ 5781 _ACEOF 5782 cat confdefs.h >>conftest.$ac_ext 5783 cat >>conftest.$ac_ext <<_ACEOF 5325 5784 /* end confdefs.h. */ 5326 5785 #include <CoreFoundation/CoreFoundation.h> … … 5333 5792 } 5334 5793 _ACEOF 5335 if ac_fn_c_try_link "$LINENO"; then : 5794 rm -f conftest.$ac_objext conftest$ac_exeext 5795 if { (ac_try="$ac_link" 5796 case "(($ac_try" in 5797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5798 *) ac_try_echo=$ac_try;; 5799 esac 5800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5801 $as_echo "$ac_try_echo") >&5 5802 (eval "$ac_link") 2>conftest.er1 5803 ac_status=$? 5804 grep -v '^ *+' conftest.er1 >conftest.err 5805 rm -f conftest.er1 5806 cat conftest.err >&5 5807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5808 (exit $ac_status); } && { 5809 test -z "$ac_c_werror_flag" || 5810 test ! -s conftest.err 5811 } && test -s conftest$ac_exeext && { 5812 test "$cross_compiling" = yes || 5813 $as_test_x conftest$ac_exeext 5814 }; then 5336 5815 tcl_cv_lib_corefoundation=yes 5337 5816 else 5338 tcl_cv_lib_corefoundation=no 5339 fi 5340 rm -f core conftest.err conftest.$ac_objext \ 5341 conftest$ac_exeext conftest.$ac_ext 5817 $as_echo "$as_me: failed program was:" >&5 5818 sed 's/^/| /' conftest.$ac_ext >&5 5819 5820 tcl_cv_lib_corefoundation=no 5821 fi 5822 5823 rm -rf conftest.dSYM 5824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5825 conftest$ac_exeext conftest.$ac_ext 5342 5826 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 5343 5827 eval $v'="$hold_'$v'"' 5344 5828 done; fi; LIBS=$hold_libs 5345 5829 fi 5346 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&55830 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5 5347 5831 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 5348 5832 if test $tcl_cv_lib_corefoundation = yes; then 5349 5833 LIBS="$LIBS -framework CoreFoundation" 5350 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 5834 cat >>confdefs.h <<\_ACEOF 5835 #define HAVE_COREFOUNDATION 1 5836 _ACEOF 5351 5837 5352 5838 else … … 5354 5840 fi 5355 5841 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 5356 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&55842 { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5 5357 5843 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 5358 if ${tcl_cv_lib_corefoundation_64+:} false; then :5844 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then 5359 5845 $as_echo_n "(cached) " >&6 5360 5846 else … … 5363 5849 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 5364 5850 done 5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5851 cat >conftest.$ac_ext <<_ACEOF 5852 /* confdefs.h. */ 5853 _ACEOF 5854 cat confdefs.h >>conftest.$ac_ext 5855 cat >>conftest.$ac_ext <<_ACEOF 5366 5856 /* end confdefs.h. */ 5367 5857 #include <CoreFoundation/CoreFoundation.h> … … 5374 5864 } 5375 5865 _ACEOF 5376 if ac_fn_c_try_link "$LINENO"; then : 5866 rm -f conftest.$ac_objext conftest$ac_exeext 5867 if { (ac_try="$ac_link" 5868 case "(($ac_try" in 5869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5870 *) ac_try_echo=$ac_try;; 5871 esac 5872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5873 $as_echo "$ac_try_echo") >&5 5874 (eval "$ac_link") 2>conftest.er1 5875 ac_status=$? 5876 grep -v '^ *+' conftest.er1 >conftest.err 5877 rm -f conftest.er1 5878 cat conftest.err >&5 5879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5880 (exit $ac_status); } && { 5881 test -z "$ac_c_werror_flag" || 5882 test ! -s conftest.err 5883 } && test -s conftest$ac_exeext && { 5884 test "$cross_compiling" = yes || 5885 $as_test_x conftest$ac_exeext 5886 }; then 5377 5887 tcl_cv_lib_corefoundation_64=yes 5378 5888 else 5379 tcl_cv_lib_corefoundation_64=no 5380 fi 5381 rm -f core conftest.err conftest.$ac_objext \ 5382 conftest$ac_exeext conftest.$ac_ext 5889 $as_echo "$as_me: failed program was:" >&5 5890 sed 's/^/| /' conftest.$ac_ext >&5 5891 5892 tcl_cv_lib_corefoundation_64=no 5893 fi 5894 5895 rm -rf conftest.dSYM 5896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5897 conftest$ac_exeext conftest.$ac_ext 5383 5898 for v in CFLAGS CPPFLAGS LDFLAGS; do 5384 5899 eval $v'="$hold_'$v'"' 5385 5900 done 5386 5901 fi 5387 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&55902 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5 5388 5903 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 5389 5904 if test $tcl_cv_lib_corefoundation_64 = no; then 5390 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 5905 cat >>confdefs.h <<\_ACEOF 5906 #define NO_COREFOUNDATION_64 1 5907 _ACEOF 5391 5908 5392 5909 fi 5393 5910 fi 5394 5911 fi 5395 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 5912 cat >>confdefs.h <<\_ACEOF 5913 #define MAC_OSX_TCL 1 5914 _ACEOF 5396 5915 5397 5916 ;; … … 5408 5927 OS/390-*) 5409 5928 CFLAGS_OPTIMIZE="" # Optimizer is buggy 5410 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 5929 cat >>confdefs.h <<\_ACEOF 5930 #define _OE_SOCKETS 1 5931 _ACEOF 5411 5932 # needed in sys/socket.h 5412 5933 ;; … … 5549 6070 # won't define thread-safe library routines. 5550 6071 5551 $as_echo "#define _REENTRANT 1" >>confdefs.h 5552 5553 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 6072 cat >>confdefs.h <<\_ACEOF 6073 #define _REENTRANT 1 6074 _ACEOF 6075 6076 cat >>confdefs.h <<\_ACEOF 6077 #define _POSIX_PTHREAD_SEMANTICS 1 6078 _ACEOF 5554 6079 5555 6080 … … 5577 6102 # won't define thread-safe library routines. 5578 6103 5579 $as_echo "#define _REENTRANT 1" >>confdefs.h 5580 5581 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 6104 cat >>confdefs.h <<\_ACEOF 6105 #define _REENTRANT 1 6106 _ACEOF 6107 6108 cat >>confdefs.h <<\_ACEOF 6109 #define _POSIX_PTHREAD_SEMANTICS 1 6110 _ACEOF 5582 6111 5583 6112 … … 5590 6119 if test "$GCC" = "yes" ; then 5591 6120 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 5592 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&56121 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 5593 6122 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 5594 6123 else … … 5612 6141 elif test "$arch" = "amd64 i386" ; then 5613 6142 if test "$GCC" = "yes" ; then 5614 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&56143 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 5615 6144 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 5616 6145 else … … 5620 6149 fi 5621 6150 else 5622 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&56151 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5 5623 6152 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 5624 6153 fi … … 5679 6208 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 5680 6209 # that don't grok the -Bexport option. Test that it does. 5681 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&56210 { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5 5682 6211 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 5683 if ${tcl_cv_ld_Bexport+:} false; then :6212 if test "${tcl_cv_ld_Bexport+set}" = set; then 5684 6213 $as_echo_n "(cached) " >&6 5685 6214 else … … 5687 6216 hold_ldflags=$LDFLAGS 5688 6217 LDFLAGS="$LDFLAGS -Wl,-Bexport" 5689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6218 cat >conftest.$ac_ext <<_ACEOF 6219 /* confdefs.h. */ 6220 _ACEOF 6221 cat confdefs.h >>conftest.$ac_ext 6222 cat >>conftest.$ac_ext <<_ACEOF 5690 6223 /* end confdefs.h. */ 5691 6224 … … 5698 6231 } 5699 6232 _ACEOF 5700 if ac_fn_c_try_link "$LINENO"; then : 6233 rm -f conftest.$ac_objext conftest$ac_exeext 6234 if { (ac_try="$ac_link" 6235 case "(($ac_try" in 6236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6237 *) ac_try_echo=$ac_try;; 6238 esac 6239 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6240 $as_echo "$ac_try_echo") >&5 6241 (eval "$ac_link") 2>conftest.er1 6242 ac_status=$? 6243 grep -v '^ *+' conftest.er1 >conftest.err 6244 rm -f conftest.er1 6245 cat conftest.err >&5 6246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6247 (exit $ac_status); } && { 6248 test -z "$ac_c_werror_flag" || 6249 test ! -s conftest.err 6250 } && test -s conftest$ac_exeext && { 6251 test "$cross_compiling" = yes || 6252 $as_test_x conftest$ac_exeext 6253 }; then 5701 6254 tcl_cv_ld_Bexport=yes 5702 6255 else 5703 tcl_cv_ld_Bexport=no 5704 fi 5705 rm -f core conftest.err conftest.$ac_objext \ 5706 conftest$ac_exeext conftest.$ac_ext 6256 $as_echo "$as_me: failed program was:" >&5 6257 sed 's/^/| /' conftest.$ac_ext >&5 6258 6259 tcl_cv_ld_Bexport=no 6260 fi 6261 6262 rm -rf conftest.dSYM 6263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6264 conftest$ac_exeext conftest.$ac_ext 5707 6265 LDFLAGS=$hold_ldflags 5708 6266 fi 5709 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&56267 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5 5710 6268 $as_echo "$tcl_cv_ld_Bexport" >&6; } 5711 6269 if test $tcl_cv_ld_Bexport = yes; then … … 5718 6276 5719 6277 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 5720 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&56278 { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 5721 6279 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 5722 6280 fi … … 5745 6303 5746 6304 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 5747 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking sys/exec.h" >&56305 { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5 5748 6306 $as_echo_n "checking sys/exec.h... " >&6; } 5749 if ${tcl_cv_sysexec_h+:} false; then :6307 if test "${tcl_cv_sysexec_h+set}" = set; then 5750 6308 $as_echo_n "(cached) " >&6 5751 6309 else 5752 6310 5753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6311 cat >conftest.$ac_ext <<_ACEOF 6312 /* confdefs.h. */ 6313 _ACEOF 6314 cat confdefs.h >>conftest.$ac_ext 6315 cat >>conftest.$ac_ext <<_ACEOF 5754 6316 /* end confdefs.h. */ 5755 6317 #include <sys/exec.h> … … 5773 6335 } 5774 6336 _ACEOF 5775 if ac_fn_c_try_compile "$LINENO"; then : 6337 rm -f conftest.$ac_objext 6338 if { (ac_try="$ac_compile" 6339 case "(($ac_try" in 6340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6341 *) ac_try_echo=$ac_try;; 6342 esac 6343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6344 $as_echo "$ac_try_echo") >&5 6345 (eval "$ac_compile") 2>conftest.er1 6346 ac_status=$? 6347 grep -v '^ *+' conftest.er1 >conftest.err 6348 rm -f conftest.er1 6349 cat conftest.err >&5 6350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6351 (exit $ac_status); } && { 6352 test -z "$ac_c_werror_flag" || 6353 test ! -s conftest.err 6354 } && test -s conftest.$ac_objext; then 5776 6355 tcl_cv_sysexec_h=usable 5777 6356 else 5778 tcl_cv_sysexec_h=unusable 5779 fi 6357 $as_echo "$as_me: failed program was:" >&5 6358 sed 's/^/| /' conftest.$ac_ext >&5 6359 6360 tcl_cv_sysexec_h=unusable 6361 fi 6362 5780 6363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5781 6364 fi 5782 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&56365 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5 5783 6366 $as_echo "$tcl_cv_sysexec_h" >&6; } 5784 6367 if test $tcl_cv_sysexec_h = usable; then 5785 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 6368 cat >>confdefs.h <<\_ACEOF 6369 #define USE_SYS_EXEC_H 1 6370 _ACEOF 5786 6371 5787 6372 else 5788 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking a.out.h" >&56373 { $as_echo "$as_me:$LINENO: checking a.out.h" >&5 5789 6374 $as_echo_n "checking a.out.h... " >&6; } 5790 if ${tcl_cv_aout_h+:} false; then :6375 if test "${tcl_cv_aout_h+set}" = set; then 5791 6376 $as_echo_n "(cached) " >&6 5792 6377 else 5793 6378 5794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6379 cat >conftest.$ac_ext <<_ACEOF 6380 /* confdefs.h. */ 6381 _ACEOF 6382 cat confdefs.h >>conftest.$ac_ext 6383 cat >>conftest.$ac_ext <<_ACEOF 5795 6384 /* end confdefs.h. */ 5796 6385 #include <a.out.h> … … 5814 6403 } 5815 6404 _ACEOF 5816 if ac_fn_c_try_compile "$LINENO"; then : 6405 rm -f conftest.$ac_objext 6406 if { (ac_try="$ac_compile" 6407 case "(($ac_try" in 6408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6409 *) ac_try_echo=$ac_try;; 6410 esac 6411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6412 $as_echo "$ac_try_echo") >&5 6413 (eval "$ac_compile") 2>conftest.er1 6414 ac_status=$? 6415 grep -v '^ *+' conftest.er1 >conftest.err 6416 rm -f conftest.er1 6417 cat conftest.err >&5 6418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6419 (exit $ac_status); } && { 6420 test -z "$ac_c_werror_flag" || 6421 test ! -s conftest.err 6422 } && test -s conftest.$ac_objext; then 5817 6423 tcl_cv_aout_h=usable 5818 6424 else 5819 tcl_cv_aout_h=unusable 5820 fi 6425 $as_echo "$as_me: failed program was:" >&5 6426 sed 's/^/| /' conftest.$ac_ext >&5 6427 6428 tcl_cv_aout_h=unusable 6429 fi 6430 5821 6431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5822 6432 fi 5823 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&56433 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5 5824 6434 $as_echo "$tcl_cv_aout_h" >&6; } 5825 6435 if test $tcl_cv_aout_h = usable; then 5826 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 6436 cat >>confdefs.h <<\_ACEOF 6437 #define USE_A_OUT_H 1 6438 _ACEOF 5827 6439 5828 6440 else 5829 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking sys/exec_aout.h" >&56441 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 5830 6442 $as_echo_n "checking sys/exec_aout.h... " >&6; } 5831 if ${tcl_cv_sysexecaout_h+:} false; then :6443 if test "${tcl_cv_sysexecaout_h+set}" = set; then 5832 6444 $as_echo_n "(cached) " >&6 5833 6445 else 5834 6446 5835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6447 cat >conftest.$ac_ext <<_ACEOF 6448 /* confdefs.h. */ 6449 _ACEOF 6450 cat confdefs.h >>conftest.$ac_ext 6451 cat >>conftest.$ac_ext <<_ACEOF 5836 6452 /* end confdefs.h. */ 5837 6453 #include <sys/exec_aout.h> … … 5855 6471 } 5856 6472 _ACEOF 5857 if ac_fn_c_try_compile "$LINENO"; then : 6473 rm -f conftest.$ac_objext 6474 if { (ac_try="$ac_compile" 6475 case "(($ac_try" in 6476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6477 *) ac_try_echo=$ac_try;; 6478 esac 6479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6480 $as_echo "$ac_try_echo") >&5 6481 (eval "$ac_compile") 2>conftest.er1 6482 ac_status=$? 6483 grep -v '^ *+' conftest.er1 >conftest.err 6484 rm -f conftest.er1 6485 cat conftest.err >&5 6486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6487 (exit $ac_status); } && { 6488 test -z "$ac_c_werror_flag" || 6489 test ! -s conftest.err 6490 } && test -s conftest.$ac_objext; then 5858 6491 tcl_cv_sysexecaout_h=usable 5859 6492 else 5860 tcl_cv_sysexecaout_h=unusable 5861 fi 6493 $as_echo "$as_me: failed program was:" >&5 6494 sed 's/^/| /' conftest.$ac_ext >&5 6495 6496 tcl_cv_sysexecaout_h=unusable 6497 fi 6498 5862 6499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5863 6500 fi 5864 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&56501 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5 5865 6502 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 5866 6503 if test $tcl_cv_sysexecaout_h = usable; then 5867 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 6504 cat >>confdefs.h <<\_ACEOF 6505 #define USE_SYS_EXEC_AOUT_H 1 6506 _ACEOF 5868 6507 5869 6508 else … … 5877 6516 5878 6517 # Check whether --enable-load was given. 5879 if test "${enable_load+set}" = set; then :6518 if test "${enable_load+set}" = set; then 5880 6519 enableval=$enable_load; tcl_ok=$enableval 5881 6520 else … … 6000 6639 6001 6640 6002 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for X" >&56641 { $as_echo "$as_me:$LINENO: checking for X" >&5 6003 6642 $as_echo_n "checking for X... " >&6; } 6004 6643 6005 6644 6006 6645 # Check whether --with-x was given. 6007 if test "${with_x+set}" = set; then :6646 if test "${with_x+set}" = set; then 6008 6647 withval=$with_x; 6009 6648 fi … … 6015 6654 else 6016 6655 case $x_includes,$x_libraries in #( 6017 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 6018 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 6656 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5 6657 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;} 6658 { (exit 1); exit 1; }; };; #( 6659 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 6019 6660 $as_echo_n "(cached) " >&6 6020 6661 else … … 6033 6674 _ACEOF 6034 6675 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 6035 # GNU make sometimes prints "make[1]: Entering 6676 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 6036 6677 for ac_var in incroot usrlibdir libdir; do 6037 6678 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" … … 6064 6705 ac_x_header_dirs=' 6065 6706 /usr/X11/include 6066 /usr/X11R7/include6067 6707 /usr/X11R6/include 6068 6708 /usr/X11R5/include … … 6070 6710 6071 6711 /usr/include/X11 6072 /usr/include/X11R76073 6712 /usr/include/X11R6 6074 6713 /usr/include/X11R5 … … 6076 6715 6077 6716 /usr/local/X11/include 6078 /usr/local/X11R7/include6079 6717 /usr/local/X11R6/include 6080 6718 /usr/local/X11R5/include … … 6082 6720 6083 6721 /usr/local/include/X11 6084 /usr/local/include/X11R76085 6722 /usr/local/include/X11R6 6086 6723 /usr/local/include/X11R5 … <