Changeset 4010
- Timestamp:
- Oct 25, 2013, 1:36:54 AM (11 years ago)
- Location:
- trunk/packages/vizservers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/configure
r3563 r4010 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.69 for vizservers 0.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 7 # 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 # 10 # 9 11 # This configure script is free software; the Free Software Foundation 10 12 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. 13 ## -------------------- -##13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 14 16 15 17 # Be more Bourne compatible 16 18 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 20 emulate sh 19 21 NULLCMD=: … … 23 25 setopt NO_GLOB_SUBST 24 26 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 27 32 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 33 fi 34 41 35 42 36 as_nl=' … … 47 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48 42 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 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 50 as_echo='printf %s\n' 51 51 as_echo_n='printf %s' … … 58 58 as_echo_n_body='eval 59 59 arg=$1; 60 case $arg in 60 case $arg in #( 61 61 *"$as_nl"*) 62 62 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 81 81 fi 82 82 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 83 91 84 # IFS … … 97 90 98 91 # Find who we are. Look in the path if we contain no directory separator. 99 case $0 in 92 as_myself= 93 case $0 in #(( 100 94 *[\\/]* ) as_myself=$0 ;; 101 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 104 98 IFS=$as_save_IFS 105 99 test -z "$as_dir" && as_dir=. 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break107 done100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 108 102 IFS=$as_save_IFS 109 103 … … 117 111 if test ! -f "$as_myself"; then 118 112 $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 113 exit 1 114 fi 115 116 # Unset variables that we do not need and which cause bugs (e.g. in 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 # suppresses any "Segmentation fault" message there. '((' could 119 # trigger a bug in pdksh 5.2.14. 120 for as_var in BASH_ENV ENV MAIL MAILPATH 121 do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125 123 done 126 124 PS1='$ ' … … 134 132 export LANGUAGE 135 133 136 # Required to use basename. 134 # CDPATH. 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 # Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142 # neutralization value for shells without unset; and this also 143 # works around shells that cannot unset nonexistent variables. 144 # Preserve -v and -x to the replacement shell. 145 BASH_ENV=/dev/null 146 ENV=/dev/null 147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148 case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153 esac 154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 # Admittedly, this is quite paranoid, since all the known shells bail 156 # out after a failed `exec'. 157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162 if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170 else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176 esac 177 fi 178 " 179 as_required="as_fn_return () { (exit \$1); } 180 as_fn_success () { as_fn_return 0; } 181 as_fn_failure () { as_fn_return 1; } 182 as_fn_ret_success () { return 0; } 183 as_fn_ret_failure () { return 1; } 184 185 exitcode=0 186 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192 else 193 exitcode=1; echo positional parameters were not saved. 194 fi 195 test x\$exitcode = x0 || exit 1 196 test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204 else 205 as_have_required=no 206 fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209 else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211 as_found=false 212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213 do 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227 fi 228 fi 229 done;; 230 esac 231 as_found=false 232 done 233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236 fi; } 237 IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243 # neutralization value for shells without unset; and this also 244 # works around shells that cannot unset nonexistent variables. 245 # Preserve -v and -x to the replacement shell. 246 BASH_ENV=/dev/null 247 ENV=/dev/null 248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249 case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254 esac 255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256 # Admittedly, this is quite paranoid, since all the known shells bail 257 # out after a failed `exec'. 258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259 exit 255 260 fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and 270 $0: rappture@nanohub.org about your system, including any 271 $0: error possibly output before this message. Then install 272 $0: a modern shell, or manually run the script under such a 273 $0: shell if you do have one." 274 fi 275 exit 1 276 fi 277 fi 278 fi 279 SHELL=${CONFIG_SHELL-/bin/sh} 280 export SHELL 281 # Unset more variables known to interfere with behavior of common tools. 282 CLICOLOR_FORCE= GREP_OPTIONS= 283 unset CLICOLOR_FORCE GREP_OPTIONS 284 285 ## --------------------- ## 286 ## M4sh Shell Functions. ## 287 ## --------------------- ## 288 # as_fn_unset VAR 289 # --------------- 290 # Portably unset VAR. 291 as_fn_unset () 292 { 293 { eval $1=; unset $1;} 294 } 295 as_unset=as_fn_unset 296 297 # as_fn_set_status STATUS 298 # ----------------------- 299 # Set $? to STATUS, without forking. 300 as_fn_set_status () 301 { 302 return $1 303 } # as_fn_set_status 304 305 # as_fn_exit STATUS 306 # ----------------- 307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 308 as_fn_exit () 309 { 310 set +e 311 as_fn_set_status $1 312 exit $1 313 } # as_fn_exit 314 315 # as_fn_mkdir_p 316 # ------------- 317 # Create "$as_dir" as a directory, including parents if necessary. 318 as_fn_mkdir_p () 319 { 320 321 case $as_dir in #( 322 -*) as_dir=./$as_dir;; 323 esac 324 test -d "$as_dir" || eval $as_mkdir_p || { 325 as_dirs= 326 while :; do 327 case $as_dir in #( 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 329 *) as_qdir=$as_dir;; 330 esac 331 as_dirs="'$as_qdir' $as_dirs" 332 as_dir=`$as_dirname -- "$as_dir" || 333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 334 X"$as_dir" : 'X\(//\)[^/]' \| \ 335 X"$as_dir" : 'X\(//\)$' \| \ 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 337 $as_echo X"$as_dir" | 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)[^/].*/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\/\)$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\).*/{ 351 s//\1/ 352 q 353 } 354 s/.*/./; q'` 355 test -d "$as_dir" && break 356 done 357 test -z "$as_dirs" || eval "mkdir $as_dirs" 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 359 360 361 } # as_fn_mkdir_p 362 363 # as_fn_executable_p FILE 364 # ----------------------- 365 # Test if FILE is an executable regular file. 366 as_fn_executable_p () 367 { 368 test -f "$1" && test -x "$1" 369 } # as_fn_executable_p 370 # as_fn_append VAR VALUE 371 # ---------------------- 372 # Append the text in VALUE to the end of the definition contained in VAR. Take 373 # advantage of any shell optimizations that allow amortized linear growth over 374 # repeated appends, instead of the typical quadratic growth present in naive 375 # implementations. 376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 377 eval 'as_fn_append () 378 { 379 eval $1+=\$2 380 }' 381 else 382 as_fn_append () 383 { 384 eval $1=\$$1\$2 385 } 386 fi # as_fn_append 387 388 # as_fn_arith ARG... 389 # ------------------ 390 # Perform arithmetic evaluation on the ARGs, and store the result in the 391 # global $as_val. Take advantage of shells that can avoid forks. The arguments 392 # must be portable across $(()) and expr. 393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 394 eval 'as_fn_arith () 395 { 396 as_val=$(( $* )) 397 }' 398 else 399 as_fn_arith () 400 { 401 as_val=`expr "$@" || test $? -eq 1` 402 } 403 fi # as_fn_arith 404 405 406 # as_fn_error STATUS ERROR [LINENO LOG_FD] 407 # ---------------------------------------- 408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 410 # script with STATUS, using 1 if that was 0. 411 as_fn_error () 412 { 413 as_status=$1; test $as_status -eq 0 && as_status=1 414 if test "$4"; then 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 417 fi 418 $as_echo "$as_me: error: $2" >&2 419 as_fn_exit $as_status 420 } # as_fn_error 421 137 422 if expr a : '\(a\)' >/dev/null 2>&1 && 138 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 148 433 fi 149 434 150 151 # Name of the executable. 435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 436 as_dirname=dirname 437 else 438 as_dirname=false 439 fi 440 152 441 as_me=`$as_basename -- "$0" || 153 442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 169 458 s/.*/./; q'` 170 459 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. :-) 460 # Avoid depending upon Character Ranges. 461 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 464 as_cr_digits='0123456789' 465 as_cr_alnum=$as_cr_Letters$as_cr_digits 466 467 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 460 473 sed -n ' 461 474 p … … 474 487 ' >$as_me.lineno && 475 488 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; }; } 478 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 490 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 492 # already done that, so ensure we don't try to do so again and fall 493 # in an infinite loop. This has already happened in practice. 494 _as_can_reexec=no; export _as_can_reexec 479 495 # Don't try to exec as it changes $[0], causing all sort of problems 480 496 # (the dirname of $[0] is not the place where we might find the … … 485 501 } 486 502 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 503 ECHO_C= ECHO_N= ECHO_T= 495 case `echo -n x` in 504 case `echo -n x` in #((((( 496 505 -n*) 497 case `echo 'x \c'` in506 case `echo 'xy\c'` in 498 507 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499 *) ECHO_C='\c';; 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 500 511 esac;; 501 512 *) 502 513 ECHO_N='-n';; 503 514 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 515 511 516 rm -f conf$$ conf$$.exe conf$$.file … … 522 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 523 528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 524 # In both cases, we have to default to `cp -p '.529 # In both cases, we have to default to `cp -pR'. 525 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 526 as_ln_s='cp -p '531 as_ln_s='cp -pR' 527 532 elif ln conf$$.file conf$$ 2>/dev/null; then 528 533 as_ln_s=ln 529 534 else 530 as_ln_s='cp -p '535 as_ln_s='cp -pR' 531 536 fi 532 537 else 533 as_ln_s='cp -p '538 as_ln_s='cp -pR' 534 539 fi 535 540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 537 542 538 543 if mkdir -p . 2>/dev/null; then 539 as_mkdir_p= :544 as_mkdir_p='mkdir -p "$as_dir"' 540 545 else 541 546 test -d ./-p && rmdir ./-p … … 543 548 fi 544 549 545 if test -x / >/dev/null 2>&1; then 546 as_test_x='test -x' 547 else 548 if ls -dL / >/dev/null 2>&1; then 549 as_ls_L_option=L 550 else 551 as_ls_L_option= 552 fi 553 as_test_x=' 554 eval sh -c '\'' 555 if test -d "$1"; then 556 test -d "$1/."; 557 else 558 case $1 in 559 -*)set "./$1";; 560 esac; 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 562 ???[sx]*):;;*)false;;esac;fi 563 '\'' sh 564 ' 565 fi 566 as_executable_p=$as_test_x 550 as_test_x='test -x' 551 as_executable_p=as_fn_executable_p 567 552 568 553 # Sed expression to map a string onto a valid CPP name. … … 573 558 574 559 575 576 exec 7<&0 </dev/null6>&1560 test -n "$DJDIR" || exec 7<&0 </dev/null 561 exec 6>&1 577 562 578 563 # Name of the host. 579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 580 565 # so uname gets run too. 581 566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 592 577 MFLAGS= 593 578 MAKEFLAGS= 594 SHELL=${CONFIG_SHELL-/bin/sh}595 579 596 580 # Identity of this package. … … 600 584 PACKAGE_STRING='vizservers 0.1' 601 585 PACKAGE_BUGREPORT='rappture@nanohub.org' 586 PACKAGE_URL='' 602 587 603 588 # Factoring default headers for most tests. … … 735 720 prefix 736 721 exec_prefix 722 PACKAGE_URL 737 723 PACKAGE_BUGREPORT 738 724 PACKAGE_STRING … … 835 821 836 822 case $ac_option in 837 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 838 *) ac_optarg=yes ;; 823 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 824 *=) ac_optarg= ;; 825 *) ac_optarg=yes ;; 839 826 esac 840 827 … … 881 868 # Reject names that are not valid shell variable names. 882 869 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 883 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 884 { (exit 1); exit 1; }; } 870 as_fn_error $? "invalid feature name: $ac_useropt" 885 871 ac_useropt_orig=$ac_useropt 886 872 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 908 894 # Reject names that are not valid shell variable names. 909 895 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 910 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 911 { (exit 1); exit 1; }; } 896 as_fn_error $? "invalid feature name: $ac_useropt" 912 897 ac_useropt_orig=$ac_useropt 913 898 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1113 1098 # Reject names that are not valid shell variable names. 1114 1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1115 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1116 { (exit 1); exit 1; }; } 1100 as_fn_error $? "invalid package name: $ac_useropt" 1117 1101 ac_useropt_orig=$ac_useropt 1118 1102 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1130 1114 # Reject names that are not valid shell variable names. 1131 1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1132 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1133 { (exit 1); exit 1; }; } 1116 as_fn_error $? "invalid package name: $ac_useropt" 1134 1117 ac_useropt_orig=$ac_useropt 1135 1118 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1161 1144 x_libraries=$ac_optarg ;; 1162 1145 1163 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1164 Try \`$0 --help' for more information." >&2 1165 { (exit 1); exit 1; }; } 1146 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1147 Try \`$0 --help' for more information" 1166 1148 ;; 1167 1149 … … 1169 1151 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1170 1152 # Reject names that are not valid shell variable names. 1171 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1172 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1173 { (exit 1); exit 1; }; } 1153 case $ac_envvar in #( 1154 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1155 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1156 esac 1174 1157 eval $ac_envvar=\$ac_optarg 1175 1158 export $ac_envvar ;; … … 1180 1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1181 1164 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1182 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1165 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1183 1166 ;; 1184 1167 … … 1188 1171 if test -n "$ac_prev"; then 1189 1172 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1190 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1191 { (exit 1); exit 1; }; } 1173 as_fn_error $? "missing argument to $ac_option" 1192 1174 fi 1193 1175 … … 1195 1177 case $enable_option_checking in 1196 1178 no) ;; 1197 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1198 { (exit 1); exit 1; }; } ;; 1179 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1199 1180 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1200 1181 esac … … 1219 1200 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1220 1201 esac 1221 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1222 { (exit 1); exit 1; }; } 1202 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1223 1203 done 1224 1204 … … 1234 1214 if test "x$build_alias" = x; then 1235 1215 cross_compiling=maybe 1236 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1237 If a cross compiler is detected then cross compile mode will be used." >&21238 1216 elif test "x$build_alias" != "x$host_alias"; then 1239 1217 cross_compiling=yes … … 1250 1228 ac_ls_di=`ls -di .` && 1251 1229 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1252 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1253 { (exit 1); exit 1; }; } 1230 as_fn_error $? "working directory cannot be determined" 1254 1231 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1255 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1256 { (exit 1); exit 1; }; } 1232 as_fn_error $? "pwd does not report name of working directory" 1257 1233 1258 1234 … … 1293 1269 if test ! -r "$srcdir/$ac_unique_file"; then 1294 1270 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1295 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1296 { (exit 1); exit 1; }; } 1271 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1297 1272 fi 1298 1273 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1299 1274 ac_abs_confdir=`( 1300 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1301 { (exit 1); exit 1; }; } 1275 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1302 1276 pwd)` 1303 1277 # When building in place, set srcdir=. … … 1339 1313 --help=recursive display the short help of all the included packages 1340 1314 -V, --version display version information and exit 1341 -q, --quiet, --silent do not print \`checking ...' messages1315 -q, --quiet, --silent do not print \`checking ...' messages 1342 1316 --cache-file=FILE cache test results in FILE [disabled] 1343 1317 -C, --config-cache alias for \`--cache-file=config.cache' … … 1424 1398 nonstandard directory <lib dir> 1425 1399 LIBS libraries to pass to the linker, e.g. -l<library> 1426 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1400 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1427 1401 you have headers in a nonstandard directory <include dir> 1428 1402 CPP C preprocessor … … 1499 1473 cat <<\_ACEOF 1500 1474 vizservers configure 0.1 1501 generated by GNU Autoconf 2.63 1502 1503 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1504 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1475 generated by GNU Autoconf 2.69 1476 1477 Copyright (C) 2012 Free Software Foundation, Inc. 1505 1478 This configure script is free software; the Free Software Foundation 1506 1479 gives unlimited permission to copy, distribute and modify it. … … 1508 1481 exit 1509 1482 fi 1483 1484 ## ------------------------ ## 1485 ## Autoconf initialization. ## 1486 ## ------------------------ ## 1487 1488 # ac_fn_c_try_compile LINENO 1489 # -------------------------- 1490 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1491 ac_fn_c_try_compile () 1492 { 1493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1494 rm -f conftest.$ac_objext 1495 if { { ac_try="$ac_compile" 1496 case "(($ac_try" in 1497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1498 *) ac_try_echo=$ac_try;; 1499 esac 1500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1501 $as_echo "$ac_try_echo"; } >&5 1502 (eval "$ac_compile") 2>conftest.err 1503 ac_status=$? 1504 if test -s conftest.err; then 1505 grep -v '^ *+' conftest.err >conftest.er1 1506 cat conftest.er1 >&5 1507 mv -f conftest.er1 conftest.err 1508 fi 1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1510 test $ac_status = 0; } && { 1511 test -z "$ac_c_werror_flag" || 1512 test ! -s conftest.err 1513 } && test -s conftest.$ac_objext; then : 1514 ac_retval=0 1515 else 1516 $as_echo "$as_me: failed program was:" >&5 1517 sed 's/^/| /' conftest.$ac_ext >&5 1518 1519 ac_retval=1 1520 fi 1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1522 as_fn_set_status $ac_retval 1523 1524 } # ac_fn_c_try_compile 1525 1526 # ac_fn_c_try_cpp LINENO 1527 # ---------------------- 1528 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1529 ac_fn_c_try_cpp () 1530 { 1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1532 if { { ac_try="$ac_cpp conftest.$ac_ext" 1533 case "(($ac_try" in 1534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1535 *) ac_try_echo=$ac_try;; 1536 esac 1537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1538 $as_echo "$ac_try_echo"; } >&5 1539 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1540 ac_status=$? 1541 if test -s conftest.err; then 1542 grep -v '^ *+' conftest.err >conftest.er1 1543 cat conftest.er1 >&5 1544 mv -f conftest.er1 conftest.err 1545 fi 1546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1547 test $ac_status = 0; } > conftest.i && { 1548 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1549 test ! -s conftest.err 1550 }; then : 1551 ac_retval=0 1552 else 1553 $as_echo "$as_me: failed program was:" >&5 1554 sed 's/^/| /' conftest.$ac_ext >&5 1555 1556 ac_retval=1 1557 fi 1558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1559 as_fn_set_status $ac_retval 1560 1561 } # ac_fn_c_try_cpp 1562 1563 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1564 # ------------------------------------------------------- 1565 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1566 # the include files in INCLUDES and setting the cache variable VAR 1567 # accordingly. 1568 ac_fn_c_check_header_mongrel () 1569 { 1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1571 if eval \${$3+:} false; then : 1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1573 $as_echo_n "checking for $2... " >&6; } 1574 if eval \${$3+:} false; then : 1575 $as_echo_n "(cached) " >&6 1576 fi 1577 eval ac_res=\$$3 1578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1579 $as_echo "$ac_res" >&6; } 1580 else 1581 # Is the header compilable? 1582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1583 $as_echo_n "checking $2 usability... " >&6; } 1584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1585 /* end confdefs.h. */ 1586 $4 1587 #include <$2> 1588 _ACEOF 1589 if ac_fn_c_try_compile "$LINENO"; then : 1590 ac_header_compiler=yes 1591 else 1592 ac_header_compiler=no 1593 fi 1594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1596 $as_echo "$ac_header_compiler" >&6; } 1597 1598 # Is the header present? 1599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1600 $as_echo_n "checking $2 presence... " >&6; } 1601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1602 /* end confdefs.h. */ 1603 #include <$2> 1604 _ACEOF 1605 if ac_fn_c_try_cpp "$LINENO"; then : 1606 ac_header_preproc=yes 1607 else 1608 ac_header_preproc=no 1609 fi 1610 rm -f conftest.err conftest.i conftest.$ac_ext 1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1612 $as_echo "$ac_header_preproc" >&6; } 1613 1614 # So? What about this header? 1615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1616 yes:no: ) 1617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1618 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1620 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1621 ;; 1622 no:yes:* ) 1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1624 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1626 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1628 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1630 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1632 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1633 ( $as_echo "## ----------------------------------- ## 1634 ## Report this to rappture@nanohub.org ## 1635 ## ----------------------------------- ##" 1636 ) | sed "s/^/$as_me: WARNING: /" >&2 1637 ;; 1638 esac 1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1640 $as_echo_n "checking for $2... " >&6; } 1641 if eval \${$3+:} false; then : 1642 $as_echo_n "(cached) " >&6 1643 else 1644 eval "$3=\$ac_header_compiler" 1645 fi 1646 eval ac_res=\$$3 1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1648 $as_echo "$ac_res" >&6; } 1649 fi 1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1651 1652 } # ac_fn_c_check_header_mongrel 1653 1654 # ac_fn_c_try_run LINENO 1655 # ---------------------- 1656 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1657 # that executables *can* be run. 1658 ac_fn_c_try_run () 1659 { 1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1661 if { { ac_try="$ac_link" 1662 case "(($ac_try" in 1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1664 *) ac_try_echo=$ac_try;; 1665 esac 1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1667 $as_echo "$ac_try_echo"; } >&5 1668 (eval "$ac_link") 2>&5 1669 ac_status=$? 1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1671 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1672 { { case "(($ac_try" in 1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1674 *) ac_try_echo=$ac_try;; 1675 esac 1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1677 $as_echo "$ac_try_echo"; } >&5 1678 (eval "$ac_try") 2>&5 1679 ac_status=$? 1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1681 test $ac_status = 0; }; }; then : 1682 ac_retval=0 1683 else 1684 $as_echo "$as_me: program exited with status $ac_status" >&5 1685 $as_echo "$as_me: failed program was:" >&5 1686 sed 's/^/| /' conftest.$ac_ext >&5 1687 1688 ac_retval=$ac_status 1689 fi 1690 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1692 as_fn_set_status $ac_retval 1693 1694 } # ac_fn_c_try_run 1695 1696 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1697 # ------------------------------------------------------- 1698 # Tests whether HEADER exists and can be compiled using the include files in 1699 # INCLUDES, setting the cache variable VAR accordingly. 1700 ac_fn_c_check_header_compile () 1701 { 1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1704 $as_echo_n "checking for $2... " >&6; } 1705 if eval \${$3+:} false; then : 1706 $as_echo_n "(cached) " >&6 1707 else 1708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1709 /* end confdefs.h. */ 1710 $4 1711 #include <$2> 1712 _ACEOF 1713 if ac_fn_c_try_compile "$LINENO"; then : 1714 eval "$3=yes" 1715 else 1716 eval "$3=no" 1717 fi 1718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1719 fi 1720 eval ac_res=\$$3 1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1722 $as_echo "$ac_res" >&6; } 1723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1724 1725 } # ac_fn_c_check_header_compile 1726 1727 # ac_fn_c_try_link LINENO 1728 # ----------------------- 1729 # Try to link conftest.$ac_ext, and return whether this succeeded. 1730 ac_fn_c_try_link () 1731 { 1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1733 rm -f conftest.$ac_objext conftest$ac_exeext 1734 if { { ac_try="$ac_link" 1735 case "(($ac_try" in 1736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1737 *) ac_try_echo=$ac_try;; 1738 esac 1739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1740 $as_echo "$ac_try_echo"; } >&5 1741 (eval "$ac_link") 2>conftest.err 1742 ac_status=$? 1743 if test -s conftest.err; then 1744 grep -v '^ *+' conftest.err >conftest.er1 1745 cat conftest.er1 >&5 1746 mv -f conftest.er1 conftest.err 1747 fi 1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1749 test $ac_status = 0; } && { 1750 test -z "$ac_c_werror_flag" || 1751 test ! -s conftest.err 1752 } && test -s conftest$ac_exeext && { 1753 test "$cross_compiling" = yes || 1754 test -x conftest$ac_exeext 1755 }; then : 1756 ac_retval=0 1757 else 1758 $as_echo "$as_me: failed program was:" >&5 1759 sed 's/^/| /' conftest.$ac_ext >&5 1760 1761 ac_retval=1 1762 fi 1763 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1764 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1765 # interfere with the next link command; also delete a directory that is 1766 # left behind by Apple's compiler. We do this before executing the actions. 1767 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1769 as_fn_set_status $ac_retval 1770 1771 } # ac_fn_c_try_link 1772 1773 # ac_fn_cxx_try_compile LINENO 1774 # ---------------------------- 1775 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1776 ac_fn_cxx_try_compile () 1777 { 1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1779 rm -f conftest.$ac_objext 1780 if { { ac_try="$ac_compile" 1781 case "(($ac_try" in 1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1783 *) ac_try_echo=$ac_try;; 1784 esac 1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1786 $as_echo "$ac_try_echo"; } >&5 1787 (eval "$ac_compile") 2>conftest.err 1788 ac_status=$? 1789 if test -s conftest.err; then 1790 grep -v '^ *+' conftest.err >conftest.er1 1791 cat conftest.er1 >&5 1792 mv -f conftest.er1 conftest.err 1793 fi 1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1795 test $ac_status = 0; } && { 1796 test -z "$ac_cxx_werror_flag" || 1797 test ! -s conftest.err 1798 } && test -s conftest.$ac_objext; then : 1799 ac_retval=0 1800 else 1801 $as_echo "$as_me: failed program was:" >&5 1802 sed 's/^/| /' conftest.$ac_ext >&5 1803 1804 ac_retval=1 1805 fi 1806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1807 as_fn_set_status $ac_retval 1808 1809 } # ac_fn_cxx_try_compile 1810 1811 # ac_fn_cxx_try_cpp LINENO 1812 # ------------------------ 1813 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1814 ac_fn_cxx_try_cpp () 1815 { 1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1817 if { { ac_try="$ac_cpp conftest.$ac_ext" 1818 case "(($ac_try" in 1819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1820 *) ac_try_echo=$ac_try;; 1821 esac 1822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1823 $as_echo "$ac_try_echo"; } >&5 1824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1825 ac_status=$? 1826 if test -s conftest.err; then 1827 grep -v '^ *+' conftest.err >conftest.er1 1828 cat conftest.er1 >&5 1829 mv -f conftest.er1 conftest.err 1830 fi 1831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1832 test $ac_status = 0; } > conftest.i && { 1833 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1834 test ! -s conftest.err 1835 }; then : 1836 ac_retval=0 1837 else 1838 $as_echo "$as_me: failed program was:" >&5 1839 sed 's/^/| /' conftest.$ac_ext >&5 1840 1841 ac_retval=1 1842 fi 1843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1844 as_fn_set_status $ac_retval 1845 1846 } # ac_fn_cxx_try_cpp 1847 1848 # ac_fn_cxx_try_run LINENO 1849 # ------------------------ 1850 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1851 # that executables *can* be run. 1852 ac_fn_cxx_try_run () 1853 { 1854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1855 if { { ac_try="$ac_link" 1856 case "(($ac_try" in 1857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1858 *) ac_try_echo=$ac_try;; 1859 esac 1860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1861 $as_echo "$ac_try_echo"; } >&5 1862 (eval "$ac_link") 2>&5 1863 ac_status=$? 1864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1865 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1866 { { case "(($ac_try" in 1867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1868 *) ac_try_echo=$ac_try;; 1869 esac 1870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1871 $as_echo "$ac_try_echo"; } >&5 1872 (eval "$ac_try") 2>&5 1873 ac_status=$? 1874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1875 test $ac_status = 0; }; }; then : 1876 ac_retval=0 1877 else 1878 $as_echo "$as_me: program exited with status $ac_status" >&5 1879 $as_echo "$as_me: failed program was:" >&5 1880 sed 's/^/| /' conftest.$ac_ext >&5 1881 1882 ac_retval=$ac_status 1883 fi 1884 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1886 as_fn_set_status $ac_retval 1887 1888 } # ac_fn_cxx_try_run 1889 1890 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 1891 # ---------------------------------------------- 1892 # Tries to find the compile-time value of EXPR in a program that includes 1893 # INCLUDES, setting VAR accordingly. Returns whether the value could be 1894 # computed 1895 ac_fn_cxx_compute_int () 1896 { 1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1898 if test "$cross_compiling" = yes; then 1899 # Depending upon the size, compute the lo and hi bounds. 1900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1901 /* end confdefs.h. */ 1902 $4 1903 int 1904 main () 1905 { 1906 static int test_array [1 - 2 * !(($2) >= 0)]; 1907 test_array [0] = 0; 1908 return test_array [0]; 1909 1910 ; 1911 return 0; 1912 } 1913 _ACEOF 1914 if ac_fn_cxx_try_compile "$LINENO"; then : 1915 ac_lo=0 ac_mid=0 1916 while :; do 1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1918 /* end confdefs.h. */ 1919 $4 1920 int 1921 main () 1922 { 1923 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1924 test_array [0] = 0; 1925 return test_array [0]; 1926 1927 ; 1928 return 0; 1929 } 1930 _ACEOF 1931 if ac_fn_cxx_try_compile "$LINENO"; then : 1932 ac_hi=$ac_mid; break 1933 else 1934 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1935 if test $ac_lo -le $ac_mid; then 1936 ac_lo= ac_hi= 1937 break 1938 fi 1939 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1940 fi 1941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1942 done 1943 else 1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1945 /* end confdefs.h. */ 1946 $4 1947 int 1948 main () 1949 { 1950 static int test_array [1 - 2 * !(($2) < 0)]; 1951 test_array [0] = 0; 1952 return test_array [0]; 1953 1954 ; 1955 return 0; 1956 } 1957 _ACEOF 1958 if ac_fn_cxx_try_compile "$LINENO"; then : 1959 ac_hi=-1 ac_mid=-1 1960 while :; do 1961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1962 /* end confdefs.h. */ 1963 $4 1964 int 1965 main () 1966 { 1967 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1968 test_array [0] = 0; 1969 return test_array [0]; 1970 1971 ; 1972 return 0; 1973 } 1974 _ACEOF 1975 if ac_fn_cxx_try_compile "$LINENO"; then : 1976 ac_lo=$ac_mid; break 1977 else 1978 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1979 if test $ac_mid -le $ac_hi; then 1980 ac_lo= ac_hi= 1981 break 1982 fi 1983 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1984 fi 1985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1986 done 1987 else 1988 ac_lo= ac_hi= 1989 fi 1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1991 fi 1992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1993 # Binary search between lo and hi bounds. 1994 while test "x$ac_lo" != "x$ac_hi"; do 1995 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1997 /* end confdefs.h. */ 1998 $4 1999 int 2000 main () 2001 { 2002 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2003 test_array [0] = 0; 2004 return test_array [0]; 2005 2006 ; 2007 return 0; 2008 } 2009 _ACEOF 2010 if ac_fn_cxx_try_compile "$LINENO"; then : 2011 ac_hi=$ac_mid 2012 else 2013 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2014 fi 2015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2016 done 2017 case $ac_lo in #(( 2018 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2019 '') ac_retval=1 ;; 2020 esac 2021 else 2022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2023 /* end confdefs.h. */ 2024 $4 2025 static long int longval () { return $2; } 2026 static unsigned long int ulongval () { return $2; } 2027 #include <stdio.h> 2028 #include <stdlib.h> 2029 int 2030 main () 2031 { 2032 2033 FILE *f = fopen ("conftest.val", "w"); 2034 if (! f) 2035 return 1; 2036 if (($2) < 0) 2037 { 2038 long int i = longval (); 2039 if (i != ($2)) 2040 return 1; 2041 fprintf (f, "%ld", i); 2042 } 2043 else 2044 { 2045 unsigned long int i = ulongval (); 2046 if (i != ($2)) 2047 return 1; 2048 fprintf (f, "%lu", i); 2049 } 2050 /* Do not output a trailing newline, as this causes \r\n confusion 2051 on some platforms. */ 2052 return ferror (f) || fclose (f) != 0; 2053 2054 ; 2055 return 0; 2056 } 2057 _ACEOF 2058 if ac_fn_cxx_try_run "$LINENO"; then : 2059 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2060 else 2061 ac_retval=1 2062 fi 2063 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2064 conftest.$ac_objext conftest.beam conftest.$ac_ext 2065 rm -f conftest.val 2066 2067 fi 2068 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2069 as_fn_set_status $ac_retval 2070 2071 } # ac_fn_cxx_compute_int 2072 2073 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 2074 # --------------------------------------------------------- 2075 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 2076 # the include files in INCLUDES and setting the cache variable VAR 2077 # accordingly. 2078 ac_fn_cxx_check_header_mongrel () 2079 { 2080 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2081 if eval \${$3+:} false; then : 2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2083 $as_echo_n "checking for $2... " >&6; } 2084 if eval \${$3+:} false; then : 2085 $as_echo_n "(cached) " >&6 2086 fi 2087 eval ac_res=\$$3 2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2089 $as_echo "$ac_res" >&6; } 2090 else 2091 # Is the header compilable? 2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2093 $as_echo_n "checking $2 usability... " >&6; } 2094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2095 /* end confdefs.h. */ 2096 $4 2097 #include <$2> 2098 _ACEOF 2099 if ac_fn_cxx_try_compile "$LINENO"; then : 2100 ac_header_compiler=yes 2101 else 2102 ac_header_compiler=no 2103 fi 2104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2106 $as_echo "$ac_header_compiler" >&6; } 2107 2108 # Is the header present? 2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2110 $as_echo_n "checking $2 presence... " >&6; } 2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2112 /* end confdefs.h. */ 2113 #include <$2> 2114 _ACEOF 2115 if ac_fn_cxx_try_cpp "$LINENO"; then : 2116 ac_header_preproc=yes 2117 else 2118 ac_header_preproc=no 2119 fi 2120 rm -f conftest.err conftest.i conftest.$ac_ext 2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2122 $as_echo "$ac_header_preproc" >&6; } 2123 2124 # So? What about this header? 2125 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2126 yes:no: ) 2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2128 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2130 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2131 ;; 2132 no:yes:* ) 2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2134 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2136 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2138 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2140 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2142 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2143 ( $as_echo "## ----------------------------------- ## 2144 ## Report this to rappture@nanohub.org ## 2145 ## ----------------------------------- ##" 2146 ) | sed "s/^/$as_me: WARNING: /" >&2 2147 ;; 2148 esac 2149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2150 $as_echo_n "checking for $2... " >&6; } 2151 if eval \${$3+:} false; then : 2152 $as_echo_n "(cached) " >&6 2153 else 2154 eval "$3=\$ac_header_compiler" 2155 fi 2156 eval ac_res=\$$3 2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2158 $as_echo "$ac_res" >&6; } 2159 fi 2160 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2161 2162 } # ac_fn_cxx_check_header_mongrel 2163 2164 # ac_fn_cxx_try_link LINENO 2165 # ------------------------- 2166 # Try to link conftest.$ac_ext, and return whether this succeeded. 2167 ac_fn_cxx_try_link () 2168 { 2169 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2170 rm -f conftest.$ac_objext conftest$ac_exeext 2171 if { { ac_try="$ac_link" 2172 case "(($ac_try" in 2173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2174 *) ac_try_echo=$ac_try;; 2175 esac 2176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2177 $as_echo "$ac_try_echo"; } >&5 2178 (eval "$ac_link") 2>conftest.err 2179 ac_status=$? 2180 if test -s conftest.err; then 2181 grep -v '^ *+' conftest.err >conftest.er1 2182 cat conftest.er1 >&5 2183 mv -f conftest.er1 conftest.err 2184 fi 2185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2186 test $ac_status = 0; } && { 2187 test -z "$ac_cxx_werror_flag" || 2188 test ! -s conftest.err 2189 } && test -s conftest$ac_exeext && { 2190 test "$cross_compiling" = yes || 2191 test -x conftest$ac_exeext 2192 }; then : 2193 ac_retval=0 2194 else 2195 $as_echo "$as_me: failed program was:" >&5 2196 sed 's/^/| /' conftest.$ac_ext >&5 2197 2198 ac_retval=1 2199 fi 2200 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2201 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2202 # interfere with the next link command; also delete a directory that is 2203 # left behind by Apple's compiler. We do this before executing the actions. 2204 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2205 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2206 as_fn_set_status $ac_retval 2207 2208 } # ac_fn_cxx_try_link 2209 2210 # ac_fn_cxx_check_func LINENO FUNC VAR 2211 # ------------------------------------ 2212 # Tests whether FUNC exists, setting the cache variable VAR accordingly 2213 ac_fn_cxx_check_func () 2214 { 2215 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2217 $as_echo_n "checking for $2... " >&6; } 2218 if eval \${$3+:} false; then : 2219 $as_echo_n "(cached) " >&6 2220 else 2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2222 /* end confdefs.h. */ 2223 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2224 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2225 #define $2 innocuous_$2 2226 2227 /* System header to define __stub macros and hopefully few prototypes, 2228 which can conflict with char $2 (); below. 2229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2230 <limits.h> exists even on freestanding compilers. */ 2231 2232 #ifdef __STDC__ 2233 # include <limits.h> 2234 #else 2235 # include <assert.h> 2236 #endif 2237 2238 #undef $2 2239 2240 /* Override any GCC internal prototype to avoid an error. 2241 Use char because int might match the return type of a GCC 2242 builtin and then its argument prototype would still apply. */ 2243 #ifdef __cplusplus 2244 extern "C" 2245 #endif 2246 char $2 (); 2247 /* The GNU C library defines this for functions which it implements 2248 to always fail with ENOSYS. Some functions are actually named 2249 something starting with __ and the normal name is an alias. */ 2250 #if defined __stub_$2 || defined __stub___$2 2251 choke me 2252 #endif 2253 2254 int 2255 main () 2256 { 2257 return $2 (); 2258 ; 2259 return 0; 2260 } 2261 _ACEOF 2262 if ac_fn_cxx_try_link "$LINENO"; then : 2263 eval "$3=yes" 2264 else 2265 eval "$3=no" 2266 fi 2267 rm -f core conftest.err conftest.$ac_objext \ 2268 conftest$ac_exeext conftest.$ac_ext 2269 fi 2270 eval ac_res=\$$3 2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2272 $as_echo "$ac_res" >&6; } 2273 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2274 2275 } # ac_fn_cxx_check_func 1510 2276 cat >config.log <<_ACEOF 1511 2277 This file contains any messages produced by compilers while … … 1513 2279 1514 2280 It was created by vizservers $as_me 0.1, which was 1515 generated by GNU Autoconf 2.6 3. Invocation command line was2281 generated by GNU Autoconf 2.69. Invocation command line was 1516 2282 1517 2283 $ $0 $@ … … 1549 2315 IFS=$as_save_IFS 1550 2316 test -z "$as_dir" && as_dir=. 1551 $as_echo "PATH: $as_dir"1552 done2317 $as_echo "PATH: $as_dir" 2318 done 1553 2319 IFS=$as_save_IFS 1554 2320 … … 1587 2353 esac 1588 2354 case $ac_pass in 1589 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2355 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1590 2356 2) 1591 a c_configure_args1="$ac_configure_args1'$ac_arg'"2357 as_fn_append ac_configure_args1 " '$ac_arg'" 1592 2358 if test $ac_must_keep_next = true; then 1593 2359 ac_must_keep_next=false # Got value, back to normal. … … 1605 2371 esac 1606 2372 fi 1607 a c_configure_args="$ac_configure_args'$ac_arg'"2373 as_fn_append ac_configure_args " '$ac_arg'" 1608 2374 ;; 1609 2375 esac 1610 2376 done 1611 2377 done 1612 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1613 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2378 { ac_configure_args0=; unset ac_configure_args0;} 2379 { ac_configure_args1=; unset ac_configure_args1;} 1614 2380 1615 2381 # When interrupted or exit'd, cleanup temporary files, and complete … … 1623 2389 echo 1624 2390 1625 cat <<\_ASBOX 1626 ## ---------------- ## 2391 $as_echo "## ---------------- ## 1627 2392 ## Cache variables. ## 1628 ## ---------------- ## 1629 _ASBOX 2393 ## ---------------- ##" 1630 2394 echo 1631 2395 # The following way of writing the cache mishandles newlines in values, … … 1636 2400 *${as_nl}*) 1637 2401 case $ac_var in #( 1638 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&52402 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1639 2403 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1640 2404 esac … … 1642 2406 _ | IFS | as_nl) ;; #( 1643 2407 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1644 *) $as_unset $ac_var;;2408 *) { eval $ac_var=; unset $ac_var;} ;; 1645 2409 esac ;; 1646 2410 esac … … 1661 2425 echo 1662 2426 1663 cat <<\_ASBOX 1664 ## ----------------- ## 2427 $as_echo "## ----------------- ## 1665 2428 ## Output variables. ## 1666 ## ----------------- ## 1667 _ASBOX 2429 ## ----------------- ##" 1668 2430 echo 1669 2431 for ac_var in $ac_subst_vars … … 1678 2440 1679 2441 if test -n "$ac_subst_files"; then 1680 cat <<\_ASBOX 1681 ## ------------------- ## 2442 $as_echo "## ------------------- ## 1682 2443 ## File substitutions. ## 1683 ## ------------------- ## 1684 _ASBOX 2444 ## ------------------- ##" 1685 2445 echo 1686 2446 for ac_var in $ac_subst_files … … 1696 2456 1697 2457 if test -s confdefs.h; then 1698 cat <<\_ASBOX 1699 ## ----------- ## 2458 $as_echo "## ----------- ## 1700 2459 ## confdefs.h. ## 1701 ## ----------- ## 1702 _ASBOX 2460 ## ----------- ##" 1703 2461 echo 1704 2462 cat confdefs.h … … 1714 2472 ' 0 1715 2473 for ac_signal in 1 2 13 15; do 1716 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2474 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1717 2475 done 1718 2476 ac_signal=0 … … 1721 2479 rm -f -r conftest* confdefs.h 1722 2480 2481 $as_echo "/* confdefs.h */" > confdefs.h 2482 1723 2483 # Predefined preprocessor variables. 1724 2484 … … 1727 2487 _ACEOF 1728 2488 1729 1730 2489 cat >>confdefs.h <<_ACEOF 1731 2490 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1732 2491 _ACEOF 1733 2492 1734 1735 2493 cat >>confdefs.h <<_ACEOF 1736 2494 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1737 2495 _ACEOF 1738 2496 1739 1740 2497 cat >>confdefs.h <<_ACEOF 1741 2498 #define PACKAGE_STRING "$PACKAGE_STRING" 1742 2499 _ACEOF 1743 2500 1744 1745 2501 cat >>confdefs.h <<_ACEOF 1746 2502 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2503 _ACEOF 2504 2505 cat >>confdefs.h <<_ACEOF 2506 #define PACKAGE_URL "$PACKAGE_URL" 1747 2507 _ACEOF 1748 2508 … … 1753 2513 ac_site_file2=NONE 1754 2514 if test -n "$CONFIG_SITE"; then 1755 ac_site_file1=$CONFIG_SITE 2515 # We do not want a PATH search for config.site. 2516 case $CONFIG_SITE in #(( 2517 -*) ac_site_file1=./$CONFIG_SITE;; 2518 */*) ac_site_file1=$CONFIG_SITE;; 2519 *) ac_site_file1=./$CONFIG_SITE;; 2520 esac 1756 2521 elif test "x$prefix" != xNONE; then 1757 2522 ac_site_file1=$prefix/share/config.site … … 1764 2529 do 1765 2530 test "x$ac_site_file" = xNONE && continue 1766 if test -r "$ac_site_file"; then1767 { $as_echo "$as_me:$ LINENO: loading site script $ac_site_file" >&52531 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2532 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1768 2533 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1769 2534 sed 's/^/| /' "$ac_site_file" >&5 1770 . "$ac_site_file" 2535 . "$ac_site_file" \ 2536 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2538 as_fn_error $? "failed to load site script $ac_site_file 2539 See \`config.log' for more details" "$LINENO" 5; } 1771 2540 fi 1772 2541 done 1773 2542 1774 2543 if test -r "$cache_file"; then 1775 # Some versions of bash will fail to source /dev/null (special 1776 # files actually), so we avoid doing that.1777 if test -f "$cache_file"; then1778 { $as_echo "$as_me:$ LINENO: loading cache $cache_file" >&52544 # Some versions of bash will fail to source /dev/null (special files 2545 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2546 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2547 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1779 2548 $as_echo "$as_me: loading cache $cache_file" >&6;} 1780 2549 case $cache_file in … … 1784 2553 fi 1785 2554 else 1786 { $as_echo "$as_me:$ LINENO: creating cache $cache_file" >&52555 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1787 2556 $as_echo "$as_me: creating cache $cache_file" >&6;} 1788 2557 >$cache_file … … 1799 2568 case $ac_old_set,$ac_new_set in 1800 2569 set,) 1801 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52570 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1802 2571 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1803 2572 ac_cache_corrupted=: ;; 1804 2573 ,set) 1805 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was not set in the previous run" >&52574 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1806 2575 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1807 2576 ac_cache_corrupted=: ;; … … 1813 2582 ac_new_val_w=`echo x $ac_new_val` 1814 2583 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1815 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' has changed since the previous run:" >&52584 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1816 2585 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1817 2586 ac_cache_corrupted=: 1818 2587 else 1819 { $as_echo "$as_me:$ LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52588 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1820 2589 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1821 2590 eval $ac_var=\$ac_old_val 1822 2591 fi 1823 { $as_echo "$as_me:$ LINENO: former value: \`$ac_old_val'" >&52592 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1824 2593 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1825 { $as_echo "$as_me:$ LINENO: current value: \`$ac_new_val'" >&52594 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1826 2595 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1827 2596 fi;; … … 1835 2604 case " $ac_configure_args " in 1836 2605 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1837 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2606 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1838 2607 esac 1839 2608 fi 1840 2609 done 1841 2610 if $ac_cache_corrupted; then 1842 { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52611 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1843 2612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1844 { $as_echo "$as_me:$ LINENO: error: changes in the environment can compromise the build" >&52613 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1845 2614 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1846 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1847 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1848 { (exit 1); exit 1; }; } 1849 fi 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 2615 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2616 fi 2617 ## -------------------- ## 2618 ## Main body of script. ## 2619 ## -------------------- ## 1874 2620 1875 2621 ac_ext=c … … 1897 2643 done 1898 2644 if test -z "$ac_aux_dir"; then 1899 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1900 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1901 { (exit 1); exit 1; }; } 2645 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1902 2646 fi 1903 2647 … … 1916 2660 1917 2661 # Check whether --with-tcllib was given. 1918 if test "${with_tcllib+set}" = set; then 2662 if test "${with_tcllib+set}" = set; then : 1919 2663 withval=$with_tcllib; with_tcllib=$withval 1920 2664 else … … 1925 2669 1926 2670 # Check whether --with-rappture was given. 1927 if test "${with_rappture+set}" = set; then 2671 if test "${with_rappture+set}" = set; then : 1928 2672 withval=$with_rappture; with_rappture=$withval 1929 2673 else … … 1934 2678 1935 2679 # Check whether --with-vtk-includes was given. 1936 if test "${with_vtk_includes+set}" = set; then 2680 if test "${with_vtk_includes+set}" = set; then : 1937 2681 withval=$with_vtk_includes; with_vtk_includes=$withval 1938 2682 else … … 1943 2687 1944 2688 # Check whether --with-vtk-libs was given. 1945 if test "${with_vtk_libs+set}" = set; then 2689 if test "${with_vtk_libs+set}" = set; then : 1946 2690 withval=$with_vtk_libs; with_vtk_libs=$withval 1947 2691 else … … 1952 2696 1953 2697 # Check whether --with-vtk was given. 1954 if test "${with_vtk+set}" = set; then 2698 if test "${with_vtk+set}" = set; then : 1955 2699 withval=$with_vtk; with_vtk=$withval 1956 2700 else … … 1961 2705 1962 2706 # Check whether --with-ffmpeg was given. 1963 if test "${with_ffmpeg+set}" = set; then 2707 if test "${with_ffmpeg+set}" = set; then : 1964 2708 withval=$with_ffmpeg; 1965 2709 else … … 1976 2720 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1977 2721 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1978 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1979 2723 $as_echo_n "checking for $ac_word... " >&6; } 1980 if test "${ac_cv_prog_CC+set}" = set; then2724 if ${ac_cv_prog_CC+:} false; then : 1981 2725 $as_echo_n "(cached) " >&6 1982 2726 else … … 1989 2733 IFS=$as_save_IFS 1990 2734 test -z "$as_dir" && as_dir=. 1991 for ac_exec_ext in '' $ac_executable_extensions; do1992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2735 for ac_exec_ext in '' $ac_executable_extensions; do 2736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1993 2737 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1994 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1995 2739 break 2 1996 2740 fi 1997 2741 done 1998 done2742 done 1999 2743 IFS=$as_save_IFS 2000 2744 … … 2003 2747 CC=$ac_cv_prog_CC 2004 2748 if test -n "$CC"; then 2005 { $as_echo "$as_me:$ LINENO: result: $CC" >&52749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2006 2750 $as_echo "$CC" >&6; } 2007 2751 else 2008 { $as_echo "$as_me:$ LINENO: result: no" >&52752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2009 2753 $as_echo "no" >&6; } 2010 2754 fi … … 2016 2760 # Extract the first word of "gcc", so it can be a program name with args. 2017 2761 set dummy gcc; ac_word=$2 2018 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2019 2763 $as_echo_n "checking for $ac_word... " >&6; } 2020 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2764 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2021 2765 $as_echo_n "(cached) " >&6 2022 2766 else … … 2029 2773 IFS=$as_save_IFS 2030 2774 test -z "$as_dir" && as_dir=. 2031 for ac_exec_ext in '' $ac_executable_extensions; do2032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2775 for ac_exec_ext in '' $ac_executable_extensions; do 2776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2033 2777 ac_cv_prog_ac_ct_CC="gcc" 2034 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2035 2779 break 2 2036 2780 fi 2037 2781 done 2038 done2782 done 2039 2783 IFS=$as_save_IFS 2040 2784 … … 2043 2787 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2044 2788 if test -n "$ac_ct_CC"; then 2045 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2046 2790 $as_echo "$ac_ct_CC" >&6; } 2047 2791 else 2048 { $as_echo "$as_me:$ LINENO: result: no" >&52792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2049 2793 $as_echo "no" >&6; } 2050 2794 fi … … 2055 2799 case $cross_compiling:$ac_tool_warned in 2056 2800 yes:) 2057 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2058 2802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2059 2803 ac_tool_warned=yes ;; … … 2069 2813 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2070 2814 set dummy ${ac_tool_prefix}cc; ac_word=$2 2071 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2072 2816 $as_echo_n "checking for $ac_word... " >&6; } 2073 if test "${ac_cv_prog_CC+set}" = set; then2817 if ${ac_cv_prog_CC+:} false; then : 2074 2818 $as_echo_n "(cached) " >&6 2075 2819 else … … 2082 2826 IFS=$as_save_IFS 2083 2827 test -z "$as_dir" && as_dir=. 2084 for ac_exec_ext in '' $ac_executable_extensions; do2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2828 for ac_exec_ext in '' $ac_executable_extensions; do 2829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2086 2830 ac_cv_prog_CC="${ac_tool_prefix}cc" 2087 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2088 2832 break 2 2089 2833 fi 2090 2834 done 2091 done2835 done 2092 2836 IFS=$as_save_IFS 2093 2837 … … 2096 2840 CC=$ac_cv_prog_CC 2097 2841 if test -n "$CC"; then 2098 { $as_echo "$as_me:$ LINENO: result: $CC" >&52842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2099 2843 $as_echo "$CC" >&6; } 2100 2844 else 2101 { $as_echo "$as_me:$ LINENO: result: no" >&52845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2102 2846 $as_echo "no" >&6; } 2103 2847 fi … … 2109 2853 # Extract the first word of "cc", so it can be a program name with args. 2110 2854 set dummy cc; ac_word=$2 2111 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2112 2856 $as_echo_n "checking for $ac_word... " >&6; } 2113 if test "${ac_cv_prog_CC+set}" = set; then2857 if ${ac_cv_prog_CC+:} false; then : 2114 2858 $as_echo_n "(cached) " >&6 2115 2859 else … … 2123 2867 IFS=$as_save_IFS 2124 2868 test -z "$as_dir" && as_dir=. 2125 for ac_exec_ext in '' $ac_executable_extensions; do2126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2869 for ac_exec_ext in '' $ac_executable_extensions; do 2870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2127 2871 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2128 2872 ac_prog_rejected=yes … … 2130 2874 fi 2131 2875 ac_cv_prog_CC="cc" 2132 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2133 2877 break 2 2134 2878 fi 2135 2879 done 2136 done2880 done 2137 2881 IFS=$as_save_IFS 2138 2882 … … 2153 2897 CC=$ac_cv_prog_CC 2154 2898 if test -n "$CC"; then 2155 { $as_echo "$as_me:$ LINENO: result: $CC" >&52899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2156 2900 $as_echo "$CC" >&6; } 2157 2901 else 2158 { $as_echo "$as_me:$ LINENO: result: no" >&52902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2159 2903 $as_echo "no" >&6; } 2160 2904 fi … … 2168 2912 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2169 2913 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2170 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2171 2915 $as_echo_n "checking for $ac_word... " >&6; } 2172 if test "${ac_cv_prog_CC+set}" = set; then2916 if ${ac_cv_prog_CC+:} false; then : 2173 2917 $as_echo_n "(cached) " >&6 2174 2918 else … … 2181 2925 IFS=$as_save_IFS 2182 2926 test -z "$as_dir" && as_dir=. 2183 for ac_exec_ext in '' $ac_executable_extensions; do2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2927 for ac_exec_ext in '' $ac_executable_extensions; do 2928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2185 2929 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2186 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2187 2931 break 2 2188 2932 fi 2189 2933 done 2190 done2934 done 2191 2935 IFS=$as_save_IFS 2192 2936 … … 2195 2939 CC=$ac_cv_prog_CC 2196 2940 if test -n "$CC"; then 2197 { $as_echo "$as_me:$ LINENO: result: $CC" >&52941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2198 2942 $as_echo "$CC" >&6; } 2199 2943 else 2200 { $as_echo "$as_me:$ LINENO: result: no" >&52944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2201 2945 $as_echo "no" >&6; } 2202 2946 fi … … 2212 2956 # Extract the first word of "$ac_prog", so it can be a program name with args. 2213 2957 set dummy $ac_prog; ac_word=$2 2214 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2215 2959 $as_echo_n "checking for $ac_word... " >&6; } 2216 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2960 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2217 2961 $as_echo_n "(cached) " >&6 2218 2962 else … … 2225 2969 IFS=$as_save_IFS 2226 2970 test -z "$as_dir" && as_dir=. 2227 for ac_exec_ext in '' $ac_executable_extensions; do2228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2971 for ac_exec_ext in '' $ac_executable_extensions; do 2972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2229 2973 ac_cv_prog_ac_ct_CC="$ac_prog" 2230 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2231 2975 break 2 2232 2976 fi 2233 2977 done 2234 done2978 done 2235 2979 IFS=$as_save_IFS 2236 2980 … … 2239 2983 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2240 2984 if test -n "$ac_ct_CC"; then 2241 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2242 2986 $as_echo "$ac_ct_CC" >&6; } 2243 2987 else 2244 { $as_echo "$as_me:$ LINENO: result: no" >&52988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2245 2989 $as_echo "no" >&6; } 2246 2990 fi … … 2255 2999 case $cross_compiling:$ac_tool_warned in 2256 3000 yes:) 2257 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2258 3002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2259 3003 ac_tool_warned=yes ;; … … 2266 3010 2267 3011 2268 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53012 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2269 3013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2270 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2271 See \`config.log' for more details." >&5 2272 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2273 See \`config.log' for more details." >&2;} 2274 { (exit 1); exit 1; }; }; } 3014 as_fn_error $? "no acceptable C compiler found in \$PATH 3015 See \`config.log' for more details" "$LINENO" 5; } 2275 3016 2276 3017 # Provide some information about the compiler. 2277 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&53018 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2278 3019 set X $ac_compile 2279 3020 ac_compiler=$2 2280 { (ac_try="$ac_compiler --version >&5" 3021 for ac_option in --version -v -V -qversion; do 3022 { { ac_try="$ac_compiler $ac_option >&5" 2281 3023 case "(($ac_try" in 2282 3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2283 3025 *) ac_try_echo=$ac_try;; 2284 3026 esac 2285 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2286 $as_echo "$ac_try_echo" )>&52287 (eval "$ac_compiler --version >&5") 2>&53027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3028 $as_echo "$ac_try_echo"; } >&5 3029 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2288 3030 ac_status=$? 2289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2290 (exit $ac_status); } 2291 { (ac_try="$ac_compiler -v >&5" 2292 case "(($ac_try" in 2293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2294 *) ac_try_echo=$ac_try;; 2295 esac 2296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2297 $as_echo "$ac_try_echo") >&5 2298 (eval "$ac_compiler -v >&5") 2>&5 2299 ac_status=$? 2300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2301 (exit $ac_status); } 2302 { (ac_try="$ac_compiler -V >&5" 2303 case "(($ac_try" in 2304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2305 *) ac_try_echo=$ac_try;; 2306 esac 2307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2308 $as_echo "$ac_try_echo") >&5 2309 (eval "$ac_compiler -V >&5") 2>&5 2310 ac_status=$? 2311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2312 (exit $ac_status); } 2313 2314 cat >conftest.$ac_ext <<_ACEOF 2315 /* confdefs.h. */ 2316 _ACEOF 2317 cat confdefs.h >>conftest.$ac_ext 2318 cat >>conftest.$ac_ext <<_ACEOF 3031 if test -s conftest.err; then 3032 sed '10a\ 3033 ... rest of stderr output deleted ... 3034 10q' conftest.err >conftest.er1 3035 cat conftest.er1 >&5 3036 fi 3037 rm -f conftest.er1 conftest.err 3038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3039 test $ac_status = 0; } 3040 done 3041 3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2319 3043 /* end confdefs.h. */ 2320 3044 … … 2332 3056 # It will help us diagnose broken compilers, and finding out an intuition 2333 3057 # of exeext. 2334 { $as_echo "$as_me:$ LINENO: checking for C compiler default output file name" >&52335 $as_echo_n "checking for C compiler default output file name... " >&6; }3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3059 $as_echo_n "checking whether the C compiler works... " >&6; } 2336 3060 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2337 3061 … … 2349 3073 rm -f $ac_rmfiles 2350 3074 2351 if { (ac_try="$ac_link_default"3075 if { { ac_try="$ac_link_default" 2352 3076 case "(($ac_try" in 2353 3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2354 3078 *) ac_try_echo=$ac_try;; 2355 3079 esac 2356 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2357 $as_echo "$ac_try_echo" )>&53080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3081 $as_echo "$ac_try_echo"; } >&5 2358 3082 (eval "$ac_link_default") 2>&5 2359 3083 ac_status=$? 2360 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52361 (exit $ac_status); }; then3084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3085 test $ac_status = 0; }; then : 2362 3086 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2363 3087 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2376 3100 break;; 2377 3101 *.* ) 2378 3102 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2379 3103 then :; else 2380 3104 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2395 3119 ac_file='' 2396 3120 fi 2397 2398 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3121 if test -z "$ac_file"; then : 3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3123 $as_echo "no" >&6; } 3124 $as_echo "$as_me: failed program was:" >&5 3125 sed 's/^/| /' conftest.$ac_ext >&5 3126 3127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3129 as_fn_error 77 "C compiler cannot create executables 3130 See \`config.log' for more details" "$LINENO" 5; } 3131 else 3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3133 $as_echo "yes" >&6; } 3134 fi 3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3136 $as_echo_n "checking for C compiler default output file name... " >&6; } 3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2399 3138 $as_echo "$ac_file" >&6; } 2400 if test -z "$ac_file"; then2401 $as_echo "$as_me: failed program was:" >&52402 sed 's/^/| /' conftest.$ac_ext >&52403 2404 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2406 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables2407 See \`config.log' for more details." >&52408 $as_echo "$as_me: error: C compiler cannot create executables2409 See \`config.log' for more details." >&2;}2410 { (exit 77); exit 77; }; }; }2411 fi2412 2413 3139 ac_exeext=$ac_cv_exeext 2414 2415 # Check that the compiler produces executables we can run. If not, either2416 # the compiler is broken, or we cross compile.2417 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&52418 $as_echo_n "checking whether the C compiler works... " >&6; }2419 # FIXME: These cross compiler hacks should be removed for Autoconf 3.02420 # If not cross compiling, check that we can run a simple program.2421 if test "$cross_compiling" != yes; then2422 if { ac_try='./$ac_file'2423 { (case "(($ac_try" in2424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2425 *) ac_try_echo=$ac_try;;2426 esac2427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""2428 $as_echo "$ac_try_echo") >&52429 (eval "$ac_try") 2>&52430 ac_status=$?2431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52432 (exit $ac_status); }; }; then2433 cross_compiling=no2434 else2435 if test "$cross_compiling" = maybe; then2436 cross_compiling=yes2437 else2438 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2440 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.2441 If you meant to cross compile, use \`--host'.2442 See \`config.log' for more details." >&52443 $as_echo "$as_me: error: cannot run C compiled programs.2444 If you meant to cross compile, use \`--host'.2445 See \`config.log' for more details." >&2;}2446 { (exit 1); exit 1; }; }; }2447 fi2448 fi2449 fi2450 { $as_echo "$as_me:$LINENO: result: yes" >&52451 $as_echo "yes" >&6; }2452 3140 2453 3141 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2454 3142 ac_clean_files=$ac_clean_files_save 2455 # Check that the compiler produces executables we can run. If not, either 2456 # the compiler is broken, or we cross compile. 2457 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2458 $as_echo_n "checking whether we are cross compiling... " >&6; } 2459 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2460 $as_echo "$cross_compiling" >&6; } 2461 2462 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2463 3144 $as_echo_n "checking for suffix of executables... " >&6; } 2464 if { (ac_try="$ac_link"3145 if { { ac_try="$ac_link" 2465 3146 case "(($ac_try" in 2466 3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2467 3148 *) ac_try_echo=$ac_try;; 2468 3149 esac 2469 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2470 $as_echo "$ac_try_echo" )>&53150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3151 $as_echo "$ac_try_echo"; } >&5 2471 3152 (eval "$ac_link") 2>&5 2472 3153 ac_status=$? 2473 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52474 (exit $ac_status); }; then3154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3155 test $ac_status = 0; }; then : 2475 3156 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2476 3157 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2487 3168 done 2488 3169 else 2489 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2490 3171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2491 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2492 See \`config.log' for more details." >&5 2493 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2494 See \`config.log' for more details." >&2;} 2495 { (exit 1); exit 1; }; }; } 2496 fi 2497 2498 rm -f conftest$ac_cv_exeext 2499 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3172 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3173 See \`config.log' for more details" "$LINENO" 5; } 3174 fi 3175 rm -f conftest conftest$ac_cv_exeext 3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2500 3177 $as_echo "$ac_cv_exeext" >&6; } 2501 3178 … … 2503 3180 EXEEXT=$ac_cv_exeext 2504 3181 ac_exeext=$EXEEXT 2505 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2506 $as_echo_n "checking for suffix of object files... " >&6; } 2507 if test "${ac_cv_objext+set}" = set; then 2508 $as_echo_n "(cached) " >&6 2509 else 2510 cat >conftest.$ac_ext <<_ACEOF 2511 /* confdefs.h. */ 2512 _ACEOF 2513 cat confdefs.h >>conftest.$ac_ext 2514 cat >>conftest.$ac_ext <<_ACEOF 3182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2515 3183 /* end confdefs.h. */ 2516 3184 #include <stdio.h> 2517 3185 int 2518 3186 main () 2519 3187 { 3188 FILE *f = fopen ("conftest.out", "w"); 3189 return ferror (f) || fclose (f) != 0; 2520 3190 2521 3191 ; … … 2523 3193 } 2524 3194 _ACEOF 2525 rm -f conftest.o conftest.obj 2526 if { (ac_try="$ac_compile" 3195 ac_clean_files="$ac_clean_files conftest.out" 3196 # Check that the compiler produces executables we can run. If not, either 3197 # the compiler is broken, or we cross compile. 3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3199 $as_echo_n "checking whether we are cross compiling... " >&6; } 3200 if test "$cross_compiling" != yes; then 3201 { { ac_try="$ac_link" 2527 3202 case "(($ac_try" in 2528 3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2529 3204 *) ac_try_echo=$ac_try;; 2530 3205 esac 2531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2532 $as_echo "$ac_try_echo") >&5 3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3207 $as_echo "$ac_try_echo"; } >&5 3208 (eval "$ac_link") 2>&5 3209 ac_status=$? 3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3211 test $ac_status = 0; } 3212 if { ac_try='./conftest$ac_cv_exeext' 3213 { { case "(($ac_try" in 3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3215 *) ac_try_echo=$ac_try;; 3216 esac 3217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3218 $as_echo "$ac_try_echo"; } >&5 3219 (eval "$ac_try") 2>&5 3220 ac_status=$? 3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3222 test $ac_status = 0; }; }; then 3223 cross_compiling=no 3224 else 3225 if test "$cross_compiling" = maybe; then 3226 cross_compiling=yes 3227 else 3228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3230 as_fn_error $? "cannot run C compiled programs. 3231 If you meant to cross compile, use \`--host'. 3232 See \`config.log' for more details" "$LINENO" 5; } 3233 fi 3234 fi 3235 fi 3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3237 $as_echo "$cross_compiling" >&6; } 3238 3239 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3240 ac_clean_files=$ac_clean_files_save 3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3242 $as_echo_n "checking for suffix of object files... " >&6; } 3243 if ${ac_cv_objext+:} false; then : 3244 $as_echo_n "(cached) " >&6 3245 else 3246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3247 /* end confdefs.h. */ 3248 3249 int 3250 main () 3251 { 3252 3253 ; 3254 return 0; 3255 } 3256 _ACEOF 3257 rm -f conftest.o conftest.obj 3258 if { { ac_try="$ac_compile" 3259 case "(($ac_try" in 3260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3261 *) ac_try_echo=$ac_try;; 3262 esac 3263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3264 $as_echo "$ac_try_echo"; } >&5 2533 3265 (eval "$ac_compile") 2>&5 2534 3266 ac_status=$? 2535 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52536 (exit $ac_status); }; then3267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3268 test $ac_status = 0; }; then : 2537 3269 for ac_file in conftest.o conftest.obj conftest.*; do 2538 3270 test -f "$ac_file" || continue; … … 2547 3279 sed 's/^/| /' conftest.$ac_ext >&5 2548 3280 2549 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2550 3282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2551 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2552 See \`config.log' for more details." >&5 2553 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2554 See \`config.log' for more details." >&2;} 2555 { (exit 1); exit 1; }; }; } 2556 fi 2557 3283 as_fn_error $? "cannot compute suffix of object files: cannot compile 3284 See \`config.log' for more details" "$LINENO" 5; } 3285 fi 2558 3286 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2559 3287 fi 2560 { $as_echo "$as_me:$ LINENO: result: $ac_cv_objext" >&53288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2561 3289 $as_echo "$ac_cv_objext" >&6; } 2562 3290 OBJEXT=$ac_cv_objext 2563 3291 ac_objext=$OBJEXT 2564 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU C compiler" >&53292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2565 3293 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2566 if test "${ac_cv_c_compiler_gnu+set}" = set; then3294 if ${ac_cv_c_compiler_gnu+:} false; then : 2567 3295 $as_echo_n "(cached) " >&6 2568 3296 else 2569 cat >conftest.$ac_ext <<_ACEOF 2570 /* confdefs.h. */ 2571 _ACEOF 2572 cat confdefs.h >>conftest.$ac_ext 2573 cat >>conftest.$ac_ext <<_ACEOF 3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2574 3298 /* end confdefs.h. */ 2575 3299 … … 2585 3309 } 2586 3310 _ACEOF 2587 rm -f conftest.$ac_objext 2588 if { (ac_try="$ac_compile" 2589 case "(($ac_try" in 2590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2591 *) ac_try_echo=$ac_try;; 2592 esac 2593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2594 $as_echo "$ac_try_echo") >&5 2595 (eval "$ac_compile") 2>conftest.er1 2596 ac_status=$? 2597 grep -v '^ *+' conftest.er1 >conftest.err 2598 rm -f conftest.er1 2599 cat conftest.err >&5 2600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2601 (exit $ac_status); } && { 2602 test -z "$ac_c_werror_flag" || 2603 test ! -s conftest.err 2604 } && test -s conftest.$ac_objext; then 3311 if ac_fn_c_try_compile "$LINENO"; then : 2605 3312 ac_compiler_gnu=yes 2606 3313 else 2607 $as_echo "$as_me: failed program was:" >&5 2608 sed 's/^/| /' conftest.$ac_ext >&5 2609 2610 ac_compiler_gnu=no 2611 fi 2612 3314 ac_compiler_gnu=no 3315 fi 2613 3316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2614 3317 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2615 3318 2616 3319 fi 2617 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&53320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2618 3321 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2619 3322 if test $ac_compiler_gnu = yes; then … … 2624 3327 ac_test_CFLAGS=${CFLAGS+set} 2625 3328 ac_save_CFLAGS=$CFLAGS 2626 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&53329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2627 3330 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2628 if test "${ac_cv_prog_cc_g+set}" = set; then3331 if ${ac_cv_prog_cc_g+:} false; then : 2629 3332 $as_echo_n "(cached) " >&6 2630 3333 else … … 2633 3336 ac_cv_prog_cc_g=no 2634 3337 CFLAGS="-g" 2635 cat >conftest.$ac_ext <<_ACEOF 2636 /* confdefs.h. */ 2637 _ACEOF 2638 cat confdefs.h >>conftest.$ac_ext 2639 cat >>conftest.$ac_ext <<_ACEOF 3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2640 3339 /* end confdefs.h. */ 2641 3340 … … 2648 3347 } 2649 3348 _ACEOF 2650 rm -f conftest.$ac_objext 2651 if { (ac_try="$ac_compile" 2652 case "(($ac_try" in 2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2654 *) ac_try_echo=$ac_try;; 2655 esac 2656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2657 $as_echo "$ac_try_echo") >&5 2658 (eval "$ac_compile") 2>conftest.er1 2659 ac_status=$? 2660 grep -v '^ *+' conftest.er1 >conftest.err 2661 rm -f conftest.er1 2662 cat conftest.err >&5 2663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2664 (exit $ac_status); } && { 2665 test -z "$ac_c_werror_flag" || 2666 test ! -s conftest.err 2667 } && test -s conftest.$ac_objext; then 3349 if ac_fn_c_try_compile "$LINENO"; then : 2668 3350 ac_cv_prog_cc_g=yes 2669 3351 else 2670 $as_echo "$as_me: failed program was:" >&5 2671 sed 's/^/| /' conftest.$ac_ext >&5 2672 2673 CFLAGS="" 2674 cat >conftest.$ac_ext <<_ACEOF 2675 /* confdefs.h. */ 2676 _ACEOF 2677 cat confdefs.h >>conftest.$ac_ext 2678 cat >>conftest.$ac_ext <<_ACEOF 3352 CFLAGS="" 3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2679 3354 /* end confdefs.h. */ 2680 3355 … … 2687 3362 } 2688 3363 _ACEOF 2689 rm -f conftest.$ac_objext 2690 if { (ac_try="$ac_compile" 2691 case "(($ac_try" in 2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2693 *) ac_try_echo=$ac_try;; 2694 esac 2695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2696 $as_echo "$ac_try_echo") >&5 2697 (eval "$ac_compile") 2>conftest.er1 2698 ac_status=$? 2699 grep -v '^ *+' conftest.er1 >conftest.err 2700 rm -f conftest.er1 2701 cat conftest.err >&5 2702 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2703 (exit $ac_status); } && { 2704 test -z "$ac_c_werror_flag" || 2705 test ! -s conftest.err 2706 } && test -s conftest.$ac_objext; then 2707 : 2708 else 2709 $as_echo "$as_me: failed program was:" >&5 2710 sed 's/^/| /' conftest.$ac_ext >&5 2711 2712 ac_c_werror_flag=$ac_save_c_werror_flag 3364 if ac_fn_c_try_compile "$LINENO"; then : 3365 3366 else 3367 ac_c_werror_flag=$ac_save_c_werror_flag 2713 3368 CFLAGS="-g" 2714 cat >conftest.$ac_ext <<_ACEOF 2715 /* confdefs.h. */ 2716 _ACEOF 2717 cat confdefs.h >>conftest.$ac_ext 2718 cat >>conftest.$ac_ext <<_ACEOF 3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2719 3370 /* end confdefs.h. */ 2720 3371 … … 2727 3378 } 2728 3379 _ACEOF 2729 rm -f conftest.$ac_objext 2730 if { (ac_try="$ac_compile" 2731 case "(($ac_try" in 2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2733 *) ac_try_echo=$ac_try;; 2734 esac 2735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2736 $as_echo "$ac_try_echo") >&5 2737 (eval "$ac_compile") 2>conftest.er1 2738 ac_status=$? 2739 grep -v '^ *+' conftest.er1 >conftest.err 2740 rm -f conftest.er1 2741 cat conftest.err >&5 2742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2743 (exit $ac_status); } && { 2744 test -z "$ac_c_werror_flag" || 2745 test ! -s conftest.err 2746 } && test -s conftest.$ac_objext; then 3380 if ac_fn_c_try_compile "$LINENO"; then : 2747 3381 ac_cv_prog_cc_g=yes 2748 else 2749 $as_echo "$as_me: failed program was:" >&5 2750 sed 's/^/| /' conftest.$ac_ext >&5 2751 2752 2753 fi 2754 3382 fi 2755 3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2756 3384 fi 2757 2758 3385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2759 3386 fi 2760 2761 3387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2762 3388 ac_c_werror_flag=$ac_save_c_werror_flag 2763 3389 fi 2764 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&53390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2765 3391 $as_echo "$ac_cv_prog_cc_g" >&6; } 2766 3392 if test "$ac_test_CFLAGS" = set; then … … 2779 3405 fi 2780 3406 fi 2781 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&53407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2782 3408 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2783 if test "${ac_cv_prog_cc_c89+set}" = set; then3409 if ${ac_cv_prog_cc_c89+:} false; then : 2784 3410 $as_echo_n "(cached) " >&6 2785 3411 else 2786 3412 ac_cv_prog_cc_c89=no 2787 3413 ac_save_CC=$CC 2788 cat >conftest.$ac_ext <<_ACEOF 2789 /* confdefs.h. */ 2790 _ACEOF 2791 cat confdefs.h >>conftest.$ac_ext 2792 cat >>conftest.$ac_ext <<_ACEOF 3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2793 3415 /* end confdefs.h. */ 2794 3416 #include <stdarg.h> 2795 3417 #include <stdio.h> 2796 #include <sys/types.h> 2797 #include <sys/stat.h> 3418 struct stat; 2798 3419 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2799 3420 struct buf { int x; }; … … 2847 3468 do 2848 3469 CC="$ac_save_CC $ac_arg" 2849 rm -f conftest.$ac_objext 2850 if { (ac_try="$ac_compile" 2851 case "(($ac_try" in 2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2853 *) ac_try_echo=$ac_try;; 2854 esac 2855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2856 $as_echo "$ac_try_echo") >&5 2857 (eval "$ac_compile") 2>conftest.er1 2858 ac_status=$? 2859 grep -v '^ *+' conftest.er1 >conftest.err 2860 rm -f conftest.er1 2861 cat conftest.err >&5 2862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2863 (exit $ac_status); } && { 2864 test -z "$ac_c_werror_flag" || 2865 test ! -s conftest.err 2866 } && test -s conftest.$ac_objext; then 3470 if ac_fn_c_try_compile "$LINENO"; then : 2867 3471 ac_cv_prog_cc_c89=$ac_arg 2868 else 2869 $as_echo "$as_me: failed program was:" >&5 2870 sed 's/^/| /' conftest.$ac_ext >&5 2871 2872 2873 fi 2874 3472 fi 2875 3473 rm -f core conftest.err conftest.$ac_objext 2876 3474 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2883 3481 case "x$ac_cv_prog_cc_c89" in 2884 3482 x) 2885 { $as_echo "$as_me:$ LINENO: result: none needed" >&53483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2886 3484 $as_echo "none needed" >&6; } ;; 2887 3485 xno) 2888 { $as_echo "$as_me:$ LINENO: result: unsupported" >&53486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2889 3487 $as_echo "unsupported" >&6; } ;; 2890 3488 *) 2891 3489 CC="$CC $ac_cv_prog_cc_c89" 2892 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&53490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2893 3491 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2894 3492 esac 2895 3493 if test "x$ac_cv_prog_cc_c89" != xno; then : 3494 3495 fi 2896 3496 2897 3497 ac_ext=c … … 2907 3507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2908 3508 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2909 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&53509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 2910 3510 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2911 3511 # On Suns, sometimes $CPP names a directory. … … 2914 3514 fi 2915 3515 if test -z "$CPP"; then 2916 if test "${ac_cv_prog_CPP+set}" = set; then3516 if ${ac_cv_prog_CPP+:} false; then : 2917 3517 $as_echo_n "(cached) " >&6 2918 3518 else … … 2929 3529 # On the NeXT, cc -E runs the code through the compiler's parser, 2930 3530 # not just through cpp. "Syntax error" is here to catch this case. 2931 cat >conftest.$ac_ext <<_ACEOF 2932 /* confdefs.h. */ 2933 _ACEOF 2934 cat confdefs.h >>conftest.$ac_ext 2935 cat >>conftest.$ac_ext <<_ACEOF 3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2936 3532 /* end confdefs.h. */ 2937 3533 #ifdef __STDC__ … … 2942 3538 Syntax error 2943 3539 _ACEOF 2944 if { (ac_try="$ac_cpp conftest.$ac_ext" 2945 case "(($ac_try" in 2946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2947 *) ac_try_echo=$ac_try;; 2948 esac 2949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2950 $as_echo "$ac_try_echo") >&5 2951 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2952 ac_status=$? 2953 grep -v '^ *+' conftest.er1 >conftest.err 2954 rm -f conftest.er1 2955 cat conftest.err >&5 2956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2957 (exit $ac_status); } >/dev/null && { 2958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2959 test ! -s conftest.err 2960 }; then 2961 : 2962 else 2963 $as_echo "$as_me: failed program was:" >&5 2964 sed 's/^/| /' conftest.$ac_ext >&5 2965 3540 if ac_fn_c_try_cpp "$LINENO"; then : 3541 3542 else 2966 3543 # Broken: fails on valid input. 2967 3544 continue 2968 3545 fi 2969 2970 rm -f conftest.err conftest.$ac_ext 3546 rm -f conftest.err conftest.i conftest.$ac_ext 2971 3547 2972 3548 # OK, works on sane cases. Now check whether nonexistent headers 2973 3549 # can be detected and how. 2974 cat >conftest.$ac_ext <<_ACEOF 2975 /* confdefs.h. */ 2976 _ACEOF 2977 cat confdefs.h >>conftest.$ac_ext 2978 cat >>conftest.$ac_ext <<_ACEOF 3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2979 3551 /* end confdefs.h. */ 2980 3552 #include <ac_nonexistent.h> 2981 3553 _ACEOF 2982 if { (ac_try="$ac_cpp conftest.$ac_ext" 2983 case "(($ac_try" in 2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2985 *) ac_try_echo=$ac_try;; 2986 esac 2987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2988 $as_echo "$ac_try_echo") >&5 2989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2990 ac_status=$? 2991 grep -v '^ *+' conftest.er1 >conftest.err 2992 rm -f conftest.er1 2993 cat conftest.err >&5 2994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2995 (exit $ac_status); } >/dev/null && { 2996 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2997 test ! -s conftest.err 2998 }; then 3554 if ac_fn_c_try_cpp "$LINENO"; then : 2999 3555 # Broken: success on invalid input. 3000 3556 continue 3001 3557 else 3002 $as_echo "$as_me: failed program was:" >&53003 sed 's/^/| /' conftest.$ac_ext >&53004 3005 3558 # Passes both tests. 3006 3559 ac_preproc_ok=: 3007 3560 break 3008 3561 fi 3009 3010 rm -f conftest.err conftest.$ac_ext 3562 rm -f conftest.err conftest.i conftest.$ac_ext 3011 3563 3012 3564 done 3013 3565 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3014 rm -f conftest. err conftest.$ac_ext3015 if $ac_preproc_ok; then 3566 rm -f conftest.i conftest.err conftest.$ac_ext 3567 if $ac_preproc_ok; then : 3016 3568 break 3017 3569 fi … … 3025 3577 ac_cv_prog_CPP=$CPP 3026 3578 fi 3027 { $as_echo "$as_me:$ LINENO: result: $CPP" >&53579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3028 3580 $as_echo "$CPP" >&6; } 3029 3581 ac_preproc_ok=false … … 3036 3588 # On the NeXT, cc -E runs the code through the compiler's parser, 3037 3589 # not just through cpp. "Syntax error" is here to catch this case. 3038 cat >conftest.$ac_ext <<_ACEOF 3039 /* confdefs.h. */ 3040 _ACEOF 3041 cat confdefs.h >>conftest.$ac_ext 3042 cat >>conftest.$ac_ext <<_ACEOF 3590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3043 3591 /* end confdefs.h. */ 3044 3592 #ifdef __STDC__ … … 3049 3597 Syntax error 3050 3598 _ACEOF 3051 if { (ac_try="$ac_cpp conftest.$ac_ext" 3052 case "(($ac_try" in 3053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3054 *) ac_try_echo=$ac_try;; 3055 esac 3056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3057 $as_echo "$ac_try_echo") >&5 3058 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3059 ac_status=$? 3060 grep -v '^ *+' conftest.er1 >conftest.err 3061 rm -f conftest.er1 3062 cat conftest.err >&5 3063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3064 (exit $ac_status); } >/dev/null && { 3065 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3066 test ! -s conftest.err 3067 }; then 3068 : 3069 else 3070 $as_echo "$as_me: failed program was:" >&5 3071 sed 's/^/| /' conftest.$ac_ext >&5 3072 3599 if ac_fn_c_try_cpp "$LINENO"; then : 3600 3601 else 3073 3602 # Broken: fails on valid input. 3074 3603 continue 3075 3604 fi 3076 3077 rm -f conftest.err conftest.$ac_ext 3605 rm -f conftest.err conftest.i conftest.$ac_ext 3078 3606 3079 3607 # OK, works on sane cases. Now check whether nonexistent headers 3080 3608 # can be detected and how. 3081 cat >conftest.$ac_ext <<_ACEOF 3082 /* confdefs.h. */ 3083 _ACEOF 3084 cat confdefs.h >>conftest.$ac_ext 3085 cat >>conftest.$ac_ext <<_ACEOF 3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3086 3610 /* end confdefs.h. */ 3087 3611 #include <ac_nonexistent.h> 3088 3612 _ACEOF 3089 if { (ac_try="$ac_cpp conftest.$ac_ext" 3090 case "(($ac_try" in 3091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3092 *) ac_try_echo=$ac_try;; 3093 esac 3094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3095 $as_echo "$ac_try_echo") >&5 3096 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3097 ac_status=$? 3098 grep -v '^ *+' conftest.er1 >conftest.err 3099 rm -f conftest.er1 3100 cat conftest.err >&5 3101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3102 (exit $ac_status); } >/dev/null && { 3103 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3104 test ! -s conftest.err 3105 }; then 3613 if ac_fn_c_try_cpp "$LINENO"; then : 3106 3614 # Broken: success on invalid input. 3107 3615 continue 3108 3616 else 3109 $as_echo "$as_me: failed program was:" >&53110 sed 's/^/| /' conftest.$ac_ext >&53111 3112 3617 # Passes both tests. 3113 3618 ac_preproc_ok=: 3114 3619 break 3115 3620 fi 3116 3117 rm -f conftest.err conftest.$ac_ext 3621 rm -f conftest.err conftest.i conftest.$ac_ext 3118 3622 3119 3623 done 3120 3624 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3121 rm -f conftest. err conftest.$ac_ext3122 if $ac_preproc_ok; then 3123 : 3124 else 3125 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53625 rm -f conftest.i conftest.err conftest.$ac_ext 3626 if $ac_preproc_ok; then : 3627 3628 else 3629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3126 3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3127 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3128 See \`config.log' for more details." >&5 3129 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3130 See \`config.log' for more details." >&2;} 3131 { (exit 1); exit 1; }; }; } 3631 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3632 See \`config.log' for more details" "$LINENO" 5; } 3132 3633 fi 3133 3634 … … 3139 3640 3140 3641 3141 { $as_echo "$as_me:$ LINENO: checking for grep that handles long lines and -e" >&53642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3142 3643 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3143 if test "${ac_cv_path_GREP+set}" = set; then3644 if ${ac_cv_path_GREP+:} false; then : 3144 3645 $as_echo_n "(cached) " >&6 3145 3646 else … … 3152 3653 IFS=$as_save_IFS 3153 3654 test -z "$as_dir" && as_dir=. 3154 for ac_prog in grep ggrep; do3655 for ac_prog in grep ggrep; do 3155 3656 for ac_exec_ext in '' $ac_executable_extensions; do 3156 3657 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3157 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; }|| continue3658 as_fn_executable_p "$ac_path_GREP" || continue 3158 3659 # Check for GNU ac_path_GREP and select it if it is found. 3159 3660 # Check for GNU $ac_path_GREP … … 3172 3673 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3173 3674 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3174 a c_count=`expr $ac_count + 1`3675 as_fn_arith $ac_count + 1 && ac_count=$as_val 3175 3676 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3176 3677 # Best one so far, save it but keep looking for a better one … … 3187 3688 done 3188 3689 done 3189 done3690 done 3190 3691 IFS=$as_save_IFS 3191 3692 if test -z "$ac_cv_path_GREP"; then 3192 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3193 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3194 { (exit 1); exit 1; }; } 3693 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3195 3694 fi 3196 3695 else … … 3199 3698 3200 3699 fi 3201 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_GREP" >&53700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3202 3701 $as_echo "$ac_cv_path_GREP" >&6; } 3203 3702 GREP="$ac_cv_path_GREP" 3204 3703 3205 3704 3206 { $as_echo "$as_me:$ LINENO: checking for egrep" >&53705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3207 3706 $as_echo_n "checking for egrep... " >&6; } 3208 if test "${ac_cv_path_EGREP+set}" = set; then3707 if ${ac_cv_path_EGREP+:} false; then : 3209 3708 $as_echo_n "(cached) " >&6 3210 3709 else … … 3220 3719 IFS=$as_save_IFS 3221 3720 test -z "$as_dir" && as_dir=. 3222 for ac_prog in egrep; do3721 for ac_prog in egrep; do 3223 3722 for ac_exec_ext in '' $ac_executable_extensions; do 3224 3723 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3225 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; }|| continue3724 as_fn_executable_p "$ac_path_EGREP" || continue 3226 3725 # Check for GNU ac_path_EGREP and select it if it is found. 3227 3726 # Check for GNU $ac_path_EGREP … … 3240 3739 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3241 3740 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3242 a c_count=`expr $ac_count + 1`3741 as_fn_arith $ac_count + 1 && ac_count=$as_val 3243 3742 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3244 3743 # Best one so far, save it but keep looking for a better one … … 3255 3754 done 3256 3755 done 3257 done3756 done 3258 3757 IFS=$as_save_IFS 3259 3758 if test -z "$ac_cv_path_EGREP"; then 3260 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3261 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3262 { (exit 1); exit 1; }; } 3759 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3263 3760 fi 3264 3761 else … … 3268 3765 fi 3269 3766 fi 3270 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_EGREP" >&53767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3271 3768 $as_echo "$ac_cv_path_EGREP" >&6; } 3272 3769 EGREP="$ac_cv_path_EGREP" 3273 3770 3274 3771 3275 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&53772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3276 3773 $as_echo_n "checking for ANSI C header files... " >&6; } 3277 if test "${ac_cv_header_stdc+set}" = set; then3774 if ${ac_cv_header_stdc+:} false; then : 3278 3775 $as_echo_n "(cached) " >&6 3279 3776 else 3280 cat >conftest.$ac_ext <<_ACEOF 3281 /* confdefs.h. */ 3282 _ACEOF 3283 cat confdefs.h >>conftest.$ac_ext 3284 cat >>conftest.$ac_ext <<_ACEOF 3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3285 3778 /* end confdefs.h. */ 3286 3779 #include <stdlib.h> … … 3297 3790 } 3298 3791 _ACEOF 3299 rm -f conftest.$ac_objext 3300 if { (ac_try="$ac_compile" 3301 case "(($ac_try" in 3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3303 *) ac_try_echo=$ac_try;; 3304 esac 3305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3306 $as_echo "$ac_try_echo") >&5 3307 (eval "$ac_compile") 2>conftest.er1 3308 ac_status=$? 3309 grep -v '^ *+' conftest.er1 >conftest.err 3310 rm -f conftest.er1 3311 cat conftest.err >&5 3312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3313 (exit $ac_status); } && { 3314 test -z "$ac_c_werror_flag" || 3315 test ! -s conftest.err 3316 } && test -s conftest.$ac_objext; then 3792 if ac_fn_c_try_compile "$LINENO"; then : 3317 3793 ac_cv_header_stdc=yes 3318 3794 else 3319 $as_echo "$as_me: failed program was:" >&5 3320 sed 's/^/| /' conftest.$ac_ext >&5 3321 3322 ac_cv_header_stdc=no 3323 fi 3324 3795 ac_cv_header_stdc=no 3796 fi 3325 3797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3326 3798 3327 3799 if test $ac_cv_header_stdc = yes; then 3328 3800 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3329 cat >conftest.$ac_ext <<_ACEOF 3330 /* confdefs.h. */ 3331 _ACEOF 3332 cat confdefs.h >>conftest.$ac_ext 3333 cat >>conftest.$ac_ext <<_ACEOF 3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3334 3802 /* end confdefs.h. */ 3335 3803 #include <string.h> … … 3337 3805 _ACEOF 3338 3806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3339 $EGREP "memchr" >/dev/null 2>&1; then 3340 : 3807 $EGREP "memchr" >/dev/null 2>&1; then : 3808 3341 3809 else 3342 3810 ac_cv_header_stdc=no … … 3348 3816 if test $ac_cv_header_stdc = yes; then 3349 3817 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3350 cat >conftest.$ac_ext <<_ACEOF 3351 /* confdefs.h. */ 3352 _ACEOF 3353 cat confdefs.h >>conftest.$ac_ext 3354 cat >>conftest.$ac_ext <<_ACEOF 3818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3355 3819 /* end confdefs.h. */ 3356 3820 #include <stdlib.h> … … 3358 3822 _ACEOF 3359 3823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3360 $EGREP "free" >/dev/null 2>&1; then 3361 : 3824 $EGREP "free" >/dev/null 2>&1; then : 3825 3362 3826 else 3363 3827 ac_cv_header_stdc=no … … 3369 3833 if test $ac_cv_header_stdc = yes; then 3370 3834 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3371 if test "$cross_compiling" = yes; then 3835 if test "$cross_compiling" = yes; then : 3372 3836 : 3373 3837 else 3374 cat >conftest.$ac_ext <<_ACEOF 3375 /* confdefs.h. */ 3376 _ACEOF 3377 cat confdefs.h >>conftest.$ac_ext 3378 cat >>conftest.$ac_ext <<_ACEOF 3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3379 3839 /* end confdefs.h. */ 3380 3840 #include <ctype.h> … … 3403 3863 } 3404 3864 _ACEOF 3405 rm -f conftest$ac_exeext 3406 if { (ac_try="$ac_link" 3407 case "(($ac_try" in 3408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3409 *) ac_try_echo=$ac_try;; 3410 esac 3411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3412 $as_echo "$ac_try_echo") >&5 3413 (eval "$ac_link") 2>&5 3414 ac_status=$? 3415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3416 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3417 { (case "(($ac_try" in 3418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3419 *) ac_try_echo=$ac_try;; 3420 esac 3421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3422 $as_echo "$ac_try_echo") >&5 3423 (eval "$ac_try") 2>&5 3424 ac_status=$? 3425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3426 (exit $ac_status); }; }; then 3427 : 3428 else 3429 $as_echo "$as_me: program exited with status $ac_status" >&5 3430 $as_echo "$as_me: failed program was:" >&5 3431 sed 's/^/| /' conftest.$ac_ext >&5 3432 3433 ( exit $ac_status ) 3434 ac_cv_header_stdc=no 3435 fi 3436 rm -rf conftest.dSYM 3437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3438 fi 3439 3440 3441 fi 3442 fi 3443 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3865 if ac_fn_c_try_run "$LINENO"; then : 3866 3867 else 3868 ac_cv_header_stdc=no 3869 fi 3870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3871 conftest.$ac_objext conftest.beam conftest.$ac_ext 3872 fi 3873 3874 fi 3875 fi 3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3444 3877 $as_echo "$ac_cv_header_stdc" >&6; } 3445 3878 if test $ac_cv_header_stdc = yes; then 3446 3879 3447 cat >>confdefs.h <<\_ACEOF 3448 #define STDC_HEADERS 1 3449 _ACEOF 3880 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3450 3881 3451 3882 fi 3452 3883 3453 3884 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3885 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3464 3886 inttypes.h stdint.h unistd.h 3465 do 3466 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3467 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3468 $as_echo_n "checking for $ac_header... " >&6; } 3469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3470 $as_echo_n "(cached) " >&6 3471 else 3472 cat >conftest.$ac_ext <<_ACEOF 3473 /* confdefs.h. */ 3474 _ACEOF 3475 cat confdefs.h >>conftest.$ac_ext 3476 cat >>conftest.$ac_ext <<_ACEOF 3477 /* end confdefs.h. */ 3478 $ac_includes_default 3479 3480 #include <$ac_header> 3481 _ACEOF 3482 rm -f conftest.$ac_objext 3483 if { (ac_try="$ac_compile" 3484 case "(($ac_try" in 3485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3486 *) ac_try_echo=$ac_try;; 3487 esac 3488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3489 $as_echo "$ac_try_echo") >&5 3490 (eval "$ac_compile") 2>conftest.er1 3491 ac_status=$? 3492 grep -v '^ *+' conftest.er1 >conftest.err 3493 rm -f conftest.er1 3494 cat conftest.err >&5 3495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3496 (exit $ac_status); } && { 3497 test -z "$ac_c_werror_flag" || 3498 test ! -s conftest.err 3499 } && test -s conftest.$ac_objext; then 3500 eval "$as_ac_Header=yes" 3501 else 3502 $as_echo "$as_me: failed program was:" >&5 3503 sed 's/^/| /' conftest.$ac_ext >&5 3504 3505 eval "$as_ac_Header=no" 3506 fi 3507 3508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3509 fi 3510 ac_res=`eval 'as_val=${'$as_ac_Header'} 3511 $as_echo "$as_val"'` 3512 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3513 $as_echo "$ac_res" >&6; } 3514 as_val=`eval 'as_val=${'$as_ac_Header'} 3515 $as_echo "$as_val"'` 3516 if test "x$as_val" = x""yes; then 3887 do : 3888 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3889 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3890 " 3891 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3517 3892 cat >>confdefs.h <<_ACEOF 3518 3893 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 3539 3914 3540 3915 # Check whether --with-python was given. 3541 if test "${with_python+set}" = set; then 3916 if test "${with_python+set}" = set; then : 3542 3917 withval=$with_python; 3543 3918 else … … 3550 3925 # 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. 3551 3926 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 3552 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3553 3928 $as_echo_n "checking for $ac_word... " >&6; } 3554 if test "${ac_cv_path_PYTHON+set}" = set; then3929 if ${ac_cv_path_PYTHON+:} false; then : 3555 3930 $as_echo_n "(cached) " >&6 3556 3931 else … … 3565 3940 IFS=$as_save_IFS 3566 3941 test -z "$as_dir" && as_dir=. 3567 for ac_exec_ext in '' $ac_executable_extensions; do3568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3942 for ac_exec_ext in '' $ac_executable_extensions; do 3943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3569 3944 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3570 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3571 3946 break 2 3572 3947 fi 3573 3948 done 3574 done3949 done 3575 3950 IFS=$as_save_IFS 3576 3951 … … 3580 3955 PYTHON=$ac_cv_path_PYTHON 3581 3956 if test -n "$PYTHON"; then 3582 { $as_echo "$as_me:$ LINENO: result: $PYTHON" >&53957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 3583 3958 $as_echo "$PYTHON" >&6; } 3584 3959 else 3585 { $as_echo "$as_me:$ LINENO: result: no" >&53960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3586 3961 $as_echo "no" >&6; } 3587 3962 fi … … 3591 3966 # Extract the first word of "python", so it can be a program name with args. 3592 3967 set dummy python; ac_word=$2 3593 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3594 3969 $as_echo_n "checking for $ac_word... " >&6; } 3595 if test "${ac_cv_path_PYTHON+set}" = set; then3970 if ${ac_cv_path_PYTHON+:} false; then : 3596 3971 $as_echo_n "(cached) " >&6 3597 3972 else … … 3607 3982 IFS=$as_save_IFS 3608 3983 test -z "$as_dir" && as_dir=. 3609 for ac_exec_ext in '' $ac_executable_extensions; do3610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3984 for ac_exec_ext in '' $ac_executable_extensions; do 3985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3611 3986 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3612 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3613 3988 break 2 3614 3989 fi 3615 3990 done 3616 done3991 done 3617 3992 IFS=$as_save_IFS 3618 3993 … … 3622 3997 PYTHON=$ac_cv_path_PYTHON 3623 3998 if test -n "$PYTHON"; then 3624 { $as_echo "$as_me:$ LINENO: result: $PYTHON" >&53999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 3625 4000 $as_echo "$PYTHON" >&6; } 3626 4001 else 3627 { $as_echo "$as_me:$ LINENO: result: no" >&54002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3628 4003 $as_echo "no" >&6; } 3629 4004 fi … … 3631 4006 3632 4007 fi 3633 { $as_echo "$as_me:$ LINENO: checking for Python version" >&54008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5 3634 4009 $as_echo_n "checking for Python version... " >&6; } 3635 4010 if test "x${PYTHON}" != "x"; then 3636 4011 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 3637 4012 fi 3638 { $as_echo "$as_me:$ LINENO: result: $PYTHON_VERSION" >&54013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5 3639 4014 $as_echo "$PYTHON_VERSION" >&6; } 3640 4015 fi … … 3642 4017 if test "x${PYTHON_VERSION}" != "x"; then 3643 4018 PYTHON_INCLUDES=$incdir 3644 { $as_echo "$as_me:$ LINENO: checking for Python distutils" >&54019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5 3645 4020 $as_echo_n "checking for Python distutils... " >&6; } 3646 4021 PYTHON_DISTUTILS="" … … 3650 4025 PYTHON_DISTUTILS="yes" 3651 4026 fi 3652 { $as_echo "$as_me:$ LINENO: result: $PYTHON_DISTUTILS" >&54027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5 3653 4028 $as_echo "$PYTHON_DISTUTILS" >&6; } 3654 4029 if test "${PYTHON_DISTUTILS}" = "yes" ; then … … 3657 4032 # Check for Python include path 3658 4033 # 3659 { $as_echo "$as_me:$ LINENO: checking path to Python headers" >&54034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5 3660 4035 $as_echo_n "checking path to Python headers... " >&6; } 3661 4036 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 3662 4037 print distutils.sysconfig.get_python_inc();"` 3663 { $as_echo "$as_me:$ LINENO: result: $PYTHON_INCDIR" >&54038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5 3664 4039 $as_echo "$PYTHON_INCDIR" >&6; } 3665 4040 # … … 3674 4049 save_CPPFLAGS=$CPPFLAGS 3675 4050 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 3676 3677 for ac_header in Python.h 3678 do 3679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3681 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3682 $as_echo_n "checking for $ac_header... " >&6; } 3683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3684 $as_echo_n "(cached) " >&6 3685 fi 3686 ac_res=`eval 'as_val=${'$as_ac_Header'} 3687 $as_echo "$as_val"'` 3688 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3689 $as_echo "$ac_res" >&6; } 3690 else 3691 # Is the header compilable? 3692 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 3693 $as_echo_n "checking $ac_header usability... " >&6; } 3694 cat >conftest.$ac_ext <<_ACEOF 3695 /* confdefs.h. */ 3696 _ACEOF 3697 cat confdefs.h >>conftest.$ac_ext 3698 cat >>conftest.$ac_ext <<_ACEOF 3699 /* end confdefs.h. */ 3700 $ac_includes_default 3701 #include <$ac_header> 3702 _ACEOF 3703 rm -f conftest.$ac_objext 3704 if { (ac_try="$ac_compile" 3705 case "(($ac_try" in 3706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3707 *) ac_try_echo=$ac_try;; 3708 esac 3709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3710 $as_echo "$ac_try_echo") >&5 3711 (eval "$ac_compile") 2>conftest.er1 3712 ac_status=$? 3713 grep -v '^ *+' conftest.er1 >conftest.err 3714 rm -f conftest.er1 3715 cat conftest.err >&5 3716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3717 (exit $ac_status); } && { 3718 test -z "$ac_c_werror_flag" || 3719 test ! -s conftest.err 3720 } && test -s conftest.$ac_objext; then 3721 ac_header_compiler=yes 3722 else 3723 $as_echo "$as_me: failed program was:" >&5 3724 sed 's/^/| /' conftest.$ac_ext >&5 3725 3726 ac_header_compiler=no 3727 fi 3728 3729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3730 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3731 $as_echo "$ac_header_compiler" >&6; } 3732 3733 # Is the header present? 3734 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 3735 $as_echo_n "checking $ac_header presence... " >&6; } 3736 cat >conftest.$ac_ext <<_ACEOF 3737 /* confdefs.h. */ 3738 _ACEOF 3739 cat confdefs.h >>conftest.$ac_ext 3740 cat >>conftest.$ac_ext <<_ACEOF 3741 /* end confdefs.h. */ 3742 #include <$ac_header> 3743 _ACEOF 3744 if { (ac_try="$ac_cpp conftest.$ac_ext" 3745 case "(($ac_try" in 3746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3747 *) ac_try_echo=$ac_try;; 3748 esac 3749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3750 $as_echo "$ac_try_echo") >&5 3751 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3752 ac_status=$? 3753 grep -v '^ *+' conftest.er1 >conftest.err 3754 rm -f conftest.er1 3755 cat conftest.err >&5 3756 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3757 (exit $ac_status); } >/dev/null && { 3758 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3759 test ! -s conftest.err 3760 }; then 3761 ac_header_preproc=yes 3762 else 3763 $as_echo "$as_me: failed program was:" >&5 3764 sed 's/^/| /' conftest.$ac_ext >&5 3765 3766 ac_header_preproc=no 3767 fi 3768 3769 rm -f conftest.err conftest.$ac_ext 3770 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3771 $as_echo "$ac_header_preproc" >&6; } 3772 3773 # So? What about this header? 3774 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3775 yes:no: ) 3776 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3777 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3778 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3779 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3780 ac_header_preproc=yes 3781 ;; 3782 no:yes:* ) 3783 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3784 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3785 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3786 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3787 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3788 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3789 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3790 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3791 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3792 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3793 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3794 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3795 ( cat <<\_ASBOX 3796 ## ----------------------------------- ## 3797 ## Report this to rappture@nanohub.org ## 3798 ## ----------------------------------- ## 3799 _ASBOX 3800 ) | sed "s/^/$as_me: WARNING: /" >&2 3801 ;; 3802 esac 3803 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3804 $as_echo_n "checking for $ac_header... " >&6; } 3805 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3806 $as_echo_n "(cached) " >&6 3807 else 3808 eval "$as_ac_Header=\$ac_header_preproc" 3809 fi 3810 ac_res=`eval 'as_val=${'$as_ac_Header'} 3811 $as_echo "$as_val"'` 3812 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3813 $as_echo "$ac_res" >&6; } 3814 3815 fi 3816 as_val=`eval 'as_val=${'$as_ac_Header'} 3817 $as_echo "$as_val"'` 3818 if test "x$as_val" = x""yes; then 4051 for ac_header in Python.h 4052 do : 4053 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 4054 if test "x$ac_cv_header_Python_h" = xyes; then : 3819 4055 cat >>confdefs.h <<_ACEOF 3820 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`14056 #define HAVE_PYTHON_H 1 3821 4057 _ACEOF 3822 4058 found=yes … … 3837 4073 3838 4074 # Check whether --with-statsdir was given. 3839 if test "${with_statsdir+set}" = set; then 4075 if test "${with_statsdir+set}" = set; then : 3840 4076 withval=$with_statsdir; STATSDIR=$withval 3841 4077 else … … 3871 4107 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3872 4108 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3873 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3874 4110 $as_echo_n "checking for $ac_word... " >&6; } 3875 if test "${ac_cv_prog_RANLIB+set}" = set; then4111 if ${ac_cv_prog_RANLIB+:} false; then : 3876 4112 $as_echo_n "(cached) " >&6 3877 4113 else … … 3884 4120 IFS=$as_save_IFS 3885 4121 test -z "$as_dir" && as_dir=. 3886 for ac_exec_ext in '' $ac_executable_extensions; do3887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4122 for ac_exec_ext in '' $ac_executable_extensions; do 4123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3888 4124 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3889 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3890 4126 break 2 3891 4127 fi 3892 4128 done 3893 done4129 done 3894 4130 IFS=$as_save_IFS 3895 4131 … … 3898 4134 RANLIB=$ac_cv_prog_RANLIB 3899 4135 if test -n "$RANLIB"; then 3900 { $as_echo "$as_me:$ LINENO: result: $RANLIB" >&54136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3901 4137 $as_echo "$RANLIB" >&6; } 3902 4138 else 3903 { $as_echo "$as_me:$ LINENO: result: no" >&54139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3904 4140 $as_echo "no" >&6; } 3905 4141 fi … … 3911 4147 # Extract the first word of "ranlib", so it can be a program name with args. 3912 4148 set dummy ranlib; ac_word=$2 3913 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3914 4150 $as_echo_n "checking for $ac_word... " >&6; } 3915 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then4151 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 3916 4152 $as_echo_n "(cached) " >&6 3917 4153 else … … 3924 4160 IFS=$as_save_IFS 3925 4161 test -z "$as_dir" && as_dir=. 3926 for ac_exec_ext in '' $ac_executable_extensions; do3927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4162 for ac_exec_ext in '' $ac_executable_extensions; do 4163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3928 4164 ac_cv_prog_ac_ct_RANLIB="ranlib" 3929 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3930 4166 break 2 3931 4167 fi 3932 4168 done 3933 done4169 done 3934 4170 IFS=$as_save_IFS 3935 4171 … … 3938 4174 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3939 4175 if test -n "$ac_ct_RANLIB"; then 3940 { $as_echo "$as_me:$ LINENO: result: $ac_ct_RANLIB" >&54176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3941 4177 $as_echo "$ac_ct_RANLIB" >&6; } 3942 4178 else 3943 { $as_echo "$as_me:$ LINENO: result: no" >&54179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3944 4180 $as_echo "no" >&6; } 3945 4181 fi … … 3950 4186 case $cross_compiling:$ac_tool_warned in 3951 4187 yes:) 3952 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&54188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3953 4189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3954 4190 ac_tool_warned=yes ;; … … 3964 4200 # Step 0.a: Enable 64 bit support? 3965 4201 3966 { $as_echo "$as_me:$ LINENO: checking if 64bit support is requested" >&54202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 3967 4203 $as_echo_n "checking if 64bit support is requested... " >&6; } 3968 4204 # Check whether --enable-64bit was given. 3969 if test "${enable_64bit+set}" = set; then 4205 if test "${enable_64bit+set}" = set; then : 3970 4206 enableval=$enable_64bit; do64bit=$enableval 3971 4207 else … … 3973 4209 fi 3974 4210 3975 { $as_echo "$as_me:$ LINENO: result: $do64bit" >&54211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 3976 4212 $as_echo "$do64bit" >&6; } 3977 4213 3978 4214 # Step 0.b: Enable Solaris 64 bit VIS support? 3979 4215 3980 { $as_echo "$as_me:$ LINENO: checking if 64bit Sparc VIS support is requested" >&54216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 3981 4217 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 3982 4218 # Check whether --enable-64bit-vis was given. 3983 if test "${enable_64bit_vis+set}" = set; then 4219 if test "${enable_64bit_vis+set}" = set; then : 3984 4220 enableval=$enable_64bit_vis; do64bitVIS=$enableval 3985 4221 else … … 3987 4223 fi 3988 4224 3989 { $as_echo "$as_me:$ LINENO: result: $do64bitVIS" >&54225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 3990 4226 $as_echo "$do64bitVIS" >&6; } 3991 4227 … … 3999 4235 4000 4236 4001 { $as_echo "$as_me:$ LINENO: checking system version" >&54237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 4002 4238 $as_echo_n "checking system version... " >&6; } 4003 if test "${tcl_cv_sys_version+set}" = set; then4239 if ${tcl_cv_sys_version+:} false; then : 4004 4240 $as_echo_n "(cached) " >&6 4005 4241 else … … 4010 4246 tcl_cv_sys_version=`uname -s`-`uname -r` 4011 4247 if test "$?" -ne 0 ; then 4012 { $as_echo "$as_me:$ LINENO: WARNING: can't find uname command" >&54248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 4013 4249 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 4014 4250 tcl_cv_sys_version=unknown … … 4027 4263 4028 4264 fi 4029 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sys_version" >&54265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 4030 4266 $as_echo "$tcl_cv_sys_version" >&6; } 4031 4267 system=$tcl_cv_sys_version … … 4035 4271 # Linux can use either -ldl or -ldld for dynamic loading. 4036 4272 4037 { $as_echo "$as_me:$ LINENO: checking for dlopen in -ldl" >&54273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 4038 4274 $as_echo_n "checking for dlopen in -ldl... " >&6; } 4039 if test "${ac_cv_lib_dl_dlopen+set}" = set; then4275 if ${ac_cv_lib_dl_dlopen+:} false; then : 4040 4276 $as_echo_n "(cached) " >&6 4041 4277 else 4042 4278 ac_check_lib_save_LIBS=$LIBS 4043 4279 LIBS="-ldl $LIBS" 4044 cat >conftest.$ac_ext <<_ACEOF 4045 /* confdefs.h. */ 4046 _ACEOF 4047 cat confdefs.h >>conftest.$ac_ext 4048 cat >>conftest.$ac_ext <<_ACEOF 4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4049 4281 /* end confdefs.h. */ 4050 4282 … … 4064 4296 } 4065 4297 _ACEOF 4066 rm -f conftest.$ac_objext conftest$ac_exeext 4067 if { (ac_try="$ac_link" 4068 case "(($ac_try" in 4069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4070 *) ac_try_echo=$ac_try;; 4071 esac 4072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4073 $as_echo "$ac_try_echo") >&5 4074 (eval "$ac_link") 2>conftest.er1 4075 ac_status=$? 4076 grep -v '^ *+' conftest.er1 >conftest.err 4077 rm -f conftest.er1 4078 cat conftest.err >&5 4079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4080 (exit $ac_status); } && { 4081 test -z "$ac_c_werror_flag" || 4082 test ! -s conftest.err 4083 } && test -s conftest$ac_exeext && { 4084 test "$cross_compiling" = yes || 4085 $as_test_x conftest$ac_exeext 4086 }; then 4298 if ac_fn_c_try_link "$LINENO"; then : 4087 4299 ac_cv_lib_dl_dlopen=yes 4088 4300 else 4089 $as_echo "$as_me: failed program was:" >&5 4090 sed 's/^/| /' conftest.$ac_ext >&5 4091 4092 ac_cv_lib_dl_dlopen=no 4093 fi 4094 4095 rm -rf conftest.dSYM 4096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4097 conftest$ac_exeext conftest.$ac_ext 4301 ac_cv_lib_dl_dlopen=no 4302 fi 4303 rm -f core conftest.err conftest.$ac_objext \ 4304 conftest$ac_exeext conftest.$ac_ext 4098 4305 LIBS=$ac_check_lib_save_LIBS 4099 4306 fi 4100 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dl_dlopen" >&54307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 4101 4308 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 4102 if test "x$ac_cv_lib_dl_dlopen" = x ""yes; then4309 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 4103 4310 have_dl=yes 4104 4311 else … … 4132 4339 # Extract the first word of "ar", so it can be a program name with args. 4133 4340 set dummy ar; ac_word=$2 4134 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4135 4342 $as_echo_n "checking for $ac_word... " >&6; } 4136 if test "${ac_cv_prog_AR+set}" = set; then4343 if ${ac_cv_prog_AR+:} false; then : 4137 4344 $as_echo_n "(cached) " >&6 4138 4345 else … … 4145 4352 IFS=$as_save_IFS 4146 4353 test -z "$as_dir" && as_dir=. 4147 for ac_exec_ext in '' $ac_executable_extensions; do4148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4354 for ac_exec_ext in '' $ac_executable_extensions; do 4355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4149 4356 ac_cv_prog_AR="ar" 4150 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4151 4358 break 2 4152 4359 fi 4153 4360 done 4154 done4361 done 4155 4362 IFS=$as_save_IFS 4156 4363 … … 4159 4366 AR=$ac_cv_prog_AR 4160 4367 if test -n "$AR"; then 4161 { $as_echo "$as_me:$ LINENO: result: $AR" >&54368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4162 4369 $as_echo "$AR" >&6; } 4163 4370 else 4164 { $as_echo "$as_me:$ LINENO: result: no" >&54371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4165 4372 $as_echo "no" >&6; } 4166 4373 fi … … 4168 4375 4169 4376 if test "${AR}" = "" ; then 4170 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 4171 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 4172 { (exit 1); exit 1; }; } 4377 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 4173 4378 fi 4174 4379 STLIB_LD='${AR} cr' … … 4188 4393 ;; 4189 4394 esac 4190 { $as_echo "$as_me:$ LINENO: result: Using $CC for compiling with threads" >&54395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 4191 4396 $as_echo "Using $CC for compiling with threads" >&6; } 4192 4397 fi … … 4204 4409 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 4205 4410 if test "$GCC" = "yes" ; then 4206 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&54411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 4207 4412 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4208 4413 else … … 4259 4464 # known GMT value. 4260 4465 4261 { $as_echo "$as_me:$ LINENO: checking for gettimeofday in -lbsd" >&54466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 4262 4467 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 4263 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then4468 if ${ac_cv_lib_bsd_gettimeofday+:} false; then : 4264 4469 $as_echo_n "(cached) " >&6 4265 4470 else 4266 4471 ac_check_lib_save_LIBS=$LIBS 4267 4472 LIBS="-lbsd $LIBS" 4268 cat >conftest.$ac_ext <<_ACEOF 4269 /* confdefs.h. */ 4270 _ACEOF 4271 cat confdefs.h >>conftest.$ac_ext 4272 cat >>conftest.$ac_ext <<_ACEOF 4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4273 4474 /* end confdefs.h. */ 4274 4475 … … 4288 4489 } 4289 4490 _ACEOF 4290 rm -f conftest.$ac_objext conftest$ac_exeext 4291 if { (ac_try="$ac_link" 4292 case "(($ac_try" in 4293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4294 *) ac_try_echo=$ac_try;; 4295 esac 4296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4297 $as_echo "$ac_try_echo") >&5 4298 (eval "$ac_link") 2>conftest.er1 4299 ac_status=$? 4300 grep -v '^ *+' conftest.er1 >conftest.err 4301 rm -f conftest.er1 4302 cat conftest.err >&5 4303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4304 (exit $ac_status); } && { 4305 test -z "$ac_c_werror_flag" || 4306 test ! -s conftest.err 4307 } && test -s conftest$ac_exeext && { 4308 test "$cross_compiling" = yes || 4309 $as_test_x conftest$ac_exeext 4310 }; then 4491 if ac_fn_c_try_link "$LINENO"; then : 4311 4492 ac_cv_lib_bsd_gettimeofday=yes 4312 4493 else 4313 $as_echo "$as_me: failed program was:" >&5 4314 sed 's/^/| /' conftest.$ac_ext >&5 4315 4316 ac_cv_lib_bsd_gettimeofday=no 4317 fi 4318 4319 rm -rf conftest.dSYM 4320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4321 conftest$ac_exeext conftest.$ac_ext 4494 ac_cv_lib_bsd_gettimeofday=no 4495 fi 4496 rm -f core conftest.err conftest.$ac_objext \ 4497 conftest$ac_exeext conftest.$ac_ext 4322 4498 LIBS=$ac_check_lib_save_LIBS 4323 4499 fi 4324 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&54500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 4325 4501 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 4326 if test "x$ac_cv_lib_bsd_gettimeofday" = x ""yes; then4502 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then : 4327 4503 libbsd=yes 4328 4504 else … … 4332 4508 if test $libbsd = yes; then 4333 4509 MATH_LIBS="$MATH_LIBS -lbsd" 4334 cat >>confdefs.h <<\_ACEOF 4335 #define USE_DELTA_FOR_TZ 1 4336 _ACEOF 4510 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 4337 4511 4338 4512 fi … … 4351 4525 # is always linked to, for compatibility. 4352 4526 #----------------------------------------------------------- 4353 { $as_echo "$as_me:$ LINENO: checking for inet_ntoa in -lbind" >&54527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 4354 4528 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 4355 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then4529 if ${ac_cv_lib_bind_inet_ntoa+:} false; then : 4356 4530 $as_echo_n "(cached) " >&6 4357 4531 else 4358 4532 ac_check_lib_save_LIBS=$LIBS 4359 4533 LIBS="-lbind $LIBS" 4360 cat >conftest.$ac_ext <<_ACEOF 4361 /* confdefs.h. */ 4362 _ACEOF 4363 cat confdefs.h >>conftest.$ac_ext 4364 cat >>conftest.$ac_ext <<_ACEOF 4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4365 4535 /* end confdefs.h. */ 4366 4536 … … 4380 4550 } 4381 4551 _ACEOF 4382 rm -f conftest.$ac_objext conftest$ac_exeext 4383 if { (ac_try="$ac_link" 4384 case "(($ac_try" in 4385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4386 *) ac_try_echo=$ac_try;; 4387 esac 4388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4389 $as_echo "$ac_try_echo") >&5 4390 (eval "$ac_link") 2>conftest.er1 4391 ac_status=$? 4392 grep -v '^ *+' conftest.er1 >conftest.err 4393 rm -f conftest.er1 4394 cat conftest.err >&5 4395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4396 (exit $ac_status); } && { 4397 test -z "$ac_c_werror_flag" || 4398 test ! -s conftest.err 4399 } && test -s conftest$ac_exeext && { 4400 test "$cross_compiling" = yes || 4401 $as_test_x conftest$ac_exeext 4402 }; then 4552 if ac_fn_c_try_link "$LINENO"; then : 4403 4553 ac_cv_lib_bind_inet_ntoa=yes 4404 4554 else 4405 $as_echo "$as_me: failed program was:" >&5 4406 sed 's/^/| /' conftest.$ac_ext >&5 4407 4408 ac_cv_lib_bind_inet_ntoa=no 4409 fi 4410 4411 rm -rf conftest.dSYM 4412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4413 conftest$ac_exeext conftest.$ac_ext 4555 ac_cv_lib_bind_inet_ntoa=no 4556 fi 4557 rm -f core conftest.err conftest.$ac_objext \ 4558 conftest$ac_exeext conftest.$ac_ext 4414 4559 LIBS=$ac_check_lib_save_LIBS 4415 4560 fi 4416 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&54561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 4417 4562 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 4418 if test "x$ac_cv_lib_bind_inet_ntoa" = x ""yes; then4563 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then : 4419 4564 LIBS="$LIBS -lbind -lsocket" 4420 4565 fi … … 4454 4599 HP-UX-*.11.*) 4455 4600 # Use updated header definitions where possible 4456 cat >>confdefs.h <<\_ACEOF 4457 #define _XOPEN_SOURCE 1 4458 _ACEOF 4601 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 4459 4602 # Use the XOPEN network library 4460 cat >>confdefs.h <<\_ACEOF 4461 #define _XOPEN_SOURCE_EXTENDED 1 4462 _ACEOF 4603 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 4463 4604 # Use the XOPEN network library 4464 4605 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 4469 4610 SHLIB_SUFFIX=".sl" 4470 4611 fi 4471 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&54612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 4472 4613 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4473 if test "${ac_cv_lib_dld_shl_load+set}" = set; then4614 if ${ac_cv_lib_dld_shl_load+:} false; then : 4474 4615 $as_echo_n "(cached) " >&6 4475 4616 else 4476 4617 ac_check_lib_save_LIBS=$LIBS 4477 4618 LIBS="-ldld $LIBS" 4478 cat >conftest.$ac_ext <<_ACEOF 4479 /* confdefs.h. */ 4480 _ACEOF 4481 cat confdefs.h >>conftest.$ac_ext 4482 cat >>conftest.$ac_ext <<_ACEOF 4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4483 4620 /* end confdefs.h. */ 4484 4621 … … 4498 4635 } 4499 4636 _ACEOF 4500 rm -f conftest.$ac_objext conftest$ac_exeext 4501 if { (ac_try="$ac_link" 4502 case "(($ac_try" in 4503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4504 *) ac_try_echo=$ac_try;; 4505 esac 4506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4507 $as_echo "$ac_try_echo") >&5 4508 (eval "$ac_link") 2>conftest.er1 4509 ac_status=$? 4510 grep -v '^ *+' conftest.er1 >conftest.err 4511 rm -f conftest.er1 4512 cat conftest.err >&5 4513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4514 (exit $ac_status); } && { 4515 test -z "$ac_c_werror_flag" || 4516 test ! -s conftest.err 4517 } && test -s conftest$ac_exeext && { 4518 test "$cross_compiling" = yes || 4519 $as_test_x conftest$ac_exeext 4520 }; then 4637 if ac_fn_c_try_link "$LINENO"; then : 4521 4638 ac_cv_lib_dld_shl_load=yes 4522 4639 else 4523 $as_echo "$as_me: failed program was:" >&5 4524 sed 's/^/| /' conftest.$ac_ext >&5 4525 4526 ac_cv_lib_dld_shl_load=no 4527 fi 4528 4529 rm -rf conftest.dSYM 4530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4531 conftest$ac_exeext conftest.$ac_ext 4640 ac_cv_lib_dld_shl_load=no 4641 fi 4642 rm -f core conftest.err conftest.$ac_objext \ 4643 conftest$ac_exeext conftest.$ac_ext 4532 4644 LIBS=$ac_check_lib_save_LIBS 4533 4645 fi 4534 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&54646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 4535 4647 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4536 if test "x$ac_cv_lib_dld_shl_load" = x ""yes; then4648 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 4537 4649 tcl_ok=yes 4538 4650 else … … 4574 4686 ;; 4575 4687 *) 4576 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&54688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 4577 4689 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4578 4690 ;; … … 4587 4699 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 4588 4700 SHLIB_SUFFIX=".sl" 4589 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&54701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 4590 4702 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4591 if test "${ac_cv_lib_dld_shl_load+set}" = set; then4703 if ${ac_cv_lib_dld_shl_load+:} false; then : 4592 4704 $as_echo_n "(cached) " >&6 4593 4705 else 4594 4706 ac_check_lib_save_LIBS=$LIBS 4595 4707 LIBS="-ldld $LIBS" 4596 cat >conftest.$ac_ext <<_ACEOF 4597 /* confdefs.h. */ 4598 _ACEOF 4599 cat confdefs.h >>conftest.$ac_ext 4600 cat >>conftest.$ac_ext <<_ACEOF 4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4601 4709 /* end confdefs.h. */ 4602 4710 … … 4616 4724 } 4617 4725 _ACEOF 4618 rm -f conftest.$ac_objext conftest$ac_exeext 4619 if { (ac_try="$ac_link" 4620 case "(($ac_try" in 4621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4622 *) ac_try_echo=$ac_try;; 4623 esac 4624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4625 $as_echo "$ac_try_echo") >&5 4626 (eval "$ac_link") 2>conftest.er1 4627 ac_status=$? 4628 grep -v '^ *+' conftest.er1 >conftest.err 4629 rm -f conftest.er1 4630 cat conftest.err >&5 4631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4632 (exit $ac_status); } && { 4633 test -z "$ac_c_werror_flag" || 4634 test ! -s conftest.err 4635 } && test -s conftest$ac_exeext && { 4636 test "$cross_compiling" = yes || 4637 $as_test_x conftest$ac_exeext 4638 }; then 4726 if ac_fn_c_try_link "$LINENO"; then : 4639 4727 ac_cv_lib_dld_shl_load=yes 4640 4728 else 4641 $as_echo "$as_me: failed program was:" >&5 4642 sed 's/^/| /' conftest.$ac_ext >&5 4643 4644 ac_cv_lib_dld_shl_load=no 4645 fi 4646 4647 rm -rf conftest.dSYM 4648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4649 conftest$ac_exeext conftest.$ac_ext 4729 ac_cv_lib_dld_shl_load=no 4730 fi 4731 rm -f core conftest.err conftest.$ac_objext \ 4732 conftest$ac_exeext conftest.$ac_ext 4650 4733 LIBS=$ac_check_lib_save_LIBS 4651 4734 fi 4652 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&54735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 4653 4736 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4654 if test "x$ac_cv_lib_dld_shl_load" = x ""yes; then4737 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 4655 4738 tcl_ok=yes 4656 4739 else … … 4731 4814 if test "$do64bit" = "yes" ; then 4732 4815 if test "$GCC" = "yes" ; then 4733 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported by gcc" >&54816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 4734 4817 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 4735 4818 else … … 4760 4843 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4761 4844 else 4762 if test "${ac_cv_header_dld_h+set}" = set; then 4763 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4764 $as_echo_n "checking for dld.h... " >&6; } 4765 if test "${ac_cv_header_dld_h+set}" = set; then 4766 $as_echo_n "(cached) " >&6 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 else 4771 # Is the header compilable? 4772 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4773 $as_echo_n "checking dld.h usability... " >&6; } 4774 cat >conftest.$ac_ext <<_ACEOF 4775 /* confdefs.h. */ 4776 _ACEOF 4777 cat confdefs.h >>conftest.$ac_ext 4778 cat >>conftest.$ac_ext <<_ACEOF 4779 /* end confdefs.h. */ 4780 $ac_includes_default 4781 #include <dld.h> 4782 _ACEOF 4783 rm -f conftest.$ac_objext 4784 if { (ac_try="$ac_compile" 4785 case "(($ac_try" in 4786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4787 *) ac_try_echo=$ac_try;; 4788 esac 4789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4790 $as_echo "$ac_try_echo") >&5 4791 (eval "$ac_compile") 2>conftest.er1 4792 ac_status=$? 4793 grep -v '^ *+' conftest.er1 >conftest.err 4794 rm -f conftest.er1 4795 cat conftest.err >&5 4796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4797 (exit $ac_status); } && { 4798 test -z "$ac_c_werror_flag" || 4799 test ! -s conftest.err 4800 } && test -s conftest.$ac_objext; then 4801 ac_header_compiler=yes 4802 else 4803 $as_echo "$as_me: failed program was:" >&5 4804 sed 's/^/| /' conftest.$ac_ext >&5 4805 4806 ac_header_compiler=no 4807 fi 4808 4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4810 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4811 $as_echo "$ac_header_compiler" >&6; } 4812 4813 # Is the header present? 4814 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4815 $as_echo_n "checking dld.h presence... " >&6; } 4816 cat >conftest.$ac_ext <<_ACEOF 4817 /* confdefs.h. */ 4818 _ACEOF 4819 cat confdefs.h >>conftest.$ac_ext 4820 cat >>conftest.$ac_ext <<_ACEOF 4821 /* end confdefs.h. */ 4822 #include <dld.h> 4823 _ACEOF 4824 if { (ac_try="$ac_cpp conftest.$ac_ext" 4825 case "(($ac_try" in 4826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4827 *) ac_try_echo=$ac_try;; 4828 esac 4829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4830 $as_echo "$ac_try_echo") >&5 4831 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4832 ac_status=$? 4833 grep -v '^ *+' conftest.er1 >conftest.err 4834 rm -f conftest.er1 4835 cat conftest.err >&5 4836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4837 (exit $ac_status); } >/dev/null && { 4838 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4839 test ! -s conftest.err 4840 }; then 4841 ac_header_preproc=yes 4842 else 4843 $as_echo "$as_me: failed program was:" >&5 4844 sed 's/^/| /' conftest.$ac_ext >&5 4845 4846 ac_header_preproc=no 4847 fi 4848 4849 rm -f conftest.err conftest.$ac_ext 4850 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4851 $as_echo "$ac_header_preproc" >&6; } 4852 4853 # So? What about this header? 4854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4855 yes:no: ) 4856 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4857 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4858 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4859 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4860 ac_header_preproc=yes 4861 ;; 4862 no:yes:* ) 4863 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4864 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4865 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4866 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4867 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4868 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4869 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4870 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4871 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4872 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4873 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4874 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4875 ( cat <<\_ASBOX 4876 ## ----------------------------------- ## 4877 ## Report this to rappture@nanohub.org ## 4878 ## ----------------------------------- ## 4879 _ASBOX 4880 ) | sed "s/^/$as_me: WARNING: /" >&2 4881 ;; 4882 esac 4883 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4884 $as_echo_n "checking for dld.h... " >&6; } 4885 if test "${ac_cv_header_dld_h+set}" = set; then 4886 $as_echo_n "(cached) " >&6 4887 else 4888 ac_cv_header_dld_h=$ac_header_preproc 4889 fi 4890 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4891 $as_echo "$ac_cv_header_dld_h" >&6; } 4892 4893 fi 4894 if test "x$ac_cv_header_dld_h" = x""yes; then 4845 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4846 if test "x$ac_cv_header_dld_h" = xyes; then : 4895 4847 4896 4848 SHLIB_LD="ld -shared" … … 4907 4859 fi 4908 4860 if test $do64bit = yes; then 4909 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -m64 flag" >&54861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 4910 4862 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 4911 if test "${tcl_cv_cc_m64+set}" = set; then4863 if ${tcl_cv_cc_m64+:} false; then : 4912 4864 $as_echo_n "(cached) " >&6 4913 4865 else … … 4915 4867 hold_cflags=$CFLAGS 4916 4868 CFLAGS="$CFLAGS -m64" 4917 cat >conftest.$ac_ext <<_ACEOF 4918 /* confdefs.h. */ 4919 _ACEOF 4920 cat confdefs.h >>conftest.$ac_ext 4921 cat >>conftest.$ac_ext <<_ACEOF 4869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4922 4870 /* end confdefs.h. */ 4923 4871 … … 4930 4878 } 4931 4879 _ACEOF 4932 rm -f conftest.$ac_objext conftest$ac_exeext 4933 if { (ac_try="$ac_link" 4934 case "(($ac_try" in 4935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4936 *) ac_try_echo=$ac_try;; 4937 esac 4938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4939 $as_echo "$ac_try_echo") >&5 4940 (eval "$ac_link") 2>conftest.er1 4941 ac_status=$? 4942 grep -v '^ *+' conftest.er1 >conftest.err 4943 rm -f conftest.er1 4944 cat conftest.err >&5 4945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4946 (exit $ac_status); } && { 4947 test -z "$ac_c_werror_flag" || 4948 test ! -s conftest.err 4949 } && test -s conftest$ac_exeext && { 4950 test "$cross_compiling" = yes || 4951 $as_test_x conftest$ac_exeext 4952 }; then 4880 if ac_fn_c_try_link "$LINENO"; then : 4953 4881 tcl_cv_cc_m64=yes 4954 4882 else 4955 $as_echo "$as_me: failed program was:" >&5 4956 sed 's/^/| /' conftest.$ac_ext >&5 4957 4958 tcl_cv_cc_m64=no 4959 fi 4960 4961 rm -rf conftest.dSYM 4962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4963 conftest$ac_exeext conftest.$ac_ext 4883 tcl_cv_cc_m64=no 4884 fi 4885 rm -f core conftest.err conftest.$ac_objext \ 4886 conftest$ac_exeext conftest.$ac_ext 4964 4887 CFLAGS=$hold_cflags 4965 4888 fi 4966 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_m64" >&54889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 4967 4890 $as_echo "$tcl_cv_cc_m64" >&6; } 4968 4891 if test $tcl_cv_cc_m64 = yes; then … … 4984 4907 4985 4908 # XIM peeking works under XFree86. 4986 cat >>confdefs.h <<\_ACEOF 4987 #define PEEK_XCLOSEIM 1 4988 _ACEOF 4909 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 4989 4910 4990 4911 … … 5003 4924 LD_SEARCH_FLAGS="" 5004 4925 else 5005 if test "${ac_cv_header_dld_h+set}" = set; then 5006 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 5007 $as_echo_n "checking for dld.h... " >&6; } 5008 if test "${ac_cv_header_dld_h+set}" = set; then 5009 $as_echo_n "(cached) " >&6 5010 fi 5011 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 5012 $as_echo "$ac_cv_header_dld_h" >&6; } 5013 else 5014 # Is the header compilable? 5015 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 5016 $as_echo_n "checking dld.h usability... " >&6; } 5017 cat >conftest.$ac_ext <<_ACEOF 5018 /* confdefs.h. */ 5019 _ACEOF 5020 cat confdefs.h >>conftest.$ac_ext 5021 cat >>conftest.$ac_ext <<_ACEOF 5022 /* end confdefs.h. */ 5023 $ac_includes_default 5024 #include <dld.h> 5025 _ACEOF 5026 rm -f conftest.$ac_objext 5027 if { (ac_try="$ac_compile" 5028 case "(($ac_try" in 5029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5030 *) ac_try_echo=$ac_try;; 5031 esac 5032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5033 $as_echo "$ac_try_echo") >&5 5034 (eval "$ac_compile") 2>conftest.er1 5035 ac_status=$? 5036 grep -v '^ *+' conftest.er1 >conftest.err 5037 rm -f conftest.er1 5038 cat conftest.err >&5 5039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5040 (exit $ac_status); } && { 5041 test -z "$ac_c_werror_flag" || 5042 test ! -s conftest.err 5043 } && test -s conftest.$ac_objext; then 5044 ac_header_compiler=yes 5045 else 5046 $as_echo "$as_me: failed program was:" >&5 5047 sed 's/^/| /' conftest.$ac_ext >&5 5048 5049 ac_header_compiler=no 5050 fi 5051 5052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5053 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5054 $as_echo "$ac_header_compiler" >&6; } 5055 5056 # Is the header present? 5057 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 5058 $as_echo_n "checking dld.h presence... " >&6; } 5059 cat >conftest.$ac_ext <<_ACEOF 5060 /* confdefs.h. */ 5061 _ACEOF 5062 cat confdefs.h >>conftest.$ac_ext 5063 cat >>conftest.$ac_ext <<_ACEOF 5064 /* end confdefs.h. */ 5065 #include <dld.h> 5066 _ACEOF 5067 if { (ac_try="$ac_cpp conftest.$ac_ext" 5068 case "(($ac_try" in 5069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5070 *) ac_try_echo=$ac_try;; 5071 esac 5072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5073 $as_echo "$ac_try_echo") >&5 5074 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5075 ac_status=$? 5076 grep -v '^ *+' conftest.er1 >conftest.err 5077 rm -f conftest.er1 5078 cat conftest.err >&5 5079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5080 (exit $ac_status); } >/dev/null && { 5081 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5082 test ! -s conftest.err 5083 }; then 5084 ac_header_preproc=yes 5085 else 5086 $as_echo "$as_me: failed program was:" >&5 5087 sed 's/^/| /' conftest.$ac_ext >&5 5088 5089 ac_header_preproc=no 5090 fi 5091 5092 rm -f conftest.err conftest.$ac_ext 5093 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5094 $as_echo "$ac_header_preproc" >&6; } 5095 5096 # So? What about this header? 5097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5098 yes:no: ) 5099 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 5100 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5101 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 5102 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 5103 ac_header_preproc=yes 5104 ;; 5105 no:yes:* ) 5106 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 5107 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 5108 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 5109 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 5110 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 5111 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 5112 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 5113 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 5114 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 5115 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 5116 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 5117 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 5118 ( cat <<\_ASBOX 5119 ## ----------------------------------- ## 5120 ## Report this to rappture@nanohub.org ## 5121 ## ----------------------------------- ## 5122 _ASBOX 5123 ) | sed "s/^/$as_me: WARNING: /" >&2 5124 ;; 5125 esac 5126 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 5127 $as_echo_n "checking for dld.h... " >&6; } 5128 if test "${ac_cv_header_dld_h+set}" = set; then 5129 $as_echo_n "(cached) " >&6 5130 else 5131 ac_cv_header_dld_h=$ac_header_preproc 5132 fi 5133 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 5134 $as_echo "$ac_cv_header_dld_h" >&6; } 5135 5136 fi 5137 if test "x$ac_cv_header_dld_h" = x""yes; then 4926 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4927 if test "x$ac_cv_header_dld_h" = xyes; then : 5138 4928 5139 4929 SHLIB_LD="ld -shared" … … 5185 4975 NetBSD-*|FreeBSD-[1-2].*) 5186 4976 # Not available on all versions: check for include file. 5187 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5188 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 5189 $as_echo_n "checking for dlfcn.h... " >&6; } 5190 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5191 $as_echo_n "(cached) " >&6 5192 fi 5193 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 5194 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 5195 else 5196 # Is the header compilable? 5197 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 5198 $as_echo_n "checking dlfcn.h usability... " >&6; } 5199 cat >conftest.$ac_ext <<_ACEOF 5200 /* confdefs.h. */ 5201 _ACEOF 5202 cat confdefs.h >>conftest.$ac_ext 5203 cat >>conftest.$ac_ext <<_ACEOF 5204 /* end confdefs.h. */ 5205 $ac_includes_default 5206 #include <dlfcn.h> 5207 _ACEOF 5208 rm -f conftest.$ac_objext 5209 if { (ac_try="$ac_compile" 5210 case "(($ac_try" in 5211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5212 *) ac_try_echo=$ac_try;; 5213 esac 5214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5215 $as_echo "$ac_try_echo") >&5 5216 (eval "$ac_compile") 2>conftest.er1 5217 ac_status=$? 5218 grep -v '^ *+' conftest.er1 >conftest.err 5219 rm -f conftest.er1 5220 cat conftest.err >&5 5221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5222 (exit $ac_status); } && { 5223 test -z "$ac_c_werror_flag" || 5224 test ! -s conftest.err 5225 } && test -s conftest.$ac_objext; then 5226 ac_header_compiler=yes 5227 else 5228 $as_echo "$as_me: failed program was:" >&5 5229 sed 's/^/| /' conftest.$ac_ext >&5 5230 5231 ac_header_compiler=no 5232 fi 5233 5234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5235 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5236 $as_echo "$ac_header_compiler" >&6; } 5237 5238 # Is the header present? 5239 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 5240 $as_echo_n "checking dlfcn.h presence... " >&6; } 5241 cat >conftest.$ac_ext <<_ACEOF 5242 /* confdefs.h. */ 5243 _ACEOF 5244 cat confdefs.h >>conftest.$ac_ext 5245 cat >>conftest.$ac_ext <<_ACEOF 5246 /* end confdefs.h. */ 5247 #include <dlfcn.h> 5248 _ACEOF 5249 if { (ac_try="$ac_cpp conftest.$ac_ext" 5250 case "(($ac_try" in 5251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5252 *) ac_try_echo=$ac_try;; 5253 esac 5254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5255 $as_echo "$ac_try_echo") >&5 5256 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5257 ac_status=$? 5258 grep -v '^ *+' conftest.er1 >conftest.err 5259 rm -f conftest.er1 5260 cat conftest.err >&5 5261 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5262 (exit $ac_status); } >/dev/null && { 5263 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5264 test ! -s conftest.err 5265 }; then 5266 ac_header_preproc=yes 5267 else 5268 $as_echo "$as_me: failed program was:" >&5 5269 sed 's/^/| /' conftest.$ac_ext >&5 5270 5271 ac_header_preproc=no 5272 fi 5273 5274 rm -f conftest.err conftest.$ac_ext 5275 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5276 $as_echo "$ac_header_preproc" >&6; } 5277 5278 # So? What about this header? 5279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5280 yes:no: ) 5281 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 5282 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5283 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 5284 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 5285 ac_header_preproc=yes 5286 ;; 5287 no:yes:* ) 5288 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 5289 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 5290 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 5291 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 5292 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 5293 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 5294 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 5295 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 5296 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 5297 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 5298 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 5299 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 5300 ( cat <<\_ASBOX 5301 ## ----------------------------------- ## 5302 ## Report this to rappture@nanohub.org ## 5303 ## ----------------------------------- ## 5304 _ASBOX 5305 ) | sed "s/^/$as_me: WARNING: /" >&2 5306 ;; 5307 esac 5308 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 5309 $as_echo_n "checking for dlfcn.h... " >&6; } 5310 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5311 $as_echo_n "(cached) " >&6 5312 else 5313 ac_cv_header_dlfcn_h=$ac_header_preproc 5314 fi 5315 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 5316 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 5317 5318 fi 5319 if test "x$ac_cv_header_dlfcn_h" = x""yes; then 4977 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 4978 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 5320 4979 5321 4980 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 5328 4987 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 5329 4988 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 5330 { $as_echo "$as_me:$ LINENO: checking for ELF" >&54989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 5331 4990 $as_echo_n "checking for ELF... " >&6; } 5332 if test "${tcl_cv_ld_elf+set}" = set; then4991 if ${tcl_cv_ld_elf+:} false; then : 5333 4992 $as_echo_n "(cached) " >&6 5334 4993 else 5335 4994 5336 cat >conftest.$ac_ext <<_ACEOF 5337 /* confdefs.h. */ 5338 _ACEOF 5339 cat confdefs.h >>conftest.$ac_ext 5340 cat >>conftest.$ac_ext <<_ACEOF 4995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5341 4996 /* end confdefs.h. */ 5342 4997 … … 5347 5002 _ACEOF 5348 5003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5349 $EGREP "yes" >/dev/null 2>&1; then 5004 $EGREP "yes" >/dev/null 2>&1; then : 5350 5005 tcl_cv_ld_elf=yes 5351 5006 else … … 5355 5010 5356 5011 fi 5357 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&55012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 5358 5013 $as_echo "$tcl_cv_ld_elf" >&6; } 5359 5014 if test $tcl_cv_ld_elf = yes; then … … 5414 5069 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5415 5070 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 5416 { $as_echo "$as_me:$ LINENO: checking for ELF" >&55071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 5417 5072 $as_echo_n "checking for ELF... " >&6; } 5418 if test "${tcl_cv_ld_elf+set}" = set; then5073 if ${tcl_cv_ld_elf+:} false; then : 5419 5074 $as_echo_n "(cached) " >&6 5420 5075 else 5421 5076 5422 cat >conftest.$ac_ext <<_ACEOF 5423 /* confdefs.h. */ 5424 _ACEOF 5425 cat confdefs.h >>conftest.$ac_ext 5426 cat >>conftest.$ac_ext <<_ACEOF 5077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5427 5078 /* end confdefs.h. */ 5428 5079 … … 5433 5084 _ACEOF 5434 5085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5435 $EGREP "yes" >/dev/null 2>&1; then 5086 $EGREP "yes" >/dev/null 2>&1; then : 5436 5087 tcl_cv_ld_elf=yes 5437 5088 else … … 5441 5092 5442 5093 fi 5443 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&55094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 5444 5095 $as_echo "$tcl_cv_ld_elf" >&6; } 5445 5096 if test $tcl_cv_ld_elf = yes; then … … 5496 5147 case `arch` in 5497 5148 ppc) 5498 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -arch ppc64 flag" >&55149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 5499 5150 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 5500 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then5151 if ${tcl_cv_cc_arch_ppc64+:} false; then : 5501 5152 $as_echo_n "(cached) " >&6 5502 5153 else … … 5504 5155 hold_cflags=$CFLAGS 5505 5156 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 5506 cat >conftest.$ac_ext <<_ACEOF 5507 /* confdefs.h. */ 5508 _ACEOF 5509 cat confdefs.h >>conftest.$ac_ext 5510 cat >>conftest.$ac_ext <<_ACEOF 5157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5511 5158 /* end confdefs.h. */ 5512 5159 … … 5519 5166 } 5520 5167 _ACEOF 5521 rm -f conftest.$ac_objext conftest$ac_exeext 5522 if { (ac_try="$ac_link" 5523 case "(($ac_try" in 5524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5525 *) ac_try_echo=$ac_try;; 5526 esac 5527 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5528 $as_echo "$ac_try_echo") >&5 5529 (eval "$ac_link") 2>conftest.er1 5530 ac_status=$? 5531 grep -v '^ *+' conftest.er1 >conftest.err 5532 rm -f conftest.er1 5533 cat conftest.err >&5 5534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5535 (exit $ac_status); } && { 5536 test -z "$ac_c_werror_flag" || 5537 test ! -s conftest.err 5538 } && test -s conftest$ac_exeext && { 5539 test "$cross_compiling" = yes || 5540 $as_test_x conftest$ac_exeext 5541 }; then 5168 if ac_fn_c_try_link "$LINENO"; then : 5542 5169 tcl_cv_cc_arch_ppc64=yes 5543 5170 else 5544 $as_echo "$as_me: failed program was:" >&5 5545 sed 's/^/| /' conftest.$ac_ext >&5 5546 5547 tcl_cv_cc_arch_ppc64=no 5548 fi 5549 5550 rm -rf conftest.dSYM 5551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5552 conftest$ac_exeext conftest.$ac_ext 5171 tcl_cv_cc_arch_ppc64=no 5172 fi 5173 rm -f core conftest.err conftest.$ac_objext \ 5174 conftest$ac_exeext conftest.$ac_ext 5553 5175 CFLAGS=$hold_cflags 5554 5176 fi 5555 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_arch_ppc64" >&55177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 5556 5178 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 5557 5179 if test $tcl_cv_cc_arch_ppc64 = yes; then … … 5560 5182 fi;; 5561 5183 i386) 5562 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -arch x86_64 flag" >&55184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 5563 5185 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 5564 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then5186 if ${tcl_cv_cc_arch_x86_64+:} false; then : 5565 5187 $as_echo_n "(cached) " >&6 5566 5188 else … … 5568 5190 hold_cflags=$CFLAGS 5569 5191 CFLAGS="$CFLAGS -arch x86_64" 5570 cat >conftest.$ac_ext <<_ACEOF 5571 /* confdefs.h. */ 5572 _ACEOF 5573 cat confdefs.h >>conftest.$ac_ext 5574 cat >>conftest.$ac_ext <<_ACEOF 5192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5575 5193 /* end confdefs.h. */ 5576 5194 … … 5583 5201 } 5584 5202 _ACEOF 5585 rm -f conftest.$ac_objext conftest$ac_exeext 5586 if { (ac_try="$ac_link" 5587 case "(($ac_try" in 5588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5589 *) ac_try_echo=$ac_try;; 5590 esac 5591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5592 $as_echo "$ac_try_echo") >&5 5593 (eval "$ac_link") 2>conftest.er1 5594 ac_status=$? 5595 grep -v '^ *+' conftest.er1 >conftest.err 5596 rm -f conftest.er1 5597 cat conftest.err >&5 5598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5599 (exit $ac_status); } && { 5600 test -z "$ac_c_werror_flag" || 5601 test ! -s conftest.err 5602 } && test -s conftest$ac_exeext && { 5603 test "$cross_compiling" = yes || 5604 $as_test_x conftest$ac_exeext 5605 }; then 5203 if ac_fn_c_try_link "$LINENO"; then : 5606 5204 tcl_cv_cc_arch_x86_64=yes 5607 5205 else 5608 $as_echo "$as_me: failed program was:" >&5 5609 sed 's/^/| /' conftest.$ac_ext >&5 5610 5611 tcl_cv_cc_arch_x86_64=no 5612 fi 5613 5614 rm -rf conftest.dSYM 5615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5616 conftest$ac_exeext conftest.$ac_ext 5206 tcl_cv_cc_arch_x86_64=no 5207 fi 5208 rm -f core conftest.err conftest.$ac_objext \ 5209 conftest$ac_exeext conftest.$ac_ext 5617 5210 CFLAGS=$hold_cflags 5618 5211 fi 5619 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_arch_x86_64" >&55212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 5620 5213 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 5621 5214 if test $tcl_cv_cc_arch_x86_64 = yes; then … … 5624 5217 fi;; 5625 5218 *) 5626 { $as_echo "$as_me:$ LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&55219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 5627 5220 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 5628 5221 esac … … 5634 5227 fi 5635 5228 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 5636 { $as_echo "$as_me:$ LINENO: checking if ld accepts -single_module flag" >&55229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 5637 5230 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 5638 if test "${tcl_cv_ld_single_module+set}" = set; then5231 if ${tcl_cv_ld_single_module+:} false; then : 5639 5232 $as_echo_n "(cached) " >&6 5640 5233 else … … 5642 5235 hold_ldflags=$LDFLAGS 5643 5236 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 5644 cat >conftest.$ac_ext <<_ACEOF 5645 /* confdefs.h. */ 5646 _ACEOF 5647 cat confdefs.h >>conftest.$ac_ext 5648 cat >>conftest.$ac_ext <<_ACEOF 5237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5649 5238 /* end confdefs.h. */ 5650 5239 … … 5657 5246 } 5658 5247 _ACEOF 5659 rm -f conftest.$ac_objext conftest$ac_exeext 5660 if { (ac_try="$ac_link" 5661 case "(($ac_try" in 5662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5663 *) ac_try_echo=$ac_try;; 5664 esac 5665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5666 $as_echo "$ac_try_echo") >&5 5667 (eval "$ac_link") 2>conftest.er1 5668 ac_status=$? 5669 grep -v '^ *+' conftest.er1 >conftest.err 5670 rm -f conftest.er1 5671 cat conftest.err >&5 5672 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5673 (exit $ac_status); } && { 5674 test -z "$ac_c_werror_flag" || 5675 test ! -s conftest.err 5676 } && test -s conftest$ac_exeext && { 5677 test "$cross_compiling" = yes || 5678 $as_test_x conftest$ac_exeext 5679 }; then 5248 if ac_fn_c_try_link "$LINENO"; then : 5680 5249 tcl_cv_ld_single_module=yes 5681 5250 else 5682 $as_echo "$as_me: failed program was:" >&5 5683 sed 's/^/| /' conftest.$ac_ext >&5 5684 5685 tcl_cv_ld_single_module=no 5686 fi 5687 5688 rm -rf conftest.dSYM 5689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5690 conftest$ac_exeext conftest.$ac_ext 5251 tcl_cv_ld_single_module=no 5252 fi 5253 rm -f core conftest.err conftest.$ac_objext \ 5254 conftest$ac_exeext conftest.$ac_ext 5691 5255 LDFLAGS=$hold_ldflags 5692 5256 fi 5693 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_single_module" >&55257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 5694 5258 $as_echo "$tcl_cv_ld_single_module" >&6; } 5695 5259 if test $tcl_cv_ld_single_module = yes; then … … 5705 5269 LDFLAGS="$LDFLAGS -prebind" 5706 5270 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 5707 { $as_echo "$as_me:$ LINENO: checking if ld accepts -search_paths_first flag" >&55271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 5708 5272 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 5709 if test "${tcl_cv_ld_search_paths_first+set}" = set; then5273 if ${tcl_cv_ld_search_paths_first+:} false; then : 5710 5274 $as_echo_n "(cached) " >&6 5711 5275 else … … 5713 5277 hold_ldflags=$LDFLAGS 5714 5278 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5715 cat >conftest.$ac_ext <<_ACEOF 5716 /* confdefs.h. */ 5717 _ACEOF 5718 cat confdefs.h >>conftest.$ac_ext 5719 cat >>conftest.$ac_ext <<_ACEOF 5279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5720 5280 /* end confdefs.h. */ 5721 5281 … … 5728 5288 } 5729 5289 _ACEOF 5730 rm -f conftest.$ac_objext conftest$ac_exeext 5731 if { (ac_try="$ac_link" 5732 case "(($ac_try" in 5733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5734 *) ac_try_echo=$ac_try;; 5735 esac 5736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5737 $as_echo "$ac_try_echo") >&5 5738 (eval "$ac_link") 2>conftest.er1 5739 ac_status=$? 5740 grep -v '^ *+' conftest.er1 >conftest.err 5741 rm -f conftest.er1 5742 cat conftest.err >&5 5743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5744 (exit $ac_status); } && { 5745 test -z "$ac_c_werror_flag" || 5746 test ! -s conftest.err 5747 } && test -s conftest$ac_exeext && { 5748 test "$cross_compiling" = yes || 5749 $as_test_x conftest$ac_exeext 5750 }; then 5290 if ac_fn_c_try_link "$LINENO"; then : 5751 5291 tcl_cv_ld_search_paths_first=yes 5752 5292 else 5753 $as_echo "$as_me: failed program was:" >&5 5754 sed 's/^/| /' conftest.$ac_ext >&5 5755 5756 tcl_cv_ld_search_paths_first=no 5757 fi 5758 5759 rm -rf conftest.dSYM 5760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5761 conftest$ac_exeext conftest.$ac_ext 5293 tcl_cv_ld_search_paths_first=no 5294 fi 5295 rm -f core conftest.err conftest.$ac_objext \ 5296 conftest$ac_exeext conftest.$ac_ext 5762 5297 LDFLAGS=$hold_ldflags 5763 5298 fi 5764 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_search_paths_first" >&55299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 5765 5300 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 5766 5301 if test $tcl_cv_ld_search_paths_first = yes; then … … 5772 5307 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 5773 5308 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 5774 { $as_echo "$as_me:$ LINENO: checking whether to use CoreFoundation" >&55309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5 5775 5310 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 5776 5311 # Check whether --enable-corefoundation was given. 5777 if test "${enable_corefoundation+set}" = set; then 5312 if test "${enable_corefoundation+set}" = set; then : 5778 5313 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 5779 5314 else … … 5781 5316 fi 5782 5317 5783 { $as_echo "$as_me:$ LINENO: result: $tcl_corefoundation" >&55318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5 5784 5319 $as_echo "$tcl_corefoundation" >&6; } 5785 5320 if test $tcl_corefoundation = yes; then 5786 { $as_echo "$as_me:$ LINENO: checking for CoreFoundation.framework" >&55321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 5787 5322 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 5788 if test "${tcl_cv_lib_corefoundation+set}" = set; then5323 if ${tcl_cv_lib_corefoundation+:} false; then : 5789 5324 $as_echo_n "(cached) " >&6 5790 5325 else … … 5798 5333 done; fi 5799 5334 LIBS="$LIBS -framework CoreFoundation" 5800 cat >conftest.$ac_ext <<_ACEOF 5801 /* confdefs.h. */ 5802 _ACEOF 5803 cat confdefs.h >>conftest.$ac_ext 5804 cat >>conftest.$ac_ext <<_ACEOF 5335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5805 5336 /* end confdefs.h. */ 5806 5337 #include <CoreFoundation/CoreFoundation.h> … … 5813 5344 } 5814 5345 _ACEOF 5815 rm -f conftest.$ac_objext conftest$ac_exeext 5816 if { (ac_try="$ac_link" 5817 case "(($ac_try" in 5818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5819 *) ac_try_echo=$ac_try;; 5820 esac 5821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5822 $as_echo "$ac_try_echo") >&5 5823 (eval "$ac_link") 2>conftest.er1 5824 ac_status=$? 5825 grep -v '^ *+' conftest.er1 >conftest.err 5826 rm -f conftest.er1 5827 cat conftest.err >&5 5828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5829 (exit $ac_status); } && { 5830 test -z "$ac_c_werror_flag" || 5831 test ! -s conftest.err 5832 } && test -s conftest$ac_exeext && { 5833 test "$cross_compiling" = yes || 5834 $as_test_x conftest$ac_exeext 5835 }; then 5346 if ac_fn_c_try_link "$LINENO"; then : 5836 5347 tcl_cv_lib_corefoundation=yes 5837 5348 else 5838 $as_echo "$as_me: failed program was:" >&5 5839 sed 's/^/| /' conftest.$ac_ext >&5 5840 5841 tcl_cv_lib_corefoundation=no 5842 fi 5843 5844 rm -rf conftest.dSYM 5845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5846 conftest$ac_exeext conftest.$ac_ext 5349 tcl_cv_lib_corefoundation=no 5350 fi 5351 rm -f core conftest.err conftest.$ac_objext \ 5352 conftest$ac_exeext conftest.$ac_ext 5847 5353 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 5848 5354 eval $v'="$hold_'$v'"' 5849 5355 done; fi; LIBS=$hold_libs 5850 5356 fi 5851 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_lib_corefoundation" >&55357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5 5852 5358 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 5853 5359 if test $tcl_cv_lib_corefoundation = yes; then 5854 5360 LIBS="$LIBS -framework CoreFoundation" 5855 cat >>confdefs.h <<\_ACEOF 5856 #define HAVE_COREFOUNDATION 1 5857 _ACEOF 5361 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 5858 5362 5859 5363 else … … 5861 5365 fi 5862 5366 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 5863 { $as_echo "$as_me:$ LINENO: checking for 64-bit CoreFoundation" >&55367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 5864 5368 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 5865 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then5369 if ${tcl_cv_lib_corefoundation_64+:} false; then : 5866 5370 $as_echo_n "(cached) " >&6 5867 5371 else … … 5870 5374 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 5871 5375 done 5872 cat >conftest.$ac_ext <<_ACEOF 5873 /* confdefs.h. */ 5874 _ACEOF 5875 cat confdefs.h >>conftest.$ac_ext 5876 cat >>conftest.$ac_ext <<_ACEOF 5376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5877 5377 /* end confdefs.h. */ 5878 5378 #include <CoreFoundation/CoreFoundation.h> … … 5885 5385 } 5886 5386 _ACEOF 5887 rm -f conftest.$ac_objext conftest$ac_exeext 5888 if { (ac_try="$ac_link" 5889 case "(($ac_try" in 5890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5891 *) ac_try_echo=$ac_try;; 5892 esac 5893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5894 $as_echo "$ac_try_echo") >&5 5895 (eval "$ac_link") 2>conftest.er1 5896 ac_status=$? 5897 grep -v '^ *+' conftest.er1 >conftest.err 5898 rm -f conftest.er1 5899 cat conftest.err >&5 5900 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5901 (exit $ac_status); } && { 5902 test -z "$ac_c_werror_flag" || 5903 test ! -s conftest.err 5904 } && test -s conftest$ac_exeext && { 5905 test "$cross_compiling" = yes || 5906 $as_test_x conftest$ac_exeext 5907 }; then 5387 if ac_fn_c_try_link "$LINENO"; then : 5908 5388 tcl_cv_lib_corefoundation_64=yes 5909 5389 else 5910 $as_echo "$as_me: failed program was:" >&5 5911 sed 's/^/| /' conftest.$ac_ext >&5 5912 5913 tcl_cv_lib_corefoundation_64=no 5914 fi 5915 5916 rm -rf conftest.dSYM 5917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5918 conftest$ac_exeext conftest.$ac_ext 5390 tcl_cv_lib_corefoundation_64=no 5391 fi 5392 rm -f core conftest.err conftest.$ac_objext \ 5393 conftest$ac_exeext conftest.$ac_ext 5919 5394 for v in CFLAGS CPPFLAGS LDFLAGS; do 5920 5395 eval $v'="$hold_'$v'"' 5921 5396 done 5922 5397 fi 5923 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_lib_corefoundation_64" >&55398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5 5924 5399 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 5925 5400 if test $tcl_cv_lib_corefoundation_64 = no; then 5926 cat >>confdefs.h <<\_ACEOF 5927 #define NO_COREFOUNDATION_64 1 5928 _ACEOF 5401 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 5929 5402 5930 5403 fi 5931 5404 fi 5932 5405 fi 5933 cat >>confdefs.h <<\_ACEOF 5934 #define MAC_OSX_TCL 1 5935 _ACEOF 5406 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 5936 5407 5937 5408 ;; … … 5948 5419 OS/390-*) 5949 5420 CFLAGS_OPTIMIZE="" # Optimizer is buggy 5950 cat >>confdefs.h <<\_ACEOF 5951 #define _OE_SOCKETS 1 5952 _ACEOF 5421 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 5953 5422 # needed in sys/socket.h 5954 5423 ;; … … 6091 5560 # won't define thread-safe library routines. 6092 5561 6093 cat >>confdefs.h <<\_ACEOF 6094 #define _REENTRANT 1 6095 _ACEOF 6096 6097 cat >>confdefs.h <<\_ACEOF 6098 #define _POSIX_PTHREAD_SEMANTICS 1 6099 _ACEOF 5562 $as_echo "#define _REENTRANT 1" >>confdefs.h 5563 5564 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 6100 5565 6101 5566 … … 6123 5588 # won't define thread-safe library routines. 6124 5589 6125 cat >>confdefs.h <<\_ACEOF 6126 #define _REENTRANT 1 6127 _ACEOF 6128 6129 cat >>confdefs.h <<\_ACEOF 6130 #define _POSIX_PTHREAD_SEMANTICS 1 6131 _ACEOF 5590 $as_echo "#define _REENTRANT 1" >>confdefs.h 5591 5592 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 6132 5593 6133 5594 … … 6140 5601 if test "$GCC" = "yes" ; then 6141 5602 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 6142 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&55603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 6143 5604 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 6144 5605 else … … 6162 5623 elif test "$arch" = "amd64 i386" ; then 6163 5624 if test "$GCC" = "yes" ; then 6164 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&55625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 6165 5626 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 6166 5627 else … … 6170 5631 fi 6171 5632 else 6172 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported for $arch" >&55633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 6173 5634 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 6174 5635 fi … … 6229 5690 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 6230 5691 # that don't grok the -Bexport option. Test that it does. 6231 { $as_echo "$as_me:$ LINENO: checking for ld accepts -Bexport flag" >&55692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 6232 5693 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 6233 if test "${tcl_cv_ld_Bexport+set}" = set; then5694 if ${tcl_cv_ld_Bexport+:} false; then : 6234 5695 $as_echo_n "(cached) " >&6 6235 5696 else … … 6237 5698 hold_ldflags=$LDFLAGS 6238 5699 LDFLAGS="$LDFLAGS -Wl,-Bexport" 6239 cat >conftest.$ac_ext <<_ACEOF 6240 /* confdefs.h. */ 6241 _ACEOF 6242 cat confdefs.h >>conftest.$ac_ext 6243 cat >>conftest.$ac_ext <<_ACEOF 5700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6244 5701 /* end confdefs.h. */ 6245 5702 … … 6252 5709 } 6253 5710 _ACEOF 6254 rm -f conftest.$ac_objext conftest$ac_exeext 6255 if { (ac_try="$ac_link" 6256 case "(($ac_try" in 6257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6258 *) ac_try_echo=$ac_try;; 6259 esac 6260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6261 $as_echo "$ac_try_echo") >&5 6262 (eval "$ac_link") 2>conftest.er1 6263 ac_status=$? 6264 grep -v '^ *+' conftest.er1 >conftest.err 6265 rm -f conftest.er1 6266 cat conftest.err >&5 6267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6268 (exit $ac_status); } && { 6269 test -z "$ac_c_werror_flag" || 6270 test ! -s conftest.err 6271 } && test -s conftest$ac_exeext && { 6272 test "$cross_compiling" = yes || 6273 $as_test_x conftest$ac_exeext 6274 }; then 5711 if ac_fn_c_try_link "$LINENO"; then : 6275 5712 tcl_cv_ld_Bexport=yes 6276 5713 else 6277 $as_echo "$as_me: failed program was:" >&5 6278 sed 's/^/| /' conftest.$ac_ext >&5 6279 6280 tcl_cv_ld_Bexport=no 6281 fi 6282 6283 rm -rf conftest.dSYM 6284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6285 conftest$ac_exeext conftest.$ac_ext 5714 tcl_cv_ld_Bexport=no 5715 fi 5716 rm -f core conftest.err conftest.$ac_objext \ 5717 conftest$ac_exeext conftest.$ac_ext 6286 5718 LDFLAGS=$hold_ldflags 6287 5719 fi 6288 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_Bexport" >&55720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 6289 5721 $as_echo "$tcl_cv_ld_Bexport" >&6; } 6290 5722 if test $tcl_cv_ld_Bexport = yes; then … … 6297 5729 6298 5730 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 6299 { $as_echo "$as_me:$ LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&55731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 6300 5732 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 6301 5733 fi … … 6324 5756 6325 5757 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 6326 { $as_echo "$as_me:$ LINENO: checking sys/exec.h" >&55758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 6327 5759 $as_echo_n "checking sys/exec.h... " >&6; } 6328 if test "${tcl_cv_sysexec_h+set}" = set; then5760 if ${tcl_cv_sysexec_h+:} false; then : 6329 5761 $as_echo_n "(cached) " >&6 6330 5762 else 6331 5763 6332 cat >conftest.$ac_ext <<_ACEOF 6333 /* confdefs.h. */ 6334 _ACEOF 6335 cat confdefs.h >>conftest.$ac_ext 6336 cat >>conftest.$ac_ext <<_ACEOF 5764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6337 5765 /* end confdefs.h. */ 6338 5766 #include <sys/exec.h> … … 6356 5784 } 6357 5785 _ACEOF 6358 rm -f conftest.$ac_objext 6359 if { (ac_try="$ac_compile" 6360 case "(($ac_try" in 6361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6362 *) ac_try_echo=$ac_try;; 6363 esac 6364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6365 $as_echo "$ac_try_echo") >&5 6366 (eval "$ac_compile") 2>conftest.er1 6367 ac_status=$? 6368 grep -v '^ *+' conftest.er1 >conftest.err 6369 rm -f conftest.er1 6370 cat conftest.err >&5 6371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6372 (exit $ac_status); } && { 6373 test -z "$ac_c_werror_flag" || 6374 test ! -s conftest.err 6375 } && test -s conftest.$ac_objext; then 5786 if ac_fn_c_try_compile "$LINENO"; then : 6376 5787 tcl_cv_sysexec_h=usable 6377 5788 else 6378 $as_echo "$as_me: failed program was:" >&5 6379 sed 's/^/| /' conftest.$ac_ext >&5 6380 6381 tcl_cv_sysexec_h=unusable 6382 fi 6383 5789 tcl_cv_sysexec_h=unusable 5790 fi 6384 5791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6385 5792 fi 6386 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sysexec_h" >&55793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5 6387 5794 $as_echo "$tcl_cv_sysexec_h" >&6; } 6388 5795 if test $tcl_cv_sysexec_h = usable; then 6389 cat >>confdefs.h <<\_ACEOF 6390 #define USE_SYS_EXEC_H 1 6391 _ACEOF 5796 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 6392 5797 6393 5798 else 6394 { $as_echo "$as_me:$ LINENO: checking a.out.h" >&55799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 6395 5800 $as_echo_n "checking a.out.h... " >&6; } 6396 if test "${tcl_cv_aout_h+set}" = set; then5801 if ${tcl_cv_aout_h+:} false; then : 6397 5802 $as_echo_n "(cached) " >&6 6398 5803 else 6399 5804 6400 cat >conftest.$ac_ext <<_ACEOF 6401 /* confdefs.h. */ 6402 _ACEOF 6403 cat confdefs.h >>conftest.$ac_ext 6404 cat >>conftest.$ac_ext <<_ACEOF 5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6405 5806 /* end confdefs.h. */ 6406 5807 #include <a.out.h> … … 6424 5825 } 6425 5826 _ACEOF 6426 rm -f conftest.$ac_objext 6427 if { (ac_try="$ac_compile" 6428 case "(($ac_try" in 6429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6430 *) ac_try_echo=$ac_try;; 6431 esac 6432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6433 $as_echo "$ac_try_echo") >&5 6434 (eval "$ac_compile") 2>conftest.er1 6435 ac_status=$? 6436 grep -v '^ *+' conftest.er1 >conftest.err 6437 rm -f conftest.er1 6438 cat conftest.err >&5 6439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6440 (exit $ac_status); } && { 6441 test -z "$ac_c_werror_flag" || 6442 test ! -s conftest.err 6443 } && test -s conftest.$ac_objext; then 5827 if ac_fn_c_try_compile "$LINENO"; then : 6444 5828 tcl_cv_aout_h=usable 6445 5829 else 6446 $as_echo "$as_me: failed program was:" >&5 6447 sed 's/^/| /' conftest.$ac_ext >&5 6448 6449 tcl_cv_aout_h=unusable 6450 fi 6451 5830 tcl_cv_aout_h=unusable 5831 fi 6452 5832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6453 5833 fi 6454 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_aout_h" >&55834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5 6455 5835 $as_echo "$tcl_cv_aout_h" >&6; } 6456 5836 if test $tcl_cv_aout_h = usable; then 6457 cat >>confdefs.h <<\_ACEOF 6458 #define USE_A_OUT_H 1 6459 _ACEOF 5837 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 6460 5838 6461 5839 else 6462 { $as_echo "$as_me:$ LINENO: checking sys/exec_aout.h" >&55840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 6463 5841 $as_echo_n "checking sys/exec_aout.h... " >&6; } 6464 if test "${tcl_cv_sysexecaout_h+set}" = set; then5842 if ${tcl_cv_sysexecaout_h+:} false; then : 6465 5843 $as_echo_n "(cached) " >&6 6466 5844 else 6467 5845 6468 cat >conftest.$ac_ext <<_ACEOF 6469 /* confdefs.h. */ 6470 _ACEOF 6471 cat confdefs.h >>conftest.$ac_ext 6472 cat >>conftest.$ac_ext <<_ACEOF 5846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6473 5847 /* end confdefs.h. */ 6474 5848 #include <sys/exec_aout.h> … … 6492 5866 } 6493 5867 _ACEOF 6494 rm -f conftest.$ac_objext 6495 if { (ac_try="$ac_compile" 6496 case "(($ac_try" in 6497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6498 *) ac_try_echo=$ac_try;; 6499 esac 6500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6501 $as_echo "$ac_try_echo") >&5 6502 (eval "$ac_compile") 2>conftest.er1 6503 ac_status=$? 6504 grep -v '^ *+' conftest.er1 >conftest.err 6505 rm -f conftest.er1 6506 cat conftest.err >&5 6507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6508 (exit $ac_status); } && { 6509 test -z "$ac_c_werror_flag" || 6510 test ! -s conftest.err 6511 } && test -s conftest.$ac_objext; then 5868 if ac_fn_c_try_compile "$LINENO"; then : 6512 5869 tcl_cv_sysexecaout_h=usable 6513 5870 else 6514 $as_echo "$as_me: failed program was:" >&5 6515 sed 's/^/| /' conftest.$ac_ext >&5 6516 6517 tcl_cv_sysexecaout_h=unusable 6518 fi 6519 5871 tcl_cv_sysexecaout_h=unusable 5872 fi 6520 5873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6521 5874 fi 6522 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sysexecaout_h" >&55875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5 6523 5876 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 6524 5877 if test $tcl_cv_sysexecaout_h = usable; then 6525 cat >>confdefs.h <<\_ACEOF 6526 #define USE_SYS_EXEC_AOUT_H 1 6527 _ACEOF 5878 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 6528 5879 6529 5880 else … … 6537 5888 6538 5889 # Check whether --enable-load was given. 6539 if test "${enable_load+set}" = set; then 5890 if test "${enable_load+set}" = set; then : 6540 5891 enableval=$enable_load; tcl_ok=$enableval 6541 5892 else … … 6660 6011 6661 6012 6662 { $as_echo "$as_me:$ LINENO: checking for X" >&56013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 6663 6014 $as_echo_n "checking for X... " >&6; } 6664 6015 6665 6016 6666 6017 # Check whether --with-x was given. 6667 if test "${with_x+set}" = set; then 6018 if test "${with_x+set}" = set; then : 6668 6019 withval=$with_x; 6669 6020 fi … … 6675 6026 else 6676 6027 case $x_includes,$x_libraries in #( 6677 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5 6678 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;} 6679 { (exit 1); exit 1; }; };; #( 6680 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 6028 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 6029 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 6681 6030 $as_echo_n "(cached) " >&6 6682 6031 else … … 6695 6044 _ACEOF 6696 6045 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 6697 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.6046 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 6698 6047 for ac_var in incroot usrlibdir libdir; do 6699 6048 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" … … 6726 6075 ac_x_header_dirs=' 6727 6076 /usr/X11/include 6077 /usr/X11R7/include 6728 6078 /usr/X11R6/include 6729 6079 /usr/X11R5/include … … 6731 6081 6732 6082 /usr/include/X11 6083 /usr/include/X11R7 6733 6084 /usr/include/X11R6 6734 6085 /usr/include/X11R5 … … 6736 6087 6737 6088 /usr/local/X11/include 6089 /usr/local/X11R7/include 6738 6090 /usr/local/X11R6/include 6739 6091 /usr/local/X11R5/include … … 6741 6093 6742 6094 /usr/local/include/X11 6095 /usr/local/include/X11R7 6743 6096 /usr/local/include/X11R6 6744 6097 /usr/local/include/X11R5 … … 6762 6115 # Guess where to find include files, by looking for Xlib.h. 6763 6116 # First, try using that file with no special directory specified. 6764 cat >conftest.$ac_ext <<_ACEOF 6765 /* confdefs.h. */ 6766 _ACEOF 6767 cat confdefs.h >>conftest.$ac_ext 6768 cat >>conftest.$ac_ext <<_ACEOF 6117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6769 6118 /* end confdefs.h. */ 6770 6119 #include <X11/Xlib.h> 6771 6120 _ACEOF 6772 if { (ac_try="$ac_cpp conftest.$ac_ext" 6773 case "(($ac_try" in 6774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6775 *) ac_try_echo=$ac_try;; 6776 esac 6777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6778 $as_echo "$ac_try_echo") >&5 6779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6780 ac_status=$? 6781 grep -v '^ *+' conftest.er1 >conftest.err 6782 rm -f conftest.er1 6783 cat conftest.err >&5 6784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6785 (exit $ac_status); } >/dev/null && { 6786 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6787 test ! -s conftest.err 6788 }; then 6121 if ac_fn_c_try_cpp "$LINENO"; then : 6789 6122 # We can compile using X headers with no special include directory. 6790 6123 ac_x_includes= 6791 6124 else 6792 $as_echo "$as_me: failed program was:" >&56793 sed 's/^/| /' conftest.$ac_ext >&56794 6795 6125 for ac_dir in $ac_x_header_dirs; do 6796 6126 if test -r "$ac_dir/X11/Xlib.h"; then … … 6800 6130 done 6801 6131 fi 6802 6803 rm -f conftest.err conftest.$ac_ext 6132 rm -f conftest.err conftest.i conftest.$ac_ext 6804 6133 fi # $ac_x_includes = no 6805 6134 … … 6810 6139 ac_save_LIBS=$LIBS 6811 6140 LIBS="-lX11 $LIBS" 6812 cat >conftest.$ac_ext <<_ACEOF 6813 /* confdefs.h. */ 6814 _ACEOF 6815 cat confdefs.h >>conftest.$ac_ext 6816 cat >>conftest.$ac_ext <<_ACEOF 6141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6817 6142 /* end confdefs.h. */ 6818 6143 #include <X11/Xlib.h> … … 6825 6150 } 6826 6151 _ACEOF 6827 rm -f conftest.$ac_objext conftest$ac_exeext 6828 if { (ac_try="$ac_link" 6829 case "(($ac_try" in 6830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6831 *) ac_try_echo=$ac_try;; 6832 esac 6833 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6834 $as_echo "$ac_try_echo") >&5 6835 (eval "$ac_link") 2>conftest.er1 6836 ac_status=$? 6837 grep -v '^ *+' conftest.er1 >conftest.err 6838 rm -f conftest.er1 6839 cat conftest.err >&5 6840 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6841 (exit $ac_status); } && { 6842 test -z "$ac_c_werror_flag" || 6843 test ! -s conftest.err 6844 } && test -s conftest$ac_exeext && { 6845 test "$cross_compiling" = yes || 6846 $as_test_x conftest$ac_exeext 6847 }; then 6152 if ac_fn_c_try_link "$LINENO"; then : 6848 6153 LIBS=$ac_save_LIBS 6849 6154 # We can link X programs with no special library path. 6850 6155 ac_x_libraries= 6851 6156 else 6852 $as_echo "$as_me: failed program was:" >&5 6853 sed 's/^/| /' conftest.$ac_ext >&5 6854 6855 LIBS=$ac_save_LIBS 6157 LIBS=$ac_save_LIBS 6856 6158 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 6857 6159 do … … 6865 6167 done 6866 6168 fi 6867 6868 rm -rf conftest.dSYM 6869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6870 conftest$ac_exeext conftest.$ac_ext 6169 rm -f core conftest.err conftest.$ac_objext \ 6170 conftest$ac_exeext conftest.$ac_ext 6871 6171 fi # $ac_x_libraries = no 6872 6172 … … 6889 6189 6890 6190 if test "$have_x" != yes; then 6891 { $as_echo "$as_me:$ LINENO: result: $have_x" >&56191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 6892 6192 $as_echo "$have_x" >&6; } 6893 6193 no_x=yes … … 6900 6200 ac_x_includes='$x_includes'\ 6901 6201 ac_x_libraries='$x_libraries'" 6902 { $as_echo "$as_me:$ LINENO: result: libraries $x_libraries, headers $x_includes" >&56202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 6903 6203 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } 6904 6204 fi … … 6919 6219 # ./install, which can be erroneously created by make from ./install.sh. 6920 6220 # Reject install programs that cannot install multiple files. 6921 { $as_echo "$as_me:$ LINENO: checking for a BSD-compatible install" >&56221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 6922 6222 $as_echo_n "checking for a BSD-compatible install... " >&6; } 6923 6223 if test -z "$INSTALL"; then 6924 if test "${ac_cv_path_install+set}" = set; then6224 if ${ac_cv_path_install+:} false; then : 6925 6225 $as_echo_n "(cached) " >&6 6926 6226 else … … 6930 6230 IFS=$as_save_IFS 6931 6231 test -z "$as_dir" && as_dir=. 6932 # Account for people who put trailing slashes in PATH elements.6933 case $as_dir/ in 6934 ./ | .// | / cC/* | \6232 # Account for people who put trailing slashes in PATH elements. 6233 case $as_dir/ in #(( 6234 ./ | .// | /[cC]/* | \ 6935 6235 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6936 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \6236 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 6937 6237 /usr/ucb/* ) ;; 6938 6238 *) … … 6942 6242 for ac_prog in ginstall scoinst install; do 6943 6243 for ac_exec_ext in '' $ac_executable_extensions; do 6944 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then6244 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 6945 6245 if test $ac_prog = install && 6946 6246 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 6971 6271 esac 6972 6272 6973 done6273 done 6974 6274 IFS=$as_save_IFS 6975 6275 … … 6987 6287 fi 6988 6288 fi 6989 { $as_echo "$as_me:$ LINENO: result: $INSTALL" >&56289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 6990 6290 $as_echo "$INSTALL" >&6; } 6991 6291 … … 7001 6301 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7002 6302 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7003 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7004 6304 $as_echo_n "checking for $ac_word... " >&6; } 7005 if test "${ac_cv_prog_RANLIB+set}" = set; then6305 if ${ac_cv_prog_RANLIB+:} false; then : 7006 6306 $as_echo_n "(cached) " >&6 7007 6307 else … … 7014 6314 IFS=$as_save_IFS 7015 6315 test -z "$as_dir" && as_dir=. 7016 for ac_exec_ext in '' $ac_executable_extensions; do7017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6316 for ac_exec_ext in '' $ac_executable_extensions; do 6317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7018 6318 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7019 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7020 6320 break 2 7021 6321 fi 7022 6322 done 7023 done6323 done 7024 6324 IFS=$as_save_IFS 7025 6325 … … 7028 6328 RANLIB=$ac_cv_prog_RANLIB 7029 6329 if test -n "$RANLIB"; then 7030 { $as_echo "$as_me:$ LINENO: result: $RANLIB" >&56330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7031 6331 $as_echo "$RANLIB" >&6; } 7032 6332 else 7033 { $as_echo "$as_me:$ LINENO: result: no" >&56333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7034 6334 $as_echo "no" >&6; } 7035 6335 fi … … 7041 6341 # Extract the first word of "ranlib", so it can be a program name with args. 7042 6342 set dummy ranlib; ac_word=$2 7043 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7044 6344 $as_echo_n "checking for $ac_word... " >&6; } 7045 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then6345 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7046 6346 $as_echo_n "(cached) " >&6 7047 6347 else … … 7054 6354 IFS=$as_save_IFS 7055 6355 test -z "$as_dir" && as_dir=. 7056 for ac_exec_ext in '' $ac_executable_extensions; do7057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6356 for ac_exec_ext in '' $ac_executable_extensions; do 6357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7058 6358 ac_cv_prog_ac_ct_RANLIB="ranlib" 7059 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7060 6360 break 2 7061 6361 fi 7062 6362 done 7063 done6363 done 7064 6364 IFS=$as_save_IFS 7065 6365 … … 7068 6368 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7069 6369 if test -n "$ac_ct_RANLIB"; then 7070 { $as_echo "$as_me:$ LINENO: result: $ac_ct_RANLIB" >&56370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7071 6371 $as_echo "$ac_ct_RANLIB" >&6; } 7072 6372 else 7073 { $as_echo "$as_me:$ LINENO: result: no" >&56373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7074 6374 $as_echo "no" >&6; } 7075 6375 fi … … 7080 6380 case $cross_compiling:$ac_tool_warned in 7081 6381 yes:) 7082 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&56382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7083 6383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7084 6384 ac_tool_warned=yes ;; … … 7090 6390 fi 7091 6391 7092 { $as_echo "$as_me:$ LINENO: checking whether ln -s works" >&56392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 7093 6393 $as_echo_n "checking whether ln -s works... " >&6; } 7094 6394 LN_S=$as_ln_s 7095 6395 if test "$LN_S" = "ln -s"; then 7096 { $as_echo "$as_me:$ LINENO: result: yes" >&56396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7097 6397 $as_echo "yes" >&6; } 7098 6398 else 7099 { $as_echo "$as_me:$ LINENO: result: no, using $LN_S" >&56399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 7100 6400 $as_echo "no, using $LN_S" >&6; } 7101 6401 fi 7102 6402 7103 { $as_echo "$as_me:$ LINENO: checking for a thread-safe mkdir -p" >&56403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 7104 6404 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 7105 6405 if test -z "$MKDIR_P"; then 7106 if test "${ac_cv_path_mkdir+set}" = set; then6406 if ${ac_cv_path_mkdir+:} false; then : 7107 6407 $as_echo_n "(cached) " >&6 7108 6408 else … … 7112 6412 IFS=$as_save_IFS 7113 6413 test -z "$as_dir" && as_dir=. 7114 for ac_prog in mkdir gmkdir; do6414 for ac_prog in mkdir gmkdir; do 7115 6415 for ac_exec_ext in '' $ac_executable_extensions; do 7116 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }|| continue6416 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 7117 6417 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 7118 6418 'mkdir (GNU coreutils) '* | \ … … 7124 6424 done 7125 6425 done 7126 done6426 done 7127 6427 IFS=$as_save_IFS 7128 6428 7129 6429 fi 7130 6430 6431 test -d ./--version && rmdir ./--version 7131 6432 if test "${ac_cv_path_mkdir+set}" = set; then 7132 6433 MKDIR_P="$ac_cv_path_mkdir -p" … … 7136 6437 # break other packages using the cache if that directory is 7137 6438 # removed, or if the value is a relative name. 7138 test -d ./--version && rmdir ./--version7139 6439 MKDIR_P="$ac_install_sh -d" 7140 6440 fi 7141 6441 fi 7142 { $as_echo "$as_me:$ LINENO: result: $MKDIR_P" >&56442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 7143 6443 $as_echo "$MKDIR_P" >&6; } 7144 6444 … … 7152 6452 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 7153 6453 set dummy ${ac_tool_prefix}gcc; ac_word=$2 7154 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7155 6455 $as_echo_n "checking for $ac_word... " >&6; } 7156 if test "${ac_cv_prog_CC+set}" = set; then6456 if ${ac_cv_prog_CC+:} false; then : 7157 6457 $as_echo_n "(cached) " >&6 7158 6458 else … … 7165 6465 IFS=$as_save_IFS 7166 6466 test -z "$as_dir" && as_dir=. 7167 for ac_exec_ext in '' $ac_executable_extensions; do7168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6467 for ac_exec_ext in '' $ac_executable_extensions; do 6468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7169 6469 ac_cv_prog_CC="${ac_tool_prefix}gcc" 7170 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7171 6471 break 2 7172 6472 fi 7173 6473 done 7174 done6474 done 7175 6475 IFS=$as_save_IFS 7176 6476 … … 7179 6479 CC=$ac_cv_prog_CC 7180 6480 if test -n "$CC"; then 7181 { $as_echo "$as_me:$ LINENO: result: $CC" >&56481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7182 6482 $as_echo "$CC" >&6; } 7183 6483 else 7184 { $as_echo "$as_me:$ LINENO: result: no" >&56484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7185 6485 $as_echo "no" >&6; } 7186 6486 fi … … 7192 6492 # Extract the first word of "gcc", so it can be a program name with args. 7193 6493 set dummy gcc; ac_word=$2 7194 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7195 6495 $as_echo_n "checking for $ac_word... " >&6; } 7196 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then6496 if ${ac_cv_prog_ac_ct_CC+:} false; then : 7197 6497 $as_echo_n "(cached) " >&6 7198 6498 else … … 7205 6505 IFS=$as_save_IFS 7206 6506 test -z "$as_dir" && as_dir=. 7207 for ac_exec_ext in '' $ac_executable_extensions; do7208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6507 for ac_exec_ext in '' $ac_executable_extensions; do 6508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7209 6509 ac_cv_prog_ac_ct_CC="gcc" 7210 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7211 6511 break 2 7212 6512 fi 7213 6513 done 7214 done6514 done 7215 6515 IFS=$as_save_IFS 7216 6516 … … 7219 6519 ac_ct_CC=$ac_cv_prog_ac_ct_CC 7220 6520 if test -n "$ac_ct_CC"; then 7221 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&56521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 7222 6522 $as_echo "$ac_ct_CC" >&6; } 7223 6523 else 7224 { $as_echo "$as_me:$ LINENO: result: no" >&56524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7225 6525 $as_echo "no" >&6; } 7226 6526 fi … … 7231 6531 case $cross_compiling:$ac_tool_warned in 7232 6532 yes:) 7233 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&56533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7234 6534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7235 6535 ac_tool_warned=yes ;; … … 7245 6545 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 7246 6546 set dummy ${ac_tool_prefix}cc; ac_word=$2 7247 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7248 6548 $as_echo_n "checking for $ac_word... " >&6; } 7249 if test "${ac_cv_prog_CC+set}" = set; then6549 if ${ac_cv_prog_CC+:} false; then : 7250 6550 $as_echo_n "(cached) " >&6 7251 6551 else … … 7258 6558 IFS=$as_save_IFS 7259 6559 test -z "$as_dir" && as_dir=. 7260 for ac_exec_ext in '' $ac_executable_extensions; do7261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6560 for ac_exec_ext in '' $ac_executable_extensions; do 6561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7262 6562 ac_cv_prog_CC="${ac_tool_prefix}cc" 7263 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7264 6564 break 2 7265 6565 fi 7266 6566 done 7267 done6567 done 7268 6568 IFS=$as_save_IFS 7269 6569 … … 7272 6572 CC=$ac_cv_prog_CC 7273 6573 if test -n "$CC"; then 7274 { $as_echo "$as_me:$ LINENO: result: $CC" >&56574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7275 6575 $as_echo "$CC" >&6; } 7276 6576 else 7277 { $as_echo "$as_me:$ LINENO: result: no" >&56577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7278 6578 $as_echo "no" >&6; } 7279 6579 fi … … 7285 6585 # Extract the first word of "cc", so it can be a program name with args. 7286 6586 set dummy cc; ac_word=$2 7287 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7288 6588 $as_echo_n "checking for $ac_word... " >&6; } 7289 if test "${ac_cv_prog_CC+set}" = set; then6589 if ${ac_cv_prog_CC+:} false; then : 7290 6590 $as_echo_n "(cached) " >&6 7291 6591 else … … 7299 6599 IFS=$as_save_IFS 7300 6600 test -z "$as_dir" && as_dir=. 7301 for ac_exec_ext in '' $ac_executable_extensions; do7302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6601 for ac_exec_ext in '' $ac_executable_extensions; do 6602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7303 6603 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 7304 6604 ac_prog_rejected=yes … … 7306 6606 fi 7307 6607 ac_cv_prog_CC="cc" 7308 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7309 6609 break 2 7310 6610 fi 7311 6611 done 7312 done6612 done 7313 6613 IFS=$as_save_IFS 7314 6614 … … 7329 6629 CC=$ac_cv_prog_CC 7330 6630 if test -n "$CC"; then 7331 { $as_echo "$as_me:$ LINENO: result: $CC" >&56631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7332 6632 $as_echo "$CC" >&6; } 7333 6633 else 7334 { $as_echo "$as_me:$ LINENO: result: no" >&56634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7335 6635 $as_echo "no" >&6; } 7336 6636 fi … … 7344 6644 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7345 6645 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7346 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7347 6647 $as_echo_n "checking for $ac_word... " >&6; } 7348 if test "${ac_cv_prog_CC+set}" = set; then6648 if ${ac_cv_prog_CC+:} false; then : 7349 6649 $as_echo_n "(cached) " >&6 7350 6650 else … … 7357 6657 IFS=$as_save_IFS 7358 6658 test -z "$as_dir" && as_dir=. 7359 for ac_exec_ext in '' $ac_executable_extensions; do7360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6659 for ac_exec_ext in '' $ac_executable_extensions; do 6660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7361 6661 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 7362 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7363 6663 break 2 7364 6664 fi 7365 6665 done 7366 done6666 done 7367 6667 IFS=$as_save_IFS 7368 6668 … … 7371 6671 CC=$ac_cv_prog_CC 7372 6672 if test -n "$CC"; then 7373 { $as_echo "$as_me:$ LINENO: result: $CC" >&56673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7374 6674 $as_echo "$CC" >&6; } 7375 6675 else 7376 { $as_echo "$as_me:$ LINENO: result: no" >&56676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7377 6677 $as_echo "no" >&6; } 7378 6678 fi … … 7388 6688 # Extract the first word of "$ac_prog", so it can be a program name with args. 7389 6689 set dummy $ac_prog; ac_word=$2 7390 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7391 6691 $as_echo_n "checking for $ac_word... " >&6; } 7392 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then6692 if ${ac_cv_prog_ac_ct_CC+:} false; then : 7393 6693 $as_echo_n "(cached) " >&6 7394 6694 else … … 7401 6701 IFS=$as_save_IFS 7402 6702 test -z "$as_dir" && as_dir=. 7403 for ac_exec_ext in '' $ac_executable_extensions; do7404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6703 for ac_exec_ext in '' $ac_executable_extensions; do 6704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7405 6705 ac_cv_prog_ac_ct_CC="$ac_prog" 7406 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7407 6707 break 2 7408 6708 fi 7409 6709 done 7410 done6710 done 7411 6711 IFS=$as_save_IFS 7412 6712 … … 7415 6715 ac_ct_CC=$ac_cv_prog_ac_ct_CC 7416 6716 if test -n "$ac_ct_CC"; then 7417 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&56717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 7418 6718 $as_echo "$ac_ct_CC" >&6; } 7419 6719 else 7420 { $as_echo "$as_me:$ LINENO: result: no" >&56720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7421 6721 $as_echo "no" >&6; } 7422 6722 fi … … 7431 6731 case $cross_compiling:$ac_tool_warned in 7432 6732 yes:) 7433 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&56733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7434 6734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7435 6735 ac_tool_warned=yes ;; … … 7442 6742 7443 6743 7444 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&56744 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7445 6745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7446 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 7447 See \`config.log' for more details." >&5 7448 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 7449 See \`config.log' for more details." >&2;} 7450 { (exit 1); exit 1; }; }; } 6746 as_fn_error $? "no acceptable C compiler found in \$PATH 6747 See \`config.log' for more details" "$LINENO" 5; } 7451 6748 7452 6749 # Provide some information about the compiler. 7453 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&56750 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 7454 6751 set X $ac_compile 7455 6752 ac_compiler=$2 7456 { (ac_try="$ac_compiler --version >&5" 6753 for ac_option in --version -v -V -qversion; do 6754 { { ac_try="$ac_compiler $ac_option >&5" 7457 6755 case "(($ac_try" in 7458 6756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7459 6757 *) ac_try_echo=$ac_try;; 7460 6758 esac 7461 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""7462 $as_echo "$ac_try_echo" )>&57463 (eval "$ac_compiler --version >&5") 2>&56759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 6760 $as_echo "$ac_try_echo"; } >&5 6761 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 7464 6762 ac_status=$? 7465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7466 (exit $ac_status); } 7467 { (ac_try="$ac_compiler -v >&5" 7468 case "(($ac_try" in 7469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7470 *) ac_try_echo=$ac_try;; 7471 esac 7472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7473 $as_echo "$ac_try_echo") >&5 7474 (eval "$ac_compiler -v >&5") 2>&5 7475 ac_status=$? 7476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7477 (exit $ac_status); } 7478 { (ac_try="$ac_compiler -V >&5" 7479 case "(($ac_try" in 7480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7481 *) ac_try_echo=$ac_try;; 7482 esac 7483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7484 $as_echo "$ac_try_echo") >&5 7485 (eval "$ac_compiler -V >&5") 2>&5 7486 ac_status=$? 7487 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7488 (exit $ac_status); } 7489 7490 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 6763 if test -s conftest.err; then 6764 sed '10a\ 6765 ... rest of stderr output deleted ... 6766 10q' conftest.err >conftest.er1 6767 cat conftest.er1 >&5 6768 fi 6769 rm -f conftest.er1 conftest.err 6770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6771 test $ac_status = 0; } 6772 done 6773 6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 7491 6775 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 7492 if test "${ac_cv_c_compiler_gnu+set}" = set; then6776 if ${ac_cv_c_compiler_gnu+:} false; then : 7493 6777 $as_echo_n "(cached) " >&6 7494 6778 else 7495 cat >conftest.$ac_ext <<_ACEOF 7496 /* confdefs.h. */ 7497 _ACEOF 7498 cat confdefs.h >>conftest.$ac_ext 7499 cat >>conftest.$ac_ext <<_ACEOF 6779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7500 6780 /* end confdefs.h. */ 7501 6781 … … 7511 6791 } 7512 6792 _ACEOF 7513 rm -f conftest.$ac_objext 7514 if { (ac_try="$ac_compile" 7515 case "(($ac_try" in 7516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7517 *) ac_try_echo=$ac_try;; 7518 esac 7519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7520 $as_echo "$ac_try_echo") >&5 7521 (eval "$ac_compile") 2>conftest.er1 7522 ac_status=$? 7523 grep -v '^ *+' conftest.er1 >conftest.err 7524 rm -f conftest.er1 7525 cat conftest.err >&5 7526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7527 (exit $ac_status); } && { 7528 test -z "$ac_c_werror_flag" || 7529 test ! -s conftest.err 7530 } && test -s conftest.$ac_objext; then 6793 if ac_fn_c_try_compile "$LINENO"; then : 7531 6794 ac_compiler_gnu=yes 7532 6795 else 7533 $as_echo "$as_me: failed program was:" >&5 7534 sed 's/^/| /' conftest.$ac_ext >&5 7535 7536 ac_compiler_gnu=no 7537 fi 7538 6796 ac_compiler_gnu=no 6797 fi 7539 6798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7540 6799 ac_cv_c_compiler_gnu=$ac_compiler_gnu 7541 6800 7542 6801 fi 7543 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&56802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 7544 6803 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 7545 6804 if test $ac_compiler_gnu = yes; then … … 7550 6809 ac_test_CFLAGS=${CFLAGS+set} 7551 6810 ac_save_CFLAGS=$CFLAGS 7552 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&56811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 7553 6812 $as_echo_n "checking whether $CC accepts -g... " >&6; } 7554 if test "${ac_cv_prog_cc_g+set}" = set; then6813 if ${ac_cv_prog_cc_g+:} false; then : 7555 6814 $as_echo_n "(cached) " >&6 7556 6815 else … … 7559 6818 ac_cv_prog_cc_g=no 7560 6819 CFLAGS="-g" 7561 cat >conftest.$ac_ext <<_ACEOF 7562 /* confdefs.h. */ 7563 _ACEOF 7564 cat confdefs.h >>conftest.$ac_ext 7565 cat >>conftest.$ac_ext <<_ACEOF 6820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7566 6821 /* end confdefs.h. */ 7567 6822 … … 7574 6829 } 7575 6830 _ACEOF 7576 rm -f conftest.$ac_objext 7577 if { (ac_try="$ac_compile" 7578 case "(($ac_try" in 7579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7580 *) ac_try_echo=$ac_try;; 7581 esac 7582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7583 $as_echo "$ac_try_echo") >&5 7584 (eval "$ac_compile") 2>conftest.er1 7585 ac_status=$? 7586 grep -v '^ *+' conftest.er1 >conftest.err 7587 rm -f conftest.er1 7588 cat conftest.err >&5 7589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7590 (exit $ac_status); } && { 7591 test -z "$ac_c_werror_flag" || 7592 test ! -s conftest.err 7593 } && test -s conftest.$ac_objext; then 6831 if ac_fn_c_try_compile "$LINENO"; then : 7594 6832 ac_cv_prog_cc_g=yes 7595 6833 else 7596 $as_echo "$as_me: failed program was:" >&5 7597 sed 's/^/| /' conftest.$ac_ext >&5 7598 7599 CFLAGS="" 7600 cat >conftest.$ac_ext <<_ACEOF 7601 /* confdefs.h. */ 7602 _ACEOF 7603 cat confdefs.h >>conftest.$ac_ext 7604 cat >>conftest.$ac_ext <<_ACEOF 6834 CFLAGS="" 6835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7605 6836 /* end confdefs.h. */ 7606 6837 … … 7613 6844 } 7614 6845 _ACEOF 7615 rm -f conftest.$ac_objext 7616 if { (ac_try="$ac_compile" 7617 case "(($ac_try" in 7618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7619 *) ac_try_echo=$ac_try;; 7620 esac 7621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7622 $as_echo "$ac_try_echo") >&5 7623 (eval "$ac_compile") 2>conftest.er1 7624 ac_status=$? 7625 grep -v '^ *+' conftest.er1 >conftest.err 7626 rm -f conftest.er1 7627 cat conftest.err >&5 7628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7629 (exit $ac_status); } && { 7630 test -z "$ac_c_werror_flag" || 7631 test ! -s conftest.err 7632 } && test -s conftest.$ac_objext; then 7633 : 7634 else 7635 $as_echo "$as_me: failed program was:" >&5 7636 sed 's/^/| /' conftest.$ac_ext >&5 7637 7638 ac_c_werror_flag=$ac_save_c_werror_flag 6846 if ac_fn_c_try_compile "$LINENO"; then : 6847 6848 else 6849 ac_c_werror_flag=$ac_save_c_werror_flag 7639 6850 CFLAGS="-g" 7640 cat >conftest.$ac_ext <<_ACEOF 7641 /* confdefs.h. */ 7642 _ACEOF 7643 cat confdefs.h >>conftest.$ac_ext 7644 cat >>conftest.$ac_ext <<_ACEOF 6851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7645 6852 /* end confdefs.h. */ 7646 6853 … … 7653 6860 } 7654 6861 _ACEOF 7655 rm -f conftest.$ac_objext 7656 if { (ac_try="$ac_compile" 7657 case "(($ac_try" in 7658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7659 *) ac_try_echo=$ac_try;; 7660 esac 7661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7662 $as_echo "$ac_try_echo") >&5 7663 (eval "$ac_compile") 2>conftest.er1 7664 ac_status=$? 7665 grep -v '^ *+' conftest.er1 >conftest.err 7666 rm -f conftest.er1 7667 cat conftest.err >&5 7668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7669 (exit $ac_status); } && { 7670 test -z "$ac_c_werror_flag" || 7671 test ! -s conftest.err 7672 } && test -s conftest.$ac_objext; then 6862 if ac_fn_c_try_compile "$LINENO"; then : 7673 6863 ac_cv_prog_cc_g=yes 7674 else 7675 $as_echo "$as_me: failed program was:" >&5 7676 sed 's/^/| /' conftest.$ac_ext >&5 7677 7678 7679 fi 7680 6864 fi 7681 6865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7682 6866 fi 7683 7684 6867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7685 6868 fi 7686 7687 6869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7688 6870 ac_c_werror_flag=$ac_save_c_werror_flag 7689 6871 fi 7690 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&56872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 7691 6873 $as_echo "$ac_cv_prog_cc_g" >&6; } 7692 6874 if test "$ac_test_CFLAGS" = set; then … … 7705 6887 fi 7706 6888 fi 7707 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&56889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 7708 6890 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 7709 if test "${ac_cv_prog_cc_c89+set}" = set; then6891 if ${ac_cv_prog_cc_c89+:} false; then : 7710 6892 $as_echo_n "(cached) " >&6 7711 6893 else 7712 6894 ac_cv_prog_cc_c89=no 7713 6895 ac_save_CC=$CC 7714 cat >conftest.$ac_ext <<_ACEOF 7715 /* confdefs.h. */ 7716 _ACEOF 7717 cat confdefs.h >>conftest.$ac_ext 7718 cat >>conftest.$ac_ext <<_ACEOF 6896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7719 6897 /* end confdefs.h. */ 7720 6898 #include <stdarg.h> 7721 6899 #include <stdio.h> 7722 #include <sys/types.h> 7723 #include <sys/stat.h> 6900 struct stat; 7724 6901 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 7725 6902 struct buf { int x; }; … … 7773 6950 do 7774 6951 CC="$ac_save_CC $ac_arg" 7775 rm -f conftest.$ac_objext 7776 if { (ac_try="$ac_compile" 7777 case "(($ac_try" in 7778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7779 *) ac_try_echo=$ac_try;; 7780 esac 7781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7782 $as_echo "$ac_try_echo") >&5 7783 (eval "$ac_compile") 2>conftest.er1 7784 ac_status=$? 7785 grep -v '^ *+' conftest.er1 >conftest.err 7786 rm -f conftest.er1 7787 cat conftest.err >&5 7788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7789 (exit $ac_status); } && { 7790 test -z "$ac_c_werror_flag" || 7791 test ! -s conftest.err 7792 } && test -s conftest.$ac_objext; then 6952 if ac_fn_c_try_compile "$LINENO"; then : 7793 6953 ac_cv_prog_cc_c89=$ac_arg 7794 else 7795 $as_echo "$as_me: failed program was:" >&5 7796 sed 's/^/| /' conftest.$ac_ext >&5 7797 7798 7799 fi 7800 6954 fi 7801 6955 rm -f core conftest.err conftest.$ac_objext 7802 6956 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 7809 6963 case "x$ac_cv_prog_cc_c89" in 7810 6964 x) 7811 { $as_echo "$as_me:$ LINENO: result: none needed" >&56965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 7812 6966 $as_echo "none needed" >&6; } ;; 7813 6967 xno) 7814 { $as_echo "$as_me:$ LINENO: result: unsupported" >&56968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 7815 6969 $as_echo "unsupported" >&6; } ;; 7816 6970 *) 7817 6971 CC="$CC $ac_cv_prog_cc_c89" 7818 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&56972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 7819 6973 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 7820 6974 esac 7821 6975 if test "x$ac_cv_prog_cc_c89" != xno; then : 6976 6977 fi 7822 6978 7823 6979 ac_ext=c … … 7832 6988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7833 6989 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7834 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&56990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7835 6991 $as_echo_n "checking how to run the C preprocessor... " >&6; } 7836 6992 # On Suns, sometimes $CPP names a directory. … … 7839 6995 fi 7840 6996 if test -z "$CPP"; then 7841 if test "${ac_cv_prog_CPP+set}" = set; then6997 if ${ac_cv_prog_CPP+:} false; then : 7842 6998 $as_echo_n "(cached) " >&6 7843 6999 else … … 7854 7010 # On the NeXT, cc -E runs the code through the compiler's parser, 7855 7011 # not just through cpp. "Syntax error" is here to catch this case. 7856 cat >conftest.$ac_ext <<_ACEOF 7857 /* confdefs.h. */ 7858 _ACEOF 7859 cat confdefs.h >>conftest.$ac_ext 7860 cat >>conftest.$ac_ext <<_ACEOF 7012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7861 7013 /* end confdefs.h. */ 7862 7014 #ifdef __STDC__ … … 7867 7019 Syntax error 7868 7020 _ACEOF 7869 if { (ac_try="$ac_cpp conftest.$ac_ext" 7870 case "(($ac_try" in 7871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7872 *) ac_try_echo=$ac_try;; 7873 esac 7874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7875 $as_echo "$ac_try_echo") >&5 7876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7877 ac_status=$? 7878 grep -v '^ *+' conftest.er1 >conftest.err 7879 rm -f conftest.er1 7880 cat conftest.err >&5 7881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7882 (exit $ac_status); } >/dev/null && { 7883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7884 test ! -s conftest.err 7885 }; then 7886 : 7887 else 7888 $as_echo "$as_me: failed program was:" >&5 7889 sed 's/^/| /' conftest.$ac_ext >&5 7890 7021 if ac_fn_c_try_cpp "$LINENO"; then : 7022 7023 else 7891 7024 # Broken: fails on valid input. 7892 7025 continue 7893 7026 fi 7894 7895 rm -f conftest.err conftest.$ac_ext 7027 rm -f conftest.err conftest.i conftest.$ac_ext 7896 7028 7897 7029 # OK, works on sane cases. Now check whether nonexistent headers 7898 7030 # can be detected and how. 7899 cat >conftest.$ac_ext <<_ACEOF 7900 /* confdefs.h. */ 7901 _ACEOF 7902 cat confdefs.h >>conftest.$ac_ext 7903 cat >>conftest.$ac_ext <<_ACEOF 7031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7904 7032 /* end confdefs.h. */ 7905 7033 #include <ac_nonexistent.h> 7906 7034 _ACEOF 7907 if { (ac_try="$ac_cpp conftest.$ac_ext" 7908 case "(($ac_try" in 7909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7910 *) ac_try_echo=$ac_try;; 7911 esac 7912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7913 $as_echo "$ac_try_echo") >&5 7914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7915 ac_status=$? 7916 grep -v '^ *+' conftest.er1 >conftest.err 7917 rm -f conftest.er1 7918 cat conftest.err >&5 7919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7920 (exit $ac_status); } >/dev/null && { 7921 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7922 test ! -s conftest.err 7923 }; then 7035 if ac_fn_c_try_cpp "$LINENO"; then : 7924 7036 # Broken: success on invalid input. 7925 7037 continue 7926 7038 else 7927 $as_echo "$as_me: failed program was:" >&57928 sed 's/^/| /' conftest.$ac_ext >&57929 7930 7039 # Passes both tests. 7931 7040 ac_preproc_ok=: 7932 7041 break 7933 7042 fi 7934 7935 rm -f conftest.err conftest.$ac_ext 7043 rm -f conftest.err conftest.i conftest.$ac_ext 7936 7044 7937 7045 done 7938 7046 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7939 rm -f conftest. err conftest.$ac_ext7940 if $ac_preproc_ok; then 7047 rm -f conftest.i conftest.err conftest.$ac_ext 7048 if $ac_preproc_ok; then : 7941 7049 break 7942 7050 fi … … 7950 7058 ac_cv_prog_CPP=$CPP 7951 7059 fi 7952 { $as_echo "$as_me:$ LINENO: result: $CPP" >&57060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7953 7061 $as_echo "$CPP" >&6; } 7954 7062 ac_preproc_ok=false … … 7961 7069 # On the NeXT, cc -E runs the code through the compiler's parser, 7962 7070 # not just through cpp. "Syntax error" is here to catch this case. 7963 cat >conftest.$ac_ext <<_ACEOF 7964 /* confdefs.h. */ 7965 _ACEOF 7966 cat confdefs.h >>conftest.$ac_ext 7967 cat >>conftest.$ac_ext <<_ACEOF 7071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7968 7072 /* end confdefs.h. */ 7969 7073 #ifdef __STDC__ … … 7974 7078 Syntax error 7975 7079 _ACEOF 7976 if { (ac_try="$ac_cpp conftest.$ac_ext" 7977 case "(($ac_try" in 7978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7979 *) ac_try_echo=$ac_try;; 7980 esac 7981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7982 $as_echo "$ac_try_echo") >&5 7983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7984 ac_status=$? 7985 grep -v '^ *+' conftest.er1 >conftest.err 7986 rm -f conftest.er1 7987 cat conftest.err >&5 7988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7989 (exit $ac_status); } >/dev/null && { 7990 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7991 test ! -s conftest.err 7992 }; then 7993 : 7994 else 7995 $as_echo "$as_me: failed program was:" >&5 7996 sed 's/^/| /' conftest.$ac_ext >&5 7997 7080 if ac_fn_c_try_cpp "$LINENO"; then : 7081 7082 else 7998 7083 # Broken: fails on valid input. 7999 7084 continue 8000 7085 fi 8001 8002 rm -f conftest.err conftest.$ac_ext 7086 rm -f conftest.err conftest.i conftest.$ac_ext 8003 7087 8004 7088 # OK, works on sane cases. Now check whether nonexistent headers 8005 7089 # can be detected and how. 8006 cat >conftest.$ac_ext <<_ACEOF 8007 /* confdefs.h. */ 8008 _ACEOF 8009 cat confdefs.h >>conftest.$ac_ext 8010 cat >>conftest.$ac_ext <<_ACEOF 7090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8011 7091 /* end confdefs.h. */ 8012 7092 #include <ac_nonexistent.h> 8013 7093 _ACEOF 8014 if { (ac_try="$ac_cpp conftest.$ac_ext" 8015 case "(($ac_try" in 8016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8017 *) ac_try_echo=$ac_try;; 8018 esac 8019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8020 $as_echo "$ac_try_echo") >&5 8021 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8022 ac_status=$? 8023 grep -v '^ *+' conftest.er1 >conftest.err 8024 rm -f conftest.er1 8025 cat conftest.err >&5 8026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8027 (exit $ac_status); } >/dev/null && { 8028 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8029 test ! -s conftest.err 8030 }; then 7094 if ac_fn_c_try_cpp "$LINENO"; then : 8031 7095 # Broken: success on invalid input. 8032 7096 continue 8033 7097 else 8034 $as_echo "$as_me: failed program was:" >&58035 sed 's/^/| /' conftest.$ac_ext >&58036 8037 7098 # Passes both tests. 8038 7099 ac_preproc_ok=: 8039 7100 break 8040 7101 fi 8041 8042 rm -f conftest.err conftest.$ac_ext 7102 rm -f conftest.err conftest.i conftest.$ac_ext 8043 7103 8044 7104 done 8045 7105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8046 rm -f conftest. err conftest.$ac_ext8047 if $ac_preproc_ok; then 8048 : 8049 else 8050 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&57106 rm -f conftest.i conftest.err conftest.$ac_ext 7107 if $ac_preproc_ok; then : 7108 7109 else 7110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8051 7111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8052 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 8053 See \`config.log' for more details." >&5 8054 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 8055 See \`config.log' for more details." >&2;} 8056 { (exit 1); exit 1; }; }; } 7112 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7113 See \`config.log' for more details" "$LINENO" 5; } 8057 7114 fi 8058 7115 … … 8077 7134 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8078 7135 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8079 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8080 7137 $as_echo_n "checking for $ac_word... " >&6; } 8081 if test "${ac_cv_prog_CXX+set}" = set; then7138 if ${ac_cv_prog_CXX+:} false; then : 8082 7139 $as_echo_n "(cached) " >&6 8083 7140 else … … 8090 7147 IFS=$as_save_IFS 8091 7148 test -z "$as_dir" && as_dir=. 8092 for ac_exec_ext in '' $ac_executable_extensions; do8093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7149 for ac_exec_ext in '' $ac_executable_extensions; do 7150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8094 7151 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 8095 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8096 7153 break 2 8097 7154 fi 8098 7155 done 8099 done7156 done 8100 7157 IFS=$as_save_IFS 8101 7158 … … 8104 7161 CXX=$ac_cv_prog_CXX 8105 7162 if test -n "$CXX"; then 8106 { $as_echo "$as_me:$ LINENO: result: $CXX" >&57163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 8107 7164 $as_echo "$CXX" >&6; } 8108 7165 else 8109 { $as_echo "$as_me:$ LINENO: result: no" >&57166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8110 7167 $as_echo "no" >&6; } 8111 7168 fi … … 8121 7178 # Extract the first word of "$ac_prog", so it can be a program name with args. 8122 7179 set dummy $ac_prog; ac_word=$2 8123 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8124 7181 $as_echo_n "checking for $ac_word... " >&6; } 8125 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then7182 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 8126 7183 $as_echo_n "(cached) " >&6 8127 7184 else … … 8134 7191 IFS=$as_save_IFS 8135 7192 test -z "$as_dir" && as_dir=. 8136 for ac_exec_ext in '' $ac_executable_extensions; do8137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7193 for ac_exec_ext in '' $ac_executable_extensions; do 7194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8138 7195 ac_cv_prog_ac_ct_CXX="$ac_prog" 8139 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8140 7197 break 2 8141 7198 fi 8142 7199 done 8143 done7200 done 8144 7201 IFS=$as_save_IFS 8145 7202 … … 8148 7205 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 8149 7206 if test -n "$ac_ct_CXX"; then 8150 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&57207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 8151 7208 $as_echo "$ac_ct_CXX" >&6; } 8152 7209 else 8153 { $as_echo "$as_me:$ LINENO: result: no" >&57210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8154 7211 $as_echo "no" >&6; } 8155 7212 fi … … 8164 7221 case $cross_compiling:$ac_tool_warned in 8165 7222 yes:) 8166 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&57223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8167 7224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8168 7225 ac_tool_warned=yes ;; … … 8175 7232 fi 8176 7233 # Provide some information about the compiler. 8177 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&57234 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 8178 7235 set X $ac_compile 8179 7236 ac_compiler=$2 8180 { (ac_try="$ac_compiler --version >&5" 7237 for ac_option in --version -v -V -qversion; do 7238 { { ac_try="$ac_compiler $ac_option >&5" 8181 7239 case "(($ac_try" in 8182 7240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8183 7241 *) ac_try_echo=$ac_try;; 8184 7242 esac 8185 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""8186 $as_echo "$ac_try_echo" )>&58187 (eval "$ac_compiler --version >&5") 2>&57243 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 7244 $as_echo "$ac_try_echo"; } >&5 7245 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 8188 7246 ac_status=$? 8189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8190 (exit $ac_status); } 8191 { (ac_try="$ac_compiler -v >&5" 8192 case "(($ac_try" in 8193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8194 *) ac_try_echo=$ac_try;; 8195 esac 8196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8197 $as_echo "$ac_try_echo") >&5 8198 (eval "$ac_compiler -v >&5") 2>&5 8199 ac_status=$? 8200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8201 (exit $ac_status); } 8202 { (ac_try="$ac_compiler -V >&5" 8203 case "(($ac_try" in 8204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8205 *) ac_try_echo=$ac_try;; 8206 esac 8207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8208 $as_echo "$ac_try_echo") >&5 8209 (eval "$ac_compiler -V >&5") 2>&5 8210 ac_status=$? 8211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8212 (exit $ac_status); } 8213 8214 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7247 if test -s conftest.err; then 7248 sed '10a\ 7249 ... rest of stderr output deleted ... 7250 10q' conftest.err >conftest.er1 7251 cat conftest.er1 >&5 7252 fi 7253 rm -f conftest.er1 conftest.err 7254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7255 test $ac_status = 0; } 7256 done 7257 7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8215 7259 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 8216 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then7260 if ${ac_cv_cxx_compiler_gnu+:} false; then : 8217 7261 $as_echo_n "(cached) " >&6 8218 7262 else 8219 cat >conftest.$ac_ext <<_ACEOF 8220 /* confdefs.h. */ 8221 _ACEOF 8222 cat confdefs.h >>conftest.$ac_ext 8223 cat >>conftest.$ac_ext <<_ACEOF 7263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8224 7264 /* end confdefs.h. */ 8225 7265 … … 8235 7275 } 8236 7276 _ACEOF 8237 rm -f conftest.$ac_objext 8238 if { (ac_try="$ac_compile" 8239 case "(($ac_try" in 8240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8241 *) ac_try_echo=$ac_try;; 8242 esac 8243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8244 $as_echo "$ac_try_echo") >&5 8245 (eval "$ac_compile") 2>conftest.er1 8246 ac_status=$? 8247 grep -v '^ *+' conftest.er1 >conftest.err 8248 rm -f conftest.er1 8249 cat conftest.err >&5 8250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8251 (exit $ac_status); } && { 8252 test -z "$ac_cxx_werror_flag" || 8253 test ! -s conftest.err 8254 } && test -s conftest.$ac_objext; then 7277 if ac_fn_cxx_try_compile "$LINENO"; then : 8255 7278 ac_compiler_gnu=yes 8256 7279 else 8257 $as_echo "$as_me: failed program was:" >&5 8258 sed 's/^/| /' conftest.$ac_ext >&5 8259 8260 ac_compiler_gnu=no 8261 fi 8262 7280 ac_compiler_gnu=no 7281 fi 8263 7282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8264 7283 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 8265 7284 8266 7285 fi 8267 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&57286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 8268 7287 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 8269 7288 if test $ac_compiler_gnu = yes; then … … 8274 7293 ac_test_CXXFLAGS=${CXXFLAGS+set} 8275 7294 ac_save_CXXFLAGS=$CXXFLAGS 8276 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&57295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 8277 7296 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 8278 if test "${ac_cv_prog_cxx_g+set}" = set; then7297 if ${ac_cv_prog_cxx_g+:} false; then : 8279 7298 $as_echo_n "(cached) " >&6 8280 7299 else … … 8283 7302 ac_cv_prog_cxx_g=no 8284 7303 CXXFLAGS="-g" 8285 cat >conftest.$ac_ext <<_ACEOF 8286 /* confdefs.h. */ 8287 _ACEOF 8288 cat confdefs.h >>conftest.$ac_ext 8289 cat >>conftest.$ac_ext <<_ACEOF 7304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8290 7305 /* end confdefs.h. */ 8291 7306 … … 8298 7313 } 8299 7314 _ACEOF 8300 rm -f conftest.$ac_objext 8301 if { (ac_try="$ac_compile" 8302 case "(($ac_try" in 8303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8304 *) ac_try_echo=$ac_try;; 8305 esac 8306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8307 $as_echo "$ac_try_echo") >&5 8308 (eval "$ac_compile") 2>conftest.er1 8309 ac_status=$? 8310 grep -v '^ *+' conftest.er1 >conftest.err 8311 rm -f conftest.er1 8312 cat conftest.err >&5 8313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8314 (exit $ac_status); } && { 8315 test -z "$ac_cxx_werror_flag" || 8316 test ! -s conftest.err 8317 } && test -s conftest.$ac_objext; then 7315 if ac_fn_cxx_try_compile "$LINENO"; then : 8318 7316 ac_cv_prog_cxx_g=yes 8319 7317 else 8320 $as_echo "$as_me: failed program was:" >&5 8321 sed 's/^/| /' conftest.$ac_ext >&5 8322 8323 CXXFLAGS="" 8324 cat >conftest.$ac_ext <<_ACEOF 8325 /* confdefs.h. */ 8326 _ACEOF 8327 cat confdefs.h >>conftest.$ac_ext 8328 cat >>conftest.$ac_ext <<_ACEOF 7318 CXXFLAGS="" 7319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8329 7320 /* end confdefs.h. */ 8330 7321 … … 8337 7328 } 8338 7329 _ACEOF 8339 rm -f conftest.$ac_objext 8340 if { (ac_try="$ac_compile" 8341 case "(($ac_try" in 8342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8343 *) ac_try_echo=$ac_try;; 8344 esac 8345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8346 $as_echo "$ac_try_echo") >&5 8347 (eval "$ac_compile") 2>conftest.er1 8348 ac_status=$? 8349 grep -v '^ *+' conftest.er1 >conftest.err 8350 rm -f conftest.er1 8351 cat conftest.err >&5 8352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8353 (exit $ac_status); } && { 8354 test -z "$ac_cxx_werror_flag" || 8355 test ! -s conftest.err 8356 } && test -s conftest.$ac_objext; then 8357 : 8358 else 8359 $as_echo "$as_me: failed program was:" >&5 8360 sed 's/^/| /' conftest.$ac_ext >&5 8361 8362 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7330 if ac_fn_cxx_try_compile "$LINENO"; then : 7331 7332 else 7333 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8363 7334 CXXFLAGS="-g" 8364 cat >conftest.$ac_ext <<_ACEOF 8365 /* confdefs.h. */ 8366 _ACEOF 8367 cat confdefs.h >>conftest.$ac_ext 8368 cat >>conftest.$ac_ext <<_ACEOF 7335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8369 7336 /* end confdefs.h. */ 8370 7337 … … 8377 7344 } 8378 7345 _ACEOF 8379 rm -f conftest.$ac_objext 8380 if { (ac_try="$ac_compile" 8381 case "(($ac_try" in 8382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8383 *) ac_try_echo=$ac_try;; 8384 esac 8385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8386 $as_echo "$ac_try_echo") >&5 8387 (eval "$ac_compile") 2>conftest.er1 8388 ac_status=$? 8389 grep -v '^ *+' conftest.er1 >conftest.err 8390 rm -f conftest.er1 8391 cat conftest.err >&5 8392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8393 (exit $ac_status); } && { 8394 test -z "$ac_cxx_werror_flag" || 8395 test ! -s conftest.err 8396 } && test -s conftest.$ac_objext; then 7346 if ac_fn_cxx_try_compile "$LINENO"; then : 8397 7347 ac_cv_prog_cxx_g=yes 8398 else 8399 $as_echo "$as_me: failed program was:" >&5 8400 sed 's/^/| /' conftest.$ac_ext >&5 8401 8402 8403 fi 8404 7348 fi 8405 7349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8406 7350 fi 8407 8408 7351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8409 7352 fi 8410 8411 7353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8412 7354 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8413 7355 fi 8414 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&57356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 8415 7357 $as_echo "$ac_cv_prog_cxx_g" >&6; } 8416 7358 if test "$ac_test_CXXFLAGS" = set; then … … 8440 7382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8441 7383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8442 { $as_echo "$as_me:$ LINENO: checking how to run the C++ preprocessor" >&57384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 8443 7385 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 8444 7386 if test -z "$CXXCPP"; then 8445 if test "${ac_cv_prog_CXXCPP+set}" = set; then7387 if ${ac_cv_prog_CXXCPP+:} false; then : 8446 7388 $as_echo_n "(cached) " >&6 8447 7389 else … … 8458 7400 # On the NeXT, cc -E runs the code through the compiler's parser, 8459 7401 # not just through cpp. "Syntax error" is here to catch this case. 8460 cat >conftest.$ac_ext <<_ACEOF 8461 /* confdefs.h. */ 8462 _ACEOF 8463 cat confdefs.h >>conftest.$ac_ext 8464 cat >>conftest.$ac_ext <<_ACEOF 7402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8465 7403 /* end confdefs.h. */ 8466 7404 #ifdef __STDC__ … … 8471 7409 Syntax error 8472 7410 _ACEOF 8473 if { (ac_try="$ac_cpp conftest.$ac_ext" 8474 case "(($ac_try" in 8475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8476 *) ac_try_echo=$ac_try;; 8477 esac 8478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8479 $as_echo "$ac_try_echo") >&5 8480 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8481 ac_status=$? 8482 grep -v '^ *+' conftest.er1 >conftest.err 8483 rm -f conftest.er1 8484 cat conftest.err >&5 8485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8486 (exit $ac_status); } >/dev/null && { 8487 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8488 test ! -s conftest.err 8489 }; then 8490 : 8491 else 8492 $as_echo "$as_me: failed program was:" >&5 8493 sed 's/^/| /' conftest.$ac_ext >&5 8494 7411 if ac_fn_cxx_try_cpp "$LINENO"; then : 7412 7413 else 8495 7414 # Broken: fails on valid input. 8496 7415 continue 8497 7416 fi 8498 8499 rm -f conftest.err conftest.$ac_ext 7417 rm -f conftest.err conftest.i conftest.$ac_ext 8500 7418 8501 7419 # OK, works on sane cases. Now check whether nonexistent headers 8502 7420 # can be detected and how. 8503 cat >conftest.$ac_ext <<_ACEOF 8504 /* confdefs.h. */ 8505 _ACEOF 8506 cat confdefs.h >>conftest.$ac_ext 8507 cat >>conftest.$ac_ext <<_ACEOF 7421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8508 7422 /* end confdefs.h. */ 8509 7423 #include <ac_nonexistent.h> 8510 7424 _ACEOF 8511 if { (ac_try="$ac_cpp conftest.$ac_ext" 8512 case "(($ac_try" in 8513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8514 *) ac_try_echo=$ac_try;; 8515 esac 8516 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8517 $as_echo "$ac_try_echo") >&5 8518 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8519 ac_status=$? 8520 grep -v '^ *+' conftest.er1 >conftest.err 8521 rm -f conftest.er1 8522 cat conftest.err >&5 8523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8524 (exit $ac_status); } >/dev/null && { 8525 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8526 test ! -s conftest.err 8527 }; then 7425 if ac_fn_cxx_try_cpp "$LINENO"; then : 8528 7426 # Broken: success on invalid input. 8529 7427 continue 8530 7428 else 8531 $as_echo "$as_me: failed program was:" >&58532 sed 's/^/| /' conftest.$ac_ext >&58533 8534 7429 # Passes both tests. 8535 7430 ac_preproc_ok=: 8536 7431 break 8537 7432 fi 8538 8539 rm -f conftest.err conftest.$ac_ext 7433 rm -f conftest.err conftest.i conftest.$ac_ext 8540 7434 8541 7435 done 8542 7436 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8543 rm -f conftest. err conftest.$ac_ext8544 if $ac_preproc_ok; then 7437 rm -f conftest.i conftest.err conftest.$ac_ext 7438 if $ac_preproc_ok; then : 8545 7439 break 8546 7440 fi … … 8554 7448 ac_cv_prog_CXXCPP=$CXXCPP 8555 7449 fi 8556 { $as_echo "$as_me:$ LINENO: result: $CXXCPP" >&57450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 8557 7451 $as_echo "$CXXCPP" >&6; } 8558 7452 ac_preproc_ok=false … … 8565 7459 # On the NeXT, cc -E runs the code through the compiler's parser, 8566 7460 # not just through cpp. "Syntax error" is here to catch this case. 8567 cat >conftest.$ac_ext <<_ACEOF 8568 /* confdefs.h. */ 8569 _ACEOF 8570 cat confdefs.h >>conftest.$ac_ext 8571 cat >>conftest.$ac_ext <<_ACEOF 7461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8572 7462 /* end confdefs.h. */ 8573 7463 #ifdef __STDC__ … … 8578 7468 Syntax error 8579 7469 _ACEOF 8580 if { (ac_try="$ac_cpp conftest.$ac_ext" 8581 case "(($ac_try" in 8582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8583 *) ac_try_echo=$ac_try;; 8584 esac 8585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8586 $as_echo "$ac_try_echo") >&5 8587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8588 ac_status=$? 8589 grep -v '^ *+' conftest.er1 >conftest.err 8590 rm -f conftest.er1 8591 cat conftest.err >&5 8592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8593 (exit $ac_status); } >/dev/null && { 8594 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8595 test ! -s conftest.err 8596 }; then 8597 : 8598 else 8599 $as_echo "$as_me: failed program was:" >&5 8600 sed 's/^/| /' conftest.$ac_ext >&5 8601 7470 if ac_fn_cxx_try_cpp "$LINENO"; then : 7471 7472 else 8602 7473 # Broken: fails on valid input. 8603 7474 continue 8604 7475 fi 8605 8606 rm -f conftest.err conftest.$ac_ext 7476 rm -f conftest.err conftest.i conftest.$ac_ext 8607 7477 8608 7478 # OK, works on sane cases. Now check whether nonexistent headers 8609 7479 # can be detected and how. 8610 cat >conftest.$ac_ext <<_ACEOF 8611 /* confdefs.h. */ 8612 _ACEOF 8613 cat confdefs.h >>conftest.$ac_ext 8614 cat >>conftest.$ac_ext <<_ACEOF 7480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8615 7481 /* end confdefs.h. */ 8616 7482 #include <ac_nonexistent.h> 8617 7483 _ACEOF 8618 if { (ac_try="$ac_cpp conftest.$ac_ext" 8619 case "(($ac_try" in 8620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8621 *) ac_try_echo=$ac_try;; 8622 esac 8623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8624 $as_echo "$ac_try_echo") >&5 8625 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8626 ac_status=$? 8627 grep -v '^ *+' conftest.er1 >conftest.err 8628 rm -f conftest.er1 8629 cat conftest.err >&5 8630 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8631 (exit $ac_status); } >/dev/null && { 8632 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8633 test ! -s conftest.err 8634 }; then 7484 if ac_fn_cxx_try_cpp "$LINENO"; then : 8635 7485 # Broken: success on invalid input. 8636 7486 continue 8637 7487 else 8638 $as_echo "$as_me: failed program was:" >&58639 sed 's/^/| /' conftest.$ac_ext >&58640 8641 7488 # Passes both tests. 8642 7489 ac_preproc_ok=: 8643 7490 break 8644 7491 fi 8645 8646 rm -f conftest.err conftest.$ac_ext 7492 rm -f conftest.err conftest.i conftest.$ac_ext 8647 7493 8648 7494 done 8649 7495 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8650 rm -f conftest. err conftest.$ac_ext8651 if $ac_preproc_ok; then 8652 : 8653 else 8654 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&57496 rm -f conftest.i conftest.err conftest.$ac_ext 7497 if $ac_preproc_ok; then : 7498 7499 else 7500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8655 7501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8656 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8657 See \`config.log' for more details." >&5 8658 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8659 See \`config.log' for more details." >&2;} 8660 { (exit 1); exit 1; }; }; } 7502 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 7503 See \`config.log' for more details" "$LINENO" 5; } 8661 7504 fi 8662 7505 … … 8681 7524 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8682 7525 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8683 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8684 7527 $as_echo_n "checking for $ac_word... " >&6; } 8685 if test "${ac_cv_prog_CXX+set}" = set; then7528 if ${ac_cv_prog_CXX+:} false; then : 8686 7529 $as_echo_n "(cached) " >&6 8687 7530 else … … 8694 7537 IFS=$as_save_IFS 8695 7538 test -z "$as_dir" && as_dir=. 8696 for ac_exec_ext in '' $ac_executable_extensions; do8697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7539 for ac_exec_ext in '' $ac_executable_extensions; do 7540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8698 7541 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 8699 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8700 7543 break 2 8701 7544 fi 8702 7545 done 8703 done7546 done 8704 7547 IFS=$as_save_IFS 8705 7548 … … 8708 7551 CXX=$ac_cv_prog_CXX 8709 7552 if test -n "$CXX"; then 8710 { $as_echo "$as_me:$ LINENO: result: $CXX" >&57553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 8711 7554 $as_echo "$CXX" >&6; } 8712 7555 else 8713 { $as_echo "$as_me:$ LINENO: result: no" >&57556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8714 7557 $as_echo "no" >&6; } 8715 7558 fi … … 8725 7568 # Extract the first word of "$ac_prog", so it can be a program name with args. 8726 7569 set dummy $ac_prog; ac_word=$2 8727 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8728 7571 $as_echo_n "checking for $ac_word... " >&6; } 8729 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then7572 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 8730 7573 $as_echo_n "(cached) " >&6 8731 7574 else … … 8738 7581 IFS=$as_save_IFS 8739 7582 test -z "$as_dir" && as_dir=. 8740 for ac_exec_ext in '' $ac_executable_extensions; do8741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7583 for ac_exec_ext in '' $ac_executable_extensions; do 7584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8742 7585 ac_cv_prog_ac_ct_CXX="$ac_prog" 8743 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8744 7587 break 2 8745 7588 fi 8746 7589 done 8747 done7590 done 8748 7591 IFS=$as_save_IFS 8749 7592 … … 8752 7595 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 8753 7596 if test -n "$ac_ct_CXX"; then 8754 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&57597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 8755 7598 $as_echo "$ac_ct_CXX" >&6; } 8756 7599 else 8757 { $as_echo "$as_me:$ LINENO: result: no" >&57600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8758 7601 $as_echo "no" >&6; } 8759 7602 fi … … 8768 7611 case $cross_compiling:$ac_tool_warned in 8769 7612 yes:) 8770 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&57613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8771 7614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8772 7615 ac_tool_warned=yes ;; … … 8779 7622 fi 8780 7623 # Provide some information about the compiler. 8781 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&57624 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 8782 7625 set X $ac_compile 8783 7626 ac_compiler=$2 8784 { (ac_try="$ac_compiler --version >&5" 7627 for ac_option in --version -v -V -qversion; do 7628 { { ac_try="$ac_compiler $ac_option >&5" 8785 7629 case "(($ac_try" in 8786 7630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8787 7631 *) ac_try_echo=$ac_try;; 8788 7632 esac 8789 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""8790 $as_echo "$ac_try_echo" )>&58791 (eval "$ac_compiler --version >&5") 2>&57633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 7634 $as_echo "$ac_try_echo"; } >&5 7635 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 8792 7636 ac_status=$? 8793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8794 (exit $ac_status); } 8795 { (ac_try="$ac_compiler -v >&5" 8796 case "(($ac_try" in 8797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8798 *) ac_try_echo=$ac_try;; 8799 esac 8800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8801 $as_echo "$ac_try_echo") >&5 8802 (eval "$ac_compiler -v >&5") 2>&5 8803 ac_status=$? 8804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8805 (exit $ac_status); } 8806 { (ac_try="$ac_compiler -V >&5" 8807 case "(($ac_try" in 8808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8809 *) ac_try_echo=$ac_try;; 8810 esac 8811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8812 $as_echo "$ac_try_echo") >&5 8813 (eval "$ac_compiler -V >&5") 2>&5 8814 ac_status=$? 8815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8816 (exit $ac_status); } 8817 8818 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7637 if test -s conftest.err; then 7638 sed '10a\ 7639 ... rest of stderr output deleted ... 7640 10q' conftest.err >conftest.er1 7641 cat conftest.er1 >&5 7642 fi 7643 rm -f conftest.er1 conftest.err 7644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7645 test $ac_status = 0; } 7646 done 7647 7648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8819 7649 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 8820 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then7650 if ${ac_cv_cxx_compiler_gnu+:} false; then : 8821 7651 $as_echo_n "(cached) " >&6 8822 7652 else 8823 cat >conftest.$ac_ext <<_ACEOF 8824 /* confdefs.h. */ 8825 _ACEOF 8826 cat confdefs.h >>conftest.$ac_ext 8827 cat >>conftest.$ac_ext <<_ACEOF 7653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8828 7654 /* end confdefs.h. */ 8829 7655 … … 8839 7665 } 8840 7666 _ACEOF 8841 rm -f conftest.$ac_objext 8842 if { (ac_try="$ac_compile" 8843 case "(($ac_try" in 8844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8845 *) ac_try_echo=$ac_try;; 8846 esac 8847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8848 $as_echo "$ac_try_echo") >&5 8849 (eval "$ac_compile") 2>conftest.er1 8850 ac_status=$? 8851 grep -v '^ *+' conftest.er1 >conftest.err 8852 rm -f conftest.er1 8853 cat conftest.err >&5 8854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8855 (exit $ac_status); } && { 8856 test -z "$ac_cxx_werror_flag" || 8857 test ! -s conftest.err 8858 } && test -s conftest.$ac_objext; then 7667 if ac_fn_cxx_try_compile "$LINENO"; then : 8859 7668 ac_compiler_gnu=yes 8860 7669 else 8861 $as_echo "$as_me: failed program was:" >&5 8862 sed 's/^/| /' conftest.$ac_ext >&5 8863 8864 ac_compiler_gnu=no 8865 fi 8866 7670 ac_compiler_gnu=no 7671 fi 8867 7672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8868 7673 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 8869 7674 8870 7675 fi 8871 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&57676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 8872 7677 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 8873 7678 if test $ac_compiler_gnu = yes; then … … 8878 7683 ac_test_CXXFLAGS=${CXXFLAGS+set} 8879 7684 ac_save_CXXFLAGS=$CXXFLAGS 8880 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&57685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 8881 7686 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 8882 if test "${ac_cv_prog_cxx_g+set}" = set; then7687 if ${ac_cv_prog_cxx_g+:} false; then : 8883 7688 $as_echo_n "(cached) " >&6 8884 7689 else … … 8887 7692 ac_cv_prog_cxx_g=no 8888 7693 CXXFLAGS="-g" 8889 cat >conftest.$ac_ext <<_ACEOF 8890 /* confdefs.h. */ 8891 _ACEOF 8892 cat confdefs.h >>conftest.$ac_ext 8893 cat >>conftest.$ac_ext <<_ACEOF 7694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8894 7695 /* end confdefs.h. */ 8895 7696 … … 8902 7703 } 8903 7704 _ACEOF 8904 rm -f conftest.$ac_objext 8905 if { (ac_try="$ac_compile" 8906 case "(($ac_try" in 8907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8908 *) ac_try_echo=$ac_try;; 8909 esac 8910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8911 $as_echo "$ac_try_echo") >&5 8912 (eval "$ac_compile") 2>conftest.er1 8913 ac_status=$? 8914 grep -v '^ *+' conftest.er1 >conftest.err 8915 rm -f conftest.er1 8916 cat conftest.err >&5 8917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8918 (exit $ac_status); } && { 8919 test -z "$ac_cxx_werror_flag" || 8920 test ! -s conftest.err 8921 } && test -s conftest.$ac_objext; then 7705 if ac_fn_cxx_try_compile "$LINENO"; then : 8922 7706 ac_cv_prog_cxx_g=yes 8923 7707 else 8924 $as_echo "$as_me: failed program was:" >&5 8925 sed 's/^/| /' conftest.$ac_ext >&5 8926 8927 CXXFLAGS="" 8928 cat >conftest.$ac_ext <<_ACEOF 8929 /* confdefs.h. */ 8930 _ACEOF 8931 cat confdefs.h >>conftest.$ac_ext 8932 cat >>conftest.$ac_ext <<_ACEOF 7708 CXXFLAGS="" 7709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8933 7710 /* end confdefs.h. */ 8934 7711 … … 8941 7718 } 8942 7719 _ACEOF 8943 rm -f conftest.$ac_objext 8944 if { (ac_try="$ac_compile" 8945 case "(($ac_try" in 8946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8947 *) ac_try_echo=$ac_try;; 8948 esac 8949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8950 $as_echo "$ac_try_echo") >&5 8951 (eval "$ac_compile") 2>conftest.er1 8952 ac_status=$? 8953 grep -v '^ *+' conftest.er1 >conftest.err 8954 rm -f conftest.er1 8955 cat conftest.err >&5 8956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8957 (exit $ac_status); } && { 8958 test -z "$ac_cxx_werror_flag" || 8959 test ! -s conftest.err 8960 } && test -s conftest.$ac_objext; then 8961 : 8962 else 8963 $as_echo "$as_me: failed program was:" >&5 8964 sed 's/^/| /' conftest.$ac_ext >&5 8965 8966 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7720 if ac_fn_cxx_try_compile "$LINENO"; then : 7721 7722 else 7723 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8967 7724 CXXFLAGS="-g" 8968 cat >conftest.$ac_ext <<_ACEOF 8969 /* confdefs.h. */ 8970 _ACEOF 8971 cat confdefs.h >>conftest.$ac_ext 8972 cat >>conftest.$ac_ext <<_ACEOF 7725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8973 7726 /* end confdefs.h. */ 8974 7727 … … 8981 7734 } 8982 7735 _ACEOF 8983 rm -f conftest.$ac_objext 8984 if { (ac_try="$ac_compile" 8985 case "(($ac_try" in 8986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8987 *) ac_try_echo=$ac_try;; 8988 esac 8989 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8990 $as_echo "$ac_try_echo") >&5 8991 (eval "$ac_compile") 2>conftest.er1 8992 ac_status=$? 8993 grep -v '^ *+' conftest.er1 >conftest.err 8994 rm -f conftest.er1 8995 cat conftest.err >&5 8996 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8997 (exit $ac_status); } && { 8998 test -z "$ac_cxx_werror_flag" || 8999 test ! -s conftest.err 9000 } && test -s conftest.$ac_objext; then 7736 if ac_fn_cxx_try_compile "$LINENO"; then : 9001 7737 ac_cv_prog_cxx_g=yes 9002 else 9003 $as_echo "$as_me: failed program was:" >&5 9004 sed 's/^/| /' conftest.$ac_ext >&5 9005 9006 9007 fi 9008 7738 fi 9009 7739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9010 7740 fi 9011 9012 7741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9013 7742 fi 9014 9015 7743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9016 7744 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 9017 7745 fi 9018 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&57746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 9019 7747 $as_echo "$ac_cv_prog_cxx_g" >&6; } 9020 7748 if test "$ac_test_CXXFLAGS" = set; then … … 9047 7775 9048 7776 9049 9050 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 9051 7778 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 9052 if test "${ac_cv_c_bigendian+set}" = set; then7779 if ${ac_cv_c_bigendian+:} false; then : 9053 7780 $as_echo_n "(cached) " >&6 9054 7781 else 9055 7782 ac_cv_c_bigendian=unknown 9056 7783 # See if we're dealing with a universal compiler. 9057 cat >conftest.$ac_ext <<_ACEOF 9058 /* confdefs.h. */ 9059 _ACEOF 9060 cat confdefs.h >>conftest.$ac_ext 9061 cat >>conftest.$ac_ext <<_ACEOF 7784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9062 7785 /* end confdefs.h. */ 9063 7786 #ifndef __APPLE_CC__ … … 9067 7790 9068 7791 _ACEOF 9069 rm -f conftest.$ac_objext 9070 if { (ac_try="$ac_compile" 9071 case "(($ac_try" in 9072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9073 *) ac_try_echo=$ac_try;; 9074 esac 9075 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9076 $as_echo "$ac_try_echo") >&5 9077 (eval "$ac_compile") 2>conftest.er1 9078 ac_status=$? 9079 grep -v '^ *+' conftest.er1 >conftest.err 9080 rm -f conftest.er1 9081 cat conftest.err >&5 9082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9083 (exit $ac_status); } && { 9084 test -z "$ac_cxx_werror_flag" || 9085 test ! -s conftest.err 9086 } && test -s conftest.$ac_objext; then 7792 if ac_fn_cxx_try_compile "$LINENO"; then : 9087 7793 9088 7794 # Check for potential -arch flags. It is not universal unless 9089 # there are some -arch flags. Note that *ppc* also matches 9090 # ppc64. This check is also rather less than ideal. 9091 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 9092 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 9093 esac 9094 else 9095 $as_echo "$as_me: failed program was:" >&5 9096 sed 's/^/| /' conftest.$ac_ext >&5 9097 9098 9099 fi 9100 7795 # there are at least two -arch flags with different values. 7796 ac_arch= 7797 ac_prev= 7798 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 7799 if test -n "$ac_prev"; then 7800 case $ac_word in 7801 i?86 | x86_64 | ppc | ppc64) 7802 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 7803 ac_arch=$ac_word 7804 else 7805 ac_cv_c_bigendian=universal 7806 break 7807 fi 7808 ;; 7809 esac 7810 ac_prev= 7811 elif test "x$ac_word" = "x-arch"; then 7812 ac_prev=arch 7813 fi 7814 done 7815 fi 9101 7816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9102 7817 if test $ac_cv_c_bigendian = unknown; then 9103 7818 # See if sys/param.h defines the BYTE_ORDER macro. 9104 cat >conftest.$ac_ext <<_ACEOF 9105 /* confdefs.h. */ 9106 _ACEOF 9107 cat confdefs.h >>conftest.$ac_ext 9108 cat >>conftest.$ac_ext <<_ACEOF 7819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9109 7820 /* end confdefs.h. */ 9110 7821 #include <sys/types.h> … … 9124 7835 } 9125 7836 _ACEOF 9126 rm -f conftest.$ac_objext 9127 if { (ac_try="$ac_compile" 9128 case "(($ac_try" in 9129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9130 *) ac_try_echo=$ac_try;; 9131 esac 9132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9133 $as_echo "$ac_try_echo") >&5 9134 (eval "$ac_compile") 2>conftest.er1 9135 ac_status=$? 9136 grep -v '^ *+' conftest.er1 >conftest.err 9137 rm -f conftest.er1 9138 cat conftest.err >&5 9139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9140 (exit $ac_status); } && { 9141 test -z "$ac_cxx_werror_flag" || 9142 test ! -s conftest.err 9143 } && test -s conftest.$ac_objext; then 7837 if ac_fn_cxx_try_compile "$LINENO"; then : 9144 7838 # It does; now see whether it defined to BIG_ENDIAN or not. 9145 cat >conftest.$ac_ext <<_ACEOF 9146 /* confdefs.h. */ 9147 _ACEOF 9148 cat confdefs.h >>conftest.$ac_ext 9149 cat >>conftest.$ac_ext <<_ACEOF 7839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9150 7840 /* end confdefs.h. */ 9151 7841 #include <sys/types.h> … … 9163 7853 } 9164 7854 _ACEOF 9165 rm -f conftest.$ac_objext 9166 if { (ac_try="$ac_compile" 9167 case "(($ac_try" in 9168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9169 *) ac_try_echo=$ac_try;; 9170 esac 9171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9172 $as_echo "$ac_try_echo") >&5 9173 (eval "$ac_compile") 2>conftest.er1 9174 ac_status=$? 9175 grep -v '^ *+' conftest.er1 >conftest.err 9176 rm -f conftest.er1 9177 cat conftest.err >&5 9178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9179 (exit $ac_status); } && { 9180 test -z "$ac_cxx_werror_flag" || 9181 test ! -s conftest.err 9182 } && test -s conftest.$ac_objext; then 7855 if ac_fn_cxx_try_compile "$LINENO"; then : 9183 7856 ac_cv_c_bigendian=yes 9184 7857 else 9185 $as_echo "$as_me: failed program was:" >&5 9186 sed 's/^/| /' conftest.$ac_ext >&5 9187 9188 ac_cv_c_bigendian=no 9189 fi 9190 7858 ac_cv_c_bigendian=no 7859 fi 9191 7860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9192 else 9193 $as_echo "$as_me: failed program was:" >&5 9194 sed 's/^/| /' conftest.$ac_ext >&5 9195 9196 9197 fi 9198 7861 fi 9199 7862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9200 7863 fi 9201 7864 if test $ac_cv_c_bigendian = unknown; then 9202 7865 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 9203 cat >conftest.$ac_ext <<_ACEOF 9204 /* confdefs.h. */ 9205 _ACEOF 9206 cat confdefs.h >>conftest.$ac_ext 9207 cat >>conftest.$ac_ext <<_ACEOF 7866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9208 7867 /* end confdefs.h. */ 9209 7868 #include <limits.h> … … 9220 7879 } 9221 7880 _ACEOF 9222 rm -f conftest.$ac_objext 9223 if { (ac_try="$ac_compile" 9224 case "(($ac_try" in 9225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9226 *) ac_try_echo=$ac_try;; 9227 esac 9228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9229 $as_echo "$ac_try_echo") >&5 9230 (eval "$ac_compile") 2>conftest.er1 9231 ac_status=$? 9232 grep -v '^ *+' conftest.er1 >conftest.err 9233 rm -f conftest.er1 9234 cat conftest.err >&5 9235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9236 (exit $ac_status); } && { 9237 test -z "$ac_cxx_werror_flag" || 9238 test ! -s conftest.err 9239 } && test -s conftest.$ac_objext; then 7881 if ac_fn_cxx_try_compile "$LINENO"; then : 9240 7882 # It does; now see whether it defined to _BIG_ENDIAN or not. 9241 cat >conftest.$ac_ext <<_ACEOF 9242 /* confdefs.h. */ 9243 _ACEOF 9244 cat confdefs.h >>conftest.$ac_ext 9245 cat >>conftest.$ac_ext <<_ACEOF 7883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9246 7884 /* end confdefs.h. */ 9247 7885 #include <limits.h> … … 9258 7896 } 9259 7897 _ACEOF 9260 rm -f conftest.$ac_objext 9261 if { (ac_try="$ac_compile" 9262 case "(($ac_try" in 9263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9264 *) ac_try_echo=$ac_try;; 9265 esac 9266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9267 $as_echo "$ac_try_echo") >&5 9268 (eval "$ac_compile") 2>conftest.er1 9269 ac_status=$? 9270 grep -v '^ *+' conftest.er1 >conftest.err 9271 rm -f conftest.er1 9272 cat conftest.err >&5 9273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9274 (exit $ac_status); } && { 9275 test -z "$ac_cxx_werror_flag" || 9276 test ! -s conftest.err 9277 } && test -s conftest.$ac_objext; then 7898 if ac_fn_cxx_try_compile "$LINENO"; then : 9278 7899 ac_cv_c_bigendian=yes 9279 7900 else 9280 $as_echo "$as_me: failed program was:" >&5 9281 sed 's/^/| /' conftest.$ac_ext >&5 9282 9283 ac_cv_c_bigendian=no 9284 fi 9285 7901 ac_cv_c_bigendian=no 7902 fi 9286 7903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9287 else 9288 $as_echo "$as_me: failed program was:" >&5 9289 sed 's/^/| /' conftest.$ac_ext >&5 9290 9291 9292 fi 9293 7904 fi 9294 7905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9295 7906 fi 9296 7907 if test $ac_cv_c_bigendian = unknown; then 9297 7908 # Compile a test program. 9298 if test "$cross_compiling" = yes; then 7909 if test "$cross_compiling" = yes; then : 9299 7910 # Try to guess by grepping values from an object file. 9300 cat >conftest.$ac_ext <<_ACEOF 9301 /* confdefs.h. */ 9302 _ACEOF 9303 cat confdefs.h >>conftest.$ac_ext 9304 cat >>conftest.$ac_ext <<_ACEOF 7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9305 7912 /* end confdefs.h. */ 9306 7913 short int ascii_mm[] = … … 9328 7935 } 9329 7936 _ACEOF 9330 rm -f conftest.$ac_objext 9331 if { (ac_try="$ac_compile" 9332 case "(($ac_try" in 9333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9334 *) ac_try_echo=$ac_try;; 9335 esac 9336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9337 $as_echo "$ac_try_echo") >&5 9338 (eval "$ac_compile") 2>conftest.er1 9339 ac_status=$? 9340 grep -v '^ *+' conftest.er1 >conftest.err 9341 rm -f conftest.er1 9342 cat conftest.err >&5 9343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9344 (exit $ac_status); } && { 9345 test -z "$ac_cxx_werror_flag" || 9346 test ! -s conftest.err 9347 } && test -s conftest.$ac_objext; then 7937 if ac_fn_cxx_try_compile "$LINENO"; then : 9348 7938 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 9349 7939 ac_cv_c_bigendian=yes … … 9357 7947 fi 9358 7948 fi 9359 else 9360 $as_echo "$as_me: failed program was:" >&5 9361 sed 's/^/| /' conftest.$ac_ext >&5 9362 9363 9364 fi 9365 7949 fi 9366 7950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9367 7951 else 9368 cat >conftest.$ac_ext <<_ACEOF 9369 /* confdefs.h. */ 9370 _ACEOF 9371 cat confdefs.h >>conftest.$ac_ext 9372 cat >>conftest.$ac_ext <<_ACEOF 7952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9373 7953 /* end confdefs.h. */ 9374 7954 $ac_includes_default … … 9390 7970 } 9391 7971 _ACEOF 9392 rm -f conftest$ac_exeext 9393 if { (ac_try="$ac_link" 9394 case "(($ac_try" in 9395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9396 *) ac_try_echo=$ac_try;; 9397 esac 9398 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9399 $as_echo "$ac_try_echo") >&5 9400 (eval "$ac_link") 2>&5 9401 ac_status=$? 9402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9403 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9404 { (case "(($ac_try" in 9405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9406 *) ac_try_echo=$ac_try;; 9407 esac 9408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9409 $as_echo "$ac_try_echo") >&5 9410 (eval "$ac_try") 2>&5 9411 ac_status=$? 9412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9413 (exit $ac_status); }; }; then 7972 if ac_fn_cxx_try_run "$LINENO"; then : 9414 7973 ac_cv_c_bigendian=no 9415 7974 else 9416 $as_echo "$as_me: program exited with status $ac_status" >&5 9417 $as_echo "$as_me: failed program was:" >&5 9418 sed 's/^/| /' conftest.$ac_ext >&5 9419 9420 ( exit $ac_status ) 9421 ac_cv_c_bigendian=yes 9422 fi 9423 rm -rf conftest.dSYM 9424 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9425 fi 9426 7975 ac_cv_c_bigendian=yes 7976 fi 7977 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7978 conftest.$ac_objext conftest.beam conftest.$ac_ext 7979 fi 9427 7980 9428 7981 fi 9429 7982 fi 9430 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_bigendian" >&57983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 9431 7984 $as_echo "$ac_cv_c_bigendian" >&6; } 9432 7985 case $ac_cv_c_bigendian in #( 9433 7986 yes) 9434 cat >>confdefs.h <<\_ACEOF 9435 #define WORDS_BIGENDIAN 1 9436 _ACEOF 7987 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9437 7988 ;; #( 9438 7989 no) … … 9440 7991 universal) 9441 7992 9442 cat >>confdefs.h <<\_ACEOF 9443 #define AC_APPLE_UNIVERSAL_BUILD 1 9444 _ACEOF 7993 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9445 7994 9446 7995 ;; #( 9447 7996 *) 9448 { { $as_echo "$as_me:$LINENO: error: unknown endianness 9449 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 9450 $as_echo "$as_me: error: unknown endianness 9451 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 9452 { (exit 1); exit 1; }; } ;; 7997 as_fn_error $? "unknown endianness 7998 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9453 7999 esac 9454 8000 … … 9457 8003 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 9458 8004 # This bug is HP SR number 8606223364. 9459 { $as_echo "$as_me:$ LINENO: checking size of int" >&58005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 9460 8006 $as_echo_n "checking size of int... " >&6; } 9461 if test "${ac_cv_sizeof_int+set}" = set; then8007 if ${ac_cv_sizeof_int+:} false; then : 9462 8008 $as_echo_n "(cached) " >&6 9463 8009 else 9464 if test "$cross_compiling" = yes; then 9465 # Depending upon the size, compute the lo and hi bounds. 9466 cat >conftest.$ac_ext <<_ACEOF 9467 /* confdefs.h. */ 9468 _ACEOF 9469 cat confdefs.h >>conftest.$ac_ext 9470 cat >>conftest.$ac_ext <<_ACEOF 9471 /* end confdefs.h. */ 9472 $ac_includes_default 9473 int 9474 main () 9475 { 9476 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)]; 9477 test_array [0] = 0 9478 9479 ; 9480 return 0; 9481 } 9482 _ACEOF 9483 rm -f conftest.$ac_objext 9484 if { (ac_try="$ac_compile" 9485 case "(($ac_try" in 9486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9487 *) ac_try_echo=$ac_try;; 9488 esac 9489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9490 $as_echo "$ac_try_echo") >&5 9491 (eval "$ac_compile") 2>conftest.er1 9492 ac_status=$? 9493 grep -v '^ *+' conftest.er1 >conftest.err 9494 rm -f conftest.er1 9495 cat conftest.err >&5 9496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9497 (exit $ac_status); } && { 9498 test -z "$ac_cxx_werror_flag" || 9499 test ! -s conftest.err 9500 } && test -s conftest.$ac_objext; then 9501 ac_lo=0 ac_mid=0 9502 while :; do 9503 cat >conftest.$ac_ext <<_ACEOF 9504 /* confdefs.h. */ 9505 _ACEOF 9506 cat confdefs.h >>conftest.$ac_ext 9507 cat >>conftest.$ac_ext <<_ACEOF 9508 /* end confdefs.h. */ 9509 $ac_includes_default 9510 int 9511 main () 9512 { 9513 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9514 test_array [0] = 0 9515 9516 ; 9517 return 0; 9518 } 9519 _ACEOF 9520 rm -f conftest.$ac_objext 9521 if { (ac_try="$ac_compile" 9522 case "(($ac_try" in 9523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9524 *) ac_try_echo=$ac_try;; 9525 esac 9526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9527 $as_echo "$ac_try_echo") >&5 9528 (eval "$ac_compile") 2>conftest.er1 9529 ac_status=$? 9530 grep -v '^ *+' conftest.er1 >conftest.err 9531 rm -f conftest.er1 9532 cat conftest.err >&5 9533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9534 (exit $ac_status); } && { 9535 test -z "$ac_cxx_werror_flag" || 9536 test ! -s conftest.err 9537 } && test -s conftest.$ac_objext; then 9538 ac_hi=$ac_mid; break 9539 else 9540 $as_echo "$as_me: failed program was:" >&5 9541 sed 's/^/| /' conftest.$ac_ext >&5 9542 9543 ac_lo=`expr $ac_mid + 1` 9544 if test $ac_lo -le $ac_mid; then 9545 ac_lo= ac_hi= 9546 break 9547 fi 9548 ac_mid=`expr 2 '*' $ac_mid + 1` 9549 fi 9550 9551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9552 done 9553 else 9554 $as_echo "$as_me: failed program was:" >&5 9555 sed 's/^/| /' conftest.$ac_ext >&5 9556 9557 cat >conftest.$ac_ext <<_ACEOF 9558 /* confdefs.h. */ 9559 _ACEOF 9560 cat confdefs.h >>conftest.$ac_ext 9561 cat >>conftest.$ac_ext <<_ACEOF 9562 /* end confdefs.h. */ 9563 $ac_includes_default 9564 int 9565 main () 9566 { 9567 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)]; 9568 test_array [0] = 0 9569 9570 ; 9571 return 0; 9572 } 9573 _ACEOF 9574 rm -f conftest.$ac_objext 9575 if { (ac_try="$ac_compile" 9576 case "(($ac_try" in 9577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9578 *) ac_try_echo=$ac_try;; 9579 esac 9580 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9581 $as_echo "$ac_try_echo") >&5 9582 (eval "$ac_compile") 2>conftest.er1 9583 ac_status=$? 9584 grep -v '^ *+' conftest.er1 >conftest.err 9585 rm -f conftest.er1 9586 cat conftest.err >&5 9587 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9588 (exit $ac_status); } && { 9589 test -z "$ac_cxx_werror_flag" || 9590 test ! -s conftest.err 9591 } && test -s conftest.$ac_objext; then 9592 ac_hi=-1 ac_mid=-1 9593 while :; do 9594 cat >conftest.$ac_ext <<_ACEOF 9595 /* confdefs.h. */ 9596 _ACEOF 9597 cat confdefs.h >>conftest.$ac_ext 9598 cat >>conftest.$ac_ext <<_ACEOF 9599 /* end confdefs.h. */ 9600 $ac_includes_default 9601 int 9602 main () 9603 { 9604 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)]; 9605 test_array [0] = 0 9606 9607 ; 9608 return 0; 9609 } 9610 _ACEOF 9611 rm -f conftest.$ac_objext 9612 if { (ac_try="$ac_compile" 9613 case "(($ac_try" in 9614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9615 *) ac_try_echo=$ac_try;; 9616 esac 9617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9618 $as_echo "$ac_try_echo") >&5 9619 (eval "$ac_compile") 2>conftest.er1 9620 ac_status=$? 9621 grep -v '^ *+' conftest.er1 >conftest.err 9622 rm -f conftest.er1 9623 cat conftest.err >&5 9624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9625 (exit $ac_status); } && { 9626 test -z "$ac_cxx_werror_flag" || 9627 test ! -s conftest.err 9628 } && test -s conftest.$ac_objext; then 9629 ac_lo=$ac_mid; break 9630 else 9631 $as_echo "$as_me: failed program was:" >&5 9632 sed 's/^/| /' conftest.$ac_ext >&5 9633 9634 ac_hi=`expr '(' $ac_mid ')' - 1` 9635 if test $ac_mid -le $ac_hi; then 9636 ac_lo= ac_hi= 9637 break 9638 fi 9639 ac_mid=`expr 2 '*' $ac_mid` 9640 fi 9641 9642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9643 done 9644 else 9645 $as_echo "$as_me: failed program was:" >&5 9646 sed 's/^/| /' conftest.$ac_ext >&5 9647 9648 ac_lo= ac_hi= 9649 fi 9650 9651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9652 fi 9653 9654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9655 # Binary search between lo and hi bounds. 9656 while test "x$ac_lo" != "x$ac_hi"; do 9657 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 9658 cat >conftest.$ac_ext <<_ACEOF 9659 /* confdefs.h. */ 9660 _ACEOF 9661 cat confdefs.h >>conftest.$ac_ext 9662 cat >>conftest.$ac_ext <<_ACEOF 9663 /* end confdefs.h. */ 9664 $ac_includes_default 9665 int 9666 main () 9667 { 9668 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9669 test_array [0] = 0 9670 9671 ; 9672 return 0; 9673 } 9674 _ACEOF 9675 rm -f conftest.$ac_objext 9676 if { (ac_try="$ac_compile" 9677 case "(($ac_try" in 9678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9679 *) ac_try_echo=$ac_try;; 9680 esac 9681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9682 $as_echo "$ac_try_echo") >&5 9683 (eval "$ac_compile") 2>conftest.er1 9684 ac_status=$? 9685 grep -v '^ *+' conftest.er1 >conftest.err 9686 rm -f conftest.er1 9687 cat conftest.err >&5 9688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9689 (exit $ac_status); } && { 9690 test -z "$ac_cxx_werror_flag" || 9691 test ! -s conftest.err 9692 } && test -s conftest.$ac_objext; then 9693 ac_hi=$ac_mid 9694 else 9695 $as_echo "$as_me: failed program was:" >&5 9696 sed 's/^/| /' conftest.$ac_ext >&5 9697 9698 ac_lo=`expr '(' $ac_mid ')' + 1` 9699 fi 9700 9701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9702 done 9703 case $ac_lo in 9704 ?*) ac_cv_sizeof_int=$ac_lo;; 9705 '') if test "$ac_cv_type_int" = yes; then 9706 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8010 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 8011 8012 else 8013 if test "$ac_cv_type_int" = yes; then 8014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9707 8015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9708 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9709 See \`config.log' for more details." >&5 9710 $as_echo "$as_me: error: cannot compute sizeof (int) 9711 See \`config.log' for more details." >&2;} 9712 { (exit 77); exit 77; }; }; } 9713 else 9714 ac_cv_sizeof_int=0 9715 fi ;; 9716 esac 9717 else 9718 cat >conftest.$ac_ext <<_ACEOF 9719 /* confdefs.h. */ 9720 _ACEOF 9721 cat confdefs.h >>conftest.$ac_ext 9722 cat >>conftest.$ac_ext <<_ACEOF 9723 /* end confdefs.h. */ 9724 $ac_includes_default 9725 static long int longval () { return (long int) (sizeof (int)); } 9726 static unsigned long int ulongval () { return (long int) (sizeof (int)); } 9727 #include <stdio.h> 9728 #include <stdlib.h> 9729 int 9730 main () 9731 { 9732 9733 FILE *f = fopen ("conftest.val", "w"); 9734 if (! f) 9735 return 1; 9736 if (((long int) (sizeof (int))) < 0) 9737 { 9738 long int i = longval (); 9739 if (i != ((long int) (sizeof (int)))) 9740 return 1; 9741 fprintf (f, "%ld", i); 9742 } 9743 else 9744 { 9745 unsigned long int i = ulongval (); 9746 if (i != ((long int) (sizeof (int)))) 9747 return 1; 9748 fprintf (f, "%lu", i); 9749 } 9750 /* Do not output a trailing newline, as this causes \r\n confusion 9751 on some platforms. */ 9752 return ferror (f) || fclose (f) != 0; 9753 9754 ; 9755 return 0; 9756 } 9757 _ACEOF 9758 rm -f conftest$ac_exeext 9759 if { (ac_try="$ac_link" 9760 case "(($ac_try" in 9761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9762 *) ac_try_echo=$ac_try;; 9763 esac 9764 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9765 $as_echo "$ac_try_echo") >&5 9766 (eval "$ac_link") 2>&5 9767 ac_status=$? 9768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9769 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9770 { (case "(($ac_try" in 9771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9772 *) ac_try_echo=$ac_try;; 9773 esac 9774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9775 $as_echo "$ac_try_echo") >&5 9776 (eval "$ac_try") 2>&5 9777 ac_status=$? 9778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9779 (exit $ac_status); }; }; then 9780 ac_cv_sizeof_int=`cat conftest.val` 9781 else 9782 $as_echo "$as_me: program exited with status $ac_status" >&5 9783 $as_echo "$as_me: failed program was:" >&5 9784 sed 's/^/| /' conftest.$ac_ext >&5 9785 9786 ( exit $ac_status ) 9787 if test "$ac_cv_type_int" = yes; then 9788 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9790 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9791 See \`config.log' for more details." >&5 9792 $as_echo "$as_me: error: cannot compute sizeof (int) 9793 See \`config.log' for more details." >&2;} 9794 { (exit 77); exit 77; }; }; } 8016 as_fn_error 77 "cannot compute sizeof (int) 8017 See \`config.log' for more details" "$LINENO" 5; } 9795 8018 else 9796 8019 ac_cv_sizeof_int=0 9797 8020 fi 9798 8021 fi 9799 rm -rf conftest.dSYM 9800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9801 fi 9802 rm -f conftest.val 9803 fi 9804 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 8022 8023 fi 8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9805 8025 $as_echo "$ac_cv_sizeof_int" >&6; } 9806 8026 … … 9816 8036 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 9817 8037 # This bug is HP SR number 8606223364. 9818 { $as_echo "$as_me:$ LINENO: checking size of long" >&58038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 9819 8039 $as_echo_n "checking size of long... " >&6; } 9820 if test "${ac_cv_sizeof_long+set}" = set; then8040 if ${ac_cv_sizeof_long+:} false; then : 9821 8041 $as_echo_n "(cached) " >&6 9822 8042 else 9823 if test "$cross_compiling" = yes; then 9824 # Depending upon the size, compute the lo and hi bounds. 9825 cat >conftest.$ac_ext <<_ACEOF 9826 /* confdefs.h. */ 9827 _ACEOF 9828 cat confdefs.h >>conftest.$ac_ext 9829 cat >>conftest.$ac_ext <<_ACEOF 9830 /* end confdefs.h. */ 9831 $ac_includes_default 9832 int 9833 main () 9834 { 9835 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)]; 9836 test_array [0] = 0 9837 9838 ; 9839 return 0; 9840 } 9841 _ACEOF 9842 rm -f conftest.$ac_objext 9843 if { (ac_try="$ac_compile" 9844 case "(($ac_try" in 9845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9846 *) ac_try_echo=$ac_try;; 9847 esac 9848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9849 $as_echo "$ac_try_echo") >&5 9850 (eval "$ac_compile") 2>conftest.er1 9851 ac_status=$? 9852 grep -v '^ *+' conftest.er1 >conftest.err 9853 rm -f conftest.er1 9854 cat conftest.err >&5 9855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9856 (exit $ac_status); } && { 9857 test -z "$ac_cxx_werror_flag" || 9858 test ! -s conftest.err 9859 } && test -s conftest.$ac_objext; then 9860 ac_lo=0 ac_mid=0 9861 while :; do 9862 cat >conftest.$ac_ext <<_ACEOF 9863 /* confdefs.h. */ 9864 _ACEOF 9865 cat confdefs.h >>conftest.$ac_ext 9866 cat >>conftest.$ac_ext <<_ACEOF 9867 /* end confdefs.h. */ 9868 $ac_includes_default 9869 int 9870 main () 9871 { 9872 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 9873 test_array [0] = 0 9874 9875 ; 9876 return 0; 9877 } 9878 _ACEOF 9879 rm -f conftest.$ac_objext 9880 if { (ac_try="$ac_compile" 9881 case "(($ac_try" in 9882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9883 *) ac_try_echo=$ac_try;; 9884 esac 9885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9886 $as_echo "$ac_try_echo") >&5 9887 (eval "$ac_compile") 2>conftest.er1 9888 ac_status=$? 9889 grep -v '^ *+' conftest.er1 >conftest.err 9890 rm -f conftest.er1 9891 cat conftest.err >&5 9892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9893 (exit $ac_status); } && { 9894 test -z "$ac_cxx_werror_flag" || 9895 test ! -s conftest.err 9896 } && test -s conftest.$ac_objext; then 9897 ac_hi=$ac_mid; break 9898 else 9899 $as_echo "$as_me: failed program was:" >&5 9900 sed 's/^/| /' conftest.$ac_ext >&5 9901 9902 ac_lo=`expr $ac_mid + 1` 9903 if test $ac_lo -le $ac_mid; then 9904 ac_lo= ac_hi= 9905 break 9906 fi 9907 ac_mid=`expr 2 '*' $ac_mid + 1` 9908 fi 9909 9910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9911 done 9912 else 9913 $as_echo "$as_me: failed program was:" >&5 9914 sed 's/^/| /' conftest.$ac_ext >&5 9915 9916 cat >conftest.$ac_ext <<_ACEOF 9917 /* confdefs.h. */ 9918 _ACEOF 9919 cat confdefs.h >>conftest.$ac_ext 9920 cat >>conftest.$ac_ext <<_ACEOF 9921 /* end confdefs.h. */ 9922 $ac_includes_default 9923 int 9924 main () 9925 { 9926 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)]; 9927 test_array [0] = 0 9928 9929 ; 9930 return 0; 9931 } 9932 _ACEOF 9933 rm -f conftest.$ac_objext 9934 if { (ac_try="$ac_compile" 9935 case "(($ac_try" in 9936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9937 *) ac_try_echo=$ac_try;; 9938 esac 9939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9940 $as_echo "$ac_try_echo") >&5 9941 (eval "$ac_compile") 2>conftest.er1 9942 ac_status=$? 9943 grep -v '^ *+' conftest.er1 >conftest.err 9944 rm -f conftest.er1 9945 cat conftest.err >&5 9946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9947 (exit $ac_status); } && { 9948 test -z "$ac_cxx_werror_flag" || 9949 test ! -s conftest.err 9950 } && test -s conftest.$ac_objext; then 9951 ac_hi=-1 ac_mid=-1 9952 while :; do 9953 cat >conftest.$ac_ext <<_ACEOF 9954 /* confdefs.h. */ 9955 _ACEOF 9956 cat confdefs.h >>conftest.$ac_ext 9957 cat >>conftest.$ac_ext <<_ACEOF 9958 /* end confdefs.h. */ 9959 $ac_includes_default 9960 int 9961 main () 9962 { 9963 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)]; 9964 test_array [0] = 0 9965 9966 ; 9967 return 0; 9968 } 9969 _ACEOF 9970 rm -f conftest.$ac_objext 9971 if { (ac_try="$ac_compile" 9972 case "(($ac_try" in 9973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9974 *) ac_try_echo=$ac_try;; 9975 esac 9976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9977 $as_echo "$ac_try_echo") >&5 9978 (eval "$ac_compile") 2>conftest.er1 9979 ac_status=$? 9980 grep -v '^ *+' conftest.er1 >conftest.err 9981 rm -f conftest.er1 9982 cat conftest.err >&5 9983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9984 (exit $ac_status); } && { 9985 test -z "$ac_cxx_werror_flag" || 9986 test ! -s conftest.err 9987 } && test -s conftest.$ac_objext; then 9988 ac_lo=$ac_mid; break 9989 else 9990 $as_echo "$as_me: failed program was:" >&5 9991 sed 's/^/| /' conftest.$ac_ext >&5 9992 9993 ac_hi=`expr '(' $ac_mid ')' - 1` 9994 if test $ac_mid -le $ac_hi; then 9995 ac_lo= ac_hi= 9996 break 9997 fi 9998 ac_mid=`expr 2 '*' $ac_mid` 9999 fi 10000 10001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10002 done 10003 else 10004 $as_echo "$as_me: failed program was:" >&5 10005 sed 's/^/| /' conftest.$ac_ext >&5 10006 10007 ac_lo= ac_hi= 10008 fi 10009 10010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10011 fi 10012 10013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10014 # Binary search between lo and hi bounds. 10015 while test "x$ac_lo" != "x$ac_hi"; do 10016 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10017 cat >conftest.$ac_ext <<_ACEOF 10018 /* confdefs.h. */ 10019 _ACEOF 10020 cat confdefs.h >>conftest.$ac_ext 10021 cat >>conftest.$ac_ext <<_ACEOF 10022 /* end confdefs.h. */ 10023 $ac_includes_default 10024 int 10025 main () 10026 { 10027 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 10028 test_array [0] = 0 10029 10030 ; 10031 return 0; 10032 } 10033 _ACEOF 10034 rm -f conftest.$ac_objext 10035 if { (ac_try="$ac_compile" 10036 case "(($ac_try" in 10037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10038 *) ac_try_echo=$ac_try;; 10039 esac 10040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10041 $as_echo "$ac_try_echo") >&5 10042 (eval "$ac_compile") 2>conftest.er1 10043 ac_status=$? 10044 grep -v '^ *+' conftest.er1 >conftest.err 10045 rm -f conftest.er1 10046 cat conftest.err >&5 10047 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10048 (exit $ac_status); } && { 10049 test -z "$ac_cxx_werror_flag" || 10050 test ! -s conftest.err 10051 } && test -s conftest.$ac_objext; then 10052 ac_hi=$ac_mid 10053 else 10054 $as_echo "$as_me: failed program was:" >&5 10055 sed 's/^/| /' conftest.$ac_ext >&5 10056 10057 ac_lo=`expr '(' $ac_mid ')' + 1` 10058 fi 10059 10060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10061 done 10062 case $ac_lo in 10063 ?*) ac_cv_sizeof_long=$ac_lo;; 10064 '') if test "$ac_cv_type_long" = yes; then 10065 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8043 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 8044 8045 else 8046 if test "$ac_cv_type_long" = yes; then 8047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10066 8048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10067 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 10068 See \`config.log' for more details." >&5 10069 $as_echo "$as_me: error: cannot compute sizeof (long) 10070 See \`config.log' for more details." >&2;} 10071 { (exit 77); exit 77; }; }; } 10072 else 10073 ac_cv_sizeof_long=0 10074 fi ;; 10075 esac 10076 else 10077 cat >conftest.$ac_ext <<_ACEOF 10078 /* confdefs.h. */ 10079 _ACEOF 10080 cat confdefs.h >>conftest.$ac_ext 10081 cat >>conftest.$ac_ext <<_ACEOF 10082 /* end confdefs.h. */ 10083 $ac_includes_default 10084 static long int longval () { return (long int) (sizeof (long)); } 10085 static unsigned long int ulongval () { return (long int) (sizeof (long)); } 10086 #include <stdio.h> 10087 #include <stdlib.h> 10088 int 10089 main () 10090 { 10091 10092 FILE *f = fopen ("conftest.val", "w"); 10093 if (! f) 10094 return 1; 10095 if (((long int) (sizeof (long))) < 0) 10096 { 10097 long int i = longval (); 10098 if (i != ((long int) (sizeof (long)))) 10099 return 1; 10100 fprintf (f, "%ld", i); 10101 } 10102 else 10103 { 10104 unsigned long int i = ulongval (); 10105 if (i != ((long int) (sizeof (long)))) 10106 return 1; 10107 fprintf (f, "%lu", i); 10108 } 10109 /* Do not output a trailing newline, as this causes \r\n confusion 10110 on some platforms. */ 10111 return ferror (f) || fclose (f) != 0; 10112 10113 ; 10114 return 0; 10115 } 10116 _ACEOF 10117 rm -f conftest$ac_exeext 10118 if { (ac_try="$ac_link" 10119 case "(($ac_try" in 10120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10121 *) ac_try_echo=$ac_try;; 10122 esac 10123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10124 $as_echo "$ac_try_echo") >&5 10125 (eval "$ac_link") 2>&5 10126 ac_status=$? 10127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10128 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10129 { (case "(($ac_try" in 10130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10131 *) ac_try_echo=$ac_try;; 10132 esac 10133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10134 $as_echo "$ac_try_echo") >&5 10135 (eval "$ac_try") 2>&5 10136 ac_status=$? 10137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10138 (exit $ac_status); }; }; then 10139 ac_cv_sizeof_long=`cat conftest.val` 10140 else 10141 $as_echo "$as_me: program exited with status $ac_status" >&5 10142 $as_echo "$as_me: failed program was:" >&5 10143 sed 's/^/| /' conftest.$ac_ext >&5 10144 10145 ( exit $ac_status ) 10146 if test "$ac_cv_type_long" = yes; then 10147 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10149 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 10150 See \`config.log' for more details." >&5 10151 $as_echo "$as_me: error: cannot compute sizeof (long) 10152 See \`config.log' for more details." >&2;} 10153 { (exit 77); exit 77; }; }; } 8049 as_fn_error 77 "cannot compute sizeof (long) 8050 See \`config.log' for more details" "$LINENO" 5; } 10154 8051 else 10155 8052 ac_cv_sizeof_long=0 10156 8053 fi 10157 8054 fi 10158 rm -rf conftest.dSYM 10159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10160 fi 10161 rm -f conftest.val 10162 fi 10163 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 8055 8056 fi 8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 10164 8058 $as_echo "$ac_cv_sizeof_long" >&6; } 10165 8059 … … 10175 8069 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 10176 8070 # This bug is HP SR number 8606223364. 10177 { $as_echo "$as_me:$ LINENO: checking size of long long" >&58071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 10178 8072 $as_echo_n "checking size of long long... " >&6; } 10179 if test "${ac_cv_sizeof_long_long+set}" = set; then8073 if ${ac_cv_sizeof_long_long+:} false; then : 10180 8074 $as_echo_n "(cached) " >&6 10181 8075 else 10182 if test "$cross_compiling" = yes; then 10183 # Depending upon the size, compute the lo and hi bounds. 10184 cat >conftest.$ac_ext <<_ACEOF 10185 /* confdefs.h. */ 10186 _ACEOF 10187 cat confdefs.h >>conftest.$ac_ext 10188 cat >>conftest.$ac_ext <<_ACEOF 10189 /* end confdefs.h. */ 10190 $ac_includes_default 10191 int 10192 main () 10193 { 10194 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)]; 10195 test_array [0] = 0 10196 10197 ; 10198 return 0; 10199 } 10200 _ACEOF 10201 rm -f conftest.$ac_objext 10202 if { (ac_try="$ac_compile" 10203 case "(($ac_try" in 10204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10205 *) ac_try_echo=$ac_try;; 10206 esac 10207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10208 $as_echo "$ac_try_echo") >&5 10209 (eval "$ac_compile") 2>conftest.er1 10210 ac_status=$? 10211 grep -v '^ *+' conftest.er1 >conftest.err 10212 rm -f conftest.er1 10213 cat conftest.err >&5 10214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10215 (exit $ac_status); } && { 10216 test -z "$ac_cxx_werror_flag" || 10217 test ! -s conftest.err 10218 } && test -s conftest.$ac_objext; then 10219 ac_lo=0 ac_mid=0 10220 while :; do 10221 cat >conftest.$ac_ext <<_ACEOF 10222 /* confdefs.h. */ 10223 _ACEOF 10224 cat confdefs.h >>conftest.$ac_ext 10225 cat >>conftest.$ac_ext <<_ACEOF 10226 /* end confdefs.h. */ 10227 $ac_includes_default 10228 int 10229 main () 10230 { 10231 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 10232 test_array [0] = 0 10233 10234 ; 10235 return 0; 10236 } 10237 _ACEOF 10238 rm -f conftest.$ac_objext 10239 if { (ac_try="$ac_compile" 10240 case "(($ac_try" in 10241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10242 *) ac_try_echo=$ac_try;; 10243 esac 10244 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10245 $as_echo "$ac_try_echo") >&5 10246 (eval "$ac_compile") 2>conftest.er1 10247 ac_status=$? 10248 grep -v '^ *+' conftest.er1 >conftest.err 10249 rm -f conftest.er1 10250 cat conftest.err >&5 10251 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10252 (exit $ac_status); } && { 10253 test -z "$ac_cxx_werror_flag" || 10254 test ! -s conftest.err 10255 } && test -s conftest.$ac_objext; then 10256 ac_hi=$ac_mid; break 10257 else 10258 $as_echo "$as_me: failed program was:" >&5 10259 sed 's/^/| /' conftest.$ac_ext >&5 10260 10261 ac_lo=`expr $ac_mid + 1` 10262 if test $ac_lo -le $ac_mid; then 10263 ac_lo= ac_hi= 10264 break 10265 fi 10266 ac_mid=`expr 2 '*' $ac_mid + 1` 10267 fi 10268 10269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10270 done 10271 else 10272 $as_echo "$as_me: failed program was:" >&5 10273 sed 's/^/| /' conftest.$ac_ext >&5 10274 10275 cat >conftest.$ac_ext <<_ACEOF 10276 /* confdefs.h. */ 10277 _ACEOF 10278 cat confdefs.h >>conftest.$ac_ext 10279 cat >>conftest.$ac_ext <<_ACEOF 10280 /* end confdefs.h. */ 10281 $ac_includes_default 10282 int 10283 main () 10284 { 10285 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)]; 10286 test_array [0] = 0 10287 10288 ; 10289 return 0; 10290 } 10291 _ACEOF 10292 rm -f conftest.$ac_objext 10293 if { (ac_try="$ac_compile" 10294 case "(($ac_try" in 10295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10296 *) ac_try_echo=$ac_try;; 10297 esac 10298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10299 $as_echo "$ac_try_echo") >&5 10300 (eval "$ac_compile") 2>conftest.er1 10301 ac_status=$? 10302 grep -v '^ *+' conftest.er1 >conftest.err 10303 rm -f conftest.er1 10304 cat conftest.err >&5 10305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10306 (exit $ac_status); } && { 10307 test -z "$ac_cxx_werror_flag" || 10308 test ! -s conftest.err 10309 } && test -s conftest.$ac_objext; then 10310 ac_hi=-1 ac_mid=-1 10311 while :; do 10312 cat >conftest.$ac_ext <<_ACEOF 10313 /* confdefs.h. */ 10314 _ACEOF 10315 cat confdefs.h >>conftest.$ac_ext 10316 cat >>conftest.$ac_ext <<_ACEOF 10317 /* end confdefs.h. */ 10318 $ac_includes_default 10319 int 10320 main () 10321 { 10322 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)]; 10323 test_array [0] = 0 10324 10325 ; 10326 return 0; 10327 } 10328 _ACEOF 10329 rm -f conftest.$ac_objext 10330 if { (ac_try="$ac_compile" 10331 case "(($ac_try" in 10332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10333 *) ac_try_echo=$ac_try;; 10334 esac 10335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10336 $as_echo "$ac_try_echo") >&5 10337 (eval "$ac_compile") 2>conftest.er1 10338 ac_status=$? 10339 grep -v '^ *+' conftest.er1 >conftest.err 10340 rm -f conftest.er1 10341 cat conftest.err >&5 10342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10343 (exit $ac_status); } && { 10344 test -z "$ac_cxx_werror_flag" || 10345 test ! -s conftest.err 10346 } && test -s conftest.$ac_objext; then 10347 ac_lo=$ac_mid; break 10348 else 10349 $as_echo "$as_me: failed program was:" >&5 10350 sed 's/^/| /' conftest.$ac_ext >&5 10351 10352 ac_hi=`expr '(' $ac_mid ')' - 1` 10353 if test $ac_mid -le $ac_hi; then 10354 ac_lo= ac_hi= 10355 break 10356 fi 10357 ac_mid=`expr 2 '*' $ac_mid` 10358 fi 10359 10360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10361 done 10362 else 10363 $as_echo "$as_me: failed program was:" >&5 10364 sed 's/^/| /' conftest.$ac_ext >&5 10365 10366 ac_lo= ac_hi= 10367 fi 10368 10369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10370 fi 10371 10372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10373 # Binary search between lo and hi bounds. 10374 while test "x$ac_lo" != "x$ac_hi"; do 10375 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10376 cat >conftest.$ac_ext <<_ACEOF 10377 /* confdefs.h. */ 10378 _ACEOF 10379 cat confdefs.h >>conftest.$ac_ext 10380 cat >>conftest.$ac_ext <<_ACEOF 10381 /* end confdefs.h. */ 10382 $ac_includes_default 10383 int 10384 main () 10385 { 10386 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 10387 test_array [0] = 0 10388 10389 ; 10390 return 0; 10391 } 10392 _ACEOF 10393 rm -f conftest.$ac_objext 10394 if { (ac_try="$ac_compile" 10395 case "(($ac_try" in 10396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10397 *) ac_try_echo=$ac_try;; 10398 esac 10399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10400 $as_echo "$ac_try_echo") >&5 10401 (eval "$ac_compile") 2>conftest.er1 10402 ac_status=$? 10403 grep -v '^ *+' conftest.er1 >conftest.err 10404 rm -f conftest.er1 10405 cat conftest.err >&5 10406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10407 (exit $ac_status); } && { 10408 test -z "$ac_cxx_werror_flag" || 10409 test ! -s conftest.err 10410 } && test -s conftest.$ac_objext; then 10411 ac_hi=$ac_mid 10412 else 10413 $as_echo "$as_me: failed program was:" >&5 10414 sed 's/^/| /' conftest.$ac_ext >&5 10415 10416 ac_lo=`expr '(' $ac_mid ')' + 1` 10417 fi 10418 10419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10420 done 10421 case $ac_lo in 10422 ?*) ac_cv_sizeof_long_long=$ac_lo;; 10423 '') if test "$ac_cv_type_long_long" = yes; then 10424 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8076 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 8077 8078 else 8079 if test "$ac_cv_type_long_long" = yes; then 8080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10425 8081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10426 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10427 See \`config.log' for more details." >&5 10428 $as_echo "$as_me: error: cannot compute sizeof (long long) 10429 See \`config.log' for more details." >&2;} 10430 { (exit 77); exit 77; }; }; } 10431 else 10432 ac_cv_sizeof_long_long=0 10433 fi ;; 10434 esac 10435 else 10436 cat >conftest.$ac_ext <<_ACEOF 10437 /* confdefs.h. */ 10438 _ACEOF 10439 cat confdefs.h >>conftest.$ac_ext 10440 cat >>conftest.$ac_ext <<_ACEOF 10441 /* end confdefs.h. */ 10442 $ac_includes_default 10443 static long int longval () { return (long int) (sizeof (long long)); } 10444 static unsigned long int ulongval () { return (long int) (sizeof (long long)); } 10445 #include <stdio.h> 10446 #include <stdlib.h> 10447 int 10448 main () 10449 { 10450 10451 FILE *f = fopen ("conftest.val", "w"); 10452 if (! f) 10453 return 1; 10454 if (((long int) (sizeof (long long))) < 0) 10455 { 10456 long int i = longval (); 10457 if (i != ((long int) (sizeof (long long)))) 10458 return 1; 10459 fprintf (f, "%ld", i); 10460 } 10461 else 10462 { 10463 unsigned long int i = ulongval (); 10464 if (i != ((long int) (sizeof (long long)))) 10465 return 1; 10466 fprintf (f, "%lu", i); 10467 } 10468 /* Do not output a trailing newline, as this causes \r\n confusion 10469 on some platforms. */ 10470 return ferror (f) || fclose (f) != 0; 10471 10472 ; 10473 return 0; 10474 } 10475 _ACEOF 10476 rm -f conftest$ac_exeext 10477 if { (ac_try="$ac_link" 10478 case "(($ac_try" in 10479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10480 *) ac_try_echo=$ac_try;; 10481 esac 10482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10483 $as_echo "$ac_try_echo") >&5 10484 (eval "$ac_link") 2>&5 10485 ac_status=$? 10486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10488 { (case "(($ac_try" in 10489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10490 *) ac_try_echo=$ac_try;; 10491 esac 10492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10493 $as_echo "$ac_try_echo") >&5 10494 (eval "$ac_try") 2>&5 10495 ac_status=$? 10496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10497 (exit $ac_status); }; }; then 10498 ac_cv_sizeof_long_long=`cat conftest.val` 10499 else 10500 $as_echo "$as_me: program exited with status $ac_status" >&5 10501 $as_echo "$as_me: failed program was:" >&5 10502 sed 's/^/| /' conftest.$ac_ext >&5 10503 10504 ( exit $ac_status ) 10505 if test "$ac_cv_type_long_long" = yes; then 10506 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10508 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10509 See \`config.log' for more details." >&5 10510 $as_echo "$as_me: error: cannot compute sizeof (long long) 10511 See \`config.log' for more details." >&2;} 10512 { (exit 77); exit 77; }; }; } 8082 as_fn_error 77 "cannot compute sizeof (long long) 8083 See \`config.log' for more details" "$LINENO" 5; } 10513 8084 else 10514 8085 ac_cv_sizeof_long_long=0 10515 8086 fi 10516 8087 fi 10517 rm -rf conftest.dSYM 10518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10519 fi 10520 rm -f conftest.val 10521 fi 10522 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 8088 8089 fi 8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 10523 8091 $as_echo "$ac_cv_sizeof_long_long" >&6; } 10524 8092 … … 10534 8102 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 10535 8103 # This bug is HP SR number 8606223364. 10536 { $as_echo "$as_me:$ LINENO: checking size of void *" >&58104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 10537 8105 $as_echo_n "checking size of void *... " >&6; } 10538 if test "${ac_cv_sizeof_void_p+set}" = set; then8106 if ${ac_cv_sizeof_void_p+:} false; then : 10539 8107 $as_echo_n "(cached) " >&6 10540 8108 else 10541 if test "$cross_compiling" = yes; then 10542 # Depending upon the size, compute the lo and hi bounds. 10543 cat >conftest.$ac_ext <<_ACEOF 10544 /* confdefs.h. */ 10545 _ACEOF 10546 cat confdefs.h >>conftest.$ac_ext 10547 cat >>conftest.$ac_ext <<_ACEOF 10548 /* end confdefs.h. */ 10549 $ac_includes_default 10550 int 10551 main () 10552 { 10553 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)]; 10554 test_array [0] = 0 10555 10556 ; 10557 return 0; 10558 } 10559 _ACEOF 10560 rm -f conftest.$ac_objext 10561 if { (ac_try="$ac_compile" 10562 case "(($ac_try" in 10563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10564 *) ac_try_echo=$ac_try;; 10565 esac 10566 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10567 $as_echo "$ac_try_echo") >&5 10568 (eval "$ac_compile") 2>conftest.er1 10569 ac_status=$? 10570 grep -v '^ *+' conftest.er1 >conftest.err 10571 rm -f conftest.er1 10572 cat conftest.err >&5 10573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10574 (exit $ac_status); } && { 10575 test -z "$ac_cxx_werror_flag" || 10576 test ! -s conftest.err 10577 } && test -s conftest.$ac_objext; then 10578 ac_lo=0 ac_mid=0 10579 while :; do 10580 cat >conftest.$ac_ext <<_ACEOF 10581 /* confdefs.h. */ 10582 _ACEOF 10583 cat confdefs.h >>conftest.$ac_ext 10584 cat >>conftest.$ac_ext <<_ACEOF 10585 /* end confdefs.h. */ 10586 $ac_includes_default 10587 int 10588 main () 10589 { 10590 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10591 test_array [0] = 0 10592 10593 ; 10594 return 0; 10595 } 10596 _ACEOF 10597 rm -f conftest.$ac_objext 10598 if { (ac_try="$ac_compile" 10599 case "(($ac_try" in 10600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10601 *) ac_try_echo=$ac_try;; 10602 esac 10603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10604 $as_echo "$ac_try_echo") >&5 10605 (eval "$ac_compile") 2>conftest.er1 10606 ac_status=$? 10607 grep -v '^ *+' conftest.er1 >conftest.err 10608 rm -f conftest.er1 10609 cat conftest.err >&5 10610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10611 (exit $ac_status); } && { 10612 test -z "$ac_cxx_werror_flag" || 10613 test ! -s conftest.err 10614 } && test -s conftest.$ac_objext; then 10615 ac_hi=$ac_mid; break 10616 else 10617 $as_echo "$as_me: failed program was:" >&5 10618 sed 's/^/| /' conftest.$ac_ext >&5 10619 10620 ac_lo=`expr $ac_mid + 1` 10621 if test $ac_lo -le $ac_mid; then 10622 ac_lo= ac_hi= 10623 break 10624 fi 10625 ac_mid=`expr 2 '*' $ac_mid + 1` 10626 fi 10627 10628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10629 done 10630 else 10631 $as_echo "$as_me: failed program was:" >&5 10632 sed 's/^/| /' conftest.$ac_ext >&5 10633 10634 cat >conftest.$ac_ext <<_ACEOF 10635 /* confdefs.h. */ 10636 _ACEOF 10637 cat confdefs.h >>conftest.$ac_ext 10638 cat >>conftest.$ac_ext <<_ACEOF 10639 /* end confdefs.h. */ 10640 $ac_includes_default 10641 int 10642 main () 10643 { 10644 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)]; 10645 test_array [0] = 0 10646 10647 ; 10648 return 0; 10649 } 10650 _ACEOF 10651 rm -f conftest.$ac_objext 10652 if { (ac_try="$ac_compile" 10653 case "(($ac_try" in 10654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10655 *) ac_try_echo=$ac_try;; 10656 esac 10657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10658 $as_echo "$ac_try_echo") >&5 10659 (eval "$ac_compile") 2>conftest.er1 10660 ac_status=$? 10661 grep -v '^ *+' conftest.er1 >conftest.err 10662 rm -f conftest.er1 10663 cat conftest.err >&5 10664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10665 (exit $ac_status); } && { 10666 test -z "$ac_cxx_werror_flag" || 10667 test ! -s conftest.err 10668 } && test -s conftest.$ac_objext; then 10669 ac_hi=-1 ac_mid=-1 10670 while :; do 10671 cat >conftest.$ac_ext <<_ACEOF 10672 /* confdefs.h. */ 10673 _ACEOF 10674 cat confdefs.h >>conftest.$ac_ext 10675 cat >>conftest.$ac_ext <<_ACEOF 10676 /* end confdefs.h. */ 10677 $ac_includes_default 10678 int 10679 main () 10680 { 10681 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)]; 10682 test_array [0] = 0 10683 10684 ; 10685 return 0; 10686 } 10687 _ACEOF 10688 rm -f conftest.$ac_objext 10689 if { (ac_try="$ac_compile" 10690 case "(($ac_try" in 10691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10692 *) ac_try_echo=$ac_try;; 10693 esac 10694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10695 $as_echo "$ac_try_echo") >&5 10696 (eval "$ac_compile") 2>conftest.er1 10697 ac_status=$? 10698 grep -v '^ *+' conftest.er1 >conftest.err 10699 rm -f conftest.er1 10700 cat conftest.err >&5 10701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10702 (exit $ac_status); } && { 10703 test -z "$ac_cxx_werror_flag" || 10704 test ! -s conftest.err 10705 } && test -s conftest.$ac_objext; then 10706 ac_lo=$ac_mid; break 10707 else 10708 $as_echo "$as_me: failed program was:" >&5 10709 sed 's/^/| /' conftest.$ac_ext >&5 10710 10711 ac_hi=`expr '(' $ac_mid ')' - 1` 10712 if test $ac_mid -le $ac_hi; then 10713 ac_lo= ac_hi= 10714 break 10715 fi 10716 ac_mid=`expr 2 '*' $ac_mid` 10717 fi 10718 10719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10720 done 10721 else 10722 $as_echo "$as_me: failed program was:" >&5 10723 sed 's/^/| /' conftest.$ac_ext >&5 10724 10725 ac_lo= ac_hi= 10726 fi 10727 10728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10729 fi 10730 10731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10732 # Binary search between lo and hi bounds. 10733 while test "x$ac_lo" != "x$ac_hi"; do 10734 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10735 cat >conftest.$ac_ext <<_ACEOF 10736 /* confdefs.h. */ 10737 _ACEOF 10738 cat confdefs.h >>conftest.$ac_ext 10739 cat >>conftest.$ac_ext <<_ACEOF 10740 /* end confdefs.h. */ 10741 $ac_includes_default 10742 int 10743 main () 10744 { 10745 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10746 test_array [0] = 0 10747 10748 ; 10749 return 0; 10750 } 10751 _ACEOF 10752 rm -f conftest.$ac_objext 10753 if { (ac_try="$ac_compile" 10754 case "(($ac_try" in 10755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10756 *) ac_try_echo=$ac_try;; 10757 esac 10758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10759 $as_echo "$ac_try_echo") >&5 10760 (eval "$ac_compile") 2>conftest.er1 10761 ac_status=$? 10762 grep -v '^ *+' conftest.er1 >conftest.err 10763 rm -f conftest.er1 10764 cat conftest.err >&5 10765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10766 (exit $ac_status); } && { 10767 test -z "$ac_cxx_werror_flag" || 10768 test ! -s conftest.err 10769 } && test -s conftest.$ac_objext; then 10770 ac_hi=$ac_mid 10771 else 10772 $as_echo "$as_me: failed program was:" >&5 10773 sed 's/^/| /' conftest.$ac_ext >&5 10774 10775 ac_lo=`expr '(' $ac_mid ')' + 1` 10776 fi 10777 10778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10779 done 10780 case $ac_lo in 10781 ?*) ac_cv_sizeof_void_p=$ac_lo;; 10782 '') if test "$ac_cv_type_void_p" = yes; then 10783 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8109 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 8110 8111 else 8112 if test "$ac_cv_type_void_p" = yes; then 8113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10784 8114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10785 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10786 See \`config.log' for more details." >&5 10787 $as_echo "$as_me: error: cannot compute sizeof (void *) 10788 See \`config.log' for more details." >&2;} 10789 { (exit 77); exit 77; }; }; } 10790 else 10791 ac_cv_sizeof_void_p=0 10792 fi ;; 10793 esac 10794 else 10795 cat >conftest.$ac_ext <<_ACEOF 10796 /* confdefs.h. */ 10797 _ACEOF 10798 cat confdefs.h >>conftest.$ac_ext 10799 cat >>conftest.$ac_ext <<_ACEOF 10800 /* end confdefs.h. */ 10801 $ac_includes_default 10802 static long int longval () { return (long int) (sizeof (void *)); } 10803 static unsigned long int ulongval () { return (long int) (sizeof (void *)); } 10804 #include <stdio.h> 10805 #include <stdlib.h> 10806 int 10807 main () 10808 { 10809 10810 FILE *f = fopen ("conftest.val", "w"); 10811 if (! f) 10812 return 1; 10813 if (((long int) (sizeof (void *))) < 0) 10814 { 10815 long int i = longval (); 10816 if (i != ((long int) (sizeof (void *)))) 10817 return 1; 10818 fprintf (f, "%ld", i); 10819 } 10820 else 10821 { 10822 unsigned long int i = ulongval (); 10823 if (i != ((long int) (sizeof (void *)))) 10824 return 1; 10825 fprintf (f, "%lu", i); 10826 } 10827 /* Do not output a trailing newline, as this causes \r\n confusion 10828 on some platforms. */ 10829 return ferror (f) || fclose (f) != 0; 10830 10831 ; 10832 return 0; 10833 } 10834 _ACEOF 10835 rm -f conftest$ac_exeext 10836 if { (ac_try="$ac_link" 10837 case "(($ac_try" in 10838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10839 *) ac_try_echo=$ac_try;; 10840 esac 10841 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10842 $as_echo "$ac_try_echo") >&5 10843 (eval "$ac_link") 2>&5 10844 ac_status=$? 10845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10846 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10847 { (case "(($ac_try" in 10848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10849 *) ac_try_echo=$ac_try;; 10850 esac 10851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10852 $as_echo "$ac_try_echo") >&5 10853 (eval "$ac_try") 2>&5 10854 ac_status=$? 10855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10856 (exit $ac_status); }; }; then 10857 ac_cv_sizeof_void_p=`cat conftest.val` 10858 else 10859 $as_echo "$as_me: program exited with status $ac_status" >&5 10860 $as_echo "$as_me: failed program was:" >&5 10861 sed 's/^/| /' conftest.$ac_ext >&5 10862 10863 ( exit $ac_status ) 10864 if test "$ac_cv_type_void_p" = yes; then 10865 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10867 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10868 See \`config.log' for more details." >&5 10869 $as_echo "$as_me: error: cannot compute sizeof (void *) 10870 See \`config.log' for more details." >&2;} 10871 { (exit 77); exit 77; }; }; } 8115 as_fn_error 77 "cannot compute sizeof (void *) 8116 See \`config.log' for more details" "$LINENO" 5; } 10872 8117 else 10873 8118 ac_cv_sizeof_void_p=0 10874 8119 fi 10875 8120 fi 10876 rm -rf conftest.dSYM 10877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10878 fi 10879 rm -f conftest.val 10880 fi 10881 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 8121 8122 fi 8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 10882 8124 $as_echo "$ac_cv_sizeof_void_p" >&6; } 10883 8125 … … 10893 8135 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 10894 8136 # This bug is HP SR number 8606223364. 10895 { $as_echo "$as_me:$ LINENO: checking size of float" >&58137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5 10896 8138 $as_echo_n "checking size of float... " >&6; } 10897 if test "${ac_cv_sizeof_float+set}" = set; then8139 if ${ac_cv_sizeof_float+:} false; then : 10898 8140 $as_echo_n "(cached) " >&6 10899 8141 else 10900 if test "$cross_compiling" = yes; then 10901 # Depending upon the size, compute the lo and hi bounds. 10902 cat >conftest.$ac_ext <<_ACEOF 10903 /* confdefs.h. */ 10904 _ACEOF 10905 cat confdefs.h >>conftest.$ac_ext 10906 cat >>conftest.$ac_ext <<_ACEOF 10907 /* end confdefs.h. */ 10908 $ac_includes_default 10909 int 10910 main () 10911 { 10912 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)]; 10913 test_array [0] = 0 10914 10915 ; 10916 return 0; 10917 } 10918 _ACEOF 10919 rm -f conftest.$ac_objext 10920 if { (ac_try="$ac_compile" 10921 case "(($ac_try" in 10922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10923 *) ac_try_echo=$ac_try;; 10924 esac 10925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10926 $as_echo "$ac_try_echo") >&5 10927 (eval "$ac_compile") 2>conftest.er1 10928 ac_status=$? 10929 grep -v '^ *+' conftest.er1 >conftest.err 10930 rm -f conftest.er1 10931 cat conftest.err >&5 10932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10933 (exit $ac_status); } && { 10934 test -z "$ac_cxx_werror_flag" || 10935 test ! -s conftest.err 10936 } && test -s conftest.$ac_objext; then 10937 ac_lo=0 ac_mid=0 10938 while :; do 10939 cat >conftest.$ac_ext <<_ACEOF 10940 /* confdefs.h. */ 10941 _ACEOF 10942 cat confdefs.h >>conftest.$ac_ext 10943 cat >>conftest.$ac_ext <<_ACEOF 10944 /* end confdefs.h. */ 10945 $ac_includes_default 10946 int 10947 main () 10948 { 10949 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 10950 test_array [0] = 0 10951 10952 ; 10953 return 0; 10954 } 10955 _ACEOF 10956 rm -f conftest.$ac_objext 10957 if { (ac_try="$ac_compile" 10958 case "(($ac_try" in 10959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10960 *) ac_try_echo=$ac_try;; 10961 esac 10962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10963 $as_echo "$ac_try_echo") >&5 10964 (eval "$ac_compile") 2>conftest.er1 10965 ac_status=$? 10966 grep -v '^ *+' conftest.er1 >conftest.err 10967 rm -f conftest.er1 10968 cat conftest.err >&5 10969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10970 (exit $ac_status); } && { 10971 test -z "$ac_cxx_werror_flag" || 10972 test ! -s conftest.err 10973 } && test -s conftest.$ac_objext; then 10974 ac_hi=$ac_mid; break 10975 else 10976 $as_echo "$as_me: failed program was:" >&5 10977 sed 's/^/| /' conftest.$ac_ext >&5 10978 10979 ac_lo=`expr $ac_mid + 1` 10980 if test $ac_lo -le $ac_mid; then 10981 ac_lo= ac_hi= 10982 break 10983 fi 10984 ac_mid=`expr 2 '*' $ac_mid + 1` 10985 fi 10986 10987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10988 done 10989 else 10990 $as_echo "$as_me: failed program was:" >&5 10991 sed 's/^/| /' conftest.$ac_ext >&5 10992 10993 cat >conftest.$ac_ext <<_ACEOF 10994 /* confdefs.h. */ 10995 _ACEOF 10996 cat confdefs.h >>conftest.$ac_ext 10997 cat >>conftest.$ac_ext <<_ACEOF 10998 /* end confdefs.h. */ 10999 $ac_includes_default 11000 int 11001 main () 11002 { 11003 static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)]; 11004 test_array [0] = 0 11005 11006 ; 11007 return 0; 11008 } 11009 _ACEOF 11010 rm -f conftest.$ac_objext 11011 if { (ac_try="$ac_compile" 11012 case "(($ac_try" in 11013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11014 *) ac_try_echo=$ac_try;; 11015 esac 11016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11017 $as_echo "$ac_try_echo") >&5 11018 (eval "$ac_compile") 2>conftest.er1 11019 ac_status=$? 11020 grep -v '^ *+' conftest.er1 >conftest.err 11021 rm -f conftest.er1 11022 cat conftest.err >&5 11023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11024 (exit $ac_status); } && { 11025 test -z "$ac_cxx_werror_flag" || 11026 test ! -s conftest.err 11027 } && test -s conftest.$ac_objext; then 11028 ac_hi=-1 ac_mid=-1 11029 while :; do 11030 cat >conftest.$ac_ext <<_ACEOF 11031 /* confdefs.h. */ 11032 _ACEOF 11033 cat confdefs.h >>conftest.$ac_ext 11034 cat >>conftest.$ac_ext <<_ACEOF 11035 /* end confdefs.h. */ 11036 $ac_includes_default 11037 int 11038 main () 11039 { 11040 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)]; 11041 test_array [0] = 0 11042 11043 ; 11044 return 0; 11045 } 11046 _ACEOF 11047 rm -f conftest.$ac_objext 11048 if { (ac_try="$ac_compile" 11049 case "(($ac_try" in 11050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11051 *) ac_try_echo=$ac_try;; 11052 esac 11053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11054 $as_echo "$ac_try_echo") >&5 11055 (eval "$ac_compile") 2>conftest.er1 11056 ac_status=$? 11057 grep -v '^ *+' conftest.er1 >conftest.err 11058 rm -f conftest.er1 11059 cat conftest.err >&5 11060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11061 (exit $ac_status); } && { 11062 test -z "$ac_cxx_werror_flag" || 11063 test ! -s conftest.err 11064 } && test -s conftest.$ac_objext; then 11065 ac_lo=$ac_mid; break 11066 else 11067 $as_echo "$as_me: failed program was:" >&5 11068 sed 's/^/| /' conftest.$ac_ext >&5 11069 11070 ac_hi=`expr '(' $ac_mid ')' - 1` 11071 if test $ac_mid -le $ac_hi; then 11072 ac_lo= ac_hi= 11073 break 11074 fi 11075 ac_mid=`expr 2 '*' $ac_mid` 11076 fi 11077 11078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11079 done 11080 else 11081 $as_echo "$as_me: failed program was:" >&5 11082 sed 's/^/| /' conftest.$ac_ext >&5 11083 11084 ac_lo= ac_hi= 11085 fi 11086 11087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11088 fi 11089 11090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11091 # Binary search between lo and hi bounds. 11092 while test "x$ac_lo" != "x$ac_hi"; do 11093 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 11094 cat >conftest.$ac_ext <<_ACEOF 11095 /* confdefs.h. */ 11096 _ACEOF 11097 cat confdefs.h >>conftest.$ac_ext 11098 cat >>conftest.$ac_ext <<_ACEOF 11099 /* end confdefs.h. */ 11100 $ac_includes_default 11101 int 11102 main () 11103 { 11104 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 11105 test_array [0] = 0 11106 11107 ; 11108 return 0; 11109 } 11110 _ACEOF 11111 rm -f conftest.$ac_objext 11112 if { (ac_try="$ac_compile" 11113 case "(($ac_try" in 11114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11115 *) ac_try_echo=$ac_try;; 11116 esac 11117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11118 $as_echo "$ac_try_echo") >&5 11119 (eval "$ac_compile") 2>conftest.er1 11120 ac_status=$? 11121 grep -v '^ *+' conftest.er1 >conftest.err 11122 rm -f conftest.er1 11123 cat conftest.err >&5 11124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11125 (exit $ac_status); } && { 11126 test -z "$ac_cxx_werror_flag" || 11127 test ! -s conftest.err 11128 } && test -s conftest.$ac_objext; then 11129 ac_hi=$ac_mid 11130 else 11131 $as_echo "$as_me: failed program was:" >&5 11132 sed 's/^/| /' conftest.$ac_ext >&5 11133 11134 ac_lo=`expr '(' $ac_mid ')' + 1` 11135 fi 11136 11137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11138 done 11139 case $ac_lo in 11140 ?*) ac_cv_sizeof_float=$ac_lo;; 11141 '') if test "$ac_cv_type_float" = yes; then 11142 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8142 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then : 8143 8144 else 8145 if test "$ac_cv_type_float" = yes; then 8146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11143 8147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11144 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 11145 See \`config.log' for more details." >&5 11146 $as_echo "$as_me: error: cannot compute sizeof (float) 11147 See \`config.log' for more details." >&2;} 11148 { (exit 77); exit 77; }; }; } 11149 else 11150 ac_cv_sizeof_float=0 11151 fi ;; 11152 esac 11153 else 11154 cat >conftest.$ac_ext <<_ACEOF 11155 /* confdefs.h. */ 11156 _ACEOF 11157 cat confdefs.h >>conftest.$ac_ext 11158 cat >>conftest.$ac_ext <<_ACEOF 11159 /* end confdefs.h. */ 11160 $ac_includes_default 11161 static long int longval () { return (long int) (sizeof (float)); } 11162 static unsigned long int ulongval () { return (long int) (sizeof (float)); } 11163 #include <stdio.h> 11164 #include <stdlib.h> 11165 int 11166 main () 11167 { 11168 11169 FILE *f = fopen ("conftest.val", "w"); 11170 if (! f) 11171 return 1; 11172 if (((long int) (sizeof (float))) < 0) 11173 { 11174 long int i = longval (); 11175 if (i != ((long int) (sizeof (float)))) 11176 return 1; 11177 fprintf (f, "%ld", i); 11178 } 11179 else 11180 { 11181 unsigned long int i = ulongval (); 11182 if (i != ((long int) (sizeof (float)))) 11183 return 1; 11184 fprintf (f, "%lu", i); 11185 } 11186 /* Do not output a trailing newline, as this causes \r\n confusion 11187 on some platforms. */ 11188 return ferror (f) || fclose (f) != 0; 11189 11190 ; 11191 return 0; 11192 } 11193 _ACEOF 11194 rm -f conftest$ac_exeext 11195 if { (ac_try="$ac_link" 11196 case "(($ac_try" in 11197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11198 *) ac_try_echo=$ac_try;; 11199 esac 11200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11201 $as_echo "$ac_try_echo") >&5 11202 (eval "$ac_link") 2>&5 11203 ac_status=$? 11204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11205 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11206 { (case "(($ac_try" in 11207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11208 *) ac_try_echo=$ac_try;; 11209 esac 11210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11211 $as_echo "$ac_try_echo") >&5 11212 (eval "$ac_try") 2>&5 11213 ac_status=$? 11214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11215 (exit $ac_status); }; }; then 11216 ac_cv_sizeof_float=`cat conftest.val` 11217 else 11218 $as_echo "$as_me: program exited with status $ac_status" >&5 11219 $as_echo "$as_me: failed program was:" >&5 11220 sed 's/^/| /' conftest.$ac_ext >&5 11221 11222 ( exit $ac_status ) 11223 if test "$ac_cv_type_float" = yes; then 11224 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 11225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11226 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 11227 See \`config.log' for more details." >&5 11228 $as_echo "$as_me: error: cannot compute sizeof (float) 11229 See \`config.log' for more details." >&2;} 11230 { (exit 77); exit 77; }; }; } 8148 as_fn_error 77 "cannot compute sizeof (float) 8149 See \`config.log' for more details" "$LINENO" 5; } 11231 8150 else 11232 8151 ac_cv_sizeof_float=0 11233 8152 fi 11234 8153 fi 11235 rm -rf conftest.dSYM 11236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11237 fi 11238 rm -f conftest.val 11239 fi 11240 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5 8154 8155 fi 8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 11241 8157 $as_echo "$ac_cv_sizeof_float" >&6; } 11242 8158 … … 11294 8210 11295 8211 RP_DIR="" 11296 { $as_echo "$as_me:$ LINENO: checking for rappture" >&58212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rappture" >&5 11297 8213 $as_echo_n "checking for rappture... " >&6; } 11298 8214 if test "$with_rappture" == "yes" ; then … … 11303 8219 RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2" 11304 8220 RP_LIB_DIR="$dir/lib" 11305 { $as_echo "$as_me:$ LINENO: result: $dir" >&58221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dir" >&5 11306 8222 $as_echo "$dir" >&6; } 11307 8223 break … … 11310 8226 else 11311 8227 if test ! -d "$with_rappture" ; then 11312 { { $as_echo "$as_me:$LINENO: error: --with-rappture: no such directory $with_rappture" >&5 11313 $as_echo "$as_me: error: --with-rappture: no such directory $with_rappture" >&2;} 11314 { (exit 1); exit 1; }; } 8228 as_fn_error $? "--with-rappture: no such directory $with_rappture" "$LINENO" 5 11315 8229 fi 11316 8230 RP_DIR=$with_rappture … … 11319 8233 fi 11320 8234 if test "x${RP_DIR}" = "x" ; then 11321 { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&5 11322 $as_echo "$as_me: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&2;} 11323 { (exit 1); exit 1; }; } 11324 else 11325 { $as_echo "$as_me:$LINENO: result: $with_rappture" >&5 8235 as_fn_error $? "cannot find rappture.h and librappture2.a, try using --with-rappture" "$LINENO" 5 8236 else 8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_rappture" >&5 11326 8238 $as_echo "$with_rappture" >&6; } 11327 8239 fi … … 11354 8266 CPPFLAGS=$VTK_INC_SPEC 11355 8267 11356 11357 8268 for ac_header in vtkSmartPointer.h 11358 do 11359 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11361 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11362 $as_echo_n "checking for $ac_header... " >&6; } 11363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11364 $as_echo_n "(cached) " >&6 11365 fi 11366 ac_res=`eval 'as_val=${'$as_ac_Header'} 11367 $as_echo "$as_val"'` 11368 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11369 $as_echo "$ac_res" >&6; } 11370 else 11371 # Is the header compilable? 11372 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11373 $as_echo_n "checking $ac_header usability... " >&6; } 11374 cat >conftest.$ac_ext <<_ACEOF 11375 /* confdefs.h. */ 11376 _ACEOF 11377 cat confdefs.h >>conftest.$ac_ext 11378 cat >>conftest.$ac_ext <<_ACEOF 11379 /* end confdefs.h. */ 11380 $ac_includes_default 11381 #include <$ac_header> 11382 _ACEOF 11383 rm -f conftest.$ac_objext 11384 if { (ac_try="$ac_compile" 11385 case "(($ac_try" in 11386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11387 *) ac_try_echo=$ac_try;; 11388 esac 11389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11390 $as_echo "$ac_try_echo") >&5 11391 (eval "$ac_compile") 2>conftest.er1 11392 ac_status=$? 11393 grep -v '^ *+' conftest.er1 >conftest.err 11394 rm -f conftest.er1 11395 cat conftest.err >&5 11396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11397 (exit $ac_status); } && { 11398 test -z "$ac_cxx_werror_flag" || 11399 test ! -s conftest.err 11400 } && test -s conftest.$ac_objext; then 11401 ac_header_compiler=yes 11402 else 11403 $as_echo "$as_me: failed program was:" >&5 11404 sed 's/^/| /' conftest.$ac_ext >&5 11405 11406 ac_header_compiler=no 11407 fi 11408 11409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11410 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11411 $as_echo "$ac_header_compiler" >&6; } 11412 11413 # Is the header present? 11414 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11415 $as_echo_n "checking $ac_header presence... " >&6; } 11416 cat >conftest.$ac_ext <<_ACEOF 11417 /* confdefs.h. */ 11418 _ACEOF 11419 cat confdefs.h >>conftest.$ac_ext 11420 cat >>conftest.$ac_ext <<_ACEOF 11421 /* end confdefs.h. */ 11422 #include <$ac_header> 11423 _ACEOF 11424 if { (ac_try="$ac_cpp conftest.$ac_ext" 11425 case "(($ac_try" in 11426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11427 *) ac_try_echo=$ac_try;; 11428 esac 11429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11430 $as_echo "$ac_try_echo") >&5 11431 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11432 ac_status=$? 11433 grep -v '^ *+' conftest.er1 >conftest.err 11434 rm -f conftest.er1 11435 cat conftest.err >&5 11436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11437 (exit $ac_status); } >/dev/null && { 11438 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11439 test ! -s conftest.err 11440 }; then 11441 ac_header_preproc=yes 11442 else 11443 $as_echo "$as_me: failed program was:" >&5 11444 sed 's/^/| /' conftest.$ac_ext >&5 11445 11446 ac_header_preproc=no 11447 fi 11448 11449 rm -f conftest.err conftest.$ac_ext 11450 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11451 $as_echo "$ac_header_preproc" >&6; } 11452 11453 # So? What about this header? 11454 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11455 yes:no: ) 11456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11457 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11458 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11459 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11460 ac_header_preproc=yes 11461 ;; 11462 no:yes:* ) 11463 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11464 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11465 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11466 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11467 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11468 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11469 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11470 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11471 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11472 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11473 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11474 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11475 ( cat <<\_ASBOX 11476 ## ----------------------------------- ## 11477 ## Report this to rappture@nanohub.org ## 11478 ## ----------------------------------- ## 11479 _ASBOX 11480 ) | sed "s/^/$as_me: WARNING: /" >&2 11481 ;; 11482 esac 11483 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11484 $as_echo_n "checking for $ac_header... " >&6; } 11485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11486 $as_echo_n "(cached) " >&6 11487 else 11488 eval "$as_ac_Header=\$ac_header_preproc" 11489 fi 11490 ac_res=`eval 'as_val=${'$as_ac_Header'} 11491 $as_echo "$as_val"'` 11492 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11493 $as_echo "$ac_res" >&6; } 11494 11495 fi 11496 as_val=`eval 'as_val=${'$as_ac_Header'} 11497 $as_echo "$as_val"'` 11498 if test "x$as_val" = x""yes; then 8269 do : 8270 ac_fn_cxx_check_header_mongrel "$LINENO" "vtkSmartPointer.h" "ac_cv_header_vtkSmartPointer_h" "$ac_includes_default" 8271 if test "x$ac_cv_header_vtkSmartPointer_h" = xyes; then : 8272 cat >>confdefs.h <<_ACEOF 8273 #define HAVE_VTKSMARTPOINTER_H 1 8274 _ACEOF 8275 8276 else 8277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find vtkSmartPointer.h" >&5 8278 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;} 8279 fi 8280 8281 done 8282 8283 CPPFLAGS=$save_CPPFLAGS 8284 8285 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default" 8286 if test "x$ac_cv_header_GL_glut_h" = xyes; then : 8287 8288 fi 8289 8290 8291 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default" 8292 if test "x$ac_cv_header_GL_glew_h" = xyes; then : 8293 8294 fi 8295 8296 8297 8298 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 8299 do : 8300 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8301 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8302 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11499 8303 cat >>confdefs.h <<_ACEOF 11500 8304 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11501 8305 _ACEOF 11502 8306 11503 else11504 { $as_echo "$as_me:$LINENO: WARNING: cannot find vtkSmartPointer.h" >&511505 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;}11506 8307 fi 11507 8308 11508 8309 done 11509 8310 11510 CPPFLAGS=$save_CPPFLAGS 11511 11512 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11513 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 11514 $as_echo_n "checking for GL/glut.h... " >&6; } 11515 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11516 $as_echo_n "(cached) " >&6 11517 fi 11518 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 11519 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 11520 else 11521 # Is the header compilable? 11522 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5 11523 $as_echo_n "checking GL/glut.h usability... " >&6; } 11524 cat >conftest.$ac_ext <<_ACEOF 11525 /* confdefs.h. */ 11526 _ACEOF 11527 cat confdefs.h >>conftest.$ac_ext 11528 cat >>conftest.$ac_ext <<_ACEOF 11529 /* end confdefs.h. */ 11530 $ac_includes_default 11531 #include <GL/glut.h> 11532 _ACEOF 11533 rm -f conftest.$ac_objext 11534 if { (ac_try="$ac_compile" 11535 case "(($ac_try" in 11536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11537 *) ac_try_echo=$ac_try;; 11538 esac 11539 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11540 $as_echo "$ac_try_echo") >&5 11541 (eval "$ac_compile") 2>conftest.er1 11542 ac_status=$? 11543 grep -v '^ *+' conftest.er1 >conftest.err 11544 rm -f conftest.er1 11545 cat conftest.err >&5 11546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11547 (exit $ac_status); } && { 11548 test -z "$ac_cxx_werror_flag" || 11549 test ! -s conftest.err 11550 } && test -s conftest.$ac_objext; then 11551 ac_header_compiler=yes 11552 else 11553 $as_echo "$as_me: failed program was:" >&5 11554 sed 's/^/| /' conftest.$ac_ext >&5 11555 11556 ac_header_compiler=no 11557 fi 11558 11559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11560 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11561 $as_echo "$ac_header_compiler" >&6; } 11562 11563 # Is the header present? 11564 { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5 11565 $as_echo_n "checking GL/glut.h presence... " >&6; } 11566 cat >conftest.$ac_ext <<_ACEOF 11567 /* confdefs.h. */ 11568 _ACEOF 11569 cat confdefs.h >>conftest.$ac_ext 11570 cat >>conftest.$ac_ext <<_ACEOF 11571 /* end confdefs.h. */ 11572 #include <GL/glut.h> 11573 _ACEOF 11574 if { (ac_try="$ac_cpp conftest.$ac_ext" 11575 case "(($ac_try" in 11576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11577 *) ac_try_echo=$ac_try;; 11578 esac 11579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11580 $as_echo "$ac_try_echo") >&5 11581 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11582 ac_status=$? 11583 grep -v '^ *+' conftest.er1 >conftest.err 11584 rm -f conftest.er1 11585 cat conftest.err >&5 11586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11587 (exit $ac_status); } >/dev/null && { 11588 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11589 test ! -s conftest.err 11590 }; then 11591 ac_header_preproc=yes 11592 else 11593 $as_echo "$as_me: failed program was:" >&5 11594 sed 's/^/| /' conftest.$ac_ext >&5 11595 11596 ac_header_preproc=no 11597 fi 11598 11599 rm -f conftest.err conftest.$ac_ext 11600 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11601 $as_echo "$ac_header_preproc" >&6; } 11602 11603 # So? What about this header? 11604 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11605 yes:no: ) 11606 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5 11607 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11608 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5 11609 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;} 11610 ac_header_preproc=yes 11611 ;; 11612 no:yes:* ) 11613 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5 11614 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;} 11615 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5 11616 $as_echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;} 11617 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5 11618 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;} 11619 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5 11620 $as_echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;} 11621 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5 11622 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;} 11623 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5 11624 $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;} 11625 ( cat <<\_ASBOX 11626 ## ----------------------------------- ## 11627 ## Report this to rappture@nanohub.org ## 11628 ## ----------------------------------- ## 11629 _ASBOX 11630 ) | sed "s/^/$as_me: WARNING: /" >&2 11631 ;; 11632 esac 11633 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 11634 $as_echo_n "checking for GL/glut.h... " >&6; } 11635 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11636 $as_echo_n "(cached) " >&6 11637 else 11638 ac_cv_header_GL_glut_h=$ac_header_preproc 11639 fi 11640 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 11641 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 11642 11643 fi 11644 11645 11646 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11647 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 11648 $as_echo_n "checking for GL/glew.h... " >&6; } 11649 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11650 $as_echo_n "(cached) " >&6 11651 fi 11652 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 11653 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 11654 else 11655 # Is the header compilable? 11656 { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5 11657 $as_echo_n "checking GL/glew.h usability... " >&6; } 11658 cat >conftest.$ac_ext <<_ACEOF 11659 /* confdefs.h. */ 11660 _ACEOF 11661 cat confdefs.h >>conftest.$ac_ext 11662 cat >>conftest.$ac_ext <<_ACEOF 11663 /* end confdefs.h. */ 11664 $ac_includes_default 11665 #include <GL/glew.h> 11666 _ACEOF 11667 rm -f conftest.$ac_objext 11668 if { (ac_try="$ac_compile" 11669 case "(($ac_try" in 11670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11671 *) ac_try_echo=$ac_try;; 11672 esac 11673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11674 $as_echo "$ac_try_echo") >&5 11675 (eval "$ac_compile") 2>conftest.er1 11676 ac_status=$? 11677 grep -v '^ *+' conftest.er1 >conftest.err 11678 rm -f conftest.er1 11679 cat conftest.err >&5 11680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11681 (exit $ac_status); } && { 11682 test -z "$ac_cxx_werror_flag" || 11683 test ! -s conftest.err 11684 } && test -s conftest.$ac_objext; then 11685 ac_header_compiler=yes 11686 else 11687 $as_echo "$as_me: failed program was:" >&5 11688 sed 's/^/| /' conftest.$ac_ext >&5 11689 11690 ac_header_compiler=no 11691 fi 11692 11693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11694 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11695 $as_echo "$ac_header_compiler" >&6; } 11696 11697 # Is the header present? 11698 { $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5 11699 $as_echo_n "checking GL/glew.h presence... " >&6; } 11700 cat >conftest.$ac_ext <<_ACEOF 11701 /* confdefs.h. */ 11702 _ACEOF 11703 cat confdefs.h >>conftest.$ac_ext 11704 cat >>conftest.$ac_ext <<_ACEOF 11705 /* end confdefs.h. */ 11706 #include <GL/glew.h> 11707 _ACEOF 11708 if { (ac_try="$ac_cpp conftest.$ac_ext" 11709 case "(($ac_try" in 11710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11711 *) ac_try_echo=$ac_try;; 11712 esac 11713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11714 $as_echo "$ac_try_echo") >&5 11715 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11716 ac_status=$? 11717 grep -v '^ *+' conftest.er1 >conftest.err 11718 rm -f conftest.er1 11719 cat conftest.err >&5 11720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11721 (exit $ac_status); } >/dev/null && { 11722 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11723 test ! -s conftest.err 11724 }; then 11725 ac_header_preproc=yes 11726 else 11727 $as_echo "$as_me: failed program was:" >&5 11728 sed 's/^/| /' conftest.$ac_ext >&5 11729 11730 ac_header_preproc=no 11731 fi 11732 11733 rm -f conftest.err conftest.$ac_ext 11734 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11735 $as_echo "$ac_header_preproc" >&6; } 11736 11737 # So? What about this header? 11738 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11739 yes:no: ) 11740 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5 11741 $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11742 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5 11743 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;} 11744 ac_header_preproc=yes 11745 ;; 11746 no:yes:* ) 11747 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5 11748 $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;} 11749 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: check for missing prerequisite headers?" >&5 11750 $as_echo "$as_me: WARNING: GL/glew.h: check for missing prerequisite headers?" >&2;} 11751 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5 11752 $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;} 11753 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&5 11754 $as_echo "$as_me: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&2;} 11755 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5 11756 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;} 11757 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5 11758 $as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;} 11759 ( cat <<\_ASBOX 11760 ## ----------------------------------- ## 11761 ## Report this to rappture@nanohub.org ## 11762 ## ----------------------------------- ## 11763 _ASBOX 11764 ) | sed "s/^/$as_me: WARNING: /" >&2 11765 ;; 11766 esac 11767 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 11768 $as_echo_n "checking for GL/glew.h... " >&6; } 11769 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11770 $as_echo_n "(cached) " >&6 11771 else 11772 ac_cv_header_GL_glew_h=$ac_header_preproc 11773 fi 11774 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 11775 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 11776 11777 fi 11778 11779 11780 11781 11782 11783 11784 11785 11786 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 11787 do 11788 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11790 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11791 $as_echo_n "checking for $ac_header... " >&6; } 11792 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11793 $as_echo_n "(cached) " >&6 11794 fi 11795 ac_res=`eval 'as_val=${'$as_ac_Header'} 11796 $as_echo "$as_val"'` 11797 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11798 $as_echo "$ac_res" >&6; } 11799 else 11800 # Is the header compilable? 11801 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11802 $as_echo_n "checking $ac_header usability... " >&6; } 11803 cat >conftest.$ac_ext <<_ACEOF 11804 /* confdefs.h. */ 11805 _ACEOF 11806 cat confdefs.h >>conftest.$ac_ext 11807 cat >>conftest.$ac_ext <<_ACEOF 11808 /* end confdefs.h. */ 11809 $ac_includes_default 11810 #include <$ac_header> 11811 _ACEOF 11812 rm -f conftest.$ac_objext 11813 if { (ac_try="$ac_compile" 11814 case "(($ac_try" in 11815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11816 *) ac_try_echo=$ac_try;; 11817 esac 11818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11819 $as_echo "$ac_try_echo") >&5 11820 (eval "$ac_compile") 2>conftest.er1 11821 ac_status=$? 11822 grep -v '^ *+' conftest.er1 >conftest.err 11823 rm -f conftest.er1 11824 cat conftest.err >&5 11825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11826 (exit $ac_status); } && { 11827 test -z "$ac_cxx_werror_flag" || 11828 test ! -s conftest.err 11829 } && test -s conftest.$ac_objext; then 11830 ac_header_compiler=yes 11831 else 11832 $as_echo "$as_me: failed program was:" >&5 11833 sed 's/^/| /' conftest.$ac_ext >&5 11834 11835 ac_header_compiler=no 11836 fi 11837 11838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11839 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11840 $as_echo "$ac_header_compiler" >&6; } 11841 11842 # Is the header present? 11843 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11844 $as_echo_n "checking $ac_header presence... " >&6; } 11845 cat >conftest.$ac_ext <<_ACEOF 11846 /* confdefs.h. */ 11847 _ACEOF 11848 cat confdefs.h >>conftest.$ac_ext 11849 cat >>conftest.$ac_ext <<_ACEOF 11850 /* end confdefs.h. */ 11851 #include <$ac_header> 11852 _ACEOF 11853 if { (ac_try="$ac_cpp conftest.$ac_ext" 11854 case "(($ac_try" in 11855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11856 *) ac_try_echo=$ac_try;; 11857 esac 11858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11859 $as_echo "$ac_try_echo") >&5 11860 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11861 ac_status=$? 11862 grep -v '^ *+' conftest.er1 >conftest.err 11863 rm -f conftest.er1 11864 cat conftest.err >&5 11865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11866 (exit $ac_status); } >/dev/null && { 11867 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11868 test ! -s conftest.err 11869 }; then 11870 ac_header_preproc=yes 11871 else 11872 $as_echo "$as_me: failed program was:" >&5 11873 sed 's/^/| /' conftest.$ac_ext >&5 11874 11875 ac_header_preproc=no 11876 fi 11877 11878 rm -f conftest.err conftest.$ac_ext 11879 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11880 $as_echo "$ac_header_preproc" >&6; } 11881 11882 # So? What about this header? 11883 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11884 yes:no: ) 11885 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11886 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11887 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11888 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11889 ac_header_preproc=yes 11890 ;; 11891 no:yes:* ) 11892 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11893 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11894 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11895 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11896 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11897 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11898 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11899 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11900 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11901 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11902 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11903 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11904 ( cat <<\_ASBOX 11905 ## ----------------------------------- ## 11906 ## Report this to rappture@nanohub.org ## 11907 ## ----------------------------------- ## 11908 _ASBOX 11909 ) | sed "s/^/$as_me: WARNING: /" >&2 11910 ;; 11911 esac 11912 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11913 $as_echo_n "checking for $ac_header... " >&6; } 11914 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11915 $as_echo_n "(cached) " >&6 11916 else 11917 eval "$as_ac_Header=\$ac_header_preproc" 11918 fi 11919 ac_res=`eval 'as_val=${'$as_ac_Header'} 11920 $as_echo "$as_val"'` 11921 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11922 $as_echo "$ac_res" >&6; } 11923 11924 fi 11925 as_val=`eval 'as_val=${'$as_ac_Header'} 11926 $as_echo "$as_val"'` 11927 if test "x$as_val" = x""yes; then 8311 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 8312 do : 8313 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8314 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8315 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11928 8316 cat >>confdefs.h <<_ACEOF 11929 8317 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 11935 8323 11936 8324 11937 11938 11939 11940 11941 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 11942 do 11943 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11944 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11945 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11946 $as_echo_n "checking for $ac_header... " >&6; } 11947 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11948 $as_echo_n "(cached) " >&6 11949 fi 11950 ac_res=`eval 'as_val=${'$as_ac_Header'} 11951 $as_echo "$as_val"'` 11952 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11953 $as_echo "$ac_res" >&6; } 11954 else 11955 # Is the header compilable? 11956 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11957 $as_echo_n "checking $ac_header usability... " >&6; } 11958 cat >conftest.$ac_ext <<_ACEOF 11959 /* confdefs.h. */ 11960 _ACEOF 11961 cat confdefs.h >>conftest.$ac_ext 11962 cat >>conftest.$ac_ext <<_ACEOF 11963 /* end confdefs.h. */ 11964 $ac_includes_default 11965 #include <$ac_header> 11966 _ACEOF 11967 rm -f conftest.$ac_objext 11968 if { (ac_try="$ac_compile" 11969 case "(($ac_try" in 11970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11971 *) ac_try_echo=$ac_try;; 11972 esac 11973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11974 $as_echo "$ac_try_echo") >&5 11975 (eval "$ac_compile") 2>conftest.er1 11976 ac_status=$? 11977 grep -v '^ *+' conftest.er1 >conftest.err 11978 rm -f conftest.er1 11979 cat conftest.err >&5 11980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11981 (exit $ac_status); } && { 11982 test -z "$ac_cxx_werror_flag" || 11983 test ! -s conftest.err 11984 } && test -s conftest.$ac_objext; then 11985 ac_header_compiler=yes 11986 else 11987 $as_echo "$as_me: failed program was:" >&5 11988 sed 's/^/| /' conftest.$ac_ext >&5 11989 11990 ac_header_compiler=no 11991 fi 11992 11993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11994 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11995 $as_echo "$ac_header_compiler" >&6; } 11996 11997 # Is the header present? 11998 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11999 $as_echo_n "checking $ac_header presence... " >&6; } 12000 cat >conftest.$ac_ext <<_ACEOF 12001 /* confdefs.h. */ 12002 _ACEOF 12003 cat confdefs.h >>conftest.$ac_ext 12004 cat >>conftest.$ac_ext <<_ACEOF 12005 /* end confdefs.h. */ 12006 #include <$ac_header> 12007 _ACEOF 12008 if { (ac_try="$ac_cpp conftest.$ac_ext" 12009 case "(($ac_try" in 12010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12011 *) ac_try_echo=$ac_try;; 12012 esac 12013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12014 $as_echo "$ac_try_echo") >&5 12015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12016 ac_status=$? 12017 grep -v '^ *+' conftest.er1 >conftest.err 12018 rm -f conftest.er1 12019 cat conftest.err >&5 12020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12021 (exit $ac_status); } >/dev/null && { 12022 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12023 test ! -s conftest.err 12024 }; then 12025 ac_header_preproc=yes 12026 else 12027 $as_echo "$as_me: failed program was:" >&5 12028 sed 's/^/| /' conftest.$ac_ext >&5 12029 12030 ac_header_preproc=no 12031 fi 12032 12033 rm -f conftest.err conftest.$ac_ext 12034 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12035 $as_echo "$ac_header_preproc" >&6; } 12036 12037 # So? What about this header? 12038 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12039 yes:no: ) 12040 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12041 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12042 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12043 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12044 ac_header_preproc=yes 12045 ;; 12046 no:yes:* ) 12047 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12048 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12049 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12050 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12051 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12052 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12053 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12054 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12055 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12056 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12057 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12058 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12059 ( cat <<\_ASBOX 12060 ## ----------------------------------- ## 12061 ## Report this to rappture@nanohub.org ## 12062 ## ----------------------------------- ## 12063 _ASBOX 12064 ) | sed "s/^/$as_me: WARNING: /" >&2 12065 ;; 12066 esac 12067 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12068 $as_echo_n "checking for $ac_header... " >&6; } 12069 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12070 $as_echo_n "(cached) " >&6 12071 else 12072 eval "$as_ac_Header=\$ac_header_preproc" 12073 fi 12074 ac_res=`eval 'as_val=${'$as_ac_Header'} 12075 $as_echo "$as_val"'` 12076 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12077 $as_echo "$ac_res" >&6; } 12078 12079 fi 12080 as_val=`eval 'as_val=${'$as_ac_Header'} 12081 $as_echo "$as_val"'` 12082 if test "x$as_val" = x""yes; then 8325 for ac_func in accept4 8326 do : 8327 ac_fn_cxx_check_func "$LINENO" "accept4" "ac_cv_func_accept4" 8328 if test "x$ac_cv_func_accept4" = xyes; then : 12083 8329 cat >>confdefs.h <<_ACEOF 12084 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12085 _ACEOF 12086 12087 fi 12088 12089 done 12090 12091 12092 12093 for ac_func in accept4 12094 do 12095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12096 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12097 $as_echo_n "checking for $ac_func... " >&6; } 12098 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12099 $as_echo_n "(cached) " >&6 12100 else 12101 cat >conftest.$ac_ext <<_ACEOF 12102 /* confdefs.h. */ 12103 _ACEOF 12104 cat confdefs.h >>conftest.$ac_ext 12105 cat >>conftest.$ac_ext <<_ACEOF 12106 /* end confdefs.h. */ 12107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12108 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12109 #define $ac_func innocuous_$ac_func 12110 12111 /* System header to define __stub macros and hopefully few prototypes, 12112 which can conflict with char $ac_func (); below. 12113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12114 <limits.h> exists even on freestanding compilers. */ 12115 12116 #ifdef __STDC__ 12117 # include <limits.h> 12118 #else 12119 # include <assert.h> 12120 #endif 12121 12122 #undef $ac_func 12123 12124 /* Override any GCC internal prototype to avoid an error. 12125 Use char because int might match the return type of a GCC 12126 builtin and then its argument prototype would still apply. */ 12127 #ifdef __cplusplus 12128 extern "C" 12129 #endif 12130 char $ac_func (); 12131 /* The GNU C library defines this for functions which it implements 12132 to always fail with ENOSYS. Some functions are actually named 12133 something starting with __ and the normal name is an alias. */ 12134 #if defined __stub_$ac_func || defined __stub___$ac_func 12135 choke me 12136 #endif 12137 12138 int 12139 main () 12140 { 12141 return $ac_func (); 12142 ; 12143 return 0; 12144 } 12145 _ACEOF 12146 rm -f conftest.$ac_objext conftest$ac_exeext 12147 if { (ac_try="$ac_link" 12148 case "(($ac_try" in 12149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12150 *) ac_try_echo=$ac_try;; 12151 esac 12152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12153 $as_echo "$ac_try_echo") >&5 12154 (eval "$ac_link") 2>conftest.er1 12155 ac_status=$? 12156 grep -v '^ *+' conftest.er1 >conftest.err 12157 rm -f conftest.er1 12158 cat conftest.err >&5 12159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12160 (exit $ac_status); } && { 12161 test -z "$ac_cxx_werror_flag" || 12162 test ! -s conftest.err 12163 } && test -s conftest$ac_exeext && { 12164 test "$cross_compiling" = yes || 12165 $as_test_x conftest$ac_exeext 12166 }; then 12167 eval "$as_ac_var=yes" 12168 else 12169 $as_echo "$as_me: failed program was:" >&5 12170 sed 's/^/| /' conftest.$ac_ext >&5 12171 12172 eval "$as_ac_var=no" 12173 fi 12174 12175 rm -rf conftest.dSYM 12176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12177 conftest$ac_exeext conftest.$ac_ext 12178 fi 12179 ac_res=`eval 'as_val=${'$as_ac_var'} 12180 $as_echo "$as_val"'` 12181 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12182 $as_echo "$ac_res" >&6; } 12183 as_val=`eval 'as_val=${'$as_ac_var'} 12184 $as_echo "$as_val"'` 12185 if test "x$as_val" = x""yes; then 12186 cat >>confdefs.h <<_ACEOF 12187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8330 #define HAVE_ACCEPT4 1 12188 8331 _ACEOF 12189 8332 … … 12202 8345 # Extract the first word of "ffmpeg", so it can be a program name with args. 12203 8346 set dummy ffmpeg; ac_word=$2 12204 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12205 8348 $as_echo_n "checking for $ac_word... " >&6; } 12206 if test "${ac_cv_path_FFMPEG+set}" = set; then8349 if ${ac_cv_path_FFMPEG+:} false; then : 12207 8350 $as_echo_n "(cached) " >&6 12208 8351 else … … 12217 8360 IFS=$as_save_IFS 12218 8361 test -z "$as_dir" && as_dir=. 12219 for ac_exec_ext in '' $ac_executable_extensions; do12220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8362 for ac_exec_ext in '' $ac_executable_extensions; do 8363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12221 8364 ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext" 12222 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12223 8366 break 2 12224 8367 fi 12225 8368 done 12226 done8369 done 12227 8370 IFS=$as_save_IFS 12228 8371 … … 12232 8375 FFMPEG=$ac_cv_path_FFMPEG 12233 8376 if test -n "$FFMPEG"; then 12234 { $as_echo "$as_me:$ LINENO: result: $FFMPEG" >&58377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5 12235 8378 $as_echo "$FFMPEG" >&6; } 12236 8379 else 12237 { $as_echo "$as_me:$ LINENO: result: no" >&58380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12238 8381 $as_echo "no" >&6; } 12239 8382 fi … … 12243 8386 # Extract the first word of "ffmpeg", so it can be a program name with args. 12244 8387 set dummy ffmpeg; ac_word=$2 12245 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12246 8389 $as_echo_n "checking for $ac_word... " >&6; } 12247 if test "${ac_cv_path_FFMPEG+set}" = set; then8390 if ${ac_cv_path_FFMPEG+:} false; then : 12248 8391 $as_echo_n "(cached) " >&6 12249 8392 else … … 12259 8402 IFS=$as_save_IFS 12260 8403 test -z "$as_dir" && as_dir=. 12261 for ac_exec_ext in '' $ac_executable_extensions; do12262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8404 for ac_exec_ext in '' $ac_executable_extensions; do 8405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12263 8406 ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext" 12264 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12265 8408 break 2 12266 8409 fi 12267 8410 done 12268 done8411 done 12269 8412 IFS=$as_save_IFS 12270 8413 … … 12274 8417 FFMPEG=$ac_cv_path_FFMPEG 12275 8418 if test -n "$FFMPEG"; then 12276 { $as_echo "$as_me:$ LINENO: result: $FFMPEG" >&58419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5 12277 8420 $as_echo "$FFMPEG" >&6; } 12278 8421 else 12279 { $as_echo "$as_me:$ LINENO: result: no" >&58422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12280 8423 $as_echo "no" >&6; } 12281 8424 fi … … 12285 8428 if test "${FFMPEG}x" != "x" ; then 12286 8429 12287 cat >>confdefs.h <<\_ACEOF 12288 #define HAVE_FFMPEG 1 12289 _ACEOF 8430 $as_echo "#define HAVE_FFMPEG 1" >>confdefs.h 12290 8431 12291 8432 fi 12292 8433 fi 12293 8434 12294 { $as_echo "$as_me:$ LINENO: checking for nVidia Cg installation" >&58435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nVidia Cg installation" >&5 12295 8436 $as_echo_n "checking for nVidia Cg installation... " >&6; } 12296 8437 CG_DIR="" … … 12305 8446 fi 12306 8447 done 12307 { $as_echo "$as_me:$ LINENO: result: ${CG_DIR}" >&58448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CG_DIR}" >&5 12308 8449 $as_echo "${CG_DIR}" >&6; } 12309 8450 … … 12312 8453 save_CPPFLAGS=$CPPFLAGS 12313 8454 CPPFLAGS="${CG_INC_SPEC} $CPPFLAGS" 12314 12315 8455 for ac_header in Cg/cgGL.h 12316 do 12317 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12318 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12319 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12320 $as_echo_n "checking for $ac_header... " >&6; } 12321 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12322 $as_echo_n "(cached) " >&6 12323 fi 12324 ac_res=`eval 'as_val=${'$as_ac_Header'} 12325 $as_echo "$as_val"'` 12326 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12327 $as_echo "$ac_res" >&6; } 12328 else 12329 # Is the header compilable? 12330 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12331 $as_echo_n "checking $ac_header usability... " >&6; } 12332 cat >conftest.$ac_ext <<_ACEOF 12333 /* confdefs.h. */ 12334 _ACEOF 12335 cat confdefs.h >>conftest.$ac_ext 12336 cat >>conftest.$ac_ext <<_ACEOF 12337 /* end confdefs.h. */ 12338 $ac_includes_default 12339 #include <$ac_header> 12340 _ACEOF 12341 rm -f conftest.$ac_objext 12342 if { (ac_try="$ac_compile" 12343 case "(($ac_try" in 12344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12345 *) ac_try_echo=$ac_try;; 12346 esac 12347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12348 $as_echo "$ac_try_echo") >&5 12349 (eval "$ac_compile") 2>conftest.er1 12350 ac_status=$? 12351 grep -v '^ *+' conftest.er1 >conftest.err 12352 rm -f conftest.er1 12353 cat conftest.err >&5 12354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12355 (exit $ac_status); } && { 12356 test -z "$ac_cxx_werror_flag" || 12357 test ! -s conftest.err 12358 } && test -s conftest.$ac_objext; then 12359 ac_header_compiler=yes 12360 else 12361 $as_echo "$as_me: failed program was:" >&5 12362 sed 's/^/| /' conftest.$ac_ext >&5 12363 12364 ac_header_compiler=no 12365 fi 12366 12367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12368 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12369 $as_echo "$ac_header_compiler" >&6; } 12370 12371 # Is the header present? 12372 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12373 $as_echo_n "checking $ac_header presence... " >&6; } 12374 cat >conftest.$ac_ext <<_ACEOF 12375 /* confdefs.h. */ 12376 _ACEOF 12377 cat confdefs.h >>conftest.$ac_ext 12378 cat >>conftest.$ac_ext <<_ACEOF 12379 /* end confdefs.h. */ 12380 #include <$ac_header> 12381 _ACEOF 12382 if { (ac_try="$ac_cpp conftest.$ac_ext" 12383 case "(($ac_try" in 12384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12385 *) ac_try_echo=$ac_try;; 12386 esac 12387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12388 $as_echo "$ac_try_echo") >&5 12389 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12390 ac_status=$? 12391 grep -v '^ *+' conftest.er1 >conftest.err 12392 rm -f conftest.er1 12393 cat conftest.err >&5 12394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12395 (exit $ac_status); } >/dev/null && { 12396 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12397 test ! -s conftest.err 12398 }; then 12399 ac_header_preproc=yes 12400 else 12401 $as_echo "$as_me: failed program was:" >&5 12402 sed 's/^/| /' conftest.$ac_ext >&5 12403 12404 ac_header_preproc=no 12405 fi 12406 12407 rm -f conftest.err conftest.$ac_ext 12408 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12409 $as_echo "$ac_header_preproc" >&6; } 12410 12411 # So? What about this header? 12412 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12413 yes:no: ) 12414 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12415 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12416 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12417 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12418 ac_header_preproc=yes 12419 ;; 12420 no:yes:* ) 12421 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12422 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12423 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12424 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12425 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12426 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12427 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12428 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12429 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12430 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12431 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12432 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12433 ( cat <<\_ASBOX 12434 ## ----------------------------------- ## 12435 ## Report this to rappture@nanohub.org ## 12436 ## ----------------------------------- ## 12437 _ASBOX 12438 ) | sed "s/^/$as_me: WARNING: /" >&2 12439 ;; 12440 esac 12441 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12442 $as_echo_n "checking for $ac_header... " >&6; } 12443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12444 $as_echo_n "(cached) " >&6 12445 else 12446 eval "$as_ac_Header=\$ac_header_preproc" 12447 fi 12448 ac_res=`eval 'as_val=${'$as_ac_Header'} 12449 $as_echo "$as_val"'` 12450 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12451 $as_echo "$ac_res" >&6; } 12452 12453 fi 12454 as_val=`eval 'as_val=${'$as_ac_Header'} 12455 $as_echo "$as_val"'` 12456 if test "x$as_val" = x""yes; then 8456 do : 8457 ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default" 8458 if test "x$ac_cv_header_Cg_cgGL_h" = xyes; then : 12457 8459 cat >>confdefs.h <<_ACEOF 12458 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`112459 _ACEOF 12460 12461 else 12462 { $as_echo "$as_me:$ LINENO: WARNING: cannot find nVidia Cg headers" >&58460 #define HAVE_CG_CGGL_H 1 8461 _ACEOF 8462 8463 else 8464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find nVidia Cg headers" >&5 12463 8465 $as_echo "$as_me: WARNING: cannot find nVidia Cg headers" >&2;} 12464 8466 fi … … 12523 8525 12524 8526 12525 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanoscale/renderservers.tcl nanovis/Doxyfile nanovis/Makefile nanovis/graphics/Makefile nanovis/imgLoaders/Makefile nanovis/newmat11/Makefile nanovis/util/Makefile nanovis/vrmath/Makefile pymolproxy/Makefile vtkvis/Doxyfile vtkvis/Makefile start_viz.sh start_nanoscale.sh"8527 ac_config_files="$ac_config_files Makefile geovis/Makefile nanoscale/Makefile nanoscale/renderservers.tcl nanovis/Doxyfile nanovis/Makefile nanovis/graphics/Makefile nanovis/imgLoaders/Makefile nanovis/newmat11/Makefile nanovis/util/Makefile nanovis/vrmath/Makefile pymolproxy/Makefile vtkvis/Doxyfile vtkvis/Makefile start_viz.sh start_nanoscale.sh" 12526 8528 12527 8529 cat >confcache <<\_ACEOF … … 12552 8554 *${as_nl}*) 12553 8555 case $ac_var in #( 12554 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&58556 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12555 8557 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12556 8558 esac … … 12558 8560 _ | IFS | as_nl) ;; #( 12559 8561 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12560 *) $as_unset $ac_var;;8562 *) { eval $ac_var=; unset $ac_var;} ;; 12561 8563 esac ;; 12562 8564 esac … … 12566 8568 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12567 8569 *${as_nl}ac_space=\ *) 12568 # `set' does not quote correctly, so add quotes (double-quote12569 # substitution turns \\\\ into \\, and sed turns \\ into \ ).8570 # `set' does not quote correctly, so add quotes: double-quote 8571 # substitution turns \\\\ into \\, and sed turns \\ into \. 12570 8572 sed -n \ 12571 8573 "s/'/'\\\\''/g; … … 12589 8591 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12590 8592 if test -w "$cache_file"; then 12591 test "x$cache_file" != "x/dev/null" &&12592 { $as_echo "$as_me:$ LINENO: updating cache $cache_file" >&58593 if test "x$cache_file" != "x/dev/null"; then 8594 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12593 8595 $as_echo "$as_me: updating cache $cache_file" >&6;} 12594 cat confcache >$cache_file 8596 if test ! -f "$cache_file" || test -h "$cache_file"; then 8597 cat confcache >"$cache_file" 8598 else 8599 case $cache_file in #( 8600 */* | ?:*) 8601 mv -f confcache "$cache_file"$$ && 8602 mv -f "$cache_file"$$ "$cache_file" ;; #( 8603 *) 8604 mv -f confcache "$cache_file" ;; 8605 esac 8606 fi 8607 fi 12595 8608 else 12596 { $as_echo "$as_me:$ LINENO: not updating unwritable cache $cache_file" >&58609 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12597 8610 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12598 8611 fi … … 12608 8621 ac_libobjs= 12609 8622 ac_ltlibobjs= 8623 U= 12610 8624 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12611 8625 # 1. Remove the extension, and $U if already installed. … … 12614 8628 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12615 8629 # will be set to the directory where LIBOBJS objects are built. 12616 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"12617 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'8630 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8631 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12618 8632 done 12619 8633 LIBOBJS=$ac_libobjs … … 12624 8638 12625 8639 12626 : ${CONFIG_STATUS=./config.status}8640 : "${CONFIG_STATUS=./config.status}" 12627 8641 ac_write_fail=0 12628 8642 ac_clean_files_save=$ac_clean_files 12629 8643 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12630 { $as_echo "$as_me:$ LINENO: creating $CONFIG_STATUS" >&58644 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12631 8645 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12632 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8646 as_write_fail=0 8647 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12633 8648 #! $SHELL 12634 8649 # Generated by $as_me. … … 12640 8655 ac_cs_recheck=false 12641 8656 ac_cs_silent=false 8657 12642 8658 SHELL=\${CONFIG_SHELL-$SHELL} 12643 _ACEOF 12644 12645 cat >>$CONFIG_STATUS <<\_A CEOF || ac_write_fail=112646 ## -------------------- -##12647 ## M4sh Initialization. 12648 ## -------------------- -##8659 export SHELL 8660 _ASEOF 8661 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 8662 ## -------------------- ## 8663 ## M4sh Initialization. ## 8664 ## -------------------- ## 12649 8665 12650 8666 # Be more Bourne compatible 12651 8667 DUALCASE=1; export DUALCASE # for MKS sh 12652 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8668 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12653 8669 emulate sh 12654 8670 NULLCMD=: … … 12658 8674 setopt NO_GLOB_SUBST 12659 8675 else 12660 case `(set -o) 2>/dev/null` in 12661 *posix*) set -o posix ;; 8676 case `(set -o) 2>/dev/null` in #( 8677 *posix*) : 8678 set -o posix ;; #( 8679 *) : 8680 ;; 12662 8681 esac 12663 12664 fi 12665 12666 12667 12668 12669 # PATH needs CR 12670 # Avoid depending upon Character Ranges. 12671 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12672 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12673 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12674 as_cr_digits='0123456789' 12675 as_cr_alnum=$as_cr_Letters$as_cr_digits 8682 fi 8683 12676 8684 12677 8685 as_nl=' … … 12682 8690 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12683 8691 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12684 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8692 # Prefer a ksh shell builtin over an external printf program on Solaris, 8693 # but without wasting forks for bash or zsh. 8694 if test -z "$BASH_VERSION$ZSH_VERSION" \ 8695 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 8696 as_echo='print -r --' 8697 as_echo_n='print -rn --' 8698 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12685 8699 as_echo='printf %s\n' 12686 8700 as_echo_n='printf %s' … … 12693 8707 as_echo_n_body='eval 12694 8708 arg=$1; 12695 case $arg in 8709 case $arg in #( 12696 8710 *"$as_nl"*) 12697 8711 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 12716 8730 fi 12717 8731 12718 # Support unset when possible.12719 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then12720 as_unset=unset12721 else12722 as_unset=false12723 fi12724 12725 8732 12726 8733 # IFS … … 12732 8739 12733 8740 # Find who we are. Look in the path if we contain no directory separator. 12734 case $0 in 8741 as_myself= 8742 case $0 in #(( 12735 8743 *[\\/]* ) as_myself=$0 ;; 12736 8744 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 12739 8747 IFS=$as_save_IFS 12740 8748 test -z "$as_dir" && as_dir=. 12741 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break12742 done8749 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8750 done 12743 8751 IFS=$as_save_IFS 12744 8752 … … 12752 8760 if test ! -f "$as_myself"; then 12753 8761 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12754 { (exit 1); exit 1; } 12755 fi 12756 12757 # Work around bugs in pre-3.0 UWIN ksh. 12758 for as_var in ENV MAIL MAILPATH 12759 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8762 exit 1 8763 fi 8764 8765 # Unset variables that we do not need and which cause bugs (e.g. in 8766 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 8767 # suppresses any "Segmentation fault" message there. '((' could 8768 # trigger a bug in pdksh 5.2.14. 8769 for as_var in BASH_ENV ENV MAIL MAILPATH 8770 do eval test x\${$as_var+set} = xset \ 8771 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12760 8772 done 12761 8773 PS1='$ ' … … 12769 8781 export LANGUAGE 12770 8782 12771 # Required to use basename. 8783 # CDPATH. 8784 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 8785 8786 8787 # as_fn_error STATUS ERROR [LINENO LOG_FD] 8788 # ---------------------------------------- 8789 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 8790 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 8791 # script with STATUS, using 1 if that was 0. 8792 as_fn_error () 8793 { 8794 as_status=$1; test $as_status -eq 0 && as_status=1 8795 if test "$4"; then 8796 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 8797 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 8798 fi 8799 $as_echo "$as_me: error: $2" >&2 8800 as_fn_exit $as_status 8801 } # as_fn_error 8802 8803 8804 # as_fn_set_status STATUS 8805 # ----------------------- 8806 # Set $? to STATUS, without forking. 8807 as_fn_set_status () 8808 { 8809 return $1 8810 } # as_fn_set_status 8811 8812 # as_fn_exit STATUS 8813 # ----------------- 8814 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 8815 as_fn_exit () 8816 { 8817 set +e 8818 as_fn_set_status $1 8819 exit $1 8820 } # as_fn_exit 8821 8822 # as_fn_unset VAR 8823 # --------------- 8824 # Portably unset VAR. 8825 as_fn_unset () 8826 { 8827 { eval $1=; unset $1;} 8828 } 8829 as_unset=as_fn_unset 8830 # as_fn_append VAR VALUE 8831 # ---------------------- 8832 # Append the text in VALUE to the end of the definition contained in VAR. Take 8833 # advantage of any shell optimizations that allow amortized linear growth over 8834 # repeated appends, instead of the typical quadratic growth present in naive 8835 # implementations. 8836 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 8837 eval 'as_fn_append () 8838 { 8839 eval $1+=\$2 8840 }' 8841 else 8842 as_fn_append () 8843 { 8844 eval $1=\$$1\$2 8845 } 8846 fi # as_fn_append 8847 8848 # as_fn_arith ARG... 8849 # ------------------ 8850 # Perform arithmetic evaluation on the ARGs, and store the result in the 8851 # global $as_val. Take advantage of shells that can avoid forks. The arguments 8852 # must be portable across $(()) and expr. 8853 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 8854 eval 'as_fn_arith () 8855 { 8856 as_val=$(( $* )) 8857 }' 8858 else 8859 as_fn_arith () 8860 { 8861 as_val=`expr "$@" || test $? -eq 1` 8862 } 8863 fi # as_fn_arith 8864 8865 12772 8866 if expr a : '\(a\)' >/dev/null 2>&1 && 12773 8867 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 12783 8877 fi 12784 8878 12785 12786 # Name of the executable. 8879 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8880 as_dirname=dirname 8881 else 8882 as_dirname=false 8883 fi 8884 12787 8885 as_me=`$as_basename -- "$0" || 12788 8886 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 12804 8902 s/.*/./; q'` 12805 8903 12806 # CDPATH. 12807 $as_unset CDPATH 12808 12809 12810 12811 as_lineno_1=$LINENO 12812 as_lineno_2=$LINENO 12813 test "x$as_lineno_1" != "x$as_lineno_2" && 12814 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 12815 12816 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 12817 # uniformly replaced by the line number. The first 'sed' inserts a 12818 # line-number line after each line using $LINENO; the second 'sed' 12819 # does the real work. The second script uses 'N' to pair each 12820 # line-number line with the line containing $LINENO, and appends 12821 # trailing '-' during substitution so that $LINENO is not a special 12822 # case at line end. 12823 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 12824 # scripts with optimization help from Paolo Bonzini. Blame Lee 12825 # E. McMahon (1931-1989) for sed's syntax. :-) 12826 sed -n ' 12827 p 12828 /[$]LINENO/= 12829 ' <$as_myself | 12830 sed ' 12831 s/[$]LINENO.*/&-/ 12832 t lineno 12833 b 12834 :lineno 12835 N 12836 :loop 12837 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 12838 t loop 12839 s/-\n.*// 12840 ' >$as_me.lineno && 12841 chmod +x "$as_me.lineno" || 12842 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 12843 { (exit 1); exit 1; }; } 12844 12845 # Don't try to exec as it changes $[0], causing all sort of problems 12846 # (the dirname of $[0] is not the place where we might find the 12847 # original and so on. Autoconf is especially sensitive to this). 12848 . "./$as_me.lineno" 12849 # Exit status is that of the last command. 12850 exit 12851 } 12852 12853 12854 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12855 as_dirname=dirname 12856 else 12857 as_dirname=false 12858 fi 8904 # Avoid depending upon Character Ranges. 8905 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8906 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8907 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8908 as_cr_digits='0123456789' 8909 as_cr_alnum=$as_cr_Letters$as_cr_digits 12859 8910 12860 8911 ECHO_C= ECHO_N= ECHO_T= 12861 case `echo -n x` in 8912 case `echo -n x` in #((((( 12862 8913 -n*) 12863 case `echo 'x \c'` in8914 case `echo 'xy\c'` in 12864 8915 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12865 *) ECHO_C='\c';; 8916 xy) ECHO_C='\c';; 8917 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 8918 ECHO_T=' ';; 12866 8919 esac;; 12867 8920 *) 12868 8921 ECHO_N='-n';; 12869 8922 esac 12870 if expr a : '\(a\)' >/dev/null 2>&1 &&12871 test "X`expr 00001 : '.*\(...\)'`" = X001; then12872 as_expr=expr12873 else12874 as_expr=false12875 fi12876 8923 12877 8924 rm -f conf$$ conf$$.exe conf$$.file … … 12888 8935 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12889 8936 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12890 # In both cases, we have to default to `cp -p '.8937 # In both cases, we have to default to `cp -pR'. 12891 8938 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12892 as_ln_s='cp -p '8939 as_ln_s='cp -pR' 12893 8940 elif ln conf$$.file conf$$ 2>/dev/null; then 12894 8941 as_ln_s=ln 12895 8942 else 12896 as_ln_s='cp -p '8943 as_ln_s='cp -pR' 12897 8944 fi 12898 8945 else 12899 as_ln_s='cp -p '8946 as_ln_s='cp -pR' 12900 8947 fi 12901 8948 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12902 8949 rmdir conf$$.dir 2>/dev/null 12903 8950 8951 8952 # as_fn_mkdir_p 8953 # ------------- 8954 # Create "$as_dir" as a directory, including parents if necessary. 8955 as_fn_mkdir_p () 8956 { 8957 8958 case $as_dir in #( 8959 -*) as_dir=./$as_dir;; 8960 esac 8961 test -d "$as_dir" || eval $as_mkdir_p || { 8962 as_dirs= 8963 while :; do 8964 case $as_dir in #( 8965 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 8966 *) as_qdir=$as_dir;; 8967 esac 8968 as_dirs="'$as_qdir' $as_dirs" 8969 as_dir=`$as_dirname -- "$as_dir" || 8970 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8971 X"$as_dir" : 'X\(//\)[^/]' \| \ 8972 X"$as_dir" : 'X\(//\)$' \| \ 8973 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8974 $as_echo X"$as_dir" | 8975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8976 s//\1/ 8977 q 8978 } 8979 /^X\(\/\/\)[^/].*/{ 8980 s//\1/ 8981 q 8982 } 8983 /^X\(\/\/\)$/{ 8984 s//\1/ 8985 q 8986 } 8987 /^X\(\/\).*/{ 8988 s//\1/ 8989 q 8990 } 8991 s/.*/./; q'` 8992 test -d "$as_dir" && break 8993 done 8994 test -z "$as_dirs" || eval "mkdir $as_dirs" 8995 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 8996 8997 8998 } # as_fn_mkdir_p 12904 8999 if mkdir -p . 2>/dev/null; then 12905 as_mkdir_p= :9000 as_mkdir_p='mkdir -p "$as_dir"' 12906 9001 else 12907 9002 test -d ./-p && rmdir ./-p … … 12909 9004 fi 12910 9005 12911 if test -x / >/dev/null 2>&1; then 12912 as_test_x='test -x' 12913 else 12914 if ls -dL / >/dev/null 2>&1; then 12915 as_ls_L_option=L 12916 else 12917 as_ls_L_option= 12918 fi 12919 as_test_x=' 12920 eval sh -c '\'' 12921 if test -d "$1"; then 12922 test -d "$1/."; 12923 else 12924 case $1 in 12925 -*)set "./$1";; 12926 esac; 12927 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 12928 ???[sx]*):;;*)false;;esac;fi 12929 '\'' sh 12930 ' 12931 fi 12932 as_executable_p=$as_test_x 9006 9007 # as_fn_executable_p FILE 9008 # ----------------------- 9009 # Test if FILE is an executable regular file. 9010 as_fn_executable_p () 9011 { 9012 test -f "$1" && test -x "$1" 9013 } # as_fn_executable_p 9014 as_test_x='test -x' 9015 as_executable_p=as_fn_executable_p 12933 9016 12934 9017 # Sed expression to map a string onto a valid CPP name. … … 12940 9023 12941 9024 exec 6>&1 12942 12943 # Save the log message, to keep $[0] and so on meaningful, and to 9025 ## ----------------------------------- ## 9026 ## Main body of $CONFIG_STATUS script. ## 9027 ## ----------------------------------- ## 9028 _ASEOF 9029 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9030 9031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9032 # Save the log message, to keep $0 and so on meaningful, and to 12944 9033 # report actual input values of CONFIG_FILES etc. instead of their 12945 9034 # values after options handling. 12946 9035 ac_log=" 12947 9036 This file was extended by vizservers $as_me 0.1, which was 12948 generated by GNU Autoconf 2.6 3. Invocation command line was9037 generated by GNU Autoconf 2.69. Invocation command line was 12949 9038 12950 9039 CONFIG_FILES = $CONFIG_FILES … … 12977 9066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12978 9067 ac_cs_usage="\ 12979 \`$as_me' instantiates files from templates according to the 12980 current configuration. 12981 12982 Usage: $0 [OPTION]... [FILE]... 9068 \`$as_me' instantiates files and other configuration actions 9069 from templates according to the current configuration. Unless the files 9070 and actions are specified as TAGs, all are instantiated by default. 9071 9072 Usage: $0 [OPTION]... [TAG]... 12983 9073 12984 9074 -h, --help print this help, then exit 12985 9075 -V, --version print version number and configuration settings, then exit 9076 --config print configuration, then exit 12986 9077 -q, --quiet, --silent 12987 9078 do not print progress messages … … 12999 9090 $config_headers 13000 9091 13001 Report bugs to < bug-autoconf@gnu.org>."9092 Report bugs to <rappture@nanohub.org>." 13002 9093 13003 9094 _ACEOF 13004 9095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9096 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13005 9097 ac_cs_version="\\ 13006 9098 vizservers config.status 0.1 13007 configured by $0, generated by GNU Autoconf 2.6 3,13008 with options \\" `$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"13009 13010 Copyright (C) 20 08Free Software Foundation, Inc.9099 configured by $0, generated by GNU Autoconf 2.69, 9100 with options \\"\$ac_cs_config\\" 9101 9102 Copyright (C) 2012 Free Software Foundation, Inc. 13011 9103 This config.status script is free software; the Free Software Foundation 13012 9104 gives unlimited permission to copy, distribute and modify it." … … 13025 9117 do 13026 9118 case $1 in 13027 --*= *)9119 --*=?*) 13028 9120 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13029 9121 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9122 ac_shift=: 9123 ;; 9124 --*=) 9125 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9126 ac_optarg= 13030 9127 ac_shift=: 13031 9128 ;; … … 13043 9140 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13044 9141 $as_echo "$ac_cs_version"; exit ;; 9142 --config | --confi | --conf | --con | --co | --c ) 9143 $as_echo "$ac_cs_config"; exit ;; 13045 9144 --debug | --debu | --deb | --de | --d | -d ) 13046 9145 debug=: ;; … … 13049 9148 case $ac_optarg in 13050 9149 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9150 '') as_fn_error $? "missing file argument" ;; 13051 9151 esac 13052 CONFIG_FILES="$CONFIG_FILES'$ac_optarg'"9152 as_fn_append CONFIG_FILES " '$ac_optarg'" 13053 9153 ac_need_defaults=false;; 13054 9154 --header | --heade | --head | --hea ) … … 13057 9157 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13058 9158 esac 13059 CONFIG_HEADERS="$CONFIG_HEADERS'$ac_optarg'"9159 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13060 9160 ac_need_defaults=false;; 13061 9161 --he | --h) 13062 9162 # Conflict between --help and --header 13063 { $as_echo "$as_me: error: ambiguous option: $1 13064 Try \`$0 --help' for more information." >&2 13065 { (exit 1); exit 1; }; };; 9163 as_fn_error $? "ambiguous option: \`$1' 9164 Try \`$0 --help' for more information.";; 13066 9165 --help | --hel | -h ) 13067 9166 $as_echo "$ac_cs_usage"; exit ;; … … 13071 9170 13072 9171 # This is an error. 13073 -*) { $as_echo "$as_me: error: unrecognized option: $1 13074 Try \`$0 --help' for more information." >&2 13075 { (exit 1); exit 1; }; } ;; 13076 13077 *) ac_config_targets="$ac_config_targets $1" 9172 -*) as_fn_error $? "unrecognized option: \`$1' 9173 Try \`$0 --help' for more information." ;; 9174 9175 *) as_fn_append ac_config_targets " $1" 13078 9176 ac_need_defaults=false ;; 13079 9177 … … 13092 9190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13093 9191 if \$ac_cs_recheck; then 13094 set X '$SHELL''$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion9192 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13095 9193 shift 13096 9194 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 … … 13124 9222 "nanoscale/config.h") CONFIG_HEADERS="$CONFIG_HEADERS nanoscale/config.h" ;; 13125 9223 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9224 "geovis/Makefile") CONFIG_FILES="$CONFIG_FILES geovis/Makefile" ;; 13126 9225 "nanoscale/Makefile") CONFIG_FILES="$CONFIG_FILES nanoscale/Makefile" ;; 13127 9226 "nanoscale/renderservers.tcl") CONFIG_FILES="$CONFIG_FILES nanoscale/renderservers.tcl" ;; … … 13139 9238 "start_nanoscale.sh") CONFIG_FILES="$CONFIG_FILES start_nanoscale.sh" ;; 13140 9239 13141 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13142 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13143 { (exit 1); exit 1; }; };; 9240 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13144 9241 esac 13145 9242 done … … 13163 9260 $debug || 13164 9261 { 13165 tmp= 9262 tmp= ac_tmp= 13166 9263 trap 'exit_status=$? 13167 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9264 : "${ac_tmp:=$tmp}" 9265 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13168 9266 ' 0 13169 trap ' { (exit 1); exit 1; }' 1 2 13 159267 trap 'as_fn_exit 1' 1 2 13 15 13170 9268 } 13171 9269 # Create a (secure) tmp directory for tmp files. … … 13173 9271 { 13174 9272 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13175 test - n "$tmp" && test -d "$tmp"9273 test -d "$tmp" 13176 9274 } || 13177 9275 { 13178 9276 tmp=./conf$$-$RANDOM 13179 9277 (umask 077 && mkdir "$tmp") 13180 } || 13181 { 13182 $as_echo "$as_me: cannot create a temporary directory in ." >&2 13183 { (exit 1); exit 1; } 13184 } 9278 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 9279 ac_tmp=$tmp 13185 9280 13186 9281 # Set up the scripts for CONFIG_FILES section. … … 13190 9285 13191 9286 13192 ac_cr=' 13193 ' 9287 ac_cr=`echo X | tr X '\015'` 9288 # On cygwin, bash can eat \r inside `` if the user requested igncr. 9289 # But we know of no other shell where ac_cr would be empty at this 9290 # point, so we can use a bashism as a fallback. 9291 if test "x$ac_cr" = x; then 9292 eval ac_cr=\$\'\\r\' 9293 fi 13194 9294 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13195 9295 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then … … 13199 9299 fi 13200 9300 13201 echo 'BEGIN {' >"$ tmp/subs1.awk" &&9301 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 13202 9302 _ACEOF 13203 9303 … … 13208 9308 echo "_ACEOF" 13209 9309 } >conf$$subs.sh || 13210 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13211 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13212 { (exit 1); exit 1; }; } 13213 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9310 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9311 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13214 9312 ac_delim='%!_!# ' 13215 9313 for ac_last_try in false false false false false :; do 13216 9314 . ./conf$$subs.sh || 13217 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13218 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13219 { (exit 1); exit 1; }; } 9315 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13220 9316 13221 9317 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 13223 9319 break 13224 9320 elif $ac_last_try; then 13225 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13226 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13227 { (exit 1); exit 1; }; } 9321 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13228 9322 else 13229 9323 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 13233 9327 13234 9328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13235 cat >>"\$ tmp/subs1.awk" <<\\_ACAWK &&9329 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 13236 9330 _ACEOF 13237 9331 sed -n ' … … 13247 9341 :nl 13248 9342 h 13249 s/\(.\{148\}\). */\1/9343 s/\(.\{148\}\)..*/\1/ 13250 9344 t more1 13251 9345 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 13261 9355 :delim 13262 9356 h 13263 s/\(.\{148\}\). */\1/9357 s/\(.\{148\}\)..*/\1/ 13264 9358 t more2 13265 9359 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 13281 9375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13282 9376 _ACAWK 13283 cat >>"\$ tmp/subs1.awk" <<_ACAWK &&9377 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 13284 9378 for (key in S) S_is_set[key] = 1 13285 9379 FS = "" … … 13313 9407 else 13314 9408 cat 13315 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 13316 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 13317 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 13318 { (exit 1); exit 1; }; } 13319 _ACEOF 13320 13321 # VPATH may cause trouble with some makes, so we remove $(srcdir), 13322 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9409 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 9410 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9411 _ACEOF 9412 9413 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9414 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13323 9415 # trailing colons and then remove the whole line if VPATH becomes empty 13324 9416 # (actually we leave an empty line to preserve line numbers). 13325 9417 if test "x$srcdir" = x.; then 13326 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 13327 s/:*\$(srcdir):*/:/ 13328 s/:*\${srcdir}:*/:/ 13329 s/:*@srcdir@:*/:/ 13330 s/^\([^=]*=[ ]*\):*/\1/ 9418 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 9419 h 9420 s/// 9421 s/^/:/ 9422 s/[ ]*$/:/ 9423 s/:\$(srcdir):/:/g 9424 s/:\${srcdir}:/:/g 9425 s/:@srcdir@:/:/g 9426 s/^:*// 13331 9427 s/:*$// 9428 x 9429 s/\(=[ ]*\).*/\1/ 9430 G 9431 s/\n// 13332 9432 s/^[^=]*=[ ]*$// 13333 9433 }' … … 13341 9441 # This happens for instance with `./config.status Makefile'. 13342 9442 if test -n "$CONFIG_HEADERS"; then 13343 cat >"$ tmp/defines.awk" <<\_ACAWK ||9443 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 13344 9444 BEGIN { 13345 9445 _ACEOF … … 13353 9453 ac_delim='%!_!# ' 13354 9454 for ac_last_try in false false :; do 13355 ac_t =`sed -n "/$ac_delim/p" confdefs.h`13356 if test -z "$ac_t "; then9455 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 9456 if test -z "$ac_tt"; then 13357 9457 break 13358 9458 elif $ac_last_try; then 13359 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 13360 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 13361 { (exit 1); exit 1; }; } 9459 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 13362 9460 else 13363 9461 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 13444 9542 _ACEOF 13445 9543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13446 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 13447 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 13448 { (exit 1); exit 1; }; } 9544 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 13449 9545 fi # test -n "$CONFIG_HEADERS" 13450 9546 … … 13459 9555 case $ac_mode$ac_tag in 13460 9556 :[FHL]*:*);; 13461 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 13462 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 13463 { (exit 1); exit 1; }; };; 9557 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 13464 9558 :[FH]-) ac_tag=-:-;; 13465 9559 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 13480 9574 do 13481 9575 case $ac_f in 13482 -) ac_f="$ tmp/stdin";;9576 -) ac_f="$ac_tmp/stdin";; 13483 9577 *) # Look for the file first in the build tree, then in the source tree 13484 9578 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 13489 9583 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13490 9584 esac || 13491 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 13492 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 13493 { (exit 1); exit 1; }; };; 9585 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 13494 9586 esac 13495 9587 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13496 a c_file_inputs="$ac_file_inputs'$ac_f'"9588 as_fn_append ac_file_inputs " '$ac_f'" 13497 9589 done 13498 9590 … … 13505 9597 if test x"$ac_file" != x-; then 13506 9598 configure_input="$ac_file. $configure_input" 13507 { $as_echo "$as_me:$ LINENO: creating $ac_file" >&59599 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13508 9600 $as_echo "$as_me: creating $ac_file" >&6;} 13509 9601 fi … … 13517 9609 13518 9610 case $ac_tag in 13519 *:-:* | *:-) cat >"$tmp/stdin" \ 13520 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13521 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13522 { (exit 1); exit 1; }; } ;; 9611 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 9612 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13523 9613 esac 13524 9614 ;; … … 13548 9638 } 13549 9639 s/.*/./; q'` 13550 { as_dir="$ac_dir" 13551 case $as_dir in #( 13552 -*) as_dir=./$as_dir;; 13553 esac 13554 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 13555 as_dirs= 13556 while :; do 13557 case $as_dir in #( 13558 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13559 *) as_qdir=$as_dir;; 13560 esac 13561 as_dirs="'$as_qdir' $as_dirs" 13562 as_dir=`$as_dirname -- "$as_dir" || 13563 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13564 X"$as_dir" : 'X\(//\)[^/]' \| \ 13565 X"$as_dir" : 'X\(//\)$' \| \ 13566 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13567 $as_echo X"$as_dir" | 13568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13569 s//\1/ 13570 q 13571 } 13572 /^X\(\/\/\)[^/].*/{ 13573 s//\1/ 13574 q 13575 } 13576 /^X\(\/\/\)$/{ 13577 s//\1/ 13578 q 13579 } 13580 /^X\(\/\).*/{ 13581 s//\1/ 13582 q 13583 } 13584 s/.*/./; q'` 13585 test -d "$as_dir" && break 13586 done 13587 test -z "$as_dirs" || eval "mkdir $as_dirs" 13588 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 13589 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 13590 { (exit 1); exit 1; }; }; } 9640 as_dir="$ac_dir"; as_fn_mkdir_p 13591 9641 ac_builddir=. 13592 9642 … … 13645 9695 # FIXME: This hack should be removed a few years after 2.60. 13646 9696 ac_datarootdir_hack=; ac_datarootdir_seen= 13647 13648 9697 ac_sed_dataroot=' 13649 9698 /datarootdir/ { … … 13655 9704 /@infodir@/p 13656 9705 /@localedir@/p 13657 /@mandir@/p 13658 ' 9706 /@mandir@/p' 13659 9707 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13660 9708 *datarootdir*) ac_datarootdir_seen=yes;; 13661 9709 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13662 { $as_echo "$as_me:$ LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&59710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13663 9711 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13664 9712 _ACEOF … … 13670 9718 s&@localedir@&$localedir&g 13671 9719 s&@mandir@&$mandir&g 13672 9720 s&\\\${datarootdir}&$datarootdir&g' ;; 13673 9721 esac 13674 9722 _ACEOF … … 13698 9746 $ac_datarootdir_hack 13699 9747 " 13700 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 13701 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13702 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13703 { (exit 1); exit 1; }; } 9748 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9749 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13704 9750 13705 9751 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13706 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 13707 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 13708 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13709 which seems to be undefined. Please make sure it is defined." >&5 9752 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 9753 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 9754 "$ac_tmp/out"`; test -z "$ac_out"; } && 9755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9756 which seems to be undefined. Please make sure it is defined" >&5 13710 9757 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13711 which seems to be undefined. Please make sure it is defined ." >&2;}13712 13713 rm -f "$ tmp/stdin"9758 which seems to be undefined. Please make sure it is defined" >&2;} 9759 9760 rm -f "$ac_tmp/stdin" 13714 9761 case $ac_file in 13715 -) cat "$ tmp/out" && rm -f "$tmp/out";;13716 *) rm -f "$ac_file" && mv "$ tmp/out" "$ac_file";;9762 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 9763 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 13717 9764 esac \ 13718 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13719 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13720 { (exit 1); exit 1; }; } 9765 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13721 9766 ;; 13722 9767 :H) … … 13727 9772 { 13728 9773 $as_echo "/* $configure_input */" \ 13729 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 13730 } >"$tmp/config.h" \ 13731 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13732 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13733 { (exit 1); exit 1; }; } 13734 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 13735 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 9774 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 9775 } >"$ac_tmp/config.h" \ 9776 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9777 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 9778 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 13736 9779 $as_echo "$as_me: $ac_file is unchanged" >&6;} 13737 9780 else 13738 9781 rm -f "$ac_file" 13739 mv "$tmp/config.h" "$ac_file" \ 13740 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13741 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13742 { (exit 1); exit 1; }; } 9782 mv "$ac_tmp/config.h" "$ac_file" \ 9783 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13743 9784 fi 13744 9785 else 13745 9786 $as_echo "/* $configure_input */" \ 13746 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 13747 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 13748 $as_echo "$as_me: error: could not create -" >&2;} 13749 { (exit 1); exit 1; }; } 9787 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9788 || as_fn_error $? "could not create -" "$LINENO" 5 13750 9789 fi 13751 9790 ;; … … 13757 9796 13758 9797 13759 { (exit 0); exit 0; } 13760 _ACEOF 13761 chmod +x $CONFIG_STATUS 9798 as_fn_exit 0 9799 _ACEOF 13762 9800 ac_clean_files=$ac_clean_files_save 13763 9801 13764 9802 test $ac_write_fail = 0 || 13765 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 13766 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 13767 { (exit 1); exit 1; }; } 9803 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 13768 9804 13769 9805 … … 13786 9822 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 13787 9823 # would make configure fail if this is the last instruction. 13788 $ac_cs_success || { (exit 1); exit 1; }9824 $ac_cs_success || as_fn_exit 1 13789 9825 fi 13790 9826 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 13791 { $as_echo "$as_me:$ LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&59827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 13792 9828 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 13793 9829 fi -
trunk/packages/vizservers/configure.in
r3563 r4010 307 307 AC_OUTPUT([ 308 308 Makefile \ 309 geovis/Makefile \ 309 310 nanoscale/Makefile \ 310 311 nanoscale/renderservers.tcl \
Note: See TracChangeset
for help on using the changeset viewer.