Changeset 2568 for trunk/packages/vizservers/configure
- Timestamp:
- Sep 22, 2011 6:04:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/configure
r2556 r2568 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 8for vizservers 0.1.3 # Generated by GNU Autoconf 2.63 for vizservers 0.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 #8 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 11 # 12 # 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 13 9 # This configure script is free software; the Free Software Foundation 14 10 # gives unlimited permission to copy, distribute and modify it. 15 ## -------------------- ##16 ## M4sh Initialization. ##17 ## -------------------- ##11 ## --------------------- ## 12 ## M4sh Initialization. ## 13 ## --------------------- ## 18 14 19 15 # Be more Bourne compatible 20 16 DUALCASE=1; export DUALCASE # for MKS sh 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 22 18 emulate sh 23 19 NULLCMD=: … … 27 23 setopt NO_GLOB_SUBST 28 24 else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34 esac 35 fi 36 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 37 41 38 42 as_nl=' … … 43 47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 50 as_echo='printf %s\n' 53 51 as_echo_n='printf %s' … … 60 58 as_echo_n_body='eval 61 59 arg=$1; 62 case $arg in #(60 case $arg in 63 61 *"$as_nl"*) 64 62 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 83 81 fi 84 82 83 # Support unset when possible. 84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 85 as_unset=unset 86 else 87 as_unset=false 88 fi 89 85 90 86 91 # IFS … … 92 97 93 98 # Find who we are. Look in the path if we contain no directory separator. 94 as_myself= 95 case $0 in #(( 99 case $0 in 96 100 *[\\/]* ) as_myself=$0 ;; 97 101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 100 104 IFS=$as_save_IFS 101 105 test -z "$as_dir" && as_dir=. 102 103 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 107 done 104 108 IFS=$as_save_IFS 105 109 … … 113 117 if test ! -f "$as_myself"; then 114 118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116 fi 117 118 # Unset variables that we do not need and which cause bugs (e.g. in 119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120 # suppresses any "Segmentation fault" message there. '((' could 121 # trigger a bug in pdksh 5.2.14. 122 for as_var in BASH_ENV ENV MAIL MAILPATH 123 do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 119 { (exit 1); exit 1; } 120 fi 121 122 # Work around bugs in pre-3.0 UWIN ksh. 123 for as_var in ENV MAIL MAILPATH 124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 125 125 done 126 126 PS1='$ ' … … 134 134 export LANGUAGE 135 135 136 # CDPATH. 137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139 if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147 else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153 esac 154 fi 155 " 156 as_required="as_fn_return () { (exit \$1); } 157 as_fn_success () { as_fn_return 0; } 158 as_fn_failure () { as_fn_return 1; } 159 as_fn_ret_success () { return 0; } 160 as_fn_ret_failure () { return 1; } 161 162 exitcode=0 163 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169 else 170 exitcode=1; echo positional parameters were not saved. 171 fi 172 test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177 test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180 else 181 as_have_required=no 182 fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185 else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187 as_found=false 188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189 do 190 IFS=$as_save_IFS 191 test -z "$as_dir" && as_dir=. 192 as_found=: 193 case $as_dir in #( 194 /*) 195 for as_base in sh bash ksh sh5; do 196 # Try only shells that exist, to save several forks. 197 as_shell=$as_dir/$as_base 198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 CONFIG_SHELL=$as_shell as_have_required=yes 201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202 break 2 203 fi 204 fi 205 done;; 206 esac 207 as_found=false 208 done 209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211 CONFIG_SHELL=$SHELL as_have_required=yes 212 fi; } 213 IFS=$as_save_IFS 214 215 216 if test "x$CONFIG_SHELL" != x; then : 217 # We cannot yet assume a decent shell, so we have to provide a 218 # neutralization value for shells without unset; and this also 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232 fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240 else 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242 $0: rappture@nanohub.org about your system, including any 243 $0: error possibly output before this message. Then install 244 $0: a modern shell, or manually run the script under such a 245 $0: shell if you do have one." 246 fi 247 exit 1 248 fi 249 fi 250 fi 251 SHELL=${CONFIG_SHELL-/bin/sh} 252 export SHELL 253 # Unset more variables known to interfere with behavior of common tools. 254 CLICOLOR_FORCE= GREP_OPTIONS= 255 unset CLICOLOR_FORCE GREP_OPTIONS 256 257 ## --------------------- ## 258 ## M4sh Shell Functions. ## 259 ## --------------------- ## 260 # as_fn_unset VAR 261 # --------------- 262 # Portably unset VAR. 263 as_fn_unset () 264 { 265 { eval $1=; unset $1;} 266 } 267 as_unset=as_fn_unset 268 269 # as_fn_set_status STATUS 270 # ----------------------- 271 # Set $? to STATUS, without forking. 272 as_fn_set_status () 273 { 274 return $1 275 } # as_fn_set_status 276 277 # as_fn_exit STATUS 278 # ----------------- 279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280 as_fn_exit () 281 { 282 set +e 283 as_fn_set_status $1 284 exit $1 285 } # as_fn_exit 286 287 # as_fn_mkdir_p 288 # ------------- 289 # Create "$as_dir" as a directory, including parents if necessary. 290 as_fn_mkdir_p () 291 { 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309 $as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 331 332 333 } # as_fn_mkdir_p 334 # as_fn_append VAR VALUE 335 # ---------------------- 336 # Append the text in VALUE to the end of the definition contained in VAR. Take 337 # advantage of any shell optimizations that allow amortized linear growth over 338 # repeated appends, instead of the typical quadratic growth present in naive 339 # implementations. 340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345 else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350 fi # as_fn_append 351 352 # as_fn_arith ARG... 353 # ------------------ 354 # Perform arithmetic evaluation on the ARGs, and store the result in the 355 # global $as_val. Take advantage of shells that can avoid forks. The arguments 356 # must be portable across $(()) and expr. 357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362 else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367 fi # as_fn_arith 368 369 370 # as_fn_error STATUS ERROR [LINENO LOG_FD] 371 # ---------------------------------------- 372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374 # script with STATUS, using 1 if that was 0. 375 as_fn_error () 376 { 377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 381 fi 382 $as_echo "$as_me: error: $2" >&2 383 as_fn_exit $as_status 384 } # as_fn_error 385 136 # Required to use basename. 386 137 if expr a : '\(a\)' >/dev/null 2>&1 && 387 138 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 397 148 fi 398 149 399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401 else 402 as_dirname=false 403 fi 404 150 151 # Name of the executable. 405 152 as_me=`$as_basename -- "$0" || 406 153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 422 169 s/.*/./; q'` 423 170 424 # Avoid depending upon Character Ranges. 425 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 428 as_cr_digits='0123456789' 429 as_cr_alnum=$as_cr_Letters$as_cr_digits 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 171 # CDPATH. 172 $as_unset CDPATH 173 174 175 if test "x$CONFIG_SHELL" = x; then 176 if (eval ":") 2>/dev/null; then 177 as_have_required=yes 178 else 179 as_have_required=no 180 fi 181 182 if test $as_have_required = yes && (eval ": 183 (as_func_return () { 184 (exit \$1) 185 } 186 as_func_success () { 187 as_func_return 0 188 } 189 as_func_failure () { 190 as_func_return 1 191 } 192 as_func_ret_success () { 193 return 0 194 } 195 as_func_ret_failure () { 196 return 1 197 } 198 199 exitcode=0 200 if as_func_success; then 201 : 202 else 203 exitcode=1 204 echo as_func_success failed. 205 fi 206 207 if as_func_failure; then 208 exitcode=1 209 echo as_func_failure succeeded. 210 fi 211 212 if as_func_ret_success; then 213 : 214 else 215 exitcode=1 216 echo as_func_ret_success failed. 217 fi 218 219 if as_func_ret_failure; then 220 exitcode=1 221 echo as_func_ret_failure succeeded. 222 fi 223 224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225 : 226 else 227 exitcode=1 228 echo positional parameters were not saved. 229 fi 230 231 test \$exitcode = 0) || { (exit 1); exit 1; } 232 233 ( 234 as_lineno_1=\$LINENO 235 as_lineno_2=\$LINENO 236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238 ") 2> /dev/null; then 239 : 240 else 241 as_candidate_shells= 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244 do 245 IFS=$as_save_IFS 246 test -z "$as_dir" && as_dir=. 247 case $as_dir in 248 /*) 249 for as_base in sh bash ksh sh5; do 250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251 done;; 252 esac 253 done 254 IFS=$as_save_IFS 255 256 257 for as_shell in $as_candidate_shells $SHELL; do 258 # Try only shells that exist, to save several forks. 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260 { ("$as_shell") 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 _ASEOF 278 }; then 279 CONFIG_SHELL=$as_shell 280 as_have_required=yes 281 if { "$as_shell" 2> /dev/null <<\_ASEOF 282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283 emulate sh 284 NULLCMD=: 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286 # is contrary to our usage. Disable this feature. 287 alias -g '${1+"$@"}'='"$@"' 288 setopt NO_GLOB_SUBST 289 else 290 case `(set -o) 2>/dev/null` in 291 *posix*) set -o posix ;; 292 esac 293 294 fi 295 296 297 : 298 (as_func_return () { 299 (exit $1) 300 } 301 as_func_success () { 302 as_func_return 0 303 } 304 as_func_failure () { 305 as_func_return 1 306 } 307 as_func_ret_success () { 308 return 0 309 } 310 as_func_ret_failure () { 311 return 1 312 } 313 314 exitcode=0 315 if as_func_success; then 316 : 317 else 318 exitcode=1 319 echo as_func_success failed. 320 fi 321 322 if as_func_failure; then 323 exitcode=1 324 echo as_func_failure succeeded. 325 fi 326 327 if as_func_ret_success; then 328 : 329 else 330 exitcode=1 331 echo as_func_ret_success failed. 332 fi 333 334 if as_func_ret_failure; then 335 exitcode=1 336 echo as_func_ret_failure succeeded. 337 fi 338 339 if ( set x; as_func_ret_success y && test x = "$1" ); then 340 : 341 else 342 exitcode=1 343 echo positional parameters were not saved. 344 fi 345 346 test $exitcode = 0) || { (exit 1); exit 1; } 347 348 ( 349 as_lineno_1=$LINENO 350 as_lineno_2=$LINENO 351 test "x$as_lineno_1" != "x$as_lineno_2" && 352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353 354 _ASEOF 355 }; then 356 break 357 fi 358 359 fi 360 361 done 362 363 if test "x$CONFIG_SHELL" != x; then 364 for as_var in BASH_ENV ENV 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369 fi 370 371 372 if test $as_have_required = no; then 373 echo This script requires a shell more modern than all the 374 echo shells that I found on your system. Please install a 375 echo modern shell, or manually run the script under such a 376 echo shell if you do have one. 377 { (exit 1); exit 1; } 378 fi 379 380 381 fi 382 383 fi 384 385 386 387 (eval "as_func_return () { 388 (exit \$1) 389 } 390 as_func_success () { 391 as_func_return 0 392 } 393 as_func_failure () { 394 as_func_return 1 395 } 396 as_func_ret_success () { 397 return 0 398 } 399 as_func_ret_failure () { 400 return 1 401 } 402 403 exitcode=0 404 if as_func_success; then 405 : 406 else 407 exitcode=1 408 echo as_func_success failed. 409 fi 410 411 if as_func_failure; then 412 exitcode=1 413 echo as_func_failure succeeded. 414 fi 415 416 if as_func_ret_success; then 417 : 418 else 419 exitcode=1 420 echo as_func_ret_success failed. 421 fi 422 423 if as_func_ret_failure; then 424 exitcode=1 425 echo as_func_ret_failure succeeded. 426 fi 427 428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429 : 430 else 431 exitcode=1 432 echo positional parameters were not saved. 433 fi 434 435 test \$exitcode = 0") || { 436 echo No shell found that supports shell functions. 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 441 } 442 443 444 445 as_lineno_1=$LINENO 446 as_lineno_2=$LINENO 447 test "x$as_lineno_1" != "x$as_lineno_2" && 448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449 450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451 # uniformly replaced by the line number. The first 'sed' inserts a 452 # line-number line after each line using $LINENO; the second 'sed' 453 # does the real work. The second script uses 'N' to pair each 454 # line-number line with the line containing $LINENO, and appends 455 # trailing '-' during substitution so that $LINENO is not a special 456 # case at line end. 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458 # scripts with optimization help from Paolo Bonzini. Blame Lee 459 # E. McMahon (1931-1989) for sed's syntax. :-) 437 460 sed -n ' 438 461 p … … 451 474 ' >$as_me.lineno && 452 475 chmod +x "$as_me.lineno" || 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 454 478 455 479 # Don't try to exec as it changes $[0], causing all sort of problems … … 461 485 } 462 486 487 488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 489 as_dirname=dirname 490 else 491 as_dirname=false 492 fi 493 463 494 ECHO_C= ECHO_N= ECHO_T= 464 case `echo -n x` in #(((((495 case `echo -n x` in 465 496 -n*) 466 case `echo 'x y\c'` in497 case `echo 'x\c'` in 467 498 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 499 *) ECHO_C='\c';; 471 500 esac;; 472 501 *) 473 502 ECHO_N='-n';; 474 503 esac 504 if expr a : '\(a\)' >/dev/null 2>&1 && 505 test "X`expr 00001 : '.*\(...\)'`" = X001; then 506 as_expr=expr 507 else 508 as_expr=false 509 fi 475 510 476 511 rm -f conf$$ conf$$.exe conf$$.file … … 502 537 503 538 if mkdir -p . 2>/dev/null; then 504 as_mkdir_p= 'mkdir -p "$as_dir"'539 as_mkdir_p=: 505 540 else 506 541 test -d ./-p && rmdir ./-p … … 521 556 test -d "$1/."; 522 557 else 523 case $1 in #(558 case $1 in 524 559 -*)set "./$1";; 525 560 esac; 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 527 562 ???[sx]*):;;*)false;;esac;fi 528 563 '\'' sh … … 538 573 539 574 540 test -n "$DJDIR" || exec 7<&0 </dev/null 541 exec 6>&1575 576 exec 7<&0 </dev/null 6>&1 542 577 543 578 # Name of the host. 544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 545 580 # so uname gets run too. 546 581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 557 592 MFLAGS= 558 593 MAKEFLAGS= 594 SHELL=${CONFIG_SHELL-/bin/sh} 559 595 560 596 # Identity of this package. … … 564 600 PACKAGE_STRING='vizservers 0.1' 565 601 PACKAGE_BUGREPORT='rappture@nanohub.org' 566 PACKAGE_URL=''567 602 568 603 # Factoring default headers for most tests. … … 701 736 prefix 702 737 exec_prefix 703 PACKAGE_URL704 738 PACKAGE_BUGREPORT 705 739 PACKAGE_STRING … … 799 833 800 834 case $ac_option in 801 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 802 *=) ac_optarg= ;; 803 *) ac_optarg=yes ;; 835 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 836 *) ac_optarg=yes ;; 804 837 esac 805 838 … … 846 879 # Reject names that are not valid shell variable names. 847 880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 848 as_fn_error $? "invalid feature name: $ac_useropt" 881 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 882 { (exit 1); exit 1; }; } 849 883 ac_useropt_orig=$ac_useropt 850 884 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 872 906 # Reject names that are not valid shell variable names. 873 907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 874 as_fn_error $? "invalid feature name: $ac_useropt" 908 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 909 { (exit 1); exit 1; }; } 875 910 ac_useropt_orig=$ac_useropt 876 911 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1076 1111 # Reject names that are not valid shell variable names. 1077 1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1078 as_fn_error $? "invalid package name: $ac_useropt" 1113 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1114 { (exit 1); exit 1; }; } 1079 1115 ac_useropt_orig=$ac_useropt 1080 1116 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1092 1128 # Reject names that are not valid shell variable names. 1093 1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1094 as_fn_error $? "invalid package name: $ac_useropt" 1130 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1131 { (exit 1); exit 1; }; } 1095 1132 ac_useropt_orig=$ac_useropt 1096 1133 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1122 1159 x_libraries=$ac_optarg ;; 1123 1160 1124 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1125 Try \`$0 --help' for more information" 1161 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1162 Try \`$0 --help' for more information." >&2 1163 { (exit 1); exit 1; }; } 1126 1164 ;; 1127 1165 … … 1129 1167 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1130 1168 # Reject names that are not valid shell variable names. 1131 case $ac_envvar in #( 1132 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1133 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1134 esac 1169 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1170 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1171 { (exit 1); exit 1; }; } 1135 1172 eval $ac_envvar=\$ac_optarg 1136 1173 export $ac_envvar ;; … … 1141 1178 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1142 1179 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1143 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"1180 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1144 1181 ;; 1145 1182 … … 1149 1186 if test -n "$ac_prev"; then 1150 1187 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1151 as_fn_error $? "missing argument to $ac_option" 1188 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1189 { (exit 1); exit 1; }; } 1152 1190 fi 1153 1191 … … 1155 1193 case $enable_option_checking in 1156 1194 no) ;; 1157 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1195 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1196 { (exit 1); exit 1; }; } ;; 1158 1197 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1159 1198 esac … … 1178 1217 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1179 1218 esac 1180 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1219 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1220 { (exit 1); exit 1; }; } 1181 1221 done 1182 1222 … … 1192 1232 if test "x$build_alias" = x; then 1193 1233 cross_compiling=maybe 1194 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1195 If a cross compiler is detected then cross compile mode will be used " >&21234 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1235 If a cross compiler is detected then cross compile mode will be used." >&2 1196 1236 elif test "x$build_alias" != "x$host_alias"; then 1197 1237 cross_compiling=yes … … 1208 1248 ac_ls_di=`ls -di .` && 1209 1249 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1210 as_fn_error $? "working directory cannot be determined" 1250 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1251 { (exit 1); exit 1; }; } 1211 1252 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1212 as_fn_error $? "pwd does not report name of working directory" 1253 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1254 { (exit 1); exit 1; }; } 1213 1255 1214 1256 … … 1249 1291 if test ! -r "$srcdir/$ac_unique_file"; then 1250 1292 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1251 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1293 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1294 { (exit 1); exit 1; }; } 1252 1295 fi 1253 1296 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1254 1297 ac_abs_confdir=`( 1255 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1298 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1299 { (exit 1); exit 1; }; } 1256 1300 pwd)` 1257 1301 # When building in place, set srcdir=. … … 1293 1337 --help=recursive display the short help of all the included packages 1294 1338 -V, --version display version information and exit 1295 -q, --quiet, --silent do not print \`checking 1339 -q, --quiet, --silent do not print \`checking...' messages 1296 1340 --cache-file=FILE cache test results in FILE [disabled] 1297 1341 -C, --config-cache alias for \`--cache-file=config.cache' … … 1375 1419 nonstandard directory <lib dir> 1376 1420 LIBS libraries to pass to the linker, e.g. -l<library> 1377 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1421 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1378 1422 you have headers in a nonstandard directory <include dir> 1379 1423 CPP C preprocessor … … 1450 1494 cat <<\_ACEOF 1451 1495 vizservers configure 0.1 1452 generated by GNU Autoconf 2.68 1453 1454 Copyright (C) 2010 Free Software Foundation, Inc. 1496 generated by GNU Autoconf 2.63 1497 1498 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1499 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1455 1500 This configure script is free software; the Free Software Foundation 1456 1501 gives unlimited permission to copy, distribute and modify it. … … 1458 1503 exit 1459 1504 fi 1460 1461 ## ------------------------ ##1462 ## Autoconf initialization. ##1463 ## ------------------------ ##1464 1465 # ac_fn_c_try_compile LINENO1466 # --------------------------1467 # Try to compile conftest.$ac_ext, and return whether this succeeded.1468 ac_fn_c_try_compile ()1469 {1470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1471 rm -f conftest.$ac_objext1472 if { { ac_try="$ac_compile"1473 case "(($ac_try" in1474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1475 *) ac_try_echo=$ac_try;;1476 esac1477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1478 $as_echo "$ac_try_echo"; } >&51479 (eval "$ac_compile") 2>conftest.err1480 ac_status=$?1481 if test -s conftest.err; then1482 grep -v '^ *+' conftest.err >conftest.er11483 cat conftest.er1 >&51484 mv -f conftest.er1 conftest.err1485 fi1486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51487 test $ac_status = 0; } && {1488 test -z "$ac_c_werror_flag" ||1489 test ! -s conftest.err1490 } && test -s conftest.$ac_objext; then :1491 ac_retval=01492 else1493 $as_echo "$as_me: failed program was:" >&51494 sed 's/^/| /' conftest.$ac_ext >&51495 1496 ac_retval=11497 fi1498 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1499 as_fn_set_status $ac_retval1500 1501 } # ac_fn_c_try_compile1502 1503 # ac_fn_c_try_link LINENO1504 # -----------------------1505 # Try to link conftest.$ac_ext, and return whether this succeeded.1506 ac_fn_c_try_link ()1507 {1508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1509 rm -f conftest.$ac_objext conftest$ac_exeext1510 if { { ac_try="$ac_link"1511 case "(($ac_try" in1512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1513 *) ac_try_echo=$ac_try;;1514 esac1515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1516 $as_echo "$ac_try_echo"; } >&51517 (eval "$ac_link") 2>conftest.err1518 ac_status=$?1519 if test -s conftest.err; then1520 grep -v '^ *+' conftest.err >conftest.er11521 cat conftest.er1 >&51522 mv -f conftest.er1 conftest.err1523 fi1524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51525 test $ac_status = 0; } && {1526 test -z "$ac_c_werror_flag" ||1527 test ! -s conftest.err1528 } && test -s conftest$ac_exeext && {1529 test "$cross_compiling" = yes ||1530 $as_test_x conftest$ac_exeext1531 }; then :1532 ac_retval=01533 else1534 $as_echo "$as_me: failed program was:" >&51535 sed 's/^/| /' conftest.$ac_ext >&51536 1537 ac_retval=11538 fi1539 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1540 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1541 # interfere with the next link command; also delete a directory that is1542 # left behind by Apple's compiler. We do this before executing the actions.1543 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1544 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1545 as_fn_set_status $ac_retval1546 1547 } # ac_fn_c_try_link1548 1549 # ac_fn_c_try_cpp LINENO1550 # ----------------------1551 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1552 ac_fn_c_try_cpp ()1553 {1554 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1555 if { { ac_try="$ac_cpp conftest.$ac_ext"1556 case "(($ac_try" in1557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1558 *) ac_try_echo=$ac_try;;1559 esac1560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1561 $as_echo "$ac_try_echo"; } >&51562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1563 ac_status=$?1564 if test -s conftest.err; then1565 grep -v '^ *+' conftest.err >conftest.er11566 cat conftest.er1 >&51567 mv -f conftest.er1 conftest.err1568 fi1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51570 test $ac_status = 0; } > conftest.i && {1571 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1572 test ! -s conftest.err1573 }; then :1574 ac_retval=01575 else1576 $as_echo "$as_me: failed program was:" >&51577 sed 's/^/| /' conftest.$ac_ext >&51578 1579 ac_retval=11580 fi1581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1582 as_fn_set_status $ac_retval1583 1584 } # ac_fn_c_try_cpp1585 1586 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1587 # -------------------------------------------------------1588 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1589 # the include files in INCLUDES and setting the cache variable VAR1590 # accordingly.1591 ac_fn_c_check_header_mongrel ()1592 {1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1594 if eval \${$3+:} false; then :1595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51596 $as_echo_n "checking for $2... " >&6; }1597 if eval \${$3+:} false; then :1598 $as_echo_n "(cached) " >&61599 fi1600 eval ac_res=\$$31601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51602 $as_echo "$ac_res" >&6; }1603 else1604 # Is the header compilable?1605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51606 $as_echo_n "checking $2 usability... " >&6; }1607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1608 /* end confdefs.h. */1609 $41610 #include <$2>1611 _ACEOF1612 if ac_fn_c_try_compile "$LINENO"; then :1613 ac_header_compiler=yes1614 else1615 ac_header_compiler=no1616 fi1617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51619 $as_echo "$ac_header_compiler" >&6; }1620 1621 # Is the header present?1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51623 $as_echo_n "checking $2 presence... " >&6; }1624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1625 /* end confdefs.h. */1626 #include <$2>1627 _ACEOF1628 if ac_fn_c_try_cpp "$LINENO"; then :1629 ac_header_preproc=yes1630 else1631 ac_header_preproc=no1632 fi1633 rm -f conftest.err conftest.i conftest.$ac_ext1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51635 $as_echo "$ac_header_preproc" >&6; }1636 1637 # So? What about this header?1638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((1639 yes:no: )1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&51641 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51643 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1644 ;;1645 no:yes:* )1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&51647 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&51649 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&51651 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&51653 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51655 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1656 ( $as_echo "## ----------------------------------- ##1657 ## Report this to rappture@nanohub.org ##1658 ## ----------------------------------- ##"1659 ) | sed "s/^/$as_me: WARNING: /" >&21660 ;;1661 esac1662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51663 $as_echo_n "checking for $2... " >&6; }1664 if eval \${$3+:} false; then :1665 $as_echo_n "(cached) " >&61666 else1667 eval "$3=\$ac_header_compiler"1668 fi1669 eval ac_res=\$$31670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51671 $as_echo "$ac_res" >&6; }1672 fi1673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1674 1675 } # ac_fn_c_check_header_mongrel1676 1677 # ac_fn_c_try_run LINENO1678 # ----------------------1679 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1680 # that executables *can* be run.1681 ac_fn_c_try_run ()1682 {1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1684 if { { ac_try="$ac_link"1685 case "(($ac_try" in1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1687 *) ac_try_echo=$ac_try;;1688 esac1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1690 $as_echo "$ac_try_echo"; } >&51691 (eval "$ac_link") 2>&51692 ac_status=$?1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51694 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1695 { { case "(($ac_try" in1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1697 *) ac_try_echo=$ac_try;;1698 esac1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1700 $as_echo "$ac_try_echo"; } >&51701 (eval "$ac_try") 2>&51702 ac_status=$?1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51704 test $ac_status = 0; }; }; then :1705 ac_retval=01706 else1707 $as_echo "$as_me: program exited with status $ac_status" >&51708 $as_echo "$as_me: failed program was:" >&51709 sed 's/^/| /' conftest.$ac_ext >&51710 1711 ac_retval=$ac_status1712 fi1713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1715 as_fn_set_status $ac_retval1716 1717 } # ac_fn_c_try_run1718 1719 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1720 # -------------------------------------------------------1721 # Tests whether HEADER exists and can be compiled using the include files in1722 # INCLUDES, setting the cache variable VAR accordingly.1723 ac_fn_c_check_header_compile ()1724 {1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51727 $as_echo_n "checking for $2... " >&6; }1728 if eval \${$3+:} false; then :1729 $as_echo_n "(cached) " >&61730 else1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1732 /* end confdefs.h. */1733 $41734 #include <$2>1735 _ACEOF1736 if ac_fn_c_try_compile "$LINENO"; then :1737 eval "$3=yes"1738 else1739 eval "$3=no"1740 fi1741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1742 fi1743 eval ac_res=\$$31744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51745 $as_echo "$ac_res" >&6; }1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1747 1748 } # ac_fn_c_check_header_compile1749 1750 # ac_fn_cxx_try_compile LINENO1751 # ----------------------------1752 # Try to compile conftest.$ac_ext, and return whether this succeeded.1753 ac_fn_cxx_try_compile ()1754 {1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1756 rm -f conftest.$ac_objext1757 if { { ac_try="$ac_compile"1758 case "(($ac_try" in1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1760 *) ac_try_echo=$ac_try;;1761 esac1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1763 $as_echo "$ac_try_echo"; } >&51764 (eval "$ac_compile") 2>conftest.err1765 ac_status=$?1766 if test -s conftest.err; then1767 grep -v '^ *+' conftest.err >conftest.er11768 cat conftest.er1 >&51769 mv -f conftest.er1 conftest.err1770 fi1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51772 test $ac_status = 0; } && {1773 test -z "$ac_cxx_werror_flag" ||1774 test ! -s conftest.err1775 } && test -s conftest.$ac_objext; then :1776 ac_retval=01777 else1778 $as_echo "$as_me: failed program was:" >&51779 sed 's/^/| /' conftest.$ac_ext >&51780 1781 ac_retval=11782 fi1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1784 as_fn_set_status $ac_retval1785 1786 } # ac_fn_cxx_try_compile1787 1788 # ac_fn_cxx_try_cpp LINENO1789 # ------------------------1790 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1791 ac_fn_cxx_try_cpp ()1792 {1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1794 if { { ac_try="$ac_cpp conftest.$ac_ext"1795 case "(($ac_try" in1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1797 *) ac_try_echo=$ac_try;;1798 esac1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1800 $as_echo "$ac_try_echo"; } >&51801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1802 ac_status=$?1803 if test -s conftest.err; then1804 grep -v '^ *+' conftest.err >conftest.er11805 cat conftest.er1 >&51806 mv -f conftest.er1 conftest.err1807 fi1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51809 test $ac_status = 0; } > conftest.i && {1810 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||1811 test ! -s conftest.err1812 }; then :1813 ac_retval=01814 else1815 $as_echo "$as_me: failed program was:" >&51816 sed 's/^/| /' conftest.$ac_ext >&51817 1818 ac_retval=11819 fi1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1821 as_fn_set_status $ac_retval1822 1823 } # ac_fn_cxx_try_cpp1824 1825 # ac_fn_cxx_try_run LINENO1826 # ------------------------1827 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1828 # that executables *can* be run.1829 ac_fn_cxx_try_run ()1830 {1831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1832 if { { ac_try="$ac_link"1833 case "(($ac_try" in1834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1835 *) ac_try_echo=$ac_try;;1836 esac1837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1838 $as_echo "$ac_try_echo"; } >&51839 (eval "$ac_link") 2>&51840 ac_status=$?1841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51842 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1843 { { case "(($ac_try" in1844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1845 *) ac_try_echo=$ac_try;;1846 esac1847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1848 $as_echo "$ac_try_echo"; } >&51849 (eval "$ac_try") 2>&51850 ac_status=$?1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51852 test $ac_status = 0; }; }; then :1853 ac_retval=01854 else1855 $as_echo "$as_me: program exited with status $ac_status" >&51856 $as_echo "$as_me: failed program was:" >&51857 sed 's/^/| /' conftest.$ac_ext >&51858 1859 ac_retval=$ac_status1860 fi1861 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1863 as_fn_set_status $ac_retval1864 1865 } # ac_fn_cxx_try_run1866 1867 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES1868 # ----------------------------------------------1869 # Tries to find the compile-time value of EXPR in a program that includes1870 # INCLUDES, setting VAR accordingly. Returns whether the value could be1871 # computed1872 ac_fn_cxx_compute_int ()1873 {1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1875 if test "$cross_compiling" = yes; then1876 # Depending upon the size, compute the lo and hi bounds.1877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1878 /* end confdefs.h. */1879 $41880 int1881 main ()1882 {1883 static int test_array [1 - 2 * !(($2) >= 0)];1884 test_array [0] = 01885 1886 ;1887 return 0;1888 }1889 _ACEOF1890 if ac_fn_cxx_try_compile "$LINENO"; then :1891 ac_lo=0 ac_mid=01892 while :; do1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1894 /* end confdefs.h. */1895 $41896 int1897 main ()1898 {1899 static int test_array [1 - 2 * !(($2) <= $ac_mid)];1900 test_array [0] = 01901 1902 ;1903 return 0;1904 }1905 _ACEOF1906 if ac_fn_cxx_try_compile "$LINENO"; then :1907 ac_hi=$ac_mid; break1908 else1909 as_fn_arith $ac_mid + 1 && ac_lo=$as_val1910 if test $ac_lo -le $ac_mid; then1911 ac_lo= ac_hi=1912 break1913 fi1914 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val1915 fi1916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1917 done1918 else1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1920 /* end confdefs.h. */1921 $41922 int1923 main ()1924 {1925 static int test_array [1 - 2 * !(($2) < 0)];1926 test_array [0] = 01927 1928 ;1929 return 0;1930 }1931 _ACEOF1932 if ac_fn_cxx_try_compile "$LINENO"; then :1933 ac_hi=-1 ac_mid=-11934 while :; do1935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1936 /* end confdefs.h. */1937 $41938 int1939 main ()1940 {1941 static int test_array [1 - 2 * !(($2) >= $ac_mid)];1942 test_array [0] = 01943 1944 ;1945 return 0;1946 }1947 _ACEOF1948 if ac_fn_cxx_try_compile "$LINENO"; then :1949 ac_lo=$ac_mid; break1950 else1951 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val1952 if test $ac_mid -le $ac_hi; then1953 ac_lo= ac_hi=1954 break1955 fi1956 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val1957 fi1958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1959 done1960 else1961 ac_lo= ac_hi=1962 fi1963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1964 fi1965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1966 # Binary search between lo and hi bounds.1967 while test "x$ac_lo" != "x$ac_hi"; do1968 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1970 /* end confdefs.h. */1971 $41972 int1973 main ()1974 {1975 static int test_array [1 - 2 * !(($2) <= $ac_mid)];1976 test_array [0] = 01977 1978 ;1979 return 0;1980 }1981 _ACEOF1982 if ac_fn_cxx_try_compile "$LINENO"; then :1983 ac_hi=$ac_mid1984 else1985 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val1986 fi1987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1988 done1989 case $ac_lo in #((1990 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;1991 '') ac_retval=1 ;;1992 esac1993 else1994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1995 /* end confdefs.h. */1996 $41997 static long int longval () { return $2; }1998 static unsigned long int ulongval () { return $2; }1999 #include <stdio.h>2000 #include <stdlib.h>2001 int2002 main ()2003 {2004 2005 FILE *f = fopen ("conftest.val", "w");2006 if (! f)2007 return 1;2008 if (($2) < 0)2009 {2010 long int i = longval ();2011 if (i != ($2))2012 return 1;2013 fprintf (f, "%ld", i);2014 }2015 else2016 {2017 unsigned long int i = ulongval ();2018 if (i != ($2))2019 return 1;2020 fprintf (f, "%lu", i);2021 }2022 /* Do not output a trailing newline, as this causes \r\n confusion2023 on some platforms. */2024 return ferror (f) || fclose (f) != 0;2025 2026 ;2027 return 0;2028 }2029 _ACEOF2030 if ac_fn_cxx_try_run "$LINENO"; then :2031 echo >>conftest.val; read $3 <conftest.val; ac_retval=02032 else2033 ac_retval=12034 fi2035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \2036 conftest.$ac_objext conftest.beam conftest.$ac_ext2037 rm -f conftest.val2038 2039 fi2040 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2041 as_fn_set_status $ac_retval2042 2043 } # ac_fn_cxx_compute_int2044 2045 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES2046 # ---------------------------------------------------------2047 # Tests whether HEADER exists, giving a warning if it cannot be compiled using2048 # the include files in INCLUDES and setting the cache variable VAR2049 # accordingly.2050 ac_fn_cxx_check_header_mongrel ()2051 {2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2053 if eval \${$3+:} false; then :2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52055 $as_echo_n "checking for $2... " >&6; }2056 if eval \${$3+:} false; then :2057 $as_echo_n "(cached) " >&62058 fi2059 eval ac_res=\$$32060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52061 $as_echo "$ac_res" >&6; }2062 else2063 # Is the header compilable?2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&52065 $as_echo_n "checking $2 usability... " >&6; }2066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2067 /* end confdefs.h. */2068 $42069 #include <$2>2070 _ACEOF2071 if ac_fn_cxx_try_compile "$LINENO"; then :2072 ac_header_compiler=yes2073 else2074 ac_header_compiler=no2075 fi2076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&52078 $as_echo "$ac_header_compiler" >&6; }2079 2080 # Is the header present?2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&52082 $as_echo_n "checking $2 presence... " >&6; }2083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2084 /* end confdefs.h. */2085 #include <$2>2086 _ACEOF2087 if ac_fn_cxx_try_cpp "$LINENO"; then :2088 ac_header_preproc=yes2089 else2090 ac_header_preproc=no2091 fi2092 rm -f conftest.err conftest.i conftest.$ac_ext2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&52094 $as_echo "$ac_header_preproc" >&6; }2095 2096 # So? What about this header?2097 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((2098 yes:no: )2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&52100 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52102 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2103 ;;2104 no:yes:* )2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&52106 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}2107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&52108 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}2109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&52110 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}2111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&52112 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52114 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2115 ( $as_echo "## ----------------------------------- ##2116 ## Report this to rappture@nanohub.org ##2117 ## ----------------------------------- ##"2118 ) | sed "s/^/$as_me: WARNING: /" >&22119 ;;2120 esac2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52122 $as_echo_n "checking for $2... " >&6; }2123 if eval \${$3+:} false; then :2124 $as_echo_n "(cached) " >&62125 else2126 eval "$3=\$ac_header_compiler"2127 fi2128 eval ac_res=\$$32129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52130 $as_echo "$ac_res" >&6; }2131 fi2132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2133 2134 } # ac_fn_cxx_check_header_mongrel2135 2136 # ac_fn_cxx_try_link LINENO2137 # -------------------------2138 # Try to link conftest.$ac_ext, and return whether this succeeded.2139 ac_fn_cxx_try_link ()2140 {2141 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2142 rm -f conftest.$ac_objext conftest$ac_exeext2143 if { { ac_try="$ac_link"2144 case "(($ac_try" in2145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2146 *) ac_try_echo=$ac_try;;2147 esac2148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2149 $as_echo "$ac_try_echo"; } >&52150 (eval "$ac_link") 2>conftest.err2151 ac_status=$?2152 if test -s conftest.err; then2153 grep -v '^ *+' conftest.err >conftest.er12154 cat conftest.er1 >&52155 mv -f conftest.er1 conftest.err2156 fi2157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52158 test $ac_status = 0; } && {2159 test -z "$ac_cxx_werror_flag" ||2160 test ! -s conftest.err2161 } && test -s conftest$ac_exeext && {2162 test "$cross_compiling" = yes ||2163 $as_test_x conftest$ac_exeext2164 }; then :2165 ac_retval=02166 else2167 $as_echo "$as_me: failed program was:" >&52168 sed 's/^/| /' conftest.$ac_ext >&52169 2170 ac_retval=12171 fi2172 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information2173 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would2174 # interfere with the next link command; also delete a directory that is2175 # left behind by Apple's compiler. We do this before executing the actions.2176 rm -rf conftest.dSYM conftest_ipa8_conftest.oo2177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2178 as_fn_set_status $ac_retval2179 2180 } # ac_fn_cxx_try_link2181 2182 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES2183 # ---------------------------------------------------------2184 # Tests whether HEADER exists and can be compiled using the include files in2185 # INCLUDES, setting the cache variable VAR accordingly.2186 ac_fn_cxx_check_header_compile ()2187 {2188 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52190 $as_echo_n "checking for $2... " >&6; }2191 if eval \${$3+:} false; then :2192 $as_echo_n "(cached) " >&62193 else2194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2195 /* end confdefs.h. */2196 $42197 #include <$2>2198 _ACEOF2199 if ac_fn_cxx_try_compile "$LINENO"; then :2200 eval "$3=yes"2201 else2202 eval "$3=no"2203 fi2204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2205 fi2206 eval ac_res=\$$32207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52208 $as_echo "$ac_res" >&6; }2209 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2210 2211 } # ac_fn_cxx_check_header_compile2212 2213 # ac_fn_cxx_check_func LINENO FUNC VAR2214 # ------------------------------------2215 # Tests whether FUNC exists, setting the cache variable VAR accordingly2216 ac_fn_cxx_check_func ()2217 {2218 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52220 $as_echo_n "checking for $2... " >&6; }2221 if eval \${$3+:} false; then :2222 $as_echo_n "(cached) " >&62223 else2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2225 /* end confdefs.h. */2226 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.2227 For example, HP-UX 11i <limits.h> declares gettimeofday. */2228 #define $2 innocuous_$22229 2230 /* System header to define __stub macros and hopefully few prototypes,2231 which can conflict with char $2 (); below.2232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since2233 <limits.h> exists even on freestanding compilers. */2234 2235 #ifdef __STDC__2236 # include <limits.h>2237 #else2238 # include <assert.h>2239 #endif2240 2241 #undef $22242 2243 /* Override any GCC internal prototype to avoid an error.2244 Use char because int might match the return type of a GCC2245 builtin and then its argument prototype would still apply. */2246 #ifdef __cplusplus2247 extern "C"2248 #endif2249 char $2 ();2250 /* The GNU C library defines this for functions which it implements2251 to always fail with ENOSYS. Some functions are actually named2252 something starting with __ and the normal name is an alias. */2253 #if defined __stub_$2 || defined __stub___$22254 choke me2255 #endif2256 2257 int2258 main ()2259 {2260 return $2 ();2261 ;2262 return 0;2263 }2264 _ACEOF2265 if ac_fn_cxx_try_link "$LINENO"; then :2266 eval "$3=yes"2267 else2268 eval "$3=no"2269 fi2270 rm -f core conftest.err conftest.$ac_objext \2271 conftest$ac_exeext conftest.$ac_ext2272 fi2273 eval ac_res=\$$32274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52275 $as_echo "$ac_res" >&6; }2276 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2277 2278 } # ac_fn_cxx_check_func2279 1505 cat >config.log <<_ACEOF 2280 1506 This file contains any messages produced by compilers while … … 2282 1508 2283 1509 It was created by vizservers $as_me 0.1, which was 2284 generated by GNU Autoconf 2.6 8. Invocation command line was1510 generated by GNU Autoconf 2.63. Invocation command line was 2285 1511 2286 1512 $ $0 $@ … … 2318 1544 IFS=$as_save_IFS 2319 1545 test -z "$as_dir" && as_dir=. 2320 2321 1546 $as_echo "PATH: $as_dir" 1547 done 2322 1548 IFS=$as_save_IFS 2323 1549 … … 2356 1582 esac 2357 1583 case $ac_pass in 2358 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1584 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2359 1585 2) 2360 a s_fn_append ac_configure_args1 "'$ac_arg'"1586 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2361 1587 if test $ac_must_keep_next = true; then 2362 1588 ac_must_keep_next=false # Got value, back to normal. … … 2374 1600 esac 2375 1601 fi 2376 a s_fn_append ac_configure_args "'$ac_arg'"1602 ac_configure_args="$ac_configure_args '$ac_arg'" 2377 1603 ;; 2378 1604 esac 2379 1605 done 2380 1606 done 2381 { ac_configure_args0=; unset ac_configure_args0;}2382 { ac_configure_args1=; unset ac_configure_args1;}1607 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1608 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2383 1609 2384 1610 # When interrupted or exit'd, cleanup temporary files, and complete … … 2392 1618 echo 2393 1619 2394 $as_echo "## ---------------- ## 1620 cat <<\_ASBOX 1621 ## ---------------- ## 2395 1622 ## Cache variables. ## 2396 ## ---------------- ##" 1623 ## ---------------- ## 1624 _ASBOX 2397 1625 echo 2398 1626 # The following way of writing the cache mishandles newlines in values, … … 2403 1631 *${as_nl}*) 2404 1632 case $ac_var in #( 2405 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&51633 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 2406 1634 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2407 1635 esac … … 2409 1637 _ | IFS | as_nl) ;; #( 2410 1638 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2411 *) { eval $ac_var=; unset $ac_var;};;1639 *) $as_unset $ac_var ;; 2412 1640 esac ;; 2413 1641 esac … … 2428 1656 echo 2429 1657 2430 $as_echo "## ----------------- ## 1658 cat <<\_ASBOX 1659 ## ----------------- ## 2431 1660 ## Output variables. ## 2432 ## ----------------- ##" 1661 ## ----------------- ## 1662 _ASBOX 2433 1663 echo 2434 1664 for ac_var in $ac_subst_vars … … 2443 1673 2444 1674 if test -n "$ac_subst_files"; then 2445 $as_echo "## ------------------- ## 1675 cat <<\_ASBOX 1676 ## ------------------- ## 2446 1677 ## File substitutions. ## 2447 ## ------------------- ##" 1678 ## ------------------- ## 1679 _ASBOX 2448 1680 echo 2449 1681 for ac_var in $ac_subst_files … … 2459 1691 2460 1692 if test -s confdefs.h; then 2461 $as_echo "## ----------- ## 1693 cat <<\_ASBOX 1694 ## ----------- ## 2462 1695 ## confdefs.h. ## 2463 ## ----------- ##" 1696 ## ----------- ## 1697 _ASBOX 2464 1698 echo 2465 1699 cat confdefs.h … … 2475 1709 ' 0 2476 1710 for ac_signal in 1 2 13 15; do 2477 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1711 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2478 1712 done 2479 1713 ac_signal=0 … … 2482 1716 rm -f -r conftest* confdefs.h 2483 1717 2484 $as_echo "/* confdefs.h */" > confdefs.h2485 2486 1718 # Predefined preprocessor variables. 2487 1719 … … 2490 1722 _ACEOF 2491 1723 1724 2492 1725 cat >>confdefs.h <<_ACEOF 2493 1726 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2494 1727 _ACEOF 2495 1728 1729 2496 1730 cat >>confdefs.h <<_ACEOF 2497 1731 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2498 1732 _ACEOF 2499 1733 1734 2500 1735 cat >>confdefs.h <<_ACEOF 2501 1736 #define PACKAGE_STRING "$PACKAGE_STRING" 2502 1737 _ACEOF 2503 1738 1739 2504 1740 cat >>confdefs.h <<_ACEOF 2505 1741 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2506 _ACEOF2507 2508 cat >>confdefs.h <<_ACEOF2509 #define PACKAGE_URL "$PACKAGE_URL"2510 1742 _ACEOF 2511 1743 … … 2516 1748 ac_site_file2=NONE 2517 1749 if test -n "$CONFIG_SITE"; then 2518 # We do not want a PATH search for config.site. 2519 case $CONFIG_SITE in #(( 2520 -*) ac_site_file1=./$CONFIG_SITE;; 2521 */*) ac_site_file1=$CONFIG_SITE;; 2522 *) ac_site_file1=./$CONFIG_SITE;; 2523 esac 1750 ac_site_file1=$CONFIG_SITE 2524 1751 elif test "x$prefix" != xNONE; then 2525 1752 ac_site_file1=$prefix/share/config.site … … 2532 1759 do 2533 1760 test "x$ac_site_file" = xNONE && continue 2534 if test /dev/null != "$ac_site_file" && test-r "$ac_site_file"; then2535 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading site script $ac_site_file" >&51761 if test -r "$ac_site_file"; then 1762 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2536 1763 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2537 1764 sed 's/^/| /' "$ac_site_file" >&5 2538 . "$ac_site_file" \ 2539 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2541 as_fn_error $? "failed to load site script $ac_site_file 2542 See \`config.log' for more details" "$LINENO" 5; } 1765 . "$ac_site_file" 2543 1766 fi 2544 1767 done 2545 1768 2546 1769 if test -r "$cache_file"; then 2547 # Some versions of bash will fail to source /dev/null (special files2548 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2549 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2550 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading cache $cache_file" >&51770 # Some versions of bash will fail to source /dev/null (special 1771 # files actually), so we avoid doing that. 1772 if test -f "$cache_file"; then 1773 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2551 1774 $as_echo "$as_me: loading cache $cache_file" >&6;} 2552 1775 case $cache_file in … … 2556 1779 fi 2557 1780 else 2558 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating cache $cache_file" >&51781 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2559 1782 $as_echo "$as_me: creating cache $cache_file" >&6;} 2560 1783 >$cache_file … … 2571 1794 case $ac_old_set,$ac_new_set in 2572 1795 set,) 2573 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51796 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2574 1797 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2575 1798 ac_cache_corrupted=: ;; 2576 1799 ,set) 2577 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&51800 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2578 1801 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2579 1802 ac_cache_corrupted=: ;; … … 2585 1808 ac_new_val_w=`echo x $ac_new_val` 2586 1809 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2587 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&51810 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2588 1811 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2589 1812 ac_cache_corrupted=: 2590 1813 else 2591 { $as_echo "$as_me:$ {as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&51814 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2592 1815 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2593 1816 eval $ac_var=\$ac_old_val 2594 1817 fi 2595 { $as_echo "$as_me:$ {as_lineno-$LINENO}: former value: \`$ac_old_val'" >&51818 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2596 1819 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2597 { $as_echo "$as_me:$ {as_lineno-$LINENO}: current value: \`$ac_new_val'" >&51820 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2598 1821 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2599 1822 fi;; … … 2607 1830 case " $ac_configure_args " in 2608 1831 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2609 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1832 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2610 1833 esac 2611 1834 fi 2612 1835 done 2613 1836 if $ac_cache_corrupted; then 2614 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&51837 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2615 1838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2616 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&51839 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2617 1840 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2618 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2619 fi 2620 ## -------------------- ## 2621 ## Main body of script. ## 2622 ## -------------------- ## 1841 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1842 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1843 { (exit 1); exit 1; }; } 1844 fi 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 2623 1869 2624 1870 ac_ext=c … … 2634 1880 2635 1881 # Check whether --with-tcllib was given. 2636 if test "${with_tcllib+set}" = set; then :1882 if test "${with_tcllib+set}" = set; then 2637 1883 withval=$with_tcllib; with_tcllib=$withval 2638 1884 else … … 2643 1889 2644 1890 # Check whether --with-rappture was given. 2645 if test "${with_rappture+set}" = set; then :1891 if test "${with_rappture+set}" = set; then 2646 1892 withval=$with_rappture; with_rappture=$withval 2647 1893 else … … 2652 1898 2653 1899 # Check whether --with-vtk-includes was given. 2654 if test "${with_vtk_includes+set}" = set; then :1900 if test "${with_vtk_includes+set}" = set; then 2655 1901 withval=$with_vtk_includes; with_vtk_includes=$withval 2656 1902 else … … 2661 1907 2662 1908 # Check whether --with-vtk-libs was given. 2663 if test "${with_vtk_libs+set}" = set; then :1909 if test "${with_vtk_libs+set}" = set; then 2664 1910 withval=$with_vtk_libs; with_vtk_libs=$withval 2665 1911 else … … 2670 1916 2671 1917 # Check whether --with-vtk was given. 2672 if test "${with_vtk+set}" = set; then :1918 if test "${with_vtk+set}" = set; then 2673 1919 withval=$with_vtk; with_vtk=$withval 2674 1920 else … … 2709 1955 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2710 1956 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2711 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&51957 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2712 1958 $as_echo_n "checking for $ac_word... " >&6; } 2713 if ${ac_cv_prog_CC+:} false; then :1959 if test "${ac_cv_prog_CC+set}" = set; then 2714 1960 $as_echo_n "(cached) " >&6 2715 1961 else … … 2722 1968 IFS=$as_save_IFS 2723 1969 test -z "$as_dir" && as_dir=. 2724 1970 for ac_exec_ext in '' $ac_executable_extensions; do 2725 1971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2726 1972 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2727 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51973 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2728 1974 break 2 2729 1975 fi 2730 1976 done 2731 1977 done 2732 1978 IFS=$as_save_IFS 2733 1979 … … 2736 1982 CC=$ac_cv_prog_CC 2737 1983 if test -n "$CC"; then 2738 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&51984 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2739 1985 $as_echo "$CC" >&6; } 2740 1986 else 2741 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&51987 { $as_echo "$as_me:$LINENO: result: no" >&5 2742 1988 $as_echo "no" >&6; } 2743 1989 fi … … 2749 1995 # Extract the first word of "gcc", so it can be a program name with args. 2750 1996 set dummy gcc; ac_word=$2 2751 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&51997 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2752 1998 $as_echo_n "checking for $ac_word... " >&6; } 2753 if ${ac_cv_prog_ac_ct_CC+:} false; then :1999 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2754 2000 $as_echo_n "(cached) " >&6 2755 2001 else … … 2762 2008 IFS=$as_save_IFS 2763 2009 test -z "$as_dir" && as_dir=. 2764 2010 for ac_exec_ext in '' $ac_executable_extensions; do 2765 2011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2766 2012 ac_cv_prog_ac_ct_CC="gcc" 2767 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52013 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2768 2014 break 2 2769 2015 fi 2770 2016 done 2771 2017 done 2772 2018 IFS=$as_save_IFS 2773 2019 … … 2776 2022 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2777 2023 if test -n "$ac_ct_CC"; then 2778 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52024 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2779 2025 $as_echo "$ac_ct_CC" >&6; } 2780 2026 else 2781 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52027 { $as_echo "$as_me:$LINENO: result: no" >&5 2782 2028 $as_echo "no" >&6; } 2783 2029 fi … … 2788 2034 case $cross_compiling:$ac_tool_warned in 2789 2035 yes:) 2790 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52036 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2791 2037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2792 2038 ac_tool_warned=yes ;; … … 2802 2048 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2803 2049 set dummy ${ac_tool_prefix}cc; ac_word=$2 2804 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52050 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2805 2051 $as_echo_n "checking for $ac_word... " >&6; } 2806 if ${ac_cv_prog_CC+:} false; then :2052 if test "${ac_cv_prog_CC+set}" = set; then 2807 2053 $as_echo_n "(cached) " >&6 2808 2054 else … … 2815 2061 IFS=$as_save_IFS 2816 2062 test -z "$as_dir" && as_dir=. 2817 2063 for ac_exec_ext in '' $ac_executable_extensions; do 2818 2064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2819 2065 ac_cv_prog_CC="${ac_tool_prefix}cc" 2820 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52066 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2821 2067 break 2 2822 2068 fi 2823 2069 done 2824 2070 done 2825 2071 IFS=$as_save_IFS 2826 2072 … … 2829 2075 CC=$ac_cv_prog_CC 2830 2076 if test -n "$CC"; then 2831 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52077 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2832 2078 $as_echo "$CC" >&6; } 2833 2079 else 2834 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52080 { $as_echo "$as_me:$LINENO: result: no" >&5 2835 2081 $as_echo "no" >&6; } 2836 2082 fi … … 2842 2088 # Extract the first word of "cc", so it can be a program name with args. 2843 2089 set dummy cc; ac_word=$2 2844 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52090 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2845 2091 $as_echo_n "checking for $ac_word... " >&6; } 2846 if ${ac_cv_prog_CC+:} false; then :2092 if test "${ac_cv_prog_CC+set}" = set; then 2847 2093 $as_echo_n "(cached) " >&6 2848 2094 else … … 2856 2102 IFS=$as_save_IFS 2857 2103 test -z "$as_dir" && as_dir=. 2858 2104 for ac_exec_ext in '' $ac_executable_extensions; do 2859 2105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2860 2106 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2863 2109 fi 2864 2110 ac_cv_prog_CC="cc" 2865 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52111 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2866 2112 break 2 2867 2113 fi 2868 2114 done 2869 2115 done 2870 2116 IFS=$as_save_IFS 2871 2117 … … 2886 2132 CC=$ac_cv_prog_CC 2887 2133 if test -n "$CC"; then 2888 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52134 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2889 2135 $as_echo "$CC" >&6; } 2890 2136 else 2891 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52137 { $as_echo "$as_me:$LINENO: result: no" >&5 2892 2138 $as_echo "no" >&6; } 2893 2139 fi … … 2901 2147 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2902 2148 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2903 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52149 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2904 2150 $as_echo_n "checking for $ac_word... " >&6; } 2905 if ${ac_cv_prog_CC+:} false; then :2151 if test "${ac_cv_prog_CC+set}" = set; then 2906 2152 $as_echo_n "(cached) " >&6 2907 2153 else … … 2914 2160 IFS=$as_save_IFS 2915 2161 test -z "$as_dir" && as_dir=. 2916 2162 for ac_exec_ext in '' $ac_executable_extensions; do 2917 2163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2918 2164 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2919 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52165 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2920 2166 break 2 2921 2167 fi 2922 2168 done 2923 2169 done 2924 2170 IFS=$as_save_IFS 2925 2171 … … 2928 2174 CC=$ac_cv_prog_CC 2929 2175 if test -n "$CC"; then 2930 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52176 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2931 2177 $as_echo "$CC" >&6; } 2932 2178 else 2933 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52179 { $as_echo "$as_me:$LINENO: result: no" >&5 2934 2180 $as_echo "no" >&6; } 2935 2181 fi … … 2945 2191 # Extract the first word of "$ac_prog", so it can be a program name with args. 2946 2192 set dummy $ac_prog; ac_word=$2 2947 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52193 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2948 2194 $as_echo_n "checking for $ac_word... " >&6; } 2949 if ${ac_cv_prog_ac_ct_CC+:} false; then :2195 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2950 2196 $as_echo_n "(cached) " >&6 2951 2197 else … … 2958 2204 IFS=$as_save_IFS 2959 2205 test -z "$as_dir" && as_dir=. 2960 2206 for ac_exec_ext in '' $ac_executable_extensions; do 2961 2207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2962 2208 ac_cv_prog_ac_ct_CC="$ac_prog" 2963 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52209 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2964 2210 break 2 2965 2211 fi 2966 2212 done 2967 2213 done 2968 2214 IFS=$as_save_IFS 2969 2215 … … 2972 2218 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2973 2219 if test -n "$ac_ct_CC"; then 2974 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52220 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2975 2221 $as_echo "$ac_ct_CC" >&6; } 2976 2222 else 2977 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52223 { $as_echo "$as_me:$LINENO: result: no" >&5 2978 2224 $as_echo "no" >&6; } 2979 2225 fi … … 2988 2234 case $cross_compiling:$ac_tool_warned in 2989 2235 yes:) 2990 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52236 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2991 2237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2992 2238 ac_tool_warned=yes ;; … … 2999 2245 3000 2246 3001 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52247 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3002 2248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3003 as_fn_error $? "no acceptable C compiler found in \$PATH 3004 See \`config.log' for more details" "$LINENO" 5; } 2249 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2250 See \`config.log' for more details." >&5 2251 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2252 See \`config.log' for more details." >&2;} 2253 { (exit 1); exit 1; }; }; } 3005 2254 3006 2255 # Provide some information about the compiler. 3007 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&52256 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3008 2257 set X $ac_compile 3009 2258 ac_compiler=$2 3010 for ac_option in --version -v -V -qversion; do 3011 { { ac_try="$ac_compiler $ac_option >&5" 2259 { (ac_try="$ac_compiler --version >&5" 3012 2260 case "(($ac_try" in 3013 2261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3014 2262 *) ac_try_echo=$ac_try;; 3015 2263 esac 3016 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3017 $as_echo "$ac_try_echo" ; }>&53018 (eval "$ac_compiler $ac_option >&5") 2>conftest.err2264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2265 $as_echo "$ac_try_echo") >&5 2266 (eval "$ac_compiler --version >&5") 2>&5 3019 2267 ac_status=$? 3020 if test -s conftest.err; then 3021 sed '10a\ 3022 ... rest of stderr output deleted ... 3023 10q' conftest.err >conftest.er1 3024 cat conftest.er1 >&5 3025 fi 3026 rm -f conftest.er1 conftest.err 3027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3028 test $ac_status = 0; } 3029 done 3030 3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2269 (exit $ac_status); } 2270 { (ac_try="$ac_compiler -v >&5" 2271 case "(($ac_try" in 2272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2273 *) ac_try_echo=$ac_try;; 2274 esac 2275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2276 $as_echo "$ac_try_echo") >&5 2277 (eval "$ac_compiler -v >&5") 2>&5 2278 ac_status=$? 2279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2280 (exit $ac_status); } 2281 { (ac_try="$ac_compiler -V >&5" 2282 case "(($ac_try" in 2283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2284 *) ac_try_echo=$ac_try;; 2285 esac 2286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2287 $as_echo "$ac_try_echo") >&5 2288 (eval "$ac_compiler -V >&5") 2>&5 2289 ac_status=$? 2290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2291 (exit $ac_status); } 2292 2293 cat >conftest.$ac_ext <<_ACEOF 2294 /* confdefs.h. */ 2295 _ACEOF 2296 cat confdefs.h >>conftest.$ac_ext 2297 cat >>conftest.$ac_ext <<_ACEOF 3032 2298 /* end confdefs.h. */ 3033 2299 … … 3045 2311 # It will help us diagnose broken compilers, and finding out an intuition 3046 2312 # of exeext. 3047 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether the C compiler works" >&53048 $as_echo_n "checking whether the C compiler works... " >&6; }2313 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2314 $as_echo_n "checking for C compiler default output file name... " >&6; } 3049 2315 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3050 2316 … … 3062 2328 rm -f $ac_rmfiles 3063 2329 3064 if { {ac_try="$ac_link_default"2330 if { (ac_try="$ac_link_default" 3065 2331 case "(($ac_try" in 3066 2332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3067 2333 *) ac_try_echo=$ac_try;; 3068 2334 esac 3069 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3070 $as_echo "$ac_try_echo" ; }>&52335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2336 $as_echo "$ac_try_echo") >&5 3071 2337 (eval "$ac_link_default") 2>&5 3072 2338 ac_status=$? 3073 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53074 test $ac_status = 0; }; then :2339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2340 (exit $ac_status); }; then 3075 2341 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3076 2342 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 3089 2355 break;; 3090 2356 *.* ) 3091 2357 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3092 2358 then :; else 3093 2359 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 3108 2374 ac_file='' 3109 2375 fi 3110 if test -z "$ac_file"; then : 3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3112 $as_echo "no" >&6; } 3113 $as_echo "$as_me: failed program was:" >&5 2376 2377 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2378 $as_echo "$ac_file" >&6; } 2379 if test -z "$ac_file"; then 2380 $as_echo "$as_me: failed program was:" >&5 3114 2381 sed 's/^/| /' conftest.$ac_ext >&5 3115 2382 3116 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52383 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3117 2384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3118 as_fn_error 77 "C compiler cannot create executables 3119 See \`config.log' for more details" "$LINENO" 5; } 3120 else 3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2385 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2386 See \`config.log' for more details." >&5 2387 $as_echo "$as_me: error: C compiler cannot create executables 2388 See \`config.log' for more details." >&2;} 2389 { (exit 77); exit 77; }; }; } 2390 fi 2391 2392 ac_exeext=$ac_cv_exeext 2393 2394 # Check that the compiler produces executables we can run. If not, either 2395 # the compiler is broken, or we cross compile. 2396 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2397 $as_echo_n "checking whether the C compiler works... " >&6; } 2398 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2399 # If not cross compiling, check that we can run a simple program. 2400 if test "$cross_compiling" != yes; then 2401 if { ac_try='./$ac_file' 2402 { (case "(($ac_try" in 2403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2404 *) ac_try_echo=$ac_try;; 2405 esac 2406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2407 $as_echo "$ac_try_echo") >&5 2408 (eval "$ac_try") 2>&5 2409 ac_status=$? 2410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2411 (exit $ac_status); }; }; then 2412 cross_compiling=no 2413 else 2414 if test "$cross_compiling" = maybe; then 2415 cross_compiling=yes 2416 else 2417 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2419 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2420 If you meant to cross compile, use \`--host'. 2421 See \`config.log' for more details." >&5 2422 $as_echo "$as_me: error: cannot run C compiled programs. 2423 If you meant to cross compile, use \`--host'. 2424 See \`config.log' for more details." >&2;} 2425 { (exit 1); exit 1; }; }; } 2426 fi 2427 fi 2428 fi 2429 { $as_echo "$as_me:$LINENO: result: yes" >&5 3122 2430 $as_echo "yes" >&6; } 3123 fi3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&53125 $as_echo_n "checking for C compiler default output file name... " >&6; }3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&53127 $as_echo "$ac_file" >&6; }3128 ac_exeext=$ac_cv_exeext3129 2431 3130 2432 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3131 2433 ac_clean_files=$ac_clean_files_save 3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2434 # Check that the compiler produces executables we can run. If not, either 2435 # the compiler is broken, or we cross compile. 2436 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2437 $as_echo_n "checking whether we are cross compiling... " >&6; } 2438 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2439 $as_echo "$cross_compiling" >&6; } 2440 2441 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3133 2442 $as_echo_n "checking for suffix of executables... " >&6; } 3134 if { {ac_try="$ac_link"2443 if { (ac_try="$ac_link" 3135 2444 case "(($ac_try" in 3136 2445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3137 2446 *) ac_try_echo=$ac_try;; 3138 2447 esac 3139 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3140 $as_echo "$ac_try_echo" ; }>&52448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2449 $as_echo "$ac_try_echo") >&5 3141 2450 (eval "$ac_link") 2>&5 3142 2451 ac_status=$? 3143 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53144 test $ac_status = 0; }; then :2452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2453 (exit $ac_status); }; then 3145 2454 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3146 2455 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 3157 2466 done 3158 2467 else 3159 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52468 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3160 2469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3161 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3162 See \`config.log' for more details" "$LINENO" 5; } 3163 fi 3164 rm -f conftest conftest$ac_cv_exeext 3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2470 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2471 See \`config.log' for more details." >&5 2472 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2473 See \`config.log' for more details." >&2;} 2474 { (exit 1); exit 1; }; }; } 2475 fi 2476 2477 rm -f conftest$ac_cv_exeext 2478 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3166 2479 $as_echo "$ac_cv_exeext" >&6; } 3167 2480 … … 3169 2482 EXEEXT=$ac_cv_exeext 3170 2483 ac_exeext=$EXEEXT 3171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2484 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2485 $as_echo_n "checking for suffix of object files... " >&6; } 2486 if test "${ac_cv_objext+set}" = set; then 2487 $as_echo_n "(cached) " >&6 2488 else 2489 cat >conftest.$ac_ext <<_ACEOF 2490 /* confdefs.h. */ 2491 _ACEOF 2492 cat confdefs.h >>conftest.$ac_ext 2493 cat >>conftest.$ac_ext <<_ACEOF 3172 2494 /* end confdefs.h. */ 3173 #include <stdio.h> 2495 3174 2496 int 3175 2497 main () 3176 2498 { 3177 FILE *f = fopen ("conftest.out", "w");3178 return ferror (f) || fclose (f) != 0;3179 2499 3180 2500 ; … … 3182 2502 } 3183 2503 _ACEOF 3184 ac_clean_files="$ac_clean_files conftest.out" 3185 # Check that the compiler produces executables we can run. If not, either 3186 # the compiler is broken, or we cross compile. 3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3188 $as_echo_n "checking whether we are cross compiling... " >&6; } 3189 if test "$cross_compiling" != yes; then 3190 { { ac_try="$ac_link" 2504 rm -f conftest.o conftest.obj 2505 if { (ac_try="$ac_compile" 3191 2506 case "(($ac_try" in 3192 2507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3193 2508 *) ac_try_echo=$ac_try;; 3194 2509 esac 3195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3196 $as_echo "$ac_try_echo"; } >&5 3197 (eval "$ac_link") 2>&5 3198 ac_status=$? 3199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3200 test $ac_status = 0; } 3201 if { ac_try='./conftest$ac_cv_exeext' 3202 { { case "(($ac_try" in 3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3204 *) ac_try_echo=$ac_try;; 3205 esac 3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3207 $as_echo "$ac_try_echo"; } >&5 3208 (eval "$ac_try") 2>&5 3209 ac_status=$? 3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3211 test $ac_status = 0; }; }; then 3212 cross_compiling=no 3213 else 3214 if test "$cross_compiling" = maybe; then 3215 cross_compiling=yes 3216 else 3217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3219 as_fn_error $? "cannot run C compiled programs. 3220 If you meant to cross compile, use \`--host'. 3221 See \`config.log' for more details" "$LINENO" 5; } 3222 fi 3223 fi 3224 fi 3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3226 $as_echo "$cross_compiling" >&6; } 3227 3228 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3229 ac_clean_files=$ac_clean_files_save 3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3231 $as_echo_n "checking for suffix of object files... " >&6; } 3232 if ${ac_cv_objext+:} false; then : 3233 $as_echo_n "(cached) " >&6 3234 else 3235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3236 /* end confdefs.h. */ 3237 3238 int 3239 main () 3240 { 3241 3242 ; 3243 return 0; 3244 } 3245 _ACEOF 3246 rm -f conftest.o conftest.obj 3247 if { { ac_try="$ac_compile" 3248 case "(($ac_try" in 3249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3250 *) ac_try_echo=$ac_try;; 3251 esac 3252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3253 $as_echo "$ac_try_echo"; } >&5 2510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2511 $as_echo "$ac_try_echo") >&5 3254 2512 (eval "$ac_compile") 2>&5 3255 2513 ac_status=$? 3256 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53257 test $ac_status = 0; }; then :2514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2515 (exit $ac_status); }; then 3258 2516 for ac_file in conftest.o conftest.obj conftest.*; do 3259 2517 test -f "$ac_file" || continue; … … 3268 2526 sed 's/^/| /' conftest.$ac_ext >&5 3269 2527 3270 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52528 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3271 2529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3272 as_fn_error $? "cannot compute suffix of object files: cannot compile 3273 See \`config.log' for more details" "$LINENO" 5; } 3274 fi 2530 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2531 See \`config.log' for more details." >&5 2532 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2533 See \`config.log' for more details." >&2;} 2534 { (exit 1); exit 1; }; }; } 2535 fi 2536 3275 2537 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3276 2538 fi 3277 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_objext" >&52539 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3278 2540 $as_echo "$ac_cv_objext" >&6; } 3279 2541 OBJEXT=$ac_cv_objext 3280 2542 ac_objext=$OBJEXT 3281 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&52543 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3282 2544 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3283 if ${ac_cv_c_compiler_gnu+:} false; then :2545 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3284 2546 $as_echo_n "(cached) " >&6 3285 2547 else 3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2548 cat >conftest.$ac_ext <<_ACEOF 2549 /* confdefs.h. */ 2550 _ACEOF 2551 cat confdefs.h >>conftest.$ac_ext 2552 cat >>conftest.$ac_ext <<_ACEOF 3287 2553 /* end confdefs.h. */ 3288 2554 … … 3298 2564 } 3299 2565 _ACEOF 3300 if ac_fn_c_try_compile "$LINENO"; then : 2566 rm -f conftest.$ac_objext 2567 if { (ac_try="$ac_compile" 2568 case "(($ac_try" in 2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2570 *) ac_try_echo=$ac_try;; 2571 esac 2572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2573 $as_echo "$ac_try_echo") >&5 2574 (eval "$ac_compile") 2>conftest.er1 2575 ac_status=$? 2576 grep -v '^ *+' conftest.er1 >conftest.err 2577 rm -f conftest.er1 2578 cat conftest.err >&5 2579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2580 (exit $ac_status); } && { 2581 test -z "$ac_c_werror_flag" || 2582 test ! -s conftest.err 2583 } && test -s conftest.$ac_objext; then 3301 2584 ac_compiler_gnu=yes 3302 2585 else 3303 ac_compiler_gnu=no 3304 fi 2586 $as_echo "$as_me: failed program was:" >&5 2587 sed 's/^/| /' conftest.$ac_ext >&5 2588 2589 ac_compiler_gnu=no 2590 fi 2591 3305 2592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3306 2593 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3307 2594 3308 2595 fi 3309 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&52596 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3310 2597 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3311 2598 if test $ac_compiler_gnu = yes; then … … 3316 2603 ac_test_CFLAGS=${CFLAGS+set} 3317 2604 ac_save_CFLAGS=$CFLAGS 3318 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&52605 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3319 2606 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3320 if ${ac_cv_prog_cc_g+:} false; then :2607 if test "${ac_cv_prog_cc_g+set}" = set; then 3321 2608 $as_echo_n "(cached) " >&6 3322 2609 else … … 3325 2612 ac_cv_prog_cc_g=no 3326 2613 CFLAGS="-g" 3327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2614 cat >conftest.$ac_ext <<_ACEOF 2615 /* confdefs.h. */ 2616 _ACEOF 2617 cat confdefs.h >>conftest.$ac_ext 2618 cat >>conftest.$ac_ext <<_ACEOF 3328 2619 /* end confdefs.h. */ 3329 2620 … … 3336 2627 } 3337 2628 _ACEOF 3338 if ac_fn_c_try_compile "$LINENO"; then : 2629 rm -f conftest.$ac_objext 2630 if { (ac_try="$ac_compile" 2631 case "(($ac_try" in 2632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2633 *) ac_try_echo=$ac_try;; 2634 esac 2635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2636 $as_echo "$ac_try_echo") >&5 2637 (eval "$ac_compile") 2>conftest.er1 2638 ac_status=$? 2639 grep -v '^ *+' conftest.er1 >conftest.err 2640 rm -f conftest.er1 2641 cat conftest.err >&5 2642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2643 (exit $ac_status); } && { 2644 test -z "$ac_c_werror_flag" || 2645 test ! -s conftest.err 2646 } && test -s conftest.$ac_objext; then 3339 2647 ac_cv_prog_cc_g=yes 3340 2648 else 3341 CFLAGS="" 3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2649 $as_echo "$as_me: failed program was:" >&5 2650 sed 's/^/| /' conftest.$ac_ext >&5 2651 2652 CFLAGS="" 2653 cat >conftest.$ac_ext <<_ACEOF 2654 /* confdefs.h. */ 2655 _ACEOF 2656 cat confdefs.h >>conftest.$ac_ext 2657 cat >>conftest.$ac_ext <<_ACEOF 3343 2658 /* end confdefs.h. */ 3344 2659 … … 3351 2666 } 3352 2667 _ACEOF 3353 if ac_fn_c_try_compile "$LINENO"; then : 3354 3355 else 3356 ac_c_werror_flag=$ac_save_c_werror_flag 2668 rm -f conftest.$ac_objext 2669 if { (ac_try="$ac_compile" 2670 case "(($ac_try" in 2671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2672 *) ac_try_echo=$ac_try;; 2673 esac 2674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2675 $as_echo "$ac_try_echo") >&5 2676 (eval "$ac_compile") 2>conftest.er1 2677 ac_status=$? 2678 grep -v '^ *+' conftest.er1 >conftest.err 2679 rm -f conftest.er1 2680 cat conftest.err >&5 2681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2682 (exit $ac_status); } && { 2683 test -z "$ac_c_werror_flag" || 2684 test ! -s conftest.err 2685 } && test -s conftest.$ac_objext; then 2686 : 2687 else 2688 $as_echo "$as_me: failed program was:" >&5 2689 sed 's/^/| /' conftest.$ac_ext >&5 2690 2691 ac_c_werror_flag=$ac_save_c_werror_flag 3357 2692 CFLAGS="-g" 3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2693 cat >conftest.$ac_ext <<_ACEOF 2694 /* confdefs.h. */ 2695 _ACEOF 2696 cat confdefs.h >>conftest.$ac_ext 2697 cat >>conftest.$ac_ext <<_ACEOF 3359 2698 /* end confdefs.h. */ 3360 2699 … … 3367 2706 } 3368 2707 _ACEOF 3369 if ac_fn_c_try_compile "$LINENO"; then : 2708 rm -f conftest.$ac_objext 2709 if { (ac_try="$ac_compile" 2710 case "(($ac_try" in 2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2712 *) ac_try_echo=$ac_try;; 2713 esac 2714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2715 $as_echo "$ac_try_echo") >&5 2716 (eval "$ac_compile") 2>conftest.er1 2717 ac_status=$? 2718 grep -v '^ *+' conftest.er1 >conftest.err 2719 rm -f conftest.er1 2720 cat conftest.err >&5 2721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2722 (exit $ac_status); } && { 2723 test -z "$ac_c_werror_flag" || 2724 test ! -s conftest.err 2725 } && test -s conftest.$ac_objext; then 3370 2726 ac_cv_prog_cc_g=yes 3371 fi 2727 else 2728 $as_echo "$as_me: failed program was:" >&5 2729 sed 's/^/| /' conftest.$ac_ext >&5 2730 2731 2732 fi 2733 3372 2734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3373 2735 fi 2736 3374 2737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3375 2738 fi 2739 3376 2740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3377 2741 ac_c_werror_flag=$ac_save_c_werror_flag 3378 2742 fi 3379 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&52743 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3380 2744 $as_echo "$ac_cv_prog_cc_g" >&6; } 3381 2745 if test "$ac_test_CFLAGS" = set; then … … 3394 2758 fi 3395 2759 fi 3396 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&52760 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3397 2761 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3398 if ${ac_cv_prog_cc_c89+:} false; then :2762 if test "${ac_cv_prog_cc_c89+set}" = set; then 3399 2763 $as_echo_n "(cached) " >&6 3400 2764 else 3401 2765 ac_cv_prog_cc_c89=no 3402 2766 ac_save_CC=$CC 3403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2767 cat >conftest.$ac_ext <<_ACEOF 2768 /* confdefs.h. */ 2769 _ACEOF 2770 cat confdefs.h >>conftest.$ac_ext 2771 cat >>conftest.$ac_ext <<_ACEOF 3404 2772 /* end confdefs.h. */ 3405 2773 #include <stdarg.h> … … 3458 2826 do 3459 2827 CC="$ac_save_CC $ac_arg" 3460 if ac_fn_c_try_compile "$LINENO"; then : 2828 rm -f conftest.$ac_objext 2829 if { (ac_try="$ac_compile" 2830 case "(($ac_try" in 2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2832 *) ac_try_echo=$ac_try;; 2833 esac 2834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2835 $as_echo "$ac_try_echo") >&5 2836 (eval "$ac_compile") 2>conftest.er1 2837 ac_status=$? 2838 grep -v '^ *+' conftest.er1 >conftest.err 2839 rm -f conftest.er1 2840 cat conftest.err >&5 2841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2842 (exit $ac_status); } && { 2843 test -z "$ac_c_werror_flag" || 2844 test ! -s conftest.err 2845 } && test -s conftest.$ac_objext; then 3461 2846 ac_cv_prog_cc_c89=$ac_arg 3462 fi 2847 else 2848 $as_echo "$as_me: failed program was:" >&5 2849 sed 's/^/| /' conftest.$ac_ext >&5 2850 2851 2852 fi 2853 3463 2854 rm -f core conftest.err conftest.$ac_objext 3464 2855 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3471 2862 case "x$ac_cv_prog_cc_c89" in 3472 2863 x) 3473 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&52864 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3474 2865 $as_echo "none needed" >&6; } ;; 3475 2866 xno) 3476 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&52867 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3477 2868 $as_echo "unsupported" >&6; } ;; 3478 2869 *) 3479 2870 CC="$CC $ac_cv_prog_cc_c89" 3480 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&52871 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3481 2872 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3482 2873 esac 3483 if test "x$ac_cv_prog_cc_c89" != xno; then : 3484 3485 fi 2874 3486 2875 3487 2876 ac_ext=c … … 3495 2884 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3496 2885 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3497 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52886 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3498 2887 $as_echo_n "checking for $ac_word... " >&6; } 3499 if ${ac_cv_prog_RANLIB+:} false; then :2888 if test "${ac_cv_prog_RANLIB+set}" = set; then 3500 2889 $as_echo_n "(cached) " >&6 3501 2890 else … … 3508 2897 IFS=$as_save_IFS 3509 2898 test -z "$as_dir" && as_dir=. 3510 2899 for ac_exec_ext in '' $ac_executable_extensions; do 3511 2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3512 2901 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3513 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52902 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3514 2903 break 2 3515 2904 fi 3516 2905 done 3517 2906 done 3518 2907 IFS=$as_save_IFS 3519 2908 … … 3522 2911 RANLIB=$ac_cv_prog_RANLIB 3523 2912 if test -n "$RANLIB"; then 3524 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&52913 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 3525 2914 $as_echo "$RANLIB" >&6; } 3526 2915 else 3527 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52916 { $as_echo "$as_me:$LINENO: result: no" >&5 3528 2917 $as_echo "no" >&6; } 3529 2918 fi … … 3535 2924 # Extract the first word of "ranlib", so it can be a program name with args. 3536 2925 set dummy ranlib; ac_word=$2 3537 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52926 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3538 2927 $as_echo_n "checking for $ac_word... " >&6; } 3539 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :2928 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3540 2929 $as_echo_n "(cached) " >&6 3541 2930 else … … 3548 2937 IFS=$as_save_IFS 3549 2938 test -z "$as_dir" && as_dir=. 3550 2939 for ac_exec_ext in '' $ac_executable_extensions; do 3551 2940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3552 2941 ac_cv_prog_ac_ct_RANLIB="ranlib" 3553 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52942 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3554 2943 break 2 3555 2944 fi 3556 2945 done 3557 2946 done 3558 2947 IFS=$as_save_IFS 3559 2948 … … 3562 2951 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3563 2952 if test -n "$ac_ct_RANLIB"; then 3564 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&52953 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3565 2954 $as_echo "$ac_ct_RANLIB" >&6; } 3566 2955 else 3567 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52956 { $as_echo "$as_me:$LINENO: result: no" >&5 3568 2957 $as_echo "no" >&6; } 3569 2958 fi … … 3574 2963 case $cross_compiling:$ac_tool_warned in 3575 2964 yes:) 3576 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52965 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3577 2966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3578 2967 ac_tool_warned=yes ;; … … 3589 2978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3590 2979 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3591 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&52980 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3592 2981 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3593 2982 # On Suns, sometimes $CPP names a directory. … … 3596 2985 fi 3597 2986 if test -z "$CPP"; then 3598 if ${ac_cv_prog_CPP+:} false; then :2987 if test "${ac_cv_prog_CPP+set}" = set; then 3599 2988 $as_echo_n "(cached) " >&6 3600 2989 else … … 3611 3000 # On the NeXT, cc -E runs the code through the compiler's parser, 3612 3001 # not just through cpp. "Syntax error" is here to catch this case. 3613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3002 cat >conftest.$ac_ext <<_ACEOF 3003 /* confdefs.h. */ 3004 _ACEOF 3005 cat confdefs.h >>conftest.$ac_ext 3006 cat >>conftest.$ac_ext <<_ACEOF 3614 3007 /* end confdefs.h. */ 3615 3008 #ifdef __STDC__ … … 3620 3013 Syntax error 3621 3014 _ACEOF 3622 if ac_fn_c_try_cpp "$LINENO"; then : 3623 3624 else 3015 if { (ac_try="$ac_cpp conftest.$ac_ext" 3016 case "(($ac_try" in 3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3018 *) ac_try_echo=$ac_try;; 3019 esac 3020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3021 $as_echo "$ac_try_echo") >&5 3022 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3023 ac_status=$? 3024 grep -v '^ *+' conftest.er1 >conftest.err 3025 rm -f conftest.er1 3026 cat conftest.err >&5 3027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3028 (exit $ac_status); } >/dev/null && { 3029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3030 test ! -s conftest.err 3031 }; then 3032 : 3033 else 3034 $as_echo "$as_me: failed program was:" >&5 3035 sed 's/^/| /' conftest.$ac_ext >&5 3036 3625 3037 # Broken: fails on valid input. 3626 3038 continue 3627 3039 fi 3628 rm -f conftest.err conftest.i conftest.$ac_ext 3040 3041 rm -f conftest.err conftest.$ac_ext 3629 3042 3630 3043 # OK, works on sane cases. Now check whether nonexistent headers 3631 3044 # can be detected and how. 3632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3045 cat >conftest.$ac_ext <<_ACEOF 3046 /* confdefs.h. */ 3047 _ACEOF 3048 cat confdefs.h >>conftest.$ac_ext 3049 cat >>conftest.$ac_ext <<_ACEOF 3633 3050 /* end confdefs.h. */ 3634 3051 #include <ac_nonexistent.h> 3635 3052 _ACEOF 3636 if ac_fn_c_try_cpp "$LINENO"; then : 3053 if { (ac_try="$ac_cpp conftest.$ac_ext" 3054 case "(($ac_try" in 3055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3056 *) ac_try_echo=$ac_try;; 3057 esac 3058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3059 $as_echo "$ac_try_echo") >&5 3060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3061 ac_status=$? 3062 grep -v '^ *+' conftest.er1 >conftest.err 3063 rm -f conftest.er1 3064 cat conftest.err >&5 3065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3066 (exit $ac_status); } >/dev/null && { 3067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3068 test ! -s conftest.err 3069 }; then 3637 3070 # Broken: success on invalid input. 3638 3071 continue 3639 3072 else 3073 $as_echo "$as_me: failed program was:" >&5 3074 sed 's/^/| /' conftest.$ac_ext >&5 3075 3640 3076 # Passes both tests. 3641 3077 ac_preproc_ok=: 3642 3078 break 3643 3079 fi 3644 rm -f conftest.err conftest.i conftest.$ac_ext 3080 3081 rm -f conftest.err conftest.$ac_ext 3645 3082 3646 3083 done 3647 3084 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3648 rm -f conftest. i conftest.err conftest.$ac_ext3649 if $ac_preproc_ok; then :3085 rm -f conftest.err conftest.$ac_ext 3086 if $ac_preproc_ok; then 3650 3087 break 3651 3088 fi … … 3659 3096 ac_cv_prog_CPP=$CPP 3660 3097 fi 3661 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&53098 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 3662 3099 $as_echo "$CPP" >&6; } 3663 3100 ac_preproc_ok=false … … 3670 3107 # On the NeXT, cc -E runs the code through the compiler's parser, 3671 3108 # not just through cpp. "Syntax error" is here to catch this case. 3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3109 cat >conftest.$ac_ext <<_ACEOF 3110 /* confdefs.h. */ 3111 _ACEOF 3112 cat confdefs.h >>conftest.$ac_ext 3113 cat >>conftest.$ac_ext <<_ACEOF 3673 3114 /* end confdefs.h. */ 3674 3115 #ifdef __STDC__ … … 3679 3120 Syntax error 3680 3121 _ACEOF 3681 if ac_fn_c_try_cpp "$LINENO"; then : 3682 3683 else 3122 if { (ac_try="$ac_cpp conftest.$ac_ext" 3123 case "(($ac_try" in 3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3125 *) ac_try_echo=$ac_try;; 3126 esac 3127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3128 $as_echo "$ac_try_echo") >&5 3129 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3130 ac_status=$? 3131 grep -v '^ *+' conftest.er1 >conftest.err 3132 rm -f conftest.er1 3133 cat conftest.err >&5 3134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3135 (exit $ac_status); } >/dev/null && { 3136 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3137 test ! -s conftest.err 3138 }; then 3139 : 3140 else 3141 $as_echo "$as_me: failed program was:" >&5 3142 sed 's/^/| /' conftest.$ac_ext >&5 3143 3684 3144 # Broken: fails on valid input. 3685 3145 continue 3686 3146 fi 3687 rm -f conftest.err conftest.i conftest.$ac_ext 3147 3148 rm -f conftest.err conftest.$ac_ext 3688 3149 3689 3150 # OK, works on sane cases. Now check whether nonexistent headers 3690 3151 # can be detected and how. 3691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3152 cat >conftest.$ac_ext <<_ACEOF 3153 /* confdefs.h. */ 3154 _ACEOF 3155 cat confdefs.h >>conftest.$ac_ext 3156 cat >>conftest.$ac_ext <<_ACEOF 3692 3157 /* end confdefs.h. */ 3693 3158 #include <ac_nonexistent.h> 3694 3159 _ACEOF 3695 if ac_fn_c_try_cpp "$LINENO"; then : 3160 if { (ac_try="$ac_cpp conftest.$ac_ext" 3161 case "(($ac_try" in 3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3163 *) ac_try_echo=$ac_try;; 3164 esac 3165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3166 $as_echo "$ac_try_echo") >&5 3167 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3168 ac_status=$? 3169 grep -v '^ *+' conftest.er1 >conftest.err 3170 rm -f conftest.er1 3171 cat conftest.err >&5 3172 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3173 (exit $ac_status); } >/dev/null && { 3174 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3175 test ! -s conftest.err 3176 }; then 3696 3177 # Broken: success on invalid input. 3697 3178 continue 3698 3179 else 3180 $as_echo "$as_me: failed program was:" >&5 3181 sed 's/^/| /' conftest.$ac_ext >&5 3182 3699 3183 # Passes both tests. 3700 3184 ac_preproc_ok=: 3701 3185 break 3702 3186 fi 3703 rm -f conftest.err conftest.i conftest.$ac_ext 3187 3188 rm -f conftest.err conftest.$ac_ext 3704 3189 3705 3190 done 3706 3191 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3707 rm -f conftest. i conftest.err conftest.$ac_ext3708 if $ac_preproc_ok; then :3709 3710 else 3711 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53192 rm -f conftest.err conftest.$ac_ext 3193 if $ac_preproc_ok; then 3194 : 3195 else 3196 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3712 3197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3713 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3714 See \`config.log' for more details" "$LINENO" 5; } 3198 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3199 See \`config.log' for more details." >&5 3200 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3201 See \`config.log' for more details." >&2;} 3202 { (exit 1); exit 1; }; }; } 3715 3203 fi 3716 3204 … … 3722 3210 3723 3211 3724 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&53212 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3725 3213 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3726 if ${ac_cv_path_GREP+:} false; then :3214 if test "${ac_cv_path_GREP+set}" = set; then 3727 3215 $as_echo_n "(cached) " >&6 3728 3216 else … … 3735 3223 IFS=$as_save_IFS 3736 3224 test -z "$as_dir" && as_dir=. 3737 3225 for ac_prog in grep ggrep; do 3738 3226 for ac_exec_ext in '' $ac_executable_extensions; do 3739 3227 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" … … 3755 3243 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3756 3244 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3757 a s_fn_arith $ac_count + 1 && ac_count=$as_val3245 ac_count=`expr $ac_count + 1` 3758 3246 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3759 3247 # Best one so far, save it but keep looking for a better one … … 3770 3258 done 3771 3259 done 3772 3260 done 3773 3261 IFS=$as_save_IFS 3774 3262 if test -z "$ac_cv_path_GREP"; then 3775 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3263 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3264 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3265 { (exit 1); exit 1; }; } 3776 3266 fi 3777 3267 else … … 3780 3270 3781 3271 fi 3782 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&53272 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3783 3273 $as_echo "$ac_cv_path_GREP" >&6; } 3784 3274 GREP="$ac_cv_path_GREP" 3785 3275 3786 3276 3787 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for egrep" >&53277 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 3788 3278 $as_echo_n "checking for egrep... " >&6; } 3789 if ${ac_cv_path_EGREP+:} false; then :3279 if test "${ac_cv_path_EGREP+set}" = set; then 3790 3280 $as_echo_n "(cached) " >&6 3791 3281 else … … 3801 3291 IFS=$as_save_IFS 3802 3292 test -z "$as_dir" && as_dir=. 3803 3293 for ac_prog in egrep; do 3804 3294 for ac_exec_ext in '' $ac_executable_extensions; do 3805 3295 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" … … 3821 3311 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3822 3312 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3823 a s_fn_arith $ac_count + 1 && ac_count=$as_val3313 ac_count=`expr $ac_count + 1` 3824 3314 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3825 3315 # Best one so far, save it but keep looking for a better one … … 3836 3326 done 3837 3327 done 3838 3328 done 3839 3329 IFS=$as_save_IFS 3840 3330 if test -z "$ac_cv_path_EGREP"; then 3841 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3331 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3332 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3333 { (exit 1); exit 1; }; } 3842 3334 fi 3843 3335 else … … 3847 3339 fi 3848 3340 fi 3849 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&53341 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3850 3342 $as_echo "$ac_cv_path_EGREP" >&6; } 3851 3343 EGREP="$ac_cv_path_EGREP" 3852 3344 3853 3345 3854 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ANSI C header files" >&53346 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3855 3347 $as_echo_n "checking for ANSI C header files... " >&6; } 3856 if ${ac_cv_header_stdc+:} false; then :3348 if test "${ac_cv_header_stdc+set}" = set; then 3857 3349 $as_echo_n "(cached) " >&6 3858 3350 else 3859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3351 cat >conftest.$ac_ext <<_ACEOF 3352 /* confdefs.h. */ 3353 _ACEOF 3354 cat confdefs.h >>conftest.$ac_ext 3355 cat >>conftest.$ac_ext <<_ACEOF 3860 3356 /* end confdefs.h. */ 3861 3357 #include <stdlib.h> … … 3872 3368 } 3873 3369 _ACEOF 3874 if ac_fn_c_try_compile "$LINENO"; then : 3370 rm -f conftest.$ac_objext 3371 if { (ac_try="$ac_compile" 3372 case "(($ac_try" in 3373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3374 *) ac_try_echo=$ac_try;; 3375 esac 3376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3377 $as_echo "$ac_try_echo") >&5 3378 (eval "$ac_compile") 2>conftest.er1 3379 ac_status=$? 3380 grep -v '^ *+' conftest.er1 >conftest.err 3381 rm -f conftest.er1 3382 cat conftest.err >&5 3383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3384 (exit $ac_status); } && { 3385 test -z "$ac_c_werror_flag" || 3386 test ! -s conftest.err 3387 } && test -s conftest.$ac_objext; then 3875 3388 ac_cv_header_stdc=yes 3876 3389 else 3877 ac_cv_header_stdc=no 3878 fi 3390 $as_echo "$as_me: failed program was:" >&5 3391 sed 's/^/| /' conftest.$ac_ext >&5 3392 3393 ac_cv_header_stdc=no 3394 fi 3395 3879 3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3880 3397 3881 3398 if test $ac_cv_header_stdc = yes; then 3882 3399 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3400 cat >conftest.$ac_ext <<_ACEOF 3401 /* confdefs.h. */ 3402 _ACEOF 3403 cat confdefs.h >>conftest.$ac_ext 3404 cat >>conftest.$ac_ext <<_ACEOF 3884 3405 /* end confdefs.h. */ 3885 3406 #include <string.h> … … 3887 3408 _ACEOF 3888 3409 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3889 $EGREP "memchr" >/dev/null 2>&1; then :3890 3410 $EGREP "memchr" >/dev/null 2>&1; then 3411 : 3891 3412 else 3892 3413 ac_cv_header_stdc=no … … 3898 3419 if test $ac_cv_header_stdc = yes; then 3899 3420 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3421 cat >conftest.$ac_ext <<_ACEOF 3422 /* confdefs.h. */ 3423 _ACEOF 3424 cat confdefs.h >>conftest.$ac_ext 3425 cat >>conftest.$ac_ext <<_ACEOF 3901 3426 /* end confdefs.h. */ 3902 3427 #include <stdlib.h> … … 3904 3429 _ACEOF 3905 3430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3906 $EGREP "free" >/dev/null 2>&1; then :3907 3431 $EGREP "free" >/dev/null 2>&1; then 3432 : 3908 3433 else 3909 3434 ac_cv_header_stdc=no … … 3915 3440 if test $ac_cv_header_stdc = yes; then 3916 3441 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3917 if test "$cross_compiling" = yes; then :3442 if test "$cross_compiling" = yes; then 3918 3443 : 3919 3444 else 3920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3445 cat >conftest.$ac_ext <<_ACEOF 3446 /* confdefs.h. */ 3447 _ACEOF 3448 cat confdefs.h >>conftest.$ac_ext 3449 cat >>conftest.$ac_ext <<_ACEOF 3921 3450 /* end confdefs.h. */ 3922 3451 #include <ctype.h> … … 3945 3474 } 3946 3475 _ACEOF 3947 if ac_fn_c_try_run "$LINENO"; then : 3948 3949 else 3950 ac_cv_header_stdc=no 3951 fi 3952 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3953 conftest.$ac_objext conftest.beam conftest.$ac_ext 3954 fi 3955 3956 fi 3957 fi 3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3476 rm -f conftest$ac_exeext 3477 if { (ac_try="$ac_link" 3478 case "(($ac_try" in 3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3480 *) ac_try_echo=$ac_try;; 3481 esac 3482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3483 $as_echo "$ac_try_echo") >&5 3484 (eval "$ac_link") 2>&5 3485 ac_status=$? 3486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3488 { (case "(($ac_try" in 3489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3490 *) ac_try_echo=$ac_try;; 3491 esac 3492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3493 $as_echo "$ac_try_echo") >&5 3494 (eval "$ac_try") 2>&5 3495 ac_status=$? 3496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3497 (exit $ac_status); }; }; then 3498 : 3499 else 3500 $as_echo "$as_me: program exited with status $ac_status" >&5 3501 $as_echo "$as_me: failed program was:" >&5 3502 sed 's/^/| /' conftest.$ac_ext >&5 3503 3504 ( exit $ac_status ) 3505 ac_cv_header_stdc=no 3506 fi 3507 rm -rf conftest.dSYM 3508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3509 fi 3510 3511 3512 fi 3513 fi 3514 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3959 3515 $as_echo "$ac_cv_header_stdc" >&6; } 3960 3516 if test $ac_cv_header_stdc = yes; then 3961 3517 3962 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3518 cat >>confdefs.h <<\_ACEOF 3519 #define STDC_HEADERS 1 3520 _ACEOF 3963 3521 3964 3522 fi 3965 3523 3966 3524 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3525 3526 3527 3528 3529 3530 3531 3532 3533 3967 3534 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3968 3535 inttypes.h stdint.h unistd.h 3969 do : 3970 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3971 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3972 " 3973 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3536 do 3537 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3538 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3539 $as_echo_n "checking for $ac_header... " >&6; } 3540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3541 $as_echo_n "(cached) " >&6 3542 else 3543 cat >conftest.$ac_ext <<_ACEOF 3544 /* confdefs.h. */ 3545 _ACEOF 3546 cat confdefs.h >>conftest.$ac_ext 3547 cat >>conftest.$ac_ext <<_ACEOF 3548 /* end confdefs.h. */ 3549 $ac_includes_default 3550 3551 #include <$ac_header> 3552 _ACEOF 3553 rm -f conftest.$ac_objext 3554 if { (ac_try="$ac_compile" 3555 case "(($ac_try" in 3556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3557 *) ac_try_echo=$ac_try;; 3558 esac 3559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3560 $as_echo "$ac_try_echo") >&5 3561 (eval "$ac_compile") 2>conftest.er1 3562 ac_status=$? 3563 grep -v '^ *+' conftest.er1 >conftest.err 3564 rm -f conftest.er1 3565 cat conftest.err >&5 3566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3567 (exit $ac_status); } && { 3568 test -z "$ac_c_werror_flag" || 3569 test ! -s conftest.err 3570 } && test -s conftest.$ac_objext; then 3571 eval "$as_ac_Header=yes" 3572 else 3573 $as_echo "$as_me: failed program was:" >&5 3574 sed 's/^/| /' conftest.$ac_ext >&5 3575 3576 eval "$as_ac_Header=no" 3577 fi 3578 3579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3580 fi 3581 ac_res=`eval 'as_val=${'$as_ac_Header'} 3582 $as_echo "$as_val"'` 3583 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3584 $as_echo "$ac_res" >&6; } 3585 as_val=`eval 'as_val=${'$as_ac_Header'} 3586 $as_echo "$as_val"'` 3587 if test "x$as_val" = x""yes; then 3974 3588 cat >>confdefs.h <<_ACEOF 3975 3589 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 3985 3599 # Step 0.a: Enable 64 bit support? 3986 3600 3987 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if 64bit support is requested" >&53601 { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5 3988 3602 $as_echo_n "checking if 64bit support is requested... " >&6; } 3989 3603 # Check whether --enable-64bit was given. 3990 if test "${enable_64bit+set}" = set; then :3604 if test "${enable_64bit+set}" = set; then 3991 3605 enableval=$enable_64bit; do64bit=$enableval 3992 3606 else … … 3994 3608 fi 3995 3609 3996 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $do64bit" >&53610 { $as_echo "$as_me:$LINENO: result: $do64bit" >&5 3997 3611 $as_echo "$do64bit" >&6; } 3998 3612 3999 3613 # Step 0.b: Enable Solaris 64 bit VIS support? 4000 3614 4001 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&53615 { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5 4002 3616 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 4003 3617 # Check whether --enable-64bit-vis was given. 4004 if test "${enable_64bit_vis+set}" = set; then :3618 if test "${enable_64bit_vis+set}" = set; then 4005 3619 enableval=$enable_64bit_vis; do64bitVIS=$enableval 4006 3620 else … … 4008 3622 fi 4009 3623 4010 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $do64bitVIS" >&53624 { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5 4011 3625 $as_echo "$do64bitVIS" >&6; } 4012 3626 … … 4020 3634 4021 3635 4022 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking system version" >&53636 { $as_echo "$as_me:$LINENO: checking system version" >&5 4023 3637 $as_echo_n "checking system version... " >&6; } 4024 if ${tcl_cv_sys_version+:} false; then :3638 if test "${tcl_cv_sys_version+set}" = set; then 4025 3639 $as_echo_n "(cached) " >&6 4026 3640 else … … 4031 3645 tcl_cv_sys_version=`uname -s`-`uname -r` 4032 3646 if test "$?" -ne 0 ; then 4033 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: can't find uname command" >&53647 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5 4034 3648 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 4035 3649 tcl_cv_sys_version=unknown … … 4048 3662 4049 3663 fi 4050 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&53664 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5 4051 3665 $as_echo "$tcl_cv_sys_version" >&6; } 4052 3666 system=$tcl_cv_sys_version … … 4056 3670 # Linux can use either -ldl or -ldld for dynamic loading. 4057 3671 4058 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for dlopen in -ldl" >&53672 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 4059 3673 $as_echo_n "checking for dlopen in -ldl... " >&6; } 4060 if ${ac_cv_lib_dl_dlopen+:} false; then :3674 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 4061 3675 $as_echo_n "(cached) " >&6 4062 3676 else 4063 3677 ac_check_lib_save_LIBS=$LIBS 4064 3678 LIBS="-ldl $LIBS" 4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3679 cat >conftest.$ac_ext <<_ACEOF 3680 /* confdefs.h. */ 3681 _ACEOF 3682 cat confdefs.h >>conftest.$ac_ext 3683 cat >>conftest.$ac_ext <<_ACEOF 4066 3684 /* end confdefs.h. */ 4067 3685 … … 4081 3699 } 4082 3700 _ACEOF 4083 if ac_fn_c_try_link "$LINENO"; then : 3701 rm -f conftest.$ac_objext conftest$ac_exeext 3702 if { (ac_try="$ac_link" 3703 case "(($ac_try" in 3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3705 *) ac_try_echo=$ac_try;; 3706 esac 3707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3708 $as_echo "$ac_try_echo") >&5 3709 (eval "$ac_link") 2>conftest.er1 3710 ac_status=$? 3711 grep -v '^ *+' conftest.er1 >conftest.err 3712 rm -f conftest.er1 3713 cat conftest.err >&5 3714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3715 (exit $ac_status); } && { 3716 test -z "$ac_c_werror_flag" || 3717 test ! -s conftest.err 3718 } && test -s conftest$ac_exeext && { 3719 test "$cross_compiling" = yes || 3720 $as_test_x conftest$ac_exeext 3721 }; then 4084 3722 ac_cv_lib_dl_dlopen=yes 4085 3723 else 4086 ac_cv_lib_dl_dlopen=no 4087 fi 4088 rm -f core conftest.err conftest.$ac_objext \ 4089 conftest$ac_exeext conftest.$ac_ext 3724 $as_echo "$as_me: failed program was:" >&5 3725 sed 's/^/| /' conftest.$ac_ext >&5 3726 3727 ac_cv_lib_dl_dlopen=no 3728 fi 3729 3730 rm -rf conftest.dSYM 3731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3732 conftest$ac_exeext conftest.$ac_ext 4090 3733 LIBS=$ac_check_lib_save_LIBS 4091 3734 fi 4092 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&53735 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 4093 3736 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 4094 if test "x$ac_cv_lib_dl_dlopen" = x yes; then :3737 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 4095 3738 have_dl=yes 4096 3739 else … … 4124 3767 # Extract the first word of "ar", so it can be a program name with args. 4125 3768 set dummy ar; ac_word=$2 4126 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53769 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4127 3770 $as_echo_n "checking for $ac_word... " >&6; } 4128 if ${ac_cv_prog_AR+:} false; then :3771 if test "${ac_cv_prog_AR+set}" = set; then 4129 3772 $as_echo_n "(cached) " >&6 4130 3773 else … … 4137 3780 IFS=$as_save_IFS 4138 3781 test -z "$as_dir" && as_dir=. 4139 3782 for ac_exec_ext in '' $ac_executable_extensions; do 4140 3783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4141 3784 ac_cv_prog_AR="ar" 4142 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53785 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4143 3786 break 2 4144 3787 fi 4145 3788 done 4146 3789 done 4147 3790 IFS=$as_save_IFS 4148 3791 … … 4151 3794 AR=$ac_cv_prog_AR 4152 3795 if test -n "$AR"; then 4153 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $AR" >&53796 { $as_echo "$as_me:$LINENO: result: $AR" >&5 4154 3797 $as_echo "$AR" >&6; } 4155 3798 else 4156 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53799 { $as_echo "$as_me:$LINENO: result: no" >&5 4157 3800 $as_echo "no" >&6; } 4158 3801 fi … … 4160 3803 4161 3804 if test "${AR}" = "" ; then 4162 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 3805 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 3806 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 3807 { (exit 1); exit 1; }; } 4163 3808 fi 4164 3809 STLIB_LD='${AR} cr' … … 4178 3823 ;; 4179 3824 esac 4180 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&53825 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5 4181 3826 $as_echo "Using $CC for compiling with threads" >&6; } 4182 3827 fi … … 4194 3839 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 4195 3840 if test "$GCC" = "yes" ; then 4196 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&53841 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 4197 3842 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4198 3843 else … … 4249 3894 # known GMT value. 4250 3895 4251 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&53896 { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5 4252 3897 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 4253 if ${ac_cv_lib_bsd_gettimeofday+:} false; then :3898 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 4254 3899 $as_echo_n "(cached) " >&6 4255 3900 else 4256 3901 ac_check_lib_save_LIBS=$LIBS 4257 3902 LIBS="-lbsd $LIBS" 4258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3903 cat >conftest.$ac_ext <<_ACEOF 3904 /* confdefs.h. */ 3905 _ACEOF 3906 cat confdefs.h >>conftest.$ac_ext 3907 cat >>conftest.$ac_ext <<_ACEOF 4259 3908 /* end confdefs.h. */ 4260 3909 … … 4274 3923 } 4275 3924 _ACEOF 4276 if ac_fn_c_try_link "$LINENO"; then : 3925 rm -f conftest.$ac_objext conftest$ac_exeext 3926 if { (ac_try="$ac_link" 3927 case "(($ac_try" in 3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3929 *) ac_try_echo=$ac_try;; 3930 esac 3931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3932 $as_echo "$ac_try_echo") >&5 3933 (eval "$ac_link") 2>conftest.er1 3934 ac_status=$? 3935 grep -v '^ *+' conftest.er1 >conftest.err 3936 rm -f conftest.er1 3937 cat conftest.err >&5 3938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3939 (exit $ac_status); } && { 3940 test -z "$ac_c_werror_flag" || 3941 test ! -s conftest.err 3942 } && test -s conftest$ac_exeext && { 3943 test "$cross_compiling" = yes || 3944 $as_test_x conftest$ac_exeext 3945 }; then 4277 3946 ac_cv_lib_bsd_gettimeofday=yes 4278 3947 else 4279 ac_cv_lib_bsd_gettimeofday=no 4280 fi 4281 rm -f core conftest.err conftest.$ac_objext \ 4282 conftest$ac_exeext conftest.$ac_ext 3948 $as_echo "$as_me: failed program was:" >&5 3949 sed 's/^/| /' conftest.$ac_ext >&5 3950 3951 ac_cv_lib_bsd_gettimeofday=no 3952 fi 3953 3954 rm -rf conftest.dSYM 3955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3956 conftest$ac_exeext conftest.$ac_ext 4283 3957 LIBS=$ac_check_lib_save_LIBS 4284 3958 fi 4285 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&53959 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5 4286 3960 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 4287 if test "x$ac_cv_lib_bsd_gettimeofday" = x yes; then :3961 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then 4288 3962 libbsd=yes 4289 3963 else … … 4293 3967 if test $libbsd = yes; then 4294 3968 MATH_LIBS="$MATH_LIBS -lbsd" 4295 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 3969 cat >>confdefs.h <<\_ACEOF 3970 #define USE_DELTA_FOR_TZ 1 3971 _ACEOF 4296 3972 4297 3973 fi … … 4310 3986 # is always linked to, for compatibility. 4311 3987 #----------------------------------------------------------- 4312 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&53988 { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5 4313 3989 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 4314 if ${ac_cv_lib_bind_inet_ntoa+:} false; then :3990 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then 4315 3991 $as_echo_n "(cached) " >&6 4316 3992 else 4317 3993 ac_check_lib_save_LIBS=$LIBS 4318 3994 LIBS="-lbind $LIBS" 4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3995 cat >conftest.$ac_ext <<_ACEOF 3996 /* confdefs.h. */ 3997 _ACEOF 3998 cat confdefs.h >>conftest.$ac_ext 3999 cat >>conftest.$ac_ext <<_ACEOF 4320 4000 /* end confdefs.h. */ 4321 4001 … … 4335 4015 } 4336 4016 _ACEOF 4337 if ac_fn_c_try_link "$LINENO"; then : 4017 rm -f conftest.$ac_objext conftest$ac_exeext 4018 if { (ac_try="$ac_link" 4019 case "(($ac_try" in 4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4021 *) ac_try_echo=$ac_try;; 4022 esac 4023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4024 $as_echo "$ac_try_echo") >&5 4025 (eval "$ac_link") 2>conftest.er1 4026 ac_status=$? 4027 grep -v '^ *+' conftest.er1 >conftest.err 4028 rm -f conftest.er1 4029 cat conftest.err >&5 4030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4031 (exit $ac_status); } && { 4032 test -z "$ac_c_werror_flag" || 4033 test ! -s conftest.err 4034 } && test -s conftest$ac_exeext && { 4035 test "$cross_compiling" = yes || 4036 $as_test_x conftest$ac_exeext 4037 }; then 4338 4038 ac_cv_lib_bind_inet_ntoa=yes 4339 4039 else 4340 ac_cv_lib_bind_inet_ntoa=no 4341 fi 4342 rm -f core conftest.err conftest.$ac_objext \ 4343 conftest$ac_exeext conftest.$ac_ext 4040 $as_echo "$as_me: failed program was:" >&5 4041 sed 's/^/| /' conftest.$ac_ext >&5 4042 4043 ac_cv_lib_bind_inet_ntoa=no 4044 fi 4045 4046 rm -rf conftest.dSYM 4047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4048 conftest$ac_exeext conftest.$ac_ext 4344 4049 LIBS=$ac_check_lib_save_LIBS 4345 4050 fi 4346 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&54051 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5 4347 4052 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 4348 if test "x$ac_cv_lib_bind_inet_ntoa" = x yes; then :4053 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then 4349 4054 LIBS="$LIBS -lbind -lsocket" 4350 4055 fi … … 4384 4089 HP-UX-*.11.*) 4385 4090 # Use updated header definitions where possible 4386 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 4091 cat >>confdefs.h <<\_ACEOF 4092 #define _XOPEN_SOURCE 1 4093 _ACEOF 4387 4094 # Use the XOPEN network library 4388 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 4095 cat >>confdefs.h <<\_ACEOF 4096 #define _XOPEN_SOURCE_EXTENDED 1 4097 _ACEOF 4389 4098 # Use the XOPEN network library 4390 4099 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 4395 4104 SHLIB_SUFFIX=".sl" 4396 4105 fi 4397 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for shl_load in -ldld" >&54106 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 4398 4107 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4399 if ${ac_cv_lib_dld_shl_load+:} false; then :4108 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4400 4109 $as_echo_n "(cached) " >&6 4401 4110 else 4402 4111 ac_check_lib_save_LIBS=$LIBS 4403 4112 LIBS="-ldld $LIBS" 4404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4113 cat >conftest.$ac_ext <<_ACEOF 4114 /* confdefs.h. */ 4115 _ACEOF 4116 cat confdefs.h >>conftest.$ac_ext 4117 cat >>conftest.$ac_ext <<_ACEOF 4405 4118 /* end confdefs.h. */ 4406 4119 … … 4420 4133 } 4421 4134 _ACEOF 4422 if ac_fn_c_try_link "$LINENO"; then : 4135 rm -f conftest.$ac_objext conftest$ac_exeext 4136 if { (ac_try="$ac_link" 4137 case "(($ac_try" in 4138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4139 *) ac_try_echo=$ac_try;; 4140 esac 4141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4142 $as_echo "$ac_try_echo") >&5 4143 (eval "$ac_link") 2>conftest.er1 4144 ac_status=$? 4145 grep -v '^ *+' conftest.er1 >conftest.err 4146 rm -f conftest.er1 4147 cat conftest.err >&5 4148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4149 (exit $ac_status); } && { 4150 test -z "$ac_c_werror_flag" || 4151 test ! -s conftest.err 4152 } && test -s conftest$ac_exeext && { 4153 test "$cross_compiling" = yes || 4154 $as_test_x conftest$ac_exeext 4155 }; then 4423 4156 ac_cv_lib_dld_shl_load=yes 4424 4157 else 4425 ac_cv_lib_dld_shl_load=no 4426 fi 4427 rm -f core conftest.err conftest.$ac_objext \ 4428 conftest$ac_exeext conftest.$ac_ext 4158 $as_echo "$as_me: failed program was:" >&5 4159 sed 's/^/| /' conftest.$ac_ext >&5 4160 4161 ac_cv_lib_dld_shl_load=no 4162 fi 4163 4164 rm -rf conftest.dSYM 4165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4166 conftest$ac_exeext conftest.$ac_ext 4429 4167 LIBS=$ac_check_lib_save_LIBS 4430 4168 fi 4431 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&54169 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 4432 4170 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4433 if test "x$ac_cv_lib_dld_shl_load" = x yes; then :4171 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 4434 4172 tcl_ok=yes 4435 4173 else … … 4471 4209 ;; 4472 4210 *) 4473 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&54211 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 4474 4212 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4475 4213 ;; … … 4484 4222 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 4485 4223 SHLIB_SUFFIX=".sl" 4486 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for shl_load in -ldld" >&54224 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 4487 4225 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4488 if ${ac_cv_lib_dld_shl_load+:} false; then :4226 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4489 4227 $as_echo_n "(cached) " >&6 4490 4228 else 4491 4229 ac_check_lib_save_LIBS=$LIBS 4492 4230 LIBS="-ldld $LIBS" 4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4231 cat >conftest.$ac_ext <<_ACEOF 4232 /* confdefs.h. */ 4233 _ACEOF 4234 cat confdefs.h >>conftest.$ac_ext 4235 cat >>conftest.$ac_ext <<_ACEOF 4494 4236 /* end confdefs.h. */ 4495 4237 … … 4509 4251 } 4510 4252 _ACEOF 4511 if ac_fn_c_try_link "$LINENO"; then : 4253 rm -f conftest.$ac_objext conftest$ac_exeext 4254 if { (ac_try="$ac_link" 4255 case "(($ac_try" in 4256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4257 *) ac_try_echo=$ac_try;; 4258 esac 4259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4260 $as_echo "$ac_try_echo") >&5 4261 (eval "$ac_link") 2>conftest.er1 4262 ac_status=$? 4263 grep -v '^ *+' conftest.er1 >conftest.err 4264 rm -f conftest.er1 4265 cat conftest.err >&5 4266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4267 (exit $ac_status); } && { 4268 test -z "$ac_c_werror_flag" || 4269 test ! -s conftest.err 4270 } && test -s conftest$ac_exeext && { 4271 test "$cross_compiling" = yes || 4272 $as_test_x conftest$ac_exeext 4273 }; then 4512 4274 ac_cv_lib_dld_shl_load=yes 4513 4275 else 4514 ac_cv_lib_dld_shl_load=no 4515 fi 4516 rm -f core conftest.err conftest.$ac_objext \ 4517 conftest$ac_exeext conftest.$ac_ext 4276 $as_echo "$as_me: failed program was:" >&5 4277 sed 's/^/| /' conftest.$ac_ext >&5 4278 4279 ac_cv_lib_dld_shl_load=no 4280 fi 4281 4282 rm -rf conftest.dSYM 4283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4284 conftest$ac_exeext conftest.$ac_ext 4518 4285 LIBS=$ac_check_lib_save_LIBS 4519 4286 fi 4520 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&54287 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 4521 4288 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4522 if test "x$ac_cv_lib_dld_shl_load" = x yes; then :4289 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 4523 4290 tcl_ok=yes 4524 4291 else … … 4599 4366 if test "$do64bit" = "yes" ; then 4600 4367 if test "$GCC" = "yes" ; then 4601 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&54368 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5 4602 4369 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 4603 4370 else … … 4628 4395 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4629 4396 else 4630 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4631 if test "x$ac_cv_header_dld_h" = xyes; then : 4397 if test "${ac_cv_header_dld_h+set}" = set; then 4398 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4399 $as_echo_n "checking for dld.h... " >&6; } 4400 if test "${ac_cv_header_dld_h+set}" = set; then 4401 $as_echo_n "(cached) " >&6 4402 fi 4403 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4404 $as_echo "$ac_cv_header_dld_h" >&6; } 4405 else 4406 # Is the header compilable? 4407 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4408 $as_echo_n "checking dld.h usability... " >&6; } 4409 cat >conftest.$ac_ext <<_ACEOF 4410 /* confdefs.h. */ 4411 _ACEOF 4412 cat confdefs.h >>conftest.$ac_ext 4413 cat >>conftest.$ac_ext <<_ACEOF 4414 /* end confdefs.h. */ 4415 $ac_includes_default 4416 #include <dld.h> 4417 _ACEOF 4418 rm -f conftest.$ac_objext 4419 if { (ac_try="$ac_compile" 4420 case "(($ac_try" in 4421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4422 *) ac_try_echo=$ac_try;; 4423 esac 4424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4425 $as_echo "$ac_try_echo") >&5 4426 (eval "$ac_compile") 2>conftest.er1 4427 ac_status=$? 4428 grep -v '^ *+' conftest.er1 >conftest.err 4429 rm -f conftest.er1 4430 cat conftest.err >&5 4431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4432 (exit $ac_status); } && { 4433 test -z "$ac_c_werror_flag" || 4434 test ! -s conftest.err 4435 } && test -s conftest.$ac_objext; then 4436 ac_header_compiler=yes 4437 else 4438 $as_echo "$as_me: failed program was:" >&5 4439 sed 's/^/| /' conftest.$ac_ext >&5 4440 4441 ac_header_compiler=no 4442 fi 4443 4444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4445 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4446 $as_echo "$ac_header_compiler" >&6; } 4447 4448 # Is the header present? 4449 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4450 $as_echo_n "checking dld.h presence... " >&6; } 4451 cat >conftest.$ac_ext <<_ACEOF 4452 /* confdefs.h. */ 4453 _ACEOF 4454 cat confdefs.h >>conftest.$ac_ext 4455 cat >>conftest.$ac_ext <<_ACEOF 4456 /* end confdefs.h. */ 4457 #include <dld.h> 4458 _ACEOF 4459 if { (ac_try="$ac_cpp conftest.$ac_ext" 4460 case "(($ac_try" in 4461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4462 *) ac_try_echo=$ac_try;; 4463 esac 4464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4465 $as_echo "$ac_try_echo") >&5 4466 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4467 ac_status=$? 4468 grep -v '^ *+' conftest.er1 >conftest.err 4469 rm -f conftest.er1 4470 cat conftest.err >&5 4471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4472 (exit $ac_status); } >/dev/null && { 4473 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4474 test ! -s conftest.err 4475 }; then 4476 ac_header_preproc=yes 4477 else 4478 $as_echo "$as_me: failed program was:" >&5 4479 sed 's/^/| /' conftest.$ac_ext >&5 4480 4481 ac_header_preproc=no 4482 fi 4483 4484 rm -f conftest.err conftest.$ac_ext 4485 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4486 $as_echo "$ac_header_preproc" >&6; } 4487 4488 # So? What about this header? 4489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4490 yes:no: ) 4491 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4492 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4493 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4494 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4495 ac_header_preproc=yes 4496 ;; 4497 no:yes:* ) 4498 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4499 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4500 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4501 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4502 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4503 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4504 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4505 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4506 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4507 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4508 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4509 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4510 ( cat <<\_ASBOX 4511 ## ----------------------------------- ## 4512 ## Report this to rappture@nanohub.org ## 4513 ## ----------------------------------- ## 4514 _ASBOX 4515 ) | sed "s/^/$as_me: WARNING: /" >&2 4516 ;; 4517 esac 4518 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4519 $as_echo_n "checking for dld.h... " >&6; } 4520 if test "${ac_cv_header_dld_h+set}" = set; then 4521 $as_echo_n "(cached) " >&6 4522 else 4523 ac_cv_header_dld_h=$ac_header_preproc 4524 fi 4525 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4526 $as_echo "$ac_cv_header_dld_h" >&6; } 4527 4528 fi 4529 if test "x$ac_cv_header_dld_h" = x""yes; then 4632 4530 4633 4531 SHLIB_LD="ld -shared" … … 4644 4542 fi 4645 4543 if test $do64bit = yes; then 4646 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&54544 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5 4647 4545 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 4648 if ${tcl_cv_cc_m64+:} false; then :4546 if test "${tcl_cv_cc_m64+set}" = set; then 4649 4547 $as_echo_n "(cached) " >&6 4650 4548 else … … 4652 4550 hold_cflags=$CFLAGS 4653 4551 CFLAGS="$CFLAGS -m64" 4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4552 cat >conftest.$ac_ext <<_ACEOF 4553 /* confdefs.h. */ 4554 _ACEOF 4555 cat confdefs.h >>conftest.$ac_ext 4556 cat >>conftest.$ac_ext <<_ACEOF 4655 4557 /* end confdefs.h. */ 4656 4558 … … 4663 4565 } 4664 4566 _ACEOF 4665 if ac_fn_c_try_link "$LINENO"; then : 4567 rm -f conftest.$ac_objext conftest$ac_exeext 4568 if { (ac_try="$ac_link" 4569 case "(($ac_try" in 4570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4571 *) ac_try_echo=$ac_try;; 4572 esac 4573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4574 $as_echo "$ac_try_echo") >&5 4575 (eval "$ac_link") 2>conftest.er1 4576 ac_status=$? 4577 grep -v '^ *+' conftest.er1 >conftest.err 4578 rm -f conftest.er1 4579 cat conftest.err >&5 4580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4581 (exit $ac_status); } && { 4582 test -z "$ac_c_werror_flag" || 4583 test ! -s conftest.err 4584 } && test -s conftest$ac_exeext && { 4585 test "$cross_compiling" = yes || 4586 $as_test_x conftest$ac_exeext 4587 }; then 4666 4588 tcl_cv_cc_m64=yes 4667 4589 else 4668 tcl_cv_cc_m64=no 4669 fi 4670 rm -f core conftest.err conftest.$ac_objext \ 4671 conftest$ac_exeext conftest.$ac_ext 4590 $as_echo "$as_me: failed program was:" >&5 4591 sed 's/^/| /' conftest.$ac_ext >&5 4592 4593 tcl_cv_cc_m64=no 4594 fi 4595 4596 rm -rf conftest.dSYM 4597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4598 conftest$ac_exeext conftest.$ac_ext 4672 4599 CFLAGS=$hold_cflags 4673 4600 fi 4674 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&54601 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5 4675 4602 $as_echo "$tcl_cv_cc_m64" >&6; } 4676 4603 if test $tcl_cv_cc_m64 = yes; then … … 4692 4619 4693 4620 # XIM peeking works under XFree86. 4694 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 4621 cat >>confdefs.h <<\_ACEOF 4622 #define PEEK_XCLOSEIM 1 4623 _ACEOF 4695 4624 4696 4625 … … 4709 4638 LD_SEARCH_FLAGS="" 4710 4639 else 4711 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4712 if test "x$ac_cv_header_dld_h" = xyes; then : 4640 if test "${ac_cv_header_dld_h+set}" = set; then 4641 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4642 $as_echo_n "checking for dld.h... " >&6; } 4643 if test "${ac_cv_header_dld_h+set}" = set; then 4644 $as_echo_n "(cached) " >&6 4645 fi 4646 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4647 $as_echo "$ac_cv_header_dld_h" >&6; } 4648 else 4649 # Is the header compilable? 4650 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4651 $as_echo_n "checking dld.h usability... " >&6; } 4652 cat >conftest.$ac_ext <<_ACEOF 4653 /* confdefs.h. */ 4654 _ACEOF 4655 cat confdefs.h >>conftest.$ac_ext 4656 cat >>conftest.$ac_ext <<_ACEOF 4657 /* end confdefs.h. */ 4658 $ac_includes_default 4659 #include <dld.h> 4660 _ACEOF 4661 rm -f conftest.$ac_objext 4662 if { (ac_try="$ac_compile" 4663 case "(($ac_try" in 4664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4665 *) ac_try_echo=$ac_try;; 4666 esac 4667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4668 $as_echo "$ac_try_echo") >&5 4669 (eval "$ac_compile") 2>conftest.er1 4670 ac_status=$? 4671 grep -v '^ *+' conftest.er1 >conftest.err 4672 rm -f conftest.er1 4673 cat conftest.err >&5 4674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4675 (exit $ac_status); } && { 4676 test -z "$ac_c_werror_flag" || 4677 test ! -s conftest.err 4678 } && test -s conftest.$ac_objext; then 4679 ac_header_compiler=yes 4680 else 4681 $as_echo "$as_me: failed program was:" >&5 4682 sed 's/^/| /' conftest.$ac_ext >&5 4683 4684 ac_header_compiler=no 4685 fi 4686 4687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4688 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4689 $as_echo "$ac_header_compiler" >&6; } 4690 4691 # Is the header present? 4692 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4693 $as_echo_n "checking dld.h presence... " >&6; } 4694 cat >conftest.$ac_ext <<_ACEOF 4695 /* confdefs.h. */ 4696 _ACEOF 4697 cat confdefs.h >>conftest.$ac_ext 4698 cat >>conftest.$ac_ext <<_ACEOF 4699 /* end confdefs.h. */ 4700 #include <dld.h> 4701 _ACEOF 4702 if { (ac_try="$ac_cpp conftest.$ac_ext" 4703 case "(($ac_try" in 4704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4705 *) ac_try_echo=$ac_try;; 4706 esac 4707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4708 $as_echo "$ac_try_echo") >&5 4709 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4710 ac_status=$? 4711 grep -v '^ *+' conftest.er1 >conftest.err 4712 rm -f conftest.er1 4713 cat conftest.err >&5 4714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4715 (exit $ac_status); } >/dev/null && { 4716 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4717 test ! -s conftest.err 4718 }; then 4719 ac_header_preproc=yes 4720 else 4721 $as_echo "$as_me: failed program was:" >&5 4722 sed 's/^/| /' conftest.$ac_ext >&5 4723 4724 ac_header_preproc=no 4725 fi 4726 4727 rm -f conftest.err conftest.$ac_ext 4728 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4729 $as_echo "$ac_header_preproc" >&6; } 4730 4731 # So? What about this header? 4732 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4733 yes:no: ) 4734 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4735 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4736 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4737 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4738 ac_header_preproc=yes 4739 ;; 4740 no:yes:* ) 4741 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4742 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4743 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4744 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4745 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4746 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4747 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4748 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4749 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4750 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4751 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4752 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4753 ( cat <<\_ASBOX 4754 ## ----------------------------------- ## 4755 ## Report this to rappture@nanohub.org ## 4756 ## ----------------------------------- ## 4757 _ASBOX 4758 ) | sed "s/^/$as_me: WARNING: /" >&2 4759 ;; 4760 esac 4761 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4762 $as_echo_n "checking for dld.h... " >&6; } 4763 if test "${ac_cv_header_dld_h+set}" = set; then 4764 $as_echo_n "(cached) " >&6 4765 else 4766 ac_cv_header_dld_h=$ac_header_preproc 4767 fi 4768 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4769 $as_echo "$ac_cv_header_dld_h" >&6; } 4770 4771 fi 4772 if test "x$ac_cv_header_dld_h" = x""yes; then 4713 4773 4714 4774 SHLIB_LD="ld -shared" … … 4760 4820 NetBSD-*|FreeBSD-[1-2].*) 4761 4821 # Not available on all versions: check for include file. 4762 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 4763 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 4822 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4823 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 4824 $as_echo_n "checking for dlfcn.h... " >&6; } 4825 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4826 $as_echo_n "(cached) " >&6 4827 fi 4828 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 4829 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 4830 else 4831 # Is the header compilable? 4832 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 4833 $as_echo_n "checking dlfcn.h usability... " >&6; } 4834 cat >conftest.$ac_ext <<_ACEOF 4835 /* confdefs.h. */ 4836 _ACEOF 4837 cat confdefs.h >>conftest.$ac_ext 4838 cat >>conftest.$ac_ext <<_ACEOF 4839 /* end confdefs.h. */ 4840 $ac_includes_default 4841 #include <dlfcn.h> 4842 _ACEOF 4843 rm -f conftest.$ac_objext 4844 if { (ac_try="$ac_compile" 4845 case "(($ac_try" in 4846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4847 *) ac_try_echo=$ac_try;; 4848 esac 4849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4850 $as_echo "$ac_try_echo") >&5 4851 (eval "$ac_compile") 2>conftest.er1 4852 ac_status=$? 4853 grep -v '^ *+' conftest.er1 >conftest.err 4854 rm -f conftest.er1 4855 cat conftest.err >&5 4856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4857 (exit $ac_status); } && { 4858 test -z "$ac_c_werror_flag" || 4859 test ! -s conftest.err 4860 } && test -s conftest.$ac_objext; then 4861 ac_header_compiler=yes 4862 else 4863 $as_echo "$as_me: failed program was:" >&5 4864 sed 's/^/| /' conftest.$ac_ext >&5 4865 4866 ac_header_compiler=no 4867 fi 4868 4869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4870 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4871 $as_echo "$ac_header_compiler" >&6; } 4872 4873 # Is the header present? 4874 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 4875 $as_echo_n "checking dlfcn.h presence... " >&6; } 4876 cat >conftest.$ac_ext <<_ACEOF 4877 /* confdefs.h. */ 4878 _ACEOF 4879 cat confdefs.h >>conftest.$ac_ext 4880 cat >>conftest.$ac_ext <<_ACEOF 4881 /* end confdefs.h. */ 4882 #include <dlfcn.h> 4883 _ACEOF 4884 if { (ac_try="$ac_cpp conftest.$ac_ext" 4885 case "(($ac_try" in 4886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4887 *) ac_try_echo=$ac_try;; 4888 esac 4889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4890 $as_echo "$ac_try_echo") >&5 4891 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4892 ac_status=$? 4893 grep -v '^ *+' conftest.er1 >conftest.err 4894 rm -f conftest.er1 4895 cat conftest.err >&5 4896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4897 (exit $ac_status); } >/dev/null && { 4898 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4899 test ! -s conftest.err 4900 }; then 4901 ac_header_preproc=yes 4902 else 4903 $as_echo "$as_me: failed program was:" >&5 4904 sed 's/^/| /' conftest.$ac_ext >&5 4905 4906 ac_header_preproc=no 4907 fi 4908 4909 rm -f conftest.err conftest.$ac_ext 4910 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4911 $as_echo "$ac_header_preproc" >&6; } 4912 4913 # So? What about this header? 4914 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4915 yes:no: ) 4916 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 4917 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4918 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 4919 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 4920 ac_header_preproc=yes 4921 ;; 4922 no:yes:* ) 4923 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 4924 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 4925 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 4926 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 4927 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 4928 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 4929 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 4930 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 4931 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 4932 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 4933 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 4934 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 4935 ( cat <<\_ASBOX 4936 ## ----------------------------------- ## 4937 ## Report this to rappture@nanohub.org ## 4938 ## ----------------------------------- ## 4939 _ASBOX 4940 ) | sed "s/^/$as_me: WARNING: /" >&2 4941 ;; 4942 esac 4943 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 4944 $as_echo_n "checking for dlfcn.h... " >&6; } 4945 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4946 $as_echo_n "(cached) " >&6 4947 else 4948 ac_cv_header_dlfcn_h=$ac_header_preproc 4949 fi 4950 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 4951 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 4952 4953 fi 4954 if test "x$ac_cv_header_dlfcn_h" = x""yes; then 4764 4955 4765 4956 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 4772 4963 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4773 4964 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 4774 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ELF" >&54965 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 4775 4966 $as_echo_n "checking for ELF... " >&6; } 4776 if ${tcl_cv_ld_elf+:} false; then :4967 if test "${tcl_cv_ld_elf+set}" = set; then 4777 4968 $as_echo_n "(cached) " >&6 4778 4969 else 4779 4970 4780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4971 cat >conftest.$ac_ext <<_ACEOF 4972 /* confdefs.h. */ 4973 _ACEOF 4974 cat confdefs.h >>conftest.$ac_ext 4975 cat >>conftest.$ac_ext <<_ACEOF 4781 4976 /* end confdefs.h. */ 4782 4977 … … 4787 4982 _ACEOF 4788 4983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4789 $EGREP "yes" >/dev/null 2>&1; then :4984 $EGREP "yes" >/dev/null 2>&1; then 4790 4985 tcl_cv_ld_elf=yes 4791 4986 else … … 4795 4990 4796 4991 fi 4797 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&54992 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 4798 4993 $as_echo "$tcl_cv_ld_elf" >&6; } 4799 4994 if test $tcl_cv_ld_elf = yes; then … … 4854 5049 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4855 5050 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 4856 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ELF" >&55051 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 4857 5052 $as_echo_n "checking for ELF... " >&6; } 4858 if ${tcl_cv_ld_elf+:} false; then :5053 if test "${tcl_cv_ld_elf+set}" = set; then 4859 5054 $as_echo_n "(cached) " >&6 4860 5055 else 4861 5056 4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5057 cat >conftest.$ac_ext <<_ACEOF 5058 /* confdefs.h. */ 5059 _ACEOF 5060 cat confdefs.h >>conftest.$ac_ext 5061 cat >>conftest.$ac_ext <<_ACEOF 4863 5062 /* end confdefs.h. */ 4864 5063 … … 4869 5068 _ACEOF 4870 5069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4871 $EGREP "yes" >/dev/null 2>&1; then :5070 $EGREP "yes" >/dev/null 2>&1; then 4872 5071 tcl_cv_ld_elf=yes 4873 5072 else … … 4877 5076 4878 5077 fi 4879 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&55078 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 4880 5079 $as_echo "$tcl_cv_ld_elf" >&6; } 4881 5080 if test $tcl_cv_ld_elf = yes; then … … 4932 5131 case `arch` in 4933 5132 ppc) 4934 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&55133 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5 4935 5134 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 4936 if ${tcl_cv_cc_arch_ppc64+:} false; then :5135 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then 4937 5136 $as_echo_n "(cached) " >&6 4938 5137 else … … 4940 5139 hold_cflags=$CFLAGS 4941 5140 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 4942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5141 cat >conftest.$ac_ext <<_ACEOF 5142 /* confdefs.h. */ 5143 _ACEOF 5144 cat confdefs.h >>conftest.$ac_ext 5145 cat >>conftest.$ac_ext <<_ACEOF 4943 5146 /* end confdefs.h. */ 4944 5147 … … 4951 5154 } 4952 5155 _ACEOF 4953 if ac_fn_c_try_link "$LINENO"; then : 5156 rm -f conftest.$ac_objext conftest$ac_exeext 5157 if { (ac_try="$ac_link" 5158 case "(($ac_try" in 5159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5160 *) ac_try_echo=$ac_try;; 5161 esac 5162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5163 $as_echo "$ac_try_echo") >&5 5164 (eval "$ac_link") 2>conftest.er1 5165 ac_status=$? 5166 grep -v '^ *+' conftest.er1 >conftest.err 5167 rm -f conftest.er1 5168 cat conftest.err >&5 5169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5170 (exit $ac_status); } && { 5171 test -z "$ac_c_werror_flag" || 5172 test ! -s conftest.err 5173 } && test -s conftest$ac_exeext && { 5174 test "$cross_compiling" = yes || 5175 $as_test_x conftest$ac_exeext 5176 }; then 4954 5177 tcl_cv_cc_arch_ppc64=yes 4955 5178 else 4956 tcl_cv_cc_arch_ppc64=no 4957 fi 4958 rm -f core conftest.err conftest.$ac_objext \ 4959 conftest$ac_exeext conftest.$ac_ext 5179 $as_echo "$as_me: failed program was:" >&5 5180 sed 's/^/| /' conftest.$ac_ext >&5 5181 5182 tcl_cv_cc_arch_ppc64=no 5183 fi 5184 5185 rm -rf conftest.dSYM 5186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5187 conftest$ac_exeext conftest.$ac_ext 4960 5188 CFLAGS=$hold_cflags 4961 5189 fi 4962 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&55190 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5 4963 5191 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 4964 5192 if test $tcl_cv_cc_arch_ppc64 = yes; then … … 4967 5195 fi;; 4968 5196 i386) 4969 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&55197 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5 4970 5198 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 4971 if ${tcl_cv_cc_arch_x86_64+:} false; then :5199 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then 4972 5200 $as_echo_n "(cached) " >&6 4973 5201 else … … 4975 5203 hold_cflags=$CFLAGS 4976 5204 CFLAGS="$CFLAGS -arch x86_64" 4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5205 cat >conftest.$ac_ext <<_ACEOF 5206 /* confdefs.h. */ 5207 _ACEOF 5208 cat confdefs.h >>conftest.$ac_ext 5209 cat >>conftest.$ac_ext <<_ACEOF 4978 5210 /* end confdefs.h. */ 4979 5211 … … 4986 5218 } 4987 5219 _ACEOF 4988 if ac_fn_c_try_link "$LINENO"; then : 5220 rm -f conftest.$ac_objext conftest$ac_exeext 5221 if { (ac_try="$ac_link" 5222 case "(($ac_try" in 5223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5224 *) ac_try_echo=$ac_try;; 5225 esac 5226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5227 $as_echo "$ac_try_echo") >&5 5228 (eval "$ac_link") 2>conftest.er1 5229 ac_status=$? 5230 grep -v '^ *+' conftest.er1 >conftest.err 5231 rm -f conftest.er1 5232 cat conftest.err >&5 5233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5234 (exit $ac_status); } && { 5235 test -z "$ac_c_werror_flag" || 5236 test ! -s conftest.err 5237 } && test -s conftest$ac_exeext && { 5238 test "$cross_compiling" = yes || 5239 $as_test_x conftest$ac_exeext 5240 }; then 4989 5241 tcl_cv_cc_arch_x86_64=yes 4990 5242 else 4991 tcl_cv_cc_arch_x86_64=no 4992 fi 4993 rm -f core conftest.err conftest.$ac_objext \ 4994 conftest$ac_exeext conftest.$ac_ext 5243 $as_echo "$as_me: failed program was:" >&5 5244 sed 's/^/| /' conftest.$ac_ext >&5 5245 5246 tcl_cv_cc_arch_x86_64=no 5247 fi 5248 5249 rm -rf conftest.dSYM 5250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5251 conftest$ac_exeext conftest.$ac_ext 4995 5252 CFLAGS=$hold_cflags 4996 5253 fi 4997 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&55254 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5 4998 5255 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 4999 5256 if test $tcl_cv_cc_arch_x86_64 = yes; then … … 5002 5259 fi;; 5003 5260 *) 5004 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&55261 { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 5005 5262 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 5006 5263 esac … … 5012 5269 fi 5013 5270 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 5014 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&55271 { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5 5015 5272 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 5016 if ${tcl_cv_ld_single_module+:} false; then :5273 if test "${tcl_cv_ld_single_module+set}" = set; then 5017 5274 $as_echo_n "(cached) " >&6 5018 5275 else … … 5020 5277 hold_ldflags=$LDFLAGS 5021 5278 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 5022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5279 cat >conftest.$ac_ext <<_ACEOF 5280 /* confdefs.h. */ 5281 _ACEOF 5282 cat confdefs.h >>conftest.$ac_ext 5283 cat >>conftest.$ac_ext <<_ACEOF 5023 5284 /* end confdefs.h. */ 5024 5285 … … 5031 5292 } 5032 5293 _ACEOF 5033 if ac_fn_c_try_link "$LINENO"; then : 5294 rm -f conftest.$ac_objext conftest$ac_exeext 5295 if { (ac_try="$ac_link" 5296 case "(($ac_try" in 5297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5298 *) ac_try_echo=$ac_try;; 5299 esac 5300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5301 $as_echo "$ac_try_echo") >&5 5302 (eval "$ac_link") 2>conftest.er1 5303 ac_status=$? 5304 grep -v '^ *+' conftest.er1 >conftest.err 5305 rm -f conftest.er1 5306 cat conftest.err >&5 5307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5308 (exit $ac_status); } && { 5309 test -z "$ac_c_werror_flag" || 5310 test ! -s conftest.err 5311 } && test -s conftest$ac_exeext && { 5312 test "$cross_compiling" = yes || 5313 $as_test_x conftest$ac_exeext 5314 }; then 5034 5315 tcl_cv_ld_single_module=yes 5035 5316 else 5036 tcl_cv_ld_single_module=no 5037 fi 5038 rm -f core conftest.err conftest.$ac_objext \ 5039 conftest$ac_exeext conftest.$ac_ext 5317 $as_echo "$as_me: failed program was:" >&5 5318 sed 's/^/| /' conftest.$ac_ext >&5 5319 5320 tcl_cv_ld_single_module=no 5321 fi 5322 5323 rm -rf conftest.dSYM 5324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5325 conftest$ac_exeext conftest.$ac_ext 5040 5326 LDFLAGS=$hold_ldflags 5041 5327 fi 5042 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&55328 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5 5043 5329 $as_echo "$tcl_cv_ld_single_module" >&6; } 5044 5330 if test $tcl_cv_ld_single_module = yes; then … … 5054 5340 LDFLAGS="$LDFLAGS -prebind" 5055 5341 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 5056 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&55342 { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5 5057 5343 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 5058 if ${tcl_cv_ld_search_paths_first+:} false; then :5344 if test "${tcl_cv_ld_search_paths_first+set}" = set; then 5059 5345 $as_echo_n "(cached) " >&6 5060 5346 else … … 5062 5348 hold_ldflags=$LDFLAGS 5063 5349 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5350 cat >conftest.$ac_ext <<_ACEOF 5351 /* confdefs.h. */ 5352 _ACEOF 5353 cat confdefs.h >>conftest.$ac_ext 5354 cat >>conftest.$ac_ext <<_ACEOF 5065 5355 /* end confdefs.h. */ 5066 5356 … … 5073 5363 } 5074 5364 _ACEOF 5075 if ac_fn_c_try_link "$LINENO"; then : 5365 rm -f conftest.$ac_objext conftest$ac_exeext 5366 if { (ac_try="$ac_link" 5367 case "(($ac_try" in 5368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5369 *) ac_try_echo=$ac_try;; 5370 esac 5371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5372 $as_echo "$ac_try_echo") >&5 5373 (eval "$ac_link") 2>conftest.er1 5374 ac_status=$? 5375 grep -v '^ *+' conftest.er1 >conftest.err 5376 rm -f conftest.er1 5377 cat conftest.err >&5 5378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5379 (exit $ac_status); } && { 5380 test -z "$ac_c_werror_flag" || 5381 test ! -s conftest.err 5382 } && test -s conftest$ac_exeext && { 5383 test "$cross_compiling" = yes || 5384 $as_test_x conftest$ac_exeext 5385 }; then 5076 5386 tcl_cv_ld_search_paths_first=yes 5077 5387 else 5078 tcl_cv_ld_search_paths_first=no 5079 fi 5080 rm -f core conftest.err conftest.$ac_objext \ 5081 conftest$ac_exeext conftest.$ac_ext 5388 $as_echo "$as_me: failed program was:" >&5 5389 sed 's/^/| /' conftest.$ac_ext >&5 5390 5391 tcl_cv_ld_search_paths_first=no 5392 fi 5393 5394 rm -rf conftest.dSYM 5395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5396 conftest$ac_exeext conftest.$ac_ext 5082 5397 LDFLAGS=$hold_ldflags 5083 5398 fi 5084 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&55399 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5 5085 5400 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 5086 5401 if test $tcl_cv_ld_search_paths_first = yes; then … … 5092 5407 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 5093 5408 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 5094 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether to use CoreFoundation" >&55409 { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5 5095 5410 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 5096 5411 # Check whether --enable-corefoundation was given. 5097 if test "${enable_corefoundation+set}" = set; then :5412 if test "${enable_corefoundation+set}" = set; then 5098 5413 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 5099 5414 else … … 5101 5416 fi 5102 5417 5103 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_corefoundation" >&55418 { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5 5104 5419 $as_echo "$tcl_corefoundation" >&6; } 5105 5420 if test $tcl_corefoundation = yes; then 5106 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for CoreFoundation.framework" >&55421 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5 5107 5422 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 5108 if ${tcl_cv_lib_corefoundation+:} false; then :5423 if test "${tcl_cv_lib_corefoundation+set}" = set; then 5109 5424 $as_echo_n "(cached) " >&6 5110 5425 else … … 5118 5433 done; fi 5119 5434 LIBS="$LIBS -framework CoreFoundation" 5120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5435 cat >conftest.$ac_ext <<_ACEOF 5436 /* confdefs.h. */ 5437 _ACEOF 5438 cat confdefs.h >>conftest.$ac_ext 5439 cat >>conftest.$ac_ext <<_ACEOF 5121 5440 /* end confdefs.h. */ 5122 5441 #include <CoreFoundation/CoreFoundation.h> … … 5129 5448 } 5130 5449 _ACEOF 5131 if ac_fn_c_try_link "$LINENO"; then : 5450 rm -f conftest.$ac_objext conftest$ac_exeext 5451 if { (ac_try="$ac_link" 5452 case "(($ac_try" in 5453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5454 *) ac_try_echo=$ac_try;; 5455 esac 5456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5457 $as_echo "$ac_try_echo") >&5 5458 (eval "$ac_link") 2>conftest.er1 5459 ac_status=$? 5460 grep -v '^ *+' conftest.er1 >conftest.err 5461 rm -f conftest.er1 5462 cat conftest.err >&5 5463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5464 (exit $ac_status); } && { 5465 test -z "$ac_c_werror_flag" || 5466 test ! -s conftest.err 5467 } && test -s conftest$ac_exeext && { 5468 test "$cross_compiling" = yes || 5469 $as_test_x conftest$ac_exeext 5470 }; then 5132 5471 tcl_cv_lib_corefoundation=yes 5133 5472 else 5134 tcl_cv_lib_corefoundation=no 5135 fi 5136 rm -f core conftest.err conftest.$ac_objext \ 5137 conftest$ac_exeext conftest.$ac_ext 5473 $as_echo "$as_me: failed program was:" >&5 5474 sed 's/^/| /' conftest.$ac_ext >&5 5475 5476 tcl_cv_lib_corefoundation=no 5477 fi 5478 5479 rm -rf conftest.dSYM 5480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5481 conftest$ac_exeext conftest.$ac_ext 5138 5482 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 5139 5483 eval $v'="$hold_'$v'"' 5140 5484 done; fi; LIBS=$hold_libs 5141 5485 fi 5142 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&55486 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5 5143 5487 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 5144 5488 if test $tcl_cv_lib_corefoundation = yes; then 5145 5489 LIBS="$LIBS -framework CoreFoundation" 5146 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 5490 cat >>confdefs.h <<\_ACEOF 5491 #define HAVE_COREFOUNDATION 1 5492 _ACEOF 5147 5493 5148 5494 else … … 5150 5496 fi 5151 5497 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 5152 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&55498 { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5 5153 5499 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 5154 if ${tcl_cv_lib_corefoundation_64+:} false; then :5500 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then 5155 5501 $as_echo_n "(cached) " >&6 5156 5502 else … … 5159 5505 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 5160 5506 done 5161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5507 cat >conftest.$ac_ext <<_ACEOF 5508 /* confdefs.h. */ 5509 _ACEOF 5510 cat confdefs.h >>conftest.$ac_ext 5511 cat >>conftest.$ac_ext <<_ACEOF 5162 5512 /* end confdefs.h. */ 5163 5513 #include <CoreFoundation/CoreFoundation.h> … … 5170 5520 } 5171 5521 _ACEOF 5172 if ac_fn_c_try_link "$LINENO"; then : 5522 rm -f conftest.$ac_objext conftest$ac_exeext 5523 if { (ac_try="$ac_link" 5524 case "(($ac_try" in 5525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5526 *) ac_try_echo=$ac_try;; 5527 esac 5528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5529 $as_echo "$ac_try_echo") >&5 5530 (eval "$ac_link") 2>conftest.er1 5531 ac_status=$? 5532 grep -v '^ *+' conftest.er1 >conftest.err 5533 rm -f conftest.er1 5534 cat conftest.err >&5 5535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5536 (exit $ac_status); } && { 5537 test -z "$ac_c_werror_flag" || 5538 test ! -s conftest.err 5539 } && test -s conftest$ac_exeext && { 5540 test "$cross_compiling" = yes || 5541 $as_test_x conftest$ac_exeext 5542 }; then 5173 5543 tcl_cv_lib_corefoundation_64=yes 5174 5544 else 5175 tcl_cv_lib_corefoundation_64=no 5176 fi 5177 rm -f core conftest.err conftest.$ac_objext \ 5178 conftest$ac_exeext conftest.$ac_ext 5545 $as_echo "$as_me: failed program was:" >&5 5546 sed 's/^/| /' conftest.$ac_ext >&5 5547 5548 tcl_cv_lib_corefoundation_64=no 5549 fi 5550 5551 rm -rf conftest.dSYM 5552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5553 conftest$ac_exeext conftest.$ac_ext 5179 5554 for v in CFLAGS CPPFLAGS LDFLAGS; do 5180 5555 eval $v'="$hold_'$v'"' 5181 5556 done 5182 5557 fi 5183 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&55558 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5 5184 5559 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 5185 5560 if test $tcl_cv_lib_corefoundation_64 = no; then 5186 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 5561 cat >>confdefs.h <<\_ACEOF 5562 #define NO_COREFOUNDATION_64 1 5563 _ACEOF 5187 5564 5188 5565 fi 5189 5566 fi 5190 5567 fi 5191 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 5568 cat >>confdefs.h <<\_ACEOF 5569 #define MAC_OSX_TCL 1 5570 _ACEOF 5192 5571 5193 5572 ;; … … 5204 5583 OS/390-*) 5205 5584 CFLAGS_OPTIMIZE="" # Optimizer is buggy 5206 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 5585 cat >>confdefs.h <<\_ACEOF 5586 #define _OE_SOCKETS 1 5587 _ACEOF 5207 5588 # needed in sys/socket.h 5208 5589 ;; … … 5345 5726 # won't define thread-safe library routines. 5346 5727 5347 $as_echo "#define _REENTRANT 1" >>confdefs.h 5348 5349 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5728 cat >>confdefs.h <<\_ACEOF 5729 #define _REENTRANT 1 5730 _ACEOF 5731 5732 cat >>confdefs.h <<\_ACEOF 5733 #define _POSIX_PTHREAD_SEMANTICS 1 5734 _ACEOF 5350 5735 5351 5736 … … 5373 5758 # won't define thread-safe library routines. 5374 5759 5375 $as_echo "#define _REENTRANT 1" >>confdefs.h 5376 5377 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5760 cat >>confdefs.h <<\_ACEOF 5761 #define _REENTRANT 1 5762 _ACEOF 5763 5764 cat >>confdefs.h <<\_ACEOF 5765 #define _POSIX_PTHREAD_SEMANTICS 1 5766 _ACEOF 5378 5767 5379 5768 … … 5386 5775 if test "$GCC" = "yes" ; then 5387 5776 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 5388 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&55777 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 5389 5778 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 5390 5779 else … … 5408 5797 elif test "$arch" = "amd64 i386" ; then 5409 5798 if test "$GCC" = "yes" ; then 5410 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&55799 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 5411 5800 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 5412 5801 else … … 5416 5805 fi 5417 5806 else 5418 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&55807 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5 5419 5808 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 5420 5809 fi … … 5475 5864 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 5476 5865 # that don't grok the -Bexport option. Test that it does. 5477 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&55866 { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5 5478 5867 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 5479 if ${tcl_cv_ld_Bexport+:} false; then :5868 if test "${tcl_cv_ld_Bexport+set}" = set; then 5480 5869 $as_echo_n "(cached) " >&6 5481 5870 else … … 5483 5872 hold_ldflags=$LDFLAGS 5484 5873 LDFLAGS="$LDFLAGS -Wl,-Bexport" 5485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5874 cat >conftest.$ac_ext <<_ACEOF 5875 /* confdefs.h. */ 5876 _ACEOF 5877 cat confdefs.h >>conftest.$ac_ext 5878 cat >>conftest.$ac_ext <<_ACEOF 5486 5879 /* end confdefs.h. */ 5487 5880 … … 5494 5887 } 5495 5888 _ACEOF 5496 if ac_fn_c_try_link "$LINENO"; then : 5889 rm -f conftest.$ac_objext conftest$ac_exeext 5890 if { (ac_try="$ac_link" 5891 case "(($ac_try" in 5892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5893 *) ac_try_echo=$ac_try;; 5894 esac 5895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5896 $as_echo "$ac_try_echo") >&5 5897 (eval "$ac_link") 2>conftest.er1 5898 ac_status=$? 5899 grep -v '^ *+' conftest.er1 >conftest.err 5900 rm -f conftest.er1 5901 cat conftest.err >&5 5902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5903 (exit $ac_status); } && { 5904 test -z "$ac_c_werror_flag" || 5905 test ! -s conftest.err 5906 } && test -s conftest$ac_exeext && { 5907 test "$cross_compiling" = yes || 5908 $as_test_x conftest$ac_exeext 5909 }; then 5497 5910 tcl_cv_ld_Bexport=yes 5498 5911 else 5499 tcl_cv_ld_Bexport=no 5500 fi 5501 rm -f core conftest.err conftest.$ac_objext \ 5502 conftest$ac_exeext conftest.$ac_ext 5912 $as_echo "$as_me: failed program was:" >&5 5913 sed 's/^/| /' conftest.$ac_ext >&5 5914 5915 tcl_cv_ld_Bexport=no 5916 fi 5917 5918 rm -rf conftest.dSYM 5919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5920 conftest$ac_exeext conftest.$ac_ext 5503 5921 LDFLAGS=$hold_ldflags 5504 5922 fi 5505 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&55923 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5 5506 5924 $as_echo "$tcl_cv_ld_Bexport" >&6; } 5507 5925 if test $tcl_cv_ld_Bexport = yes; then … … 5514 5932 5515 5933 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 5516 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&55934 { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 5517 5935 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 5518 5936 fi … … 5541 5959 5542 5960 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 5543 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking sys/exec.h" >&55961 { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5 5544 5962 $as_echo_n "checking sys/exec.h... " >&6; } 5545 if ${tcl_cv_sysexec_h+:} false; then :5963 if test "${tcl_cv_sysexec_h+set}" = set; then 5546 5964 $as_echo_n "(cached) " >&6 5547 5965 else 5548 5966 5549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5967 cat >conftest.$ac_ext <<_ACEOF 5968 /* confdefs.h. */ 5969 _ACEOF 5970 cat confdefs.h >>conftest.$ac_ext 5971 cat >>conftest.$ac_ext <<_ACEOF 5550 5972 /* end confdefs.h. */ 5551 5973 #include <sys/exec.h> … … 5569 5991 } 5570 5992 _ACEOF 5571 if ac_fn_c_try_compile "$LINENO"; then : 5993 rm -f conftest.$ac_objext 5994 if { (ac_try="$ac_compile" 5995 case "(($ac_try" in 5996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5997 *) ac_try_echo=$ac_try;; 5998 esac 5999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6000 $as_echo "$ac_try_echo") >&5 6001 (eval "$ac_compile") 2>conftest.er1 6002 ac_status=$? 6003 grep -v '^ *+' conftest.er1 >conftest.err 6004 rm -f conftest.er1 6005 cat conftest.err >&5 6006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6007 (exit $ac_status); } && { 6008 test -z "$ac_c_werror_flag" || 6009 test ! -s conftest.err 6010 } && test -s conftest.$ac_objext; then 5572 6011 tcl_cv_sysexec_h=usable 5573 6012 else 5574 tcl_cv_sysexec_h=unusable 5575 fi 6013 $as_echo "$as_me: failed program was:" >&5 6014 sed 's/^/| /' conftest.$ac_ext >&5 6015 6016 tcl_cv_sysexec_h=unusable 6017 fi 6018 5576 6019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5577 6020 fi 5578 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&56021 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5 5579 6022 $as_echo "$tcl_cv_sysexec_h" >&6; } 5580 6023 if test $tcl_cv_sysexec_h = usable; then 5581 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 6024 cat >>confdefs.h <<\_ACEOF 6025 #define USE_SYS_EXEC_H 1 6026 _ACEOF 5582 6027 5583 6028 else 5584 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking a.out.h" >&56029 { $as_echo "$as_me:$LINENO: checking a.out.h" >&5 5585 6030 $as_echo_n "checking a.out.h... " >&6; } 5586 if ${tcl_cv_aout_h+:} false; then :6031 if test "${tcl_cv_aout_h+set}" = set; then 5587 6032 $as_echo_n "(cached) " >&6 5588 6033 else 5589 6034 5590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6035 cat >conftest.$ac_ext <<_ACEOF 6036 /* confdefs.h. */ 6037 _ACEOF 6038 cat confdefs.h >>conftest.$ac_ext 6039 cat >>conftest.$ac_ext <<_ACEOF 5591 6040 /* end confdefs.h. */ 5592 6041 #include <a.out.h> … … 5610 6059 } 5611 6060 _ACEOF 5612 if ac_fn_c_try_compile "$LINENO"; then : 6061 rm -f conftest.$ac_objext 6062 if { (ac_try="$ac_compile" 6063 case "(($ac_try" in 6064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6065 *) ac_try_echo=$ac_try;; 6066 esac 6067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6068 $as_echo "$ac_try_echo") >&5 6069 (eval "$ac_compile") 2>conftest.er1 6070 ac_status=$? 6071 grep -v '^ *+' conftest.er1 >conftest.err 6072 rm -f conftest.er1 6073 cat conftest.err >&5 6074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6075 (exit $ac_status); } && { 6076 test -z "$ac_c_werror_flag" || 6077 test ! -s conftest.err 6078 } && test -s conftest.$ac_objext; then 5613 6079 tcl_cv_aout_h=usable 5614 6080 else 5615 tcl_cv_aout_h=unusable 5616 fi 6081 $as_echo "$as_me: failed program was:" >&5 6082 sed 's/^/| /' conftest.$ac_ext >&5 6083 6084 tcl_cv_aout_h=unusable 6085 fi 6086 5617 6087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5618 6088 fi 5619 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&56089 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5 5620 6090 $as_echo "$tcl_cv_aout_h" >&6; } 5621 6091 if test $tcl_cv_aout_h = usable; then 5622 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 6092 cat >>confdefs.h <<\_ACEOF 6093 #define USE_A_OUT_H 1 6094 _ACEOF 5623 6095 5624 6096 else 5625 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking sys/exec_aout.h" >&56097 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 5626 6098 $as_echo_n "checking sys/exec_aout.h... " >&6; } 5627 if ${tcl_cv_sysexecaout_h+:} false; then :6099 if test "${tcl_cv_sysexecaout_h+set}" = set; then 5628 6100 $as_echo_n "(cached) " >&6 5629 6101 else 5630 6102 5631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6103 cat >conftest.$ac_ext <<_ACEOF 6104 /* confdefs.h. */ 6105 _ACEOF 6106 cat confdefs.h >>conftest.$ac_ext 6107 cat >>conftest.$ac_ext <<_ACEOF 5632 6108 /* end confdefs.h. */ 5633 6109 #include <sys/exec_aout.h> … … 5651 6127 } 5652 6128 _ACEOF 5653 if ac_fn_c_try_compile "$LINENO"; then : 6129 rm -f conftest.$ac_objext 6130 if { (ac_try="$ac_compile" 6131 case "(($ac_try" in 6132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6133 *) ac_try_echo=$ac_try;; 6134 esac 6135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6136 $as_echo "$ac_try_echo") >&5 6137 (eval "$ac_compile") 2>conftest.er1 6138 ac_status=$? 6139 grep -v '^ *+' conftest.er1 >conftest.err 6140 rm -f conftest.er1 6141 cat conftest.err >&5 6142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6143 (exit $ac_status); } && { 6144 test -z "$ac_c_werror_flag" || 6145 test ! -s conftest.err 6146 } && test -s conftest.$ac_objext; then 5654 6147 tcl_cv_sysexecaout_h=usable 5655 6148 else 5656 tcl_cv_sysexecaout_h=unusable 5657 fi 6149 $as_echo "$as_me: failed program was:" >&5 6150 sed 's/^/| /' conftest.$ac_ext >&5 6151 6152 tcl_cv_sysexecaout_h=unusable 6153 fi 6154 5658 6155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5659 6156 fi 5660 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&56157 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5 5661 6158 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 5662 6159 if test $tcl_cv_sysexecaout_h = usable; then 5663 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 6160 cat >>confdefs.h <<\_ACEOF 6161 #define USE_SYS_EXEC_AOUT_H 1 6162 _ACEOF 5664 6163 5665 6164 else … … 5673 6172 5674 6173 # Check whether --enable-load was given. 5675 if test "${enable_load+set}" = set; then :6174 if test "${enable_load+set}" = set; then 5676 6175 enableval=$enable_load; tcl_ok=$enableval 5677 6176 else … … 5796 6295 5797 6296 5798 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for X" >&56297 { $as_echo "$as_me:$LINENO: checking for X" >&5 5799 6298 $as_echo_n "checking for X... " >&6; } 5800 6299 5801 6300 5802 6301 # Check whether --with-x was given. 5803 if test "${with_x+set}" = set; then :6302 if test "${with_x+set}" = set; then 5804 6303 withval=$with_x; 5805 6304 fi … … 5811 6310 else 5812 6311 case $x_includes,$x_libraries in #( 5813 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 5814 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 6312 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5 6313 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;} 6314 { (exit 1); exit 1; }; };; #( 6315 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 5815 6316 $as_echo_n "(cached) " >&6 5816 6317 else … … 5829 6330 _ACEOF 5830 6331 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 5831 # GNU make sometimes prints "make[1]: Entering 6332 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 5832 6333 for ac_var in incroot usrlibdir libdir; do 5833 6334 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" … … 5860 6361 ac_x_header_dirs=' 5861 6362 /usr/X11/include 5862 /usr/X11R7/include5863 6363 /usr/X11R6/include 5864 6364 /usr/X11R5/include … … 5866 6366 5867 6367 /usr/include/X11 5868 /usr/include/X11R75869 6368 /usr/include/X11R6 5870 6369 /usr/include/X11R5 … … 5872 6371 5873 6372 /usr/local/X11/include 5874 /usr/local/X11R7/include5875 6373 /usr/local/X11R6/include 5876 6374 /usr/local/X11R5/include … … 5878 6376 5879 6377 /usr/local/include/X11 5880 /usr/local/include/X11R75881 6378 /usr/local/include/X11R6 5882 6379 /usr/local/include/X11R5 … … 5900 6397 # Guess where to find include files, by looking for Xlib.h. 5901 6398 # First, try using that file with no special directory specified. 5902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6399 cat >conftest.$ac_ext <<_ACEOF 6400 /* confdefs.h. */ 6401 _ACEOF 6402 cat confdefs.h >>conftest.$ac_ext 6403 cat >>conftest.$ac_ext <<_ACEOF 5903 6404 /* end confdefs.h. */ 5904 6405 #include <X11/Xlib.h> 5905 6406 _ACEOF 5906 if ac_fn_c_try_cpp "$LINENO"; then : 6407 if { (ac_try="$ac_cpp conftest.$ac_ext" 6408 case "(($ac_try" in 6409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6410 *) ac_try_echo=$ac_try;; 6411 esac 6412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6413 $as_echo "$ac_try_echo") >&5 6414 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6415 ac_status=$? 6416 grep -v '^ *+' conftest.er1 >conftest.err 6417 rm -f conftest.er1 6418 cat conftest.err >&5 6419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6420 (exit $ac_status); } >/dev/null && { 6421 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6422 test ! -s conftest.err 6423 }; then 5907 6424 # We can compile using X headers with no special include directory. 5908 6425 ac_x_includes= 5909 6426 else 6427 $as_echo "$as_me: failed program was:" >&5 6428 sed 's/^/| /' conftest.$ac_ext >&5 6429 5910 6430 for ac_dir in $ac_x_header_dirs; do 5911 6431 if test -r "$ac_dir/X11/Xlib.h"; then … … 5915 6435 done 5916 6436 fi 5917 rm -f conftest.err conftest.i conftest.$ac_ext 6437 6438 rm -f conftest.err conftest.$ac_ext 5918 6439 fi # $ac_x_includes = no 5919 6440 … … 5924 6445 ac_save_LIBS=$LIBS 5925 6446 LIBS="-lX11 $LIBS" 5926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6447 cat >conftest.$ac_ext <<_ACEOF 6448 /* confdefs.h. */ 6449 _ACEOF 6450 cat confdefs.h >>conftest.$ac_ext 6451 cat >>conftest.$ac_ext <<_ACEOF 5927 6452 /* end confdefs.h. */ 5928 6453 #include <X11/Xlib.h> … … 5935 6460 } 5936 6461 _ACEOF 5937 if ac_fn_c_try_link "$LINENO"; then : 6462 rm -f conftest.$ac_objext conftest$ac_exeext 6463 if { (ac_try="$ac_link" 6464 case "(($ac_try" in 6465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6466 *) ac_try_echo=$ac_try;; 6467 esac 6468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6469 $as_echo "$ac_try_echo") >&5 6470 (eval "$ac_link") 2>conftest.er1 6471 ac_status=$? 6472 grep -v '^ *+' conftest.er1 >conftest.err 6473 rm -f conftest.er1 6474 cat conftest.err >&5 6475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6476 (exit $ac_status); } && { 6477 test -z "$ac_c_werror_flag" || 6478 test ! -s conftest.err 6479 } && test -s conftest$ac_exeext && { 6480 test "$cross_compiling" = yes || 6481 $as_test_x conftest$ac_exeext 6482 }; then 5938 6483 LIBS=$ac_save_LIBS 5939 6484 # We can link X programs with no special library path. 5940 6485 ac_x_libraries= 5941 6486 else 5942 LIBS=$ac_save_LIBS 6487 $as_echo "$as_me: failed program was:" >&5 6488 sed 's/^/| /' conftest.$ac_ext >&5 6489 6490 LIBS=$ac_save_LIBS 5943 6491 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 5944 6492 do … … 5952 6500 done 5953 6501 fi 5954 rm -f core conftest.err conftest.$ac_objext \ 5955 conftest$ac_exeext conftest.$ac_ext 6502 6503 rm -rf conftest.dSYM 6504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6505 conftest$ac_exeext conftest.$ac_ext 5956 6506 fi # $ac_x_libraries = no 5957 6507 … … 5974 6524 5975 6525 if test "$have_x" != yes; then 5976 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $have_x" >&56526 { $as_echo "$as_me:$LINENO: result: $have_x" >&5 5977 6527 $as_echo "$have_x" >&6; } 5978 6528 no_x=yes … … 5985 6535 ac_x_includes='$x_includes'\ 5986 6536 ac_x_libraries='$x_libraries'" 5987 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&56537 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 5988 6538 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } 5989 6539 fi … … 6007 6557 done 6008 6558 if test -z "$ac_aux_dir"; then 6009 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 6559 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 6560 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 6561 { (exit 1); exit 1; }; } 6010 6562 fi 6011 6563 … … 6033 6585 # ./install, which can be erroneously created by make from ./install.sh. 6034 6586 # Reject install programs that cannot install multiple files. 6035 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a BSD-compatible install" >&56587 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6036 6588 $as_echo_n "checking for a BSD-compatible install... " >&6; } 6037 6589 if test -z "$INSTALL"; then 6038 if ${ac_cv_path_install+:} false; then :6590 if test "${ac_cv_path_install+set}" = set; then 6039 6591 $as_echo_n "(cached) " >&6 6040 6592 else … … 6044 6596 IFS=$as_save_IFS 6045 6597 test -z "$as_dir" && as_dir=. 6046 6047 case $as_dir/ in #((6048 ./ | .// | / [cC]/* | \6598 # Account for people who put trailing slashes in PATH elements. 6599 case $as_dir/ in 6600 ./ | .// | /cC/* | \ 6049 6601 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6050 ?: [\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \6602 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 6051 6603 /usr/ucb/* ) ;; 6052 6604 *) … … 6085 6637 esac 6086 6638 6087 6639 done 6088 6640 IFS=$as_save_IFS 6089 6641 … … 6101 6653 fi 6102 6654 fi 6103 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $INSTALL" >&56655 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 6104 6656 $as_echo "$INSTALL" >&6; } 6105 6657 … … 6115 6667 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6116 6668 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6117 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56669 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6118 6670 $as_echo_n "checking for $ac_word... " >&6; } 6119 if ${ac_cv_prog_RANLIB+:} false; then :6671 if test "${ac_cv_prog_RANLIB+set}" = set; then 6120 6672 $as_echo_n "(cached) " >&6 6121 6673 else … … 6128 6680 IFS=$as_save_IFS 6129 6681 test -z "$as_dir" && as_dir=. 6130 6682 for ac_exec_ext in '' $ac_executable_extensions; do 6131 6683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6132 6684 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6133 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56685 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6134 6686 break 2 6135 6687 fi 6136 6688 done 6137 6689 done 6138 6690 IFS=$as_save_IFS 6139 6691 … … 6142 6694 RANLIB=$ac_cv_prog_RANLIB 6143 6695 if test -n "$RANLIB"; then 6144 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&56696 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 6145 6697 $as_echo "$RANLIB" >&6; } 6146 6698 else 6147 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&56699 { $as_echo "$as_me:$LINENO: result: no" >&5 6148 6700 $as_echo "no" >&6; } 6149 6701 fi … … 6155 6707 # Extract the first word of "ranlib", so it can be a program name with args. 6156 6708 set dummy ranlib; ac_word=$2 6157 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56709 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6158 6710 $as_echo_n "checking for $ac_word... " >&6; } 6159 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :6711 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 6160 6712 $as_echo_n "(cached) " >&6 6161 6713 else … … 6168 6720 IFS=$as_save_IFS 6169 6721 test -z "$as_dir" && as_dir=. 6170 6722 for ac_exec_ext in '' $ac_executable_extensions; do 6171 6723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6172 6724 ac_cv_prog_ac_ct_RANLIB="ranlib" 6173 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56725 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6174 6726 break 2 6175 6727 fi 6176 6728 done 6177 6729 done 6178 6730 IFS=$as_save_IFS 6179 6731 … … 6182 6734 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6183 6735 if test -n "$ac_ct_RANLIB"; then 6184 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&56736 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 6185 6737 $as_echo "$ac_ct_RANLIB" >&6; } 6186 6738 else 6187 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&56739 { $as_echo "$as_me:$LINENO: result: no" >&5 6188 6740 $as_echo "no" >&6; } 6189 6741 fi … … 6194 6746 case $cross_compiling:$ac_tool_warned in 6195 6747 yes:) 6196 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&56748 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6197 6749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6198 6750 ac_tool_warned=yes ;; … … 6204 6756 fi 6205 6757 6206 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether ln -s works" >&56758 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 6207 6759 $as_echo_n "checking whether ln -s works... " >&6; } 6208 6760 LN_S=$as_ln_s 6209 6761 if test "$LN_S" = "ln -s"; then 6210 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&56762 { $as_echo "$as_me:$LINENO: result: yes" >&5 6211 6763 $as_echo "yes" >&6; } 6212 6764 else 6213 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no, using $LN_S" >&56765 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 6214 6766 $as_echo "no, using $LN_S" >&6; } 6215 6767 fi 6216 6768 6217 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&56769 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 6218 6770 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 6219 6771 if test -z "$MKDIR_P"; then 6220 if ${ac_cv_path_mkdir+:} false; then :6772 if test "${ac_cv_path_mkdir+set}" = set; then 6221 6773 $as_echo_n "(cached) " >&6 6222 6774 else … … 6226 6778 IFS=$as_save_IFS 6227 6779 test -z "$as_dir" && as_dir=. 6228 6780 for ac_prog in mkdir gmkdir; do 6229 6781 for ac_exec_ext in '' $ac_executable_extensions; do 6230 6782 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 6238 6790 done 6239 6791 done 6240 6792 done 6241 6793 IFS=$as_save_IFS 6242 6794 6243 6795 fi 6244 6796 6245 test -d ./--version && rmdir ./--version6246 6797 if test "${ac_cv_path_mkdir+set}" = set; then 6247 6798 MKDIR_P="$ac_cv_path_mkdir -p" … … 6251 6802 # break other packages using the cache if that directory is 6252 6803 # removed, or if the value is a relative name. 6804 test -d ./--version && rmdir ./--version 6253 6805 MKDIR_P="$ac_install_sh -d" 6254 6806 fi 6255 6807 fi 6256 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $MKDIR_P" >&56808 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 6257 6809 $as_echo "$MKDIR_P" >&6; } 6258 6810 … … 6266 6818 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 6267 6819 set dummy ${ac_tool_prefix}gcc; ac_word=$2 6268 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56820 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6269 6821 $as_echo_n "checking for $ac_word... " >&6; } 6270 if ${ac_cv_prog_CC+:} false; then :6822 if test "${ac_cv_prog_CC+set}" = set; then 6271 6823 $as_echo_n "(cached) " >&6 6272 6824 else … … 6279 6831 IFS=$as_save_IFS 6280 6832 test -z "$as_dir" && as_dir=. 6281 6833 for ac_exec_ext in '' $ac_executable_extensions; do 6282 6834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6283 6835 ac_cv_prog_CC="${ac_tool_prefix}gcc" 6284 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56836 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6285 6837 break 2 6286 6838 fi 6287 6839 done 6288 6840 done 6289 6841 IFS=$as_save_IFS 6290 6842 … … 6293 6845 CC=$ac_cv_prog_CC 6294 6846 if test -n "$CC"; then 6295 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&56847 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6296 6848 $as_echo "$CC" >&6; } 6297 6849 else 6298 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&56850 { $as_echo "$as_me:$LINENO: result: no" >&5 6299 6851 $as_echo "no" >&6; } 6300 6852 fi … … 6306 6858 # Extract the first word of "gcc", so it can be a program name with args. 6307 6859 set dummy gcc; ac_word=$2 6308 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56860 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6309 6861 $as_echo_n "checking for $ac_word... " >&6; } 6310 if ${ac_cv_prog_ac_ct_CC+:} false; then :6862 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6311 6863 $as_echo_n "(cached) " >&6 6312 6864 else … … 6319 6871 IFS=$as_save_IFS 6320 6872 test -z "$as_dir" && as_dir=. 6321 6873 for ac_exec_ext in '' $ac_executable_extensions; do 6322 6874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6323 6875 ac_cv_prog_ac_ct_CC="gcc" 6324 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56876 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6325 6877 break 2 6326 6878 fi 6327 6879 done 6328 6880 done 6329 6881 IFS=$as_save_IFS 6330 6882 … … 6333 6885 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6334 6886 if test -n "$ac_ct_CC"; then 6335 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&56887 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 6336 6888 $as_echo "$ac_ct_CC" >&6; } 6337 6889 else 6338 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&56890 { $as_echo "$as_me:$LINENO: result: no" >&5 6339 6891 $as_echo "no" >&6; } 6340 6892 fi … … 6345 6897 case $cross_compiling:$ac_tool_warned in 6346 6898 yes:) 6347 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&56899 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6348 6900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6349 6901 ac_tool_warned=yes ;; … … 6359 6911 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 6360 6912 set dummy ${ac_tool_prefix}cc; ac_word=$2 6361 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56913 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6362 6914 $as_echo_n "checking for $ac_word... " >&6; } 6363 if ${ac_cv_prog_CC+:} false; then :6915 if test "${ac_cv_prog_CC+set}" = set; then 6364 6916 $as_echo_n "(cached) " >&6 6365 6917 else … … 6372 6924 IFS=$as_save_IFS 6373 6925 test -z "$as_dir" && as_dir=. 6374 6926 for ac_exec_ext in '' $ac_executable_extensions; do 6375 6927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6376 6928 ac_cv_prog_CC="${ac_tool_prefix}cc" 6377 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56929 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6378 6930 break 2 6379 6931 fi 6380 6932 done 6381 6933 done 6382 6934 IFS=$as_save_IFS 6383 6935 … … 6386 6938 CC=$ac_cv_prog_CC 6387 6939 if test -n "$CC"; then 6388 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&56940 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6389 6941 $as_echo "$CC" >&6; } 6390 6942 else 6391 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&56943 { $as_echo "$as_me:$LINENO: result: no" >&5 6392 6944 $as_echo "no" >&6; } 6393 6945 fi … … 6399 6951 # Extract the first word of "cc", so it can be a program name with args. 6400 6952 set dummy cc; ac_word=$2 6401 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56953 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6402 6954 $as_echo_n "checking for $ac_word... " >&6; } 6403 if ${ac_cv_prog_CC+:} false; then :6955 if test "${ac_cv_prog_CC+set}" = set; then 6404 6956 $as_echo_n "(cached) " >&6 6405 6957 else … … 6413 6965 IFS=$as_save_IFS 6414 6966 test -z "$as_dir" && as_dir=. 6415 6967 for ac_exec_ext in '' $ac_executable_extensions; do 6416 6968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6417 6969 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 6420 6972 fi 6421 6973 ac_cv_prog_CC="cc" 6422 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56974 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6423 6975 break 2 6424 6976 fi 6425 6977 done 6426 6978 done 6427 6979 IFS=$as_save_IFS 6428 6980 … … 6443 6995 CC=$ac_cv_prog_CC 6444 6996 if test -n "$CC"; then 6445 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&56997 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6446 6998 $as_echo "$CC" >&6; } 6447 6999 else 6448 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57000 { $as_echo "$as_me:$LINENO: result: no" >&5 6449 7001 $as_echo "no" >&6; } 6450 7002 fi … … 6458 7010 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6459 7011 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6460 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57012 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6461 7013 $as_echo_n "checking for $ac_word... " >&6; } 6462 if ${ac_cv_prog_CC+:} false; then :7014 if test "${ac_cv_prog_CC+set}" = set; then 6463 7015 $as_echo_n "(cached) " >&6 6464 7016 else … … 6471 7023 IFS=$as_save_IFS 6472 7024 test -z "$as_dir" && as_dir=. 6473 7025 for ac_exec_ext in '' $ac_executable_extensions; do 6474 7026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6475 7027 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 6476 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57028 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6477 7029 break 2 6478 7030 fi 6479 7031 done 6480 7032 done 6481 7033 IFS=$as_save_IFS 6482 7034 … … 6485 7037 CC=$ac_cv_prog_CC 6486 7038 if test -n "$CC"; then 6487 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&57039 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6488 7040 $as_echo "$CC" >&6; } 6489 7041 else 6490 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57042 { $as_echo "$as_me:$LINENO: result: no" >&5 6491 7043 $as_echo "no" >&6; } 6492 7044 fi … … 6502 7054 # Extract the first word of "$ac_prog", so it can be a program name with args. 6503 7055 set dummy $ac_prog; ac_word=$2 6504 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57056 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6505 7057 $as_echo_n "checking for $ac_word... " >&6; } 6506 if ${ac_cv_prog_ac_ct_CC+:} false; then :7058 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6507 7059 $as_echo_n "(cached) " >&6 6508 7060 else … … 6515 7067 IFS=$as_save_IFS 6516 7068 test -z "$as_dir" && as_dir=. 6517 7069 for ac_exec_ext in '' $ac_executable_extensions; do 6518 7070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6519 7071 ac_cv_prog_ac_ct_CC="$ac_prog" 6520 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57072 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6521 7073 break 2 6522 7074 fi 6523 7075 done 6524 7076 done 6525 7077 IFS=$as_save_IFS 6526 7078 … … 6529 7081 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6530 7082 if test -n "$ac_ct_CC"; then 6531 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&57083 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 6532 7084 $as_echo "$ac_ct_CC" >&6; } 6533 7085 else 6534 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57086 { $as_echo "$as_me:$LINENO: result: no" >&5 6535 7087 $as_echo "no" >&6; } 6536 7088 fi … … 6545 7097 case $cross_compiling:$ac_tool_warned in 6546 7098 yes:) 6547 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57099 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6548 7100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6549 7101 ac_tool_warned=yes ;; … … 6556 7108 6557 7109 6558 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&57110 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 6559 7111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6560 as_fn_error $? "no acceptable C compiler found in \$PATH 6561 See \`config.log' for more details" "$LINENO" 5; } 7112 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 7113 See \`config.log' for more details." >&5 7114 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 7115 See \`config.log' for more details." >&2;} 7116 { (exit 1); exit 1; }; }; } 6562 7117 6563 7118 # Provide some information about the compiler. 6564 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&57119 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 6565 7120 set X $ac_compile 6566 7121 ac_compiler=$2 6567 for ac_option in --version -v -V -qversion; do 6568 { { ac_try="$ac_compiler $ac_option >&5" 7122 { (ac_try="$ac_compiler --version >&5" 6569 7123 case "(($ac_try" in 6570 7124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6571 7125 *) ac_try_echo=$ac_try;; 6572 7126 esac 6573 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""6574 $as_echo "$ac_try_echo" ; }>&56575 (eval "$ac_compiler $ac_option >&5") 2>conftest.err7127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7128 $as_echo "$ac_try_echo") >&5 7129 (eval "$ac_compiler --version >&5") 2>&5 6576 7130 ac_status=$? 6577 if test -s conftest.err; then 6578 sed '10a\ 6579 ... rest of stderr output deleted ... 6580 10q' conftest.err >conftest.er1 6581 cat conftest.er1 >&5 6582 fi 6583 rm -f conftest.er1 conftest.err 6584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6585 test $ac_status = 0; } 6586 done 6587 6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 7131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7132 (exit $ac_status); } 7133 { (ac_try="$ac_compiler -v >&5" 7134 case "(($ac_try" in 7135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7136 *) ac_try_echo=$ac_try;; 7137 esac 7138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7139 $as_echo "$ac_try_echo") >&5 7140 (eval "$ac_compiler -v >&5") 2>&5 7141 ac_status=$? 7142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7143 (exit $ac_status); } 7144 { (ac_try="$ac_compiler -V >&5" 7145 case "(($ac_try" in 7146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7147 *) ac_try_echo=$ac_try;; 7148 esac 7149 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7150 $as_echo "$ac_try_echo") >&5 7151 (eval "$ac_compiler -V >&5") 2>&5 7152 ac_status=$? 7153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7154 (exit $ac_status); } 7155 7156 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 6589 7157 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 6590 if ${ac_cv_c_compiler_gnu+:} false; then :7158 if test "${ac_cv_c_compiler_gnu+set}" = set; then 6591 7159 $as_echo_n "(cached) " >&6 6592 7160 else 6593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7161 cat >conftest.$ac_ext <<_ACEOF 7162 /* confdefs.h. */ 7163 _ACEOF 7164 cat confdefs.h >>conftest.$ac_ext 7165 cat >>conftest.$ac_ext <<_ACEOF 6594 7166 /* end confdefs.h. */ 6595 7167 … … 6605 7177 } 6606 7178 _ACEOF 6607 if ac_fn_c_try_compile "$LINENO"; then : 7179 rm -f conftest.$ac_objext 7180 if { (ac_try="$ac_compile" 7181 case "(($ac_try" in 7182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7183 *) ac_try_echo=$ac_try;; 7184 esac 7185 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7186 $as_echo "$ac_try_echo") >&5 7187 (eval "$ac_compile") 2>conftest.er1 7188 ac_status=$? 7189 grep -v '^ *+' conftest.er1 >conftest.err 7190 rm -f conftest.er1 7191 cat conftest.err >&5 7192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7193 (exit $ac_status); } && { 7194 test -z "$ac_c_werror_flag" || 7195 test ! -s conftest.err 7196 } && test -s conftest.$ac_objext; then 6608 7197 ac_compiler_gnu=yes 6609 7198 else 6610 ac_compiler_gnu=no 6611 fi 7199 $as_echo "$as_me: failed program was:" >&5 7200 sed 's/^/| /' conftest.$ac_ext >&5 7201 7202 ac_compiler_gnu=no 7203 fi 7204 6612 7205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6613 7206 ac_cv_c_compiler_gnu=$ac_compiler_gnu 6614 7207 6615 7208 fi 6616 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&57209 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 6617 7210 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 6618 7211 if test $ac_compiler_gnu = yes; then … … 6623 7216 ac_test_CFLAGS=${CFLAGS+set} 6624 7217 ac_save_CFLAGS=$CFLAGS 6625 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&57218 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 6626 7219 $as_echo_n "checking whether $CC accepts -g... " >&6; } 6627 if ${ac_cv_prog_cc_g+:} false; then :7220 if test "${ac_cv_prog_cc_g+set}" = set; then 6628 7221 $as_echo_n "(cached) " >&6 6629 7222 else … … 6632 7225 ac_cv_prog_cc_g=no 6633 7226 CFLAGS="-g" 6634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7227 cat >conftest.$ac_ext <<_ACEOF 7228 /* confdefs.h. */ 7229 _ACEOF 7230 cat confdefs.h >>conftest.$ac_ext 7231 cat >>conftest.$ac_ext <<_ACEOF 6635 7232 /* end confdefs.h. */ 6636 7233 … … 6643 7240 } 6644 7241 _ACEOF 6645 if ac_fn_c_try_compile "$LINENO"; then : 7242 rm -f conftest.$ac_objext 7243 if { (ac_try="$ac_compile" 7244 case "(($ac_try" in 7245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7246 *) ac_try_echo=$ac_try;; 7247 esac 7248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7249 $as_echo "$ac_try_echo") >&5 7250 (eval "$ac_compile") 2>conftest.er1 7251 ac_status=$? 7252 grep -v '^ *+' conftest.er1 >conftest.err 7253 rm -f conftest.er1 7254 cat conftest.err >&5 7255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7256 (exit $ac_status); } && { 7257 test -z "$ac_c_werror_flag" || 7258 test ! -s conftest.err 7259 } && test -s conftest.$ac_objext; then 6646 7260 ac_cv_prog_cc_g=yes 6647 7261 else 6648 CFLAGS="" 6649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7262 $as_echo "$as_me: failed program was:" >&5 7263 sed 's/^/| /' conftest.$ac_ext >&5 7264 7265 CFLAGS="" 7266 cat >conftest.$ac_ext <<_ACEOF 7267 /* confdefs.h. */ 7268 _ACEOF 7269 cat confdefs.h >>conftest.$ac_ext 7270 cat >>conftest.$ac_ext <<_ACEOF 6650 7271 /* end confdefs.h. */ 6651 7272 … … 6658 7279 } 6659 7280 _ACEOF 6660 if ac_fn_c_try_compile "$LINENO"; then : 6661 6662 else 6663 ac_c_werror_flag=$ac_save_c_werror_flag 7281 rm -f conftest.$ac_objext 7282 if { (ac_try="$ac_compile" 7283 case "(($ac_try" in 7284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7285 *) ac_try_echo=$ac_try;; 7286 esac 7287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7288 $as_echo "$ac_try_echo") >&5 7289 (eval "$ac_compile") 2>conftest.er1 7290 ac_status=$? 7291 grep -v '^ *+' conftest.er1 >conftest.err 7292 rm -f conftest.er1 7293 cat conftest.err >&5 7294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7295 (exit $ac_status); } && { 7296 test -z "$ac_c_werror_flag" || 7297 test ! -s conftest.err 7298 } && test -s conftest.$ac_objext; then 7299 : 7300 else 7301 $as_echo "$as_me: failed program was:" >&5 7302 sed 's/^/| /' conftest.$ac_ext >&5 7303 7304 ac_c_werror_flag=$ac_save_c_werror_flag 6664 7305 CFLAGS="-g" 6665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7306 cat >conftest.$ac_ext <<_ACEOF 7307 /* confdefs.h. */ 7308 _ACEOF 7309 cat confdefs.h >>conftest.$ac_ext 7310 cat >>conftest.$ac_ext <<_ACEOF 6666 7311 /* end confdefs.h. */ 6667 7312 … … 6674 7319 } 6675 7320 _ACEOF 6676 if ac_fn_c_try_compile "$LINENO"; then : 7321 rm -f conftest.$ac_objext 7322 if { (ac_try="$ac_compile" 7323 case "(($ac_try" in 7324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7325 *) ac_try_echo=$ac_try;; 7326 esac 7327 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7328 $as_echo "$ac_try_echo") >&5 7329 (eval "$ac_compile") 2>conftest.er1 7330 ac_status=$? 7331 grep -v '^ *+' conftest.er1 >conftest.err 7332 rm -f conftest.er1 7333 cat conftest.err >&5 7334 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7335 (exit $ac_status); } && { 7336 test -z "$ac_c_werror_flag" || 7337 test ! -s conftest.err 7338 } && test -s conftest.$ac_objext; then 6677 7339 ac_cv_prog_cc_g=yes 6678 fi 7340 else 7341 $as_echo "$as_me: failed program was:" >&5 7342 sed 's/^/| /' conftest.$ac_ext >&5 7343 7344 7345 fi 7346 6679 7347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6680 7348 fi 7349 6681 7350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6682 7351 fi 7352 6683 7353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6684 7354 ac_c_werror_flag=$ac_save_c_werror_flag 6685 7355 fi 6686 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&57356 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 6687 7357 $as_echo "$ac_cv_prog_cc_g" >&6; } 6688 7358 if test "$ac_test_CFLAGS" = set; then … … 6701 7371 fi 6702 7372 fi 6703 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&57373 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 6704 7374 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 6705 if ${ac_cv_prog_cc_c89+:} false; then :7375 if test "${ac_cv_prog_cc_c89+set}" = set; then 6706 7376 $as_echo_n "(cached) " >&6 6707 7377 else 6708 7378 ac_cv_prog_cc_c89=no 6709 7379 ac_save_CC=$CC 6710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7380 cat >conftest.$ac_ext <<_ACEOF 7381 /* confdefs.h. */ 7382 _ACEOF 7383 cat confdefs.h >>conftest.$ac_ext 7384 cat >>conftest.$ac_ext <<_ACEOF 6711 7385 /* end confdefs.h. */ 6712 7386 #include <stdarg.h> … … 6765 7439 do 6766 7440 CC="$ac_save_CC $ac_arg" 6767 if ac_fn_c_try_compile "$LINENO"; then : 7441 rm -f conftest.$ac_objext 7442 if { (ac_try="$ac_compile" 7443 case "(($ac_try" in 7444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7445 *) ac_try_echo=$ac_try;; 7446 esac 7447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7448 $as_echo "$ac_try_echo") >&5 7449 (eval "$ac_compile") 2>conftest.er1 7450 ac_status=$? 7451 grep -v '^ *+' conftest.er1 >conftest.err 7452 rm -f conftest.er1 7453 cat conftest.err >&5 7454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7455 (exit $ac_status); } && { 7456 test -z "$ac_c_werror_flag" || 7457 test ! -s conftest.err 7458 } && test -s conftest.$ac_objext; then 6768 7459 ac_cv_prog_cc_c89=$ac_arg 6769 fi 7460 else 7461 $as_echo "$as_me: failed program was:" >&5 7462 sed 's/^/| /' conftest.$ac_ext >&5 7463 7464 7465 fi 7466 6770 7467 rm -f core conftest.err conftest.$ac_objext 6771 7468 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 6778 7475 case "x$ac_cv_prog_cc_c89" in 6779 7476 x) 6780 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&57477 { $as_echo "$as_me:$LINENO: result: none needed" >&5 6781 7478 $as_echo "none needed" >&6; } ;; 6782 7479 xno) 6783 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&57480 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 6784 7481 $as_echo "unsupported" >&6; } ;; 6785 7482 *) 6786 7483 CC="$CC $ac_cv_prog_cc_c89" 6787 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&57484 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 6788 7485 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 6789 7486 esac 6790 if test "x$ac_cv_prog_cc_c89" != xno; then : 6791 6792 fi 7487 6793 7488 6794 7489 ac_ext=c … … 6803 7498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6804 7499 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6805 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&57500 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 6806 7501 $as_echo_n "checking how to run the C preprocessor... " >&6; } 6807 7502 # On Suns, sometimes $CPP names a directory. … … 6810 7505 fi 6811 7506 if test -z "$CPP"; then 6812 if ${ac_cv_prog_CPP+:} false; then :7507 if test "${ac_cv_prog_CPP+set}" = set; then 6813 7508 $as_echo_n "(cached) " >&6 6814 7509 else … … 6825 7520 # On the NeXT, cc -E runs the code through the compiler's parser, 6826 7521 # not just through cpp. "Syntax error" is here to catch this case. 6827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7522 cat >conftest.$ac_ext <<_ACEOF 7523 /* confdefs.h. */ 7524 _ACEOF 7525 cat confdefs.h >>conftest.$ac_ext 7526 cat >>conftest.$ac_ext <<_ACEOF 6828 7527 /* end confdefs.h. */ 6829 7528 #ifdef __STDC__ … … 6834 7533 Syntax error 6835 7534 _ACEOF 6836 if ac_fn_c_try_cpp "$LINENO"; then : 6837 6838 else 7535 if { (ac_try="$ac_cpp conftest.$ac_ext" 7536 case "(($ac_try" in 7537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7538 *) ac_try_echo=$ac_try;; 7539 esac 7540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7541 $as_echo "$ac_try_echo") >&5 7542 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7543 ac_status=$? 7544 grep -v '^ *+' conftest.er1 >conftest.err 7545 rm -f conftest.er1 7546 cat conftest.err >&5 7547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7548 (exit $ac_status); } >/dev/null && { 7549 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7550 test ! -s conftest.err 7551 }; then 7552 : 7553 else 7554 $as_echo "$as_me: failed program was:" >&5 7555 sed 's/^/| /' conftest.$ac_ext >&5 7556 6839 7557 # Broken: fails on valid input. 6840 7558 continue 6841 7559 fi 6842 rm -f conftest.err conftest.i conftest.$ac_ext 7560 7561 rm -f conftest.err conftest.$ac_ext 6843 7562 6844 7563 # OK, works on sane cases. Now check whether nonexistent headers 6845 7564 # can be detected and how. 6846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7565 cat >conftest.$ac_ext <<_ACEOF 7566 /* confdefs.h. */ 7567 _ACEOF 7568 cat confdefs.h >>conftest.$ac_ext 7569 cat >>conftest.$ac_ext <<_ACEOF 6847 7570 /* end confdefs.h. */ 6848 7571 #include <ac_nonexistent.h> 6849 7572 _ACEOF 6850 if ac_fn_c_try_cpp "$LINENO"; then : 7573 if { (ac_try="$ac_cpp conftest.$ac_ext" 7574 case "(($ac_try" in 7575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7576 *) ac_try_echo=$ac_try;; 7577 esac 7578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7579 $as_echo "$ac_try_echo") >&5 7580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7581 ac_status=$? 7582 grep -v '^ *+' conftest.er1 >conftest.err 7583 rm -f conftest.er1 7584 cat conftest.err >&5 7585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7586 (exit $ac_status); } >/dev/null && { 7587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7588 test ! -s conftest.err 7589 }; then 6851 7590 # Broken: success on invalid input. 6852 7591 continue 6853 7592 else 7593 $as_echo "$as_me: failed program was:" >&5 7594 sed 's/^/| /' conftest.$ac_ext >&5 7595 6854 7596 # Passes both tests. 6855 7597 ac_preproc_ok=: 6856 7598 break 6857 7599 fi 6858 rm -f conftest.err conftest.i conftest.$ac_ext 7600 7601 rm -f conftest.err conftest.$ac_ext 6859 7602 6860 7603 done 6861 7604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6862 rm -f conftest. i conftest.err conftest.$ac_ext6863 if $ac_preproc_ok; then :7605 rm -f conftest.err conftest.$ac_ext 7606 if $ac_preproc_ok; then 6864 7607 break 6865 7608 fi … … 6873 7616 ac_cv_prog_CPP=$CPP 6874 7617 fi 6875 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&57618 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 6876 7619 $as_echo "$CPP" >&6; } 6877 7620 ac_preproc_ok=false … … 6884 7627 # On the NeXT, cc -E runs the code through the compiler's parser, 6885 7628 # not just through cpp. "Syntax error" is here to catch this case. 6886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7629 cat >conftest.$ac_ext <<_ACEOF 7630 /* confdefs.h. */ 7631 _ACEOF 7632 cat confdefs.h >>conftest.$ac_ext 7633 cat >>conftest.$ac_ext <<_ACEOF 6887 7634 /* end confdefs.h. */ 6888 7635 #ifdef __STDC__ … … 6893 7640 Syntax error 6894 7641 _ACEOF 6895 if ac_fn_c_try_cpp "$LINENO"; then : 6896 6897 else 7642 if { (ac_try="$ac_cpp conftest.$ac_ext" 7643 case "(($ac_try" in 7644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7645 *) ac_try_echo=$ac_try;; 7646 esac 7647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7648 $as_echo "$ac_try_echo") >&5 7649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7650 ac_status=$? 7651 grep -v '^ *+' conftest.er1 >conftest.err 7652 rm -f conftest.er1 7653 cat conftest.err >&5 7654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7655 (exit $ac_status); } >/dev/null && { 7656 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7657 test ! -s conftest.err 7658 }; then 7659 : 7660 else 7661 $as_echo "$as_me: failed program was:" >&5 7662 sed 's/^/| /' conftest.$ac_ext >&5 7663 6898 7664 # Broken: fails on valid input. 6899 7665 continue 6900 7666 fi 6901 rm -f conftest.err conftest.i conftest.$ac_ext 7667 7668 rm -f conftest.err conftest.$ac_ext 6902 7669 6903 7670 # OK, works on sane cases. Now check whether nonexistent headers 6904 7671 # can be detected and how. 6905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7672 cat >conftest.$ac_ext <<_ACEOF 7673 /* confdefs.h. */ 7674 _ACEOF 7675 cat confdefs.h >>conftest.$ac_ext 7676 cat >>conftest.$ac_ext <<_ACEOF 6906 7677 /* end confdefs.h. */ 6907 7678 #include <ac_nonexistent.h> 6908 7679 _ACEOF 6909 if ac_fn_c_try_cpp "$LINENO"; then : 7680 if { (ac_try="$ac_cpp conftest.$ac_ext" 7681 case "(($ac_try" in 7682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7683 *) ac_try_echo=$ac_try;; 7684 esac 7685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7686 $as_echo "$ac_try_echo") >&5 7687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7688 ac_status=$? 7689 grep -v '^ *+' conftest.er1 >conftest.err 7690 rm -f conftest.er1 7691 cat conftest.err >&5 7692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7693 (exit $ac_status); } >/dev/null && { 7694 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7695 test ! -s conftest.err 7696 }; then 6910 7697 # Broken: success on invalid input. 6911 7698 continue 6912 7699 else 7700 $as_echo "$as_me: failed program was:" >&5 7701 sed 's/^/| /' conftest.$ac_ext >&5 7702 6913 7703 # Passes both tests. 6914 7704 ac_preproc_ok=: 6915 7705 break 6916 7706 fi 6917 rm -f conftest.err conftest.i conftest.$ac_ext 7707 7708 rm -f conftest.err conftest.$ac_ext 6918 7709 6919 7710 done 6920 7711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6921 rm -f conftest. i conftest.err conftest.$ac_ext6922 if $ac_preproc_ok; then :6923 6924 else 6925 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&57712 rm -f conftest.err conftest.$ac_ext 7713 if $ac_preproc_ok; then 7714 : 7715 else 7716 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 6926 7717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6927 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 6928 See \`config.log' for more details" "$LINENO" 5; } 7718 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 7719 See \`config.log' for more details." >&5 7720 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 7721 See \`config.log' for more details." >&2;} 7722 { (exit 1); exit 1; }; }; } 6929 7723 fi 6930 7724 … … 6949 7743 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6950 7744 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6951 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57745 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6952 7746 $as_echo_n "checking for $ac_word... " >&6; } 6953 if ${ac_cv_prog_CXX+:} false; then :7747 if test "${ac_cv_prog_CXX+set}" = set; then 6954 7748 $as_echo_n "(cached) " >&6 6955 7749 else … … 6962 7756 IFS=$as_save_IFS 6963 7757 test -z "$as_dir" && as_dir=. 6964 7758 for ac_exec_ext in '' $ac_executable_extensions; do 6965 7759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6966 7760 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 6967 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57761 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6968 7762 break 2 6969 7763 fi 6970 7764 done 6971 7765 done 6972 7766 IFS=$as_save_IFS 6973 7767 … … 6976 7770 CXX=$ac_cv_prog_CXX 6977 7771 if test -n "$CXX"; then 6978 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXX" >&57772 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 6979 7773 $as_echo "$CXX" >&6; } 6980 7774 else 6981 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57775 { $as_echo "$as_me:$LINENO: result: no" >&5 6982 7776 $as_echo "no" >&6; } 6983 7777 fi … … 6993 7787 # Extract the first word of "$ac_prog", so it can be a program name with args. 6994 7788 set dummy $ac_prog; ac_word=$2 6995 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57789 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6996 7790 $as_echo_n "checking for $ac_word... " >&6; } 6997 if ${ac_cv_prog_ac_ct_CXX+:} false; then :7791 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 6998 7792 $as_echo_n "(cached) " >&6 6999 7793 else … … 7006 7800 IFS=$as_save_IFS 7007 7801 test -z "$as_dir" && as_dir=. 7008 7802 for ac_exec_ext in '' $ac_executable_extensions; do 7009 7803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7010 7804 ac_cv_prog_ac_ct_CXX="$ac_prog" 7011 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57805 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7012 7806 break 2 7013 7807 fi 7014 7808 done 7015 7809 done 7016 7810 IFS=$as_save_IFS 7017 7811 … … 7020 7814 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7021 7815 if test -n "$ac_ct_CXX"; then 7022 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CXX" >&57816 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 7023 7817 $as_echo "$ac_ct_CXX" >&6; } 7024 7818 else 7025 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57819 { $as_echo "$as_me:$LINENO: result: no" >&5 7026 7820 $as_echo "no" >&6; } 7027 7821 fi … … 7036 7830 case $cross_compiling:$ac_tool_warned in 7037 7831 yes:) 7038 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57832 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7039 7833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7040 7834 ac_tool_warned=yes ;; … … 7047 7841 fi 7048 7842 # Provide some information about the compiler. 7049 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C++ compiler version" >&57843 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7050 7844 set X $ac_compile 7051 7845 ac_compiler=$2 7052 for ac_option in --version -v -V -qversion; do 7053 { { ac_try="$ac_compiler $ac_option >&5" 7846 { (ac_try="$ac_compiler --version >&5" 7054 7847 case "(($ac_try" in 7055 7848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7056 7849 *) ac_try_echo=$ac_try;; 7057 7850 esac 7058 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""7059 $as_echo "$ac_try_echo" ; }>&57060 (eval "$ac_compiler $ac_option >&5") 2>conftest.err7851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7852 $as_echo "$ac_try_echo") >&5 7853 (eval "$ac_compiler --version >&5") 2>&5 7061 7854 ac_status=$? 7062 if test -s conftest.err; then 7063 sed '10a\ 7064 ... rest of stderr output deleted ... 7065 10q' conftest.err >conftest.er1 7066 cat conftest.er1 >&5 7067 fi 7068 rm -f conftest.er1 conftest.err 7069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7070 test $ac_status = 0; } 7071 done 7072 7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 7855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7856 (exit $ac_status); } 7857 { (ac_try="$ac_compiler -v >&5" 7858 case "(($ac_try" in 7859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7860 *) ac_try_echo=$ac_try;; 7861 esac 7862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7863 $as_echo "$ac_try_echo") >&5 7864 (eval "$ac_compiler -v >&5") 2>&5 7865 ac_status=$? 7866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7867 (exit $ac_status); } 7868 { (ac_try="$ac_compiler -V >&5" 7869 case "(($ac_try" in 7870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7871 *) ac_try_echo=$ac_try;; 7872 esac 7873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7874 $as_echo "$ac_try_echo") >&5 7875 (eval "$ac_compiler -V >&5") 2>&5 7876 ac_status=$? 7877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7878 (exit $ac_status); } 7879 7880 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7074 7881 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7075 if ${ac_cv_cxx_compiler_gnu+:} false; then :7882 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 7076 7883 $as_echo_n "(cached) " >&6 7077 7884 else 7078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7885 cat >conftest.$ac_ext <<_ACEOF 7886 /* confdefs.h. */ 7887 _ACEOF 7888 cat confdefs.h >>conftest.$ac_ext 7889 cat >>conftest.$ac_ext <<_ACEOF 7079 7890 /* end confdefs.h. */ 7080 7891 … … 7090 7901 } 7091 7902 _ACEOF 7092 if ac_fn_cxx_try_compile "$LINENO"; then : 7903 rm -f conftest.$ac_objext 7904 if { (ac_try="$ac_compile" 7905 case "(($ac_try" in 7906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7907 *) ac_try_echo=$ac_try;; 7908 esac 7909 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7910 $as_echo "$ac_try_echo") >&5 7911 (eval "$ac_compile") 2>conftest.er1 7912 ac_status=$? 7913 grep -v '^ *+' conftest.er1 >conftest.err 7914 rm -f conftest.er1 7915 cat conftest.err >&5 7916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7917 (exit $ac_status); } && { 7918 test -z "$ac_cxx_werror_flag" || 7919 test ! -s conftest.err 7920 } && test -s conftest.$ac_objext; then 7093 7921 ac_compiler_gnu=yes 7094 7922 else 7095 ac_compiler_gnu=no 7096 fi 7923 $as_echo "$as_me: failed program was:" >&5 7924 sed 's/^/| /' conftest.$ac_ext >&5 7925 7926 ac_compiler_gnu=no 7927 fi 7928 7097 7929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7098 7930 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 7099 7931 7100 7932 fi 7101 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&57933 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 7102 7934 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 7103 7935 if test $ac_compiler_gnu = yes; then … … 7108 7940 ac_test_CXXFLAGS=${CXXFLAGS+set} 7109 7941 ac_save_CXXFLAGS=$CXXFLAGS 7110 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CXX accepts -g" >&57942 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 7111 7943 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 7112 if ${ac_cv_prog_cxx_g+:} false; then :7944 if test "${ac_cv_prog_cxx_g+set}" = set; then 7113 7945 $as_echo_n "(cached) " >&6 7114 7946 else … … 7117 7949 ac_cv_prog_cxx_g=no 7118 7950 CXXFLAGS="-g" 7119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7951 cat >conftest.$ac_ext <<_ACEOF 7952 /* confdefs.h. */ 7953 _ACEOF 7954 cat confdefs.h >>conftest.$ac_ext 7955 cat >>conftest.$ac_ext <<_ACEOF 7120 7956 /* end confdefs.h. */ 7121 7957 … … 7128 7964 } 7129 7965 _ACEOF 7130 if ac_fn_cxx_try_compile "$LINENO"; then : 7966 rm -f conftest.$ac_objext 7967 if { (ac_try="$ac_compile" 7968 case "(($ac_try" in 7969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7970 *) ac_try_echo=$ac_try;; 7971 esac 7972 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7973 $as_echo "$ac_try_echo") >&5 7974 (eval "$ac_compile") 2>conftest.er1 7975 ac_status=$? 7976 grep -v '^ *+' conftest.er1 >conftest.err 7977 rm -f conftest.er1 7978 cat conftest.err >&5 7979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7980 (exit $ac_status); } && { 7981 test -z "$ac_cxx_werror_flag" || 7982 test ! -s conftest.err 7983 } && test -s conftest.$ac_objext; then 7131 7984 ac_cv_prog_cxx_g=yes 7132 7985 else 7133 CXXFLAGS="" 7134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7986 $as_echo "$as_me: failed program was:" >&5 7987 sed 's/^/| /' conftest.$ac_ext >&5 7988 7989 CXXFLAGS="" 7990 cat >conftest.$ac_ext <<_ACEOF 7991 /* confdefs.h. */ 7992 _ACEOF 7993 cat confdefs.h >>conftest.$ac_ext 7994 cat >>conftest.$ac_ext <<_ACEOF 7135 7995 /* end confdefs.h. */ 7136 7996 … … 7143 8003 } 7144 8004 _ACEOF 7145 if ac_fn_cxx_try_compile "$LINENO"; then : 7146 7147 else 7148 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8005 rm -f conftest.$ac_objext 8006 if { (ac_try="$ac_compile" 8007 case "(($ac_try" in 8008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8009 *) ac_try_echo=$ac_try;; 8010 esac 8011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8012 $as_echo "$ac_try_echo") >&5 8013 (eval "$ac_compile") 2>conftest.er1 8014 ac_status=$? 8015 grep -v '^ *+' conftest.er1 >conftest.err 8016 rm -f conftest.er1 8017 cat conftest.err >&5 8018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8019 (exit $ac_status); } && { 8020 test -z "$ac_cxx_werror_flag" || 8021 test ! -s conftest.err 8022 } && test -s conftest.$ac_objext; then 8023 : 8024 else 8025 $as_echo "$as_me: failed program was:" >&5 8026 sed 's/^/| /' conftest.$ac_ext >&5 8027 8028 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7149 8029 CXXFLAGS="-g" 7150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8030 cat >conftest.$ac_ext <<_ACEOF 8031 /* confdefs.h. */ 8032 _ACEOF 8033 cat confdefs.h >>conftest.$ac_ext 8034 cat >>conftest.$ac_ext <<_ACEOF 7151 8035 /* end confdefs.h. */ 7152 8036 … … 7159 8043 } 7160 8044 _ACEOF 7161 if ac_fn_cxx_try_compile "$LINENO"; then : 8045 rm -f conftest.$ac_objext 8046 if { (ac_try="$ac_compile" 8047 case "(($ac_try" in 8048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8049 *) ac_try_echo=$ac_try;; 8050 esac 8051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8052 $as_echo "$ac_try_echo") >&5 8053 (eval "$ac_compile") 2>conftest.er1 8054 ac_status=$? 8055 grep -v '^ *+' conftest.er1 >conftest.err 8056 rm -f conftest.er1 8057 cat conftest.err >&5 8058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8059 (exit $ac_status); } && { 8060 test -z "$ac_cxx_werror_flag" || 8061 test ! -s conftest.err 8062 } && test -s conftest.$ac_objext; then 7162 8063 ac_cv_prog_cxx_g=yes 7163 fi 8064 else 8065 $as_echo "$as_me: failed program was:" >&5 8066 sed 's/^/| /' conftest.$ac_ext >&5 8067 8068 8069 fi 8070 7164 8071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7165 8072 fi 8073 7166 8074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7167 8075 fi 8076 7168 8077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7169 8078 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7170 8079 fi 7171 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&58080 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 7172 8081 $as_echo "$ac_cv_prog_cxx_g" >&6; } 7173 8082 if test "$ac_test_CXXFLAGS" = set; then … … 7197 8106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7198 8107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7199 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&58108 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 7200 8109 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 7201 8110 if test -z "$CXXCPP"; then 7202 if ${ac_cv_prog_CXXCPP+:} false; then :8111 if test "${ac_cv_prog_CXXCPP+set}" = set; then 7203 8112 $as_echo_n "(cached) " >&6 7204 8113 else … … 7215 8124 # On the NeXT, cc -E runs the code through the compiler's parser, 7216 8125 # not just through cpp. "Syntax error" is here to catch this case. 7217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8126 cat >conftest.$ac_ext <<_ACEOF 8127 /* confdefs.h. */ 8128 _ACEOF 8129 cat confdefs.h >>conftest.$ac_ext 8130 cat >>conftest.$ac_ext <<_ACEOF 7218 8131 /* end confdefs.h. */ 7219 8132 #ifdef __STDC__ … … 7224 8137 Syntax error 7225 8138 _ACEOF 7226 if ac_fn_cxx_try_cpp "$LINENO"; then : 7227 7228 else 8139 if { (ac_try="$ac_cpp conftest.$ac_ext" 8140 case "(($ac_try" in 8141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8142 *) ac_try_echo=$ac_try;; 8143 esac 8144 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8145 $as_echo "$ac_try_echo") >&5 8146 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8147 ac_status=$? 8148 grep -v '^ *+' conftest.er1 >conftest.err 8149 rm -f conftest.er1 8150 cat conftest.err >&5 8151 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8152 (exit $ac_status); } >/dev/null && { 8153 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8154 test ! -s conftest.err 8155 }; then 8156 : 8157 else 8158 $as_echo "$as_me: failed program was:" >&5 8159 sed 's/^/| /' conftest.$ac_ext >&5 8160 7229 8161 # Broken: fails on valid input. 7230 8162 continue 7231 8163 fi 7232 rm -f conftest.err conftest.i conftest.$ac_ext 8164 8165 rm -f conftest.err conftest.$ac_ext 7233 8166 7234 8167 # OK, works on sane cases. Now check whether nonexistent headers 7235 8168 # can be detected and how. 7236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8169 cat >conftest.$ac_ext <<_ACEOF 8170 /* confdefs.h. */ 8171 _ACEOF 8172 cat confdefs.h >>conftest.$ac_ext 8173 cat >>conftest.$ac_ext <<_ACEOF 7237 8174 /* end confdefs.h. */ 7238 8175 #include <ac_nonexistent.h> 7239 8176 _ACEOF 7240 if ac_fn_cxx_try_cpp "$LINENO"; then : 8177 if { (ac_try="$ac_cpp conftest.$ac_ext" 8178 case "(($ac_try" in 8179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8180 *) ac_try_echo=$ac_try;; 8181 esac 8182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8183 $as_echo "$ac_try_echo") >&5 8184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8185 ac_status=$? 8186 grep -v '^ *+' conftest.er1 >conftest.err 8187 rm -f conftest.er1 8188 cat conftest.err >&5 8189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8190 (exit $ac_status); } >/dev/null && { 8191 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8192 test ! -s conftest.err 8193 }; then 7241 8194 # Broken: success on invalid input. 7242 8195 continue 7243 8196 else 8197 $as_echo "$as_me: failed program was:" >&5 8198 sed 's/^/| /' conftest.$ac_ext >&5 8199 7244 8200 # Passes both tests. 7245 8201 ac_preproc_ok=: 7246 8202 break 7247 8203 fi 7248 rm -f conftest.err conftest.i conftest.$ac_ext 8204 8205 rm -f conftest.err conftest.$ac_ext 7249 8206 7250 8207 done 7251 8208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7252 rm -f conftest. i conftest.err conftest.$ac_ext7253 if $ac_preproc_ok; then :8209 rm -f conftest.err conftest.$ac_ext 8210 if $ac_preproc_ok; then 7254 8211 break 7255 8212 fi … … 7263 8220 ac_cv_prog_CXXCPP=$CXXCPP 7264 8221 fi 7265 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXXCPP" >&58222 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 7266 8223 $as_echo "$CXXCPP" >&6; } 7267 8224 ac_preproc_ok=false … … 7274 8231 # On the NeXT, cc -E runs the code through the compiler's parser, 7275 8232 # not just through cpp. "Syntax error" is here to catch this case. 7276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8233 cat >conftest.$ac_ext <<_ACEOF 8234 /* confdefs.h. */ 8235 _ACEOF 8236 cat confdefs.h >>conftest.$ac_ext 8237 cat >>conftest.$ac_ext <<_ACEOF 7277 8238 /* end confdefs.h. */ 7278 8239 #ifdef __STDC__ … … 7283 8244 Syntax error 7284 8245 _ACEOF 7285 if ac_fn_cxx_try_cpp "$LINENO"; then : 7286 7287 else 8246 if { (ac_try="$ac_cpp conftest.$ac_ext" 8247 case "(($ac_try" in 8248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8249 *) ac_try_echo=$ac_try;; 8250 esac 8251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8252 $as_echo "$ac_try_echo") >&5 8253 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8254 ac_status=$? 8255 grep -v '^ *+' conftest.er1 >conftest.err 8256 rm -f conftest.er1 8257 cat conftest.err >&5 8258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8259 (exit $ac_status); } >/dev/null && { 8260 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8261 test ! -s conftest.err 8262 }; then 8263 : 8264 else 8265 $as_echo "$as_me: failed program was:" >&5 8266 sed 's/^/| /' conftest.$ac_ext >&5 8267 7288 8268 # Broken: fails on valid input. 7289 8269 continue 7290 8270 fi 7291 rm -f conftest.err conftest.i conftest.$ac_ext 8271 8272 rm -f conftest.err conftest.$ac_ext 7292 8273 7293 8274 # OK, works on sane cases. Now check whether nonexistent headers 7294 8275 # can be detected and how. 7295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8276 cat >conftest.$ac_ext <<_ACEOF 8277 /* confdefs.h. */ 8278 _ACEOF 8279 cat confdefs.h >>conftest.$ac_ext 8280 cat >>conftest.$ac_ext <<_ACEOF 7296 8281 /* end confdefs.h. */ 7297 8282 #include <ac_nonexistent.h> 7298 8283 _ACEOF 7299 if ac_fn_cxx_try_cpp "$LINENO"; then : 8284 if { (ac_try="$ac_cpp conftest.$ac_ext" 8285 case "(($ac_try" in 8286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8287 *) ac_try_echo=$ac_try;; 8288 esac 8289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8290 $as_echo "$ac_try_echo") >&5 8291 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8292 ac_status=$? 8293 grep -v '^ *+' conftest.er1 >conftest.err 8294 rm -f conftest.er1 8295 cat conftest.err >&5 8296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8297 (exit $ac_status); } >/dev/null && { 8298 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8299 test ! -s conftest.err 8300 }; then 7300 8301 # Broken: success on invalid input. 7301 8302 continue 7302 8303 else 8304 $as_echo "$as_me: failed program was:" >&5 8305 sed 's/^/| /' conftest.$ac_ext >&5 8306 7303 8307 # Passes both tests. 7304 8308 ac_preproc_ok=: 7305 8309 break 7306 8310 fi 7307 rm -f conftest.err conftest.i conftest.$ac_ext 8311 8312 rm -f conftest.err conftest.$ac_ext 7308 8313 7309 8314 done 7310 8315 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7311 rm -f conftest. i conftest.err conftest.$ac_ext7312 if $ac_preproc_ok; then :7313 7314 else 7315 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&58316 rm -f conftest.err conftest.$ac_ext 8317 if $ac_preproc_ok; then 8318 : 8319 else 8320 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7316 8321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7317 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 7318 See \`config.log' for more details" "$LINENO" 5; } 8322 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8323 See \`config.log' for more details." >&5 8324 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8325 See \`config.log' for more details." >&2;} 8326 { (exit 1); exit 1; }; }; } 7319 8327 fi 7320 8328 … … 7339 8347 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7340 8348 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7341 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58349 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7342 8350 $as_echo_n "checking for $ac_word... " >&6; } 7343 if ${ac_cv_prog_CXX+:} false; then :8351 if test "${ac_cv_prog_CXX+set}" = set; then 7344 8352 $as_echo_n "(cached) " >&6 7345 8353 else … … 7352 8360 IFS=$as_save_IFS 7353 8361 test -z "$as_dir" && as_dir=. 7354 8362 for ac_exec_ext in '' $ac_executable_extensions; do 7355 8363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7356 8364 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 7357 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58365 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7358 8366 break 2 7359 8367 fi 7360 8368 done 7361 8369 done 7362 8370 IFS=$as_save_IFS 7363 8371 … … 7366 8374 CXX=$ac_cv_prog_CXX 7367 8375 if test -n "$CXX"; then 7368 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXX" >&58376 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 7369 8377 $as_echo "$CXX" >&6; } 7370 8378 else 7371 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58379 { $as_echo "$as_me:$LINENO: result: no" >&5 7372 8380 $as_echo "no" >&6; } 7373 8381 fi … … 7383 8391 # Extract the first word of "$ac_prog", so it can be a program name with args. 7384 8392 set dummy $ac_prog; ac_word=$2 7385 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58393 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7386 8394 $as_echo_n "checking for $ac_word... " >&6; } 7387 if ${ac_cv_prog_ac_ct_CXX+:} false; then :8395 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 7388 8396 $as_echo_n "(cached) " >&6 7389 8397 else … … 7396 8404 IFS=$as_save_IFS 7397 8405 test -z "$as_dir" && as_dir=. 7398 8406 for ac_exec_ext in '' $ac_executable_extensions; do 7399 8407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7400 8408 ac_cv_prog_ac_ct_CXX="$ac_prog" 7401 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58409 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7402 8410 break 2 7403 8411 fi 7404 8412 done 7405 8413 done 7406 8414 IFS=$as_save_IFS 7407 8415 … … 7410 8418 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7411 8419 if test -n "$ac_ct_CXX"; then 7412 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CXX" >&58420 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 7413 8421 $as_echo "$ac_ct_CXX" >&6; } 7414 8422 else 7415 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58423 { $as_echo "$as_me:$LINENO: result: no" >&5 7416 8424 $as_echo "no" >&6; } 7417 8425 fi … … 7426 8434 case $cross_compiling:$ac_tool_warned in 7427 8435 yes:) 7428 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&58436 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7429 8437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7430 8438 ac_tool_warned=yes ;; … … 7437 8445 fi 7438 8446 # Provide some information about the compiler. 7439 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C++ compiler version" >&58447 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7440 8448 set X $ac_compile 7441 8449 ac_compiler=$2 7442 for ac_option in --version -v -V -qversion; do 7443 { { ac_try="$ac_compiler $ac_option >&5" 8450 { (ac_try="$ac_compiler --version >&5" 7444 8451 case "(($ac_try" in 7445 8452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7446 8453 *) ac_try_echo=$ac_try;; 7447 8454 esac 7448 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""7449 $as_echo "$ac_try_echo" ; }>&57450 (eval "$ac_compiler $ac_option >&5") 2>conftest.err8455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8456 $as_echo "$ac_try_echo") >&5 8457 (eval "$ac_compiler --version >&5") 2>&5 7451 8458 ac_status=$? 7452 if test -s conftest.err; then 7453 sed '10a\ 7454 ... rest of stderr output deleted ... 7455 10q' conftest.err >conftest.er1 7456 cat conftest.er1 >&5 7457 fi 7458 rm -f conftest.er1 conftest.err 7459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7460 test $ac_status = 0; } 7461 done 7462 7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8460 (exit $ac_status); } 8461 { (ac_try="$ac_compiler -v >&5" 8462 case "(($ac_try" in 8463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8464 *) ac_try_echo=$ac_try;; 8465 esac 8466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8467 $as_echo "$ac_try_echo") >&5 8468 (eval "$ac_compiler -v >&5") 2>&5 8469 ac_status=$? 8470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8471 (exit $ac_status); } 8472 { (ac_try="$ac_compiler -V >&5" 8473 case "(($ac_try" in 8474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8475 *) ac_try_echo=$ac_try;; 8476 esac 8477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8478 $as_echo "$ac_try_echo") >&5 8479 (eval "$ac_compiler -V >&5") 2>&5 8480 ac_status=$? 8481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8482 (exit $ac_status); } 8483 8484 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7464 8485 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7465 if ${ac_cv_cxx_compiler_gnu+:} false; then :8486 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 7466 8487 $as_echo_n "(cached) " >&6 7467 8488 else 7468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8489 cat >conftest.$ac_ext <<_ACEOF 8490 /* confdefs.h. */ 8491 _ACEOF 8492 cat confdefs.h >>conftest.$ac_ext 8493 cat >>conftest.$ac_ext <<_ACEOF 7469 8494 /* end confdefs.h. */ 7470 8495 … … 7480 8505 } 7481 8506 _ACEOF 7482 if ac_fn_cxx_try_compile "$LINENO"; then : 8507 rm -f conftest.$ac_objext 8508 if { (ac_try="$ac_compile" 8509 case "(($ac_try" in 8510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8511 *) ac_try_echo=$ac_try;; 8512 esac 8513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8514 $as_echo "$ac_try_echo") >&5 8515 (eval "$ac_compile") 2>conftest.er1 8516 ac_status=$? 8517 grep -v '^ *+' conftest.er1 >conftest.err 8518 rm -f conftest.er1 8519 cat conftest.err >&5 8520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8521 (exit $ac_status); } && { 8522 test -z "$ac_cxx_werror_flag" || 8523 test ! -s conftest.err 8524 } && test -s conftest.$ac_objext; then 7483 8525 ac_compiler_gnu=yes 7484 8526 else 7485 ac_compiler_gnu=no 7486 fi 8527 $as_echo "$as_me: failed program was:" >&5 8528 sed 's/^/| /' conftest.$ac_ext >&5 8529 8530 ac_compiler_gnu=no 8531 fi 8532 7487 8533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7488 8534 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 7489 8535 7490 8536 fi 7491 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&58537 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 7492 8538 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 7493 8539 if test $ac_compiler_gnu = yes; then … … 7498 8544 ac_test_CXXFLAGS=${CXXFLAGS+set} 7499 8545 ac_save_CXXFLAGS=$CXXFLAGS 7500 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CXX accepts -g" >&58546 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 7501 8547 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 7502 if ${ac_cv_prog_cxx_g+:} false; then :8548 if test "${ac_cv_prog_cxx_g+set}" = set; then 7503 8549 $as_echo_n "(cached) " >&6 7504 8550 else … … 7507 8553 ac_cv_prog_cxx_g=no 7508 8554 CXXFLAGS="-g" 7509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8555 cat >conftest.$ac_ext <<_ACEOF 8556 /* confdefs.h. */ 8557 _ACEOF 8558 cat confdefs.h >>conftest.$ac_ext 8559 cat >>conftest.$ac_ext <<_ACEOF 7510 8560 /* end confdefs.h. */ 7511 8561 … … 7518 8568 } 7519 8569 _ACEOF 7520 if ac_fn_cxx_try_compile "$LINENO"; then : 8570 rm -f conftest.$ac_objext 8571 if { (ac_try="$ac_compile" 8572 case "(($ac_try" in 8573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8574 *) ac_try_echo=$ac_try;; 8575 esac 8576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8577 $as_echo "$ac_try_echo") >&5 8578 (eval "$ac_compile") 2>conftest.er1 8579 ac_status=$? 8580 grep -v '^ *+' conftest.er1 >conftest.err 8581 rm -f conftest.er1 8582 cat conftest.err >&5 8583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8584 (exit $ac_status); } && { 8585 test -z "$ac_cxx_werror_flag" || 8586 test ! -s conftest.err 8587 } && test -s conftest.$ac_objext; then 7521 8588 ac_cv_prog_cxx_g=yes 7522 8589 else 7523 CXXFLAGS="" 7524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8590 $as_echo "$as_me: failed program was:" >&5 8591 sed 's/^/| /' conftest.$ac_ext >&5 8592 8593 CXXFLAGS="" 8594 cat >conftest.$ac_ext <<_ACEOF 8595 /* confdefs.h. */ 8596 _ACEOF 8597 cat confdefs.h >>conftest.$ac_ext 8598 cat >>conftest.$ac_ext <<_ACEOF 7525 8599 /* end confdefs.h. */ 7526 8600 … … 7533 8607 } 7534 8608 _ACEOF 7535 if ac_fn_cxx_try_compile "$LINENO"; then : 7536 7537 else 7538 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8609 rm -f conftest.$ac_objext 8610 if { (ac_try="$ac_compile" 8611 case "(($ac_try" in 8612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8613 *) ac_try_echo=$ac_try;; 8614 esac 8615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8616 $as_echo "$ac_try_echo") >&5 8617 (eval "$ac_compile") 2>conftest.er1 8618 ac_status=$? 8619 grep -v '^ *+' conftest.er1 >conftest.err 8620 rm -f conftest.er1 8621 cat conftest.err >&5 8622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8623 (exit $ac_status); } && { 8624 test -z "$ac_cxx_werror_flag" || 8625 test ! -s conftest.err 8626 } && test -s conftest.$ac_objext; then 8627 : 8628 else 8629 $as_echo "$as_me: failed program was:" >&5 8630 sed 's/^/| /' conftest.$ac_ext >&5 8631 8632 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7539 8633 CXXFLAGS="-g" 7540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8634 cat >conftest.$ac_ext <<_ACEOF 8635 /* confdefs.h. */ 8636 _ACEOF 8637 cat confdefs.h >>conftest.$ac_ext 8638 cat >>conftest.$ac_ext <<_ACEOF 7541 8639 /* end confdefs.h. */ 7542 8640 … … 7549 8647 } 7550 8648 _ACEOF 7551 if ac_fn_cxx_try_compile "$LINENO"; then : 8649 rm -f conftest.$ac_objext 8650 if { (ac_try="$ac_compile" 8651 case "(($ac_try" in 8652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8653 *) ac_try_echo=$ac_try;; 8654 esac 8655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8656 $as_echo "$ac_try_echo") >&5 8657 (eval "$ac_compile") 2>conftest.er1 8658 ac_status=$? 8659 grep -v '^ *+' conftest.er1 >conftest.err 8660 rm -f conftest.er1 8661 cat conftest.err >&5 8662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8663 (exit $ac_status); } && { 8664 test -z "$ac_cxx_werror_flag" || 8665 test ! -s conftest.err 8666 } && test -s conftest.$ac_objext; then 7552 8667 ac_cv_prog_cxx_g=yes 7553 fi 8668 else 8669 $as_echo "$as_me: failed program was:" >&5 8670 sed 's/^/| /' conftest.$ac_ext >&5 8671 8672 8673 fi 8674 7554 8675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7555 8676 fi 8677 7556 8678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7557 8679 fi 8680 7558 8681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7559 8682 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7560 8683 fi 7561 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&58684 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 7562 8685 $as_echo "$ac_cv_prog_cxx_g" >&6; } 7563 8686 if test "$ac_test_CXXFLAGS" = set; then … … 7590 8713 7591 8714 7592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 8715 8716 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7593 8717 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7594 if ${ac_cv_c_bigendian+:} false; then :8718 if test "${ac_cv_c_bigendian+set}" = set; then 7595 8719 $as_echo_n "(cached) " >&6 7596 8720 else 7597 8721 ac_cv_c_bigendian=unknown 7598 8722 # See if we're dealing with a universal compiler. 7599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8723 cat >conftest.$ac_ext <<_ACEOF 8724 /* confdefs.h. */ 8725 _ACEOF 8726 cat confdefs.h >>conftest.$ac_ext 8727 cat >>conftest.$ac_ext <<_ACEOF 7600 8728 /* end confdefs.h. */ 7601 8729 #ifndef __APPLE_CC__ … … 7605 8733 7606 8734 _ACEOF 7607 if ac_fn_cxx_try_compile "$LINENO"; then : 8735 rm -f conftest.$ac_objext 8736 if { (ac_try="$ac_compile" 8737 case "(($ac_try" in 8738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8739 *) ac_try_echo=$ac_try;; 8740 esac 8741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8742 $as_echo "$ac_try_echo") >&5 8743 (eval "$ac_compile") 2>conftest.er1 8744 ac_status=$? 8745 grep -v '^ *+' conftest.er1 >conftest.err 8746 rm -f conftest.er1 8747 cat conftest.err >&5 8748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8749 (exit $ac_status); } && { 8750 test -z "$ac_cxx_werror_flag" || 8751 test ! -s conftest.err 8752 } && test -s conftest.$ac_objext; then 7608 8753 7609 8754 # Check for potential -arch flags. It is not universal unless 7610 # there are at least two -arch flags with different values. 7611 ac_arch= 7612 ac_prev= 7613 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 7614 if test -n "$ac_prev"; then 7615 case $ac_word in 7616 i?86 | x86_64 | ppc | ppc64) 7617 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 7618 ac_arch=$ac_word 7619 else 7620 ac_cv_c_bigendian=universal 7621 break 7622 fi 7623 ;; 7624 esac 7625 ac_prev= 7626 elif test "x$ac_word" = "x-arch"; then 7627 ac_prev=arch 7628 fi 7629 done 7630 fi 8755 # there are some -arch flags. Note that *ppc* also matches 8756 # ppc64. This check is also rather less than ideal. 8757 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8758 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8759 esac 8760 else 8761 $as_echo "$as_me: failed program was:" >&5 8762 sed 's/^/| /' conftest.$ac_ext >&5 8763 8764 8765 fi 8766 7631 8767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7632 8768 if test $ac_cv_c_bigendian = unknown; then 7633 8769 # See if sys/param.h defines the BYTE_ORDER macro. 7634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8770 cat >conftest.$ac_ext <<_ACEOF 8771 /* confdefs.h. */ 8772 _ACEOF 8773 cat confdefs.h >>conftest.$ac_ext 8774 cat >>conftest.$ac_ext <<_ACEOF 7635 8775 /* end confdefs.h. */ 7636 8776 #include <sys/types.h> … … 7650 8790 } 7651 8791 _ACEOF 7652 if ac_fn_cxx_try_compile "$LINENO"; then : 8792 rm -f conftest.$ac_objext 8793 if { (ac_try="$ac_compile" 8794 case "(($ac_try" in 8795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8796 *) ac_try_echo=$ac_try;; 8797 esac 8798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8799 $as_echo "$ac_try_echo") >&5 8800 (eval "$ac_compile") 2>conftest.er1 8801 ac_status=$? 8802 grep -v '^ *+' conftest.er1 >conftest.err 8803 rm -f conftest.er1 8804 cat conftest.err >&5 8805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8806 (exit $ac_status); } && { 8807 test -z "$ac_cxx_werror_flag" || 8808 test ! -s conftest.err 8809 } && test -s conftest.$ac_objext; then 7653 8810 # It does; now see whether it defined to BIG_ENDIAN or not. 7654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8811 cat >conftest.$ac_ext <<_ACEOF 8812 /* confdefs.h. */ 8813 _ACEOF 8814 cat confdefs.h >>conftest.$ac_ext 8815 cat >>conftest.$ac_ext <<_ACEOF 7655 8816 /* end confdefs.h. */ 7656 8817 #include <sys/types.h> … … 7668 8829 } 7669 8830 _ACEOF 7670 if ac_fn_cxx_try_compile "$LINENO"; then : 8831 rm -f conftest.$ac_objext 8832 if { (ac_try="$ac_compile" 8833 case "(($ac_try" in 8834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8835 *) ac_try_echo=$ac_try;; 8836 esac 8837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8838 $as_echo "$ac_try_echo") >&5 8839 (eval "$ac_compile") 2>conftest.er1 8840 ac_status=$? 8841 grep -v '^ *+' conftest.er1 >conftest.err 8842 rm -f conftest.er1 8843 cat conftest.err >&5 8844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8845 (exit $ac_status); } && { 8846 test -z "$ac_cxx_werror_flag" || 8847 test ! -s conftest.err 8848 } && test -s conftest.$ac_objext; then 7671 8849 ac_cv_c_bigendian=yes 7672 8850 else 7673 ac_cv_c_bigendian=no 7674 fi 8851 $as_echo "$as_me: failed program was:" >&5 8852 sed 's/^/| /' conftest.$ac_ext >&5 8853 8854 ac_cv_c_bigendian=no 8855 fi 8856 7675 8857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7676 fi 8858 else 8859 $as_echo "$as_me: failed program was:" >&5 8860 sed 's/^/| /' conftest.$ac_ext >&5 8861 8862 8863 fi 8864 7677 8865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7678 8866 fi 7679 8867 if test $ac_cv_c_bigendian = unknown; then 7680 8868 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 7681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8869 cat >conftest.$ac_ext <<_ACEOF 8870 /* confdefs.h. */ 8871 _ACEOF 8872 cat confdefs.h >>conftest.$ac_ext 8873 cat >>conftest.$ac_ext <<_ACEOF 7682 8874 /* end confdefs.h. */ 7683 8875 #include <limits.h> … … 7694 8886 } 7695 8887 _ACEOF 7696 if ac_fn_cxx_try_compile "$LINENO"; then : 8888 rm -f conftest.$ac_objext 8889 if { (ac_try="$ac_compile" 8890 case "(($ac_try" in 8891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8892 *) ac_try_echo=$ac_try;; 8893 esac 8894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8895 $as_echo "$ac_try_echo") >&5 8896 (eval "$ac_compile") 2>conftest.er1 8897 ac_status=$? 8898 grep -v '^ *+' conftest.er1 >conftest.err 8899 rm -f conftest.er1 8900 cat conftest.err >&5 8901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8902 (exit $ac_status); } && { 8903 test -z "$ac_cxx_werror_flag" || 8904 test ! -s conftest.err 8905 } && test -s conftest.$ac_objext; then 7697 8906 # It does; now see whether it defined to _BIG_ENDIAN or not. 7698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8907 cat >conftest.$ac_ext <<_ACEOF 8908 /* confdefs.h. */ 8909 _ACEOF 8910 cat confdefs.h >>conftest.$ac_ext 8911 cat >>conftest.$ac_ext <<_ACEOF 7699 8912 /* end confdefs.h. */ 7700 8913 #include <limits.h> … … 7711 8924 } 7712 8925 _ACEOF 7713 if ac_fn_cxx_try_compile "$LINENO"; then : 8926 rm -f conftest.$ac_objext 8927 if { (ac_try="$ac_compile" 8928 case "(($ac_try" in 8929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8930 *) ac_try_echo=$ac_try;; 8931 esac 8932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8933 $as_echo "$ac_try_echo") >&5 8934 (eval "$ac_compile") 2>conftest.er1 8935 ac_status=$? 8936 grep -v '^ *+' conftest.er1 >conftest.err 8937 rm -f conftest.er1 8938 cat conftest.err >&5 8939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8940 (exit $ac_status); } && { 8941 test -z "$ac_cxx_werror_flag" || 8942 test ! -s conftest.err 8943 } && test -s conftest.$ac_objext; then 7714 8944 ac_cv_c_bigendian=yes 7715 8945 else 7716 ac_cv_c_bigendian=no 7717 fi 8946 $as_echo "$as_me: failed program was:" >&5 8947 sed 's/^/| /' conftest.$ac_ext >&5 8948 8949 ac_cv_c_bigendian=no 8950 fi 8951 7718 8952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7719 fi 8953 else 8954 $as_echo "$as_me: failed program was:" >&5 8955 sed 's/^/| /' conftest.$ac_ext >&5 8956 8957 8958 fi 8959 7720 8960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7721 8961 fi 7722 8962 if test $ac_cv_c_bigendian = unknown; then 7723 8963 # Compile a test program. 7724 if test "$cross_compiling" = yes; then :8964 if test "$cross_compiling" = yes; then 7725 8965 # Try to guess by grepping values from an object file. 7726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8966 cat >conftest.$ac_ext <<_ACEOF 8967 /* confdefs.h. */ 8968 _ACEOF 8969 cat confdefs.h >>conftest.$ac_ext 8970 cat >>conftest.$ac_ext <<_ACEOF 7727 8971 /* end confdefs.h. */ 7728 8972 short int ascii_mm[] = … … 7750 8994 } 7751 8995 _ACEOF 7752 if ac_fn_cxx_try_compile "$LINENO"; then : 8996 rm -f conftest.$ac_objext 8997 if { (ac_try="$ac_compile" 8998 case "(($ac_try" in 8999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9000 *) ac_try_echo=$ac_try;; 9001 esac 9002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9003 $as_echo "$ac_try_echo") >&5 9004 (eval "$ac_compile") 2>conftest.er1 9005 ac_status=$? 9006 grep -v '^ *+' conftest.er1 >conftest.err 9007 rm -f conftest.er1 9008 cat conftest.err >&5 9009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9010 (exit $ac_status); } && { 9011 test -z "$ac_cxx_werror_flag" || 9012 test ! -s conftest.err 9013 } && test -s conftest.$ac_objext; then 7753 9014 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 7754 9015 ac_cv_c_bigendian=yes … … 7762 9023 fi 7763 9024 fi 7764 fi 9025 else 9026 $as_echo "$as_me: failed program was:" >&5 9027 sed 's/^/| /' conftest.$ac_ext >&5 9028 9029 9030 fi 9031 7765 9032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7766 9033 else 7767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9034 cat >conftest.$ac_ext <<_ACEOF 9035 /* confdefs.h. */ 9036 _ACEOF 9037 cat confdefs.h >>conftest.$ac_ext 9038 cat >>conftest.$ac_ext <<_ACEOF 7768 9039 /* end confdefs.h. */ 7769 9040 $ac_includes_default … … 7785 9056 } 7786 9057 _ACEOF 7787 if ac_fn_cxx_try_run "$LINENO"; then : 9058 rm -f conftest$ac_exeext 9059 if { (ac_try="$ac_link" 9060 case "(($ac_try" in 9061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9062 *) ac_try_echo=$ac_try;; 9063 esac 9064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9065 $as_echo "$ac_try_echo") >&5 9066 (eval "$ac_link") 2>&5 9067 ac_status=$? 9068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9069 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9070 { (case "(($ac_try" in 9071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9072 *) ac_try_echo=$ac_try;; 9073 esac 9074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9075 $as_echo "$ac_try_echo") >&5 9076 (eval "$ac_try") 2>&5 9077 ac_status=$? 9078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9079 (exit $ac_status); }; }; then 7788 9080 ac_cv_c_bigendian=no 7789 9081 else 7790 ac_cv_c_bigendian=yes 7791 fi 7792 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7793 conftest.$ac_objext conftest.beam conftest.$ac_ext 7794 fi 9082 $as_echo "$as_me: program exited with status $ac_status" >&5 9083 $as_echo "$as_me: failed program was:" >&5 9084 sed 's/^/| /' conftest.$ac_ext >&5 9085 9086 ( exit $ac_status ) 9087 ac_cv_c_bigendian=yes 9088 fi 9089 rm -rf conftest.dSYM 9090 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9091 fi 9092 7795 9093 7796 9094 fi 7797 9095 fi 7798 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&59096 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7799 9097 $as_echo "$ac_cv_c_bigendian" >&6; } 7800 9098 case $ac_cv_c_bigendian in #( 7801 9099 yes) 7802 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9100 cat >>confdefs.h <<\_ACEOF 9101 #define WORDS_BIGENDIAN 1 9102 _ACEOF 7803 9103 ;; #( 7804 9104 no) … … 7806 9106 universal) 7807 9107 7808 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9108 cat >>confdefs.h <<\_ACEOF 9109 #define AC_APPLE_UNIVERSAL_BUILD 1 9110 _ACEOF 7809 9111 7810 9112 ;; #( 7811 9113 *) 7812 as_fn_error $? "unknown endianness 7813 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9114 { { $as_echo "$as_me:$LINENO: error: unknown endianness 9115 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 9116 $as_echo "$as_me: error: unknown endianness 9117 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 9118 { (exit 1); exit 1; }; } ;; 7814 9119 esac 7815 9120 … … 7818 9123 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7819 9124 # This bug is HP SR number 8606223364. 7820 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of int" >&59125 { $as_echo "$as_me:$LINENO: checking size of int" >&5 7821 9126 $as_echo_n "checking size of int... " >&6; } 7822 if ${ac_cv_sizeof_int+:} false; then :9127 if test "${ac_cv_sizeof_int+set}" = set; then 7823 9128 $as_echo_n "(cached) " >&6 7824 9129 else 7825 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 7826 7827 else 7828 if test "$ac_cv_type_int" = yes; then 7829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9130 if test "$cross_compiling" = yes; then 9131 # Depending upon the size, compute the lo and hi bounds. 9132 cat >conftest.$ac_ext <<_ACEOF 9133 /* confdefs.h. */ 9134 _ACEOF 9135 cat confdefs.h >>conftest.$ac_ext 9136 cat >>conftest.$ac_ext <<_ACEOF 9137 /* end confdefs.h. */ 9138 $ac_includes_default 9139 int 9140 main () 9141 { 9142 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)]; 9143 test_array [0] = 0 9144 9145 ; 9146 return 0; 9147 } 9148 _ACEOF 9149 rm -f conftest.$ac_objext 9150 if { (ac_try="$ac_compile" 9151 case "(($ac_try" in 9152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9153 *) ac_try_echo=$ac_try;; 9154 esac 9155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9156 $as_echo "$ac_try_echo") >&5 9157 (eval "$ac_compile") 2>conftest.er1 9158 ac_status=$? 9159 grep -v '^ *+' conftest.er1 >conftest.err 9160 rm -f conftest.er1 9161 cat conftest.err >&5 9162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9163 (exit $ac_status); } && { 9164 test -z "$ac_cxx_werror_flag" || 9165 test ! -s conftest.err 9166 } && test -s conftest.$ac_objext; then 9167 ac_lo=0 ac_mid=0 9168 while :; do 9169 cat >conftest.$ac_ext <<_ACEOF 9170 /* confdefs.h. */ 9171 _ACEOF 9172 cat confdefs.h >>conftest.$ac_ext 9173 cat >>conftest.$ac_ext <<_ACEOF 9174 /* end confdefs.h. */ 9175 $ac_includes_default 9176 int 9177 main () 9178 { 9179 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9180 test_array [0] = 0 9181 9182 ; 9183 return 0; 9184 } 9185 _ACEOF 9186 rm -f conftest.$ac_objext 9187 if { (ac_try="$ac_compile" 9188 case "(($ac_try" in 9189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9190 *) ac_try_echo=$ac_try;; 9191 esac 9192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9193 $as_echo "$ac_try_echo") >&5 9194 (eval "$ac_compile") 2>conftest.er1 9195 ac_status=$? 9196 grep -v '^ *+' conftest.er1 >conftest.err 9197 rm -f conftest.er1 9198 cat conftest.err >&5 9199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9200 (exit $ac_status); } && { 9201 test -z "$ac_cxx_werror_flag" || 9202 test ! -s conftest.err 9203 } && test -s conftest.$ac_objext; then 9204 ac_hi=$ac_mid; break 9205 else 9206 $as_echo "$as_me: failed program was:" >&5 9207 sed 's/^/| /' conftest.$ac_ext >&5 9208 9209 ac_lo=`expr $ac_mid + 1` 9210 if test $ac_lo -le $ac_mid; then 9211 ac_lo= ac_hi= 9212 break 9213 fi 9214 ac_mid=`expr 2 '*' $ac_mid + 1` 9215 fi 9216 9217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9218 done 9219 else 9220 $as_echo "$as_me: failed program was:" >&5 9221 sed 's/^/| /' conftest.$ac_ext >&5 9222 9223 cat >conftest.$ac_ext <<_ACEOF 9224 /* confdefs.h. */ 9225 _ACEOF 9226 cat confdefs.h >>conftest.$ac_ext 9227 cat >>conftest.$ac_ext <<_ACEOF 9228 /* end confdefs.h. */ 9229 $ac_includes_default 9230 int 9231 main () 9232 { 9233 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)]; 9234 test_array [0] = 0 9235 9236 ; 9237 return 0; 9238 } 9239 _ACEOF 9240 rm -f conftest.$ac_objext 9241 if { (ac_try="$ac_compile" 9242 case "(($ac_try" in 9243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9244 *) ac_try_echo=$ac_try;; 9245 esac 9246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9247 $as_echo "$ac_try_echo") >&5 9248 (eval "$ac_compile") 2>conftest.er1 9249 ac_status=$? 9250 grep -v '^ *+' conftest.er1 >conftest.err 9251 rm -f conftest.er1 9252 cat conftest.err >&5 9253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9254 (exit $ac_status); } && { 9255 test -z "$ac_cxx_werror_flag" || 9256 test ! -s conftest.err 9257 } && test -s conftest.$ac_objext; then 9258 ac_hi=-1 ac_mid=-1 9259 while :; do 9260 cat >conftest.$ac_ext <<_ACEOF 9261 /* confdefs.h. */ 9262 _ACEOF 9263 cat confdefs.h >>conftest.$ac_ext 9264 cat >>conftest.$ac_ext <<_ACEOF 9265 /* end confdefs.h. */ 9266 $ac_includes_default 9267 int 9268 main () 9269 { 9270 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)]; 9271 test_array [0] = 0 9272 9273 ; 9274 return 0; 9275 } 9276 _ACEOF 9277 rm -f conftest.$ac_objext 9278 if { (ac_try="$ac_compile" 9279 case "(($ac_try" in 9280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9281 *) ac_try_echo=$ac_try;; 9282 esac 9283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9284 $as_echo "$ac_try_echo") >&5 9285 (eval "$ac_compile") 2>conftest.er1 9286 ac_status=$? 9287 grep -v '^ *+' conftest.er1 >conftest.err 9288 rm -f conftest.er1 9289 cat conftest.err >&5 9290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9291 (exit $ac_status); } && { 9292 test -z "$ac_cxx_werror_flag" || 9293 test ! -s conftest.err 9294 } && test -s conftest.$ac_objext; then 9295 ac_lo=$ac_mid; break 9296 else 9297 $as_echo "$as_me: failed program was:" >&5 9298 sed 's/^/| /' conftest.$ac_ext >&5 9299 9300 ac_hi=`expr '(' $ac_mid ')' - 1` 9301 if test $ac_mid -le $ac_hi; then 9302 ac_lo= ac_hi= 9303 break 9304 fi 9305 ac_mid=`expr 2 '*' $ac_mid` 9306 fi 9307 9308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9309 done 9310 else 9311 $as_echo "$as_me: failed program was:" >&5 9312 sed 's/^/| /' conftest.$ac_ext >&5 9313 9314 ac_lo= ac_hi= 9315 fi 9316 9317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9318 fi 9319 9320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9321 # Binary search between lo and hi bounds. 9322 while test "x$ac_lo" != "x$ac_hi"; do 9323 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 9324 cat >conftest.$ac_ext <<_ACEOF 9325 /* confdefs.h. */ 9326 _ACEOF 9327 cat confdefs.h >>conftest.$ac_ext 9328 cat >>conftest.$ac_ext <<_ACEOF 9329 /* end confdefs.h. */ 9330 $ac_includes_default 9331 int 9332 main () 9333 { 9334 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9335 test_array [0] = 0 9336 9337 ; 9338 return 0; 9339 } 9340 _ACEOF 9341 rm -f conftest.$ac_objext 9342 if { (ac_try="$ac_compile" 9343 case "(($ac_try" in 9344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9345 *) ac_try_echo=$ac_try;; 9346 esac 9347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9348 $as_echo "$ac_try_echo") >&5 9349 (eval "$ac_compile") 2>conftest.er1 9350 ac_status=$? 9351 grep -v '^ *+' conftest.er1 >conftest.err 9352 rm -f conftest.er1 9353 cat conftest.err >&5 9354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9355 (exit $ac_status); } && { 9356 test -z "$ac_cxx_werror_flag" || 9357 test ! -s conftest.err 9358 } && test -s conftest.$ac_objext; then 9359 ac_hi=$ac_mid 9360 else 9361 $as_echo "$as_me: failed program was:" >&5 9362 sed 's/^/| /' conftest.$ac_ext >&5 9363 9364 ac_lo=`expr '(' $ac_mid ')' + 1` 9365 fi 9366 9367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9368 done 9369 case $ac_lo in 9370 ?*) ac_cv_sizeof_int=$ac_lo;; 9371 '') if test "$ac_cv_type_int" = yes; then 9372 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7830 9373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7831 as_fn_error 77 "cannot compute sizeof (int) 7832 See \`config.log' for more details" "$LINENO" 5; } 9374 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9375 See \`config.log' for more details." >&5 9376 $as_echo "$as_me: error: cannot compute sizeof (int) 9377 See \`config.log' for more details." >&2;} 9378 { (exit 77); exit 77; }; }; } 9379 else 9380 ac_cv_sizeof_int=0 9381 fi ;; 9382 esac 9383 else 9384 cat >conftest.$ac_ext <<_ACEOF 9385 /* confdefs.h. */ 9386 _ACEOF 9387 cat confdefs.h >>conftest.$ac_ext 9388 cat >>conftest.$ac_ext <<_ACEOF 9389 /* end confdefs.h. */ 9390 $ac_includes_default 9391 static long int longval () { return (long int) (sizeof (int)); } 9392 static unsigned long int ulongval () { return (long int) (sizeof (int)); } 9393 #include <stdio.h> 9394 #include <stdlib.h> 9395 int 9396 main () 9397 { 9398 9399 FILE *f = fopen ("conftest.val", "w"); 9400 if (! f) 9401 return 1; 9402 if (((long int) (sizeof (int))) < 0) 9403 { 9404 long int i = longval (); 9405 if (i != ((long int) (sizeof (int)))) 9406 return 1; 9407 fprintf (f, "%ld", i); 9408 } 9409 else 9410 { 9411 unsigned long int i = ulongval (); 9412 if (i != ((long int) (sizeof (int)))) 9413 return 1; 9414 fprintf (f, "%lu", i); 9415 } 9416 /* Do not output a trailing newline, as this causes \r\n confusion 9417 on some platforms. */ 9418 return ferror (f) || fclose (f) != 0; 9419 9420 ; 9421 return 0; 9422 } 9423 _ACEOF 9424 rm -f conftest$ac_exeext 9425 if { (ac_try="$ac_link" 9426 case "(($ac_try" in 9427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9428 *) ac_try_echo=$ac_try;; 9429 esac 9430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9431 $as_echo "$ac_try_echo") >&5 9432 (eval "$ac_link") 2>&5 9433 ac_status=$? 9434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9435 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9436 { (case "(($ac_try" in 9437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9438 *) ac_try_echo=$ac_try;; 9439 esac 9440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9441 $as_echo "$ac_try_echo") >&5 9442 (eval "$ac_try") 2>&5 9443 ac_status=$? 9444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9445 (exit $ac_status); }; }; then 9446 ac_cv_sizeof_int=`cat conftest.val` 9447 else 9448 $as_echo "$as_me: program exited with status $ac_status" >&5 9449 $as_echo "$as_me: failed program was:" >&5 9450 sed 's/^/| /' conftest.$ac_ext >&5 9451 9452 ( exit $ac_status ) 9453 if test "$ac_cv_type_int" = yes; then 9454 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9456 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9457 See \`config.log' for more details." >&5 9458 $as_echo "$as_me: error: cannot compute sizeof (int) 9459 See \`config.log' for more details." >&2;} 9460 { (exit 77); exit 77; }; }; } 7833 9461 else 7834 9462 ac_cv_sizeof_int=0 7835 9463 fi 7836 9464 fi 7837 7838 fi 7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9465 rm -rf conftest.dSYM 9466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9467 fi 9468 rm -f conftest.val 9469 fi 9470 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 7840 9471 $as_echo "$ac_cv_sizeof_int" >&6; } 7841 9472 … … 7851 9482 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7852 9483 # This bug is HP SR number 8606223364. 7853 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of long" >&59484 { $as_echo "$as_me:$LINENO: checking size of long" >&5 7854 9485 $as_echo_n "checking size of long... " >&6; } 7855 if ${ac_cv_sizeof_long+:} false; then :9486 if test "${ac_cv_sizeof_long+set}" = set; then 7856 9487 $as_echo_n "(cached) " >&6 7857 9488 else 7858 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 7859 7860 else 7861 if test "$ac_cv_type_long" = yes; then 7862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9489 if test "$cross_compiling" = yes; then 9490 # Depending upon the size, compute the lo and hi bounds. 9491 cat >conftest.$ac_ext <<_ACEOF 9492 /* confdefs.h. */ 9493 _ACEOF 9494 cat confdefs.h >>conftest.$ac_ext 9495 cat >>conftest.$ac_ext <<_ACEOF 9496 /* end confdefs.h. */ 9497 $ac_includes_default 9498 int 9499 main () 9500 { 9501 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)]; 9502 test_array [0] = 0 9503 9504 ; 9505 return 0; 9506 } 9507 _ACEOF 9508 rm -f conftest.$ac_objext 9509 if { (ac_try="$ac_compile" 9510 case "(($ac_try" in 9511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9512 *) ac_try_echo=$ac_try;; 9513 esac 9514 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9515 $as_echo "$ac_try_echo") >&5 9516 (eval "$ac_compile") 2>conftest.er1 9517 ac_status=$? 9518 grep -v '^ *+' conftest.er1 >conftest.err 9519 rm -f conftest.er1 9520 cat conftest.err >&5 9521 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9522 (exit $ac_status); } && { 9523 test -z "$ac_cxx_werror_flag" || 9524 test ! -s conftest.err 9525 } && test -s conftest.$ac_objext; then 9526 ac_lo=0 ac_mid=0 9527 while :; do 9528 cat >conftest.$ac_ext <<_ACEOF 9529 /* confdefs.h. */ 9530 _ACEOF 9531 cat confdefs.h >>conftest.$ac_ext 9532 cat >>conftest.$ac_ext <<_ACEOF 9533 /* end confdefs.h. */ 9534 $ac_includes_default 9535 int 9536 main () 9537 { 9538 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 9539 test_array [0] = 0 9540 9541 ; 9542 return 0; 9543 } 9544 _ACEOF 9545 rm -f conftest.$ac_objext 9546 if { (ac_try="$ac_compile" 9547 case "(($ac_try" in 9548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9549 *) ac_try_echo=$ac_try;; 9550 esac 9551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9552 $as_echo "$ac_try_echo") >&5 9553 (eval "$ac_compile") 2>conftest.er1 9554 ac_status=$? 9555 grep -v '^ *+' conftest.er1 >conftest.err 9556 rm -f conftest.er1 9557 cat conftest.err >&5 9558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9559 (exit $ac_status); } && { 9560 test -z "$ac_cxx_werror_flag" || 9561 test ! -s conftest.err 9562 } && test -s conftest.$ac_objext; then 9563 ac_hi=$ac_mid; break 9564 else 9565 $as_echo "$as_me: failed program was:" >&5 9566 sed 's/^/| /' conftest.$ac_ext >&5 9567 9568 ac_lo=`expr $ac_mid + 1` 9569 if test $ac_lo -le $ac_mid; then 9570 ac_lo= ac_hi= 9571 break 9572 fi 9573 ac_mid=`expr 2 '*' $ac_mid + 1` 9574 fi 9575 9576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9577 done 9578 else 9579 $as_echo "$as_me: failed program was:" >&5 9580 sed 's/^/| /' conftest.$ac_ext >&5 9581 9582 cat >conftest.$ac_ext <<_ACEOF 9583 /* confdefs.h. */ 9584 _ACEOF 9585 cat confdefs.h >>conftest.$ac_ext 9586 cat >>conftest.$ac_ext <<_ACEOF 9587 /* end confdefs.h. */ 9588 $ac_includes_default 9589 int 9590 main () 9591 { 9592 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)]; 9593 test_array [0] = 0 9594 9595 ; 9596 return 0; 9597 } 9598 _ACEOF 9599 rm -f conftest.$ac_objext 9600 if { (ac_try="$ac_compile" 9601 case "(($ac_try" in 9602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9603 *) ac_try_echo=$ac_try;; 9604 esac 9605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9606 $as_echo "$ac_try_echo") >&5 9607 (eval "$ac_compile") 2>conftest.er1 9608 ac_status=$? 9609 grep -v '^ *+' conftest.er1 >conftest.err 9610 rm -f conftest.er1 9611 cat conftest.err >&5 9612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9613 (exit $ac_status); } && { 9614 test -z "$ac_cxx_werror_flag" || 9615 test ! -s conftest.err 9616 } && test -s conftest.$ac_objext; then 9617 ac_hi=-1 ac_mid=-1 9618 while :; do 9619 cat >conftest.$ac_ext <<_ACEOF 9620 /* confdefs.h. */ 9621 _ACEOF 9622 cat confdefs.h >>conftest.$ac_ext 9623 cat >>conftest.$ac_ext <<_ACEOF 9624 /* end confdefs.h. */ 9625 $ac_includes_default 9626 int 9627 main () 9628 { 9629 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)]; 9630 test_array [0] = 0 9631 9632 ; 9633 return 0; 9634 } 9635 _ACEOF 9636 rm -f conftest.$ac_objext 9637 if { (ac_try="$ac_compile" 9638 case "(($ac_try" in 9639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9640 *) ac_try_echo=$ac_try;; 9641 esac 9642 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9643 $as_echo "$ac_try_echo") >&5 9644 (eval "$ac_compile") 2>conftest.er1 9645 ac_status=$? 9646 grep -v '^ *+' conftest.er1 >conftest.err 9647 rm -f conftest.er1 9648 cat conftest.err >&5 9649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9650 (exit $ac_status); } && { 9651 test -z "$ac_cxx_werror_flag" || 9652 test ! -s conftest.err 9653 } && test -s conftest.$ac_objext; then 9654 ac_lo=$ac_mid; break 9655 else 9656 $as_echo "$as_me: failed program was:" >&5 9657 sed 's/^/| /' conftest.$ac_ext >&5 9658 9659 ac_hi=`expr '(' $ac_mid ')' - 1` 9660 if test $ac_mid -le $ac_hi; then 9661 ac_lo= ac_hi= 9662 break 9663 fi 9664 ac_mid=`expr 2 '*' $ac_mid` 9665 fi 9666 9667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9668 done 9669 else 9670 $as_echo "$as_me: failed program was:" >&5 9671 sed 's/^/| /' conftest.$ac_ext >&5 9672 9673 ac_lo= ac_hi= 9674 fi 9675 9676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9677 fi 9678 9679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9680 # Binary search between lo and hi bounds. 9681 while test "x$ac_lo" != "x$ac_hi"; do 9682 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 9683 cat >conftest.$ac_ext <<_ACEOF 9684 /* confdefs.h. */ 9685 _ACEOF 9686 cat confdefs.h >>conftest.$ac_ext 9687 cat >>conftest.$ac_ext <<_ACEOF 9688 /* end confdefs.h. */ 9689 $ac_includes_default 9690 int 9691 main () 9692 { 9693 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 9694 test_array [0] = 0 9695 9696 ; 9697 return 0; 9698 } 9699 _ACEOF 9700 rm -f conftest.$ac_objext 9701 if { (ac_try="$ac_compile" 9702 case "(($ac_try" in 9703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9704 *) ac_try_echo=$ac_try;; 9705 esac 9706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9707 $as_echo "$ac_try_echo") >&5 9708 (eval "$ac_compile") 2>conftest.er1 9709 ac_status=$? 9710 grep -v '^ *+' conftest.er1 >conftest.err 9711 rm -f conftest.er1 9712 cat conftest.err >&5 9713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9714 (exit $ac_status); } && { 9715 test -z "$ac_cxx_werror_flag" || 9716 test ! -s conftest.err 9717 } && test -s conftest.$ac_objext; then 9718 ac_hi=$ac_mid 9719 else 9720 $as_echo "$as_me: failed program was:" >&5 9721 sed 's/^/| /' conftest.$ac_ext >&5 9722 9723 ac_lo=`expr '(' $ac_mid ')' + 1` 9724 fi 9725 9726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9727 done 9728 case $ac_lo in 9729 ?*) ac_cv_sizeof_long=$ac_lo;; 9730 '') if test "$ac_cv_type_long" = yes; then 9731 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7863 9732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7864 as_fn_error 77 "cannot compute sizeof (long) 7865 See \`config.log' for more details" "$LINENO" 5; } 9733 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 9734 See \`config.log' for more details." >&5 9735 $as_echo "$as_me: error: cannot compute sizeof (long) 9736 See \`config.log' for more details." >&2;} 9737 { (exit 77); exit 77; }; }; } 9738 else 9739 ac_cv_sizeof_long=0 9740 fi ;; 9741 esac 9742 else 9743 cat >conftest.$ac_ext <<_ACEOF 9744 /* confdefs.h. */ 9745 _ACEOF 9746 cat confdefs.h >>conftest.$ac_ext 9747 cat >>conftest.$ac_ext <<_ACEOF 9748 /* end confdefs.h. */ 9749 $ac_includes_default 9750 static long int longval () { return (long int) (sizeof (long)); } 9751 static unsigned long int ulongval () { return (long int) (sizeof (long)); } 9752 #include <stdio.h> 9753 #include <stdlib.h> 9754 int 9755 main () 9756 { 9757 9758 FILE *f = fopen ("conftest.val", "w"); 9759 if (! f) 9760 return 1; 9761 if (((long int) (sizeof (long))) < 0) 9762 { 9763 long int i = longval (); 9764 if (i != ((long int) (sizeof (long)))) 9765 return 1; 9766 fprintf (f, "%ld", i); 9767 } 9768 else 9769 { 9770 unsigned long int i = ulongval (); 9771 if (i != ((long int) (sizeof (long)))) 9772 return 1; 9773 fprintf (f, "%lu", i); 9774 } 9775 /* Do not output a trailing newline, as this causes \r\n confusion 9776 on some platforms. */ 9777 return ferror (f) || fclose (f) != 0; 9778 9779 ; 9780 return 0; 9781 } 9782 _ACEOF 9783 rm -f conftest$ac_exeext 9784 if { (ac_try="$ac_link" 9785 case "(($ac_try" in 9786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9787 *) ac_try_echo=$ac_try;; 9788 esac 9789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9790 $as_echo "$ac_try_echo") >&5 9791 (eval "$ac_link") 2>&5 9792 ac_status=$? 9793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9794 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9795 { (case "(($ac_try" in 9796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9797 *) ac_try_echo=$ac_try;; 9798 esac 9799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9800 $as_echo "$ac_try_echo") >&5 9801 (eval "$ac_try") 2>&5 9802 ac_status=$? 9803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9804 (exit $ac_status); }; }; then 9805 ac_cv_sizeof_long=`cat conftest.val` 9806 else 9807 $as_echo "$as_me: program exited with status $ac_status" >&5 9808 $as_echo "$as_me: failed program was:" >&5 9809 sed 's/^/| /' conftest.$ac_ext >&5 9810 9811 ( exit $ac_status ) 9812 if test "$ac_cv_type_long" = yes; then 9813 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9815 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 9816 See \`config.log' for more details." >&5 9817 $as_echo "$as_me: error: cannot compute sizeof (long) 9818 See \`config.log' for more details." >&2;} 9819 { (exit 77); exit 77; }; }; } 7866 9820 else 7867 9821 ac_cv_sizeof_long=0 7868 9822 fi 7869 9823 fi 7870 7871 fi 7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 9824 rm -rf conftest.dSYM 9825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9826 fi 9827 rm -f conftest.val 9828 fi 9829 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 7873 9830 $as_echo "$ac_cv_sizeof_long" >&6; } 7874 9831 … … 7884 9841 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7885 9842 # This bug is HP SR number 8606223364. 7886 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of long long" >&59843 { $as_echo "$as_me:$LINENO: checking size of long long" >&5 7887 9844 $as_echo_n "checking size of long long... " >&6; } 7888 if ${ac_cv_sizeof_long_long+:} false; then :9845 if test "${ac_cv_sizeof_long_long+set}" = set; then 7889 9846 $as_echo_n "(cached) " >&6 7890 9847 else 7891 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 7892 7893 else 7894 if test "$ac_cv_type_long_long" = yes; then 7895 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9848 if test "$cross_compiling" = yes; then 9849 # Depending upon the size, compute the lo and hi bounds. 9850 cat >conftest.$ac_ext <<_ACEOF 9851 /* confdefs.h. */ 9852 _ACEOF 9853 cat confdefs.h >>conftest.$ac_ext 9854 cat >>conftest.$ac_ext <<_ACEOF 9855 /* end confdefs.h. */ 9856 $ac_includes_default 9857 int 9858 main () 9859 { 9860 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)]; 9861 test_array [0] = 0 9862 9863 ; 9864 return 0; 9865 } 9866 _ACEOF 9867 rm -f conftest.$ac_objext 9868 if { (ac_try="$ac_compile" 9869 case "(($ac_try" in 9870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9871 *) ac_try_echo=$ac_try;; 9872 esac 9873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9874 $as_echo "$ac_try_echo") >&5 9875 (eval "$ac_compile") 2>conftest.er1 9876 ac_status=$? 9877 grep -v '^ *+' conftest.er1 >conftest.err 9878 rm -f conftest.er1 9879 cat conftest.err >&5 9880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9881 (exit $ac_status); } && { 9882 test -z "$ac_cxx_werror_flag" || 9883 test ! -s conftest.err 9884 } && test -s conftest.$ac_objext; then 9885 ac_lo=0 ac_mid=0 9886 while :; do 9887 cat >conftest.$ac_ext <<_ACEOF 9888 /* confdefs.h. */ 9889 _ACEOF 9890 cat confdefs.h >>conftest.$ac_ext 9891 cat >>conftest.$ac_ext <<_ACEOF 9892 /* end confdefs.h. */ 9893 $ac_includes_default 9894 int 9895 main () 9896 { 9897 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 9898 test_array [0] = 0 9899 9900 ; 9901 return 0; 9902 } 9903 _ACEOF 9904 rm -f conftest.$ac_objext 9905 if { (ac_try="$ac_compile" 9906 case "(($ac_try" in 9907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9908 *) ac_try_echo=$ac_try;; 9909 esac 9910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9911 $as_echo "$ac_try_echo") >&5 9912 (eval "$ac_compile") 2>conftest.er1 9913 ac_status=$? 9914 grep -v '^ *+' conftest.er1 >conftest.err 9915 rm -f conftest.er1 9916 cat conftest.err >&5 9917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9918 (exit $ac_status); } && { 9919 test -z "$ac_cxx_werror_flag" || 9920 test ! -s conftest.err 9921 } && test -s conftest.$ac_objext; then 9922 ac_hi=$ac_mid; break 9923 else 9924 $as_echo "$as_me: failed program was:" >&5 9925 sed 's/^/| /' conftest.$ac_ext >&5 9926 9927 ac_lo=`expr $ac_mid + 1` 9928 if test $ac_lo -le $ac_mid; then 9929 ac_lo= ac_hi= 9930 break 9931 fi 9932 ac_mid=`expr 2 '*' $ac_mid + 1` 9933 fi 9934 9935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9936 done 9937 else 9938 $as_echo "$as_me: failed program was:" >&5 9939 sed 's/^/| /' conftest.$ac_ext >&5 9940 9941 cat >conftest.$ac_ext <<_ACEOF 9942 /* confdefs.h. */ 9943 _ACEOF 9944 cat confdefs.h >>conftest.$ac_ext 9945 cat >>conftest.$ac_ext <<_ACEOF 9946 /* end confdefs.h. */ 9947 $ac_includes_default 9948 int 9949 main () 9950 { 9951 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)]; 9952 test_array [0] = 0 9953 9954 ; 9955 return 0; 9956 } 9957 _ACEOF 9958 rm -f conftest.$ac_objext 9959 if { (ac_try="$ac_compile" 9960 case "(($ac_try" in 9961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9962 *) ac_try_echo=$ac_try;; 9963 esac 9964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9965 $as_echo "$ac_try_echo") >&5 9966 (eval "$ac_compile") 2>conftest.er1 9967 ac_status=$? 9968 grep -v '^ *+' conftest.er1 >conftest.err 9969 rm -f conftest.er1 9970 cat conftest.err >&5 9971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9972 (exit $ac_status); } && { 9973 test -z "$ac_cxx_werror_flag" || 9974 test ! -s conftest.err 9975 } && test -s conftest.$ac_objext; then 9976 ac_hi=-1 ac_mid=-1 9977 while :; do 9978 cat >conftest.$ac_ext <<_ACEOF 9979 /* confdefs.h. */ 9980 _ACEOF 9981 cat confdefs.h >>conftest.$ac_ext 9982 cat >>conftest.$ac_ext <<_ACEOF 9983 /* end confdefs.h. */ 9984 $ac_includes_default 9985 int 9986 main () 9987 { 9988 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)]; 9989 test_array [0] = 0 9990 9991 ; 9992 return 0; 9993 } 9994 _ACEOF 9995 rm -f conftest.$ac_objext 9996 if { (ac_try="$ac_compile" 9997 case "(($ac_try" in 9998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9999 *) ac_try_echo=$ac_try;; 10000 esac 10001 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10002 $as_echo "$ac_try_echo") >&5 10003 (eval "$ac_compile") 2>conftest.er1 10004 ac_status=$? 10005 grep -v '^ *+' conftest.er1 >conftest.err 10006 rm -f conftest.er1 10007 cat conftest.err >&5 10008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10009 (exit $ac_status); } && { 10010 test -z "$ac_cxx_werror_flag" || 10011 test ! -s conftest.err 10012 } && test -s conftest.$ac_objext; then 10013 ac_lo=$ac_mid; break 10014 else 10015 $as_echo "$as_me: failed program was:" >&5 10016 sed 's/^/| /' conftest.$ac_ext >&5 10017 10018 ac_hi=`expr '(' $ac_mid ')' - 1` 10019 if test $ac_mid -le $ac_hi; then 10020 ac_lo= ac_hi= 10021 break 10022 fi 10023 ac_mid=`expr 2 '*' $ac_mid` 10024 fi 10025 10026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10027 done 10028 else 10029 $as_echo "$as_me: failed program was:" >&5 10030 sed 's/^/| /' conftest.$ac_ext >&5 10031 10032 ac_lo= ac_hi= 10033 fi 10034 10035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10036 fi 10037 10038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10039 # Binary search between lo and hi bounds. 10040 while test "x$ac_lo" != "x$ac_hi"; do 10041 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10042 cat >conftest.$ac_ext <<_ACEOF 10043 /* confdefs.h. */ 10044 _ACEOF 10045 cat confdefs.h >>conftest.$ac_ext 10046 cat >>conftest.$ac_ext <<_ACEOF 10047 /* end confdefs.h. */ 10048 $ac_includes_default 10049 int 10050 main () 10051 { 10052 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 10053 test_array [0] = 0 10054 10055 ; 10056 return 0; 10057 } 10058 _ACEOF 10059 rm -f conftest.$ac_objext 10060 if { (ac_try="$ac_compile" 10061 case "(($ac_try" in 10062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10063 *) ac_try_echo=$ac_try;; 10064 esac 10065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10066 $as_echo "$ac_try_echo") >&5 10067 (eval "$ac_compile") 2>conftest.er1 10068 ac_status=$? 10069 grep -v '^ *+' conftest.er1 >conftest.err 10070 rm -f conftest.er1 10071 cat conftest.err >&5 10072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10073 (exit $ac_status); } && { 10074 test -z "$ac_cxx_werror_flag" || 10075 test ! -s conftest.err 10076 } && test -s conftest.$ac_objext; then 10077 ac_hi=$ac_mid 10078 else 10079 $as_echo "$as_me: failed program was:" >&5 10080 sed 's/^/| /' conftest.$ac_ext >&5 10081 10082 ac_lo=`expr '(' $ac_mid ')' + 1` 10083 fi 10084 10085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10086 done 10087 case $ac_lo in 10088 ?*) ac_cv_sizeof_long_long=$ac_lo;; 10089 '') if test "$ac_cv_type_long_long" = yes; then 10090 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7896 10091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7897 as_fn_error 77 "cannot compute sizeof (long long) 7898 See \`config.log' for more details" "$LINENO" 5; } 10092 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10093 See \`config.log' for more details." >&5 10094 $as_echo "$as_me: error: cannot compute sizeof (long long) 10095 See \`config.log' for more details." >&2;} 10096 { (exit 77); exit 77; }; }; } 10097 else 10098 ac_cv_sizeof_long_long=0 10099 fi ;; 10100 esac 10101 else 10102 cat >conftest.$ac_ext <<_ACEOF 10103 /* confdefs.h. */ 10104 _ACEOF 10105 cat confdefs.h >>conftest.$ac_ext 10106 cat >>conftest.$ac_ext <<_ACEOF 10107 /* end confdefs.h. */ 10108 $ac_includes_default 10109 static long int longval () { return (long int) (sizeof (long long)); } 10110 static unsigned long int ulongval () { return (long int) (sizeof (long long)); } 10111 #include <stdio.h> 10112 #include <stdlib.h> 10113 int 10114 main () 10115 { 10116 10117 FILE *f = fopen ("conftest.val", "w"); 10118 if (! f) 10119 return 1; 10120 if (((long int) (sizeof (long long))) < 0) 10121 { 10122 long int i = longval (); 10123 if (i != ((long int) (sizeof (long long)))) 10124 return 1; 10125 fprintf (f, "%ld", i); 10126 } 10127 else 10128 { 10129 unsigned long int i = ulongval (); 10130 if (i != ((long int) (sizeof (long long)))) 10131 return 1; 10132 fprintf (f, "%lu", i); 10133 } 10134 /* Do not output a trailing newline, as this causes \r\n confusion 10135 on some platforms. */ 10136 return ferror (f) || fclose (f) != 0; 10137 10138 ; 10139 return 0; 10140 } 10141 _ACEOF 10142 rm -f conftest$ac_exeext 10143 if { (ac_try="$ac_link" 10144 case "(($ac_try" in 10145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10146 *) ac_try_echo=$ac_try;; 10147 esac 10148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10149 $as_echo "$ac_try_echo") >&5 10150 (eval "$ac_link") 2>&5 10151 ac_status=$? 10152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10153 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10154 { (case "(($ac_try" in 10155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10156 *) ac_try_echo=$ac_try;; 10157 esac 10158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10159 $as_echo "$ac_try_echo") >&5 10160 (eval "$ac_try") 2>&5 10161 ac_status=$? 10162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10163 (exit $ac_status); }; }; then 10164 ac_cv_sizeof_long_long=`cat conftest.val` 10165 else 10166 $as_echo "$as_me: program exited with status $ac_status" >&5 10167 $as_echo "$as_me: failed program was:" >&5 10168 sed 's/^/| /' conftest.$ac_ext >&5 10169 10170 ( exit $ac_status ) 10171 if test "$ac_cv_type_long_long" = yes; then 10172 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10174 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10175 See \`config.log' for more details." >&5 10176 $as_echo "$as_me: error: cannot compute sizeof (long long) 10177 See \`config.log' for more details." >&2;} 10178 { (exit 77); exit 77; }; }; } 7899 10179 else 7900 10180 ac_cv_sizeof_long_long=0 7901 10181 fi 7902 10182 fi 7903 7904 fi 7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 10183 rm -rf conftest.dSYM 10184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10185 fi 10186 rm -f conftest.val 10187 fi 10188 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 7906 10189 $as_echo "$ac_cv_sizeof_long_long" >&6; } 7907 10190 … … 7917 10200 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7918 10201 # This bug is HP SR number 8606223364. 7919 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of void *" >&510202 { $as_echo "$as_me:$LINENO: checking size of void *" >&5 7920 10203 $as_echo_n "checking size of void *... " >&6; } 7921 if ${ac_cv_sizeof_void_p+:} false; then :10204 if test "${ac_cv_sizeof_void_p+set}" = set; then 7922 10205 $as_echo_n "(cached) " >&6 7923 10206 else 7924 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 7925 7926 else 7927 if test "$ac_cv_type_void_p" = yes; then 7928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10207 if test "$cross_compiling" = yes; then 10208 # Depending upon the size, compute the lo and hi bounds. 10209 cat >conftest.$ac_ext <<_ACEOF 10210 /* confdefs.h. */ 10211 _ACEOF 10212 cat confdefs.h >>conftest.$ac_ext 10213 cat >>conftest.$ac_ext <<_ACEOF 10214 /* end confdefs.h. */ 10215 $ac_includes_default 10216 int 10217 main () 10218 { 10219 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)]; 10220 test_array [0] = 0 10221 10222 ; 10223 return 0; 10224 } 10225 _ACEOF 10226 rm -f conftest.$ac_objext 10227 if { (ac_try="$ac_compile" 10228 case "(($ac_try" in 10229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10230 *) ac_try_echo=$ac_try;; 10231 esac 10232 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10233 $as_echo "$ac_try_echo") >&5 10234 (eval "$ac_compile") 2>conftest.er1 10235 ac_status=$? 10236 grep -v '^ *+' conftest.er1 >conftest.err 10237 rm -f conftest.er1 10238 cat conftest.err >&5 10239 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10240 (exit $ac_status); } && { 10241 test -z "$ac_cxx_werror_flag" || 10242 test ! -s conftest.err 10243 } && test -s conftest.$ac_objext; then 10244 ac_lo=0 ac_mid=0 10245 while :; do 10246 cat >conftest.$ac_ext <<_ACEOF 10247 /* confdefs.h. */ 10248 _ACEOF 10249 cat confdefs.h >>conftest.$ac_ext 10250 cat >>conftest.$ac_ext <<_ACEOF 10251 /* end confdefs.h. */ 10252 $ac_includes_default 10253 int 10254 main () 10255 { 10256 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10257 test_array [0] = 0 10258 10259 ; 10260 return 0; 10261 } 10262 _ACEOF 10263 rm -f conftest.$ac_objext 10264 if { (ac_try="$ac_compile" 10265 case "(($ac_try" in 10266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10267 *) ac_try_echo=$ac_try;; 10268 esac 10269 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10270 $as_echo "$ac_try_echo") >&5 10271 (eval "$ac_compile") 2>conftest.er1 10272 ac_status=$? 10273 grep -v '^ *+' conftest.er1 >conftest.err 10274 rm -f conftest.er1 10275 cat conftest.err >&5 10276 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10277 (exit $ac_status); } && { 10278 test -z "$ac_cxx_werror_flag" || 10279 test ! -s conftest.err 10280 } && test -s conftest.$ac_objext; then 10281 ac_hi=$ac_mid; break 10282 else 10283 $as_echo "$as_me: failed program was:" >&5 10284 sed 's/^/| /' conftest.$ac_ext >&5 10285 10286 ac_lo=`expr $ac_mid + 1` 10287 if test $ac_lo -le $ac_mid; then 10288 ac_lo= ac_hi= 10289 break 10290 fi 10291 ac_mid=`expr 2 '*' $ac_mid + 1` 10292 fi 10293 10294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10295 done 10296 else 10297 $as_echo "$as_me: failed program was:" >&5 10298 sed 's/^/| /' conftest.$ac_ext >&5 10299 10300 cat >conftest.$ac_ext <<_ACEOF 10301 /* confdefs.h. */ 10302 _ACEOF 10303 cat confdefs.h >>conftest.$ac_ext 10304 cat >>conftest.$ac_ext <<_ACEOF 10305 /* end confdefs.h. */ 10306 $ac_includes_default 10307 int 10308 main () 10309 { 10310 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)]; 10311 test_array [0] = 0 10312 10313 ; 10314 return 0; 10315 } 10316 _ACEOF 10317 rm -f conftest.$ac_objext 10318 if { (ac_try="$ac_compile" 10319 case "(($ac_try" in 10320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10321 *) ac_try_echo=$ac_try;; 10322 esac 10323 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10324 $as_echo "$ac_try_echo") >&5 10325 (eval "$ac_compile") 2>conftest.er1 10326 ac_status=$? 10327 grep -v '^ *+' conftest.er1 >conftest.err 10328 rm -f conftest.er1 10329 cat conftest.err >&5 10330 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10331 (exit $ac_status); } && { 10332 test -z "$ac_cxx_werror_flag" || 10333 test ! -s conftest.err 10334 } && test -s conftest.$ac_objext; then 10335 ac_hi=-1 ac_mid=-1 10336 while :; do 10337 cat >conftest.$ac_ext <<_ACEOF 10338 /* confdefs.h. */ 10339 _ACEOF 10340 cat confdefs.h >>conftest.$ac_ext 10341 cat >>conftest.$ac_ext <<_ACEOF 10342 /* end confdefs.h. */ 10343 $ac_includes_default 10344 int 10345 main () 10346 { 10347 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)]; 10348 test_array [0] = 0 10349 10350 ; 10351 return 0; 10352 } 10353 _ACEOF 10354 rm -f conftest.$ac_objext 10355 if { (ac_try="$ac_compile" 10356 case "(($ac_try" in 10357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10358 *) ac_try_echo=$ac_try;; 10359 esac 10360 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10361 $as_echo "$ac_try_echo") >&5 10362 (eval "$ac_compile") 2>conftest.er1 10363 ac_status=$? 10364 grep -v '^ *+' conftest.er1 >conftest.err 10365 rm -f conftest.er1 10366 cat conftest.err >&5 10367 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10368 (exit $ac_status); } && { 10369 test -z "$ac_cxx_werror_flag" || 10370 test ! -s conftest.err 10371 } && test -s conftest.$ac_objext; then 10372 ac_lo=$ac_mid; break 10373 else 10374 $as_echo "$as_me: failed program was:" >&5 10375 sed 's/^/| /' conftest.$ac_ext >&5 10376 10377 ac_hi=`expr '(' $ac_mid ')' - 1` 10378 if test $ac_mid -le $ac_hi; then 10379 ac_lo= ac_hi= 10380 break 10381 fi 10382 ac_mid=`expr 2 '*' $ac_mid` 10383 fi 10384 10385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10386 done 10387 else 10388 $as_echo "$as_me: failed program was:" >&5 10389 sed 's/^/| /' conftest.$ac_ext >&5 10390 10391 ac_lo= ac_hi= 10392 fi 10393 10394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10395 fi 10396 10397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10398 # Binary search between lo and hi bounds. 10399 while test "x$ac_lo" != "x$ac_hi"; do 10400 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10401 cat >conftest.$ac_ext <<_ACEOF 10402 /* confdefs.h. */ 10403 _ACEOF 10404 cat confdefs.h >>conftest.$ac_ext 10405 cat >>conftest.$ac_ext <<_ACEOF 10406 /* end confdefs.h. */ 10407 $ac_includes_default 10408 int 10409 main () 10410 { 10411 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10412 test_array [0] = 0 10413 10414 ; 10415 return 0; 10416 } 10417 _ACEOF 10418 rm -f conftest.$ac_objext 10419 if { (ac_try="$ac_compile" 10420 case "(($ac_try" in 10421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10422 *) ac_try_echo=$ac_try;; 10423 esac 10424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10425 $as_echo "$ac_try_echo") >&5 10426 (eval "$ac_compile") 2>conftest.er1 10427 ac_status=$? 10428 grep -v '^ *+' conftest.er1 >conftest.err 10429 rm -f conftest.er1 10430 cat conftest.err >&5 10431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10432 (exit $ac_status); } && { 10433 test -z "$ac_cxx_werror_flag" || 10434 test ! -s conftest.err 10435 } && test -s conftest.$ac_objext; then 10436 ac_hi=$ac_mid 10437 else 10438 $as_echo "$as_me: failed program was:" >&5 10439 sed 's/^/| /' conftest.$ac_ext >&5 10440 10441 ac_lo=`expr '(' $ac_mid ')' + 1` 10442 fi 10443 10444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10445 done 10446 case $ac_lo in 10447 ?*) ac_cv_sizeof_void_p=$ac_lo;; 10448 '') if test "$ac_cv_type_void_p" = yes; then 10449 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7929 10450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7930 as_fn_error 77 "cannot compute sizeof (void *) 7931 See \`config.log' for more details" "$LINENO" 5; } 10451 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10452 See \`config.log' for more details." >&5 10453 $as_echo "$as_me: error: cannot compute sizeof (void *) 10454 See \`config.log' for more details." >&2;} 10455 { (exit 77); exit 77; }; }; } 10456 else 10457 ac_cv_sizeof_void_p=0 10458 fi ;; 10459 esac 10460 else 10461 cat >conftest.$ac_ext <<_ACEOF 10462 /* confdefs.h. */ 10463 _ACEOF 10464 cat confdefs.h >>conftest.$ac_ext 10465 cat >>conftest.$ac_ext <<_ACEOF 10466 /* end confdefs.h. */ 10467 $ac_includes_default 10468 static long int longval () { return (long int) (sizeof (void *)); } 10469 static unsigned long int ulongval () { return (long int) (sizeof (void *)); } 10470 #include <stdio.h> 10471 #include <stdlib.h> 10472 int 10473 main () 10474 { 10475 10476 FILE *f = fopen ("conftest.val", "w"); 10477 if (! f) 10478 return 1; 10479 if (((long int) (sizeof (void *))) < 0) 10480 { 10481 long int i = longval (); 10482 if (i != ((long int) (sizeof (void *)))) 10483 return 1; 10484 fprintf (f, "%ld", i); 10485 } 10486 else 10487 { 10488 unsigned long int i = ulongval (); 10489 if (i != ((long int) (sizeof (void *)))) 10490 return 1; 10491 fprintf (f, "%lu", i); 10492 } 10493 /* Do not output a trailing newline, as this causes \r\n confusion 10494 on some platforms. */ 10495 return ferror (f) || fclose (f) != 0; 10496 10497 ; 10498 return 0; 10499 } 10500 _ACEOF 10501 rm -f conftest$ac_exeext 10502 if { (ac_try="$ac_link" 10503 case "(($ac_try" in 10504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10505 *) ac_try_echo=$ac_try;; 10506 esac 10507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10508 $as_echo "$ac_try_echo") >&5 10509 (eval "$ac_link") 2>&5 10510 ac_status=$? 10511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10512 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10513 { (case "(($ac_try" in 10514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10515 *) ac_try_echo=$ac_try;; 10516 esac 10517 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10518 $as_echo "$ac_try_echo") >&5 10519 (eval "$ac_try") 2>&5 10520 ac_status=$? 10521 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10522 (exit $ac_status); }; }; then 10523 ac_cv_sizeof_void_p=`cat conftest.val` 10524 else 10525 $as_echo "$as_me: program exited with status $ac_status" >&5 10526 $as_echo "$as_me: failed program was:" >&5 10527 sed 's/^/| /' conftest.$ac_ext >&5 10528 10529 ( exit $ac_status ) 10530 if test "$ac_cv_type_void_p" = yes; then 10531 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10533 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10534 See \`config.log' for more details." >&5 10535 $as_echo "$as_me: error: cannot compute sizeof (void *) 10536 See \`config.log' for more details." >&2;} 10537 { (exit 77); exit 77; }; }; } 7932 10538 else 7933 10539 ac_cv_sizeof_void_p=0 7934 10540 fi 7935 10541 fi 7936 7937 fi 7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 10542 rm -rf conftest.dSYM 10543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10544 fi 10545 rm -f conftest.val 10546 fi 10547 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 7939 10548 $as_echo "$ac_cv_sizeof_void_p" >&6; } 7940 10549 … … 7950 10559 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7951 10560 # This bug is HP SR number 8606223364. 7952 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of float" >&510561 { $as_echo "$as_me:$LINENO: checking size of float" >&5 7953 10562 $as_echo_n "checking size of float... " >&6; } 7954 if ${ac_cv_sizeof_float+:} false; then :10563 if test "${ac_cv_sizeof_float+set}" = set; then 7955 10564 $as_echo_n "(cached) " >&6 7956 10565 else 7957 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then : 7958 7959 else 7960 if test "$ac_cv_type_float" = yes; then 7961 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10566 if test "$cross_compiling" = yes; then 10567 # Depending upon the size, compute the lo and hi bounds. 10568 cat >conftest.$ac_ext <<_ACEOF 10569 /* confdefs.h. */ 10570 _ACEOF 10571 cat confdefs.h >>conftest.$ac_ext 10572 cat >>conftest.$ac_ext <<_ACEOF 10573 /* end confdefs.h. */ 10574 $ac_includes_default 10575 int 10576 main () 10577 { 10578 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)]; 10579 test_array [0] = 0 10580 10581 ; 10582 return 0; 10583 } 10584 _ACEOF 10585 rm -f conftest.$ac_objext 10586 if { (ac_try="$ac_compile" 10587 case "(($ac_try" in 10588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10589 *) ac_try_echo=$ac_try;; 10590 esac 10591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10592 $as_echo "$ac_try_echo") >&5 10593 (eval "$ac_compile") 2>conftest.er1 10594 ac_status=$? 10595 grep -v '^ *+' conftest.er1 >conftest.err 10596 rm -f conftest.er1 10597 cat conftest.err >&5 10598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10599 (exit $ac_status); } && { 10600 test -z "$ac_cxx_werror_flag" || 10601 test ! -s conftest.err 10602 } && test -s conftest.$ac_objext; then 10603 ac_lo=0 ac_mid=0 10604 while :; do 10605 cat >conftest.$ac_ext <<_ACEOF 10606 /* confdefs.h. */ 10607 _ACEOF 10608 cat confdefs.h >>conftest.$ac_ext 10609 cat >>conftest.$ac_ext <<_ACEOF 10610 /* end confdefs.h. */ 10611 $ac_includes_default 10612 int 10613 main () 10614 { 10615 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 10616 test_array [0] = 0 10617 10618 ; 10619 return 0; 10620 } 10621 _ACEOF 10622 rm -f conftest.$ac_objext 10623 if { (ac_try="$ac_compile" 10624 case "(($ac_try" in 10625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10626 *) ac_try_echo=$ac_try;; 10627 esac 10628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10629 $as_echo "$ac_try_echo") >&5 10630 (eval "$ac_compile") 2>conftest.er1 10631 ac_status=$? 10632 grep -v '^ *+' conftest.er1 >conftest.err 10633 rm -f conftest.er1 10634 cat conftest.err >&5 10635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10636 (exit $ac_status); } && { 10637 test -z "$ac_cxx_werror_flag" || 10638 test ! -s conftest.err 10639 } && test -s conftest.$ac_objext; then 10640 ac_hi=$ac_mid; break 10641 else 10642 $as_echo "$as_me: failed program was:" >&5 10643 sed 's/^/| /' conftest.$ac_ext >&5 10644 10645 ac_lo=`expr $ac_mid + 1` 10646 if test $ac_lo -le $ac_mid; then 10647 ac_lo= ac_hi= 10648 break 10649 fi 10650 ac_mid=`expr 2 '*' $ac_mid + 1` 10651 fi 10652 10653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10654 done 10655 else 10656 $as_echo "$as_me: failed program was:" >&5 10657 sed 's/^/| /' conftest.$ac_ext >&5 10658 10659 cat >conftest.$ac_ext <<_ACEOF 10660 /* confdefs.h. */ 10661 _ACEOF 10662 cat confdefs.h >>conftest.$ac_ext 10663 cat >>conftest.$ac_ext <<_ACEOF 10664 /* end confdefs.h. */ 10665 $ac_includes_default 10666 int 10667 main () 10668 { 10669 static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)]; 10670 test_array [0] = 0 10671 10672 ; 10673 return 0; 10674 } 10675 _ACEOF 10676 rm -f conftest.$ac_objext 10677 if { (ac_try="$ac_compile" 10678 case "(($ac_try" in 10679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10680 *) ac_try_echo=$ac_try;; 10681 esac 10682 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10683 $as_echo "$ac_try_echo") >&5 10684 (eval "$ac_compile") 2>conftest.er1 10685 ac_status=$? 10686 grep -v '^ *+' conftest.er1 >conftest.err 10687 rm -f conftest.er1 10688 cat conftest.err >&5 10689 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10690 (exit $ac_status); } && { 10691 test -z "$ac_cxx_werror_flag" || 10692 test ! -s conftest.err 10693 } && test -s conftest.$ac_objext; then 10694 ac_hi=-1 ac_mid=-1 10695 while :; do 10696 cat >conftest.$ac_ext <<_ACEOF 10697 /* confdefs.h. */ 10698 _ACEOF 10699 cat confdefs.h >>conftest.$ac_ext 10700 cat >>conftest.$ac_ext <<_ACEOF 10701 /* end confdefs.h. */ 10702 $ac_includes_default 10703 int 10704 main () 10705 { 10706 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)]; 10707 test_array [0] = 0 10708 10709 ; 10710 return 0; 10711 } 10712 _ACEOF 10713 rm -f conftest.$ac_objext 10714 if { (ac_try="$ac_compile" 10715 case "(($ac_try" in 10716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10717 *) ac_try_echo=$ac_try;; 10718 esac 10719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10720 $as_echo "$ac_try_echo") >&5 10721 (eval "$ac_compile") 2>conftest.er1 10722 ac_status=$? 10723 grep -v '^ *+' conftest.er1 >conftest.err 10724 rm -f conftest.er1 10725 cat conftest.err >&5 10726 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10727 (exit $ac_status); } && { 10728 test -z "$ac_cxx_werror_flag" || 10729 test ! -s conftest.err 10730 } && test -s conftest.$ac_objext; then 10731 ac_lo=$ac_mid; break 10732 else 10733 $as_echo "$as_me: failed program was:" >&5 10734 sed 's/^/| /' conftest.$ac_ext >&5 10735 10736 ac_hi=`expr '(' $ac_mid ')' - 1` 10737 if test $ac_mid -le $ac_hi; then 10738 ac_lo= ac_hi= 10739 break 10740 fi 10741 ac_mid=`expr 2 '*' $ac_mid` 10742 fi 10743 10744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10745 done 10746 else 10747 $as_echo "$as_me: failed program was:" >&5 10748 sed 's/^/| /' conftest.$ac_ext >&5 10749 10750 ac_lo= ac_hi= 10751 fi 10752 10753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10754 fi 10755 10756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10757 # Binary search between lo and hi bounds. 10758 while test "x$ac_lo" != "x$ac_hi"; do 10759 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10760 cat >conftest.$ac_ext <<_ACEOF 10761 /* confdefs.h. */ 10762 _ACEOF 10763 cat confdefs.h >>conftest.$ac_ext 10764 cat >>conftest.$ac_ext <<_ACEOF 10765 /* end confdefs.h. */ 10766 $ac_includes_default 10767 int 10768 main () 10769 { 10770 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 10771 test_array [0] = 0 10772 10773 ; 10774 return 0; 10775 } 10776 _ACEOF 10777 rm -f conftest.$ac_objext 10778 if { (ac_try="$ac_compile" 10779 case "(($ac_try" in 10780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10781 *) ac_try_echo=$ac_try;; 10782 esac 10783 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10784 $as_echo "$ac_try_echo") >&5 10785 (eval "$ac_compile") 2>conftest.er1 10786 ac_status=$? 10787 grep -v '^ *+' conftest.er1 >conftest.err 10788 rm -f conftest.er1 10789 cat conftest.err >&5 10790 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10791 (exit $ac_status); } && { 10792 test -z "$ac_cxx_werror_flag" || 10793 test ! -s conftest.err 10794 } && test -s conftest.$ac_objext; then 10795 ac_hi=$ac_mid 10796 else 10797 $as_echo "$as_me: failed program was:" >&5 10798 sed 's/^/| /' conftest.$ac_ext >&5 10799 10800 ac_lo=`expr '(' $ac_mid ')' + 1` 10801 fi 10802 10803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10804 done 10805 case $ac_lo in 10806 ?*) ac_cv_sizeof_float=$ac_lo;; 10807 '') if test "$ac_cv_type_float" = yes; then 10808 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7962 10809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7963 as_fn_error 77 "cannot compute sizeof (float) 7964 See \`config.log' for more details" "$LINENO" 5; } 10810 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 10811 See \`config.log' for more details." >&5 10812 $as_echo "$as_me: error: cannot compute sizeof (float) 10813 See \`config.log' for more details." >&2;} 10814 { (exit 77); exit 77; }; }; } 10815 else 10816 ac_cv_sizeof_float=0 10817 fi ;; 10818 esac 10819 else 10820 cat >conftest.$ac_ext <<_ACEOF 10821 /* confdefs.h. */ 10822 _ACEOF 10823 cat confdefs.h >>conftest.$ac_ext 10824 cat >>conftest.$ac_ext <<_ACEOF 10825 /* end confdefs.h. */ 10826 $ac_includes_default 10827 static long int longval () { return (long int) (sizeof (float)); } 10828 static unsigned long int ulongval () { return (long int) (sizeof (float)); } 10829 #include <stdio.h> 10830 #include <stdlib.h> 10831 int 10832 main () 10833 { 10834 10835 FILE *f = fopen ("conftest.val", "w"); 10836 if (! f) 10837 return 1; 10838 if (((long int) (sizeof (float))) < 0) 10839 { 10840 long int i = longval (); 10841 if (i != ((long int) (sizeof (float)))) 10842 return 1; 10843 fprintf (f, "%ld", i); 10844 } 10845 else 10846 { 10847 unsigned long int i = ulongval (); 10848 if (i != ((long int) (sizeof (float)))) 10849 return 1; 10850 fprintf (f, "%lu", i); 10851 } 10852 /* Do not output a trailing newline, as this causes \r\n confusion 10853 on some platforms. */ 10854 return ferror (f) || fclose (f) != 0; 10855 10856 ; 10857 return 0; 10858 } 10859 _ACEOF 10860 rm -f conftest$ac_exeext 10861 if { (ac_try="$ac_link" 10862 case "(($ac_try" in 10863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10864 *) ac_try_echo=$ac_try;; 10865 esac 10866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10867 $as_echo "$ac_try_echo") >&5 10868 (eval "$ac_link") 2>&5 10869 ac_status=$? 10870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10871 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10872 { (case "(($ac_try" in 10873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10874 *) ac_try_echo=$ac_try;; 10875 esac 10876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10877 $as_echo "$ac_try_echo") >&5 10878 (eval "$ac_try") 2>&5 10879 ac_status=$? 10880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10881 (exit $ac_status); }; }; then 10882 ac_cv_sizeof_float=`cat conftest.val` 10883 else 10884 $as_echo "$as_me: program exited with status $ac_status" >&5 10885 $as_echo "$as_me: failed program was:" >&5 10886 sed 's/^/| /' conftest.$ac_ext >&5 10887 10888 ( exit $ac_status ) 10889 if test "$ac_cv_type_float" = yes; then 10890 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10892 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 10893 See \`config.log' for more details." >&5 10894 $as_echo "$as_me: error: cannot compute sizeof (float) 10895 See \`config.log' for more details." >&2;} 10896 { (exit 77); exit 77; }; }; } 7965 10897 else 7966 10898 ac_cv_sizeof_float=0 7967 10899 fi 7968 10900 fi 7969 7970 fi 7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 10901 rm -rf conftest.dSYM 10902 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10903 fi 10904 rm -f conftest.val 10905 fi 10906 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5 7972 10907 $as_echo "$ac_cv_sizeof_float" >&6; } 7973 10908 … … 8027 10962 8028 10963 RP_DIR="" 8029 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for rappture" >&510964 { $as_echo "$as_me:$LINENO: checking for rappture" >&5 8030 10965 $as_echo_n "checking for rappture... " >&6; } 8031 10966 if test "$with_rappture" == "yes" ; then … … 8036 10971 RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2" 8037 10972 RP_LIB_DIR="$dir/lib" 8038 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $dir" >&510973 { $as_echo "$as_me:$LINENO: result: $dir" >&5 8039 10974 $as_echo "$dir" >&6; } 8040 10975 break … … 8043 10978 else 8044 10979 if test ! -d "$with_rappture" ; then 8045 as_fn_error $? "--with-rappture: no such directory $with_rappture" "$LINENO" 5 10980 { { $as_echo "$as_me:$LINENO: error: --with-rappture: no such directory $with_rappture" >&5 10981 $as_echo "$as_me: error: --with-rappture: no such directory $with_rappture" >&2;} 10982 { (exit 1); exit 1; }; } 8046 10983 fi 8047 10984 RP_DIR=$with_rappture … … 8050 10987 fi 8051 10988 if test "x${RP_DIR}" = "x" ; then 8052 as_fn_error $? "cannot find rappture.h and librappture2.a, try using --with-rappture" "$LINENO" 5 8053 else 8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_rappture" >&5 10989 { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&5 10990 $as_echo "$as_me: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&2;} 10991 { (exit 1); exit 1; }; } 10992 else 10993 { $as_echo "$as_me:$LINENO: result: $with_rappture" >&5 8055 10994 $as_echo "$with_rappture" >&6; } 8056 10995 fi … … 8087 11026 CPPFLAGS=$VTK_INC_SPEC 8088 11027 11028 8089 11029 for ac_header in vtkSmartPointer.h 8090 do : 8091 ac_fn_cxx_check_header_mongrel "$LINENO" "vtkSmartPointer.h" "ac_cv_header_vtkSmartPointer_h" "$ac_includes_default" 8092 if test "x$ac_cv_header_vtkSmartPointer_h" = xyes; then : 8093 cat >>confdefs.h <<_ACEOF 8094 #define HAVE_VTKSMARTPOINTER_H 1 8095 _ACEOF 8096 8097 else 8098 as_fn_error $? "cannot find VTK includes" "$LINENO" 5 8099 fi 8100 8101 done 8102 8103 CPPFLAGS=$save_CPPFLAGS 8104 8105 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glui.h" "ac_cv_header_GL_glui_h" "$ac_includes_default" 8106 if test "x$ac_cv_header_GL_glui_h" = xyes; then : 8107 8108 fi 8109 8110 8111 ac_fn_cxx_check_header_mongrel "$LINENO" "glui.h" "ac_cv_header_glui_h" "$ac_includes_default" 8112 if test "x$ac_cv_header_glui_h" = xyes; then : 8113 8114 fi 8115 8116 8117 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default" 8118 if test "x$ac_cv_header_GL_glut_h" = xyes; then : 8119 8120 fi 8121 8122 8123 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default" 8124 if test "x$ac_cv_header_GL_glew_h" = xyes; then : 8125 8126 fi 8127 8128 8129 8130 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 8131 do : 8132 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8133 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8134 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11030 do 11031 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11033 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11034 $as_echo_n "checking for $ac_header... " >&6; } 11035 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11036 $as_echo_n "(cached) " >&6 11037 fi 11038 ac_res=`eval 'as_val=${'$as_ac_Header'} 11039 $as_echo "$as_val"'` 11040 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11041 $as_echo "$ac_res" >&6; } 11042 else 11043 # Is the header compilable? 11044 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11045 $as_echo_n "checking $ac_header usability... " >&6; } 11046 cat >conftest.$ac_ext <<_ACEOF 11047 /* confdefs.h. */ 11048 _ACEOF 11049 cat confdefs.h >>conftest.$ac_ext 11050 cat >>conftest.$ac_ext <<_ACEOF 11051 /* end confdefs.h. */ 11052 $ac_includes_default 11053 #include <$ac_header> 11054 _ACEOF 11055 rm -f conftest.$ac_objext 11056 if { (ac_try="$ac_compile" 11057 case "(($ac_try" in 11058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11059 *) ac_try_echo=$ac_try;; 11060 esac 11061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11062 $as_echo "$ac_try_echo") >&5 11063 (eval "$ac_compile") 2>conftest.er1 11064 ac_status=$? 11065 grep -v '^ *+' conftest.er1 >conftest.err 11066 rm -f conftest.er1 11067 cat conftest.err >&5 11068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11069 (exit $ac_status); } && { 11070 test -z "$ac_cxx_werror_flag" || 11071 test ! -s conftest.err 11072 } && test -s conftest.$ac_objext; then 11073 ac_header_compiler=yes 11074 else 11075 $as_echo "$as_me: failed program was:" >&5 11076 sed 's/^/| /' conftest.$ac_ext >&5 11077 11078 ac_header_compiler=no 11079 fi 11080 11081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11082 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11083 $as_echo "$ac_header_compiler" >&6; } 11084 11085 # Is the header present? 11086 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11087 $as_echo_n "checking $ac_header presence... " >&6; } 11088 cat >conftest.$ac_ext <<_ACEOF 11089 /* confdefs.h. */ 11090 _ACEOF 11091 cat confdefs.h >>conftest.$ac_ext 11092 cat >>conftest.$ac_ext <<_ACEOF 11093 /* end confdefs.h. */ 11094 #include <$ac_header> 11095 _ACEOF 11096 if { (ac_try="$ac_cpp conftest.$ac_ext" 11097 case "(($ac_try" in 11098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11099 *) ac_try_echo=$ac_try;; 11100 esac 11101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11102 $as_echo "$ac_try_echo") >&5 11103 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11104 ac_status=$? 11105 grep -v '^ *+' conftest.er1 >conftest.err 11106 rm -f conftest.er1 11107 cat conftest.err >&5 11108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11109 (exit $ac_status); } >/dev/null && { 11110 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11111 test ! -s conftest.err 11112 }; then 11113 ac_header_preproc=yes 11114 else 11115 $as_echo "$as_me: failed program was:" >&5 11116 sed 's/^/| /' conftest.$ac_ext >&5 11117 11118 ac_header_preproc=no 11119 fi 11120 11121 rm -f conftest.err conftest.$ac_ext 11122 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11123 $as_echo "$ac_header_preproc" >&6; } 11124 11125 # So? What about this header? 11126 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11127 yes:no: ) 11128 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11129 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11130 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11131 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11132 ac_header_preproc=yes 11133 ;; 11134 no:yes:* ) 11135 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11136 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11137 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11138 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11139 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11140 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11141 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11142 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11143 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11144 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11145 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11146 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11147 ( cat <<\_ASBOX 11148 ## ----------------------------------- ## 11149 ## Report this to rappture@nanohub.org ## 11150 ## ----------------------------------- ## 11151 _ASBOX 11152 ) | sed "s/^/$as_me: WARNING: /" >&2 11153 ;; 11154 esac 11155 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11156 $as_echo_n "checking for $ac_header... " >&6; } 11157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11158 $as_echo_n "(cached) " >&6 11159 else 11160 eval "$as_ac_Header=\$ac_header_preproc" 11161 fi 11162 ac_res=`eval 'as_val=${'$as_ac_Header'} 11163 $as_echo "$as_val"'` 11164 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11165 $as_echo "$ac_res" >&6; } 11166 11167 fi 11168 as_val=`eval 'as_val=${'$as_ac_Header'} 11169 $as_echo "$as_val"'` 11170 if test "x$as_val" = x""yes; then 8135 11171 cat >>confdefs.h <<_ACEOF 8136 11172 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8137 11173 _ACEOF 8138 11174 11175 else 11176 { $as_echo "$as_me:$LINENO: WARNING: cannot find vtkSmartPointer.h" >&5 11177 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;} 8139 11178 fi 8140 11179 8141 11180 done 8142 11181 8143 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 8144 do : 8145 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8146 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8147 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11182 CPPFLAGS=$save_CPPFLAGS 11183 11184 if test "${ac_cv_header_GL_glui_h+set}" = set; then 11185 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 11186 $as_echo_n "checking for GL/glui.h... " >&6; } 11187 if test "${ac_cv_header_GL_glui_h+set}" = set; then 11188 $as_echo_n "(cached) " >&6 11189 fi 11190 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 11191 $as_echo "$ac_cv_header_GL_glui_h" >&6; } 11192 else 11193 # Is the header compilable? 11194 { $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&5 11195 $as_echo_n "checking GL/glui.h usability... " >&6; } 11196 cat >conftest.$ac_ext <<_ACEOF 11197 /* confdefs.h. */ 11198 _ACEOF 11199 cat confdefs.h >>conftest.$ac_ext 11200 cat >>conftest.$ac_ext <<_ACEOF 11201 /* end confdefs.h. */ 11202 $ac_includes_default 11203 #include <GL/glui.h> 11204 _ACEOF 11205 rm -f conftest.$ac_objext 11206 if { (ac_try="$ac_compile" 11207 case "(($ac_try" in 11208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11209 *) ac_try_echo=$ac_try;; 11210 esac 11211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11212 $as_echo "$ac_try_echo") >&5 11213 (eval "$ac_compile") 2>conftest.er1 11214 ac_status=$? 11215 grep -v '^ *+' conftest.er1 >conftest.err 11216 rm -f conftest.er1 11217 cat conftest.err >&5 11218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11219 (exit $ac_status); } && { 11220 test -z "$ac_cxx_werror_flag" || 11221 test ! -s conftest.err 11222 } && test -s conftest.$ac_objext; then 11223 ac_header_compiler=yes 11224 else 11225 $as_echo "$as_me: failed program was:" >&5 11226 sed 's/^/| /' conftest.$ac_ext >&5 11227 11228 ac_header_compiler=no 11229 fi 11230 11231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11232 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11233 $as_echo "$ac_header_compiler" >&6; } 11234 11235 # Is the header present? 11236 { $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&5 11237 $as_echo_n "checking GL/glui.h presence... " >&6; } 11238 cat >conftest.$ac_ext <<_ACEOF 11239 /* confdefs.h. */ 11240 _ACEOF 11241 cat confdefs.h >>conftest.$ac_ext 11242 cat >>conftest.$ac_ext <<_ACEOF 11243 /* end confdefs.h. */ 11244 #include <GL/glui.h> 11245 _ACEOF 11246 if { (ac_try="$ac_cpp conftest.$ac_ext" 11247 case "(($ac_try" in 11248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11249 *) ac_try_echo=$ac_try;; 11250 esac 11251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11252 $as_echo "$ac_try_echo") >&5 11253 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11254 ac_status=$? 11255 grep -v '^ *+' conftest.er1 >conftest.err 11256 rm -f conftest.er1 11257 cat conftest.err >&5 11258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11259 (exit $ac_status); } >/dev/null && { 11260 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11261 test ! -s conftest.err 11262 }; then 11263 ac_header_preproc=yes 11264 else 11265 $as_echo "$as_me: failed program was:" >&5 11266 sed 's/^/| /' conftest.$ac_ext >&5 11267 11268 ac_header_preproc=no 11269 fi 11270 11271 rm -f conftest.err conftest.$ac_ext 11272 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11273 $as_echo "$ac_header_preproc" >&6; } 11274 11275 # So? What about this header? 11276 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11277 yes:no: ) 11278 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 11279 $as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11280 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5 11281 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;} 11282 ac_header_preproc=yes 11283 ;; 11284 no:yes:* ) 11285 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5 11286 $as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;} 11287 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: check for missing prerequisite headers?" >&5 11288 $as_echo "$as_me: WARNING: GL/glui.h: check for missing prerequisite headers?" >&2;} 11289 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5 11290 $as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;} 11291 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&5 11292 $as_echo "$as_me: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&2;} 11293 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5 11294 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;} 11295 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5 11296 $as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;} 11297 ( cat <<\_ASBOX 11298 ## ----------------------------------- ## 11299 ## Report this to rappture@nanohub.org ## 11300 ## ----------------------------------- ## 11301 _ASBOX 11302 ) | sed "s/^/$as_me: WARNING: /" >&2 11303 ;; 11304 esac 11305 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 11306 $as_echo_n "checking for GL/glui.h... " >&6; } 11307 if test "${ac_cv_header_GL_glui_h+set}" = set; then 11308 $as_echo_n "(cached) " >&6 11309 else 11310 ac_cv_header_GL_glui_h=$ac_header_preproc 11311 fi 11312 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 11313 $as_echo "$ac_cv_header_GL_glui_h" >&6; } 11314 11315 fi 11316 11317 11318 if test "${ac_cv_header_glui_h+set}" = set; then 11319 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 11320 $as_echo_n "checking for glui.h... " >&6; } 11321 if test "${ac_cv_header_glui_h+set}" = set; then 11322 $as_echo_n "(cached) " >&6 11323 fi 11324 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 11325 $as_echo "$ac_cv_header_glui_h" >&6; } 11326 else 11327 # Is the header compilable? 11328 { $as_echo "$as_me:$LINENO: checking glui.h usability" >&5 11329 $as_echo_n "checking glui.h usability... " >&6; } 11330 cat >conftest.$ac_ext <<_ACEOF 11331 /* confdefs.h. */ 11332 _ACEOF 11333 cat confdefs.h >>conftest.$ac_ext 11334 cat >>conftest.$ac_ext <<_ACEOF 11335 /* end confdefs.h. */ 11336 $ac_includes_default 11337 #include <glui.h> 11338 _ACEOF 11339 rm -f conftest.$ac_objext 11340 if { (ac_try="$ac_compile" 11341 case "(($ac_try" in 11342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11343 *) ac_try_echo=$ac_try;; 11344 esac 11345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11346 $as_echo "$ac_try_echo") >&5 11347 (eval "$ac_compile") 2>conftest.er1 11348 ac_status=$? 11349 grep -v '^ *+' conftest.er1 >conftest.err 11350 rm -f conftest.er1 11351 cat conftest.err >&5 11352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11353 (exit $ac_status); } && { 11354 test -z "$ac_cxx_werror_flag" || 11355 test ! -s conftest.err 11356 } && test -s conftest.$ac_objext; then 11357 ac_header_compiler=yes 11358 else 11359 $as_echo "$as_me: failed program was:" >&5 11360 sed 's/^/| /' conftest.$ac_ext >&5 11361 11362 ac_header_compiler=no 11363 fi 11364 11365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11366 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11367 $as_echo "$ac_header_compiler" >&6; } 11368 11369 # Is the header present? 11370 { $as_echo "$as_me:$LINENO: checking glui.h presence" >&5 11371 $as_echo_n "checking glui.h presence... " >&6; } 11372 cat >conftest.$ac_ext <<_ACEOF 11373 /* confdefs.h. */ 11374 _ACEOF 11375 cat confdefs.h >>conftest.$ac_ext 11376 cat >>conftest.$ac_ext <<_ACEOF 11377 /* end confdefs.h. */ 11378 #include <glui.h> 11379 _ACEOF 11380 if { (ac_try="$ac_cpp conftest.$ac_ext" 11381 case "(($ac_try" in 11382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11383 *) ac_try_echo=$ac_try;; 11384 esac 11385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11386 $as_echo "$ac_try_echo") >&5 11387 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11388 ac_status=$? 11389 grep -v '^ *+' conftest.er1 >conftest.err 11390 rm -f conftest.er1 11391 cat conftest.err >&5 11392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11393 (exit $ac_status); } >/dev/null && { 11394 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11395 test ! -s conftest.err 11396 }; then 11397 ac_header_preproc=yes 11398 else 11399 $as_echo "$as_me: failed program was:" >&5 11400 sed 's/^/| /' conftest.$ac_ext >&5 11401 11402 ac_header_preproc=no 11403 fi 11404 11405 rm -f conftest.err conftest.$ac_ext 11406 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11407 $as_echo "$ac_header_preproc" >&6; } 11408 11409 # So? What about this header? 11410 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11411 yes:no: ) 11412 { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 11413 $as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11414 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5 11415 $as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;} 11416 ac_header_preproc=yes 11417 ;; 11418 no:yes:* ) 11419 { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5 11420 $as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;} 11421 { $as_echo "$as_me:$LINENO: WARNING: glui.h: check for missing prerequisite headers?" >&5 11422 $as_echo "$as_me: WARNING: glui.h: check for missing prerequisite headers?" >&2;} 11423 { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5 11424 $as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;} 11425 { $as_echo "$as_me:$LINENO: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&5 11426 $as_echo "$as_me: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&2;} 11427 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5 11428 $as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;} 11429 { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5 11430 $as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;} 11431 ( cat <<\_ASBOX 11432 ## ----------------------------------- ## 11433 ## Report this to rappture@nanohub.org ## 11434 ## ----------------------------------- ## 11435 _ASBOX 11436 ) | sed "s/^/$as_me: WARNING: /" >&2 11437 ;; 11438 esac 11439 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 11440 $as_echo_n "checking for glui.h... " >&6; } 11441 if test "${ac_cv_header_glui_h+set}" = set; then 11442 $as_echo_n "(cached) " >&6 11443 else 11444 ac_cv_header_glui_h=$ac_header_preproc 11445 fi 11446 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 11447 $as_echo "$ac_cv_header_glui_h" >&6; } 11448 11449 fi 11450 11451 11452 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11453 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 11454 $as_echo_n "checking for GL/glut.h... " >&6; } 11455 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11456 $as_echo_n "(cached) " >&6 11457 fi 11458 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 11459 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 11460 else 11461 # Is the header compilable? 11462 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5 11463 $as_echo_n "checking GL/glut.h usability... " >&6; } 11464 cat >conftest.$ac_ext <<_ACEOF 11465 /* confdefs.h. */ 11466 _ACEOF 11467 cat confdefs.h >>conftest.$ac_ext 11468 cat >>conftest.$ac_ext <<_ACEOF 11469 /* end confdefs.h. */ 11470 $ac_includes_default 11471 #include <GL/glut.h> 11472 _ACEOF 11473 rm -f conftest.$ac_objext 11474 if { (ac_try="$ac_compile" 11475 case "(($ac_try" in 11476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11477 *) ac_try_echo=$ac_try;; 11478 esac 11479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11480 $as_echo "$ac_try_echo") >&5 11481 (eval "$ac_compile") 2>conftest.er1 11482 ac_status=$? 11483 grep -v '^ *+' conftest.er1 >conftest.err 11484 rm -f conftest.er1 11485 cat conftest.err >&5 11486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11487 (exit $ac_status); } && { 11488 test -z "$ac_cxx_werror_flag" || 11489 test ! -s conftest.err 11490 } && test -s conftest.$ac_objext; then 11491 ac_header_compiler=yes 11492 else 11493 $as_echo "$as_me: failed program was:" >&5 11494 sed 's/^/| /' conftest.$ac_ext >&5 11495 11496 ac_header_compiler=no 11497 fi 11498 11499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11500 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11501 $as_echo "$ac_header_compiler" >&6; } 11502 11503 # Is the header present? 11504 { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5 11505 $as_echo_n "checking GL/glut.h presence... " >&6; } 11506 cat >conftest.$ac_ext <<_ACEOF 11507 /* confdefs.h. */ 11508 _ACEOF 11509 cat confdefs.h >>conftest.$ac_ext 11510 cat >>conftest.$ac_ext <<_ACEOF 11511 /* end confdefs.h. */ 11512 #include <GL/glut.h> 11513 _ACEOF 11514 if { (ac_try="$ac_cpp conftest.$ac_ext" 11515 case "(($ac_try" in 11516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11517 *) ac_try_echo=$ac_try;; 11518 esac 11519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11520 $as_echo "$ac_try_echo") >&5 11521 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11522 ac_status=$? 11523 grep -v '^ *+' conftest.er1 >conftest.err 11524 rm -f conftest.er1 11525 cat conftest.err >&5 11526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11527 (exit $ac_status); } >/dev/null && { 11528 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11529 test ! -s conftest.err 11530 }; then 11531 ac_header_preproc=yes 11532 else 11533 $as_echo "$as_me: failed program was:" >&5 11534 sed 's/^/| /' conftest.$ac_ext >&5 11535 11536 ac_header_preproc=no 11537 fi 11538 11539 rm -f conftest.err conftest.$ac_ext 11540 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11541 $as_echo "$ac_header_preproc" >&6; } 11542 11543 # So? What about this header? 11544 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11545 yes:no: ) 11546 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5 11547 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11548 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5 11549 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;} 11550 ac_header_preproc=yes 11551 ;; 11552 no:yes:* ) 11553 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5 11554 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;} 11555 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5 11556 $as_echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;} 11557 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5 11558 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;} 11559 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5 11560 $as_echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;} 11561 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5 11562 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;} 11563 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5 11564 $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;} 11565 ( cat <<\_ASBOX 11566 ## ----------------------------------- ## 11567 ## Report this to rappture@nanohub.org ## 11568 ## ----------------------------------- ## 11569 _ASBOX 11570 ) | sed "s/^/$as_me: WARNING: /" >&2 11571 ;; 11572 esac 11573 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 11574 $as_echo_n "checking for GL/glut.h... " >&6; } 11575 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11576 $as_echo_n "(cached) " >&6 11577 else 11578 ac_cv_header_GL_glut_h=$ac_header_preproc 11579 fi 11580 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 11581 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 11582 11583 fi 11584 11585 11586 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11587 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 11588 $as_echo_n "checking for GL/glew.h... " >&6; } 11589 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11590 $as_echo_n "(cached) " >&6 11591 fi 11592 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 11593 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 11594 else 11595 # Is the header compilable? 11596 { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5 11597 $as_echo_n "checking GL/glew.h usability... " >&6; } 11598 cat >conftest.$ac_ext <<_ACEOF 11599 /* confdefs.h. */ 11600 _ACEOF 11601 cat confdefs.h >>conftest.$ac_ext 11602 cat >>conftest.$ac_ext <<_ACEOF 11603 /* end confdefs.h. */ 11604 $ac_includes_default 11605 #include <GL/glew.h> 11606 _ACEOF 11607 rm -f conftest.$ac_objext 11608 if { (ac_try="$ac_compile" 11609 case "(($ac_try" in 11610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11611 *) ac_try_echo=$ac_try;; 11612 esac 11613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11614 $as_echo "$ac_try_echo") >&5 11615 (eval "$ac_compile") 2>conftest.er1 11616 ac_status=$? 11617 grep -v '^ *+' conftest.er1 >conftest.err 11618 rm -f conftest.er1 11619 cat conftest.err >&5 11620 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11621 (exit $ac_status); } && { 11622 test -z "$ac_cxx_werror_flag" || 11623 test ! -s conftest.err 11624 } && test -s conftest.$ac_objext; then 11625 ac_header_compiler=yes 11626 else 11627 $as_echo "$as_me: failed program was:" >&5 11628 sed 's/^/| /' conftest.$ac_ext >&5 11629 11630 ac_header_compiler=no 11631 fi 11632 11633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11634 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11635 $as_echo "$ac_header_compiler" >&6; } 11636 11637 # Is the header present? 11638 { $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5 11639 $as_echo_n "checking GL/glew.h presence... " >&6; } 11640 cat >conftest.$ac_ext <<_ACEOF 11641 /* confdefs.h. */ 11642 _ACEOF 11643 cat confdefs.h >>conftest.$ac_ext 11644 cat >>conftest.$ac_ext <<_ACEOF 11645 /* end confdefs.h. */ 11646 #include <GL/glew.h> 11647 _ACEOF 11648 if { (ac_try="$ac_cpp conftest.$ac_ext" 11649 case "(($ac_try" in 11650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11651 *) ac_try_echo=$ac_try;; 11652 esac 11653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11654 $as_echo "$ac_try_echo") >&5 11655 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11656 ac_status=$? 11657 grep -v '^ *+' conftest.er1 >conftest.err 11658 rm -f conftest.er1 11659 cat conftest.err >&5 11660 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11661 (exit $ac_status); } >/dev/null && { 11662 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11663 test ! -s conftest.err 11664 }; then 11665 ac_header_preproc=yes 11666 else 11667 $as_echo "$as_me: failed program was:" >&5 11668 sed 's/^/| /' conftest.$ac_ext >&5 11669 11670 ac_header_preproc=no 11671 fi 11672 11673 rm -f conftest.err conftest.$ac_ext 11674 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11675 $as_echo "$ac_header_preproc" >&6; } 11676 11677 # So? What about this header? 11678 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11679 yes:no: ) 11680 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5 11681 $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11682 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5 11683 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;} 11684 ac_header_preproc=yes 11685 ;; 11686 no:yes:* ) 11687 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5 11688 $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;} 11689 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: check for missing prerequisite headers?" >&5 11690 $as_echo "$as_me: WARNING: GL/glew.h: check for missing prerequisite headers?" >&2;} 11691 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5 11692 $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;} 11693 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&5 11694 $as_echo "$as_me: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&2;} 11695 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5 11696 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;} 11697 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5 11698 $as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;} 11699 ( cat <<\_ASBOX 11700 ## ----------------------------------- ## 11701 ## Report this to rappture@nanohub.org ## 11702 ## ----------------------------------- ## 11703 _ASBOX 11704 ) | sed "s/^/$as_me: WARNING: /" >&2 11705 ;; 11706 esac 11707 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 11708 $as_echo_n "checking for GL/glew.h... " >&6; } 11709 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11710 $as_echo_n "(cached) " >&6 11711 else 11712 ac_cv_header_GL_glew_h=$ac_header_preproc 11713 fi 11714 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 11715 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 11716 11717 fi 11718 11719 11720 11721 11722 11723 11724 11725 11726 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 11727 do 11728 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11730 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11731 $as_echo_n "checking for $ac_header... " >&6; } 11732 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11733 $as_echo_n "(cached) " >&6 11734 fi 11735 ac_res=`eval 'as_val=${'$as_ac_Header'} 11736 $as_echo "$as_val"'` 11737 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11738 $as_echo "$ac_res" >&6; } 11739 else 11740 # Is the header compilable? 11741 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11742 $as_echo_n "checking $ac_header usability... " >&6; } 11743 cat >conftest.$ac_ext <<_ACEOF 11744 /* confdefs.h. */ 11745 _ACEOF 11746 cat confdefs.h >>conftest.$ac_ext 11747 cat >>conftest.$ac_ext <<_ACEOF 11748 /* end confdefs.h. */ 11749 $ac_includes_default 11750 #include <$ac_header> 11751 _ACEOF 11752 rm -f conftest.$ac_objext 11753 if { (ac_try="$ac_compile" 11754 case "(($ac_try" in 11755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11756 *) ac_try_echo=$ac_try;; 11757 esac 11758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11759 $as_echo "$ac_try_echo") >&5 11760 (eval "$ac_compile") 2>conftest.er1 11761 ac_status=$? 11762 grep -v '^ *+' conftest.er1 >conftest.err 11763 rm -f conftest.er1 11764 cat conftest.err >&5 11765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11766 (exit $ac_status); } && { 11767 test -z "$ac_cxx_werror_flag" || 11768 test ! -s conftest.err 11769 } && test -s conftest.$ac_objext; then 11770 ac_header_compiler=yes 11771 else 11772 $as_echo "$as_me: failed program was:" >&5 11773 sed 's/^/| /' conftest.$ac_ext >&5 11774 11775 ac_header_compiler=no 11776 fi 11777 11778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11779 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11780 $as_echo "$ac_header_compiler" >&6; } 11781 11782 # Is the header present? 11783 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11784 $as_echo_n "checking $ac_header presence... " >&6; } 11785 cat >conftest.$ac_ext <<_ACEOF 11786 /* confdefs.h. */ 11787 _ACEOF 11788 cat confdefs.h >>conftest.$ac_ext 11789 cat >>conftest.$ac_ext <<_ACEOF 11790 /* end confdefs.h. */ 11791 #include <$ac_header> 11792 _ACEOF 11793 if { (ac_try="$ac_cpp conftest.$ac_ext" 11794 case "(($ac_try" in 11795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11796 *) ac_try_echo=$ac_try;; 11797 esac 11798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11799 $as_echo "$ac_try_echo") >&5 11800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11801 ac_status=$? 11802 grep -v '^ *+' conftest.er1 >conftest.err 11803 rm -f conftest.er1 11804 cat conftest.err >&5 11805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11806 (exit $ac_status); } >/dev/null && { 11807 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11808 test ! -s conftest.err 11809 }; then 11810 ac_header_preproc=yes 11811 else 11812 $as_echo "$as_me: failed program was:" >&5 11813 sed 's/^/| /' conftest.$ac_ext >&5 11814 11815 ac_header_preproc=no 11816 fi 11817 11818 rm -f conftest.err conftest.$ac_ext 11819 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11820 $as_echo "$ac_header_preproc" >&6; } 11821 11822 # So? What about this header? 11823 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11824 yes:no: ) 11825 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11826 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11827 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11828 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11829 ac_header_preproc=yes 11830 ;; 11831 no:yes:* ) 11832 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11833 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11834 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11835 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11836 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11837 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11838 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11839 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11840 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11841 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11842 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11843 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11844 ( cat <<\_ASBOX 11845 ## ----------------------------------- ## 11846 ## Report this to rappture@nanohub.org ## 11847 ## ----------------------------------- ## 11848 _ASBOX 11849 ) | sed "s/^/$as_me: WARNING: /" >&2 11850 ;; 11851 esac 11852 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11853 $as_echo_n "checking for $ac_header... " >&6; } 11854 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11855 $as_echo_n "(cached) " >&6 11856 else 11857 eval "$as_ac_Header=\$ac_header_preproc" 11858 fi 11859 ac_res=`eval 'as_val=${'$as_ac_Header'} 11860 $as_echo "$as_val"'` 11861 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11862 $as_echo "$ac_res" >&6; } 11863 11864 fi 11865 as_val=`eval 'as_val=${'$as_ac_Header'} 11866 $as_echo "$as_val"'` 11867 if test "x$as_val" = x""yes; then 8148 11868 cat >>confdefs.h <<_ACEOF 8149 11869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 8155 11875 8156 11876 8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenDX headers" >&5 11877 11878 11879 11880 11881 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 11882 do 11883 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11884 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11885 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11886 $as_echo_n "checking for $ac_header... " >&6; } 11887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11888 $as_echo_n "(cached) " >&6 11889 fi 11890 ac_res=`eval 'as_val=${'$as_ac_Header'} 11891 $as_echo "$as_val"'` 11892 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11893 $as_echo "$ac_res" >&6; } 11894 else 11895 # Is the header compilable? 11896 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11897 $as_echo_n "checking $ac_header usability... " >&6; } 11898 cat >conftest.$ac_ext <<_ACEOF 11899 /* confdefs.h. */ 11900 _ACEOF 11901 cat confdefs.h >>conftest.$ac_ext 11902 cat >>conftest.$ac_ext <<_ACEOF 11903 /* end confdefs.h. */ 11904 $ac_includes_default 11905 #include <$ac_header> 11906 _ACEOF 11907 rm -f conftest.$ac_objext 11908 if { (ac_try="$ac_compile" 11909 case "(($ac_try" in 11910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11911 *) ac_try_echo=$ac_try;; 11912 esac 11913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11914 $as_echo "$ac_try_echo") >&5 11915 (eval "$ac_compile") 2>conftest.er1 11916 ac_status=$? 11917 grep -v '^ *+' conftest.er1 >conftest.err 11918 rm -f conftest.er1 11919 cat conftest.err >&5 11920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11921 (exit $ac_status); } && { 11922 test -z "$ac_cxx_werror_flag" || 11923 test ! -s conftest.err 11924 } && test -s conftest.$ac_objext; then 11925 ac_header_compiler=yes 11926 else 11927 $as_echo "$as_me: failed program was:" >&5 11928 sed 's/^/| /' conftest.$ac_ext >&5 11929 11930 ac_header_compiler=no 11931 fi 11932 11933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11934 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11935 $as_echo "$ac_header_compiler" >&6; } 11936 11937 # Is the header present? 11938 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11939 $as_echo_n "checking $ac_header presence... " >&6; } 11940 cat >conftest.$ac_ext <<_ACEOF 11941 /* confdefs.h. */ 11942 _ACEOF 11943 cat confdefs.h >>conftest.$ac_ext 11944 cat >>conftest.$ac_ext <<_ACEOF 11945 /* end confdefs.h. */ 11946 #include <$ac_header> 11947 _ACEOF 11948 if { (ac_try="$ac_cpp conftest.$ac_ext" 11949 case "(($ac_try" in 11950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11951 *) ac_try_echo=$ac_try;; 11952 esac 11953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11954 $as_echo "$ac_try_echo") >&5 11955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11956 ac_status=$? 11957 grep -v '^ *+' conftest.er1 >conftest.err 11958 rm -f conftest.er1 11959 cat conftest.err >&5 11960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11961 (exit $ac_status); } >/dev/null && { 11962 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11963 test ! -s conftest.err 11964 }; then 11965 ac_header_preproc=yes 11966 else 11967 $as_echo "$as_me: failed program was:" >&5 11968 sed 's/^/| /' conftest.$ac_ext >&5 11969 11970 ac_header_preproc=no 11971 fi 11972 11973 rm -f conftest.err conftest.$ac_ext 11974 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11975 $as_echo "$ac_header_preproc" >&6; } 11976 11977 # So? What about this header? 11978 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11979 yes:no: ) 11980 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11981 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11982 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11983 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11984 ac_header_preproc=yes 11985 ;; 11986 no:yes:* ) 11987 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11988 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11989 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11990 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11991 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11992 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11993 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11994 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11995 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11996 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11997 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11998 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11999 ( cat <<\_ASBOX 12000 ## ----------------------------------- ## 12001 ## Report this to rappture@nanohub.org ## 12002 ## ----------------------------------- ## 12003 _ASBOX 12004 ) | sed "s/^/$as_me: WARNING: /" >&2 12005 ;; 12006 esac 12007 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12008 $as_echo_n "checking for $ac_header... " >&6; } 12009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12010 $as_echo_n "(cached) " >&6 12011 else 12012 eval "$as_ac_Header=\$ac_header_preproc" 12013 fi 12014 ac_res=`eval 'as_val=${'$as_ac_Header'} 12015 $as_echo "$as_val"'` 12016 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12017 $as_echo "$ac_res" >&6; } 12018 12019 fi 12020 as_val=`eval 'as_val=${'$as_ac_Header'} 12021 $as_echo "$as_val"'` 12022 if test "x$as_val" = x""yes; then 12023 cat >>confdefs.h <<_ACEOF 12024 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12025 _ACEOF 12026 12027 fi 12028 12029 done 12030 12031 12032 12033 for ac_func in accept4 12034 do 12035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12036 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12037 $as_echo_n "checking for $ac_func... " >&6; } 12038 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12039 $as_echo_n "(cached) " >&6 12040 else 12041 cat >conftest.$ac_ext <<_ACEOF 12042 /* confdefs.h. */ 12043 _ACEOF 12044 cat confdefs.h >>conftest.$ac_ext 12045 cat >>conftest.$ac_ext <<_ACEOF 12046 /* end confdefs.h. */ 12047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12048 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12049 #define $ac_func innocuous_$ac_func 12050 12051 /* System header to define __stub macros and hopefully few prototypes, 12052 which can conflict with char $ac_func (); below. 12053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12054 <limits.h> exists even on freestanding compilers. */ 12055 12056 #ifdef __STDC__ 12057 # include <limits.h> 12058 #else 12059 # include <assert.h> 12060 #endif 12061 12062 #undef $ac_func 12063 12064 /* Override any GCC internal prototype to avoid an error. 12065 Use char because int might match the return type of a GCC 12066 builtin and then its argument prototype would still apply. */ 12067 #ifdef __cplusplus 12068 extern "C" 12069 #endif 12070 char $ac_func (); 12071 /* The GNU C library defines this for functions which it implements 12072 to always fail with ENOSYS. Some functions are actually named 12073 something starting with __ and the normal name is an alias. */ 12074 #if defined __stub_$ac_func || defined __stub___$ac_func 12075 choke me 12076 #endif 12077 12078 int 12079 main () 12080 { 12081 return $ac_func (); 12082 ; 12083 return 0; 12084 } 12085 _ACEOF 12086 rm -f conftest.$ac_objext conftest$ac_exeext 12087 if { (ac_try="$ac_link" 12088 case "(($ac_try" in 12089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12090 *) ac_try_echo=$ac_try;; 12091 esac 12092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12093 $as_echo "$ac_try_echo") >&5 12094 (eval "$ac_link") 2>conftest.er1 12095 ac_status=$? 12096 grep -v '^ *+' conftest.er1 >conftest.err 12097 rm -f conftest.er1 12098 cat conftest.err >&5 12099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12100 (exit $ac_status); } && { 12101 test -z "$ac_cxx_werror_flag" || 12102 test ! -s conftest.err 12103 } && test -s conftest$ac_exeext && { 12104 test "$cross_compiling" = yes || 12105 $as_test_x conftest$ac_exeext 12106 }; then 12107 eval "$as_ac_var=yes" 12108 else 12109 $as_echo "$as_me: failed program was:" >&5 12110 sed 's/^/| /' conftest.$ac_ext >&5 12111 12112 eval "$as_ac_var=no" 12113 fi 12114 12115 rm -rf conftest.dSYM 12116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12117 conftest$ac_exeext conftest.$ac_ext 12118 fi 12119 ac_res=`eval 'as_val=${'$as_ac_var'} 12120 $as_echo "$as_val"'` 12121 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12122 $as_echo "$ac_res" >&6; } 12123 as_val=`eval 'as_val=${'$as_ac_var'} 12124 $as_echo "$as_val"'` 12125 if test "x$as_val" = x""yes; then 12126 cat >>confdefs.h <<_ACEOF 12127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12128 _ACEOF 12129 12130 fi 12131 done 12132 12133 12134 { $as_echo "$as_me:$LINENO: checking for OpenDX headers" >&5 8158 12135 $as_echo_n "checking for OpenDX headers... " >&6; } 8159 12136 DX_INC_DIR="" … … 8169 12146 done 8170 12147 if test "x${DX_INC_DIR}" = "x" ; then 8171 as_fn_error $? "cannot find OpenDX include files" "$LINENO" 5 8172 fi 8173 8174 if test "${DX_INC_DIR}" = "/usr/include" ; then 12148 { $as_echo "$as_me:$LINENO: WARNING: cannot find OpenDX include files" >&5 12149 $as_echo "$as_me: WARNING: cannot find OpenDX include files" >&2;} 8175 12150 DX_INC_SPEC="" 12151 elif test "${DX_INC_DIR}" = "/usr/include" ; then 12152 DX_INC_SPEC="" 8176 12153 else 8177 12154 DX_INC_SPEC="-I{DX_INC_DIR}" 8178 12155 fi 8179 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: ${DX_INC_DIR}" >&512156 { $as_echo "$as_me:$LINENO: result: ${DX_INC_DIR}" >&5 8180 12157 $as_echo "${DX_INC_DIR}" >&6; } 8181 12158 8182 12159 DX_LIB_DIR="" 8183 found=no8184 12160 for dir in \ 8185 12161 /usr/lib \ … … 8193 12169 LDFLAGS="-L$dir $LDFLAGS" 8194 12170 unset ac_cv_lib_DXcallm_DXGetComponentValue 8195 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for DXGetComponentValue in -lDXcallm" >&512171 { $as_echo "$as_me:$LINENO: checking for DXGetComponentValue in -lDXcallm" >&5 8196 12172 $as_echo_n "checking for DXGetComponentValue in -lDXcallm... " >&6; } 8197 if ${ac_cv_lib_DXcallm_DXGetComponentValue+:} false; then :12173 if test "${ac_cv_lib_DXcallm_DXGetComponentValue+set}" = set; then 8198 12174 $as_echo_n "(cached) " >&6 8199 12175 else 8200 12176 ac_check_lib_save_LIBS=$LIBS 8201 12177 LIBS="-lDXcallm -lX11 $LIBS" 8202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12178 cat >conftest.$ac_ext <<_ACEOF 12179 /* confdefs.h. */ 12180 _ACEOF 12181 cat confdefs.h >>conftest.$ac_ext 12182 cat >>conftest.$ac_ext <<_ACEOF 8203 12183 /* end confdefs.h. */ 8204 12184 … … 8218 12198 } 8219 12199 _ACEOF 8220 if ac_fn_cxx_try_link "$LINENO"; then : 12200 rm -f conftest.$ac_objext conftest$ac_exeext 12201 if { (ac_try="$ac_link" 12202 case "(($ac_try" in 12203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12204 *) ac_try_echo=$ac_try;; 12205 esac 12206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12207 $as_echo "$ac_try_echo") >&5 12208 (eval "$ac_link") 2>conftest.er1 12209 ac_status=$? 12210 grep -v '^ *+' conftest.er1 >conftest.err 12211 rm -f conftest.er1 12212 cat conftest.err >&5 12213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12214 (exit $ac_status); } && { 12215 test -z "$ac_cxx_werror_flag" || 12216 test ! -s conftest.err 12217 } && test -s conftest$ac_exeext && { 12218 test "$cross_compiling" = yes || 12219 $as_test_x conftest$ac_exeext 12220 }; then 8221 12221 ac_cv_lib_DXcallm_DXGetComponentValue=yes 8222 12222 else 8223 ac_cv_lib_DXcallm_DXGetComponentValue=no 8224 fi 8225 rm -f core conftest.err conftest.$ac_objext \ 8226 conftest$ac_exeext conftest.$ac_ext 12223 $as_echo "$as_me: failed program was:" >&5 12224 sed 's/^/| /' conftest.$ac_ext >&5 12225 12226 ac_cv_lib_DXcallm_DXGetComponentValue=no 12227 fi 12228 12229 rm -rf conftest.dSYM 12230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12231 conftest$ac_exeext conftest.$ac_ext 8227 12232 LIBS=$ac_check_lib_save_LIBS 8228 12233 fi 8229 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&512234 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&5 8230 12235 $as_echo "$ac_cv_lib_DXcallm_DXGetComponentValue" >&6; } 8231 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = x yes; then :12236 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = x""yes; then 8232 12237 found=yes 8233 12238 else … … 8241 12246 fi 8242 12247 done 8243 if test "x{$DX_LIB_DIR}" = "x" ; then 8244 as_fn_error $? "cannot find OpenDX libraries" "$LINENO" 5 8245 fi 8246 8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libDXcallm library" >&5 12248 if test "x${DX_LIB_DIR}" = "x" ; then 12249 { $as_echo "$as_me:$LINENO: WARNING: cannot find OpenDX libraries" >&5 12250 $as_echo "$as_me: WARNING: cannot find OpenDX libraries" >&2;} 12251 fi 12252 12253 { $as_echo "$as_me:$LINENO: checking for libDXcallm library" >&5 8248 12254 $as_echo_n "checking for libDXcallm library... " >&6; } 8249 if test " ${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then12255 if test "x${DX_LIB_DIR}" = "x" -o "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then 8250 12256 DX_LIB_SPEC="" 8251 12257 else 8252 12258 DX_LIB_SPEC="-L${DX_LIB_DIR}" 8253 12259 fi 8254 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $DX_LIB_SPEC" >&512260 { $as_echo "$as_me:$LINENO: result: $DX_LIB_SPEC" >&5 8255 12261 $as_echo "$DX_LIB_SPEC" >&6; } 8256 12262 12263 12264 8257 12265 for ac_header in opencv/cv.h opencv/highgui.h 8258 do : 8259 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8260 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8261 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12266 do 12267 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12269 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12270 $as_echo_n "checking for $ac_header... " >&6; } 12271 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12272 $as_echo_n "(cached) " >&6 12273 fi 12274 ac_res=`eval 'as_val=${'$as_ac_Header'} 12275 $as_echo "$as_val"'` 12276 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12277 $as_echo "$ac_res" >&6; } 12278 else 12279 # Is the header compilable? 12280 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12281 $as_echo_n "checking $ac_header usability... " >&6; } 12282 cat >conftest.$ac_ext <<_ACEOF 12283 /* confdefs.h. */ 12284 _ACEOF 12285 cat confdefs.h >>conftest.$ac_ext 12286 cat >>conftest.$ac_ext <<_ACEOF 12287 /* end confdefs.h. */ 12288 $ac_includes_default 12289 #include <$ac_header> 12290 _ACEOF 12291 rm -f conftest.$ac_objext 12292 if { (ac_try="$ac_compile" 12293 case "(($ac_try" in 12294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12295 *) ac_try_echo=$ac_try;; 12296 esac 12297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12298 $as_echo "$ac_try_echo") >&5 12299 (eval "$ac_compile") 2>conftest.er1 12300 ac_status=$? 12301 grep -v '^ *+' conftest.er1 >conftest.err 12302 rm -f conftest.er1 12303 cat conftest.err >&5 12304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12305 (exit $ac_status); } && { 12306 test -z "$ac_cxx_werror_flag" || 12307 test ! -s conftest.err 12308 } && test -s conftest.$ac_objext; then 12309 ac_header_compiler=yes 12310 else 12311 $as_echo "$as_me: failed program was:" >&5 12312 sed 's/^/| /' conftest.$ac_ext >&5 12313 12314 ac_header_compiler=no 12315 fi 12316 12317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12318 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12319 $as_echo "$ac_header_compiler" >&6; } 12320 12321 # Is the header present? 12322 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12323 $as_echo_n "checking $ac_header presence... " >&6; } 12324 cat >conftest.$ac_ext <<_ACEOF 12325 /* confdefs.h. */ 12326 _ACEOF 12327 cat confdefs.h >>conftest.$ac_ext 12328 cat >>conftest.$ac_ext <<_ACEOF 12329 /* end confdefs.h. */ 12330 #include <$ac_header> 12331 _ACEOF 12332 if { (ac_try="$ac_cpp conftest.$ac_ext" 12333 case "(($ac_try" in 12334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12335 *) ac_try_echo=$ac_try;; 12336 esac 12337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12338 $as_echo "$ac_try_echo") >&5 12339 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12340 ac_status=$? 12341 grep -v '^ *+' conftest.er1 >conftest.err 12342 rm -f conftest.er1 12343 cat conftest.err >&5 12344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12345 (exit $ac_status); } >/dev/null && { 12346 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12347 test ! -s conftest.err 12348 }; then 12349 ac_header_preproc=yes 12350 else 12351 $as_echo "$as_me: failed program was:" >&5 12352 sed 's/^/| /' conftest.$ac_ext >&5 12353 12354 ac_header_preproc=no 12355 fi 12356 12357 rm -f conftest.err conftest.$ac_ext 12358 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12359 $as_echo "$ac_header_preproc" >&6; } 12360 12361 # So? What about this header? 12362 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12363 yes:no: ) 12364 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12365 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12366 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12367 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12368 ac_header_preproc=yes 12369 ;; 12370 no:yes:* ) 12371 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12372 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12373 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12374 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12375 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12376 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12377 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12378 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12379 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12380 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12381 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12382 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12383 ( cat <<\_ASBOX 12384 ## ----------------------------------- ## 12385 ## Report this to rappture@nanohub.org ## 12386 ## ----------------------------------- ## 12387 _ASBOX 12388 ) | sed "s/^/$as_me: WARNING: /" >&2 12389 ;; 12390 esac 12391 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12392 $as_echo_n "checking for $ac_header... " >&6; } 12393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12394 $as_echo_n "(cached) " >&6 12395 else 12396 eval "$as_ac_Header=\$ac_header_preproc" 12397 fi 12398 ac_res=`eval 'as_val=${'$as_ac_Header'} 12399 $as_echo "$as_val"'` 12400 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12401 $as_echo "$ac_res" >&6; } 12402 12403 fi 12404 as_val=`eval 'as_val=${'$as_ac_Header'} 12405 $as_echo "$as_val"'` 12406 if test "x$as_val" = x""yes; then 8262 12407 cat >>confdefs.h <<_ACEOF 8263 12408 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 8268 12413 done 8269 12414 8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cvLoadImage in -lcv" >&5 8271 $as_echo_n "checking for cvLoadImage in -lcv... " >&6; } 8272 if ${ac_cv_lib_cv_cvLoadImage+:} false; then : 12415 12416 { $as_echo "$as_me:$LINENO: checking for cvLoadImage in -lhighgui" >&5 12417 $as_echo_n "checking for cvLoadImage in -lhighgui... " >&6; } 12418 if test "${ac_cv_lib_highgui_cvLoadImage+set}" = set; then 8273 12419 $as_echo_n "(cached) " >&6 8274 12420 else 8275 12421 ac_check_lib_save_LIBS=$LIBS 8276 LIBS="-lcv $LIBS" 8277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12422 LIBS="-lhighgui $LIBS" 12423 cat >conftest.$ac_ext <<_ACEOF 12424 /* confdefs.h. */ 12425 _ACEOF 12426 cat confdefs.h >>conftest.$ac_ext 12427 cat >>conftest.$ac_ext <<_ACEOF 8278 12428 /* end confdefs.h. */ 8279 12429 … … 8293 12443 } 8294 12444 _ACEOF 8295 if ac_fn_cxx_try_link "$LINENO"; then : 8296 ac_cv_lib_cv_cvLoadImage=yes 8297 else 8298 ac_cv_lib_cv_cvLoadImage=no 8299 fi 8300 rm -f core conftest.err conftest.$ac_objext \ 8301 conftest$ac_exeext conftest.$ac_ext 12445 rm -f conftest.$ac_objext conftest$ac_exeext 12446 if { (ac_try="$ac_link" 12447 case "(($ac_try" in 12448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12449 *) ac_try_echo=$ac_try;; 12450 esac 12451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12452 $as_echo "$ac_try_echo") >&5 12453 (eval "$ac_link") 2>conftest.er1 12454 ac_status=$? 12455 grep -v '^ *+' conftest.er1 >conftest.err 12456 rm -f conftest.er1 12457 cat conftest.err >&5 12458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12459 (exit $ac_status); } && { 12460 test -z "$ac_cxx_werror_flag" || 12461 test ! -s conftest.err 12462 } && test -s conftest$ac_exeext && { 12463 test "$cross_compiling" = yes || 12464 $as_test_x conftest$ac_exeext 12465 }; then 12466 ac_cv_lib_highgui_cvLoadImage=yes 12467 else 12468 $as_echo "$as_me: failed program was:" >&5 12469 sed 's/^/| /' conftest.$ac_ext >&5 12470 12471 ac_cv_lib_highgui_cvLoadImage=no 12472 fi 12473 12474 rm -rf conftest.dSYM 12475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12476 conftest$ac_exeext conftest.$ac_ext 8302 12477 LIBS=$ac_check_lib_save_LIBS 8303 12478 fi 8304 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_cv_cvLoadImage" >&58305 $as_echo "$ac_cv_lib_ cv_cvLoadImage" >&6; }8306 if test "x$ac_cv_lib_ cv_cvLoadImage" = xyes; then :12479 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_highgui_cvLoadImage" >&5 12480 $as_echo "$ac_cv_lib_highgui_cvLoadImage" >&6; } 12481 if test "x$ac_cv_lib_highgui_cvLoadImage" = x""yes; then 8307 12482 cat >>confdefs.h <<_ACEOF 8308 #define HAVE_LIB CV18309 _ACEOF 8310 8311 LIBS="-l cv$LIBS"12483 #define HAVE_LIBHIGHGUI 1 12484 _ACEOF 12485 12486 LIBS="-lhighgui $LIBS" 8312 12487 8313 12488 fi … … 8321 12496 fi 8322 12497 12498 12499 12500 12501 12502 12503 8323 12504 for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h 8324 do : 8325 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8326 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " 12505 do 12506 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12507 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12508 $as_echo_n "checking for $ac_header... " >&6; } 12509 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12510 $as_echo_n "(cached) " >&6 12511 else 12512 cat >conftest.$ac_ext <<_ACEOF 12513 /* confdefs.h. */ 12514 _ACEOF 12515 cat confdefs.h >>conftest.$ac_ext 12516 cat >>conftest.$ac_ext <<_ACEOF 12517 /* end confdefs.h. */ 12518 8327 12519 #define SIZEOF_LONG ${ac_cv_sizeof_long} 8328 12520 #if SIZEOF_LONG == 8 … … 8334 12526 #endif 8335 12527 8336 " 8337 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12528 12529 #include <$ac_header> 12530 _ACEOF 12531 rm -f conftest.$ac_objext 12532 if { (ac_try="$ac_compile" 12533 case "(($ac_try" in 12534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12535 *) ac_try_echo=$ac_try;; 12536 esac 12537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12538 $as_echo "$ac_try_echo") >&5 12539 (eval "$ac_compile") 2>conftest.er1 12540 ac_status=$? 12541 grep -v '^ *+' conftest.er1 >conftest.err 12542 rm -f conftest.er1 12543 cat conftest.err >&5 12544 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12545 (exit $ac_status); } && { 12546 test -z "$ac_cxx_werror_flag" || 12547 test ! -s conftest.err 12548 } && test -s conftest.$ac_objext; then 12549 eval "$as_ac_Header=yes" 12550 else 12551 $as_echo "$as_me: failed program was:" >&5 12552 sed 's/^/| /' conftest.$ac_ext >&5 12553 12554 eval "$as_ac_Header=no" 12555 fi 12556 12557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12558 fi 12559 ac_res=`eval 'as_val=${'$as_ac_Header'} 12560 $as_echo "$as_val"'` 12561 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12562 $as_echo "$ac_res" >&6; } 12563 as_val=`eval 'as_val=${'$as_ac_Header'} 12564 $as_echo "$as_val"'` 12565 if test "x$as_val" = x""yes; then 8338 12566 cat >>confdefs.h <<_ACEOF 8339 12567 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 8346 12574 CPPFLAGS=$save_CPPFLAGS 8347 12575 8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_alloc_frame in -lavcodec" >&5 12576 12577 { $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame in -lavcodec" >&5 8349 12578 $as_echo_n "checking for avcodec_alloc_frame in -lavcodec... " >&6; } 8350 if ${ac_cv_lib_avcodec_avcodec_alloc_frame+:} false; then :12579 if test "${ac_cv_lib_avcodec_avcodec_alloc_frame+set}" = set; then 8351 12580 $as_echo_n "(cached) " >&6 8352 12581 else 8353 12582 ac_check_lib_save_LIBS=$LIBS 8354 12583 LIBS="-lavcodec $LIBS" 8355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12584 cat >conftest.$ac_ext <<_ACEOF 12585 /* confdefs.h. */ 12586 _ACEOF 12587 cat confdefs.h >>conftest.$ac_ext 12588 cat >>conftest.$ac_ext <<_ACEOF 8356 12589 /* end confdefs.h. */ 8357 12590 … … 8371 12604 } 8372 12605 _ACEOF 8373 if ac_fn_cxx_try_link "$LINENO"; then : 12606 rm -f conftest.$ac_objext conftest$ac_exeext 12607 if { (ac_try="$ac_link" 12608 case "(($ac_try" in 12609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12610 *) ac_try_echo=$ac_try;; 12611 esac 12612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12613 $as_echo "$ac_try_echo") >&5 12614 (eval "$ac_link") 2>conftest.er1 12615 ac_status=$? 12616 grep -v '^ *+' conftest.er1 >conftest.err 12617 rm -f conftest.er1 12618 cat conftest.err >&5 12619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12620 (exit $ac_status); } && { 12621 test -z "$ac_cxx_werror_flag" || 12622 test ! -s conftest.err 12623 } && test -s conftest$ac_exeext && { 12624 test "$cross_compiling" = yes || 12625 $as_test_x conftest$ac_exeext 12626 }; then 8374 12627 ac_cv_lib_avcodec_avcodec_alloc_frame=yes 8375 12628 else 8376 ac_cv_lib_avcodec_avcodec_alloc_frame=no 8377 fi 8378 rm -f core conftest.err conftest.$ac_objext \ 8379 conftest$ac_exeext conftest.$ac_ext 12629 $as_echo "$as_me: failed program was:" >&5 12630 sed 's/^/| /' conftest.$ac_ext >&5 12631 12632 ac_cv_lib_avcodec_avcodec_alloc_frame=no 12633 fi 12634 12635 rm -rf conftest.dSYM 12636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12637 conftest$ac_exeext conftest.$ac_ext 8380 12638 LIBS=$ac_check_lib_save_LIBS 8381 12639 fi 8382 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&512640 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5 8383 12641 $as_echo "$ac_cv_lib_avcodec_avcodec_alloc_frame" >&6; } 8384 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x yes; then :12642 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x""yes; then 8385 12643 cat >>confdefs.h <<_ACEOF 8386 12644 #define HAVE_LIBAVCODEC 1 … … 8392 12650 8393 12651 # Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found 8394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avformat_alloc_context in -lavformat" >&5 12652 12653 { $as_echo "$as_me:$LINENO: checking for avformat_alloc_context in -lavformat" >&5 8395 12654 $as_echo_n "checking for avformat_alloc_context in -lavformat... " >&6; } 8396 if ${ac_cv_lib_avformat_avformat_alloc_context+:} false; then :12655 if test "${ac_cv_lib_avformat_avformat_alloc_context+set}" = set; then 8397 12656 $as_echo_n "(cached) " >&6 8398 12657 else 8399 12658 ac_check_lib_save_LIBS=$LIBS 8400 12659 LIBS="-lavformat $LIBS" 8401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12660 cat >conftest.$ac_ext <<_ACEOF 12661 /* confdefs.h. */ 12662 _ACEOF 12663 cat confdefs.h >>conftest.$ac_ext 12664 cat >>conftest.$ac_ext <<_ACEOF 8402 12665 /* end confdefs.h. */ 8403 12666 … … 8417 12680 } 8418 12681 _ACEOF 8419 if ac_fn_cxx_try_link "$LINENO"; then : 12682 rm -f conftest.$ac_objext conftest$ac_exeext 12683 if { (ac_try="$ac_link" 12684 case "(($ac_try" in 12685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12686 *) ac_try_echo=$ac_try;; 12687 esac 12688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12689 $as_echo "$ac_try_echo") >&5 12690 (eval "$ac_link") 2>conftest.er1 12691 ac_status=$? 12692 grep -v '^ *+' conftest.er1 >conftest.err 12693 rm -f conftest.er1 12694 cat conftest.err >&5 12695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12696 (exit $ac_status); } && { 12697 test -z "$ac_cxx_werror_flag" || 12698 test ! -s conftest.err 12699 } && test -s conftest$ac_exeext && { 12700 test "$cross_compiling" = yes || 12701 $as_test_x conftest$ac_exeext 12702 }; then 8420 12703 ac_cv_lib_avformat_avformat_alloc_context=yes 8421 12704 else 8422 ac_cv_lib_avformat_avformat_alloc_context=no 8423 fi 8424 rm -f core conftest.err conftest.$ac_objext \ 8425 conftest$ac_exeext conftest.$ac_ext 12705 $as_echo "$as_me: failed program was:" >&5 12706 sed 's/^/| /' conftest.$ac_ext >&5 12707 12708 ac_cv_lib_avformat_avformat_alloc_context=no 12709 fi 12710 12711 rm -rf conftest.dSYM 12712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12713 conftest$ac_exeext conftest.$ac_ext 8426 12714 LIBS=$ac_check_lib_save_LIBS 8427 12715 fi 8428 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avformat_avformat_alloc_context" >&512716 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5 8429 12717 $as_echo "$ac_cv_lib_avformat_avformat_alloc_context" >&6; } 8430 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x yes; then :12718 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x""yes; then 8431 12719 cat >>confdefs.h <<_ACEOF 8432 12720 #define HAVE_LIBAVFORMAT 1 … … 8436 12724 8437 12725 else 8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_alloc_format_context in -lavformat" >&5 12726 12727 { $as_echo "$as_me:$LINENO: checking for av_alloc_format_context in -lavformat" >&5 8439 12728 $as_echo_n "checking for av_alloc_format_context in -lavformat... " >&6; } 8440 if ${ac_cv_lib_avformat_av_alloc_format_context+:} false; then :12729 if test "${ac_cv_lib_avformat_av_alloc_format_context+set}" = set; then 8441 12730 $as_echo_n "(cached) " >&6 8442 12731 else 8443 12732 ac_check_lib_save_LIBS=$LIBS 8444 12733 LIBS="-lavformat $LIBS" 8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12734 cat >conftest.$ac_ext <<_ACEOF 12735 /* confdefs.h. */ 12736 _ACEOF 12737 cat confdefs.h >>conftest.$ac_ext 12738 cat >>conftest.$ac_ext <<_ACEOF 8446 12739 /* end confdefs.h. */ 8447 12740 … … 8461 12754 } 8462 12755 _ACEOF 8463 if ac_fn_cxx_try_link "$LINENO"; then : 12756 rm -f conftest.$ac_objext conftest$ac_exeext 12757 if { (ac_try="$ac_link" 12758 case "(($ac_try" in 12759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12760 *) ac_try_echo=$ac_try;; 12761 esac 12762 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12763 $as_echo "$ac_try_echo") >&5 12764 (eval "$ac_link") 2>conftest.er1 12765 ac_status=$? 12766 grep -v '^ *+' conftest.er1 >conftest.err 12767 rm -f conftest.er1 12768 cat conftest.err >&5 12769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12770 (exit $ac_status); } && { 12771 test -z "$ac_cxx_werror_flag" || 12772 test ! -s conftest.err 12773 } && test -s conftest$ac_exeext && { 12774 test "$cross_compiling" = yes || 12775 $as_test_x conftest$ac_exeext 12776 }; then 8464 12777 ac_cv_lib_avformat_av_alloc_format_context=yes 8465 12778 else 8466 ac_cv_lib_avformat_av_alloc_format_context=no 8467 fi 8468 rm -f core conftest.err conftest.$ac_objext \ 8469 conftest$ac_exeext conftest.$ac_ext 12779 $as_echo "$as_me: failed program was:" >&5 12780 sed 's/^/| /' conftest.$ac_ext >&5 12781 12782 ac_cv_lib_avformat_av_alloc_format_context=no 12783 fi 12784 12785 rm -rf conftest.dSYM 12786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12787 conftest$ac_exeext conftest.$ac_ext 8470 12788 LIBS=$ac_check_lib_save_LIBS 8471 12789 fi 8472 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_alloc_format_context" >&512790 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_alloc_format_context" >&5 8473 12791 $as_echo "$ac_cv_lib_avformat_av_alloc_format_context" >&6; } 8474 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = x yes; then :12792 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = x""yes; then 8475 12793 cat >>confdefs.h <<_ACEOF 8476 12794 #define HAVE_LIBAVFORMAT 1 … … 8480 12798 8481 12799 else 8482 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: libavformat not usable" >&512800 { $as_echo "$as_me:$LINENO: WARNING: libavformat not usable" >&5 8483 12801 $as_echo "$as_me: WARNING: libavformat not usable" >&2;} 8484 12802 fi … … 8486 12804 fi 8487 12805 12806 8488 12807 for ac_func in avformat_alloc_context 8489 do : 8490 ac_fn_cxx_check_func "$LINENO" "avformat_alloc_context" "ac_cv_func_avformat_alloc_context" 8491 if test "x$ac_cv_func_avformat_alloc_context" = xyes; then : 12808 do 12809 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12810 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12811 $as_echo_n "checking for $ac_func... " >&6; } 12812 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12813 $as_echo_n "(cached) " >&6 12814 else 12815 cat >conftest.$ac_ext <<_ACEOF 12816 /* confdefs.h. */ 12817 _ACEOF 12818 cat confdefs.h >>conftest.$ac_ext 12819 cat >>conftest.$ac_ext <<_ACEOF 12820 /* end confdefs.h. */ 12821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12822 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12823 #define $ac_func innocuous_$ac_func 12824 12825 /* System header to define __stub macros and hopefully few prototypes, 12826 which can conflict with char $ac_func (); below. 12827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12828 <limits.h> exists even on freestanding compilers. */ 12829 12830 #ifdef __STDC__ 12831 # include <limits.h> 12832 #else 12833 # include <assert.h> 12834 #endif 12835 12836 #undef $ac_func 12837 12838 /* Override any GCC internal prototype to avoid an error. 12839 Use char because int might match the return type of a GCC 12840 builtin and then its argument prototype would still apply. */ 12841 #ifdef __cplusplus 12842 extern "C" 12843 #endif 12844 char $ac_func (); 12845 /* The GNU C library defines this for functions which it implements 12846 to always fail with ENOSYS. Some functions are actually named 12847 something starting with __ and the normal name is an alias. */ 12848 #if defined __stub_$ac_func || defined __stub___$ac_func 12849 choke me 12850 #endif 12851 12852 int 12853 main () 12854 { 12855 return $ac_func (); 12856 ; 12857 return 0; 12858 } 12859 _ACEOF 12860 rm -f conftest.$ac_objext conftest$ac_exeext 12861 if { (ac_try="$ac_link" 12862 case "(($ac_try" in 12863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12864 *) ac_try_echo=$ac_try;; 12865 esac 12866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12867 $as_echo "$ac_try_echo") >&5 12868 (eval "$ac_link") 2>conftest.er1 12869 ac_status=$? 12870 grep -v '^ *+' conftest.er1 >conftest.err 12871 rm -f conftest.er1 12872 cat conftest.err >&5 12873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12874 (exit $ac_status); } && { 12875 test -z "$ac_cxx_werror_flag" || 12876 test ! -s conftest.err 12877 } && test -s conftest$ac_exeext && { 12878 test "$cross_compiling" = yes || 12879 $as_test_x conftest$ac_exeext 12880 }; then 12881 eval "$as_ac_var=yes" 12882 else 12883 $as_echo "$as_me: failed program was:" >&5 12884 sed 's/^/| /' conftest.$ac_ext >&5 12885 12886 eval "$as_ac_var=no" 12887 fi 12888 12889 rm -rf conftest.dSYM 12890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12891 conftest$ac_exeext conftest.$ac_ext 12892 fi 12893 ac_res=`eval 'as_val=${'$as_ac_var'} 12894 $as_echo "$as_val"'` 12895 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12896 $as_echo "$ac_res" >&6; } 12897 as_val=`eval 'as_val=${'$as_ac_var'} 12898 $as_echo "$as_val"'` 12899 if test "x$as_val" = x""yes; then 8492 12900 cat >>confdefs.h <<_ACEOF 8493 #define HAVE_AVFORMAT_ALLOC_CONTEXT112901 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8494 12902 _ACEOF 8495 12903 … … 8497 12905 done 8498 12906 8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_free in -lavutil" >&5 12907 12908 { $as_echo "$as_me:$LINENO: checking for av_free in -lavutil" >&5 8500 12909 $as_echo_n "checking for av_free in -lavutil... " >&6; } 8501 if ${ac_cv_lib_avutil_av_free+:} false; then :12910 if test "${ac_cv_lib_avutil_av_free+set}" = set; then 8502 12911 $as_echo_n "(cached) " >&6 8503 12912 else 8504 12913 ac_check_lib_save_LIBS=$LIBS 8505 12914 LIBS="-lavutil $LIBS" 8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12915 cat >conftest.$ac_ext <<_ACEOF 12916 /* confdefs.h. */ 12917 _ACEOF 12918 cat confdefs.h >>conftest.$ac_ext 12919 cat >>conftest.$ac_ext <<_ACEOF 8507 12920 /* end confdefs.h. */ 8508 12921 … … 8522 12935 } 8523 12936 _ACEOF 8524 if ac_fn_cxx_try_link "$LINENO"; then : 12937 rm -f conftest.$ac_objext conftest$ac_exeext 12938 if { (ac_try="$ac_link" 12939 case "(($ac_try" in 12940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12941 *) ac_try_echo=$ac_try;; 12942 esac 12943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12944 $as_echo "$ac_try_echo") >&5 12945 (eval "$ac_link") 2>conftest.er1 12946 ac_status=$? 12947 grep -v '^ *+' conftest.er1 >conftest.err 12948 rm -f conftest.er1 12949 cat conftest.err >&5 12950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12951 (exit $ac_status); } && { 12952 test -z "$ac_cxx_werror_flag" || 12953 test ! -s conftest.err 12954 } && test -s conftest$ac_exeext && { 12955 test "$cross_compiling" = yes || 12956 $as_test_x conftest$ac_exeext 12957 }; then 8525 12958 ac_cv_lib_avutil_av_free=yes 8526 12959 else 8527 ac_cv_lib_avutil_av_free=no 8528 fi 8529 rm -f core conftest.err conftest.$ac_objext \ 8530 conftest$ac_exeext conftest.$ac_ext 12960 $as_echo "$as_me: failed program was:" >&5 12961 sed 's/^/| /' conftest.$ac_ext >&5 12962 12963 ac_cv_lib_avutil_av_free=no 12964 fi 12965 12966 rm -rf conftest.dSYM 12967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12968 conftest$ac_exeext conftest.$ac_ext 8531 12969 LIBS=$ac_check_lib_save_LIBS 8532 12970 fi 8533 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_free" >&512971 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_av_free" >&5 8534 12972 $as_echo "$ac_cv_lib_avutil_av_free" >&6; } 8535 if test "x$ac_cv_lib_avutil_av_free" = x yes; then :12973 if test "x$ac_cv_lib_avutil_av_free" = x""yes; then 8536 12974 cat >>confdefs.h <<_ACEOF 8537 12975 #define HAVE_LIBAVUTIL 1 … … 8542 12980 fi 8543 12981 12982 8544 12983 for ac_func in img_convert 8545 do : 8546 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 8547 if test "x$ac_cv_func_img_convert" = xyes; then : 12984 do 12985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12986 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12987 $as_echo_n "checking for $ac_func... " >&6; } 12988 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12989 $as_echo_n "(cached) " >&6 12990 else 12991 cat >conftest.$ac_ext <<_ACEOF 12992 /* confdefs.h. */ 12993 _ACEOF 12994 cat confdefs.h >>conftest.$ac_ext 12995 cat >>conftest.$ac_ext <<_ACEOF 12996 /* end confdefs.h. */ 12997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12998 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12999 #define $ac_func innocuous_$ac_func 13000 13001 /* System header to define __stub macros and hopefully few prototypes, 13002 which can conflict with char $ac_func (); below. 13003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13004 <limits.h> exists even on freestanding compilers. */ 13005 13006 #ifdef __STDC__ 13007 # include <limits.h> 13008 #else 13009 # include <assert.h> 13010 #endif 13011 13012 #undef $ac_func 13013 13014 /* Override any GCC internal prototype to avoid an error. 13015 Use char because int might match the return type of a GCC 13016 builtin and then its argument prototype would still apply. */ 13017 #ifdef __cplusplus 13018 extern "C" 13019 #endif 13020 char $ac_func (); 13021 /* The GNU C library defines this for functions which it implements 13022 to always fail with ENOSYS. Some functions are actually named 13023 something starting with __ and the normal name is an alias. */ 13024 #if defined __stub_$ac_func || defined __stub___$ac_func 13025 choke me 13026 #endif 13027 13028 int 13029 main () 13030 { 13031 return $ac_func (); 13032 ; 13033 return 0; 13034 } 13035 _ACEOF 13036 rm -f conftest.$ac_objext conftest$ac_exeext 13037 if { (ac_try="$ac_link" 13038 case "(($ac_try" in 13039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13040 *) ac_try_echo=$ac_try;; 13041 esac 13042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13043 $as_echo "$ac_try_echo") >&5 13044 (eval "$ac_link") 2>conftest.er1 13045 ac_status=$? 13046 grep -v '^ *+' conftest.er1 >conftest.err 13047 rm -f conftest.er1 13048 cat conftest.err >&5 13049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13050 (exit $ac_status); } && { 13051 test -z "$ac_cxx_werror_flag" || 13052 test ! -s conftest.err 13053 } && test -s conftest$ac_exeext && { 13054 test "$cross_compiling" = yes || 13055 $as_test_x conftest$ac_exeext 13056 }; then 13057 eval "$as_ac_var=yes" 13058 else 13059 $as_echo "$as_me: failed program was:" >&5 13060 sed 's/^/| /' conftest.$ac_ext >&5 13061 13062 eval "$as_ac_var=no" 13063 fi 13064 13065 rm -rf conftest.dSYM 13066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13067 conftest$ac_exeext conftest.$ac_ext 13068 fi 13069 ac_res=`eval 'as_val=${'$as_ac_var'} 13070 $as_echo "$as_val"'` 13071 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13072 $as_echo "$ac_res" >&6; } 13073 as_val=`eval 'as_val=${'$as_ac_var'} 13074 $as_echo "$as_val"'` 13075 if test "x$as_val" = x""yes; then 8548 13076 cat >>confdefs.h <<_ACEOF 8549 #define HAVE_IMG_CONVERT113077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8550 13078 _ACEOF 8551 13079 … … 8555 13083 8556 13084 8557 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for nVidia Cg installation" >&513085 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5 8558 13086 $as_echo_n "checking for nVidia Cg installation... " >&6; } 8559 13087 CG_DIR="" … … 8568 13096 fi 8569 13097 done 8570 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: ${CG_DIR}" >&513098 { $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5 8571 13099 $as_echo "${CG_DIR}" >&6; } 8572 13100 … … 8576 13104 save_CPPFLAGS=$CPPFLAGS 8577 13105 CPPFLAGS="-I${CG_INC_DIR} $CPPFLAGS" 13106 8578 13107 for ac_header in Cg/cgGL.h 8579 do : 8580 ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default" 8581 if test "x$ac_cv_header_Cg_cgGL_h" = xyes; then : 13108 do 13109 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13110 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13111 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13112 $as_echo_n "checking for $ac_header... " >&6; } 13113 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13114 $as_echo_n "(cached) " >&6 13115 fi 13116 ac_res=`eval 'as_val=${'$as_ac_Header'} 13117 $as_echo "$as_val"'` 13118 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13119 $as_echo "$ac_res" >&6; } 13120 else 13121 # Is the header compilable? 13122 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 13123 $as_echo_n "checking $ac_header usability... " >&6; } 13124 cat >conftest.$ac_ext <<_ACEOF 13125 /* confdefs.h. */ 13126 _ACEOF 13127 cat confdefs.h >>conftest.$ac_ext 13128 cat >>conftest.$ac_ext <<_ACEOF 13129 /* end confdefs.h. */ 13130 $ac_includes_default 13131 #include <$ac_header> 13132 _ACEOF 13133 rm -f conftest.$ac_objext 13134 if { (ac_try="$ac_compile" 13135 case "(($ac_try" in 13136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13137 *) ac_try_echo=$ac_try;; 13138 esac 13139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13140 $as_echo "$ac_try_echo") >&5 13141 (eval "$ac_compile") 2>conftest.er1 13142 ac_status=$? 13143 grep -v '^ *+' conftest.er1 >conftest.err 13144 rm -f conftest.er1 13145 cat conftest.err >&5 13146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13147 (exit $ac_status); } && { 13148 test -z "$ac_cxx_werror_flag" || 13149 test ! -s conftest.err 13150 } && test -s conftest.$ac_objext; then 13151 ac_header_compiler=yes 13152 else 13153 $as_echo "$as_me: failed program was:" >&5 13154 sed 's/^/| /' conftest.$ac_ext >&5 13155 13156 ac_header_compiler=no 13157 fi 13158 13159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13160 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13161 $as_echo "$ac_header_compiler" >&6; } 13162 13163 # Is the header present? 13164 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 13165 $as_echo_n "checking $ac_header presence... " >&6; } 13166 cat >conftest.$ac_ext <<_ACEOF 13167 /* confdefs.h. */ 13168 _ACEOF 13169 cat confdefs.h >>conftest.$ac_ext 13170 cat >>conftest.$ac_ext <<_ACEOF 13171 /* end confdefs.h. */ 13172 #include <$ac_header> 13173 _ACEOF 13174 if { (ac_try="$ac_cpp conftest.$ac_ext" 13175 case "(($ac_try" in 13176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13177 *) ac_try_echo=$ac_try;; 13178 esac 13179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13180 $as_echo "$ac_try_echo") >&5 13181 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13182 ac_status=$? 13183 grep -v '^ *+' conftest.er1 >conftest.err 13184 rm -f conftest.er1 13185 cat conftest.err >&5 13186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13187 (exit $ac_status); } >/dev/null && { 13188 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 13189 test ! -s conftest.err 13190 }; then 13191 ac_header_preproc=yes 13192 else 13193 $as_echo "$as_me: failed program was:" >&5 13194 sed 's/^/| /' conftest.$ac_ext >&5 13195 13196 ac_header_preproc=no 13197 fi 13198 13199 rm -f conftest.err conftest.$ac_ext 13200 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13201 $as_echo "$ac_header_preproc" >&6; } 13202 13203 # So? What about this header? 13204 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 13205 yes:no: ) 13206 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 13207 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 13208 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 13209 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 13210 ac_header_preproc=yes 13211 ;; 13212 no:yes:* ) 13213 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 13214 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 13215 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 13216 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 13217 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 13218 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 13219 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 13220 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 13221 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 13222 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 13223 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 13224 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 13225 ( cat <<\_ASBOX 13226 ## ----------------------------------- ## 13227 ## Report this to rappture@nanohub.org ## 13228 ## ----------------------------------- ## 13229 _ASBOX 13230 ) | sed "s/^/$as_me: WARNING: /" >&2 13231 ;; 13232 esac 13233 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13234 $as_echo_n "checking for $ac_header... " >&6; } 13235 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13236 $as_echo_n "(cached) " >&6 13237 else 13238 eval "$as_ac_Header=\$ac_header_preproc" 13239 fi 13240 ac_res=`eval 'as_val=${'$as_ac_Header'} 13241 $as_echo "$as_val"'` 13242 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13243 $as_echo "$ac_res" >&6; } 13244 13245 fi 13246 as_val=`eval 'as_val=${'$as_ac_Header'} 13247 $as_echo "$as_val"'` 13248 if test "x$as_val" = x""yes; then 8582 13249 cat >>confdefs.h <<_ACEOF 8583 #define HAVE_CG_CGGL_H 1 8584 _ACEOF 8585 8586 else 8587 as_fn_error $? "cannot find nVidia Cg headers" "$LINENO" 5 13250 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13251 _ACEOF 13252 13253 else 13254 { $as_echo "$as_me:$LINENO: WARNING: cannot find nVidia Cg headers" >&5 13255 $as_echo "$as_me: WARNING: cannot find nVidia Cg headers" >&2;} 8588 13256 fi 8589 13257 … … 8659 13327 *${as_nl}*) 8660 13328 case $ac_var in #( 8661 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&513329 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 8662 13330 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 8663 13331 esac … … 8665 13333 _ | IFS | as_nl) ;; #( 8666 13334 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 8667 *) { eval $ac_var=; unset $ac_var;};;13335 *) $as_unset $ac_var ;; 8668 13336 esac ;; 8669 13337 esac … … 8673 13341 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8674 13342 *${as_nl}ac_space=\ *) 8675 # `set' does not quote correctly, so add quotes :double-quote8676 # substitution turns \\\\ into \\, and sed turns \\ into \ .13343 # `set' does not quote correctly, so add quotes (double-quote 13344 # substitution turns \\\\ into \\, and sed turns \\ into \). 8677 13345 sed -n \ 8678 13346 "s/'/'\\\\''/g; … … 8696 13364 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8697 13365 if test -w "$cache_file"; then 8698 if test "x$cache_file" != "x/dev/null"; then8699 { $as_echo "$as_me:$ {as_lineno-$LINENO}: updating cache $cache_file" >&513366 test "x$cache_file" != "x/dev/null" && 13367 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 8700 13368 $as_echo "$as_me: updating cache $cache_file" >&6;} 8701 if test ! -f "$cache_file" || test -h "$cache_file"; then 8702 cat confcache >"$cache_file" 8703 else 8704 case $cache_file in #( 8705 */* | ?:*) 8706 mv -f confcache "$cache_file"$$ && 8707 mv -f "$cache_file"$$ "$cache_file" ;; #( 8708 *) 8709 mv -f confcache "$cache_file" ;; 8710 esac 8711 fi 8712 fi 13369 cat confcache >$cache_file 8713 13370 else 8714 { $as_echo "$as_me:$ {as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&513371 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 8715 13372 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8716 13373 fi … … 8726 13383 ac_libobjs= 8727 13384 ac_ltlibobjs= 8728 U=8729 13385 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8730 13386 # 1. Remove the extension, and $U if already installed. … … 8733 13389 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8734 13390 # will be set to the directory where LIBOBJS objects are built. 8735 a s_fn_append ac_libobjs "\${LIBOBJDIR}$ac_i\$U.$ac_objext"8736 a s_fn_append ac_ltlibobjs "\${LIBOBJDIR}$ac_i"'$U.lo'13391 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13392 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 8737 13393 done 8738 13394 LIBOBJS=$ac_libobjs … … 8743 13399 8744 13400 8745 : "${CONFIG_STATUS=./config.status}"13401 : ${CONFIG_STATUS=./config.status} 8746 13402 ac_write_fail=0 8747 13403 ac_clean_files_save=$ac_clean_files 8748 13404 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8749 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $CONFIG_STATUS" >&513405 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 8750 13406 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8751 as_write_fail=0 8752 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13407 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8753 13408 #! $SHELL 8754 13409 # Generated by $as_me. … … 8760 13415 ac_cs_recheck=false 8761 13416 ac_cs_silent=false 8762 8763 13417 SHELL=\${CONFIG_SHELL-$SHELL} 8764 export SHELL 8765 _ASEOF 8766 cat >>$CONFIG_STATUS <<\_A SEOF || as_write_fail=18767 ## -------------------- ##8768 ## M4sh Initialization. ##8769 ## -------------------- ##13418 _ACEOF 13419 13420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13421 ## --------------------- ## 13422 ## M4sh Initialization. ## 13423 ## --------------------- ## 8770 13424 8771 13425 # Be more Bourne compatible 8772 13426 DUALCASE=1; export DUALCASE # for MKS sh 8773 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :13427 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8774 13428 emulate sh 8775 13429 NULLCMD=: … … 8779 13433 setopt NO_GLOB_SUBST 8780 13434 else 8781 case `(set -o) 2>/dev/null` in #( 8782 *posix*) : 8783 set -o posix ;; #( 8784 *) : 8785 ;; 8786 esac 8787 fi 8788 13435 case `(set -o) 2>/dev/null` in 13436 *posix*) set -o posix ;; 13437 esac 13438 13439 fi 13440 13441 13442 13443 13444 # PATH needs CR 13445 # Avoid depending upon Character Ranges. 13446 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13447 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13448 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13449 as_cr_digits='0123456789' 13450 as_cr_alnum=$as_cr_Letters$as_cr_digits 8789 13451 8790 13452 as_nl=' … … 8795 13457 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 8796 13458 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 8797 # Prefer a ksh shell builtin over an external printf program on Solaris, 8798 # but without wasting forks for bash or zsh. 8799 if test -z "$BASH_VERSION$ZSH_VERSION" \ 8800 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 8801 as_echo='print -r --' 8802 as_echo_n='print -rn --' 8803 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13459 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8804 13460 as_echo='printf %s\n' 8805 13461 as_echo_n='printf %s' … … 8812 13468 as_echo_n_body='eval 8813 13469 arg=$1; 8814 case $arg in #(13470 case $arg in 8815 13471 *"$as_nl"*) 8816 13472 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 8835 13491 fi 8836 13492 13493 # Support unset when possible. 13494 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 13495 as_unset=unset 13496 else 13497 as_unset=false 13498 fi 13499 8837 13500 8838 13501 # IFS … … 8844 13507 8845 13508 # Find who we are. Look in the path if we contain no directory separator. 8846 as_myself= 8847 case $0 in #(( 13509 case $0 in 8848 13510 *[\\/]* ) as_myself=$0 ;; 8849 13511 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 8852 13514 IFS=$as_save_IFS 8853 13515 test -z "$as_dir" && as_dir=. 8854 8855 13516 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13517 done 8856 13518 IFS=$as_save_IFS 8857 13519 … … 8865 13527 if test ! -f "$as_myself"; then 8866 13528 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8867 exit 1 8868 fi 8869 8870 # Unset variables that we do not need and which cause bugs (e.g. in 8871 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 8872 # suppresses any "Segmentation fault" message there. '((' could 8873 # trigger a bug in pdksh 5.2.14. 8874 for as_var in BASH_ENV ENV MAIL MAILPATH 8875 do eval test x\${$as_var+set} = xset \ 8876 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13529 { (exit 1); exit 1; } 13530 fi 13531 13532 # Work around bugs in pre-3.0 UWIN ksh. 13533 for as_var in ENV MAIL MAILPATH 13534 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8877 13535 done 8878 13536 PS1='$ ' … … 8886 13544 export LANGUAGE 8887 13545 8888 # CDPATH. 8889 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 8890 8891 8892 # as_fn_error STATUS ERROR [LINENO LOG_FD] 8893 # ---------------------------------------- 8894 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 8895 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 8896 # script with STATUS, using 1 if that was 0. 8897 as_fn_error () 8898 { 8899 as_status=$1; test $as_status -eq 0 && as_status=1 8900 if test "$4"; then 8901 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 8902 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 8903 fi 8904 $as_echo "$as_me: error: $2" >&2 8905 as_fn_exit $as_status 8906 } # as_fn_error 8907 8908 8909 # as_fn_set_status STATUS 8910 # ----------------------- 8911 # Set $? to STATUS, without forking. 8912 as_fn_set_status () 8913 { 8914 return $1 8915 } # as_fn_set_status 8916 8917 # as_fn_exit STATUS 8918 # ----------------- 8919 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 8920 as_fn_exit () 8921 { 8922 set +e 8923 as_fn_set_status $1 8924 exit $1 8925 } # as_fn_exit 8926 8927 # as_fn_unset VAR 8928 # --------------- 8929 # Portably unset VAR. 8930 as_fn_unset () 8931 { 8932 { eval $1=; unset $1;} 8933 } 8934 as_unset=as_fn_unset 8935 # as_fn_append VAR VALUE 8936 # ---------------------- 8937 # Append the text in VALUE to the end of the definition contained in VAR. Take 8938 # advantage of any shell optimizations that allow amortized linear growth over 8939 # repeated appends, instead of the typical quadratic growth present in naive 8940 # implementations. 8941 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 8942 eval 'as_fn_append () 8943 { 8944 eval $1+=\$2 8945 }' 8946 else 8947 as_fn_append () 8948 { 8949 eval $1=\$$1\$2 8950 } 8951 fi # as_fn_append 8952 8953 # as_fn_arith ARG... 8954 # ------------------ 8955 # Perform arithmetic evaluation on the ARGs, and store the result in the 8956 # global $as_val. Take advantage of shells that can avoid forks. The arguments 8957 # must be portable across $(()) and expr. 8958 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 8959 eval 'as_fn_arith () 8960 { 8961 as_val=$(( $* )) 8962 }' 8963 else 8964 as_fn_arith () 8965 { 8966 as_val=`expr "$@" || test $? -eq 1` 8967 } 8968 fi # as_fn_arith 8969 8970 13546 # Required to use basename. 8971 13547 if expr a : '\(a\)' >/dev/null 2>&1 && 8972 13548 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 8982 13558 fi 8983 13559 8984 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8985 as_dirname=dirname 8986 else 8987 as_dirname=false 8988 fi 8989 13560 13561 # Name of the executable. 8990 13562 as_me=`$as_basename -- "$0" || 8991 13563 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 9007 13579 s/.*/./; q'` 9008 13580 9009 # Avoid depending upon Character Ranges. 9010 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9011 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9012 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9013 as_cr_digits='0123456789' 9014 as_cr_alnum=$as_cr_Letters$as_cr_digits 13581 # CDPATH. 13582 $as_unset CDPATH 13583 13584 13585 13586 as_lineno_1=$LINENO 13587 as_lineno_2=$LINENO 13588 test "x$as_lineno_1" != "x$as_lineno_2" && 13589 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 13590 13591 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 13592 # uniformly replaced by the line number. The first 'sed' inserts a 13593 # line-number line after each line using $LINENO; the second 'sed' 13594 # does the real work. The second script uses 'N' to pair each 13595 # line-number line with the line containing $LINENO, and appends 13596 # trailing '-' during substitution so that $LINENO is not a special 13597 # case at line end. 13598 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 13599 # scripts with optimization help from Paolo Bonzini. Blame Lee 13600 # E. McMahon (1931-1989) for sed's syntax. :-) 13601 sed -n ' 13602 p 13603 /[$]LINENO/= 13604 ' <$as_myself | 13605 sed ' 13606 s/[$]LINENO.*/&-/ 13607 t lineno 13608 b 13609 :lineno 13610 N 13611 :loop 13612 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 13613 t loop 13614 s/-\n.*// 13615 ' >$as_me.lineno && 13616 chmod +x "$as_me.lineno" || 13617 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 13618 { (exit 1); exit 1; }; } 13619 13620 # Don't try to exec as it changes $[0], causing all sort of problems 13621 # (the dirname of $[0] is not the place where we might find the 13622 # original and so on. Autoconf is especially sensitive to this). 13623 . "./$as_me.lineno" 13624 # Exit status is that of the last command. 13625 exit 13626 } 13627 13628 13629 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13630 as_dirname=dirname 13631 else 13632 as_dirname=false 13633 fi 9015 13634 9016 13635 ECHO_C= ECHO_N= ECHO_T= 9017 case `echo -n x` in #(((((13636 case `echo -n x` in 9018 13637 -n*) 9019 case `echo 'x y\c'` in13638 case `echo 'x\c'` in 9020 13639 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9021 xy) ECHO_C='\c';; 9022 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 9023 ECHO_T=' ';; 13640 *) ECHO_C='\c';; 9024 13641 esac;; 9025 13642 *) 9026 13643 ECHO_N='-n';; 9027 13644 esac 13645 if expr a : '\(a\)' >/dev/null 2>&1 && 13646 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13647 as_expr=expr 13648 else 13649 as_expr=false 13650 fi 9028 13651 9029 13652 rm -f conf$$ conf$$.exe conf$$.file … … 9054 13677 rmdir conf$$.dir 2>/dev/null 9055 13678 9056 9057 # as_fn_mkdir_p9058 # -------------9059 # Create "$as_dir" as a directory, including parents if necessary.9060 as_fn_mkdir_p ()9061 {9062 9063 case $as_dir in #(9064 -*) as_dir=./$as_dir;;9065 esac9066 test -d "$as_dir" || eval $as_mkdir_p || {9067 as_dirs=9068 while :; do9069 case $as_dir in #(9070 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(9071 *) as_qdir=$as_dir;;9072 esac9073 as_dirs="'$as_qdir' $as_dirs"9074 as_dir=`$as_dirname -- "$as_dir" ||9075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \9076 X"$as_dir" : 'X\(//\)[^/]' \| \9077 X"$as_dir" : 'X\(//\)$' \| \9078 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||9079 $as_echo X"$as_dir" |9080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{9081 s//\1/9082 q9083 }9084 /^X\(\/\/\)[^/].*/{9085 s//\1/9086 q9087 }9088 /^X\(\/\/\)$/{9089 s//\1/9090 q9091 }9092 /^X\(\/\).*/{9093 s//\1/9094 q9095 }9096 s/.*/./; q'`9097 test -d "$as_dir" && break9098 done9099 test -z "$as_dirs" || eval "mkdir $as_dirs"9100 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"9101 9102 9103 } # as_fn_mkdir_p9104 13679 if mkdir -p . 2>/dev/null; then 9105 as_mkdir_p= 'mkdir -p "$as_dir"'13680 as_mkdir_p=: 9106 13681 else 9107 13682 test -d ./-p && rmdir ./-p … … 9122 13697 test -d "$1/."; 9123 13698 else 9124 case $1 in #(13699 case $1 in 9125 13700 -*)set "./$1";; 9126 13701 esac; 9127 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((13702 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9128 13703 ???[sx]*):;;*)false;;esac;fi 9129 13704 '\'' sh … … 9140 13715 9141 13716 exec 6>&1 9142 ## ----------------------------------- ## 9143 ## Main body of $CONFIG_STATUS script. ## 9144 ## ----------------------------------- ## 9145 _ASEOF 9146 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9147 9148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9149 # Save the log message, to keep $0 and so on meaningful, and to 13717 13718 # Save the log message, to keep $[0] and so on meaningful, and to 9150 13719 # report actual input values of CONFIG_FILES etc. instead of their 9151 13720 # values after options handling. 9152 13721 ac_log=" 9153 13722 This file was extended by vizservers $as_me 0.1, which was 9154 generated by GNU Autoconf 2.6 8. Invocation command line was13723 generated by GNU Autoconf 2.63. Invocation command line was 9155 13724 9156 13725 CONFIG_FILES = $CONFIG_FILES … … 9183 13752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9184 13753 ac_cs_usage="\ 9185 \`$as_me' instantiates files and other configuration actions 9186 from templates according to the current configuration. Unless the files 9187 and actions are specified as TAGs, all are instantiated by default. 9188 9189 Usage: $0 [OPTION]... [TAG]... 13754 \`$as_me' instantiates files from templates according to the 13755 current configuration. 13756 13757 Usage: $0 [OPTION]... [FILE]... 9190 13758 9191 13759 -h, --help print this help, then exit 9192 13760 -V, --version print version number and configuration settings, then exit 9193 --config print configuration, then exit9194 13761 -q, --quiet, --silent 9195 13762 do not print progress messages … … 9207 13774 $config_headers 9208 13775 9209 Report bugs to < rappture@nanohub.org>."13776 Report bugs to <bug-autoconf@gnu.org>." 9210 13777 9211 13778 _ACEOF 9212 13779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9213 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"9214 13780 ac_cs_version="\\ 9215 13781 vizservers config.status 0.1 9216 configured by $0, generated by GNU Autoconf 2.6 8,9217 with options \\" \$ac_cs_config\\"9218 9219 Copyright (C) 20 10Free Software Foundation, Inc.13782 configured by $0, generated by GNU Autoconf 2.63, 13783 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 13784 13785 Copyright (C) 2008 Free Software Foundation, Inc. 9220 13786 This config.status script is free software; the Free Software Foundation 9221 13787 gives unlimited permission to copy, distribute and modify it." … … 9234 13800 do 9235 13801 case $1 in 9236 --*= ?*)13802 --*=*) 9237 13803 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9238 13804 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9239 ac_shift=:9240 ;;9241 --*=)9242 ac_option=`expr "X$1" : 'X\([^=]*\)='`9243 ac_optarg=9244 13805 ac_shift=: 9245 13806 ;; … … 9257 13818 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9258 13819 $as_echo "$ac_cs_version"; exit ;; 9259 --config | --confi | --conf | --con | --co | --c )9260 $as_echo "$ac_cs_config"; exit ;;9261 13820 --debug | --debu | --deb | --de | --d | -d ) 9262 13821 debug=: ;; … … 9265 13824 case $ac_optarg in 9266 13825 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9267 '') as_fn_error $? "missing file argument" ;;9268 13826 esac 9269 as_fn_append CONFIG_FILES "'$ac_optarg'"13827 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9270 13828 ac_need_defaults=false;; 9271 13829 --header | --heade | --head | --hea ) … … 9274 13832 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9275 13833 esac 9276 as_fn_append CONFIG_HEADERS "'$ac_optarg'"13834 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9277 13835 ac_need_defaults=false;; 9278 13836 --he | --h) 9279 13837 # Conflict between --help and --header 9280 as_fn_error $? "ambiguous option: \`$1' 9281 Try \`$0 --help' for more information.";; 13838 { $as_echo "$as_me: error: ambiguous option: $1 13839 Try \`$0 --help' for more information." >&2 13840 { (exit 1); exit 1; }; };; 9282 13841 --help | --hel | -h ) 9283 13842 $as_echo "$ac_cs_usage"; exit ;; … … 9287 13846 9288 13847 # This is an error. 9289 -*) as_fn_error $? "unrecognized option: \`$1' 9290 Try \`$0 --help' for more information." ;; 9291 9292 *) as_fn_append ac_config_targets " $1" 13848 -*) { $as_echo "$as_me: error: unrecognized option: $1 13849 Try \`$0 --help' for more information." >&2 13850 { (exit 1); exit 1; }; } ;; 13851 13852 *) ac_config_targets="$ac_config_targets $1" 9293 13853 ac_need_defaults=false ;; 9294 13854 … … 9355 13915 "start_nanoscale.sh") CONFIG_FILES="$CONFIG_FILES start_nanoscale.sh" ;; 9356 13916 9357 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13917 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13918 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13919 { (exit 1); exit 1; }; };; 9358 13920 esac 9359 13921 done … … 9377 13939 $debug || 9378 13940 { 9379 tmp= ac_tmp=13941 tmp= 9380 13942 trap 'exit_status=$? 9381 : "${ac_tmp:=$tmp}" 9382 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13943 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9383 13944 ' 0 9384 trap ' as_fn_exit 1' 1 2 13 1513945 trap '{ (exit 1); exit 1; }' 1 2 13 15 9385 13946 } 9386 13947 # Create a (secure) tmp directory for tmp files. … … 9388 13949 { 9389 13950 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9390 test - d "$tmp"13951 test -n "$tmp" && test -d "$tmp" 9391 13952 } || 9392 13953 { 9393 13954 tmp=./conf$$-$RANDOM 9394 13955 (umask 077 && mkdir "$tmp") 9395 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 9396 ac_tmp=$tmp 13956 } || 13957 { 13958 $as_echo "$as_me: cannot create a temporary directory in ." >&2 13959 { (exit 1); exit 1; } 13960 } 9397 13961 9398 13962 # Set up the scripts for CONFIG_FILES section. … … 9402 13966 9403 13967 9404 ac_cr=`echo X | tr X '\015'` 9405 # On cygwin, bash can eat \r inside `` if the user requested igncr. 9406 # But we know of no other shell where ac_cr would be empty at this 9407 # point, so we can use a bashism as a fallback. 9408 if test "x$ac_cr" = x; then 9409 eval ac_cr=\$\'\\r\' 9410 fi 13968 ac_cr=' 13969 ' 9411 13970 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9412 13971 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then … … 9416 13975 fi 9417 13976 9418 echo 'BEGIN {' >"$ ac_tmp/subs1.awk" &&13977 echo 'BEGIN {' >"$tmp/subs1.awk" && 9419 13978 _ACEOF 9420 13979 … … 9425 13984 echo "_ACEOF" 9426 13985 } >conf$$subs.sh || 9427 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9428 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13986 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13987 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13988 { (exit 1); exit 1; }; } 13989 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9429 13990 ac_delim='%!_!# ' 9430 13991 for ac_last_try in false false false false false :; do 9431 13992 . ./conf$$subs.sh || 9432 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13993 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13994 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13995 { (exit 1); exit 1; }; } 9433 13996 9434 13997 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 9436 13999 break 9437 14000 elif $ac_last_try; then 9438 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14001 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14002 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14003 { (exit 1); exit 1; }; } 9439 14004 else 9440 14005 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 9444 14009 9445 14010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9446 cat >>"\$ ac_tmp/subs1.awk" <<\\_ACAWK &&14011 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9447 14012 _ACEOF 9448 14013 sed -n ' … … 9458 14023 :nl 9459 14024 h 9460 s/\(.\{148\}\). .*/\1/14025 s/\(.\{148\}\).*/\1/ 9461 14026 t more1 9462 14027 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 9472 14037 :delim 9473 14038 h 9474 s/\(.\{148\}\). .*/\1/14039 s/\(.\{148\}\).*/\1/ 9475 14040 t more2 9476 14041 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 9492 14057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9493 14058 _ACAWK 9494 cat >>"\$ ac_tmp/subs1.awk" <<_ACAWK &&14059 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9495 14060 for (key in S) S_is_set[key] = 1 9496 14061 FS = "" … … 9524 14089 else 9525 14090 cat 9526 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 9527 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9528 _ACEOF 9529 9530 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9531 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 14091 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 14092 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 14093 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 14094 { (exit 1); exit 1; }; } 14095 _ACEOF 14096 14097 # VPATH may cause trouble with some makes, so we remove $(srcdir), 14098 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9532 14099 # trailing colons and then remove the whole line if VPATH becomes empty 9533 14100 # (actually we leave an empty line to preserve line numbers). 9534 14101 if test "x$srcdir" = x.; then 9535 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 9536 h 9537 s/// 9538 s/^/:/ 9539 s/[ ]*$/:/ 9540 s/:\$(srcdir):/:/g 9541 s/:\${srcdir}:/:/g 9542 s/:@srcdir@:/:/g 9543 s/^:*// 14102 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 14103 s/:*\$(srcdir):*/:/ 14104 s/:*\${srcdir}:*/:/ 14105 s/:*@srcdir@:*/:/ 14106 s/^\([^=]*=[ ]*\):*/\1/ 9544 14107 s/:*$// 9545 x9546 s/\(=[ ]*\).*/\1/9547 G9548 s/\n//9549 14108 s/^[^=]*=[ ]*$// 9550 14109 }' … … 9558 14117 # This happens for instance with `./config.status Makefile'. 9559 14118 if test -n "$CONFIG_HEADERS"; then 9560 cat >"$ ac_tmp/defines.awk" <<\_ACAWK ||14119 cat >"$tmp/defines.awk" <<\_ACAWK || 9561 14120 BEGIN { 9562 14121 _ACEOF … … 9570 14129 ac_delim='%!_!# ' 9571 14130 for ac_last_try in false false :; do 9572 ac_t t=`sed -n "/$ac_delim/p" confdefs.h`9573 if test -z "$ac_t t"; then14131 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 14132 if test -z "$ac_t"; then 9574 14133 break 9575 14134 elif $ac_last_try; then 9576 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 14135 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 14136 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 14137 { (exit 1); exit 1; }; } 9577 14138 else 9578 14139 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 9659 14220 _ACEOF 9660 14221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9661 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14222 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 14223 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 14224 { (exit 1); exit 1; }; } 9662 14225 fi # test -n "$CONFIG_HEADERS" 9663 14226 … … 9672 14235 case $ac_mode$ac_tag in 9673 14236 :[FHL]*:*);; 9674 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14237 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 14238 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 14239 { (exit 1); exit 1; }; };; 9675 14240 :[FH]-) ac_tag=-:-;; 9676 14241 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 9691 14256 do 9692 14257 case $ac_f in 9693 -) ac_f="$ ac_tmp/stdin";;14258 -) ac_f="$tmp/stdin";; 9694 14259 *) # Look for the file first in the build tree, then in the source tree 9695 14260 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 9700 14265 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9701 14266 esac || 9702 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14267 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 14268 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 14269 { (exit 1); exit 1; }; };; 9703 14270 esac 9704 14271 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9705 a s_fn_append ac_file_inputs "'$ac_f'"14272 ac_file_inputs="$ac_file_inputs '$ac_f'" 9706 14273 done 9707 14274 … … 9714 14281 if test x"$ac_file" != x-; then 9715 14282 configure_input="$ac_file. $configure_input" 9716 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $ac_file" >&514283 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 9717 14284 $as_echo "$as_me: creating $ac_file" >&6;} 9718 14285 fi … … 9726 14293 9727 14294 case $ac_tag in 9728 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 9729 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14295 *:-:* | *:-) cat >"$tmp/stdin" \ 14296 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14297 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14298 { (exit 1); exit 1; }; } ;; 9730 14299 esac 9731 14300 ;; … … 9755 14324 } 9756 14325 s/.*/./; q'` 9757 as_dir="$ac_dir"; as_fn_mkdir_p 14326 { as_dir="$ac_dir" 14327 case $as_dir in #( 14328 -*) as_dir=./$as_dir;; 14329 esac 14330 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 14331 as_dirs= 14332 while :; do 14333 case $as_dir in #( 14334 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14335 *) as_qdir=$as_dir;; 14336 esac 14337 as_dirs="'$as_qdir' $as_dirs" 14338 as_dir=`$as_dirname -- "$as_dir" || 14339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14340 X"$as_dir" : 'X\(//\)[^/]' \| \ 14341 X"$as_dir" : 'X\(//\)$' \| \ 14342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14343 $as_echo X"$as_dir" | 14344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14345 s//\1/ 14346 q 14347 } 14348 /^X\(\/\/\)[^/].*/{ 14349 s//\1/ 14350 q 14351 } 14352 /^X\(\/\/\)$/{ 14353 s//\1/ 14354 q 14355 } 14356 /^X\(\/\).*/{ 14357 s//\1/ 14358 q 14359 } 14360 s/.*/./; q'` 14361 test -d "$as_dir" && break 14362 done 14363 test -z "$as_dirs" || eval "mkdir $as_dirs" 14364 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 14365 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 14366 { (exit 1); exit 1; }; }; } 9758 14367 ac_builddir=. 9759 14368 … … 9812 14421 # FIXME: This hack should be removed a few years after 2.60. 9813 14422 ac_datarootdir_hack=; ac_datarootdir_seen= 14423 9814 14424 ac_sed_dataroot=' 9815 14425 /datarootdir/ { … … 9821 14431 /@infodir@/p 9822 14432 /@localedir@/p 9823 /@mandir@/p' 14433 /@mandir@/p 14434 ' 9824 14435 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9825 14436 *datarootdir*) ac_datarootdir_seen=yes;; 9826 14437 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9827 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&514438 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9828 14439 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9829 14440 _ACEOF … … 9835 14446 s&@localedir@&$localedir&g 9836 14447 s&@mandir@&$mandir&g 9837 s&\\\${datarootdir}&$datarootdir&g' ;;14448 s&\\\${datarootdir}&$datarootdir&g' ;; 9838 14449 esac 9839 14450 _ACEOF … … 9863 14474 $ac_datarootdir_hack 9864 14475 " 9865 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9866 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14476 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 14477 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14478 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14479 { (exit 1); exit 1; }; } 9867 14480 9868 14481 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9869 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 9870 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 9871 "$ac_tmp/out"`; test -z "$ac_out"; } && 9872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9873 which seems to be undefined. Please make sure it is defined" >&5 14482 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 14483 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 14484 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14485 which seems to be undefined. Please make sure it is defined." >&5 9874 14486 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9875 which seems to be undefined. Please make sure it is defined " >&2;}9876 9877 rm -f "$ ac_tmp/stdin"14487 which seems to be undefined. Please make sure it is defined." >&2;} 14488 14489 rm -f "$tmp/stdin" 9878 14490 case $ac_file in 9879 -) cat "$ ac_tmp/out" && rm -f "$ac_tmp/out";;9880 *) rm -f "$ac_file" && mv "$ ac_tmp/out" "$ac_file";;14491 -) cat "$tmp/out" && rm -f "$tmp/out";; 14492 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9881 14493 esac \ 9882 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14494 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14495 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14496 { (exit 1); exit 1; }; } 9883 14497 ;; 9884 14498 :H) … … 9889 14503 { 9890 14504 $as_echo "/* $configure_input */" \ 9891 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 9892 } >"$ac_tmp/config.h" \ 9893 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9894 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 9895 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14505 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 14506 } >"$tmp/config.h" \ 14507 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14508 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14509 { (exit 1); exit 1; }; } 14510 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 14511 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 9896 14512 $as_echo "$as_me: $ac_file is unchanged" >&6;} 9897 14513 else 9898 14514 rm -f "$ac_file" 9899 mv "$ac_tmp/config.h" "$ac_file" \ 9900 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14515 mv "$tmp/config.h" "$ac_file" \ 14516 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14517 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14518 { (exit 1); exit 1; }; } 9901 14519 fi 9902 14520 else 9903 14521 $as_echo "/* $configure_input */" \ 9904 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9905 || as_fn_error $? "could not create -" "$LINENO" 5 14522 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 14523 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 14524 $as_echo "$as_me: error: could not create -" >&2;} 14525 { (exit 1); exit 1; }; } 9906 14526 fi 9907 14527 ;; … … 9913 14533 9914 14534 9915 as_fn_exit 0 9916 _ACEOF 14535 { (exit 0); exit 0; } 14536 _ACEOF 14537 chmod +x $CONFIG_STATUS 9917 14538 ac_clean_files=$ac_clean_files_save 9918 14539 9919 14540 test $ac_write_fail = 0 || 9920 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14541 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 14542 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 14543 { (exit 1); exit 1; }; } 9921 14544 9922 14545 … … 9939 14562 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9940 14563 # would make configure fail if this is the last instruction. 9941 $ac_cs_success || as_fn_exit 114564 $ac_cs_success || { (exit 1); exit 1; } 9942 14565 fi 9943 14566 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 9944 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&514567 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 9945 14568 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 9946 14569 fi
Note: See TracChangeset
for help on using the changeset viewer.