Changeset 2618
- Timestamp:
- Oct 13, 2011 12:58:09 PM (11 years ago)
- Location:
- trunk/packages/vizservers
- Files:
-
- 13 added
- 1 deleted
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/aclocal.m4
r1115 r2618 1 builtin(include,./tcl.m4) 1 builtin(include,./cf/tcl.m4) 2 builtin(include,./cf/rpLangPython.m4) -
trunk/packages/vizservers/configure
r2568 r2618 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 3for vizservers 0.1.3 # Generated by GNU Autoconf 2.68 for vizservers 0.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # 7 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 11 # 12 # 9 13 # This configure script is free software; the Free Software Foundation 10 14 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. 13 ## -------------------- -##15 ## -------------------- ## 16 ## M4sh Initialization. ## 17 ## -------------------- ## 14 18 15 19 # Be more Bourne compatible 16 20 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 22 emulate sh 19 23 NULLCMD=: … … 23 27 setopt NO_GLOB_SUBST 24 28 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 27 34 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 35 fi 36 41 37 42 38 as_nl=' … … 47 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 52 as_echo='printf %s\n' 51 53 as_echo_n='printf %s' … … 58 60 as_echo_n_body='eval 59 61 arg=$1; 60 case $arg in 62 case $arg in #( 61 63 *"$as_nl"*) 62 64 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 81 83 fi 82 84 83 # Support unset when possible.84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then85 as_unset=unset86 else87 as_unset=false88 fi89 90 85 91 86 # IFS … … 97 92 98 93 # Find who we are. Look in the path if we contain no directory separator. 99 case $0 in 94 as_myself= 95 case $0 in #(( 100 96 *[\\/]* ) as_myself=$0 ;; 101 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 104 100 IFS=$as_save_IFS 105 101 test -z "$as_dir" && as_dir=. 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break107 done102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 108 104 IFS=$as_save_IFS 109 105 … … 117 113 if test ! -f "$as_myself"; then 118 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 { (exit 1); exit 1; } 120 fi 121 122 # Work around bugs in pre-3.0 UWIN ksh. 123 for as_var in ENV MAIL MAILPATH 124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 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 || : 125 125 done 126 126 PS1='$ ' … … 134 134 export LANGUAGE 135 135 136 # Required to use basename. 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 137 386 if expr a : '\(a\)' >/dev/null 2>&1 && 138 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 148 397 fi 149 398 150 151 # Name of the executable. 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 152 405 as_me=`$as_basename -- "$0" || 153 406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 169 422 s/.*/./; q'` 170 423 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. :-) 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. :-) 460 437 sed -n ' 461 438 p … … 474 451 ' >$as_me.lineno && 475 452 chmod +x "$as_me.lineno" || 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 478 454 479 455 # Don't try to exec as it changes $[0], causing all sort of problems … … 485 461 } 486 462 487 488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then489 as_dirname=dirname490 else491 as_dirname=false492 fi493 494 463 ECHO_C= ECHO_N= ECHO_T= 495 case `echo -n x` in 464 case `echo -n x` in #((((( 496 465 -n*) 497 case `echo 'x \c'` in466 case `echo 'xy\c'` in 498 467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499 *) ECHO_C='\c';; 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 500 471 esac;; 501 472 *) 502 473 ECHO_N='-n';; 503 474 esac 504 if expr a : '\(a\)' >/dev/null 2>&1 &&505 test "X`expr 00001 : '.*\(...\)'`" = X001; then506 as_expr=expr507 else508 as_expr=false509 fi510 475 511 476 rm -f conf$$ conf$$.exe conf$$.file … … 537 502 538 503 if mkdir -p . 2>/dev/null; then 539 as_mkdir_p= :504 as_mkdir_p='mkdir -p "$as_dir"' 540 505 else 541 506 test -d ./-p && rmdir ./-p … … 556 521 test -d "$1/."; 557 522 else 558 case $1 in 523 case $1 in #( 559 524 -*)set "./$1";; 560 525 esac; 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 562 527 ???[sx]*):;;*)false;;esac;fi 563 528 '\'' sh … … 573 538 574 539 575 576 exec 7<&0 </dev/null6>&1540 test -n "$DJDIR" || exec 7<&0 </dev/null 541 exec 6>&1 577 542 578 543 # Name of the host. 579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 580 545 # so uname gets run too. 581 546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 592 557 MFLAGS= 593 558 MAKEFLAGS= 594 SHELL=${CONFIG_SHELL-/bin/sh}595 559 596 560 # Identity of this package. … … 600 564 PACKAGE_STRING='vizservers 0.1' 601 565 PACKAGE_BUGREPORT='rappture@nanohub.org' 566 PACKAGE_URL='' 602 567 603 568 # Factoring default headers for most tests. … … 694 659 DL_OBJS 695 660 DL_LIBS 661 AR 662 RANLIB 696 663 EGREP 697 664 GREP 698 665 CPP 699 AR700 RANLIB701 666 OBJEXT 702 667 EXEEXT … … 706 671 CFLAGS 707 672 CC 673 PYTHON 708 674 target_alias 709 675 host_alias … … 736 702 prefix 737 703 exec_prefix 704 PACKAGE_URL 738 705 PACKAGE_BUGREPORT 739 706 PACKAGE_STRING … … 751 718 with_vtk_libs 752 719 with_vtk 720 with_python 753 721 enable_64bit 754 722 enable_64bit_vis … … 833 801 834 802 case $ac_option in 835 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 836 *) ac_optarg=yes ;; 803 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 804 *=) ac_optarg= ;; 805 *) ac_optarg=yes ;; 837 806 esac 838 807 … … 879 848 # Reject names that are not valid shell variable names. 880 849 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 881 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 882 { (exit 1); exit 1; }; } 850 as_fn_error $? "invalid feature name: $ac_useropt" 883 851 ac_useropt_orig=$ac_useropt 884 852 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 906 874 # Reject names that are not valid shell variable names. 907 875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 908 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 909 { (exit 1); exit 1; }; } 876 as_fn_error $? "invalid feature name: $ac_useropt" 910 877 ac_useropt_orig=$ac_useropt 911 878 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1111 1078 # Reject names that are not valid shell variable names. 1112 1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1113 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1114 { (exit 1); exit 1; }; } 1080 as_fn_error $? "invalid package name: $ac_useropt" 1115 1081 ac_useropt_orig=$ac_useropt 1116 1082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1128 1094 # Reject names that are not valid shell variable names. 1129 1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1130 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1131 { (exit 1); exit 1; }; } 1096 as_fn_error $? "invalid package name: $ac_useropt" 1132 1097 ac_useropt_orig=$ac_useropt 1133 1098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1159 1124 x_libraries=$ac_optarg ;; 1160 1125 1161 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1162 Try \`$0 --help' for more information." >&2 1163 { (exit 1); exit 1; }; } 1126 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1127 Try \`$0 --help' for more information" 1164 1128 ;; 1165 1129 … … 1167 1131 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1168 1132 # Reject names that are not valid shell variable names. 1169 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1170 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1171 { (exit 1); exit 1; }; } 1133 case $ac_envvar in #( 1134 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1135 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1136 esac 1172 1137 eval $ac_envvar=\$ac_optarg 1173 1138 export $ac_envvar ;; … … 1178 1143 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1179 1144 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1180 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1145 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1181 1146 ;; 1182 1147 … … 1186 1151 if test -n "$ac_prev"; then 1187 1152 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1188 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1189 { (exit 1); exit 1; }; } 1153 as_fn_error $? "missing argument to $ac_option" 1190 1154 fi 1191 1155 … … 1193 1157 case $enable_option_checking in 1194 1158 no) ;; 1195 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1196 { (exit 1); exit 1; }; } ;; 1159 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1197 1160 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1198 1161 esac … … 1217 1180 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1218 1181 esac 1219 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1220 { (exit 1); exit 1; }; } 1182 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1221 1183 done 1222 1184 … … 1232 1194 if test "x$build_alias" = x; then 1233 1195 cross_compiling=maybe 1234 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1235 If a cross compiler is detected then cross compile mode will be used ." >&21196 $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" >&2 1236 1198 elif test "x$build_alias" != "x$host_alias"; then 1237 1199 cross_compiling=yes … … 1248 1210 ac_ls_di=`ls -di .` && 1249 1211 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1250 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1251 { (exit 1); exit 1; }; } 1212 as_fn_error $? "working directory cannot be determined" 1252 1213 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1253 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1254 { (exit 1); exit 1; }; } 1214 as_fn_error $? "pwd does not report name of working directory" 1255 1215 1256 1216 … … 1291 1251 if test ! -r "$srcdir/$ac_unique_file"; then 1292 1252 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1293 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1294 { (exit 1); exit 1; }; } 1253 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1295 1254 fi 1296 1255 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1297 1256 ac_abs_confdir=`( 1298 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1299 { (exit 1); exit 1; }; } 1257 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1300 1258 pwd)` 1301 1259 # When building in place, set srcdir=. … … 1337 1295 --help=recursive display the short help of all the included packages 1338 1296 -V, --version display version information and exit 1339 -q, --quiet, --silent do not print \`checking ...' messages1297 -q, --quiet, --silent do not print \`checking ...' messages 1340 1298 --cache-file=FILE cache test results in FILE [disabled] 1341 1299 -C, --config-cache alias for \`--cache-file=config.cache' … … 1411 1369 --with-vtk-libs=DIR VTK libraries are in DIR 1412 1370 --with-vtk=VERSION Version of VTK required 1371 --with-python=DIR location of python [default=yes] 1413 1372 --with-x use the X Window System 1414 1373 … … 1419 1378 nonstandard directory <lib dir> 1420 1379 LIBS libraries to pass to the linker, e.g. -l<library> 1421 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1380 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1422 1381 you have headers in a nonstandard directory <include dir> 1423 1382 CPP C preprocessor … … 1494 1453 cat <<\_ACEOF 1495 1454 vizservers configure 0.1 1496 generated by GNU Autoconf 2.63 1497 1498 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1499 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1455 generated by GNU Autoconf 2.68 1456 1457 Copyright (C) 2010 Free Software Foundation, Inc. 1500 1458 This configure script is free software; the Free Software Foundation 1501 1459 gives unlimited permission to copy, distribute and modify it. … … 1503 1461 exit 1504 1462 fi 1463 1464 ## ------------------------ ## 1465 ## Autoconf initialization. ## 1466 ## ------------------------ ## 1467 1468 # ac_fn_c_try_compile LINENO 1469 # -------------------------- 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_stack 1474 rm -f conftest.$ac_objext 1475 if { { ac_try="$ac_compile" 1476 case "(($ac_try" in 1477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1478 *) ac_try_echo=$ac_try;; 1479 esac 1480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1481 $as_echo "$ac_try_echo"; } >&5 1482 (eval "$ac_compile") 2>conftest.err 1483 ac_status=$? 1484 if test -s conftest.err; then 1485 grep -v '^ *+' conftest.err >conftest.er1 1486 cat conftest.er1 >&5 1487 mv -f conftest.er1 conftest.err 1488 fi 1489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1490 test $ac_status = 0; } && { 1491 test -z "$ac_c_werror_flag" || 1492 test ! -s conftest.err 1493 } && test -s conftest.$ac_objext; then : 1494 ac_retval=0 1495 else 1496 $as_echo "$as_me: failed program was:" >&5 1497 sed 's/^/| /' conftest.$ac_ext >&5 1498 1499 ac_retval=1 1500 fi 1501 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1502 as_fn_set_status $ac_retval 1503 1504 } # ac_fn_c_try_compile 1505 1506 # ac_fn_c_try_cpp LINENO 1507 # ---------------------- 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_stack 1512 if { { ac_try="$ac_cpp conftest.$ac_ext" 1513 case "(($ac_try" in 1514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1515 *) ac_try_echo=$ac_try;; 1516 esac 1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1518 $as_echo "$ac_try_echo"; } >&5 1519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1520 ac_status=$? 1521 if test -s conftest.err; then 1522 grep -v '^ *+' conftest.err >conftest.er1 1523 cat conftest.er1 >&5 1524 mv -f conftest.er1 conftest.err 1525 fi 1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1527 test $ac_status = 0; } > conftest.i && { 1528 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1529 test ! -s conftest.err 1530 }; then : 1531 ac_retval=0 1532 else 1533 $as_echo "$as_me: failed program was:" >&5 1534 sed 's/^/| /' conftest.$ac_ext >&5 1535 1536 ac_retval=1 1537 fi 1538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1539 as_fn_set_status $ac_retval 1540 1541 } # ac_fn_c_try_cpp 1542 1543 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1544 # ------------------------------------------------------- 1545 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1546 # the include files in INCLUDES and setting the cache variable VAR 1547 # accordingly. 1548 ac_fn_c_check_header_mongrel () 1549 { 1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1551 if eval \${$3+:} false; then : 1552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1553 $as_echo_n "checking for $2... " >&6; } 1554 if eval \${$3+:} false; then : 1555 $as_echo_n "(cached) " >&6 1556 fi 1557 eval ac_res=\$$3 1558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1559 $as_echo "$ac_res" >&6; } 1560 else 1561 # Is the header compilable? 1562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1563 $as_echo_n "checking $2 usability... " >&6; } 1564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1565 /* end confdefs.h. */ 1566 $4 1567 #include <$2> 1568 _ACEOF 1569 if ac_fn_c_try_compile "$LINENO"; then : 1570 ac_header_compiler=yes 1571 else 1572 ac_header_compiler=no 1573 fi 1574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1576 $as_echo "$ac_header_compiler" >&6; } 1577 1578 # Is the header present? 1579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1580 $as_echo_n "checking $2 presence... " >&6; } 1581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1582 /* end confdefs.h. */ 1583 #include <$2> 1584 _ACEOF 1585 if ac_fn_c_try_cpp "$LINENO"; then : 1586 ac_header_preproc=yes 1587 else 1588 ac_header_preproc=no 1589 fi 1590 rm -f conftest.err conftest.i conftest.$ac_ext 1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1592 $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!" >&5 1598 $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" >&5 1600 $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" >&5 1604 $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?" >&5 1606 $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" >&5 1608 $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\"" >&5 1610 $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" >&5 1612 $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: /" >&2 1617 ;; 1618 esac 1619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1620 $as_echo_n "checking for $2... " >&6; } 1621 if eval \${$3+:} false; then : 1622 $as_echo_n "(cached) " >&6 1623 else 1624 eval "$3=\$ac_header_compiler" 1625 fi 1626 eval ac_res=\$$3 1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1628 $as_echo "$ac_res" >&6; } 1629 fi 1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1631 1632 } # ac_fn_c_check_header_mongrel 1633 1634 # ac_fn_c_try_run LINENO 1635 # ---------------------- 1636 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1637 # 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_stack 1641 if { { ac_try="$ac_link" 1642 case "(($ac_try" in 1643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1644 *) ac_try_echo=$ac_try;; 1645 esac 1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1647 $as_echo "$ac_try_echo"; } >&5 1648 (eval "$ac_link") 2>&5 1649 ac_status=$? 1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1651 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1652 { { case "(($ac_try" in 1653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1654 *) ac_try_echo=$ac_try;; 1655 esac 1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1657 $as_echo "$ac_try_echo"; } >&5 1658 (eval "$ac_try") 2>&5 1659 ac_status=$? 1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1661 test $ac_status = 0; }; }; then : 1662 ac_retval=0 1663 else 1664 $as_echo "$as_me: program exited with status $ac_status" >&5 1665 $as_echo "$as_me: failed program was:" >&5 1666 sed 's/^/| /' conftest.$ac_ext >&5 1667 1668 ac_retval=$ac_status 1669 fi 1670 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1672 as_fn_set_status $ac_retval 1673 1674 } # ac_fn_c_try_run 1675 1676 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1677 # ------------------------------------------------------- 1678 # Tests whether HEADER exists and can be compiled using the include files in 1679 # 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_stack 1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1684 $as_echo_n "checking for $2... " >&6; } 1685 if eval \${$3+:} false; then : 1686 $as_echo_n "(cached) " >&6 1687 else 1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1689 /* end confdefs.h. */ 1690 $4 1691 #include <$2> 1692 _ACEOF 1693 if ac_fn_c_try_compile "$LINENO"; then : 1694 eval "$3=yes" 1695 else 1696 eval "$3=no" 1697 fi 1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1699 fi 1700 eval ac_res=\$$3 1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1702 $as_echo "$ac_res" >&6; } 1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1704 1705 } # ac_fn_c_check_header_compile 1706 1707 # ac_fn_c_try_link LINENO 1708 # ----------------------- 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_stack 1713 rm -f conftest.$ac_objext conftest$ac_exeext 1714 if { { ac_try="$ac_link" 1715 case "(($ac_try" in 1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1717 *) ac_try_echo=$ac_try;; 1718 esac 1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1720 $as_echo "$ac_try_echo"; } >&5 1721 (eval "$ac_link") 2>conftest.err 1722 ac_status=$? 1723 if test -s conftest.err; then 1724 grep -v '^ *+' conftest.err >conftest.er1 1725 cat conftest.er1 >&5 1726 mv -f conftest.er1 conftest.err 1727 fi 1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1729 test $ac_status = 0; } && { 1730 test -z "$ac_c_werror_flag" || 1731 test ! -s conftest.err 1732 } && test -s conftest$ac_exeext && { 1733 test "$cross_compiling" = yes || 1734 $as_test_x conftest$ac_exeext 1735 }; then : 1736 ac_retval=0 1737 else 1738 $as_echo "$as_me: failed program was:" >&5 1739 sed 's/^/| /' conftest.$ac_ext >&5 1740 1741 ac_retval=1 1742 fi 1743 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1744 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1745 # interfere with the next link command; also delete a directory that is 1746 # left behind by Apple's compiler. We do this before executing the actions. 1747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1749 as_fn_set_status $ac_retval 1750 1751 } # ac_fn_c_try_link 1752 1753 # ac_fn_cxx_try_compile LINENO 1754 # ---------------------------- 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_stack 1759 rm -f conftest.$ac_objext 1760 if { { ac_try="$ac_compile" 1761 case "(($ac_try" in 1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1763 *) ac_try_echo=$ac_try;; 1764 esac 1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1766 $as_echo "$ac_try_echo"; } >&5 1767 (eval "$ac_compile") 2>conftest.err 1768 ac_status=$? 1769 if test -s conftest.err; then 1770 grep -v '^ *+' conftest.err >conftest.er1 1771 cat conftest.er1 >&5 1772 mv -f conftest.er1 conftest.err 1773 fi 1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1775 test $ac_status = 0; } && { 1776 test -z "$ac_cxx_werror_flag" || 1777 test ! -s conftest.err 1778 } && test -s conftest.$ac_objext; then : 1779 ac_retval=0 1780 else 1781 $as_echo "$as_me: failed program was:" >&5 1782 sed 's/^/| /' conftest.$ac_ext >&5 1783 1784 ac_retval=1 1785 fi 1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1787 as_fn_set_status $ac_retval 1788 1789 } # ac_fn_cxx_try_compile 1790 1791 # ac_fn_cxx_try_cpp LINENO 1792 # ------------------------ 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_stack 1797 if { { ac_try="$ac_cpp conftest.$ac_ext" 1798 case "(($ac_try" in 1799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1800 *) ac_try_echo=$ac_try;; 1801 esac 1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1803 $as_echo "$ac_try_echo"; } >&5 1804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1805 ac_status=$? 1806 if test -s conftest.err; then 1807 grep -v '^ *+' conftest.err >conftest.er1 1808 cat conftest.er1 >&5 1809 mv -f conftest.er1 conftest.err 1810 fi 1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1812 test $ac_status = 0; } > conftest.i && { 1813 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1814 test ! -s conftest.err 1815 }; then : 1816 ac_retval=0 1817 else 1818 $as_echo "$as_me: failed program was:" >&5 1819 sed 's/^/| /' conftest.$ac_ext >&5 1820 1821 ac_retval=1 1822 fi 1823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1824 as_fn_set_status $ac_retval 1825 1826 } # ac_fn_cxx_try_cpp 1827 1828 # ac_fn_cxx_try_run LINENO 1829 # ------------------------ 1830 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1831 # 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_stack 1835 if { { ac_try="$ac_link" 1836 case "(($ac_try" in 1837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1838 *) ac_try_echo=$ac_try;; 1839 esac 1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1841 $as_echo "$ac_try_echo"; } >&5 1842 (eval "$ac_link") 2>&5 1843 ac_status=$? 1844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1845 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1846 { { case "(($ac_try" in 1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1848 *) ac_try_echo=$ac_try;; 1849 esac 1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1851 $as_echo "$ac_try_echo"; } >&5 1852 (eval "$ac_try") 2>&5 1853 ac_status=$? 1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1855 test $ac_status = 0; }; }; then : 1856 ac_retval=0 1857 else 1858 $as_echo "$as_me: program exited with status $ac_status" >&5 1859 $as_echo "$as_me: failed program was:" >&5 1860 sed 's/^/| /' conftest.$ac_ext >&5 1861 1862 ac_retval=$ac_status 1863 fi 1864 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1866 as_fn_set_status $ac_retval 1867 1868 } # ac_fn_cxx_try_run 1869 1870 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 1871 # ---------------------------------------------- 1872 # Tries to find the compile-time value of EXPR in a program that includes 1873 # INCLUDES, setting VAR accordingly. Returns whether the value could be 1874 # computed 1875 ac_fn_cxx_compute_int () 1876 { 1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1878 if test "$cross_compiling" = yes; then 1879 # Depending upon the size, compute the lo and hi bounds. 1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1881 /* end confdefs.h. */ 1882 $4 1883 int 1884 main () 1885 { 1886 static int test_array [1 - 2 * !(($2) >= 0)]; 1887 test_array [0] = 0 1888 1889 ; 1890 return 0; 1891 } 1892 _ACEOF 1893 if ac_fn_cxx_try_compile "$LINENO"; then : 1894 ac_lo=0 ac_mid=0 1895 while :; do 1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1897 /* end confdefs.h. */ 1898 $4 1899 int 1900 main () 1901 { 1902 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1903 test_array [0] = 0 1904 1905 ; 1906 return 0; 1907 } 1908 _ACEOF 1909 if ac_fn_cxx_try_compile "$LINENO"; then : 1910 ac_hi=$ac_mid; break 1911 else 1912 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1913 if test $ac_lo -le $ac_mid; then 1914 ac_lo= ac_hi= 1915 break 1916 fi 1917 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1918 fi 1919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1920 done 1921 else 1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1923 /* end confdefs.h. */ 1924 $4 1925 int 1926 main () 1927 { 1928 static int test_array [1 - 2 * !(($2) < 0)]; 1929 test_array [0] = 0 1930 1931 ; 1932 return 0; 1933 } 1934 _ACEOF 1935 if ac_fn_cxx_try_compile "$LINENO"; then : 1936 ac_hi=-1 ac_mid=-1 1937 while :; do 1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1939 /* end confdefs.h. */ 1940 $4 1941 int 1942 main () 1943 { 1944 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1945 test_array [0] = 0 1946 1947 ; 1948 return 0; 1949 } 1950 _ACEOF 1951 if ac_fn_cxx_try_compile "$LINENO"; then : 1952 ac_lo=$ac_mid; break 1953 else 1954 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1955 if test $ac_mid -le $ac_hi; then 1956 ac_lo= ac_hi= 1957 break 1958 fi 1959 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1960 fi 1961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1962 done 1963 else 1964 ac_lo= ac_hi= 1965 fi 1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1967 fi 1968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1969 # Binary search between lo and hi bounds. 1970 while test "x$ac_lo" != "x$ac_hi"; do 1971 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1973 /* end confdefs.h. */ 1974 $4 1975 int 1976 main () 1977 { 1978 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1979 test_array [0] = 0 1980 1981 ; 1982 return 0; 1983 } 1984 _ACEOF 1985 if ac_fn_cxx_try_compile "$LINENO"; then : 1986 ac_hi=$ac_mid 1987 else 1988 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1989 fi 1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1991 done 1992 case $ac_lo in #(( 1993 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 1994 '') ac_retval=1 ;; 1995 esac 1996 else 1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1998 /* end confdefs.h. */ 1999 $4 2000 static long int longval () { return $2; } 2001 static unsigned long int ulongval () { return $2; } 2002 #include <stdio.h> 2003 #include <stdlib.h> 2004 int 2005 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 else 2019 { 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 confusion 2026 on some platforms. */ 2027 return ferror (f) || fclose (f) != 0; 2028 2029 ; 2030 return 0; 2031 } 2032 _ACEOF 2033 if ac_fn_cxx_try_run "$LINENO"; then : 2034 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2035 else 2036 ac_retval=1 2037 fi 2038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2039 conftest.$ac_objext conftest.beam conftest.$ac_ext 2040 rm -f conftest.val 2041 2042 fi 2043 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2044 as_fn_set_status $ac_retval 2045 2046 } # ac_fn_cxx_compute_int 2047 2048 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 2049 # --------------------------------------------------------- 2050 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 2051 # the include files in INCLUDES and setting the cache variable VAR 2052 # accordingly. 2053 ac_fn_cxx_check_header_mongrel () 2054 { 2055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2056 if eval \${$3+:} false; then : 2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2058 $as_echo_n "checking for $2... " >&6; } 2059 if eval \${$3+:} false; then : 2060 $as_echo_n "(cached) " >&6 2061 fi 2062 eval ac_res=\$$3 2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2064 $as_echo "$ac_res" >&6; } 2065 else 2066 # Is the header compilable? 2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2068 $as_echo_n "checking $2 usability... " >&6; } 2069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2070 /* end confdefs.h. */ 2071 $4 2072 #include <$2> 2073 _ACEOF 2074 if ac_fn_cxx_try_compile "$LINENO"; then : 2075 ac_header_compiler=yes 2076 else 2077 ac_header_compiler=no 2078 fi 2079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2081 $as_echo "$ac_header_compiler" >&6; } 2082 2083 # Is the header present? 2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2085 $as_echo_n "checking $2 presence... " >&6; } 2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2087 /* end confdefs.h. */ 2088 #include <$2> 2089 _ACEOF 2090 if ac_fn_cxx_try_cpp "$LINENO"; then : 2091 ac_header_preproc=yes 2092 else 2093 ac_header_preproc=no 2094 fi 2095 rm -f conftest.err conftest.i conftest.$ac_ext 2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2097 $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!" >&5 2103 $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" >&5 2105 $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" >&5 2109 $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?" >&5 2111 $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" >&5 2113 $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\"" >&5 2115 $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" >&5 2117 $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: /" >&2 2122 ;; 2123 esac 2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2125 $as_echo_n "checking for $2... " >&6; } 2126 if eval \${$3+:} false; then : 2127 $as_echo_n "(cached) " >&6 2128 else 2129 eval "$3=\$ac_header_compiler" 2130 fi 2131 eval ac_res=\$$3 2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2133 $as_echo "$ac_res" >&6; } 2134 fi 2135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2136 2137 } # ac_fn_cxx_check_header_mongrel 2138 2139 # ac_fn_cxx_try_link LINENO 2140 # ------------------------- 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_stack 2145 rm -f conftest.$ac_objext conftest$ac_exeext 2146 if { { ac_try="$ac_link" 2147 case "(($ac_try" in 2148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2149 *) ac_try_echo=$ac_try;; 2150 esac 2151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2152 $as_echo "$ac_try_echo"; } >&5 2153 (eval "$ac_link") 2>conftest.err 2154 ac_status=$? 2155 if test -s conftest.err; then 2156 grep -v '^ *+' conftest.err >conftest.er1 2157 cat conftest.er1 >&5 2158 mv -f conftest.er1 conftest.err 2159 fi 2160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2161 test $ac_status = 0; } && { 2162 test -z "$ac_cxx_werror_flag" || 2163 test ! -s conftest.err 2164 } && test -s conftest$ac_exeext && { 2165 test "$cross_compiling" = yes || 2166 $as_test_x conftest$ac_exeext 2167 }; then : 2168 ac_retval=0 2169 else 2170 $as_echo "$as_me: failed program was:" >&5 2171 sed 's/^/| /' conftest.$ac_ext >&5 2172 2173 ac_retval=1 2174 fi 2175 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2176 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2177 # interfere with the next link command; also delete a directory that is 2178 # left behind by Apple's compiler. We do this before executing the actions. 2179 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2180 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2181 as_fn_set_status $ac_retval 2182 2183 } # ac_fn_cxx_try_link 2184 2185 # ac_fn_cxx_check_func LINENO FUNC VAR 2186 # ------------------------------------ 2187 # Tests whether FUNC exists, setting the cache variable VAR accordingly 2188 ac_fn_cxx_check_func () 2189 { 2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2192 $as_echo_n "checking for $2... " >&6; } 2193 if eval \${$3+:} false; then : 2194 $as_echo_n "(cached) " >&6 2195 else 2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2197 /* 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_$2 2201 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, since 2205 <limits.h> exists even on freestanding compilers. */ 2206 2207 #ifdef __STDC__ 2208 # include <limits.h> 2209 #else 2210 # include <assert.h> 2211 #endif 2212 2213 #undef $2 2214 2215 /* Override any GCC internal prototype to avoid an error. 2216 Use char because int might match the return type of a GCC 2217 builtin and then its argument prototype would still apply. */ 2218 #ifdef __cplusplus 2219 extern "C" 2220 #endif 2221 char $2 (); 2222 /* The GNU C library defines this for functions which it implements 2223 to always fail with ENOSYS. Some functions are actually named 2224 something starting with __ and the normal name is an alias. */ 2225 #if defined __stub_$2 || defined __stub___$2 2226 choke me 2227 #endif 2228 2229 int 2230 main () 2231 { 2232 return $2 (); 2233 ; 2234 return 0; 2235 } 2236 _ACEOF 2237 if ac_fn_cxx_try_link "$LINENO"; then : 2238 eval "$3=yes" 2239 else 2240 eval "$3=no" 2241 fi 2242 rm -f core conftest.err conftest.$ac_objext \ 2243 conftest$ac_exeext conftest.$ac_ext 2244 fi 2245 eval ac_res=\$$3 2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2247 $as_echo "$ac_res" >&6; } 2248 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2249 2250 } # ac_fn_cxx_check_func 2251 2252 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2253 # --------------------------------------------------------- 2254 # Tests whether HEADER exists and can be compiled using the include files in 2255 # 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_stack 2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2260 $as_echo_n "checking for $2... " >&6; } 2261 if eval \${$3+:} false; then : 2262 $as_echo_n "(cached) " >&6 2263 else 2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2265 /* end confdefs.h. */ 2266 $4 2267 #include <$2> 2268 _ACEOF 2269 if ac_fn_cxx_try_compile "$LINENO"; then : 2270 eval "$3=yes" 2271 else 2272 eval "$3=no" 2273 fi 2274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2275 fi 2276 eval ac_res=\$$3 2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2278 $as_echo "$ac_res" >&6; } 2279 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2280 2281 } # ac_fn_cxx_check_header_compile 1505 2282 cat >config.log <<_ACEOF 1506 2283 This file contains any messages produced by compilers while … … 1508 2285 1509 2286 It was created by vizservers $as_me 0.1, which was 1510 generated by GNU Autoconf 2.6 3. Invocation command line was2287 generated by GNU Autoconf 2.68. Invocation command line was 1511 2288 1512 2289 $ $0 $@ … … 1544 2321 IFS=$as_save_IFS 1545 2322 test -z "$as_dir" && as_dir=. 1546 $as_echo "PATH: $as_dir"1547 done2323 $as_echo "PATH: $as_dir" 2324 done 1548 2325 IFS=$as_save_IFS 1549 2326 … … 1582 2359 esac 1583 2360 case $ac_pass in 1584 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2361 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1585 2362 2) 1586 a c_configure_args1="$ac_configure_args1'$ac_arg'"2363 as_fn_append ac_configure_args1 " '$ac_arg'" 1587 2364 if test $ac_must_keep_next = true; then 1588 2365 ac_must_keep_next=false # Got value, back to normal. … … 1600 2377 esac 1601 2378 fi 1602 a c_configure_args="$ac_configure_args'$ac_arg'"2379 as_fn_append ac_configure_args " '$ac_arg'" 1603 2380 ;; 1604 2381 esac 1605 2382 done 1606 2383 done 1607 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1608 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2384 { ac_configure_args0=; unset ac_configure_args0;} 2385 { ac_configure_args1=; unset ac_configure_args1;} 1609 2386 1610 2387 # When interrupted or exit'd, cleanup temporary files, and complete … … 1618 2395 echo 1619 2396 1620 cat <<\_ASBOX 1621 ## ---------------- ## 2397 $as_echo "## ---------------- ## 1622 2398 ## Cache variables. ## 1623 ## ---------------- ## 1624 _ASBOX 2399 ## ---------------- ##" 1625 2400 echo 1626 2401 # The following way of writing the cache mishandles newlines in values, … … 1631 2406 *${as_nl}*) 1632 2407 case $ac_var in #( 1633 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&52408 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1634 2409 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1635 2410 esac … … 1637 2412 _ | IFS | as_nl) ;; #( 1638 2413 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1639 *) $as_unset $ac_var;;2414 *) { eval $ac_var=; unset $ac_var;} ;; 1640 2415 esac ;; 1641 2416 esac … … 1656 2431 echo 1657 2432 1658 cat <<\_ASBOX 1659 ## ----------------- ## 2433 $as_echo "## ----------------- ## 1660 2434 ## Output variables. ## 1661 ## ----------------- ## 1662 _ASBOX 2435 ## ----------------- ##" 1663 2436 echo 1664 2437 for ac_var in $ac_subst_vars … … 1673 2446 1674 2447 if test -n "$ac_subst_files"; then 1675 cat <<\_ASBOX 1676 ## ------------------- ## 2448 $as_echo "## ------------------- ## 1677 2449 ## File substitutions. ## 1678 ## ------------------- ## 1679 _ASBOX 2450 ## ------------------- ##" 1680 2451 echo 1681 2452 for ac_var in $ac_subst_files … … 1691 2462 1692 2463 if test -s confdefs.h; then 1693 cat <<\_ASBOX 1694 ## ----------- ## 2464 $as_echo "## ----------- ## 1695 2465 ## confdefs.h. ## 1696 ## ----------- ## 1697 _ASBOX 2466 ## ----------- ##" 1698 2467 echo 1699 2468 cat confdefs.h … … 1709 2478 ' 0 1710 2479 for ac_signal in 1 2 13 15; do 1711 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2480 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1712 2481 done 1713 2482 ac_signal=0 … … 1716 2485 rm -f -r conftest* confdefs.h 1717 2486 2487 $as_echo "/* confdefs.h */" > confdefs.h 2488 1718 2489 # Predefined preprocessor variables. 1719 2490 … … 1722 2493 _ACEOF 1723 2494 1724 1725 2495 cat >>confdefs.h <<_ACEOF 1726 2496 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1727 2497 _ACEOF 1728 2498 1729 1730 2499 cat >>confdefs.h <<_ACEOF 1731 2500 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1732 2501 _ACEOF 1733 2502 1734 1735 2503 cat >>confdefs.h <<_ACEOF 1736 2504 #define PACKAGE_STRING "$PACKAGE_STRING" 1737 2505 _ACEOF 1738 2506 1739 1740 2507 cat >>confdefs.h <<_ACEOF 1741 2508 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2509 _ACEOF 2510 2511 cat >>confdefs.h <<_ACEOF 2512 #define PACKAGE_URL "$PACKAGE_URL" 1742 2513 _ACEOF 1743 2514 … … 1748 2519 ac_site_file2=NONE 1749 2520 if test -n "$CONFIG_SITE"; then 1750 ac_site_file1=$CONFIG_SITE 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 1751 2527 elif test "x$prefix" != xNONE; then 1752 2528 ac_site_file1=$prefix/share/config.site … … 1759 2535 do 1760 2536 test "x$ac_site_file" = xNONE && continue 1761 if test -r "$ac_site_file"; then1762 { $as_echo "$as_me:$ LINENO: loading site script $ac_site_file" >&52537 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2538 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1763 2539 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1764 2540 sed 's/^/| /' "$ac_site_file" >&5 1765 . "$ac_site_file" 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; } 1766 2546 fi 1767 2547 done 1768 2548 1769 2549 if test -r "$cache_file"; then 1770 # Some versions of bash will fail to source /dev/null (special 1771 # files actually), so we avoid doing that.1772 if test -f "$cache_file"; then1773 { $as_echo "$as_me:$ LINENO: loading cache $cache_file" >&52550 # Some versions of bash will fail to source /dev/null (special files 2551 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2552 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2553 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1774 2554 $as_echo "$as_me: loading cache $cache_file" >&6;} 1775 2555 case $cache_file in … … 1779 2559 fi 1780 2560 else 1781 { $as_echo "$as_me:$ LINENO: creating cache $cache_file" >&52561 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1782 2562 $as_echo "$as_me: creating cache $cache_file" >&6;} 1783 2563 >$cache_file … … 1794 2574 case $ac_old_set,$ac_new_set in 1795 2575 set,) 1796 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52576 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1797 2577 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1798 2578 ac_cache_corrupted=: ;; 1799 2579 ,set) 1800 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was not set in the previous run" >&52580 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1801 2581 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1802 2582 ac_cache_corrupted=: ;; … … 1808 2588 ac_new_val_w=`echo x $ac_new_val` 1809 2589 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1810 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' has changed since the previous run:" >&52590 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1811 2591 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1812 2592 ac_cache_corrupted=: 1813 2593 else 1814 { $as_echo "$as_me:$ LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52594 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1815 2595 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1816 2596 eval $ac_var=\$ac_old_val 1817 2597 fi 1818 { $as_echo "$as_me:$ LINENO: former value: \`$ac_old_val'" >&52598 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1819 2599 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1820 { $as_echo "$as_me:$ LINENO: current value: \`$ac_new_val'" >&52600 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1821 2601 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1822 2602 fi;; … … 1830 2610 case " $ac_configure_args " in 1831 2611 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1832 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2612 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1833 2613 esac 1834 2614 fi 1835 2615 done 1836 2616 if $ac_cache_corrupted; then 1837 { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52617 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1838 2618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1839 { $as_echo "$as_me:$ LINENO: error: changes in the environment can compromise the build" >&52619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1840 2620 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1841 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1842 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1843 { (exit 1); exit 1; }; } 1844 fi 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 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 ## -------------------- ## 1869 2626 1870 2627 ac_ext=c … … 1875 2632 1876 2633 2634 ac_aux_dir= 2635 for ac_dir in cf "$srcdir"/cf; do 2636 if test -f "$ac_dir/install-sh"; then 2637 ac_aux_dir=$ac_dir 2638 ac_install_sh="$ac_aux_dir/install-sh -c" 2639 break 2640 elif test -f "$ac_dir/install.sh"; then 2641 ac_aux_dir=$ac_dir 2642 ac_install_sh="$ac_aux_dir/install.sh -c" 2643 break 2644 elif test -f "$ac_dir/shtool"; then 2645 ac_aux_dir=$ac_dir 2646 ac_install_sh="$ac_aux_dir/shtool install -c" 2647 break 2648 fi 2649 done 2650 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 2652 fi 2653 2654 # These three variables are undocumented and unsupported, 2655 # and are intended to be withdrawn in a future Autoconf release. 2656 # They can cause serious problems if a builder's source tree is in a directory 2657 # whose full name contains unusual characters. 2658 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2659 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2660 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2661 2662 1877 2663 ac_config_headers="$ac_config_headers nanovis/nvconf.h nanoscale/config.h" 1878 2664 … … 1880 2666 1881 2667 # Check whether --with-tcllib was given. 1882 if test "${with_tcllib+set}" = set; then 2668 if test "${with_tcllib+set}" = set; then : 1883 2669 withval=$with_tcllib; with_tcllib=$withval 1884 2670 else … … 1889 2675 1890 2676 # Check whether --with-rappture was given. 1891 if test "${with_rappture+set}" = set; then 2677 if test "${with_rappture+set}" = set; then : 1892 2678 withval=$with_rappture; with_rappture=$withval 1893 2679 else … … 1898 2684 1899 2685 # Check whether --with-vtk-includes was given. 1900 if test "${with_vtk_includes+set}" = set; then 2686 if test "${with_vtk_includes+set}" = set; then : 1901 2687 withval=$with_vtk_includes; with_vtk_includes=$withval 1902 2688 else … … 1907 2693 1908 2694 # Check whether --with-vtk-libs was given. 1909 if test "${with_vtk_libs+set}" = set; then 2695 if test "${with_vtk_libs+set}" = set; then : 1910 2696 withval=$with_vtk_libs; with_vtk_libs=$withval 1911 2697 else … … 1916 2702 1917 2703 # Check whether --with-vtk was given. 1918 if test "${with_vtk+set}" = set; then 2704 if test "${with_vtk+set}" = set; then : 1919 2705 withval=$with_vtk; with_vtk=$withval 1920 2706 else … … 1922 2708 fi 1923 2709 1924 1925 VERSION=0.0.11926 1927 #------------------------------------------------------------------------1928 # Handle the --prefix=... option1929 #------------------------------------------------------------------------1930 1931 if test "${prefix}" = "NONE"; then1932 prefix=/usr/local1933 fi1934 if test "${exec_prefix}" = "NONE"; then1935 exec_prefix=$prefix1936 fi1937 1938 if test "x${incdir}" == "x"; then1939 incdir=${exec_prefix}/include1940 fi1941 libdir=${exec_prefix}/lib1942 1943 if test "${libdir}" != "${prefix}/lib"; then1944 LIB_SEARCH_DIRS="-L ${prefix}/lib -L ${libdir}"1945 else1946 LIB_SEARCH_DIRS="-L ${libdir}"1947 fi1948 2710 1949 2711 ac_ext=c … … 1955 2717 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1956 2718 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1957 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1958 2720 $as_echo_n "checking for $ac_word... " >&6; } 1959 if test "${ac_cv_prog_CC+set}" = set; then2721 if ${ac_cv_prog_CC+:} false; then : 1960 2722 $as_echo_n "(cached) " >&6 1961 2723 else … … 1968 2730 IFS=$as_save_IFS 1969 2731 test -z "$as_dir" && as_dir=. 1970 for ac_exec_ext in '' $ac_executable_extensions; do2732 for ac_exec_ext in '' $ac_executable_extensions; do 1971 2733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1972 2734 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1973 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1974 2736 break 2 1975 2737 fi 1976 2738 done 1977 done2739 done 1978 2740 IFS=$as_save_IFS 1979 2741 … … 1982 2744 CC=$ac_cv_prog_CC 1983 2745 if test -n "$CC"; then 1984 { $as_echo "$as_me:$ LINENO: result: $CC" >&52746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1985 2747 $as_echo "$CC" >&6; } 1986 2748 else 1987 { $as_echo "$as_me:$ LINENO: result: no" >&52749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1988 2750 $as_echo "no" >&6; } 1989 2751 fi … … 1995 2757 # Extract the first word of "gcc", so it can be a program name with args. 1996 2758 set dummy gcc; ac_word=$2 1997 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1998 2760 $as_echo_n "checking for $ac_word... " >&6; } 1999 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2761 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2000 2762 $as_echo_n "(cached) " >&6 2001 2763 else … … 2008 2770 IFS=$as_save_IFS 2009 2771 test -z "$as_dir" && as_dir=. 2010 for ac_exec_ext in '' $ac_executable_extensions; do2772 for ac_exec_ext in '' $ac_executable_extensions; do 2011 2773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2012 2774 ac_cv_prog_ac_ct_CC="gcc" 2013 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2014 2776 break 2 2015 2777 fi 2016 2778 done 2017 done2779 done 2018 2780 IFS=$as_save_IFS 2019 2781 … … 2022 2784 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2023 2785 if test -n "$ac_ct_CC"; then 2024 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2025 2787 $as_echo "$ac_ct_CC" >&6; } 2026 2788 else 2027 { $as_echo "$as_me:$ LINENO: result: no" >&52789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2028 2790 $as_echo "no" >&6; } 2029 2791 fi … … 2034 2796 case $cross_compiling:$ac_tool_warned in 2035 2797 yes:) 2036 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2037 2799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2038 2800 ac_tool_warned=yes ;; … … 2048 2810 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2049 2811 set dummy ${ac_tool_prefix}cc; ac_word=$2 2050 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2051 2813 $as_echo_n "checking for $ac_word... " >&6; } 2052 if test "${ac_cv_prog_CC+set}" = set; then2814 if ${ac_cv_prog_CC+:} false; then : 2053 2815 $as_echo_n "(cached) " >&6 2054 2816 else … … 2061 2823 IFS=$as_save_IFS 2062 2824 test -z "$as_dir" && as_dir=. 2063 for ac_exec_ext in '' $ac_executable_extensions; do2825 for ac_exec_ext in '' $ac_executable_extensions; do 2064 2826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2065 2827 ac_cv_prog_CC="${ac_tool_prefix}cc" 2066 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2067 2829 break 2 2068 2830 fi 2069 2831 done 2070 done2832 done 2071 2833 IFS=$as_save_IFS 2072 2834 … … 2075 2837 CC=$ac_cv_prog_CC 2076 2838 if test -n "$CC"; then 2077 { $as_echo "$as_me:$ LINENO: result: $CC" >&52839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2078 2840 $as_echo "$CC" >&6; } 2079 2841 else 2080 { $as_echo "$as_me:$ LINENO: result: no" >&52842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2081 2843 $as_echo "no" >&6; } 2082 2844 fi … … 2088 2850 # Extract the first word of "cc", so it can be a program name with args. 2089 2851 set dummy cc; ac_word=$2 2090 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2091 2853 $as_echo_n "checking for $ac_word... " >&6; } 2092 if test "${ac_cv_prog_CC+set}" = set; then2854 if ${ac_cv_prog_CC+:} false; then : 2093 2855 $as_echo_n "(cached) " >&6 2094 2856 else … … 2102 2864 IFS=$as_save_IFS 2103 2865 test -z "$as_dir" && as_dir=. 2104 for ac_exec_ext in '' $ac_executable_extensions; do2866 for ac_exec_ext in '' $ac_executable_extensions; do 2105 2867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2106 2868 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2109 2871 fi 2110 2872 ac_cv_prog_CC="cc" 2111 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2112 2874 break 2 2113 2875 fi 2114 2876 done 2115 done2877 done 2116 2878 IFS=$as_save_IFS 2117 2879 … … 2132 2894 CC=$ac_cv_prog_CC 2133 2895 if test -n "$CC"; then 2134 { $as_echo "$as_me:$ LINENO: result: $CC" >&52896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2135 2897 $as_echo "$CC" >&6; } 2136 2898 else 2137 { $as_echo "$as_me:$ LINENO: result: no" >&52899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2138 2900 $as_echo "no" >&6; } 2139 2901 fi … … 2147 2909 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2148 2910 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2149 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2150 2912 $as_echo_n "checking for $ac_word... " >&6; } 2151 if test "${ac_cv_prog_CC+set}" = set; then2913 if ${ac_cv_prog_CC+:} false; then : 2152 2914 $as_echo_n "(cached) " >&6 2153 2915 else … … 2160 2922 IFS=$as_save_IFS 2161 2923 test -z "$as_dir" && as_dir=. 2162 for ac_exec_ext in '' $ac_executable_extensions; do2924 for ac_exec_ext in '' $ac_executable_extensions; do 2163 2925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2164 2926 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2165 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2166 2928 break 2 2167 2929 fi 2168 2930 done 2169 done2931 done 2170 2932 IFS=$as_save_IFS 2171 2933 … … 2174 2936 CC=$ac_cv_prog_CC 2175 2937 if test -n "$CC"; then 2176 { $as_echo "$as_me:$ LINENO: result: $CC" >&52938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2177 2939 $as_echo "$CC" >&6; } 2178 2940 else 2179 { $as_echo "$as_me:$ LINENO: result: no" >&52941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2180 2942 $as_echo "no" >&6; } 2181 2943 fi … … 2191 2953 # Extract the first word of "$ac_prog", so it can be a program name with args. 2192 2954 set dummy $ac_prog; ac_word=$2 2193 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2194 2956 $as_echo_n "checking for $ac_word... " >&6; } 2195 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2957 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2196 2958 $as_echo_n "(cached) " >&6 2197 2959 else … … 2204 2966 IFS=$as_save_IFS 2205 2967 test -z "$as_dir" && as_dir=. 2206 for ac_exec_ext in '' $ac_executable_extensions; do2968 for ac_exec_ext in '' $ac_executable_extensions; do 2207 2969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2208 2970 ac_cv_prog_ac_ct_CC="$ac_prog" 2209 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2210 2972 break 2 2211 2973 fi 2212 2974 done 2213 done2975 done 2214 2976 IFS=$as_save_IFS 2215 2977 … … 2218 2980 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2219 2981 if test -n "$ac_ct_CC"; then 2220 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2221 2983 $as_echo "$ac_ct_CC" >&6; } 2222 2984 else 2223 { $as_echo "$as_me:$ LINENO: result: no" >&52985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2224 2986 $as_echo "no" >&6; } 2225 2987 fi … … 2234 2996 case $cross_compiling:$ac_tool_warned in 2235 2997 yes:) 2236 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2237 2999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2238 3000 ac_tool_warned=yes ;; … … 2245 3007 2246 3008 2247 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53009 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2248 3010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2249 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2250 See \`config.log' for more details." >&5 2251 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2252 See \`config.log' for more details." >&2;} 2253 { (exit 1); exit 1; }; }; } 3011 as_fn_error $? "no acceptable C compiler found in \$PATH 3012 See \`config.log' for more details" "$LINENO" 5; } 2254 3013 2255 3014 # Provide some information about the compiler. 2256 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&53015 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2257 3016 set X $ac_compile 2258 3017 ac_compiler=$2 2259 { (ac_try="$ac_compiler --version >&5" 3018 for ac_option in --version -v -V -qversion; do 3019 { { ac_try="$ac_compiler $ac_option >&5" 2260 3020 case "(($ac_try" in 2261 3021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2262 3022 *) ac_try_echo=$ac_try;; 2263 3023 esac 2264 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2265 $as_echo "$ac_try_echo" )>&52266 (eval "$ac_compiler --version >&5") 2>&53024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3025 $as_echo "$ac_try_echo"; } >&5 3026 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2267 3027 ac_status=$? 2268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2269 (exit $ac_status); } 2270 { (ac_try="$ac_compiler -v >&5" 2271 case "(($ac_try" in 2272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2273 *) ac_try_echo=$ac_try;; 2274 esac 2275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2276 $as_echo "$ac_try_echo") >&5 2277 (eval "$ac_compiler -v >&5") 2>&5 2278 ac_status=$? 2279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2280 (exit $ac_status); } 2281 { (ac_try="$ac_compiler -V >&5" 2282 case "(($ac_try" in 2283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2284 *) ac_try_echo=$ac_try;; 2285 esac 2286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2287 $as_echo "$ac_try_echo") >&5 2288 (eval "$ac_compiler -V >&5") 2>&5 2289 ac_status=$? 2290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2291 (exit $ac_status); } 2292 2293 cat >conftest.$ac_ext <<_ACEOF 2294 /* confdefs.h. */ 2295 _ACEOF 2296 cat confdefs.h >>conftest.$ac_ext 2297 cat >>conftest.$ac_ext <<_ACEOF 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 2298 3040 /* end confdefs.h. */ 2299 3041 … … 2311 3053 # It will help us diagnose broken compilers, and finding out an intuition 2312 3054 # of exeext. 2313 { $as_echo "$as_me:$ LINENO: checking for C compiler default output file name" >&52314 $as_echo_n "checking for C compiler default output file name... " >&6; }3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3056 $as_echo_n "checking whether the C compiler works... " >&6; } 2315 3057 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2316 3058 … … 2328 3070 rm -f $ac_rmfiles 2329 3071 2330 if { (ac_try="$ac_link_default"3072 if { { ac_try="$ac_link_default" 2331 3073 case "(($ac_try" in 2332 3074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2333 3075 *) ac_try_echo=$ac_try;; 2334 3076 esac 2335 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2336 $as_echo "$ac_try_echo" )>&53077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3078 $as_echo "$ac_try_echo"; } >&5 2337 3079 (eval "$ac_link_default") 2>&5 2338 3080 ac_status=$? 2339 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52340 (exit $ac_status); }; then3081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3082 test $ac_status = 0; }; then : 2341 3083 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2342 3084 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2355 3097 break;; 2356 3098 *.* ) 2357 3099 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2358 3100 then :; else 2359 3101 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2374 3116 ac_file='' 2375 3117 fi 2376 2377 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 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 3122 sed 's/^/| /' conftest.$ac_ext >&5 3123 3124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3125 $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 3130 $as_echo "yes" >&6; } 3131 fi 3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3133 $as_echo_n "checking for C compiler default output file name... " >&6; } 3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2378 3135 $as_echo "$ac_file" >&6; } 2379 if test -z "$ac_file"; then2380 $as_echo "$as_me: failed program was:" >&52381 sed 's/^/| /' conftest.$ac_ext >&52382 2383 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2385 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables2386 See \`config.log' for more details." >&52387 $as_echo "$as_me: error: C compiler cannot create executables2388 See \`config.log' for more details." >&2;}2389 { (exit 77); exit 77; }; }; }2390 fi2391 2392 3136 ac_exeext=$ac_cv_exeext 2393 2394 # Check that the compiler produces executables we can run. If not, either2395 # the compiler is broken, or we cross compile.2396 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&52397 $as_echo_n "checking whether the C compiler works... " >&6; }2398 # FIXME: These cross compiler hacks should be removed for Autoconf 3.02399 # If not cross compiling, check that we can run a simple program.2400 if test "$cross_compiling" != yes; then2401 if { ac_try='./$ac_file'2402 { (case "(($ac_try" in2403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2404 *) ac_try_echo=$ac_try;;2405 esac2406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""2407 $as_echo "$ac_try_echo") >&52408 (eval "$ac_try") 2>&52409 ac_status=$?2410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52411 (exit $ac_status); }; }; then2412 cross_compiling=no2413 else2414 if test "$cross_compiling" = maybe; then2415 cross_compiling=yes2416 else2417 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2419 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.2420 If you meant to cross compile, use \`--host'.2421 See \`config.log' for more details." >&52422 $as_echo "$as_me: error: cannot run C compiled programs.2423 If you meant to cross compile, use \`--host'.2424 See \`config.log' for more details." >&2;}2425 { (exit 1); exit 1; }; }; }2426 fi2427 fi2428 fi2429 { $as_echo "$as_me:$LINENO: result: yes" >&52430 $as_echo "yes" >&6; }2431 3137 2432 3138 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2433 3139 ac_clean_files=$ac_clean_files_save 2434 # Check that the compiler produces executables we can run. If not, either 2435 # the compiler is broken, or we cross compile. 2436 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2437 $as_echo_n "checking whether we are cross compiling... " >&6; } 2438 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2439 $as_echo "$cross_compiling" >&6; } 2440 2441 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2442 3141 $as_echo_n "checking for suffix of executables... " >&6; } 2443 if { (ac_try="$ac_link"3142 if { { ac_try="$ac_link" 2444 3143 case "(($ac_try" in 2445 3144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2446 3145 *) ac_try_echo=$ac_try;; 2447 3146 esac 2448 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2449 $as_echo "$ac_try_echo" )>&53147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3148 $as_echo "$ac_try_echo"; } >&5 2450 3149 (eval "$ac_link") 2>&5 2451 3150 ac_status=$? 2452 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52453 (exit $ac_status); }; then3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3152 test $ac_status = 0; }; then : 2454 3153 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2455 3154 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2466 3165 done 2467 3166 else 2468 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2469 3168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2470 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2471 See \`config.log' for more details." >&5 2472 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2473 See \`config.log' for more details." >&2;} 2474 { (exit 1); exit 1; }; }; } 2475 fi 2476 2477 rm -f conftest$ac_cv_exeext 2478 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 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 3174 $as_echo "$ac_cv_exeext" >&6; } 2480 3175 … … 2482 3177 EXEEXT=$ac_cv_exeext 2483 3178 ac_exeext=$EXEEXT 2484 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2485 $as_echo_n "checking for suffix of object files... " >&6; } 2486 if test "${ac_cv_objext+set}" = set; then 2487 $as_echo_n "(cached) " >&6 2488 else 2489 cat >conftest.$ac_ext <<_ACEOF 2490 /* confdefs.h. */ 2491 _ACEOF 2492 cat confdefs.h >>conftest.$ac_ext 2493 cat >>conftest.$ac_ext <<_ACEOF 3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2494 3180 /* end confdefs.h. */ 2495 3181 #include <stdio.h> 2496 3182 int 2497 3183 main () 2498 3184 { 3185 FILE *f = fopen ("conftest.out", "w"); 3186 return ferror (f) || fclose (f) != 0; 2499 3187 2500 3188 ; … … 2502 3190 } 2503 3191 _ACEOF 2504 rm -f conftest.o conftest.obj 2505 if { (ac_try="$ac_compile" 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" 2506 3199 case "(($ac_try" in 2507 3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2508 3201 *) ac_try_echo=$ac_try;; 2509 3202 esac 2510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2511 $as_echo "$ac_try_echo") >&5 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 2512 3262 (eval "$ac_compile") 2>&5 2513 3263 ac_status=$? 2514 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52515 (exit $ac_status); }; then3264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3265 test $ac_status = 0; }; then : 2516 3266 for ac_file in conftest.o conftest.obj conftest.*; do 2517 3267 test -f "$ac_file" || continue; … … 2526 3276 sed 's/^/| /' conftest.$ac_ext >&5 2527 3277 2528 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2529 3279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2530 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2531 See \`config.log' for more details." >&5 2532 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2533 See \`config.log' for more details." >&2;} 2534 { (exit 1); exit 1; }; }; } 2535 fi 2536 3280 as_fn_error $? "cannot compute suffix of object files: cannot compile 3281 See \`config.log' for more details" "$LINENO" 5; } 3282 fi 2537 3283 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2538 3284 fi 2539 { $as_echo "$as_me:$ LINENO: result: $ac_cv_objext" >&53285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2540 3286 $as_echo "$ac_cv_objext" >&6; } 2541 3287 OBJEXT=$ac_cv_objext 2542 3288 ac_objext=$OBJEXT 2543 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU C compiler" >&53289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2544 3290 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2545 if test "${ac_cv_c_compiler_gnu+set}" = set; then3291 if ${ac_cv_c_compiler_gnu+:} false; then : 2546 3292 $as_echo_n "(cached) " >&6 2547 3293 else 2548 cat >conftest.$ac_ext <<_ACEOF 2549 /* confdefs.h. */ 2550 _ACEOF 2551 cat confdefs.h >>conftest.$ac_ext 2552 cat >>conftest.$ac_ext <<_ACEOF 3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2553 3295 /* end confdefs.h. */ 2554 3296 … … 2564 3306 } 2565 3307 _ACEOF 2566 rm -f conftest.$ac_objext 2567 if { (ac_try="$ac_compile" 2568 case "(($ac_try" in 2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2570 *) ac_try_echo=$ac_try;; 2571 esac 2572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2573 $as_echo "$ac_try_echo") >&5 2574 (eval "$ac_compile") 2>conftest.er1 2575 ac_status=$? 2576 grep -v '^ *+' conftest.er1 >conftest.err 2577 rm -f conftest.er1 2578 cat conftest.err >&5 2579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2580 (exit $ac_status); } && { 2581 test -z "$ac_c_werror_flag" || 2582 test ! -s conftest.err 2583 } && test -s conftest.$ac_objext; then 3308 if ac_fn_c_try_compile "$LINENO"; then : 2584 3309 ac_compiler_gnu=yes 2585 3310 else 2586 $as_echo "$as_me: failed program was:" >&5 2587 sed 's/^/| /' conftest.$ac_ext >&5 2588 2589 ac_compiler_gnu=no 2590 fi 2591 3311 ac_compiler_gnu=no 3312 fi 2592 3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2593 3314 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2594 3315 2595 3316 fi 2596 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&53317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2597 3318 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2598 3319 if test $ac_compiler_gnu = yes; then … … 2603 3324 ac_test_CFLAGS=${CFLAGS+set} 2604 3325 ac_save_CFLAGS=$CFLAGS 2605 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&53326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2606 3327 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2607 if test "${ac_cv_prog_cc_g+set}" = set; then3328 if ${ac_cv_prog_cc_g+:} false; then : 2608 3329 $as_echo_n "(cached) " >&6 2609 3330 else … … 2612 3333 ac_cv_prog_cc_g=no 2613 3334 CFLAGS="-g" 2614 cat >conftest.$ac_ext <<_ACEOF 2615 /* confdefs.h. */ 2616 _ACEOF 2617 cat confdefs.h >>conftest.$ac_ext 2618 cat >>conftest.$ac_ext <<_ACEOF 3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2619 3336 /* end confdefs.h. */ 2620 3337 … … 2627 3344 } 2628 3345 _ACEOF 2629 rm -f conftest.$ac_objext 2630 if { (ac_try="$ac_compile" 2631 case "(($ac_try" in 2632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2633 *) ac_try_echo=$ac_try;; 2634 esac 2635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2636 $as_echo "$ac_try_echo") >&5 2637 (eval "$ac_compile") 2>conftest.er1 2638 ac_status=$? 2639 grep -v '^ *+' conftest.er1 >conftest.err 2640 rm -f conftest.er1 2641 cat conftest.err >&5 2642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2643 (exit $ac_status); } && { 2644 test -z "$ac_c_werror_flag" || 2645 test ! -s conftest.err 2646 } && test -s conftest.$ac_objext; then 3346 if ac_fn_c_try_compile "$LINENO"; then : 2647 3347 ac_cv_prog_cc_g=yes 2648 3348 else 2649 $as_echo "$as_me: failed program was:" >&5 2650 sed 's/^/| /' conftest.$ac_ext >&5 2651 2652 CFLAGS="" 2653 cat >conftest.$ac_ext <<_ACEOF 2654 /* confdefs.h. */ 2655 _ACEOF 2656 cat confdefs.h >>conftest.$ac_ext 2657 cat >>conftest.$ac_ext <<_ACEOF 3349 CFLAGS="" 3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2658 3351 /* end confdefs.h. */ 2659 3352 … … 2666 3359 } 2667 3360 _ACEOF 2668 rm -f conftest.$ac_objext 2669 if { (ac_try="$ac_compile" 2670 case "(($ac_try" in 2671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2672 *) ac_try_echo=$ac_try;; 2673 esac 2674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2675 $as_echo "$ac_try_echo") >&5 2676 (eval "$ac_compile") 2>conftest.er1 2677 ac_status=$? 2678 grep -v '^ *+' conftest.er1 >conftest.err 2679 rm -f conftest.er1 2680 cat conftest.err >&5 2681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2682 (exit $ac_status); } && { 2683 test -z "$ac_c_werror_flag" || 2684 test ! -s conftest.err 2685 } && test -s conftest.$ac_objext; then 2686 : 2687 else 2688 $as_echo "$as_me: failed program was:" >&5 2689 sed 's/^/| /' conftest.$ac_ext >&5 2690 2691 ac_c_werror_flag=$ac_save_c_werror_flag 3361 if ac_fn_c_try_compile "$LINENO"; then : 3362 3363 else 3364 ac_c_werror_flag=$ac_save_c_werror_flag 2692 3365 CFLAGS="-g" 2693 cat >conftest.$ac_ext <<_ACEOF 2694 /* confdefs.h. */ 2695 _ACEOF 2696 cat confdefs.h >>conftest.$ac_ext 2697 cat >>conftest.$ac_ext <<_ACEOF 3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2698 3367 /* end confdefs.h. */ 2699 3368 … … 2706 3375 } 2707 3376 _ACEOF 2708 rm -f conftest.$ac_objext 2709 if { (ac_try="$ac_compile" 2710 case "(($ac_try" in 2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2712 *) ac_try_echo=$ac_try;; 2713 esac 2714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2715 $as_echo "$ac_try_echo") >&5 2716 (eval "$ac_compile") 2>conftest.er1 2717 ac_status=$? 2718 grep -v '^ *+' conftest.er1 >conftest.err 2719 rm -f conftest.er1 2720 cat conftest.err >&5 2721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2722 (exit $ac_status); } && { 2723 test -z "$ac_c_werror_flag" || 2724 test ! -s conftest.err 2725 } && test -s conftest.$ac_objext; then 3377 if ac_fn_c_try_compile "$LINENO"; then : 2726 3378 ac_cv_prog_cc_g=yes 2727 else 2728 $as_echo "$as_me: failed program was:" >&5 2729 sed 's/^/| /' conftest.$ac_ext >&5 2730 2731 2732 fi 2733 3379 fi 2734 3380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2735 3381 fi 2736 2737 3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2738 3383 fi 2739 2740 3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2741 3385 ac_c_werror_flag=$ac_save_c_werror_flag 2742 3386 fi 2743 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&53387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2744 3388 $as_echo "$ac_cv_prog_cc_g" >&6; } 2745 3389 if test "$ac_test_CFLAGS" = set; then … … 2758 3402 fi 2759 3403 fi 2760 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&53404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2761 3405 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2762 if test "${ac_cv_prog_cc_c89+set}" = set; then3406 if ${ac_cv_prog_cc_c89+:} false; then : 2763 3407 $as_echo_n "(cached) " >&6 2764 3408 else 2765 3409 ac_cv_prog_cc_c89=no 2766 3410 ac_save_CC=$CC 2767 cat >conftest.$ac_ext <<_ACEOF 2768 /* confdefs.h. */ 2769 _ACEOF 2770 cat confdefs.h >>conftest.$ac_ext 2771 cat >>conftest.$ac_ext <<_ACEOF 3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2772 3412 /* end confdefs.h. */ 2773 3413 #include <stdarg.h> … … 2826 3466 do 2827 3467 CC="$ac_save_CC $ac_arg" 2828 rm -f conftest.$ac_objext 2829 if { (ac_try="$ac_compile" 2830 case "(($ac_try" in 2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2832 *) ac_try_echo=$ac_try;; 2833 esac 2834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2835 $as_echo "$ac_try_echo") >&5 2836 (eval "$ac_compile") 2>conftest.er1 2837 ac_status=$? 2838 grep -v '^ *+' conftest.er1 >conftest.err 2839 rm -f conftest.er1 2840 cat conftest.err >&5 2841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2842 (exit $ac_status); } && { 2843 test -z "$ac_c_werror_flag" || 2844 test ! -s conftest.err 2845 } && test -s conftest.$ac_objext; then 3468 if ac_fn_c_try_compile "$LINENO"; then : 2846 3469 ac_cv_prog_cc_c89=$ac_arg 2847 else 2848 $as_echo "$as_me: failed program was:" >&5 2849 sed 's/^/| /' conftest.$ac_ext >&5 2850 2851 2852 fi 2853 3470 fi 2854 3471 rm -f core conftest.err conftest.$ac_objext 2855 3472 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2862 3479 case "x$ac_cv_prog_cc_c89" in 2863 3480 x) 2864 { $as_echo "$as_me:$ LINENO: result: none needed" >&53481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2865 3482 $as_echo "none needed" >&6; } ;; 2866 3483 xno) 2867 { $as_echo "$as_me:$ LINENO: result: unsupported" >&53484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2868 3485 $as_echo "unsupported" >&6; } ;; 2869 3486 *) 2870 3487 CC="$CC $ac_cv_prog_cc_c89" 2871 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&53488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2872 3489 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2873 3490 esac 2874 3491 if test "x$ac_cv_prog_cc_c89" != xno; then : 3492 3493 fi 2875 3494 2876 3495 ac_ext=c … … 2881 3500 2882 3501 2883 if test -n "$ac_tool_prefix"; then2884 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.2885 set dummy ${ac_tool_prefix}ranlib; ac_word=$22886 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&52887 $as_echo_n "checking for $ac_word... " >&6; }2888 if test "${ac_cv_prog_RANLIB+set}" = set; then2889 $as_echo_n "(cached) " >&62890 else2891 if test -n "$RANLIB"; then2892 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.2893 else2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2895 for as_dir in $PATH2896 do2897 IFS=$as_save_IFS2898 test -z "$as_dir" && as_dir=.2899 for ac_exec_ext in '' $ac_executable_extensions; do2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2901 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"2902 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52903 break 22904 fi2905 done2906 done2907 IFS=$as_save_IFS2908 2909 fi2910 fi2911 RANLIB=$ac_cv_prog_RANLIB2912 if test -n "$RANLIB"; then2913 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&52914 $as_echo "$RANLIB" >&6; }2915 else2916 { $as_echo "$as_me:$LINENO: result: no" >&52917 $as_echo "no" >&6; }2918 fi2919 2920 2921 fi2922 if test -z "$ac_cv_prog_RANLIB"; then2923 ac_ct_RANLIB=$RANLIB2924 # Extract the first word of "ranlib", so it can be a program name with args.2925 set dummy ranlib; ac_word=$22926 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&52927 $as_echo_n "checking for $ac_word... " >&6; }2928 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then2929 $as_echo_n "(cached) " >&62930 else2931 if test -n "$ac_ct_RANLIB"; then2932 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.2933 else2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2935 for as_dir in $PATH2936 do2937 IFS=$as_save_IFS2938 test -z "$as_dir" && as_dir=.2939 for ac_exec_ext in '' $ac_executable_extensions; do2940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2941 ac_cv_prog_ac_ct_RANLIB="ranlib"2942 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52943 break 22944 fi2945 done2946 done2947 IFS=$as_save_IFS2948 2949 fi2950 fi2951 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB2952 if test -n "$ac_ct_RANLIB"; then2953 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&52954 $as_echo "$ac_ct_RANLIB" >&6; }2955 else2956 { $as_echo "$as_me:$LINENO: result: no" >&52957 $as_echo "no" >&6; }2958 fi2959 2960 if test "x$ac_ct_RANLIB" = x; then2961 RANLIB=":"2962 else2963 case $cross_compiling:$ac_tool_warned in2964 yes:)2965 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&52966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}2967 ac_tool_warned=yes ;;2968 esac2969 RANLIB=$ac_ct_RANLIB2970 fi2971 else2972 RANLIB="$ac_cv_prog_RANLIB"2973 fi2974 2975 3502 ac_ext=c 2976 3503 ac_cpp='$CPP $CPPFLAGS' … … 2978 3505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2979 3506 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2980 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&53507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 2981 3508 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2982 3509 # On Suns, sometimes $CPP names a directory. … … 2985 3512 fi 2986 3513 if test -z "$CPP"; then 2987 if test "${ac_cv_prog_CPP+set}" = set; then3514 if ${ac_cv_prog_CPP+:} false; then : 2988 3515 $as_echo_n "(cached) " >&6 2989 3516 else … … 3000 3527 # On the NeXT, cc -E runs the code through the compiler's parser, 3001 3528 # not just through cpp. "Syntax error" is here to catch this case. 3002 cat >conftest.$ac_ext <<_ACEOF 3003 /* confdefs.h. */ 3004 _ACEOF 3005 cat confdefs.h >>conftest.$ac_ext 3006 cat >>conftest.$ac_ext <<_ACEOF 3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3007 3530 /* end confdefs.h. */ 3008 3531 #ifdef __STDC__ … … 3013 3536 Syntax error 3014 3537 _ACEOF 3015 if { (ac_try="$ac_cpp conftest.$ac_ext" 3016 case "(($ac_try" in 3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3018 *) ac_try_echo=$ac_try;; 3019 esac 3020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3021 $as_echo "$ac_try_echo") >&5 3022 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3023 ac_status=$? 3024 grep -v '^ *+' conftest.er1 >conftest.err 3025 rm -f conftest.er1 3026 cat conftest.err >&5 3027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3028 (exit $ac_status); } >/dev/null && { 3029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3030 test ! -s conftest.err 3031 }; then 3032 : 3033 else 3034 $as_echo "$as_me: failed program was:" >&5 3035 sed 's/^/| /' conftest.$ac_ext >&5 3036 3538 if ac_fn_c_try_cpp "$LINENO"; then : 3539 3540 else 3037 3541 # Broken: fails on valid input. 3038 3542 continue 3039 3543 fi 3040 3041 rm -f conftest.err conftest.$ac_ext 3544 rm -f conftest.err conftest.i conftest.$ac_ext 3042 3545 3043 3546 # OK, works on sane cases. Now check whether nonexistent headers 3044 3547 # can be detected and how. 3045 cat >conftest.$ac_ext <<_ACEOF 3046 /* confdefs.h. */ 3047 _ACEOF 3048 cat confdefs.h >>conftest.$ac_ext 3049 cat >>conftest.$ac_ext <<_ACEOF 3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3050 3549 /* end confdefs.h. */ 3051 3550 #include <ac_nonexistent.h> 3052 3551 _ACEOF 3053 if { (ac_try="$ac_cpp conftest.$ac_ext" 3054 case "(($ac_try" in 3055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3056 *) ac_try_echo=$ac_try;; 3057 esac 3058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3059 $as_echo "$ac_try_echo") >&5 3060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3061 ac_status=$? 3062 grep -v '^ *+' conftest.er1 >conftest.err 3063 rm -f conftest.er1 3064 cat conftest.err >&5 3065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3066 (exit $ac_status); } >/dev/null && { 3067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3068 test ! -s conftest.err 3069 }; then 3552 if ac_fn_c_try_cpp "$LINENO"; then : 3070 3553 # Broken: success on invalid input. 3071 3554 continue 3072 3555 else 3073 $as_echo "$as_me: failed program was:" >&53074 sed 's/^/| /' conftest.$ac_ext >&53075 3076 3556 # Passes both tests. 3077 3557 ac_preproc_ok=: 3078 3558 break 3079 3559 fi 3080 3081 rm -f conftest.err conftest.$ac_ext 3560 rm -f conftest.err conftest.i conftest.$ac_ext 3082 3561 3083 3562 done 3084 3563 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3085 rm -f conftest. err conftest.$ac_ext3086 if $ac_preproc_ok; then 3564 rm -f conftest.i conftest.err conftest.$ac_ext 3565 if $ac_preproc_ok; then : 3087 3566 break 3088 3567 fi … … 3096 3575 ac_cv_prog_CPP=$CPP 3097 3576 fi 3098 { $as_echo "$as_me:$ LINENO: result: $CPP" >&53577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3099 3578 $as_echo "$CPP" >&6; } 3100 3579 ac_preproc_ok=false … … 3107 3586 # On the NeXT, cc -E runs the code through the compiler's parser, 3108 3587 # not just through cpp. "Syntax error" is here to catch this case. 3109 cat >conftest.$ac_ext <<_ACEOF 3110 /* confdefs.h. */ 3111 _ACEOF 3112 cat confdefs.h >>conftest.$ac_ext 3113 cat >>conftest.$ac_ext <<_ACEOF 3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3114 3589 /* end confdefs.h. */ 3115 3590 #ifdef __STDC__ … … 3120 3595 Syntax error 3121 3596 _ACEOF 3122 if { (ac_try="$ac_cpp conftest.$ac_ext" 3123 case "(($ac_try" in 3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3125 *) ac_try_echo=$ac_try;; 3126 esac 3127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3128 $as_echo "$ac_try_echo") >&5 3129 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3130 ac_status=$? 3131 grep -v '^ *+' conftest.er1 >conftest.err 3132 rm -f conftest.er1 3133 cat conftest.err >&5 3134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3135 (exit $ac_status); } >/dev/null && { 3136 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3137 test ! -s conftest.err 3138 }; then 3139 : 3140 else 3141 $as_echo "$as_me: failed program was:" >&5 3142 sed 's/^/| /' conftest.$ac_ext >&5 3143 3597 if ac_fn_c_try_cpp "$LINENO"; then : 3598 3599 else 3144 3600 # Broken: fails on valid input. 3145 3601 continue 3146 3602 fi 3147 3148 rm -f conftest.err conftest.$ac_ext 3603 rm -f conftest.err conftest.i conftest.$ac_ext 3149 3604 3150 3605 # OK, works on sane cases. Now check whether nonexistent headers 3151 3606 # can be detected and how. 3152 cat >conftest.$ac_ext <<_ACEOF 3153 /* confdefs.h. */ 3154 _ACEOF 3155 cat confdefs.h >>conftest.$ac_ext 3156 cat >>conftest.$ac_ext <<_ACEOF 3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3157 3608 /* end confdefs.h. */ 3158 3609 #include <ac_nonexistent.h> 3159 3610 _ACEOF 3160 if { (ac_try="$ac_cpp conftest.$ac_ext" 3161 case "(($ac_try" in 3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3163 *) ac_try_echo=$ac_try;; 3164 esac 3165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3166 $as_echo "$ac_try_echo") >&5 3167 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3168 ac_status=$? 3169 grep -v '^ *+' conftest.er1 >conftest.err 3170 rm -f conftest.er1 3171 cat conftest.err >&5 3172 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3173 (exit $ac_status); } >/dev/null && { 3174 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3175 test ! -s conftest.err 3176 }; then 3611 if ac_fn_c_try_cpp "$LINENO"; then : 3177 3612 # Broken: success on invalid input. 3178 3613 continue 3179 3614 else 3180 $as_echo "$as_me: failed program was:" >&53181 sed 's/^/| /' conftest.$ac_ext >&53182 3183 3615 # Passes both tests. 3184 3616 ac_preproc_ok=: 3185 3617 break 3186 3618 fi 3187 3188 rm -f conftest.err conftest.$ac_ext 3619 rm -f conftest.err conftest.i conftest.$ac_ext 3189 3620 3190 3621 done 3191 3622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3192 rm -f conftest. err conftest.$ac_ext3193 if $ac_preproc_ok; then 3194 : 3195 else 3196 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53623 rm -f conftest.i conftest.err conftest.$ac_ext 3624 if $ac_preproc_ok; then : 3625 3626 else 3627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3197 3628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3198 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3199 See \`config.log' for more details." >&5 3200 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3201 See \`config.log' for more details." >&2;} 3202 { (exit 1); exit 1; }; }; } 3629 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3630 See \`config.log' for more details" "$LINENO" 5; } 3203 3631 fi 3204 3632 … … 3210 3638 3211 3639 3212 { $as_echo "$as_me:$ LINENO: checking for grep that handles long lines and -e" >&53640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3213 3641 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3214 if test "${ac_cv_path_GREP+set}" = set; then3642 if ${ac_cv_path_GREP+:} false; then : 3215 3643 $as_echo_n "(cached) " >&6 3216 3644 else … … 3223 3651 IFS=$as_save_IFS 3224 3652 test -z "$as_dir" && as_dir=. 3225 for ac_prog in grep ggrep; do3653 for ac_prog in grep ggrep; do 3226 3654 for ac_exec_ext in '' $ac_executable_extensions; do 3227 3655 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" … … 3243 3671 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3244 3672 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3245 a c_count=`expr $ac_count + 1`3673 as_fn_arith $ac_count + 1 && ac_count=$as_val 3246 3674 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3247 3675 # Best one so far, save it but keep looking for a better one … … 3258 3686 done 3259 3687 done 3260 done3688 done 3261 3689 IFS=$as_save_IFS 3262 3690 if test -z "$ac_cv_path_GREP"; then 3263 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3264 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3265 { (exit 1); exit 1; }; } 3691 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3266 3692 fi 3267 3693 else … … 3270 3696 3271 3697 fi 3272 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_GREP" >&53698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3273 3699 $as_echo "$ac_cv_path_GREP" >&6; } 3274 3700 GREP="$ac_cv_path_GREP" 3275 3701 3276 3702 3277 { $as_echo "$as_me:$ LINENO: checking for egrep" >&53703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3278 3704 $as_echo_n "checking for egrep... " >&6; } 3279 if test "${ac_cv_path_EGREP+set}" = set; then3705 if ${ac_cv_path_EGREP+:} false; then : 3280 3706 $as_echo_n "(cached) " >&6 3281 3707 else … … 3291 3717 IFS=$as_save_IFS 3292 3718 test -z "$as_dir" && as_dir=. 3293 for ac_prog in egrep; do3719 for ac_prog in egrep; do 3294 3720 for ac_exec_ext in '' $ac_executable_extensions; do 3295 3721 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" … … 3311 3737 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3312 3738 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3313 a c_count=`expr $ac_count + 1`3739 as_fn_arith $ac_count + 1 && ac_count=$as_val 3314 3740 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3315 3741 # Best one so far, save it but keep looking for a better one … … 3326 3752 done 3327 3753 done 3328 done3754 done 3329 3755 IFS=$as_save_IFS 3330 3756 if test -z "$ac_cv_path_EGREP"; then 3331 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3332 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3333 { (exit 1); exit 1; }; } 3757 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3334 3758 fi 3335 3759 else … … 3339 3763 fi 3340 3764 fi 3341 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_EGREP" >&53765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3342 3766 $as_echo "$ac_cv_path_EGREP" >&6; } 3343 3767 EGREP="$ac_cv_path_EGREP" 3344 3768 3345 3769 3346 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&53770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3347 3771 $as_echo_n "checking for ANSI C header files... " >&6; } 3348 if test "${ac_cv_header_stdc+set}" = set; then3772 if ${ac_cv_header_stdc+:} false; then : 3349 3773 $as_echo_n "(cached) " >&6 3350 3774 else 3351 cat >conftest.$ac_ext <<_ACEOF 3352 /* confdefs.h. */ 3353 _ACEOF 3354 cat confdefs.h >>conftest.$ac_ext 3355 cat >>conftest.$ac_ext <<_ACEOF 3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3356 3776 /* end confdefs.h. */ 3357 3777 #include <stdlib.h> … … 3368 3788 } 3369 3789 _ACEOF 3370 rm -f conftest.$ac_objext 3371 if { (ac_try="$ac_compile" 3372 case "(($ac_try" in 3373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3374 *) ac_try_echo=$ac_try;; 3375 esac 3376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3377 $as_echo "$ac_try_echo") >&5 3378 (eval "$ac_compile") 2>conftest.er1 3379 ac_status=$? 3380 grep -v '^ *+' conftest.er1 >conftest.err 3381 rm -f conftest.er1 3382 cat conftest.err >&5 3383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3384 (exit $ac_status); } && { 3385 test -z "$ac_c_werror_flag" || 3386 test ! -s conftest.err 3387 } && test -s conftest.$ac_objext; then 3790 if ac_fn_c_try_compile "$LINENO"; then : 3388 3791 ac_cv_header_stdc=yes 3389 3792 else 3390 $as_echo "$as_me: failed program was:" >&5 3391 sed 's/^/| /' conftest.$ac_ext >&5 3392 3393 ac_cv_header_stdc=no 3394 fi 3395 3793 ac_cv_header_stdc=no 3794 fi 3396 3795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3397 3796 3398 3797 if test $ac_cv_header_stdc = yes; then 3399 3798 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3400 cat >conftest.$ac_ext <<_ACEOF 3401 /* confdefs.h. */ 3402 _ACEOF 3403 cat confdefs.h >>conftest.$ac_ext 3404 cat >>conftest.$ac_ext <<_ACEOF 3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3405 3800 /* end confdefs.h. */ 3406 3801 #include <string.h> … … 3408 3803 _ACEOF 3409 3804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3410 $EGREP "memchr" >/dev/null 2>&1; then 3411 : 3805 $EGREP "memchr" >/dev/null 2>&1; then : 3806 3412 3807 else 3413 3808 ac_cv_header_stdc=no … … 3419 3814 if test $ac_cv_header_stdc = yes; then 3420 3815 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3421 cat >conftest.$ac_ext <<_ACEOF 3422 /* confdefs.h. */ 3423 _ACEOF 3424 cat confdefs.h >>conftest.$ac_ext 3425 cat >>conftest.$ac_ext <<_ACEOF 3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3426 3817 /* end confdefs.h. */ 3427 3818 #include <stdlib.h> … … 3429 3820 _ACEOF 3430 3821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3431 $EGREP "free" >/dev/null 2>&1; then 3432 : 3822 $EGREP "free" >/dev/null 2>&1; then : 3823 3433 3824 else 3434 3825 ac_cv_header_stdc=no … … 3440 3831 if test $ac_cv_header_stdc = yes; then 3441 3832 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3442 if test "$cross_compiling" = yes; then 3833 if test "$cross_compiling" = yes; then : 3443 3834 : 3444 3835 else 3445 cat >conftest.$ac_ext <<_ACEOF 3446 /* confdefs.h. */ 3447 _ACEOF 3448 cat confdefs.h >>conftest.$ac_ext 3449 cat >>conftest.$ac_ext <<_ACEOF 3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3450 3837 /* end confdefs.h. */ 3451 3838 #include <ctype.h> … … 3474 3861 } 3475 3862 _ACEOF 3476 rm -f conftest$ac_exeext 3477 if { (ac_try="$ac_link" 3478 case "(($ac_try" in 3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3480 *) ac_try_echo=$ac_try;; 3481 esac 3482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3483 $as_echo "$ac_try_echo") >&5 3484 (eval "$ac_link") 2>&5 3485 ac_status=$? 3486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3488 { (case "(($ac_try" in 3489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3490 *) ac_try_echo=$ac_try;; 3491 esac 3492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3493 $as_echo "$ac_try_echo") >&5 3494 (eval "$ac_try") 2>&5 3495 ac_status=$? 3496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3497 (exit $ac_status); }; }; then 3498 : 3499 else 3500 $as_echo "$as_me: program exited with status $ac_status" >&5 3501 $as_echo "$as_me: failed program was:" >&5 3502 sed 's/^/| /' conftest.$ac_ext >&5 3503 3504 ( exit $ac_status ) 3505 ac_cv_header_stdc=no 3506 fi 3507 rm -rf conftest.dSYM 3508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3509 fi 3510 3511 3512 fi 3513 fi 3514 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 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 3515 3875 $as_echo "$ac_cv_header_stdc" >&6; } 3516 3876 if test $ac_cv_header_stdc = yes; then 3517 3877 3518 cat >>confdefs.h <<\_ACEOF 3519 #define STDC_HEADERS 1 3520 _ACEOF 3878 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3521 3879 3522 3880 fi 3523 3881 3524 3882 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3883 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3535 3884 inttypes.h stdint.h unistd.h 3536 do 3537 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3538 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3539 $as_echo_n "checking for $ac_header... " >&6; } 3540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3541 $as_echo_n "(cached) " >&6 3542 else 3543 cat >conftest.$ac_ext <<_ACEOF 3544 /* confdefs.h. */ 3545 _ACEOF 3546 cat confdefs.h >>conftest.$ac_ext 3547 cat >>conftest.$ac_ext <<_ACEOF 3548 /* end confdefs.h. */ 3549 $ac_includes_default 3550 3551 #include <$ac_header> 3552 _ACEOF 3553 rm -f conftest.$ac_objext 3554 if { (ac_try="$ac_compile" 3555 case "(($ac_try" in 3556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3557 *) ac_try_echo=$ac_try;; 3558 esac 3559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3560 $as_echo "$ac_try_echo") >&5 3561 (eval "$ac_compile") 2>conftest.er1 3562 ac_status=$? 3563 grep -v '^ *+' conftest.er1 >conftest.err 3564 rm -f conftest.er1 3565 cat conftest.err >&5 3566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3567 (exit $ac_status); } && { 3568 test -z "$ac_c_werror_flag" || 3569 test ! -s conftest.err 3570 } && test -s conftest.$ac_objext; then 3571 eval "$as_ac_Header=yes" 3572 else 3573 $as_echo "$as_me: failed program was:" >&5 3574 sed 's/^/| /' conftest.$ac_ext >&5 3575 3576 eval "$as_ac_Header=no" 3577 fi 3578 3579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3580 fi 3581 ac_res=`eval 'as_val=${'$as_ac_Header'} 3582 $as_echo "$as_val"'` 3583 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3584 $as_echo "$ac_res" >&6; } 3585 as_val=`eval 'as_val=${'$as_ac_Header'} 3586 $as_echo "$as_val"'` 3587 if test "x$as_val" = x""yes; then 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 : 3588 3890 cat >>confdefs.h <<_ACEOF 3589 3891 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 3596 3898 3597 3899 3900 PYTHON="" 3901 PYTHON_CFLAGS="" 3902 PYTHON_CPPFLAGS="" 3903 PYTHON_DISTUTILS="" 3904 PYTHON_INCLUDES="" 3905 PYTHON_LDFLAGS="" 3906 PYTHON_LIB="" 3907 PYTHON_LIBDIR="" 3908 PYTHON_SITE_DIR="" 3909 PYTHON_SITE_PACKAGES="" 3910 PYTHON_VERSION="" 3911 pythondir="" 3912 3913 # Check whether --with-python was given. 3914 if test "${with_python+set}" = set; then : 3915 withval=$with_python; 3916 else 3917 with_python=yes 3918 fi 3919 3920 3921 if test "$with_python" != "no" ; then 3922 if test "$with_python" = "yes" ; then 3923 # 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 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" >&5 3926 $as_echo_n "checking for $ac_word... " >&6; } 3927 if ${ac_cv_path_PYTHON+:} false; then : 3928 $as_echo_n "(cached) " >&6 3929 else 3930 case $PYTHON in 3931 [\\/]* | ?:[\\/]*) 3932 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 3933 ;; 3934 *) 3935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3936 for as_dir in $PATH 3937 do 3938 IFS=$as_save_IFS 3939 test -z "$as_dir" && as_dir=. 3940 for ac_exec_ext in '' $ac_executable_extensions; do 3941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3942 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" >&5 3944 break 2 3945 fi 3946 done 3947 done 3948 IFS=$as_save_IFS 3949 3950 ;; 3951 esac 3952 fi 3953 PYTHON=$ac_cv_path_PYTHON 3954 if test -n "$PYTHON"; then 3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 3956 $as_echo "$PYTHON" >&6; } 3957 else 3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3959 $as_echo "no" >&6; } 3960 fi 3961 3962 3963 else 3964 # Extract the first word of "python", so it can be a program name with args. 3965 set dummy python; ac_word=$2 3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3967 $as_echo_n "checking for $ac_word... " >&6; } 3968 if ${ac_cv_path_PYTHON+:} false; then : 3969 $as_echo_n "(cached) " >&6 3970 else 3971 case $PYTHON in 3972 [\\/]* | ?:[\\/]*) 3973 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 3974 ;; 3975 *) 3976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3977 as_dummy="${with_python}/bin:${with_python}" 3978 for as_dir in $as_dummy 3979 do 3980 IFS=$as_save_IFS 3981 test -z "$as_dir" && as_dir=. 3982 for ac_exec_ext in '' $ac_executable_extensions; do 3983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3984 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" >&5 3986 break 2 3987 fi 3988 done 3989 done 3990 IFS=$as_save_IFS 3991 3992 ;; 3993 esac 3994 fi 3995 PYTHON=$ac_cv_path_PYTHON 3996 if test -n "$PYTHON"; then 3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 3998 $as_echo "$PYTHON" >&6; } 3999 else 4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4001 $as_echo "no" >&6; } 4002 fi 4003 4004 4005 fi 4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5 4007 $as_echo_n "checking for Python version... " >&6; } 4008 if test "x${PYTHON}" != "x"; then 4009 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 4010 fi 4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5 4012 $as_echo "$PYTHON_VERSION" >&6; } 4013 fi 4014 4015 if test "x${PYTHON_VERSION}" != "x"; then 4016 PYTHON_INCLUDES=$incdir 4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5 4018 $as_echo_n "checking for Python distutils... " >&6; } 4019 PYTHON_DISTUTILS="" 4020 ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \ 4021 build build_ext 2>&1 > /dev/null 4022 if test $? = 0 ; then 4023 PYTHON_DISTUTILS="yes" 4024 fi 4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5 4026 $as_echo "$PYTHON_DISTUTILS" >&6; } 4027 if test "${PYTHON_DISTUTILS}" = "yes" ; then 4028 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` 4029 # 4030 # Check for Python include path 4031 # 4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5 4033 $as_echo_n "checking path to Python headers... " >&6; } 4034 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 4035 print distutils.sysconfig.get_python_inc();"` 4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5 4037 $as_echo "$PYTHON_INCDIR" >&6; } 4038 # 4039 # Python distutils found, get settings from python directly 4040 # 4041 PYTHON_SITE_DIR="`${PYTHON} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0);'`" 4042 4043 PYTHON_CFLAGS="`$PYTHON -c 'from distutils import sysconfig; flags = [\"-I\" + sysconfig.get_python_inc(0), \"-I\" + sysconfig.get_python_inc(1), \" \".join(sysconfig.get_config_var(\"CFLAGS\").split())]; print \" \".join(flags);'`" 4044 PYTHON_LDFLAGS="`$PYTHON -c 'from distutils import sysconfig; libs = sysconfig.get_config_var(\"LIBS\").split() + sysconfig.get_config_var(\"SYSLIBS\").split(); libs.append(\"-lpython\"+sysconfig.get_config_var(\"VERSION\")); print \" \".join(libs);'`" 4045 PYTHON_LIB="`$PYTHON -c 'from distutils import sysconfig; print \"python\" + sysconfig.get_config_var(\"VERSION\");'`" 4046 PYTHON_LIBDIR="`$PYTHON -c 'from distutils import sysconfig; print sysconfig.get_config_var(\"LIBDIR\");'`" 4047 save_CPPFLAGS=$CPPFLAGS 4048 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 : 4053 cat >>confdefs.h <<_ACEOF 4054 #define HAVE_PYTHON_H 1 4055 _ACEOF 4056 found=yes 4057 else 4058 found=no 4059 fi 4060 4061 done 4062 4063 CPPFLAGS=$save_CPPFLAGS 4064 if test "$found" = "no" ; then 4065 PYTHON_DISTUTILS="" 4066 fi 4067 fi 4068 fi 4069 4070 4071 VERSION=0.0.1 4072 4073 #------------------------------------------------------------------------ 4074 # Handle the --prefix=... option 4075 #------------------------------------------------------------------------ 4076 4077 if test "${prefix}" = "NONE"; then 4078 prefix=/usr/local 4079 fi 4080 if test "${exec_prefix}" = "NONE"; then 4081 exec_prefix=$prefix 4082 fi 4083 4084 if test "x${incdir}" == "x"; then 4085 incdir=${exec_prefix}/include 4086 fi 4087 libdir=${exec_prefix}/lib 4088 4089 if test "${libdir}" != "${prefix}/lib"; then 4090 LIB_SEARCH_DIRS="-L ${prefix}/lib -L ${libdir}" 4091 else 4092 LIB_SEARCH_DIRS="-L ${libdir}" 4093 fi 4094 4095 if test -n "$ac_tool_prefix"; then 4096 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4097 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4099 $as_echo_n "checking for $ac_word... " >&6; } 4100 if ${ac_cv_prog_RANLIB+:} false; then : 4101 $as_echo_n "(cached) " >&6 4102 else 4103 if test -n "$RANLIB"; then 4104 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4105 else 4106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4107 for as_dir in $PATH 4108 do 4109 IFS=$as_save_IFS 4110 test -z "$as_dir" && as_dir=. 4111 for ac_exec_ext in '' $ac_executable_extensions; do 4112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4113 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4115 break 2 4116 fi 4117 done 4118 done 4119 IFS=$as_save_IFS 4120 4121 fi 4122 fi 4123 RANLIB=$ac_cv_prog_RANLIB 4124 if test -n "$RANLIB"; then 4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4126 $as_echo "$RANLIB" >&6; } 4127 else 4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4129 $as_echo "no" >&6; } 4130 fi 4131 4132 4133 fi 4134 if test -z "$ac_cv_prog_RANLIB"; then 4135 ac_ct_RANLIB=$RANLIB 4136 # Extract the first word of "ranlib", so it can be a program name with args. 4137 set dummy ranlib; ac_word=$2 4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4139 $as_echo_n "checking for $ac_word... " >&6; } 4140 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4141 $as_echo_n "(cached) " >&6 4142 else 4143 if test -n "$ac_ct_RANLIB"; then 4144 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4145 else 4146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4147 for as_dir in $PATH 4148 do 4149 IFS=$as_save_IFS 4150 test -z "$as_dir" && as_dir=. 4151 for ac_exec_ext in '' $ac_executable_extensions; do 4152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4153 ac_cv_prog_ac_ct_RANLIB="ranlib" 4154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4155 break 2 4156 fi 4157 done 4158 done 4159 IFS=$as_save_IFS 4160 4161 fi 4162 fi 4163 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4164 if test -n "$ac_ct_RANLIB"; then 4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4166 $as_echo "$ac_ct_RANLIB" >&6; } 4167 else 4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4169 $as_echo "no" >&6; } 4170 fi 4171 4172 if test "x$ac_ct_RANLIB" = x; then 4173 RANLIB=":" 4174 else 4175 case $cross_compiling:$ac_tool_warned in 4176 yes:) 4177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4179 ac_tool_warned=yes ;; 4180 esac 4181 RANLIB=$ac_ct_RANLIB 4182 fi 4183 else 4184 RANLIB="$ac_cv_prog_RANLIB" 4185 fi 4186 4187 3598 4188 3599 4189 # Step 0.a: Enable 64 bit support? 3600 4190 3601 { $as_echo "$as_me:$ LINENO: checking if 64bit support is requested" >&54191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 3602 4192 $as_echo_n "checking if 64bit support is requested... " >&6; } 3603 4193 # Check whether --enable-64bit was given. 3604 if test "${enable_64bit+set}" = set; then 4194 if test "${enable_64bit+set}" = set; then : 3605 4195 enableval=$enable_64bit; do64bit=$enableval 3606 4196 else … … 3608 4198 fi 3609 4199 3610 { $as_echo "$as_me:$ LINENO: result: $do64bit" >&54200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 3611 4201 $as_echo "$do64bit" >&6; } 3612 4202 3613 4203 # Step 0.b: Enable Solaris 64 bit VIS support? 3614 4204 3615 { $as_echo "$as_me:$ LINENO: checking if 64bit Sparc VIS support is requested" >&54205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 3616 4206 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 3617 4207 # Check whether --enable-64bit-vis was given. 3618 if test "${enable_64bit_vis+set}" = set; then 4208 if test "${enable_64bit_vis+set}" = set; then : 3619 4209 enableval=$enable_64bit_vis; do64bitVIS=$enableval 3620 4210 else … … 3622 4212 fi 3623 4213 3624 { $as_echo "$as_me:$ LINENO: result: $do64bitVIS" >&54214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 3625 4215 $as_echo "$do64bitVIS" >&6; } 3626 4216 … … 3634 4224 3635 4225 3636 { $as_echo "$as_me:$ LINENO: checking system version" >&54226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 3637 4227 $as_echo_n "checking system version... " >&6; } 3638 if test "${tcl_cv_sys_version+set}" = set; then4228 if ${tcl_cv_sys_version+:} false; then : 3639 4229 $as_echo_n "(cached) " >&6 3640 4230 else … … 3645 4235 tcl_cv_sys_version=`uname -s`-`uname -r` 3646 4236 if test "$?" -ne 0 ; then 3647 { $as_echo "$as_me:$ LINENO: WARNING: can't find uname command" >&54237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 3648 4238 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 3649 4239 tcl_cv_sys_version=unknown … … 3662 4252 3663 4253 fi 3664 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sys_version" >&54254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 3665 4255 $as_echo "$tcl_cv_sys_version" >&6; } 3666 4256 system=$tcl_cv_sys_version … … 3670 4260 # Linux can use either -ldl or -ldld for dynamic loading. 3671 4261 3672 { $as_echo "$as_me:$ LINENO: checking for dlopen in -ldl" >&54262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 3673 4263 $as_echo_n "checking for dlopen in -ldl... " >&6; } 3674 if test "${ac_cv_lib_dl_dlopen+set}" = set; then4264 if ${ac_cv_lib_dl_dlopen+:} false; then : 3675 4265 $as_echo_n "(cached) " >&6 3676 4266 else 3677 4267 ac_check_lib_save_LIBS=$LIBS 3678 4268 LIBS="-ldl $LIBS" 3679 cat >conftest.$ac_ext <<_ACEOF 3680 /* confdefs.h. */ 3681 _ACEOF 3682 cat confdefs.h >>conftest.$ac_ext 3683 cat >>conftest.$ac_ext <<_ACEOF 4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3684 4270 /* end confdefs.h. */ 3685 4271 … … 3699 4285 } 3700 4286 _ACEOF 3701 rm -f conftest.$ac_objext conftest$ac_exeext 3702 if { (ac_try="$ac_link" 3703 case "(($ac_try" in 3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3705 *) ac_try_echo=$ac_try;; 3706 esac 3707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3708 $as_echo "$ac_try_echo") >&5 3709 (eval "$ac_link") 2>conftest.er1 3710 ac_status=$? 3711 grep -v '^ *+' conftest.er1 >conftest.err 3712 rm -f conftest.er1 3713 cat conftest.err >&5 3714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3715 (exit $ac_status); } && { 3716 test -z "$ac_c_werror_flag" || 3717 test ! -s conftest.err 3718 } && test -s conftest$ac_exeext && { 3719 test "$cross_compiling" = yes || 3720 $as_test_x conftest$ac_exeext 3721 }; then 4287 if ac_fn_c_try_link "$LINENO"; then : 3722 4288 ac_cv_lib_dl_dlopen=yes 3723 4289 else 3724 $as_echo "$as_me: failed program was:" >&5 3725 sed 's/^/| /' conftest.$ac_ext >&5 3726 3727 ac_cv_lib_dl_dlopen=no 3728 fi 3729 3730 rm -rf conftest.dSYM 3731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3732 conftest$ac_exeext conftest.$ac_ext 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 3733 4294 LIBS=$ac_check_lib_save_LIBS 3734 4295 fi 3735 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dl_dlopen" >&54296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 3736 4297 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 3737 if test "x$ac_cv_lib_dl_dlopen" = x ""yes; then4298 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 3738 4299 have_dl=yes 3739 4300 else … … 3767 4328 # Extract the first word of "ar", so it can be a program name with args. 3768 4329 set dummy ar; ac_word=$2 3769 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3770 4331 $as_echo_n "checking for $ac_word... " >&6; } 3771 if test "${ac_cv_prog_AR+set}" = set; then4332 if ${ac_cv_prog_AR+:} false; then : 3772 4333 $as_echo_n "(cached) " >&6 3773 4334 else … … 3780 4341 IFS=$as_save_IFS 3781 4342 test -z "$as_dir" && as_dir=. 3782 for ac_exec_ext in '' $ac_executable_extensions; do4343 for ac_exec_ext in '' $ac_executable_extensions; do 3783 4344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3784 4345 ac_cv_prog_AR="ar" 3785 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3786 4347 break 2 3787 4348 fi 3788 4349 done 3789 done4350 done 3790 4351 IFS=$as_save_IFS 3791 4352 … … 3794 4355 AR=$ac_cv_prog_AR 3795 4356 if test -n "$AR"; then 3796 { $as_echo "$as_me:$ LINENO: result: $AR" >&54357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 3797 4358 $as_echo "$AR" >&6; } 3798 4359 else 3799 { $as_echo "$as_me:$ LINENO: result: no" >&54360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3800 4361 $as_echo "no" >&6; } 3801 4362 fi … … 3803 4364 3804 4365 if test "${AR}" = "" ; then 3805 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 3806 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 3807 { (exit 1); exit 1; }; } 4366 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 3808 4367 fi 3809 4368 STLIB_LD='${AR} cr' … … 3823 4382 ;; 3824 4383 esac 3825 { $as_echo "$as_me:$ LINENO: result: Using $CC for compiling with threads" >&54384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 3826 4385 $as_echo "Using $CC for compiling with threads" >&6; } 3827 4386 fi … … 3839 4398 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 3840 4399 if test "$GCC" = "yes" ; then 3841 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&54400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 3842 4401 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 3843 4402 else … … 3894 4453 # known GMT value. 3895 4454 3896 { $as_echo "$as_me:$ LINENO: checking for gettimeofday in -lbsd" >&54455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 3897 4456 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 3898 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then4457 if ${ac_cv_lib_bsd_gettimeofday+:} false; then : 3899 4458 $as_echo_n "(cached) " >&6 3900 4459 else 3901 4460 ac_check_lib_save_LIBS=$LIBS 3902 4461 LIBS="-lbsd $LIBS" 3903 cat >conftest.$ac_ext <<_ACEOF 3904 /* confdefs.h. */ 3905 _ACEOF 3906 cat confdefs.h >>conftest.$ac_ext 3907 cat >>conftest.$ac_ext <<_ACEOF 4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3908 4463 /* end confdefs.h. */ 3909 4464 … … 3923 4478 } 3924 4479 _ACEOF 3925 rm -f conftest.$ac_objext conftest$ac_exeext 3926 if { (ac_try="$ac_link" 3927 case "(($ac_try" in 3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3929 *) ac_try_echo=$ac_try;; 3930 esac 3931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3932 $as_echo "$ac_try_echo") >&5 3933 (eval "$ac_link") 2>conftest.er1 3934 ac_status=$? 3935 grep -v '^ *+' conftest.er1 >conftest.err 3936 rm -f conftest.er1 3937 cat conftest.err >&5 3938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3939 (exit $ac_status); } && { 3940 test -z "$ac_c_werror_flag" || 3941 test ! -s conftest.err 3942 } && test -s conftest$ac_exeext && { 3943 test "$cross_compiling" = yes || 3944 $as_test_x conftest$ac_exeext 3945 }; then 4480 if ac_fn_c_try_link "$LINENO"; then : 3946 4481 ac_cv_lib_bsd_gettimeofday=yes 3947 4482 else 3948 $as_echo "$as_me: failed program was:" >&5 3949 sed 's/^/| /' conftest.$ac_ext >&5 3950 3951 ac_cv_lib_bsd_gettimeofday=no 3952 fi 3953 3954 rm -rf conftest.dSYM 3955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3956 conftest$ac_exeext conftest.$ac_ext 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 3957 4487 LIBS=$ac_check_lib_save_LIBS 3958 4488 fi 3959 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&54489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 3960 4490 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 3961 if test "x$ac_cv_lib_bsd_gettimeofday" = x ""yes; then4491 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then : 3962 4492 libbsd=yes 3963 4493 else … … 3967 4497 if test $libbsd = yes; then 3968 4498 MATH_LIBS="$MATH_LIBS -lbsd" 3969 cat >>confdefs.h <<\_ACEOF 3970 #define USE_DELTA_FOR_TZ 1 3971 _ACEOF 4499 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 3972 4500 3973 4501 fi … … 3986 4514 # is always linked to, for compatibility. 3987 4515 #----------------------------------------------------------- 3988 { $as_echo "$as_me:$ LINENO: checking for inet_ntoa in -lbind" >&54516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 3989 4517 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 3990 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then4518 if ${ac_cv_lib_bind_inet_ntoa+:} false; then : 3991 4519 $as_echo_n "(cached) " >&6 3992 4520 else 3993 4521 ac_check_lib_save_LIBS=$LIBS 3994 4522 LIBS="-lbind $LIBS" 3995 cat >conftest.$ac_ext <<_ACEOF 3996 /* confdefs.h. */ 3997 _ACEOF 3998 cat confdefs.h >>conftest.$ac_ext 3999 cat >>conftest.$ac_ext <<_ACEOF 4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4000 4524 /* end confdefs.h. */ 4001 4525 … … 4015 4539 } 4016 4540 _ACEOF 4017 rm -f conftest.$ac_objext conftest$ac_exeext 4018 if { (ac_try="$ac_link" 4019 case "(($ac_try" in 4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4021 *) ac_try_echo=$ac_try;; 4022 esac 4023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4024 $as_echo "$ac_try_echo") >&5 4025 (eval "$ac_link") 2>conftest.er1 4026 ac_status=$? 4027 grep -v '^ *+' conftest.er1 >conftest.err 4028 rm -f conftest.er1 4029 cat conftest.err >&5 4030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4031 (exit $ac_status); } && { 4032 test -z "$ac_c_werror_flag" || 4033 test ! -s conftest.err 4034 } && test -s conftest$ac_exeext && { 4035 test "$cross_compiling" = yes || 4036 $as_test_x conftest$ac_exeext 4037 }; then 4541 if ac_fn_c_try_link "$LINENO"; then : 4038 4542 ac_cv_lib_bind_inet_ntoa=yes 4039 4543 else 4040 $as_echo "$as_me: failed program was:" >&5 4041 sed 's/^/| /' conftest.$ac_ext >&5 4042 4043 ac_cv_lib_bind_inet_ntoa=no 4044 fi 4045 4046 rm -rf conftest.dSYM 4047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4048 conftest$ac_exeext conftest.$ac_ext 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 4049 4548 LIBS=$ac_check_lib_save_LIBS 4050 4549 fi 4051 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&54550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 4052 4551 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 4053 if test "x$ac_cv_lib_bind_inet_ntoa" = x ""yes; then4552 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then : 4054 4553 LIBS="$LIBS -lbind -lsocket" 4055 4554 fi … … 4089 4588 HP-UX-*.11.*) 4090 4589 # Use updated header definitions where possible 4091 cat >>confdefs.h <<\_ACEOF 4092 #define _XOPEN_SOURCE 1 4093 _ACEOF 4590 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 4094 4591 # Use the XOPEN network library 4095 cat >>confdefs.h <<\_ACEOF 4096 #define _XOPEN_SOURCE_EXTENDED 1 4097 _ACEOF 4592 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 4098 4593 # Use the XOPEN network library 4099 4594 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 4104 4599 SHLIB_SUFFIX=".sl" 4105 4600 fi 4106 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&54601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 4107 4602 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4108 if test "${ac_cv_lib_dld_shl_load+set}" = set; then4603 if ${ac_cv_lib_dld_shl_load+:} false; then : 4109 4604 $as_echo_n "(cached) " >&6 4110 4605 else 4111 4606 ac_check_lib_save_LIBS=$LIBS 4112 4607 LIBS="-ldld $LIBS" 4113 cat >conftest.$ac_ext <<_ACEOF 4114 /* confdefs.h. */ 4115 _ACEOF 4116 cat confdefs.h >>conftest.$ac_ext 4117 cat >>conftest.$ac_ext <<_ACEOF 4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4118 4609 /* end confdefs.h. */ 4119 4610 … … 4133 4624 } 4134 4625 _ACEOF 4135 rm -f conftest.$ac_objext conftest$ac_exeext 4136 if { (ac_try="$ac_link" 4137 case "(($ac_try" in 4138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4139 *) ac_try_echo=$ac_try;; 4140 esac 4141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4142 $as_echo "$ac_try_echo") >&5 4143 (eval "$ac_link") 2>conftest.er1 4144 ac_status=$? 4145 grep -v '^ *+' conftest.er1 >conftest.err 4146 rm -f conftest.er1 4147 cat conftest.err >&5 4148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4149 (exit $ac_status); } && { 4150 test -z "$ac_c_werror_flag" || 4151 test ! -s conftest.err 4152 } && test -s conftest$ac_exeext && { 4153 test "$cross_compiling" = yes || 4154 $as_test_x conftest$ac_exeext 4155 }; then 4626 if ac_fn_c_try_link "$LINENO"; then : 4156 4627 ac_cv_lib_dld_shl_load=yes 4157 4628 else 4158 $as_echo "$as_me: failed program was:" >&5 4159 sed 's/^/| /' conftest.$ac_ext >&5 4160 4161 ac_cv_lib_dld_shl_load=no 4162 fi 4163 4164 rm -rf conftest.dSYM 4165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4166 conftest$ac_exeext conftest.$ac_ext 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 4167 4633 LIBS=$ac_check_lib_save_LIBS 4168 4634 fi 4169 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&54635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 4170 4636 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4171 if test "x$ac_cv_lib_dld_shl_load" = x ""yes; then4637 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 4172 4638 tcl_ok=yes 4173 4639 else … … 4209 4675 ;; 4210 4676 *) 4211 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&54677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 4212 4678 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4213 4679 ;; … … 4222 4688 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 4223 4689 SHLIB_SUFFIX=".sl" 4224 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&54690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 4225 4691 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4226 if test "${ac_cv_lib_dld_shl_load+set}" = set; then4692 if ${ac_cv_lib_dld_shl_load+:} false; then : 4227 4693 $as_echo_n "(cached) " >&6 4228 4694 else 4229 4695 ac_check_lib_save_LIBS=$LIBS 4230 4696 LIBS="-ldld $LIBS" 4231 cat >conftest.$ac_ext <<_ACEOF 4232 /* confdefs.h. */ 4233 _ACEOF 4234 cat confdefs.h >>conftest.$ac_ext 4235 cat >>conftest.$ac_ext <<_ACEOF 4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4236 4698 /* end confdefs.h. */ 4237 4699 … … 4251 4713 } 4252 4714 _ACEOF 4253 rm -f conftest.$ac_objext conftest$ac_exeext 4254 if { (ac_try="$ac_link" 4255 case "(($ac_try" in 4256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4257 *) ac_try_echo=$ac_try;; 4258 esac 4259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4260 $as_echo "$ac_try_echo") >&5 4261 (eval "$ac_link") 2>conftest.er1 4262 ac_status=$? 4263 grep -v '^ *+' conftest.er1 >conftest.err 4264 rm -f conftest.er1 4265 cat conftest.err >&5 4266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4267 (exit $ac_status); } && { 4268 test -z "$ac_c_werror_flag" || 4269 test ! -s conftest.err 4270 } && test -s conftest$ac_exeext && { 4271 test "$cross_compiling" = yes || 4272 $as_test_x conftest$ac_exeext 4273 }; then 4715 if ac_fn_c_try_link "$LINENO"; then : 4274 4716 ac_cv_lib_dld_shl_load=yes 4275 4717 else 4276 $as_echo "$as_me: failed program was:" >&5 4277 sed 's/^/| /' conftest.$ac_ext >&5 4278 4279 ac_cv_lib_dld_shl_load=no 4280 fi 4281 4282 rm -rf conftest.dSYM 4283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4284 conftest$ac_exeext conftest.$ac_ext 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 4285 4722 LIBS=$ac_check_lib_save_LIBS 4286 4723 fi 4287 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&54724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 4288 4725 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4289 if test "x$ac_cv_lib_dld_shl_load" = x ""yes; then4726 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 4290 4727 tcl_ok=yes 4291 4728 else … … 4366 4803 if test "$do64bit" = "yes" ; then 4367 4804 if test "$GCC" = "yes" ; then 4368 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported by gcc" >&54805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 4369 4806 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 4370 4807 else … … 4395 4832 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4396 4833 else 4397 if test "${ac_cv_header_dld_h+set}" = set; then 4398 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4399 $as_echo_n "checking for dld.h... " >&6; } 4400 if test "${ac_cv_header_dld_h+set}" = set; then 4401 $as_echo_n "(cached) " >&6 4402 fi 4403 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4404 $as_echo "$ac_cv_header_dld_h" >&6; } 4405 else 4406 # Is the header compilable? 4407 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4408 $as_echo_n "checking dld.h usability... " >&6; } 4409 cat >conftest.$ac_ext <<_ACEOF 4410 /* confdefs.h. */ 4411 _ACEOF 4412 cat confdefs.h >>conftest.$ac_ext 4413 cat >>conftest.$ac_ext <<_ACEOF 4414 /* end confdefs.h. */ 4415 $ac_includes_default 4416 #include <dld.h> 4417 _ACEOF 4418 rm -f conftest.$ac_objext 4419 if { (ac_try="$ac_compile" 4420 case "(($ac_try" in 4421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4422 *) ac_try_echo=$ac_try;; 4423 esac 4424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4425 $as_echo "$ac_try_echo") >&5 4426 (eval "$ac_compile") 2>conftest.er1 4427 ac_status=$? 4428 grep -v '^ *+' conftest.er1 >conftest.err 4429 rm -f conftest.er1 4430 cat conftest.err >&5 4431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4432 (exit $ac_status); } && { 4433 test -z "$ac_c_werror_flag" || 4434 test ! -s conftest.err 4435 } && test -s conftest.$ac_objext; then 4436 ac_header_compiler=yes 4437 else 4438 $as_echo "$as_me: failed program was:" >&5 4439 sed 's/^/| /' conftest.$ac_ext >&5 4440 4441 ac_header_compiler=no 4442 fi 4443 4444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4445 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4446 $as_echo "$ac_header_compiler" >&6; } 4447 4448 # Is the header present? 4449 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4450 $as_echo_n "checking dld.h presence... " >&6; } 4451 cat >conftest.$ac_ext <<_ACEOF 4452 /* confdefs.h. */ 4453 _ACEOF 4454 cat confdefs.h >>conftest.$ac_ext 4455 cat >>conftest.$ac_ext <<_ACEOF 4456 /* end confdefs.h. */ 4457 #include <dld.h> 4458 _ACEOF 4459 if { (ac_try="$ac_cpp conftest.$ac_ext" 4460 case "(($ac_try" in 4461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4462 *) ac_try_echo=$ac_try;; 4463 esac 4464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4465 $as_echo "$ac_try_echo") >&5 4466 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4467 ac_status=$? 4468 grep -v '^ *+' conftest.er1 >conftest.err 4469 rm -f conftest.er1 4470 cat conftest.err >&5 4471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4472 (exit $ac_status); } >/dev/null && { 4473 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4474 test ! -s conftest.err 4475 }; then 4476 ac_header_preproc=yes 4477 else 4478 $as_echo "$as_me: failed program was:" >&5 4479 sed 's/^/| /' conftest.$ac_ext >&5 4480 4481 ac_header_preproc=no 4482 fi 4483 4484 rm -f conftest.err conftest.$ac_ext 4485 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4486 $as_echo "$ac_header_preproc" >&6; } 4487 4488 # So? What about this header? 4489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4490 yes:no: ) 4491 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4492 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4493 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4494 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4495 ac_header_preproc=yes 4496 ;; 4497 no:yes:* ) 4498 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4499 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4500 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4501 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4502 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4503 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4504 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4505 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4506 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4507 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4508 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4509 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4510 ( cat <<\_ASBOX 4511 ## ----------------------------------- ## 4512 ## Report this to rappture@nanohub.org ## 4513 ## ----------------------------------- ## 4514 _ASBOX 4515 ) | sed "s/^/$as_me: WARNING: /" >&2 4516 ;; 4517 esac 4518 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4519 $as_echo_n "checking for dld.h... " >&6; } 4520 if test "${ac_cv_header_dld_h+set}" = set; then 4521 $as_echo_n "(cached) " >&6 4522 else 4523 ac_cv_header_dld_h=$ac_header_preproc 4524 fi 4525 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4526 $as_echo "$ac_cv_header_dld_h" >&6; } 4527 4528 fi 4529 if test "x$ac_cv_header_dld_h" = x""yes; then 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 : 4530 4836 4531 4837 SHLIB_LD="ld -shared" … … 4542 4848 fi 4543 4849 if test $do64bit = yes; then 4544 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -m64 flag" >&54850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 4545 4851 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 4546 if test "${tcl_cv_cc_m64+set}" = set; then4852 if ${tcl_cv_cc_m64+:} false; then : 4547 4853 $as_echo_n "(cached) " >&6 4548 4854 else … … 4550 4856 hold_cflags=$CFLAGS 4551 4857 CFLAGS="$CFLAGS -m64" 4552 cat >conftest.$ac_ext <<_ACEOF 4553 /* confdefs.h. */ 4554 _ACEOF 4555 cat confdefs.h >>conftest.$ac_ext 4556 cat >>conftest.$ac_ext <<_ACEOF 4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4557 4859 /* end confdefs.h. */ 4558 4860 … … 4565 4867 } 4566 4868 _ACEOF 4567 rm -f conftest.$ac_objext conftest$ac_exeext 4568 if { (ac_try="$ac_link" 4569 case "(($ac_try" in 4570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4571 *) ac_try_echo=$ac_try;; 4572 esac 4573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4574 $as_echo "$ac_try_echo") >&5 4575 (eval "$ac_link") 2>conftest.er1 4576 ac_status=$? 4577 grep -v '^ *+' conftest.er1 >conftest.err 4578 rm -f conftest.er1 4579 cat conftest.err >&5 4580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4581 (exit $ac_status); } && { 4582 test -z "$ac_c_werror_flag" || 4583 test ! -s conftest.err 4584 } && test -s conftest$ac_exeext && { 4585 test "$cross_compiling" = yes || 4586 $as_test_x conftest$ac_exeext 4587 }; then 4869 if ac_fn_c_try_link "$LINENO"; then : 4588 4870 tcl_cv_cc_m64=yes 4589 4871 else 4590 $as_echo "$as_me: failed program was:" >&5 4591 sed 's/^/| /' conftest.$ac_ext >&5 4592 4593 tcl_cv_cc_m64=no 4594 fi 4595 4596 rm -rf conftest.dSYM 4597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4598 conftest$ac_exeext conftest.$ac_ext 4872 tcl_cv_cc_m64=no 4873 fi 4874 rm -f core conftest.err conftest.$ac_objext \ 4875 conftest$ac_exeext conftest.$ac_ext 4599 4876 CFLAGS=$hold_cflags 4600 4877 fi 4601 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_m64" >&54878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 4602 4879 $as_echo "$tcl_cv_cc_m64" >&6; } 4603 4880 if test $tcl_cv_cc_m64 = yes; then … … 4619 4896 4620 4897 # XIM peeking works under XFree86. 4621 cat >>confdefs.h <<\_ACEOF 4622 #define PEEK_XCLOSEIM 1 4623 _ACEOF 4898 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 4624 4899 4625 4900 … … 4638 4913 LD_SEARCH_FLAGS="" 4639 4914 else 4640 if test "${ac_cv_header_dld_h+set}" = set; then 4641 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4642 $as_echo_n "checking for dld.h... " >&6; } 4643 if test "${ac_cv_header_dld_h+set}" = set; then 4644 $as_echo_n "(cached) " >&6 4645 fi 4646 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4647 $as_echo "$ac_cv_header_dld_h" >&6; } 4648 else 4649 # Is the header compilable? 4650 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4651 $as_echo_n "checking dld.h usability... " >&6; } 4652 cat >conftest.$ac_ext <<_ACEOF 4653 /* confdefs.h. */ 4654 _ACEOF 4655 cat confdefs.h >>conftest.$ac_ext 4656 cat >>conftest.$ac_ext <<_ACEOF 4657 /* end confdefs.h. */ 4658 $ac_includes_default 4659 #include <dld.h> 4660 _ACEOF 4661 rm -f conftest.$ac_objext 4662 if { (ac_try="$ac_compile" 4663 case "(($ac_try" in 4664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4665 *) ac_try_echo=$ac_try;; 4666 esac 4667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4668 $as_echo "$ac_try_echo") >&5 4669 (eval "$ac_compile") 2>conftest.er1 4670 ac_status=$? 4671 grep -v '^ *+' conftest.er1 >conftest.err 4672 rm -f conftest.er1 4673 cat conftest.err >&5 4674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4675 (exit $ac_status); } && { 4676 test -z "$ac_c_werror_flag" || 4677 test ! -s conftest.err 4678 } && test -s conftest.$ac_objext; then 4679 ac_header_compiler=yes 4680 else 4681 $as_echo "$as_me: failed program was:" >&5 4682 sed 's/^/| /' conftest.$ac_ext >&5 4683 4684 ac_header_compiler=no 4685 fi 4686 4687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4688 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4689 $as_echo "$ac_header_compiler" >&6; } 4690 4691 # Is the header present? 4692 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4693 $as_echo_n "checking dld.h presence... " >&6; } 4694 cat >conftest.$ac_ext <<_ACEOF 4695 /* confdefs.h. */ 4696 _ACEOF 4697 cat confdefs.h >>conftest.$ac_ext 4698 cat >>conftest.$ac_ext <<_ACEOF 4699 /* end confdefs.h. */ 4700 #include <dld.h> 4701 _ACEOF 4702 if { (ac_try="$ac_cpp conftest.$ac_ext" 4703 case "(($ac_try" in 4704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4705 *) ac_try_echo=$ac_try;; 4706 esac 4707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4708 $as_echo "$ac_try_echo") >&5 4709 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4710 ac_status=$? 4711 grep -v '^ *+' conftest.er1 >conftest.err 4712 rm -f conftest.er1 4713 cat conftest.err >&5 4714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4715 (exit $ac_status); } >/dev/null && { 4716 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4717 test ! -s conftest.err 4718 }; then 4719 ac_header_preproc=yes 4720 else 4721 $as_echo "$as_me: failed program was:" >&5 4722 sed 's/^/| /' conftest.$ac_ext >&5 4723 4724 ac_header_preproc=no 4725 fi 4726 4727 rm -f conftest.err conftest.$ac_ext 4728 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4729 $as_echo "$ac_header_preproc" >&6; } 4730 4731 # So? What about this header? 4732 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4733 yes:no: ) 4734 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4735 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4736 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4737 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4738 ac_header_preproc=yes 4739 ;; 4740 no:yes:* ) 4741 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4742 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4743 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4744 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4745 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4746 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4747 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4748 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4749 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4750 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4751 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4752 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4753 ( cat <<\_ASBOX 4754 ## ----------------------------------- ## 4755 ## Report this to rappture@nanohub.org ## 4756 ## ----------------------------------- ## 4757 _ASBOX 4758 ) | sed "s/^/$as_me: WARNING: /" >&2 4759 ;; 4760 esac 4761 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4762 $as_echo_n "checking for dld.h... " >&6; } 4763 if test "${ac_cv_header_dld_h+set}" = set; then 4764 $as_echo_n "(cached) " >&6 4765 else 4766 ac_cv_header_dld_h=$ac_header_preproc 4767 fi 4768 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4769 $as_echo "$ac_cv_header_dld_h" >&6; } 4770 4771 fi 4772 if test "x$ac_cv_header_dld_h" = x""yes; then 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 : 4773 4917 4774 4918 SHLIB_LD="ld -shared" … … 4820 4964 NetBSD-*|FreeBSD-[1-2].*) 4821 4965 # Not available on all versions: check for include file. 4822 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4823 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 4824 $as_echo_n "checking for dlfcn.h... " >&6; } 4825 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4826 $as_echo_n "(cached) " >&6 4827 fi 4828 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 4829 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 4830 else 4831 # Is the header compilable? 4832 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 4833 $as_echo_n "checking dlfcn.h usability... " >&6; } 4834 cat >conftest.$ac_ext <<_ACEOF 4835 /* confdefs.h. */ 4836 _ACEOF 4837 cat confdefs.h >>conftest.$ac_ext 4838 cat >>conftest.$ac_ext <<_ACEOF 4839 /* end confdefs.h. */ 4840 $ac_includes_default 4841 #include <dlfcn.h> 4842 _ACEOF 4843 rm -f conftest.$ac_objext 4844 if { (ac_try="$ac_compile" 4845 case "(($ac_try" in 4846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4847 *) ac_try_echo=$ac_try;; 4848 esac 4849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4850 $as_echo "$ac_try_echo") >&5 4851 (eval "$ac_compile") 2>conftest.er1 4852 ac_status=$? 4853 grep -v '^ *+' conftest.er1 >conftest.err 4854 rm -f conftest.er1 4855 cat conftest.err >&5 4856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4857 (exit $ac_status); } && { 4858 test -z "$ac_c_werror_flag" || 4859 test ! -s conftest.err 4860 } && test -s conftest.$ac_objext; then 4861 ac_header_compiler=yes 4862 else 4863 $as_echo "$as_me: failed program was:" >&5 4864 sed 's/^/| /' conftest.$ac_ext >&5 4865 4866 ac_header_compiler=no 4867 fi 4868 4869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4870 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4871 $as_echo "$ac_header_compiler" >&6; } 4872 4873 # Is the header present? 4874 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 4875 $as_echo_n "checking dlfcn.h presence... " >&6; } 4876 cat >conftest.$ac_ext <<_ACEOF 4877 /* confdefs.h. */ 4878 _ACEOF 4879 cat confdefs.h >>conftest.$ac_ext 4880 cat >>conftest.$ac_ext <<_ACEOF 4881 /* end confdefs.h. */ 4882 #include <dlfcn.h> 4883 _ACEOF 4884 if { (ac_try="$ac_cpp conftest.$ac_ext" 4885 case "(($ac_try" in 4886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4887 *) ac_try_echo=$ac_try;; 4888 esac 4889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4890 $as_echo "$ac_try_echo") >&5 4891 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4892 ac_status=$? 4893 grep -v '^ *+' conftest.er1 >conftest.err 4894 rm -f conftest.er1 4895 cat conftest.err >&5 4896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4897 (exit $ac_status); } >/dev/null && { 4898 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4899 test ! -s conftest.err 4900 }; then 4901 ac_header_preproc=yes 4902 else 4903 $as_echo "$as_me: failed program was:" >&5 4904 sed 's/^/| /' conftest.$ac_ext >&5 4905 4906 ac_header_preproc=no 4907 fi 4908 4909 rm -f conftest.err conftest.$ac_ext 4910 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4911 $as_echo "$ac_header_preproc" >&6; } 4912 4913 # So? What about this header? 4914 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4915 yes:no: ) 4916 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 4917 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4918 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 4919 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 4920 ac_header_preproc=yes 4921 ;; 4922 no:yes:* ) 4923 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 4924 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 4925 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 4926 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 4927 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 4928 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 4929 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 4930 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 4931 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 4932 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 4933 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 4934 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 4935 ( cat <<\_ASBOX 4936 ## ----------------------------------- ## 4937 ## Report this to rappture@nanohub.org ## 4938 ## ----------------------------------- ## 4939 _ASBOX 4940 ) | sed "s/^/$as_me: WARNING: /" >&2 4941 ;; 4942 esac 4943 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 4944 $as_echo_n "checking for dlfcn.h... " >&6; } 4945 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4946 $as_echo_n "(cached) " >&6 4947 else 4948 ac_cv_header_dlfcn_h=$ac_header_preproc 4949 fi 4950 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 4951 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 4952 4953 fi 4954 if test "x$ac_cv_header_dlfcn_h" = x""yes; then 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 : 4955 4968 4956 4969 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 4963 4976 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4964 4977 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 4965 { $as_echo "$as_me:$ LINENO: checking for ELF" >&54978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 4966 4979 $as_echo_n "checking for ELF... " >&6; } 4967 if test "${tcl_cv_ld_elf+set}" = set; then4980 if ${tcl_cv_ld_elf+:} false; then : 4968 4981 $as_echo_n "(cached) " >&6 4969 4982 else 4970 4983 4971 cat >conftest.$ac_ext <<_ACEOF 4972 /* confdefs.h. */ 4973 _ACEOF 4974 cat confdefs.h >>conftest.$ac_ext 4975 cat >>conftest.$ac_ext <<_ACEOF 4984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4976 4985 /* end confdefs.h. */ 4977 4986 … … 4982 4991 _ACEOF 4983 4992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4984 $EGREP "yes" >/dev/null 2>&1; then 4993 $EGREP "yes" >/dev/null 2>&1; then : 4985 4994 tcl_cv_ld_elf=yes 4986 4995 else … … 4990 4999 4991 5000 fi 4992 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&55001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 4993 5002 $as_echo "$tcl_cv_ld_elf" >&6; } 4994 5003 if test $tcl_cv_ld_elf = yes; then … … 5049 5058 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5050 5059 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 5051 { $as_echo "$as_me:$ LINENO: checking for ELF" >&55060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 5052 5061 $as_echo_n "checking for ELF... " >&6; } 5053 if test "${tcl_cv_ld_elf+set}" = set; then5062 if ${tcl_cv_ld_elf+:} false; then : 5054 5063 $as_echo_n "(cached) " >&6 5055 5064 else 5056 5065 5057 cat >conftest.$ac_ext <<_ACEOF 5058 /* confdefs.h. */ 5059 _ACEOF 5060 cat confdefs.h >>conftest.$ac_ext 5061 cat >>conftest.$ac_ext <<_ACEOF 5066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5062 5067 /* end confdefs.h. */ 5063 5068 … … 5068 5073 _ACEOF 5069 5074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5070 $EGREP "yes" >/dev/null 2>&1; then 5075 $EGREP "yes" >/dev/null 2>&1; then : 5071 5076 tcl_cv_ld_elf=yes 5072 5077 else … … 5076 5081 5077 5082 fi 5078 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&55083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 5079 5084 $as_echo "$tcl_cv_ld_elf" >&6; } 5080 5085 if test $tcl_cv_ld_elf = yes; then … … 5131 5136 case `arch` in 5132 5137 ppc) 5133 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -arch ppc64 flag" >&55138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 5134 5139 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 5135 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then5140 if ${tcl_cv_cc_arch_ppc64+:} false; then : 5136 5141 $as_echo_n "(cached) " >&6 5137 5142 else … … 5139 5144 hold_cflags=$CFLAGS 5140 5145 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 5141 cat >conftest.$ac_ext <<_ACEOF 5142 /* confdefs.h. */ 5143 _ACEOF 5144 cat confdefs.h >>conftest.$ac_ext 5145 cat >>conftest.$ac_ext <<_ACEOF 5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5146 5147 /* end confdefs.h. */ 5147 5148 … … 5154 5155 } 5155 5156 _ACEOF 5156 rm -f conftest.$ac_objext conftest$ac_exeext 5157 if { (ac_try="$ac_link" 5158 case "(($ac_try" in 5159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5160 *) ac_try_echo=$ac_try;; 5161 esac 5162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5163 $as_echo "$ac_try_echo") >&5 5164 (eval "$ac_link") 2>conftest.er1 5165 ac_status=$? 5166 grep -v '^ *+' conftest.er1 >conftest.err 5167 rm -f conftest.er1 5168 cat conftest.err >&5 5169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5170 (exit $ac_status); } && { 5171 test -z "$ac_c_werror_flag" || 5172 test ! -s conftest.err 5173 } && test -s conftest$ac_exeext && { 5174 test "$cross_compiling" = yes || 5175 $as_test_x conftest$ac_exeext 5176 }; then 5157 if ac_fn_c_try_link "$LINENO"; then : 5177 5158 tcl_cv_cc_arch_ppc64=yes 5178 5159 else 5179 $as_echo "$as_me: failed program was:" >&5 5180 sed 's/^/| /' conftest.$ac_ext >&5 5181 5182 tcl_cv_cc_arch_ppc64=no 5183 fi 5184 5185 rm -rf conftest.dSYM 5186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5187 conftest$ac_exeext conftest.$ac_ext 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 5188 5164 CFLAGS=$hold_cflags 5189 5165 fi 5190 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_arch_ppc64" >&55166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 5191 5167 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 5192 5168 if test $tcl_cv_cc_arch_ppc64 = yes; then … … 5195 5171 fi;; 5196 5172 i386) 5197 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -arch x86_64 flag" >&55173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 5198 5174 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 5199 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then5175 if ${tcl_cv_cc_arch_x86_64+:} false; then : 5200 5176 $as_echo_n "(cached) " >&6 5201 5177 else … … 5203 5179 hold_cflags=$CFLAGS 5204 5180 CFLAGS="$CFLAGS -arch x86_64" 5205 cat >conftest.$ac_ext <<_ACEOF 5206 /* confdefs.h. */ 5207 _ACEOF 5208 cat confdefs.h >>conftest.$ac_ext 5209 cat >>conftest.$ac_ext <<_ACEOF 5181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5210 5182 /* end confdefs.h. */ 5211 5183 … … 5218 5190 } 5219 5191 _ACEOF 5220 rm -f conftest.$ac_objext conftest$ac_exeext 5221 if { (ac_try="$ac_link" 5222 case "(($ac_try" in 5223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5224 *) ac_try_echo=$ac_try;; 5225 esac 5226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5227 $as_echo "$ac_try_echo") >&5 5228 (eval "$ac_link") 2>conftest.er1 5229 ac_status=$? 5230 grep -v '^ *+' conftest.er1 >conftest.err 5231 rm -f conftest.er1 5232 cat conftest.err >&5 5233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5234 (exit $ac_status); } && { 5235 test -z "$ac_c_werror_flag" || 5236 test ! -s conftest.err 5237 } && test -s conftest$ac_exeext && { 5238 test "$cross_compiling" = yes || 5239 $as_test_x conftest$ac_exeext 5240 }; then 5192 if ac_fn_c_try_link "$LINENO"; then : 5241 5193 tcl_cv_cc_arch_x86_64=yes 5242 5194 else 5243 $as_echo "$as_me: failed program was:" >&5 5244 sed 's/^/| /' conftest.$ac_ext >&5 5245 5246 tcl_cv_cc_arch_x86_64=no 5247 fi 5248 5249 rm -rf conftest.dSYM 5250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5251 conftest$ac_exeext conftest.$ac_ext 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 5252 5199 CFLAGS=$hold_cflags 5253 5200 fi 5254 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_arch_x86_64" >&55201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 5255 5202 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 5256 5203 if test $tcl_cv_cc_arch_x86_64 = yes; then … … 5259 5206 fi;; 5260 5207 *) 5261 { $as_echo "$as_me:$ LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&55208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 5262 5209 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 5263 5210 esac … … 5269 5216 fi 5270 5217 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 5271 { $as_echo "$as_me:$ LINENO: checking if ld accepts -single_module flag" >&55218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 5272 5219 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 5273 if test "${tcl_cv_ld_single_module+set}" = set; then5220 if ${tcl_cv_ld_single_module+:} false; then : 5274 5221 $as_echo_n "(cached) " >&6 5275 5222 else … … 5277 5224 hold_ldflags=$LDFLAGS 5278 5225 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 5279 cat >conftest.$ac_ext <<_ACEOF 5280 /* confdefs.h. */ 5281 _ACEOF 5282 cat confdefs.h >>conftest.$ac_ext 5283 cat >>conftest.$ac_ext <<_ACEOF 5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5284 5227 /* end confdefs.h. */ 5285 5228 … … 5292 5235 } 5293 5236 _ACEOF 5294 rm -f conftest.$ac_objext conftest$ac_exeext 5295 if { (ac_try="$ac_link" 5296 case "(($ac_try" in 5297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5298 *) ac_try_echo=$ac_try;; 5299 esac 5300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5301 $as_echo "$ac_try_echo") >&5 5302 (eval "$ac_link") 2>conftest.er1 5303 ac_status=$? 5304 grep -v '^ *+' conftest.er1 >conftest.err 5305 rm -f conftest.er1 5306 cat conftest.err >&5 5307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5308 (exit $ac_status); } && { 5309 test -z "$ac_c_werror_flag" || 5310 test ! -s conftest.err 5311 } && test -s conftest$ac_exeext && { 5312 test "$cross_compiling" = yes || 5313 $as_test_x conftest$ac_exeext 5314 }; then 5237 if ac_fn_c_try_link "$LINENO"; then : 5315 5238 tcl_cv_ld_single_module=yes 5316 5239 else 5317 $as_echo "$as_me: failed program was:" >&5 5318 sed 's/^/| /' conftest.$ac_ext >&5 5319 5320 tcl_cv_ld_single_module=no 5321 fi 5322 5323 rm -rf conftest.dSYM 5324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5325 conftest$ac_exeext conftest.$ac_ext 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 5326 5244 LDFLAGS=$hold_ldflags 5327 5245 fi 5328 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_single_module" >&55246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 5329 5247 $as_echo "$tcl_cv_ld_single_module" >&6; } 5330 5248 if test $tcl_cv_ld_single_module = yes; then … … 5340 5258 LDFLAGS="$LDFLAGS -prebind" 5341 5259 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 5342 { $as_echo "$as_me:$ LINENO: checking if ld accepts -search_paths_first flag" >&55260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 5343 5261 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 5344 if test "${tcl_cv_ld_search_paths_first+set}" = set; then5262 if ${tcl_cv_ld_search_paths_first+:} false; then : 5345 5263 $as_echo_n "(cached) " >&6 5346 5264 else … … 5348 5266 hold_ldflags=$LDFLAGS 5349 5267 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5350 cat >conftest.$ac_ext <<_ACEOF 5351 /* confdefs.h. */ 5352 _ACEOF 5353 cat confdefs.h >>conftest.$ac_ext 5354 cat >>conftest.$ac_ext <<_ACEOF 5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5355 5269 /* end confdefs.h. */ 5356 5270 … … 5363 5277 } 5364 5278 _ACEOF 5365 rm -f conftest.$ac_objext conftest$ac_exeext 5366 if { (ac_try="$ac_link" 5367 case "(($ac_try" in 5368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5369 *) ac_try_echo=$ac_try;; 5370 esac 5371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5372 $as_echo "$ac_try_echo") >&5 5373 (eval "$ac_link") 2>conftest.er1 5374 ac_status=$? 5375 grep -v '^ *+' conftest.er1 >conftest.err 5376 rm -f conftest.er1 5377 cat conftest.err >&5 5378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5379 (exit $ac_status); } && { 5380 test -z "$ac_c_werror_flag" || 5381 test ! -s conftest.err 5382 } && test -s conftest$ac_exeext && { 5383 test "$cross_compiling" = yes || 5384 $as_test_x conftest$ac_exeext 5385 }; then 5279 if ac_fn_c_try_link "$LINENO"; then : 5386 5280 tcl_cv_ld_search_paths_first=yes 5387 5281 else 5388 $as_echo "$as_me: failed program was:" >&5 5389 sed 's/^/| /' conftest.$ac_ext >&5 5390 5391 tcl_cv_ld_search_paths_first=no 5392 fi 5393 5394 rm -rf conftest.dSYM 5395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5396 conftest$ac_exeext conftest.$ac_ext 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 5397 5286 LDFLAGS=$hold_ldflags 5398 5287 fi 5399 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_search_paths_first" >&55288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 5400 5289 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 5401 5290 if test $tcl_cv_ld_search_paths_first = yes; then … … 5407 5296 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 5408 5297 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 5409 { $as_echo "$as_me:$ LINENO: checking whether to use CoreFoundation" >&55298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5 5410 5299 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 5411 5300 # Check whether --enable-corefoundation was given. 5412 if test "${enable_corefoundation+set}" = set; then 5301 if test "${enable_corefoundation+set}" = set; then : 5413 5302 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 5414 5303 else … … 5416 5305 fi 5417 5306 5418 { $as_echo "$as_me:$ LINENO: result: $tcl_corefoundation" >&55307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5 5419 5308 $as_echo "$tcl_corefoundation" >&6; } 5420 5309 if test $tcl_corefoundation = yes; then 5421 { $as_echo "$as_me:$ LINENO: checking for CoreFoundation.framework" >&55310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 5422 5311 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 5423 if test "${tcl_cv_lib_corefoundation+set}" = set; then5312 if ${tcl_cv_lib_corefoundation+:} false; then : 5424 5313 $as_echo_n "(cached) " >&6 5425 5314 else … … 5433 5322 done; fi 5434 5323 LIBS="$LIBS -framework CoreFoundation" 5435 cat >conftest.$ac_ext <<_ACEOF 5436 /* confdefs.h. */ 5437 _ACEOF 5438 cat confdefs.h >>conftest.$ac_ext 5439 cat >>conftest.$ac_ext <<_ACEOF 5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5440 5325 /* end confdefs.h. */ 5441 5326 #include <CoreFoundation/CoreFoundation.h> … … 5448 5333 } 5449 5334 _ACEOF 5450 rm -f conftest.$ac_objext conftest$ac_exeext 5451 if { (ac_try="$ac_link" 5452 case "(($ac_try" in 5453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5454 *) ac_try_echo=$ac_try;; 5455 esac 5456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5457 $as_echo "$ac_try_echo") >&5 5458 (eval "$ac_link") 2>conftest.er1 5459 ac_status=$? 5460 grep -v '^ *+' conftest.er1 >conftest.err 5461 rm -f conftest.er1 5462 cat conftest.err >&5 5463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5464 (exit $ac_status); } && { 5465 test -z "$ac_c_werror_flag" || 5466 test ! -s conftest.err 5467 } && test -s conftest$ac_exeext && { 5468 test "$cross_compiling" = yes || 5469 $as_test_x conftest$ac_exeext 5470 }; then 5335 if ac_fn_c_try_link "$LINENO"; then : 5471 5336 tcl_cv_lib_corefoundation=yes 5472 5337 else 5473 $as_echo "$as_me: failed program was:" >&5 5474 sed 's/^/| /' conftest.$ac_ext >&5 5475 5476 tcl_cv_lib_corefoundation=no 5477 fi 5478 5479 rm -rf conftest.dSYM 5480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5481 conftest$ac_exeext conftest.$ac_ext 5338 tcl_cv_lib_corefoundation=no 5339 fi 5340 rm -f core conftest.err conftest.$ac_objext \ 5341 conftest$ac_exeext conftest.$ac_ext 5482 5342 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 5483 5343 eval $v'="$hold_'$v'"' 5484 5344 done; fi; LIBS=$hold_libs 5485 5345 fi 5486 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_lib_corefoundation" >&55346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5 5487 5347 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 5488 5348 if test $tcl_cv_lib_corefoundation = yes; then 5489 5349 LIBS="$LIBS -framework CoreFoundation" 5490 cat >>confdefs.h <<\_ACEOF 5491 #define HAVE_COREFOUNDATION 1 5492 _ACEOF 5350 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 5493 5351 5494 5352 else … … 5496 5354 fi 5497 5355 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 5498 { $as_echo "$as_me:$ LINENO: checking for 64-bit CoreFoundation" >&55356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 5499 5357 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 5500 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then5358 if ${tcl_cv_lib_corefoundation_64+:} false; then : 5501 5359 $as_echo_n "(cached) " >&6 5502 5360 else … … 5505 5363 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 5506 5364 done 5507 cat >conftest.$ac_ext <<_ACEOF 5508 /* confdefs.h. */ 5509 _ACEOF 5510 cat confdefs.h >>conftest.$ac_ext 5511 cat >>conftest.$ac_ext <<_ACEOF 5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5512 5366 /* end confdefs.h. */ 5513 5367 #include <CoreFoundation/CoreFoundation.h> … … 5520 5374 } 5521 5375 _ACEOF 5522 rm -f conftest.$ac_objext conftest$ac_exeext 5523 if { (ac_try="$ac_link" 5524 case "(($ac_try" in 5525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5526 *) ac_try_echo=$ac_try;; 5527 esac 5528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5529 $as_echo "$ac_try_echo") >&5 5530 (eval "$ac_link") 2>conftest.er1 5531 ac_status=$? 5532 grep -v '^ *+' conftest.er1 >conftest.err 5533 rm -f conftest.er1 5534 cat conftest.err >&5 5535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5536 (exit $ac_status); } && { 5537 test -z "$ac_c_werror_flag" || 5538 test ! -s conftest.err 5539 } && test -s conftest$ac_exeext && { 5540 test "$cross_compiling" = yes || 5541 $as_test_x conftest$ac_exeext 5542 }; then 5376 if ac_fn_c_try_link "$LINENO"; then : 5543 5377 tcl_cv_lib_corefoundation_64=yes 5544 5378 else 5545 $as_echo "$as_me: failed program was:" >&5 5546 sed 's/^/| /' conftest.$ac_ext >&5 5547 5548 tcl_cv_lib_corefoundation_64=no 5549 fi 5550 5551 rm -rf conftest.dSYM 5552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5553 conftest$ac_exeext conftest.$ac_ext 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 5554 5383 for v in CFLAGS CPPFLAGS LDFLAGS; do 5555 5384 eval $v'="$hold_'$v'"' 5556 5385 done 5557 5386 fi 5558 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_lib_corefoundation_64" >&55387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5 5559 5388 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 5560 5389 if test $tcl_cv_lib_corefoundation_64 = no; then 5561 cat >>confdefs.h <<\_ACEOF 5562 #define NO_COREFOUNDATION_64 1 5563 _ACEOF 5390 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 5564 5391 5565 5392 fi 5566 5393 fi 5567 5394 fi 5568 cat >>confdefs.h <<\_ACEOF 5569 #define MAC_OSX_TCL 1 5570 _ACEOF 5395 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 5571 5396 5572 5397 ;; … … 5583 5408 OS/390-*) 5584 5409 CFLAGS_OPTIMIZE="" # Optimizer is buggy 5585 cat >>confdefs.h <<\_ACEOF 5586 #define _OE_SOCKETS 1 5587 _ACEOF 5410 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 5588 5411 # needed in sys/socket.h 5589 5412 ;; … … 5726 5549 # won't define thread-safe library routines. 5727 5550 5728 cat >>confdefs.h <<\_ACEOF 5729 #define _REENTRANT 1 5730 _ACEOF 5731 5732 cat >>confdefs.h <<\_ACEOF 5733 #define _POSIX_PTHREAD_SEMANTICS 1 5734 _ACEOF 5551 $as_echo "#define _REENTRANT 1" >>confdefs.h 5552 5553 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5735 5554 5736 5555 … … 5758 5577 # won't define thread-safe library routines. 5759 5578 5760 cat >>confdefs.h <<\_ACEOF 5761 #define _REENTRANT 1 5762 _ACEOF 5763 5764 cat >>confdefs.h <<\_ACEOF 5765 #define _POSIX_PTHREAD_SEMANTICS 1 5766 _ACEOF 5579 $as_echo "#define _REENTRANT 1" >>confdefs.h 5580 5581 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5767 5582 5768 5583 … … 5775 5590 if test "$GCC" = "yes" ; then 5776 5591 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 5777 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&55592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 5778 5593 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 5779 5594 else … … 5797 5612 elif test "$arch" = "amd64 i386" ; then 5798 5613 if test "$GCC" = "yes" ; then 5799 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&55614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5800 5615 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 5801 5616 else … … 5805 5620 fi 5806 5621 else 5807 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported for $arch" >&55622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 5808 5623 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 5809 5624 fi … … 5864 5679 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 5865 5680 # that don't grok the -Bexport option. Test that it does. 5866 { $as_echo "$as_me:$ LINENO: checking for ld accepts -Bexport flag" >&55681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 5867 5682 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 5868 if test "${tcl_cv_ld_Bexport+set}" = set; then5683 if ${tcl_cv_ld_Bexport+:} false; then : 5869 5684 $as_echo_n "(cached) " >&6 5870 5685 else … … 5872 5687 hold_ldflags=$LDFLAGS 5873 5688 LDFLAGS="$LDFLAGS -Wl,-Bexport" 5874 cat >conftest.$ac_ext <<_ACEOF 5875 /* confdefs.h. */ 5876 _ACEOF 5877 cat confdefs.h >>conftest.$ac_ext 5878 cat >>conftest.$ac_ext <<_ACEOF 5689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5879 5690 /* end confdefs.h. */ 5880 5691 … … 5887 5698 } 5888 5699 _ACEOF 5889 rm -f conftest.$ac_objext conftest$ac_exeext 5890 if { (ac_try="$ac_link" 5891 case "(($ac_try" in 5892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5893 *) ac_try_echo=$ac_try;; 5894 esac 5895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5896 $as_echo "$ac_try_echo") >&5 5897 (eval "$ac_link") 2>conftest.er1 5898 ac_status=$? 5899 grep -v '^ *+' conftest.er1 >conftest.err 5900 rm -f conftest.er1 5901 cat conftest.err >&5 5902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5903 (exit $ac_status); } && { 5904 test -z "$ac_c_werror_flag" || 5905 test ! -s conftest.err 5906 } && test -s conftest$ac_exeext && { 5907 test "$cross_compiling" = yes || 5908 $as_test_x conftest$ac_exeext 5909 }; then 5700 if ac_fn_c_try_link "$LINENO"; then : 5910 5701 tcl_cv_ld_Bexport=yes 5911 5702 else 5912 $as_echo "$as_me: failed program was:" >&5 5913 sed 's/^/| /' conftest.$ac_ext >&5 5914 5915 tcl_cv_ld_Bexport=no 5916 fi 5917 5918 rm -rf conftest.dSYM 5919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5920 conftest$ac_exeext conftest.$ac_ext 5703 tcl_cv_ld_Bexport=no 5704 fi 5705 rm -f core conftest.err conftest.$ac_objext \ 5706 conftest$ac_exeext conftest.$ac_ext 5921 5707 LDFLAGS=$hold_ldflags 5922 5708 fi 5923 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_Bexport" >&55709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 5924 5710 $as_echo "$tcl_cv_ld_Bexport" >&6; } 5925 5711 if test $tcl_cv_ld_Bexport = yes; then … … 5932 5718 5933 5719 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 5934 { $as_echo "$as_me:$ LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&55720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 5935 5721 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 5936 5722 fi … … 5959 5745 5960 5746 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 5961 { $as_echo "$as_me:$ LINENO: checking sys/exec.h" >&55747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 5962 5748 $as_echo_n "checking sys/exec.h... " >&6; } 5963 if test "${tcl_cv_sysexec_h+set}" = set; then5749 if ${tcl_cv_sysexec_h+:} false; then : 5964 5750 $as_echo_n "(cached) " >&6 5965 5751 else 5966 5752 5967 cat >conftest.$ac_ext <<_ACEOF 5968 /* confdefs.h. */ 5969 _ACEOF 5970 cat confdefs.h >>conftest.$ac_ext 5971 cat >>conftest.$ac_ext <<_ACEOF 5753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5972 5754 /* end confdefs.h. */ 5973 5755 #include <sys/exec.h> … … 5991 5773 } 5992 5774 _ACEOF 5993 rm -f conftest.$ac_objext 5994 if { (ac_try="$ac_compile" 5995 case "(($ac_try" in 5996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5997 *) ac_try_echo=$ac_try;; 5998 esac 5999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6000 $as_echo "$ac_try_echo") >&5 6001 (eval "$ac_compile") 2>conftest.er1 6002 ac_status=$? 6003 grep -v '^ *+' conftest.er1 >conftest.err 6004 rm -f conftest.er1 6005 cat conftest.err >&5 6006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6007 (exit $ac_status); } && { 6008 test -z "$ac_c_werror_flag" || 6009 test ! -s conftest.err 6010 } && test -s conftest.$ac_objext; then 5775 if ac_fn_c_try_compile "$LINENO"; then : 6011 5776 tcl_cv_sysexec_h=usable 6012 5777 else 6013 $as_echo "$as_me: failed program was:" >&5 6014 sed 's/^/| /' conftest.$ac_ext >&5 6015 6016 tcl_cv_sysexec_h=unusable 6017 fi 6018 5778 tcl_cv_sysexec_h=unusable 5779 fi 6019 5780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6020 5781 fi 6021 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sysexec_h" >&55782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5 6022 5783 $as_echo "$tcl_cv_sysexec_h" >&6; } 6023 5784 if test $tcl_cv_sysexec_h = usable; then 6024 cat >>confdefs.h <<\_ACEOF 6025 #define USE_SYS_EXEC_H 1 6026 _ACEOF 5785 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 6027 5786 6028 5787 else 6029 { $as_echo "$as_me:$ LINENO: checking a.out.h" >&55788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 6030 5789 $as_echo_n "checking a.out.h... " >&6; } 6031 if test "${tcl_cv_aout_h+set}" = set; then5790 if ${tcl_cv_aout_h+:} false; then : 6032 5791 $as_echo_n "(cached) " >&6 6033 5792 else 6034 5793 6035 cat >conftest.$ac_ext <<_ACEOF 6036 /* confdefs.h. */ 6037 _ACEOF 6038 cat confdefs.h >>conftest.$ac_ext 6039 cat >>conftest.$ac_ext <<_ACEOF 5794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6040 5795 /* end confdefs.h. */ 6041 5796 #include <a.out.h> … … 6059 5814 } 6060 5815 _ACEOF 6061 rm -f conftest.$ac_objext 6062 if { (ac_try="$ac_compile" 6063 case "(($ac_try" in 6064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6065 *) ac_try_echo=$ac_try;; 6066 esac 6067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6068 $as_echo "$ac_try_echo") >&5 6069 (eval "$ac_compile") 2>conftest.er1 6070 ac_status=$? 6071 grep -v '^ *+' conftest.er1 >conftest.err 6072 rm -f conftest.er1 6073 cat conftest.err >&5 6074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6075 (exit $ac_status); } && { 6076 test -z "$ac_c_werror_flag" || 6077 test ! -s conftest.err 6078 } && test -s conftest.$ac_objext; then 5816 if ac_fn_c_try_compile "$LINENO"; then : 6079 5817 tcl_cv_aout_h=usable 6080 5818 else 6081 $as_echo "$as_me: failed program was:" >&5 6082 sed 's/^/| /' conftest.$ac_ext >&5 6083 6084 tcl_cv_aout_h=unusable 6085 fi 6086 5819 tcl_cv_aout_h=unusable 5820 fi 6087 5821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6088 5822 fi 6089 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_aout_h" >&55823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5 6090 5824 $as_echo "$tcl_cv_aout_h" >&6; } 6091 5825 if test $tcl_cv_aout_h = usable; then 6092 cat >>confdefs.h <<\_ACEOF 6093 #define USE_A_OUT_H 1 6094 _ACEOF 5826 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 6095 5827 6096 5828 else 6097 { $as_echo "$as_me:$ LINENO: checking sys/exec_aout.h" >&55829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 6098 5830 $as_echo_n "checking sys/exec_aout.h... " >&6; } 6099 if test "${tcl_cv_sysexecaout_h+set}" = set; then5831 if ${tcl_cv_sysexecaout_h+:} false; then : 6100 5832 $as_echo_n "(cached) " >&6 6101 5833 else 6102 5834 6103 cat >conftest.$ac_ext <<_ACEOF 6104 /* confdefs.h. */ 6105 _ACEOF 6106 cat confdefs.h >>conftest.$ac_ext 6107 cat >>conftest.$ac_ext <<_ACEOF 5835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6108 5836 /* end confdefs.h. */ 6109 5837 #include <sys/exec_aout.h> … … 6127 5855 } 6128 5856 _ACEOF 6129 rm -f conftest.$ac_objext 6130 if { (ac_try="$ac_compile" 6131 case "(($ac_try" in 6132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6133 *) ac_try_echo=$ac_try;; 6134 esac 6135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6136 $as_echo "$ac_try_echo") >&5 6137 (eval "$ac_compile") 2>conftest.er1 6138 ac_status=$? 6139 grep -v '^ *+' conftest.er1 >conftest.err 6140 rm -f conftest.er1 6141 cat conftest.err >&5 6142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6143 (exit $ac_status); } && { 6144 test -z "$ac_c_werror_flag" || 6145 test ! -s conftest.err 6146 } && test -s conftest.$ac_objext; then 5857 if ac_fn_c_try_compile "$LINENO"; then : 6147 5858 tcl_cv_sysexecaout_h=usable 6148 5859 else 6149 $as_echo "$as_me: failed program was:" >&5 6150 sed 's/^/| /' conftest.$ac_ext >&5 6151 6152 tcl_cv_sysexecaout_h=unusable 6153 fi 6154 5860 tcl_cv_sysexecaout_h=unusable 5861 fi 6155 5862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6156 5863 fi 6157 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sysexecaout_h" >&55864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5 6158 5865 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 6159 5866 if test $tcl_cv_sysexecaout_h = usable; then 6160 cat >>confdefs.h <<\_ACEOF 6161 #define USE_SYS_EXEC_AOUT_H 1 6162 _ACEOF 5867 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 6163 5868 6164 5869 else … … 6172 5877 6173 5878 # Check whether --enable-load was given. 6174 if test "${enable_load+set}" = set; then 5879 if test "${enable_load+set}" = set; then : 6175 5880 enableval=$enable_load; tcl_ok=$enableval 6176 5881 else … … 6295 6000 6296 6001 6297 { $as_echo "$as_me:$ LINENO: checking for X" >&56002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 6298 6003 $as_echo_n "checking for X... " >&6; } 6299 6004 6300 6005 6301 6006 # Check whether --with-x was given. 6302 if test "${with_x+set}" = set; then 6007 if test "${with_x+set}" = set; then : 6303 6008 withval=$with_x; 6304 6009 fi … … 6310 6015 else 6311 6016 case $x_includes,$x_libraries in #( 6312 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5 6313 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;} 6314 { (exit 1); exit 1; }; };; #( 6315 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 6017 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 6018 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 6316 6019 $as_echo_n "(cached) " >&6 6317 6020 else … … 6330 6033 _ACEOF 6331 6034 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 6332 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.6035 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 6333 6036 for ac_var in incroot usrlibdir libdir; do 6334 6037 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" … … 6361 6064 ac_x_header_dirs=' 6362 6065 /usr/X11/include 6066 /usr/X11R7/include 6363 6067 /usr/X11R6/include 6364 6068 /usr/X11R5/include … … 6366 6070 6367 6071 /usr/include/X11 6072 /usr/include/X11R7 6368 6073 /usr/include/X11R6 6369 6074 /usr/include/X11R5 … … 6371 6076 6372 6077 /usr/local/X11/include