Changeset 2439 for trunk/packages
- Timestamp:
- Aug 29, 2011, 2:11:53 AM (13 years ago)
- Location:
- trunk/packages/vizservers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/configure
r2427 r2439 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. … … 702 737 prefix 703 738 exec_prefix 704 PACKAGE_URL705 739 PACKAGE_BUGREPORT 706 740 PACKAGE_STRING … … 800 834 801 835 case $ac_option in 802 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 803 *=) ac_optarg= ;; 804 *) ac_optarg=yes ;; 836 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 837 *) ac_optarg=yes ;; 805 838 esac 806 839 … … 847 880 # Reject names that are not valid shell variable names. 848 881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 849 as_fn_error $? "invalid feature name: $ac_useropt" 882 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 883 { (exit 1); exit 1; }; } 850 884 ac_useropt_orig=$ac_useropt 851 885 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 873 907 # Reject names that are not valid shell variable names. 874 908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 875 as_fn_error $? "invalid feature name: $ac_useropt" 909 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 910 { (exit 1); exit 1; }; } 876 911 ac_useropt_orig=$ac_useropt 877 912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1077 1112 # Reject names that are not valid shell variable names. 1078 1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1079 as_fn_error $? "invalid package name: $ac_useropt" 1114 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1115 { (exit 1); exit 1; }; } 1080 1116 ac_useropt_orig=$ac_useropt 1081 1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1093 1129 # Reject names that are not valid shell variable names. 1094 1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1095 as_fn_error $? "invalid package name: $ac_useropt" 1131 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1132 { (exit 1); exit 1; }; } 1096 1133 ac_useropt_orig=$ac_useropt 1097 1134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1123 1160 x_libraries=$ac_optarg ;; 1124 1161 1125 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1126 Try \`$0 --help' for more information" 1162 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1163 Try \`$0 --help' for more information." >&2 1164 { (exit 1); exit 1; }; } 1127 1165 ;; 1128 1166 … … 1130 1168 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1131 1169 # Reject names that are not valid shell variable names. 1132 case $ac_envvar in #( 1133 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1134 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1135 esac 1170 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1171 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1172 { (exit 1); exit 1; }; } 1136 1173 eval $ac_envvar=\$ac_optarg 1137 1174 export $ac_envvar ;; … … 1142 1179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1143 1180 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1144 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"1181 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1145 1182 ;; 1146 1183 … … 1150 1187 if test -n "$ac_prev"; then 1151 1188 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1152 as_fn_error $? "missing argument to $ac_option" 1189 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1190 { (exit 1); exit 1; }; } 1153 1191 fi 1154 1192 … … 1156 1194 case $enable_option_checking in 1157 1195 no) ;; 1158 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1196 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1197 { (exit 1); exit 1; }; } ;; 1159 1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1160 1199 esac … … 1179 1218 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1180 1219 esac 1181 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1220 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1221 { (exit 1); exit 1; }; } 1182 1222 done 1183 1223 … … 1193 1233 if test "x$build_alias" = x; then 1194 1234 cross_compiling=maybe 1195 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1196 If a cross compiler is detected then cross compile mode will be used " >&21235 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1236 If a cross compiler is detected then cross compile mode will be used." >&2 1197 1237 elif test "x$build_alias" != "x$host_alias"; then 1198 1238 cross_compiling=yes … … 1209 1249 ac_ls_di=`ls -di .` && 1210 1250 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1211 as_fn_error $? "working directory cannot be determined" 1251 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1252 { (exit 1); exit 1; }; } 1212 1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1213 as_fn_error $? "pwd does not report name of working directory" 1254 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1255 { (exit 1); exit 1; }; } 1214 1256 1215 1257 … … 1250 1292 if test ! -r "$srcdir/$ac_unique_file"; then 1251 1293 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1252 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1294 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1295 { (exit 1); exit 1; }; } 1253 1296 fi 1254 1297 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1255 1298 ac_abs_confdir=`( 1256 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1299 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1300 { (exit 1); exit 1; }; } 1257 1301 pwd)` 1258 1302 # When building in place, set srcdir=. … … 1294 1338 --help=recursive display the short help of all the included packages 1295 1339 -V, --version display version information and exit 1296 -q, --quiet, --silent do not print \`checking 1340 -q, --quiet, --silent do not print \`checking...' messages 1297 1341 --cache-file=FILE cache test results in FILE [disabled] 1298 1342 -C, --config-cache alias for \`--cache-file=config.cache' … … 1376 1420 nonstandard directory <lib dir> 1377 1421 LIBS libraries to pass to the linker, e.g. -l<library> 1378 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1422 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1379 1423 you have headers in a nonstandard directory <include dir> 1380 1424 CPP C preprocessor … … 1451 1495 cat <<\_ACEOF 1452 1496 vizservers configure 0.1 1453 generated by GNU Autoconf 2.68 1454 1455 Copyright (C) 2010 Free Software Foundation, Inc. 1497 generated by GNU Autoconf 2.63 1498 1499 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1500 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1456 1501 This configure script is free software; the Free Software Foundation 1457 1502 gives unlimited permission to copy, distribute and modify it. … … 1459 1504 exit 1460 1505 fi 1461 1462 ## ------------------------ ##1463 ## Autoconf initialization. ##1464 ## ------------------------ ##1465 1466 # ac_fn_c_try_compile LINENO1467 # --------------------------1468 # Try to compile conftest.$ac_ext, and return whether this succeeded.1469 ac_fn_c_try_compile ()1470 {1471 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1472 rm -f conftest.$ac_objext1473 if { { ac_try="$ac_compile"1474 case "(($ac_try" in1475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1476 *) ac_try_echo=$ac_try;;1477 esac1478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1479 $as_echo "$ac_try_echo"; } >&51480 (eval "$ac_compile") 2>conftest.err1481 ac_status=$?1482 if test -s conftest.err; then1483 grep -v '^ *+' conftest.err >conftest.er11484 cat conftest.er1 >&51485 mv -f conftest.er1 conftest.err1486 fi1487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51488 test $ac_status = 0; } && {1489 test -z "$ac_c_werror_flag" ||1490 test ! -s conftest.err1491 } && test -s conftest.$ac_objext; then :1492 ac_retval=01493 else1494 $as_echo "$as_me: failed program was:" >&51495 sed 's/^/| /' conftest.$ac_ext >&51496 1497 ac_retval=11498 fi1499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1500 as_fn_set_status $ac_retval1501 1502 } # ac_fn_c_try_compile1503 1504 # ac_fn_c_try_link LINENO1505 # -----------------------1506 # Try to link conftest.$ac_ext, and return whether this succeeded.1507 ac_fn_c_try_link ()1508 {1509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1510 rm -f conftest.$ac_objext conftest$ac_exeext1511 if { { ac_try="$ac_link"1512 case "(($ac_try" in1513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1514 *) ac_try_echo=$ac_try;;1515 esac1516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1517 $as_echo "$ac_try_echo"; } >&51518 (eval "$ac_link") 2>conftest.err1519 ac_status=$?1520 if test -s conftest.err; then1521 grep -v '^ *+' conftest.err >conftest.er11522 cat conftest.er1 >&51523 mv -f conftest.er1 conftest.err1524 fi1525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51526 test $ac_status = 0; } && {1527 test -z "$ac_c_werror_flag" ||1528 test ! -s conftest.err1529 } && test -s conftest$ac_exeext && {1530 test "$cross_compiling" = yes ||1531 $as_test_x conftest$ac_exeext1532 }; then :1533 ac_retval=01534 else1535 $as_echo "$as_me: failed program was:" >&51536 sed 's/^/| /' conftest.$ac_ext >&51537 1538 ac_retval=11539 fi1540 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1541 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1542 # interfere with the next link command; also delete a directory that is1543 # left behind by Apple's compiler. We do this before executing the actions.1544 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1545 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1546 as_fn_set_status $ac_retval1547 1548 } # ac_fn_c_try_link1549 1550 # ac_fn_c_try_cpp LINENO1551 # ----------------------1552 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1553 ac_fn_c_try_cpp ()1554 {1555 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1556 if { { ac_try="$ac_cpp conftest.$ac_ext"1557 case "(($ac_try" in1558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1559 *) ac_try_echo=$ac_try;;1560 esac1561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1562 $as_echo "$ac_try_echo"; } >&51563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1564 ac_status=$?1565 if test -s conftest.err; then1566 grep -v '^ *+' conftest.err >conftest.er11567 cat conftest.er1 >&51568 mv -f conftest.er1 conftest.err1569 fi1570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51571 test $ac_status = 0; } > conftest.i && {1572 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1573 test ! -s conftest.err1574 }; then :1575 ac_retval=01576 else1577 $as_echo "$as_me: failed program was:" >&51578 sed 's/^/| /' conftest.$ac_ext >&51579 1580 ac_retval=11581 fi1582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1583 as_fn_set_status $ac_retval1584 1585 } # ac_fn_c_try_cpp1586 1587 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1588 # -------------------------------------------------------1589 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1590 # the include files in INCLUDES and setting the cache variable VAR1591 # accordingly.1592 ac_fn_c_check_header_mongrel ()1593 {1594 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1595 if eval \${$3+:} false; then :1596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51597 $as_echo_n "checking for $2... " >&6; }1598 if eval \${$3+:} false; then :1599 $as_echo_n "(cached) " >&61600 fi1601 eval ac_res=\$$31602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51603 $as_echo "$ac_res" >&6; }1604 else1605 # Is the header compilable?1606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51607 $as_echo_n "checking $2 usability... " >&6; }1608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1609 /* end confdefs.h. */1610 $41611 #include <$2>1612 _ACEOF1613 if ac_fn_c_try_compile "$LINENO"; then :1614 ac_header_compiler=yes1615 else1616 ac_header_compiler=no1617 fi1618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51620 $as_echo "$ac_header_compiler" >&6; }1621 1622 # Is the header present?1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51624 $as_echo_n "checking $2 presence... " >&6; }1625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1626 /* end confdefs.h. */1627 #include <$2>1628 _ACEOF1629 if ac_fn_c_try_cpp "$LINENO"; then :1630 ac_header_preproc=yes1631 else1632 ac_header_preproc=no1633 fi1634 rm -f conftest.err conftest.i conftest.$ac_ext1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51636 $as_echo "$ac_header_preproc" >&6; }1637 1638 # So? What about this header?1639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((1640 yes:no: )1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&51642 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51644 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1645 ;;1646 no:yes:* )1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&51648 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}1649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&51650 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}1651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&51652 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}1653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&51654 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}1655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51656 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1657 ( $as_echo "## ----------------------------------- ##1658 ## Report this to rappture@nanohub.org ##1659 ## ----------------------------------- ##"1660 ) | sed "s/^/$as_me: WARNING: /" >&21661 ;;1662 esac1663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51664 $as_echo_n "checking for $2... " >&6; }1665 if eval \${$3+:} false; then :1666 $as_echo_n "(cached) " >&61667 else1668 eval "$3=\$ac_header_compiler"1669 fi1670 eval ac_res=\$$31671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51672 $as_echo "$ac_res" >&6; }1673 fi1674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1675 1676 } # ac_fn_c_check_header_mongrel1677 1678 # ac_fn_c_try_run LINENO1679 # ----------------------1680 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1681 # that executables *can* be run.1682 ac_fn_c_try_run ()1683 {1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1685 if { { ac_try="$ac_link"1686 case "(($ac_try" in1687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1688 *) ac_try_echo=$ac_try;;1689 esac1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1691 $as_echo "$ac_try_echo"; } >&51692 (eval "$ac_link") 2>&51693 ac_status=$?1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51695 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1696 { { case "(($ac_try" in1697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1698 *) ac_try_echo=$ac_try;;1699 esac1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1701 $as_echo "$ac_try_echo"; } >&51702 (eval "$ac_try") 2>&51703 ac_status=$?1704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51705 test $ac_status = 0; }; }; then :1706 ac_retval=01707 else1708 $as_echo "$as_me: program exited with status $ac_status" >&51709 $as_echo "$as_me: failed program was:" >&51710 sed 's/^/| /' conftest.$ac_ext >&51711 1712 ac_retval=$ac_status1713 fi1714 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1716 as_fn_set_status $ac_retval1717 1718 } # ac_fn_c_try_run1719 1720 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1721 # -------------------------------------------------------1722 # Tests whether HEADER exists and can be compiled using the include files in1723 # INCLUDES, setting the cache variable VAR accordingly.1724 ac_fn_c_check_header_compile ()1725 {1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51728 $as_echo_n "checking for $2... " >&6; }1729 if eval \${$3+:} false; then :1730 $as_echo_n "(cached) " >&61731 else1732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1733 /* end confdefs.h. */1734 $41735 #include <$2>1736 _ACEOF1737 if ac_fn_c_try_compile "$LINENO"; then :1738 eval "$3=yes"1739 else1740 eval "$3=no"1741 fi1742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1743 fi1744 eval ac_res=\$$31745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51746 $as_echo "$ac_res" >&6; }1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1748 1749 } # ac_fn_c_check_header_compile1750 1751 # ac_fn_cxx_try_compile LINENO1752 # ----------------------------1753 # Try to compile conftest.$ac_ext, and return whether this succeeded.1754 ac_fn_cxx_try_compile ()1755 {1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1757 rm -f conftest.$ac_objext1758 if { { ac_try="$ac_compile"1759 case "(($ac_try" in1760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1761 *) ac_try_echo=$ac_try;;1762 esac1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1764 $as_echo "$ac_try_echo"; } >&51765 (eval "$ac_compile") 2>conftest.err1766 ac_status=$?1767 if test -s conftest.err; then1768 grep -v '^ *+' conftest.err >conftest.er11769 cat conftest.er1 >&51770 mv -f conftest.er1 conftest.err1771 fi1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51773 test $ac_status = 0; } && {1774 test -z "$ac_cxx_werror_flag" ||1775 test ! -s conftest.err1776 } && test -s conftest.$ac_objext; then :1777 ac_retval=01778 else1779 $as_echo "$as_me: failed program was:" >&51780 sed 's/^/| /' conftest.$ac_ext >&51781 1782 ac_retval=11783 fi1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1785 as_fn_set_status $ac_retval1786 1787 } # ac_fn_cxx_try_compile1788 1789 # ac_fn_cxx_try_cpp LINENO1790 # ------------------------1791 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1792 ac_fn_cxx_try_cpp ()1793 {1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1795 if { { ac_try="$ac_cpp conftest.$ac_ext"1796 case "(($ac_try" in1797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1798 *) ac_try_echo=$ac_try;;1799 esac1800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1801 $as_echo "$ac_try_echo"; } >&51802 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1803 ac_status=$?1804 if test -s conftest.err; then1805 grep -v '^ *+' conftest.err >conftest.er11806 cat conftest.er1 >&51807 mv -f conftest.er1 conftest.err1808 fi1809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51810 test $ac_status = 0; } > conftest.i && {1811 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||1812 test ! -s conftest.err1813 }; then :1814 ac_retval=01815 else1816 $as_echo "$as_me: failed program was:" >&51817 sed 's/^/| /' conftest.$ac_ext >&51818 1819 ac_retval=11820 fi1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1822 as_fn_set_status $ac_retval1823 1824 } # ac_fn_cxx_try_cpp1825 1826 # ac_fn_cxx_try_run LINENO1827 # ------------------------1828 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1829 # that executables *can* be run.1830 ac_fn_cxx_try_run ()1831 {1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1833 if { { ac_try="$ac_link"1834 case "(($ac_try" in1835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1836 *) ac_try_echo=$ac_try;;1837 esac1838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1839 $as_echo "$ac_try_echo"; } >&51840 (eval "$ac_link") 2>&51841 ac_status=$?1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51843 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1844 { { case "(($ac_try" in1845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1846 *) ac_try_echo=$ac_try;;1847 esac1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1849 $as_echo "$ac_try_echo"; } >&51850 (eval "$ac_try") 2>&51851 ac_status=$?1852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51853 test $ac_status = 0; }; }; then :1854 ac_retval=01855 else1856 $as_echo "$as_me: program exited with status $ac_status" >&51857 $as_echo "$as_me: failed program was:" >&51858 sed 's/^/| /' conftest.$ac_ext >&51859 1860 ac_retval=$ac_status1861 fi1862 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1864 as_fn_set_status $ac_retval1865 1866 } # ac_fn_cxx_try_run1867 1868 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES1869 # ----------------------------------------------1870 # Tries to find the compile-time value of EXPR in a program that includes1871 # INCLUDES, setting VAR accordingly. Returns whether the value could be1872 # computed1873 ac_fn_cxx_compute_int ()1874 {1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1876 if test "$cross_compiling" = yes; then1877 # Depending upon the size, compute the lo and hi bounds.1878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1879 /* end confdefs.h. */1880 $41881 int1882 main ()1883 {1884 static int test_array [1 - 2 * !(($2) >= 0)];1885 test_array [0] = 01886 1887 ;1888 return 0;1889 }1890 _ACEOF1891 if ac_fn_cxx_try_compile "$LINENO"; then :1892 ac_lo=0 ac_mid=01893 while :; do1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1895 /* end confdefs.h. */1896 $41897 int1898 main ()1899 {1900 static int test_array [1 - 2 * !(($2) <= $ac_mid)];1901 test_array [0] = 01902 1903 ;1904 return 0;1905 }1906 _ACEOF1907 if ac_fn_cxx_try_compile "$LINENO"; then :1908 ac_hi=$ac_mid; break1909 else1910 as_fn_arith $ac_mid + 1 && ac_lo=$as_val1911 if test $ac_lo -le $ac_mid; then1912 ac_lo= ac_hi=1913 break1914 fi1915 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val1916 fi1917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1918 done1919 else1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1921 /* end confdefs.h. */1922 $41923 int1924 main ()1925 {1926 static int test_array [1 - 2 * !(($2) < 0)];1927 test_array [0] = 01928 1929 ;1930 return 0;1931 }1932 _ACEOF1933 if ac_fn_cxx_try_compile "$LINENO"; then :1934 ac_hi=-1 ac_mid=-11935 while :; do1936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1937 /* end confdefs.h. */1938 $41939 int1940 main ()1941 {1942 static int test_array [1 - 2 * !(($2) >= $ac_mid)];1943 test_array [0] = 01944 1945 ;1946 return 0;1947 }1948 _ACEOF1949 if ac_fn_cxx_try_compile "$LINENO"; then :1950 ac_lo=$ac_mid; break1951 else1952 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val1953 if test $ac_mid -le $ac_hi; then1954 ac_lo= ac_hi=1955 break1956 fi1957 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val1958 fi1959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1960 done1961 else1962 ac_lo= ac_hi=1963 fi1964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1965 fi1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1967 # Binary search between lo and hi bounds.1968 while test "x$ac_lo" != "x$ac_hi"; do1969 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val1970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1971 /* end confdefs.h. */1972 $41973 int1974 main ()1975 {1976 static int test_array [1 - 2 * !(($2) <= $ac_mid)];1977 test_array [0] = 01978 1979 ;1980 return 0;1981 }1982 _ACEOF1983 if ac_fn_cxx_try_compile "$LINENO"; then :1984 ac_hi=$ac_mid1985 else1986 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val1987 fi1988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1989 done1990 case $ac_lo in #((1991 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;1992 '') ac_retval=1 ;;1993 esac1994 else1995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1996 /* end confdefs.h. */1997 $41998 static long int longval () { return $2; }1999 static unsigned long int ulongval () { return $2; }2000 #include <stdio.h>2001 #include <stdlib.h>2002 int2003 main ()2004 {2005 2006 FILE *f = fopen ("conftest.val", "w");2007 if (! f)2008 return 1;2009 if (($2) < 0)2010 {2011 long int i = longval ();2012 if (i != ($2))2013 return 1;2014 fprintf (f, "%ld", i);2015 }2016 else2017 {2018 unsigned long int i = ulongval ();2019 if (i != ($2))2020 return 1;2021 fprintf (f, "%lu", i);2022 }2023 /* Do not output a trailing newline, as this causes \r\n confusion2024 on some platforms. */2025 return ferror (f) || fclose (f) != 0;2026 2027 ;2028 return 0;2029 }2030 _ACEOF2031 if ac_fn_cxx_try_run "$LINENO"; then :2032 echo >>conftest.val; read $3 <conftest.val; ac_retval=02033 else2034 ac_retval=12035 fi2036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \2037 conftest.$ac_objext conftest.beam conftest.$ac_ext2038 rm -f conftest.val2039 2040 fi2041 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2042 as_fn_set_status $ac_retval2043 2044 } # ac_fn_cxx_compute_int2045 2046 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES2047 # ---------------------------------------------------------2048 # Tests whether HEADER exists, giving a warning if it cannot be compiled using2049 # the include files in INCLUDES and setting the cache variable VAR2050 # accordingly.2051 ac_fn_cxx_check_header_mongrel ()2052 {2053 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2054 if eval \${$3+:} false; then :2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52056 $as_echo_n "checking for $2... " >&6; }2057 if eval \${$3+:} false; then :2058 $as_echo_n "(cached) " >&62059 fi2060 eval ac_res=\$$32061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52062 $as_echo "$ac_res" >&6; }2063 else2064 # Is the header compilable?2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&52066 $as_echo_n "checking $2 usability... " >&6; }2067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2068 /* end confdefs.h. */2069 $42070 #include <$2>2071 _ACEOF2072 if ac_fn_cxx_try_compile "$LINENO"; then :2073 ac_header_compiler=yes2074 else2075 ac_header_compiler=no2076 fi2077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&52079 $as_echo "$ac_header_compiler" >&6; }2080 2081 # Is the header present?2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&52083 $as_echo_n "checking $2 presence... " >&6; }2084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2085 /* end confdefs.h. */2086 #include <$2>2087 _ACEOF2088 if ac_fn_cxx_try_cpp "$LINENO"; then :2089 ac_header_preproc=yes2090 else2091 ac_header_preproc=no2092 fi2093 rm -f conftest.err conftest.i conftest.$ac_ext2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&52095 $as_echo "$ac_header_preproc" >&6; }2096 2097 # So? What about this header?2098 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((2099 yes:no: )2100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&52101 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52103 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2104 ;;2105 no:yes:* )2106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&52107 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&52109 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&52111 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&52113 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52115 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2116 ( $as_echo "## ----------------------------------- ##2117 ## Report this to rappture@nanohub.org ##2118 ## ----------------------------------- ##"2119 ) | sed "s/^/$as_me: WARNING: /" >&22120 ;;2121 esac2122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52123 $as_echo_n "checking for $2... " >&6; }2124 if eval \${$3+:} false; then :2125 $as_echo_n "(cached) " >&62126 else2127 eval "$3=\$ac_header_compiler"2128 fi2129 eval ac_res=\$$32130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52131 $as_echo "$ac_res" >&6; }2132 fi2133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2134 2135 } # ac_fn_cxx_check_header_mongrel2136 2137 # ac_fn_cxx_try_link LINENO2138 # -------------------------2139 # Try to link conftest.$ac_ext, and return whether this succeeded.2140 ac_fn_cxx_try_link ()2141 {2142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2143 rm -f conftest.$ac_objext conftest$ac_exeext2144 if { { ac_try="$ac_link"2145 case "(($ac_try" in2146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2147 *) ac_try_echo=$ac_try;;2148 esac2149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2150 $as_echo "$ac_try_echo"; } >&52151 (eval "$ac_link") 2>conftest.err2152 ac_status=$?2153 if test -s conftest.err; then2154 grep -v '^ *+' conftest.err >conftest.er12155 cat conftest.er1 >&52156 mv -f conftest.er1 conftest.err2157 fi2158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52159 test $ac_status = 0; } && {2160 test -z "$ac_cxx_werror_flag" ||2161 test ! -s conftest.err2162 } && test -s conftest$ac_exeext && {2163 test "$cross_compiling" = yes ||2164 $as_test_x conftest$ac_exeext2165 }; then :2166 ac_retval=02167 else2168 $as_echo "$as_me: failed program was:" >&52169 sed 's/^/| /' conftest.$ac_ext >&52170 2171 ac_retval=12172 fi2173 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information2174 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would2175 # interfere with the next link command; also delete a directory that is2176 # left behind by Apple's compiler. We do this before executing the actions.2177 rm -rf conftest.dSYM conftest_ipa8_conftest.oo2178 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2179 as_fn_set_status $ac_retval2180 2181 } # ac_fn_cxx_try_link2182 2183 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES2184 # ---------------------------------------------------------2185 # Tests whether HEADER exists and can be compiled using the include files in2186 # INCLUDES, setting the cache variable VAR accordingly.2187 ac_fn_cxx_check_header_compile ()2188 {2189 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52191 $as_echo_n "checking for $2... " >&6; }2192 if eval \${$3+:} false; then :2193 $as_echo_n "(cached) " >&62194 else2195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2196 /* end confdefs.h. */2197 $42198 #include <$2>2199 _ACEOF2200 if ac_fn_cxx_try_compile "$LINENO"; then :2201 eval "$3=yes"2202 else2203 eval "$3=no"2204 fi2205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2206 fi2207 eval ac_res=\$$32208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52209 $as_echo "$ac_res" >&6; }2210 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2211 2212 } # ac_fn_cxx_check_header_compile2213 2214 # ac_fn_cxx_check_func LINENO FUNC VAR2215 # ------------------------------------2216 # Tests whether FUNC exists, setting the cache variable VAR accordingly2217 ac_fn_cxx_check_func ()2218 {2219 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52221 $as_echo_n "checking for $2... " >&6; }2222 if eval \${$3+:} false; then :2223 $as_echo_n "(cached) " >&62224 else2225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2226 /* end confdefs.h. */2227 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.2228 For example, HP-UX 11i <limits.h> declares gettimeofday. */2229 #define $2 innocuous_$22230 2231 /* System header to define __stub macros and hopefully few prototypes,2232 which can conflict with char $2 (); below.2233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since2234 <limits.h> exists even on freestanding compilers. */2235 2236 #ifdef __STDC__2237 # include <limits.h>2238 #else2239 # include <assert.h>2240 #endif2241 2242 #undef $22243 2244 /* Override any GCC internal prototype to avoid an error.2245 Use char because int might match the return type of a GCC2246 builtin and then its argument prototype would still apply. */2247 #ifdef __cplusplus2248 extern "C"2249 #endif2250 char $2 ();2251 /* The GNU C library defines this for functions which it implements2252 to always fail with ENOSYS. Some functions are actually named2253 something starting with __ and the normal name is an alias. */2254 #if defined __stub_$2 || defined __stub___$22255 choke me2256 #endif2257 2258 int2259 main ()2260 {2261 return $2 ();2262 ;2263 return 0;2264 }2265 _ACEOF2266 if ac_fn_cxx_try_link "$LINENO"; then :2267 eval "$3=yes"2268 else2269 eval "$3=no"2270 fi2271 rm -f core conftest.err conftest.$ac_objext \2272 conftest$ac_exeext conftest.$ac_ext2273 fi2274 eval ac_res=\$$32275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52276 $as_echo "$ac_res" >&6; }2277 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2278 2279 } # ac_fn_cxx_check_func2280 1506 cat >config.log <<_ACEOF 2281 1507 This file contains any messages produced by compilers while … … 2283 1509 2284 1510 It was created by vizservers $as_me 0.1, which was 2285 generated by GNU Autoconf 2.6 8. Invocation command line was1511 generated by GNU Autoconf 2.63. Invocation command line was 2286 1512 2287 1513 $ $0 $@ … … 2319 1545 IFS=$as_save_IFS 2320 1546 test -z "$as_dir" && as_dir=. 2321 2322 1547 $as_echo "PATH: $as_dir" 1548 done 2323 1549 IFS=$as_save_IFS 2324 1550 … … 2357 1583 esac 2358 1584 case $ac_pass in 2359 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1585 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2360 1586 2) 2361 a s_fn_append ac_configure_args1 "'$ac_arg'"1587 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2362 1588 if test $ac_must_keep_next = true; then 2363 1589 ac_must_keep_next=false # Got value, back to normal. … … 2375 1601 esac 2376 1602 fi 2377 a s_fn_append ac_configure_args "'$ac_arg'"1603 ac_configure_args="$ac_configure_args '$ac_arg'" 2378 1604 ;; 2379 1605 esac 2380 1606 done 2381 1607 done 2382 { ac_configure_args0=; unset ac_configure_args0;}2383 { ac_configure_args1=; unset ac_configure_args1;}1608 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1609 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2384 1610 2385 1611 # When interrupted or exit'd, cleanup temporary files, and complete … … 2393 1619 echo 2394 1620 2395 $as_echo "## ---------------- ## 1621 cat <<\_ASBOX 1622 ## ---------------- ## 2396 1623 ## Cache variables. ## 2397 ## ---------------- ##" 1624 ## ---------------- ## 1625 _ASBOX 2398 1626 echo 2399 1627 # The following way of writing the cache mishandles newlines in values, … … 2404 1632 *${as_nl}*) 2405 1633 case $ac_var in #( 2406 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&51634 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 2407 1635 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2408 1636 esac … … 2410 1638 _ | IFS | as_nl) ;; #( 2411 1639 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2412 *) { eval $ac_var=; unset $ac_var;};;1640 *) $as_unset $ac_var ;; 2413 1641 esac ;; 2414 1642 esac … … 2429 1657 echo 2430 1658 2431 $as_echo "## ----------------- ## 1659 cat <<\_ASBOX 1660 ## ----------------- ## 2432 1661 ## Output variables. ## 2433 ## ----------------- ##" 1662 ## ----------------- ## 1663 _ASBOX 2434 1664 echo 2435 1665 for ac_var in $ac_subst_vars … … 2444 1674 2445 1675 if test -n "$ac_subst_files"; then 2446 $as_echo "## ------------------- ## 1676 cat <<\_ASBOX 1677 ## ------------------- ## 2447 1678 ## File substitutions. ## 2448 ## ------------------- ##" 1679 ## ------------------- ## 1680 _ASBOX 2449 1681 echo 2450 1682 for ac_var in $ac_subst_files … … 2460 1692 2461 1693 if test -s confdefs.h; then 2462 $as_echo "## ----------- ## 1694 cat <<\_ASBOX 1695 ## ----------- ## 2463 1696 ## confdefs.h. ## 2464 ## ----------- ##" 1697 ## ----------- ## 1698 _ASBOX 2465 1699 echo 2466 1700 cat confdefs.h … … 2476 1710 ' 0 2477 1711 for ac_signal in 1 2 13 15; do 2478 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1712 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2479 1713 done 2480 1714 ac_signal=0 … … 2483 1717 rm -f -r conftest* confdefs.h 2484 1718 2485 $as_echo "/* confdefs.h */" > confdefs.h2486 2487 1719 # Predefined preprocessor variables. 2488 1720 … … 2491 1723 _ACEOF 2492 1724 1725 2493 1726 cat >>confdefs.h <<_ACEOF 2494 1727 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2495 1728 _ACEOF 2496 1729 1730 2497 1731 cat >>confdefs.h <<_ACEOF 2498 1732 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2499 1733 _ACEOF 2500 1734 1735 2501 1736 cat >>confdefs.h <<_ACEOF 2502 1737 #define PACKAGE_STRING "$PACKAGE_STRING" 2503 1738 _ACEOF 2504 1739 1740 2505 1741 cat >>confdefs.h <<_ACEOF 2506 1742 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2507 _ACEOF2508 2509 cat >>confdefs.h <<_ACEOF2510 #define PACKAGE_URL "$PACKAGE_URL"2511 1743 _ACEOF 2512 1744 … … 2517 1749 ac_site_file2=NONE 2518 1750 if test -n "$CONFIG_SITE"; then 2519 # We do not want a PATH search for config.site. 2520 case $CONFIG_SITE in #(( 2521 -*) ac_site_file1=./$CONFIG_SITE;; 2522 */*) ac_site_file1=$CONFIG_SITE;; 2523 *) ac_site_file1=./$CONFIG_SITE;; 2524 esac 1751 ac_site_file1=$CONFIG_SITE 2525 1752 elif test "x$prefix" != xNONE; then 2526 1753 ac_site_file1=$prefix/share/config.site … … 2533 1760 do 2534 1761 test "x$ac_site_file" = xNONE && continue 2535 if test /dev/null != "$ac_site_file" && test-r "$ac_site_file"; then2536 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading site script $ac_site_file" >&51762 if test -r "$ac_site_file"; then 1763 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2537 1764 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2538 1765 sed 's/^/| /' "$ac_site_file" >&5 2539 . "$ac_site_file" \ 2540 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2542 as_fn_error $? "failed to load site script $ac_site_file 2543 See \`config.log' for more details" "$LINENO" 5; } 1766 . "$ac_site_file" 2544 1767 fi 2545 1768 done 2546 1769 2547 1770 if test -r "$cache_file"; then 2548 # Some versions of bash will fail to source /dev/null (special files2549 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2550 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2551 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading cache $cache_file" >&51771 # Some versions of bash will fail to source /dev/null (special 1772 # files actually), so we avoid doing that. 1773 if test -f "$cache_file"; then 1774 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2552 1775 $as_echo "$as_me: loading cache $cache_file" >&6;} 2553 1776 case $cache_file in … … 2557 1780 fi 2558 1781 else 2559 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating cache $cache_file" >&51782 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2560 1783 $as_echo "$as_me: creating cache $cache_file" >&6;} 2561 1784 >$cache_file … … 2572 1795 case $ac_old_set,$ac_new_set in 2573 1796 set,) 2574 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51797 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2575 1798 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2576 1799 ac_cache_corrupted=: ;; 2577 1800 ,set) 2578 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&51801 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2579 1802 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2580 1803 ac_cache_corrupted=: ;; … … 2586 1809 ac_new_val_w=`echo x $ac_new_val` 2587 1810 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2588 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&51811 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2589 1812 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2590 1813 ac_cache_corrupted=: 2591 1814 else 2592 { $as_echo "$as_me:$ {as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&51815 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2593 1816 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2594 1817 eval $ac_var=\$ac_old_val 2595 1818 fi 2596 { $as_echo "$as_me:$ {as_lineno-$LINENO}: former value: \`$ac_old_val'" >&51819 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2597 1820 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2598 { $as_echo "$as_me:$ {as_lineno-$LINENO}: current value: \`$ac_new_val'" >&51821 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2599 1822 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2600 1823 fi;; … … 2608 1831 case " $ac_configure_args " in 2609 1832 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2610 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1833 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2611 1834 esac 2612 1835 fi 2613 1836 done 2614 1837 if $ac_cache_corrupted; then 2615 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&51838 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2616 1839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2617 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&51840 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2618 1841 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2619 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2620 fi 2621 ## -------------------- ## 2622 ## Main body of script. ## 2623 ## -------------------- ## 1842 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1843 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1844 { (exit 1); exit 1; }; } 1845 fi 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 2624 1870 2625 1871 ac_ext=c … … 2633 1879 2634 1880 2635 with_vtk="yes"2636 with_vtk_libs=""2637 with_vtk_includes=""2638 with_rappture=""2639 with_tcllib=""2640 with_rappture="yes"2641 2642 1881 2643 1882 # Check whether --with-tcllib was given. 2644 if test "${with_tcllib+set}" = set; then :1883 if test "${with_tcllib+set}" = set; then 2645 1884 withval=$with_tcllib; with_tcllib=$withval 2646 1885 else … … 2651 1890 2652 1891 # Check whether --with-rappture was given. 2653 if test "${with_rappture+set}" = set; then :1892 if test "${with_rappture+set}" = set; then 2654 1893 withval=$with_rappture; with_rappture=$withval 2655 1894 else … … 2660 1899 2661 1900 # Check whether --with-vtk-includes was given. 2662 if test "${with_vtk_includes+set}" = set; then :1901 if test "${with_vtk_includes+set}" = set; then 2663 1902 withval=$with_vtk_includes; with_vtk_includes=$withval 2664 1903 else … … 2669 1908 2670 1909 # Check whether --with-vtk-libs was given. 2671 if test "${with_vtk_libs+set}" = set; then :1910 if test "${with_vtk_libs+set}" = set; then 2672 1911 withval=$with_vtk_libs; with_vtk_libs=$withval 2673 1912 else … … 2678 1917 2679 1918 # Check whether --with-vtk was given. 2680 if test "${with_vtk+set}" = set; then :1919 if test "${with_vtk+set}" = set; then 2681 1920 withval=$with_vtk; with_vtk=$withval 2682 1921 else … … 2717 1956 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2718 1957 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2719 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&51958 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2720 1959 $as_echo_n "checking for $ac_word... " >&6; } 2721 if ${ac_cv_prog_CC+:} false; then :1960 if test "${ac_cv_prog_CC+set}" = set; then 2722 1961 $as_echo_n "(cached) " >&6 2723 1962 else … … 2730 1969 IFS=$as_save_IFS 2731 1970 test -z "$as_dir" && as_dir=. 2732 1971 for ac_exec_ext in '' $ac_executable_extensions; do 2733 1972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2734 1973 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2735 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51974 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2736 1975 break 2 2737 1976 fi 2738 1977 done 2739 1978 done 2740 1979 IFS=$as_save_IFS 2741 1980 … … 2744 1983 CC=$ac_cv_prog_CC 2745 1984 if test -n "$CC"; then 2746 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&51985 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2747 1986 $as_echo "$CC" >&6; } 2748 1987 else 2749 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&51988 { $as_echo "$as_me:$LINENO: result: no" >&5 2750 1989 $as_echo "no" >&6; } 2751 1990 fi … … 2757 1996 # Extract the first word of "gcc", so it can be a program name with args. 2758 1997 set dummy gcc; ac_word=$2 2759 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&51998 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2760 1999 $as_echo_n "checking for $ac_word... " >&6; } 2761 if ${ac_cv_prog_ac_ct_CC+:} false; then :2000 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2762 2001 $as_echo_n "(cached) " >&6 2763 2002 else … … 2770 2009 IFS=$as_save_IFS 2771 2010 test -z "$as_dir" && as_dir=. 2772 2011 for ac_exec_ext in '' $ac_executable_extensions; do 2773 2012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2774 2013 ac_cv_prog_ac_ct_CC="gcc" 2775 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52014 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2776 2015 break 2 2777 2016 fi 2778 2017 done 2779 2018 done 2780 2019 IFS=$as_save_IFS 2781 2020 … … 2784 2023 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2785 2024 if test -n "$ac_ct_CC"; then 2786 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52025 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2787 2026 $as_echo "$ac_ct_CC" >&6; } 2788 2027 else 2789 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52028 { $as_echo "$as_me:$LINENO: result: no" >&5 2790 2029 $as_echo "no" >&6; } 2791 2030 fi … … 2796 2035 case $cross_compiling:$ac_tool_warned in 2797 2036 yes:) 2798 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52037 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2799 2038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2800 2039 ac_tool_warned=yes ;; … … 2810 2049 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2811 2050 set dummy ${ac_tool_prefix}cc; ac_word=$2 2812 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52051 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2813 2052 $as_echo_n "checking for $ac_word... " >&6; } 2814 if ${ac_cv_prog_CC+:} false; then :2053 if test "${ac_cv_prog_CC+set}" = set; then 2815 2054 $as_echo_n "(cached) " >&6 2816 2055 else … … 2823 2062 IFS=$as_save_IFS 2824 2063 test -z "$as_dir" && as_dir=. 2825 2064 for ac_exec_ext in '' $ac_executable_extensions; do 2826 2065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2827 2066 ac_cv_prog_CC="${ac_tool_prefix}cc" 2828 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52067 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2829 2068 break 2 2830 2069 fi 2831 2070 done 2832 2071 done 2833 2072 IFS=$as_save_IFS 2834 2073 … … 2837 2076 CC=$ac_cv_prog_CC 2838 2077 if test -n "$CC"; then 2839 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52078 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2840 2079 $as_echo "$CC" >&6; } 2841 2080 else 2842 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52081 { $as_echo "$as_me:$LINENO: result: no" >&5 2843 2082 $as_echo "no" >&6; } 2844 2083 fi … … 2850 2089 # Extract the first word of "cc", so it can be a program name with args. 2851 2090 set dummy cc; ac_word=$2 2852 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52091 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2853 2092 $as_echo_n "checking for $ac_word... " >&6; } 2854 if ${ac_cv_prog_CC+:} false; then :2093 if test "${ac_cv_prog_CC+set}" = set; then 2855 2094 $as_echo_n "(cached) " >&6 2856 2095 else … … 2864 2103 IFS=$as_save_IFS 2865 2104 test -z "$as_dir" && as_dir=. 2866 2105 for ac_exec_ext in '' $ac_executable_extensions; do 2867 2106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2868 2107 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2871 2110 fi 2872 2111 ac_cv_prog_CC="cc" 2873 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52112 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2874 2113 break 2 2875 2114 fi 2876 2115 done 2877 2116 done 2878 2117 IFS=$as_save_IFS 2879 2118 … … 2894 2133 CC=$ac_cv_prog_CC 2895 2134 if test -n "$CC"; then 2896 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52135 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2897 2136 $as_echo "$CC" >&6; } 2898 2137 else 2899 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52138 { $as_echo "$as_me:$LINENO: result: no" >&5 2900 2139 $as_echo "no" >&6; } 2901 2140 fi … … 2909 2148 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2910 2149 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2911 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52150 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2912 2151 $as_echo_n "checking for $ac_word... " >&6; } 2913 if ${ac_cv_prog_CC+:} false; then :2152 if test "${ac_cv_prog_CC+set}" = set; then 2914 2153 $as_echo_n "(cached) " >&6 2915 2154 else … … 2922 2161 IFS=$as_save_IFS 2923 2162 test -z "$as_dir" && as_dir=. 2924 2163 for ac_exec_ext in '' $ac_executable_extensions; do 2925 2164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2926 2165 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2927 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52166 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2928 2167 break 2 2929 2168 fi 2930 2169 done 2931 2170 done 2932 2171 IFS=$as_save_IFS 2933 2172 … … 2936 2175 CC=$ac_cv_prog_CC 2937 2176 if test -n "$CC"; then 2938 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52177 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2939 2178 $as_echo "$CC" >&6; } 2940 2179 else 2941 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52180 { $as_echo "$as_me:$LINENO: result: no" >&5 2942 2181 $as_echo "no" >&6; } 2943 2182 fi … … 2953 2192 # Extract the first word of "$ac_prog", so it can be a program name with args. 2954 2193 set dummy $ac_prog; ac_word=$2 2955 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52194 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2956 2195 $as_echo_n "checking for $ac_word... " >&6; } 2957 if ${ac_cv_prog_ac_ct_CC+:} false; then :2196 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2958 2197 $as_echo_n "(cached) " >&6 2959 2198 else … … 2966 2205 IFS=$as_save_IFS 2967 2206 test -z "$as_dir" && as_dir=. 2968 2207 for ac_exec_ext in '' $ac_executable_extensions; do 2969 2208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2970 2209 ac_cv_prog_ac_ct_CC="$ac_prog" 2971 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52210 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2972 2211 break 2 2973 2212 fi 2974 2213 done 2975 2214 done 2976 2215 IFS=$as_save_IFS 2977 2216 … … 2980 2219 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2981 2220 if test -n "$ac_ct_CC"; then 2982 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52221 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2983 2222 $as_echo "$ac_ct_CC" >&6; } 2984 2223 else 2985 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52224 { $as_echo "$as_me:$LINENO: result: no" >&5 2986 2225 $as_echo "no" >&6; } 2987 2226 fi … … 2996 2235 case $cross_compiling:$ac_tool_warned in 2997 2236 yes:) 2998 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52237 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2999 2238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3000 2239 ac_tool_warned=yes ;; … … 3007 2246 3008 2247 3009 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52248 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3010 2249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3011 as_fn_error $? "no acceptable C compiler found in \$PATH 3012 See \`config.log' for more details" "$LINENO" 5; } 2250 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2251 See \`config.log' for more details." >&5 2252 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2253 See \`config.log' for more details." >&2;} 2254 { (exit 1); exit 1; }; }; } 3013 2255 3014 2256 # Provide some information about the compiler. 3015 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&52257 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3016 2258 set X $ac_compile 3017 2259 ac_compiler=$2 3018 for ac_option in --version -v -V -qversion; do 3019 { { ac_try="$ac_compiler $ac_option >&5" 2260 { (ac_try="$ac_compiler --version >&5" 3020 2261 case "(($ac_try" in 3021 2262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3022 2263 *) ac_try_echo=$ac_try;; 3023 2264 esac 3024 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3025 $as_echo "$ac_try_echo" ; }>&53026 (eval "$ac_compiler $ac_option >&5") 2>conftest.err2265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2266 $as_echo "$ac_try_echo") >&5 2267 (eval "$ac_compiler --version >&5") 2>&5 3027 2268 ac_status=$? 3028 if test -s conftest.err; then 3029 sed '10a\ 3030 ... rest of stderr output deleted ... 3031 10q' conftest.err >conftest.er1 3032 cat conftest.er1 >&5 3033 fi 3034 rm -f conftest.er1 conftest.err 3035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3036 test $ac_status = 0; } 3037 done 3038 3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2270 (exit $ac_status); } 2271 { (ac_try="$ac_compiler -v >&5" 2272 case "(($ac_try" in 2273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2274 *) ac_try_echo=$ac_try;; 2275 esac 2276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2277 $as_echo "$ac_try_echo") >&5 2278 (eval "$ac_compiler -v >&5") 2>&5 2279 ac_status=$? 2280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2281 (exit $ac_status); } 2282 { (ac_try="$ac_compiler -V >&5" 2283 case "(($ac_try" in 2284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2285 *) ac_try_echo=$ac_try;; 2286 esac 2287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2288 $as_echo "$ac_try_echo") >&5 2289 (eval "$ac_compiler -V >&5") 2>&5 2290 ac_status=$? 2291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2292 (exit $ac_status); } 2293 2294 cat >conftest.$ac_ext <<_ACEOF 2295 /* confdefs.h. */ 2296 _ACEOF 2297 cat confdefs.h >>conftest.$ac_ext 2298 cat >>conftest.$ac_ext <<_ACEOF 3040 2299 /* end confdefs.h. */ 3041 2300 … … 3053 2312 # It will help us diagnose broken compilers, and finding out an intuition 3054 2313 # of exeext. 3055 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether the C compiler works" >&53056 $as_echo_n "checking whether the C compiler works... " >&6; }2314 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2315 $as_echo_n "checking for C compiler default output file name... " >&6; } 3057 2316 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3058 2317 … … 3070 2329 rm -f $ac_rmfiles 3071 2330 3072 if { {ac_try="$ac_link_default"2331 if { (ac_try="$ac_link_default" 3073 2332 case "(($ac_try" in 3074 2333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3075 2334 *) ac_try_echo=$ac_try;; 3076 2335 esac 3077 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3078 $as_echo "$ac_try_echo" ; }>&52336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2337 $as_echo "$ac_try_echo") >&5 3079 2338 (eval "$ac_link_default") 2>&5 3080 2339 ac_status=$? 3081 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53082 test $ac_status = 0; }; then :2340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2341 (exit $ac_status); }; then 3083 2342 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3084 2343 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 3097 2356 break;; 3098 2357 *.* ) 3099 2358 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3100 2359 then :; else 3101 2360 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 3116 2375 ac_file='' 3117 2376 fi 3118 if test -z "$ac_file"; then : 3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3120 $as_echo "no" >&6; } 3121 $as_echo "$as_me: failed program was:" >&5 2377 2378 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2379 $as_echo "$ac_file" >&6; } 2380 if test -z "$ac_file"; then 2381 $as_echo "$as_me: failed program was:" >&5 3122 2382 sed 's/^/| /' conftest.$ac_ext >&5 3123 2383 3124 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52384 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3125 2385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3126 as_fn_error 77 "C compiler cannot create executables 3127 See \`config.log' for more details" "$LINENO" 5; } 3128 else 3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2386 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2387 See \`config.log' for more details." >&5 2388 $as_echo "$as_me: error: C compiler cannot create executables 2389 See \`config.log' for more details." >&2;} 2390 { (exit 77); exit 77; }; }; } 2391 fi 2392 2393 ac_exeext=$ac_cv_exeext 2394 2395 # Check that the compiler produces executables we can run. If not, either 2396 # the compiler is broken, or we cross compile. 2397 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2398 $as_echo_n "checking whether the C compiler works... " >&6; } 2399 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2400 # If not cross compiling, check that we can run a simple program. 2401 if test "$cross_compiling" != yes; then 2402 if { ac_try='./$ac_file' 2403 { (case "(($ac_try" in 2404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2405 *) ac_try_echo=$ac_try;; 2406 esac 2407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2408 $as_echo "$ac_try_echo") >&5 2409 (eval "$ac_try") 2>&5 2410 ac_status=$? 2411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2412 (exit $ac_status); }; }; then 2413 cross_compiling=no 2414 else 2415 if test "$cross_compiling" = maybe; then 2416 cross_compiling=yes 2417 else 2418 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2420 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2421 If you meant to cross compile, use \`--host'. 2422 See \`config.log' for more details." >&5 2423 $as_echo "$as_me: error: cannot run C compiled programs. 2424 If you meant to cross compile, use \`--host'. 2425 See \`config.log' for more details." >&2;} 2426 { (exit 1); exit 1; }; }; } 2427 fi 2428 fi 2429 fi 2430 { $as_echo "$as_me:$LINENO: result: yes" >&5 3130 2431 $as_echo "yes" >&6; } 3131 fi3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&53133 $as_echo_n "checking for C compiler default output file name... " >&6; }3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&53135 $as_echo "$ac_file" >&6; }3136 ac_exeext=$ac_cv_exeext3137 2432 3138 2433 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3139 2434 ac_clean_files=$ac_clean_files_save 3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2435 # Check that the compiler produces executables we can run. If not, either 2436 # the compiler is broken, or we cross compile. 2437 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2438 $as_echo_n "checking whether we are cross compiling... " >&6; } 2439 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2440 $as_echo "$cross_compiling" >&6; } 2441 2442 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3141 2443 $as_echo_n "checking for suffix of executables... " >&6; } 3142 if { {ac_try="$ac_link"2444 if { (ac_try="$ac_link" 3143 2445 case "(($ac_try" in 3144 2446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3145 2447 *) ac_try_echo=$ac_try;; 3146 2448 esac 3147 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3148 $as_echo "$ac_try_echo" ; }>&52449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2450 $as_echo "$ac_try_echo") >&5 3149 2451 (eval "$ac_link") 2>&5 3150 2452 ac_status=$? 3151 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53152 test $ac_status = 0; }; then :2453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2454 (exit $ac_status); }; then 3153 2455 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3154 2456 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 3165 2467 done 3166 2468 else 3167 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52469 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3168 2470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3169 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3170 See \`config.log' for more details" "$LINENO" 5; } 3171 fi 3172 rm -f conftest conftest$ac_cv_exeext 3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2471 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2472 See \`config.log' for more details." >&5 2473 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2474 See \`config.log' for more details." >&2;} 2475 { (exit 1); exit 1; }; }; } 2476 fi 2477 2478 rm -f conftest$ac_cv_exeext 2479 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3174 2480 $as_echo "$ac_cv_exeext" >&6; } 3175 2481 … … 3177 2483 EXEEXT=$ac_cv_exeext 3178 2484 ac_exeext=$EXEEXT 3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2485 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2486 $as_echo_n "checking for suffix of object files... " >&6; } 2487 if test "${ac_cv_objext+set}" = set; then 2488 $as_echo_n "(cached) " >&6 2489 else 2490 cat >conftest.$ac_ext <<_ACEOF 2491 /* confdefs.h. */ 2492 _ACEOF 2493 cat confdefs.h >>conftest.$ac_ext 2494 cat >>conftest.$ac_ext <<_ACEOF 3180 2495 /* end confdefs.h. */ 3181 #include <stdio.h> 2496 3182 2497 int 3183 2498 main () 3184 2499 { 3185 FILE *f = fopen ("conftest.out", "w");3186 return ferror (f) || fclose (f) != 0;3187 2500 3188 2501 ; … … 3190 2503 } 3191 2504 _ACEOF 3192 ac_clean_files="$ac_clean_files conftest.out" 3193 # Check that the compiler produces executables we can run. If not, either 3194 # the compiler is broken, or we cross compile. 3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3196 $as_echo_n "checking whether we are cross compiling... " >&6; } 3197 if test "$cross_compiling" != yes; then 3198 { { ac_try="$ac_link" 2505 rm -f conftest.o conftest.obj 2506 if { (ac_try="$ac_compile" 3199 2507 case "(($ac_try" in 3200 2508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3201 2509 *) ac_try_echo=$ac_try;; 3202 2510 esac 3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3204 $as_echo "$ac_try_echo"; } >&5 3205 (eval "$ac_link") 2>&5 3206 ac_status=$? 3207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3208 test $ac_status = 0; } 3209 if { ac_try='./conftest$ac_cv_exeext' 3210 { { case "(($ac_try" in 3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3212 *) ac_try_echo=$ac_try;; 3213 esac 3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3215 $as_echo "$ac_try_echo"; } >&5 3216 (eval "$ac_try") 2>&5 3217 ac_status=$? 3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3219 test $ac_status = 0; }; }; then 3220 cross_compiling=no 3221 else 3222 if test "$cross_compiling" = maybe; then 3223 cross_compiling=yes 3224 else 3225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3227 as_fn_error $? "cannot run C compiled programs. 3228 If you meant to cross compile, use \`--host'. 3229 See \`config.log' for more details" "$LINENO" 5; } 3230 fi 3231 fi 3232 fi 3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3234 $as_echo "$cross_compiling" >&6; } 3235 3236 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3237 ac_clean_files=$ac_clean_files_save 3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3239 $as_echo_n "checking for suffix of object files... " >&6; } 3240 if ${ac_cv_objext+:} false; then : 3241 $as_echo_n "(cached) " >&6 3242 else 3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3244 /* end confdefs.h. */ 3245 3246 int 3247 main () 3248 { 3249 3250 ; 3251 return 0; 3252 } 3253 _ACEOF 3254 rm -f conftest.o conftest.obj 3255 if { { ac_try="$ac_compile" 3256 case "(($ac_try" in 3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3258 *) ac_try_echo=$ac_try;; 3259 esac 3260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3261 $as_echo "$ac_try_echo"; } >&5 2511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2512 $as_echo "$ac_try_echo") >&5 3262 2513 (eval "$ac_compile") 2>&5 3263 2514 ac_status=$? 3264 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53265 test $ac_status = 0; }; then :2515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2516 (exit $ac_status); }; then 3266 2517 for ac_file in conftest.o conftest.obj conftest.*; do 3267 2518 test -f "$ac_file" || continue; … … 3276 2527 sed 's/^/| /' conftest.$ac_ext >&5 3277 2528 3278 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52529 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3279 2530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3280 as_fn_error $? "cannot compute suffix of object files: cannot compile 3281 See \`config.log' for more details" "$LINENO" 5; } 3282 fi 2531 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2532 See \`config.log' for more details." >&5 2533 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2534 See \`config.log' for more details." >&2;} 2535 { (exit 1); exit 1; }; }; } 2536 fi 2537 3283 2538 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3284 2539 fi 3285 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_objext" >&52540 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3286 2541 $as_echo "$ac_cv_objext" >&6; } 3287 2542 OBJEXT=$ac_cv_objext 3288 2543 ac_objext=$OBJEXT 3289 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&52544 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3290 2545 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3291 if ${ac_cv_c_compiler_gnu+:} false; then :2546 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3292 2547 $as_echo_n "(cached) " >&6 3293 2548 else 3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2549 cat >conftest.$ac_ext <<_ACEOF 2550 /* confdefs.h. */ 2551 _ACEOF 2552 cat confdefs.h >>conftest.$ac_ext 2553 cat >>conftest.$ac_ext <<_ACEOF 3295 2554 /* end confdefs.h. */ 3296 2555 … … 3306 2565 } 3307 2566 _ACEOF 3308 if ac_fn_c_try_compile "$LINENO"; then : 2567 rm -f conftest.$ac_objext 2568 if { (ac_try="$ac_compile" 2569 case "(($ac_try" in 2570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2571 *) ac_try_echo=$ac_try;; 2572 esac 2573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2574 $as_echo "$ac_try_echo") >&5 2575 (eval "$ac_compile") 2>conftest.er1 2576 ac_status=$? 2577 grep -v '^ *+' conftest.er1 >conftest.err 2578 rm -f conftest.er1 2579 cat conftest.err >&5 2580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2581 (exit $ac_status); } && { 2582 test -z "$ac_c_werror_flag" || 2583 test ! -s conftest.err 2584 } && test -s conftest.$ac_objext; then 3309 2585 ac_compiler_gnu=yes 3310 2586 else 3311 ac_compiler_gnu=no 3312 fi 2587 $as_echo "$as_me: failed program was:" >&5 2588 sed 's/^/| /' conftest.$ac_ext >&5 2589 2590 ac_compiler_gnu=no 2591 fi 2592 3313 2593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3314 2594 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3315 2595 3316 2596 fi 3317 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&52597 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3318 2598 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3319 2599 if test $ac_compiler_gnu = yes; then … … 3324 2604 ac_test_CFLAGS=${CFLAGS+set} 3325 2605 ac_save_CFLAGS=$CFLAGS 3326 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&52606 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3327 2607 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3328 if ${ac_cv_prog_cc_g+:} false; then :2608 if test "${ac_cv_prog_cc_g+set}" = set; then 3329 2609 $as_echo_n "(cached) " >&6 3330 2610 else … … 3333 2613 ac_cv_prog_cc_g=no 3334 2614 CFLAGS="-g" 3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2615 cat >conftest.$ac_ext <<_ACEOF 2616 /* confdefs.h. */ 2617 _ACEOF 2618 cat confdefs.h >>conftest.$ac_ext 2619 cat >>conftest.$ac_ext <<_ACEOF 3336 2620 /* end confdefs.h. */ 3337 2621 … … 3344 2628 } 3345 2629 _ACEOF 3346 if ac_fn_c_try_compile "$LINENO"; then : 2630 rm -f conftest.$ac_objext 2631 if { (ac_try="$ac_compile" 2632 case "(($ac_try" in 2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2634 *) ac_try_echo=$ac_try;; 2635 esac 2636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2637 $as_echo "$ac_try_echo") >&5 2638 (eval "$ac_compile") 2>conftest.er1 2639 ac_status=$? 2640 grep -v '^ *+' conftest.er1 >conftest.err 2641 rm -f conftest.er1 2642 cat conftest.err >&5 2643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2644 (exit $ac_status); } && { 2645 test -z "$ac_c_werror_flag" || 2646 test ! -s conftest.err 2647 } && test -s conftest.$ac_objext; then 3347 2648 ac_cv_prog_cc_g=yes 3348 2649 else 3349 CFLAGS="" 3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2650 $as_echo "$as_me: failed program was:" >&5 2651 sed 's/^/| /' conftest.$ac_ext >&5 2652 2653 CFLAGS="" 2654 cat >conftest.$ac_ext <<_ACEOF 2655 /* confdefs.h. */ 2656 _ACEOF 2657 cat confdefs.h >>conftest.$ac_ext 2658 cat >>conftest.$ac_ext <<_ACEOF 3351 2659 /* end confdefs.h. */ 3352 2660 … … 3359 2667 } 3360 2668 _ACEOF 3361 if ac_fn_c_try_compile "$LINENO"; then : 3362 3363 else 3364 ac_c_werror_flag=$ac_save_c_werror_flag 2669 rm -f conftest.$ac_objext 2670 if { (ac_try="$ac_compile" 2671 case "(($ac_try" in 2672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2673 *) ac_try_echo=$ac_try;; 2674 esac 2675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2676 $as_echo "$ac_try_echo") >&5 2677 (eval "$ac_compile") 2>conftest.er1 2678 ac_status=$? 2679 grep -v '^ *+' conftest.er1 >conftest.err 2680 rm -f conftest.er1 2681 cat conftest.err >&5 2682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2683 (exit $ac_status); } && { 2684 test -z "$ac_c_werror_flag" || 2685 test ! -s conftest.err 2686 } && test -s conftest.$ac_objext; then 2687 : 2688 else 2689 $as_echo "$as_me: failed program was:" >&5 2690 sed 's/^/| /' conftest.$ac_ext >&5 2691 2692 ac_c_werror_flag=$ac_save_c_werror_flag 3365 2693 CFLAGS="-g" 3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2694 cat >conftest.$ac_ext <<_ACEOF 2695 /* confdefs.h. */ 2696 _ACEOF 2697 cat confdefs.h >>conftest.$ac_ext 2698 cat >>conftest.$ac_ext <<_ACEOF 3367 2699 /* end confdefs.h. */ 3368 2700 … … 3375 2707 } 3376 2708 _ACEOF 3377 if ac_fn_c_try_compile "$LINENO"; then : 2709 rm -f conftest.$ac_objext 2710 if { (ac_try="$ac_compile" 2711 case "(($ac_try" in 2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2713 *) ac_try_echo=$ac_try;; 2714 esac 2715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2716 $as_echo "$ac_try_echo") >&5 2717 (eval "$ac_compile") 2>conftest.er1 2718 ac_status=$? 2719 grep -v '^ *+' conftest.er1 >conftest.err 2720 rm -f conftest.er1 2721 cat conftest.err >&5 2722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2723 (exit $ac_status); } && { 2724 test -z "$ac_c_werror_flag" || 2725 test ! -s conftest.err 2726 } && test -s conftest.$ac_objext; then 3378 2727 ac_cv_prog_cc_g=yes 3379 fi 2728 else 2729 $as_echo "$as_me: failed program was:" >&5 2730 sed 's/^/| /' conftest.$ac_ext >&5 2731 2732 2733 fi 2734 3380 2735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3381 2736 fi 2737 3382 2738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3383 2739 fi 2740 3384 2741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3385 2742 ac_c_werror_flag=$ac_save_c_werror_flag 3386 2743 fi 3387 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&52744 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3388 2745 $as_echo "$ac_cv_prog_cc_g" >&6; } 3389 2746 if test "$ac_test_CFLAGS" = set; then … … 3402 2759 fi 3403 2760 fi 3404 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&52761 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3405 2762 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3406 if ${ac_cv_prog_cc_c89+:} false; then :2763 if test "${ac_cv_prog_cc_c89+set}" = set; then 3407 2764 $as_echo_n "(cached) " >&6 3408 2765 else 3409 2766 ac_cv_prog_cc_c89=no 3410 2767 ac_save_CC=$CC 3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2768 cat >conftest.$ac_ext <<_ACEOF 2769 /* confdefs.h. */ 2770 _ACEOF 2771 cat confdefs.h >>conftest.$ac_ext 2772 cat >>conftest.$ac_ext <<_ACEOF 3412 2773 /* end confdefs.h. */ 3413 2774 #include <stdarg.h> … … 3466 2827 do 3467 2828 CC="$ac_save_CC $ac_arg" 3468 if ac_fn_c_try_compile "$LINENO"; then : 2829 rm -f conftest.$ac_objext 2830 if { (ac_try="$ac_compile" 2831 case "(($ac_try" in 2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2833 *) ac_try_echo=$ac_try;; 2834 esac 2835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2836 $as_echo "$ac_try_echo") >&5 2837 (eval "$ac_compile") 2>conftest.er1 2838 ac_status=$? 2839 grep -v '^ *+' conftest.er1 >conftest.err 2840 rm -f conftest.er1 2841 cat conftest.err >&5 2842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2843 (exit $ac_status); } && { 2844 test -z "$ac_c_werror_flag" || 2845 test ! -s conftest.err 2846 } && test -s conftest.$ac_objext; then 3469 2847 ac_cv_prog_cc_c89=$ac_arg 3470 fi 2848 else 2849 $as_echo "$as_me: failed program was:" >&5 2850 sed 's/^/| /' conftest.$ac_ext >&5 2851 2852 2853 fi 2854 3471 2855 rm -f core conftest.err conftest.$ac_objext 3472 2856 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3479 2863 case "x$ac_cv_prog_cc_c89" in 3480 2864 x) 3481 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&52865 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3482 2866 $as_echo "none needed" >&6; } ;; 3483 2867 xno) 3484 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&52868 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3485 2869 $as_echo "unsupported" >&6; } ;; 3486 2870 *) 3487 2871 CC="$CC $ac_cv_prog_cc_c89" 3488 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&52872 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3489 2873 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3490 2874 esac 3491 if test "x$ac_cv_prog_cc_c89" != xno; then : 3492 3493 fi 2875 3494 2876 3495 2877 ac_ext=c … … 3503 2885 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3504 2886 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3505 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52887 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3506 2888 $as_echo_n "checking for $ac_word... " >&6; } 3507 if ${ac_cv_prog_RANLIB+:} false; then :2889 if test "${ac_cv_prog_RANLIB+set}" = set; then 3508 2890 $as_echo_n "(cached) " >&6 3509 2891 else … … 3516 2898 IFS=$as_save_IFS 3517 2899 test -z "$as_dir" && as_dir=. 3518 2900 for ac_exec_ext in '' $ac_executable_extensions; do 3519 2901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3520 2902 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3521 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52903 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3522 2904 break 2 3523 2905 fi 3524 2906 done 3525 2907 done 3526 2908 IFS=$as_save_IFS 3527 2909 … … 3530 2912 RANLIB=$ac_cv_prog_RANLIB 3531 2913 if test -n "$RANLIB"; then 3532 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&52914 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 3533 2915 $as_echo "$RANLIB" >&6; } 3534 2916 else 3535 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52917 { $as_echo "$as_me:$LINENO: result: no" >&5 3536 2918 $as_echo "no" >&6; } 3537 2919 fi … … 3543 2925 # Extract the first word of "ranlib", so it can be a program name with args. 3544 2926 set dummy ranlib; ac_word=$2 3545 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52927 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3546 2928 $as_echo_n "checking for $ac_word... " >&6; } 3547 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :2929 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3548 2930 $as_echo_n "(cached) " >&6 3549 2931 else … … 3556 2938 IFS=$as_save_IFS 3557 2939 test -z "$as_dir" && as_dir=. 3558 2940 for ac_exec_ext in '' $ac_executable_extensions; do 3559 2941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3560 2942 ac_cv_prog_ac_ct_RANLIB="ranlib" 3561 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52943 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3562 2944 break 2 3563 2945 fi 3564 2946 done 3565 2947 done 3566 2948 IFS=$as_save_IFS 3567 2949 … … 3570 2952 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3571 2953 if test -n "$ac_ct_RANLIB"; then 3572 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&52954 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3573 2955 $as_echo "$ac_ct_RANLIB" >&6; } 3574 2956 else 3575 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52957 { $as_echo "$as_me:$LINENO: result: no" >&5 3576 2958 $as_echo "no" >&6; } 3577 2959 fi … … 3582 2964 case $cross_compiling:$ac_tool_warned in 3583 2965 yes:) 3584 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52966 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3585 2967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3586 2968 ac_tool_warned=yes ;; … … 3597 2979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3598 2980 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3599 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&52981 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3600 2982 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3601 2983 # On Suns, sometimes $CPP names a directory. … … 3604 2986 fi 3605 2987 if test -z "$CPP"; then 3606 if ${ac_cv_prog_CPP+:} false; then :2988 if test "${ac_cv_prog_CPP+set}" = set; then 3607 2989 $as_echo_n "(cached) " >&6 3608 2990 else … … 3619 3001 # On the NeXT, cc -E runs the code through the compiler's parser, 3620 3002 # not just through cpp. "Syntax error" is here to catch this case. 3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3003 cat >conftest.$ac_ext <<_ACEOF 3004 /* confdefs.h. */ 3005 _ACEOF 3006 cat confdefs.h >>conftest.$ac_ext 3007 cat >>conftest.$ac_ext <<_ACEOF 3622 3008 /* end confdefs.h. */ 3623 3009 #ifdef __STDC__ … … 3628 3014 Syntax error 3629 3015 _ACEOF 3630 if ac_fn_c_try_cpp "$LINENO"; then : 3631 3632 else 3016 if { (ac_try="$ac_cpp conftest.$ac_ext" 3017 case "(($ac_try" in 3018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3019 *) ac_try_echo=$ac_try;; 3020 esac 3021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3022 $as_echo "$ac_try_echo") >&5 3023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3024 ac_status=$? 3025 grep -v '^ *+' conftest.er1 >conftest.err 3026 rm -f conftest.er1 3027 cat conftest.err >&5 3028 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3029 (exit $ac_status); } >/dev/null && { 3030 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3031 test ! -s conftest.err 3032 }; then 3033 : 3034 else 3035 $as_echo "$as_me: failed program was:" >&5 3036 sed 's/^/| /' conftest.$ac_ext >&5 3037 3633 3038 # Broken: fails on valid input. 3634 3039 continue 3635 3040 fi 3636 rm -f conftest.err conftest.i conftest.$ac_ext 3041 3042 rm -f conftest.err conftest.$ac_ext 3637 3043 3638 3044 # OK, works on sane cases. Now check whether nonexistent headers 3639 3045 # can be detected and how. 3640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3046 cat >conftest.$ac_ext <<_ACEOF 3047 /* confdefs.h. */ 3048 _ACEOF 3049 cat confdefs.h >>conftest.$ac_ext 3050 cat >>conftest.$ac_ext <<_ACEOF 3641 3051 /* end confdefs.h. */ 3642 3052 #include <ac_nonexistent.h> 3643 3053 _ACEOF 3644 if ac_fn_c_try_cpp "$LINENO"; then : 3054 if { (ac_try="$ac_cpp conftest.$ac_ext" 3055 case "(($ac_try" in 3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3057 *) ac_try_echo=$ac_try;; 3058 esac 3059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3060 $as_echo "$ac_try_echo") >&5 3061 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3062 ac_status=$? 3063 grep -v '^ *+' conftest.er1 >conftest.err 3064 rm -f conftest.er1 3065 cat conftest.err >&5 3066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3067 (exit $ac_status); } >/dev/null && { 3068 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3069 test ! -s conftest.err 3070 }; then 3645 3071 # Broken: success on invalid input. 3646 3072 continue 3647 3073 else 3074 $as_echo "$as_me: failed program was:" >&5 3075 sed 's/^/| /' conftest.$ac_ext >&5 3076 3648 3077 # Passes both tests. 3649 3078 ac_preproc_ok=: 3650 3079 break 3651 3080 fi 3652 rm -f conftest.err conftest.i conftest.$ac_ext 3081 3082 rm -f conftest.err conftest.$ac_ext 3653 3083 3654 3084 done 3655 3085 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3656 rm -f conftest. i conftest.err conftest.$ac_ext3657 if $ac_preproc_ok; then :3086 rm -f conftest.err conftest.$ac_ext 3087 if $ac_preproc_ok; then 3658 3088 break 3659 3089 fi … … 3667 3097 ac_cv_prog_CPP=$CPP 3668 3098 fi 3669 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&53099 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 3670 3100 $as_echo "$CPP" >&6; } 3671 3101 ac_preproc_ok=false … … 3678 3108 # On the NeXT, cc -E runs the code through the compiler's parser, 3679 3109 # not just through cpp. "Syntax error" is here to catch this case. 3680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3110 cat >conftest.$ac_ext <<_ACEOF 3111 /* confdefs.h. */ 3112 _ACEOF 3113 cat confdefs.h >>conftest.$ac_ext 3114 cat >>conftest.$ac_ext <<_ACEOF 3681 3115 /* end confdefs.h. */ 3682 3116 #ifdef __STDC__ … … 3687 3121 Syntax error 3688 3122 _ACEOF 3689 if ac_fn_c_try_cpp "$LINENO"; then : 3690 3691 else 3123 if { (ac_try="$ac_cpp conftest.$ac_ext" 3124 case "(($ac_try" in 3125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3126 *) ac_try_echo=$ac_try;; 3127 esac 3128 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3129 $as_echo "$ac_try_echo") >&5 3130 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3131 ac_status=$? 3132 grep -v '^ *+' conftest.er1 >conftest.err 3133 rm -f conftest.er1 3134 cat conftest.err >&5 3135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3136 (exit $ac_status); } >/dev/null && { 3137 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3138 test ! -s conftest.err 3139 }; then 3140 : 3141 else 3142 $as_echo "$as_me: failed program was:" >&5 3143 sed 's/^/| /' conftest.$ac_ext >&5 3144 3692 3145 # Broken: fails on valid input. 3693 3146 continue 3694 3147 fi 3695 rm -f conftest.err conftest.i conftest.$ac_ext 3148 3149 rm -f conftest.err conftest.$ac_ext 3696 3150 3697 3151 # OK, works on sane cases. Now check whether nonexistent headers 3698 3152 # can be detected and how. 3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3153 cat >conftest.$ac_ext <<_ACEOF 3154 /* confdefs.h. */ 3155 _ACEOF 3156 cat confdefs.h >>conftest.$ac_ext 3157 cat >>conftest.$ac_ext <<_ACEOF 3700 3158 /* end confdefs.h. */ 3701 3159 #include <ac_nonexistent.h> 3702 3160 _ACEOF 3703 if ac_fn_c_try_cpp "$LINENO"; then : 3161 if { (ac_try="$ac_cpp conftest.$ac_ext" 3162 case "(($ac_try" in 3163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3164 *) ac_try_echo=$ac_try;; 3165 esac 3166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3167 $as_echo "$ac_try_echo") >&5 3168 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3169 ac_status=$? 3170 grep -v '^ *+' conftest.er1 >conftest.err 3171 rm -f conftest.er1 3172 cat conftest.err >&5 3173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3174 (exit $ac_status); } >/dev/null && { 3175 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3176 test ! -s conftest.err 3177 }; then 3704 3178 # Broken: success on invalid input. 3705 3179 continue 3706 3180 else 3181 $as_echo "$as_me: failed program was:" >&5 3182 sed 's/^/| /' conftest.$ac_ext >&5 3183 3707 3184 # Passes both tests. 3708 3185 ac_preproc_ok=: 3709 3186 break 3710 3187 fi 3711 rm -f conftest.err conftest.i conftest.$ac_ext 3188 3189 rm -f conftest.err conftest.$ac_ext 3712 3190 3713 3191 done 3714 3192 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3715 rm -f conftest. i conftest.err conftest.$ac_ext3716 if $ac_preproc_ok; then :3717 3718 else 3719 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53193 rm -f conftest.err conftest.$ac_ext 3194 if $ac_preproc_ok; then 3195 : 3196 else 3197 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3720 3198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3721 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3722 See \`config.log' for more details" "$LINENO" 5; } 3199 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3200 See \`config.log' for more details." >&5 3201 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3202 See \`config.log' for more details." >&2;} 3203 { (exit 1); exit 1; }; }; } 3723 3204 fi 3724 3205 … … 3730 3211 3731 3212 3732 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&53213 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3733 3214 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3734 if ${ac_cv_path_GREP+:} false; then :3215 if test "${ac_cv_path_GREP+set}" = set; then 3735 3216 $as_echo_n "(cached) " >&6 3736 3217 else … … 3743 3224 IFS=$as_save_IFS 3744 3225 test -z "$as_dir" && as_dir=. 3745 3226 for ac_prog in grep ggrep; do 3746 3227 for ac_exec_ext in '' $ac_executable_extensions; do 3747 3228 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" … … 3763 3244 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3764 3245 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3765 a s_fn_arith $ac_count + 1 && ac_count=$as_val3246 ac_count=`expr $ac_count + 1` 3766 3247 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3767 3248 # Best one so far, save it but keep looking for a better one … … 3778 3259 done 3779 3260 done 3780 3261 done 3781 3262 IFS=$as_save_IFS 3782 3263 if test -z "$ac_cv_path_GREP"; then 3783 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3264 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3265 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3266 { (exit 1); exit 1; }; } 3784 3267 fi 3785 3268 else … … 3788 3271 3789 3272 fi 3790 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&53273 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3791 3274 $as_echo "$ac_cv_path_GREP" >&6; } 3792 3275 GREP="$ac_cv_path_GREP" 3793 3276 3794 3277 3795 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for egrep" >&53278 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 3796 3279 $as_echo_n "checking for egrep... " >&6; } 3797 if ${ac_cv_path_EGREP+:} false; then :3280 if test "${ac_cv_path_EGREP+set}" = set; then 3798 3281 $as_echo_n "(cached) " >&6 3799 3282 else … … 3809 3292 IFS=$as_save_IFS 3810 3293 test -z "$as_dir" && as_dir=. 3811 3294 for ac_prog in egrep; do 3812 3295 for ac_exec_ext in '' $ac_executable_extensions; do 3813 3296 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" … … 3829 3312 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3830 3313 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3831 a s_fn_arith $ac_count + 1 && ac_count=$as_val3314 ac_count=`expr $ac_count + 1` 3832 3315 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3833 3316 # Best one so far, save it but keep looking for a better one … … 3844 3327 done 3845 3328 done 3846 3329 done 3847 3330 IFS=$as_save_IFS 3848 3331 if test -z "$ac_cv_path_EGREP"; then 3849 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3332 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3333 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3334 { (exit 1); exit 1; }; } 3850 3335 fi 3851 3336 else … … 3855 3340 fi 3856 3341 fi 3857 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&53342 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3858 3343 $as_echo "$ac_cv_path_EGREP" >&6; } 3859 3344 EGREP="$ac_cv_path_EGREP" 3860 3345 3861 3346 3862 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ANSI C header files" >&53347 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3863 3348 $as_echo_n "checking for ANSI C header files... " >&6; } 3864 if ${ac_cv_header_stdc+:} false; then :3349 if test "${ac_cv_header_stdc+set}" = set; then 3865 3350 $as_echo_n "(cached) " >&6 3866 3351 else 3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3352 cat >conftest.$ac_ext <<_ACEOF 3353 /* confdefs.h. */ 3354 _ACEOF 3355 cat confdefs.h >>conftest.$ac_ext 3356 cat >>conftest.$ac_ext <<_ACEOF 3868 3357 /* end confdefs.h. */ 3869 3358 #include <stdlib.h> … … 3880 3369 } 3881 3370 _ACEOF 3882 if ac_fn_c_try_compile "$LINENO"; then : 3371 rm -f conftest.$ac_objext 3372 if { (ac_try="$ac_compile" 3373 case "(($ac_try" in 3374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3375 *) ac_try_echo=$ac_try;; 3376 esac 3377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3378 $as_echo "$ac_try_echo") >&5 3379 (eval "$ac_compile") 2>conftest.er1 3380 ac_status=$? 3381 grep -v '^ *+' conftest.er1 >conftest.err 3382 rm -f conftest.er1 3383 cat conftest.err >&5 3384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3385 (exit $ac_status); } && { 3386 test -z "$ac_c_werror_flag" || 3387 test ! -s conftest.err 3388 } && test -s conftest.$ac_objext; then 3883 3389 ac_cv_header_stdc=yes 3884 3390 else 3885 ac_cv_header_stdc=no 3886 fi 3391 $as_echo "$as_me: failed program was:" >&5 3392 sed 's/^/| /' conftest.$ac_ext >&5 3393 3394 ac_cv_header_stdc=no 3395 fi 3396 3887 3397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3888 3398 3889 3399 if test $ac_cv_header_stdc = yes; then 3890 3400 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3401 cat >conftest.$ac_ext <<_ACEOF 3402 /* confdefs.h. */ 3403 _ACEOF 3404 cat confdefs.h >>conftest.$ac_ext 3405 cat >>conftest.$ac_ext <<_ACEOF 3892 3406 /* end confdefs.h. */ 3893 3407 #include <string.h> … … 3895 3409 _ACEOF 3896 3410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3897 $EGREP "memchr" >/dev/null 2>&1; then :3898 3411 $EGREP "memchr" >/dev/null 2>&1; then 3412 : 3899 3413 else 3900 3414 ac_cv_header_stdc=no … … 3906 3420 if test $ac_cv_header_stdc = yes; then 3907 3421 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3422 cat >conftest.$ac_ext <<_ACEOF 3423 /* confdefs.h. */ 3424 _ACEOF 3425 cat confdefs.h >>conftest.$ac_ext 3426 cat >>conftest.$ac_ext <<_ACEOF 3909 3427 /* end confdefs.h. */ 3910 3428 #include <stdlib.h> … … 3912 3430 _ACEOF 3913 3431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3914 $EGREP "free" >/dev/null 2>&1; then :3915 3432 $EGREP "free" >/dev/null 2>&1; then 3433 : 3916 3434 else 3917 3435 ac_cv_header_stdc=no … … 3923 3441 if test $ac_cv_header_stdc = yes; then 3924 3442 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3925 if test "$cross_compiling" = yes; then :3443 if test "$cross_compiling" = yes; then 3926 3444 : 3927 3445 else 3928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3446 cat >conftest.$ac_ext <<_ACEOF 3447 /* confdefs.h. */ 3448 _ACEOF 3449 cat confdefs.h >>conftest.$ac_ext 3450 cat >>conftest.$ac_ext <<_ACEOF 3929 3451 /* end confdefs.h. */ 3930 3452 #include <ctype.h> … … 3953 3475 } 3954 3476 _ACEOF 3955 if ac_fn_c_try_run "$LINENO"; then : 3956 3957 else 3958 ac_cv_header_stdc=no 3959 fi 3960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3961 conftest.$ac_objext conftest.beam conftest.$ac_ext 3962 fi 3963 3964 fi 3965 fi 3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3477 rm -f conftest$ac_exeext 3478 if { (ac_try="$ac_link" 3479 case "(($ac_try" in 3480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3481 *) ac_try_echo=$ac_try;; 3482 esac 3483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3484 $as_echo "$ac_try_echo") >&5 3485 (eval "$ac_link") 2>&5 3486 ac_status=$? 3487 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3488 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3489 { (case "(($ac_try" in 3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3491 *) ac_try_echo=$ac_try;; 3492 esac 3493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3494 $as_echo "$ac_try_echo") >&5 3495 (eval "$ac_try") 2>&5 3496 ac_status=$? 3497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3498 (exit $ac_status); }; }; then 3499 : 3500 else 3501 $as_echo "$as_me: program exited with status $ac_status" >&5 3502 $as_echo "$as_me: failed program was:" >&5 3503 sed 's/^/| /' conftest.$ac_ext >&5 3504 3505 ( exit $ac_status ) 3506 ac_cv_header_stdc=no 3507 fi 3508 rm -rf conftest.dSYM 3509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3510 fi 3511 3512 3513 fi 3514 fi 3515 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3967 3516 $as_echo "$ac_cv_header_stdc" >&6; } 3968 3517 if test $ac_cv_header_stdc = yes; then 3969 3518 3970 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3519 cat >>confdefs.h <<\_ACEOF 3520 #define STDC_HEADERS 1 3521 _ACEOF 3971 3522 3972 3523 fi 3973 3524 3974 3525 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3526 3527 3528 3529 3530 3531 3532 3533 3534 3975 3535 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3976 3536 inttypes.h stdint.h unistd.h 3977 do : 3978 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3979 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3980 " 3981 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3537 do 3538 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3539 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3540 $as_echo_n "checking for $ac_header... " >&6; } 3541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3542 $as_echo_n "(cached) " >&6 3543 else 3544 cat >conftest.$ac_ext <<_ACEOF 3545 /* confdefs.h. */ 3546 _ACEOF 3547 cat confdefs.h >>conftest.$ac_ext 3548 cat >>conftest.$ac_ext <<_ACEOF 3549 /* end confdefs.h. */ 3550 $ac_includes_default 3551 3552 #include <$ac_header> 3553 _ACEOF 3554 rm -f conftest.$ac_objext 3555 if { (ac_try="$ac_compile" 3556 case "(($ac_try" in 3557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3558 *) ac_try_echo=$ac_try;; 3559 esac 3560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3561 $as_echo "$ac_try_echo") >&5 3562 (eval "$ac_compile") 2>conftest.er1 3563 ac_status=$? 3564 grep -v '^ *+' conftest.er1 >conftest.err 3565 rm -f conftest.er1 3566 cat conftest.err >&5 3567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3568 (exit $ac_status); } && { 3569 test -z "$ac_c_werror_flag" || 3570 test ! -s conftest.err 3571 } && test -s conftest.$ac_objext; then 3572 eval "$as_ac_Header=yes" 3573 else 3574 $as_echo "$as_me: failed program was:" >&5 3575 sed 's/^/| /' conftest.$ac_ext >&5 3576 3577 eval "$as_ac_Header=no" 3578 fi 3579 3580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3581 fi 3582 ac_res=`eval 'as_val=${'$as_ac_Header'} 3583 $as_echo "$as_val"'` 3584 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3585 $as_echo "$ac_res" >&6; } 3586 as_val=`eval 'as_val=${'$as_ac_Header'} 3587 $as_echo "$as_val"'` 3588 if test "x$as_val" = x""yes; then 3982 3589 cat >>confdefs.h <<_ACEOF 3983 3590 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 3993 3600 # Step 0.a: Enable 64 bit support? 3994 3601 3995 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if 64bit support is requested" >&53602 { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5 3996 3603 $as_echo_n "checking if 64bit support is requested... " >&6; } 3997 3604 # Check whether --enable-64bit was given. 3998 if test "${enable_64bit+set}" = set; then :3605 if test "${enable_64bit+set}" = set; then 3999 3606 enableval=$enable_64bit; do64bit=$enableval 4000 3607 else … … 4002 3609 fi 4003 3610 4004 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $do64bit" >&53611 { $as_echo "$as_me:$LINENO: result: $do64bit" >&5 4005 3612 $as_echo "$do64bit" >&6; } 4006 3613 4007 3614 # Step 0.b: Enable Solaris 64 bit VIS support? 4008 3615 4009 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&53616 { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5 4010 3617 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 4011 3618 # Check whether --enable-64bit-vis was given. 4012 if test "${enable_64bit_vis+set}" = set; then :3619 if test "${enable_64bit_vis+set}" = set; then 4013 3620 enableval=$enable_64bit_vis; do64bitVIS=$enableval 4014 3621 else … … 4016 3623 fi 4017 3624 4018 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $do64bitVIS" >&53625 { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5 4019 3626 $as_echo "$do64bitVIS" >&6; } 4020 3627 … … 4028 3635 4029 3636 4030 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking system version" >&53637 { $as_echo "$as_me:$LINENO: checking system version" >&5 4031 3638 $as_echo_n "checking system version... " >&6; } 4032 if ${tcl_cv_sys_version+:} false; then :3639 if test "${tcl_cv_sys_version+set}" = set; then 4033 3640 $as_echo_n "(cached) " >&6 4034 3641 else … … 4039 3646 tcl_cv_sys_version=`uname -s`-`uname -r` 4040 3647 if test "$?" -ne 0 ; then 4041 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: can't find uname command" >&53648 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5 4042 3649 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 4043 3650 tcl_cv_sys_version=unknown … … 4056 3663 4057 3664 fi 4058 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&53665 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5 4059 3666 $as_echo "$tcl_cv_sys_version" >&6; } 4060 3667 system=$tcl_cv_sys_version … … 4064 3671 # Linux can use either -ldl or -ldld for dynamic loading. 4065 3672 4066 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for dlopen in -ldl" >&53673 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 4067 3674 $as_echo_n "checking for dlopen in -ldl... " >&6; } 4068 if ${ac_cv_lib_dl_dlopen+:} false; then :3675 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 4069 3676 $as_echo_n "(cached) " >&6 4070 3677 else 4071 3678 ac_check_lib_save_LIBS=$LIBS 4072 3679 LIBS="-ldl $LIBS" 4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3680 cat >conftest.$ac_ext <<_ACEOF 3681 /* confdefs.h. */ 3682 _ACEOF 3683 cat confdefs.h >>conftest.$ac_ext 3684 cat >>conftest.$ac_ext <<_ACEOF 4074 3685 /* end confdefs.h. */ 4075 3686 … … 4089 3700 } 4090 3701 _ACEOF 4091 if ac_fn_c_try_link "$LINENO"; then : 3702 rm -f conftest.$ac_objext conftest$ac_exeext 3703 if { (ac_try="$ac_link" 3704 case "(($ac_try" in 3705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3706 *) ac_try_echo=$ac_try;; 3707 esac 3708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3709 $as_echo "$ac_try_echo") >&5 3710 (eval "$ac_link") 2>conftest.er1 3711 ac_status=$? 3712 grep -v '^ *+' conftest.er1 >conftest.err 3713 rm -f conftest.er1 3714 cat conftest.err >&5 3715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3716 (exit $ac_status); } && { 3717 test -z "$ac_c_werror_flag" || 3718 test ! -s conftest.err 3719 } && test -s conftest$ac_exeext && { 3720 test "$cross_compiling" = yes || 3721 $as_test_x conftest$ac_exeext 3722 }; then 4092 3723 ac_cv_lib_dl_dlopen=yes 4093 3724 else 4094 ac_cv_lib_dl_dlopen=no 4095 fi 4096 rm -f core conftest.err conftest.$ac_objext \ 4097 conftest$ac_exeext conftest.$ac_ext 3725 $as_echo "$as_me: failed program was:" >&5 3726 sed 's/^/| /' conftest.$ac_ext >&5 3727 3728 ac_cv_lib_dl_dlopen=no 3729 fi 3730 3731 rm -rf conftest.dSYM 3732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3733 conftest$ac_exeext conftest.$ac_ext 4098 3734 LIBS=$ac_check_lib_save_LIBS 4099 3735 fi 4100 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&53736 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 4101 3737 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 4102 if test "x$ac_cv_lib_dl_dlopen" = x yes; then :3738 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 4103 3739 have_dl=yes 4104 3740 else … … 4132 3768 # Extract the first word of "ar", so it can be a program name with args. 4133 3769 set dummy ar; ac_word=$2 4134 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53770 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4135 3771 $as_echo_n "checking for $ac_word... " >&6; } 4136 if ${ac_cv_prog_AR+:} false; then :3772 if test "${ac_cv_prog_AR+set}" = set; then 4137 3773 $as_echo_n "(cached) " >&6 4138 3774 else … … 4145 3781 IFS=$as_save_IFS 4146 3782 test -z "$as_dir" && as_dir=. 4147 3783 for ac_exec_ext in '' $ac_executable_extensions; do 4148 3784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4149 3785 ac_cv_prog_AR="ar" 4150 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53786 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4151 3787 break 2 4152 3788 fi 4153 3789 done 4154 3790 done 4155 3791 IFS=$as_save_IFS 4156 3792 … … 4159 3795 AR=$ac_cv_prog_AR 4160 3796 if test -n "$AR"; then 4161 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $AR" >&53797 { $as_echo "$as_me:$LINENO: result: $AR" >&5 4162 3798 $as_echo "$AR" >&6; } 4163 3799 else 4164 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53800 { $as_echo "$as_me:$LINENO: result: no" >&5 4165 3801 $as_echo "no" >&6; } 4166 3802 fi … … 4168 3804 4169 3805 if test "${AR}" = "" ; then 4170 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 3806 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 3807 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 3808 { (exit 1); exit 1; }; } 4171 3809 fi 4172 3810 STLIB_LD='${AR} cr' … … 4186 3824 ;; 4187 3825 esac 4188 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&53826 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5 4189 3827 $as_echo "Using $CC for compiling with threads" >&6; } 4190 3828 fi … … 4202 3840 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 4203 3841 if test "$GCC" = "yes" ; then 4204 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&53842 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 4205 3843 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4206 3844 else … … 4257 3895 # known GMT value. 4258 3896 4259 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&53897 { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5 4260 3898 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 4261 if ${ac_cv_lib_bsd_gettimeofday+:} false; then :3899 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 4262 3900 $as_echo_n "(cached) " >&6 4263 3901 else 4264 3902 ac_check_lib_save_LIBS=$LIBS 4265 3903 LIBS="-lbsd $LIBS" 4266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3904 cat >conftest.$ac_ext <<_ACEOF 3905 /* confdefs.h. */ 3906 _ACEOF 3907 cat confdefs.h >>conftest.$ac_ext 3908 cat >>conftest.$ac_ext <<_ACEOF 4267 3909 /* end confdefs.h. */ 4268 3910 … … 4282 3924 } 4283 3925 _ACEOF 4284 if ac_fn_c_try_link "$LINENO"; then : 3926 rm -f conftest.$ac_objext conftest$ac_exeext 3927 if { (ac_try="$ac_link" 3928 case "(($ac_try" in 3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3930 *) ac_try_echo=$ac_try;; 3931 esac 3932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3933 $as_echo "$ac_try_echo") >&5 3934 (eval "$ac_link") 2>conftest.er1 3935 ac_status=$? 3936 grep -v '^ *+' conftest.er1 >conftest.err 3937 rm -f conftest.er1 3938 cat conftest.err >&5 3939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3940 (exit $ac_status); } && { 3941 test -z "$ac_c_werror_flag" || 3942 test ! -s conftest.err 3943 } && test -s conftest$ac_exeext && { 3944 test "$cross_compiling" = yes || 3945 $as_test_x conftest$ac_exeext 3946 }; then 4285 3947 ac_cv_lib_bsd_gettimeofday=yes 4286 3948 else 4287 ac_cv_lib_bsd_gettimeofday=no 4288 fi 4289 rm -f core conftest.err conftest.$ac_objext \ 4290 conftest$ac_exeext conftest.$ac_ext 3949 $as_echo "$as_me: failed program was:" >&5 3950 sed 's/^/| /' conftest.$ac_ext >&5 3951 3952 ac_cv_lib_bsd_gettimeofday=no 3953 fi 3954 3955 rm -rf conftest.dSYM 3956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3957 conftest$ac_exeext conftest.$ac_ext 4291 3958 LIBS=$ac_check_lib_save_LIBS 4292 3959 fi 4293 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&53960 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5 4294 3961 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 4295 if test "x$ac_cv_lib_bsd_gettimeofday" = x yes; then :3962 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then 4296 3963 libbsd=yes 4297 3964 else … … 4301 3968 if test $libbsd = yes; then 4302 3969 MATH_LIBS="$MATH_LIBS -lbsd" 4303 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 3970 cat >>confdefs.h <<\_ACEOF 3971 #define USE_DELTA_FOR_TZ 1 3972 _ACEOF 4304 3973 4305 3974 fi … … 4318 3987 # is always linked to, for compatibility. 4319 3988 #----------------------------------------------------------- 4320 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&53989 { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5 4321 3990 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 4322 if ${ac_cv_lib_bind_inet_ntoa+:} false; then :3991 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then 4323 3992 $as_echo_n "(cached) " >&6 4324 3993 else 4325 3994 ac_check_lib_save_LIBS=$LIBS 4326 3995 LIBS="-lbind $LIBS" 4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3996 cat >conftest.$ac_ext <<_ACEOF 3997 /* confdefs.h. */ 3998 _ACEOF 3999 cat confdefs.h >>conftest.$ac_ext 4000 cat >>conftest.$ac_ext <<_ACEOF 4328 4001 /* end confdefs.h. */ 4329 4002 … … 4343 4016 } 4344 4017 _ACEOF 4345 if ac_fn_c_try_link "$LINENO"; then : 4018 rm -f conftest.$ac_objext conftest$ac_exeext 4019 if { (ac_try="$ac_link" 4020 case "(($ac_try" in 4021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4022 *) ac_try_echo=$ac_try;; 4023 esac 4024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4025 $as_echo "$ac_try_echo") >&5 4026 (eval "$ac_link") 2>conftest.er1 4027 ac_status=$? 4028 grep -v '^ *+' conftest.er1 >conftest.err 4029 rm -f conftest.er1 4030 cat conftest.err >&5 4031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4032 (exit $ac_status); } && { 4033 test -z "$ac_c_werror_flag" || 4034 test ! -s conftest.err 4035 } && test -s conftest$ac_exeext && { 4036 test "$cross_compiling" = yes || 4037 $as_test_x conftest$ac_exeext 4038 }; then 4346 4039 ac_cv_lib_bind_inet_ntoa=yes 4347 4040 else 4348 ac_cv_lib_bind_inet_ntoa=no 4349 fi 4350 rm -f core conftest.err conftest.$ac_objext \ 4351 conftest$ac_exeext conftest.$ac_ext 4041 $as_echo "$as_me: failed program was:" >&5 4042 sed 's/^/| /' conftest.$ac_ext >&5 4043 4044 ac_cv_lib_bind_inet_ntoa=no 4045 fi 4046 4047 rm -rf conftest.dSYM 4048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4049 conftest$ac_exeext conftest.$ac_ext 4352 4050 LIBS=$ac_check_lib_save_LIBS 4353 4051 fi 4354 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&54052 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5 4355 4053 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 4356 if test "x$ac_cv_lib_bind_inet_ntoa" = x yes; then :4054 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then 4357 4055 LIBS="$LIBS -lbind -lsocket" 4358 4056 fi … … 4392 4090 HP-UX-*.11.*) 4393 4091 # Use updated header definitions where possible 4394 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 4092 cat >>confdefs.h <<\_ACEOF 4093 #define _XOPEN_SOURCE 1 4094 _ACEOF 4395 4095 # Use the XOPEN network library 4396 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 4096 cat >>confdefs.h <<\_ACEOF 4097 #define _XOPEN_SOURCE_EXTENDED 1 4098 _ACEOF 4397 4099 # Use the XOPEN network library 4398 4100 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 4403 4105 SHLIB_SUFFIX=".sl" 4404 4106 fi 4405 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for shl_load in -ldld" >&54107 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 4406 4108 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4407 if ${ac_cv_lib_dld_shl_load+:} false; then :4109 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4408 4110 $as_echo_n "(cached) " >&6 4409 4111 else 4410 4112 ac_check_lib_save_LIBS=$LIBS 4411 4113 LIBS="-ldld $LIBS" 4412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4114 cat >conftest.$ac_ext <<_ACEOF 4115 /* confdefs.h. */ 4116 _ACEOF 4117 cat confdefs.h >>conftest.$ac_ext 4118 cat >>conftest.$ac_ext <<_ACEOF 4413 4119 /* end confdefs.h. */ 4414 4120 … … 4428 4134 } 4429 4135 _ACEOF 4430 if ac_fn_c_try_link "$LINENO"; then : 4136 rm -f conftest.$ac_objext conftest$ac_exeext 4137 if { (ac_try="$ac_link" 4138 case "(($ac_try" in 4139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4140 *) ac_try_echo=$ac_try;; 4141 esac 4142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4143 $as_echo "$ac_try_echo") >&5 4144 (eval "$ac_link") 2>conftest.er1 4145 ac_status=$? 4146 grep -v '^ *+' conftest.er1 >conftest.err 4147 rm -f conftest.er1 4148 cat conftest.err >&5 4149 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4150 (exit $ac_status); } && { 4151 test -z "$ac_c_werror_flag" || 4152 test ! -s conftest.err 4153 } && test -s conftest$ac_exeext && { 4154 test "$cross_compiling" = yes || 4155 $as_test_x conftest$ac_exeext 4156 }; then 4431 4157 ac_cv_lib_dld_shl_load=yes 4432 4158 else 4433 ac_cv_lib_dld_shl_load=no 4434 fi 4435 rm -f core conftest.err conftest.$ac_objext \ 4436 conftest$ac_exeext conftest.$ac_ext 4159 $as_echo "$as_me: failed program was:" >&5 4160 sed 's/^/| /' conftest.$ac_ext >&5 4161 4162 ac_cv_lib_dld_shl_load=no 4163 fi 4164 4165 rm -rf conftest.dSYM 4166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4167 conftest$ac_exeext conftest.$ac_ext 4437 4168 LIBS=$ac_check_lib_save_LIBS 4438 4169 fi 4439 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&54170 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 4440 4171 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4441 if test "x$ac_cv_lib_dld_shl_load" = x yes; then :4172 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 4442 4173 tcl_ok=yes 4443 4174 else … … 4479 4210 ;; 4480 4211 *) 4481 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&54212 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 4482 4213 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4483 4214 ;; … … 4492 4223 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 4493 4224 SHLIB_SUFFIX=".sl" 4494 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for shl_load in -ldld" >&54225 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 4495 4226 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4496 if ${ac_cv_lib_dld_shl_load+:} false; then :4227 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4497 4228 $as_echo_n "(cached) " >&6 4498 4229 else 4499 4230 ac_check_lib_save_LIBS=$LIBS 4500 4231 LIBS="-ldld $LIBS" 4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4232 cat >conftest.$ac_ext <<_ACEOF 4233 /* confdefs.h. */ 4234 _ACEOF 4235 cat confdefs.h >>conftest.$ac_ext 4236 cat >>conftest.$ac_ext <<_ACEOF 4502 4237 /* end confdefs.h. */ 4503 4238 … … 4517 4252 } 4518 4253 _ACEOF 4519 if ac_fn_c_try_link "$LINENO"; then : 4254 rm -f conftest.$ac_objext conftest$ac_exeext 4255 if { (ac_try="$ac_link" 4256 case "(($ac_try" in 4257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4258 *) ac_try_echo=$ac_try;; 4259 esac 4260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4261 $as_echo "$ac_try_echo") >&5 4262 (eval "$ac_link") 2>conftest.er1 4263 ac_status=$? 4264 grep -v '^ *+' conftest.er1 >conftest.err 4265 rm -f conftest.er1 4266 cat conftest.err >&5 4267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4268 (exit $ac_status); } && { 4269 test -z "$ac_c_werror_flag" || 4270 test ! -s conftest.err 4271 } && test -s conftest$ac_exeext && { 4272 test "$cross_compiling" = yes || 4273 $as_test_x conftest$ac_exeext 4274 }; then 4520 4275 ac_cv_lib_dld_shl_load=yes 4521 4276 else 4522 ac_cv_lib_dld_shl_load=no 4523 fi 4524 rm -f core conftest.err conftest.$ac_objext \ 4525 conftest$ac_exeext conftest.$ac_ext 4277 $as_echo "$as_me: failed program was:" >&5 4278 sed 's/^/| /' conftest.$ac_ext >&5 4279 4280 ac_cv_lib_dld_shl_load=no 4281 fi 4282 4283 rm -rf conftest.dSYM 4284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4285 conftest$ac_exeext conftest.$ac_ext 4526 4286 LIBS=$ac_check_lib_save_LIBS 4527 4287 fi 4528 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&54288 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 4529 4289 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4530 if test "x$ac_cv_lib_dld_shl_load" = x yes; then :4290 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 4531 4291 tcl_ok=yes 4532 4292 else … … 4607 4367 if test "$do64bit" = "yes" ; then 4608 4368 if test "$GCC" = "yes" ; then 4609 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&54369 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5 4610 4370 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 4611 4371 else … … 4636 4396 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4637 4397 else 4638 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4639 if test "x$ac_cv_header_dld_h" = xyes; then : 4398 if test "${ac_cv_header_dld_h+set}" = set; then 4399 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4400 $as_echo_n "checking for dld.h... " >&6; } 4401 if test "${ac_cv_header_dld_h+set}" = set; then 4402 $as_echo_n "(cached) " >&6 4403 fi 4404 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4405 $as_echo "$ac_cv_header_dld_h" >&6; } 4406 else 4407 # Is the header compilable? 4408 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4409 $as_echo_n "checking dld.h usability... " >&6; } 4410 cat >conftest.$ac_ext <<_ACEOF 4411 /* confdefs.h. */ 4412 _ACEOF 4413 cat confdefs.h >>conftest.$ac_ext 4414 cat >>conftest.$ac_ext <<_ACEOF 4415 /* end confdefs.h. */ 4416 $ac_includes_default 4417 #include <dld.h> 4418 _ACEOF 4419 rm -f conftest.$ac_objext 4420 if { (ac_try="$ac_compile" 4421 case "(($ac_try" in 4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4423 *) ac_try_echo=$ac_try;; 4424 esac 4425 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4426 $as_echo "$ac_try_echo") >&5 4427 (eval "$ac_compile") 2>conftest.er1 4428 ac_status=$? 4429 grep -v '^ *+' conftest.er1 >conftest.err 4430 rm -f conftest.er1 4431 cat conftest.err >&5 4432 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4433 (exit $ac_status); } && { 4434 test -z "$ac_c_werror_flag" || 4435 test ! -s conftest.err 4436 } && test -s conftest.$ac_objext; then 4437 ac_header_compiler=yes 4438 else 4439 $as_echo "$as_me: failed program was:" >&5 4440 sed 's/^/| /' conftest.$ac_ext >&5 4441 4442 ac_header_compiler=no 4443 fi 4444 4445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4446 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4447 $as_echo "$ac_header_compiler" >&6; } 4448 4449 # Is the header present? 4450 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4451 $as_echo_n "checking dld.h presence... " >&6; } 4452 cat >conftest.$ac_ext <<_ACEOF 4453 /* confdefs.h. */ 4454 _ACEOF 4455 cat confdefs.h >>conftest.$ac_ext 4456 cat >>conftest.$ac_ext <<_ACEOF 4457 /* end confdefs.h. */ 4458 #include <dld.h> 4459 _ACEOF 4460 if { (ac_try="$ac_cpp conftest.$ac_ext" 4461 case "(($ac_try" in 4462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4463 *) ac_try_echo=$ac_try;; 4464 esac 4465 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4466 $as_echo "$ac_try_echo") >&5 4467 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4468 ac_status=$? 4469 grep -v '^ *+' conftest.er1 >conftest.err 4470 rm -f conftest.er1 4471 cat conftest.err >&5 4472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4473 (exit $ac_status); } >/dev/null && { 4474 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4475 test ! -s conftest.err 4476 }; then 4477 ac_header_preproc=yes 4478 else 4479 $as_echo "$as_me: failed program was:" >&5 4480 sed 's/^/| /' conftest.$ac_ext >&5 4481 4482 ac_header_preproc=no 4483 fi 4484 4485 rm -f conftest.err conftest.$ac_ext 4486 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4487 $as_echo "$ac_header_preproc" >&6; } 4488 4489 # So? What about this header? 4490 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4491 yes:no: ) 4492 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4493 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4494 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4495 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4496 ac_header_preproc=yes 4497 ;; 4498 no:yes:* ) 4499 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4500 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4501 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4502 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4503 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4504 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4505 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4506 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4507 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4508 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4509 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4510 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4511 ( cat <<\_ASBOX 4512 ## ----------------------------------- ## 4513 ## Report this to rappture@nanohub.org ## 4514 ## ----------------------------------- ## 4515 _ASBOX 4516 ) | sed "s/^/$as_me: WARNING: /" >&2 4517 ;; 4518 esac 4519 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4520 $as_echo_n "checking for dld.h... " >&6; } 4521 if test "${ac_cv_header_dld_h+set}" = set; then 4522 $as_echo_n "(cached) " >&6 4523 else 4524 ac_cv_header_dld_h=$ac_header_preproc 4525 fi 4526 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4527 $as_echo "$ac_cv_header_dld_h" >&6; } 4528 4529 fi 4530 if test "x$ac_cv_header_dld_h" = x""yes; then 4640 4531 4641 4532 SHLIB_LD="ld -shared" … … 4652 4543 fi 4653 4544 if test $do64bit = yes; then 4654 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&54545 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5 4655 4546 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 4656 if ${tcl_cv_cc_m64+:} false; then :4547 if test "${tcl_cv_cc_m64+set}" = set; then 4657 4548 $as_echo_n "(cached) " >&6 4658 4549 else … … 4660 4551 hold_cflags=$CFLAGS 4661 4552 CFLAGS="$CFLAGS -m64" 4662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4553 cat >conftest.$ac_ext <<_ACEOF 4554 /* confdefs.h. */ 4555 _ACEOF 4556 cat confdefs.h >>conftest.$ac_ext 4557 cat >>conftest.$ac_ext <<_ACEOF 4663 4558 /* end confdefs.h. */ 4664 4559 … … 4671 4566 } 4672 4567 _ACEOF 4673 if ac_fn_c_try_link "$LINENO"; then : 4568 rm -f conftest.$ac_objext conftest$ac_exeext 4569 if { (ac_try="$ac_link" 4570 case "(($ac_try" in 4571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4572 *) ac_try_echo=$ac_try;; 4573 esac 4574 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4575 $as_echo "$ac_try_echo") >&5 4576 (eval "$ac_link") 2>conftest.er1 4577 ac_status=$? 4578 grep -v '^ *+' conftest.er1 >conftest.err 4579 rm -f conftest.er1 4580 cat conftest.err >&5 4581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4582 (exit $ac_status); } && { 4583 test -z "$ac_c_werror_flag" || 4584 test ! -s conftest.err 4585 } && test -s conftest$ac_exeext && { 4586 test "$cross_compiling" = yes || 4587 $as_test_x conftest$ac_exeext 4588 }; then 4674 4589 tcl_cv_cc_m64=yes 4675 4590 else 4676 tcl_cv_cc_m64=no 4677 fi 4678 rm -f core conftest.err conftest.$ac_objext \ 4679 conftest$ac_exeext conftest.$ac_ext 4591 $as_echo "$as_me: failed program was:" >&5 4592 sed 's/^/| /' conftest.$ac_ext >&5 4593 4594 tcl_cv_cc_m64=no 4595 fi 4596 4597 rm -rf conftest.dSYM 4598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4599 conftest$ac_exeext conftest.$ac_ext 4680 4600 CFLAGS=$hold_cflags 4681 4601 fi 4682 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&54602 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5 4683 4603 $as_echo "$tcl_cv_cc_m64" >&6; } 4684 4604 if test $tcl_cv_cc_m64 = yes; then … … 4700 4620 4701 4621 # XIM peeking works under XFree86. 4702 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 4622 cat >>confdefs.h <<\_ACEOF 4623 #define PEEK_XCLOSEIM 1 4624 _ACEOF 4703 4625 4704 4626 … … 4717 4639 LD_SEARCH_FLAGS="" 4718 4640 else 4719 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4720 if test "x$ac_cv_header_dld_h" = xyes; then : 4641 if test "${ac_cv_header_dld_h+set}" = set; then 4642 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4643 $as_echo_n "checking for dld.h... " >&6; } 4644 if test "${ac_cv_header_dld_h+set}" = set; then 4645 $as_echo_n "(cached) " >&6 4646 fi 4647 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4648 $as_echo "$ac_cv_header_dld_h" >&6; } 4649 else 4650 # Is the header compilable? 4651 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4652 $as_echo_n "checking dld.h usability... " >&6; } 4653 cat >conftest.$ac_ext <<_ACEOF 4654 /* confdefs.h. */ 4655 _ACEOF 4656 cat confdefs.h >>conftest.$ac_ext 4657 cat >>conftest.$ac_ext <<_ACEOF 4658 /* end confdefs.h. */ 4659 $ac_includes_default 4660 #include <dld.h> 4661 _ACEOF 4662 rm -f conftest.$ac_objext 4663 if { (ac_try="$ac_compile" 4664 case "(($ac_try" in 4665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4666 *) ac_try_echo=$ac_try;; 4667 esac 4668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4669 $as_echo "$ac_try_echo") >&5 4670 (eval "$ac_compile") 2>conftest.er1 4671 ac_status=$? 4672 grep -v '^ *+' conftest.er1 >conftest.err 4673 rm -f conftest.er1 4674 cat conftest.err >&5 4675 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4676 (exit $ac_status); } && { 4677 test -z "$ac_c_werror_flag" || 4678 test ! -s conftest.err 4679 } && test -s conftest.$ac_objext; then 4680 ac_header_compiler=yes 4681 else 4682 $as_echo "$as_me: failed program was:" >&5 4683 sed 's/^/| /' conftest.$ac_ext >&5 4684 4685 ac_header_compiler=no 4686 fi 4687 4688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4689 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4690 $as_echo "$ac_header_compiler" >&6; } 4691 4692 # Is the header present? 4693 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4694 $as_echo_n "checking dld.h presence... " >&6; } 4695 cat >conftest.$ac_ext <<_ACEOF 4696 /* confdefs.h. */ 4697 _ACEOF 4698 cat confdefs.h >>conftest.$ac_ext 4699 cat >>conftest.$ac_ext <<_ACEOF 4700 /* end confdefs.h. */ 4701 #include <dld.h> 4702 _ACEOF 4703 if { (ac_try="$ac_cpp conftest.$ac_ext" 4704 case "(($ac_try" in 4705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4706 *) ac_try_echo=$ac_try;; 4707 esac 4708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4709 $as_echo "$ac_try_echo") >&5 4710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4711 ac_status=$? 4712 grep -v '^ *+' conftest.er1 >conftest.err 4713 rm -f conftest.er1 4714 cat conftest.err >&5 4715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4716 (exit $ac_status); } >/dev/null && { 4717 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4718 test ! -s conftest.err 4719 }; then 4720 ac_header_preproc=yes 4721 else 4722 $as_echo "$as_me: failed program was:" >&5 4723 sed 's/^/| /' conftest.$ac_ext >&5 4724 4725 ac_header_preproc=no 4726 fi 4727 4728 rm -f conftest.err conftest.$ac_ext 4729 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4730 $as_echo "$ac_header_preproc" >&6; } 4731 4732 # So? What about this header? 4733 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4734 yes:no: ) 4735 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4736 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4737 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4738 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4739 ac_header_preproc=yes 4740 ;; 4741 no:yes:* ) 4742 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4743 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4744 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4745 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4746 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4747 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4748 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4749 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4750 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4751 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4752 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4753 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4754 ( cat <<\_ASBOX 4755 ## ----------------------------------- ## 4756 ## Report this to rappture@nanohub.org ## 4757 ## ----------------------------------- ## 4758 _ASBOX 4759 ) | sed "s/^/$as_me: WARNING: /" >&2 4760 ;; 4761 esac 4762 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4763 $as_echo_n "checking for dld.h... " >&6; } 4764 if test "${ac_cv_header_dld_h+set}" = set; then 4765 $as_echo_n "(cached) " >&6 4766 else 4767 ac_cv_header_dld_h=$ac_header_preproc 4768 fi 4769 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4770 $as_echo "$ac_cv_header_dld_h" >&6; } 4771 4772 fi 4773 if test "x$ac_cv_header_dld_h" = x""yes; then 4721 4774 4722 4775 SHLIB_LD="ld -shared" … … 4768 4821 NetBSD-*|FreeBSD-[1-2].*) 4769 4822 # Not available on all versions: check for include file. 4770 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 4771 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 4823 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4824 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 4825 $as_echo_n "checking for dlfcn.h... " >&6; } 4826 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4827 $as_echo_n "(cached) " >&6 4828 fi 4829 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 4830 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 4831 else 4832 # Is the header compilable? 4833 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 4834 $as_echo_n "checking dlfcn.h usability... " >&6; } 4835 cat >conftest.$ac_ext <<_ACEOF 4836 /* confdefs.h. */ 4837 _ACEOF 4838 cat confdefs.h >>conftest.$ac_ext 4839 cat >>conftest.$ac_ext <<_ACEOF 4840 /* end confdefs.h. */ 4841 $ac_includes_default 4842 #include <dlfcn.h> 4843 _ACEOF 4844 rm -f conftest.$ac_objext 4845 if { (ac_try="$ac_compile" 4846 case "(($ac_try" in 4847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4848 *) ac_try_echo=$ac_try;; 4849 esac 4850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4851 $as_echo "$ac_try_echo") >&5 4852 (eval "$ac_compile") 2>conftest.er1 4853 ac_status=$? 4854 grep -v '^ *+' conftest.er1 >conftest.err 4855 rm -f conftest.er1 4856 cat conftest.err >&5 4857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4858 (exit $ac_status); } && { 4859 test -z "$ac_c_werror_flag" || 4860 test ! -s conftest.err 4861 } && test -s conftest.$ac_objext; then 4862 ac_header_compiler=yes 4863 else 4864 $as_echo "$as_me: failed program was:" >&5 4865 sed 's/^/| /' conftest.$ac_ext >&5 4866 4867 ac_header_compiler=no 4868 fi 4869 4870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4871 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4872 $as_echo "$ac_header_compiler" >&6; } 4873 4874 # Is the header present? 4875 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 4876 $as_echo_n "checking dlfcn.h presence... " >&6; } 4877 cat >conftest.$ac_ext <<_ACEOF 4878 /* confdefs.h. */ 4879 _ACEOF 4880 cat confdefs.h >>conftest.$ac_ext 4881 cat >>conftest.$ac_ext <<_ACEOF 4882 /* end confdefs.h. */ 4883 #include <dlfcn.h> 4884 _ACEOF 4885 if { (ac_try="$ac_cpp conftest.$ac_ext" 4886 case "(($ac_try" in 4887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4888 *) ac_try_echo=$ac_try;; 4889 esac 4890 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4891 $as_echo "$ac_try_echo") >&5 4892 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4893 ac_status=$? 4894 grep -v '^ *+' conftest.er1 >conftest.err 4895 rm -f conftest.er1 4896 cat conftest.err >&5 4897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4898 (exit $ac_status); } >/dev/null && { 4899 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4900 test ! -s conftest.err 4901 }; then 4902 ac_header_preproc=yes 4903 else 4904 $as_echo "$as_me: failed program was:" >&5 4905 sed 's/^/| /' conftest.$ac_ext >&5 4906 4907 ac_header_preproc=no 4908 fi 4909 4910 rm -f conftest.err conftest.$ac_ext 4911 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4912 $as_echo "$ac_header_preproc" >&6; } 4913 4914 # So? What about this header? 4915 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4916 yes:no: ) 4917 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 4918 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4919 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 4920 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 4921 ac_header_preproc=yes 4922 ;; 4923 no:yes:* ) 4924 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 4925 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 4926 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 4927 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 4928 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 4929 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 4930 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 4931 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 4932 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 4933 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 4934 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 4935 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 4936 ( cat <<\_ASBOX 4937 ## ----------------------------------- ## 4938 ## Report this to rappture@nanohub.org ## 4939 ## ----------------------------------- ## 4940 _ASBOX 4941 ) | sed "s/^/$as_me: WARNING: /" >&2 4942 ;; 4943 esac 4944 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 4945 $as_echo_n "checking for dlfcn.h... " >&6; } 4946 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4947 $as_echo_n "(cached) " >&6 4948 else 4949 ac_cv_header_dlfcn_h=$ac_header_preproc 4950 fi 4951 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 4952 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 4953 4954 fi 4955 if test "x$ac_cv_header_dlfcn_h" = x""yes; then 4772 4956 4773 4957 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 4780 4964 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4781 4965 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 4782 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ELF" >&54966 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 4783 4967 $as_echo_n "checking for ELF... " >&6; } 4784 if ${tcl_cv_ld_elf+:} false; then :4968 if test "${tcl_cv_ld_elf+set}" = set; then 4785 4969 $as_echo_n "(cached) " >&6 4786 4970 else 4787 4971 4788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4972 cat >conftest.$ac_ext <<_ACEOF 4973 /* confdefs.h. */ 4974 _ACEOF 4975 cat confdefs.h >>conftest.$ac_ext 4976 cat >>conftest.$ac_ext <<_ACEOF 4789 4977 /* end confdefs.h. */ 4790 4978 … … 4795 4983 _ACEOF 4796 4984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4797 $EGREP "yes" >/dev/null 2>&1; then :4985 $EGREP "yes" >/dev/null 2>&1; then 4798 4986 tcl_cv_ld_elf=yes 4799 4987 else … … 4803 4991 4804 4992 fi 4805 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&54993 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 4806 4994 $as_echo "$tcl_cv_ld_elf" >&6; } 4807 4995 if test $tcl_cv_ld_elf = yes; then … … 4862 5050 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4863 5051 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 4864 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ELF" >&55052 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 4865 5053 $as_echo_n "checking for ELF... " >&6; } 4866 if ${tcl_cv_ld_elf+:} false; then :5054 if test "${tcl_cv_ld_elf+set}" = set; then 4867 5055 $as_echo_n "(cached) " >&6 4868 5056 else 4869 5057 4870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5058 cat >conftest.$ac_ext <<_ACEOF 5059 /* confdefs.h. */ 5060 _ACEOF 5061 cat confdefs.h >>conftest.$ac_ext 5062 cat >>conftest.$ac_ext <<_ACEOF 4871 5063 /* end confdefs.h. */ 4872 5064 … … 4877 5069 _ACEOF 4878 5070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4879 $EGREP "yes" >/dev/null 2>&1; then :5071 $EGREP "yes" >/dev/null 2>&1; then 4880 5072 tcl_cv_ld_elf=yes 4881 5073 else … … 4885 5077 4886 5078 fi 4887 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&55079 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 4888 5080 $as_echo "$tcl_cv_ld_elf" >&6; } 4889 5081 if test $tcl_cv_ld_elf = yes; then … … 4940 5132 case `arch` in 4941 5133 ppc) 4942 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&55134 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5 4943 5135 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 4944 if ${tcl_cv_cc_arch_ppc64+:} false; then :5136 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then 4945 5137 $as_echo_n "(cached) " >&6 4946 5138 else … … 4948 5140 hold_cflags=$CFLAGS 4949 5141 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 4950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5142 cat >conftest.$ac_ext <<_ACEOF 5143 /* confdefs.h. */ 5144 _ACEOF 5145 cat confdefs.h >>conftest.$ac_ext 5146 cat >>conftest.$ac_ext <<_ACEOF 4951 5147 /* end confdefs.h. */ 4952 5148 … … 4959 5155 } 4960 5156 _ACEOF 4961 if ac_fn_c_try_link "$LINENO"; then : 5157 rm -f conftest.$ac_objext conftest$ac_exeext 5158 if { (ac_try="$ac_link" 5159 case "(($ac_try" in 5160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5161 *) ac_try_echo=$ac_try;; 5162 esac 5163 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5164 $as_echo "$ac_try_echo") >&5 5165 (eval "$ac_link") 2>conftest.er1 5166 ac_status=$? 5167 grep -v '^ *+' conftest.er1 >conftest.err 5168 rm -f conftest.er1 5169 cat conftest.err >&5 5170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5171 (exit $ac_status); } && { 5172 test -z "$ac_c_werror_flag" || 5173 test ! -s conftest.err 5174 } && test -s conftest$ac_exeext && { 5175 test "$cross_compiling" = yes || 5176 $as_test_x conftest$ac_exeext 5177 }; then 4962 5178 tcl_cv_cc_arch_ppc64=yes 4963 5179 else 4964 tcl_cv_cc_arch_ppc64=no 4965 fi 4966 rm -f core conftest.err conftest.$ac_objext \ 4967 conftest$ac_exeext conftest.$ac_ext 5180 $as_echo "$as_me: failed program was:" >&5 5181 sed 's/^/| /' conftest.$ac_ext >&5 5182 5183 tcl_cv_cc_arch_ppc64=no 5184 fi 5185 5186 rm -rf conftest.dSYM 5187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5188 conftest$ac_exeext conftest.$ac_ext 4968 5189 CFLAGS=$hold_cflags 4969 5190 fi 4970 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&55191 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5 4971 5192 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 4972 5193 if test $tcl_cv_cc_arch_ppc64 = yes; then … … 4975 5196 fi;; 4976 5197 i386) 4977 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&55198 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5 4978 5199 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 4979 if ${tcl_cv_cc_arch_x86_64+:} false; then :5200 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then 4980 5201 $as_echo_n "(cached) " >&6 4981 5202 else … … 4983 5204 hold_cflags=$CFLAGS 4984 5205 CFLAGS="$CFLAGS -arch x86_64" 4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5206 cat >conftest.$ac_ext <<_ACEOF 5207 /* confdefs.h. */ 5208 _ACEOF 5209 cat confdefs.h >>conftest.$ac_ext 5210 cat >>conftest.$ac_ext <<_ACEOF 4986 5211 /* end confdefs.h. */ 4987 5212 … … 4994 5219 } 4995 5220 _ACEOF 4996 if ac_fn_c_try_link "$LINENO"; then : 5221 rm -f conftest.$ac_objext conftest$ac_exeext 5222 if { (ac_try="$ac_link" 5223 case "(($ac_try" in 5224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5225 *) ac_try_echo=$ac_try;; 5226 esac 5227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5228 $as_echo "$ac_try_echo") >&5 5229 (eval "$ac_link") 2>conftest.er1 5230 ac_status=$? 5231 grep -v '^ *+' conftest.er1 >conftest.err 5232 rm -f conftest.er1 5233 cat conftest.err >&5 5234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5235 (exit $ac_status); } && { 5236 test -z "$ac_c_werror_flag" || 5237 test ! -s conftest.err 5238 } && test -s conftest$ac_exeext && { 5239 test "$cross_compiling" = yes || 5240 $as_test_x conftest$ac_exeext 5241 }; then 4997 5242 tcl_cv_cc_arch_x86_64=yes 4998 5243 else 4999 tcl_cv_cc_arch_x86_64=no 5000 fi 5001 rm -f core conftest.err conftest.$ac_objext \ 5002 conftest$ac_exeext conftest.$ac_ext 5244 $as_echo "$as_me: failed program was:" >&5 5245 sed 's/^/| /' conftest.$ac_ext >&5 5246 5247 tcl_cv_cc_arch_x86_64=no 5248 fi 5249 5250 rm -rf conftest.dSYM 5251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5252 conftest$ac_exeext conftest.$ac_ext 5003 5253 CFLAGS=$hold_cflags 5004 5254 fi 5005 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&55255 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5 5006 5256 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 5007 5257 if test $tcl_cv_cc_arch_x86_64 = yes; then … … 5010 5260 fi;; 5011 5261 *) 5012 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&55262 { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 5013 5263 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 5014 5264 esac … … 5020 5270 fi 5021 5271 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 5022 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&55272 { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5 5023 5273 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 5024 if ${tcl_cv_ld_single_module+:} false; then :5274 if test "${tcl_cv_ld_single_module+set}" = set; then 5025 5275 $as_echo_n "(cached) " >&6 5026 5276 else … … 5028 5278 hold_ldflags=$LDFLAGS 5029 5279 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 5030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5280 cat >conftest.$ac_ext <<_ACEOF 5281 /* confdefs.h. */ 5282 _ACEOF 5283 cat confdefs.h >>conftest.$ac_ext 5284 cat >>conftest.$ac_ext <<_ACEOF 5031 5285 /* end confdefs.h. */ 5032 5286 … … 5039 5293 } 5040 5294 _ACEOF 5041 if ac_fn_c_try_link "$LINENO"; then : 5295 rm -f conftest.$ac_objext conftest$ac_exeext 5296 if { (ac_try="$ac_link" 5297 case "(($ac_try" in 5298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5299 *) ac_try_echo=$ac_try;; 5300 esac 5301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5302 $as_echo "$ac_try_echo") >&5 5303 (eval "$ac_link") 2>conftest.er1 5304 ac_status=$? 5305 grep -v '^ *+' conftest.er1 >conftest.err 5306 rm -f conftest.er1 5307 cat conftest.err >&5 5308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5309 (exit $ac_status); } && { 5310 test -z "$ac_c_werror_flag" || 5311 test ! -s conftest.err 5312 } && test -s conftest$ac_exeext && { 5313 test "$cross_compiling" = yes || 5314 $as_test_x conftest$ac_exeext 5315 }; then 5042 5316 tcl_cv_ld_single_module=yes 5043 5317 else 5044 tcl_cv_ld_single_module=no 5045 fi 5046 rm -f core conftest.err conftest.$ac_objext \ 5047 conftest$ac_exeext conftest.$ac_ext 5318 $as_echo "$as_me: failed program was:" >&5 5319 sed 's/^/| /' conftest.$ac_ext >&5 5320 5321 tcl_cv_ld_single_module=no 5322 fi 5323 5324 rm -rf conftest.dSYM 5325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5326 conftest$ac_exeext conftest.$ac_ext 5048 5327 LDFLAGS=$hold_ldflags 5049 5328 fi 5050 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&55329 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5 5051 5330 $as_echo "$tcl_cv_ld_single_module" >&6; } 5052 5331 if test $tcl_cv_ld_single_module = yes; then … … 5062 5341 LDFLAGS="$LDFLAGS -prebind" 5063 5342 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 5064 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&55343 { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5 5065 5344 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 5066 if ${tcl_cv_ld_search_paths_first+:} false; then :5345 if test "${tcl_cv_ld_search_paths_first+set}" = set; then 5067 5346 $as_echo_n "(cached) " >&6 5068 5347 else … … 5070 5349 hold_ldflags=$LDFLAGS 5071 5350 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5351 cat >conftest.$ac_ext <<_ACEOF 5352 /* confdefs.h. */ 5353 _ACEOF 5354 cat confdefs.h >>conftest.$ac_ext 5355 cat >>conftest.$ac_ext <<_ACEOF 5073 5356 /* end confdefs.h. */ 5074 5357 … … 5081 5364 } 5082 5365 _ACEOF 5083 if ac_fn_c_try_link "$LINENO"; then : 5366 rm -f conftest.$ac_objext conftest$ac_exeext 5367 if { (ac_try="$ac_link" 5368 case "(($ac_try" in 5369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5370 *) ac_try_echo=$ac_try;; 5371 esac 5372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5373 $as_echo "$ac_try_echo") >&5 5374 (eval "$ac_link") 2>conftest.er1 5375 ac_status=$? 5376 grep -v '^ *+' conftest.er1 >conftest.err 5377 rm -f conftest.er1 5378 cat conftest.err >&5 5379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5380 (exit $ac_status); } && { 5381 test -z "$ac_c_werror_flag" || 5382 test ! -s conftest.err 5383 } && test -s conftest$ac_exeext && { 5384 test "$cross_compiling" = yes || 5385 $as_test_x conftest$ac_exeext 5386 }; then 5084 5387 tcl_cv_ld_search_paths_first=yes 5085 5388 else 5086 tcl_cv_ld_search_paths_first=no 5087 fi 5088 rm -f core conftest.err conftest.$ac_objext \ 5089 conftest$ac_exeext conftest.$ac_ext 5389 $as_echo "$as_me: failed program was:" >&5 5390 sed 's/^/| /' conftest.$ac_ext >&5 5391 5392 tcl_cv_ld_search_paths_first=no 5393 fi 5394 5395 rm -rf conftest.dSYM 5396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5397 conftest$ac_exeext conftest.$ac_ext 5090 5398 LDFLAGS=$hold_ldflags 5091 5399 fi 5092 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&55400 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5 5093 5401 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 5094 5402 if test $tcl_cv_ld_search_paths_first = yes; then … … 5100 5408 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 5101 5409 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 5102 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether to use CoreFoundation" >&55410 { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5 5103 5411 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 5104 5412 # Check whether --enable-corefoundation was given. 5105 if test "${enable_corefoundation+set}" = set; then :5413 if test "${enable_corefoundation+set}" = set; then 5106 5414 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 5107 5415 else … … 5109 5417 fi 5110 5418 5111 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_corefoundation" >&55419 { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5 5112 5420 $as_echo "$tcl_corefoundation" >&6; } 5113 5421 if test $tcl_corefoundation = yes; then 5114 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for CoreFoundation.framework" >&55422 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5 5115 5423 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 5116 if ${tcl_cv_lib_corefoundation+:} false; then :5424 if test "${tcl_cv_lib_corefoundation+set}" = set; then 5117 5425 $as_echo_n "(cached) " >&6 5118 5426 else … … 5126 5434 done; fi 5127 5435 LIBS="$LIBS -framework CoreFoundation" 5128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5436 cat >conftest.$ac_ext <<_ACEOF 5437 /* confdefs.h. */ 5438 _ACEOF 5439 cat confdefs.h >>conftest.$ac_ext 5440 cat >>conftest.$ac_ext <<_ACEOF 5129 5441 /* end confdefs.h. */ 5130 5442 #include <CoreFoundation/CoreFoundation.h> … … 5137 5449 } 5138 5450 _ACEOF 5139 if ac_fn_c_try_link "$LINENO"; then : 5451 rm -f conftest.$ac_objext conftest$ac_exeext 5452 if { (ac_try="$ac_link" 5453 case "(($ac_try" in 5454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5455 *) ac_try_echo=$ac_try;; 5456 esac 5457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5458 $as_echo "$ac_try_echo") >&5 5459 (eval "$ac_link") 2>conftest.er1 5460 ac_status=$? 5461 grep -v '^ *+' conftest.er1 >conftest.err 5462 rm -f conftest.er1 5463 cat conftest.err >&5 5464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5465 (exit $ac_status); } && { 5466 test -z "$ac_c_werror_flag" || 5467 test ! -s conftest.err 5468 } && test -s conftest$ac_exeext && { 5469 test "$cross_compiling" = yes || 5470 $as_test_x conftest$ac_exeext 5471 }; then 5140 5472 tcl_cv_lib_corefoundation=yes 5141 5473 else 5142 tcl_cv_lib_corefoundation=no 5143 fi 5144 rm -f core conftest.err conftest.$ac_objext \ 5145 conftest$ac_exeext conftest.$ac_ext 5474 $as_echo "$as_me: failed program was:" >&5 5475 sed 's/^/| /' conftest.$ac_ext >&5 5476 5477 tcl_cv_lib_corefoundation=no 5478 fi 5479 5480 rm -rf conftest.dSYM 5481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5482 conftest$ac_exeext conftest.$ac_ext 5146 5483 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 5147 5484 eval $v'="$hold_'$v'"' 5148 5485 done; fi; LIBS=$hold_libs 5149 5486 fi 5150 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&55487 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5 5151 5488 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 5152 5489 if test $tcl_cv_lib_corefoundation = yes; then 5153 5490 LIBS="$LIBS -framework CoreFoundation" 5154 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 5491 cat >>confdefs.h <<\_ACEOF 5492 #define HAVE_COREFOUNDATION 1 5493 _ACEOF 5155 5494 5156 5495 else … … 5158 5497 fi 5159 5498 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 5160 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&55499 { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5 5161 5500 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 5162 if ${tcl_cv_lib_corefoundation_64+:} false; then :5501 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then 5163 5502 $as_echo_n "(cached) " >&6 5164 5503 else … … 5167 5506 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 5168 5507 done 5169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5508 cat >conftest.$ac_ext <<_ACEOF 5509 /* confdefs.h. */ 5510 _ACEOF 5511 cat confdefs.h >>conftest.$ac_ext 5512 cat >>conftest.$ac_ext <<_ACEOF 5170 5513 /* end confdefs.h. */ 5171 5514 #include <CoreFoundation/CoreFoundation.h> … … 5178 5521 } 5179 5522 _ACEOF 5180 if ac_fn_c_try_link "$LINENO"; then : 5523 rm -f conftest.$ac_objext conftest$ac_exeext 5524 if { (ac_try="$ac_link" 5525 case "(($ac_try" in 5526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5527 *) ac_try_echo=$ac_try;; 5528 esac 5529 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5530 $as_echo "$ac_try_echo") >&5 5531 (eval "$ac_link") 2>conftest.er1 5532 ac_status=$? 5533 grep -v '^ *+' conftest.er1 >conftest.err 5534 rm -f conftest.er1 5535 cat conftest.err >&5 5536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5537 (exit $ac_status); } && { 5538 test -z "$ac_c_werror_flag" || 5539 test ! -s conftest.err 5540 } && test -s conftest$ac_exeext && { 5541 test "$cross_compiling" = yes || 5542 $as_test_x conftest$ac_exeext 5543 }; then 5181 5544 tcl_cv_lib_corefoundation_64=yes 5182 5545 else 5183 tcl_cv_lib_corefoundation_64=no 5184 fi 5185 rm -f core conftest.err conftest.$ac_objext \ 5186 conftest$ac_exeext conftest.$ac_ext 5546 $as_echo "$as_me: failed program was:" >&5 5547 sed 's/^/| /' conftest.$ac_ext >&5 5548 5549 tcl_cv_lib_corefoundation_64=no 5550 fi 5551 5552 rm -rf conftest.dSYM 5553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5554 conftest$ac_exeext conftest.$ac_ext 5187 5555 for v in CFLAGS CPPFLAGS LDFLAGS; do 5188 5556 eval $v'="$hold_'$v'"' 5189 5557 done 5190 5558 fi 5191 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&55559 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5 5192 5560 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 5193 5561 if test $tcl_cv_lib_corefoundation_64 = no; then 5194 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 5562 cat >>confdefs.h <<\_ACEOF 5563 #define NO_COREFOUNDATION_64 1 5564 _ACEOF 5195 5565 5196 5566 fi 5197 5567 fi 5198 5568 fi 5199 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 5569 cat >>confdefs.h <<\_ACEOF 5570 #define MAC_OSX_TCL 1 5571 _ACEOF 5200 5572 5201 5573 ;; … … 5212 5584 OS/390-*) 5213 5585 CFLAGS_OPTIMIZE="" # Optimizer is buggy 5214 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 5586 cat >>confdefs.h <<\_ACEOF 5587 #define _OE_SOCKETS 1 5588 _ACEOF 5215 5589 # needed in sys/socket.h 5216 5590 ;; … … 5353 5727 # won't define thread-safe library routines. 5354 5728 5355 $as_echo "#define _REENTRANT 1" >>confdefs.h 5356 5357 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5729 cat >>confdefs.h <<\_ACEOF 5730 #define _REENTRANT 1 5731 _ACEOF 5732 5733 cat >>confdefs.h <<\_ACEOF 5734 #define _POSIX_PTHREAD_SEMANTICS 1 5735 _ACEOF 5358 5736 5359 5737 … … 5381 5759 # won't define thread-safe library routines. 5382 5760 5383 $as_echo "#define _REENTRANT 1" >>confdefs.h 5384 5385 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5761 cat >>confdefs.h <<\_ACEOF 5762 #define _REENTRANT 1 5763 _ACEOF 5764 5765 cat >>confdefs.h <<\_ACEOF 5766 #define _POSIX_PTHREAD_SEMANTICS 1 5767 _ACEOF 5386 5768 5387 5769 … … 5394 5776 if test "$GCC" = "yes" ; then 5395 5777 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 5396 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&55778 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 5397 5779 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 5398 5780 else … … 5416 5798 elif test "$arch" = "amd64 i386" ; then 5417 5799 if test "$GCC" = "yes" ; then 5418 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&55800 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 5419 5801 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 5420 5802 else … … 5424 5806 fi 5425 5807 else 5426 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&55808 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5 5427 5809 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 5428 5810 fi … … 5483 5865 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 5484 5866 # that don't grok the -Bexport option. Test that it does. 5485 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&55867 { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5 5486 5868 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 5487 if ${tcl_cv_ld_Bexport+:} false; then :5869 if test "${tcl_cv_ld_Bexport+set}" = set; then 5488 5870 $as_echo_n "(cached) " >&6 5489 5871 else … … 5491 5873 hold_ldflags=$LDFLAGS 5492 5874 LDFLAGS="$LDFLAGS -Wl,-Bexport" 5493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5875 cat >conftest.$ac_ext <<_ACEOF 5876 /* confdefs.h. */ 5877 _ACEOF 5878 cat confdefs.h >>conftest.$ac_ext 5879 cat >>conftest.$ac_ext <<_ACEOF 5494 5880 /* end confdefs.h. */ 5495 5881 … … 5502 5888 } 5503 5889 _ACEOF 5504 if ac_fn_c_try_link "$LINENO"; then : 5890 rm -f conftest.$ac_objext conftest$ac_exeext 5891 if { (ac_try="$ac_link" 5892 case "(($ac_try" in 5893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5894 *) ac_try_echo=$ac_try;; 5895 esac 5896 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5897 $as_echo "$ac_try_echo") >&5 5898 (eval "$ac_link") 2>conftest.er1 5899 ac_status=$? 5900 grep -v '^ *+' conftest.er1 >conftest.err 5901 rm -f conftest.er1 5902 cat conftest.err >&5 5903 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5904 (exit $ac_status); } && { 5905 test -z "$ac_c_werror_flag" || 5906 test ! -s conftest.err 5907 } && test -s conftest$ac_exeext && { 5908 test "$cross_compiling" = yes || 5909 $as_test_x conftest$ac_exeext 5910 }; then 5505 5911 tcl_cv_ld_Bexport=yes 5506 5912 else 5507 tcl_cv_ld_Bexport=no 5508 fi 5509 rm -f core conftest.err conftest.$ac_objext \ 5510 conftest$ac_exeext conftest.$ac_ext 5913 $as_echo "$as_me: failed program was:" >&5 5914 sed 's/^/| /' conftest.$ac_ext >&5 5915 5916 tcl_cv_ld_Bexport=no 5917 fi 5918 5919 rm -rf conftest.dSYM 5920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5921 conftest$ac_exeext conftest.$ac_ext 5511 5922 LDFLAGS=$hold_ldflags 5512 5923 fi 5513 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&55924 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5 5514 5925 $as_echo "$tcl_cv_ld_Bexport" >&6; } 5515 5926 if test $tcl_cv_ld_Bexport = yes; then … … 5522 5933 5523 5934 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 5524 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&55935 { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 5525 5936 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 5526 5937 fi … … 5549 5960 5550 5961 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 5551 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking sys/exec.h" >&55962 { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5 5552 5963 $as_echo_n "checking sys/exec.h... " >&6; } 5553 if ${tcl_cv_sysexec_h+:} false; then :5964 if test "${tcl_cv_sysexec_h+set}" = set; then 5554 5965 $as_echo_n "(cached) " >&6 5555 5966 else 5556 5967 5557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5968 cat >conftest.$ac_ext <<_ACEOF 5969 /* confdefs.h. */ 5970 _ACEOF 5971 cat confdefs.h >>conftest.$ac_ext 5972 cat >>conftest.$ac_ext <<_ACEOF 5558 5973 /* end confdefs.h. */ 5559 5974 #include <sys/exec.h> … … 5577 5992 } 5578 5993 _ACEOF 5579 if ac_fn_c_try_compile "$LINENO"; then : 5994 rm -f conftest.$ac_objext 5995 if { (ac_try="$ac_compile" 5996 case "(($ac_try" in 5997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5998 *) ac_try_echo=$ac_try;; 5999 esac 6000 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6001 $as_echo "$ac_try_echo") >&5 6002 (eval "$ac_compile") 2>conftest.er1 6003 ac_status=$? 6004 grep -v '^ *+' conftest.er1 >conftest.err 6005 rm -f conftest.er1 6006 cat conftest.err >&5 6007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6008 (exit $ac_status); } && { 6009 test -z "$ac_c_werror_flag" || 6010 test ! -s conftest.err 6011 } && test -s conftest.$ac_objext; then 5580 6012 tcl_cv_sysexec_h=usable 5581 6013 else 5582 tcl_cv_sysexec_h=unusable 5583 fi 6014 $as_echo "$as_me: failed program was:" >&5 6015 sed 's/^/| /' conftest.$ac_ext >&5 6016 6017 tcl_cv_sysexec_h=unusable 6018 fi 6019 5584 6020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5585 6021 fi 5586 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&56022 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5 5587 6023 $as_echo "$tcl_cv_sysexec_h" >&6; } 5588 6024 if test $tcl_cv_sysexec_h = usable; then 5589 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 6025 cat >>confdefs.h <<\_ACEOF 6026 #define USE_SYS_EXEC_H 1 6027 _ACEOF 5590 6028 5591 6029 else 5592 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking a.out.h" >&56030 { $as_echo "$as_me:$LINENO: checking a.out.h" >&5 5593 6031 $as_echo_n "checking a.out.h... " >&6; } 5594 if ${tcl_cv_aout_h+:} false; then :6032 if test "${tcl_cv_aout_h+set}" = set; then 5595 6033 $as_echo_n "(cached) " >&6 5596 6034 else 5597 6035 5598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6036 cat >conftest.$ac_ext <<_ACEOF 6037 /* confdefs.h. */ 6038 _ACEOF 6039 cat confdefs.h >>conftest.$ac_ext 6040 cat >>conftest.$ac_ext <<_ACEOF 5599 6041 /* end confdefs.h. */ 5600 6042 #include <a.out.h> … … 5618 6060 } 5619 6061 _ACEOF 5620 if ac_fn_c_try_compile "$LINENO"; then : 6062 rm -f conftest.$ac_objext 6063 if { (ac_try="$ac_compile" 6064 case "(($ac_try" in 6065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6066 *) ac_try_echo=$ac_try;; 6067 esac 6068 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6069 $as_echo "$ac_try_echo") >&5 6070 (eval "$ac_compile") 2>conftest.er1 6071 ac_status=$? 6072 grep -v '^ *+' conftest.er1 >conftest.err 6073 rm -f conftest.er1 6074 cat conftest.err >&5 6075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6076 (exit $ac_status); } && { 6077 test -z "$ac_c_werror_flag" || 6078 test ! -s conftest.err 6079 } && test -s conftest.$ac_objext; then 5621 6080 tcl_cv_aout_h=usable 5622 6081 else 5623 tcl_cv_aout_h=unusable 5624 fi 6082 $as_echo "$as_me: failed program was:" >&5 6083 sed 's/^/| /' conftest.$ac_ext >&5 6084 6085 tcl_cv_aout_h=unusable 6086 fi 6087 5625 6088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5626 6089 fi 5627 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&56090 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5 5628 6091 $as_echo "$tcl_cv_aout_h" >&6; } 5629 6092 if test $tcl_cv_aout_h = usable; then 5630 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 6093 cat >>confdefs.h <<\_ACEOF 6094 #define USE_A_OUT_H 1 6095 _ACEOF 5631 6096 5632 6097 else 5633 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking sys/exec_aout.h" >&56098 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 5634 6099 $as_echo_n "checking sys/exec_aout.h... " >&6; } 5635 if ${tcl_cv_sysexecaout_h+:} false; then :6100 if test "${tcl_cv_sysexecaout_h+set}" = set; then 5636 6101 $as_echo_n "(cached) " >&6 5637 6102 else 5638 6103 5639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6104 cat >conftest.$ac_ext <<_ACEOF 6105 /* confdefs.h. */ 6106 _ACEOF 6107 cat confdefs.h >>conftest.$ac_ext 6108 cat >>conftest.$ac_ext <<_ACEOF 5640 6109 /* end confdefs.h. */ 5641 6110 #include <sys/exec_aout.h> … … 5659 6128 } 5660 6129 _ACEOF 5661 if ac_fn_c_try_compile "$LINENO"; then : 6130 rm -f conftest.$ac_objext 6131 if { (ac_try="$ac_compile" 6132 case "(($ac_try" in 6133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6134 *) ac_try_echo=$ac_try;; 6135 esac 6136 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6137 $as_echo "$ac_try_echo") >&5 6138 (eval "$ac_compile") 2>conftest.er1 6139 ac_status=$? 6140 grep -v '^ *+' conftest.er1 >conftest.err 6141 rm -f conftest.er1 6142 cat conftest.err >&5 6143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6144 (exit $ac_status); } && { 6145 test -z "$ac_c_werror_flag" || 6146 test ! -s conftest.err 6147 } && test -s conftest.$ac_objext; then 5662 6148 tcl_cv_sysexecaout_h=usable 5663 6149 else 5664 tcl_cv_sysexecaout_h=unusable 5665 fi 6150 $as_echo "$as_me: failed program was:" >&5 6151 sed 's/^/| /' conftest.$ac_ext >&5 6152 6153 tcl_cv_sysexecaout_h=unusable 6154 fi 6155 5666 6156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5667 6157 fi 5668 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&56158 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5 5669 6159 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 5670 6160 if test $tcl_cv_sysexecaout_h = usable; then 5671 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 6161 cat >>confdefs.h <<\_ACEOF 6162 #define USE_SYS_EXEC_AOUT_H 1 6163 _ACEOF 5672 6164 5673 6165 else … … 5681 6173 5682 6174 # Check whether --enable-load was given. 5683 if test "${enable_load+set}" = set; then :6175 if test "${enable_load+set}" = set; then 5684 6176 enableval=$enable_load; tcl_ok=$enableval 5685 6177 else … … 5804 6296 5805 6297 5806 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for X" >&56298 { $as_echo "$as_me:$LINENO: checking for X" >&5 5807 6299 $as_echo_n "checking for X... " >&6; } 5808 6300 5809 6301 5810 6302 # Check whether --with-x was given. 5811 if test "${with_x+set}" = set; then :6303 if test "${with_x+set}" = set; then 5812 6304 withval=$with_x; 5813 6305 fi … … 5819 6311 else 5820 6312 case $x_includes,$x_libraries in #( 5821 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 5822 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 6313 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5 6314 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;} 6315 { (exit 1); exit 1; }; };; #( 6316 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 5823 6317 $as_echo_n "(cached) " >&6 5824 6318 else … … 5837 6331 _ACEOF 5838 6332 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 5839 # GNU make sometimes prints "make[1]: Entering 6333 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 5840 6334 for ac_var in incroot usrlibdir libdir; do 5841 6335 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" … … 5868 6362 ac_x_header_dirs=' 5869 6363 /usr/X11/include 5870 /usr/X11R7/include5871 6364 /usr/X11R6/include 5872 6365 /usr/X11R5/include … … 5874 6367 5875 6368 /usr/include/X11 5876 /usr/include/X11R75877 6369 /usr/include/X11R6 5878 6370 /usr/include/X11R5 … … 5880 6372 5881 6373 /usr/local/X11/include 5882 /usr/local/X11R7/include5883 6374 /usr/local/X11R6/include 5884 6375 /usr/local/X11R5/include … … 5886 6377 5887 6378 /usr/local/include/X11 5888 /usr/local/include/X11R75889 6379 /usr/local/include/X11R6 5890 6380 /usr/local/include/X11R5 … … 5908 6398 # Guess where to find include files, by looking for Xlib.h. 5909 6399 # First, try using that file with no special directory specified. 5910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6400 cat >conftest.$ac_ext <<_ACEOF 6401 /* confdefs.h. */ 6402 _ACEOF 6403 cat confdefs.h >>conftest.$ac_ext 6404 cat >>conftest.$ac_ext <<_ACEOF 5911 6405 /* end confdefs.h. */ 5912 6406 #include <X11/Xlib.h> 5913 6407 _ACEOF 5914 if ac_fn_c_try_cpp "$LINENO"; then : 6408 if { (ac_try="$ac_cpp conftest.$ac_ext" 6409 case "(($ac_try" in 6410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6411 *) ac_try_echo=$ac_try;; 6412 esac 6413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6414 $as_echo "$ac_try_echo") >&5 6415 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6416 ac_status=$? 6417 grep -v '^ *+' conftest.er1 >conftest.err 6418 rm -f conftest.er1 6419 cat conftest.err >&5 6420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6421 (exit $ac_status); } >/dev/null && { 6422 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6423 test ! -s conftest.err 6424 }; then 5915 6425 # We can compile using X headers with no special include directory. 5916 6426 ac_x_includes= 5917 6427 else 6428 $as_echo "$as_me: failed program was:" >&5 6429 sed 's/^/| /' conftest.$ac_ext >&5 6430 5918 6431 for ac_dir in $ac_x_header_dirs; do 5919 6432 if test -r "$ac_dir/X11/Xlib.h"; then … … 5923 6436 done 5924 6437 fi 5925 rm -f conftest.err conftest.i conftest.$ac_ext 6438 6439 rm -f conftest.err conftest.$ac_ext 5926 6440 fi # $ac_x_includes = no 5927 6441 … … 5932 6446 ac_save_LIBS=$LIBS 5933 6447 LIBS="-lX11 $LIBS" 5934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6448 cat >conftest.$ac_ext <<_ACEOF 6449 /* confdefs.h. */ 6450 _ACEOF 6451 cat confdefs.h >>conftest.$ac_ext 6452 cat >>conftest.$ac_ext <<_ACEOF 5935 6453 /* end confdefs.h. */ 5936 6454 #include <X11/Xlib.h> … … 5943 6461 } 5944 6462 _ACEOF 5945 if ac_fn_c_try_link "$LINENO"; then : 6463 rm -f conftest.$ac_objext conftest$ac_exeext 6464 if { (ac_try="$ac_link" 6465 case "(($ac_try" in 6466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6467 *) ac_try_echo=$ac_try;; 6468 esac 6469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6470 $as_echo "$ac_try_echo") >&5 6471 (eval "$ac_link") 2>conftest.er1 6472 ac_status=$? 6473 grep -v '^ *+' conftest.er1 >conftest.err 6474 rm -f conftest.er1 6475 cat conftest.err >&5 6476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6477 (exit $ac_status); } && { 6478 test -z "$ac_c_werror_flag" || 6479 test ! -s conftest.err 6480 } && test -s conftest$ac_exeext && { 6481 test "$cross_compiling" = yes || 6482 $as_test_x conftest$ac_exeext 6483 }; then 5946 6484 LIBS=$ac_save_LIBS 5947 6485 # We can link X programs with no special library path. 5948 6486 ac_x_libraries= 5949 6487 else 5950 LIBS=$ac_save_LIBS 6488 $as_echo "$as_me: failed program was:" >&5 6489 sed 's/^/| /' conftest.$ac_ext >&5 6490 6491 LIBS=$ac_save_LIBS 5951 6492 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 5952 6493 do … … 5960 6501 done 5961 6502 fi 5962 rm -f core conftest.err conftest.$ac_objext \ 5963 conftest$ac_exeext conftest.$ac_ext 6503 6504 rm -rf conftest.dSYM 6505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6506 conftest$ac_exeext conftest.$ac_ext 5964 6507 fi # $ac_x_libraries = no 5965 6508 … … 5982 6525 5983 6526 if test "$have_x" != yes; then 5984 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $have_x" >&56527 { $as_echo "$as_me:$LINENO: result: $have_x" >&5 5985 6528 $as_echo "$have_x" >&6; } 5986 6529 no_x=yes … … 5993 6536 ac_x_includes='$x_includes'\ 5994 6537 ac_x_libraries='$x_libraries'" 5995 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&56538 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 5996 6539 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } 5997 6540 fi … … 6015 6558 done 6016 6559 if test -z "$ac_aux_dir"; then 6017 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 6560 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 6561 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 6562 { (exit 1); exit 1; }; } 6018 6563 fi 6019 6564 … … 6041 6586 # ./install, which can be erroneously created by make from ./install.sh. 6042 6587 # Reject install programs that cannot install multiple files. 6043 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a BSD-compatible install" >&56588 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6044 6589 $as_echo_n "checking for a BSD-compatible install... " >&6; } 6045 6590 if test -z "$INSTALL"; then 6046 if ${ac_cv_path_install+:} false; then :6591 if test "${ac_cv_path_install+set}" = set; then 6047 6592 $as_echo_n "(cached) " >&6 6048 6593 else … … 6052 6597 IFS=$as_save_IFS 6053 6598 test -z "$as_dir" && as_dir=. 6054 6055 case $as_dir/ in #((6056 ./ | .// | / [cC]/* | \6599 # Account for people who put trailing slashes in PATH elements. 6600 case $as_dir/ in 6601 ./ | .// | /cC/* | \ 6057 6602 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6058 ?: [\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \6603 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 6059 6604 /usr/ucb/* ) ;; 6060 6605 *) … … 6093 6638 esac 6094 6639 6095 6640 done 6096 6641 IFS=$as_save_IFS 6097 6642 … … 6109 6654 fi 6110 6655 fi 6111 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $INSTALL" >&56656 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 6112 6657 $as_echo "$INSTALL" >&6; } 6113 6658 … … 6123 6668 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6124 6669 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6125 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56670 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6126 6671 $as_echo_n "checking for $ac_word... " >&6; } 6127 if ${ac_cv_prog_RANLIB+:} false; then :6672 if test "${ac_cv_prog_RANLIB+set}" = set; then 6128 6673 $as_echo_n "(cached) " >&6 6129 6674 else … … 6136 6681 IFS=$as_save_IFS 6137 6682 test -z "$as_dir" && as_dir=. 6138 6683 for ac_exec_ext in '' $ac_executable_extensions; do 6139 6684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6140 6685 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6141 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56686 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6142 6687 break 2 6143 6688 fi 6144 6689 done 6145 6690 done 6146 6691 IFS=$as_save_IFS 6147 6692 … … 6150 6695 RANLIB=$ac_cv_prog_RANLIB 6151 6696 if test -n "$RANLIB"; then 6152 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&56697 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 6153 6698 $as_echo "$RANLIB" >&6; } 6154 6699 else 6155 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&56700 { $as_echo "$as_me:$LINENO: result: no" >&5 6156 6701 $as_echo "no" >&6; } 6157 6702 fi … … 6163 6708 # Extract the first word of "ranlib", so it can be a program name with args. 6164 6709 set dummy ranlib; ac_word=$2 6165 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56710 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6166 6711 $as_echo_n "checking for $ac_word... " >&6; } 6167 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :6712 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 6168 6713 $as_echo_n "(cached) " >&6 6169 6714 else … … 6176 6721 IFS=$as_save_IFS 6177 6722 test -z "$as_dir" && as_dir=. 6178 6723 for ac_exec_ext in '' $ac_executable_extensions; do 6179 6724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6180 6725 ac_cv_prog_ac_ct_RANLIB="ranlib" 6181 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56726 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6182 6727 break 2 6183 6728 fi 6184 6729 done 6185 6730 done 6186 6731 IFS=$as_save_IFS 6187 6732 … … 6190 6735 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6191 6736 if test -n "$ac_ct_RANLIB"; then 6192 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&56737 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 6193 6738 $as_echo "$ac_ct_RANLIB" >&6; } 6194 6739 else 6195 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&56740 { $as_echo "$as_me:$LINENO: result: no" >&5 6196 6741 $as_echo "no" >&6; } 6197 6742 fi … … 6202 6747 case $cross_compiling:$ac_tool_warned in 6203 6748 yes:) 6204 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&56749 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6205 6750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6206 6751 ac_tool_warned=yes ;; … … 6212 6757 fi 6213 6758 6214 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether ln -s works" >&56759 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 6215 6760 $as_echo_n "checking whether ln -s works... " >&6; } 6216 6761 LN_S=$as_ln_s 6217 6762 if test "$LN_S" = "ln -s"; then 6218 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&56763 { $as_echo "$as_me:$LINENO: result: yes" >&5 6219 6764 $as_echo "yes" >&6; } 6220 6765 else 6221 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no, using $LN_S" >&56766 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 6222 6767 $as_echo "no, using $LN_S" >&6; } 6223 6768 fi 6224 6769 6225 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&56770 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 6226 6771 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 6227 6772 if test -z "$MKDIR_P"; then 6228 if ${ac_cv_path_mkdir+:} false; then :6773 if test "${ac_cv_path_mkdir+set}" = set; then 6229 6774 $as_echo_n "(cached) " >&6 6230 6775 else … … 6234 6779 IFS=$as_save_IFS 6235 6780 test -z "$as_dir" && as_dir=. 6236 6781 for ac_prog in mkdir gmkdir; do 6237 6782 for ac_exec_ext in '' $ac_executable_extensions; do 6238 6783 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 6246 6791 done 6247 6792 done 6248 6793 done 6249 6794 IFS=$as_save_IFS 6250 6795 6251 6796 fi 6252 6797 6253 test -d ./--version && rmdir ./--version6254 6798 if test "${ac_cv_path_mkdir+set}" = set; then 6255 6799 MKDIR_P="$ac_cv_path_mkdir -p" … … 6259 6803 # break other packages using the cache if that directory is 6260 6804 # removed, or if the value is a relative name. 6805 test -d ./--version && rmdir ./--version 6261 6806 MKDIR_P="$ac_install_sh -d" 6262 6807 fi 6263 6808 fi 6264 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $MKDIR_P" >&56809 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 6265 6810 $as_echo "$MKDIR_P" >&6; } 6266 6811 … … 6274 6819 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 6275 6820 set dummy ${ac_tool_prefix}gcc; ac_word=$2 6276 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56821 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6277 6822 $as_echo_n "checking for $ac_word... " >&6; } 6278 if ${ac_cv_prog_CC+:} false; then :6823 if test "${ac_cv_prog_CC+set}" = set; then 6279 6824 $as_echo_n "(cached) " >&6 6280 6825 else … … 6287 6832 IFS=$as_save_IFS 6288 6833 test -z "$as_dir" && as_dir=. 6289 6834 for ac_exec_ext in '' $ac_executable_extensions; do 6290 6835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6291 6836 ac_cv_prog_CC="${ac_tool_prefix}gcc" 6292 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56837 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6293 6838 break 2 6294 6839 fi 6295 6840 done 6296 6841 done 6297 6842 IFS=$as_save_IFS 6298 6843 … … 6301 6846 CC=$ac_cv_prog_CC 6302 6847 if test -n "$CC"; then 6303 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&56848 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6304 6849 $as_echo "$CC" >&6; } 6305 6850 else 6306 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&56851 { $as_echo "$as_me:$LINENO: result: no" >&5 6307 6852 $as_echo "no" >&6; } 6308 6853 fi … … 6314 6859 # Extract the first word of "gcc", so it can be a program name with args. 6315 6860 set dummy gcc; ac_word=$2 6316 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56861 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6317 6862 $as_echo_n "checking for $ac_word... " >&6; } 6318 if ${ac_cv_prog_ac_ct_CC+:} false; then :6863 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6319 6864 $as_echo_n "(cached) " >&6 6320 6865 else … … 6327 6872 IFS=$as_save_IFS 6328 6873 test -z "$as_dir" && as_dir=. 6329 6874 for ac_exec_ext in '' $ac_executable_extensions; do 6330 6875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6331 6876 ac_cv_prog_ac_ct_CC="gcc" 6332 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56877 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6333 6878 break 2 6334 6879 fi 6335 6880 done 6336 6881 done 6337 6882 IFS=$as_save_IFS 6338 6883 … … 6341 6886 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6342 6887 if test -n "$ac_ct_CC"; then 6343 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&56888 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 6344 6889 $as_echo "$ac_ct_CC" >&6; } 6345 6890 else 6346 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&56891 { $as_echo "$as_me:$LINENO: result: no" >&5 6347 6892 $as_echo "no" >&6; } 6348 6893 fi … … 6353 6898 case $cross_compiling:$ac_tool_warned in 6354 6899 yes:) 6355 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&56900 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6356 6901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6357 6902 ac_tool_warned=yes ;; … … 6367 6912 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 6368 6913 set dummy ${ac_tool_prefix}cc; ac_word=$2 6369 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56914 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6370 6915 $as_echo_n "checking for $ac_word... " >&6; } 6371 if ${ac_cv_prog_CC+:} false; then :6916 if test "${ac_cv_prog_CC+set}" = set; then 6372 6917 $as_echo_n "(cached) " >&6 6373 6918 else … … 6380 6925 IFS=$as_save_IFS 6381 6926 test -z "$as_dir" && as_dir=. 6382 6927 for ac_exec_ext in '' $ac_executable_extensions; do 6383 6928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6384 6929 ac_cv_prog_CC="${ac_tool_prefix}cc" 6385 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56930 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6386 6931 break 2 6387 6932 fi 6388 6933 done 6389 6934 done 6390 6935 IFS=$as_save_IFS 6391 6936 … … 6394 6939 CC=$ac_cv_prog_CC 6395 6940 if test -n "$CC"; then 6396 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&56941 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6397 6942 $as_echo "$CC" >&6; } 6398 6943 else 6399 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&56944 { $as_echo "$as_me:$LINENO: result: no" >&5 6400 6945 $as_echo "no" >&6; } 6401 6946 fi … … 6407 6952 # Extract the first word of "cc", so it can be a program name with args. 6408 6953 set dummy cc; ac_word=$2 6409 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56954 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6410 6955 $as_echo_n "checking for $ac_word... " >&6; } 6411 if ${ac_cv_prog_CC+:} false; then :6956 if test "${ac_cv_prog_CC+set}" = set; then 6412 6957 $as_echo_n "(cached) " >&6 6413 6958 else … … 6421 6966 IFS=$as_save_IFS 6422 6967 test -z "$as_dir" && as_dir=. 6423 6968 for ac_exec_ext in '' $ac_executable_extensions; do 6424 6969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6425 6970 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 6428 6973 fi 6429 6974 ac_cv_prog_CC="cc" 6430 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56975 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6431 6976 break 2 6432 6977 fi 6433 6978 done 6434 6979 done 6435 6980 IFS=$as_save_IFS 6436 6981 … … 6451 6996 CC=$ac_cv_prog_CC 6452 6997 if test -n "$CC"; then 6453 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&56998 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6454 6999 $as_echo "$CC" >&6; } 6455 7000 else 6456 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57001 { $as_echo "$as_me:$LINENO: result: no" >&5 6457 7002 $as_echo "no" >&6; } 6458 7003 fi … … 6466 7011 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6467 7012 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6468 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57013 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6469 7014 $as_echo_n "checking for $ac_word... " >&6; } 6470 if ${ac_cv_prog_CC+:} false; then :7015 if test "${ac_cv_prog_CC+set}" = set; then 6471 7016 $as_echo_n "(cached) " >&6 6472 7017 else … … 6479 7024 IFS=$as_save_IFS 6480 7025 test -z "$as_dir" && as_dir=. 6481 7026 for ac_exec_ext in '' $ac_executable_extensions; do 6482 7027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6483 7028 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 6484 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57029 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6485 7030 break 2 6486 7031 fi 6487 7032 done 6488 7033 done 6489 7034 IFS=$as_save_IFS 6490 7035 … … 6493 7038 CC=$ac_cv_prog_CC 6494 7039 if test -n "$CC"; then 6495 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&57040 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6496 7041 $as_echo "$CC" >&6; } 6497 7042 else 6498 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57043 { $as_echo "$as_me:$LINENO: result: no" >&5 6499 7044 $as_echo "no" >&6; } 6500 7045 fi … … 6510 7055 # Extract the first word of "$ac_prog", so it can be a program name with args. 6511 7056 set dummy $ac_prog; ac_word=$2 6512 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57057 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6513 7058 $as_echo_n "checking for $ac_word... " >&6; } 6514 if ${ac_cv_prog_ac_ct_CC+:} false; then :7059 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6515 7060 $as_echo_n "(cached) " >&6 6516 7061 else … … 6523 7068 IFS=$as_save_IFS 6524 7069 test -z "$as_dir" && as_dir=. 6525 7070 for ac_exec_ext in '' $ac_executable_extensions; do 6526 7071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6527 7072 ac_cv_prog_ac_ct_CC="$ac_prog" 6528 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57073 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6529 7074 break 2 6530 7075 fi 6531 7076 done 6532 7077 done 6533 7078 IFS=$as_save_IFS 6534 7079 … … 6537 7082 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6538 7083 if test -n "$ac_ct_CC"; then 6539 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&57084 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 6540 7085 $as_echo "$ac_ct_CC" >&6; } 6541 7086 else 6542 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57087 { $as_echo "$as_me:$LINENO: result: no" >&5 6543 7088 $as_echo "no" >&6; } 6544 7089 fi … … 6553 7098 case $cross_compiling:$ac_tool_warned in 6554 7099 yes:) 6555 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57100 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6556 7101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6557 7102 ac_tool_warned=yes ;; … … 6564 7109 6565 7110 6566 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&57111 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 6567 7112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6568 as_fn_error $? "no acceptable C compiler found in \$PATH 6569 See \`config.log' for more details" "$LINENO" 5; } 7113 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 7114 See \`config.log' for more details." >&5 7115 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 7116 See \`config.log' for more details." >&2;} 7117 { (exit 1); exit 1; }; }; } 6570 7118 6571 7119 # Provide some information about the compiler. 6572 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&57120 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 6573 7121 set X $ac_compile 6574 7122 ac_compiler=$2 6575 for ac_option in --version -v -V -qversion; do 6576 { { ac_try="$ac_compiler $ac_option >&5" 7123 { (ac_try="$ac_compiler --version >&5" 6577 7124 case "(($ac_try" in 6578 7125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6579 7126 *) ac_try_echo=$ac_try;; 6580 7127 esac 6581 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""6582 $as_echo "$ac_try_echo" ; }>&56583 (eval "$ac_compiler $ac_option >&5") 2>conftest.err7128 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7129 $as_echo "$ac_try_echo") >&5 7130 (eval "$ac_compiler --version >&5") 2>&5 6584 7131 ac_status=$? 6585 if test -s conftest.err; then 6586 sed '10a\ 6587 ... rest of stderr output deleted ... 6588 10q' conftest.err >conftest.er1 6589 cat conftest.er1 >&5 6590 fi 6591 rm -f conftest.er1 conftest.err 6592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6593 test $ac_status = 0; } 6594 done 6595 6596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 7132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7133 (exit $ac_status); } 7134 { (ac_try="$ac_compiler -v >&5" 7135 case "(($ac_try" in 7136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7137 *) ac_try_echo=$ac_try;; 7138 esac 7139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7140 $as_echo "$ac_try_echo") >&5 7141 (eval "$ac_compiler -v >&5") 2>&5 7142 ac_status=$? 7143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7144 (exit $ac_status); } 7145 { (ac_try="$ac_compiler -V >&5" 7146 case "(($ac_try" in 7147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7148 *) ac_try_echo=$ac_try;; 7149 esac 7150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7151 $as_echo "$ac_try_echo") >&5 7152 (eval "$ac_compiler -V >&5") 2>&5 7153 ac_status=$? 7154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7155 (exit $ac_status); } 7156 7157 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 6597 7158 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 6598 if ${ac_cv_c_compiler_gnu+:} false; then :7159 if test "${ac_cv_c_compiler_gnu+set}" = set; then 6599 7160 $as_echo_n "(cached) " >&6 6600 7161 else 6601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7162 cat >conftest.$ac_ext <<_ACEOF 7163 /* confdefs.h. */ 7164 _ACEOF 7165 cat confdefs.h >>conftest.$ac_ext 7166 cat >>conftest.$ac_ext <<_ACEOF 6602 7167 /* end confdefs.h. */ 6603 7168 … … 6613 7178 } 6614 7179 _ACEOF 6615 if ac_fn_c_try_compile "$LINENO"; then : 7180 rm -f conftest.$ac_objext 7181 if { (ac_try="$ac_compile" 7182 case "(($ac_try" in 7183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7184 *) ac_try_echo=$ac_try;; 7185 esac 7186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7187 $as_echo "$ac_try_echo") >&5 7188 (eval "$ac_compile") 2>conftest.er1 7189 ac_status=$? 7190 grep -v '^ *+' conftest.er1 >conftest.err 7191 rm -f conftest.er1 7192 cat conftest.err >&5 7193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7194 (exit $ac_status); } && { 7195 test -z "$ac_c_werror_flag" || 7196 test ! -s conftest.err 7197 } && test -s conftest.$ac_objext; then 6616 7198 ac_compiler_gnu=yes 6617 7199 else 6618 ac_compiler_gnu=no 6619 fi 7200 $as_echo "$as_me: failed program was:" >&5 7201 sed 's/^/| /' conftest.$ac_ext >&5 7202 7203 ac_compiler_gnu=no 7204 fi 7205 6620 7206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6621 7207 ac_cv_c_compiler_gnu=$ac_compiler_gnu 6622 7208 6623 7209 fi 6624 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&57210 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 6625 7211 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 6626 7212 if test $ac_compiler_gnu = yes; then … … 6631 7217 ac_test_CFLAGS=${CFLAGS+set} 6632 7218 ac_save_CFLAGS=$CFLAGS 6633 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&57219 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 6634 7220 $as_echo_n "checking whether $CC accepts -g... " >&6; } 6635 if ${ac_cv_prog_cc_g+:} false; then :7221 if test "${ac_cv_prog_cc_g+set}" = set; then 6636 7222 $as_echo_n "(cached) " >&6 6637 7223 else … … 6640 7226 ac_cv_prog_cc_g=no 6641 7227 CFLAGS="-g" 6642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7228 cat >conftest.$ac_ext <<_ACEOF 7229 /* confdefs.h. */ 7230 _ACEOF 7231 cat confdefs.h >>conftest.$ac_ext 7232 cat >>conftest.$ac_ext <<_ACEOF 6643 7233 /* end confdefs.h. */ 6644 7234 … … 6651 7241 } 6652 7242 _ACEOF 6653 if ac_fn_c_try_compile "$LINENO"; then : 7243 rm -f conftest.$ac_objext 7244 if { (ac_try="$ac_compile" 7245 case "(($ac_try" in 7246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7247 *) ac_try_echo=$ac_try;; 7248 esac 7249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7250 $as_echo "$ac_try_echo") >&5 7251 (eval "$ac_compile") 2>conftest.er1 7252 ac_status=$? 7253 grep -v '^ *+' conftest.er1 >conftest.err 7254 rm -f conftest.er1 7255 cat conftest.err >&5 7256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7257 (exit $ac_status); } && { 7258 test -z "$ac_c_werror_flag" || 7259 test ! -s conftest.err 7260 } && test -s conftest.$ac_objext; then 6654 7261 ac_cv_prog_cc_g=yes 6655 7262 else 6656 CFLAGS="" 6657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7263 $as_echo "$as_me: failed program was:" >&5 7264 sed 's/^/| /' conftest.$ac_ext >&5 7265 7266 CFLAGS="" 7267 cat >conftest.$ac_ext <<_ACEOF 7268 /* confdefs.h. */ 7269 _ACEOF 7270 cat confdefs.h >>conftest.$ac_ext 7271 cat >>conftest.$ac_ext <<_ACEOF 6658 7272 /* end confdefs.h. */ 6659 7273 … … 6666 7280 } 6667 7281 _ACEOF 6668 if ac_fn_c_try_compile "$LINENO"; then : 6669 6670 else 6671 ac_c_werror_flag=$ac_save_c_werror_flag 7282 rm -f conftest.$ac_objext 7283 if { (ac_try="$ac_compile" 7284 case "(($ac_try" in 7285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7286 *) ac_try_echo=$ac_try;; 7287 esac 7288 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7289 $as_echo "$ac_try_echo") >&5 7290 (eval "$ac_compile") 2>conftest.er1 7291 ac_status=$? 7292 grep -v '^ *+' conftest.er1 >conftest.err 7293 rm -f conftest.er1 7294 cat conftest.err >&5 7295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7296 (exit $ac_status); } && { 7297 test -z "$ac_c_werror_flag" || 7298 test ! -s conftest.err 7299 } && test -s conftest.$ac_objext; then 7300 : 7301 else 7302 $as_echo "$as_me: failed program was:" >&5 7303 sed 's/^/| /' conftest.$ac_ext >&5 7304 7305 ac_c_werror_flag=$ac_save_c_werror_flag 6672 7306 CFLAGS="-g" 6673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7307 cat >conftest.$ac_ext <<_ACEOF 7308 /* confdefs.h. */ 7309 _ACEOF 7310 cat confdefs.h >>conftest.$ac_ext 7311 cat >>conftest.$ac_ext <<_ACEOF 6674 7312 /* end confdefs.h. */ 6675 7313 … … 6682 7320 } 6683 7321 _ACEOF 6684 if ac_fn_c_try_compile "$LINENO"; then : 7322 rm -f conftest.$ac_objext 7323 if { (ac_try="$ac_compile" 7324 case "(($ac_try" in 7325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7326 *) ac_try_echo=$ac_try;; 7327 esac 7328 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7329 $as_echo "$ac_try_echo") >&5 7330 (eval "$ac_compile") 2>conftest.er1 7331 ac_status=$? 7332 grep -v '^ *+' conftest.er1 >conftest.err 7333 rm -f conftest.er1 7334 cat conftest.err >&5 7335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7336 (exit $ac_status); } && { 7337 test -z "$ac_c_werror_flag" || 7338 test ! -s conftest.err 7339 } && test -s conftest.$ac_objext; then 6685 7340 ac_cv_prog_cc_g=yes 6686 fi 7341 else 7342 $as_echo "$as_me: failed program was:" >&5 7343 sed 's/^/| /' conftest.$ac_ext >&5 7344 7345 7346 fi 7347 6687 7348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6688 7349 fi 7350 6689 7351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6690 7352 fi 7353 6691 7354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6692 7355 ac_c_werror_flag=$ac_save_c_werror_flag 6693 7356 fi 6694 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&57357 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 6695 7358 $as_echo "$ac_cv_prog_cc_g" >&6; } 6696 7359 if test "$ac_test_CFLAGS" = set; then … … 6709 7372 fi 6710 7373 fi 6711 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&57374 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 6712 7375 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 6713 if ${ac_cv_prog_cc_c89+:} false; then :7376 if test "${ac_cv_prog_cc_c89+set}" = set; then 6714 7377 $as_echo_n "(cached) " >&6 6715 7378 else 6716 7379 ac_cv_prog_cc_c89=no 6717 7380 ac_save_CC=$CC 6718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7381 cat >conftest.$ac_ext <<_ACEOF 7382 /* confdefs.h. */ 7383 _ACEOF 7384 cat confdefs.h >>conftest.$ac_ext 7385 cat >>conftest.$ac_ext <<_ACEOF 6719 7386 /* end confdefs.h. */ 6720 7387 #include <stdarg.h> … … 6773 7440 do 6774 7441 CC="$ac_save_CC $ac_arg" 6775 if ac_fn_c_try_compile "$LINENO"; then : 7442 rm -f conftest.$ac_objext 7443 if { (ac_try="$ac_compile" 7444 case "(($ac_try" in 7445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7446 *) ac_try_echo=$ac_try;; 7447 esac 7448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7449 $as_echo "$ac_try_echo") >&5 7450 (eval "$ac_compile") 2>conftest.er1 7451 ac_status=$? 7452 grep -v '^ *+' conftest.er1 >conftest.err 7453 rm -f conftest.er1 7454 cat conftest.err >&5 7455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7456 (exit $ac_status); } && { 7457 test -z "$ac_c_werror_flag" || 7458 test ! -s conftest.err 7459 } && test -s conftest.$ac_objext; then 6776 7460 ac_cv_prog_cc_c89=$ac_arg 6777 fi 7461 else 7462 $as_echo "$as_me: failed program was:" >&5 7463 sed 's/^/| /' conftest.$ac_ext >&5 7464 7465 7466 fi 7467 6778 7468 rm -f core conftest.err conftest.$ac_objext 6779 7469 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 6786 7476 case "x$ac_cv_prog_cc_c89" in 6787 7477 x) 6788 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&57478 { $as_echo "$as_me:$LINENO: result: none needed" >&5 6789 7479 $as_echo "none needed" >&6; } ;; 6790 7480 xno) 6791 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&57481 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 6792 7482 $as_echo "unsupported" >&6; } ;; 6793 7483 *) 6794 7484 CC="$CC $ac_cv_prog_cc_c89" 6795 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&57485 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 6796 7486 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 6797 7487 esac 6798 if test "x$ac_cv_prog_cc_c89" != xno; then : 6799 6800 fi 7488 6801 7489 6802 7490 ac_ext=c … … 6811 7499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6812 7500 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6813 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&57501 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 6814 7502 $as_echo_n "checking how to run the C preprocessor... " >&6; } 6815 7503 # On Suns, sometimes $CPP names a directory. … … 6818 7506 fi 6819 7507 if test -z "$CPP"; then 6820 if ${ac_cv_prog_CPP+:} false; then :7508 if test "${ac_cv_prog_CPP+set}" = set; then 6821 7509 $as_echo_n "(cached) " >&6 6822 7510 else … … 6833 7521 # On the NeXT, cc -E runs the code through the compiler's parser, 6834 7522 # not just through cpp. "Syntax error" is here to catch this case. 6835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7523 cat >conftest.$ac_ext <<_ACEOF 7524 /* confdefs.h. */ 7525 _ACEOF 7526 cat confdefs.h >>conftest.$ac_ext 7527 cat >>conftest.$ac_ext <<_ACEOF 6836 7528 /* end confdefs.h. */ 6837 7529 #ifdef __STDC__ … … 6842 7534 Syntax error 6843 7535 _ACEOF 6844 if ac_fn_c_try_cpp "$LINENO"; then : 6845 6846 else 7536 if { (ac_try="$ac_cpp conftest.$ac_ext" 7537 case "(($ac_try" in 7538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7539 *) ac_try_echo=$ac_try;; 7540 esac 7541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7542 $as_echo "$ac_try_echo") >&5 7543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7544 ac_status=$? 7545 grep -v '^ *+' conftest.er1 >conftest.err 7546 rm -f conftest.er1 7547 cat conftest.err >&5 7548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7549 (exit $ac_status); } >/dev/null && { 7550 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7551 test ! -s conftest.err 7552 }; then 7553 : 7554 else 7555 $as_echo "$as_me: failed program was:" >&5 7556 sed 's/^/| /' conftest.$ac_ext >&5 7557 6847 7558 # Broken: fails on valid input. 6848 7559 continue 6849 7560 fi 6850 rm -f conftest.err conftest.i conftest.$ac_ext 7561 7562 rm -f conftest.err conftest.$ac_ext 6851 7563 6852 7564 # OK, works on sane cases. Now check whether nonexistent headers 6853 7565 # can be detected and how. 6854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7566 cat >conftest.$ac_ext <<_ACEOF 7567 /* confdefs.h. */ 7568 _ACEOF 7569 cat confdefs.h >>conftest.$ac_ext 7570 cat >>conftest.$ac_ext <<_ACEOF 6855 7571 /* end confdefs.h. */ 6856 7572 #include <ac_nonexistent.h> 6857 7573 _ACEOF 6858 if ac_fn_c_try_cpp "$LINENO"; then : 7574 if { (ac_try="$ac_cpp conftest.$ac_ext" 7575 case "(($ac_try" in 7576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7577 *) ac_try_echo=$ac_try;; 7578 esac 7579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7580 $as_echo "$ac_try_echo") >&5 7581 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7582 ac_status=$? 7583 grep -v '^ *+' conftest.er1 >conftest.err 7584 rm -f conftest.er1 7585 cat conftest.err >&5 7586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7587 (exit $ac_status); } >/dev/null && { 7588 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7589 test ! -s conftest.err 7590 }; then 6859 7591 # Broken: success on invalid input. 6860 7592 continue 6861 7593 else 7594 $as_echo "$as_me: failed program was:" >&5 7595 sed 's/^/| /' conftest.$ac_ext >&5 7596 6862 7597 # Passes both tests. 6863 7598 ac_preproc_ok=: 6864 7599 break 6865 7600 fi 6866 rm -f conftest.err conftest.i conftest.$ac_ext 7601 7602 rm -f conftest.err conftest.$ac_ext 6867 7603 6868 7604 done 6869 7605 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6870 rm -f conftest. i conftest.err conftest.$ac_ext6871 if $ac_preproc_ok; then :7606 rm -f conftest.err conftest.$ac_ext 7607 if $ac_preproc_ok; then 6872 7608 break 6873 7609 fi … … 6881 7617 ac_cv_prog_CPP=$CPP 6882 7618 fi 6883 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&57619 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 6884 7620 $as_echo "$CPP" >&6; } 6885 7621 ac_preproc_ok=false … … 6892 7628 # On the NeXT, cc -E runs the code through the compiler's parser, 6893 7629 # not just through cpp. "Syntax error" is here to catch this case. 6894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7630 cat >conftest.$ac_ext <<_ACEOF 7631 /* confdefs.h. */ 7632 _ACEOF 7633 cat confdefs.h >>conftest.$ac_ext 7634 cat >>conftest.$ac_ext <<_ACEOF 6895 7635 /* end confdefs.h. */ 6896 7636 #ifdef __STDC__ … … 6901 7641 Syntax error 6902 7642 _ACEOF 6903 if ac_fn_c_try_cpp "$LINENO"; then : 6904 6905 else 7643 if { (ac_try="$ac_cpp conftest.$ac_ext" 7644 case "(($ac_try" in 7645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7646 *) ac_try_echo=$ac_try;; 7647 esac 7648 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7649 $as_echo "$ac_try_echo") >&5 7650 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7651 ac_status=$? 7652 grep -v '^ *+' conftest.er1 >conftest.err 7653 rm -f conftest.er1 7654 cat conftest.err >&5 7655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7656 (exit $ac_status); } >/dev/null && { 7657 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7658 test ! -s conftest.err 7659 }; then 7660 : 7661 else 7662 $as_echo "$as_me: failed program was:" >&5 7663 sed 's/^/| /' conftest.$ac_ext >&5 7664 6906 7665 # Broken: fails on valid input. 6907 7666 continue 6908 7667 fi 6909 rm -f conftest.err conftest.i conftest.$ac_ext 7668 7669 rm -f conftest.err conftest.$ac_ext 6910 7670 6911 7671 # OK, works on sane cases. Now check whether nonexistent headers 6912 7672 # can be detected and how. 6913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7673 cat >conftest.$ac_ext <<_ACEOF 7674 /* confdefs.h. */ 7675 _ACEOF 7676 cat confdefs.h >>conftest.$ac_ext 7677 cat >>conftest.$ac_ext <<_ACEOF 6914 7678 /* end confdefs.h. */ 6915 7679 #include <ac_nonexistent.h> 6916 7680 _ACEOF 6917 if ac_fn_c_try_cpp "$LINENO"; then : 7681 if { (ac_try="$ac_cpp conftest.$ac_ext" 7682 case "(($ac_try" in 7683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7684 *) ac_try_echo=$ac_try;; 7685 esac 7686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7687 $as_echo "$ac_try_echo") >&5 7688 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7689 ac_status=$? 7690 grep -v '^ *+' conftest.er1 >conftest.err 7691 rm -f conftest.er1 7692 cat conftest.err >&5 7693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7694 (exit $ac_status); } >/dev/null && { 7695 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7696 test ! -s conftest.err 7697 }; then 6918 7698 # Broken: success on invalid input. 6919 7699 continue 6920 7700 else 7701 $as_echo "$as_me: failed program was:" >&5 7702 sed 's/^/| /' conftest.$ac_ext >&5 7703 6921 7704 # Passes both tests. 6922 7705 ac_preproc_ok=: 6923 7706 break 6924 7707 fi 6925 rm -f conftest.err conftest.i conftest.$ac_ext 7708 7709 rm -f conftest.err conftest.$ac_ext 6926 7710 6927 7711 done 6928 7712 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6929 rm -f conftest. i conftest.err conftest.$ac_ext6930 if $ac_preproc_ok; then :6931 6932 else 6933 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&57713 rm -f conftest.err conftest.$ac_ext 7714 if $ac_preproc_ok; then 7715 : 7716 else 7717 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 6934 7718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6935 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 6936 See \`config.log' for more details" "$LINENO" 5; } 7719 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 7720 See \`config.log' for more details." >&5 7721 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 7722 See \`config.log' for more details." >&2;} 7723 { (exit 1); exit 1; }; }; } 6937 7724 fi 6938 7725 … … 6957 7744 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6958 7745 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6959 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57746 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6960 7747 $as_echo_n "checking for $ac_word... " >&6; } 6961 if ${ac_cv_prog_CXX+:} false; then :7748 if test "${ac_cv_prog_CXX+set}" = set; then 6962 7749 $as_echo_n "(cached) " >&6 6963 7750 else … … 6970 7757 IFS=$as_save_IFS 6971 7758 test -z "$as_dir" && as_dir=. 6972 7759 for ac_exec_ext in '' $ac_executable_extensions; do 6973 7760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6974 7761 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 6975 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57762 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6976 7763 break 2 6977 7764 fi 6978 7765 done 6979 7766 done 6980 7767 IFS=$as_save_IFS 6981 7768 … … 6984 7771 CXX=$ac_cv_prog_CXX 6985 7772 if test -n "$CXX"; then 6986 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXX" >&57773 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 6987 7774 $as_echo "$CXX" >&6; } 6988 7775 else 6989 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57776 { $as_echo "$as_me:$LINENO: result: no" >&5 6990 7777 $as_echo "no" >&6; } 6991 7778 fi … … 7001 7788 # Extract the first word of "$ac_prog", so it can be a program name with args. 7002 7789 set dummy $ac_prog; ac_word=$2 7003 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57790 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7004 7791 $as_echo_n "checking for $ac_word... " >&6; } 7005 if ${ac_cv_prog_ac_ct_CXX+:} false; then :7792 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 7006 7793 $as_echo_n "(cached) " >&6 7007 7794 else … … 7014 7801 IFS=$as_save_IFS 7015 7802 test -z "$as_dir" && as_dir=. 7016 7803 for ac_exec_ext in '' $ac_executable_extensions; do 7017 7804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7018 7805 ac_cv_prog_ac_ct_CXX="$ac_prog" 7019 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57806 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7020 7807 break 2 7021 7808 fi 7022 7809 done 7023 7810 done 7024 7811 IFS=$as_save_IFS 7025 7812 … … 7028 7815 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7029 7816 if test -n "$ac_ct_CXX"; then 7030 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CXX" >&57817 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 7031 7818 $as_echo "$ac_ct_CXX" >&6; } 7032 7819 else 7033 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57820 { $as_echo "$as_me:$LINENO: result: no" >&5 7034 7821 $as_echo "no" >&6; } 7035 7822 fi … … 7044 7831 case $cross_compiling:$ac_tool_warned in 7045 7832 yes:) 7046 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57833 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7047 7834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7048 7835 ac_tool_warned=yes ;; … … 7055 7842 fi 7056 7843 # Provide some information about the compiler. 7057 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C++ compiler version" >&57844 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7058 7845 set X $ac_compile 7059 7846 ac_compiler=$2 7060 for ac_option in --version -v -V -qversion; do 7061 { { ac_try="$ac_compiler $ac_option >&5" 7847 { (ac_try="$ac_compiler --version >&5" 7062 7848 case "(($ac_try" in 7063 7849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7064 7850 *) ac_try_echo=$ac_try;; 7065 7851 esac 7066 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""7067 $as_echo "$ac_try_echo" ; }>&57068 (eval "$ac_compiler $ac_option >&5") 2>conftest.err7852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7853 $as_echo "$ac_try_echo") >&5 7854 (eval "$ac_compiler --version >&5") 2>&5 7069 7855 ac_status=$? 7070 if test -s conftest.err; then 7071 sed '10a\ 7072 ... rest of stderr output deleted ... 7073 10q' conftest.err >conftest.er1 7074 cat conftest.er1 >&5 7075 fi 7076 rm -f conftest.er1 conftest.err 7077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7078 test $ac_status = 0; } 7079 done 7080 7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 7856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7857 (exit $ac_status); } 7858 { (ac_try="$ac_compiler -v >&5" 7859 case "(($ac_try" in 7860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7861 *) ac_try_echo=$ac_try;; 7862 esac 7863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7864 $as_echo "$ac_try_echo") >&5 7865 (eval "$ac_compiler -v >&5") 2>&5 7866 ac_status=$? 7867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7868 (exit $ac_status); } 7869 { (ac_try="$ac_compiler -V >&5" 7870 case "(($ac_try" in 7871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7872 *) ac_try_echo=$ac_try;; 7873 esac 7874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7875 $as_echo "$ac_try_echo") >&5 7876 (eval "$ac_compiler -V >&5") 2>&5 7877 ac_status=$? 7878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7879 (exit $ac_status); } 7880 7881 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7082 7882 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7083 if ${ac_cv_cxx_compiler_gnu+:} false; then :7883 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 7084 7884 $as_echo_n "(cached) " >&6 7085 7885 else 7086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7886 cat >conftest.$ac_ext <<_ACEOF 7887 /* confdefs.h. */ 7888 _ACEOF 7889 cat confdefs.h >>conftest.$ac_ext 7890 cat >>conftest.$ac_ext <<_ACEOF 7087 7891 /* end confdefs.h. */ 7088 7892 … … 7098 7902 } 7099 7903 _ACEOF 7100 if ac_fn_cxx_try_compile "$LINENO"; then : 7904 rm -f conftest.$ac_objext 7905 if { (ac_try="$ac_compile" 7906 case "(($ac_try" in 7907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7908 *) ac_try_echo=$ac_try;; 7909 esac 7910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7911 $as_echo "$ac_try_echo") >&5 7912 (eval "$ac_compile") 2>conftest.er1 7913 ac_status=$? 7914 grep -v '^ *+' conftest.er1 >conftest.err 7915 rm -f conftest.er1 7916 cat conftest.err >&5 7917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7918 (exit $ac_status); } && { 7919 test -z "$ac_cxx_werror_flag" || 7920 test ! -s conftest.err 7921 } && test -s conftest.$ac_objext; then 7101 7922 ac_compiler_gnu=yes 7102 7923 else 7103 ac_compiler_gnu=no 7104 fi 7924 $as_echo "$as_me: failed program was:" >&5 7925 sed 's/^/| /' conftest.$ac_ext >&5 7926 7927 ac_compiler_gnu=no 7928 fi 7929 7105 7930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7106 7931 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 7107 7932 7108 7933 fi 7109 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&57934 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 7110 7935 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 7111 7936 if test $ac_compiler_gnu = yes; then … … 7116 7941 ac_test_CXXFLAGS=${CXXFLAGS+set} 7117 7942 ac_save_CXXFLAGS=$CXXFLAGS 7118 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CXX accepts -g" >&57943 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 7119 7944 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 7120 if ${ac_cv_prog_cxx_g+:} false; then :7945 if test "${ac_cv_prog_cxx_g+set}" = set; then 7121 7946 $as_echo_n "(cached) " >&6 7122 7947 else … … 7125 7950 ac_cv_prog_cxx_g=no 7126 7951 CXXFLAGS="-g" 7127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7952 cat >conftest.$ac_ext <<_ACEOF 7953 /* confdefs.h. */ 7954 _ACEOF 7955 cat confdefs.h >>conftest.$ac_ext 7956 cat >>conftest.$ac_ext <<_ACEOF 7128 7957 /* end confdefs.h. */ 7129 7958 … … 7136 7965 } 7137 7966 _ACEOF 7138 if ac_fn_cxx_try_compile "$LINENO"; then : 7967 rm -f conftest.$ac_objext 7968 if { (ac_try="$ac_compile" 7969 case "(($ac_try" in 7970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7971 *) ac_try_echo=$ac_try;; 7972 esac 7973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7974 $as_echo "$ac_try_echo") >&5 7975 (eval "$ac_compile") 2>conftest.er1 7976 ac_status=$? 7977 grep -v '^ *+' conftest.er1 >conftest.err 7978 rm -f conftest.er1 7979 cat conftest.err >&5 7980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7981 (exit $ac_status); } && { 7982 test -z "$ac_cxx_werror_flag" || 7983 test ! -s conftest.err 7984 } && test -s conftest.$ac_objext; then 7139 7985 ac_cv_prog_cxx_g=yes 7140 7986 else 7141 CXXFLAGS="" 7142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7987 $as_echo "$as_me: failed program was:" >&5 7988 sed 's/^/| /' conftest.$ac_ext >&5 7989 7990 CXXFLAGS="" 7991 cat >conftest.$ac_ext <<_ACEOF 7992 /* confdefs.h. */ 7993 _ACEOF 7994 cat confdefs.h >>conftest.$ac_ext 7995 cat >>conftest.$ac_ext <<_ACEOF 7143 7996 /* end confdefs.h. */ 7144 7997 … … 7151 8004 } 7152 8005 _ACEOF 7153 if ac_fn_cxx_try_compile "$LINENO"; then : 7154 7155 else 7156 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8006 rm -f conftest.$ac_objext 8007 if { (ac_try="$ac_compile" 8008 case "(($ac_try" in 8009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8010 *) ac_try_echo=$ac_try;; 8011 esac 8012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8013 $as_echo "$ac_try_echo") >&5 8014 (eval "$ac_compile") 2>conftest.er1 8015 ac_status=$? 8016 grep -v '^ *+' conftest.er1 >conftest.err 8017 rm -f conftest.er1 8018 cat conftest.err >&5 8019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8020 (exit $ac_status); } && { 8021 test -z "$ac_cxx_werror_flag" || 8022 test ! -s conftest.err 8023 } && test -s conftest.$ac_objext; then 8024 : 8025 else 8026 $as_echo "$as_me: failed program was:" >&5 8027 sed 's/^/| /' conftest.$ac_ext >&5 8028 8029 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7157 8030 CXXFLAGS="-g" 7158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8031 cat >conftest.$ac_ext <<_ACEOF 8032 /* confdefs.h. */ 8033 _ACEOF 8034 cat confdefs.h >>conftest.$ac_ext 8035 cat >>conftest.$ac_ext <<_ACEOF 7159 8036 /* end confdefs.h. */ 7160 8037 … … 7167 8044 } 7168 8045 _ACEOF 7169 if ac_fn_cxx_try_compile "$LINENO"; then : 8046 rm -f conftest.$ac_objext 8047 if { (ac_try="$ac_compile" 8048 case "(($ac_try" in 8049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8050 *) ac_try_echo=$ac_try;; 8051 esac 8052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8053 $as_echo "$ac_try_echo") >&5 8054 (eval "$ac_compile") 2>conftest.er1 8055 ac_status=$? 8056 grep -v '^ *+' conftest.er1 >conftest.err 8057 rm -f conftest.er1 8058 cat conftest.err >&5 8059 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8060 (exit $ac_status); } && { 8061 test -z "$ac_cxx_werror_flag" || 8062 test ! -s conftest.err 8063 } && test -s conftest.$ac_objext; then 7170 8064 ac_cv_prog_cxx_g=yes 7171 fi 8065 else 8066 $as_echo "$as_me: failed program was:" >&5 8067 sed 's/^/| /' conftest.$ac_ext >&5 8068 8069 8070 fi 8071 7172 8072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7173 8073 fi 8074 7174 8075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7175 8076 fi 8077 7176 8078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7177 8079 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7178 8080 fi 7179 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&58081 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 7180 8082 $as_echo "$ac_cv_prog_cxx_g" >&6; } 7181 8083 if test "$ac_test_CXXFLAGS" = set; then … … 7205 8107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7206 8108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7207 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&58109 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 7208 8110 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 7209 8111 if test -z "$CXXCPP"; then 7210 if ${ac_cv_prog_CXXCPP+:} false; then :8112 if test "${ac_cv_prog_CXXCPP+set}" = set; then 7211 8113 $as_echo_n "(cached) " >&6 7212 8114 else … … 7223 8125 # On the NeXT, cc -E runs the code through the compiler's parser, 7224 8126 # not just through cpp. "Syntax error" is here to catch this case. 7225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8127 cat >conftest.$ac_ext <<_ACEOF 8128 /* confdefs.h. */ 8129 _ACEOF 8130 cat confdefs.h >>conftest.$ac_ext 8131 cat >>conftest.$ac_ext <<_ACEOF 7226 8132 /* end confdefs.h. */ 7227 8133 #ifdef __STDC__ … … 7232 8138 Syntax error 7233 8139 _ACEOF 7234 if ac_fn_cxx_try_cpp "$LINENO"; then : 7235 7236 else 8140 if { (ac_try="$ac_cpp conftest.$ac_ext" 8141 case "(($ac_try" in 8142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8143 *) ac_try_echo=$ac_try;; 8144 esac 8145 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8146 $as_echo "$ac_try_echo") >&5 8147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8148 ac_status=$? 8149 grep -v '^ *+' conftest.er1 >conftest.err 8150 rm -f conftest.er1 8151 cat conftest.err >&5 8152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8153 (exit $ac_status); } >/dev/null && { 8154 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8155 test ! -s conftest.err 8156 }; then 8157 : 8158 else 8159 $as_echo "$as_me: failed program was:" >&5 8160 sed 's/^/| /' conftest.$ac_ext >&5 8161 7237 8162 # Broken: fails on valid input. 7238 8163 continue 7239 8164 fi 7240 rm -f conftest.err conftest.i conftest.$ac_ext 8165 8166 rm -f conftest.err conftest.$ac_ext 7241 8167 7242 8168 # OK, works on sane cases. Now check whether nonexistent headers 7243 8169 # can be detected and how. 7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8170 cat >conftest.$ac_ext <<_ACEOF 8171 /* confdefs.h. */ 8172 _ACEOF 8173 cat confdefs.h >>conftest.$ac_ext 8174 cat >>conftest.$ac_ext <<_ACEOF 7245 8175 /* end confdefs.h. */ 7246 8176 #include <ac_nonexistent.h> 7247 8177 _ACEOF 7248 if ac_fn_cxx_try_cpp "$LINENO"; then : 8178 if { (ac_try="$ac_cpp conftest.$ac_ext" 8179 case "(($ac_try" in 8180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8181 *) ac_try_echo=$ac_try;; 8182 esac 8183 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8184 $as_echo "$ac_try_echo") >&5 8185 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8186 ac_status=$? 8187 grep -v '^ *+' conftest.er1 >conftest.err 8188 rm -f conftest.er1 8189 cat conftest.err >&5 8190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8191 (exit $ac_status); } >/dev/null && { 8192 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8193 test ! -s conftest.err 8194 }; then 7249 8195 # Broken: success on invalid input. 7250 8196 continue 7251 8197 else 8198 $as_echo "$as_me: failed program was:" >&5 8199 sed 's/^/| /' conftest.$ac_ext >&5 8200 7252 8201 # Passes both tests. 7253 8202 ac_preproc_ok=: 7254 8203 break 7255 8204 fi 7256 rm -f conftest.err conftest.i conftest.$ac_ext 8205 8206 rm -f conftest.err conftest.$ac_ext 7257 8207 7258 8208 done 7259 8209 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7260 rm -f conftest. i conftest.err conftest.$ac_ext7261 if $ac_preproc_ok; then :8210 rm -f conftest.err conftest.$ac_ext 8211 if $ac_preproc_ok; then 7262 8212 break 7263 8213 fi … … 7271 8221 ac_cv_prog_CXXCPP=$CXXCPP 7272 8222 fi 7273 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXXCPP" >&58223 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 7274 8224 $as_echo "$CXXCPP" >&6; } 7275 8225 ac_preproc_ok=false … … 7282 8232 # On the NeXT, cc -E runs the code through the compiler's parser, 7283 8233 # not just through cpp. "Syntax error" is here to catch this case. 7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8234 cat >conftest.$ac_ext <<_ACEOF 8235 /* confdefs.h. */ 8236 _ACEOF 8237 cat confdefs.h >>conftest.$ac_ext 8238 cat >>conftest.$ac_ext <<_ACEOF 7285 8239 /* end confdefs.h. */ 7286 8240 #ifdef __STDC__ … … 7291 8245 Syntax error 7292 8246 _ACEOF 7293 if ac_fn_cxx_try_cpp "$LINENO"; then : 7294 7295 else 8247 if { (ac_try="$ac_cpp conftest.$ac_ext" 8248 case "(($ac_try" in 8249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8250 *) ac_try_echo=$ac_try;; 8251 esac 8252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8253 $as_echo "$ac_try_echo") >&5 8254 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8255 ac_status=$? 8256 grep -v '^ *+' conftest.er1 >conftest.err 8257 rm -f conftest.er1 8258 cat conftest.err >&5 8259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8260 (exit $ac_status); } >/dev/null && { 8261 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8262 test ! -s conftest.err 8263 }; then 8264 : 8265 else 8266 $as_echo "$as_me: failed program was:" >&5 8267 sed 's/^/| /' conftest.$ac_ext >&5 8268 7296 8269 # Broken: fails on valid input. 7297 8270 continue 7298 8271 fi 7299 rm -f conftest.err conftest.i conftest.$ac_ext 8272 8273 rm -f conftest.err conftest.$ac_ext 7300 8274 7301 8275 # OK, works on sane cases. Now check whether nonexistent headers 7302 8276 # can be detected and how. 7303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8277 cat >conftest.$ac_ext <<_ACEOF 8278 /* confdefs.h. */ 8279 _ACEOF 8280 cat confdefs.h >>conftest.$ac_ext 8281 cat >>conftest.$ac_ext <<_ACEOF 7304 8282 /* end confdefs.h. */ 7305 8283 #include <ac_nonexistent.h> 7306 8284 _ACEOF 7307 if ac_fn_cxx_try_cpp "$LINENO"; then : 8285 if { (ac_try="$ac_cpp conftest.$ac_ext" 8286 case "(($ac_try" in 8287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8288 *) ac_try_echo=$ac_try;; 8289 esac 8290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8291 $as_echo "$ac_try_echo") >&5 8292 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8293 ac_status=$? 8294 grep -v '^ *+' conftest.er1 >conftest.err 8295 rm -f conftest.er1 8296 cat conftest.err >&5 8297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8298 (exit $ac_status); } >/dev/null && { 8299 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8300 test ! -s conftest.err 8301 }; then 7308 8302 # Broken: success on invalid input. 7309 8303 continue 7310 8304 else 8305 $as_echo "$as_me: failed program was:" >&5 8306 sed 's/^/| /' conftest.$ac_ext >&5 8307 7311 8308 # Passes both tests. 7312 8309 ac_preproc_ok=: 7313 8310 break 7314 8311 fi 7315 rm -f conftest.err conftest.i conftest.$ac_ext 8312 8313 rm -f conftest.err conftest.$ac_ext 7316 8314 7317 8315 done 7318 8316 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7319 rm -f conftest. i conftest.err conftest.$ac_ext7320 if $ac_preproc_ok; then :7321 7322 else 7323 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&58317 rm -f conftest.err conftest.$ac_ext 8318 if $ac_preproc_ok; then 8319 : 8320 else 8321 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7324 8322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7325 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 7326 See \`config.log' for more details" "$LINENO" 5; } 8323 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8324 See \`config.log' for more details." >&5 8325 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8326 See \`config.log' for more details." >&2;} 8327 { (exit 1); exit 1; }; }; } 7327 8328 fi 7328 8329 … … 7347 8348 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7348 8349 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7349 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58350 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7350 8351 $as_echo_n "checking for $ac_word... " >&6; } 7351 if ${ac_cv_prog_CXX+:} false; then :8352 if test "${ac_cv_prog_CXX+set}" = set; then 7352 8353 $as_echo_n "(cached) " >&6 7353 8354 else … … 7360 8361 IFS=$as_save_IFS 7361 8362 test -z "$as_dir" && as_dir=. 7362 8363 for ac_exec_ext in '' $ac_executable_extensions; do 7363 8364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7364 8365 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 7365 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58366 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7366 8367 break 2 7367 8368 fi 7368 8369 done 7369 8370 done 7370 8371 IFS=$as_save_IFS 7371 8372 … … 7374 8375 CXX=$ac_cv_prog_CXX 7375 8376 if test -n "$CXX"; then 7376 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXX" >&58377 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 7377 8378 $as_echo "$CXX" >&6; } 7378 8379 else 7379 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58380 { $as_echo "$as_me:$LINENO: result: no" >&5 7380 8381 $as_echo "no" >&6; } 7381 8382 fi … … 7391 8392 # Extract the first word of "$ac_prog", so it can be a program name with args. 7392 8393 set dummy $ac_prog; ac_word=$2 7393 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58394 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7394 8395 $as_echo_n "checking for $ac_word... " >&6; } 7395 if ${ac_cv_prog_ac_ct_CXX+:} false; then :8396 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 7396 8397 $as_echo_n "(cached) " >&6 7397 8398 else … … 7404 8405 IFS=$as_save_IFS 7405 8406 test -z "$as_dir" && as_dir=. 7406 8407 for ac_exec_ext in '' $ac_executable_extensions; do 7407 8408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7408 8409 ac_cv_prog_ac_ct_CXX="$ac_prog" 7409 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58410 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7410 8411 break 2 7411 8412 fi 7412 8413 done 7413 8414 done 7414 8415 IFS=$as_save_IFS 7415 8416 … … 7418 8419 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7419 8420 if test -n "$ac_ct_CXX"; then 7420 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CXX" >&58421 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 7421 8422 $as_echo "$ac_ct_CXX" >&6; } 7422 8423 else 7423 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58424 { $as_echo "$as_me:$LINENO: result: no" >&5 7424 8425 $as_echo "no" >&6; } 7425 8426 fi … … 7434 8435 case $cross_compiling:$ac_tool_warned in 7435 8436 yes:) 7436 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&58437 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7437 8438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7438 8439 ac_tool_warned=yes ;; … … 7445 8446 fi 7446 8447 # Provide some information about the compiler. 7447 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C++ compiler version" >&58448 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7448 8449 set X $ac_compile 7449 8450 ac_compiler=$2 7450 for ac_option in --version -v -V -qversion; do 7451 { { ac_try="$ac_compiler $ac_option >&5" 8451 { (ac_try="$ac_compiler --version >&5" 7452 8452 case "(($ac_try" in 7453 8453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7454 8454 *) ac_try_echo=$ac_try;; 7455 8455 esac 7456 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""7457 $as_echo "$ac_try_echo" ; }>&57458 (eval "$ac_compiler $ac_option >&5") 2>conftest.err8456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8457 $as_echo "$ac_try_echo") >&5 8458 (eval "$ac_compiler --version >&5") 2>&5 7459 8459 ac_status=$? 7460 if test -s conftest.err; then 7461 sed '10a\ 7462 ... rest of stderr output deleted ... 7463 10q' conftest.err >conftest.er1 7464 cat conftest.er1 >&5 7465 fi 7466 rm -f conftest.er1 conftest.err 7467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7468 test $ac_status = 0; } 7469 done 7470 7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8461 (exit $ac_status); } 8462 { (ac_try="$ac_compiler -v >&5" 8463 case "(($ac_try" in 8464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8465 *) ac_try_echo=$ac_try;; 8466 esac 8467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8468 $as_echo "$ac_try_echo") >&5 8469 (eval "$ac_compiler -v >&5") 2>&5 8470 ac_status=$? 8471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8472 (exit $ac_status); } 8473 { (ac_try="$ac_compiler -V >&5" 8474 case "(($ac_try" in 8475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8476 *) ac_try_echo=$ac_try;; 8477 esac 8478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8479 $as_echo "$ac_try_echo") >&5 8480 (eval "$ac_compiler -V >&5") 2>&5 8481 ac_status=$? 8482 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8483 (exit $ac_status); } 8484 8485 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7472 8486 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7473 if ${ac_cv_cxx_compiler_gnu+:} false; then :8487 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 7474 8488 $as_echo_n "(cached) " >&6 7475 8489 else 7476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8490 cat >conftest.$ac_ext <<_ACEOF 8491 /* confdefs.h. */ 8492 _ACEOF 8493 cat confdefs.h >>conftest.$ac_ext 8494 cat >>conftest.$ac_ext <<_ACEOF 7477 8495 /* end confdefs.h. */ 7478 8496 … … 7488 8506 } 7489 8507 _ACEOF 7490 if ac_fn_cxx_try_compile "$LINENO"; then : 8508 rm -f conftest.$ac_objext 8509 if { (ac_try="$ac_compile" 8510 case "(($ac_try" in 8511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8512 *) ac_try_echo=$ac_try;; 8513 esac 8514 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8515 $as_echo "$ac_try_echo") >&5 8516 (eval "$ac_compile") 2>conftest.er1 8517 ac_status=$? 8518 grep -v '^ *+' conftest.er1 >conftest.err 8519 rm -f conftest.er1 8520 cat conftest.err >&5 8521 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8522 (exit $ac_status); } && { 8523 test -z "$ac_cxx_werror_flag" || 8524 test ! -s conftest.err 8525 } && test -s conftest.$ac_objext; then 7491 8526 ac_compiler_gnu=yes 7492 8527 else 7493 ac_compiler_gnu=no 7494 fi 8528 $as_echo "$as_me: failed program was:" >&5 8529 sed 's/^/| /' conftest.$ac_ext >&5 8530 8531 ac_compiler_gnu=no 8532 fi 8533 7495 8534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7496 8535 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 7497 8536 7498 8537 fi 7499 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&58538 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 7500 8539 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 7501 8540 if test $ac_compiler_gnu = yes; then … … 7506 8545 ac_test_CXXFLAGS=${CXXFLAGS+set} 7507 8546 ac_save_CXXFLAGS=$CXXFLAGS 7508 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CXX accepts -g" >&58547 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 7509 8548 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 7510 if ${ac_cv_prog_cxx_g+:} false; then :8549 if test "${ac_cv_prog_cxx_g+set}" = set; then 7511 8550 $as_echo_n "(cached) " >&6 7512 8551 else … … 7515 8554 ac_cv_prog_cxx_g=no 7516 8555 CXXFLAGS="-g" 7517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8556 cat >conftest.$ac_ext <<_ACEOF 8557 /* confdefs.h. */ 8558 _ACEOF 8559 cat confdefs.h >>conftest.$ac_ext 8560 cat >>conftest.$ac_ext <<_ACEOF 7518 8561 /* end confdefs.h. */ 7519 8562 … … 7526 8569 } 7527 8570 _ACEOF 7528 if ac_fn_cxx_try_compile "$LINENO"; then : 8571 rm -f conftest.$ac_objext 8572 if { (ac_try="$ac_compile" 8573 case "(($ac_try" in 8574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8575 *) ac_try_echo=$ac_try;; 8576 esac 8577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8578 $as_echo "$ac_try_echo") >&5 8579 (eval "$ac_compile") 2>conftest.er1 8580 ac_status=$? 8581 grep -v '^ *+' conftest.er1 >conftest.err 8582 rm -f conftest.er1 8583 cat conftest.err >&5 8584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8585 (exit $ac_status); } && { 8586 test -z "$ac_cxx_werror_flag" || 8587 test ! -s conftest.err 8588 } && test -s conftest.$ac_objext; then 7529 8589 ac_cv_prog_cxx_g=yes 7530 8590 else 7531 CXXFLAGS="" 7532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8591 $as_echo "$as_me: failed program was:" >&5 8592 sed 's/^/| /' conftest.$ac_ext >&5 8593 8594 CXXFLAGS="" 8595 cat >conftest.$ac_ext <<_ACEOF 8596 /* confdefs.h. */ 8597 _ACEOF 8598 cat confdefs.h >>conftest.$ac_ext 8599 cat >>conftest.$ac_ext <<_ACEOF 7533 8600 /* end confdefs.h. */ 7534 8601 … … 7541 8608 } 7542 8609 _ACEOF 7543 if ac_fn_cxx_try_compile "$LINENO"; then : 7544 7545 else 7546 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8610 rm -f conftest.$ac_objext 8611 if { (ac_try="$ac_compile" 8612 case "(($ac_try" in 8613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8614 *) ac_try_echo=$ac_try;; 8615 esac 8616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8617 $as_echo "$ac_try_echo") >&5 8618 (eval "$ac_compile") 2>conftest.er1 8619 ac_status=$? 8620 grep -v '^ *+' conftest.er1 >conftest.err 8621 rm -f conftest.er1 8622 cat conftest.err >&5 8623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8624 (exit $ac_status); } && { 8625 test -z "$ac_cxx_werror_flag" || 8626 test ! -s conftest.err 8627 } && test -s conftest.$ac_objext; then 8628 : 8629 else 8630 $as_echo "$as_me: failed program was:" >&5 8631 sed 's/^/| /' conftest.$ac_ext >&5 8632 8633 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7547 8634 CXXFLAGS="-g" 7548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8635 cat >conftest.$ac_ext <<_ACEOF 8636 /* confdefs.h. */ 8637 _ACEOF 8638 cat confdefs.h >>conftest.$ac_ext 8639 cat >>conftest.$ac_ext <<_ACEOF 7549 8640 /* end confdefs.h. */ 7550 8641 … … 7557 8648 } 7558 8649 _ACEOF 7559 if ac_fn_cxx_try_compile "$LINENO"; then : 8650 rm -f conftest.$ac_objext 8651 if { (ac_try="$ac_compile" 8652 case "(($ac_try" in 8653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8654 *) ac_try_echo=$ac_try;; 8655 esac 8656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8657 $as_echo "$ac_try_echo") >&5 8658 (eval "$ac_compile") 2>conftest.er1 8659 ac_status=$? 8660 grep -v '^ *+' conftest.er1 >conftest.err 8661 rm -f conftest.er1 8662 cat conftest.err >&5 8663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8664 (exit $ac_status); } && { 8665 test -z "$ac_cxx_werror_flag" || 8666 test ! -s conftest.err 8667 } && test -s conftest.$ac_objext; then 7560 8668 ac_cv_prog_cxx_g=yes 7561 fi 8669 else 8670 $as_echo "$as_me: failed program was:" >&5 8671 sed 's/^/| /' conftest.$ac_ext >&5 8672 8673 8674 fi 8675 7562 8676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7563 8677 fi 8678 7564 8679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7565 8680 fi 8681 7566 8682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7567 8683 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7568 8684 fi 7569 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&58685 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 7570 8686 $as_echo "$ac_cv_prog_cxx_g" >&6; } 7571 8687 if test "$ac_test_CXXFLAGS" = set; then … … 7598 8714 7599 8715 7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 8716 8717 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7601 8718 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7602 if ${ac_cv_c_bigendian+:} false; then :8719 if test "${ac_cv_c_bigendian+set}" = set; then 7603 8720 $as_echo_n "(cached) " >&6 7604 8721 else 7605 8722 ac_cv_c_bigendian=unknown 7606 8723 # See if we're dealing with a universal compiler. 7607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8724 cat >conftest.$ac_ext <<_ACEOF 8725 /* confdefs.h. */ 8726 _ACEOF 8727 cat confdefs.h >>conftest.$ac_ext 8728 cat >>conftest.$ac_ext <<_ACEOF 7608 8729 /* end confdefs.h. */ 7609 8730 #ifndef __APPLE_CC__ … … 7613 8734 7614 8735 _ACEOF 7615 if ac_fn_cxx_try_compile "$LINENO"; then : 8736 rm -f conftest.$ac_objext 8737 if { (ac_try="$ac_compile" 8738 case "(($ac_try" in 8739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8740 *) ac_try_echo=$ac_try;; 8741 esac 8742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8743 $as_echo "$ac_try_echo") >&5 8744 (eval "$ac_compile") 2>conftest.er1 8745 ac_status=$? 8746 grep -v '^ *+' conftest.er1 >conftest.err 8747 rm -f conftest.er1 8748 cat conftest.err >&5 8749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8750 (exit $ac_status); } && { 8751 test -z "$ac_cxx_werror_flag" || 8752 test ! -s conftest.err 8753 } && test -s conftest.$ac_objext; then 7616 8754 7617 8755 # Check for potential -arch flags. It is not universal unless 7618 # there are at least two -arch flags with different values. 7619 ac_arch= 7620 ac_prev= 7621 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 7622 if test -n "$ac_prev"; then 7623 case $ac_word in 7624 i?86 | x86_64 | ppc | ppc64) 7625 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 7626 ac_arch=$ac_word 7627 else 7628 ac_cv_c_bigendian=universal 7629 break 7630 fi 7631 ;; 7632 esac 7633 ac_prev= 7634 elif test "x$ac_word" = "x-arch"; then 7635 ac_prev=arch 7636 fi 7637 done 7638 fi 8756 # there are some -arch flags. Note that *ppc* also matches 8757 # ppc64. This check is also rather less than ideal. 8758 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8759 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8760 esac 8761 else 8762 $as_echo "$as_me: failed program was:" >&5 8763 sed 's/^/| /' conftest.$ac_ext >&5 8764 8765 8766 fi 8767 7639 8768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7640 8769 if test $ac_cv_c_bigendian = unknown; then 7641 8770 # See if sys/param.h defines the BYTE_ORDER macro. 7642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8771 cat >conftest.$ac_ext <<_ACEOF 8772 /* confdefs.h. */ 8773 _ACEOF 8774 cat confdefs.h >>conftest.$ac_ext 8775 cat >>conftest.$ac_ext <<_ACEOF 7643 8776 /* end confdefs.h. */ 7644 8777 #include <sys/types.h> … … 7658 8791 } 7659 8792 _ACEOF 7660 if ac_fn_cxx_try_compile "$LINENO"; then : 8793 rm -f conftest.$ac_objext 8794 if { (ac_try="$ac_compile" 8795 case "(($ac_try" in 8796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8797 *) ac_try_echo=$ac_try;; 8798 esac 8799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8800 $as_echo "$ac_try_echo") >&5 8801 (eval "$ac_compile") 2>conftest.er1 8802 ac_status=$? 8803 grep -v '^ *+' conftest.er1 >conftest.err 8804 rm -f conftest.er1 8805 cat conftest.err >&5 8806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8807 (exit $ac_status); } && { 8808 test -z "$ac_cxx_werror_flag" || 8809 test ! -s conftest.err 8810 } && test -s conftest.$ac_objext; then 7661 8811 # It does; now see whether it defined to BIG_ENDIAN or not. 7662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8812 cat >conftest.$ac_ext <<_ACEOF 8813 /* confdefs.h. */ 8814 _ACEOF 8815 cat confdefs.h >>conftest.$ac_ext 8816 cat >>conftest.$ac_ext <<_ACEOF 7663 8817 /* end confdefs.h. */ 7664 8818 #include <sys/types.h> … … 7676 8830 } 7677 8831 _ACEOF 7678 if ac_fn_cxx_try_compile "$LINENO"; then : 8832 rm -f conftest.$ac_objext 8833 if { (ac_try="$ac_compile" 8834 case "(($ac_try" in 8835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8836 *) ac_try_echo=$ac_try;; 8837 esac 8838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8839 $as_echo "$ac_try_echo") >&5 8840 (eval "$ac_compile") 2>conftest.er1 8841 ac_status=$? 8842 grep -v '^ *+' conftest.er1 >conftest.err 8843 rm -f conftest.er1 8844 cat conftest.err >&5 8845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8846 (exit $ac_status); } && { 8847 test -z "$ac_cxx_werror_flag" || 8848 test ! -s conftest.err 8849 } && test -s conftest.$ac_objext; then 7679 8850 ac_cv_c_bigendian=yes 7680 8851 else 7681 ac_cv_c_bigendian=no 7682 fi 8852 $as_echo "$as_me: failed program was:" >&5 8853 sed 's/^/| /' conftest.$ac_ext >&5 8854 8855 ac_cv_c_bigendian=no 8856 fi 8857 7683 8858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7684 fi 8859 else 8860 $as_echo "$as_me: failed program was:" >&5 8861 sed 's/^/| /' conftest.$ac_ext >&5 8862 8863 8864 fi 8865 7685 8866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7686 8867 fi 7687 8868 if test $ac_cv_c_bigendian = unknown; then 7688 8869 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 7689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8870 cat >conftest.$ac_ext <<_ACEOF 8871 /* confdefs.h. */ 8872 _ACEOF 8873 cat confdefs.h >>conftest.$ac_ext 8874 cat >>conftest.$ac_ext <<_ACEOF 7690 8875 /* end confdefs.h. */ 7691 8876 #include <limits.h> … … 7702 8887 } 7703 8888 _ACEOF 7704 if ac_fn_cxx_try_compile "$LINENO"; then : 8889 rm -f conftest.$ac_objext 8890 if { (ac_try="$ac_compile" 8891 case "(($ac_try" in 8892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8893 *) ac_try_echo=$ac_try;; 8894 esac 8895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8896 $as_echo "$ac_try_echo") >&5 8897 (eval "$ac_compile") 2>conftest.er1 8898 ac_status=$? 8899 grep -v '^ *+' conftest.er1 >conftest.err 8900 rm -f conftest.er1 8901 cat conftest.err >&5 8902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8903 (exit $ac_status); } && { 8904 test -z "$ac_cxx_werror_flag" || 8905 test ! -s conftest.err 8906 } && test -s conftest.$ac_objext; then 7705 8907 # It does; now see whether it defined to _BIG_ENDIAN or not. 7706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8908 cat >conftest.$ac_ext <<_ACEOF 8909 /* confdefs.h. */ 8910 _ACEOF 8911 cat confdefs.h >>conftest.$ac_ext 8912 cat >>conftest.$ac_ext <<_ACEOF 7707 8913 /* end confdefs.h. */ 7708 8914 #include <limits.h> … … 7719 8925 } 7720 8926 _ACEOF 7721 if ac_fn_cxx_try_compile "$LINENO"; then : 8927 rm -f conftest.$ac_objext 8928 if { (ac_try="$ac_compile" 8929 case "(($ac_try" in 8930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8931 *) ac_try_echo=$ac_try;; 8932 esac 8933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8934 $as_echo "$ac_try_echo") >&5 8935 (eval "$ac_compile") 2>conftest.er1 8936 ac_status=$? 8937 grep -v '^ *+' conftest.er1 >conftest.err 8938 rm -f conftest.er1 8939 cat conftest.err >&5 8940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8941 (exit $ac_status); } && { 8942 test -z "$ac_cxx_werror_flag" || 8943 test ! -s conftest.err 8944 } && test -s conftest.$ac_objext; then 7722 8945 ac_cv_c_bigendian=yes 7723 8946 else 7724 ac_cv_c_bigendian=no 7725 fi 8947 $as_echo "$as_me: failed program was:" >&5 8948 sed 's/^/| /' conftest.$ac_ext >&5 8949 8950 ac_cv_c_bigendian=no 8951 fi 8952 7726 8953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7727 fi 8954 else 8955 $as_echo "$as_me: failed program was:" >&5 8956 sed 's/^/| /' conftest.$ac_ext >&5 8957 8958 8959 fi 8960 7728 8961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7729 8962 fi 7730 8963 if test $ac_cv_c_bigendian = unknown; then 7731 8964 # Compile a test program. 7732 if test "$cross_compiling" = yes; then :8965 if test "$cross_compiling" = yes; then 7733 8966 # Try to guess by grepping values from an object file. 7734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8967 cat >conftest.$ac_ext <<_ACEOF 8968 /* confdefs.h. */ 8969 _ACEOF 8970 cat confdefs.h >>conftest.$ac_ext 8971 cat >>conftest.$ac_ext <<_ACEOF 7735 8972 /* end confdefs.h. */ 7736 8973 short int ascii_mm[] = … … 7758 8995 } 7759 8996 _ACEOF 7760 if ac_fn_cxx_try_compile "$LINENO"; then : 8997 rm -f conftest.$ac_objext 8998 if { (ac_try="$ac_compile" 8999 case "(($ac_try" in 9000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9001 *) ac_try_echo=$ac_try;; 9002 esac 9003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9004 $as_echo "$ac_try_echo") >&5 9005 (eval "$ac_compile") 2>conftest.er1 9006 ac_status=$? 9007 grep -v '^ *+' conftest.er1 >conftest.err 9008 rm -f conftest.er1 9009 cat conftest.err >&5 9010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9011 (exit $ac_status); } && { 9012 test -z "$ac_cxx_werror_flag" || 9013 test ! -s conftest.err 9014 } && test -s conftest.$ac_objext; then 7761 9015 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 7762 9016 ac_cv_c_bigendian=yes … … 7770 9024 fi 7771 9025 fi 7772 fi 9026 else 9027 $as_echo "$as_me: failed program was:" >&5 9028 sed 's/^/| /' conftest.$ac_ext >&5 9029 9030 9031 fi 9032 7773 9033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7774 9034 else 7775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9035 cat >conftest.$ac_ext <<_ACEOF 9036 /* confdefs.h. */ 9037 _ACEOF 9038 cat confdefs.h >>conftest.$ac_ext 9039 cat >>conftest.$ac_ext <<_ACEOF 7776 9040 /* end confdefs.h. */ 7777 9041 $ac_includes_default … … 7793 9057 } 7794 9058 _ACEOF 7795 if ac_fn_cxx_try_run "$LINENO"; then : 9059 rm -f conftest$ac_exeext 9060 if { (ac_try="$ac_link" 9061 case "(($ac_try" in 9062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9063 *) ac_try_echo=$ac_try;; 9064 esac 9065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9066 $as_echo "$ac_try_echo") >&5 9067 (eval "$ac_link") 2>&5 9068 ac_status=$? 9069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9070 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9071 { (case "(($ac_try" in 9072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9073 *) ac_try_echo=$ac_try;; 9074 esac 9075 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9076 $as_echo "$ac_try_echo") >&5 9077 (eval "$ac_try") 2>&5 9078 ac_status=$? 9079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9080 (exit $ac_status); }; }; then 7796 9081 ac_cv_c_bigendian=no 7797 9082 else 7798 ac_cv_c_bigendian=yes 7799 fi 7800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7801 conftest.$ac_objext conftest.beam conftest.$ac_ext 7802 fi 9083 $as_echo "$as_me: program exited with status $ac_status" >&5 9084 $as_echo "$as_me: failed program was:" >&5 9085 sed 's/^/| /' conftest.$ac_ext >&5 9086 9087 ( exit $ac_status ) 9088 ac_cv_c_bigendian=yes 9089 fi 9090 rm -rf conftest.dSYM 9091 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9092 fi 9093 7803 9094 7804 9095 fi 7805 9096 fi 7806 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&59097 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7807 9098 $as_echo "$ac_cv_c_bigendian" >&6; } 7808 9099 case $ac_cv_c_bigendian in #( 7809 9100 yes) 7810 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9101 cat >>confdefs.h <<\_ACEOF 9102 #define WORDS_BIGENDIAN 1 9103 _ACEOF 7811 9104 ;; #( 7812 9105 no) … … 7814 9107 universal) 7815 9108 7816 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9109 cat >>confdefs.h <<\_ACEOF 9110 #define AC_APPLE_UNIVERSAL_BUILD 1 9111 _ACEOF 7817 9112 7818 9113 ;; #( 7819 9114 *) 7820 as_fn_error $? "unknown endianness 7821 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9115 { { $as_echo "$as_me:$LINENO: error: unknown endianness 9116 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 9117 $as_echo "$as_me: error: unknown endianness 9118 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 9119 { (exit 1); exit 1; }; } ;; 7822 9120 esac 7823 9121 … … 7826 9124 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7827 9125 # This bug is HP SR number 8606223364. 7828 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of int" >&59126 { $as_echo "$as_me:$LINENO: checking size of int" >&5 7829 9127 $as_echo_n "checking size of int... " >&6; } 7830 if ${ac_cv_sizeof_int+:} false; then :9128 if test "${ac_cv_sizeof_int+set}" = set; then 7831 9129 $as_echo_n "(cached) " >&6 7832 9130 else 7833 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 7834 7835 else 7836 if test "$ac_cv_type_int" = yes; then 7837 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9131 if test "$cross_compiling" = yes; then 9132 # Depending upon the size, compute the lo and hi bounds. 9133 cat >conftest.$ac_ext <<_ACEOF 9134 /* confdefs.h. */ 9135 _ACEOF 9136 cat confdefs.h >>conftest.$ac_ext 9137 cat >>conftest.$ac_ext <<_ACEOF 9138 /* end confdefs.h. */ 9139 $ac_includes_default 9140 int 9141 main () 9142 { 9143 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)]; 9144 test_array [0] = 0 9145 9146 ; 9147 return 0; 9148 } 9149 _ACEOF 9150 rm -f conftest.$ac_objext 9151 if { (ac_try="$ac_compile" 9152 case "(($ac_try" in 9153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9154 *) ac_try_echo=$ac_try;; 9155 esac 9156 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9157 $as_echo "$ac_try_echo") >&5 9158 (eval "$ac_compile") 2>conftest.er1 9159 ac_status=$? 9160 grep -v '^ *+' conftest.er1 >conftest.err 9161 rm -f conftest.er1 9162 cat conftest.err >&5 9163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9164 (exit $ac_status); } && { 9165 test -z "$ac_cxx_werror_flag" || 9166 test ! -s conftest.err 9167 } && test -s conftest.$ac_objext; then 9168 ac_lo=0 ac_mid=0 9169 while :; do 9170 cat >conftest.$ac_ext <<_ACEOF 9171 /* confdefs.h. */ 9172 _ACEOF 9173 cat confdefs.h >>conftest.$ac_ext 9174 cat >>conftest.$ac_ext <<_ACEOF 9175 /* end confdefs.h. */ 9176 $ac_includes_default 9177 int 9178 main () 9179 { 9180 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9181 test_array [0] = 0 9182 9183 ; 9184 return 0; 9185 } 9186 _ACEOF 9187 rm -f conftest.$ac_objext 9188 if { (ac_try="$ac_compile" 9189 case "(($ac_try" in 9190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9191 *) ac_try_echo=$ac_try;; 9192 esac 9193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9194 $as_echo "$ac_try_echo") >&5 9195 (eval "$ac_compile") 2>conftest.er1 9196 ac_status=$? 9197 grep -v '^ *+' conftest.er1 >conftest.err 9198 rm -f conftest.er1 9199 cat conftest.err >&5 9200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9201 (exit $ac_status); } && { 9202 test -z "$ac_cxx_werror_flag" || 9203 test ! -s conftest.err 9204 } && test -s conftest.$ac_objext; then 9205 ac_hi=$ac_mid; break 9206 else 9207 $as_echo "$as_me: failed program was:" >&5 9208 sed 's/^/| /' conftest.$ac_ext >&5 9209 9210 ac_lo=`expr $ac_mid + 1` 9211 if test $ac_lo -le $ac_mid; then 9212 ac_lo= ac_hi= 9213 break 9214 fi 9215 ac_mid=`expr 2 '*' $ac_mid + 1` 9216 fi 9217 9218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9219 done 9220 else 9221 $as_echo "$as_me: failed program was:" >&5 9222 sed 's/^/| /' conftest.$ac_ext >&5 9223 9224 cat >conftest.$ac_ext <<_ACEOF 9225 /* confdefs.h. */ 9226 _ACEOF 9227 cat confdefs.h >>conftest.$ac_ext 9228 cat >>conftest.$ac_ext <<_ACEOF 9229 /* end confdefs.h. */ 9230 $ac_includes_default 9231 int 9232 main () 9233 { 9234 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)]; 9235 test_array [0] = 0 9236 9237 ; 9238 return 0; 9239 } 9240 _ACEOF 9241 rm -f conftest.$ac_objext 9242 if { (ac_try="$ac_compile" 9243 case "(($ac_try" in 9244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9245 *) ac_try_echo=$ac_try;; 9246 esac 9247 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9248 $as_echo "$ac_try_echo") >&5 9249 (eval "$ac_compile") 2>conftest.er1 9250 ac_status=$? 9251 grep -v '^ *+' conftest.er1 >conftest.err 9252 rm -f conftest.er1 9253 cat conftest.err >&5 9254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9255 (exit $ac_status); } && { 9256 test -z "$ac_cxx_werror_flag" || 9257 test ! -s conftest.err 9258 } && test -s conftest.$ac_objext; then 9259 ac_hi=-1 ac_mid=-1 9260 while :; do 9261 cat >conftest.$ac_ext <<_ACEOF 9262 /* confdefs.h. */ 9263 _ACEOF 9264 cat confdefs.h >>conftest.$ac_ext 9265 cat >>conftest.$ac_ext <<_ACEOF 9266 /* end confdefs.h. */ 9267 $ac_includes_default 9268 int 9269 main () 9270 { 9271 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)]; 9272 test_array [0] = 0 9273 9274 ; 9275 return 0; 9276 } 9277 _ACEOF 9278 rm -f conftest.$ac_objext 9279 if { (ac_try="$ac_compile" 9280 case "(($ac_try" in 9281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9282 *) ac_try_echo=$ac_try;; 9283 esac 9284 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9285 $as_echo "$ac_try_echo") >&5 9286 (eval "$ac_compile") 2>conftest.er1 9287 ac_status=$? 9288 grep -v '^ *+' conftest.er1 >conftest.err 9289 rm -f conftest.er1 9290 cat conftest.err >&5 9291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9292 (exit $ac_status); } && { 9293 test -z "$ac_cxx_werror_flag" || 9294 test ! -s conftest.err 9295 } && test -s conftest.$ac_objext; then 9296 ac_lo=$ac_mid; break 9297 else 9298 $as_echo "$as_me: failed program was:" >&5 9299 sed 's/^/| /' conftest.$ac_ext >&5 9300 9301 ac_hi=`expr '(' $ac_mid ')' - 1` 9302 if test $ac_mid -le $ac_hi; then 9303 ac_lo= ac_hi= 9304 break 9305 fi 9306 ac_mid=`expr 2 '*' $ac_mid` 9307 fi 9308 9309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9310 done 9311 else 9312 $as_echo "$as_me: failed program was:" >&5 9313 sed 's/^/| /' conftest.$ac_ext >&5 9314 9315 ac_lo= ac_hi= 9316 fi 9317 9318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9319 fi 9320 9321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9322 # Binary search between lo and hi bounds. 9323 while test "x$ac_lo" != "x$ac_hi"; do 9324 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 9325 cat >conftest.$ac_ext <<_ACEOF 9326 /* confdefs.h. */ 9327 _ACEOF 9328 cat confdefs.h >>conftest.$ac_ext 9329 cat >>conftest.$ac_ext <<_ACEOF 9330 /* end confdefs.h. */ 9331 $ac_includes_default 9332 int 9333 main () 9334 { 9335 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9336 test_array [0] = 0 9337 9338 ; 9339 return 0; 9340 } 9341 _ACEOF 9342 rm -f conftest.$ac_objext 9343 if { (ac_try="$ac_compile" 9344 case "(($ac_try" in 9345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9346 *) ac_try_echo=$ac_try;; 9347 esac 9348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9349 $as_echo "$ac_try_echo") >&5 9350 (eval "$ac_compile") 2>conftest.er1 9351 ac_status=$? 9352 grep -v '^ *+' conftest.er1 >conftest.err 9353 rm -f conftest.er1 9354 cat conftest.err >&5 9355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9356 (exit $ac_status); } && { 9357 test -z "$ac_cxx_werror_flag" || 9358 test ! -s conftest.err 9359 } && test -s conftest.$ac_objext; then 9360 ac_hi=$ac_mid 9361 else 9362 $as_echo "$as_me: failed program was:" >&5 9363 sed 's/^/| /' conftest.$ac_ext >&5 9364 9365 ac_lo=`expr '(' $ac_mid ')' + 1` 9366 fi 9367 9368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9369 done 9370 case $ac_lo in 9371 ?*) ac_cv_sizeof_int=$ac_lo;; 9372 '') if test "$ac_cv_type_int" = yes; then 9373 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7838 9374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7839 as_fn_error 77 "cannot compute sizeof (int) 7840 See \`config.log' for more details" "$LINENO" 5; } 9375 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9376 See \`config.log' for more details." >&5 9377 $as_echo "$as_me: error: cannot compute sizeof (int) 9378 See \`config.log' for more details." >&2;} 9379 { (exit 77); exit 77; }; }; } 9380 else 9381 ac_cv_sizeof_int=0 9382 fi ;; 9383 esac 9384 else 9385 cat >conftest.$ac_ext <<_ACEOF 9386 /* confdefs.h. */ 9387 _ACEOF 9388 cat confdefs.h >>conftest.$ac_ext 9389 cat >>conftest.$ac_ext <<_ACEOF 9390 /* end confdefs.h. */ 9391 $ac_includes_default 9392 static long int longval () { return (long int) (sizeof (int)); } 9393 static unsigned long int ulongval () { return (long int) (sizeof (int)); } 9394 #include <stdio.h> 9395 #include <stdlib.h> 9396 int 9397 main () 9398 { 9399 9400 FILE *f = fopen ("conftest.val", "w"); 9401 if (! f) 9402 return 1; 9403 if (((long int) (sizeof (int))) < 0) 9404 { 9405 long int i = longval (); 9406 if (i != ((long int) (sizeof (int)))) 9407 return 1; 9408 fprintf (f, "%ld", i); 9409 } 9410 else 9411 { 9412 unsigned long int i = ulongval (); 9413 if (i != ((long int) (sizeof (int)))) 9414 return 1; 9415 fprintf (f, "%lu", i); 9416 } 9417 /* Do not output a trailing newline, as this causes \r\n confusion 9418 on some platforms. */ 9419 return ferror (f) || fclose (f) != 0; 9420 9421 ; 9422 return 0; 9423 } 9424 _ACEOF 9425 rm -f conftest$ac_exeext 9426 if { (ac_try="$ac_link" 9427 case "(($ac_try" in 9428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9429 *) ac_try_echo=$ac_try;; 9430 esac 9431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9432 $as_echo "$ac_try_echo") >&5 9433 (eval "$ac_link") 2>&5 9434 ac_status=$? 9435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9436 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9437 { (case "(($ac_try" in 9438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9439 *) ac_try_echo=$ac_try;; 9440 esac 9441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9442 $as_echo "$ac_try_echo") >&5 9443 (eval "$ac_try") 2>&5 9444 ac_status=$? 9445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9446 (exit $ac_status); }; }; then 9447 ac_cv_sizeof_int=`cat conftest.val` 9448 else 9449 $as_echo "$as_me: program exited with status $ac_status" >&5 9450 $as_echo "$as_me: failed program was:" >&5 9451 sed 's/^/| /' conftest.$ac_ext >&5 9452 9453 ( exit $ac_status ) 9454 if test "$ac_cv_type_int" = yes; then 9455 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9457 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9458 See \`config.log' for more details." >&5 9459 $as_echo "$as_me: error: cannot compute sizeof (int) 9460 See \`config.log' for more details." >&2;} 9461 { (exit 77); exit 77; }; }; } 7841 9462 else 7842 9463 ac_cv_sizeof_int=0 7843 9464 fi 7844 9465 fi 7845 7846 fi 7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9466 rm -rf conftest.dSYM 9467 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9468 fi 9469 rm -f conftest.val 9470 fi 9471 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 7848 9472 $as_echo "$ac_cv_sizeof_int" >&6; } 7849 9473 … … 7859 9483 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7860 9484 # This bug is HP SR number 8606223364. 7861 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of long" >&59485 { $as_echo "$as_me:$LINENO: checking size of long" >&5 7862 9486 $as_echo_n "checking size of long... " >&6; } 7863 if ${ac_cv_sizeof_long+:} false; then :9487 if test "${ac_cv_sizeof_long+set}" = set; then 7864 9488 $as_echo_n "(cached) " >&6 7865 9489 else 7866 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 7867 7868 else 7869 if test "$ac_cv_type_long" = yes; then 7870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9490 if test "$cross_compiling" = yes; then 9491 # Depending upon the size, compute the lo and hi bounds. 9492 cat >conftest.$ac_ext <<_ACEOF 9493 /* confdefs.h. */ 9494 _ACEOF 9495 cat confdefs.h >>conftest.$ac_ext 9496 cat >>conftest.$ac_ext <<_ACEOF 9497 /* end confdefs.h. */ 9498 $ac_includes_default 9499 int 9500 main () 9501 { 9502 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)]; 9503 test_array [0] = 0 9504 9505 ; 9506 return 0; 9507 } 9508 _ACEOF 9509 rm -f conftest.$ac_objext 9510 if { (ac_try="$ac_compile" 9511 case "(($ac_try" in 9512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9513 *) ac_try_echo=$ac_try;; 9514 esac 9515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9516 $as_echo "$ac_try_echo") >&5 9517 (eval "$ac_compile") 2>conftest.er1 9518 ac_status=$? 9519 grep -v '^ *+' conftest.er1 >conftest.err 9520 rm -f conftest.er1 9521 cat conftest.err >&5 9522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9523 (exit $ac_status); } && { 9524 test -z "$ac_cxx_werror_flag" || 9525 test ! -s conftest.err 9526 } && test -s conftest.$ac_objext; then 9527 ac_lo=0 ac_mid=0 9528 while :; do 9529 cat >conftest.$ac_ext <<_ACEOF 9530 /* confdefs.h. */ 9531 _ACEOF 9532 cat confdefs.h >>conftest.$ac_ext 9533 cat >>conftest.$ac_ext <<_ACEOF 9534 /* end confdefs.h. */ 9535 $ac_includes_default 9536 int 9537 main () 9538 { 9539 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 9540 test_array [0] = 0 9541 9542 ; 9543 return 0; 9544 } 9545 _ACEOF 9546 rm -f conftest.$ac_objext 9547 if { (ac_try="$ac_compile" 9548 case "(($ac_try" in 9549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9550 *) ac_try_echo=$ac_try;; 9551 esac 9552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9553 $as_echo "$ac_try_echo") >&5 9554 (eval "$ac_compile") 2>conftest.er1 9555 ac_status=$? 9556 grep -v '^ *+' conftest.er1 >conftest.err 9557 rm -f conftest.er1 9558 cat conftest.err >&5 9559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9560 (exit $ac_status); } && { 9561 test -z "$ac_cxx_werror_flag" || 9562 test ! -s conftest.err 9563 } && test -s conftest.$ac_objext; then 9564 ac_hi=$ac_mid; break 9565 else 9566 $as_echo "$as_me: failed program was:" >&5 9567 sed 's/^/| /' conftest.$ac_ext >&5 9568 9569 ac_lo=`expr $ac_mid + 1` 9570 if test $ac_lo -le $ac_mid; then 9571 ac_lo= ac_hi= 9572 break 9573 fi 9574 ac_mid=`expr 2 '*' $ac_mid + 1` 9575 fi 9576 9577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9578 done 9579 else 9580 $as_echo "$as_me: failed program was:" >&5 9581 sed 's/^/| /' conftest.$ac_ext >&5 9582 9583 cat >conftest.$ac_ext <<_ACEOF 9584 /* confdefs.h. */ 9585 _ACEOF 9586 cat confdefs.h >>conftest.$ac_ext 9587 cat >>conftest.$ac_ext <<_ACEOF 9588 /* end confdefs.h. */ 9589 $ac_includes_default 9590 int 9591 main () 9592 { 9593 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)]; 9594 test_array [0] = 0 9595 9596 ; 9597 return 0; 9598 } 9599 _ACEOF 9600 rm -f conftest.$ac_objext 9601 if { (ac_try="$ac_compile" 9602 case "(($ac_try" in 9603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9604 *) ac_try_echo=$ac_try;; 9605 esac 9606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9607 $as_echo "$ac_try_echo") >&5 9608 (eval "$ac_compile") 2>conftest.er1 9609 ac_status=$? 9610 grep -v '^ *+' conftest.er1 >conftest.err 9611 rm -f conftest.er1 9612 cat conftest.err >&5 9613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9614 (exit $ac_status); } && { 9615 test -z "$ac_cxx_werror_flag" || 9616 test ! -s conftest.err 9617 } && test -s conftest.$ac_objext; then 9618 ac_hi=-1 ac_mid=-1 9619 while :; do 9620 cat >conftest.$ac_ext <<_ACEOF 9621 /* confdefs.h. */ 9622 _ACEOF 9623 cat confdefs.h >>conftest.$ac_ext 9624 cat >>conftest.$ac_ext <<_ACEOF 9625 /* end confdefs.h. */ 9626 $ac_includes_default 9627 int 9628 main () 9629 { 9630 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)]; 9631 test_array [0] = 0 9632 9633 ; 9634 return 0; 9635 } 9636 _ACEOF 9637 rm -f conftest.$ac_objext 9638 if { (ac_try="$ac_compile" 9639 case "(($ac_try" in 9640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9641 *) ac_try_echo=$ac_try;; 9642 esac 9643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9644 $as_echo "$ac_try_echo") >&5 9645 (eval "$ac_compile") 2>conftest.er1 9646 ac_status=$? 9647 grep -v '^ *+' conftest.er1 >conftest.err 9648 rm -f conftest.er1 9649 cat conftest.err >&5 9650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9651 (exit $ac_status); } && { 9652 test -z "$ac_cxx_werror_flag" || 9653 test ! -s conftest.err 9654 } && test -s conftest.$ac_objext; then 9655 ac_lo=$ac_mid; break 9656 else 9657 $as_echo "$as_me: failed program was:" >&5 9658 sed 's/^/| /' conftest.$ac_ext >&5 9659 9660 ac_hi=`expr '(' $ac_mid ')' - 1` 9661 if test $ac_mid -le $ac_hi; then 9662 ac_lo= ac_hi= 9663 break 9664 fi 9665 ac_mid=`expr 2 '*' $ac_mid` 9666 fi 9667 9668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9669 done 9670 else 9671 $as_echo "$as_me: failed program was:" >&5 9672 sed 's/^/| /' conftest.$ac_ext >&5 9673 9674 ac_lo= ac_hi= 9675 fi 9676 9677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9678 fi 9679 9680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9681 # Binary search between lo and hi bounds. 9682 while test "x$ac_lo" != "x$ac_hi"; do 9683 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 9684 cat >conftest.$ac_ext <<_ACEOF 9685 /* confdefs.h. */ 9686 _ACEOF 9687 cat confdefs.h >>conftest.$ac_ext 9688 cat >>conftest.$ac_ext <<_ACEOF 9689 /* end confdefs.h. */ 9690 $ac_includes_default 9691 int 9692 main () 9693 { 9694 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 9695 test_array [0] = 0 9696 9697 ; 9698 return 0; 9699 } 9700 _ACEOF 9701 rm -f conftest.$ac_objext 9702 if { (ac_try="$ac_compile" 9703 case "(($ac_try" in 9704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9705 *) ac_try_echo=$ac_try;; 9706 esac 9707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9708 $as_echo "$ac_try_echo") >&5 9709 (eval "$ac_compile") 2>conftest.er1 9710 ac_status=$? 9711 grep -v '^ *+' conftest.er1 >conftest.err 9712 rm -f conftest.er1 9713 cat conftest.err >&5 9714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9715 (exit $ac_status); } && { 9716 test -z "$ac_cxx_werror_flag" || 9717 test ! -s conftest.err 9718 } && test -s conftest.$ac_objext; then 9719 ac_hi=$ac_mid 9720 else 9721 $as_echo "$as_me: failed program was:" >&5 9722 sed 's/^/| /' conftest.$ac_ext >&5 9723 9724 ac_lo=`expr '(' $ac_mid ')' + 1` 9725 fi 9726 9727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9728 done 9729 case $ac_lo in 9730 ?*) ac_cv_sizeof_long=$ac_lo;; 9731 '') if test "$ac_cv_type_long" = yes; then 9732 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7871 9733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7872 as_fn_error 77 "cannot compute sizeof (long) 7873 See \`config.log' for more details" "$LINENO" 5; } 9734 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 9735 See \`config.log' for more details." >&5 9736 $as_echo "$as_me: error: cannot compute sizeof (long) 9737 See \`config.log' for more details." >&2;} 9738 { (exit 77); exit 77; }; }; } 9739 else 9740 ac_cv_sizeof_long=0 9741 fi ;; 9742 esac 9743 else 9744 cat >conftest.$ac_ext <<_ACEOF 9745 /* confdefs.h. */ 9746 _ACEOF 9747 cat confdefs.h >>conftest.$ac_ext 9748 cat >>conftest.$ac_ext <<_ACEOF 9749 /* end confdefs.h. */ 9750 $ac_includes_default 9751 static long int longval () { return (long int) (sizeof (long)); } 9752 static unsigned long int ulongval () { return (long int) (sizeof (long)); } 9753 #include <stdio.h> 9754 #include <stdlib.h> 9755 int 9756 main () 9757 { 9758 9759 FILE *f = fopen ("conftest.val", "w"); 9760 if (! f) 9761 return 1; 9762 if (((long int) (sizeof (long))) < 0) 9763 { 9764 long int i = longval (); 9765 if (i != ((long int) (sizeof (long)))) 9766 return 1; 9767 fprintf (f, "%ld", i); 9768 } 9769 else 9770 { 9771 unsigned long int i = ulongval (); 9772 if (i != ((long int) (sizeof (long)))) 9773 return 1; 9774 fprintf (f, "%lu", i); 9775 } 9776 /* Do not output a trailing newline, as this causes \r\n confusion 9777 on some platforms. */ 9778 return ferror (f) || fclose (f) != 0; 9779 9780 ; 9781 return 0; 9782 } 9783 _ACEOF 9784 rm -f conftest$ac_exeext 9785 if { (ac_try="$ac_link" 9786 case "(($ac_try" in 9787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9788 *) ac_try_echo=$ac_try;; 9789 esac 9790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9791 $as_echo "$ac_try_echo") >&5 9792 (eval "$ac_link") 2>&5 9793 ac_status=$? 9794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9795 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9796 { (case "(($ac_try" in 9797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9798 *) ac_try_echo=$ac_try;; 9799 esac 9800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9801 $as_echo "$ac_try_echo") >&5 9802 (eval "$ac_try") 2>&5 9803 ac_status=$? 9804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9805 (exit $ac_status); }; }; then 9806 ac_cv_sizeof_long=`cat conftest.val` 9807 else 9808 $as_echo "$as_me: program exited with status $ac_status" >&5 9809 $as_echo "$as_me: failed program was:" >&5 9810 sed 's/^/| /' conftest.$ac_ext >&5 9811 9812 ( exit $ac_status ) 9813 if test "$ac_cv_type_long" = yes; then 9814 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9816 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 9817 See \`config.log' for more details." >&5 9818 $as_echo "$as_me: error: cannot compute sizeof (long) 9819 See \`config.log' for more details." >&2;} 9820 { (exit 77); exit 77; }; }; } 7874 9821 else 7875 9822 ac_cv_sizeof_long=0 7876 9823 fi 7877 9824 fi 7878 7879 fi 7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 9825 rm -rf conftest.dSYM 9826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9827 fi 9828 rm -f conftest.val 9829 fi 9830 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 7881 9831 $as_echo "$ac_cv_sizeof_long" >&6; } 7882 9832 … … 7892 9842 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7893 9843 # This bug is HP SR number 8606223364. 7894 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of long long" >&59844 { $as_echo "$as_me:$LINENO: checking size of long long" >&5 7895 9845 $as_echo_n "checking size of long long... " >&6; } 7896 if ${ac_cv_sizeof_long_long+:} false; then :9846 if test "${ac_cv_sizeof_long_long+set}" = set; then 7897 9847 $as_echo_n "(cached) " >&6 7898 9848 else 7899 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 7900 7901 else 7902 if test "$ac_cv_type_long_long" = yes; then 7903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9849 if test "$cross_compiling" = yes; then 9850 # Depending upon the size, compute the lo and hi bounds. 9851 cat >conftest.$ac_ext <<_ACEOF 9852 /* confdefs.h. */ 9853 _ACEOF 9854 cat confdefs.h >>conftest.$ac_ext 9855 cat >>conftest.$ac_ext <<_ACEOF 9856 /* end confdefs.h. */ 9857 $ac_includes_default 9858 int 9859 main () 9860 { 9861 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)]; 9862 test_array [0] = 0 9863 9864 ; 9865 return 0; 9866 } 9867 _ACEOF 9868 rm -f conftest.$ac_objext 9869 if { (ac_try="$ac_compile" 9870 case "(($ac_try" in 9871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9872 *) ac_try_echo=$ac_try;; 9873 esac 9874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9875 $as_echo "$ac_try_echo") >&5 9876 (eval "$ac_compile") 2>conftest.er1 9877 ac_status=$? 9878 grep -v '^ *+' conftest.er1 >conftest.err 9879 rm -f conftest.er1 9880 cat conftest.err >&5 9881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9882 (exit $ac_status); } && { 9883 test -z "$ac_cxx_werror_flag" || 9884 test ! -s conftest.err 9885 } && test -s conftest.$ac_objext; then 9886 ac_lo=0 ac_mid=0 9887 while :; do 9888 cat >conftest.$ac_ext <<_ACEOF 9889 /* confdefs.h. */ 9890 _ACEOF 9891 cat confdefs.h >>conftest.$ac_ext 9892 cat >>conftest.$ac_ext <<_ACEOF 9893 /* end confdefs.h. */ 9894 $ac_includes_default 9895 int 9896 main () 9897 { 9898 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 9899 test_array [0] = 0 9900 9901 ; 9902 return 0; 9903 } 9904 _ACEOF 9905 rm -f conftest.$ac_objext 9906 if { (ac_try="$ac_compile" 9907 case "(($ac_try" in 9908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9909 *) ac_try_echo=$ac_try;; 9910 esac 9911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9912 $as_echo "$ac_try_echo") >&5 9913 (eval "$ac_compile") 2>conftest.er1 9914 ac_status=$? 9915 grep -v '^ *+' conftest.er1 >conftest.err 9916 rm -f conftest.er1 9917 cat conftest.err >&5 9918 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9919 (exit $ac_status); } && { 9920 test -z "$ac_cxx_werror_flag" || 9921 test ! -s conftest.err 9922 } && test -s conftest.$ac_objext; then 9923 ac_hi=$ac_mid; break 9924 else 9925 $as_echo "$as_me: failed program was:" >&5 9926 sed 's/^/| /' conftest.$ac_ext >&5 9927 9928 ac_lo=`expr $ac_mid + 1` 9929 if test $ac_lo -le $ac_mid; then 9930 ac_lo= ac_hi= 9931 break 9932 fi 9933 ac_mid=`expr 2 '*' $ac_mid + 1` 9934 fi 9935 9936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9937 done 9938 else 9939 $as_echo "$as_me: failed program was:" >&5 9940 sed 's/^/| /' conftest.$ac_ext >&5 9941 9942 cat >conftest.$ac_ext <<_ACEOF 9943 /* confdefs.h. */ 9944 _ACEOF 9945 cat confdefs.h >>conftest.$ac_ext 9946 cat >>conftest.$ac_ext <<_ACEOF 9947 /* end confdefs.h. */ 9948 $ac_includes_default 9949 int 9950 main () 9951 { 9952 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)]; 9953 test_array [0] = 0 9954 9955 ; 9956 return 0; 9957 } 9958 _ACEOF 9959 rm -f conftest.$ac_objext 9960 if { (ac_try="$ac_compile" 9961 case "(($ac_try" in 9962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9963 *) ac_try_echo=$ac_try;; 9964 esac 9965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9966 $as_echo "$ac_try_echo") >&5 9967 (eval "$ac_compile") 2>conftest.er1 9968 ac_status=$? 9969 grep -v '^ *+' conftest.er1 >conftest.err 9970 rm -f conftest.er1 9971 cat conftest.err >&5 9972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9973 (exit $ac_status); } && { 9974 test -z "$ac_cxx_werror_flag" || 9975 test ! -s conftest.err 9976 } && test -s conftest.$ac_objext; then 9977 ac_hi=-1 ac_mid=-1 9978 while :; do 9979 cat >conftest.$ac_ext <<_ACEOF 9980 /* confdefs.h. */ 9981 _ACEOF 9982 cat confdefs.h >>conftest.$ac_ext 9983 cat >>conftest.$ac_ext <<_ACEOF 9984 /* end confdefs.h. */ 9985 $ac_includes_default 9986 int 9987 main () 9988 { 9989 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)]; 9990 test_array [0] = 0 9991 9992 ; 9993 return 0; 9994 } 9995 _ACEOF 9996 rm -f conftest.$ac_objext 9997 if { (ac_try="$ac_compile" 9998 case "(($ac_try" in 9999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10000 *) ac_try_echo=$ac_try;; 10001 esac 10002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10003 $as_echo "$ac_try_echo") >&5 10004 (eval "$ac_compile") 2>conftest.er1 10005 ac_status=$? 10006 grep -v '^ *+' conftest.er1 >conftest.err 10007 rm -f conftest.er1 10008 cat conftest.err >&5 10009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10010 (exit $ac_status); } && { 10011 test -z "$ac_cxx_werror_flag" || 10012 test ! -s conftest.err 10013 } && test -s conftest.$ac_objext; then 10014 ac_lo=$ac_mid; break 10015 else 10016 $as_echo "$as_me: failed program was:" >&5 10017 sed 's/^/| /' conftest.$ac_ext >&5 10018 10019 ac_hi=`expr '(' $ac_mid ')' - 1` 10020 if test $ac_mid -le $ac_hi; then 10021 ac_lo= ac_hi= 10022 break 10023 fi 10024 ac_mid=`expr 2 '*' $ac_mid` 10025 fi 10026 10027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10028 done 10029 else 10030 $as_echo "$as_me: failed program was:" >&5 10031 sed 's/^/| /' conftest.$ac_ext >&5 10032 10033 ac_lo= ac_hi= 10034 fi 10035 10036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10037 fi 10038 10039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10040 # Binary search between lo and hi bounds. 10041 while test "x$ac_lo" != "x$ac_hi"; do 10042 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10043 cat >conftest.$ac_ext <<_ACEOF 10044 /* confdefs.h. */ 10045 _ACEOF 10046 cat confdefs.h >>conftest.$ac_ext 10047 cat >>conftest.$ac_ext <<_ACEOF 10048 /* end confdefs.h. */ 10049 $ac_includes_default 10050 int 10051 main () 10052 { 10053 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 10054 test_array [0] = 0 10055 10056 ; 10057 return 0; 10058 } 10059 _ACEOF 10060 rm -f conftest.$ac_objext 10061 if { (ac_try="$ac_compile" 10062 case "(($ac_try" in 10063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10064 *) ac_try_echo=$ac_try;; 10065 esac 10066 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10067 $as_echo "$ac_try_echo") >&5 10068 (eval "$ac_compile") 2>conftest.er1 10069 ac_status=$? 10070 grep -v '^ *+' conftest.er1 >conftest.err 10071 rm -f conftest.er1 10072 cat conftest.err >&5 10073 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10074 (exit $ac_status); } && { 10075 test -z "$ac_cxx_werror_flag" || 10076 test ! -s conftest.err 10077 } && test -s conftest.$ac_objext; then 10078 ac_hi=$ac_mid 10079 else 10080 $as_echo "$as_me: failed program was:" >&5 10081 sed 's/^/| /' conftest.$ac_ext >&5 10082 10083 ac_lo=`expr '(' $ac_mid ')' + 1` 10084 fi 10085 10086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10087 done 10088 case $ac_lo in 10089 ?*) ac_cv_sizeof_long_long=$ac_lo;; 10090 '') if test "$ac_cv_type_long_long" = yes; then 10091 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7904 10092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7905 as_fn_error 77 "cannot compute sizeof (long long) 7906 See \`config.log' for more details" "$LINENO" 5; } 10093 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10094 See \`config.log' for more details." >&5 10095 $as_echo "$as_me: error: cannot compute sizeof (long long) 10096 See \`config.log' for more details." >&2;} 10097 { (exit 77); exit 77; }; }; } 10098 else 10099 ac_cv_sizeof_long_long=0 10100 fi ;; 10101 esac 10102 else 10103 cat >conftest.$ac_ext <<_ACEOF 10104 /* confdefs.h. */ 10105 _ACEOF 10106 cat confdefs.h >>conftest.$ac_ext 10107 cat >>conftest.$ac_ext <<_ACEOF 10108 /* end confdefs.h. */ 10109 $ac_includes_default 10110 static long int longval () { return (long int) (sizeof (long long)); } 10111 static unsigned long int ulongval () { return (long int) (sizeof (long long)); } 10112 #include <stdio.h> 10113 #include <stdlib.h> 10114 int 10115 main () 10116 { 10117 10118 FILE *f = fopen ("conftest.val", "w"); 10119 if (! f) 10120 return 1; 10121 if (((long int) (sizeof (long long))) < 0) 10122 { 10123 long int i = longval (); 10124 if (i != ((long int) (sizeof (long long)))) 10125 return 1; 10126 fprintf (f, "%ld", i); 10127 } 10128 else 10129 { 10130 unsigned long int i = ulongval (); 10131 if (i != ((long int) (sizeof (long long)))) 10132 return 1; 10133 fprintf (f, "%lu", i); 10134 } 10135 /* Do not output a trailing newline, as this causes \r\n confusion 10136 on some platforms. */ 10137 return ferror (f) || fclose (f) != 0; 10138 10139 ; 10140 return 0; 10141 } 10142 _ACEOF 10143 rm -f conftest$ac_exeext 10144 if { (ac_try="$ac_link" 10145 case "(($ac_try" in 10146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10147 *) ac_try_echo=$ac_try;; 10148 esac 10149 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10150 $as_echo "$ac_try_echo") >&5 10151 (eval "$ac_link") 2>&5 10152 ac_status=$? 10153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10154 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10155 { (case "(($ac_try" in 10156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10157 *) ac_try_echo=$ac_try;; 10158 esac 10159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10160 $as_echo "$ac_try_echo") >&5 10161 (eval "$ac_try") 2>&5 10162 ac_status=$? 10163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10164 (exit $ac_status); }; }; then 10165 ac_cv_sizeof_long_long=`cat conftest.val` 10166 else 10167 $as_echo "$as_me: program exited with status $ac_status" >&5 10168 $as_echo "$as_me: failed program was:" >&5 10169 sed 's/^/| /' conftest.$ac_ext >&5 10170 10171 ( exit $ac_status ) 10172 if test "$ac_cv_type_long_long" = yes; then 10173 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10175 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10176 See \`config.log' for more details." >&5 10177 $as_echo "$as_me: error: cannot compute sizeof (long long) 10178 See \`config.log' for more details." >&2;} 10179 { (exit 77); exit 77; }; }; } 7907 10180 else 7908 10181 ac_cv_sizeof_long_long=0 7909 10182 fi 7910 10183 fi 7911 7912 fi 7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 10184 rm -rf conftest.dSYM 10185 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10186 fi 10187 rm -f conftest.val 10188 fi 10189 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 7914 10190 $as_echo "$ac_cv_sizeof_long_long" >&6; } 7915 10191 … … 7925 10201 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7926 10202 # This bug is HP SR number 8606223364. 7927 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of void *" >&510203 { $as_echo "$as_me:$LINENO: checking size of void *" >&5 7928 10204 $as_echo_n "checking size of void *... " >&6; } 7929 if ${ac_cv_sizeof_void_p+:} false; then :10205 if test "${ac_cv_sizeof_void_p+set}" = set; then 7930 10206 $as_echo_n "(cached) " >&6 7931 10207 else 7932 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 7933 7934 else 7935 if test "$ac_cv_type_void_p" = yes; then 7936 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10208 if test "$cross_compiling" = yes; then 10209 # Depending upon the size, compute the lo and hi bounds. 10210 cat >conftest.$ac_ext <<_ACEOF 10211 /* confdefs.h. */ 10212 _ACEOF 10213 cat confdefs.h >>conftest.$ac_ext 10214 cat >>conftest.$ac_ext <<_ACEOF 10215 /* end confdefs.h. */ 10216 $ac_includes_default 10217 int 10218 main () 10219 { 10220 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)]; 10221 test_array [0] = 0 10222 10223 ; 10224 return 0; 10225 } 10226 _ACEOF 10227 rm -f conftest.$ac_objext 10228 if { (ac_try="$ac_compile" 10229 case "(($ac_try" in 10230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10231 *) ac_try_echo=$ac_try;; 10232 esac 10233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10234 $as_echo "$ac_try_echo") >&5 10235 (eval "$ac_compile") 2>conftest.er1 10236 ac_status=$? 10237 grep -v '^ *+' conftest.er1 >conftest.err 10238 rm -f conftest.er1 10239 cat conftest.err >&5 10240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10241 (exit $ac_status); } && { 10242 test -z "$ac_cxx_werror_flag" || 10243 test ! -s conftest.err 10244 } && test -s conftest.$ac_objext; then 10245 ac_lo=0 ac_mid=0 10246 while :; do 10247 cat >conftest.$ac_ext <<_ACEOF 10248 /* confdefs.h. */ 10249 _ACEOF 10250 cat confdefs.h >>conftest.$ac_ext 10251 cat >>conftest.$ac_ext <<_ACEOF 10252 /* end confdefs.h. */ 10253 $ac_includes_default 10254 int 10255 main () 10256 { 10257 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10258 test_array [0] = 0 10259 10260 ; 10261 return 0; 10262 } 10263 _ACEOF 10264 rm -f conftest.$ac_objext 10265 if { (ac_try="$ac_compile" 10266 case "(($ac_try" in 10267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10268 *) ac_try_echo=$ac_try;; 10269 esac 10270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10271 $as_echo "$ac_try_echo") >&5 10272 (eval "$ac_compile") 2>conftest.er1 10273 ac_status=$? 10274 grep -v '^ *+' conftest.er1 >conftest.err 10275 rm -f conftest.er1 10276 cat conftest.err >&5 10277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10278 (exit $ac_status); } && { 10279 test -z "$ac_cxx_werror_flag" || 10280 test ! -s conftest.err 10281 } && test -s conftest.$ac_objext; then 10282 ac_hi=$ac_mid; break 10283 else 10284 $as_echo "$as_me: failed program was:" >&5 10285 sed 's/^/| /' conftest.$ac_ext >&5 10286 10287 ac_lo=`expr $ac_mid + 1` 10288 if test $ac_lo -le $ac_mid; then 10289 ac_lo= ac_hi= 10290 break 10291 fi 10292 ac_mid=`expr 2 '*' $ac_mid + 1` 10293 fi 10294 10295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10296 done 10297 else 10298 $as_echo "$as_me: failed program was:" >&5 10299 sed 's/^/| /' conftest.$ac_ext >&5 10300 10301 cat >conftest.$ac_ext <<_ACEOF 10302 /* confdefs.h. */ 10303 _ACEOF 10304 cat confdefs.h >>conftest.$ac_ext 10305 cat >>conftest.$ac_ext <<_ACEOF 10306 /* end confdefs.h. */ 10307 $ac_includes_default 10308 int 10309 main () 10310 { 10311 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)]; 10312 test_array [0] = 0 10313 10314 ; 10315 return 0; 10316 } 10317 _ACEOF 10318 rm -f conftest.$ac_objext 10319 if { (ac_try="$ac_compile" 10320 case "(($ac_try" in 10321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10322 *) ac_try_echo=$ac_try;; 10323 esac 10324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10325 $as_echo "$ac_try_echo") >&5 10326 (eval "$ac_compile") 2>conftest.er1 10327 ac_status=$? 10328 grep -v '^ *+' conftest.er1 >conftest.err 10329 rm -f conftest.er1 10330 cat conftest.err >&5 10331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10332 (exit $ac_status); } && { 10333 test -z "$ac_cxx_werror_flag" || 10334 test ! -s conftest.err 10335 } && test -s conftest.$ac_objext; then 10336 ac_hi=-1 ac_mid=-1 10337 while :; do 10338 cat >conftest.$ac_ext <<_ACEOF 10339 /* confdefs.h. */ 10340 _ACEOF 10341 cat confdefs.h >>conftest.$ac_ext 10342 cat >>conftest.$ac_ext <<_ACEOF 10343 /* end confdefs.h. */ 10344 $ac_includes_default 10345 int 10346 main () 10347 { 10348 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)]; 10349 test_array [0] = 0 10350 10351 ; 10352 return 0; 10353 } 10354 _ACEOF 10355 rm -f conftest.$ac_objext 10356 if { (ac_try="$ac_compile" 10357 case "(($ac_try" in 10358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10359 *) ac_try_echo=$ac_try;; 10360 esac 10361 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10362 $as_echo "$ac_try_echo") >&5 10363 (eval "$ac_compile") 2>conftest.er1 10364 ac_status=$? 10365 grep -v '^ *+' conftest.er1 >conftest.err 10366 rm -f conftest.er1 10367 cat conftest.err >&5 10368 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10369 (exit $ac_status); } && { 10370 test -z "$ac_cxx_werror_flag" || 10371 test ! -s conftest.err 10372 } && test -s conftest.$ac_objext; then 10373 ac_lo=$ac_mid; break 10374 else 10375 $as_echo "$as_me: failed program was:" >&5 10376 sed 's/^/| /' conftest.$ac_ext >&5 10377 10378 ac_hi=`expr '(' $ac_mid ')' - 1` 10379 if test $ac_mid -le $ac_hi; then 10380 ac_lo= ac_hi= 10381 break 10382 fi 10383 ac_mid=`expr 2 '*' $ac_mid` 10384 fi 10385 10386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10387 done 10388 else 10389 $as_echo "$as_me: failed program was:" >&5 10390 sed 's/^/| /' conftest.$ac_ext >&5 10391 10392 ac_lo= ac_hi= 10393 fi 10394 10395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10396 fi 10397 10398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10399 # Binary search between lo and hi bounds. 10400 while test "x$ac_lo" != "x$ac_hi"; do 10401 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10402 cat >conftest.$ac_ext <<_ACEOF 10403 /* confdefs.h. */ 10404 _ACEOF 10405 cat confdefs.h >>conftest.$ac_ext 10406 cat >>conftest.$ac_ext <<_ACEOF 10407 /* end confdefs.h. */ 10408 $ac_includes_default 10409 int 10410 main () 10411 { 10412 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10413 test_array [0] = 0 10414 10415 ; 10416 return 0; 10417 } 10418 _ACEOF 10419 rm -f conftest.$ac_objext 10420 if { (ac_try="$ac_compile" 10421 case "(($ac_try" in 10422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10423 *) ac_try_echo=$ac_try;; 10424 esac 10425 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10426 $as_echo "$ac_try_echo") >&5 10427 (eval "$ac_compile") 2>conftest.er1 10428 ac_status=$? 10429 grep -v '^ *+' conftest.er1 >conftest.err 10430 rm -f conftest.er1 10431 cat conftest.err >&5 10432 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10433 (exit $ac_status); } && { 10434 test -z "$ac_cxx_werror_flag" || 10435 test ! -s conftest.err 10436 } && test -s conftest.$ac_objext; then 10437 ac_hi=$ac_mid 10438 else 10439 $as_echo "$as_me: failed program was:" >&5 10440 sed 's/^/| /' conftest.$ac_ext >&5 10441 10442 ac_lo=`expr '(' $ac_mid ')' + 1` 10443 fi 10444 10445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10446 done 10447 case $ac_lo in 10448 ?*) ac_cv_sizeof_void_p=$ac_lo;; 10449 '') if test "$ac_cv_type_void_p" = yes; then 10450 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7937 10451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7938 as_fn_error 77 "cannot compute sizeof (void *) 7939 See \`config.log' for more details" "$LINENO" 5; } 10452 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10453 See \`config.log' for more details." >&5 10454 $as_echo "$as_me: error: cannot compute sizeof (void *) 10455 See \`config.log' for more details." >&2;} 10456 { (exit 77); exit 77; }; }; } 10457 else 10458 ac_cv_sizeof_void_p=0 10459 fi ;; 10460 esac 10461 else 10462 cat >conftest.$ac_ext <<_ACEOF 10463 /* confdefs.h. */ 10464 _ACEOF 10465 cat confdefs.h >>conftest.$ac_ext 10466 cat >>conftest.$ac_ext <<_ACEOF 10467 /* end confdefs.h. */ 10468 $ac_includes_default 10469 static long int longval () { return (long int) (sizeof (void *)); } 10470 static unsigned long int ulongval () { return (long int) (sizeof (void *)); } 10471 #include <stdio.h> 10472 #include <stdlib.h> 10473 int 10474 main () 10475 { 10476 10477 FILE *f = fopen ("conftest.val", "w"); 10478 if (! f) 10479 return 1; 10480 if (((long int) (sizeof (void *))) < 0) 10481 { 10482 long int i = longval (); 10483 if (i != ((long int) (sizeof (void *)))) 10484 return 1; 10485 fprintf (f, "%ld", i); 10486 } 10487 else 10488 { 10489 unsigned long int i = ulongval (); 10490 if (i != ((long int) (sizeof (void *)))) 10491 return 1; 10492 fprintf (f, "%lu", i); 10493 } 10494 /* Do not output a trailing newline, as this causes \r\n confusion 10495 on some platforms. */ 10496 return ferror (f) || fclose (f) != 0; 10497 10498 ; 10499 return 0; 10500 } 10501 _ACEOF 10502 rm -f conftest$ac_exeext 10503 if { (ac_try="$ac_link" 10504 case "(($ac_try" in 10505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10506 *) ac_try_echo=$ac_try;; 10507 esac 10508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10509 $as_echo "$ac_try_echo") >&5 10510 (eval "$ac_link") 2>&5 10511 ac_status=$? 10512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10513 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10514 { (case "(($ac_try" in 10515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10516 *) ac_try_echo=$ac_try;; 10517 esac 10518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10519 $as_echo "$ac_try_echo") >&5 10520 (eval "$ac_try") 2>&5 10521 ac_status=$? 10522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10523 (exit $ac_status); }; }; then 10524 ac_cv_sizeof_void_p=`cat conftest.val` 10525 else 10526 $as_echo "$as_me: program exited with status $ac_status" >&5 10527 $as_echo "$as_me: failed program was:" >&5 10528 sed 's/^/| /' conftest.$ac_ext >&5 10529 10530 ( exit $ac_status ) 10531 if test "$ac_cv_type_void_p" = yes; then 10532 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10534 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10535 See \`config.log' for more details." >&5 10536 $as_echo "$as_me: error: cannot compute sizeof (void *) 10537 See \`config.log' for more details." >&2;} 10538 { (exit 77); exit 77; }; }; } 7940 10539 else 7941 10540 ac_cv_sizeof_void_p=0 7942 10541 fi 7943 10542 fi 7944 7945 fi 7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 10543 rm -rf conftest.dSYM 10544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10545 fi 10546 rm -f conftest.val 10547 fi 10548 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 7947 10549 $as_echo "$ac_cv_sizeof_void_p" >&6; } 7948 10550 … … 7958 10560 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7959 10561 # This bug is HP SR number 8606223364. 7960 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of float" >&510562 { $as_echo "$as_me:$LINENO: checking size of float" >&5 7961 10563 $as_echo_n "checking size of float... " >&6; } 7962 if ${ac_cv_sizeof_float+:} false; then :10564 if test "${ac_cv_sizeof_float+set}" = set; then 7963 10565 $as_echo_n "(cached) " >&6 7964 10566 else 7965 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then : 7966 7967 else 7968 if test "$ac_cv_type_float" = yes; then 7969 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10567 if test "$cross_compiling" = yes; then 10568 # Depending upon the size, compute the lo and hi bounds. 10569 cat >conftest.$ac_ext <<_ACEOF 10570 /* confdefs.h. */ 10571 _ACEOF 10572 cat confdefs.h >>conftest.$ac_ext 10573 cat >>conftest.$ac_ext <<_ACEOF 10574 /* end confdefs.h. */ 10575 $ac_includes_default 10576 int 10577 main () 10578 { 10579 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)]; 10580 test_array [0] = 0 10581 10582 ; 10583 return 0; 10584 } 10585 _ACEOF 10586 rm -f conftest.$ac_objext 10587 if { (ac_try="$ac_compile" 10588 case "(($ac_try" in 10589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10590 *) ac_try_echo=$ac_try;; 10591 esac 10592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10593 $as_echo "$ac_try_echo") >&5 10594 (eval "$ac_compile") 2>conftest.er1 10595 ac_status=$? 10596 grep -v '^ *+' conftest.er1 >conftest.err 10597 rm -f conftest.er1 10598 cat conftest.err >&5 10599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10600 (exit $ac_status); } && { 10601 test -z "$ac_cxx_werror_flag" || 10602 test ! -s conftest.err 10603 } && test -s conftest.$ac_objext; then 10604 ac_lo=0 ac_mid=0 10605 while :; do 10606 cat >conftest.$ac_ext <<_ACEOF 10607 /* confdefs.h. */ 10608 _ACEOF 10609 cat confdefs.h >>conftest.$ac_ext 10610 cat >>conftest.$ac_ext <<_ACEOF 10611 /* end confdefs.h. */ 10612 $ac_includes_default 10613 int 10614 main () 10615 { 10616 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 10617 test_array [0] = 0 10618 10619 ; 10620 return 0; 10621 } 10622 _ACEOF 10623 rm -f conftest.$ac_objext 10624 if { (ac_try="$ac_compile" 10625 case "(($ac_try" in 10626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10627 *) ac_try_echo=$ac_try;; 10628 esac 10629 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10630 $as_echo "$ac_try_echo") >&5 10631 (eval "$ac_compile") 2>conftest.er1 10632 ac_status=$? 10633 grep -v '^ *+' conftest.er1 >conftest.err 10634 rm -f conftest.er1 10635 cat conftest.err >&5 10636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10637 (exit $ac_status); } && { 10638 test -z "$ac_cxx_werror_flag" || 10639 test ! -s conftest.err 10640 } && test -s conftest.$ac_objext; then 10641 ac_hi=$ac_mid; break 10642 else 10643 $as_echo "$as_me: failed program was:" >&5 10644 sed 's/^/| /' conftest.$ac_ext >&5 10645 10646 ac_lo=`expr $ac_mid + 1` 10647 if test $ac_lo -le $ac_mid; then 10648 ac_lo= ac_hi= 10649 break 10650 fi 10651 ac_mid=`expr 2 '*' $ac_mid + 1` 10652 fi 10653 10654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10655 done 10656 else 10657 $as_echo "$as_me: failed program was:" >&5 10658 sed 's/^/| /' conftest.$ac_ext >&5 10659 10660 cat >conftest.$ac_ext <<_ACEOF 10661 /* confdefs.h. */ 10662 _ACEOF 10663 cat confdefs.h >>conftest.$ac_ext 10664 cat >>conftest.$ac_ext <<_ACEOF 10665 /* end confdefs.h. */ 10666 $ac_includes_default 10667 int 10668 main () 10669 { 10670 static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)]; 10671 test_array [0] = 0 10672 10673 ; 10674 return 0; 10675 } 10676 _ACEOF 10677 rm -f conftest.$ac_objext 10678 if { (ac_try="$ac_compile" 10679 case "(($ac_try" in 10680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10681 *) ac_try_echo=$ac_try;; 10682 esac 10683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10684 $as_echo "$ac_try_echo") >&5 10685 (eval "$ac_compile") 2>conftest.er1 10686 ac_status=$? 10687 grep -v '^ *+' conftest.er1 >conftest.err 10688 rm -f conftest.er1 10689 cat conftest.err >&5 10690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10691 (exit $ac_status); } && { 10692 test -z "$ac_cxx_werror_flag" || 10693 test ! -s conftest.err 10694 } && test -s conftest.$ac_objext; then 10695 ac_hi=-1 ac_mid=-1 10696 while :; do 10697 cat >conftest.$ac_ext <<_ACEOF 10698 /* confdefs.h. */ 10699 _ACEOF 10700 cat confdefs.h >>conftest.$ac_ext 10701 cat >>conftest.$ac_ext <<_ACEOF 10702 /* end confdefs.h. */ 10703 $ac_includes_default 10704 int 10705 main () 10706 { 10707 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)]; 10708 test_array [0] = 0 10709 10710 ; 10711 return 0; 10712 } 10713 _ACEOF 10714 rm -f conftest.$ac_objext 10715 if { (ac_try="$ac_compile" 10716 case "(($ac_try" in 10717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10718 *) ac_try_echo=$ac_try;; 10719 esac 10720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10721 $as_echo "$ac_try_echo") >&5 10722 (eval "$ac_compile") 2>conftest.er1 10723 ac_status=$? 10724 grep -v '^ *+' conftest.er1 >conftest.err 10725 rm -f conftest.er1 10726 cat conftest.err >&5 10727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10728 (exit $ac_status); } && { 10729 test -z "$ac_cxx_werror_flag" || 10730 test ! -s conftest.err 10731 } && test -s conftest.$ac_objext; then 10732 ac_lo=$ac_mid; break 10733 else 10734 $as_echo "$as_me: failed program was:" >&5 10735 sed 's/^/| /' conftest.$ac_ext >&5 10736 10737 ac_hi=`expr '(' $ac_mid ')' - 1` 10738 if test $ac_mid -le $ac_hi; then 10739 ac_lo= ac_hi= 10740 break 10741 fi 10742 ac_mid=`expr 2 '*' $ac_mid` 10743 fi 10744 10745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10746 done 10747 else 10748 $as_echo "$as_me: failed program was:" >&5 10749 sed 's/^/| /' conftest.$ac_ext >&5 10750 10751 ac_lo= ac_hi= 10752 fi 10753 10754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10755 fi 10756 10757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10758 # Binary search between lo and hi bounds. 10759 while test "x$ac_lo" != "x$ac_hi"; do 10760 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10761 cat >conftest.$ac_ext <<_ACEOF 10762 /* confdefs.h. */ 10763 _ACEOF 10764 cat confdefs.h >>conftest.$ac_ext 10765 cat >>conftest.$ac_ext <<_ACEOF 10766 /* end confdefs.h. */ 10767 $ac_includes_default 10768 int 10769 main () 10770 { 10771 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 10772 test_array [0] = 0 10773 10774 ; 10775 return 0; 10776 } 10777 _ACEOF 10778 rm -f conftest.$ac_objext 10779 if { (ac_try="$ac_compile" 10780 case "(($ac_try" in 10781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10782 *) ac_try_echo=$ac_try;; 10783 esac 10784 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10785 $as_echo "$ac_try_echo") >&5 10786 (eval "$ac_compile") 2>conftest.er1 10787 ac_status=$? 10788 grep -v '^ *+' conftest.er1 >conftest.err 10789 rm -f conftest.er1 10790 cat conftest.err >&5 10791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10792 (exit $ac_status); } && { 10793 test -z "$ac_cxx_werror_flag" || 10794 test ! -s conftest.err 10795 } && test -s conftest.$ac_objext; then 10796 ac_hi=$ac_mid 10797 else 10798 $as_echo "$as_me: failed program was:" >&5 10799 sed 's/^/| /' conftest.$ac_ext >&5 10800 10801 ac_lo=`expr '(' $ac_mid ')' + 1` 10802 fi 10803 10804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10805 done 10806 case $ac_lo in 10807 ?*) ac_cv_sizeof_float=$ac_lo;; 10808 '') if test "$ac_cv_type_float" = yes; then 10809 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7970 10810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7971 as_fn_error 77 "cannot compute sizeof (float) 7972 See \`config.log' for more details" "$LINENO" 5; } 10811 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 10812 See \`config.log' for more details." >&5 10813 $as_echo "$as_me: error: cannot compute sizeof (float) 10814 See \`config.log' for more details." >&2;} 10815 { (exit 77); exit 77; }; }; } 10816 else 10817 ac_cv_sizeof_float=0 10818 fi ;; 10819 esac 10820 else 10821 cat >conftest.$ac_ext <<_ACEOF 10822 /* confdefs.h. */ 10823 _ACEOF 10824 cat confdefs.h >>conftest.$ac_ext 10825 cat >>conftest.$ac_ext <<_ACEOF 10826 /* end confdefs.h. */ 10827 $ac_includes_default 10828 static long int longval () { return (long int) (sizeof (float)); } 10829 static unsigned long int ulongval () { return (long int) (sizeof (float)); } 10830 #include <stdio.h> 10831 #include <stdlib.h> 10832 int 10833 main () 10834 { 10835 10836 FILE *f = fopen ("conftest.val", "w"); 10837 if (! f) 10838 return 1; 10839 if (((long int) (sizeof (float))) < 0) 10840 { 10841 long int i = longval (); 10842 if (i != ((long int) (sizeof (float)))) 10843 return 1; 10844 fprintf (f, "%ld", i); 10845 } 10846 else 10847 { 10848 unsigned long int i = ulongval (); 10849 if (i != ((long int) (sizeof (float)))) 10850 return 1; 10851 fprintf (f, "%lu", i); 10852 } 10853 /* Do not output a trailing newline, as this causes \r\n confusion 10854 on some platforms. */ 10855 return ferror (f) || fclose (f) != 0; 10856 10857 ; 10858 return 0; 10859 } 10860 _ACEOF 10861 rm -f conftest$ac_exeext 10862 if { (ac_try="$ac_link" 10863 case "(($ac_try" in 10864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10865 *) ac_try_echo=$ac_try;; 10866 esac 10867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10868 $as_echo "$ac_try_echo") >&5 10869 (eval "$ac_link") 2>&5 10870 ac_status=$? 10871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10872 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10873 { (case "(($ac_try" in 10874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10875 *) ac_try_echo=$ac_try;; 10876 esac 10877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10878 $as_echo "$ac_try_echo") >&5 10879 (eval "$ac_try") 2>&5 10880 ac_status=$? 10881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10882 (exit $ac_status); }; }; then 10883 ac_cv_sizeof_float=`cat conftest.val` 10884 else 10885 $as_echo "$as_me: program exited with status $ac_status" >&5 10886 $as_echo "$as_me: failed program was:" >&5 10887 sed 's/^/| /' conftest.$ac_ext >&5 10888 10889 ( exit $ac_status ) 10890 if test "$ac_cv_type_float" = yes; then 10891 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10893 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 10894 See \`config.log' for more details." >&5 10895 $as_echo "$as_me: error: cannot compute sizeof (float) 10896 See \`config.log' for more details." >&2;} 10897 { (exit 77); exit 77; }; }; } 7973 10898 else 7974 10899 ac_cv_sizeof_float=0 7975 10900 fi 7976 10901 fi 7977 7978 fi 7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 10902 rm -rf conftest.dSYM 10903 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10904 fi 10905 rm -f conftest.val 10906 fi 10907 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5 7980 10908 $as_echo "$ac_cv_sizeof_float" >&6; } 7981 10909 … … 8034 10962 fi 8035 10963 8036 RP2_INCL_DIR=""8037 10964 RP_DIR="" 8038 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for rappture" >&510965 { $as_echo "$as_me:$LINENO: checking for rappture" >&5 8039 10966 $as_echo_n "checking for rappture... " >&6; } 8040 10967 if test "$with_rappture" == "yes" ; then … … 8042 10969 if test -r "$dir/include/rappture2/rappture2.h" -a \ 8043 10970 -r "$dir/lib/librappture.a"; then 8044 RP_INCL_SPEC="-I$dir/include"8045 10971 RP_DIR="$dir" 10972 RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2" 8046 10973 RP_LIB_DIR="$dir/lib" 8047 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $dir" >&510974 { $as_echo "$as_me:$LINENO: result: $dir" >&5 8048 10975 $as_echo "$dir" >&6; } 8049 10976 break … … 8051 10978 done 8052 10979 else 8053 if test -d "$with_rappture" ; then 8054 as_fn_error $? "--with-rappture: no such directory $with_rappture" "$LINENO" 5 10980 if test ! -d "$with_rappture" ; then 10981 { { $as_echo "$as_me:$LINENO: error: --with-rappture: no such directory $with_rappture" >&5 10982 $as_echo "$as_me: error: --with-rappture: no such directory $with_rappture" >&2;} 10983 { (exit 1); exit 1; }; } 8055 10984 fi 8056 RP_ LIB=$with_rappture8057 RP_INC L_SPEC="-I$with_rappture/include"10985 RP_DIR=$with_rappture 10986 RP_INC_SPEC="-I$with_rappture/include -I$with_rappture/include/rappture2" 8058 10987 RP_LIB_DIR="$with_rappture/lib" 8059 10988 fi 8060 10989 if test "x${RP_DIR}" = "x" ; then 8061 as_fn_error $? "cannot find rappture.h and librappture2.a, try using --with-rappture" "$LINENO" 5 8062 else 8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_rappture" >&5 10990 { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&5 10991 $as_echo "$as_me: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&2;} 10992 { (exit 1); exit 1; }; } 10993 else 10994 { $as_echo "$as_me:$LINENO: result: $with_rappture" >&5 8064 10995 $as_echo "$with_rappture" >&6; } 8065 10996 fi … … 8095 11026 CPPFLAGS=$VTK_INC_SPEC 8096 11027 11028 8097 11029 for ac_header in vtkSmartPointer.h 8098 do : 8099 ac_fn_cxx_check_header_mongrel "$LINENO" "vtkSmartPointer.h" "ac_cv_header_vtkSmartPointer_h" "$ac_includes_default" 8100 if test "x$ac_cv_header_vtkSmartPointer_h" = xyes; then : 8101 cat >>confdefs.h <<_ACEOF 8102 #define HAVE_VTKSMARTPOINTER_H 1 8103 _ACEOF 8104 8105 else 8106 as_fn_error $? "cannot find VTK includes" "$LINENO" 5 8107 fi 8108 8109 done 8110 8111 CPPFLAGS=$save_CPPFLAGS 8112 8113 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glui.h" "ac_cv_header_GL_glui_h" "$ac_includes_default" 8114 if test "x$ac_cv_header_GL_glui_h" = xyes; then : 8115 8116 fi 8117 8118 8119 ac_fn_cxx_check_header_mongrel "$LINENO" "glui.h" "ac_cv_header_glui_h" "$ac_includes_default" 8120 if test "x$ac_cv_header_glui_h" = xyes; then : 8121 8122 fi 8123 8124 8125 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default" 8126 if test "x$ac_cv_header_GL_glut_h" = xyes; then : 8127 8128 fi 8129 8130 8131 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default" 8132 if test "x$ac_cv_header_GL_glew_h" = xyes; then : 8133 8134 fi 8135 8136 8137 8138 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 8139 do : 8140 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8141 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8142 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 8143 11171 cat >>confdefs.h <<_ACEOF 8144 11172 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8145 11173 _ACEOF 8146 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;} 8147 11178 fi 8148 11179 8149 11180 done 8150 11181 8151 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 8152 do : 8153 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8154 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8155 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 8156 11868 cat >>confdefs.h <<_ACEOF 8157 11869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 8163 11875 8164 11876 8165 { $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 8166 12135 $as_echo_n "checking for OpenDX headers... " >&6; } 8167 12136 DX_INC_DIR="" … … 8177 12146 done 8178 12147 if test "x${DX_INC_DIR}" = "x" ; then 8179 as_fn_error $? "cannot find OpenDX include files" "$LINENO" 5 8180 fi 8181 8182 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;} 8183 12150 DX_INC_SPEC="" 12151 elif test "${DX_INC_DIR}" = "/usr/include" ; then 12152 DX_INC_SPEC="" 8184 12153 else 8185 12154 DX_INC_SPEC="-I{DX_INC_DIR}" 8186 12155 fi 8187 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: ${DX_INC_DIR}" >&512156 { $as_echo "$as_me:$LINENO: result: ${DX_INC_DIR}" >&5 8188 12157 $as_echo "${DX_INC_DIR}" >&6; } 8189 12158 8190 12159 DX_LIB_DIR="" 8191 found=no8192 12160 for dir in \ 8193 12161 /usr/lib \ … … 8201 12169 LDFLAGS="-L$dir $LDFLAGS" 8202 12170 unset ac_cv_lib_DXcallm_DXGetComponentValue 8203 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for DXGetComponentValue in -lDXcallm" >&512171 { $as_echo "$as_me:$LINENO: checking for DXGetComponentValue in -lDXcallm" >&5 8204 12172 $as_echo_n "checking for DXGetComponentValue in -lDXcallm... " >&6; } 8205 if ${ac_cv_lib_DXcallm_DXGetComponentValue+:} false; then :12173 if test "${ac_cv_lib_DXcallm_DXGetComponentValue+set}" = set; then 8206 12174 $as_echo_n "(cached) " >&6 8207 12175 else 8208 12176 ac_check_lib_save_LIBS=$LIBS 8209 12177 LIBS="-lDXcallm -lX11 $LIBS" 8210 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 8211 12183 /* end confdefs.h. */ 8212 12184 … … 8226 12198 } 8227 12199 _ACEOF 8228 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 8229 12221 ac_cv_lib_DXcallm_DXGetComponentValue=yes 8230 12222 else 8231 ac_cv_lib_DXcallm_DXGetComponentValue=no 8232 fi 8233 rm -f core conftest.err conftest.$ac_objext \ 8234 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 8235 12232 LIBS=$ac_check_lib_save_LIBS 8236 12233 fi 8237 { $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 8238 12235 $as_echo "$ac_cv_lib_DXcallm_DXGetComponentValue" >&6; } 8239 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = x yes; then :12236 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = x""yes; then 8240 12237 found=yes 8241 12238 else … … 8249 12246 fi 8250 12247 done 8251 if test "x{$DX_LIB_DIR}" = "x" ; then 8252 as_fn_error $? "cannot find OpenDX libraries" "$LINENO" 5 8253 fi 8254 8255 { $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 8256 12254 $as_echo_n "checking for libDXcallm library... " >&6; } 8257 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 8258 12256 DX_LIB_SPEC="" 8259 12257 else 8260 12258 DX_LIB_SPEC="-L${DX_LIB_DIR}" 8261 12259 fi 8262 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $DX_LIB_SPEC" >&512260 { $as_echo "$as_me:$LINENO: result: $DX_LIB_SPEC" >&5 8263 12261 $as_echo "$DX_LIB_SPEC" >&6; } 8264 12262 12263 12264 8265 12265 for ac_header in opencv/cv.h opencv/highgui.h 8266 do : 8267 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8268 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8269 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 8270 12407 cat >>confdefs.h <<_ACEOF 8271 12408 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 8276 12413 done 8277 12414 8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cvLoadImage in -lcv" >&5 8279 $as_echo_n "checking for cvLoadImage in -lcv... " >&6; } 8280 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 8281 12419 $as_echo_n "(cached) " >&6 8282 12420 else 8283 12421 ac_check_lib_save_LIBS=$LIBS 8284 LIBS="-lcv $LIBS" 8285 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 8286 12428 /* end confdefs.h. */ 8287 12429 … … 8301 12443 } 8302 12444 _ACEOF 8303 if ac_fn_cxx_try_link "$LINENO"; then : 8304 ac_cv_lib_cv_cvLoadImage=yes 8305 else 8306 ac_cv_lib_cv_cvLoadImage=no 8307 fi 8308 rm -f core conftest.err conftest.$ac_objext \ 8309 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 8310 12477 LIBS=$ac_check_lib_save_LIBS 8311 12478 fi 8312 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_cv_cvLoadImage" >&58313 $as_echo "$ac_cv_lib_ cv_cvLoadImage" >&6; }8314 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 8315 12482 cat >>confdefs.h <<_ACEOF 8316 #define HAVE_LIB CV18317 _ACEOF 8318 8319 LIBS="-l cv$LIBS"12483 #define HAVE_LIBHIGHGUI 1 12484 _ACEOF 12485 12486 LIBS="-lhighgui $LIBS" 8320 12487 8321 12488 fi … … 8329 12496 fi 8330 12497 12498 12499 12500 12501 12502 12503 8331 12504 for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h 8332 do : 8333 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8334 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 8335 12519 #define SIZEOF_LONG ${ac_cv_sizeof_long} 8336 12520 #if SIZEOF_LONG == 8 … … 8342 12526 #endif 8343 12527 8344 " 8345 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 8346 12566 cat >>confdefs.h <<_ACEOF 8347 12567 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 8354 12574 CPPFLAGS=$save_CPPFLAGS 8355 12575 8356 { $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 8357 12578 $as_echo_n "checking for avcodec_alloc_frame in -lavcodec... " >&6; } 8358 if ${ac_cv_lib_avcodec_avcodec_alloc_frame+:} false; then :12579 if test "${ac_cv_lib_avcodec_avcodec_alloc_frame+set}" = set; then 8359 12580 $as_echo_n "(cached) " >&6 8360 12581 else 8361 12582 ac_check_lib_save_LIBS=$LIBS 8362 12583 LIBS="-lavcodec $LIBS" 8363 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 8364 12589 /* end confdefs.h. */ 8365 12590 … … 8379 12604 } 8380 12605 _ACEOF 8381 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 8382 12627 ac_cv_lib_avcodec_avcodec_alloc_frame=yes 8383 12628 else 8384 ac_cv_lib_avcodec_avcodec_alloc_frame=no 8385 fi 8386 rm -f core conftest.err conftest.$ac_objext \ 8387 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 8388 12638 LIBS=$ac_check_lib_save_LIBS 8389 12639 fi 8390 { $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 8391 12641 $as_echo "$ac_cv_lib_avcodec_avcodec_alloc_frame" >&6; } 8392 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 8393 12643 cat >>confdefs.h <<_ACEOF 8394 12644 #define HAVE_LIBAVCODEC 1 … … 8400 12650 8401 12651 # Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found 8402 { $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 8403 12654 $as_echo_n "checking for avformat_alloc_context in -lavformat... " >&6; } 8404 if ${ac_cv_lib_avformat_avformat_alloc_context+:} false; then :12655 if test "${ac_cv_lib_avformat_avformat_alloc_context+set}" = set; then 8405 12656 $as_echo_n "(cached) " >&6 8406 12657 else 8407 12658 ac_check_lib_save_LIBS=$LIBS 8408 12659 LIBS="-lavformat $LIBS" 8409 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 8410 12665 /* end confdefs.h. */ 8411 12666 … … 8425 12680 } 8426 12681 _ACEOF 8427 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 8428 12703 ac_cv_lib_avformat_avformat_alloc_context=yes 8429 12704 else 8430 ac_cv_lib_avformat_avformat_alloc_context=no 8431 fi 8432 rm -f core conftest.err conftest.$ac_objext \ 8433 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 8434 12714 LIBS=$ac_check_lib_save_LIBS 8435 12715 fi 8436 { $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 8437 12717 $as_echo "$ac_cv_lib_avformat_avformat_alloc_context" >&6; } 8438 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 8439 12719 cat >>confdefs.h <<_ACEOF 8440 12720 #define HAVE_LIBAVFORMAT 1 … … 8444 12724 8445 12725 else 8446 { $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 8447 12728 $as_echo_n "checking for av_alloc_format_context in -lavformat... " >&6; } 8448 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 8449 12730 $as_echo_n "(cached) " >&6 8450 12731 else 8451 12732 ac_check_lib_save_LIBS=$LIBS 8452 12733 LIBS="-lavformat $LIBS" 8453 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 8454 12739 /* end confdefs.h. */ 8455 12740 … … 8469 12754 } 8470 12755 _ACEOF 8471 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 8472 12777 ac_cv_lib_avformat_av_alloc_format_context=yes 8473 12778 else 8474 ac_cv_lib_avformat_av_alloc_format_context=no 8475 fi 8476 rm -f core conftest.err conftest.$ac_objext \ 8477 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 8478 12788 LIBS=$ac_check_lib_save_LIBS 8479 12789 fi 8480 { $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 8481 12791 $as_echo "$ac_cv_lib_avformat_av_alloc_format_context" >&6; } 8482 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 8483 12793 cat >>confdefs.h <<_ACEOF 8484 12794 #define HAVE_LIBAVFORMAT 1 … … 8488 12798 8489 12799 else 8490 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: libavformat not usable" >&512800 { $as_echo "$as_me:$LINENO: WARNING: libavformat not usable" >&5 8491 12801 $as_echo "$as_me: WARNING: libavformat not usable" >&2;} 8492 12802 fi … … 8494 12804 fi 8495 12805 8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_free in -lavutil" >&5 12806 12807 { $as_echo "$as_me:$LINENO: checking for av_free in -lavutil" >&5 8497 12808 $as_echo_n "checking for av_free in -lavutil... " >&6; } 8498 if ${ac_cv_lib_avutil_av_free+:} false; then :12809 if test "${ac_cv_lib_avutil_av_free+set}" = set; then 8499 12810 $as_echo_n "(cached) " >&6 8500 12811 else 8501 12812 ac_check_lib_save_LIBS=$LIBS 8502 12813 LIBS="-lavutil $LIBS" 8503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12814 cat >conftest.$ac_ext <<_ACEOF 12815 /* confdefs.h. */ 12816 _ACEOF 12817 cat confdefs.h >>conftest.$ac_ext 12818 cat >>conftest.$ac_ext <<_ACEOF 8504 12819 /* end confdefs.h. */ 8505 12820 … … 8519 12834 } 8520 12835 _ACEOF 8521 if ac_fn_cxx_try_link "$LINENO"; then : 12836 rm -f conftest.$ac_objext conftest$ac_exeext 12837 if { (ac_try="$ac_link" 12838 case "(($ac_try" in 12839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12840 *) ac_try_echo=$ac_try;; 12841 esac 12842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12843 $as_echo "$ac_try_echo") >&5 12844 (eval "$ac_link") 2>conftest.er1 12845 ac_status=$? 12846 grep -v '^ *+' conftest.er1 >conftest.err 12847 rm -f conftest.er1 12848 cat conftest.err >&5 12849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12850 (exit $ac_status); } && { 12851 test -z "$ac_cxx_werror_flag" || 12852 test ! -s conftest.err 12853 } && test -s conftest$ac_exeext && { 12854 test "$cross_compiling" = yes || 12855 $as_test_x conftest$ac_exeext 12856 }; then 8522 12857 ac_cv_lib_avutil_av_free=yes 8523 12858 else 8524 ac_cv_lib_avutil_av_free=no 8525 fi 8526 rm -f core conftest.err conftest.$ac_objext \ 8527 conftest$ac_exeext conftest.$ac_ext 12859 $as_echo "$as_me: failed program was:" >&5 12860 sed 's/^/| /' conftest.$ac_ext >&5 12861 12862 ac_cv_lib_avutil_av_free=no 12863 fi 12864 12865 rm -rf conftest.dSYM 12866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12867 conftest$ac_exeext conftest.$ac_ext 8528 12868 LIBS=$ac_check_lib_save_LIBS 8529 12869 fi 8530 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_free" >&512870 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_av_free" >&5 8531 12871 $as_echo "$ac_cv_lib_avutil_av_free" >&6; } 8532 if test "x$ac_cv_lib_avutil_av_free" = x yes; then :12872 if test "x$ac_cv_lib_avutil_av_free" = x""yes; then 8533 12873 cat >>confdefs.h <<_ACEOF 8534 12874 #define HAVE_LIBAVUTIL 1 … … 8539 12879 fi 8540 12880 12881 8541 12882 for ac_func in img_convert 8542 do : 8543 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 8544 if test "x$ac_cv_func_img_convert" = xyes; then : 12883 do 12884 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12885 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12886 $as_echo_n "checking for $ac_func... " >&6; } 12887 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12888 $as_echo_n "(cached) " >&6 12889 else 12890 cat >conftest.$ac_ext <<_ACEOF 12891 /* confdefs.h. */ 12892 _ACEOF 12893 cat confdefs.h >>conftest.$ac_ext 12894 cat >>conftest.$ac_ext <<_ACEOF 12895 /* end confdefs.h. */ 12896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12897 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12898 #define $ac_func innocuous_$ac_func 12899 12900 /* System header to define __stub macros and hopefully few prototypes, 12901 which can conflict with char $ac_func (); below. 12902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12903 <limits.h> exists even on freestanding compilers. */ 12904 12905 #ifdef __STDC__ 12906 # include <limits.h> 12907 #else 12908 # include <assert.h> 12909 #endif 12910 12911 #undef $ac_func 12912 12913 /* Override any GCC internal prototype to avoid an error. 12914 Use char because int might match the return type of a GCC 12915 builtin and then its argument prototype would still apply. */ 12916 #ifdef __cplusplus 12917 extern "C" 12918 #endif 12919 char $ac_func (); 12920 /* The GNU C library defines this for functions which it implements 12921 to always fail with ENOSYS. Some functions are actually named 12922 something starting with __ and the normal name is an alias. */ 12923 #if defined __stub_$ac_func || defined __stub___$ac_func 12924 choke me 12925 #endif 12926 12927 int 12928 main () 12929 { 12930 return $ac_func (); 12931 ; 12932 return 0; 12933 } 12934 _ACEOF 12935 rm -f conftest.$ac_objext conftest$ac_exeext 12936 if { (ac_try="$ac_link" 12937 case "(($ac_try" in 12938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12939 *) ac_try_echo=$ac_try;; 12940 esac 12941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12942 $as_echo "$ac_try_echo") >&5 12943 (eval "$ac_link") 2>conftest.er1 12944 ac_status=$? 12945 grep -v '^ *+' conftest.er1 >conftest.err 12946 rm -f conftest.er1 12947 cat conftest.err >&5 12948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12949 (exit $ac_status); } && { 12950 test -z "$ac_cxx_werror_flag" || 12951 test ! -s conftest.err 12952 } && test -s conftest$ac_exeext && { 12953 test "$cross_compiling" = yes || 12954 $as_test_x conftest$ac_exeext 12955 }; then 12956 eval "$as_ac_var=yes" 12957 else 12958 $as_echo "$as_me: failed program was:" >&5 12959 sed 's/^/| /' conftest.$ac_ext >&5 12960 12961 eval "$as_ac_var=no" 12962 fi 12963 12964 rm -rf conftest.dSYM 12965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12966 conftest$ac_exeext conftest.$ac_ext 12967 fi 12968 ac_res=`eval 'as_val=${'$as_ac_var'} 12969 $as_echo "$as_val"'` 12970 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12971 $as_echo "$ac_res" >&6; } 12972 as_val=`eval 'as_val=${'$as_ac_var'} 12973 $as_echo "$as_val"'` 12974 if test "x$as_val" = x""yes; then 8545 12975 cat >>confdefs.h <<_ACEOF 8546 #define HAVE_IMG_CONVERT112976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8547 12977 _ACEOF 8548 12978 … … 8552 12982 8553 12983 8554 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for nVidia Cg installation" >&512984 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5 8555 12985 $as_echo_n "checking for nVidia Cg installation... " >&6; } 8556 12986 CG_DIR="" … … 8565 12995 fi 8566 12996 done 8567 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: ${CG_DIR}" >&512997 { $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5 8568 12998 $as_echo "${CG_DIR}" >&6; } 8569 12999 … … 8571 13001 CG_LIB_DIR="$dir/lib" 8572 13002 8573 echo CGDIR=$CG_DIR8574 13003 save_CPPFLAGS=$CPPFLAGS 8575 13004 CPPFLAGS="-I${CG_INC_DIR} $CPPFLAGS" 13005 8576 13006 for ac_header in Cg/cgGL.h 8577 do : 8578 ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default" 8579 if test "x$ac_cv_header_Cg_cgGL_h" = xyes; then : 13007 do 13008 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13010 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13011 $as_echo_n "checking for $ac_header... " >&6; } 13012 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13013 $as_echo_n "(cached) " >&6 13014 fi 13015 ac_res=`eval 'as_val=${'$as_ac_Header'} 13016 $as_echo "$as_val"'` 13017 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13018 $as_echo "$ac_res" >&6; } 13019 else 13020 # Is the header compilable? 13021 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 13022 $as_echo_n "checking $ac_header usability... " >&6; } 13023 cat >conftest.$ac_ext <<_ACEOF 13024 /* confdefs.h. */ 13025 _ACEOF 13026 cat confdefs.h >>conftest.$ac_ext 13027 cat >>conftest.$ac_ext <<_ACEOF 13028 /* end confdefs.h. */ 13029 $ac_includes_default 13030 #include <$ac_header> 13031 _ACEOF 13032 rm -f conftest.$ac_objext 13033 if { (ac_try="$ac_compile" 13034 case "(($ac_try" in 13035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13036 *) ac_try_echo=$ac_try;; 13037 esac 13038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13039 $as_echo "$ac_try_echo") >&5 13040 (eval "$ac_compile") 2>conftest.er1 13041 ac_status=$? 13042 grep -v '^ *+' conftest.er1 >conftest.err 13043 rm -f conftest.er1 13044 cat conftest.err >&5 13045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13046 (exit $ac_status); } && { 13047 test -z "$ac_cxx_werror_flag" || 13048 test ! -s conftest.err 13049 } && test -s conftest.$ac_objext; then 13050 ac_header_compiler=yes 13051 else 13052 $as_echo "$as_me: failed program was:" >&5 13053 sed 's/^/| /' conftest.$ac_ext >&5 13054 13055 ac_header_compiler=no 13056 fi 13057 13058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13059 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13060 $as_echo "$ac_header_compiler" >&6; } 13061 13062 # Is the header present? 13063 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 13064 $as_echo_n "checking $ac_header presence... " >&6; } 13065 cat >conftest.$ac_ext <<_ACEOF 13066 /* confdefs.h. */ 13067 _ACEOF 13068 cat confdefs.h >>conftest.$ac_ext 13069 cat >>conftest.$ac_ext <<_ACEOF 13070 /* end confdefs.h. */ 13071 #include <$ac_header> 13072 _ACEOF 13073 if { (ac_try="$ac_cpp conftest.$ac_ext" 13074 case "(($ac_try" in 13075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13076 *) ac_try_echo=$ac_try;; 13077 esac 13078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13079 $as_echo "$ac_try_echo") >&5 13080 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13081 ac_status=$? 13082 grep -v '^ *+' conftest.er1 >conftest.err 13083 rm -f conftest.er1 13084 cat conftest.err >&5 13085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13086 (exit $ac_status); } >/dev/null && { 13087 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 13088 test ! -s conftest.err 13089 }; then 13090 ac_header_preproc=yes 13091 else 13092 $as_echo "$as_me: failed program was:" >&5 13093 sed 's/^/| /' conftest.$ac_ext >&5 13094 13095 ac_header_preproc=no 13096 fi 13097 13098 rm -f conftest.err conftest.$ac_ext 13099 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13100 $as_echo "$ac_header_preproc" >&6; } 13101 13102 # So? What about this header? 13103 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 13104 yes:no: ) 13105 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 13106 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 13107 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 13108 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 13109 ac_header_preproc=yes 13110 ;; 13111 no:yes:* ) 13112 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 13113 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 13114 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 13115 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 13116 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 13117 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 13118 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 13119 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 13120 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 13121 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 13122 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 13123 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 13124 ( cat <<\_ASBOX 13125 ## ----------------------------------- ## 13126 ## Report this to rappture@nanohub.org ## 13127 ## ----------------------------------- ## 13128 _ASBOX 13129 ) | sed "s/^/$as_me: WARNING: /" >&2 13130 ;; 13131 esac 13132 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13133 $as_echo_n "checking for $ac_header... " >&6; } 13134 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13135 $as_echo_n "(cached) " >&6 13136 else 13137 eval "$as_ac_Header=\$ac_header_preproc" 13138 fi 13139 ac_res=`eval 'as_val=${'$as_ac_Header'} 13140 $as_echo "$as_val"'` 13141 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13142 $as_echo "$ac_res" >&6; } 13143 13144 fi 13145 as_val=`eval 'as_val=${'$as_ac_Header'} 13146 $as_echo "$as_val"'` 13147 if test "x$as_val" = x""yes; then 8580 13148 cat >>confdefs.h <<_ACEOF 8581 #define HAVE_CG_CGGL_H 1 8582 _ACEOF 8583 8584 else 8585 as_fn_error $? "cannot find nVidia Cg headers" "$LINENO" 5 13149 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13150 _ACEOF 13151 13152 else 13153 { $as_echo "$as_me:$LINENO: WARNING: cannot find nVidia Cg headers" >&5 13154 $as_echo "$as_me: WARNING: cannot find nVidia Cg headers" >&2;} 8586 13155 fi 8587 13156 … … 8658 13227 *${as_nl}*) 8659 13228 case $ac_var in #( 8660 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&513229 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 8661 13230 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 8662 13231 esac … … 8664 13233 _ | IFS | as_nl) ;; #( 8665 13234 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 8666 *) { eval $ac_var=; unset $ac_var;};;13235 *) $as_unset $ac_var ;; 8667 13236 esac ;; 8668 13237 esac … … 8672 13241 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8673 13242 *${as_nl}ac_space=\ *) 8674 # `set' does not quote correctly, so add quotes :double-quote8675 # substitution turns \\\\ into \\, and sed turns \\ into \ .13243 # `set' does not quote correctly, so add quotes (double-quote 13244 # substitution turns \\\\ into \\, and sed turns \\ into \). 8676 13245 sed -n \ 8677 13246 "s/'/'\\\\''/g; … … 8695 13264 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8696 13265 if test -w "$cache_file"; then 8697 if test "x$cache_file" != "x/dev/null"; then8698 { $as_echo "$as_me:$ {as_lineno-$LINENO}: updating cache $cache_file" >&513266 test "x$cache_file" != "x/dev/null" && 13267 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 8699 13268 $as_echo "$as_me: updating cache $cache_file" >&6;} 8700 if test ! -f "$cache_file" || test -h "$cache_file"; then 8701 cat confcache >"$cache_file" 8702 else 8703 case $cache_file in #( 8704 */* | ?:*) 8705 mv -f confcache "$cache_file"$$ && 8706 mv -f "$cache_file"$$ "$cache_file" ;; #( 8707 *) 8708 mv -f confcache "$cache_file" ;; 8709 esac 8710 fi 8711 fi 13269 cat confcache >$cache_file 8712 13270 else 8713 { $as_echo "$as_me:$ {as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&513271 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 8714 13272 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8715 13273 fi … … 8725 13283 ac_libobjs= 8726 13284 ac_ltlibobjs= 8727 U=8728 13285 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8729 13286 # 1. Remove the extension, and $U if already installed. … … 8732 13289 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8733 13290 # will be set to the directory where LIBOBJS objects are built. 8734 a s_fn_append ac_libobjs "\${LIBOBJDIR}$ac_i\$U.$ac_objext"8735 a s_fn_append ac_ltlibobjs "\${LIBOBJDIR}$ac_i"'$U.lo'13291 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13292 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 8736 13293 done 8737 13294 LIBOBJS=$ac_libobjs … … 8742 13299 8743 13300 8744 : "${CONFIG_STATUS=./config.status}"13301 : ${CONFIG_STATUS=./config.status} 8745 13302 ac_write_fail=0 8746 13303 ac_clean_files_save=$ac_clean_files 8747 13304 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8748 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $CONFIG_STATUS" >&513305 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 8749 13306 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8750 as_write_fail=0 8751 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13307 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8752 13308 #! $SHELL 8753 13309 # Generated by $as_me. … … 8759 13315 ac_cs_recheck=false 8760 13316 ac_cs_silent=false 8761 8762 13317 SHELL=\${CONFIG_SHELL-$SHELL} 8763 export SHELL 8764 _ASEOF 8765 cat >>$CONFIG_STATUS <<\_A SEOF || as_write_fail=18766 ## -------------------- ##8767 ## M4sh Initialization. ##8768 ## -------------------- ##13318 _ACEOF 13319 13320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13321 ## --------------------- ## 13322 ## M4sh Initialization. ## 13323 ## --------------------- ## 8769 13324 8770 13325 # Be more Bourne compatible 8771 13326 DUALCASE=1; export DUALCASE # for MKS sh 8772 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :13327 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8773 13328 emulate sh 8774 13329 NULLCMD=: … … 8778 13333 setopt NO_GLOB_SUBST 8779 13334 else 8780 case `(set -o) 2>/dev/null` in #( 8781 *posix*) : 8782 set -o posix ;; #( 8783 *) : 8784 ;; 8785 esac 8786 fi 8787 13335 case `(set -o) 2>/dev/null` in 13336 *posix*) set -o posix ;; 13337 esac 13338 13339 fi 13340 13341 13342 13343 13344 # PATH needs CR 13345 # Avoid depending upon Character Ranges. 13346 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13347 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13348 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13349 as_cr_digits='0123456789' 13350 as_cr_alnum=$as_cr_Letters$as_cr_digits 8788 13351 8789 13352 as_nl=' … … 8794 13357 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 8795 13358 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 8796 # Prefer a ksh shell builtin over an external printf program on Solaris, 8797 # but without wasting forks for bash or zsh. 8798 if test -z "$BASH_VERSION$ZSH_VERSION" \ 8799 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 8800 as_echo='print -r --' 8801 as_echo_n='print -rn --' 8802 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13359 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8803 13360 as_echo='printf %s\n' 8804 13361 as_echo_n='printf %s' … … 8811 13368 as_echo_n_body='eval 8812 13369 arg=$1; 8813 case $arg in #(13370 case $arg in 8814 13371 *"$as_nl"*) 8815 13372 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 8834 13391 fi 8835 13392 13393 # Support unset when possible. 13394 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 13395 as_unset=unset 13396 else 13397 as_unset=false 13398 fi 13399 8836 13400 8837 13401 # IFS … … 8843 13407 8844 13408 # Find who we are. Look in the path if we contain no directory separator. 8845 as_myself= 8846 case $0 in #(( 13409 case $0 in 8847 13410 *[\\/]* ) as_myself=$0 ;; 8848 13411 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 8851 13414 IFS=$as_save_IFS 8852 13415 test -z "$as_dir" && as_dir=. 8853 8854 13416 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13417 done 8855 13418 IFS=$as_save_IFS 8856 13419 … … 8864 13427 if test ! -f "$as_myself"; then 8865 13428 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8866 exit 1 8867 fi 8868 8869 # Unset variables that we do not need and which cause bugs (e.g. in 8870 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 8871 # suppresses any "Segmentation fault" message there. '((' could 8872 # trigger a bug in pdksh 5.2.14. 8873 for as_var in BASH_ENV ENV MAIL MAILPATH 8874 do eval test x\${$as_var+set} = xset \ 8875 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13429 { (exit 1); exit 1; } 13430 fi 13431 13432 # Work around bugs in pre-3.0 UWIN ksh. 13433 for as_var in ENV MAIL MAILPATH 13434 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8876 13435 done 8877 13436 PS1='$ ' … … 8885 13444 export LANGUAGE 8886 13445 8887 # CDPATH. 8888 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 8889 8890 8891 # as_fn_error STATUS ERROR [LINENO LOG_FD] 8892 # ---------------------------------------- 8893 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 8894 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 8895 # script with STATUS, using 1 if that was 0. 8896 as_fn_error () 8897 { 8898 as_status=$1; test $as_status -eq 0 && as_status=1 8899 if test "$4"; then 8900 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 8901 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 8902 fi 8903 $as_echo "$as_me: error: $2" >&2 8904 as_fn_exit $as_status 8905 } # as_fn_error 8906 8907 8908 # as_fn_set_status STATUS 8909 # ----------------------- 8910 # Set $? to STATUS, without forking. 8911 as_fn_set_status () 8912 { 8913 return $1 8914 } # as_fn_set_status 8915 8916 # as_fn_exit STATUS 8917 # ----------------- 8918 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 8919 as_fn_exit () 8920 { 8921 set +e 8922 as_fn_set_status $1 8923 exit $1 8924 } # as_fn_exit 8925 8926 # as_fn_unset VAR 8927 # --------------- 8928 # Portably unset VAR. 8929 as_fn_unset () 8930 { 8931 { eval $1=; unset $1;} 8932 } 8933 as_unset=as_fn_unset 8934 # as_fn_append VAR VALUE 8935 # ---------------------- 8936 # Append the text in VALUE to the end of the definition contained in VAR. Take 8937 # advantage of any shell optimizations that allow amortized linear growth over 8938 # repeated appends, instead of the typical quadratic growth present in naive 8939 # implementations. 8940 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 8941 eval 'as_fn_append () 8942 { 8943 eval $1+=\$2 8944 }' 8945 else 8946 as_fn_append () 8947 { 8948 eval $1=\$$1\$2 8949 } 8950 fi # as_fn_append 8951 8952 # as_fn_arith ARG... 8953 # ------------------ 8954 # Perform arithmetic evaluation on the ARGs, and store the result in the 8955 # global $as_val. Take advantage of shells that can avoid forks. The arguments 8956 # must be portable across $(()) and expr. 8957 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 8958 eval 'as_fn_arith () 8959 { 8960 as_val=$(( $* )) 8961 }' 8962 else 8963 as_fn_arith () 8964 { 8965 as_val=`expr "$@" || test $? -eq 1` 8966 } 8967 fi # as_fn_arith 8968 8969 13446 # Required to use basename. 8970 13447 if expr a : '\(a\)' >/dev/null 2>&1 && 8971 13448 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 8981 13458 fi 8982 13459 8983 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8984 as_dirname=dirname 8985 else 8986 as_dirname=false 8987 fi 8988 13460 13461 # Name of the executable. 8989 13462 as_me=`$as_basename -- "$0" || 8990 13463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 9006 13479 s/.*/./; q'` 9007 13480 9008 # Avoid depending upon Character Ranges. 9009 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9010 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9011 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9012 as_cr_digits='0123456789' 9013 as_cr_alnum=$as_cr_Letters$as_cr_digits 13481 # CDPATH. 13482 $as_unset CDPATH 13483 13484 13485 13486 as_lineno_1=$LINENO 13487 as_lineno_2=$LINENO 13488 test "x$as_lineno_1" != "x$as_lineno_2" && 13489 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 13490 13491 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 13492 # uniformly replaced by the line number. The first 'sed' inserts a 13493 # line-number line after each line using $LINENO; the second 'sed' 13494 # does the real work. The second script uses 'N' to pair each 13495 # line-number line with the line containing $LINENO, and appends 13496 # trailing '-' during substitution so that $LINENO is not a special 13497 # case at line end. 13498 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 13499 # scripts with optimization help from Paolo Bonzini. Blame Lee 13500 # E. McMahon (1931-1989) for sed's syntax. :-) 13501 sed -n ' 13502 p 13503 /[$]LINENO/= 13504 ' <$as_myself | 13505 sed ' 13506 s/[$]LINENO.*/&-/ 13507 t lineno 13508 b 13509 :lineno 13510 N 13511 :loop 13512 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 13513 t loop 13514 s/-\n.*// 13515 ' >$as_me.lineno && 13516 chmod +x "$as_me.lineno" || 13517 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 13518 { (exit 1); exit 1; }; } 13519 13520 # Don't try to exec as it changes $[0], causing all sort of problems 13521 # (the dirname of $[0] is not the place where we might find the 13522 # original and so on. Autoconf is especially sensitive to this). 13523 . "./$as_me.lineno" 13524 # Exit status is that of the last command. 13525 exit 13526 } 13527 13528 13529 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13530 as_dirname=dirname 13531 else 13532 as_dirname=false 13533 fi 9014 13534 9015 13535 ECHO_C= ECHO_N= ECHO_T= 9016 case `echo -n x` in #(((((13536 case `echo -n x` in 9017 13537 -n*) 9018 case `echo 'x y\c'` in13538 case `echo 'x\c'` in 9019 13539 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9020 xy) ECHO_C='\c';; 9021 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 9022 ECHO_T=' ';; 13540 *) ECHO_C='\c';; 9023 13541 esac;; 9024 13542 *) 9025 13543 ECHO_N='-n';; 9026 13544 esac 13545 if expr a : '\(a\)' >/dev/null 2>&1 && 13546 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13547 as_expr=expr 13548 else 13549 as_expr=false 13550 fi 9027 13551 9028 13552 rm -f conf$$ conf$$.exe conf$$.file … … 9053 13577 rmdir conf$$.dir 2>/dev/null 9054 13578 9055 9056 # as_fn_mkdir_p9057 # -------------9058 # Create "$as_dir" as a directory, including parents if necessary.9059 as_fn_mkdir_p ()9060 {9061 9062 case $as_dir in #(9063 -*) as_dir=./$as_dir;;9064 esac9065 test -d "$as_dir" || eval $as_mkdir_p || {9066 as_dirs=9067 while :; do9068 case $as_dir in #(9069 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(9070 *) as_qdir=$as_dir;;9071 esac9072 as_dirs="'$as_qdir' $as_dirs"9073 as_dir=`$as_dirname -- "$as_dir" ||9074 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \9075 X"$as_dir" : 'X\(//\)[^/]' \| \9076 X"$as_dir" : 'X\(//\)$' \| \9077 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||9078 $as_echo X"$as_dir" |9079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{9080 s//\1/9081 q9082 }9083 /^X\(\/\/\)[^/].*/{9084 s//\1/9085 q9086 }9087 /^X\(\/\/\)$/{9088 s//\1/9089 q9090 }9091 /^X\(\/\).*/{9092 s//\1/9093 q9094 }9095 s/.*/./; q'`9096 test -d "$as_dir" && break9097 done9098 test -z "$as_dirs" || eval "mkdir $as_dirs"9099 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"9100 9101 9102 } # as_fn_mkdir_p9103 13579 if mkdir -p . 2>/dev/null; then 9104 as_mkdir_p= 'mkdir -p "$as_dir"'13580 as_mkdir_p=: 9105 13581 else 9106 13582 test -d ./-p && rmdir ./-p … … 9121 13597 test -d "$1/."; 9122 13598 else 9123 case $1 in #(13599 case $1 in 9124 13600 -*)set "./$1";; 9125 13601 esac; 9126 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((13602 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9127 13603 ???[sx]*):;;*)false;;esac;fi 9128 13604 '\'' sh … … 9139 13615 9140 13616 exec 6>&1 9141 ## ----------------------------------- ## 9142 ## Main body of $CONFIG_STATUS script. ## 9143 ## ----------------------------------- ## 9144 _ASEOF 9145 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9146 9147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9148 # Save the log message, to keep $0 and so on meaningful, and to 13617 13618 # Save the log message, to keep $[0] and so on meaningful, and to 9149 13619 # report actual input values of CONFIG_FILES etc. instead of their 9150 13620 # values after options handling. 9151 13621 ac_log=" 9152 13622 This file was extended by vizservers $as_me 0.1, which was 9153 generated by GNU Autoconf 2.6 8. Invocation command line was13623 generated by GNU Autoconf 2.63. Invocation command line was 9154 13624 9155 13625 CONFIG_FILES = $CONFIG_FILES … … 9182 13652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9183 13653 ac_cs_usage="\ 9184 \`$as_me' instantiates files and other configuration actions 9185 from templates according to the current configuration. Unless the files 9186 and actions are specified as TAGs, all are instantiated by default. 9187 9188 Usage: $0 [OPTION]... [TAG]... 13654 \`$as_me' instantiates files from templates according to the 13655 current configuration. 13656 13657 Usage: $0 [OPTION]... [FILE]... 9189 13658 9190 13659 -h, --help print this help, then exit 9191 13660 -V, --version print version number and configuration settings, then exit 9192 --config print configuration, then exit9193 13661 -q, --quiet, --silent 9194 13662 do not print progress messages … … 9206 13674 $config_headers 9207 13675 9208 Report bugs to < rappture@nanohub.org>."13676 Report bugs to <bug-autoconf@gnu.org>." 9209 13677 9210 13678 _ACEOF 9211 13679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9212 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"9213 13680 ac_cs_version="\\ 9214 13681 vizservers config.status 0.1 9215 configured by $0, generated by GNU Autoconf 2.6 8,9216 with options \\" \$ac_cs_config\\"9217 9218 Copyright (C) 20 10Free Software Foundation, Inc.13682 configured by $0, generated by GNU Autoconf 2.63, 13683 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 13684 13685 Copyright (C) 2008 Free Software Foundation, Inc. 9219 13686 This config.status script is free software; the Free Software Foundation 9220 13687 gives unlimited permission to copy, distribute and modify it." … … 9233 13700 do 9234 13701 case $1 in 9235 --*= ?*)13702 --*=*) 9236 13703 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9237 13704 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9238 ac_shift=:9239 ;;9240 --*=)9241 ac_option=`expr "X$1" : 'X\([^=]*\)='`9242 ac_optarg=9243 13705 ac_shift=: 9244 13706 ;; … … 9256 13718 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9257 13719 $as_echo "$ac_cs_version"; exit ;; 9258 --config | --confi | --conf | --con | --co | --c )9259 $as_echo "$ac_cs_config"; exit ;;9260 13720 --debug | --debu | --deb | --de | --d | -d ) 9261 13721 debug=: ;; … … 9264 13724 case $ac_optarg in 9265 13725 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9266 '') as_fn_error $? "missing file argument" ;;9267 13726 esac 9268 as_fn_append CONFIG_FILES "'$ac_optarg'"13727 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9269 13728 ac_need_defaults=false;; 9270 13729 --header | --heade | --head | --hea ) … … 9273 13732 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9274 13733 esac 9275 as_fn_append CONFIG_HEADERS "'$ac_optarg'"13734 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9276 13735 ac_need_defaults=false;; 9277 13736 --he | --h) 9278 13737 # Conflict between --help and --header 9279 as_fn_error $? "ambiguous option: \`$1' 9280 Try \`$0 --help' for more information.";; 13738 { $as_echo "$as_me: error: ambiguous option: $1 13739 Try \`$0 --help' for more information." >&2 13740 { (exit 1); exit 1; }; };; 9281 13741 --help | --hel | -h ) 9282 13742 $as_echo "$ac_cs_usage"; exit ;; … … 9286 13746 9287 13747 # This is an error. 9288 -*) as_fn_error $? "unrecognized option: \`$1' 9289 Try \`$0 --help' for more information." ;; 9290 9291 *) as_fn_append ac_config_targets " $1" 13748 -*) { $as_echo "$as_me: error: unrecognized option: $1 13749 Try \`$0 --help' for more information." >&2 13750 { (exit 1); exit 1; }; } ;; 13751 13752 *) ac_config_targets="$ac_config_targets $1" 9292 13753 ac_need_defaults=false ;; 9293 13754 … … 9354 13815 "start_nanoscale.sh") CONFIG_FILES="$CONFIG_FILES start_nanoscale.sh" ;; 9355 13816 9356 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13817 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13818 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13819 { (exit 1); exit 1; }; };; 9357 13820 esac 9358 13821 done … … 9376 13839 $debug || 9377 13840 { 9378 tmp= ac_tmp=13841 tmp= 9379 13842 trap 'exit_status=$? 9380 : "${ac_tmp:=$tmp}" 9381 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13843 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9382 13844 ' 0 9383 trap ' as_fn_exit 1' 1 2 13 1513845 trap '{ (exit 1); exit 1; }' 1 2 13 15 9384 13846 } 9385 13847 # Create a (secure) tmp directory for tmp files. … … 9387 13849 { 9388 13850 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9389 test - d "$tmp"13851 test -n "$tmp" && test -d "$tmp" 9390 13852 } || 9391 13853 { 9392 13854 tmp=./conf$$-$RANDOM 9393 13855 (umask 077 && mkdir "$tmp") 9394 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 9395 ac_tmp=$tmp 13856 } || 13857 { 13858 $as_echo "$as_me: cannot create a temporary directory in ." >&2 13859 { (exit 1); exit 1; } 13860 } 9396 13861 9397 13862 # Set up the scripts for CONFIG_FILES section. … … 9401 13866 9402 13867 9403 ac_cr=`echo X | tr X '\015'` 9404 # On cygwin, bash can eat \r inside `` if the user requested igncr. 9405 # But we know of no other shell where ac_cr would be empty at this 9406 # point, so we can use a bashism as a fallback. 9407 if test "x$ac_cr" = x; then 9408 eval ac_cr=\$\'\\r\' 9409 fi 13868 ac_cr=' 13869 ' 9410 13870 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9411 13871 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then … … 9415 13875 fi 9416 13876 9417 echo 'BEGIN {' >"$ ac_tmp/subs1.awk" &&13877 echo 'BEGIN {' >"$tmp/subs1.awk" && 9418 13878 _ACEOF 9419 13879 … … 9424 13884 echo "_ACEOF" 9425 13885 } >conf$$subs.sh || 9426 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9427 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13886 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13887 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13888 { (exit 1); exit 1; }; } 13889 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9428 13890 ac_delim='%!_!# ' 9429 13891 for ac_last_try in false false false false false :; do 9430 13892 . ./conf$$subs.sh || 9431 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13893 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13894 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13895 { (exit 1); exit 1; }; } 9432 13896 9433 13897 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 9435 13899 break 9436 13900 elif $ac_last_try; then 9437 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13901 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13902 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13903 { (exit 1); exit 1; }; } 9438 13904 else 9439 13905 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 9443 13909 9444 13910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9445 cat >>"\$ ac_tmp/subs1.awk" <<\\_ACAWK &&13911 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9446 13912 _ACEOF 9447 13913 sed -n ' … … 9457 13923 :nl 9458 13924 h 9459 s/\(.\{148\}\). .*/\1/13925 s/\(.\{148\}\).*/\1/ 9460 13926 t more1 9461 13927 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 9471 13937 :delim 9472 13938 h 9473 s/\(.\{148\}\). .*/\1/13939 s/\(.\{148\}\).*/\1/ 9474 13940 t more2 9475 13941 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 9491 13957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9492 13958 _ACAWK 9493 cat >>"\$ ac_tmp/subs1.awk" <<_ACAWK &&13959 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9494 13960 for (key in S) S_is_set[key] = 1 9495 13961 FS = "" … … 9523 13989 else 9524 13990 cat 9525 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 9526 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9527 _ACEOF 9528 9529 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9530 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13991 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 13992 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 13993 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 13994 { (exit 1); exit 1; }; } 13995 _ACEOF 13996 13997 # VPATH may cause trouble with some makes, so we remove $(srcdir), 13998 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9531 13999 # trailing colons and then remove the whole line if VPATH becomes empty 9532 14000 # (actually we leave an empty line to preserve line numbers). 9533 14001 if test "x$srcdir" = x.; then 9534 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 9535 h 9536 s/// 9537 s/^/:/ 9538 s/[ ]*$/:/ 9539 s/:\$(srcdir):/:/g 9540 s/:\${srcdir}:/:/g 9541 s/:@srcdir@:/:/g 9542 s/^:*// 14002 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 14003 s/:*\$(srcdir):*/:/ 14004 s/:*\${srcdir}:*/:/ 14005 s/:*@srcdir@:*/:/ 14006 s/^\([^=]*=[ ]*\):*/\1/ 9543 14007 s/:*$// 9544 x9545 s/\(=[ ]*\).*/\1/9546 G9547 s/\n//9548 14008 s/^[^=]*=[ ]*$// 9549 14009 }' … … 9557 14017 # This happens for instance with `./config.status Makefile'. 9558 14018 if test -n "$CONFIG_HEADERS"; then 9559 cat >"$ ac_tmp/defines.awk" <<\_ACAWK ||14019 cat >"$tmp/defines.awk" <<\_ACAWK || 9560 14020 BEGIN { 9561 14021 _ACEOF … … 9569 14029 ac_delim='%!_!# ' 9570 14030 for ac_last_try in false false :; do 9571 ac_t t=`sed -n "/$ac_delim/p" confdefs.h`9572 if test -z "$ac_t t"; then14031 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 14032 if test -z "$ac_t"; then 9573 14033 break 9574 14034 elif $ac_last_try; then 9575 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 14035 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 14036 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 14037 { (exit 1); exit 1; }; } 9576 14038 else 9577 14039 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 9658 14120 _ACEOF 9659 14121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9660 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14122 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 14123 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 14124 { (exit 1); exit 1; }; } 9661 14125 fi # test -n "$CONFIG_HEADERS" 9662 14126 … … 9671 14135 case $ac_mode$ac_tag in 9672 14136 :[FHL]*:*);; 9673 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14137 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 14138 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 14139 { (exit 1); exit 1; }; };; 9674 14140 :[FH]-) ac_tag=-:-;; 9675 14141 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 9690 14156 do 9691 14157 case $ac_f in 9692 -) ac_f="$ ac_tmp/stdin";;14158 -) ac_f="$tmp/stdin";; 9693 14159 *) # Look for the file first in the build tree, then in the source tree 9694 14160 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 9699 14165 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9700 14166 esac || 9701 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14167 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 14168 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 14169 { (exit 1); exit 1; }; };; 9702 14170 esac 9703 14171 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9704 a s_fn_append ac_file_inputs "'$ac_f'"14172 ac_file_inputs="$ac_file_inputs '$ac_f'" 9705 14173 done 9706 14174 … … 9713 14181 if test x"$ac_file" != x-; then 9714 14182 configure_input="$ac_file. $configure_input" 9715 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $ac_file" >&514183 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 9716 14184 $as_echo "$as_me: creating $ac_file" >&6;} 9717 14185 fi … … 9725 14193 9726 14194 case $ac_tag in 9727 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 9728 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14195 *:-:* | *:-) cat >"$tmp/stdin" \ 14196 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14197 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14198 { (exit 1); exit 1; }; } ;; 9729 14199 esac 9730 14200 ;; … … 9754 14224 } 9755 14225 s/.*/./; q'` 9756 as_dir="$ac_dir"; as_fn_mkdir_p 14226 { as_dir="$ac_dir" 14227 case $as_dir in #( 14228 -*) as_dir=./$as_dir;; 14229 esac 14230 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 14231 as_dirs= 14232 while :; do 14233 case $as_dir in #( 14234 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14235 *) as_qdir=$as_dir;; 14236 esac 14237 as_dirs="'$as_qdir' $as_dirs" 14238 as_dir=`$as_dirname -- "$as_dir" || 14239 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14240 X"$as_dir" : 'X\(//\)[^/]' \| \ 14241 X"$as_dir" : 'X\(//\)$' \| \ 14242 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14243 $as_echo X"$as_dir" | 14244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14245 s//\1/ 14246 q 14247 } 14248 /^X\(\/\/\)[^/].*/{ 14249 s//\1/ 14250 q 14251 } 14252 /^X\(\/\/\)$/{ 14253 s//\1/ 14254 q 14255 } 14256 /^X\(\/\).*/{ 14257 s//\1/ 14258 q 14259 } 14260 s/.*/./; q'` 14261 test -d "$as_dir" && break 14262 done 14263 test -z "$as_dirs" || eval "mkdir $as_dirs" 14264 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 14265 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 14266 { (exit 1); exit 1; }; }; } 9757 14267 ac_builddir=. 9758 14268 … … 9811 14321 # FIXME: This hack should be removed a few years after 2.60. 9812 14322 ac_datarootdir_hack=; ac_datarootdir_seen= 14323 9813 14324 ac_sed_dataroot=' 9814 14325 /datarootdir/ { … … 9820 14331 /@infodir@/p 9821 14332 /@localedir@/p 9822 /@mandir@/p' 14333 /@mandir@/p 14334 ' 9823 14335 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9824 14336 *datarootdir*) ac_datarootdir_seen=yes;; 9825 14337 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9826 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&514338 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9827 14339 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9828 14340 _ACEOF … … 9834 14346 s&@localedir@&$localedir&g 9835 14347 s&@mandir@&$mandir&g 9836 s&\\\${datarootdir}&$datarootdir&g' ;;14348 s&\\\${datarootdir}&$datarootdir&g' ;; 9837 14349 esac 9838 14350 _ACEOF … … 9862 14374 $ac_datarootdir_hack 9863 14375 " 9864 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9865 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14376 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 14377 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14378 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14379 { (exit 1); exit 1; }; } 9866 14380 9867 14381 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9868 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 9869 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 9870 "$ac_tmp/out"`; test -z "$ac_out"; } && 9871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9872 which seems to be undefined. Please make sure it is defined" >&5 14382 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 14383 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 14384 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14385 which seems to be undefined. Please make sure it is defined." >&5 9873 14386 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9874 which seems to be undefined. Please make sure it is defined " >&2;}9875 9876 rm -f "$ ac_tmp/stdin"14387 which seems to be undefined. Please make sure it is defined." >&2;} 14388 14389 rm -f "$tmp/stdin" 9877 14390 case $ac_file in 9878 -) cat "$ ac_tmp/out" && rm -f "$ac_tmp/out";;9879 *) rm -f "$ac_file" && mv "$ ac_tmp/out" "$ac_file";;14391 -) cat "$tmp/out" && rm -f "$tmp/out";; 14392 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9880 14393 esac \ 9881 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14394 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14395 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14396 { (exit 1); exit 1; }; } 9882 14397 ;; 9883 14398 :H) … … 9888 14403 { 9889 14404 $as_echo "/* $configure_input */" \ 9890 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 9891 } >"$ac_tmp/config.h" \ 9892 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9893 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 9894 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14405 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 14406 } >"$tmp/config.h" \ 14407 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14408 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14409 { (exit 1); exit 1; }; } 14410 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 14411 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 9895 14412 $as_echo "$as_me: $ac_file is unchanged" >&6;} 9896 14413 else 9897 14414 rm -f "$ac_file" 9898 mv "$ac_tmp/config.h" "$ac_file" \ 9899 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14415 mv "$tmp/config.h" "$ac_file" \ 14416 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14417 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14418 { (exit 1); exit 1; }; } 9900 14419 fi 9901 14420 else 9902 14421 $as_echo "/* $configure_input */" \ 9903 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9904 || as_fn_error $? "could not create -" "$LINENO" 5 14422 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 14423 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 14424 $as_echo "$as_me: error: could not create -" >&2;} 14425 { (exit 1); exit 1; }; } 9905 14426 fi 9906 14427 ;; … … 9912 14433 9913 14434 9914 as_fn_exit 0 9915 _ACEOF 14435 { (exit 0); exit 0; } 14436 _ACEOF 14437 chmod +x $CONFIG_STATUS 9916 14438 ac_clean_files=$ac_clean_files_save 9917 14439 9918 14440 test $ac_write_fail = 0 || 9919 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14441 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 14442 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 14443 { (exit 1); exit 1; }; } 9920 14444 9921 14445 … … 9938 14462 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9939 14463 # would make configure fail if this is the last instruction. 9940 $ac_cs_success || as_fn_exit 114464 $ac_cs_success || { (exit 1); exit 1; } 9941 14465 fi 9942 14466 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 9943 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&514467 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 9944 14468 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 9945 14469 fi -
trunk/packages/vizservers/configure.in
r2427 r2439 1 1 AC_PREREQ([2.60]) 2 2 AC_INIT(vizservers, 0.1, rappture@nanohub.org) 3 AC_CONFIG_HEADER(nanovis/nvconf.h nanoscale/config.h) 4 5 with_vtk="yes" 6 with_vtk_libs="" 7 with_vtk_includes="" 8 with_rappture="" 9 with_tcllib="" 10 with_rappture="yes" 3 AC_CONFIG_HEADERS([nanovis/nvconf.h nanoscale/config.h]) 11 4 12 5 AC_ARG_WITH( … … 139 132 fi 140 133 141 RP2_INCL_DIR=""142 134 RP_DIR="" 143 135 AC_MSG_CHECKING([for rappture]) … … 146 138 if test -r "$dir/include/rappture2/rappture2.h" -a \ 147 139 -r "$dir/lib/librappture.a"; then 148 RP_INCL_SPEC="-I$dir/include"149 140 RP_DIR="$dir" 141 RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2" 150 142 RP_LIB_DIR="$dir/lib" 151 143 AC_MSG_RESULT([$dir]) … … 154 146 done 155 147 else 156 if test -d "$with_rappture" ; then148 if test ! -d "$with_rappture" ; then 157 149 AC_MSG_ERROR([--with-rappture: no such directory $with_rappture]) 158 150 fi 159 RP_ LIB=$with_rappture160 RP_INC L_SPEC="-I$with_rappture/include"151 RP_DIR=$with_rappture 152 RP_INC_SPEC="-I$with_rappture/include -I$with_rappture/include/rappture2" 161 153 RP_LIB_DIR="$with_rappture/lib" 162 154 fi … … 197 189 save_CPPFLAGS=$CPPFLAGS 198 190 CPPFLAGS=$VTK_INC_SPEC 199 AC_CHECK_HEADERS([vtkSmartPointer.h], [], [AC_MSG_ ERROR([cannot find VTK includes])])191 AC_CHECK_HEADERS([vtkSmartPointer.h], [], [AC_MSG_WARN([cannot find vtkSmartPointer.h])]) 200 192 CPPFLAGS=$save_CPPFLAGS 201 193 … … 207 199 AC_CHECK_HEADERS([stdio.h unistd.h stdlib.h string.h sys/types.h]) 208 200 AC_CHECK_HEADERS([sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h]) 201 202 AC_CHECK_FUNCS([accept4]) 209 203 210 204 AC_MSG_CHECKING([for OpenDX headers]) … … 221 215 done 222 216 if test "x${DX_INC_DIR}" = "x" ; then 223 AC_MSG_ERROR([cannot find OpenDX include files]) 224 fi 225 226 if test "${DX_INC_DIR}" = "/usr/include" ; then 217 AC_MSG_WARN([cannot find OpenDX include files]) 218 DX_INC_SPEC="" 219 elif test "${DX_INC_DIR}" = "/usr/include" ; then 227 220 DX_INC_SPEC="" 228 221 else … … 232 225 233 226 DX_LIB_DIR="" 234 found=no235 227 for dir in \ 236 228 /usr/lib \ … … 251 243 fi 252 244 done 253 if test "x {$DX_LIB_DIR}" = "x" ; then254 AC_MSG_ ERROR([cannot find OpenDX libraries])245 if test "x${DX_LIB_DIR}" = "x" ; then 246 AC_MSG_WARN([cannot find OpenDX libraries]) 255 247 fi 256 248 257 249 AC_MSG_CHECKING([for libDXcallm library]) 258 if test " ${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then250 if test "x${DX_LIB_DIR}" = "x" -o "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then 259 251 DX_LIB_SPEC="" 260 252 else … … 264 256 265 257 AC_CHECK_HEADERS([opencv/cv.h opencv/highgui.h]) 266 AC_CHECK_LIB([ cv], [cvLoadImage])258 AC_CHECK_LIB([highgui], [cvLoadImage]) 267 259 268 260 save_CPPFLAGS=$CPPFLAGS … … 311 303 CG_LIB_DIR="$dir/lib" 312 304 313 echo CGDIR=$CG_DIR314 305 save_CPPFLAGS=$CPPFLAGS 315 306 CPPFLAGS="-I${CG_INC_DIR} $CPPFLAGS" 316 AC_CHECK_HEADERS([Cg/cgGL.h], [], AC_MSG_ ERROR([cannot find nVidia Cg headers]))307 AC_CHECK_HEADERS([Cg/cgGL.h], [], AC_MSG_WARN([cannot find nVidia Cg headers])) 317 308 CPPFLAGS=$save_CPPFLAGS 318 309
Note: See TracChangeset
for help on using the changeset viewer.