Changeset 2618
- Timestamp:
- Oct 13, 2011 12:58:09 PM (13 years ago)
- Location:
- trunk/packages/vizservers
- Files:
-
- 13 added
- 1 deleted
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/aclocal.m4
r1115 r2618 1 builtin(include,./tcl.m4) 1 builtin(include,./cf/tcl.m4) 2 builtin(include,./cf/rpLangPython.m4) -
trunk/packages/vizservers/configure
r2568 r2618 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 3for vizservers 0.1.3 # Generated by GNU Autoconf 2.68 for vizservers 0.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # 7 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 11 # 12 # 9 13 # This configure script is free software; the Free Software Foundation 10 14 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. 13 ## -------------------- -##15 ## -------------------- ## 16 ## M4sh Initialization. ## 17 ## -------------------- ## 14 18 15 19 # Be more Bourne compatible 16 20 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 22 emulate sh 19 23 NULLCMD=: … … 23 27 setopt NO_GLOB_SUBST 24 28 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 27 34 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 35 fi 36 41 37 42 38 as_nl=' … … 47 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 52 as_echo='printf %s\n' 51 53 as_echo_n='printf %s' … … 58 60 as_echo_n_body='eval 59 61 arg=$1; 60 case $arg in 62 case $arg in #( 61 63 *"$as_nl"*) 62 64 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 81 83 fi 82 84 83 # Support unset when possible.84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then85 as_unset=unset86 else87 as_unset=false88 fi89 90 85 91 86 # IFS … … 97 92 98 93 # Find who we are. Look in the path if we contain no directory separator. 99 case $0 in 94 as_myself= 95 case $0 in #(( 100 96 *[\\/]* ) as_myself=$0 ;; 101 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 104 100 IFS=$as_save_IFS 105 101 test -z "$as_dir" && as_dir=. 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break107 done102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 108 104 IFS=$as_save_IFS 109 105 … … 117 113 if test ! -f "$as_myself"; then 118 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 { (exit 1); exit 1; } 120 fi 121 122 # Work around bugs in pre-3.0 UWIN ksh. 123 for as_var in ENV MAIL MAILPATH 124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 115 exit 1 116 fi 117 118 # Unset variables that we do not need and which cause bugs (e.g. in 119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120 # suppresses any "Segmentation fault" message there. '((' could 121 # trigger a bug in pdksh 5.2.14. 122 for as_var in BASH_ENV ENV MAIL MAILPATH 123 do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125 125 done 126 126 PS1='$ ' … … 134 134 export LANGUAGE 135 135 136 # Required to use basename. 136 # CDPATH. 137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139 if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147 else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153 esac 154 fi 155 " 156 as_required="as_fn_return () { (exit \$1); } 157 as_fn_success () { as_fn_return 0; } 158 as_fn_failure () { as_fn_return 1; } 159 as_fn_ret_success () { return 0; } 160 as_fn_ret_failure () { return 1; } 161 162 exitcode=0 163 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169 else 170 exitcode=1; echo positional parameters were not saved. 171 fi 172 test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177 test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180 else 181 as_have_required=no 182 fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185 else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187 as_found=false 188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189 do 190 IFS=$as_save_IFS 191 test -z "$as_dir" && as_dir=. 192 as_found=: 193 case $as_dir in #( 194 /*) 195 for as_base in sh bash ksh sh5; do 196 # Try only shells that exist, to save several forks. 197 as_shell=$as_dir/$as_base 198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 CONFIG_SHELL=$as_shell as_have_required=yes 201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202 break 2 203 fi 204 fi 205 done;; 206 esac 207 as_found=false 208 done 209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211 CONFIG_SHELL=$SHELL as_have_required=yes 212 fi; } 213 IFS=$as_save_IFS 214 215 216 if test "x$CONFIG_SHELL" != x; then : 217 # We cannot yet assume a decent shell, so we have to provide a 218 # neutralization value for shells without unset; and this also 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232 fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240 else 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242 $0: rappture@nanohub.org about your system, including any 243 $0: error possibly output before this message. Then install 244 $0: a modern shell, or manually run the script under such a 245 $0: shell if you do have one." 246 fi 247 exit 1 248 fi 249 fi 250 fi 251 SHELL=${CONFIG_SHELL-/bin/sh} 252 export SHELL 253 # Unset more variables known to interfere with behavior of common tools. 254 CLICOLOR_FORCE= GREP_OPTIONS= 255 unset CLICOLOR_FORCE GREP_OPTIONS 256 257 ## --------------------- ## 258 ## M4sh Shell Functions. ## 259 ## --------------------- ## 260 # as_fn_unset VAR 261 # --------------- 262 # Portably unset VAR. 263 as_fn_unset () 264 { 265 { eval $1=; unset $1;} 266 } 267 as_unset=as_fn_unset 268 269 # as_fn_set_status STATUS 270 # ----------------------- 271 # Set $? to STATUS, without forking. 272 as_fn_set_status () 273 { 274 return $1 275 } # as_fn_set_status 276 277 # as_fn_exit STATUS 278 # ----------------- 279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280 as_fn_exit () 281 { 282 set +e 283 as_fn_set_status $1 284 exit $1 285 } # as_fn_exit 286 287 # as_fn_mkdir_p 288 # ------------- 289 # Create "$as_dir" as a directory, including parents if necessary. 290 as_fn_mkdir_p () 291 { 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309 $as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 331 332 333 } # as_fn_mkdir_p 334 # as_fn_append VAR VALUE 335 # ---------------------- 336 # Append the text in VALUE to the end of the definition contained in VAR. Take 337 # advantage of any shell optimizations that allow amortized linear growth over 338 # repeated appends, instead of the typical quadratic growth present in naive 339 # implementations. 340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345 else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350 fi # as_fn_append 351 352 # as_fn_arith ARG... 353 # ------------------ 354 # Perform arithmetic evaluation on the ARGs, and store the result in the 355 # global $as_val. Take advantage of shells that can avoid forks. The arguments 356 # must be portable across $(()) and expr. 357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362 else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367 fi # as_fn_arith 368 369 370 # as_fn_error STATUS ERROR [LINENO LOG_FD] 371 # ---------------------------------------- 372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374 # script with STATUS, using 1 if that was 0. 375 as_fn_error () 376 { 377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 381 fi 382 $as_echo "$as_me: error: $2" >&2 383 as_fn_exit $as_status 384 } # as_fn_error 385 137 386 if expr a : '\(a\)' >/dev/null 2>&1 && 138 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 148 397 fi 149 398 150 151 # Name of the executable. 399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401 else 402 as_dirname=false 403 fi 404 152 405 as_me=`$as_basename -- "$0" || 153 406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 169 422 s/.*/./; q'` 170 423 171 # CDPATH. 172 $as_unset CDPATH 173 174 175 if test "x$CONFIG_SHELL" = x; then 176 if (eval ":") 2>/dev/null; then 177 as_have_required=yes 178 else 179 as_have_required=no 180 fi 181 182 if test $as_have_required = yes && (eval ": 183 (as_func_return () { 184 (exit \$1) 185 } 186 as_func_success () { 187 as_func_return 0 188 } 189 as_func_failure () { 190 as_func_return 1 191 } 192 as_func_ret_success () { 193 return 0 194 } 195 as_func_ret_failure () { 196 return 1 197 } 198 199 exitcode=0 200 if as_func_success; then 201 : 202 else 203 exitcode=1 204 echo as_func_success failed. 205 fi 206 207 if as_func_failure; then 208 exitcode=1 209 echo as_func_failure succeeded. 210 fi 211 212 if as_func_ret_success; then 213 : 214 else 215 exitcode=1 216 echo as_func_ret_success failed. 217 fi 218 219 if as_func_ret_failure; then 220 exitcode=1 221 echo as_func_ret_failure succeeded. 222 fi 223 224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225 : 226 else 227 exitcode=1 228 echo positional parameters were not saved. 229 fi 230 231 test \$exitcode = 0) || { (exit 1); exit 1; } 232 233 ( 234 as_lineno_1=\$LINENO 235 as_lineno_2=\$LINENO 236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238 ") 2> /dev/null; then 239 : 240 else 241 as_candidate_shells= 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244 do 245 IFS=$as_save_IFS 246 test -z "$as_dir" && as_dir=. 247 case $as_dir in 248 /*) 249 for as_base in sh bash ksh sh5; do 250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251 done;; 252 esac 253 done 254 IFS=$as_save_IFS 255 256 257 for as_shell in $as_candidate_shells $SHELL; do 258 # Try only shells that exist, to save several forks. 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260 { ("$as_shell") 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 _ASEOF 278 }; then 279 CONFIG_SHELL=$as_shell 280 as_have_required=yes 281 if { "$as_shell" 2> /dev/null <<\_ASEOF 282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283 emulate sh 284 NULLCMD=: 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286 # is contrary to our usage. Disable this feature. 287 alias -g '${1+"$@"}'='"$@"' 288 setopt NO_GLOB_SUBST 289 else 290 case `(set -o) 2>/dev/null` in 291 *posix*) set -o posix ;; 292 esac 293 294 fi 295 296 297 : 298 (as_func_return () { 299 (exit $1) 300 } 301 as_func_success () { 302 as_func_return 0 303 } 304 as_func_failure () { 305 as_func_return 1 306 } 307 as_func_ret_success () { 308 return 0 309 } 310 as_func_ret_failure () { 311 return 1 312 } 313 314 exitcode=0 315 if as_func_success; then 316 : 317 else 318 exitcode=1 319 echo as_func_success failed. 320 fi 321 322 if as_func_failure; then 323 exitcode=1 324 echo as_func_failure succeeded. 325 fi 326 327 if as_func_ret_success; then 328 : 329 else 330 exitcode=1 331 echo as_func_ret_success failed. 332 fi 333 334 if as_func_ret_failure; then 335 exitcode=1 336 echo as_func_ret_failure succeeded. 337 fi 338 339 if ( set x; as_func_ret_success y && test x = "$1" ); then 340 : 341 else 342 exitcode=1 343 echo positional parameters were not saved. 344 fi 345 346 test $exitcode = 0) || { (exit 1); exit 1; } 347 348 ( 349 as_lineno_1=$LINENO 350 as_lineno_2=$LINENO 351 test "x$as_lineno_1" != "x$as_lineno_2" && 352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353 354 _ASEOF 355 }; then 356 break 357 fi 358 359 fi 360 361 done 362 363 if test "x$CONFIG_SHELL" != x; then 364 for as_var in BASH_ENV ENV 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369 fi 370 371 372 if test $as_have_required = no; then 373 echo This script requires a shell more modern than all the 374 echo shells that I found on your system. Please install a 375 echo modern shell, or manually run the script under such a 376 echo shell if you do have one. 377 { (exit 1); exit 1; } 378 fi 379 380 381 fi 382 383 fi 384 385 386 387 (eval "as_func_return () { 388 (exit \$1) 389 } 390 as_func_success () { 391 as_func_return 0 392 } 393 as_func_failure () { 394 as_func_return 1 395 } 396 as_func_ret_success () { 397 return 0 398 } 399 as_func_ret_failure () { 400 return 1 401 } 402 403 exitcode=0 404 if as_func_success; then 405 : 406 else 407 exitcode=1 408 echo as_func_success failed. 409 fi 410 411 if as_func_failure; then 412 exitcode=1 413 echo as_func_failure succeeded. 414 fi 415 416 if as_func_ret_success; then 417 : 418 else 419 exitcode=1 420 echo as_func_ret_success failed. 421 fi 422 423 if as_func_ret_failure; then 424 exitcode=1 425 echo as_func_ret_failure succeeded. 426 fi 427 428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429 : 430 else 431 exitcode=1 432 echo positional parameters were not saved. 433 fi 434 435 test \$exitcode = 0") || { 436 echo No shell found that supports shell functions. 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 441 } 442 443 444 445 as_lineno_1=$LINENO 446 as_lineno_2=$LINENO 447 test "x$as_lineno_1" != "x$as_lineno_2" && 448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449 450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451 # uniformly replaced by the line number. The first 'sed' inserts a 452 # line-number line after each line using $LINENO; the second 'sed' 453 # does the real work. The second script uses 'N' to pair each 454 # line-number line with the line containing $LINENO, and appends 455 # trailing '-' during substitution so that $LINENO is not a special 456 # case at line end. 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458 # scripts with optimization help from Paolo Bonzini. Blame Lee 459 # E. McMahon (1931-1989) for sed's syntax. :-) 424 # Avoid depending upon Character Ranges. 425 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 428 as_cr_digits='0123456789' 429 as_cr_alnum=$as_cr_Letters$as_cr_digits 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 460 437 sed -n ' 461 438 p … … 474 451 ' >$as_me.lineno && 475 452 chmod +x "$as_me.lineno" || 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 478 454 479 455 # Don't try to exec as it changes $[0], causing all sort of problems … … 485 461 } 486 462 487 488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then489 as_dirname=dirname490 else491 as_dirname=false492 fi493 494 463 ECHO_C= ECHO_N= ECHO_T= 495 case `echo -n x` in 464 case `echo -n x` in #((((( 496 465 -n*) 497 case `echo 'x \c'` in466 case `echo 'xy\c'` in 498 467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499 *) ECHO_C='\c';; 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 500 471 esac;; 501 472 *) 502 473 ECHO_N='-n';; 503 474 esac 504 if expr a : '\(a\)' >/dev/null 2>&1 &&505 test "X`expr 00001 : '.*\(...\)'`" = X001; then506 as_expr=expr507 else508 as_expr=false509 fi510 475 511 476 rm -f conf$$ conf$$.exe conf$$.file … … 537 502 538 503 if mkdir -p . 2>/dev/null; then 539 as_mkdir_p= :504 as_mkdir_p='mkdir -p "$as_dir"' 540 505 else 541 506 test -d ./-p && rmdir ./-p … … 556 521 test -d "$1/."; 557 522 else 558 case $1 in 523 case $1 in #( 559 524 -*)set "./$1";; 560 525 esac; 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 562 527 ???[sx]*):;;*)false;;esac;fi 563 528 '\'' sh … … 573 538 574 539 575 576 exec 7<&0 </dev/null6>&1540 test -n "$DJDIR" || exec 7<&0 </dev/null 541 exec 6>&1 577 542 578 543 # Name of the host. 579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 580 545 # so uname gets run too. 581 546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 592 557 MFLAGS= 593 558 MAKEFLAGS= 594 SHELL=${CONFIG_SHELL-/bin/sh}595 559 596 560 # Identity of this package. … … 600 564 PACKAGE_STRING='vizservers 0.1' 601 565 PACKAGE_BUGREPORT='rappture@nanohub.org' 566 PACKAGE_URL='' 602 567 603 568 # Factoring default headers for most tests. … … 694 659 DL_OBJS 695 660 DL_LIBS 661 AR 662 RANLIB 696 663 EGREP 697 664 GREP 698 665 CPP 699 AR700 RANLIB701 666 OBJEXT 702 667 EXEEXT … … 706 671 CFLAGS 707 672 CC 673 PYTHON 708 674 target_alias 709 675 host_alias … … 736 702 prefix 737 703 exec_prefix 704 PACKAGE_URL 738 705 PACKAGE_BUGREPORT 739 706 PACKAGE_STRING … … 751 718 with_vtk_libs 752 719 with_vtk 720 with_python 753 721 enable_64bit 754 722 enable_64bit_vis … … 833 801 834 802 case $ac_option in 835 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 836 *) ac_optarg=yes ;; 803 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 804 *=) ac_optarg= ;; 805 *) ac_optarg=yes ;; 837 806 esac 838 807 … … 879 848 # Reject names that are not valid shell variable names. 880 849 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 881 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 882 { (exit 1); exit 1; }; } 850 as_fn_error $? "invalid feature name: $ac_useropt" 883 851 ac_useropt_orig=$ac_useropt 884 852 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 906 874 # Reject names that are not valid shell variable names. 907 875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 908 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 909 { (exit 1); exit 1; }; } 876 as_fn_error $? "invalid feature name: $ac_useropt" 910 877 ac_useropt_orig=$ac_useropt 911 878 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1111 1078 # Reject names that are not valid shell variable names. 1112 1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1113 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1114 { (exit 1); exit 1; }; } 1080 as_fn_error $? "invalid package name: $ac_useropt" 1115 1081 ac_useropt_orig=$ac_useropt 1116 1082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1128 1094 # Reject names that are not valid shell variable names. 1129 1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1130 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1131 { (exit 1); exit 1; }; } 1096 as_fn_error $? "invalid package name: $ac_useropt" 1132 1097 ac_useropt_orig=$ac_useropt 1133 1098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1159 1124 x_libraries=$ac_optarg ;; 1160 1125 1161 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1162 Try \`$0 --help' for more information." >&2 1163 { (exit 1); exit 1; }; } 1126 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1127 Try \`$0 --help' for more information" 1164 1128 ;; 1165 1129 … … 1167 1131 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1168 1132 # Reject names that are not valid shell variable names. 1169 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1170 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1171 { (exit 1); exit 1; }; } 1133 case $ac_envvar in #( 1134 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1135 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1136 esac 1172 1137 eval $ac_envvar=\$ac_optarg 1173 1138 export $ac_envvar ;; … … 1178 1143 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1179 1144 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1180 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1145 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1181 1146 ;; 1182 1147 … … 1186 1151 if test -n "$ac_prev"; then 1187 1152 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1188 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1189 { (exit 1); exit 1; }; } 1153 as_fn_error $? "missing argument to $ac_option" 1190 1154 fi 1191 1155 … … 1193 1157 case $enable_option_checking in 1194 1158 no) ;; 1195 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1196 { (exit 1); exit 1; }; } ;; 1159 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1197 1160 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1198 1161 esac … … 1217 1180 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1218 1181 esac 1219 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1220 { (exit 1); exit 1; }; } 1182 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1221 1183 done 1222 1184 … … 1232 1194 if test "x$build_alias" = x; then 1233 1195 cross_compiling=maybe 1234 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1235 If a cross compiler is detected then cross compile mode will be used ." >&21196 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1197 If a cross compiler is detected then cross compile mode will be used" >&2 1236 1198 elif test "x$build_alias" != "x$host_alias"; then 1237 1199 cross_compiling=yes … … 1248 1210 ac_ls_di=`ls -di .` && 1249 1211 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1250 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1251 { (exit 1); exit 1; }; } 1212 as_fn_error $? "working directory cannot be determined" 1252 1213 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1253 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1254 { (exit 1); exit 1; }; } 1214 as_fn_error $? "pwd does not report name of working directory" 1255 1215 1256 1216 … … 1291 1251 if test ! -r "$srcdir/$ac_unique_file"; then 1292 1252 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1293 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1294 { (exit 1); exit 1; }; } 1253 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1295 1254 fi 1296 1255 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1297 1256 ac_abs_confdir=`( 1298 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1299 { (exit 1); exit 1; }; } 1257 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1300 1258 pwd)` 1301 1259 # When building in place, set srcdir=. … … 1337 1295 --help=recursive display the short help of all the included packages 1338 1296 -V, --version display version information and exit 1339 -q, --quiet, --silent do not print \`checking ...' messages1297 -q, --quiet, --silent do not print \`checking ...' messages 1340 1298 --cache-file=FILE cache test results in FILE [disabled] 1341 1299 -C, --config-cache alias for \`--cache-file=config.cache' … … 1411 1369 --with-vtk-libs=DIR VTK libraries are in DIR 1412 1370 --with-vtk=VERSION Version of VTK required 1371 --with-python=DIR location of python [default=yes] 1413 1372 --with-x use the X Window System 1414 1373 … … 1419 1378 nonstandard directory <lib dir> 1420 1379 LIBS libraries to pass to the linker, e.g. -l<library> 1421 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1380 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1422 1381 you have headers in a nonstandard directory <include dir> 1423 1382 CPP C preprocessor … … 1494 1453 cat <<\_ACEOF 1495 1454 vizservers configure 0.1 1496 generated by GNU Autoconf 2.63 1497 1498 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1499 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1455 generated by GNU Autoconf 2.68 1456 1457 Copyright (C) 2010 Free Software Foundation, Inc. 1500 1458 This configure script is free software; the Free Software Foundation 1501 1459 gives unlimited permission to copy, distribute and modify it. … … 1503 1461 exit 1504 1462 fi 1463 1464 ## ------------------------ ## 1465 ## Autoconf initialization. ## 1466 ## ------------------------ ## 1467 1468 # ac_fn_c_try_compile LINENO 1469 # -------------------------- 1470 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1471 ac_fn_c_try_compile () 1472 { 1473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1474 rm -f conftest.$ac_objext 1475 if { { ac_try="$ac_compile" 1476 case "(($ac_try" in 1477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1478 *) ac_try_echo=$ac_try;; 1479 esac 1480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1481 $as_echo "$ac_try_echo"; } >&5 1482 (eval "$ac_compile") 2>conftest.err 1483 ac_status=$? 1484 if test -s conftest.err; then 1485 grep -v '^ *+' conftest.err >conftest.er1 1486 cat conftest.er1 >&5 1487 mv -f conftest.er1 conftest.err 1488 fi 1489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1490 test $ac_status = 0; } && { 1491 test -z "$ac_c_werror_flag" || 1492 test ! -s conftest.err 1493 } && test -s conftest.$ac_objext; then : 1494 ac_retval=0 1495 else 1496 $as_echo "$as_me: failed program was:" >&5 1497 sed 's/^/| /' conftest.$ac_ext >&5 1498 1499 ac_retval=1 1500 fi 1501 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1502 as_fn_set_status $ac_retval 1503 1504 } # ac_fn_c_try_compile 1505 1506 # ac_fn_c_try_cpp LINENO 1507 # ---------------------- 1508 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1509 ac_fn_c_try_cpp () 1510 { 1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1512 if { { ac_try="$ac_cpp conftest.$ac_ext" 1513 case "(($ac_try" in 1514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1515 *) ac_try_echo=$ac_try;; 1516 esac 1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1518 $as_echo "$ac_try_echo"; } >&5 1519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1520 ac_status=$? 1521 if test -s conftest.err; then 1522 grep -v '^ *+' conftest.err >conftest.er1 1523 cat conftest.er1 >&5 1524 mv -f conftest.er1 conftest.err 1525 fi 1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1527 test $ac_status = 0; } > conftest.i && { 1528 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1529 test ! -s conftest.err 1530 }; then : 1531 ac_retval=0 1532 else 1533 $as_echo "$as_me: failed program was:" >&5 1534 sed 's/^/| /' conftest.$ac_ext >&5 1535 1536 ac_retval=1 1537 fi 1538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1539 as_fn_set_status $ac_retval 1540 1541 } # ac_fn_c_try_cpp 1542 1543 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1544 # ------------------------------------------------------- 1545 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1546 # the include files in INCLUDES and setting the cache variable VAR 1547 # accordingly. 1548 ac_fn_c_check_header_mongrel () 1549 { 1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1551 if eval \${$3+:} false; then : 1552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1553 $as_echo_n "checking for $2... " >&6; } 1554 if eval \${$3+:} false; then : 1555 $as_echo_n "(cached) " >&6 1556 fi 1557 eval ac_res=\$$3 1558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1559 $as_echo "$ac_res" >&6; } 1560 else 1561 # Is the header compilable? 1562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1563 $as_echo_n "checking $2 usability... " >&6; } 1564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1565 /* end confdefs.h. */ 1566 $4 1567 #include <$2> 1568 _ACEOF 1569 if ac_fn_c_try_compile "$LINENO"; then : 1570 ac_header_compiler=yes 1571 else 1572 ac_header_compiler=no 1573 fi 1574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1576 $as_echo "$ac_header_compiler" >&6; } 1577 1578 # Is the header present? 1579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1580 $as_echo_n "checking $2 presence... " >&6; } 1581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1582 /* end confdefs.h. */ 1583 #include <$2> 1584 _ACEOF 1585 if ac_fn_c_try_cpp "$LINENO"; then : 1586 ac_header_preproc=yes 1587 else 1588 ac_header_preproc=no 1589 fi 1590 rm -f conftest.err conftest.i conftest.$ac_ext 1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1592 $as_echo "$ac_header_preproc" >&6; } 1593 1594 # So? What about this header? 1595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1596 yes:no: ) 1597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1598 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1600 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1601 ;; 1602 no:yes:* ) 1603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1604 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1606 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1608 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1610 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1612 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1613 ( $as_echo "## ----------------------------------- ## 1614 ## Report this to rappture@nanohub.org ## 1615 ## ----------------------------------- ##" 1616 ) | sed "s/^/$as_me: WARNING: /" >&2 1617 ;; 1618 esac 1619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1620 $as_echo_n "checking for $2... " >&6; } 1621 if eval \${$3+:} false; then : 1622 $as_echo_n "(cached) " >&6 1623 else 1624 eval "$3=\$ac_header_compiler" 1625 fi 1626 eval ac_res=\$$3 1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1628 $as_echo "$ac_res" >&6; } 1629 fi 1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1631 1632 } # ac_fn_c_check_header_mongrel 1633 1634 # ac_fn_c_try_run LINENO 1635 # ---------------------- 1636 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1637 # that executables *can* be run. 1638 ac_fn_c_try_run () 1639 { 1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1641 if { { ac_try="$ac_link" 1642 case "(($ac_try" in 1643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1644 *) ac_try_echo=$ac_try;; 1645 esac 1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1647 $as_echo "$ac_try_echo"; } >&5 1648 (eval "$ac_link") 2>&5 1649 ac_status=$? 1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1651 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1652 { { case "(($ac_try" in 1653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1654 *) ac_try_echo=$ac_try;; 1655 esac 1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1657 $as_echo "$ac_try_echo"; } >&5 1658 (eval "$ac_try") 2>&5 1659 ac_status=$? 1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1661 test $ac_status = 0; }; }; then : 1662 ac_retval=0 1663 else 1664 $as_echo "$as_me: program exited with status $ac_status" >&5 1665 $as_echo "$as_me: failed program was:" >&5 1666 sed 's/^/| /' conftest.$ac_ext >&5 1667 1668 ac_retval=$ac_status 1669 fi 1670 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1672 as_fn_set_status $ac_retval 1673 1674 } # ac_fn_c_try_run 1675 1676 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1677 # ------------------------------------------------------- 1678 # Tests whether HEADER exists and can be compiled using the include files in 1679 # INCLUDES, setting the cache variable VAR accordingly. 1680 ac_fn_c_check_header_compile () 1681 { 1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1684 $as_echo_n "checking for $2... " >&6; } 1685 if eval \${$3+:} false; then : 1686 $as_echo_n "(cached) " >&6 1687 else 1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1689 /* end confdefs.h. */ 1690 $4 1691 #include <$2> 1692 _ACEOF 1693 if ac_fn_c_try_compile "$LINENO"; then : 1694 eval "$3=yes" 1695 else 1696 eval "$3=no" 1697 fi 1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1699 fi 1700 eval ac_res=\$$3 1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1702 $as_echo "$ac_res" >&6; } 1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1704 1705 } # ac_fn_c_check_header_compile 1706 1707 # ac_fn_c_try_link LINENO 1708 # ----------------------- 1709 # Try to link conftest.$ac_ext, and return whether this succeeded. 1710 ac_fn_c_try_link () 1711 { 1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1713 rm -f conftest.$ac_objext conftest$ac_exeext 1714 if { { ac_try="$ac_link" 1715 case "(($ac_try" in 1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1717 *) ac_try_echo=$ac_try;; 1718 esac 1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1720 $as_echo "$ac_try_echo"; } >&5 1721 (eval "$ac_link") 2>conftest.err 1722 ac_status=$? 1723 if test -s conftest.err; then 1724 grep -v '^ *+' conftest.err >conftest.er1 1725 cat conftest.er1 >&5 1726 mv -f conftest.er1 conftest.err 1727 fi 1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1729 test $ac_status = 0; } && { 1730 test -z "$ac_c_werror_flag" || 1731 test ! -s conftest.err 1732 } && test -s conftest$ac_exeext && { 1733 test "$cross_compiling" = yes || 1734 $as_test_x conftest$ac_exeext 1735 }; then : 1736 ac_retval=0 1737 else 1738 $as_echo "$as_me: failed program was:" >&5 1739 sed 's/^/| /' conftest.$ac_ext >&5 1740 1741 ac_retval=1 1742 fi 1743 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1744 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1745 # interfere with the next link command; also delete a directory that is 1746 # left behind by Apple's compiler. We do this before executing the actions. 1747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1749 as_fn_set_status $ac_retval 1750 1751 } # ac_fn_c_try_link 1752 1753 # ac_fn_cxx_try_compile LINENO 1754 # ---------------------------- 1755 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1756 ac_fn_cxx_try_compile () 1757 { 1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1759 rm -f conftest.$ac_objext 1760 if { { ac_try="$ac_compile" 1761 case "(($ac_try" in 1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1763 *) ac_try_echo=$ac_try;; 1764 esac 1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1766 $as_echo "$ac_try_echo"; } >&5 1767 (eval "$ac_compile") 2>conftest.err 1768 ac_status=$? 1769 if test -s conftest.err; then 1770 grep -v '^ *+' conftest.err >conftest.er1 1771 cat conftest.er1 >&5 1772 mv -f conftest.er1 conftest.err 1773 fi 1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1775 test $ac_status = 0; } && { 1776 test -z "$ac_cxx_werror_flag" || 1777 test ! -s conftest.err 1778 } && test -s conftest.$ac_objext; then : 1779 ac_retval=0 1780 else 1781 $as_echo "$as_me: failed program was:" >&5 1782 sed 's/^/| /' conftest.$ac_ext >&5 1783 1784 ac_retval=1 1785 fi 1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1787 as_fn_set_status $ac_retval 1788 1789 } # ac_fn_cxx_try_compile 1790 1791 # ac_fn_cxx_try_cpp LINENO 1792 # ------------------------ 1793 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1794 ac_fn_cxx_try_cpp () 1795 { 1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1797 if { { ac_try="$ac_cpp conftest.$ac_ext" 1798 case "(($ac_try" in 1799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1800 *) ac_try_echo=$ac_try;; 1801 esac 1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1803 $as_echo "$ac_try_echo"; } >&5 1804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1805 ac_status=$? 1806 if test -s conftest.err; then 1807 grep -v '^ *+' conftest.err >conftest.er1 1808 cat conftest.er1 >&5 1809 mv -f conftest.er1 conftest.err 1810 fi 1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1812 test $ac_status = 0; } > conftest.i && { 1813 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1814 test ! -s conftest.err 1815 }; then : 1816 ac_retval=0 1817 else 1818 $as_echo "$as_me: failed program was:" >&5 1819 sed 's/^/| /' conftest.$ac_ext >&5 1820 1821 ac_retval=1 1822 fi 1823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1824 as_fn_set_status $ac_retval 1825 1826 } # ac_fn_cxx_try_cpp 1827 1828 # ac_fn_cxx_try_run LINENO 1829 # ------------------------ 1830 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1831 # that executables *can* be run. 1832 ac_fn_cxx_try_run () 1833 { 1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1835 if { { ac_try="$ac_link" 1836 case "(($ac_try" in 1837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1838 *) ac_try_echo=$ac_try;; 1839 esac 1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1841 $as_echo "$ac_try_echo"; } >&5 1842 (eval "$ac_link") 2>&5 1843 ac_status=$? 1844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1845 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1846 { { case "(($ac_try" in 1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1848 *) ac_try_echo=$ac_try;; 1849 esac 1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1851 $as_echo "$ac_try_echo"; } >&5 1852 (eval "$ac_try") 2>&5 1853 ac_status=$? 1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1855 test $ac_status = 0; }; }; then : 1856 ac_retval=0 1857 else 1858 $as_echo "$as_me: program exited with status $ac_status" >&5 1859 $as_echo "$as_me: failed program was:" >&5 1860 sed 's/^/| /' conftest.$ac_ext >&5 1861 1862 ac_retval=$ac_status 1863 fi 1864 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1866 as_fn_set_status $ac_retval 1867 1868 } # ac_fn_cxx_try_run 1869 1870 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 1871 # ---------------------------------------------- 1872 # Tries to find the compile-time value of EXPR in a program that includes 1873 # INCLUDES, setting VAR accordingly. Returns whether the value could be 1874 # computed 1875 ac_fn_cxx_compute_int () 1876 { 1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1878 if test "$cross_compiling" = yes; then 1879 # Depending upon the size, compute the lo and hi bounds. 1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1881 /* end confdefs.h. */ 1882 $4 1883 int 1884 main () 1885 { 1886 static int test_array [1 - 2 * !(($2) >= 0)]; 1887 test_array [0] = 0 1888 1889 ; 1890 return 0; 1891 } 1892 _ACEOF 1893 if ac_fn_cxx_try_compile "$LINENO"; then : 1894 ac_lo=0 ac_mid=0 1895 while :; do 1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1897 /* end confdefs.h. */ 1898 $4 1899 int 1900 main () 1901 { 1902 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1903 test_array [0] = 0 1904 1905 ; 1906 return 0; 1907 } 1908 _ACEOF 1909 if ac_fn_cxx_try_compile "$LINENO"; then : 1910 ac_hi=$ac_mid; break 1911 else 1912 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1913 if test $ac_lo -le $ac_mid; then 1914 ac_lo= ac_hi= 1915 break 1916 fi 1917 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1918 fi 1919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1920 done 1921 else 1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1923 /* end confdefs.h. */ 1924 $4 1925 int 1926 main () 1927 { 1928 static int test_array [1 - 2 * !(($2) < 0)]; 1929 test_array [0] = 0 1930 1931 ; 1932 return 0; 1933 } 1934 _ACEOF 1935 if ac_fn_cxx_try_compile "$LINENO"; then : 1936 ac_hi=-1 ac_mid=-1 1937 while :; do 1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1939 /* end confdefs.h. */ 1940 $4 1941 int 1942 main () 1943 { 1944 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1945 test_array [0] = 0 1946 1947 ; 1948 return 0; 1949 } 1950 _ACEOF 1951 if ac_fn_cxx_try_compile "$LINENO"; then : 1952 ac_lo=$ac_mid; break 1953 else 1954 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1955 if test $ac_mid -le $ac_hi; then 1956 ac_lo= ac_hi= 1957 break 1958 fi 1959 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1960 fi 1961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1962 done 1963 else 1964 ac_lo= ac_hi= 1965 fi 1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1967 fi 1968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1969 # Binary search between lo and hi bounds. 1970 while test "x$ac_lo" != "x$ac_hi"; do 1971 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1973 /* end confdefs.h. */ 1974 $4 1975 int 1976 main () 1977 { 1978 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1979 test_array [0] = 0 1980 1981 ; 1982 return 0; 1983 } 1984 _ACEOF 1985 if ac_fn_cxx_try_compile "$LINENO"; then : 1986 ac_hi=$ac_mid 1987 else 1988 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1989 fi 1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1991 done 1992 case $ac_lo in #(( 1993 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 1994 '') ac_retval=1 ;; 1995 esac 1996 else 1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1998 /* end confdefs.h. */ 1999 $4 2000 static long int longval () { return $2; } 2001 static unsigned long int ulongval () { return $2; } 2002 #include <stdio.h> 2003 #include <stdlib.h> 2004 int 2005 main () 2006 { 2007 2008 FILE *f = fopen ("conftest.val", "w"); 2009 if (! f) 2010 return 1; 2011 if (($2) < 0) 2012 { 2013 long int i = longval (); 2014 if (i != ($2)) 2015 return 1; 2016 fprintf (f, "%ld", i); 2017 } 2018 else 2019 { 2020 unsigned long int i = ulongval (); 2021 if (i != ($2)) 2022 return 1; 2023 fprintf (f, "%lu", i); 2024 } 2025 /* Do not output a trailing newline, as this causes \r\n confusion 2026 on some platforms. */ 2027 return ferror (f) || fclose (f) != 0; 2028 2029 ; 2030 return 0; 2031 } 2032 _ACEOF 2033 if ac_fn_cxx_try_run "$LINENO"; then : 2034 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2035 else 2036 ac_retval=1 2037 fi 2038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2039 conftest.$ac_objext conftest.beam conftest.$ac_ext 2040 rm -f conftest.val 2041 2042 fi 2043 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2044 as_fn_set_status $ac_retval 2045 2046 } # ac_fn_cxx_compute_int 2047 2048 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 2049 # --------------------------------------------------------- 2050 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 2051 # the include files in INCLUDES and setting the cache variable VAR 2052 # accordingly. 2053 ac_fn_cxx_check_header_mongrel () 2054 { 2055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2056 if eval \${$3+:} false; then : 2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2058 $as_echo_n "checking for $2... " >&6; } 2059 if eval \${$3+:} false; then : 2060 $as_echo_n "(cached) " >&6 2061 fi 2062 eval ac_res=\$$3 2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2064 $as_echo "$ac_res" >&6; } 2065 else 2066 # Is the header compilable? 2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2068 $as_echo_n "checking $2 usability... " >&6; } 2069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2070 /* end confdefs.h. */ 2071 $4 2072 #include <$2> 2073 _ACEOF 2074 if ac_fn_cxx_try_compile "$LINENO"; then : 2075 ac_header_compiler=yes 2076 else 2077 ac_header_compiler=no 2078 fi 2079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2081 $as_echo "$ac_header_compiler" >&6; } 2082 2083 # Is the header present? 2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2085 $as_echo_n "checking $2 presence... " >&6; } 2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2087 /* end confdefs.h. */ 2088 #include <$2> 2089 _ACEOF 2090 if ac_fn_cxx_try_cpp "$LINENO"; then : 2091 ac_header_preproc=yes 2092 else 2093 ac_header_preproc=no 2094 fi 2095 rm -f conftest.err conftest.i conftest.$ac_ext 2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2097 $as_echo "$ac_header_preproc" >&6; } 2098 2099 # So? What about this header? 2100 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2101 yes:no: ) 2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2103 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2105 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2106 ;; 2107 no:yes:* ) 2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2109 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2111 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2113 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2115 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2117 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2118 ( $as_echo "## ----------------------------------- ## 2119 ## Report this to rappture@nanohub.org ## 2120 ## ----------------------------------- ##" 2121 ) | sed "s/^/$as_me: WARNING: /" >&2 2122 ;; 2123 esac 2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2125 $as_echo_n "checking for $2... " >&6; } 2126 if eval \${$3+:} false; then : 2127 $as_echo_n "(cached) " >&6 2128 else 2129 eval "$3=\$ac_header_compiler" 2130 fi 2131 eval ac_res=\$$3 2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2133 $as_echo "$ac_res" >&6; } 2134 fi 2135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2136 2137 } # ac_fn_cxx_check_header_mongrel 2138 2139 # ac_fn_cxx_try_link LINENO 2140 # ------------------------- 2141 # Try to link conftest.$ac_ext, and return whether this succeeded. 2142 ac_fn_cxx_try_link () 2143 { 2144 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2145 rm -f conftest.$ac_objext conftest$ac_exeext 2146 if { { ac_try="$ac_link" 2147 case "(($ac_try" in 2148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2149 *) ac_try_echo=$ac_try;; 2150 esac 2151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2152 $as_echo "$ac_try_echo"; } >&5 2153 (eval "$ac_link") 2>conftest.err 2154 ac_status=$? 2155 if test -s conftest.err; then 2156 grep -v '^ *+' conftest.err >conftest.er1 2157 cat conftest.er1 >&5 2158 mv -f conftest.er1 conftest.err 2159 fi 2160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2161 test $ac_status = 0; } && { 2162 test -z "$ac_cxx_werror_flag" || 2163 test ! -s conftest.err 2164 } && test -s conftest$ac_exeext && { 2165 test "$cross_compiling" = yes || 2166 $as_test_x conftest$ac_exeext 2167 }; then : 2168 ac_retval=0 2169 else 2170 $as_echo "$as_me: failed program was:" >&5 2171 sed 's/^/| /' conftest.$ac_ext >&5 2172 2173 ac_retval=1 2174 fi 2175 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2176 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2177 # interfere with the next link command; also delete a directory that is 2178 # left behind by Apple's compiler. We do this before executing the actions. 2179 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2180 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2181 as_fn_set_status $ac_retval 2182 2183 } # ac_fn_cxx_try_link 2184 2185 # ac_fn_cxx_check_func LINENO FUNC VAR 2186 # ------------------------------------ 2187 # Tests whether FUNC exists, setting the cache variable VAR accordingly 2188 ac_fn_cxx_check_func () 2189 { 2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2192 $as_echo_n "checking for $2... " >&6; } 2193 if eval \${$3+:} false; then : 2194 $as_echo_n "(cached) " >&6 2195 else 2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2197 /* end confdefs.h. */ 2198 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2199 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2200 #define $2 innocuous_$2 2201 2202 /* System header to define __stub macros and hopefully few prototypes, 2203 which can conflict with char $2 (); below. 2204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2205 <limits.h> exists even on freestanding compilers. */ 2206 2207 #ifdef __STDC__ 2208 # include <limits.h> 2209 #else 2210 # include <assert.h> 2211 #endif 2212 2213 #undef $2 2214 2215 /* Override any GCC internal prototype to avoid an error. 2216 Use char because int might match the return type of a GCC 2217 builtin and then its argument prototype would still apply. */ 2218 #ifdef __cplusplus 2219 extern "C" 2220 #endif 2221 char $2 (); 2222 /* The GNU C library defines this for functions which it implements 2223 to always fail with ENOSYS. Some functions are actually named 2224 something starting with __ and the normal name is an alias. */ 2225 #if defined __stub_$2 || defined __stub___$2 2226 choke me 2227 #endif 2228 2229 int 2230 main () 2231 { 2232 return $2 (); 2233 ; 2234 return 0; 2235 } 2236 _ACEOF 2237 if ac_fn_cxx_try_link "$LINENO"; then : 2238 eval "$3=yes" 2239 else 2240 eval "$3=no" 2241 fi 2242 rm -f core conftest.err conftest.$ac_objext \ 2243 conftest$ac_exeext conftest.$ac_ext 2244 fi 2245 eval ac_res=\$$3 2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2247 $as_echo "$ac_res" >&6; } 2248 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2249 2250 } # ac_fn_cxx_check_func 2251 2252 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2253 # --------------------------------------------------------- 2254 # Tests whether HEADER exists and can be compiled using the include files in 2255 # INCLUDES, setting the cache variable VAR accordingly. 2256 ac_fn_cxx_check_header_compile () 2257 { 2258 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2260 $as_echo_n "checking for $2... " >&6; } 2261 if eval \${$3+:} false; then : 2262 $as_echo_n "(cached) " >&6 2263 else 2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2265 /* end confdefs.h. */ 2266 $4 2267 #include <$2> 2268 _ACEOF 2269 if ac_fn_cxx_try_compile "$LINENO"; then : 2270 eval "$3=yes" 2271 else 2272 eval "$3=no" 2273 fi 2274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2275 fi 2276 eval ac_res=\$$3 2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2278 $as_echo "$ac_res" >&6; } 2279 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2280 2281 } # ac_fn_cxx_check_header_compile 1505 2282 cat >config.log <<_ACEOF 1506 2283 This file contains any messages produced by compilers while … … 1508 2285 1509 2286 It was created by vizservers $as_me 0.1, which was 1510 generated by GNU Autoconf 2.6 3. Invocation command line was2287 generated by GNU Autoconf 2.68. Invocation command line was 1511 2288 1512 2289 $ $0 $@ … … 1544 2321 IFS=$as_save_IFS 1545 2322 test -z "$as_dir" && as_dir=. 1546 $as_echo "PATH: $as_dir"1547 done2323 $as_echo "PATH: $as_dir" 2324 done 1548 2325 IFS=$as_save_IFS 1549 2326 … … 1582 2359 esac 1583 2360 case $ac_pass in 1584 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2361 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1585 2362 2) 1586 a c_configure_args1="$ac_configure_args1'$ac_arg'"2363 as_fn_append ac_configure_args1 " '$ac_arg'" 1587 2364 if test $ac_must_keep_next = true; then 1588 2365 ac_must_keep_next=false # Got value, back to normal. … … 1600 2377 esac 1601 2378 fi 1602 a c_configure_args="$ac_configure_args'$ac_arg'"2379 as_fn_append ac_configure_args " '$ac_arg'" 1603 2380 ;; 1604 2381 esac 1605 2382 done 1606 2383 done 1607 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1608 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2384 { ac_configure_args0=; unset ac_configure_args0;} 2385 { ac_configure_args1=; unset ac_configure_args1;} 1609 2386 1610 2387 # When interrupted or exit'd, cleanup temporary files, and complete … … 1618 2395 echo 1619 2396 1620 cat <<\_ASBOX 1621 ## ---------------- ## 2397 $as_echo "## ---------------- ## 1622 2398 ## Cache variables. ## 1623 ## ---------------- ## 1624 _ASBOX 2399 ## ---------------- ##" 1625 2400 echo 1626 2401 # The following way of writing the cache mishandles newlines in values, … … 1631 2406 *${as_nl}*) 1632 2407 case $ac_var in #( 1633 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&52408 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1634 2409 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1635 2410 esac … … 1637 2412 _ | IFS | as_nl) ;; #( 1638 2413 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1639 *) $as_unset $ac_var;;2414 *) { eval $ac_var=; unset $ac_var;} ;; 1640 2415 esac ;; 1641 2416 esac … … 1656 2431 echo 1657 2432 1658 cat <<\_ASBOX 1659 ## ----------------- ## 2433 $as_echo "## ----------------- ## 1660 2434 ## Output variables. ## 1661 ## ----------------- ## 1662 _ASBOX 2435 ## ----------------- ##" 1663 2436 echo 1664 2437 for ac_var in $ac_subst_vars … … 1673 2446 1674 2447 if test -n "$ac_subst_files"; then 1675 cat <<\_ASBOX 1676 ## ------------------- ## 2448 $as_echo "## ------------------- ## 1677 2449 ## File substitutions. ## 1678 ## ------------------- ## 1679 _ASBOX 2450 ## ------------------- ##" 1680 2451 echo 1681 2452 for ac_var in $ac_subst_files … … 1691 2462 1692 2463 if test -s confdefs.h; then 1693 cat <<\_ASBOX 1694 ## ----------- ## 2464 $as_echo "## ----------- ## 1695 2465 ## confdefs.h. ## 1696 ## ----------- ## 1697 _ASBOX 2466 ## ----------- ##" 1698 2467 echo 1699 2468 cat confdefs.h … … 1709 2478 ' 0 1710 2479 for ac_signal in 1 2 13 15; do 1711 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2480 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1712 2481 done 1713 2482 ac_signal=0 … … 1716 2485 rm -f -r conftest* confdefs.h 1717 2486 2487 $as_echo "/* confdefs.h */" > confdefs.h 2488 1718 2489 # Predefined preprocessor variables. 1719 2490 … … 1722 2493 _ACEOF 1723 2494 1724 1725 2495 cat >>confdefs.h <<_ACEOF 1726 2496 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1727 2497 _ACEOF 1728 2498 1729 1730 2499 cat >>confdefs.h <<_ACEOF 1731 2500 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1732 2501 _ACEOF 1733 2502 1734 1735 2503 cat >>confdefs.h <<_ACEOF 1736 2504 #define PACKAGE_STRING "$PACKAGE_STRING" 1737 2505 _ACEOF 1738 2506 1739 1740 2507 cat >>confdefs.h <<_ACEOF 1741 2508 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2509 _ACEOF 2510 2511 cat >>confdefs.h <<_ACEOF 2512 #define PACKAGE_URL "$PACKAGE_URL" 1742 2513 _ACEOF 1743 2514 … … 1748 2519 ac_site_file2=NONE 1749 2520 if test -n "$CONFIG_SITE"; then 1750 ac_site_file1=$CONFIG_SITE 2521 # We do not want a PATH search for config.site. 2522 case $CONFIG_SITE in #(( 2523 -*) ac_site_file1=./$CONFIG_SITE;; 2524 */*) ac_site_file1=$CONFIG_SITE;; 2525 *) ac_site_file1=./$CONFIG_SITE;; 2526 esac 1751 2527 elif test "x$prefix" != xNONE; then 1752 2528 ac_site_file1=$prefix/share/config.site … … 1759 2535 do 1760 2536 test "x$ac_site_file" = xNONE && continue 1761 if test -r "$ac_site_file"; then1762 { $as_echo "$as_me:$ LINENO: loading site script $ac_site_file" >&52537 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2538 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1763 2539 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1764 2540 sed 's/^/| /' "$ac_site_file" >&5 1765 . "$ac_site_file" 2541 . "$ac_site_file" \ 2542 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2544 as_fn_error $? "failed to load site script $ac_site_file 2545 See \`config.log' for more details" "$LINENO" 5; } 1766 2546 fi 1767 2547 done 1768 2548 1769 2549 if test -r "$cache_file"; then 1770 # Some versions of bash will fail to source /dev/null (special 1771 # files actually), so we avoid doing that.1772 if test -f "$cache_file"; then1773 { $as_echo "$as_me:$ LINENO: loading cache $cache_file" >&52550 # Some versions of bash will fail to source /dev/null (special files 2551 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2552 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2553 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1774 2554 $as_echo "$as_me: loading cache $cache_file" >&6;} 1775 2555 case $cache_file in … … 1779 2559 fi 1780 2560 else 1781 { $as_echo "$as_me:$ LINENO: creating cache $cache_file" >&52561 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1782 2562 $as_echo "$as_me: creating cache $cache_file" >&6;} 1783 2563 >$cache_file … … 1794 2574 case $ac_old_set,$ac_new_set in 1795 2575 set,) 1796 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52576 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1797 2577 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1798 2578 ac_cache_corrupted=: ;; 1799 2579 ,set) 1800 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was not set in the previous run" >&52580 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1801 2581 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1802 2582 ac_cache_corrupted=: ;; … … 1808 2588 ac_new_val_w=`echo x $ac_new_val` 1809 2589 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1810 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' has changed since the previous run:" >&52590 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1811 2591 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1812 2592 ac_cache_corrupted=: 1813 2593 else 1814 { $as_echo "$as_me:$ LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52594 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1815 2595 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1816 2596 eval $ac_var=\$ac_old_val 1817 2597 fi 1818 { $as_echo "$as_me:$ LINENO: former value: \`$ac_old_val'" >&52598 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1819 2599 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1820 { $as_echo "$as_me:$ LINENO: current value: \`$ac_new_val'" >&52600 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1821 2601 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1822 2602 fi;; … … 1830 2610 case " $ac_configure_args " in 1831 2611 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1832 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2612 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1833 2613 esac 1834 2614 fi 1835 2615 done 1836 2616 if $ac_cache_corrupted; then 1837 { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52617 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1838 2618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1839 { $as_echo "$as_me:$ LINENO: error: changes in the environment can compromise the build" >&52619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1840 2620 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1841 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1842 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1843 { (exit 1); exit 1; }; } 1844 fi 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 2621 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2622 fi 2623 ## -------------------- ## 2624 ## Main body of script. ## 2625 ## -------------------- ## 1869 2626 1870 2627 ac_ext=c … … 1875 2632 1876 2633 2634 ac_aux_dir= 2635 for ac_dir in cf "$srcdir"/cf; do 2636 if test -f "$ac_dir/install-sh"; then 2637 ac_aux_dir=$ac_dir 2638 ac_install_sh="$ac_aux_dir/install-sh -c" 2639 break 2640 elif test -f "$ac_dir/install.sh"; then 2641 ac_aux_dir=$ac_dir 2642 ac_install_sh="$ac_aux_dir/install.sh -c" 2643 break 2644 elif test -f "$ac_dir/shtool"; then 2645 ac_aux_dir=$ac_dir 2646 ac_install_sh="$ac_aux_dir/shtool install -c" 2647 break 2648 fi 2649 done 2650 if test -z "$ac_aux_dir"; then 2651 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 2652 fi 2653 2654 # These three variables are undocumented and unsupported, 2655 # and are intended to be withdrawn in a future Autoconf release. 2656 # They can cause serious problems if a builder's source tree is in a directory 2657 # whose full name contains unusual characters. 2658 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2659 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2660 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2661 2662 1877 2663 ac_config_headers="$ac_config_headers nanovis/nvconf.h nanoscale/config.h" 1878 2664 … … 1880 2666 1881 2667 # Check whether --with-tcllib was given. 1882 if test "${with_tcllib+set}" = set; then 2668 if test "${with_tcllib+set}" = set; then : 1883 2669 withval=$with_tcllib; with_tcllib=$withval 1884 2670 else … … 1889 2675 1890 2676 # Check whether --with-rappture was given. 1891 if test "${with_rappture+set}" = set; then 2677 if test "${with_rappture+set}" = set; then : 1892 2678 withval=$with_rappture; with_rappture=$withval 1893 2679 else … … 1898 2684 1899 2685 # Check whether --with-vtk-includes was given. 1900 if test "${with_vtk_includes+set}" = set; then 2686 if test "${with_vtk_includes+set}" = set; then : 1901 2687 withval=$with_vtk_includes; with_vtk_includes=$withval 1902 2688 else … … 1907 2693 1908 2694 # Check whether --with-vtk-libs was given. 1909 if test "${with_vtk_libs+set}" = set; then 2695 if test "${with_vtk_libs+set}" = set; then : 1910 2696 withval=$with_vtk_libs; with_vtk_libs=$withval 1911 2697 else … … 1916 2702 1917 2703 # Check whether --with-vtk was given. 1918 if test "${with_vtk+set}" = set; then 2704 if test "${with_vtk+set}" = set; then : 1919 2705 withval=$with_vtk; with_vtk=$withval 1920 2706 else … … 1922 2708 fi 1923 2709 1924 1925 VERSION=0.0.11926 1927 #------------------------------------------------------------------------1928 # Handle the --prefix=... option1929 #------------------------------------------------------------------------1930 1931 if test "${prefix}" = "NONE"; then1932 prefix=/usr/local1933 fi1934 if test "${exec_prefix}" = "NONE"; then1935 exec_prefix=$prefix1936 fi1937 1938 if test "x${incdir}" == "x"; then1939 incdir=${exec_prefix}/include1940 fi1941 libdir=${exec_prefix}/lib1942 1943 if test "${libdir}" != "${prefix}/lib"; then1944 LIB_SEARCH_DIRS="-L ${prefix}/lib -L ${libdir}"1945 else1946 LIB_SEARCH_DIRS="-L ${libdir}"1947 fi1948 2710 1949 2711 ac_ext=c … … 1955 2717 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1956 2718 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1957 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1958 2720 $as_echo_n "checking for $ac_word... " >&6; } 1959 if test "${ac_cv_prog_CC+set}" = set; then2721 if ${ac_cv_prog_CC+:} false; then : 1960 2722 $as_echo_n "(cached) " >&6 1961 2723 else … … 1968 2730 IFS=$as_save_IFS 1969 2731 test -z "$as_dir" && as_dir=. 1970 for ac_exec_ext in '' $ac_executable_extensions; do2732 for ac_exec_ext in '' $ac_executable_extensions; do 1971 2733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1972 2734 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1973 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1974 2736 break 2 1975 2737 fi 1976 2738 done 1977 done2739 done 1978 2740 IFS=$as_save_IFS 1979 2741 … … 1982 2744 CC=$ac_cv_prog_CC 1983 2745 if test -n "$CC"; then 1984 { $as_echo "$as_me:$ LINENO: result: $CC" >&52746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1985 2747 $as_echo "$CC" >&6; } 1986 2748 else 1987 { $as_echo "$as_me:$ LINENO: result: no" >&52749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1988 2750 $as_echo "no" >&6; } 1989 2751 fi … … 1995 2757 # Extract the first word of "gcc", so it can be a program name with args. 1996 2758 set dummy gcc; ac_word=$2 1997 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1998 2760 $as_echo_n "checking for $ac_word... " >&6; } 1999 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2761 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2000 2762 $as_echo_n "(cached) " >&6 2001 2763 else … … 2008 2770 IFS=$as_save_IFS 2009 2771 test -z "$as_dir" && as_dir=. 2010 for ac_exec_ext in '' $ac_executable_extensions; do2772 for ac_exec_ext in '' $ac_executable_extensions; do 2011 2773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2012 2774 ac_cv_prog_ac_ct_CC="gcc" 2013 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2014 2776 break 2 2015 2777 fi 2016 2778 done 2017 done2779 done 2018 2780 IFS=$as_save_IFS 2019 2781 … … 2022 2784 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2023 2785 if test -n "$ac_ct_CC"; then 2024 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2025 2787 $as_echo "$ac_ct_CC" >&6; } 2026 2788 else 2027 { $as_echo "$as_me:$ LINENO: result: no" >&52789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2028 2790 $as_echo "no" >&6; } 2029 2791 fi … … 2034 2796 case $cross_compiling:$ac_tool_warned in 2035 2797 yes:) 2036 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2037 2799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2038 2800 ac_tool_warned=yes ;; … … 2048 2810 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2049 2811 set dummy ${ac_tool_prefix}cc; ac_word=$2 2050 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2051 2813 $as_echo_n "checking for $ac_word... " >&6; } 2052 if test "${ac_cv_prog_CC+set}" = set; then2814 if ${ac_cv_prog_CC+:} false; then : 2053 2815 $as_echo_n "(cached) " >&6 2054 2816 else … … 2061 2823 IFS=$as_save_IFS 2062 2824 test -z "$as_dir" && as_dir=. 2063 for ac_exec_ext in '' $ac_executable_extensions; do2825 for ac_exec_ext in '' $ac_executable_extensions; do 2064 2826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2065 2827 ac_cv_prog_CC="${ac_tool_prefix}cc" 2066 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2067 2829 break 2 2068 2830 fi 2069 2831 done 2070 done2832 done 2071 2833 IFS=$as_save_IFS 2072 2834 … … 2075 2837 CC=$ac_cv_prog_CC 2076 2838 if test -n "$CC"; then 2077 { $as_echo "$as_me:$ LINENO: result: $CC" >&52839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2078 2840 $as_echo "$CC" >&6; } 2079 2841 else 2080 { $as_echo "$as_me:$ LINENO: result: no" >&52842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2081 2843 $as_echo "no" >&6; } 2082 2844 fi … … 2088 2850 # Extract the first word of "cc", so it can be a program name with args. 2089 2851 set dummy cc; ac_word=$2 2090 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2091 2853 $as_echo_n "checking for $ac_word... " >&6; } 2092 if test "${ac_cv_prog_CC+set}" = set; then2854 if ${ac_cv_prog_CC+:} false; then : 2093 2855 $as_echo_n "(cached) " >&6 2094 2856 else … … 2102 2864 IFS=$as_save_IFS 2103 2865 test -z "$as_dir" && as_dir=. 2104 for ac_exec_ext in '' $ac_executable_extensions; do2866 for ac_exec_ext in '' $ac_executable_extensions; do 2105 2867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2106 2868 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2109 2871 fi 2110 2872 ac_cv_prog_CC="cc" 2111 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2112 2874 break 2 2113 2875 fi 2114 2876 done 2115 done2877 done 2116 2878 IFS=$as_save_IFS 2117 2879 … … 2132 2894 CC=$ac_cv_prog_CC 2133 2895 if test -n "$CC"; then 2134 { $as_echo "$as_me:$ LINENO: result: $CC" >&52896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2135 2897 $as_echo "$CC" >&6; } 2136 2898 else 2137 { $as_echo "$as_me:$ LINENO: result: no" >&52899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2138 2900 $as_echo "no" >&6; } 2139 2901 fi … … 2147 2909 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2148 2910 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2149 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2150 2912 $as_echo_n "checking for $ac_word... " >&6; } 2151 if test "${ac_cv_prog_CC+set}" = set; then2913 if ${ac_cv_prog_CC+:} false; then : 2152 2914 $as_echo_n "(cached) " >&6 2153 2915 else … … 2160 2922 IFS=$as_save_IFS 2161 2923 test -z "$as_dir" && as_dir=. 2162 for ac_exec_ext in '' $ac_executable_extensions; do2924 for ac_exec_ext in '' $ac_executable_extensions; do 2163 2925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2164 2926 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2165 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2166 2928 break 2 2167 2929 fi 2168 2930 done 2169 done2931 done 2170 2932 IFS=$as_save_IFS 2171 2933 … … 2174 2936 CC=$ac_cv_prog_CC 2175 2937 if test -n "$CC"; then 2176 { $as_echo "$as_me:$ LINENO: result: $CC" >&52938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2177 2939 $as_echo "$CC" >&6; } 2178 2940 else 2179 { $as_echo "$as_me:$ LINENO: result: no" >&52941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2180 2942 $as_echo "no" >&6; } 2181 2943 fi … … 2191 2953 # Extract the first word of "$ac_prog", so it can be a program name with args. 2192 2954 set dummy $ac_prog; ac_word=$2 2193 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2194 2956 $as_echo_n "checking for $ac_word... " >&6; } 2195 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2957 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2196 2958 $as_echo_n "(cached) " >&6 2197 2959 else … … 2204 2966 IFS=$as_save_IFS 2205 2967 test -z "$as_dir" && as_dir=. 2206 for ac_exec_ext in '' $ac_executable_extensions; do2968 for ac_exec_ext in '' $ac_executable_extensions; do 2207 2969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2208 2970 ac_cv_prog_ac_ct_CC="$ac_prog" 2209 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2210 2972 break 2 2211 2973 fi 2212 2974 done 2213 done2975 done 2214 2976 IFS=$as_save_IFS 2215 2977 … … 2218 2980 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2219 2981 if test -n "$ac_ct_CC"; then 2220 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2221 2983 $as_echo "$ac_ct_CC" >&6; } 2222 2984 else 2223 { $as_echo "$as_me:$ LINENO: result: no" >&52985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2224 2986 $as_echo "no" >&6; } 2225 2987 fi … … 2234 2996 case $cross_compiling:$ac_tool_warned in 2235 2997 yes:) 2236 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2237 2999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2238 3000 ac_tool_warned=yes ;; … … 2245 3007 2246 3008 2247 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53009 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2248 3010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2249 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2250 See \`config.log' for more details." >&5 2251 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2252 See \`config.log' for more details." >&2;} 2253 { (exit 1); exit 1; }; }; } 3011 as_fn_error $? "no acceptable C compiler found in \$PATH 3012 See \`config.log' for more details" "$LINENO" 5; } 2254 3013 2255 3014 # Provide some information about the compiler. 2256 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&53015 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2257 3016 set X $ac_compile 2258 3017 ac_compiler=$2 2259 { (ac_try="$ac_compiler --version >&5" 3018 for ac_option in --version -v -V -qversion; do 3019 { { ac_try="$ac_compiler $ac_option >&5" 2260 3020 case "(($ac_try" in 2261 3021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2262 3022 *) ac_try_echo=$ac_try;; 2263 3023 esac 2264 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2265 $as_echo "$ac_try_echo" )>&52266 (eval "$ac_compiler --version >&5") 2>&53024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3025 $as_echo "$ac_try_echo"; } >&5 3026 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2267 3027 ac_status=$? 2268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2269 (exit $ac_status); } 2270 { (ac_try="$ac_compiler -v >&5" 2271 case "(($ac_try" in 2272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2273 *) ac_try_echo=$ac_try;; 2274 esac 2275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2276 $as_echo "$ac_try_echo") >&5 2277 (eval "$ac_compiler -v >&5") 2>&5 2278 ac_status=$? 2279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2280 (exit $ac_status); } 2281 { (ac_try="$ac_compiler -V >&5" 2282 case "(($ac_try" in 2283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2284 *) ac_try_echo=$ac_try;; 2285 esac 2286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2287 $as_echo "$ac_try_echo") >&5 2288 (eval "$ac_compiler -V >&5") 2>&5 2289 ac_status=$? 2290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2291 (exit $ac_status); } 2292 2293 cat >conftest.$ac_ext <<_ACEOF 2294 /* confdefs.h. */ 2295 _ACEOF 2296 cat confdefs.h >>conftest.$ac_ext 2297 cat >>conftest.$ac_ext <<_ACEOF 3028 if test -s conftest.err; then 3029 sed '10a\ 3030 ... rest of stderr output deleted ... 3031 10q' conftest.err >conftest.er1 3032 cat conftest.er1 >&5 3033 fi 3034 rm -f conftest.er1 conftest.err 3035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3036 test $ac_status = 0; } 3037 done 3038 3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2298 3040 /* end confdefs.h. */ 2299 3041 … … 2311 3053 # It will help us diagnose broken compilers, and finding out an intuition 2312 3054 # of exeext. 2313 { $as_echo "$as_me:$ LINENO: checking for C compiler default output file name" >&52314 $as_echo_n "checking for C compiler default output file name... " >&6; }3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3056 $as_echo_n "checking whether the C compiler works... " >&6; } 2315 3057 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2316 3058 … … 2328 3070 rm -f $ac_rmfiles 2329 3071 2330 if { (ac_try="$ac_link_default"3072 if { { ac_try="$ac_link_default" 2331 3073 case "(($ac_try" in 2332 3074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2333 3075 *) ac_try_echo=$ac_try;; 2334 3076 esac 2335 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2336 $as_echo "$ac_try_echo" )>&53077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3078 $as_echo "$ac_try_echo"; } >&5 2337 3079 (eval "$ac_link_default") 2>&5 2338 3080 ac_status=$? 2339 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52340 (exit $ac_status); }; then3081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3082 test $ac_status = 0; }; then : 2341 3083 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2342 3084 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2355 3097 break;; 2356 3098 *.* ) 2357 3099 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2358 3100 then :; else 2359 3101 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2374 3116 ac_file='' 2375 3117 fi 2376 2377 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3118 if test -z "$ac_file"; then : 3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3120 $as_echo "no" >&6; } 3121 $as_echo "$as_me: failed program was:" >&5 3122 sed 's/^/| /' conftest.$ac_ext >&5 3123 3124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3126 as_fn_error 77 "C compiler cannot create executables 3127 See \`config.log' for more details" "$LINENO" 5; } 3128 else 3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3130 $as_echo "yes" >&6; } 3131 fi 3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3133 $as_echo_n "checking for C compiler default output file name... " >&6; } 3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2378 3135 $as_echo "$ac_file" >&6; } 2379 if test -z "$ac_file"; then2380 $as_echo "$as_me: failed program was:" >&52381 sed 's/^/| /' conftest.$ac_ext >&52382 2383 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2385 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables2386 See \`config.log' for more details." >&52387 $as_echo "$as_me: error: C compiler cannot create executables2388 See \`config.log' for more details." >&2;}2389 { (exit 77); exit 77; }; }; }2390 fi2391 2392 3136 ac_exeext=$ac_cv_exeext 2393 2394 # Check that the compiler produces executables we can run. If not, either2395 # the compiler is broken, or we cross compile.2396 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&52397 $as_echo_n "checking whether the C compiler works... " >&6; }2398 # FIXME: These cross compiler hacks should be removed for Autoconf 3.02399 # If not cross compiling, check that we can run a simple program.2400 if test "$cross_compiling" != yes; then2401 if { ac_try='./$ac_file'2402 { (case "(($ac_try" in2403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2404 *) ac_try_echo=$ac_try;;2405 esac2406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""2407 $as_echo "$ac_try_echo") >&52408 (eval "$ac_try") 2>&52409 ac_status=$?2410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52411 (exit $ac_status); }; }; then2412 cross_compiling=no2413 else2414 if test "$cross_compiling" = maybe; then2415 cross_compiling=yes2416 else2417 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2419 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.2420 If you meant to cross compile, use \`--host'.2421 See \`config.log' for more details." >&52422 $as_echo "$as_me: error: cannot run C compiled programs.2423 If you meant to cross compile, use \`--host'.2424 See \`config.log' for more details." >&2;}2425 { (exit 1); exit 1; }; }; }2426 fi2427 fi2428 fi2429 { $as_echo "$as_me:$LINENO: result: yes" >&52430 $as_echo "yes" >&6; }2431 3137 2432 3138 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2433 3139 ac_clean_files=$ac_clean_files_save 2434 # Check that the compiler produces executables we can run. If not, either 2435 # the compiler is broken, or we cross compile. 2436 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2437 $as_echo_n "checking whether we are cross compiling... " >&6; } 2438 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2439 $as_echo "$cross_compiling" >&6; } 2440 2441 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2442 3141 $as_echo_n "checking for suffix of executables... " >&6; } 2443 if { (ac_try="$ac_link"3142 if { { ac_try="$ac_link" 2444 3143 case "(($ac_try" in 2445 3144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2446 3145 *) ac_try_echo=$ac_try;; 2447 3146 esac 2448 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2449 $as_echo "$ac_try_echo" )>&53147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3148 $as_echo "$ac_try_echo"; } >&5 2450 3149 (eval "$ac_link") 2>&5 2451 3150 ac_status=$? 2452 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52453 (exit $ac_status); }; then3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3152 test $ac_status = 0; }; then : 2454 3153 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2455 3154 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2466 3165 done 2467 3166 else 2468 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2469 3168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2470 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2471 See \`config.log' for more details." >&5 2472 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2473 See \`config.log' for more details." >&2;} 2474 { (exit 1); exit 1; }; }; } 2475 fi 2476 2477 rm -f conftest$ac_cv_exeext 2478 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3169 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3170 See \`config.log' for more details" "$LINENO" 5; } 3171 fi 3172 rm -f conftest conftest$ac_cv_exeext 3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2479 3174 $as_echo "$ac_cv_exeext" >&6; } 2480 3175 … … 2482 3177 EXEEXT=$ac_cv_exeext 2483 3178 ac_exeext=$EXEEXT 2484 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2485 $as_echo_n "checking for suffix of object files... " >&6; } 2486 if test "${ac_cv_objext+set}" = set; then 2487 $as_echo_n "(cached) " >&6 2488 else 2489 cat >conftest.$ac_ext <<_ACEOF 2490 /* confdefs.h. */ 2491 _ACEOF 2492 cat confdefs.h >>conftest.$ac_ext 2493 cat >>conftest.$ac_ext <<_ACEOF 3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2494 3180 /* end confdefs.h. */ 2495 3181 #include <stdio.h> 2496 3182 int 2497 3183 main () 2498 3184 { 3185 FILE *f = fopen ("conftest.out", "w"); 3186 return ferror (f) || fclose (f) != 0; 2499 3187 2500 3188 ; … … 2502 3190 } 2503 3191 _ACEOF 2504 rm -f conftest.o conftest.obj 2505 if { (ac_try="$ac_compile" 3192 ac_clean_files="$ac_clean_files conftest.out" 3193 # Check that the compiler produces executables we can run. If not, either 3194 # the compiler is broken, or we cross compile. 3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3196 $as_echo_n "checking whether we are cross compiling... " >&6; } 3197 if test "$cross_compiling" != yes; then 3198 { { ac_try="$ac_link" 2506 3199 case "(($ac_try" in 2507 3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2508 3201 *) ac_try_echo=$ac_try;; 2509 3202 esac 2510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2511 $as_echo "$ac_try_echo") >&5 3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3204 $as_echo "$ac_try_echo"; } >&5 3205 (eval "$ac_link") 2>&5 3206 ac_status=$? 3207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3208 test $ac_status = 0; } 3209 if { ac_try='./conftest$ac_cv_exeext' 3210 { { case "(($ac_try" in 3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3212 *) ac_try_echo=$ac_try;; 3213 esac 3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3215 $as_echo "$ac_try_echo"; } >&5 3216 (eval "$ac_try") 2>&5 3217 ac_status=$? 3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3219 test $ac_status = 0; }; }; then 3220 cross_compiling=no 3221 else 3222 if test "$cross_compiling" = maybe; then 3223 cross_compiling=yes 3224 else 3225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3227 as_fn_error $? "cannot run C compiled programs. 3228 If you meant to cross compile, use \`--host'. 3229 See \`config.log' for more details" "$LINENO" 5; } 3230 fi 3231 fi 3232 fi 3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3234 $as_echo "$cross_compiling" >&6; } 3235 3236 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3237 ac_clean_files=$ac_clean_files_save 3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3239 $as_echo_n "checking for suffix of object files... " >&6; } 3240 if ${ac_cv_objext+:} false; then : 3241 $as_echo_n "(cached) " >&6 3242 else 3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3244 /* end confdefs.h. */ 3245 3246 int 3247 main () 3248 { 3249 3250 ; 3251 return 0; 3252 } 3253 _ACEOF 3254 rm -f conftest.o conftest.obj 3255 if { { ac_try="$ac_compile" 3256 case "(($ac_try" in 3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3258 *) ac_try_echo=$ac_try;; 3259 esac 3260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3261 $as_echo "$ac_try_echo"; } >&5 2512 3262 (eval "$ac_compile") 2>&5 2513 3263 ac_status=$? 2514 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52515 (exit $ac_status); }; then3264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3265 test $ac_status = 0; }; then : 2516 3266 for ac_file in conftest.o conftest.obj conftest.*; do 2517 3267 test -f "$ac_file" || continue; … … 2526 3276 sed 's/^/| /' conftest.$ac_ext >&5 2527 3277 2528 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2529 3279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2530 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2531 See \`config.log' for more details." >&5 2532 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2533 See \`config.log' for more details." >&2;} 2534 { (exit 1); exit 1; }; }; } 2535 fi 2536 3280 as_fn_error $? "cannot compute suffix of object files: cannot compile 3281 See \`config.log' for more details" "$LINENO" 5; } 3282 fi 2537 3283 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2538 3284 fi 2539 { $as_echo "$as_me:$ LINENO: result: $ac_cv_objext" >&53285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2540 3286 $as_echo "$ac_cv_objext" >&6; } 2541 3287 OBJEXT=$ac_cv_objext 2542 3288 ac_objext=$OBJEXT 2543 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU C compiler" >&53289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2544 3290 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2545 if test "${ac_cv_c_compiler_gnu+set}" = set; then3291 if ${ac_cv_c_compiler_gnu+:} false; then : 2546 3292 $as_echo_n "(cached) " >&6 2547 3293 else 2548 cat >conftest.$ac_ext <<_ACEOF 2549 /* confdefs.h. */ 2550 _ACEOF 2551 cat confdefs.h >>conftest.$ac_ext 2552 cat >>conftest.$ac_ext <<_ACEOF 3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2553 3295 /* end confdefs.h. */ 2554 3296 … … 2564 3306 } 2565 3307 _ACEOF 2566 rm -f conftest.$ac_objext 2567 if { (ac_try="$ac_compile" 2568 case "(($ac_try" in 2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2570 *) ac_try_echo=$ac_try;; 2571 esac 2572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2573 $as_echo "$ac_try_echo") >&5 2574 (eval "$ac_compile") 2>conftest.er1 2575 ac_status=$? 2576 grep -v '^ *+' conftest.er1 >conftest.err 2577 rm -f conftest.er1 2578 cat conftest.err >&5 2579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2580 (exit $ac_status); } && { 2581 test -z "$ac_c_werror_flag" || 2582 test ! -s conftest.err 2583 } && test -s conftest.$ac_objext; then 3308 if ac_fn_c_try_compile "$LINENO"; then : 2584 3309 ac_compiler_gnu=yes 2585 3310 else 2586 $as_echo "$as_me: failed program was:" >&5 2587 sed 's/^/| /' conftest.$ac_ext >&5 2588 2589 ac_compiler_gnu=no 2590 fi 2591 3311 ac_compiler_gnu=no 3312 fi 2592 3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2593 3314 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2594 3315 2595 3316 fi 2596 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&53317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2597 3318 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2598 3319 if test $ac_compiler_gnu = yes; then … … 2603 3324 ac_test_CFLAGS=${CFLAGS+set} 2604 3325 ac_save_CFLAGS=$CFLAGS 2605 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&53326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2606 3327 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2607 if test "${ac_cv_prog_cc_g+set}" = set; then3328 if ${ac_cv_prog_cc_g+:} false; then : 2608 3329 $as_echo_n "(cached) " >&6 2609 3330 else … … 2612 3333 ac_cv_prog_cc_g=no 2613 3334 CFLAGS="-g" 2614 cat >conftest.$ac_ext <<_ACEOF 2615 /* confdefs.h. */ 2616 _ACEOF 2617 cat confdefs.h >>conftest.$ac_ext 2618 cat >>conftest.$ac_ext <<_ACEOF 3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2619 3336 /* end confdefs.h. */ 2620 3337 … … 2627 3344 } 2628 3345 _ACEOF 2629 rm -f conftest.$ac_objext 2630 if { (ac_try="$ac_compile" 2631 case "(($ac_try" in 2632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2633 *) ac_try_echo=$ac_try;; 2634 esac 2635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2636 $as_echo "$ac_try_echo") >&5 2637 (eval "$ac_compile") 2>conftest.er1 2638 ac_status=$? 2639 grep -v '^ *+' conftest.er1 >conftest.err 2640 rm -f conftest.er1 2641 cat conftest.err >&5 2642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2643 (exit $ac_status); } && { 2644 test -z "$ac_c_werror_flag" || 2645 test ! -s conftest.err 2646 } && test -s conftest.$ac_objext; then 3346 if ac_fn_c_try_compile "$LINENO"; then : 2647 3347 ac_cv_prog_cc_g=yes 2648 3348 else 2649 $as_echo "$as_me: failed program was:" >&5 2650 sed 's/^/| /' conftest.$ac_ext >&5 2651 2652 CFLAGS="" 2653 cat >conftest.$ac_ext <<_ACEOF 2654 /* confdefs.h. */ 2655 _ACEOF 2656 cat confdefs.h >>conftest.$ac_ext 2657 cat >>conftest.$ac_ext <<_ACEOF 3349 CFLAGS="" 3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2658 3351 /* end confdefs.h. */ 2659 3352 … … 2666 3359 } 2667 3360 _ACEOF 2668 rm -f conftest.$ac_objext 2669 if { (ac_try="$ac_compile" 2670 case "(($ac_try" in 2671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2672 *) ac_try_echo=$ac_try;; 2673 esac 2674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2675 $as_echo "$ac_try_echo") >&5 2676 (eval "$ac_compile") 2>conftest.er1 2677 ac_status=$? 2678 grep -v '^ *+' conftest.er1 >conftest.err 2679 rm -f conftest.er1 2680 cat conftest.err >&5 2681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2682 (exit $ac_status); } && { 2683 test -z "$ac_c_werror_flag" || 2684 test ! -s conftest.err 2685 } && test -s conftest.$ac_objext; then 2686 : 2687 else 2688 $as_echo "$as_me: failed program was:" >&5 2689 sed 's/^/| /' conftest.$ac_ext >&5 2690 2691 ac_c_werror_flag=$ac_save_c_werror_flag 3361 if ac_fn_c_try_compile "$LINENO"; then : 3362 3363 else 3364 ac_c_werror_flag=$ac_save_c_werror_flag 2692 3365 CFLAGS="-g" 2693 cat >conftest.$ac_ext <<_ACEOF 2694 /* confdefs.h. */ 2695 _ACEOF 2696 cat confdefs.h >>conftest.$ac_ext 2697 cat >>conftest.$ac_ext <<_ACEOF 3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2698 3367 /* end confdefs.h. */ 2699 3368 … … 2706 3375 } 2707 3376 _ACEOF 2708 rm -f conftest.$ac_objext 2709 if { (ac_try="$ac_compile" 2710 case "(($ac_try" in 2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2712 *) ac_try_echo=$ac_try;; 2713 esac 2714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2715 $as_echo "$ac_try_echo") >&5 2716 (eval "$ac_compile") 2>conftest.er1 2717 ac_status=$? 2718 grep -v '^ *+' conftest.er1 >conftest.err 2719 rm -f conftest.er1 2720 cat conftest.err >&5 2721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2722 (exit $ac_status); } && { 2723 test -z "$ac_c_werror_flag" || 2724 test ! -s conftest.err 2725 } && test -s conftest.$ac_objext; then 3377 if ac_fn_c_try_compile "$LINENO"; then : 2726 3378 ac_cv_prog_cc_g=yes 2727 else 2728 $as_echo "$as_me: failed program was:" >&5 2729 sed 's/^/| /' conftest.$ac_ext >&5 2730 2731 2732 fi 2733 3379 fi 2734 3380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2735 3381 fi 2736 2737 3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2738 3383 fi 2739 2740 3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2741 3385 ac_c_werror_flag=$ac_save_c_werror_flag 2742 3386 fi 2743 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&53387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2744 3388 $as_echo "$ac_cv_prog_cc_g" >&6; } 2745 3389 if test "$ac_test_CFLAGS" = set; then … … 2758 3402 fi 2759 3403 fi 2760 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&53404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2761 3405 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2762 if test "${ac_cv_prog_cc_c89+set}" = set; then3406 if ${ac_cv_prog_cc_c89+:} false; then : 2763 3407 $as_echo_n "(cached) " >&6 2764 3408 else 2765 3409 ac_cv_prog_cc_c89=no 2766 3410 ac_save_CC=$CC 2767 cat >conftest.$ac_ext <<_ACEOF 2768 /* confdefs.h. */ 2769 _ACEOF 2770 cat confdefs.h >>conftest.$ac_ext 2771 cat >>conftest.$ac_ext <<_ACEOF 3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2772 3412 /* end confdefs.h. */ 2773 3413 #include <stdarg.h> … … 2826 3466 do 2827 3467 CC="$ac_save_CC $ac_arg" 2828 rm -f conftest.$ac_objext 2829 if { (ac_try="$ac_compile" 2830 case "(($ac_try" in 2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2832 *) ac_try_echo=$ac_try;; 2833 esac 2834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2835 $as_echo "$ac_try_echo") >&5 2836 (eval "$ac_compile") 2>conftest.er1 2837 ac_status=$? 2838 grep -v '^ *+' conftest.er1 >conftest.err 2839 rm -f conftest.er1 2840 cat conftest.err >&5 2841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2842 (exit $ac_status); } && { 2843 test -z "$ac_c_werror_flag" || 2844 test ! -s conftest.err 2845 } && test -s conftest.$ac_objext; then 3468 if ac_fn_c_try_compile "$LINENO"; then : 2846 3469 ac_cv_prog_cc_c89=$ac_arg 2847 else 2848 $as_echo "$as_me: failed program was:" >&5 2849 sed 's/^/| /' conftest.$ac_ext >&5 2850 2851 2852 fi 2853 3470 fi 2854 3471 rm -f core conftest.err conftest.$ac_objext 2855 3472 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2862 3479 case "x$ac_cv_prog_cc_c89" in 2863 3480 x) 2864 { $as_echo "$as_me:$ LINENO: result: none needed" >&53481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2865 3482 $as_echo "none needed" >&6; } ;; 2866 3483 xno) 2867 { $as_echo "$as_me:$ LINENO: result: unsupported" >&53484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2868 3485 $as_echo "unsupported" >&6; } ;; 2869 3486 *) 2870 3487 CC="$CC $ac_cv_prog_cc_c89" 2871 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&53488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2872 3489 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2873 3490 esac 2874 3491 if test "x$ac_cv_prog_cc_c89" != xno; then : 3492 3493 fi 2875 3494 2876 3495 ac_ext=c … … 2881 3500 2882 3501 2883 if test -n "$ac_tool_prefix"; then2884 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.2885 set dummy ${ac_tool_prefix}ranlib; ac_word=$22886 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&52887 $as_echo_n "checking for $ac_word... " >&6; }2888 if test "${ac_cv_prog_RANLIB+set}" = set; then2889 $as_echo_n "(cached) " >&62890 else2891 if test -n "$RANLIB"; then2892 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.2893 else2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2895 for as_dir in $PATH2896 do2897 IFS=$as_save_IFS2898 test -z "$as_dir" && as_dir=.2899 for ac_exec_ext in '' $ac_executable_extensions; do2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2901 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"2902 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52903 break 22904 fi2905 done2906 done2907 IFS=$as_save_IFS2908 2909 fi2910 fi2911 RANLIB=$ac_cv_prog_RANLIB2912 if test -n "$RANLIB"; then2913 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&52914 $as_echo "$RANLIB" >&6; }2915 else2916 { $as_echo "$as_me:$LINENO: result: no" >&52917 $as_echo "no" >&6; }2918 fi2919 2920 2921 fi2922 if test -z "$ac_cv_prog_RANLIB"; then2923 ac_ct_RANLIB=$RANLIB2924 # Extract the first word of "ranlib", so it can be a program name with args.2925 set dummy ranlib; ac_word=$22926 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&52927 $as_echo_n "checking for $ac_word... " >&6; }2928 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then2929 $as_echo_n "(cached) " >&62930 else2931 if test -n "$ac_ct_RANLIB"; then2932 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.2933 else2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2935 for as_dir in $PATH2936 do2937 IFS=$as_save_IFS2938 test -z "$as_dir" && as_dir=.2939 for ac_exec_ext in '' $ac_executable_extensions; do2940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2941 ac_cv_prog_ac_ct_RANLIB="ranlib"2942 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52943 break 22944 fi2945 done2946 done2947 IFS=$as_save_IFS2948 2949 fi2950 fi2951 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB2952 if test -n "$ac_ct_RANLIB"; then2953 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&52954 $as_echo "$ac_ct_RANLIB" >&6; }2955 else2956 { $as_echo "$as_me:$LINENO: result: no" >&52957 $as_echo "no" >&6; }2958 fi2959 2960 if test "x$ac_ct_RANLIB" = x; then2961 RANLIB=":"2962 else2963 case $cross_compiling:$ac_tool_warned in2964 yes:)2965 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&52966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}2967 ac_tool_warned=yes ;;2968 esac2969 RANLIB=$ac_ct_RANLIB2970 fi2971 else2972 RANLIB="$ac_cv_prog_RANLIB"2973 fi2974 2975 3502 ac_ext=c 2976 3503 ac_cpp='$CPP $CPPFLAGS' … … 2978 3505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2979 3506 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2980 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&53507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 2981 3508 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2982 3509 # On Suns, sometimes $CPP names a directory. … … 2985 3512 fi 2986 3513 if test -z "$CPP"; then 2987 if test "${ac_cv_prog_CPP+set}" = set; then3514 if ${ac_cv_prog_CPP+:} false; then : 2988 3515 $as_echo_n "(cached) " >&6 2989 3516 else … … 3000 3527 # On the NeXT, cc -E runs the code through the compiler's parser, 3001 3528 # not just through cpp. "Syntax error" is here to catch this case. 3002 cat >conftest.$ac_ext <<_ACEOF 3003 /* confdefs.h. */ 3004 _ACEOF 3005 cat confdefs.h >>conftest.$ac_ext 3006 cat >>conftest.$ac_ext <<_ACEOF 3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3007 3530 /* end confdefs.h. */ 3008 3531 #ifdef __STDC__ … … 3013 3536 Syntax error 3014 3537 _ACEOF 3015 if { (ac_try="$ac_cpp conftest.$ac_ext" 3016 case "(($ac_try" in 3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3018 *) ac_try_echo=$ac_try;; 3019 esac 3020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3021 $as_echo "$ac_try_echo") >&5 3022 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3023 ac_status=$? 3024 grep -v '^ *+' conftest.er1 >conftest.err 3025 rm -f conftest.er1 3026 cat conftest.err >&5 3027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3028 (exit $ac_status); } >/dev/null && { 3029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3030 test ! -s conftest.err 3031 }; then 3032 : 3033 else 3034 $as_echo "$as_me: failed program was:" >&5 3035 sed 's/^/| /' conftest.$ac_ext >&5 3036 3538 if ac_fn_c_try_cpp "$LINENO"; then : 3539 3540 else 3037 3541 # Broken: fails on valid input. 3038 3542 continue 3039 3543 fi 3040 3041 rm -f conftest.err conftest.$ac_ext 3544 rm -f conftest.err conftest.i conftest.$ac_ext 3042 3545 3043 3546 # OK, works on sane cases. Now check whether nonexistent headers 3044 3547 # can be detected and how. 3045 cat >conftest.$ac_ext <<_ACEOF 3046 /* confdefs.h. */ 3047 _ACEOF 3048 cat confdefs.h >>conftest.$ac_ext 3049 cat >>conftest.$ac_ext <<_ACEOF 3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3050 3549 /* end confdefs.h. */ 3051 3550 #include <ac_nonexistent.h> 3052 3551 _ACEOF 3053 if { (ac_try="$ac_cpp conftest.$ac_ext" 3054 case "(($ac_try" in 3055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3056 *) ac_try_echo=$ac_try;; 3057 esac 3058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3059 $as_echo "$ac_try_echo") >&5 3060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3061 ac_status=$? 3062 grep -v '^ *+' conftest.er1 >conftest.err 3063 rm -f conftest.er1 3064 cat conftest.err >&5 3065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3066 (exit $ac_status); } >/dev/null && { 3067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3068 test ! -s conftest.err 3069 }; then 3552 if ac_fn_c_try_cpp "$LINENO"; then : 3070 3553 # Broken: success on invalid input. 3071 3554 continue 3072 3555 else 3073 $as_echo "$as_me: failed program was:" >&53074 sed 's/^/| /' conftest.$ac_ext >&53075 3076 3556 # Passes both tests. 3077 3557 ac_preproc_ok=: 3078 3558 break 3079 3559 fi 3080 3081 rm -f conftest.err conftest.$ac_ext 3560 rm -f conftest.err conftest.i conftest.$ac_ext 3082 3561 3083 3562 done 3084 3563 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3085 rm -f conftest. err conftest.$ac_ext3086 if $ac_preproc_ok; then 3564 rm -f conftest.i conftest.err conftest.$ac_ext 3565 if $ac_preproc_ok; then : 3087 3566 break 3088 3567 fi … … 3096 3575 ac_cv_prog_CPP=$CPP 3097 3576 fi 3098 { $as_echo "$as_me:$ LINENO: result: $CPP" >&53577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3099 3578 $as_echo "$CPP" >&6; } 3100 3579 ac_preproc_ok=false … … 3107 3586 # On the NeXT, cc -E runs the code through the compiler's parser, 3108 3587 # not just through cpp. "Syntax error" is here to catch this case. 3109 cat >conftest.$ac_ext <<_ACEOF 3110 /* confdefs.h. */ 3111 _ACEOF 3112 cat confdefs.h >>conftest.$ac_ext 3113 cat >>conftest.$ac_ext <<_ACEOF 3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3114 3589 /* end confdefs.h. */ 3115 3590 #ifdef __STDC__ … … 3120 3595 Syntax error 3121 3596 _ACEOF 3122 if { (ac_try="$ac_cpp conftest.$ac_ext" 3123 case "(($ac_try" in 3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3125 *) ac_try_echo=$ac_try;; 3126 esac 3127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3128 $as_echo "$ac_try_echo") >&5 3129 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3130 ac_status=$? 3131 grep -v '^ *+' conftest.er1 >conftest.err 3132 rm -f conftest.er1 3133 cat conftest.err >&5 3134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3135 (exit $ac_status); } >/dev/null && { 3136 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3137 test ! -s conftest.err 3138 }; then 3139 : 3140 else 3141 $as_echo "$as_me: failed program was:" >&5 3142 sed 's/^/| /' conftest.$ac_ext >&5 3143 3597 if ac_fn_c_try_cpp "$LINENO"; then : 3598 3599 else 3144 3600 # Broken: fails on valid input. 3145 3601 continue 3146 3602 fi 3147 3148 rm -f conftest.err conftest.$ac_ext 3603 rm -f conftest.err conftest.i conftest.$ac_ext 3149 3604 3150 3605 # OK, works on sane cases. Now check whether nonexistent headers 3151 3606 # can be detected and how. 3152 cat >conftest.$ac_ext <<_ACEOF 3153 /* confdefs.h. */ 3154 _ACEOF 3155 cat confdefs.h >>conftest.$ac_ext 3156 cat >>conftest.$ac_ext <<_ACEOF 3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3157 3608 /* end confdefs.h. */ 3158 3609 #include <ac_nonexistent.h> 3159 3610 _ACEOF 3160 if { (ac_try="$ac_cpp conftest.$ac_ext" 3161 case "(($ac_try" in 3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3163 *) ac_try_echo=$ac_try;; 3164 esac 3165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3166 $as_echo "$ac_try_echo") >&5 3167 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3168 ac_status=$? 3169 grep -v '^ *+' conftest.er1 >conftest.err 3170 rm -f conftest.er1 3171 cat conftest.err >&5 3172 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3173 (exit $ac_status); } >/dev/null && { 3174 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3175 test ! -s conftest.err 3176 }; then 3611 if ac_fn_c_try_cpp "$LINENO"; then : 3177 3612 # Broken: success on invalid input. 3178 3613 continue 3179 3614 else 3180 $as_echo "$as_me: failed program was:" >&53181 sed 's/^/| /' conftest.$ac_ext >&53182 3183 3615 # Passes both tests. 3184 3616 ac_preproc_ok=: 3185 3617 break 3186 3618 fi 3187 3188 rm -f conftest.err conftest.$ac_ext 3619 rm -f conftest.err conftest.i conftest.$ac_ext 3189 3620 3190 3621 done 3191 3622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3192 rm -f conftest. err conftest.$ac_ext3193 if $ac_preproc_ok; then 3194 : 3195 else 3196 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53623 rm -f conftest.i conftest.err conftest.$ac_ext 3624 if $ac_preproc_ok; then : 3625 3626 else 3627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3197 3628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3198 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3199 See \`config.log' for more details." >&5 3200 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3201 See \`config.log' for more details." >&2;} 3202 { (exit 1); exit 1; }; }; } 3629 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3630 See \`config.log' for more details" "$LINENO" 5; } 3203 3631 fi 3204 3632 … … 3210 3638 3211 3639 3212 { $as_echo "$as_me:$ LINENO: checking for grep that handles long lines and -e" >&53640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3213 3641 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3214 if test "${ac_cv_path_GREP+set}" = set; then3642 if ${ac_cv_path_GREP+:} false; then : 3215 3643 $as_echo_n "(cached) " >&6 3216 3644 else … … 3223 3651 IFS=$as_save_IFS 3224 3652 test -z "$as_dir" && as_dir=. 3225 for ac_prog in grep ggrep; do3653 for ac_prog in grep ggrep; do 3226 3654 for ac_exec_ext in '' $ac_executable_extensions; do 3227 3655 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" … … 3243 3671 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3244 3672 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3245 a c_count=`expr $ac_count + 1`3673 as_fn_arith $ac_count + 1 && ac_count=$as_val 3246 3674 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3247 3675 # Best one so far, save it but keep looking for a better one … … 3258 3686 done 3259 3687 done 3260 done3688 done 3261 3689 IFS=$as_save_IFS 3262 3690 if test -z "$ac_cv_path_GREP"; then 3263 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3264 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3265 { (exit 1); exit 1; }; } 3691 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3266 3692 fi 3267 3693 else … … 3270 3696 3271 3697 fi 3272 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_GREP" >&53698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3273 3699 $as_echo "$ac_cv_path_GREP" >&6; } 3274 3700 GREP="$ac_cv_path_GREP" 3275 3701 3276 3702 3277 { $as_echo "$as_me:$ LINENO: checking for egrep" >&53703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3278 3704 $as_echo_n "checking for egrep... " >&6; } 3279 if test "${ac_cv_path_EGREP+set}" = set; then3705 if ${ac_cv_path_EGREP+:} false; then : 3280 3706 $as_echo_n "(cached) " >&6 3281 3707 else … … 3291 3717 IFS=$as_save_IFS 3292 3718 test -z "$as_dir" && as_dir=. 3293 for ac_prog in egrep; do3719 for ac_prog in egrep; do 3294 3720 for ac_exec_ext in '' $ac_executable_extensions; do 3295 3721 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" … … 3311 3737 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3312 3738 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3313 a c_count=`expr $ac_count + 1`3739 as_fn_arith $ac_count + 1 && ac_count=$as_val 3314 3740 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3315 3741 # Best one so far, save it but keep looking for a better one … … 3326 3752 done 3327 3753 done 3328 done3754 done 3329 3755 IFS=$as_save_IFS 3330 3756 if test -z "$ac_cv_path_EGREP"; then 3331 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3332 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3333 { (exit 1); exit 1; }; } 3757 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3334 3758 fi 3335 3759 else … … 3339 3763 fi 3340 3764 fi 3341 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_EGREP" >&53765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3342 3766 $as_echo "$ac_cv_path_EGREP" >&6; } 3343 3767 EGREP="$ac_cv_path_EGREP" 3344 3768 3345 3769 3346 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&53770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3347 3771 $as_echo_n "checking for ANSI C header files... " >&6; } 3348 if test "${ac_cv_header_stdc+set}" = set; then3772 if ${ac_cv_header_stdc+:} false; then : 3349 3773 $as_echo_n "(cached) " >&6 3350 3774 else 3351 cat >conftest.$ac_ext <<_ACEOF 3352 /* confdefs.h. */ 3353 _ACEOF 3354 cat confdefs.h >>conftest.$ac_ext 3355 cat >>conftest.$ac_ext <<_ACEOF 3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3356 3776 /* end confdefs.h. */ 3357 3777 #include <stdlib.h> … … 3368 3788 } 3369 3789 _ACEOF 3370 rm -f conftest.$ac_objext 3371 if { (ac_try="$ac_compile" 3372 case "(($ac_try" in 3373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3374 *) ac_try_echo=$ac_try;; 3375 esac 3376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3377 $as_echo "$ac_try_echo") >&5 3378 (eval "$ac_compile") 2>conftest.er1 3379 ac_status=$? 3380 grep -v '^ *+' conftest.er1 >conftest.err 3381 rm -f conftest.er1 3382 cat conftest.err >&5 3383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3384 (exit $ac_status); } && { 3385 test -z "$ac_c_werror_flag" || 3386 test ! -s conftest.err 3387 } && test -s conftest.$ac_objext; then 3790 if ac_fn_c_try_compile "$LINENO"; then : 3388 3791 ac_cv_header_stdc=yes 3389 3792 else 3390 $as_echo "$as_me: failed program was:" >&5 3391 sed 's/^/| /' conftest.$ac_ext >&5 3392 3393 ac_cv_header_stdc=no 3394 fi 3395 3793 ac_cv_header_stdc=no 3794 fi 3396 3795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3397 3796 3398 3797 if test $ac_cv_header_stdc = yes; then 3399 3798 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3400 cat >conftest.$ac_ext <<_ACEOF 3401 /* confdefs.h. */ 3402 _ACEOF 3403 cat confdefs.h >>conftest.$ac_ext 3404 cat >>conftest.$ac_ext <<_ACEOF 3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3405 3800 /* end confdefs.h. */ 3406 3801 #include <string.h> … … 3408 3803 _ACEOF 3409 3804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3410 $EGREP "memchr" >/dev/null 2>&1; then 3411 : 3805 $EGREP "memchr" >/dev/null 2>&1; then : 3806 3412 3807 else 3413 3808 ac_cv_header_stdc=no … … 3419 3814 if test $ac_cv_header_stdc = yes; then 3420 3815 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3421 cat >conftest.$ac_ext <<_ACEOF 3422 /* confdefs.h. */ 3423 _ACEOF 3424 cat confdefs.h >>conftest.$ac_ext 3425 cat >>conftest.$ac_ext <<_ACEOF 3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3426 3817 /* end confdefs.h. */ 3427 3818 #include <stdlib.h> … … 3429 3820 _ACEOF 3430 3821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3431 $EGREP "free" >/dev/null 2>&1; then 3432 : 3822 $EGREP "free" >/dev/null 2>&1; then : 3823 3433 3824 else 3434 3825 ac_cv_header_stdc=no … … 3440 3831 if test $ac_cv_header_stdc = yes; then 3441 3832 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3442 if test "$cross_compiling" = yes; then 3833 if test "$cross_compiling" = yes; then : 3443 3834 : 3444 3835 else 3445 cat >conftest.$ac_ext <<_ACEOF 3446 /* confdefs.h. */ 3447 _ACEOF 3448 cat confdefs.h >>conftest.$ac_ext 3449 cat >>conftest.$ac_ext <<_ACEOF 3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3450 3837 /* end confdefs.h. */ 3451 3838 #include <ctype.h> … … 3474 3861 } 3475 3862 _ACEOF 3476 rm -f conftest$ac_exeext 3477 if { (ac_try="$ac_link" 3478 case "(($ac_try" in 3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3480 *) ac_try_echo=$ac_try;; 3481 esac 3482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3483 $as_echo "$ac_try_echo") >&5 3484 (eval "$ac_link") 2>&5 3485 ac_status=$? 3486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3488 { (case "(($ac_try" in 3489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3490 *) ac_try_echo=$ac_try;; 3491 esac 3492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3493 $as_echo "$ac_try_echo") >&5 3494 (eval "$ac_try") 2>&5 3495 ac_status=$? 3496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3497 (exit $ac_status); }; }; then 3498 : 3499 else 3500 $as_echo "$as_me: program exited with status $ac_status" >&5 3501 $as_echo "$as_me: failed program was:" >&5 3502 sed 's/^/| /' conftest.$ac_ext >&5 3503 3504 ( exit $ac_status ) 3505 ac_cv_header_stdc=no 3506 fi 3507 rm -rf conftest.dSYM 3508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3509 fi 3510 3511 3512 fi 3513 fi 3514 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3863 if ac_fn_c_try_run "$LINENO"; then : 3864 3865 else 3866 ac_cv_header_stdc=no 3867 fi 3868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3869 conftest.$ac_objext conftest.beam conftest.$ac_ext 3870 fi 3871 3872 fi 3873 fi 3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3515 3875 $as_echo "$ac_cv_header_stdc" >&6; } 3516 3876 if test $ac_cv_header_stdc = yes; then 3517 3877 3518 cat >>confdefs.h <<\_ACEOF 3519 #define STDC_HEADERS 1 3520 _ACEOF 3878 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3521 3879 3522 3880 fi 3523 3881 3524 3882 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3883 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3535 3884 inttypes.h stdint.h unistd.h 3536 do 3537 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3538 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3539 $as_echo_n "checking for $ac_header... " >&6; } 3540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3541 $as_echo_n "(cached) " >&6 3542 else 3543 cat >conftest.$ac_ext <<_ACEOF 3544 /* confdefs.h. */ 3545 _ACEOF 3546 cat confdefs.h >>conftest.$ac_ext 3547 cat >>conftest.$ac_ext <<_ACEOF 3548 /* end confdefs.h. */ 3549 $ac_includes_default 3550 3551 #include <$ac_header> 3552 _ACEOF 3553 rm -f conftest.$ac_objext 3554 if { (ac_try="$ac_compile" 3555 case "(($ac_try" in 3556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3557 *) ac_try_echo=$ac_try;; 3558 esac 3559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3560 $as_echo "$ac_try_echo") >&5 3561 (eval "$ac_compile") 2>conftest.er1 3562 ac_status=$? 3563 grep -v '^ *+' conftest.er1 >conftest.err 3564 rm -f conftest.er1 3565 cat conftest.err >&5 3566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3567 (exit $ac_status); } && { 3568 test -z "$ac_c_werror_flag" || 3569 test ! -s conftest.err 3570 } && test -s conftest.$ac_objext; then 3571 eval "$as_ac_Header=yes" 3572 else 3573 $as_echo "$as_me: failed program was:" >&5 3574 sed 's/^/| /' conftest.$ac_ext >&5 3575 3576 eval "$as_ac_Header=no" 3577 fi 3578 3579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3580 fi 3581 ac_res=`eval 'as_val=${'$as_ac_Header'} 3582 $as_echo "$as_val"'` 3583 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3584 $as_echo "$ac_res" >&6; } 3585 as_val=`eval 'as_val=${'$as_ac_Header'} 3586 $as_echo "$as_val"'` 3587 if test "x$as_val" = x""yes; then 3885 do : 3886 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3887 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3888 " 3889 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3588 3890 cat >>confdefs.h <<_ACEOF 3589 3891 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 3596 3898 3597 3899 3900 PYTHON="" 3901 PYTHON_CFLAGS="" 3902 PYTHON_CPPFLAGS="" 3903 PYTHON_DISTUTILS="" 3904 PYTHON_INCLUDES="" 3905 PYTHON_LDFLAGS="" 3906 PYTHON_LIB="" 3907 PYTHON_LIBDIR="" 3908 PYTHON_SITE_DIR="" 3909 PYTHON_SITE_PACKAGES="" 3910 PYTHON_VERSION="" 3911 pythondir="" 3912 3913 # Check whether --with-python was given. 3914 if test "${with_python+set}" = set; then : 3915 withval=$with_python; 3916 else 3917 with_python=yes 3918 fi 3919 3920 3921 if test "$with_python" != "no" ; then 3922 if test "$with_python" = "yes" ; then 3923 # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args. 3924 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3926 $as_echo_n "checking for $ac_word... " >&6; } 3927 if ${ac_cv_path_PYTHON+:} false; then : 3928 $as_echo_n "(cached) " >&6 3929 else 3930 case $PYTHON in 3931 [\\/]* | ?:[\\/]*) 3932 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 3933 ;; 3934 *) 3935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3936 for as_dir in $PATH 3937 do 3938 IFS=$as_save_IFS 3939 test -z "$as_dir" && as_dir=. 3940 for ac_exec_ext in '' $ac_executable_extensions; do 3941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3942 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3944 break 2 3945 fi 3946 done 3947 done 3948 IFS=$as_save_IFS 3949 3950 ;; 3951 esac 3952 fi 3953 PYTHON=$ac_cv_path_PYTHON 3954 if test -n "$PYTHON"; then 3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 3956 $as_echo "$PYTHON" >&6; } 3957 else 3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3959 $as_echo "no" >&6; } 3960 fi 3961 3962 3963 else 3964 # Extract the first word of "python", so it can be a program name with args. 3965 set dummy python; ac_word=$2 3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3967 $as_echo_n "checking for $ac_word... " >&6; } 3968 if ${ac_cv_path_PYTHON+:} false; then : 3969 $as_echo_n "(cached) " >&6 3970 else 3971 case $PYTHON in 3972 [\\/]* | ?:[\\/]*) 3973 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 3974 ;; 3975 *) 3976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3977 as_dummy="${with_python}/bin:${with_python}" 3978 for as_dir in $as_dummy 3979 do 3980 IFS=$as_save_IFS 3981 test -z "$as_dir" && as_dir=. 3982 for ac_exec_ext in '' $ac_executable_extensions; do 3983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3984 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3986 break 2 3987 fi 3988 done 3989 done 3990 IFS=$as_save_IFS 3991 3992 ;; 3993 esac 3994 fi 3995 PYTHON=$ac_cv_path_PYTHON 3996 if test -n "$PYTHON"; then 3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 3998 $as_echo "$PYTHON" >&6; } 3999 else 4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4001 $as_echo "no" >&6; } 4002 fi 4003 4004 4005 fi 4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5 4007 $as_echo_n "checking for Python version... " >&6; } 4008 if test "x${PYTHON}" != "x"; then 4009 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 4010 fi 4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5 4012 $as_echo "$PYTHON_VERSION" >&6; } 4013 fi 4014 4015 if test "x${PYTHON_VERSION}" != "x"; then 4016 PYTHON_INCLUDES=$incdir 4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5 4018 $as_echo_n "checking for Python distutils... " >&6; } 4019 PYTHON_DISTUTILS="" 4020 ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \ 4021 build build_ext 2>&1 > /dev/null 4022 if test $? = 0 ; then 4023 PYTHON_DISTUTILS="yes" 4024 fi 4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5 4026 $as_echo "$PYTHON_DISTUTILS" >&6; } 4027 if test "${PYTHON_DISTUTILS}" = "yes" ; then 4028 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` 4029 # 4030 # Check for Python include path 4031 # 4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5 4033 $as_echo_n "checking path to Python headers... " >&6; } 4034 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 4035 print distutils.sysconfig.get_python_inc();"` 4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5 4037 $as_echo "$PYTHON_INCDIR" >&6; } 4038 # 4039 # Python distutils found, get settings from python directly 4040 # 4041 PYTHON_SITE_DIR="`${PYTHON} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0);'`" 4042 4043 PYTHON_CFLAGS="`$PYTHON -c 'from distutils import sysconfig; flags = [\"-I\" + sysconfig.get_python_inc(0), \"-I\" + sysconfig.get_python_inc(1), \" \".join(sysconfig.get_config_var(\"CFLAGS\").split())]; print \" \".join(flags);'`" 4044 PYTHON_LDFLAGS="`$PYTHON -c 'from distutils import sysconfig; libs = sysconfig.get_config_var(\"LIBS\").split() + sysconfig.get_config_var(\"SYSLIBS\").split(); libs.append(\"-lpython\"+sysconfig.get_config_var(\"VERSION\")); print \" \".join(libs);'`" 4045 PYTHON_LIB="`$PYTHON -c 'from distutils import sysconfig; print \"python\" + sysconfig.get_config_var(\"VERSION\");'`" 4046 PYTHON_LIBDIR="`$PYTHON -c 'from distutils import sysconfig; print sysconfig.get_config_var(\"LIBDIR\");'`" 4047 save_CPPFLAGS=$CPPFLAGS 4048 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 4049 for ac_header in Python.h 4050 do : 4051 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 4052 if test "x$ac_cv_header_Python_h" = xyes; then : 4053 cat >>confdefs.h <<_ACEOF 4054 #define HAVE_PYTHON_H 1 4055 _ACEOF 4056 found=yes 4057 else 4058 found=no 4059 fi 4060 4061 done 4062 4063 CPPFLAGS=$save_CPPFLAGS 4064 if test "$found" = "no" ; then 4065 PYTHON_DISTUTILS="" 4066 fi 4067 fi 4068 fi 4069 4070 4071 VERSION=0.0.1 4072 4073 #------------------------------------------------------------------------ 4074 # Handle the --prefix=... option 4075 #------------------------------------------------------------------------ 4076 4077 if test "${prefix}" = "NONE"; then 4078 prefix=/usr/local 4079 fi 4080 if test "${exec_prefix}" = "NONE"; then 4081 exec_prefix=$prefix 4082 fi 4083 4084 if test "x${incdir}" == "x"; then 4085 incdir=${exec_prefix}/include 4086 fi 4087 libdir=${exec_prefix}/lib 4088 4089 if test "${libdir}" != "${prefix}/lib"; then 4090 LIB_SEARCH_DIRS="-L ${prefix}/lib -L ${libdir}" 4091 else 4092 LIB_SEARCH_DIRS="-L ${libdir}" 4093 fi 4094 4095 if test -n "$ac_tool_prefix"; then 4096 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4097 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4099 $as_echo_n "checking for $ac_word... " >&6; } 4100 if ${ac_cv_prog_RANLIB+:} false; then : 4101 $as_echo_n "(cached) " >&6 4102 else 4103 if test -n "$RANLIB"; then 4104 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4105 else 4106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4107 for as_dir in $PATH 4108 do 4109 IFS=$as_save_IFS 4110 test -z "$as_dir" && as_dir=. 4111 for ac_exec_ext in '' $ac_executable_extensions; do 4112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4113 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4115 break 2 4116 fi 4117 done 4118 done 4119 IFS=$as_save_IFS 4120 4121 fi 4122 fi 4123 RANLIB=$ac_cv_prog_RANLIB 4124 if test -n "$RANLIB"; then 4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4126 $as_echo "$RANLIB" >&6; } 4127 else 4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4129 $as_echo "no" >&6; } 4130 fi 4131 4132 4133 fi 4134 if test -z "$ac_cv_prog_RANLIB"; then 4135 ac_ct_RANLIB=$RANLIB 4136 # Extract the first word of "ranlib", so it can be a program name with args. 4137 set dummy ranlib; ac_word=$2 4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4139 $as_echo_n "checking for $ac_word... " >&6; } 4140 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4141 $as_echo_n "(cached) " >&6 4142 else 4143 if test -n "$ac_ct_RANLIB"; then 4144 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4145 else 4146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4147 for as_dir in $PATH 4148 do 4149 IFS=$as_save_IFS 4150 test -z "$as_dir" && as_dir=. 4151 for ac_exec_ext in '' $ac_executable_extensions; do 4152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4153 ac_cv_prog_ac_ct_RANLIB="ranlib" 4154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4155 break 2 4156 fi 4157 done 4158 done 4159 IFS=$as_save_IFS 4160 4161 fi 4162 fi 4163 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4164 if test -n "$ac_ct_RANLIB"; then 4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4166 $as_echo "$ac_ct_RANLIB" >&6; } 4167 else 4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4169 $as_echo "no" >&6; } 4170 fi 4171 4172 if test "x$ac_ct_RANLIB" = x; then 4173 RANLIB=":" 4174 else 4175 case $cross_compiling:$ac_tool_warned in 4176 yes:) 4177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4179 ac_tool_warned=yes ;; 4180 esac 4181 RANLIB=$ac_ct_RANLIB 4182 fi 4183 else 4184 RANLIB="$ac_cv_prog_RANLIB" 4185 fi 4186 4187 3598 4188 3599 4189 # Step 0.a: Enable 64 bit support? 3600 4190 3601 { $as_echo "$as_me:$ LINENO: checking if 64bit support is requested" >&54191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 3602 4192 $as_echo_n "checking if 64bit support is requested... " >&6; } 3603 4193 # Check whether --enable-64bit was given. 3604 if test "${enable_64bit+set}" = set; then 4194 if test "${enable_64bit+set}" = set; then : 3605 4195 enableval=$enable_64bit; do64bit=$enableval 3606 4196 else … … 3608 4198 fi 3609 4199 3610 { $as_echo "$as_me:$ LINENO: result: $do64bit" >&54200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 3611 4201 $as_echo "$do64bit" >&6; } 3612 4202 3613 4203 # Step 0.b: Enable Solaris 64 bit VIS support? 3614 4204 3615 { $as_echo "$as_me:$ LINENO: checking if 64bit Sparc VIS support is requested" >&54205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 3616 4206 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 3617 4207 # Check whether --enable-64bit-vis was given. 3618 if test "${enable_64bit_vis+set}" = set; then 4208 if test "${enable_64bit_vis+set}" = set; then : 3619 4209 enableval=$enable_64bit_vis; do64bitVIS=$enableval 3620 4210 else … … 3622 4212 fi 3623 4213 3624 { $as_echo "$as_me:$ LINENO: result: $do64bitVIS" >&54214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 3625 4215 $as_echo "$do64bitVIS" >&6; } 3626 4216 … … 3634 4224 3635 4225 3636 { $as_echo "$as_me:$ LINENO: checking system version" >&54226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 3637 4227 $as_echo_n "checking system version... " >&6; } 3638 if test "${tcl_cv_sys_version+set}" = set; then4228 if ${tcl_cv_sys_version+:} false; then : 3639 4229 $as_echo_n "(cached) " >&6 3640 4230 else … … 3645 4235 tcl_cv_sys_version=`uname -s`-`uname -r` 3646 4236 if test "$?" -ne 0 ; then 3647 { $as_echo "$as_me:$ LINENO: WARNING: can't find uname command" >&54237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 3648 4238 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 3649 4239 tcl_cv_sys_version=unknown … … 3662 4252 3663 4253 fi 3664 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sys_version" >&54254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 3665 4255 $as_echo "$tcl_cv_sys_version" >&6; } 3666 4256 system=$tcl_cv_sys_version … … 3670 4260 # Linux can use either -ldl or -ldld for dynamic loading. 3671 4261 3672 { $as_echo "$as_me:$ LINENO: checking for dlopen in -ldl" >&54262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 3673 4263 $as_echo_n "checking for dlopen in -ldl... " >&6; } 3674 if test "${ac_cv_lib_dl_dlopen+set}" = set; then4264 if ${ac_cv_lib_dl_dlopen+:} false; then : 3675 4265 $as_echo_n "(cached) " >&6 3676 4266 else 3677 4267 ac_check_lib_save_LIBS=$LIBS 3678 4268 LIBS="-ldl $LIBS" 3679 cat >conftest.$ac_ext <<_ACEOF 3680 /* confdefs.h. */ 3681 _ACEOF 3682 cat confdefs.h >>conftest.$ac_ext 3683 cat >>conftest.$ac_ext <<_ACEOF 4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3684 4270 /* end confdefs.h. */ 3685 4271 … … 3699 4285 } 3700 4286 _ACEOF 3701 rm -f conftest.$ac_objext conftest$ac_exeext 3702 if { (ac_try="$ac_link" 3703 case "(($ac_try" in 3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3705 *) ac_try_echo=$ac_try;; 3706 esac 3707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3708 $as_echo "$ac_try_echo") >&5 3709 (eval "$ac_link") 2>conftest.er1 3710 ac_status=$? 3711 grep -v '^ *+' conftest.er1 >conftest.err 3712 rm -f conftest.er1 3713 cat conftest.err >&5 3714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3715 (exit $ac_status); } && { 3716 test -z "$ac_c_werror_flag" || 3717 test ! -s conftest.err 3718 } && test -s conftest$ac_exeext && { 3719 test "$cross_compiling" = yes || 3720 $as_test_x conftest$ac_exeext 3721 }; then 4287 if ac_fn_c_try_link "$LINENO"; then : 3722 4288 ac_cv_lib_dl_dlopen=yes 3723 4289 else 3724 $as_echo "$as_me: failed program was:" >&5 3725 sed 's/^/| /' conftest.$ac_ext >&5 3726 3727 ac_cv_lib_dl_dlopen=no 3728 fi 3729 3730 rm -rf conftest.dSYM 3731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3732 conftest$ac_exeext conftest.$ac_ext 4290 ac_cv_lib_dl_dlopen=no 4291 fi 4292 rm -f core conftest.err conftest.$ac_objext \ 4293 conftest$ac_exeext conftest.$ac_ext 3733 4294 LIBS=$ac_check_lib_save_LIBS 3734 4295 fi 3735 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dl_dlopen" >&54296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 3736 4297 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 3737 if test "x$ac_cv_lib_dl_dlopen" = x ""yes; then4298 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 3738 4299 have_dl=yes 3739 4300 else … … 3767 4328 # Extract the first word of "ar", so it can be a program name with args. 3768 4329 set dummy ar; ac_word=$2 3769 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3770 4331 $as_echo_n "checking for $ac_word... " >&6; } 3771 if test "${ac_cv_prog_AR+set}" = set; then4332 if ${ac_cv_prog_AR+:} false; then : 3772 4333 $as_echo_n "(cached) " >&6 3773 4334 else … … 3780 4341 IFS=$as_save_IFS 3781 4342 test -z "$as_dir" && as_dir=. 3782 for ac_exec_ext in '' $ac_executable_extensions; do4343 for ac_exec_ext in '' $ac_executable_extensions; do 3783 4344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3784 4345 ac_cv_prog_AR="ar" 3785 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3786 4347 break 2 3787 4348 fi 3788 4349 done 3789 done4350 done 3790 4351 IFS=$as_save_IFS 3791 4352 … … 3794 4355 AR=$ac_cv_prog_AR 3795 4356 if test -n "$AR"; then 3796 { $as_echo "$as_me:$ LINENO: result: $AR" >&54357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 3797 4358 $as_echo "$AR" >&6; } 3798 4359 else 3799 { $as_echo "$as_me:$ LINENO: result: no" >&54360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3800 4361 $as_echo "no" >&6; } 3801 4362 fi … … 3803 4364 3804 4365 if test "${AR}" = "" ; then 3805 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 3806 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 3807 { (exit 1); exit 1; }; } 4366 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 3808 4367 fi 3809 4368 STLIB_LD='${AR} cr' … … 3823 4382 ;; 3824 4383 esac 3825 { $as_echo "$as_me:$ LINENO: result: Using $CC for compiling with threads" >&54384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 3826 4385 $as_echo "Using $CC for compiling with threads" >&6; } 3827 4386 fi … … 3839 4398 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 3840 4399 if test "$GCC" = "yes" ; then 3841 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&54400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 3842 4401 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 3843 4402 else … … 3894 4453 # known GMT value. 3895 4454 3896 { $as_echo "$as_me:$ LINENO: checking for gettimeofday in -lbsd" >&54455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 3897 4456 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 3898 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then4457 if ${ac_cv_lib_bsd_gettimeofday+:} false; then : 3899 4458 $as_echo_n "(cached) " >&6 3900 4459 else 3901 4460 ac_check_lib_save_LIBS=$LIBS 3902 4461 LIBS="-lbsd $LIBS" 3903 cat >conftest.$ac_ext <<_ACEOF 3904 /* confdefs.h. */ 3905 _ACEOF 3906 cat confdefs.h >>conftest.$ac_ext 3907 cat >>conftest.$ac_ext <<_ACEOF 4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3908 4463 /* end confdefs.h. */ 3909 4464 … … 3923 4478 } 3924 4479 _ACEOF 3925 rm -f conftest.$ac_objext conftest$ac_exeext 3926 if { (ac_try="$ac_link" 3927 case "(($ac_try" in 3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3929 *) ac_try_echo=$ac_try;; 3930 esac 3931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3932 $as_echo "$ac_try_echo") >&5 3933 (eval "$ac_link") 2>conftest.er1 3934 ac_status=$? 3935 grep -v '^ *+' conftest.er1 >conftest.err 3936 rm -f conftest.er1 3937 cat conftest.err >&5 3938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3939 (exit $ac_status); } && { 3940 test -z "$ac_c_werror_flag" || 3941 test ! -s conftest.err 3942 } && test -s conftest$ac_exeext && { 3943 test "$cross_compiling" = yes || 3944 $as_test_x conftest$ac_exeext 3945 }; then 4480 if ac_fn_c_try_link "$LINENO"; then : 3946 4481 ac_cv_lib_bsd_gettimeofday=yes 3947 4482 else 3948 $as_echo "$as_me: failed program was:" >&5 3949 sed 's/^/| /' conftest.$ac_ext >&5 3950 3951 ac_cv_lib_bsd_gettimeofday=no 3952 fi 3953 3954 rm -rf conftest.dSYM 3955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3956 conftest$ac_exeext conftest.$ac_ext 4483 ac_cv_lib_bsd_gettimeofday=no 4484 fi 4485 rm -f core conftest.err conftest.$ac_objext \ 4486 conftest$ac_exeext conftest.$ac_ext 3957 4487 LIBS=$ac_check_lib_save_LIBS 3958 4488 fi 3959 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&54489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 3960 4490 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 3961 if test "x$ac_cv_lib_bsd_gettimeofday" = x ""yes; then4491 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then : 3962 4492 libbsd=yes 3963 4493 else … … 3967 4497 if test $libbsd = yes; then 3968 4498 MATH_LIBS="$MATH_LIBS -lbsd" 3969 cat >>confdefs.h <<\_ACEOF 3970 #define USE_DELTA_FOR_TZ 1 3971 _ACEOF 4499 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 3972 4500 3973 4501 fi … … 3986 4514 # is always linked to, for compatibility. 3987 4515 #----------------------------------------------------------- 3988 { $as_echo "$as_me:$ LINENO: checking for inet_ntoa in -lbind" >&54516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 3989 4517 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 3990 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then4518 if ${ac_cv_lib_bind_inet_ntoa+:} false; then : 3991 4519 $as_echo_n "(cached) " >&6 3992 4520 else 3993 4521 ac_check_lib_save_LIBS=$LIBS 3994 4522 LIBS="-lbind $LIBS" 3995 cat >conftest.$ac_ext <<_ACEOF 3996 /* confdefs.h. */ 3997 _ACEOF 3998 cat confdefs.h >>conftest.$ac_ext 3999 cat >>conftest.$ac_ext <<_ACEOF 4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4000 4524 /* end confdefs.h. */ 4001 4525 … … 4015 4539 } 4016 4540 _ACEOF 4017 rm -f conftest.$ac_objext conftest$ac_exeext 4018 if { (ac_try="$ac_link" 4019 case "(($ac_try" in 4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4021 *) ac_try_echo=$ac_try;; 4022 esac 4023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4024 $as_echo "$ac_try_echo") >&5 4025 (eval "$ac_link") 2>conftest.er1 4026 ac_status=$? 4027 grep -v '^ *+' conftest.er1 >conftest.err 4028 rm -f conftest.er1 4029 cat conftest.err >&5 4030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4031 (exit $ac_status); } && { 4032 test -z "$ac_c_werror_flag" || 4033 test ! -s conftest.err 4034 } && test -s conftest$ac_exeext && { 4035 test "$cross_compiling" = yes || 4036 $as_test_x conftest$ac_exeext 4037 }; then 4541 if ac_fn_c_try_link "$LINENO"; then : 4038 4542 ac_cv_lib_bind_inet_ntoa=yes 4039 4543 else 4040 $as_echo "$as_me: failed program was:" >&5 4041 sed 's/^/| /' conftest.$ac_ext >&5 4042 4043 ac_cv_lib_bind_inet_ntoa=no 4044 fi 4045 4046 rm -rf conftest.dSYM 4047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4048 conftest$ac_exeext conftest.$ac_ext 4544 ac_cv_lib_bind_inet_ntoa=no 4545 fi 4546 rm -f core conftest.err conftest.$ac_objext \ 4547 conftest$ac_exeext conftest.$ac_ext 4049 4548 LIBS=$ac_check_lib_save_LIBS 4050 4549 fi 4051 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&54550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 4052 4551 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 4053 if test "x$ac_cv_lib_bind_inet_ntoa" = x ""yes; then4552 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then : 4054 4553 LIBS="$LIBS -lbind -lsocket" 4055 4554 fi … … 4089 4588 HP-UX-*.11.*) 4090 4589 # Use updated header definitions where possible 4091 cat >>confdefs.h <<\_ACEOF 4092 #define _XOPEN_SOURCE 1 4093 _ACEOF 4590 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 4094 4591 # Use the XOPEN network library 4095 cat >>confdefs.h <<\_ACEOF 4096 #define _XOPEN_SOURCE_EXTENDED 1 4097 _ACEOF 4592 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 4098 4593 # Use the XOPEN network library 4099 4594 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 4104 4599 SHLIB_SUFFIX=".sl" 4105 4600 fi 4106 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&54601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 4107 4602 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4108 if test "${ac_cv_lib_dld_shl_load+set}" = set; then4603 if ${ac_cv_lib_dld_shl_load+:} false; then : 4109 4604 $as_echo_n "(cached) " >&6 4110 4605 else 4111 4606 ac_check_lib_save_LIBS=$LIBS 4112 4607 LIBS="-ldld $LIBS" 4113 cat >conftest.$ac_ext <<_ACEOF 4114 /* confdefs.h. */ 4115 _ACEOF 4116 cat confdefs.h >>conftest.$ac_ext 4117 cat >>conftest.$ac_ext <<_ACEOF 4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4118 4609 /* end confdefs.h. */ 4119 4610 … … 4133 4624 } 4134 4625 _ACEOF 4135 rm -f conftest.$ac_objext conftest$ac_exeext 4136 if { (ac_try="$ac_link" 4137 case "(($ac_try" in 4138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4139 *) ac_try_echo=$ac_try;; 4140 esac 4141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4142 $as_echo "$ac_try_echo") >&5 4143 (eval "$ac_link") 2>conftest.er1 4144 ac_status=$? 4145 grep -v '^ *+' conftest.er1 >conftest.err 4146 rm -f conftest.er1 4147 cat conftest.err >&5 4148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4149 (exit $ac_status); } && { 4150 test -z "$ac_c_werror_flag" || 4151 test ! -s conftest.err 4152 } && test -s conftest$ac_exeext && { 4153 test "$cross_compiling" = yes || 4154 $as_test_x conftest$ac_exeext 4155 }; then 4626 if ac_fn_c_try_link "$LINENO"; then : 4156 4627 ac_cv_lib_dld_shl_load=yes 4157 4628 else 4158 $as_echo "$as_me: failed program was:" >&5 4159 sed 's/^/| /' conftest.$ac_ext >&5 4160 4161 ac_cv_lib_dld_shl_load=no 4162 fi 4163 4164 rm -rf conftest.dSYM 4165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4166 conftest$ac_exeext conftest.$ac_ext 4629 ac_cv_lib_dld_shl_load=no 4630 fi 4631 rm -f core conftest.err conftest.$ac_objext \ 4632 conftest$ac_exeext conftest.$ac_ext 4167 4633 LIBS=$ac_check_lib_save_LIBS 4168 4634 fi 4169 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&54635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 4170 4636 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4171 if test "x$ac_cv_lib_dld_shl_load" = x ""yes; then4637 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 4172 4638 tcl_ok=yes 4173 4639 else … … 4209 4675 ;; 4210 4676 *) 4211 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&54677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 4212 4678 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4213 4679 ;; … … 4222 4688 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 4223 4689 SHLIB_SUFFIX=".sl" 4224 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&54690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 4225 4691 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4226 if test "${ac_cv_lib_dld_shl_load+set}" = set; then4692 if ${ac_cv_lib_dld_shl_load+:} false; then : 4227 4693 $as_echo_n "(cached) " >&6 4228 4694 else 4229 4695 ac_check_lib_save_LIBS=$LIBS 4230 4696 LIBS="-ldld $LIBS" 4231 cat >conftest.$ac_ext <<_ACEOF 4232 /* confdefs.h. */ 4233 _ACEOF 4234 cat confdefs.h >>conftest.$ac_ext 4235 cat >>conftest.$ac_ext <<_ACEOF 4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4236 4698 /* end confdefs.h. */ 4237 4699 … … 4251 4713 } 4252 4714 _ACEOF 4253 rm -f conftest.$ac_objext conftest$ac_exeext 4254 if { (ac_try="$ac_link" 4255 case "(($ac_try" in 4256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4257 *) ac_try_echo=$ac_try;; 4258 esac 4259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4260 $as_echo "$ac_try_echo") >&5 4261 (eval "$ac_link") 2>conftest.er1 4262 ac_status=$? 4263 grep -v '^ *+' conftest.er1 >conftest.err 4264 rm -f conftest.er1 4265 cat conftest.err >&5 4266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4267 (exit $ac_status); } && { 4268 test -z "$ac_c_werror_flag" || 4269 test ! -s conftest.err 4270 } && test -s conftest$ac_exeext && { 4271 test "$cross_compiling" = yes || 4272 $as_test_x conftest$ac_exeext 4273 }; then 4715 if ac_fn_c_try_link "$LINENO"; then : 4274 4716 ac_cv_lib_dld_shl_load=yes 4275 4717 else 4276 $as_echo "$as_me: failed program was:" >&5 4277 sed 's/^/| /' conftest.$ac_ext >&5 4278 4279 ac_cv_lib_dld_shl_load=no 4280 fi 4281 4282 rm -rf conftest.dSYM 4283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4284 conftest$ac_exeext conftest.$ac_ext 4718 ac_cv_lib_dld_shl_load=no 4719 fi 4720 rm -f core conftest.err conftest.$ac_objext \ 4721 conftest$ac_exeext conftest.$ac_ext 4285 4722 LIBS=$ac_check_lib_save_LIBS 4286 4723 fi 4287 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&54724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 4288 4725 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4289 if test "x$ac_cv_lib_dld_shl_load" = x ""yes; then4726 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 4290 4727 tcl_ok=yes 4291 4728 else … … 4366 4803 if test "$do64bit" = "yes" ; then 4367 4804 if test "$GCC" = "yes" ; then 4368 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported by gcc" >&54805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 4369 4806 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 4370 4807 else … … 4395 4832 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4396 4833 else 4397 if test "${ac_cv_header_dld_h+set}" = set; then 4398 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4399 $as_echo_n "checking for dld.h... " >&6; } 4400 if test "${ac_cv_header_dld_h+set}" = set; then 4401 $as_echo_n "(cached) " >&6 4402 fi 4403 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4404 $as_echo "$ac_cv_header_dld_h" >&6; } 4405 else 4406 # Is the header compilable? 4407 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4408 $as_echo_n "checking dld.h usability... " >&6; } 4409 cat >conftest.$ac_ext <<_ACEOF 4410 /* confdefs.h. */ 4411 _ACEOF 4412 cat confdefs.h >>conftest.$ac_ext 4413 cat >>conftest.$ac_ext <<_ACEOF 4414 /* end confdefs.h. */ 4415 $ac_includes_default 4416 #include <dld.h> 4417 _ACEOF 4418 rm -f conftest.$ac_objext 4419 if { (ac_try="$ac_compile" 4420 case "(($ac_try" in 4421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4422 *) ac_try_echo=$ac_try;; 4423 esac 4424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4425 $as_echo "$ac_try_echo") >&5 4426 (eval "$ac_compile") 2>conftest.er1 4427 ac_status=$? 4428 grep -v '^ *+' conftest.er1 >conftest.err 4429 rm -f conftest.er1 4430 cat conftest.err >&5 4431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4432 (exit $ac_status); } && { 4433 test -z "$ac_c_werror_flag" || 4434 test ! -s conftest.err 4435 } && test -s conftest.$ac_objext; then 4436 ac_header_compiler=yes 4437 else 4438 $as_echo "$as_me: failed program was:" >&5 4439 sed 's/^/| /' conftest.$ac_ext >&5 4440 4441 ac_header_compiler=no 4442 fi 4443 4444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4445 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4446 $as_echo "$ac_header_compiler" >&6; } 4447 4448 # Is the header present? 4449 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4450 $as_echo_n "checking dld.h presence... " >&6; } 4451 cat >conftest.$ac_ext <<_ACEOF 4452 /* confdefs.h. */ 4453 _ACEOF 4454 cat confdefs.h >>conftest.$ac_ext 4455 cat >>conftest.$ac_ext <<_ACEOF 4456 /* end confdefs.h. */ 4457 #include <dld.h> 4458 _ACEOF 4459 if { (ac_try="$ac_cpp conftest.$ac_ext" 4460 case "(($ac_try" in 4461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4462 *) ac_try_echo=$ac_try;; 4463 esac 4464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4465 $as_echo "$ac_try_echo") >&5 4466 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4467 ac_status=$? 4468 grep -v '^ *+' conftest.er1 >conftest.err 4469 rm -f conftest.er1 4470 cat conftest.err >&5 4471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4472 (exit $ac_status); } >/dev/null && { 4473 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4474 test ! -s conftest.err 4475 }; then 4476 ac_header_preproc=yes 4477 else 4478 $as_echo "$as_me: failed program was:" >&5 4479 sed 's/^/| /' conftest.$ac_ext >&5 4480 4481 ac_header_preproc=no 4482 fi 4483 4484 rm -f conftest.err conftest.$ac_ext 4485 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4486 $as_echo "$ac_header_preproc" >&6; } 4487 4488 # So? What about this header? 4489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4490 yes:no: ) 4491 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4492 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4493 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4494 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4495 ac_header_preproc=yes 4496 ;; 4497 no:yes:* ) 4498 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4499 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4500 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4501 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4502 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4503 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4504 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4505 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4506 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4507 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4508 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4509 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4510 ( cat <<\_ASBOX 4511 ## ----------------------------------- ## 4512 ## Report this to rappture@nanohub.org ## 4513 ## ----------------------------------- ## 4514 _ASBOX 4515 ) | sed "s/^/$as_me: WARNING: /" >&2 4516 ;; 4517 esac 4518 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4519 $as_echo_n "checking for dld.h... " >&6; } 4520 if test "${ac_cv_header_dld_h+set}" = set; then 4521 $as_echo_n "(cached) " >&6 4522 else 4523 ac_cv_header_dld_h=$ac_header_preproc 4524 fi 4525 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4526 $as_echo "$ac_cv_header_dld_h" >&6; } 4527 4528 fi 4529 if test "x$ac_cv_header_dld_h" = x""yes; then 4834 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4835 if test "x$ac_cv_header_dld_h" = xyes; then : 4530 4836 4531 4837 SHLIB_LD="ld -shared" … … 4542 4848 fi 4543 4849 if test $do64bit = yes; then 4544 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -m64 flag" >&54850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 4545 4851 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 4546 if test "${tcl_cv_cc_m64+set}" = set; then4852 if ${tcl_cv_cc_m64+:} false; then : 4547 4853 $as_echo_n "(cached) " >&6 4548 4854 else … … 4550 4856 hold_cflags=$CFLAGS 4551 4857 CFLAGS="$CFLAGS -m64" 4552 cat >conftest.$ac_ext <<_ACEOF 4553 /* confdefs.h. */ 4554 _ACEOF 4555 cat confdefs.h >>conftest.$ac_ext 4556 cat >>conftest.$ac_ext <<_ACEOF 4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4557 4859 /* end confdefs.h. */ 4558 4860 … … 4565 4867 } 4566 4868 _ACEOF 4567 rm -f conftest.$ac_objext conftest$ac_exeext 4568 if { (ac_try="$ac_link" 4569 case "(($ac_try" in 4570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4571 *) ac_try_echo=$ac_try;; 4572 esac 4573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4574 $as_echo "$ac_try_echo") >&5 4575 (eval "$ac_link") 2>conftest.er1 4576 ac_status=$? 4577 grep -v '^ *+' conftest.er1 >conftest.err 4578 rm -f conftest.er1 4579 cat conftest.err >&5 4580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4581 (exit $ac_status); } && { 4582 test -z "$ac_c_werror_flag" || 4583 test ! -s conftest.err 4584 } && test -s conftest$ac_exeext && { 4585 test "$cross_compiling" = yes || 4586 $as_test_x conftest$ac_exeext 4587 }; then 4869 if ac_fn_c_try_link "$LINENO"; then : 4588 4870 tcl_cv_cc_m64=yes 4589 4871 else 4590 $as_echo "$as_me: failed program was:" >&5 4591 sed 's/^/| /' conftest.$ac_ext >&5 4592 4593 tcl_cv_cc_m64=no 4594 fi 4595 4596 rm -rf conftest.dSYM 4597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4598 conftest$ac_exeext conftest.$ac_ext 4872 tcl_cv_cc_m64=no 4873 fi 4874 rm -f core conftest.err conftest.$ac_objext \ 4875 conftest$ac_exeext conftest.$ac_ext 4599 4876 CFLAGS=$hold_cflags 4600 4877 fi 4601 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_m64" >&54878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 4602 4879 $as_echo "$tcl_cv_cc_m64" >&6; } 4603 4880 if test $tcl_cv_cc_m64 = yes; then … … 4619 4896 4620 4897 # XIM peeking works under XFree86. 4621 cat >>confdefs.h <<\_ACEOF 4622 #define PEEK_XCLOSEIM 1 4623 _ACEOF 4898 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 4624 4899 4625 4900 … … 4638 4913 LD_SEARCH_FLAGS="" 4639 4914 else 4640 if test "${ac_cv_header_dld_h+set}" = set; then 4641 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4642 $as_echo_n "checking for dld.h... " >&6; } 4643 if test "${ac_cv_header_dld_h+set}" = set; then 4644 $as_echo_n "(cached) " >&6 4645 fi 4646 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4647 $as_echo "$ac_cv_header_dld_h" >&6; } 4648 else 4649 # Is the header compilable? 4650 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4651 $as_echo_n "checking dld.h usability... " >&6; } 4652 cat >conftest.$ac_ext <<_ACEOF 4653 /* confdefs.h. */ 4654 _ACEOF 4655 cat confdefs.h >>conftest.$ac_ext 4656 cat >>conftest.$ac_ext <<_ACEOF 4657 /* end confdefs.h. */ 4658 $ac_includes_default 4659 #include <dld.h> 4660 _ACEOF 4661 rm -f conftest.$ac_objext 4662 if { (ac_try="$ac_compile" 4663 case "(($ac_try" in 4664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4665 *) ac_try_echo=$ac_try;; 4666 esac 4667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4668 $as_echo "$ac_try_echo") >&5 4669 (eval "$ac_compile") 2>conftest.er1 4670 ac_status=$? 4671 grep -v '^ *+' conftest.er1 >conftest.err 4672 rm -f conftest.er1 4673 cat conftest.err >&5 4674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4675 (exit $ac_status); } && { 4676 test -z "$ac_c_werror_flag" || 4677 test ! -s conftest.err 4678 } && test -s conftest.$ac_objext; then 4679 ac_header_compiler=yes 4680 else 4681 $as_echo "$as_me: failed program was:" >&5 4682 sed 's/^/| /' conftest.$ac_ext >&5 4683 4684 ac_header_compiler=no 4685 fi 4686 4687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4688 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4689 $as_echo "$ac_header_compiler" >&6; } 4690 4691 # Is the header present? 4692 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4693 $as_echo_n "checking dld.h presence... " >&6; } 4694 cat >conftest.$ac_ext <<_ACEOF 4695 /* confdefs.h. */ 4696 _ACEOF 4697 cat confdefs.h >>conftest.$ac_ext 4698 cat >>conftest.$ac_ext <<_ACEOF 4699 /* end confdefs.h. */ 4700 #include <dld.h> 4701 _ACEOF 4702 if { (ac_try="$ac_cpp conftest.$ac_ext" 4703 case "(($ac_try" in 4704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4705 *) ac_try_echo=$ac_try;; 4706 esac 4707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4708 $as_echo "$ac_try_echo") >&5 4709 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4710 ac_status=$? 4711 grep -v '^ *+' conftest.er1 >conftest.err 4712 rm -f conftest.er1 4713 cat conftest.err >&5 4714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4715 (exit $ac_status); } >/dev/null && { 4716 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4717 test ! -s conftest.err 4718 }; then 4719 ac_header_preproc=yes 4720 else 4721 $as_echo "$as_me: failed program was:" >&5 4722 sed 's/^/| /' conftest.$ac_ext >&5 4723 4724 ac_header_preproc=no 4725 fi 4726 4727 rm -f conftest.err conftest.$ac_ext 4728 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4729 $as_echo "$ac_header_preproc" >&6; } 4730 4731 # So? What about this header? 4732 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4733 yes:no: ) 4734 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4735 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4736 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4737 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4738 ac_header_preproc=yes 4739 ;; 4740 no:yes:* ) 4741 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4742 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4743 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4744 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4745 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4746 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4747 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4748 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4749 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4750 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4751 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4752 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4753 ( cat <<\_ASBOX 4754 ## ----------------------------------- ## 4755 ## Report this to rappture@nanohub.org ## 4756 ## ----------------------------------- ## 4757 _ASBOX 4758 ) | sed "s/^/$as_me: WARNING: /" >&2 4759 ;; 4760 esac 4761 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4762 $as_echo_n "checking for dld.h... " >&6; } 4763 if test "${ac_cv_header_dld_h+set}" = set; then 4764 $as_echo_n "(cached) " >&6 4765 else 4766 ac_cv_header_dld_h=$ac_header_preproc 4767 fi 4768 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4769 $as_echo "$ac_cv_header_dld_h" >&6; } 4770 4771 fi 4772 if test "x$ac_cv_header_dld_h" = x""yes; then 4915 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4916 if test "x$ac_cv_header_dld_h" = xyes; then : 4773 4917 4774 4918 SHLIB_LD="ld -shared" … … 4820 4964 NetBSD-*|FreeBSD-[1-2].*) 4821 4965 # Not available on all versions: check for include file. 4822 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4823 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 4824 $as_echo_n "checking for dlfcn.h... " >&6; } 4825 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4826 $as_echo_n "(cached) " >&6 4827 fi 4828 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 4829 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 4830 else 4831 # Is the header compilable? 4832 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 4833 $as_echo_n "checking dlfcn.h usability... " >&6; } 4834 cat >conftest.$ac_ext <<_ACEOF 4835 /* confdefs.h. */ 4836 _ACEOF 4837 cat confdefs.h >>conftest.$ac_ext 4838 cat >>conftest.$ac_ext <<_ACEOF 4839 /* end confdefs.h. */ 4840 $ac_includes_default 4841 #include <dlfcn.h> 4842 _ACEOF 4843 rm -f conftest.$ac_objext 4844 if { (ac_try="$ac_compile" 4845 case "(($ac_try" in 4846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4847 *) ac_try_echo=$ac_try;; 4848 esac 4849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4850 $as_echo "$ac_try_echo") >&5 4851 (eval "$ac_compile") 2>conftest.er1 4852 ac_status=$? 4853 grep -v '^ *+' conftest.er1 >conftest.err 4854 rm -f conftest.er1 4855 cat conftest.err >&5 4856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4857 (exit $ac_status); } && { 4858 test -z "$ac_c_werror_flag" || 4859 test ! -s conftest.err 4860 } && test -s conftest.$ac_objext; then 4861 ac_header_compiler=yes 4862 else 4863 $as_echo "$as_me: failed program was:" >&5 4864 sed 's/^/| /' conftest.$ac_ext >&5 4865 4866 ac_header_compiler=no 4867 fi 4868 4869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4870 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4871 $as_echo "$ac_header_compiler" >&6; } 4872 4873 # Is the header present? 4874 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 4875 $as_echo_n "checking dlfcn.h presence... " >&6; } 4876 cat >conftest.$ac_ext <<_ACEOF 4877 /* confdefs.h. */ 4878 _ACEOF 4879 cat confdefs.h >>conftest.$ac_ext 4880 cat >>conftest.$ac_ext <<_ACEOF 4881 /* end confdefs.h. */ 4882 #include <dlfcn.h> 4883 _ACEOF 4884 if { (ac_try="$ac_cpp conftest.$ac_ext" 4885 case "(($ac_try" in 4886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4887 *) ac_try_echo=$ac_try;; 4888 esac 4889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4890 $as_echo "$ac_try_echo") >&5 4891 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4892 ac_status=$? 4893 grep -v '^ *+' conftest.er1 >conftest.err 4894 rm -f conftest.er1 4895 cat conftest.err >&5 4896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4897 (exit $ac_status); } >/dev/null && { 4898 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4899 test ! -s conftest.err 4900 }; then 4901 ac_header_preproc=yes 4902 else 4903 $as_echo "$as_me: failed program was:" >&5 4904 sed 's/^/| /' conftest.$ac_ext >&5 4905 4906 ac_header_preproc=no 4907 fi 4908 4909 rm -f conftest.err conftest.$ac_ext 4910 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4911 $as_echo "$ac_header_preproc" >&6; } 4912 4913 # So? What about this header? 4914 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4915 yes:no: ) 4916 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 4917 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4918 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 4919 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 4920 ac_header_preproc=yes 4921 ;; 4922 no:yes:* ) 4923 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 4924 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 4925 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 4926 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 4927 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 4928 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 4929 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 4930 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 4931 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 4932 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 4933 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 4934 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 4935 ( cat <<\_ASBOX 4936 ## ----------------------------------- ## 4937 ## Report this to rappture@nanohub.org ## 4938 ## ----------------------------------- ## 4939 _ASBOX 4940 ) | sed "s/^/$as_me: WARNING: /" >&2 4941 ;; 4942 esac 4943 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 4944 $as_echo_n "checking for dlfcn.h... " >&6; } 4945 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4946 $as_echo_n "(cached) " >&6 4947 else 4948 ac_cv_header_dlfcn_h=$ac_header_preproc 4949 fi 4950 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 4951 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 4952 4953 fi 4954 if test "x$ac_cv_header_dlfcn_h" = x""yes; then 4966 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 4967 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 4955 4968 4956 4969 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 4963 4976 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4964 4977 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 4965 { $as_echo "$as_me:$ LINENO: checking for ELF" >&54978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 4966 4979 $as_echo_n "checking for ELF... " >&6; } 4967 if test "${tcl_cv_ld_elf+set}" = set; then4980 if ${tcl_cv_ld_elf+:} false; then : 4968 4981 $as_echo_n "(cached) " >&6 4969 4982 else 4970 4983 4971 cat >conftest.$ac_ext <<_ACEOF 4972 /* confdefs.h. */ 4973 _ACEOF 4974 cat confdefs.h >>conftest.$ac_ext 4975 cat >>conftest.$ac_ext <<_ACEOF 4984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4976 4985 /* end confdefs.h. */ 4977 4986 … … 4982 4991 _ACEOF 4983 4992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4984 $EGREP "yes" >/dev/null 2>&1; then 4993 $EGREP "yes" >/dev/null 2>&1; then : 4985 4994 tcl_cv_ld_elf=yes 4986 4995 else … … 4990 4999 4991 5000 fi 4992 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&55001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 4993 5002 $as_echo "$tcl_cv_ld_elf" >&6; } 4994 5003 if test $tcl_cv_ld_elf = yes; then … … 5049 5058 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5050 5059 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 5051 { $as_echo "$as_me:$ LINENO: checking for ELF" >&55060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 5052 5061 $as_echo_n "checking for ELF... " >&6; } 5053 if test "${tcl_cv_ld_elf+set}" = set; then5062 if ${tcl_cv_ld_elf+:} false; then : 5054 5063 $as_echo_n "(cached) " >&6 5055 5064 else 5056 5065 5057 cat >conftest.$ac_ext <<_ACEOF 5058 /* confdefs.h. */ 5059 _ACEOF 5060 cat confdefs.h >>conftest.$ac_ext 5061 cat >>conftest.$ac_ext <<_ACEOF 5066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5062 5067 /* end confdefs.h. */ 5063 5068 … … 5068 5073 _ACEOF 5069 5074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5070 $EGREP "yes" >/dev/null 2>&1; then 5075 $EGREP "yes" >/dev/null 2>&1; then : 5071 5076 tcl_cv_ld_elf=yes 5072 5077 else … … 5076 5081 5077 5082 fi 5078 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&55083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 5079 5084 $as_echo "$tcl_cv_ld_elf" >&6; } 5080 5085 if test $tcl_cv_ld_elf = yes; then … … 5131 5136 case `arch` in 5132 5137 ppc) 5133 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -arch ppc64 flag" >&55138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 5134 5139 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 5135 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then5140 if ${tcl_cv_cc_arch_ppc64+:} false; then : 5136 5141 $as_echo_n "(cached) " >&6 5137 5142 else … … 5139 5144 hold_cflags=$CFLAGS 5140 5145 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 5141 cat >conftest.$ac_ext <<_ACEOF 5142 /* confdefs.h. */ 5143 _ACEOF 5144 cat confdefs.h >>conftest.$ac_ext 5145 cat >>conftest.$ac_ext <<_ACEOF 5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5146 5147 /* end confdefs.h. */ 5147 5148 … … 5154 5155 } 5155 5156 _ACEOF 5156 rm -f conftest.$ac_objext conftest$ac_exeext 5157 if { (ac_try="$ac_link" 5158 case "(($ac_try" in 5159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5160 *) ac_try_echo=$ac_try;; 5161 esac 5162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5163 $as_echo "$ac_try_echo") >&5 5164 (eval "$ac_link") 2>conftest.er1 5165 ac_status=$? 5166 grep -v '^ *+' conftest.er1 >conftest.err 5167 rm -f conftest.er1 5168 cat conftest.err >&5 5169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5170 (exit $ac_status); } && { 5171 test -z "$ac_c_werror_flag" || 5172 test ! -s conftest.err 5173 } && test -s conftest$ac_exeext && { 5174 test "$cross_compiling" = yes || 5175 $as_test_x conftest$ac_exeext 5176 }; then 5157 if ac_fn_c_try_link "$LINENO"; then : 5177 5158 tcl_cv_cc_arch_ppc64=yes 5178 5159 else 5179 $as_echo "$as_me: failed program was:" >&5 5180 sed 's/^/| /' conftest.$ac_ext >&5 5181 5182 tcl_cv_cc_arch_ppc64=no 5183 fi 5184 5185 rm -rf conftest.dSYM 5186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5187 conftest$ac_exeext conftest.$ac_ext 5160 tcl_cv_cc_arch_ppc64=no 5161 fi 5162 rm -f core conftest.err conftest.$ac_objext \ 5163 conftest$ac_exeext conftest.$ac_ext 5188 5164 CFLAGS=$hold_cflags 5189 5165 fi 5190 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_arch_ppc64" >&55166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 5191 5167 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 5192 5168 if test $tcl_cv_cc_arch_ppc64 = yes; then … … 5195 5171 fi;; 5196 5172 i386) 5197 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -arch x86_64 flag" >&55173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 5198 5174 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 5199 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then5175 if ${tcl_cv_cc_arch_x86_64+:} false; then : 5200 5176 $as_echo_n "(cached) " >&6 5201 5177 else … … 5203 5179 hold_cflags=$CFLAGS 5204 5180 CFLAGS="$CFLAGS -arch x86_64" 5205 cat >conftest.$ac_ext <<_ACEOF 5206 /* confdefs.h. */ 5207 _ACEOF 5208 cat confdefs.h >>conftest.$ac_ext 5209 cat >>conftest.$ac_ext <<_ACEOF 5181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5210 5182 /* end confdefs.h. */ 5211 5183 … … 5218 5190 } 5219 5191 _ACEOF 5220 rm -f conftest.$ac_objext conftest$ac_exeext 5221 if { (ac_try="$ac_link" 5222 case "(($ac_try" in 5223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5224 *) ac_try_echo=$ac_try;; 5225 esac 5226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5227 $as_echo "$ac_try_echo") >&5 5228 (eval "$ac_link") 2>conftest.er1 5229 ac_status=$? 5230 grep -v '^ *+' conftest.er1 >conftest.err 5231 rm -f conftest.er1 5232 cat conftest.err >&5 5233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5234 (exit $ac_status); } && { 5235 test -z "$ac_c_werror_flag" || 5236 test ! -s conftest.err 5237 } && test -s conftest$ac_exeext && { 5238 test "$cross_compiling" = yes || 5239 $as_test_x conftest$ac_exeext 5240 }; then 5192 if ac_fn_c_try_link "$LINENO"; then : 5241 5193 tcl_cv_cc_arch_x86_64=yes 5242 5194 else 5243 $as_echo "$as_me: failed program was:" >&5 5244 sed 's/^/| /' conftest.$ac_ext >&5 5245 5246 tcl_cv_cc_arch_x86_64=no 5247 fi 5248 5249 rm -rf conftest.dSYM 5250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5251 conftest$ac_exeext conftest.$ac_ext 5195 tcl_cv_cc_arch_x86_64=no 5196 fi 5197 rm -f core conftest.err conftest.$ac_objext \ 5198 conftest$ac_exeext conftest.$ac_ext 5252 5199 CFLAGS=$hold_cflags 5253 5200 fi 5254 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_arch_x86_64" >&55201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 5255 5202 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 5256 5203 if test $tcl_cv_cc_arch_x86_64 = yes; then … … 5259 5206 fi;; 5260 5207 *) 5261 { $as_echo "$as_me:$ LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&55208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 5262 5209 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 5263 5210 esac … … 5269 5216 fi 5270 5217 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 5271 { $as_echo "$as_me:$ LINENO: checking if ld accepts -single_module flag" >&55218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 5272 5219 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 5273 if test "${tcl_cv_ld_single_module+set}" = set; then5220 if ${tcl_cv_ld_single_module+:} false; then : 5274 5221 $as_echo_n "(cached) " >&6 5275 5222 else … … 5277 5224 hold_ldflags=$LDFLAGS 5278 5225 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 5279 cat >conftest.$ac_ext <<_ACEOF 5280 /* confdefs.h. */ 5281 _ACEOF 5282 cat confdefs.h >>conftest.$ac_ext 5283 cat >>conftest.$ac_ext <<_ACEOF 5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5284 5227 /* end confdefs.h. */ 5285 5228 … … 5292 5235 } 5293 5236 _ACEOF 5294 rm -f conftest.$ac_objext conftest$ac_exeext 5295 if { (ac_try="$ac_link" 5296 case "(($ac_try" in 5297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5298 *) ac_try_echo=$ac_try;; 5299 esac 5300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5301 $as_echo "$ac_try_echo") >&5 5302 (eval "$ac_link") 2>conftest.er1 5303 ac_status=$? 5304 grep -v '^ *+' conftest.er1 >conftest.err 5305 rm -f conftest.er1 5306 cat conftest.err >&5 5307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5308 (exit $ac_status); } && { 5309 test -z "$ac_c_werror_flag" || 5310 test ! -s conftest.err 5311 } && test -s conftest$ac_exeext && { 5312 test "$cross_compiling" = yes || 5313 $as_test_x conftest$ac_exeext 5314 }; then 5237 if ac_fn_c_try_link "$LINENO"; then : 5315 5238 tcl_cv_ld_single_module=yes 5316 5239 else 5317 $as_echo "$as_me: failed program was:" >&5 5318 sed 's/^/| /' conftest.$ac_ext >&5 5319 5320 tcl_cv_ld_single_module=no 5321 fi 5322 5323 rm -rf conftest.dSYM 5324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5325 conftest$ac_exeext conftest.$ac_ext 5240 tcl_cv_ld_single_module=no 5241 fi 5242 rm -f core conftest.err conftest.$ac_objext \ 5243 conftest$ac_exeext conftest.$ac_ext 5326 5244 LDFLAGS=$hold_ldflags 5327 5245 fi 5328 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_single_module" >&55246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 5329 5247 $as_echo "$tcl_cv_ld_single_module" >&6; } 5330 5248 if test $tcl_cv_ld_single_module = yes; then … … 5340 5258 LDFLAGS="$LDFLAGS -prebind" 5341 5259 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 5342 { $as_echo "$as_me:$ LINENO: checking if ld accepts -search_paths_first flag" >&55260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 5343 5261 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 5344 if test "${tcl_cv_ld_search_paths_first+set}" = set; then5262 if ${tcl_cv_ld_search_paths_first+:} false; then : 5345 5263 $as_echo_n "(cached) " >&6 5346 5264 else … … 5348 5266 hold_ldflags=$LDFLAGS 5349 5267 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5350 cat >conftest.$ac_ext <<_ACEOF 5351 /* confdefs.h. */ 5352 _ACEOF 5353 cat confdefs.h >>conftest.$ac_ext 5354 cat >>conftest.$ac_ext <<_ACEOF 5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5355 5269 /* end confdefs.h. */ 5356 5270 … … 5363 5277 } 5364 5278 _ACEOF 5365 rm -f conftest.$ac_objext conftest$ac_exeext 5366 if { (ac_try="$ac_link" 5367 case "(($ac_try" in 5368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5369 *) ac_try_echo=$ac_try;; 5370 esac 5371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5372 $as_echo "$ac_try_echo") >&5 5373 (eval "$ac_link") 2>conftest.er1 5374 ac_status=$? 5375 grep -v '^ *+' conftest.er1 >conftest.err 5376 rm -f conftest.er1 5377 cat conftest.err >&5 5378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5379 (exit $ac_status); } && { 5380 test -z "$ac_c_werror_flag" || 5381 test ! -s conftest.err 5382 } && test -s conftest$ac_exeext && { 5383 test "$cross_compiling" = yes || 5384 $as_test_x conftest$ac_exeext 5385 }; then 5279 if ac_fn_c_try_link "$LINENO"; then : 5386 5280 tcl_cv_ld_search_paths_first=yes 5387 5281 else 5388 $as_echo "$as_me: failed program was:" >&5 5389 sed 's/^/| /' conftest.$ac_ext >&5 5390 5391 tcl_cv_ld_search_paths_first=no 5392 fi 5393 5394 rm -rf conftest.dSYM 5395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5396 conftest$ac_exeext conftest.$ac_ext 5282 tcl_cv_ld_search_paths_first=no 5283 fi 5284 rm -f core conftest.err conftest.$ac_objext \ 5285 conftest$ac_exeext conftest.$ac_ext 5397 5286 LDFLAGS=$hold_ldflags 5398 5287 fi 5399 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_search_paths_first" >&55288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 5400 5289 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 5401 5290 if test $tcl_cv_ld_search_paths_first = yes; then … … 5407 5296 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 5408 5297 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 5409 { $as_echo "$as_me:$ LINENO: checking whether to use CoreFoundation" >&55298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5 5410 5299 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 5411 5300 # Check whether --enable-corefoundation was given. 5412 if test "${enable_corefoundation+set}" = set; then 5301 if test "${enable_corefoundation+set}" = set; then : 5413 5302 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 5414 5303 else … … 5416 5305 fi 5417 5306 5418 { $as_echo "$as_me:$ LINENO: result: $tcl_corefoundation" >&55307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5 5419 5308 $as_echo "$tcl_corefoundation" >&6; } 5420 5309 if test $tcl_corefoundation = yes; then 5421 { $as_echo "$as_me:$ LINENO: checking for CoreFoundation.framework" >&55310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 5422 5311 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 5423 if test "${tcl_cv_lib_corefoundation+set}" = set; then5312 if ${tcl_cv_lib_corefoundation+:} false; then : 5424 5313 $as_echo_n "(cached) " >&6 5425 5314 else … … 5433 5322 done; fi 5434 5323 LIBS="$LIBS -framework CoreFoundation" 5435 cat >conftest.$ac_ext <<_ACEOF 5436 /* confdefs.h. */ 5437 _ACEOF 5438 cat confdefs.h >>conftest.$ac_ext 5439 cat >>conftest.$ac_ext <<_ACEOF 5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5440 5325 /* end confdefs.h. */ 5441 5326 #include <CoreFoundation/CoreFoundation.h> … … 5448 5333 } 5449 5334 _ACEOF 5450 rm -f conftest.$ac_objext conftest$ac_exeext 5451 if { (ac_try="$ac_link" 5452 case "(($ac_try" in 5453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5454 *) ac_try_echo=$ac_try;; 5455 esac 5456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5457 $as_echo "$ac_try_echo") >&5 5458 (eval "$ac_link") 2>conftest.er1 5459 ac_status=$? 5460 grep -v '^ *+' conftest.er1 >conftest.err 5461 rm -f conftest.er1 5462 cat conftest.err >&5 5463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5464 (exit $ac_status); } && { 5465 test -z "$ac_c_werror_flag" || 5466 test ! -s conftest.err 5467 } && test -s conftest$ac_exeext && { 5468 test "$cross_compiling" = yes || 5469 $as_test_x conftest$ac_exeext 5470 }; then 5335 if ac_fn_c_try_link "$LINENO"; then : 5471 5336 tcl_cv_lib_corefoundation=yes 5472 5337 else 5473 $as_echo "$as_me: failed program was:" >&5 5474 sed 's/^/| /' conftest.$ac_ext >&5 5475 5476 tcl_cv_lib_corefoundation=no 5477 fi 5478 5479 rm -rf conftest.dSYM 5480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5481 conftest$ac_exeext conftest.$ac_ext 5338 tcl_cv_lib_corefoundation=no 5339 fi 5340 rm -f core conftest.err conftest.$ac_objext \ 5341 conftest$ac_exeext conftest.$ac_ext 5482 5342 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 5483 5343 eval $v'="$hold_'$v'"' 5484 5344 done; fi; LIBS=$hold_libs 5485 5345 fi 5486 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_lib_corefoundation" >&55346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5 5487 5347 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 5488 5348 if test $tcl_cv_lib_corefoundation = yes; then 5489 5349 LIBS="$LIBS -framework CoreFoundation" 5490 cat >>confdefs.h <<\_ACEOF 5491 #define HAVE_COREFOUNDATION 1 5492 _ACEOF 5350 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 5493 5351 5494 5352 else … … 5496 5354 fi 5497 5355 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 5498 { $as_echo "$as_me:$ LINENO: checking for 64-bit CoreFoundation" >&55356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 5499 5357 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 5500 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then5358 if ${tcl_cv_lib_corefoundation_64+:} false; then : 5501 5359 $as_echo_n "(cached) " >&6 5502 5360 else … … 5505 5363 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 5506 5364 done 5507 cat >conftest.$ac_ext <<_ACEOF 5508 /* confdefs.h. */ 5509 _ACEOF 5510 cat confdefs.h >>conftest.$ac_ext 5511 cat >>conftest.$ac_ext <<_ACEOF 5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5512 5366 /* end confdefs.h. */ 5513 5367 #include <CoreFoundation/CoreFoundation.h> … … 5520 5374 } 5521 5375 _ACEOF 5522 rm -f conftest.$ac_objext conftest$ac_exeext 5523 if { (ac_try="$ac_link" 5524 case "(($ac_try" in 5525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5526 *) ac_try_echo=$ac_try;; 5527 esac 5528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5529 $as_echo "$ac_try_echo") >&5 5530 (eval "$ac_link") 2>conftest.er1 5531 ac_status=$? 5532 grep -v '^ *+' conftest.er1 >conftest.err 5533 rm -f conftest.er1 5534 cat conftest.err >&5 5535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5536 (exit $ac_status); } && { 5537 test -z "$ac_c_werror_flag" || 5538 test ! -s conftest.err 5539 } && test -s conftest$ac_exeext && { 5540 test "$cross_compiling" = yes || 5541 $as_test_x conftest$ac_exeext 5542 }; then 5376 if ac_fn_c_try_link "$LINENO"; then : 5543 5377 tcl_cv_lib_corefoundation_64=yes 5544 5378 else 5545 $as_echo "$as_me: failed program was:" >&5 5546 sed 's/^/| /' conftest.$ac_ext >&5 5547 5548 tcl_cv_lib_corefoundation_64=no 5549 fi 5550 5551 rm -rf conftest.dSYM 5552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5553 conftest$ac_exeext conftest.$ac_ext 5379 tcl_cv_lib_corefoundation_64=no 5380 fi 5381 rm -f core conftest.err conftest.$ac_objext \ 5382 conftest$ac_exeext conftest.$ac_ext 5554 5383 for v in CFLAGS CPPFLAGS LDFLAGS; do 5555 5384 eval $v'="$hold_'$v'"' 5556 5385 done 5557 5386 fi 5558 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_lib_corefoundation_64" >&55387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5 5559 5388 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 5560 5389 if test $tcl_cv_lib_corefoundation_64 = no; then 5561 cat >>confdefs.h <<\_ACEOF 5562 #define NO_COREFOUNDATION_64 1 5563 _ACEOF 5390 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 5564 5391 5565 5392 fi 5566 5393 fi 5567 5394 fi 5568 cat >>confdefs.h <<\_ACEOF 5569 #define MAC_OSX_TCL 1 5570 _ACEOF 5395 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 5571 5396 5572 5397 ;; … … 5583 5408 OS/390-*) 5584 5409 CFLAGS_OPTIMIZE="" # Optimizer is buggy 5585 cat >>confdefs.h <<\_ACEOF 5586 #define _OE_SOCKETS 1 5587 _ACEOF 5410 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 5588 5411 # needed in sys/socket.h 5589 5412 ;; … … 5726 5549 # won't define thread-safe library routines. 5727 5550 5728 cat >>confdefs.h <<\_ACEOF 5729 #define _REENTRANT 1 5730 _ACEOF 5731 5732 cat >>confdefs.h <<\_ACEOF 5733 #define _POSIX_PTHREAD_SEMANTICS 1 5734 _ACEOF 5551 $as_echo "#define _REENTRANT 1" >>confdefs.h 5552 5553 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5735 5554 5736 5555 … … 5758 5577 # won't define thread-safe library routines. 5759 5578 5760 cat >>confdefs.h <<\_ACEOF 5761 #define _REENTRANT 1 5762 _ACEOF 5763 5764 cat >>confdefs.h <<\_ACEOF 5765 #define _POSIX_PTHREAD_SEMANTICS 1 5766 _ACEOF 5579 $as_echo "#define _REENTRANT 1" >>confdefs.h 5580 5581 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5767 5582 5768 5583 … … 5775 5590 if test "$GCC" = "yes" ; then 5776 5591 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 5777 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&55592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 5778 5593 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 5779 5594 else … … 5797 5612 elif test "$arch" = "amd64 i386" ; then 5798 5613 if test "$GCC" = "yes" ; then 5799 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&55614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5800 5615 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 5801 5616 else … … 5805 5620 fi 5806 5621 else 5807 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported for $arch" >&55622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 5808 5623 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 5809 5624 fi … … 5864 5679 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 5865 5680 # that don't grok the -Bexport option. Test that it does. 5866 { $as_echo "$as_me:$ LINENO: checking for ld accepts -Bexport flag" >&55681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 5867 5682 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 5868 if test "${tcl_cv_ld_Bexport+set}" = set; then5683 if ${tcl_cv_ld_Bexport+:} false; then : 5869 5684 $as_echo_n "(cached) " >&6 5870 5685 else … … 5872 5687 hold_ldflags=$LDFLAGS 5873 5688 LDFLAGS="$LDFLAGS -Wl,-Bexport" 5874 cat >conftest.$ac_ext <<_ACEOF 5875 /* confdefs.h. */ 5876 _ACEOF 5877 cat confdefs.h >>conftest.$ac_ext 5878 cat >>conftest.$ac_ext <<_ACEOF 5689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5879 5690 /* end confdefs.h. */ 5880 5691 … … 5887 5698 } 5888 5699 _ACEOF 5889 rm -f conftest.$ac_objext conftest$ac_exeext 5890 if { (ac_try="$ac_link" 5891 case "(($ac_try" in 5892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5893 *) ac_try_echo=$ac_try;; 5894 esac 5895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5896 $as_echo "$ac_try_echo") >&5 5897 (eval "$ac_link") 2>conftest.er1 5898 ac_status=$? 5899 grep -v '^ *+' conftest.er1 >conftest.err 5900 rm -f conftest.er1 5901 cat conftest.err >&5 5902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5903 (exit $ac_status); } && { 5904 test -z "$ac_c_werror_flag" || 5905 test ! -s conftest.err 5906 } && test -s conftest$ac_exeext && { 5907 test "$cross_compiling" = yes || 5908 $as_test_x conftest$ac_exeext 5909 }; then 5700 if ac_fn_c_try_link "$LINENO"; then : 5910 5701 tcl_cv_ld_Bexport=yes 5911 5702 else 5912 $as_echo "$as_me: failed program was:" >&5 5913 sed 's/^/| /' conftest.$ac_ext >&5 5914 5915 tcl_cv_ld_Bexport=no 5916 fi 5917 5918 rm -rf conftest.dSYM 5919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5920 conftest$ac_exeext conftest.$ac_ext 5703 tcl_cv_ld_Bexport=no 5704 fi 5705 rm -f core conftest.err conftest.$ac_objext \ 5706 conftest$ac_exeext conftest.$ac_ext 5921 5707 LDFLAGS=$hold_ldflags 5922 5708 fi 5923 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_Bexport" >&55709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 5924 5710 $as_echo "$tcl_cv_ld_Bexport" >&6; } 5925 5711 if test $tcl_cv_ld_Bexport = yes; then … … 5932 5718 5933 5719 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 5934 { $as_echo "$as_me:$ LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&55720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 5935 5721 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 5936 5722 fi … … 5959 5745 5960 5746 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 5961 { $as_echo "$as_me:$ LINENO: checking sys/exec.h" >&55747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 5962 5748 $as_echo_n "checking sys/exec.h... " >&6; } 5963 if test "${tcl_cv_sysexec_h+set}" = set; then5749 if ${tcl_cv_sysexec_h+:} false; then : 5964 5750 $as_echo_n "(cached) " >&6 5965 5751 else 5966 5752 5967 cat >conftest.$ac_ext <<_ACEOF 5968 /* confdefs.h. */ 5969 _ACEOF 5970 cat confdefs.h >>conftest.$ac_ext 5971 cat >>conftest.$ac_ext <<_ACEOF 5753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5972 5754 /* end confdefs.h. */ 5973 5755 #include <sys/exec.h> … … 5991 5773 } 5992 5774 _ACEOF 5993 rm -f conftest.$ac_objext 5994 if { (ac_try="$ac_compile" 5995 case "(($ac_try" in 5996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5997 *) ac_try_echo=$ac_try;; 5998 esac 5999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6000 $as_echo "$ac_try_echo") >&5 6001 (eval "$ac_compile") 2>conftest.er1 6002 ac_status=$? 6003 grep -v '^ *+' conftest.er1 >conftest.err 6004 rm -f conftest.er1 6005 cat conftest.err >&5 6006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6007 (exit $ac_status); } && { 6008 test -z "$ac_c_werror_flag" || 6009 test ! -s conftest.err 6010 } && test -s conftest.$ac_objext; then 5775 if ac_fn_c_try_compile "$LINENO"; then : 6011 5776 tcl_cv_sysexec_h=usable 6012 5777 else 6013 $as_echo "$as_me: failed program was:" >&5 6014 sed 's/^/| /' conftest.$ac_ext >&5 6015 6016 tcl_cv_sysexec_h=unusable 6017 fi 6018 5778 tcl_cv_sysexec_h=unusable 5779 fi 6019 5780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6020 5781 fi 6021 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sysexec_h" >&55782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5 6022 5783 $as_echo "$tcl_cv_sysexec_h" >&6; } 6023 5784 if test $tcl_cv_sysexec_h = usable; then 6024 cat >>confdefs.h <<\_ACEOF 6025 #define USE_SYS_EXEC_H 1 6026 _ACEOF 5785 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 6027 5786 6028 5787 else 6029 { $as_echo "$as_me:$ LINENO: checking a.out.h" >&55788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 6030 5789 $as_echo_n "checking a.out.h... " >&6; } 6031 if test "${tcl_cv_aout_h+set}" = set; then5790 if ${tcl_cv_aout_h+:} false; then : 6032 5791 $as_echo_n "(cached) " >&6 6033 5792 else 6034 5793 6035 cat >conftest.$ac_ext <<_ACEOF 6036 /* confdefs.h. */ 6037 _ACEOF 6038 cat confdefs.h >>conftest.$ac_ext 6039 cat >>conftest.$ac_ext <<_ACEOF 5794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6040 5795 /* end confdefs.h. */ 6041 5796 #include <a.out.h> … … 6059 5814 } 6060 5815 _ACEOF 6061 rm -f conftest.$ac_objext 6062 if { (ac_try="$ac_compile" 6063 case "(($ac_try" in 6064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6065 *) ac_try_echo=$ac_try;; 6066 esac 6067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6068 $as_echo "$ac_try_echo") >&5 6069 (eval "$ac_compile") 2>conftest.er1 6070 ac_status=$? 6071 grep -v '^ *+' conftest.er1 >conftest.err 6072 rm -f conftest.er1 6073 cat conftest.err >&5 6074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6075 (exit $ac_status); } && { 6076 test -z "$ac_c_werror_flag" || 6077 test ! -s conftest.err 6078 } && test -s conftest.$ac_objext; then 5816 if ac_fn_c_try_compile "$LINENO"; then : 6079 5817 tcl_cv_aout_h=usable 6080 5818 else 6081 $as_echo "$as_me: failed program was:" >&5 6082 sed 's/^/| /' conftest.$ac_ext >&5 6083 6084 tcl_cv_aout_h=unusable 6085 fi 6086 5819 tcl_cv_aout_h=unusable 5820 fi 6087 5821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6088 5822 fi 6089 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_aout_h" >&55823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5 6090 5824 $as_echo "$tcl_cv_aout_h" >&6; } 6091 5825 if test $tcl_cv_aout_h = usable; then 6092 cat >>confdefs.h <<\_ACEOF 6093 #define USE_A_OUT_H 1 6094 _ACEOF 5826 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 6095 5827 6096 5828 else 6097 { $as_echo "$as_me:$ LINENO: checking sys/exec_aout.h" >&55829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 6098 5830 $as_echo_n "checking sys/exec_aout.h... " >&6; } 6099 if test "${tcl_cv_sysexecaout_h+set}" = set; then5831 if ${tcl_cv_sysexecaout_h+:} false; then : 6100 5832 $as_echo_n "(cached) " >&6 6101 5833 else 6102 5834 6103 cat >conftest.$ac_ext <<_ACEOF 6104 /* confdefs.h. */ 6105 _ACEOF 6106 cat confdefs.h >>conftest.$ac_ext 6107 cat >>conftest.$ac_ext <<_ACEOF 5835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6108 5836 /* end confdefs.h. */ 6109 5837 #include <sys/exec_aout.h> … … 6127 5855 } 6128 5856 _ACEOF 6129 rm -f conftest.$ac_objext 6130 if { (ac_try="$ac_compile" 6131 case "(($ac_try" in 6132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6133 *) ac_try_echo=$ac_try;; 6134 esac 6135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6136 $as_echo "$ac_try_echo") >&5 6137 (eval "$ac_compile") 2>conftest.er1 6138 ac_status=$? 6139 grep -v '^ *+' conftest.er1 >conftest.err 6140 rm -f conftest.er1 6141 cat conftest.err >&5 6142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6143 (exit $ac_status); } && { 6144 test -z "$ac_c_werror_flag" || 6145 test ! -s conftest.err 6146 } && test -s conftest.$ac_objext; then 5857 if ac_fn_c_try_compile "$LINENO"; then : 6147 5858 tcl_cv_sysexecaout_h=usable 6148 5859 else 6149 $as_echo "$as_me: failed program was:" >&5 6150 sed 's/^/| /' conftest.$ac_ext >&5 6151 6152 tcl_cv_sysexecaout_h=unusable 6153 fi 6154 5860 tcl_cv_sysexecaout_h=unusable 5861 fi 6155 5862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6156 5863 fi 6157 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sysexecaout_h" >&55864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5 6158 5865 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 6159 5866 if test $tcl_cv_sysexecaout_h = usable; then 6160 cat >>confdefs.h <<\_ACEOF 6161 #define USE_SYS_EXEC_AOUT_H 1 6162 _ACEOF 5867 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 6163 5868 6164 5869 else … … 6172 5877 6173 5878 # Check whether --enable-load was given. 6174 if test "${enable_load+set}" = set; then 5879 if test "${enable_load+set}" = set; then : 6175 5880 enableval=$enable_load; tcl_ok=$enableval 6176 5881 else … … 6295 6000 6296 6001 6297 { $as_echo "$as_me:$ LINENO: checking for X" >&56002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 6298 6003 $as_echo_n "checking for X... " >&6; } 6299 6004 6300 6005 6301 6006 # Check whether --with-x was given. 6302 if test "${with_x+set}" = set; then 6007 if test "${with_x+set}" = set; then : 6303 6008 withval=$with_x; 6304 6009 fi … … 6310 6015 else 6311 6016 case $x_includes,$x_libraries in #( 6312 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5 6313 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;} 6314 { (exit 1); exit 1; }; };; #( 6315 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 6017 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 6018 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 6316 6019 $as_echo_n "(cached) " >&6 6317 6020 else … … 6330 6033 _ACEOF 6331 6034 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 6332 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.6035 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 6333 6036 for ac_var in incroot usrlibdir libdir; do 6334 6037 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" … … 6361 6064 ac_x_header_dirs=' 6362 6065 /usr/X11/include 6066 /usr/X11R7/include 6363 6067 /usr/X11R6/include 6364 6068 /usr/X11R5/include … … 6366 6070 6367 6071 /usr/include/X11 6072 /usr/include/X11R7 6368 6073 /usr/include/X11R6 6369 6074 /usr/include/X11R5 … … 6371 6076 6372 6077 /usr/local/X11/include 6078 /usr/local/X11R7/include 6373 6079 /usr/local/X11R6/include 6374 6080 /usr/local/X11R5/include … … 6376 6082 6377 6083 /usr/local/include/X11 6084 /usr/local/include/X11R7 6378 6085 /usr/local/include/X11R6 6379 6086 /usr/local/include/X11R5 … … 6397 6104 # Guess where to find include files, by looking for Xlib.h. 6398 6105 # First, try using that file with no special directory specified. 6399 cat >conftest.$ac_ext <<_ACEOF 6400 /* confdefs.h. */ 6401 _ACEOF 6402 cat confdefs.h >>conftest.$ac_ext 6403 cat >>conftest.$ac_ext <<_ACEOF 6106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6404 6107 /* end confdefs.h. */ 6405 6108 #include <X11/Xlib.h> 6406 6109 _ACEOF 6407 if { (ac_try="$ac_cpp conftest.$ac_ext" 6408 case "(($ac_try" in 6409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6410 *) ac_try_echo=$ac_try;; 6411 esac 6412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6413 $as_echo "$ac_try_echo") >&5 6414 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6415 ac_status=$? 6416 grep -v '^ *+' conftest.er1 >conftest.err 6417 rm -f conftest.er1 6418 cat conftest.err >&5 6419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6420 (exit $ac_status); } >/dev/null && { 6421 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6422 test ! -s conftest.err 6423 }; then 6110 if ac_fn_c_try_cpp "$LINENO"; then : 6424 6111 # We can compile using X headers with no special include directory. 6425 6112 ac_x_includes= 6426 6113 else 6427 $as_echo "$as_me: failed program was:" >&56428 sed 's/^/| /' conftest.$ac_ext >&56429 6430 6114 for ac_dir in $ac_x_header_dirs; do 6431 6115 if test -r "$ac_dir/X11/Xlib.h"; then … … 6435 6119 done 6436 6120 fi 6437 6438 rm -f conftest.err conftest.$ac_ext 6121 rm -f conftest.err conftest.i conftest.$ac_ext 6439 6122 fi # $ac_x_includes = no 6440 6123 … … 6445 6128 ac_save_LIBS=$LIBS 6446 6129 LIBS="-lX11 $LIBS" 6447 cat >conftest.$ac_ext <<_ACEOF 6448 /* confdefs.h. */ 6449 _ACEOF 6450 cat confdefs.h >>conftest.$ac_ext 6451 cat >>conftest.$ac_ext <<_ACEOF 6130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6452 6131 /* end confdefs.h. */ 6453 6132 #include <X11/Xlib.h> … … 6460 6139 } 6461 6140 _ACEOF 6462 rm -f conftest.$ac_objext conftest$ac_exeext 6463 if { (ac_try="$ac_link" 6464 case "(($ac_try" in 6465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6466 *) ac_try_echo=$ac_try;; 6467 esac 6468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6469 $as_echo "$ac_try_echo") >&5 6470 (eval "$ac_link") 2>conftest.er1 6471 ac_status=$? 6472 grep -v '^ *+' conftest.er1 >conftest.err 6473 rm -f conftest.er1 6474 cat conftest.err >&5 6475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6476 (exit $ac_status); } && { 6477 test -z "$ac_c_werror_flag" || 6478 test ! -s conftest.err 6479 } && test -s conftest$ac_exeext && { 6480 test "$cross_compiling" = yes || 6481 $as_test_x conftest$ac_exeext 6482 }; then 6141 if ac_fn_c_try_link "$LINENO"; then : 6483 6142 LIBS=$ac_save_LIBS 6484 6143 # We can link X programs with no special library path. 6485 6144 ac_x_libraries= 6486 6145 else 6487 $as_echo "$as_me: failed program was:" >&5 6488 sed 's/^/| /' conftest.$ac_ext >&5 6489 6490 LIBS=$ac_save_LIBS 6146 LIBS=$ac_save_LIBS 6491 6147 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 6492 6148 do … … 6500 6156 done 6501 6157 fi 6502 6503 rm -rf conftest.dSYM 6504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6505 conftest$ac_exeext conftest.$ac_ext 6158 rm -f core conftest.err conftest.$ac_objext \ 6159 conftest$ac_exeext conftest.$ac_ext 6506 6160 fi # $ac_x_libraries = no 6507 6161 … … 6524 6178 6525 6179 if test "$have_x" != yes; then 6526 { $as_echo "$as_me:$ LINENO: result: $have_x" >&56180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 6527 6181 $as_echo "$have_x" >&6; } 6528 6182 no_x=yes … … 6535 6189 ac_x_includes='$x_includes'\ 6536 6190 ac_x_libraries='$x_libraries'" 6537 { $as_echo "$as_me:$ LINENO: result: libraries $x_libraries, headers $x_includes" >&56191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 6538 6192 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } 6539 6193 fi 6540 6541 6542 ac_aux_dir=6543 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do6544 if test -f "$ac_dir/install-sh"; then6545 ac_aux_dir=$ac_dir6546 ac_install_sh="$ac_aux_dir/install-sh -c"6547 break6548 elif test -f "$ac_dir/install.sh"; then6549 ac_aux_dir=$ac_dir6550 ac_install_sh="$ac_aux_dir/install.sh -c"6551 break6552 elif test -f "$ac_dir/shtool"; then6553 ac_aux_dir=$ac_dir6554 ac_install_sh="$ac_aux_dir/shtool install -c"6555 break6556 fi6557 done6558 if test -z "$ac_aux_dir"; then6559 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&56560 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}6561 { (exit 1); exit 1; }; }6562 fi6563 6564 # These three variables are undocumented and unsupported,6565 # and are intended to be withdrawn in a future Autoconf release.6566 # They can cause serious problems if a builder's source tree is in a directory6567 # whose full name contains unusual characters.6568 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.6569 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.6570 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.6571 6194 6572 6195 … … 6585 6208 # ./install, which can be erroneously created by make from ./install.sh. 6586 6209 # Reject install programs that cannot install multiple files. 6587 { $as_echo "$as_me:$ LINENO: checking for a BSD-compatible install" >&56210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 6588 6211 $as_echo_n "checking for a BSD-compatible install... " >&6; } 6589 6212 if test -z "$INSTALL"; then 6590 if test "${ac_cv_path_install+set}" = set; then6213 if ${ac_cv_path_install+:} false; then : 6591 6214 $as_echo_n "(cached) " >&6 6592 6215 else … … 6596 6219 IFS=$as_save_IFS 6597 6220 test -z "$as_dir" && as_dir=. 6598 # Account for people who put trailing slashes in PATH elements.6599 case $as_dir/ in 6600 ./ | .// | / cC/* | \6221 # Account for people who put trailing slashes in PATH elements. 6222 case $as_dir/ in #(( 6223 ./ | .// | /[cC]/* | \ 6601 6224 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6602 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \6225 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 6603 6226 /usr/ucb/* ) ;; 6604 6227 *) … … 6637 6260 esac 6638 6261 6639 done6262 done 6640 6263 IFS=$as_save_IFS 6641 6264 … … 6653 6276 fi 6654 6277 fi 6655 { $as_echo "$as_me:$ LINENO: result: $INSTALL" >&56278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 6656 6279 $as_echo "$INSTALL" >&6; } 6657 6280 … … 6667 6290 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6668 6291 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6669 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6670 6293 $as_echo_n "checking for $ac_word... " >&6; } 6671 if test "${ac_cv_prog_RANLIB+set}" = set; then6294 if ${ac_cv_prog_RANLIB+:} false; then : 6672 6295 $as_echo_n "(cached) " >&6 6673 6296 else … … 6680 6303 IFS=$as_save_IFS 6681 6304 test -z "$as_dir" && as_dir=. 6682 for ac_exec_ext in '' $ac_executable_extensions; do6305 for ac_exec_ext in '' $ac_executable_extensions; do 6683 6306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6684 6307 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6685 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6686 6309 break 2 6687 6310 fi 6688 6311 done 6689 done6312 done 6690 6313 IFS=$as_save_IFS 6691 6314 … … 6694 6317 RANLIB=$ac_cv_prog_RANLIB 6695 6318 if test -n "$RANLIB"; then 6696 { $as_echo "$as_me:$ LINENO: result: $RANLIB" >&56319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6697 6320 $as_echo "$RANLIB" >&6; } 6698 6321 else 6699 { $as_echo "$as_me:$ LINENO: result: no" >&56322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6700 6323 $as_echo "no" >&6; } 6701 6324 fi … … 6707 6330 # Extract the first word of "ranlib", so it can be a program name with args. 6708 6331 set dummy ranlib; ac_word=$2 6709 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6710 6333 $as_echo_n "checking for $ac_word... " >&6; } 6711 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then6334 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6712 6335 $as_echo_n "(cached) " >&6 6713 6336 else … … 6720 6343 IFS=$as_save_IFS 6721 6344 test -z "$as_dir" && as_dir=. 6722 for ac_exec_ext in '' $ac_executable_extensions; do6345 for ac_exec_ext in '' $ac_executable_extensions; do 6723 6346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6724 6347 ac_cv_prog_ac_ct_RANLIB="ranlib" 6725 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6726 6349 break 2 6727 6350 fi 6728 6351 done 6729 done6352 done 6730 6353 IFS=$as_save_IFS 6731 6354 … … 6734 6357 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6735 6358 if test -n "$ac_ct_RANLIB"; then 6736 { $as_echo "$as_me:$ LINENO: result: $ac_ct_RANLIB" >&56359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6737 6360 $as_echo "$ac_ct_RANLIB" >&6; } 6738 6361 else 6739 { $as_echo "$as_me:$ LINENO: result: no" >&56362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6740 6363 $as_echo "no" >&6; } 6741 6364 fi … … 6746 6369 case $cross_compiling:$ac_tool_warned in 6747 6370 yes:) 6748 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&56371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6749 6372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6750 6373 ac_tool_warned=yes ;; … … 6756 6379 fi 6757 6380 6758 { $as_echo "$as_me:$ LINENO: checking whether ln -s works" >&56381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6759 6382 $as_echo_n "checking whether ln -s works... " >&6; } 6760 6383 LN_S=$as_ln_s 6761 6384 if test "$LN_S" = "ln -s"; then 6762 { $as_echo "$as_me:$ LINENO: result: yes" >&56385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6763 6386 $as_echo "yes" >&6; } 6764 6387 else 6765 { $as_echo "$as_me:$ LINENO: result: no, using $LN_S" >&56388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6766 6389 $as_echo "no, using $LN_S" >&6; } 6767 6390 fi 6768 6391 6769 { $as_echo "$as_me:$ LINENO: checking for a thread-safe mkdir -p" >&56392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 6770 6393 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 6771 6394 if test -z "$MKDIR_P"; then 6772 if test "${ac_cv_path_mkdir+set}" = set; then6395 if ${ac_cv_path_mkdir+:} false; then : 6773 6396 $as_echo_n "(cached) " >&6 6774 6397 else … … 6778 6401 IFS=$as_save_IFS 6779 6402 test -z "$as_dir" && as_dir=. 6780 for ac_prog in mkdir gmkdir; do6403 for ac_prog in mkdir gmkdir; do 6781 6404 for ac_exec_ext in '' $ac_executable_extensions; do 6782 6405 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 6790 6413 done 6791 6414 done 6792 done6415 done 6793 6416 IFS=$as_save_IFS 6794 6417 6795 6418 fi 6796 6419 6420 test -d ./--version && rmdir ./--version 6797 6421 if test "${ac_cv_path_mkdir+set}" = set; then 6798 6422 MKDIR_P="$ac_cv_path_mkdir -p" … … 6802 6426 # break other packages using the cache if that directory is 6803 6427 # removed, or if the value is a relative name. 6804 test -d ./--version && rmdir ./--version6805 6428 MKDIR_P="$ac_install_sh -d" 6806 6429 fi 6807 6430 fi 6808 { $as_echo "$as_me:$ LINENO: result: $MKDIR_P" >&56431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 6809 6432 $as_echo "$MKDIR_P" >&6; } 6810 6433 … … 6818 6441 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 6819 6442 set dummy ${ac_tool_prefix}gcc; ac_word=$2 6820 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6821 6444 $as_echo_n "checking for $ac_word... " >&6; } 6822 if test "${ac_cv_prog_CC+set}" = set; then6445 if ${ac_cv_prog_CC+:} false; then : 6823 6446 $as_echo_n "(cached) " >&6 6824 6447 else … … 6831 6454 IFS=$as_save_IFS 6832 6455 test -z "$as_dir" && as_dir=. 6833 for ac_exec_ext in '' $ac_executable_extensions; do6456 for ac_exec_ext in '' $ac_executable_extensions; do 6834 6457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6835 6458 ac_cv_prog_CC="${ac_tool_prefix}gcc" 6836 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6837 6460 break 2 6838 6461 fi 6839 6462 done 6840 done6463 done 6841 6464 IFS=$as_save_IFS 6842 6465 … … 6845 6468 CC=$ac_cv_prog_CC 6846 6469 if test -n "$CC"; then 6847 { $as_echo "$as_me:$ LINENO: result: $CC" >&56470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 6848 6471 $as_echo "$CC" >&6; } 6849 6472 else 6850 { $as_echo "$as_me:$ LINENO: result: no" >&56473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6851 6474 $as_echo "no" >&6; } 6852 6475 fi … … 6858 6481 # Extract the first word of "gcc", so it can be a program name with args. 6859 6482 set dummy gcc; ac_word=$2 6860 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6861 6484 $as_echo_n "checking for $ac_word... " >&6; } 6862 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then6485 if ${ac_cv_prog_ac_ct_CC+:} false; then : 6863 6486 $as_echo_n "(cached) " >&6 6864 6487 else … … 6871 6494 IFS=$as_save_IFS 6872 6495 test -z "$as_dir" && as_dir=. 6873 for ac_exec_ext in '' $ac_executable_extensions; do6496 for ac_exec_ext in '' $ac_executable_extensions; do 6874 6497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6875 6498 ac_cv_prog_ac_ct_CC="gcc" 6876 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6877 6500 break 2 6878 6501 fi 6879 6502 done 6880 done6503 done 6881 6504 IFS=$as_save_IFS 6882 6505 … … 6885 6508 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6886 6509 if test -n "$ac_ct_CC"; then 6887 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&56510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 6888 6511 $as_echo "$ac_ct_CC" >&6; } 6889 6512 else 6890 { $as_echo "$as_me:$ LINENO: result: no" >&56513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6891 6514 $as_echo "no" >&6; } 6892 6515 fi … … 6897 6520 case $cross_compiling:$ac_tool_warned in 6898 6521 yes:) 6899 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&56522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6900 6523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6901 6524 ac_tool_warned=yes ;; … … 6911 6534 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 6912 6535 set dummy ${ac_tool_prefix}cc; ac_word=$2 6913 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6914 6537 $as_echo_n "checking for $ac_word... " >&6; } 6915 if test "${ac_cv_prog_CC+set}" = set; then6538 if ${ac_cv_prog_CC+:} false; then : 6916 6539 $as_echo_n "(cached) " >&6 6917 6540 else … … 6924 6547 IFS=$as_save_IFS 6925 6548 test -z "$as_dir" && as_dir=. 6926 for ac_exec_ext in '' $ac_executable_extensions; do6549 for ac_exec_ext in '' $ac_executable_extensions; do 6927 6550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6928 6551 ac_cv_prog_CC="${ac_tool_prefix}cc" 6929 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6930 6553 break 2 6931 6554 fi 6932 6555 done 6933 done6556 done 6934 6557 IFS=$as_save_IFS 6935 6558 … … 6938 6561 CC=$ac_cv_prog_CC 6939 6562 if test -n "$CC"; then 6940 { $as_echo "$as_me:$ LINENO: result: $CC" >&56563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 6941 6564 $as_echo "$CC" >&6; } 6942 6565 else 6943 { $as_echo "$as_me:$ LINENO: result: no" >&56566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6944 6567 $as_echo "no" >&6; } 6945 6568 fi … … 6951 6574 # Extract the first word of "cc", so it can be a program name with args. 6952 6575 set dummy cc; ac_word=$2 6953 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6954 6577 $as_echo_n "checking for $ac_word... " >&6; } 6955 if test "${ac_cv_prog_CC+set}" = set; then6578 if ${ac_cv_prog_CC+:} false; then : 6956 6579 $as_echo_n "(cached) " >&6 6957 6580 else … … 6965 6588 IFS=$as_save_IFS 6966 6589 test -z "$as_dir" && as_dir=. 6967 for ac_exec_ext in '' $ac_executable_extensions; do6590 for ac_exec_ext in '' $ac_executable_extensions; do 6968 6591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6969 6592 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 6972 6595 fi 6973 6596 ac_cv_prog_CC="cc" 6974 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6975 6598 break 2 6976 6599 fi 6977 6600 done 6978 done6601 done 6979 6602 IFS=$as_save_IFS 6980 6603 … … 6995 6618 CC=$ac_cv_prog_CC 6996 6619 if test -n "$CC"; then 6997 { $as_echo "$as_me:$ LINENO: result: $CC" >&56620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 6998 6621 $as_echo "$CC" >&6; } 6999 6622 else 7000 { $as_echo "$as_me:$ LINENO: result: no" >&56623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7001 6624 $as_echo "no" >&6; } 7002 6625 fi … … 7010 6633 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7011 6634 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7012 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7013 6636 $as_echo_n "checking for $ac_word... " >&6; } 7014 if test "${ac_cv_prog_CC+set}" = set; then6637 if ${ac_cv_prog_CC+:} false; then : 7015 6638 $as_echo_n "(cached) " >&6 7016 6639 else … … 7023 6646 IFS=$as_save_IFS 7024 6647 test -z "$as_dir" && as_dir=. 7025 for ac_exec_ext in '' $ac_executable_extensions; do6648 for ac_exec_ext in '' $ac_executable_extensions; do 7026 6649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7027 6650 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 7028 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7029 6652 break 2 7030 6653 fi 7031 6654 done 7032 done6655 done 7033 6656 IFS=$as_save_IFS 7034 6657 … … 7037 6660 CC=$ac_cv_prog_CC 7038 6661 if test -n "$CC"; then 7039 { $as_echo "$as_me:$ LINENO: result: $CC" >&56662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7040 6663 $as_echo "$CC" >&6; } 7041 6664 else 7042 { $as_echo "$as_me:$ LINENO: result: no" >&56665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7043 6666 $as_echo "no" >&6; } 7044 6667 fi … … 7054 6677 # Extract the first word of "$ac_prog", so it can be a program name with args. 7055 6678 set dummy $ac_prog; ac_word=$2 7056 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7057 6680 $as_echo_n "checking for $ac_word... " >&6; } 7058 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then6681 if ${ac_cv_prog_ac_ct_CC+:} false; then : 7059 6682 $as_echo_n "(cached) " >&6 7060 6683 else … … 7067 6690 IFS=$as_save_IFS 7068 6691 test -z "$as_dir" && as_dir=. 7069 for ac_exec_ext in '' $ac_executable_extensions; do6692 for ac_exec_ext in '' $ac_executable_extensions; do 7070 6693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7071 6694 ac_cv_prog_ac_ct_CC="$ac_prog" 7072 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7073 6696 break 2 7074 6697 fi 7075 6698 done 7076 done6699 done 7077 6700 IFS=$as_save_IFS 7078 6701 … … 7081 6704 ac_ct_CC=$ac_cv_prog_ac_ct_CC 7082 6705 if test -n "$ac_ct_CC"; then 7083 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&56706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 7084 6707 $as_echo "$ac_ct_CC" >&6; } 7085 6708 else 7086 { $as_echo "$as_me:$ LINENO: result: no" >&56709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7087 6710 $as_echo "no" >&6; } 7088 6711 fi … … 7097 6720 case $cross_compiling:$ac_tool_warned in 7098 6721 yes:) 7099 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&56722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7100 6723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7101 6724 ac_tool_warned=yes ;; … … 7108 6731 7109 6732 7110 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&56733 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7111 6734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7112 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 7113 See \`config.log' for more details." >&5 7114 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 7115 See \`config.log' for more details." >&2;} 7116 { (exit 1); exit 1; }; }; } 6735 as_fn_error $? "no acceptable C compiler found in \$PATH 6736 See \`config.log' for more details" "$LINENO" 5; } 7117 6737 7118 6738 # Provide some information about the compiler. 7119 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&56739 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 7120 6740 set X $ac_compile 7121 6741 ac_compiler=$2 7122 { (ac_try="$ac_compiler --version >&5" 6742 for ac_option in --version -v -V -qversion; do 6743 { { ac_try="$ac_compiler $ac_option >&5" 7123 6744 case "(($ac_try" in 7124 6745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7125 6746 *) ac_try_echo=$ac_try;; 7126 6747 esac 7127 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""7128 $as_echo "$ac_try_echo" )>&57129 (eval "$ac_compiler --version >&5") 2>&56748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 6749 $as_echo "$ac_try_echo"; } >&5 6750 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 7130 6751 ac_status=$? 7131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7132 (exit $ac_status); } 7133 { (ac_try="$ac_compiler -v >&5" 7134 case "(($ac_try" in 7135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7136 *) ac_try_echo=$ac_try;; 7137 esac 7138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7139 $as_echo "$ac_try_echo") >&5 7140 (eval "$ac_compiler -v >&5") 2>&5 7141 ac_status=$? 7142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7143 (exit $ac_status); } 7144 { (ac_try="$ac_compiler -V >&5" 7145 case "(($ac_try" in 7146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7147 *) ac_try_echo=$ac_try;; 7148 esac 7149 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7150 $as_echo "$ac_try_echo") >&5 7151 (eval "$ac_compiler -V >&5") 2>&5 7152 ac_status=$? 7153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7154 (exit $ac_status); } 7155 7156 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 6752 if test -s conftest.err; then 6753 sed '10a\ 6754 ... rest of stderr output deleted ... 6755 10q' conftest.err >conftest.er1 6756 cat conftest.er1 >&5 6757 fi 6758 rm -f conftest.er1 conftest.err 6759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6760 test $ac_status = 0; } 6761 done 6762 6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 7157 6764 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 7158 if test "${ac_cv_c_compiler_gnu+set}" = set; then6765 if ${ac_cv_c_compiler_gnu+:} false; then : 7159 6766 $as_echo_n "(cached) " >&6 7160 6767 else 7161 cat >conftest.$ac_ext <<_ACEOF 7162 /* confdefs.h. */ 7163 _ACEOF 7164 cat confdefs.h >>conftest.$ac_ext 7165 cat >>conftest.$ac_ext <<_ACEOF 6768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7166 6769 /* end confdefs.h. */ 7167 6770 … … 7177 6780 } 7178 6781 _ACEOF 7179 rm -f conftest.$ac_objext 7180 if { (ac_try="$ac_compile" 7181 case "(($ac_try" in 7182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7183 *) ac_try_echo=$ac_try;; 7184 esac 7185 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7186 $as_echo "$ac_try_echo") >&5 7187 (eval "$ac_compile") 2>conftest.er1 7188 ac_status=$? 7189 grep -v '^ *+' conftest.er1 >conftest.err 7190 rm -f conftest.er1 7191 cat conftest.err >&5 7192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7193 (exit $ac_status); } && { 7194 test -z "$ac_c_werror_flag" || 7195 test ! -s conftest.err 7196 } && test -s conftest.$ac_objext; then 6782 if ac_fn_c_try_compile "$LINENO"; then : 7197 6783 ac_compiler_gnu=yes 7198 6784 else 7199 $as_echo "$as_me: failed program was:" >&5 7200 sed 's/^/| /' conftest.$ac_ext >&5 7201 7202 ac_compiler_gnu=no 7203 fi 7204 6785 ac_compiler_gnu=no 6786 fi 7205 6787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7206 6788 ac_cv_c_compiler_gnu=$ac_compiler_gnu 7207 6789 7208 6790 fi 7209 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&56791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 7210 6792 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 7211 6793 if test $ac_compiler_gnu = yes; then … … 7216 6798 ac_test_CFLAGS=${CFLAGS+set} 7217 6799 ac_save_CFLAGS=$CFLAGS 7218 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&56800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 7219 6801 $as_echo_n "checking whether $CC accepts -g... " >&6; } 7220 if test "${ac_cv_prog_cc_g+set}" = set; then6802 if ${ac_cv_prog_cc_g+:} false; then : 7221 6803 $as_echo_n "(cached) " >&6 7222 6804 else … … 7225 6807 ac_cv_prog_cc_g=no 7226 6808 CFLAGS="-g" 7227 cat >conftest.$ac_ext <<_ACEOF 7228 /* confdefs.h. */ 7229 _ACEOF 7230 cat confdefs.h >>conftest.$ac_ext 7231 cat >>conftest.$ac_ext <<_ACEOF 6809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7232 6810 /* end confdefs.h. */ 7233 6811 … … 7240 6818 } 7241 6819 _ACEOF 7242 rm -f conftest.$ac_objext 7243 if { (ac_try="$ac_compile" 7244 case "(($ac_try" in 7245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7246 *) ac_try_echo=$ac_try;; 7247 esac 7248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7249 $as_echo "$ac_try_echo") >&5 7250 (eval "$ac_compile") 2>conftest.er1 7251 ac_status=$? 7252 grep -v '^ *+' conftest.er1 >conftest.err 7253 rm -f conftest.er1 7254 cat conftest.err >&5 7255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7256 (exit $ac_status); } && { 7257 test -z "$ac_c_werror_flag" || 7258 test ! -s conftest.err 7259 } && test -s conftest.$ac_objext; then 6820 if ac_fn_c_try_compile "$LINENO"; then : 7260 6821 ac_cv_prog_cc_g=yes 7261 6822 else 7262 $as_echo "$as_me: failed program was:" >&5 7263 sed 's/^/| /' conftest.$ac_ext >&5 7264 7265 CFLAGS="" 7266 cat >conftest.$ac_ext <<_ACEOF 7267 /* confdefs.h. */ 7268 _ACEOF 7269 cat confdefs.h >>conftest.$ac_ext 7270 cat >>conftest.$ac_ext <<_ACEOF 6823 CFLAGS="" 6824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7271 6825 /* end confdefs.h. */ 7272 6826 … … 7279 6833 } 7280 6834 _ACEOF 7281 rm -f conftest.$ac_objext 7282 if { (ac_try="$ac_compile" 7283 case "(($ac_try" in 7284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7285 *) ac_try_echo=$ac_try;; 7286 esac 7287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7288 $as_echo "$ac_try_echo") >&5 7289 (eval "$ac_compile") 2>conftest.er1 7290 ac_status=$? 7291 grep -v '^ *+' conftest.er1 >conftest.err 7292 rm -f conftest.er1 7293 cat conftest.err >&5 7294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7295 (exit $ac_status); } && { 7296 test -z "$ac_c_werror_flag" || 7297 test ! -s conftest.err 7298 } && test -s conftest.$ac_objext; then 7299 : 7300 else 7301 $as_echo "$as_me: failed program was:" >&5 7302 sed 's/^/| /' conftest.$ac_ext >&5 7303 7304 ac_c_werror_flag=$ac_save_c_werror_flag 6835 if ac_fn_c_try_compile "$LINENO"; then : 6836 6837 else 6838 ac_c_werror_flag=$ac_save_c_werror_flag 7305 6839 CFLAGS="-g" 7306 cat >conftest.$ac_ext <<_ACEOF 7307 /* confdefs.h. */ 7308 _ACEOF 7309 cat confdefs.h >>conftest.$ac_ext 7310 cat >>conftest.$ac_ext <<_ACEOF 6840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7311 6841 /* end confdefs.h. */ 7312 6842 … … 7319 6849 } 7320 6850 _ACEOF 7321 rm -f conftest.$ac_objext 7322 if { (ac_try="$ac_compile" 7323 case "(($ac_try" in 7324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7325 *) ac_try_echo=$ac_try;; 7326 esac 7327 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7328 $as_echo "$ac_try_echo") >&5 7329 (eval "$ac_compile") 2>conftest.er1 7330 ac_status=$? 7331 grep -v '^ *+' conftest.er1 >conftest.err 7332 rm -f conftest.er1 7333 cat conftest.err >&5 7334 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7335 (exit $ac_status); } && { 7336 test -z "$ac_c_werror_flag" || 7337 test ! -s conftest.err 7338 } && test -s conftest.$ac_objext; then 6851 if ac_fn_c_try_compile "$LINENO"; then : 7339 6852 ac_cv_prog_cc_g=yes 7340 else 7341 $as_echo "$as_me: failed program was:" >&5 7342 sed 's/^/| /' conftest.$ac_ext >&5 7343 7344 7345 fi 7346 6853 fi 7347 6854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7348 6855 fi 7349 7350 6856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7351 6857 fi 7352 7353 6858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7354 6859 ac_c_werror_flag=$ac_save_c_werror_flag 7355 6860 fi 7356 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&56861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 7357 6862 $as_echo "$ac_cv_prog_cc_g" >&6; } 7358 6863 if test "$ac_test_CFLAGS" = set; then … … 7371 6876 fi 7372 6877 fi 7373 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&56878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 7374 6879 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 7375 if test "${ac_cv_prog_cc_c89+set}" = set; then6880 if ${ac_cv_prog_cc_c89+:} false; then : 7376 6881 $as_echo_n "(cached) " >&6 7377 6882 else 7378 6883 ac_cv_prog_cc_c89=no 7379 6884 ac_save_CC=$CC 7380 cat >conftest.$ac_ext <<_ACEOF 7381 /* confdefs.h. */ 7382 _ACEOF 7383 cat confdefs.h >>conftest.$ac_ext 7384 cat >>conftest.$ac_ext <<_ACEOF 6885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7385 6886 /* end confdefs.h. */ 7386 6887 #include <stdarg.h> … … 7439 6940 do 7440 6941 CC="$ac_save_CC $ac_arg" 7441 rm -f conftest.$ac_objext 7442 if { (ac_try="$ac_compile" 7443 case "(($ac_try" in 7444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7445 *) ac_try_echo=$ac_try;; 7446 esac 7447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7448 $as_echo "$ac_try_echo") >&5 7449 (eval "$ac_compile") 2>conftest.er1 7450 ac_status=$? 7451 grep -v '^ *+' conftest.er1 >conftest.err 7452 rm -f conftest.er1 7453 cat conftest.err >&5 7454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7455 (exit $ac_status); } && { 7456 test -z "$ac_c_werror_flag" || 7457 test ! -s conftest.err 7458 } && test -s conftest.$ac_objext; then 6942 if ac_fn_c_try_compile "$LINENO"; then : 7459 6943 ac_cv_prog_cc_c89=$ac_arg 7460 else 7461 $as_echo "$as_me: failed program was:" >&5 7462 sed 's/^/| /' conftest.$ac_ext >&5 7463 7464 7465 fi 7466 6944 fi 7467 6945 rm -f core conftest.err conftest.$ac_objext 7468 6946 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 7475 6953 case "x$ac_cv_prog_cc_c89" in 7476 6954 x) 7477 { $as_echo "$as_me:$ LINENO: result: none needed" >&56955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 7478 6956 $as_echo "none needed" >&6; } ;; 7479 6957 xno) 7480 { $as_echo "$as_me:$ LINENO: result: unsupported" >&56958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 7481 6959 $as_echo "unsupported" >&6; } ;; 7482 6960 *) 7483 6961 CC="$CC $ac_cv_prog_cc_c89" 7484 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&56962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 7485 6963 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 7486 6964 esac 7487 6965 if test "x$ac_cv_prog_cc_c89" != xno; then : 6966 6967 fi 7488 6968 7489 6969 ac_ext=c … … 7498 6978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7499 6979 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7500 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&56980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7501 6981 $as_echo_n "checking how to run the C preprocessor... " >&6; } 7502 6982 # On Suns, sometimes $CPP names a directory. … … 7505 6985 fi 7506 6986 if test -z "$CPP"; then 7507 if test "${ac_cv_prog_CPP+set}" = set; then6987 if ${ac_cv_prog_CPP+:} false; then : 7508 6988 $as_echo_n "(cached) " >&6 7509 6989 else … … 7520 7000 # On the NeXT, cc -E runs the code through the compiler's parser, 7521 7001 # not just through cpp. "Syntax error" is here to catch this case. 7522 cat >conftest.$ac_ext <<_ACEOF 7523 /* confdefs.h. */ 7524 _ACEOF 7525 cat confdefs.h >>conftest.$ac_ext 7526 cat >>conftest.$ac_ext <<_ACEOF 7002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7527 7003 /* end confdefs.h. */ 7528 7004 #ifdef __STDC__ … … 7533 7009 Syntax error 7534 7010 _ACEOF 7535 if { (ac_try="$ac_cpp conftest.$ac_ext" 7536 case "(($ac_try" in 7537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7538 *) ac_try_echo=$ac_try;; 7539 esac 7540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7541 $as_echo "$ac_try_echo") >&5 7542 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7543 ac_status=$? 7544 grep -v '^ *+' conftest.er1 >conftest.err 7545 rm -f conftest.er1 7546 cat conftest.err >&5 7547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7548 (exit $ac_status); } >/dev/null && { 7549 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7550 test ! -s conftest.err 7551 }; then 7552 : 7553 else 7554 $as_echo "$as_me: failed program was:" >&5 7555 sed 's/^/| /' conftest.$ac_ext >&5 7556 7011 if ac_fn_c_try_cpp "$LINENO"; then : 7012 7013 else 7557 7014 # Broken: fails on valid input. 7558 7015 continue 7559 7016 fi 7560 7561 rm -f conftest.err conftest.$ac_ext 7017 rm -f conftest.err conftest.i conftest.$ac_ext 7562 7018 7563 7019 # OK, works on sane cases. Now check whether nonexistent headers 7564 7020 # can be detected and how. 7565 cat >conftest.$ac_ext <<_ACEOF 7566 /* confdefs.h. */ 7567 _ACEOF 7568 cat confdefs.h >>conftest.$ac_ext 7569 cat >>conftest.$ac_ext <<_ACEOF 7021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7570 7022 /* end confdefs.h. */ 7571 7023 #include <ac_nonexistent.h> 7572 7024 _ACEOF 7573 if { (ac_try="$ac_cpp conftest.$ac_ext" 7574 case "(($ac_try" in 7575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7576 *) ac_try_echo=$ac_try;; 7577 esac 7578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7579 $as_echo "$ac_try_echo") >&5 7580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7581 ac_status=$? 7582 grep -v '^ *+' conftest.er1 >conftest.err 7583 rm -f conftest.er1 7584 cat conftest.err >&5 7585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7586 (exit $ac_status); } >/dev/null && { 7587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7588 test ! -s conftest.err 7589 }; then 7025 if ac_fn_c_try_cpp "$LINENO"; then : 7590 7026 # Broken: success on invalid input. 7591 7027 continue 7592 7028 else 7593 $as_echo "$as_me: failed program was:" >&57594 sed 's/^/| /' conftest.$ac_ext >&57595 7596 7029 # Passes both tests. 7597 7030 ac_preproc_ok=: 7598 7031 break 7599 7032 fi 7600 7601 rm -f conftest.err conftest.$ac_ext 7033 rm -f conftest.err conftest.i conftest.$ac_ext 7602 7034 7603 7035 done 7604 7036 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7605 rm -f conftest. err conftest.$ac_ext7606 if $ac_preproc_ok; then 7037 rm -f conftest.i conftest.err conftest.$ac_ext 7038 if $ac_preproc_ok; then : 7607 7039 break 7608 7040 fi … … 7616 7048 ac_cv_prog_CPP=$CPP 7617 7049 fi 7618 { $as_echo "$as_me:$ LINENO: result: $CPP" >&57050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7619 7051 $as_echo "$CPP" >&6; } 7620 7052 ac_preproc_ok=false … … 7627 7059 # On the NeXT, cc -E runs the code through the compiler's parser, 7628 7060 # not just through cpp. "Syntax error" is here to catch this case. 7629 cat >conftest.$ac_ext <<_ACEOF 7630 /* confdefs.h. */ 7631 _ACEOF 7632 cat confdefs.h >>conftest.$ac_ext 7633 cat >>conftest.$ac_ext <<_ACEOF 7061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7634 7062 /* end confdefs.h. */ 7635 7063 #ifdef __STDC__ … … 7640 7068 Syntax error 7641 7069 _ACEOF 7642 if { (ac_try="$ac_cpp conftest.$ac_ext" 7643 case "(($ac_try" in 7644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7645 *) ac_try_echo=$ac_try;; 7646 esac 7647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7648 $as_echo "$ac_try_echo") >&5 7649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7650 ac_status=$? 7651 grep -v '^ *+' conftest.er1 >conftest.err 7652 rm -f conftest.er1 7653 cat conftest.err >&5 7654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7655 (exit $ac_status); } >/dev/null && { 7656 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7657 test ! -s conftest.err 7658 }; then 7659 : 7660 else 7661 $as_echo "$as_me: failed program was:" >&5 7662 sed 's/^/| /' conftest.$ac_ext >&5 7663 7070 if ac_fn_c_try_cpp "$LINENO"; then : 7071 7072 else 7664 7073 # Broken: fails on valid input. 7665 7074 continue 7666 7075 fi 7667 7668 rm -f conftest.err conftest.$ac_ext 7076 rm -f conftest.err conftest.i conftest.$ac_ext 7669 7077 7670 7078 # OK, works on sane cases. Now check whether nonexistent headers 7671 7079 # can be detected and how. 7672 cat >conftest.$ac_ext <<_ACEOF 7673 /* confdefs.h. */ 7674 _ACEOF 7675 cat confdefs.h >>conftest.$ac_ext 7676 cat >>conftest.$ac_ext <<_ACEOF 7080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7677 7081 /* end confdefs.h. */ 7678 7082 #include <ac_nonexistent.h> 7679 7083 _ACEOF 7680 if { (ac_try="$ac_cpp conftest.$ac_ext" 7681 case "(($ac_try" in 7682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7683 *) ac_try_echo=$ac_try;; 7684 esac 7685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7686 $as_echo "$ac_try_echo") >&5 7687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7688 ac_status=$? 7689 grep -v '^ *+' conftest.er1 >conftest.err 7690 rm -f conftest.er1 7691 cat conftest.err >&5 7692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7693 (exit $ac_status); } >/dev/null && { 7694 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7695 test ! -s conftest.err 7696 }; then 7084 if ac_fn_c_try_cpp "$LINENO"; then : 7697 7085 # Broken: success on invalid input. 7698 7086 continue 7699 7087 else 7700 $as_echo "$as_me: failed program was:" >&57701 sed 's/^/| /' conftest.$ac_ext >&57702 7703 7088 # Passes both tests. 7704 7089 ac_preproc_ok=: 7705 7090 break 7706 7091 fi 7707 7708 rm -f conftest.err conftest.$ac_ext 7092 rm -f conftest.err conftest.i conftest.$ac_ext 7709 7093 7710 7094 done 7711 7095 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7712 rm -f conftest. err conftest.$ac_ext7713 if $ac_preproc_ok; then 7714 : 7715 else 7716 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&57096 rm -f conftest.i conftest.err conftest.$ac_ext 7097 if $ac_preproc_ok; then : 7098 7099 else 7100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7717 7101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7718 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 7719 See \`config.log' for more details." >&5 7720 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 7721 See \`config.log' for more details." >&2;} 7722 { (exit 1); exit 1; }; }; } 7102 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7103 See \`config.log' for more details" "$LINENO" 5; } 7723 7104 fi 7724 7105 … … 7743 7124 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7744 7125 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7745 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7746 7127 $as_echo_n "checking for $ac_word... " >&6; } 7747 if test "${ac_cv_prog_CXX+set}" = set; then7128 if ${ac_cv_prog_CXX+:} false; then : 7748 7129 $as_echo_n "(cached) " >&6 7749 7130 else … … 7756 7137 IFS=$as_save_IFS 7757 7138 test -z "$as_dir" && as_dir=. 7758 for ac_exec_ext in '' $ac_executable_extensions; do7139 for ac_exec_ext in '' $ac_executable_extensions; do 7759 7140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7760 7141 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 7761 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7762 7143 break 2 7763 7144 fi 7764 7145 done 7765 done7146 done 7766 7147 IFS=$as_save_IFS 7767 7148 … … 7770 7151 CXX=$ac_cv_prog_CXX 7771 7152 if test -n "$CXX"; then 7772 { $as_echo "$as_me:$ LINENO: result: $CXX" >&57153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 7773 7154 $as_echo "$CXX" >&6; } 7774 7155 else 7775 { $as_echo "$as_me:$ LINENO: result: no" >&57156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7776 7157 $as_echo "no" >&6; } 7777 7158 fi … … 7787 7168 # Extract the first word of "$ac_prog", so it can be a program name with args. 7788 7169 set dummy $ac_prog; ac_word=$2 7789 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7790 7171 $as_echo_n "checking for $ac_word... " >&6; } 7791 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then7172 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 7792 7173 $as_echo_n "(cached) " >&6 7793 7174 else … … 7800 7181 IFS=$as_save_IFS 7801 7182 test -z "$as_dir" && as_dir=. 7802 for ac_exec_ext in '' $ac_executable_extensions; do7183 for ac_exec_ext in '' $ac_executable_extensions; do 7803 7184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7804 7185 ac_cv_prog_ac_ct_CXX="$ac_prog" 7805 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7806 7187 break 2 7807 7188 fi 7808 7189 done 7809 done7190 done 7810 7191 IFS=$as_save_IFS 7811 7192 … … 7814 7195 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7815 7196 if test -n "$ac_ct_CXX"; then 7816 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&57197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 7817 7198 $as_echo "$ac_ct_CXX" >&6; } 7818 7199 else 7819 { $as_echo "$as_me:$ LINENO: result: no" >&57200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7820 7201 $as_echo "no" >&6; } 7821 7202 fi … … 7830 7211 case $cross_compiling:$ac_tool_warned in 7831 7212 yes:) 7832 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&57213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7833 7214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7834 7215 ac_tool_warned=yes ;; … … 7841 7222 fi 7842 7223 # Provide some information about the compiler. 7843 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&57224 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 7844 7225 set X $ac_compile 7845 7226 ac_compiler=$2 7846 { (ac_try="$ac_compiler --version >&5" 7227 for ac_option in --version -v -V -qversion; do 7228 { { ac_try="$ac_compiler $ac_option >&5" 7847 7229 case "(($ac_try" in 7848 7230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7849 7231 *) ac_try_echo=$ac_try;; 7850 7232 esac 7851 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""7852 $as_echo "$ac_try_echo" )>&57853 (eval "$ac_compiler --version >&5") 2>&57233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 7234 $as_echo "$ac_try_echo"; } >&5 7235 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 7854 7236 ac_status=$? 7855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7856 (exit $ac_status); } 7857 { (ac_try="$ac_compiler -v >&5" 7858 case "(($ac_try" in 7859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7860 *) ac_try_echo=$ac_try;; 7861 esac 7862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7863 $as_echo "$ac_try_echo") >&5 7864 (eval "$ac_compiler -v >&5") 2>&5 7865 ac_status=$? 7866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7867 (exit $ac_status); } 7868 { (ac_try="$ac_compiler -V >&5" 7869 case "(($ac_try" in 7870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7871 *) ac_try_echo=$ac_try;; 7872 esac 7873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7874 $as_echo "$ac_try_echo") >&5 7875 (eval "$ac_compiler -V >&5") 2>&5 7876 ac_status=$? 7877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7878 (exit $ac_status); } 7879 7880 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7237 if test -s conftest.err; then 7238 sed '10a\ 7239 ... rest of stderr output deleted ... 7240 10q' conftest.err >conftest.er1 7241 cat conftest.er1 >&5 7242 fi 7243 rm -f conftest.er1 conftest.err 7244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7245 test $ac_status = 0; } 7246 done 7247 7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 7881 7249 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7882 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then7250 if ${ac_cv_cxx_compiler_gnu+:} false; then : 7883 7251 $as_echo_n "(cached) " >&6 7884 7252 else 7885 cat >conftest.$ac_ext <<_ACEOF 7886 /* confdefs.h. */ 7887 _ACEOF 7888 cat confdefs.h >>conftest.$ac_ext 7889 cat >>conftest.$ac_ext <<_ACEOF 7253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7890 7254 /* end confdefs.h. */ 7891 7255 … … 7901 7265 } 7902 7266 _ACEOF 7903 rm -f conftest.$ac_objext 7904 if { (ac_try="$ac_compile" 7905 case "(($ac_try" in 7906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7907 *) ac_try_echo=$ac_try;; 7908 esac 7909 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7910 $as_echo "$ac_try_echo") >&5 7911 (eval "$ac_compile") 2>conftest.er1 7912 ac_status=$? 7913 grep -v '^ *+' conftest.er1 >conftest.err 7914 rm -f conftest.er1 7915 cat conftest.err >&5 7916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7917 (exit $ac_status); } && { 7918 test -z "$ac_cxx_werror_flag" || 7919 test ! -s conftest.err 7920 } && test -s conftest.$ac_objext; then 7267 if ac_fn_cxx_try_compile "$LINENO"; then : 7921 7268 ac_compiler_gnu=yes 7922 7269 else 7923 $as_echo "$as_me: failed program was:" >&5 7924 sed 's/^/| /' conftest.$ac_ext >&5 7925 7926 ac_compiler_gnu=no 7927 fi 7928 7270 ac_compiler_gnu=no 7271 fi 7929 7272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7930 7273 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 7931 7274 7932 7275 fi 7933 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&57276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 7934 7277 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 7935 7278 if test $ac_compiler_gnu = yes; then … … 7940 7283 ac_test_CXXFLAGS=${CXXFLAGS+set} 7941 7284 ac_save_CXXFLAGS=$CXXFLAGS 7942 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&57285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 7943 7286 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 7944 if test "${ac_cv_prog_cxx_g+set}" = set; then7287 if ${ac_cv_prog_cxx_g+:} false; then : 7945 7288 $as_echo_n "(cached) " >&6 7946 7289 else … … 7949 7292 ac_cv_prog_cxx_g=no 7950 7293 CXXFLAGS="-g" 7951 cat >conftest.$ac_ext <<_ACEOF 7952 /* confdefs.h. */ 7953 _ACEOF 7954 cat confdefs.h >>conftest.$ac_ext 7955 cat >>conftest.$ac_ext <<_ACEOF 7294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7956 7295 /* end confdefs.h. */ 7957 7296 … … 7964 7303 } 7965 7304 _ACEOF 7966 rm -f conftest.$ac_objext 7967 if { (ac_try="$ac_compile" 7968 case "(($ac_try" in 7969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7970 *) ac_try_echo=$ac_try;; 7971 esac 7972 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7973 $as_echo "$ac_try_echo") >&5 7974 (eval "$ac_compile") 2>conftest.er1 7975 ac_status=$? 7976 grep -v '^ *+' conftest.er1 >conftest.err 7977 rm -f conftest.er1 7978 cat conftest.err >&5 7979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7980 (exit $ac_status); } && { 7981 test -z "$ac_cxx_werror_flag" || 7982 test ! -s conftest.err 7983 } && test -s conftest.$ac_objext; then 7305 if ac_fn_cxx_try_compile "$LINENO"; then : 7984 7306 ac_cv_prog_cxx_g=yes 7985 7307 else 7986 $as_echo "$as_me: failed program was:" >&5 7987 sed 's/^/| /' conftest.$ac_ext >&5 7988 7989 CXXFLAGS="" 7990 cat >conftest.$ac_ext <<_ACEOF 7991 /* confdefs.h. */ 7992 _ACEOF 7993 cat confdefs.h >>conftest.$ac_ext 7994 cat >>conftest.$ac_ext <<_ACEOF 7308 CXXFLAGS="" 7309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7995 7310 /* end confdefs.h. */ 7996 7311 … … 8003 7318 } 8004 7319 _ACEOF 8005 rm -f conftest.$ac_objext 8006 if { (ac_try="$ac_compile" 8007 case "(($ac_try" in 8008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8009 *) ac_try_echo=$ac_try;; 8010 esac 8011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8012 $as_echo "$ac_try_echo") >&5 8013 (eval "$ac_compile") 2>conftest.er1 8014 ac_status=$? 8015 grep -v '^ *+' conftest.er1 >conftest.err 8016 rm -f conftest.er1 8017 cat conftest.err >&5 8018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8019 (exit $ac_status); } && { 8020 test -z "$ac_cxx_werror_flag" || 8021 test ! -s conftest.err 8022 } && test -s conftest.$ac_objext; then 8023 : 8024 else 8025 $as_echo "$as_me: failed program was:" >&5 8026 sed 's/^/| /' conftest.$ac_ext >&5 8027 8028 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7320 if ac_fn_cxx_try_compile "$LINENO"; then : 7321 7322 else 7323 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8029 7324 CXXFLAGS="-g" 8030 cat >conftest.$ac_ext <<_ACEOF 8031 /* confdefs.h. */ 8032 _ACEOF 8033 cat confdefs.h >>conftest.$ac_ext 8034 cat >>conftest.$ac_ext <<_ACEOF 7325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8035 7326 /* end confdefs.h. */ 8036 7327 … … 8043 7334 } 8044 7335 _ACEOF 8045 rm -f conftest.$ac_objext 8046 if { (ac_try="$ac_compile" 8047 case "(($ac_try" in 8048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8049 *) ac_try_echo=$ac_try;; 8050 esac 8051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8052 $as_echo "$ac_try_echo") >&5 8053 (eval "$ac_compile") 2>conftest.er1 8054 ac_status=$? 8055 grep -v '^ *+' conftest.er1 >conftest.err 8056 rm -f conftest.er1 8057 cat conftest.err >&5 8058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8059 (exit $ac_status); } && { 8060 test -z "$ac_cxx_werror_flag" || 8061 test ! -s conftest.err 8062 } && test -s conftest.$ac_objext; then 7336 if ac_fn_cxx_try_compile "$LINENO"; then : 8063 7337 ac_cv_prog_cxx_g=yes 8064 else 8065 $as_echo "$as_me: failed program was:" >&5 8066 sed 's/^/| /' conftest.$ac_ext >&5 8067 8068 8069 fi 8070 7338 fi 8071 7339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8072 7340 fi 8073 8074 7341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8075 7342 fi 8076 8077 7343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8078 7344 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8079 7345 fi 8080 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&57346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 8081 7347 $as_echo "$ac_cv_prog_cxx_g" >&6; } 8082 7348 if test "$ac_test_CXXFLAGS" = set; then … … 8106 7372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8107 7373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8108 { $as_echo "$as_me:$ LINENO: checking how to run the C++ preprocessor" >&57374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 8109 7375 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 8110 7376 if test -z "$CXXCPP"; then 8111 if test "${ac_cv_prog_CXXCPP+set}" = set; then7377 if ${ac_cv_prog_CXXCPP+:} false; then : 8112 7378 $as_echo_n "(cached) " >&6 8113 7379 else … … 8124 7390 # On the NeXT, cc -E runs the code through the compiler's parser, 8125 7391 # not just through cpp. "Syntax error" is here to catch this case. 8126 cat >conftest.$ac_ext <<_ACEOF 8127 /* confdefs.h. */ 8128 _ACEOF 8129 cat confdefs.h >>conftest.$ac_ext 8130 cat >>conftest.$ac_ext <<_ACEOF 7392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8131 7393 /* end confdefs.h. */ 8132 7394 #ifdef __STDC__ … … 8137 7399 Syntax error 8138 7400 _ACEOF 8139 if { (ac_try="$ac_cpp conftest.$ac_ext" 8140 case "(($ac_try" in 8141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8142 *) ac_try_echo=$ac_try;; 8143 esac 8144 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8145 $as_echo "$ac_try_echo") >&5 8146 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8147 ac_status=$? 8148 grep -v '^ *+' conftest.er1 >conftest.err 8149 rm -f conftest.er1 8150 cat conftest.err >&5 8151 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8152 (exit $ac_status); } >/dev/null && { 8153 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8154 test ! -s conftest.err 8155 }; then 8156 : 8157 else 8158 $as_echo "$as_me: failed program was:" >&5 8159 sed 's/^/| /' conftest.$ac_ext >&5 8160 7401 if ac_fn_cxx_try_cpp "$LINENO"; then : 7402 7403 else 8161 7404 # Broken: fails on valid input. 8162 7405 continue 8163 7406 fi 8164 8165 rm -f conftest.err conftest.$ac_ext 7407 rm -f conftest.err conftest.i conftest.$ac_ext 8166 7408 8167 7409 # OK, works on sane cases. Now check whether nonexistent headers 8168 7410 # can be detected and how. 8169 cat >conftest.$ac_ext <<_ACEOF 8170 /* confdefs.h. */ 8171 _ACEOF 8172 cat confdefs.h >>conftest.$ac_ext 8173 cat >>conftest.$ac_ext <<_ACEOF 7411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8174 7412 /* end confdefs.h. */ 8175 7413 #include <ac_nonexistent.h> 8176 7414 _ACEOF 8177 if { (ac_try="$ac_cpp conftest.$ac_ext" 8178 case "(($ac_try" in 8179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8180 *) ac_try_echo=$ac_try;; 8181 esac 8182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8183 $as_echo "$ac_try_echo") >&5 8184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8185 ac_status=$? 8186 grep -v '^ *+' conftest.er1 >conftest.err 8187 rm -f conftest.er1 8188 cat conftest.err >&5 8189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8190 (exit $ac_status); } >/dev/null && { 8191 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8192 test ! -s conftest.err 8193 }; then 7415 if ac_fn_cxx_try_cpp "$LINENO"; then : 8194 7416 # Broken: success on invalid input. 8195 7417 continue 8196 7418 else 8197 $as_echo "$as_me: failed program was:" >&58198 sed 's/^/| /' conftest.$ac_ext >&58199 8200 7419 # Passes both tests. 8201 7420 ac_preproc_ok=: 8202 7421 break 8203 7422 fi 8204 8205 rm -f conftest.err conftest.$ac_ext 7423 rm -f conftest.err conftest.i conftest.$ac_ext 8206 7424 8207 7425 done 8208 7426 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8209 rm -f conftest. err conftest.$ac_ext8210 if $ac_preproc_ok; then 7427 rm -f conftest.i conftest.err conftest.$ac_ext 7428 if $ac_preproc_ok; then : 8211 7429 break 8212 7430 fi … … 8220 7438 ac_cv_prog_CXXCPP=$CXXCPP 8221 7439 fi 8222 { $as_echo "$as_me:$ LINENO: result: $CXXCPP" >&57440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 8223 7441 $as_echo "$CXXCPP" >&6; } 8224 7442 ac_preproc_ok=false … … 8231 7449 # On the NeXT, cc -E runs the code through the compiler's parser, 8232 7450 # not just through cpp. "Syntax error" is here to catch this case. 8233 cat >conftest.$ac_ext <<_ACEOF 8234 /* confdefs.h. */ 8235 _ACEOF 8236 cat confdefs.h >>conftest.$ac_ext 8237 cat >>conftest.$ac_ext <<_ACEOF 7451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8238 7452 /* end confdefs.h. */ 8239 7453 #ifdef __STDC__ … … 8244 7458 Syntax error 8245 7459 _ACEOF 8246 if { (ac_try="$ac_cpp conftest.$ac_ext" 8247 case "(($ac_try" in 8248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8249 *) ac_try_echo=$ac_try;; 8250 esac 8251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8252 $as_echo "$ac_try_echo") >&5 8253 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8254 ac_status=$? 8255 grep -v '^ *+' conftest.er1 >conftest.err 8256 rm -f conftest.er1 8257 cat conftest.err >&5 8258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8259 (exit $ac_status); } >/dev/null && { 8260 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8261 test ! -s conftest.err 8262 }; then 8263 : 8264 else 8265 $as_echo "$as_me: failed program was:" >&5 8266 sed 's/^/| /' conftest.$ac_ext >&5 8267 7460 if ac_fn_cxx_try_cpp "$LINENO"; then : 7461 7462 else 8268 7463 # Broken: fails on valid input. 8269 7464 continue 8270 7465 fi 8271 8272 rm -f conftest.err conftest.$ac_ext 7466 rm -f conftest.err conftest.i conftest.$ac_ext 8273 7467 8274 7468 # OK, works on sane cases. Now check whether nonexistent headers 8275 7469 # can be detected and how. 8276 cat >conftest.$ac_ext <<_ACEOF 8277 /* confdefs.h. */ 8278 _ACEOF 8279 cat confdefs.h >>conftest.$ac_ext 8280 cat >>conftest.$ac_ext <<_ACEOF 7470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8281 7471 /* end confdefs.h. */ 8282 7472 #include <ac_nonexistent.h> 8283 7473 _ACEOF 8284 if { (ac_try="$ac_cpp conftest.$ac_ext" 8285 case "(($ac_try" in 8286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8287 *) ac_try_echo=$ac_try;; 8288 esac 8289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8290 $as_echo "$ac_try_echo") >&5 8291 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8292 ac_status=$? 8293 grep -v '^ *+' conftest.er1 >conftest.err 8294 rm -f conftest.er1 8295 cat conftest.err >&5 8296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8297 (exit $ac_status); } >/dev/null && { 8298 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8299 test ! -s conftest.err 8300 }; then 7474 if ac_fn_cxx_try_cpp "$LINENO"; then : 8301 7475 # Broken: success on invalid input. 8302 7476 continue 8303 7477 else 8304 $as_echo "$as_me: failed program was:" >&58305 sed 's/^/| /' conftest.$ac_ext >&58306 8307 7478 # Passes both tests. 8308 7479 ac_preproc_ok=: 8309 7480 break 8310 7481 fi 8311 8312 rm -f conftest.err conftest.$ac_ext 7482 rm -f conftest.err conftest.i conftest.$ac_ext 8313 7483 8314 7484 done 8315 7485 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8316 rm -f conftest. err conftest.$ac_ext8317 if $ac_preproc_ok; then 8318 : 8319 else 8320 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&57486 rm -f conftest.i conftest.err conftest.$ac_ext 7487 if $ac_preproc_ok; then : 7488 7489 else 7490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8321 7491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8322 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8323 See \`config.log' for more details." >&5 8324 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8325 See \`config.log' for more details." >&2;} 8326 { (exit 1); exit 1; }; }; } 7492 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 7493 See \`config.log' for more details" "$LINENO" 5; } 8327 7494 fi 8328 7495 … … 8347 7514 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8348 7515 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8349 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8350 7517 $as_echo_n "checking for $ac_word... " >&6; } 8351 if test "${ac_cv_prog_CXX+set}" = set; then7518 if ${ac_cv_prog_CXX+:} false; then : 8352 7519 $as_echo_n "(cached) " >&6 8353 7520 else … … 8360 7527 IFS=$as_save_IFS 8361 7528 test -z "$as_dir" && as_dir=. 8362 for ac_exec_ext in '' $ac_executable_extensions; do7529 for ac_exec_ext in '' $ac_executable_extensions; do 8363 7530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8364 7531 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 8365 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8366 7533 break 2 8367 7534 fi 8368 7535 done 8369 done7536 done 8370 7537 IFS=$as_save_IFS 8371 7538 … … 8374 7541 CXX=$ac_cv_prog_CXX 8375 7542 if test -n "$CXX"; then 8376 { $as_echo "$as_me:$ LINENO: result: $CXX" >&57543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 8377 7544 $as_echo "$CXX" >&6; } 8378 7545 else 8379 { $as_echo "$as_me:$ LINENO: result: no" >&57546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8380 7547 $as_echo "no" >&6; } 8381 7548 fi … … 8391 7558 # Extract the first word of "$ac_prog", so it can be a program name with args. 8392 7559 set dummy $ac_prog; ac_word=$2 8393 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8394 7561 $as_echo_n "checking for $ac_word... " >&6; } 8395 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then7562 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 8396 7563 $as_echo_n "(cached) " >&6 8397 7564 else … … 8404 7571 IFS=$as_save_IFS 8405 7572 test -z "$as_dir" && as_dir=. 8406 for ac_exec_ext in '' $ac_executable_extensions; do7573 for ac_exec_ext in '' $ac_executable_extensions; do 8407 7574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8408 7575 ac_cv_prog_ac_ct_CXX="$ac_prog" 8409 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8410 7577 break 2 8411 7578 fi 8412 7579 done 8413 done7580 done 8414 7581 IFS=$as_save_IFS 8415 7582 … … 8418 7585 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 8419 7586 if test -n "$ac_ct_CXX"; then 8420 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&57587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 8421 7588 $as_echo "$ac_ct_CXX" >&6; } 8422 7589 else 8423 { $as_echo "$as_me:$ LINENO: result: no" >&57590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8424 7591 $as_echo "no" >&6; } 8425 7592 fi … … 8434 7601 case $cross_compiling:$ac_tool_warned in 8435 7602 yes:) 8436 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&57603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8437 7604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8438 7605 ac_tool_warned=yes ;; … … 8445 7612 fi 8446 7613 # Provide some information about the compiler. 8447 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&57614 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 8448 7615 set X $ac_compile 8449 7616 ac_compiler=$2 8450 { (ac_try="$ac_compiler --version >&5" 7617 for ac_option in --version -v -V -qversion; do 7618 { { ac_try="$ac_compiler $ac_option >&5" 8451 7619 case "(($ac_try" in 8452 7620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8453 7621 *) ac_try_echo=$ac_try;; 8454 7622 esac 8455 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""8456 $as_echo "$ac_try_echo" )>&58457 (eval "$ac_compiler --version >&5") 2>&57623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 7624 $as_echo "$ac_try_echo"; } >&5 7625 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 8458 7626 ac_status=$? 8459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8460 (exit $ac_status); } 8461 { (ac_try="$ac_compiler -v >&5" 8462 case "(($ac_try" in 8463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8464 *) ac_try_echo=$ac_try;; 8465 esac 8466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8467 $as_echo "$ac_try_echo") >&5 8468 (eval "$ac_compiler -v >&5") 2>&5 8469 ac_status=$? 8470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8471 (exit $ac_status); } 8472 { (ac_try="$ac_compiler -V >&5" 8473 case "(($ac_try" in 8474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8475 *) ac_try_echo=$ac_try;; 8476 esac 8477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8478 $as_echo "$ac_try_echo") >&5 8479 (eval "$ac_compiler -V >&5") 2>&5 8480 ac_status=$? 8481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8482 (exit $ac_status); } 8483 8484 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7627 if test -s conftest.err; then 7628 sed '10a\ 7629 ... rest of stderr output deleted ... 7630 10q' conftest.err >conftest.er1 7631 cat conftest.er1 >&5 7632 fi 7633 rm -f conftest.er1 conftest.err 7634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7635 test $ac_status = 0; } 7636 done 7637 7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8485 7639 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 8486 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then7640 if ${ac_cv_cxx_compiler_gnu+:} false; then : 8487 7641 $as_echo_n "(cached) " >&6 8488 7642 else 8489 cat >conftest.$ac_ext <<_ACEOF 8490 /* confdefs.h. */ 8491 _ACEOF 8492 cat confdefs.h >>conftest.$ac_ext 8493 cat >>conftest.$ac_ext <<_ACEOF 7643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8494 7644 /* end confdefs.h. */ 8495 7645 … … 8505 7655 } 8506 7656 _ACEOF 8507 rm -f conftest.$ac_objext 8508 if { (ac_try="$ac_compile" 8509 case "(($ac_try" in 8510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8511 *) ac_try_echo=$ac_try;; 8512 esac 8513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8514 $as_echo "$ac_try_echo") >&5 8515 (eval "$ac_compile") 2>conftest.er1 8516 ac_status=$? 8517 grep -v '^ *+' conftest.er1 >conftest.err 8518 rm -f conftest.er1 8519 cat conftest.err >&5 8520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8521 (exit $ac_status); } && { 8522 test -z "$ac_cxx_werror_flag" || 8523 test ! -s conftest.err 8524 } && test -s conftest.$ac_objext; then 7657 if ac_fn_cxx_try_compile "$LINENO"; then : 8525 7658 ac_compiler_gnu=yes 8526 7659 else 8527 $as_echo "$as_me: failed program was:" >&5 8528 sed 's/^/| /' conftest.$ac_ext >&5 8529 8530 ac_compiler_gnu=no 8531 fi 8532 7660 ac_compiler_gnu=no 7661 fi 8533 7662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8534 7663 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 8535 7664 8536 7665 fi 8537 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&57666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 8538 7667 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 8539 7668 if test $ac_compiler_gnu = yes; then … … 8544 7673 ac_test_CXXFLAGS=${CXXFLAGS+set} 8545 7674 ac_save_CXXFLAGS=$CXXFLAGS 8546 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&57675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 8547 7676 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 8548 if test "${ac_cv_prog_cxx_g+set}" = set; then7677 if ${ac_cv_prog_cxx_g+:} false; then : 8549 7678 $as_echo_n "(cached) " >&6 8550 7679 else … … 8553 7682 ac_cv_prog_cxx_g=no 8554 7683 CXXFLAGS="-g" 8555 cat >conftest.$ac_ext <<_ACEOF 8556 /* confdefs.h. */ 8557 _ACEOF 8558 cat confdefs.h >>conftest.$ac_ext 8559 cat >>conftest.$ac_ext <<_ACEOF 7684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8560 7685 /* end confdefs.h. */ 8561 7686 … … 8568 7693 } 8569 7694 _ACEOF 8570 rm -f conftest.$ac_objext 8571 if { (ac_try="$ac_compile" 8572 case "(($ac_try" in 8573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8574 *) ac_try_echo=$ac_try;; 8575 esac 8576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8577 $as_echo "$ac_try_echo") >&5 8578 (eval "$ac_compile") 2>conftest.er1 8579 ac_status=$? 8580 grep -v '^ *+' conftest.er1 >conftest.err 8581 rm -f conftest.er1 8582 cat conftest.err >&5 8583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8584 (exit $ac_status); } && { 8585 test -z "$ac_cxx_werror_flag" || 8586 test ! -s conftest.err 8587 } && test -s conftest.$ac_objext; then 7695 if ac_fn_cxx_try_compile "$LINENO"; then : 8588 7696 ac_cv_prog_cxx_g=yes 8589 7697 else 8590 $as_echo "$as_me: failed program was:" >&5 8591 sed 's/^/| /' conftest.$ac_ext >&5 8592 8593 CXXFLAGS="" 8594 cat >conftest.$ac_ext <<_ACEOF 8595 /* confdefs.h. */ 8596 _ACEOF 8597 cat confdefs.h >>conftest.$ac_ext 8598 cat >>conftest.$ac_ext <<_ACEOF 7698 CXXFLAGS="" 7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8599 7700 /* end confdefs.h. */ 8600 7701 … … 8607 7708 } 8608 7709 _ACEOF 8609 rm -f conftest.$ac_objext 8610 if { (ac_try="$ac_compile" 8611 case "(($ac_try" in 8612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8613 *) ac_try_echo=$ac_try;; 8614 esac 8615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8616 $as_echo "$ac_try_echo") >&5 8617 (eval "$ac_compile") 2>conftest.er1 8618 ac_status=$? 8619 grep -v '^ *+' conftest.er1 >conftest.err 8620 rm -f conftest.er1 8621 cat conftest.err >&5 8622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8623 (exit $ac_status); } && { 8624 test -z "$ac_cxx_werror_flag" || 8625 test ! -s conftest.err 8626 } && test -s conftest.$ac_objext; then 8627 : 8628 else 8629 $as_echo "$as_me: failed program was:" >&5 8630 sed 's/^/| /' conftest.$ac_ext >&5 8631 8632 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7710 if ac_fn_cxx_try_compile "$LINENO"; then : 7711 7712 else 7713 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8633 7714 CXXFLAGS="-g" 8634 cat >conftest.$ac_ext <<_ACEOF 8635 /* confdefs.h. */ 8636 _ACEOF 8637 cat confdefs.h >>conftest.$ac_ext 8638 cat >>conftest.$ac_ext <<_ACEOF 7715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8639 7716 /* end confdefs.h. */ 8640 7717 … … 8647 7724 } 8648 7725 _ACEOF 8649 rm -f conftest.$ac_objext 8650 if { (ac_try="$ac_compile" 8651 case "(($ac_try" in 8652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8653 *) ac_try_echo=$ac_try;; 8654 esac 8655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8656 $as_echo "$ac_try_echo") >&5 8657 (eval "$ac_compile") 2>conftest.er1 8658 ac_status=$? 8659 grep -v '^ *+' conftest.er1 >conftest.err 8660 rm -f conftest.er1 8661 cat conftest.err >&5 8662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8663 (exit $ac_status); } && { 8664 test -z "$ac_cxx_werror_flag" || 8665 test ! -s conftest.err 8666 } && test -s conftest.$ac_objext; then 7726 if ac_fn_cxx_try_compile "$LINENO"; then : 8667 7727 ac_cv_prog_cxx_g=yes 8668 else 8669 $as_echo "$as_me: failed program was:" >&5 8670 sed 's/^/| /' conftest.$ac_ext >&5 8671 8672 8673 fi 8674 7728 fi 8675 7729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8676 7730 fi 8677 8678 7731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8679 7732 fi 8680 8681 7733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8682 7734 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8683 7735 fi 8684 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&57736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 8685 7737 $as_echo "$ac_cv_prog_cxx_g" >&6; } 8686 7738 if test "$ac_test_CXXFLAGS" = set; then … … 8713 7765 8714 7766 8715 8716 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 8717 7768 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 8718 if test "${ac_cv_c_bigendian+set}" = set; then7769 if ${ac_cv_c_bigendian+:} false; then : 8719 7770 $as_echo_n "(cached) " >&6 8720 7771 else 8721 7772 ac_cv_c_bigendian=unknown 8722 7773 # See if we're dealing with a universal compiler. 8723 cat >conftest.$ac_ext <<_ACEOF 8724 /* confdefs.h. */ 8725 _ACEOF 8726 cat confdefs.h >>conftest.$ac_ext 8727 cat >>conftest.$ac_ext <<_ACEOF 7774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8728 7775 /* end confdefs.h. */ 8729 7776 #ifndef __APPLE_CC__ … … 8733 7780 8734 7781 _ACEOF 8735 rm -f conftest.$ac_objext 8736 if { (ac_try="$ac_compile" 8737 case "(($ac_try" in 8738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8739 *) ac_try_echo=$ac_try;; 8740 esac 8741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8742 $as_echo "$ac_try_echo") >&5 8743 (eval "$ac_compile") 2>conftest.er1 8744 ac_status=$? 8745 grep -v '^ *+' conftest.er1 >conftest.err 8746 rm -f conftest.er1 8747 cat conftest.err >&5 8748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8749 (exit $ac_status); } && { 8750 test -z "$ac_cxx_werror_flag" || 8751 test ! -s conftest.err 8752 } && test -s conftest.$ac_objext; then 7782 if ac_fn_cxx_try_compile "$LINENO"; then : 8753 7783 8754 7784 # Check for potential -arch flags. It is not universal unless 8755 # there are some -arch flags. Note that *ppc* also matches 8756 # ppc64. This check is also rather less than ideal. 8757 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8758 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8759 esac 8760 else 8761 $as_echo "$as_me: failed program was:" >&5 8762 sed 's/^/| /' conftest.$ac_ext >&5 8763 8764 8765 fi 8766 7785 # there are at least two -arch flags with different values. 7786 ac_arch= 7787 ac_prev= 7788 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 7789 if test -n "$ac_prev"; then 7790 case $ac_word in 7791 i?86 | x86_64 | ppc | ppc64) 7792 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 7793 ac_arch=$ac_word 7794 else 7795 ac_cv_c_bigendian=universal 7796 break 7797 fi 7798 ;; 7799 esac 7800 ac_prev= 7801 elif test "x$ac_word" = "x-arch"; then 7802 ac_prev=arch 7803 fi 7804 done 7805 fi 8767 7806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8768 7807 if test $ac_cv_c_bigendian = unknown; then 8769 7808 # See if sys/param.h defines the BYTE_ORDER macro. 8770 cat >conftest.$ac_ext <<_ACEOF 8771 /* confdefs.h. */ 8772 _ACEOF 8773 cat confdefs.h >>conftest.$ac_ext 8774 cat >>conftest.$ac_ext <<_ACEOF 7809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8775 7810 /* end confdefs.h. */ 8776 7811 #include <sys/types.h> … … 8790 7825 } 8791 7826 _ACEOF 8792 rm -f conftest.$ac_objext 8793 if { (ac_try="$ac_compile" 8794 case "(($ac_try" in 8795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8796 *) ac_try_echo=$ac_try;; 8797 esac 8798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8799 $as_echo "$ac_try_echo") >&5 8800 (eval "$ac_compile") 2>conftest.er1 8801 ac_status=$? 8802 grep -v '^ *+' conftest.er1 >conftest.err 8803 rm -f conftest.er1 8804 cat conftest.err >&5 8805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8806 (exit $ac_status); } && { 8807 test -z "$ac_cxx_werror_flag" || 8808 test ! -s conftest.err 8809 } && test -s conftest.$ac_objext; then 7827 if ac_fn_cxx_try_compile "$LINENO"; then : 8810 7828 # It does; now see whether it defined to BIG_ENDIAN or not. 8811 cat >conftest.$ac_ext <<_ACEOF 8812 /* confdefs.h. */ 8813 _ACEOF 8814 cat confdefs.h >>conftest.$ac_ext 8815 cat >>conftest.$ac_ext <<_ACEOF 7829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8816 7830 /* end confdefs.h. */ 8817 7831 #include <sys/types.h> … … 8829 7843 } 8830 7844 _ACEOF 8831 rm -f conftest.$ac_objext 8832 if { (ac_try="$ac_compile" 8833 case "(($ac_try" in 8834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8835 *) ac_try_echo=$ac_try;; 8836 esac 8837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8838 $as_echo "$ac_try_echo") >&5 8839 (eval "$ac_compile") 2>conftest.er1 8840 ac_status=$? 8841 grep -v '^ *+' conftest.er1 >conftest.err 8842 rm -f conftest.er1 8843 cat conftest.err >&5 8844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8845 (exit $ac_status); } && { 8846 test -z "$ac_cxx_werror_flag" || 8847 test ! -s conftest.err 8848 } && test -s conftest.$ac_objext; then 7845 if ac_fn_cxx_try_compile "$LINENO"; then : 8849 7846 ac_cv_c_bigendian=yes 8850 7847 else 8851 $as_echo "$as_me: failed program was:" >&5 8852 sed 's/^/| /' conftest.$ac_ext >&5 8853 8854 ac_cv_c_bigendian=no 8855 fi 8856 7848 ac_cv_c_bigendian=no 7849 fi 8857 7850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8858 else 8859 $as_echo "$as_me: failed program was:" >&5 8860 sed 's/^/| /' conftest.$ac_ext >&5 8861 8862 8863 fi 8864 7851 fi 8865 7852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8866 7853 fi 8867 7854 if test $ac_cv_c_bigendian = unknown; then 8868 7855 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8869 cat >conftest.$ac_ext <<_ACEOF 8870 /* confdefs.h. */ 8871 _ACEOF 8872 cat confdefs.h >>conftest.$ac_ext 8873 cat >>conftest.$ac_ext <<_ACEOF 7856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8874 7857 /* end confdefs.h. */ 8875 7858 #include <limits.h> … … 8886 7869 } 8887 7870 _ACEOF 8888 rm -f conftest.$ac_objext 8889 if { (ac_try="$ac_compile" 8890 case "(($ac_try" in 8891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8892 *) ac_try_echo=$ac_try;; 8893 esac 8894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8895 $as_echo "$ac_try_echo") >&5 8896 (eval "$ac_compile") 2>conftest.er1 8897 ac_status=$? 8898 grep -v '^ *+' conftest.er1 >conftest.err 8899 rm -f conftest.er1 8900 cat conftest.err >&5 8901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8902 (exit $ac_status); } && { 8903 test -z "$ac_cxx_werror_flag" || 8904 test ! -s conftest.err 8905 } && test -s conftest.$ac_objext; then 7871 if ac_fn_cxx_try_compile "$LINENO"; then : 8906 7872 # It does; now see whether it defined to _BIG_ENDIAN or not. 8907 cat >conftest.$ac_ext <<_ACEOF 8908 /* confdefs.h. */ 8909 _ACEOF 8910 cat confdefs.h >>conftest.$ac_ext 8911 cat >>conftest.$ac_ext <<_ACEOF 7873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8912 7874 /* end confdefs.h. */ 8913 7875 #include <limits.h> … … 8924 7886 } 8925 7887 _ACEOF 8926 rm -f conftest.$ac_objext 8927 if { (ac_try="$ac_compile" 8928 case "(($ac_try" in 8929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8930 *) ac_try_echo=$ac_try;; 8931 esac 8932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8933 $as_echo "$ac_try_echo") >&5 8934 (eval "$ac_compile") 2>conftest.er1 8935 ac_status=$? 8936 grep -v '^ *+' conftest.er1 >conftest.err 8937 rm -f conftest.er1 8938 cat conftest.err >&5 8939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8940 (exit $ac_status); } && { 8941 test -z "$ac_cxx_werror_flag" || 8942 test ! -s conftest.err 8943 } && test -s conftest.$ac_objext; then 7888 if ac_fn_cxx_try_compile "$LINENO"; then : 8944 7889 ac_cv_c_bigendian=yes 8945 7890 else 8946 $as_echo "$as_me: failed program was:" >&5 8947 sed 's/^/| /' conftest.$ac_ext >&5 8948 8949 ac_cv_c_bigendian=no 8950 fi 8951 7891 ac_cv_c_bigendian=no 7892 fi 8952 7893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8953 else 8954 $as_echo "$as_me: failed program was:" >&5 8955 sed 's/^/| /' conftest.$ac_ext >&5 8956 8957 8958 fi 8959 7894 fi 8960 7895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8961 7896 fi 8962 7897 if test $ac_cv_c_bigendian = unknown; then 8963 7898 # Compile a test program. 8964 if test "$cross_compiling" = yes; then 7899 if test "$cross_compiling" = yes; then : 8965 7900 # Try to guess by grepping values from an object file. 8966 cat >conftest.$ac_ext <<_ACEOF 8967 /* confdefs.h. */ 8968 _ACEOF 8969 cat confdefs.h >>conftest.$ac_ext 8970 cat >>conftest.$ac_ext <<_ACEOF 7901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8971 7902 /* end confdefs.h. */ 8972 7903 short int ascii_mm[] = … … 8994 7925 } 8995 7926 _ACEOF 8996 rm -f conftest.$ac_objext 8997 if { (ac_try="$ac_compile" 8998 case "(($ac_try" in 8999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9000 *) ac_try_echo=$ac_try;; 9001 esac 9002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9003 $as_echo "$ac_try_echo") >&5 9004 (eval "$ac_compile") 2>conftest.er1 9005 ac_status=$? 9006 grep -v '^ *+' conftest.er1 >conftest.err 9007 rm -f conftest.er1 9008 cat conftest.err >&5 9009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9010 (exit $ac_status); } && { 9011 test -z "$ac_cxx_werror_flag" || 9012 test ! -s conftest.err 9013 } && test -s conftest.$ac_objext; then 7927 if ac_fn_cxx_try_compile "$LINENO"; then : 9014 7928 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 9015 7929 ac_cv_c_bigendian=yes … … 9023 7937 fi 9024 7938 fi 9025 else 9026 $as_echo "$as_me: failed program was:" >&5 9027 sed 's/^/| /' conftest.$ac_ext >&5 9028 9029 9030 fi 9031 7939 fi 9032 7940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9033 7941 else 9034 cat >conftest.$ac_ext <<_ACEOF 9035 /* confdefs.h. */ 9036 _ACEOF 9037 cat confdefs.h >>conftest.$ac_ext 9038 cat >>conftest.$ac_ext <<_ACEOF 7942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9039 7943 /* end confdefs.h. */ 9040 7944 $ac_includes_default … … 9056 7960 } 9057 7961 _ACEOF 9058 rm -f conftest$ac_exeext 9059 if { (ac_try="$ac_link" 9060 case "(($ac_try" in 9061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9062 *) ac_try_echo=$ac_try;; 9063 esac 9064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9065 $as_echo "$ac_try_echo") >&5 9066 (eval "$ac_link") 2>&5 9067 ac_status=$? 9068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9069 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9070 { (case "(($ac_try" in 9071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9072 *) ac_try_echo=$ac_try;; 9073 esac 9074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9075 $as_echo "$ac_try_echo") >&5 9076 (eval "$ac_try") 2>&5 9077 ac_status=$? 9078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9079 (exit $ac_status); }; }; then 7962 if ac_fn_cxx_try_run "$LINENO"; then : 9080 7963 ac_cv_c_bigendian=no 9081 7964 else 9082 $as_echo "$as_me: program exited with status $ac_status" >&5 9083 $as_echo "$as_me: failed program was:" >&5 9084 sed 's/^/| /' conftest.$ac_ext >&5 9085 9086 ( exit $ac_status ) 9087 ac_cv_c_bigendian=yes 9088 fi 9089 rm -rf conftest.dSYM 9090 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9091 fi 9092 7965 ac_cv_c_bigendian=yes 7966 fi 7967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7968 conftest.$ac_objext conftest.beam conftest.$ac_ext 7969 fi 9093 7970 9094 7971 fi 9095 7972 fi 9096 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_bigendian" >&57973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 9097 7974 $as_echo "$ac_cv_c_bigendian" >&6; } 9098 7975 case $ac_cv_c_bigendian in #( 9099 7976 yes) 9100 cat >>confdefs.h <<\_ACEOF 9101 #define WORDS_BIGENDIAN 1 9102 _ACEOF 7977 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9103 7978 ;; #( 9104 7979 no) … … 9106 7981 universal) 9107 7982 9108 cat >>confdefs.h <<\_ACEOF 9109 #define AC_APPLE_UNIVERSAL_BUILD 1 9110 _ACEOF 7983 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9111 7984 9112 7985 ;; #( 9113 7986 *) 9114 { { $as_echo "$as_me:$LINENO: error: unknown endianness 9115 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 9116 $as_echo "$as_me: error: unknown endianness 9117 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 9118 { (exit 1); exit 1; }; } ;; 7987 as_fn_error $? "unknown endianness 7988 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9119 7989 esac 9120 7990 … … 9123 7993 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 9124 7994 # This bug is HP SR number 8606223364. 9125 { $as_echo "$as_me:$ LINENO: checking size of int" >&57995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 9126 7996 $as_echo_n "checking size of int... " >&6; } 9127 if test "${ac_cv_sizeof_int+set}" = set; then7997 if ${ac_cv_sizeof_int+:} false; then : 9128 7998 $as_echo_n "(cached) " >&6 9129 7999 else 9130 if test "$cross_compiling" = yes; then 9131 # Depending upon the size, compute the lo and hi bounds. 9132 cat >conftest.$ac_ext <<_ACEOF 9133 /* confdefs.h. */ 9134 _ACEOF 9135 cat confdefs.h >>conftest.$ac_ext 9136 cat >>conftest.$ac_ext <<_ACEOF 9137 /* end confdefs.h. */ 9138 $ac_includes_default 9139 int 9140 main () 9141 { 9142 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)]; 9143 test_array [0] = 0 9144 9145 ; 9146 return 0; 9147 } 9148 _ACEOF 9149 rm -f conftest.$ac_objext 9150 if { (ac_try="$ac_compile" 9151 case "(($ac_try" in 9152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9153 *) ac_try_echo=$ac_try;; 9154 esac 9155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9156 $as_echo "$ac_try_echo") >&5 9157 (eval "$ac_compile") 2>conftest.er1 9158 ac_status=$? 9159 grep -v '^ *+' conftest.er1 >conftest.err 9160 rm -f conftest.er1 9161 cat conftest.err >&5 9162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9163 (exit $ac_status); } && { 9164 test -z "$ac_cxx_werror_flag" || 9165 test ! -s conftest.err 9166 } && test -s conftest.$ac_objext; then 9167 ac_lo=0 ac_mid=0 9168 while :; do 9169 cat >conftest.$ac_ext <<_ACEOF 9170 /* confdefs.h. */ 9171 _ACEOF 9172 cat confdefs.h >>conftest.$ac_ext 9173 cat >>conftest.$ac_ext <<_ACEOF 9174 /* end confdefs.h. */ 9175 $ac_includes_default 9176 int 9177 main () 9178 { 9179 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9180 test_array [0] = 0 9181 9182 ; 9183 return 0; 9184 } 9185 _ACEOF 9186 rm -f conftest.$ac_objext 9187 if { (ac_try="$ac_compile" 9188 case "(($ac_try" in 9189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9190 *) ac_try_echo=$ac_try;; 9191 esac 9192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9193 $as_echo "$ac_try_echo") >&5 9194 (eval "$ac_compile") 2>conftest.er1 9195 ac_status=$? 9196 grep -v '^ *+' conftest.er1 >conftest.err 9197 rm -f conftest.er1 9198 cat conftest.err >&5 9199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9200 (exit $ac_status); } && { 9201 test -z "$ac_cxx_werror_flag" || 9202 test ! -s conftest.err 9203 } && test -s conftest.$ac_objext; then 9204 ac_hi=$ac_mid; break 9205 else 9206 $as_echo "$as_me: failed program was:" >&5 9207 sed 's/^/| /' conftest.$ac_ext >&5 9208 9209 ac_lo=`expr $ac_mid + 1` 9210 if test $ac_lo -le $ac_mid; then 9211 ac_lo= ac_hi= 9212 break 9213 fi 9214 ac_mid=`expr 2 '*' $ac_mid + 1` 9215 fi 9216 9217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9218 done 9219 else 9220 $as_echo "$as_me: failed program was:" >&5 9221 sed 's/^/| /' conftest.$ac_ext >&5 9222 9223 cat >conftest.$ac_ext <<_ACEOF 9224 /* confdefs.h. */ 9225 _ACEOF 9226 cat confdefs.h >>conftest.$ac_ext 9227 cat >>conftest.$ac_ext <<_ACEOF 9228 /* end confdefs.h. */ 9229 $ac_includes_default 9230 int 9231 main () 9232 { 9233 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)]; 9234 test_array [0] = 0 9235 9236 ; 9237 return 0; 9238 } 9239 _ACEOF 9240 rm -f conftest.$ac_objext 9241 if { (ac_try="$ac_compile" 9242 case "(($ac_try" in 9243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9244 *) ac_try_echo=$ac_try;; 9245 esac 9246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9247 $as_echo "$ac_try_echo") >&5 9248 (eval "$ac_compile") 2>conftest.er1 9249 ac_status=$? 9250 grep -v '^ *+' conftest.er1 >conftest.err 9251 rm -f conftest.er1 9252 cat conftest.err >&5 9253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9254 (exit $ac_status); } && { 9255 test -z "$ac_cxx_werror_flag" || 9256 test ! -s conftest.err 9257 } && test -s conftest.$ac_objext; then 9258 ac_hi=-1 ac_mid=-1 9259 while :; do 9260 cat >conftest.$ac_ext <<_ACEOF 9261 /* confdefs.h. */ 9262 _ACEOF 9263 cat confdefs.h >>conftest.$ac_ext 9264 cat >>conftest.$ac_ext <<_ACEOF 9265 /* end confdefs.h. */ 9266 $ac_includes_default 9267 int 9268 main () 9269 { 9270 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)]; 9271 test_array [0] = 0 9272 9273 ; 9274 return 0; 9275 } 9276 _ACEOF 9277 rm -f conftest.$ac_objext 9278 if { (ac_try="$ac_compile" 9279 case "(($ac_try" in 9280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9281 *) ac_try_echo=$ac_try;; 9282 esac 9283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9284 $as_echo "$ac_try_echo") >&5 9285 (eval "$ac_compile") 2>conftest.er1 9286 ac_status=$? 9287 grep -v '^ *+' conftest.er1 >conftest.err 9288 rm -f conftest.er1 9289 cat conftest.err >&5 9290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9291 (exit $ac_status); } && { 9292 test -z "$ac_cxx_werror_flag" || 9293 test ! -s conftest.err 9294 } && test -s conftest.$ac_objext; then 9295 ac_lo=$ac_mid; break 9296 else 9297 $as_echo "$as_me: failed program was:" >&5 9298 sed 's/^/| /' conftest.$ac_ext >&5 9299 9300 ac_hi=`expr '(' $ac_mid ')' - 1` 9301 if test $ac_mid -le $ac_hi; then 9302 ac_lo= ac_hi= 9303 break 9304 fi 9305 ac_mid=`expr 2 '*' $ac_mid` 9306 fi 9307 9308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9309 done 9310 else 9311 $as_echo "$as_me: failed program was:" >&5 9312 sed 's/^/| /' conftest.$ac_ext >&5 9313 9314 ac_lo= ac_hi= 9315 fi 9316 9317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9318 fi 9319 9320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9321 # Binary search between lo and hi bounds. 9322 while test "x$ac_lo" != "x$ac_hi"; do 9323 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 9324 cat >conftest.$ac_ext <<_ACEOF 9325 /* confdefs.h. */ 9326 _ACEOF 9327 cat confdefs.h >>conftest.$ac_ext 9328 cat >>conftest.$ac_ext <<_ACEOF 9329 /* end confdefs.h. */ 9330 $ac_includes_default 9331 int 9332 main () 9333 { 9334 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9335 test_array [0] = 0 9336 9337 ; 9338 return 0; 9339 } 9340 _ACEOF 9341 rm -f conftest.$ac_objext 9342 if { (ac_try="$ac_compile" 9343 case "(($ac_try" in 9344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9345 *) ac_try_echo=$ac_try;; 9346 esac 9347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9348 $as_echo "$ac_try_echo") >&5 9349 (eval "$ac_compile") 2>conftest.er1 9350 ac_status=$? 9351 grep -v '^ *+' conftest.er1 >conftest.err 9352 rm -f conftest.er1 9353 cat conftest.err >&5 9354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9355 (exit $ac_status); } && { 9356 test -z "$ac_cxx_werror_flag" || 9357 test ! -s conftest.err 9358 } && test -s conftest.$ac_objext; then 9359 ac_hi=$ac_mid 9360 else 9361 $as_echo "$as_me: failed program was:" >&5 9362 sed 's/^/| /' conftest.$ac_ext >&5 9363 9364 ac_lo=`expr '(' $ac_mid ')' + 1` 9365 fi 9366 9367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9368 done 9369 case $ac_lo in 9370 ?*) ac_cv_sizeof_int=$ac_lo;; 9371 '') if test "$ac_cv_type_int" = yes; then 9372 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8000 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 8001 8002 else 8003 if test "$ac_cv_type_int" = yes; then 8004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9373 8005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9374 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9375 See \`config.log' for more details." >&5 9376 $as_echo "$as_me: error: cannot compute sizeof (int) 9377 See \`config.log' for more details." >&2;} 9378 { (exit 77); exit 77; }; }; } 9379 else 9380 ac_cv_sizeof_int=0 9381 fi ;; 9382 esac 9383 else 9384 cat >conftest.$ac_ext <<_ACEOF 9385 /* confdefs.h. */ 9386 _ACEOF 9387 cat confdefs.h >>conftest.$ac_ext 9388 cat >>conftest.$ac_ext <<_ACEOF 9389 /* end confdefs.h. */ 9390 $ac_includes_default 9391 static long int longval () { return (long int) (sizeof (int)); } 9392 static unsigned long int ulongval () { return (long int) (sizeof (int)); } 9393 #include <stdio.h> 9394 #include <stdlib.h> 9395 int 9396 main () 9397 { 9398 9399 FILE *f = fopen ("conftest.val", "w"); 9400 if (! f) 9401 return 1; 9402 if (((long int) (sizeof (int))) < 0) 9403 { 9404 long int i = longval (); 9405 if (i != ((long int) (sizeof (int)))) 9406 return 1; 9407 fprintf (f, "%ld", i); 9408 } 9409 else 9410 { 9411 unsigned long int i = ulongval (); 9412 if (i != ((long int) (sizeof (int)))) 9413 return 1; 9414 fprintf (f, "%lu", i); 9415 } 9416 /* Do not output a trailing newline, as this causes \r\n confusion 9417 on some platforms. */ 9418 return ferror (f) || fclose (f) != 0; 9419 9420 ; 9421 return 0; 9422 } 9423 _ACEOF 9424 rm -f conftest$ac_exeext 9425 if { (ac_try="$ac_link" 9426 case "(($ac_try" in 9427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9428 *) ac_try_echo=$ac_try;; 9429 esac 9430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9431 $as_echo "$ac_try_echo") >&5 9432 (eval "$ac_link") 2>&5 9433 ac_status=$? 9434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9435 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9436 { (case "(($ac_try" in 9437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9438 *) ac_try_echo=$ac_try;; 9439 esac 9440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9441 $as_echo "$ac_try_echo") >&5 9442 (eval "$ac_try") 2>&5 9443 ac_status=$? 9444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9445 (exit $ac_status); }; }; then 9446 ac_cv_sizeof_int=`cat conftest.val` 9447 else 9448 $as_echo "$as_me: program exited with status $ac_status" >&5 9449 $as_echo "$as_me: failed program was:" >&5 9450 sed 's/^/| /' conftest.$ac_ext >&5 9451 9452 ( exit $ac_status ) 9453 if test "$ac_cv_type_int" = yes; then 9454 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9456 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9457 See \`config.log' for more details." >&5 9458 $as_echo "$as_me: error: cannot compute sizeof (int) 9459 See \`config.log' for more details." >&2;} 9460 { (exit 77); exit 77; }; }; } 8006 as_fn_error 77 "cannot compute sizeof (int) 8007 See \`config.log' for more details" "$LINENO" 5; } 9461 8008 else 9462 8009 ac_cv_sizeof_int=0 9463 8010 fi 9464 8011 fi 9465 rm -rf conftest.dSYM 9466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9467 fi 9468 rm -f conftest.val 9469 fi 9470 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 8012 8013 fi 8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9471 8015 $as_echo "$ac_cv_sizeof_int" >&6; } 9472 8016 … … 9482 8026 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 9483 8027 # This bug is HP SR number 8606223364. 9484 { $as_echo "$as_me:$ LINENO: checking size of long" >&58028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 9485 8029 $as_echo_n "checking size of long... " >&6; } 9486 if test "${ac_cv_sizeof_long+set}" = set; then8030 if ${ac_cv_sizeof_long+:} false; then : 9487 8031 $as_echo_n "(cached) " >&6 9488 8032 else 9489 if test "$cross_compiling" = yes; then 9490 # Depending upon the size, compute the lo and hi bounds. 9491 cat >conftest.$ac_ext <<_ACEOF 9492 /* confdefs.h. */ 9493 _ACEOF 9494 cat confdefs.h >>conftest.$ac_ext 9495 cat >>conftest.$ac_ext <<_ACEOF 9496 /* end confdefs.h. */ 9497 $ac_includes_default 9498 int 9499 main () 9500 { 9501 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)]; 9502 test_array [0] = 0 9503 9504 ; 9505 return 0; 9506 } 9507 _ACEOF 9508 rm -f conftest.$ac_objext 9509 if { (ac_try="$ac_compile" 9510 case "(($ac_try" in 9511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9512 *) ac_try_echo=$ac_try;; 9513 esac 9514 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9515 $as_echo "$ac_try_echo") >&5 9516 (eval "$ac_compile") 2>conftest.er1 9517 ac_status=$? 9518 grep -v '^ *+' conftest.er1 >conftest.err 9519 rm -f conftest.er1 9520 cat conftest.err >&5 9521 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9522 (exit $ac_status); } && { 9523 test -z "$ac_cxx_werror_flag" || 9524 test ! -s conftest.err 9525 } && test -s conftest.$ac_objext; then 9526 ac_lo=0 ac_mid=0 9527 while :; do 9528 cat >conftest.$ac_ext <<_ACEOF 9529 /* confdefs.h. */ 9530 _ACEOF 9531 cat confdefs.h >>conftest.$ac_ext 9532 cat >>conftest.$ac_ext <<_ACEOF 9533 /* end confdefs.h. */ 9534 $ac_includes_default 9535 int 9536 main () 9537 { 9538 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 9539 test_array [0] = 0 9540 9541 ; 9542 return 0; 9543 } 9544 _ACEOF 9545 rm -f conftest.$ac_objext 9546 if { (ac_try="$ac_compile" 9547 case "(($ac_try" in 9548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9549 *) ac_try_echo=$ac_try;; 9550 esac 9551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9552 $as_echo "$ac_try_echo") >&5 9553 (eval "$ac_compile") 2>conftest.er1 9554 ac_status=$? 9555 grep -v '^ *+' conftest.er1 >conftest.err 9556 rm -f conftest.er1 9557 cat conftest.err >&5 9558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9559 (exit $ac_status); } && { 9560 test -z "$ac_cxx_werror_flag" || 9561 test ! -s conftest.err 9562 } && test -s conftest.$ac_objext; then 9563 ac_hi=$ac_mid; break 9564 else 9565 $as_echo "$as_me: failed program was:" >&5 9566 sed 's/^/| /' conftest.$ac_ext >&5 9567 9568 ac_lo=`expr $ac_mid + 1` 9569 if test $ac_lo -le $ac_mid; then 9570 ac_lo= ac_hi= 9571 break 9572 fi 9573 ac_mid=`expr 2 '*' $ac_mid + 1` 9574 fi 9575 9576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9577 done 9578 else 9579 $as_echo "$as_me: failed program was:" >&5 9580 sed 's/^/| /' conftest.$ac_ext >&5 9581 9582 cat >conftest.$ac_ext <<_ACEOF 9583 /* confdefs.h. */ 9584 _ACEOF 9585 cat confdefs.h >>conftest.$ac_ext 9586 cat >>conftest.$ac_ext <<_ACEOF 9587 /* end confdefs.h. */ 9588 $ac_includes_default 9589 int 9590 main () 9591 { 9592 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)]; 9593 test_array [0] = 0 9594 9595 ; 9596 return 0; 9597 } 9598 _ACEOF 9599 rm -f conftest.$ac_objext 9600 if { (ac_try="$ac_compile" 9601 case "(($ac_try" in 9602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9603 *) ac_try_echo=$ac_try;; 9604 esac 9605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9606 $as_echo "$ac_try_echo") >&5 9607 (eval "$ac_compile") 2>conftest.er1 9608 ac_status=$? 9609 grep -v '^ *+' conftest.er1 >conftest.err 9610 rm -f conftest.er1 9611 cat conftest.err >&5 9612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9613 (exit $ac_status); } && { 9614 test -z "$ac_cxx_werror_flag" || 9615 test ! -s conftest.err 9616 } && test -s conftest.$ac_objext; then 9617 ac_hi=-1 ac_mid=-1 9618 while :; do 9619 cat >conftest.$ac_ext <<_ACEOF 9620 /* confdefs.h. */ 9621 _ACEOF 9622 cat confdefs.h >>conftest.$ac_ext 9623 cat >>conftest.$ac_ext <<_ACEOF 9624 /* end confdefs.h. */ 9625 $ac_includes_default 9626 int 9627 main () 9628 { 9629 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)]; 9630 test_array [0] = 0 9631 9632 ; 9633 return 0; 9634 } 9635 _ACEOF 9636 rm -f conftest.$ac_objext 9637 if { (ac_try="$ac_compile" 9638 case "(($ac_try" in 9639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9640 *) ac_try_echo=$ac_try;; 9641 esac 9642 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9643 $as_echo "$ac_try_echo") >&5 9644 (eval "$ac_compile") 2>conftest.er1 9645 ac_status=$? 9646 grep -v '^ *+' conftest.er1 >conftest.err 9647 rm -f conftest.er1 9648 cat conftest.err >&5 9649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9650 (exit $ac_status); } && { 9651 test -z "$ac_cxx_werror_flag" || 9652 test ! -s conftest.err 9653 } && test -s conftest.$ac_objext; then 9654 ac_lo=$ac_mid; break 9655 else 9656 $as_echo "$as_me: failed program was:" >&5 9657 sed 's/^/| /' conftest.$ac_ext >&5 9658 9659 ac_hi=`expr '(' $ac_mid ')' - 1` 9660 if test $ac_mid -le $ac_hi; then 9661 ac_lo= ac_hi= 9662 break 9663 fi 9664 ac_mid=`expr 2 '*' $ac_mid` 9665 fi 9666 9667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9668 done 9669 else 9670 $as_echo "$as_me: failed program was:" >&5 9671 sed 's/^/| /' conftest.$ac_ext >&5 9672 9673 ac_lo= ac_hi= 9674 fi 9675 9676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9677 fi 9678 9679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9680 # Binary search between lo and hi bounds. 9681 while test "x$ac_lo" != "x$ac_hi"; do 9682 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 9683 cat >conftest.$ac_ext <<_ACEOF 9684 /* confdefs.h. */ 9685 _ACEOF 9686 cat confdefs.h >>conftest.$ac_ext 9687 cat >>conftest.$ac_ext <<_ACEOF 9688 /* end confdefs.h. */ 9689 $ac_includes_default 9690 int 9691 main () 9692 { 9693 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 9694 test_array [0] = 0 9695 9696 ; 9697 return 0; 9698 } 9699 _ACEOF 9700 rm -f conftest.$ac_objext 9701 if { (ac_try="$ac_compile" 9702 case "(($ac_try" in 9703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9704 *) ac_try_echo=$ac_try;; 9705 esac 9706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9707 $as_echo "$ac_try_echo") >&5 9708 (eval "$ac_compile") 2>conftest.er1 9709 ac_status=$? 9710 grep -v '^ *+' conftest.er1 >conftest.err 9711 rm -f conftest.er1 9712 cat conftest.err >&5 9713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9714 (exit $ac_status); } && { 9715 test -z "$ac_cxx_werror_flag" || 9716 test ! -s conftest.err 9717 } && test -s conftest.$ac_objext; then 9718 ac_hi=$ac_mid 9719 else 9720 $as_echo "$as_me: failed program was:" >&5 9721 sed 's/^/| /' conftest.$ac_ext >&5 9722 9723 ac_lo=`expr '(' $ac_mid ')' + 1` 9724 fi 9725 9726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9727 done 9728 case $ac_lo in 9729 ?*) ac_cv_sizeof_long=$ac_lo;; 9730 '') if test "$ac_cv_type_long" = yes; then 9731 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8033 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 8034 8035 else 8036 if test "$ac_cv_type_long" = yes; then 8037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9732 8038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9733 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 9734 See \`config.log' for more details." >&5 9735 $as_echo "$as_me: error: cannot compute sizeof (long) 9736 See \`config.log' for more details." >&2;} 9737 { (exit 77); exit 77; }; }; } 9738 else 9739 ac_cv_sizeof_long=0 9740 fi ;; 9741 esac 9742 else 9743 cat >conftest.$ac_ext <<_ACEOF 9744 /* confdefs.h. */ 9745 _ACEOF 9746 cat confdefs.h >>conftest.$ac_ext 9747 cat >>conftest.$ac_ext <<_ACEOF 9748 /* end confdefs.h. */ 9749 $ac_includes_default 9750 static long int longval () { return (long int) (sizeof (long)); } 9751 static unsigned long int ulongval () { return (long int) (sizeof (long)); } 9752 #include <stdio.h> 9753 #include <stdlib.h> 9754 int 9755 main () 9756 { 9757 9758 FILE *f = fopen ("conftest.val", "w"); 9759 if (! f) 9760 return 1; 9761 if (((long int) (sizeof (long))) < 0) 9762 { 9763 long int i = longval (); 9764 if (i != ((long int) (sizeof (long)))) 9765 return 1; 9766 fprintf (f, "%ld", i); 9767 } 9768 else 9769 { 9770 unsigned long int i = ulongval (); 9771 if (i != ((long int) (sizeof (long)))) 9772 return 1; 9773 fprintf (f, "%lu", i); 9774 } 9775 /* Do not output a trailing newline, as this causes \r\n confusion 9776 on some platforms. */ 9777 return ferror (f) || fclose (f) != 0; 9778 9779 ; 9780 return 0; 9781 } 9782 _ACEOF 9783 rm -f conftest$ac_exeext 9784 if { (ac_try="$ac_link" 9785 case "(($ac_try" in 9786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9787 *) ac_try_echo=$ac_try;; 9788 esac 9789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9790 $as_echo "$ac_try_echo") >&5 9791 (eval "$ac_link") 2>&5 9792 ac_status=$? 9793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9794 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9795 { (case "(($ac_try" in 9796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9797 *) ac_try_echo=$ac_try;; 9798 esac 9799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9800 $as_echo "$ac_try_echo") >&5 9801 (eval "$ac_try") 2>&5 9802 ac_status=$? 9803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9804 (exit $ac_status); }; }; then 9805 ac_cv_sizeof_long=`cat conftest.val` 9806 else 9807 $as_echo "$as_me: program exited with status $ac_status" >&5 9808 $as_echo "$as_me: failed program was:" >&5 9809 sed 's/^/| /' conftest.$ac_ext >&5 9810 9811 ( exit $ac_status ) 9812 if test "$ac_cv_type_long" = yes; then 9813 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9815 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 9816 See \`config.log' for more details." >&5 9817 $as_echo "$as_me: error: cannot compute sizeof (long) 9818 See \`config.log' for more details." >&2;} 9819 { (exit 77); exit 77; }; }; } 8039 as_fn_error 77 "cannot compute sizeof (long) 8040 See \`config.log' for more details" "$LINENO" 5; } 9820 8041 else 9821 8042 ac_cv_sizeof_long=0 9822 8043 fi 9823 8044 fi 9824 rm -rf conftest.dSYM 9825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9826 fi 9827 rm -f conftest.val 9828 fi 9829 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 8045 8046 fi 8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 9830 8048 $as_echo "$ac_cv_sizeof_long" >&6; } 9831 8049 … … 9841 8059 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 9842 8060 # This bug is HP SR number 8606223364. 9843 { $as_echo "$as_me:$ LINENO: checking size of long long" >&58061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 9844 8062 $as_echo_n "checking size of long long... " >&6; } 9845 if test "${ac_cv_sizeof_long_long+set}" = set; then8063 if ${ac_cv_sizeof_long_long+:} false; then : 9846 8064 $as_echo_n "(cached) " >&6 9847 8065 else 9848 if test "$cross_compiling" = yes; then 9849 # Depending upon the size, compute the lo and hi bounds. 9850 cat >conftest.$ac_ext <<_ACEOF 9851 /* confdefs.h. */ 9852 _ACEOF 9853 cat confdefs.h >>conftest.$ac_ext 9854 cat >>conftest.$ac_ext <<_ACEOF 9855 /* end confdefs.h. */ 9856 $ac_includes_default 9857 int 9858 main () 9859 { 9860 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)]; 9861 test_array [0] = 0 9862 9863 ; 9864 return 0; 9865 } 9866 _ACEOF 9867 rm -f conftest.$ac_objext 9868 if { (ac_try="$ac_compile" 9869 case "(($ac_try" in 9870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9871 *) ac_try_echo=$ac_try;; 9872 esac 9873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9874 $as_echo "$ac_try_echo") >&5 9875 (eval "$ac_compile") 2>conftest.er1 9876 ac_status=$? 9877 grep -v '^ *+' conftest.er1 >conftest.err 9878 rm -f conftest.er1 9879 cat conftest.err >&5 9880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9881 (exit $ac_status); } && { 9882 test -z "$ac_cxx_werror_flag" || 9883 test ! -s conftest.err 9884 } && test -s conftest.$ac_objext; then 9885 ac_lo=0 ac_mid=0 9886 while :; do 9887 cat >conftest.$ac_ext <<_ACEOF 9888 /* confdefs.h. */ 9889 _ACEOF 9890 cat confdefs.h >>conftest.$ac_ext 9891 cat >>conftest.$ac_ext <<_ACEOF 9892 /* end confdefs.h. */ 9893 $ac_includes_default 9894 int 9895 main () 9896 { 9897 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 9898 test_array [0] = 0 9899 9900 ; 9901 return 0; 9902 } 9903 _ACEOF 9904 rm -f conftest.$ac_objext 9905 if { (ac_try="$ac_compile" 9906 case "(($ac_try" in 9907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9908 *) ac_try_echo=$ac_try;; 9909 esac 9910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9911 $as_echo "$ac_try_echo") >&5 9912 (eval "$ac_compile") 2>conftest.er1 9913 ac_status=$? 9914 grep -v '^ *+' conftest.er1 >conftest.err 9915 rm -f conftest.er1 9916 cat conftest.err >&5 9917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9918 (exit $ac_status); } && { 9919 test -z "$ac_cxx_werror_flag" || 9920 test ! -s conftest.err 9921 } && test -s conftest.$ac_objext; then 9922 ac_hi=$ac_mid; break 9923 else 9924 $as_echo "$as_me: failed program was:" >&5 9925 sed 's/^/| /' conftest.$ac_ext >&5 9926 9927 ac_lo=`expr $ac_mid + 1` 9928 if test $ac_lo -le $ac_mid; then 9929 ac_lo= ac_hi= 9930 break 9931 fi 9932 ac_mid=`expr 2 '*' $ac_mid + 1` 9933 fi 9934 9935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9936 done 9937 else 9938 $as_echo "$as_me: failed program was:" >&5 9939 sed 's/^/| /' conftest.$ac_ext >&5 9940 9941 cat >conftest.$ac_ext <<_ACEOF 9942 /* confdefs.h. */ 9943 _ACEOF 9944 cat confdefs.h >>conftest.$ac_ext 9945 cat >>conftest.$ac_ext <<_ACEOF 9946 /* end confdefs.h. */ 9947 $ac_includes_default 9948 int 9949 main () 9950 { 9951 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)]; 9952 test_array [0] = 0 9953 9954 ; 9955 return 0; 9956 } 9957 _ACEOF 9958 rm -f conftest.$ac_objext 9959 if { (ac_try="$ac_compile" 9960 case "(($ac_try" in 9961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9962 *) ac_try_echo=$ac_try;; 9963 esac 9964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9965 $as_echo "$ac_try_echo") >&5 9966 (eval "$ac_compile") 2>conftest.er1 9967 ac_status=$? 9968 grep -v '^ *+' conftest.er1 >conftest.err 9969 rm -f conftest.er1 9970 cat conftest.err >&5 9971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9972 (exit $ac_status); } && { 9973 test -z "$ac_cxx_werror_flag" || 9974 test ! -s conftest.err 9975 } && test -s conftest.$ac_objext; then 9976 ac_hi=-1 ac_mid=-1 9977 while :; do 9978 cat >conftest.$ac_ext <<_ACEOF 9979 /* confdefs.h. */ 9980 _ACEOF 9981 cat confdefs.h >>conftest.$ac_ext 9982 cat >>conftest.$ac_ext <<_ACEOF 9983 /* end confdefs.h. */ 9984 $ac_includes_default 9985 int 9986 main () 9987 { 9988 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)]; 9989 test_array [0] = 0 9990 9991 ; 9992 return 0; 9993 } 9994 _ACEOF 9995 rm -f conftest.$ac_objext 9996 if { (ac_try="$ac_compile" 9997 case "(($ac_try" in 9998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9999 *) ac_try_echo=$ac_try;; 10000 esac 10001 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10002 $as_echo "$ac_try_echo") >&5 10003 (eval "$ac_compile") 2>conftest.er1 10004 ac_status=$? 10005 grep -v '^ *+' conftest.er1 >conftest.err 10006 rm -f conftest.er1 10007 cat conftest.err >&5 10008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10009 (exit $ac_status); } && { 10010 test -z "$ac_cxx_werror_flag" || 10011 test ! -s conftest.err 10012 } && test -s conftest.$ac_objext; then 10013 ac_lo=$ac_mid; break 10014 else 10015 $as_echo "$as_me: failed program was:" >&5 10016 sed 's/^/| /' conftest.$ac_ext >&5 10017 10018 ac_hi=`expr '(' $ac_mid ')' - 1` 10019 if test $ac_mid -le $ac_hi; then 10020 ac_lo= ac_hi= 10021 break 10022 fi 10023 ac_mid=`expr 2 '*' $ac_mid` 10024 fi 10025 10026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10027 done 10028 else 10029 $as_echo "$as_me: failed program was:" >&5 10030 sed 's/^/| /' conftest.$ac_ext >&5 10031 10032 ac_lo= ac_hi= 10033 fi 10034 10035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10036 fi 10037 10038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10039 # Binary search between lo and hi bounds. 10040 while test "x$ac_lo" != "x$ac_hi"; do 10041 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10042 cat >conftest.$ac_ext <<_ACEOF 10043 /* confdefs.h. */ 10044 _ACEOF 10045 cat confdefs.h >>conftest.$ac_ext 10046 cat >>conftest.$ac_ext <<_ACEOF 10047 /* end confdefs.h. */ 10048 $ac_includes_default 10049 int 10050 main () 10051 { 10052 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 10053 test_array [0] = 0 10054 10055 ; 10056 return 0; 10057 } 10058 _ACEOF 10059 rm -f conftest.$ac_objext 10060 if { (ac_try="$ac_compile" 10061 case "(($ac_try" in 10062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10063 *) ac_try_echo=$ac_try;; 10064 esac 10065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10066 $as_echo "$ac_try_echo") >&5 10067 (eval "$ac_compile") 2>conftest.er1 10068 ac_status=$? 10069 grep -v '^ *+' conftest.er1 >conftest.err 10070 rm -f conftest.er1 10071 cat conftest.err >&5 10072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10073 (exit $ac_status); } && { 10074 test -z "$ac_cxx_werror_flag" || 10075 test ! -s conftest.err 10076 } && test -s conftest.$ac_objext; then 10077 ac_hi=$ac_mid 10078 else 10079 $as_echo "$as_me: failed program was:" >&5 10080 sed 's/^/| /' conftest.$ac_ext >&5 10081 10082 ac_lo=`expr '(' $ac_mid ')' + 1` 10083 fi 10084 10085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10086 done 10087 case $ac_lo in 10088 ?*) ac_cv_sizeof_long_long=$ac_lo;; 10089 '') if test "$ac_cv_type_long_long" = yes; then 10090 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8066 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 8067 8068 else 8069 if test "$ac_cv_type_long_long" = yes; then 8070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10091 8071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10092 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10093 See \`config.log' for more details." >&5 10094 $as_echo "$as_me: error: cannot compute sizeof (long long) 10095 See \`config.log' for more details." >&2;} 10096 { (exit 77); exit 77; }; }; } 10097 else 10098 ac_cv_sizeof_long_long=0 10099 fi ;; 10100 esac 10101 else 10102 cat >conftest.$ac_ext <<_ACEOF 10103 /* confdefs.h. */ 10104 _ACEOF 10105 cat confdefs.h >>conftest.$ac_ext 10106 cat >>conftest.$ac_ext <<_ACEOF 10107 /* end confdefs.h. */ 10108 $ac_includes_default 10109 static long int longval () { return (long int) (sizeof (long long)); } 10110 static unsigned long int ulongval () { return (long int) (sizeof (long long)); } 10111 #include <stdio.h> 10112 #include <stdlib.h> 10113 int 10114 main () 10115 { 10116 10117 FILE *f = fopen ("conftest.val", "w"); 10118 if (! f) 10119 return 1; 10120 if (((long int) (sizeof (long long))) < 0) 10121 { 10122 long int i = longval (); 10123 if (i != ((long int) (sizeof (long long)))) 10124 return 1; 10125 fprintf (f, "%ld", i); 10126 } 10127 else 10128 { 10129 unsigned long int i = ulongval (); 10130 if (i != ((long int) (sizeof (long long)))) 10131 return 1; 10132 fprintf (f, "%lu", i); 10133 } 10134 /* Do not output a trailing newline, as this causes \r\n confusion 10135 on some platforms. */ 10136 return ferror (f) || fclose (f) != 0; 10137 10138 ; 10139 return 0; 10140 } 10141 _ACEOF 10142 rm -f conftest$ac_exeext 10143 if { (ac_try="$ac_link" 10144 case "(($ac_try" in 10145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10146 *) ac_try_echo=$ac_try;; 10147 esac 10148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10149 $as_echo "$ac_try_echo") >&5 10150 (eval "$ac_link") 2>&5 10151 ac_status=$? 10152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10153 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10154 { (case "(($ac_try" in 10155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10156 *) ac_try_echo=$ac_try;; 10157 esac 10158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10159 $as_echo "$ac_try_echo") >&5 10160 (eval "$ac_try") 2>&5 10161 ac_status=$? 10162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10163 (exit $ac_status); }; }; then 10164 ac_cv_sizeof_long_long=`cat conftest.val` 10165 else 10166 $as_echo "$as_me: program exited with status $ac_status" >&5 10167 $as_echo "$as_me: failed program was:" >&5 10168 sed 's/^/| /' conftest.$ac_ext >&5 10169 10170 ( exit $ac_status ) 10171 if test "$ac_cv_type_long_long" = yes; then 10172 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10174 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10175 See \`config.log' for more details." >&5 10176 $as_echo "$as_me: error: cannot compute sizeof (long long) 10177 See \`config.log' for more details." >&2;} 10178 { (exit 77); exit 77; }; }; } 8072 as_fn_error 77 "cannot compute sizeof (long long) 8073 See \`config.log' for more details" "$LINENO" 5; } 10179 8074 else 10180 8075 ac_cv_sizeof_long_long=0 10181 8076 fi 10182 8077 fi 10183 rm -rf conftest.dSYM 10184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10185 fi 10186 rm -f conftest.val 10187 fi 10188 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 8078 8079 fi 8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 10189 8081 $as_echo "$ac_cv_sizeof_long_long" >&6; } 10190 8082 … … 10200 8092 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 10201 8093 # This bug is HP SR number 8606223364. 10202 { $as_echo "$as_me:$ LINENO: checking size of void *" >&58094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 10203 8095 $as_echo_n "checking size of void *... " >&6; } 10204 if test "${ac_cv_sizeof_void_p+set}" = set; then8096 if ${ac_cv_sizeof_void_p+:} false; then : 10205 8097 $as_echo_n "(cached) " >&6 10206 8098 else 10207 if test "$cross_compiling" = yes; then 10208 # Depending upon the size, compute the lo and hi bounds. 10209 cat >conftest.$ac_ext <<_ACEOF 10210 /* confdefs.h. */ 10211 _ACEOF 10212 cat confdefs.h >>conftest.$ac_ext 10213 cat >>conftest.$ac_ext <<_ACEOF 10214 /* end confdefs.h. */ 10215 $ac_includes_default 10216 int 10217 main () 10218 { 10219 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)]; 10220 test_array [0] = 0 10221 10222 ; 10223 return 0; 10224 } 10225 _ACEOF 10226 rm -f conftest.$ac_objext 10227 if { (ac_try="$ac_compile" 10228 case "(($ac_try" in 10229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10230 *) ac_try_echo=$ac_try;; 10231 esac 10232 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10233 $as_echo "$ac_try_echo") >&5 10234 (eval "$ac_compile") 2>conftest.er1 10235 ac_status=$? 10236 grep -v '^ *+' conftest.er1 >conftest.err 10237 rm -f conftest.er1 10238 cat conftest.err >&5 10239 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10240 (exit $ac_status); } && { 10241 test -z "$ac_cxx_werror_flag" || 10242 test ! -s conftest.err 10243 } && test -s conftest.$ac_objext; then 10244 ac_lo=0 ac_mid=0 10245 while :; do 10246 cat >conftest.$ac_ext <<_ACEOF 10247 /* confdefs.h. */ 10248 _ACEOF 10249 cat confdefs.h >>conftest.$ac_ext 10250 cat >>conftest.$ac_ext <<_ACEOF 10251 /* end confdefs.h. */ 10252 $ac_includes_default 10253 int 10254 main () 10255 { 10256 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10257 test_array [0] = 0 10258 10259 ; 10260 return 0; 10261 } 10262 _ACEOF 10263 rm -f conftest.$ac_objext 10264 if { (ac_try="$ac_compile" 10265 case "(($ac_try" in 10266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10267 *) ac_try_echo=$ac_try;; 10268 esac 10269 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10270 $as_echo "$ac_try_echo") >&5 10271 (eval "$ac_compile") 2>conftest.er1 10272 ac_status=$? 10273 grep -v '^ *+' conftest.er1 >conftest.err 10274 rm -f conftest.er1 10275 cat conftest.err >&5 10276 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10277 (exit $ac_status); } && { 10278 test -z "$ac_cxx_werror_flag" || 10279 test ! -s conftest.err 10280 } && test -s conftest.$ac_objext; then 10281 ac_hi=$ac_mid; break 10282 else 10283 $as_echo "$as_me: failed program was:" >&5 10284 sed 's/^/| /' conftest.$ac_ext >&5 10285 10286 ac_lo=`expr $ac_mid + 1` 10287 if test $ac_lo -le $ac_mid; then 10288 ac_lo= ac_hi= 10289 break 10290 fi 10291 ac_mid=`expr 2 '*' $ac_mid + 1` 10292 fi 10293 10294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10295 done 10296 else 10297 $as_echo "$as_me: failed program was:" >&5 10298 sed 's/^/| /' conftest.$ac_ext >&5 10299 10300 cat >conftest.$ac_ext <<_ACEOF 10301 /* confdefs.h. */ 10302 _ACEOF 10303 cat confdefs.h >>conftest.$ac_ext 10304 cat >>conftest.$ac_ext <<_ACEOF 10305 /* end confdefs.h. */ 10306 $ac_includes_default 10307 int 10308 main () 10309 { 10310 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)]; 10311 test_array [0] = 0 10312 10313 ; 10314 return 0; 10315 } 10316 _ACEOF 10317 rm -f conftest.$ac_objext 10318 if { (ac_try="$ac_compile" 10319 case "(($ac_try" in 10320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10321 *) ac_try_echo=$ac_try;; 10322 esac 10323 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10324 $as_echo "$ac_try_echo") >&5 10325 (eval "$ac_compile") 2>conftest.er1 10326 ac_status=$? 10327 grep -v '^ *+' conftest.er1 >conftest.err 10328 rm -f conftest.er1 10329 cat conftest.err >&5 10330 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10331 (exit $ac_status); } && { 10332 test -z "$ac_cxx_werror_flag" || 10333 test ! -s conftest.err 10334 } && test -s conftest.$ac_objext; then 10335 ac_hi=-1 ac_mid=-1 10336 while :; do 10337 cat >conftest.$ac_ext <<_ACEOF 10338 /* confdefs.h. */ 10339 _ACEOF 10340 cat confdefs.h >>conftest.$ac_ext 10341 cat >>conftest.$ac_ext <<_ACEOF 10342 /* end confdefs.h. */ 10343 $ac_includes_default 10344 int 10345 main () 10346 { 10347 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)]; 10348 test_array [0] = 0 10349 10350 ; 10351 return 0; 10352 } 10353 _ACEOF 10354 rm -f conftest.$ac_objext 10355 if { (ac_try="$ac_compile" 10356 case "(($ac_try" in 10357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10358 *) ac_try_echo=$ac_try;; 10359 esac 10360 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10361 $as_echo "$ac_try_echo") >&5 10362 (eval "$ac_compile") 2>conftest.er1 10363 ac_status=$? 10364 grep -v '^ *+' conftest.er1 >conftest.err 10365 rm -f conftest.er1 10366 cat conftest.err >&5 10367 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10368 (exit $ac_status); } && { 10369 test -z "$ac_cxx_werror_flag" || 10370 test ! -s conftest.err 10371 } && test -s conftest.$ac_objext; then 10372 ac_lo=$ac_mid; break 10373 else 10374 $as_echo "$as_me: failed program was:" >&5 10375 sed 's/^/| /' conftest.$ac_ext >&5 10376 10377 ac_hi=`expr '(' $ac_mid ')' - 1` 10378 if test $ac_mid -le $ac_hi; then 10379 ac_lo= ac_hi= 10380 break 10381 fi 10382 ac_mid=`expr 2 '*' $ac_mid` 10383 fi 10384 10385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10386 done 10387 else 10388 $as_echo "$as_me: failed program was:" >&5 10389 sed 's/^/| /' conftest.$ac_ext >&5 10390 10391 ac_lo= ac_hi= 10392 fi 10393 10394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10395 fi 10396 10397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10398 # Binary search between lo and hi bounds. 10399 while test "x$ac_lo" != "x$ac_hi"; do 10400 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10401 cat >conftest.$ac_ext <<_ACEOF 10402 /* confdefs.h. */ 10403 _ACEOF 10404 cat confdefs.h >>conftest.$ac_ext 10405 cat >>conftest.$ac_ext <<_ACEOF 10406 /* end confdefs.h. */ 10407 $ac_includes_default 10408 int 10409 main () 10410 { 10411 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10412 test_array [0] = 0 10413 10414 ; 10415 return 0; 10416 } 10417 _ACEOF 10418 rm -f conftest.$ac_objext 10419 if { (ac_try="$ac_compile" 10420 case "(($ac_try" in 10421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10422 *) ac_try_echo=$ac_try;; 10423 esac 10424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10425 $as_echo "$ac_try_echo") >&5 10426 (eval "$ac_compile") 2>conftest.er1 10427 ac_status=$? 10428 grep -v '^ *+' conftest.er1 >conftest.err 10429 rm -f conftest.er1 10430 cat conftest.err >&5 10431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10432 (exit $ac_status); } && { 10433 test -z "$ac_cxx_werror_flag" || 10434 test ! -s conftest.err 10435 } && test -s conftest.$ac_objext; then 10436 ac_hi=$ac_mid 10437 else 10438 $as_echo "$as_me: failed program was:" >&5 10439 sed 's/^/| /' conftest.$ac_ext >&5 10440 10441 ac_lo=`expr '(' $ac_mid ')' + 1` 10442 fi 10443 10444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10445 done 10446 case $ac_lo in 10447 ?*) ac_cv_sizeof_void_p=$ac_lo;; 10448 '') if test "$ac_cv_type_void_p" = yes; then 10449 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8099 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 8100 8101 else 8102 if test "$ac_cv_type_void_p" = yes; then 8103 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10450 8104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10451 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10452 See \`config.log' for more details." >&5 10453 $as_echo "$as_me: error: cannot compute sizeof (void *) 10454 See \`config.log' for more details." >&2;} 10455 { (exit 77); exit 77; }; }; } 10456 else 10457 ac_cv_sizeof_void_p=0 10458 fi ;; 10459 esac 10460 else 10461 cat >conftest.$ac_ext <<_ACEOF 10462 /* confdefs.h. */ 10463 _ACEOF 10464 cat confdefs.h >>conftest.$ac_ext 10465 cat >>conftest.$ac_ext <<_ACEOF 10466 /* end confdefs.h. */ 10467 $ac_includes_default 10468 static long int longval () { return (long int) (sizeof (void *)); } 10469 static unsigned long int ulongval () { return (long int) (sizeof (void *)); } 10470 #include <stdio.h> 10471 #include <stdlib.h> 10472 int 10473 main () 10474 { 10475 10476 FILE *f = fopen ("conftest.val", "w"); 10477 if (! f) 10478 return 1; 10479 if (((long int) (sizeof (void *))) < 0) 10480 { 10481 long int i = longval (); 10482 if (i != ((long int) (sizeof (void *)))) 10483 return 1; 10484 fprintf (f, "%ld", i); 10485 } 10486 else 10487 { 10488 unsigned long int i = ulongval (); 10489 if (i != ((long int) (sizeof (void *)))) 10490 return 1; 10491 fprintf (f, "%lu", i); 10492 } 10493 /* Do not output a trailing newline, as this causes \r\n confusion 10494 on some platforms. */ 10495 return ferror (f) || fclose (f) != 0; 10496 10497 ; 10498 return 0; 10499 } 10500 _ACEOF 10501 rm -f conftest$ac_exeext 10502 if { (ac_try="$ac_link" 10503 case "(($ac_try" in 10504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10505 *) ac_try_echo=$ac_try;; 10506 esac 10507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10508 $as_echo "$ac_try_echo") >&5 10509 (eval "$ac_link") 2>&5 10510 ac_status=$? 10511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10512 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10513 { (case "(($ac_try" in 10514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10515 *) ac_try_echo=$ac_try;; 10516 esac 10517 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10518 $as_echo "$ac_try_echo") >&5 10519 (eval "$ac_try") 2>&5 10520 ac_status=$? 10521 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10522 (exit $ac_status); }; }; then 10523 ac_cv_sizeof_void_p=`cat conftest.val` 10524 else 10525 $as_echo "$as_me: program exited with status $ac_status" >&5 10526 $as_echo "$as_me: failed program was:" >&5 10527 sed 's/^/| /' conftest.$ac_ext >&5 10528 10529 ( exit $ac_status ) 10530 if test "$ac_cv_type_void_p" = yes; then 10531 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10533 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10534 See \`config.log' for more details." >&5 10535 $as_echo "$as_me: error: cannot compute sizeof (void *) 10536 See \`config.log' for more details." >&2;} 10537 { (exit 77); exit 77; }; }; } 8105 as_fn_error 77 "cannot compute sizeof (void *) 8106 See \`config.log' for more details" "$LINENO" 5; } 10538 8107 else 10539 8108 ac_cv_sizeof_void_p=0 10540 8109 fi 10541 8110 fi 10542 rm -rf conftest.dSYM 10543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10544 fi 10545 rm -f conftest.val 10546 fi 10547 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 8111 8112 fi 8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 10548 8114 $as_echo "$ac_cv_sizeof_void_p" >&6; } 10549 8115 … … 10559 8125 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 10560 8126 # This bug is HP SR number 8606223364. 10561 { $as_echo "$as_me:$ LINENO: checking size of float" >&58127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5 10562 8128 $as_echo_n "checking size of float... " >&6; } 10563 if test "${ac_cv_sizeof_float+set}" = set; then8129 if ${ac_cv_sizeof_float+:} false; then : 10564 8130 $as_echo_n "(cached) " >&6 10565 8131 else 10566 if test "$cross_compiling" = yes; then 10567 # Depending upon the size, compute the lo and hi bounds. 10568 cat >conftest.$ac_ext <<_ACEOF 10569 /* confdefs.h. */ 10570 _ACEOF 10571 cat confdefs.h >>conftest.$ac_ext 10572 cat >>conftest.$ac_ext <<_ACEOF 10573 /* end confdefs.h. */ 10574 $ac_includes_default 10575 int 10576 main () 10577 { 10578 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)]; 10579 test_array [0] = 0 10580 10581 ; 10582 return 0; 10583 } 10584 _ACEOF 10585 rm -f conftest.$ac_objext 10586 if { (ac_try="$ac_compile" 10587 case "(($ac_try" in 10588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10589 *) ac_try_echo=$ac_try;; 10590 esac 10591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10592 $as_echo "$ac_try_echo") >&5 10593 (eval "$ac_compile") 2>conftest.er1 10594 ac_status=$? 10595 grep -v '^ *+' conftest.er1 >conftest.err 10596 rm -f conftest.er1 10597 cat conftest.err >&5 10598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10599 (exit $ac_status); } && { 10600 test -z "$ac_cxx_werror_flag" || 10601 test ! -s conftest.err 10602 } && test -s conftest.$ac_objext; then 10603 ac_lo=0 ac_mid=0 10604 while :; do 10605 cat >conftest.$ac_ext <<_ACEOF 10606 /* confdefs.h. */ 10607 _ACEOF 10608 cat confdefs.h >>conftest.$ac_ext 10609 cat >>conftest.$ac_ext <<_ACEOF 10610 /* end confdefs.h. */ 10611 $ac_includes_default 10612 int 10613 main () 10614 { 10615 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 10616 test_array [0] = 0 10617 10618 ; 10619 return 0; 10620 } 10621 _ACEOF 10622 rm -f conftest.$ac_objext 10623 if { (ac_try="$ac_compile" 10624 case "(($ac_try" in 10625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10626 *) ac_try_echo=$ac_try;; 10627 esac 10628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10629 $as_echo "$ac_try_echo") >&5 10630 (eval "$ac_compile") 2>conftest.er1 10631 ac_status=$? 10632 grep -v '^ *+' conftest.er1 >conftest.err 10633 rm -f conftest.er1 10634 cat conftest.err >&5 10635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10636 (exit $ac_status); } && { 10637 test -z "$ac_cxx_werror_flag" || 10638 test ! -s conftest.err 10639 } && test -s conftest.$ac_objext; then 10640 ac_hi=$ac_mid; break 10641 else 10642 $as_echo "$as_me: failed program was:" >&5 10643 sed 's/^/| /' conftest.$ac_ext >&5 10644 10645 ac_lo=`expr $ac_mid + 1` 10646 if test $ac_lo -le $ac_mid; then 10647 ac_lo= ac_hi= 10648 break 10649 fi 10650 ac_mid=`expr 2 '*' $ac_mid + 1` 10651 fi 10652 10653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10654 done 10655 else 10656 $as_echo "$as_me: failed program was:" >&5 10657 sed 's/^/| /' conftest.$ac_ext >&5 10658 10659 cat >conftest.$ac_ext <<_ACEOF 10660 /* confdefs.h. */ 10661 _ACEOF 10662 cat confdefs.h >>conftest.$ac_ext 10663 cat >>conftest.$ac_ext <<_ACEOF 10664 /* end confdefs.h. */ 10665 $ac_includes_default 10666 int 10667 main () 10668 { 10669 static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)]; 10670 test_array [0] = 0 10671 10672 ; 10673 return 0; 10674 } 10675 _ACEOF 10676 rm -f conftest.$ac_objext 10677 if { (ac_try="$ac_compile" 10678 case "(($ac_try" in 10679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10680 *) ac_try_echo=$ac_try;; 10681 esac 10682 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10683 $as_echo "$ac_try_echo") >&5 10684 (eval "$ac_compile") 2>conftest.er1 10685 ac_status=$? 10686 grep -v '^ *+' conftest.er1 >conftest.err 10687 rm -f conftest.er1 10688 cat conftest.err >&5 10689 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10690 (exit $ac_status); } && { 10691 test -z "$ac_cxx_werror_flag" || 10692 test ! -s conftest.err 10693 } && test -s conftest.$ac_objext; then 10694 ac_hi=-1 ac_mid=-1 10695 while :; do 10696 cat >conftest.$ac_ext <<_ACEOF 10697 /* confdefs.h. */ 10698 _ACEOF 10699 cat confdefs.h >>conftest.$ac_ext 10700 cat >>conftest.$ac_ext <<_ACEOF 10701 /* end confdefs.h. */ 10702 $ac_includes_default 10703 int 10704 main () 10705 { 10706 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)]; 10707 test_array [0] = 0 10708 10709 ; 10710 return 0; 10711 } 10712 _ACEOF 10713 rm -f conftest.$ac_objext 10714 if { (ac_try="$ac_compile" 10715 case "(($ac_try" in 10716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10717 *) ac_try_echo=$ac_try;; 10718 esac 10719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10720 $as_echo "$ac_try_echo") >&5 10721 (eval "$ac_compile") 2>conftest.er1 10722 ac_status=$? 10723 grep -v '^ *+' conftest.er1 >conftest.err 10724 rm -f conftest.er1 10725 cat conftest.err >&5 10726 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10727 (exit $ac_status); } && { 10728 test -z "$ac_cxx_werror_flag" || 10729 test ! -s conftest.err 10730 } && test -s conftest.$ac_objext; then 10731 ac_lo=$ac_mid; break 10732 else 10733 $as_echo "$as_me: failed program was:" >&5 10734 sed 's/^/| /' conftest.$ac_ext >&5 10735 10736 ac_hi=`expr '(' $ac_mid ')' - 1` 10737 if test $ac_mid -le $ac_hi; then 10738 ac_lo= ac_hi= 10739 break 10740 fi 10741 ac_mid=`expr 2 '*' $ac_mid` 10742 fi 10743 10744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10745 done 10746 else 10747 $as_echo "$as_me: failed program was:" >&5 10748 sed 's/^/| /' conftest.$ac_ext >&5 10749 10750 ac_lo= ac_hi= 10751 fi 10752 10753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10754 fi 10755 10756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10757 # Binary search between lo and hi bounds. 10758 while test "x$ac_lo" != "x$ac_hi"; do 10759 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10760 cat >conftest.$ac_ext <<_ACEOF 10761 /* confdefs.h. */ 10762 _ACEOF 10763 cat confdefs.h >>conftest.$ac_ext 10764 cat >>conftest.$ac_ext <<_ACEOF 10765 /* end confdefs.h. */ 10766 $ac_includes_default 10767 int 10768 main () 10769 { 10770 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 10771 test_array [0] = 0 10772 10773 ; 10774 return 0; 10775 } 10776 _ACEOF 10777 rm -f conftest.$ac_objext 10778 if { (ac_try="$ac_compile" 10779 case "(($ac_try" in 10780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10781 *) ac_try_echo=$ac_try;; 10782 esac 10783 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10784 $as_echo "$ac_try_echo") >&5 10785 (eval "$ac_compile") 2>conftest.er1 10786 ac_status=$? 10787 grep -v '^ *+' conftest.er1 >conftest.err 10788 rm -f conftest.er1 10789 cat conftest.err >&5 10790 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10791 (exit $ac_status); } && { 10792 test -z "$ac_cxx_werror_flag" || 10793 test ! -s conftest.err 10794 } && test -s conftest.$ac_objext; then 10795 ac_hi=$ac_mid 10796 else 10797 $as_echo "$as_me: failed program was:" >&5 10798 sed 's/^/| /' conftest.$ac_ext >&5 10799 10800 ac_lo=`expr '(' $ac_mid ')' + 1` 10801 fi 10802 10803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10804 done 10805 case $ac_lo in 10806 ?*) ac_cv_sizeof_float=$ac_lo;; 10807 '') if test "$ac_cv_type_float" = yes; then 10808 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8132 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then : 8133 8134 else 8135 if test "$ac_cv_type_float" = yes; then 8136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10809 8137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10810 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 10811 See \`config.log' for more details." >&5 10812 $as_echo "$as_me: error: cannot compute sizeof (float) 10813 See \`config.log' for more details." >&2;} 10814 { (exit 77); exit 77; }; }; } 10815 else 10816 ac_cv_sizeof_float=0 10817 fi ;; 10818 esac 10819 else 10820 cat >conftest.$ac_ext <<_ACEOF 10821 /* confdefs.h. */ 10822 _ACEOF 10823 cat confdefs.h >>conftest.$ac_ext 10824 cat >>conftest.$ac_ext <<_ACEOF 10825 /* end confdefs.h. */ 10826 $ac_includes_default 10827 static long int longval () { return (long int) (sizeof (float)); } 10828 static unsigned long int ulongval () { return (long int) (sizeof (float)); } 10829 #include <stdio.h> 10830 #include <stdlib.h> 10831 int 10832 main () 10833 { 10834 10835 FILE *f = fopen ("conftest.val", "w"); 10836 if (! f) 10837 return 1; 10838 if (((long int) (sizeof (float))) < 0) 10839 { 10840 long int i = longval (); 10841 if (i != ((long int) (sizeof (float)))) 10842 return 1; 10843 fprintf (f, "%ld", i); 10844 } 10845 else 10846 { 10847 unsigned long int i = ulongval (); 10848 if (i != ((long int) (sizeof (float)))) 10849 return 1; 10850 fprintf (f, "%lu", i); 10851 } 10852 /* Do not output a trailing newline, as this causes \r\n confusion 10853 on some platforms. */ 10854 return ferror (f) || fclose (f) != 0; 10855 10856 ; 10857 return 0; 10858 } 10859 _ACEOF 10860 rm -f conftest$ac_exeext 10861 if { (ac_try="$ac_link" 10862 case "(($ac_try" in 10863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10864 *) ac_try_echo=$ac_try;; 10865 esac 10866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10867 $as_echo "$ac_try_echo") >&5 10868 (eval "$ac_link") 2>&5 10869 ac_status=$? 10870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10871 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10872 { (case "(($ac_try" in 10873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10874 *) ac_try_echo=$ac_try;; 10875 esac 10876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10877 $as_echo "$ac_try_echo") >&5 10878 (eval "$ac_try") 2>&5 10879 ac_status=$? 10880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10881 (exit $ac_status); }; }; then 10882 ac_cv_sizeof_float=`cat conftest.val` 10883 else 10884 $as_echo "$as_me: program exited with status $ac_status" >&5 10885 $as_echo "$as_me: failed program was:" >&5 10886 sed 's/^/| /' conftest.$ac_ext >&5 10887 10888 ( exit $ac_status ) 10889 if test "$ac_cv_type_float" = yes; then 10890 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10892 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 10893 See \`config.log' for more details." >&5 10894 $as_echo "$as_me: error: cannot compute sizeof (float) 10895 See \`config.log' for more details." >&2;} 10896 { (exit 77); exit 77; }; }; } 8138 as_fn_error 77 "cannot compute sizeof (float) 8139 See \`config.log' for more details" "$LINENO" 5; } 10897 8140 else 10898 8141 ac_cv_sizeof_float=0 10899 8142 fi 10900 8143 fi 10901 rm -rf conftest.dSYM 10902 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10903 fi 10904 rm -f conftest.val 10905 fi 10906 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5 8144 8145 fi 8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 10907 8147 $as_echo "$ac_cv_sizeof_float" >&6; } 10908 8148 … … 10962 8202 10963 8203 RP_DIR="" 10964 { $as_echo "$as_me:$ LINENO: checking for rappture" >&58204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rappture" >&5 10965 8205 $as_echo_n "checking for rappture... " >&6; } 10966 8206 if test "$with_rappture" == "yes" ; then … … 10971 8211 RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2" 10972 8212 RP_LIB_DIR="$dir/lib" 10973 { $as_echo "$as_me:$ LINENO: result: $dir" >&58213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dir" >&5 10974 8214 $as_echo "$dir" >&6; } 10975 8215 break … … 10978 8218 else 10979 8219 if test ! -d "$with_rappture" ; then 10980 { { $as_echo "$as_me:$LINENO: error: --with-rappture: no such directory $with_rappture" >&5 10981 $as_echo "$as_me: error: --with-rappture: no such directory $with_rappture" >&2;} 10982 { (exit 1); exit 1; }; } 8220 as_fn_error $? "--with-rappture: no such directory $with_rappture" "$LINENO" 5 10983 8221 fi 10984 8222 RP_DIR=$with_rappture … … 10987 8225 fi 10988 8226 if test "x${RP_DIR}" = "x" ; then 10989 { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&5 10990 $as_echo "$as_me: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&2;} 10991 { (exit 1); exit 1; }; } 10992 else 10993 { $as_echo "$as_me:$LINENO: result: $with_rappture" >&5 8227 as_fn_error $? "cannot find rappture.h and librappture2.a, try using --with-rappture" "$LINENO" 5 8228 else 8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_rappture" >&5 10994 8230 $as_echo "$with_rappture" >&6; } 10995 8231 fi … … 11026 8262 CPPFLAGS=$VTK_INC_SPEC 11027 8263 11028 11029 8264 for ac_header in vtkSmartPointer.h 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 8265 do : 8266 ac_fn_cxx_check_header_mongrel "$LINENO" "vtkSmartPointer.h" "ac_cv_header_vtkSmartPointer_h" "$ac_includes_default" 8267 if test "x$ac_cv_header_vtkSmartPointer_h" = xyes; then : 8268 cat >>confdefs.h <<_ACEOF 8269 #define HAVE_VTKSMARTPOINTER_H 1 8270 _ACEOF 8271 8272 else 8273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find vtkSmartPointer.h" >&5 8274 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;} 8275 fi 8276 8277 done 8278 8279 CPPFLAGS=$save_CPPFLAGS 8280 8281 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glui.h" "ac_cv_header_GL_glui_h" "$ac_includes_default" 8282 if test "x$ac_cv_header_GL_glui_h" = xyes; then : 8283 8284 fi 8285 8286 8287 ac_fn_cxx_check_header_mongrel "$LINENO" "glui.h" "ac_cv_header_glui_h" "$ac_includes_default" 8288 if test "x$ac_cv_header_glui_h" = xyes; then : 8289 8290 fi 8291 8292 8293 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default" 8294 if test "x$ac_cv_header_GL_glut_h" = xyes; then : 8295 8296 fi 8297 8298 8299 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default" 8300 if test "x$ac_cv_header_GL_glew_h" = xyes; then : 8301 8302 fi 8303 8304 8305 8306 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 8307 do : 8308 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8309 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8310 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11171 8311 cat >>confdefs.h <<_ACEOF 11172 8312 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11173 8313 _ACEOF 11174 8314 11175 else11176 { $as_echo "$as_me:$LINENO: WARNING: cannot find vtkSmartPointer.h" >&511177 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;}11178 8315 fi 11179 8316 11180 8317 done 11181 8318 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 8319 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 8320 do : 8321 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8322 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8323 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11868 8324 cat >>confdefs.h <<_ACEOF 11869 8325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 11875 8331 11876 8332 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 8333 for ac_func in accept4 8334 do : 8335 ac_fn_cxx_check_func "$LINENO" "accept4" "ac_cv_func_accept4" 8336 if test "x$ac_cv_func_accept4" = xyes; then : 12023 8337 cat >>confdefs.h <<_ACEOF 12024 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12025 _ACEOF 12026 12027 fi 12028 8338 #define HAVE_ACCEPT4 1 8339 _ACEOF 8340 8341 fi 12029 8342 done 12030 8343 12031 8344 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 8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenDX headers" >&5 12135 8346 $as_echo_n "checking for OpenDX headers... " >&6; } 12136 8347 DX_INC_DIR="" … … 12146 8357 done 12147 8358 if test "x${DX_INC_DIR}" = "x" ; then 12148 { $as_echo "$as_me:$ LINENO: WARNING: cannot find OpenDX include files" >&58359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find OpenDX include files" >&5 12149 8360 $as_echo "$as_me: WARNING: cannot find OpenDX include files" >&2;} 12150 8361 DX_INC_SPEC="" … … 12154 8365 DX_INC_SPEC="-I{DX_INC_DIR}" 12155 8366 fi 12156 { $as_echo "$as_me:$ LINENO: result: ${DX_INC_DIR}" >&58367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DX_INC_DIR}" >&5 12157 8368 $as_echo "${DX_INC_DIR}" >&6; } 12158 8369 … … 12169 8380 LDFLAGS="-L$dir $LDFLAGS" 12170 8381 unset ac_cv_lib_DXcallm_DXGetComponentValue 12171 { $as_echo "$as_me:$ LINENO: checking for DXGetComponentValue in -lDXcallm" >&58382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DXGetComponentValue in -lDXcallm" >&5 12172 8383 $as_echo_n "checking for DXGetComponentValue in -lDXcallm... " >&6; } 12173 if test "${ac_cv_lib_DXcallm_DXGetComponentValue+set}" = set; then8384 if ${ac_cv_lib_DXcallm_DXGetComponentValue+:} false; then : 12174 8385 $as_echo_n "(cached) " >&6 12175 8386 else 12176 8387 ac_check_lib_save_LIBS=$LIBS 12177 8388 LIBS="-lDXcallm -lX11 $LIBS" 12178 cat >conftest.$ac_ext <<_ACEOF 12179 /* confdefs.h. */ 12180 _ACEOF 12181 cat confdefs.h >>conftest.$ac_ext 12182 cat >>conftest.$ac_ext <<_ACEOF 8389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12183 8390 /* end confdefs.h. */ 12184 8391 … … 12198 8405 } 12199 8406 _ACEOF 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 8407 if ac_fn_cxx_try_link "$LINENO"; then : 12221 8408 ac_cv_lib_DXcallm_DXGetComponentValue=yes 12222 8409 else 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 8410 ac_cv_lib_DXcallm_DXGetComponentValue=no 8411 fi 8412 rm -f core conftest.err conftest.$ac_objext \ 8413 conftest$ac_exeext conftest.$ac_ext 12232 8414 LIBS=$ac_check_lib_save_LIBS 12233 8415 fi 12234 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&58416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&5 12235 8417 $as_echo "$ac_cv_lib_DXcallm_DXGetComponentValue" >&6; } 12236 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = x ""yes; then8418 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = xyes; then : 12237 8419 found=yes 12238 8420 else … … 12247 8429 done 12248 8430 if test "x${DX_LIB_DIR}" = "x" ; then 12249 { $as_echo "$as_me:$ LINENO: WARNING: cannot find OpenDX libraries" >&58431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find OpenDX libraries" >&5 12250 8432 $as_echo "$as_me: WARNING: cannot find OpenDX libraries" >&2;} 12251 8433 fi 12252 8434 12253 { $as_echo "$as_me:$ LINENO: checking for libDXcallm library" >&58435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libDXcallm library" >&5 12254 8436 $as_echo_n "checking for libDXcallm library... " >&6; } 12255 8437 if test "x${DX_LIB_DIR}" = "x" -o "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then … … 12258 8440 DX_LIB_SPEC="-L${DX_LIB_DIR}" 12259 8441 fi 12260 { $as_echo "$as_me:$ LINENO: result: $DX_LIB_SPEC" >&58442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LIB_SPEC" >&5 12261 8443 $as_echo "$DX_LIB_SPEC" >&6; } 12262 8444 12263 12264 12265 8445 for ac_header in opencv/cv.h opencv/highgui.h 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 8446 do : 8447 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8448 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8449 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12407 8450 cat >>confdefs.h <<_ACEOF 12408 8451 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 12413 8456 done 12414 8457 12415 12416 { $as_echo "$as_me:$LINENO: checking for cvLoadImage in -lhighgui" >&5 8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cvLoadImage in -lhighgui" >&5 12417 8459 $as_echo_n "checking for cvLoadImage in -lhighgui... " >&6; } 12418 if test "${ac_cv_lib_highgui_cvLoadImage+set}" = set; then8460 if ${ac_cv_lib_highgui_cvLoadImage+:} false; then : 12419 8461 $as_echo_n "(cached) " >&6 12420 8462 else 12421 8463 ac_check_lib_save_LIBS=$LIBS 12422 8464 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 8465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12428 8466 /* end confdefs.h. */ 12429 8467 … … 12443 8481 } 12444 8482 _ACEOF 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 8483 if ac_fn_cxx_try_link "$LINENO"; then : 12466 8484 ac_cv_lib_highgui_cvLoadImage=yes 12467 8485 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 8486 ac_cv_lib_highgui_cvLoadImage=no 8487 fi 8488 rm -f core conftest.err conftest.$ac_objext \ 8489 conftest$ac_exeext conftest.$ac_ext 12477 8490 LIBS=$ac_check_lib_save_LIBS 12478 8491 fi 12479 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_highgui_cvLoadImage" >&58492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_highgui_cvLoadImage" >&5 12480 8493 $as_echo "$ac_cv_lib_highgui_cvLoadImage" >&6; } 12481 if test "x$ac_cv_lib_highgui_cvLoadImage" = x ""yes; then8494 if test "x$ac_cv_lib_highgui_cvLoadImage" = xyes; then : 12482 8495 cat >>confdefs.h <<_ACEOF 12483 8496 #define HAVE_LIBHIGHGUI 1 … … 12496 8509 fi 12497 8510 12498 12499 12500 12501 12502 12503 12504 8511 for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h 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 8512 do : 8513 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8514 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " 12519 8515 #define SIZEOF_LONG ${ac_cv_sizeof_long} 12520 8516 #if SIZEOF_LONG == 8 … … 12526 8522 #endif 12527 8523 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 8524 " 8525 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12566 8526 cat >>confdefs.h <<_ACEOF 12567 8527 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 12574 8534 CPPFLAGS=$save_CPPFLAGS 12575 8535 12576 12577 { $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame in -lavcodec" >&5 8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_alloc_frame in -lavcodec" >&5 12578 8537 $as_echo_n "checking for avcodec_alloc_frame in -lavcodec... " >&6; } 12579 if test "${ac_cv_lib_avcodec_avcodec_alloc_frame+set}" = set; then8538 if ${ac_cv_lib_avcodec_avcodec_alloc_frame+:} false; then : 12580 8539 $as_echo_n "(cached) " >&6 12581 8540 else 12582 8541 ac_check_lib_save_LIBS=$LIBS 12583 8542 LIBS="-lavcodec $LIBS" 12584 cat >conftest.$ac_ext <<_ACEOF 12585 /* confdefs.h. */ 12586 _ACEOF 12587 cat confdefs.h >>conftest.$ac_ext 12588 cat >>conftest.$ac_ext <<_ACEOF 8543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12589 8544 /* end confdefs.h. */ 12590 8545 … … 12604 8559 } 12605 8560 _ACEOF 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 8561 if ac_fn_cxx_try_link "$LINENO"; then : 12627 8562 ac_cv_lib_avcodec_avcodec_alloc_frame=yes 12628 8563 else 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 8564 ac_cv_lib_avcodec_avcodec_alloc_frame=no 8565 fi 8566 rm -f core conftest.err conftest.$ac_objext \ 8567 conftest$ac_exeext conftest.$ac_ext 12638 8568 LIBS=$ac_check_lib_save_LIBS 12639 8569 fi 12640 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&58570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5 12641 8571 $as_echo "$ac_cv_lib_avcodec_avcodec_alloc_frame" >&6; } 12642 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x ""yes; then8572 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = xyes; then : 12643 8573 cat >>confdefs.h <<_ACEOF 12644 8574 #define HAVE_LIBAVCODEC 1 … … 12650 8580 12651 8581 # Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found 12652 12653 { $as_echo "$as_me:$LINENO: checking for avformat_alloc_context in -lavformat" >&5 8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avformat_alloc_context in -lavformat" >&5 12654 8583 $as_echo_n "checking for avformat_alloc_context in -lavformat... " >&6; } 12655 if test "${ac_cv_lib_avformat_avformat_alloc_context+set}" = set; then8584 if ${ac_cv_lib_avformat_avformat_alloc_context+:} false; then : 12656 8585 $as_echo_n "(cached) " >&6 12657 8586 else 12658 8587 ac_check_lib_save_LIBS=$LIBS 12659 8588 LIBS="-lavformat $LIBS" 12660 cat >conftest.$ac_ext <<_ACEOF 12661 /* confdefs.h. */ 12662 _ACEOF 12663 cat confdefs.h >>conftest.$ac_ext 12664 cat >>conftest.$ac_ext <<_ACEOF 8589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12665 8590 /* end confdefs.h. */ 12666 8591 … … 12680 8605 } 12681 8606 _ACEOF 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 8607 if ac_fn_cxx_try_link "$LINENO"; then : 12703 8608 ac_cv_lib_avformat_avformat_alloc_context=yes 12704 8609 else 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 8610 ac_cv_lib_avformat_avformat_alloc_context=no 8611 fi 8612 rm -f core conftest.err conftest.$ac_objext \ 8613 conftest$ac_exeext conftest.$ac_ext 12714 8614 LIBS=$ac_check_lib_save_LIBS 12715 8615 fi 12716 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_avformat_avformat_alloc_context" >&58616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5 12717 8617 $as_echo "$ac_cv_lib_avformat_avformat_alloc_context" >&6; } 12718 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x ""yes; then8618 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = xyes; then : 12719 8619 cat >>confdefs.h <<_ACEOF 12720 8620 #define HAVE_LIBAVFORMAT 1 … … 12724 8624 12725 8625 else 12726 12727 { $as_echo "$as_me:$LINENO: checking for av_alloc_format_context in -lavformat" >&5 8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_alloc_format_context in -lavformat" >&5 12728 8627 $as_echo_n "checking for av_alloc_format_context in -lavformat... " >&6; } 12729 if test "${ac_cv_lib_avformat_av_alloc_format_context+set}" = set; then8628 if ${ac_cv_lib_avformat_av_alloc_format_context+:} false; then : 12730 8629 $as_echo_n "(cached) " >&6 12731 8630 else 12732 8631 ac_check_lib_save_LIBS=$LIBS 12733 8632 LIBS="-lavformat $LIBS" 12734 cat >conftest.$ac_ext <<_ACEOF 12735 /* confdefs.h. */ 12736 _ACEOF 12737 cat confdefs.h >>conftest.$ac_ext 12738 cat >>conftest.$ac_ext <<_ACEOF 8633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12739 8634 /* end confdefs.h. */ 12740 8635 … … 12754 8649 } 12755 8650 _ACEOF 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 8651 if ac_fn_cxx_try_link "$LINENO"; then : 12777 8652 ac_cv_lib_avformat_av_alloc_format_context=yes 12778 8653 else 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 8654 ac_cv_lib_avformat_av_alloc_format_context=no 8655 fi 8656 rm -f core conftest.err conftest.$ac_objext \ 8657 conftest$ac_exeext conftest.$ac_ext 12788 8658 LIBS=$ac_check_lib_save_LIBS 12789 8659 fi 12790 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_avformat_av_alloc_format_context" >&58660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_alloc_format_context" >&5 12791 8661 $as_echo "$ac_cv_lib_avformat_av_alloc_format_context" >&6; } 12792 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = x ""yes; then8662 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = xyes; then : 12793 8663 cat >>confdefs.h <<_ACEOF 12794 8664 #define HAVE_LIBAVFORMAT 1 … … 12798 8668 12799 8669 else 12800 { $as_echo "$as_me:$ LINENO: WARNING: libavformat not usable" >&58670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libavformat not usable" >&5 12801 8671 $as_echo "$as_me: WARNING: libavformat not usable" >&2;} 12802 8672 fi … … 12804 8674 fi 12805 8675 12806 12807 8676 for ac_func in avformat_alloc_context 12808 do 12809 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12810 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12811 $as_echo_n "checking for $ac_func... " >&6; } 12812 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12813 $as_echo_n "(cached) " >&6 12814 else 12815 cat >conftest.$ac_ext <<_ACEOF 12816 /* confdefs.h. */ 12817 _ACEOF 12818 cat confdefs.h >>conftest.$ac_ext 12819 cat >>conftest.$ac_ext <<_ACEOF 12820 /* end confdefs.h. */ 12821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12822 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12823 #define $ac_func innocuous_$ac_func 12824 12825 /* System header to define __stub macros and hopefully few prototypes, 12826 which can conflict with char $ac_func (); below. 12827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12828 <limits.h> exists even on freestanding compilers. */ 12829 12830 #ifdef __STDC__ 12831 # include <limits.h> 12832 #else 12833 # include <assert.h> 12834 #endif 12835 12836 #undef $ac_func 12837 12838 /* Override any GCC internal prototype to avoid an error. 12839 Use char because int might match the return type of a GCC 12840 builtin and then its argument prototype would still apply. */ 12841 #ifdef __cplusplus 12842 extern "C" 12843 #endif 12844 char $ac_func (); 12845 /* The GNU C library defines this for functions which it implements 12846 to always fail with ENOSYS. Some functions are actually named 12847 something starting with __ and the normal name is an alias. */ 12848 #if defined __stub_$ac_func || defined __stub___$ac_func 12849 choke me 12850 #endif 12851 12852 int 12853 main () 12854 { 12855 return $ac_func (); 12856 ; 12857 return 0; 12858 } 12859 _ACEOF 12860 rm -f conftest.$ac_objext conftest$ac_exeext 12861 if { (ac_try="$ac_link" 12862 case "(($ac_try" in 12863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12864 *) ac_try_echo=$ac_try;; 12865 esac 12866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12867 $as_echo "$ac_try_echo") >&5 12868 (eval "$ac_link") 2>conftest.er1 12869 ac_status=$? 12870 grep -v '^ *+' conftest.er1 >conftest.err 12871 rm -f conftest.er1 12872 cat conftest.err >&5 12873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12874 (exit $ac_status); } && { 12875 test -z "$ac_cxx_werror_flag" || 12876 test ! -s conftest.err 12877 } && test -s conftest$ac_exeext && { 12878 test "$cross_compiling" = yes || 12879 $as_test_x conftest$ac_exeext 12880 }; then 12881 eval "$as_ac_var=yes" 12882 else 12883 $as_echo "$as_me: failed program was:" >&5 12884 sed 's/^/| /' conftest.$ac_ext >&5 12885 12886 eval "$as_ac_var=no" 12887 fi 12888 12889 rm -rf conftest.dSYM 12890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12891 conftest$ac_exeext conftest.$ac_ext 12892 fi 12893 ac_res=`eval 'as_val=${'$as_ac_var'} 12894 $as_echo "$as_val"'` 12895 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12896 $as_echo "$ac_res" >&6; } 12897 as_val=`eval 'as_val=${'$as_ac_var'} 12898 $as_echo "$as_val"'` 12899 if test "x$as_val" = x""yes; then 8677 do : 8678 ac_fn_cxx_check_func "$LINENO" "avformat_alloc_context" "ac_cv_func_avformat_alloc_context" 8679 if test "x$ac_cv_func_avformat_alloc_context" = xyes; then : 12900 8680 cat >>confdefs.h <<_ACEOF 12901 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp`18681 #define HAVE_AVFORMAT_ALLOC_CONTEXT 1 12902 8682 _ACEOF 12903 8683 … … 12905 8685 done 12906 8686 12907 12908 { $as_echo "$as_me:$LINENO: checking for av_free in -lavutil" >&5 8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_free in -lavutil" >&5 12909 8688 $as_echo_n "checking for av_free in -lavutil... " >&6; } 12910 if test "${ac_cv_lib_avutil_av_free+set}" = set; then8689 if ${ac_cv_lib_avutil_av_free+:} false; then : 12911 8690 $as_echo_n "(cached) " >&6 12912 8691 else 12913 8692 ac_check_lib_save_LIBS=$LIBS 12914 8693 LIBS="-lavutil $LIBS" 12915 cat >conftest.$ac_ext <<_ACEOF 12916 /* confdefs.h. */ 12917 _ACEOF 12918 cat confdefs.h >>conftest.$ac_ext 12919 cat >>conftest.$ac_ext <<_ACEOF 8694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12920 8695 /* end confdefs.h. */ 12921 8696 … … 12935 8710 } 12936 8711 _ACEOF 12937 rm -f conftest.$ac_objext conftest$ac_exeext 12938 if { (ac_try="$ac_link" 12939 case "(($ac_try" in 12940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12941 *) ac_try_echo=$ac_try;; 12942 esac 12943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12944 $as_echo "$ac_try_echo") >&5 12945 (eval "$ac_link") 2>conftest.er1 12946 ac_status=$? 12947 grep -v '^ *+' conftest.er1 >conftest.err 12948 rm -f conftest.er1 12949 cat conftest.err >&5 12950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12951 (exit $ac_status); } && { 12952 test -z "$ac_cxx_werror_flag" || 12953 test ! -s conftest.err 12954 } && test -s conftest$ac_exeext && { 12955 test "$cross_compiling" = yes || 12956 $as_test_x conftest$ac_exeext 12957 }; then 8712 if ac_fn_cxx_try_link "$LINENO"; then : 12958 8713 ac_cv_lib_avutil_av_free=yes 12959 8714 else 12960 $as_echo "$as_me: failed program was:" >&5 12961 sed 's/^/| /' conftest.$ac_ext >&5 12962 12963 ac_cv_lib_avutil_av_free=no 12964 fi 12965 12966 rm -rf conftest.dSYM 12967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12968 conftest$ac_exeext conftest.$ac_ext 8715 ac_cv_lib_avutil_av_free=no 8716 fi 8717 rm -f core conftest.err conftest.$ac_objext \ 8718 conftest$ac_exeext conftest.$ac_ext 12969 8719 LIBS=$ac_check_lib_save_LIBS 12970 8720 fi 12971 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_avutil_av_free" >&58721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_free" >&5 12972 8722 $as_echo "$ac_cv_lib_avutil_av_free" >&6; } 12973 if test "x$ac_cv_lib_avutil_av_free" = x ""yes; then8723 if test "x$ac_cv_lib_avutil_av_free" = xyes; then : 12974 8724 cat >>confdefs.h <<_ACEOF 12975 8725 #define HAVE_LIBAVUTIL 1 … … 12980 8730 fi 12981 8731 12982 12983 8732 for ac_func in img_convert 12984 do 12985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12986 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12987 $as_echo_n "checking for $ac_func... " >&6; } 12988 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12989 $as_echo_n "(cached) " >&6 12990 else 12991 cat >conftest.$ac_ext <<_ACEOF 12992 /* confdefs.h. */ 12993 _ACEOF 12994 cat confdefs.h >>conftest.$ac_ext 12995 cat >>conftest.$ac_ext <<_ACEOF 12996 /* end confdefs.h. */ 12997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12998 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12999 #define $ac_func innocuous_$ac_func 13000 13001 /* System header to define __stub macros and hopefully few prototypes, 13002 which can conflict with char $ac_func (); below. 13003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13004 <limits.h> exists even on freestanding compilers. */ 13005 13006 #ifdef __STDC__ 13007 # include <limits.h> 13008 #else 13009 # include <assert.h> 13010 #endif 13011 13012 #undef $ac_func 13013 13014 /* Override any GCC internal prototype to avoid an error. 13015 Use char because int might match the return type of a GCC 13016 builtin and then its argument prototype would still apply. */ 13017 #ifdef __cplusplus 13018 extern "C" 13019 #endif 13020 char $ac_func (); 13021 /* The GNU C library defines this for functions which it implements 13022 to always fail with ENOSYS. Some functions are actually named 13023 something starting with __ and the normal name is an alias. */ 13024 #if defined __stub_$ac_func || defined __stub___$ac_func 13025 choke me 13026 #endif 13027 13028 int 13029 main () 13030 { 13031 return $ac_func (); 13032 ; 13033 return 0; 13034 } 13035 _ACEOF 13036 rm -f conftest.$ac_objext conftest$ac_exeext 13037 if { (ac_try="$ac_link" 13038 case "(($ac_try" in 13039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13040 *) ac_try_echo=$ac_try;; 13041 esac 13042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13043 $as_echo "$ac_try_echo") >&5 13044 (eval "$ac_link") 2>conftest.er1 13045 ac_status=$? 13046 grep -v '^ *+' conftest.er1 >conftest.err 13047 rm -f conftest.er1 13048 cat conftest.err >&5 13049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13050 (exit $ac_status); } && { 13051 test -z "$ac_cxx_werror_flag" || 13052 test ! -s conftest.err 13053 } && test -s conftest$ac_exeext && { 13054 test "$cross_compiling" = yes || 13055 $as_test_x conftest$ac_exeext 13056 }; then 13057 eval "$as_ac_var=yes" 13058 else 13059 $as_echo "$as_me: failed program was:" >&5 13060 sed 's/^/| /' conftest.$ac_ext >&5 13061 13062 eval "$as_ac_var=no" 13063 fi 13064 13065 rm -rf conftest.dSYM 13066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13067 conftest$ac_exeext conftest.$ac_ext 13068 fi 13069 ac_res=`eval 'as_val=${'$as_ac_var'} 13070 $as_echo "$as_val"'` 13071 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13072 $as_echo "$ac_res" >&6; } 13073 as_val=`eval 'as_val=${'$as_ac_var'} 13074 $as_echo "$as_val"'` 13075 if test "x$as_val" = x""yes; then 8733 do : 8734 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 8735 if test "x$ac_cv_func_img_convert" = xyes; then : 13076 8736 cat >>confdefs.h <<_ACEOF 13077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp`18737 #define HAVE_IMG_CONVERT 1 13078 8738 _ACEOF 13079 8739 … … 13083 8743 13084 8744 13085 { $as_echo "$as_me:$ LINENO: checking for nVidia Cg installation" >&58745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nVidia Cg installation" >&5 13086 8746 $as_echo_n "checking for nVidia Cg installation... " >&6; } 13087 8747 CG_DIR="" … … 13096 8756 fi 13097 8757 done 13098 { $as_echo "$as_me:$ LINENO: result: ${CG_DIR}" >&58758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CG_DIR}" >&5 13099 8759 $as_echo "${CG_DIR}" >&6; } 13100 8760 … … 13104 8764 save_CPPFLAGS=$CPPFLAGS 13105 8765 CPPFLAGS="-I${CG_INC_DIR} $CPPFLAGS" 13106 13107 8766 for ac_header in Cg/cgGL.h 13108 do 13109 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13110 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13111 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13112 $as_echo_n "checking for $ac_header... " >&6; } 13113 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13114 $as_echo_n "(cached) " >&6 13115 fi 13116 ac_res=`eval 'as_val=${'$as_ac_Header'} 13117 $as_echo "$as_val"'` 13118 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13119 $as_echo "$ac_res" >&6; } 13120 else 13121 # Is the header compilable? 13122 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 13123 $as_echo_n "checking $ac_header usability... " >&6; } 13124 cat >conftest.$ac_ext <<_ACEOF 13125 /* confdefs.h. */ 13126 _ACEOF 13127 cat confdefs.h >>conftest.$ac_ext 13128 cat >>conftest.$ac_ext <<_ACEOF 13129 /* end confdefs.h. */ 13130 $ac_includes_default 13131 #include <$ac_header> 13132 _ACEOF 13133 rm -f conftest.$ac_objext 13134 if { (ac_try="$ac_compile" 13135 case "(($ac_try" in 13136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13137 *) ac_try_echo=$ac_try;; 13138 esac 13139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13140 $as_echo "$ac_try_echo") >&5 13141 (eval "$ac_compile") 2>conftest.er1 13142 ac_status=$? 13143 grep -v '^ *+' conftest.er1 >conftest.err 13144 rm -f conftest.er1 13145 cat conftest.err >&5 13146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13147 (exit $ac_status); } && { 13148 test -z "$ac_cxx_werror_flag" || 13149 test ! -s conftest.err 13150 } && test -s conftest.$ac_objext; then 13151 ac_header_compiler=yes 13152 else 13153 $as_echo "$as_me: failed program was:" >&5 13154 sed 's/^/| /' conftest.$ac_ext >&5 13155 13156 ac_header_compiler=no 13157 fi 13158 13159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13160 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13161 $as_echo "$ac_header_compiler" >&6; } 13162 13163 # Is the header present? 13164 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 13165 $as_echo_n "checking $ac_header presence... " >&6; } 13166 cat >conftest.$ac_ext <<_ACEOF 13167 /* confdefs.h. */ 13168 _ACEOF 13169 cat confdefs.h >>conftest.$ac_ext 13170 cat >>conftest.$ac_ext <<_ACEOF 13171 /* end confdefs.h. */ 13172 #include <$ac_header> 13173 _ACEOF 13174 if { (ac_try="$ac_cpp conftest.$ac_ext" 13175 case "(($ac_try" in 13176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13177 *) ac_try_echo=$ac_try;; 13178 esac 13179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13180 $as_echo "$ac_try_echo") >&5 13181 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13182 ac_status=$? 13183 grep -v '^ *+' conftest.er1 >conftest.err 13184 rm -f conftest.er1 13185 cat conftest.err >&5 13186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13187 (exit $ac_status); } >/dev/null && { 13188 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 13189 test ! -s conftest.err 13190 }; then 13191 ac_header_preproc=yes 13192 else 13193 $as_echo "$as_me: failed program was:" >&5 13194 sed 's/^/| /' conftest.$ac_ext >&5 13195 13196 ac_header_preproc=no 13197 fi 13198 13199 rm -f conftest.err conftest.$ac_ext 13200 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13201 $as_echo "$ac_header_preproc" >&6; } 13202 13203 # So? What about this header? 13204 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 13205 yes:no: ) 13206 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 13207 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 13208 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 13209 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 13210 ac_header_preproc=yes 13211 ;; 13212 no:yes:* ) 13213 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 13214 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 13215 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 13216 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 13217 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 13218 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 13219 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 13220 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 13221 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 13222 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 13223 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 13224 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 13225 ( cat <<\_ASBOX 13226 ## ----------------------------------- ## 13227 ## Report this to rappture@nanohub.org ## 13228 ## ----------------------------------- ## 13229 _ASBOX 13230 ) | sed "s/^/$as_me: WARNING: /" >&2 13231 ;; 13232 esac 13233 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13234 $as_echo_n "checking for $ac_header... " >&6; } 13235 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13236 $as_echo_n "(cached) " >&6 13237 else 13238 eval "$as_ac_Header=\$ac_header_preproc" 13239 fi 13240 ac_res=`eval 'as_val=${'$as_ac_Header'} 13241 $as_echo "$as_val"'` 13242 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13243 $as_echo "$ac_res" >&6; } 13244 13245 fi 13246 as_val=`eval 'as_val=${'$as_ac_Header'} 13247 $as_echo "$as_val"'` 13248 if test "x$as_val" = x""yes; then 8767 do : 8768 ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default" 8769 if test "x$ac_cv_header_Cg_cgGL_h" = xyes; then : 13249 8770 cat >>confdefs.h <<_ACEOF 13250 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`113251 _ACEOF 13252 13253 else 13254 { $as_echo "$as_me:$ LINENO: WARNING: cannot find nVidia Cg headers" >&58771 #define HAVE_CG_CGGL_H 1 8772 _ACEOF 8773 8774 else 8775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find nVidia Cg headers" >&5 13255 8776 $as_echo "$as_me: WARNING: cannot find nVidia Cg headers" >&2;} 13256 8777 fi … … 13298 8819 13299 8820 13300 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanoscale/renderservers.tcl nanovis/Makefile nanovis/newmat11/Makefile nanovis/R2/src/Makefile nanovis/vrutil/Makefile nanovis/vrmath/Makefile nanovis/vr3d/Makefile nanovis/imgLoaders/Makefile nanovis/transfer-function/Makefile pymolproxy/Makefile vtkvis/Doxyfile vtkvis/Makefile start_viz.sh start_nanoscale.sh" 8821 8822 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanoscale/renderservers.tcl nanovis/Makefile nanovis/newmat11/Makefile nanovis/R2/src/Makefile nanovis/vrutil/Makefile nanovis/vrmath/Makefile nanovis/vr3d/Makefile nanovis/imgLoaders/Makefile nanovis/transfer-function/Makefile pymolproxy/Makefile pymolproxy/pymol vtkvis/Doxyfile vtkvis/Makefile start_viz.sh start_nanoscale.sh" 13301 8823 13302 8824 cat >confcache <<\_ACEOF … … 13327 8849 *${as_nl}*) 13328 8850 case $ac_var in #( 13329 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&58851 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13330 8852 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13331 8853 esac … … 13333 8855 _ | IFS | as_nl) ;; #( 13334 8856 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13335 *) $as_unset $ac_var;;8857 *) { eval $ac_var=; unset $ac_var;} ;; 13336 8858 esac ;; 13337 8859 esac … … 13341 8863 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13342 8864 *${as_nl}ac_space=\ *) 13343 # `set' does not quote correctly, so add quotes (double-quote13344 # substitution turns \\\\ into \\, and sed turns \\ into \ ).8865 # `set' does not quote correctly, so add quotes: double-quote 8866 # substitution turns \\\\ into \\, and sed turns \\ into \. 13345 8867 sed -n \ 13346 8868 "s/'/'\\\\''/g; … … 13364 8886 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13365 8887 if test -w "$cache_file"; then 13366 test "x$cache_file" != "x/dev/null" &&13367 { $as_echo "$as_me:$ LINENO: updating cache $cache_file" >&58888 if test "x$cache_file" != "x/dev/null"; then 8889 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13368 8890 $as_echo "$as_me: updating cache $cache_file" >&6;} 13369 cat confcache >$cache_file 8891 if test ! -f "$cache_file" || test -h "$cache_file"; then 8892 cat confcache >"$cache_file" 8893 else 8894 case $cache_file in #( 8895 */* | ?:*) 8896 mv -f confcache "$cache_file"$$ && 8897 mv -f "$cache_file"$$ "$cache_file" ;; #( 8898 *) 8899 mv -f confcache "$cache_file" ;; 8900 esac 8901 fi 8902 fi 13370 8903 else 13371 { $as_echo "$as_me:$ LINENO: not updating unwritable cache $cache_file" >&58904 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13372 8905 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13373 8906 fi … … 13383 8916 ac_libobjs= 13384 8917 ac_ltlibobjs= 8918 U= 13385 8919 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13386 8920 # 1. Remove the extension, and $U if already installed. … … 13389 8923 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13390 8924 # will be set to the directory where LIBOBJS objects are built. 13391 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"13392 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'8925 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8926 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13393 8927 done 13394 8928 LIBOBJS=$ac_libobjs … … 13399 8933 13400 8934 13401 : ${CONFIG_STATUS=./config.status}8935 : "${CONFIG_STATUS=./config.status}" 13402 8936 ac_write_fail=0 13403 8937 ac_clean_files_save=$ac_clean_files 13404 8938 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13405 { $as_echo "$as_me:$ LINENO: creating $CONFIG_STATUS" >&58939 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13406 8940 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13407 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8941 as_write_fail=0 8942 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13408 8943 #! $SHELL 13409 8944 # Generated by $as_me. … … 13415 8950 ac_cs_recheck=false 13416 8951 ac_cs_silent=false 8952 13417 8953 SHELL=\${CONFIG_SHELL-$SHELL} 13418 _ACEOF 13419 13420 cat >>$CONFIG_STATUS <<\_A CEOF || ac_write_fail=113421 ## -------------------- -##13422 ## M4sh Initialization. 13423 ## -------------------- -##8954 export SHELL 8955 _ASEOF 8956 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 8957 ## -------------------- ## 8958 ## M4sh Initialization. ## 8959 ## -------------------- ## 13424 8960 13425 8961 # Be more Bourne compatible 13426 8962 DUALCASE=1; export DUALCASE # for MKS sh 13427 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8963 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13428 8964 emulate sh 13429 8965 NULLCMD=: … … 13433 8969 setopt NO_GLOB_SUBST 13434 8970 else 13435 case `(set -o) 2>/dev/null` in 13436 *posix*) set -o posix ;; 8971 case `(set -o) 2>/dev/null` in #( 8972 *posix*) : 8973 set -o posix ;; #( 8974 *) : 8975 ;; 13437 8976 esac 13438 13439 fi 13440 13441 13442 13443 13444 # PATH needs CR 13445 # Avoid depending upon Character Ranges. 13446 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13447 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13448 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13449 as_cr_digits='0123456789' 13450 as_cr_alnum=$as_cr_Letters$as_cr_digits 8977 fi 8978 13451 8979 13452 8980 as_nl=' … … 13457 8985 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13458 8986 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13459 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8987 # Prefer a ksh shell builtin over an external printf program on Solaris, 8988 # but without wasting forks for bash or zsh. 8989 if test -z "$BASH_VERSION$ZSH_VERSION" \ 8990 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 8991 as_echo='print -r --' 8992 as_echo_n='print -rn --' 8993 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13460 8994 as_echo='printf %s\n' 13461 8995 as_echo_n='printf %s' … … 13468 9002 as_echo_n_body='eval 13469 9003 arg=$1; 13470 case $arg in 9004 case $arg in #( 13471 9005 *"$as_nl"*) 13472 9006 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 13491 9025 fi 13492 9026 13493 # Support unset when possible.13494 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then13495 as_unset=unset13496 else13497 as_unset=false13498 fi13499 13500 9027 13501 9028 # IFS … … 13507 9034 13508 9035 # Find who we are. Look in the path if we contain no directory separator. 13509 case $0 in 9036 as_myself= 9037 case $0 in #(( 13510 9038 *[\\/]* ) as_myself=$0 ;; 13511 9039 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 13514 9042 IFS=$as_save_IFS 13515 9043 test -z "$as_dir" && as_dir=. 13516 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break13517 done9044 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9045 done 13518 9046 IFS=$as_save_IFS 13519 9047 … … 13527 9055 if test ! -f "$as_myself"; then 13528 9056 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13529 { (exit 1); exit 1; } 13530 fi 13531 13532 # Work around bugs in pre-3.0 UWIN ksh. 13533 for as_var in ENV MAIL MAILPATH 13534 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9057 exit 1 9058 fi 9059 9060 # Unset variables that we do not need and which cause bugs (e.g. in 9061 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 9062 # suppresses any "Segmentation fault" message there. '((' could 9063 # trigger a bug in pdksh 5.2.14. 9064 for as_var in BASH_ENV ENV MAIL MAILPATH 9065 do eval test x\${$as_var+set} = xset \ 9066 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13535 9067 done 13536 9068 PS1='$ ' … … 13544 9076 export LANGUAGE 13545 9077 13546 # Required to use basename. 9078 # CDPATH. 9079 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9080 9081 9082 # as_fn_error STATUS ERROR [LINENO LOG_FD] 9083 # ---------------------------------------- 9084 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9085 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9086 # script with STATUS, using 1 if that was 0. 9087 as_fn_error () 9088 { 9089 as_status=$1; test $as_status -eq 0 && as_status=1 9090 if test "$4"; then 9091 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9092 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 9093 fi 9094 $as_echo "$as_me: error: $2" >&2 9095 as_fn_exit $as_status 9096 } # as_fn_error 9097 9098 9099 # as_fn_set_status STATUS 9100 # ----------------------- 9101 # Set $? to STATUS, without forking. 9102 as_fn_set_status () 9103 { 9104 return $1 9105 } # as_fn_set_status 9106 9107 # as_fn_exit STATUS 9108 # ----------------- 9109 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9110 as_fn_exit () 9111 { 9112 set +e 9113 as_fn_set_status $1 9114 exit $1 9115 } # as_fn_exit 9116 9117 # as_fn_unset VAR 9118 # --------------- 9119 # Portably unset VAR. 9120 as_fn_unset () 9121 { 9122 { eval $1=; unset $1;} 9123 } 9124 as_unset=as_fn_unset 9125 # as_fn_append VAR VALUE 9126 # ---------------------- 9127 # Append the text in VALUE to the end of the definition contained in VAR. Take 9128 # advantage of any shell optimizations that allow amortized linear growth over 9129 # repeated appends, instead of the typical quadratic growth present in naive 9130 # implementations. 9131 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 9132 eval 'as_fn_append () 9133 { 9134 eval $1+=\$2 9135 }' 9136 else 9137 as_fn_append () 9138 { 9139 eval $1=\$$1\$2 9140 } 9141 fi # as_fn_append 9142 9143 # as_fn_arith ARG... 9144 # ------------------ 9145 # Perform arithmetic evaluation on the ARGs, and store the result in the 9146 # global $as_val. Take advantage of shells that can avoid forks. The arguments 9147 # must be portable across $(()) and expr. 9148 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 9149 eval 'as_fn_arith () 9150 { 9151 as_val=$(( $* )) 9152 }' 9153 else 9154 as_fn_arith () 9155 { 9156 as_val=`expr "$@" || test $? -eq 1` 9157 } 9158 fi # as_fn_arith 9159 9160 13547 9161 if expr a : '\(a\)' >/dev/null 2>&1 && 13548 9162 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 13558 9172 fi 13559 9173 13560 13561 # Name of the executable. 9174 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9175 as_dirname=dirname 9176 else 9177 as_dirname=false 9178 fi 9179 13562 9180 as_me=`$as_basename -- "$0" || 13563 9181 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 13579 9197 s/.*/./; q'` 13580 9198 13581 # CDPATH. 13582 $as_unset CDPATH 13583 13584 13585 13586 as_lineno_1=$LINENO 13587 as_lineno_2=$LINENO 13588 test "x$as_lineno_1" != "x$as_lineno_2" && 13589 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 13590 13591 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 13592 # uniformly replaced by the line number. The first 'sed' inserts a 13593 # line-number line after each line using $LINENO; the second 'sed' 13594 # does the real work. The second script uses 'N' to pair each 13595 # line-number line with the line containing $LINENO, and appends 13596 # trailing '-' during substitution so that $LINENO is not a special 13597 # case at line end. 13598 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 13599 # scripts with optimization help from Paolo Bonzini. Blame Lee 13600 # E. McMahon (1931-1989) for sed's syntax. :-) 13601 sed -n ' 13602 p 13603 /[$]LINENO/= 13604 ' <$as_myself | 13605 sed ' 13606 s/[$]LINENO.*/&-/ 13607 t lineno 13608 b 13609 :lineno 13610 N 13611 :loop 13612 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 13613 t loop 13614 s/-\n.*// 13615 ' >$as_me.lineno && 13616 chmod +x "$as_me.lineno" || 13617 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 13618 { (exit 1); exit 1; }; } 13619 13620 # Don't try to exec as it changes $[0], causing all sort of problems 13621 # (the dirname of $[0] is not the place where we might find the 13622 # original and so on. Autoconf is especially sensitive to this). 13623 . "./$as_me.lineno" 13624 # Exit status is that of the last command. 13625 exit 13626 } 13627 13628 13629 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13630 as_dirname=dirname 13631 else 13632 as_dirname=false 13633 fi 9199 # Avoid depending upon Character Ranges. 9200 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9201 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9202 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9203 as_cr_digits='0123456789' 9204 as_cr_alnum=$as_cr_Letters$as_cr_digits 13634 9205 13635 9206 ECHO_C= ECHO_N= ECHO_T= 13636 case `echo -n x` in 9207 case `echo -n x` in #((((( 13637 9208 -n*) 13638 case `echo 'x \c'` in9209 case `echo 'xy\c'` in 13639 9210 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13640 *) ECHO_C='\c';; 9211 xy) ECHO_C='\c';; 9212 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 9213 ECHO_T=' ';; 13641 9214 esac;; 13642 9215 *) 13643 9216 ECHO_N='-n';; 13644 9217 esac 13645 if expr a : '\(a\)' >/dev/null 2>&1 &&13646 test "X`expr 00001 : '.*\(...\)'`" = X001; then13647 as_expr=expr13648 else13649 as_expr=false13650 fi13651 9218 13652 9219 rm -f conf$$ conf$$.exe conf$$.file … … 13677 9244 rmdir conf$$.dir 2>/dev/null 13678 9245 9246 9247 # as_fn_mkdir_p 9248 # ------------- 9249 # Create "$as_dir" as a directory, including parents if necessary. 9250 as_fn_mkdir_p () 9251 { 9252 9253 case $as_dir in #( 9254 -*) as_dir=./$as_dir;; 9255 esac 9256 test -d "$as_dir" || eval $as_mkdir_p || { 9257 as_dirs= 9258 while :; do 9259 case $as_dir in #( 9260 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 9261 *) as_qdir=$as_dir;; 9262 esac 9263 as_dirs="'$as_qdir' $as_dirs" 9264 as_dir=`$as_dirname -- "$as_dir" || 9265 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9266 X"$as_dir" : 'X\(//\)[^/]' \| \ 9267 X"$as_dir" : 'X\(//\)$' \| \ 9268 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9269 $as_echo X"$as_dir" | 9270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9271 s//\1/ 9272 q 9273 } 9274 /^X\(\/\/\)[^/].*/{ 9275 s//\1/ 9276 q 9277 } 9278 /^X\(\/\/\)$/{ 9279 s//\1/ 9280 q 9281 } 9282 /^X\(\/\).*/{ 9283 s//\1/ 9284 q 9285 } 9286 s/.*/./; q'` 9287 test -d "$as_dir" && break 9288 done 9289 test -z "$as_dirs" || eval "mkdir $as_dirs" 9290 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 9291 9292 9293 } # as_fn_mkdir_p 13679 9294 if mkdir -p . 2>/dev/null; then 13680 as_mkdir_p= :9295 as_mkdir_p='mkdir -p "$as_dir"' 13681 9296 else 13682 9297 test -d ./-p && rmdir ./-p … … 13697 9312 test -d "$1/."; 13698 9313 else 13699 case $1 in 9314 case $1 in #( 13700 9315 -*)set "./$1";; 13701 9316 esac; 13702 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9317 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 13703 9318 ???[sx]*):;;*)false;;esac;fi 13704 9319 '\'' sh … … 13715 9330 13716 9331 exec 6>&1 13717 13718 # Save the log message, to keep $[0] and so on meaningful, and to 9332 ## ----------------------------------- ## 9333 ## Main body of $CONFIG_STATUS script. ## 9334 ## ----------------------------------- ## 9335 _ASEOF 9336 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9337 9338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9339 # Save the log message, to keep $0 and so on meaningful, and to 13719 9340 # report actual input values of CONFIG_FILES etc. instead of their 13720 9341 # values after options handling. 13721 9342 ac_log=" 13722 9343 This file was extended by vizservers $as_me 0.1, which was 13723 generated by GNU Autoconf 2.6 3. Invocation command line was9344 generated by GNU Autoconf 2.68. Invocation command line was 13724 9345 13725 9346 CONFIG_FILES = $CONFIG_FILES … … 13752 9373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13753 9374 ac_cs_usage="\ 13754 \`$as_me' instantiates files from templates according to the 13755 current configuration. 13756 13757 Usage: $0 [OPTION]... [FILE]... 9375 \`$as_me' instantiates files and other configuration actions 9376 from templates according to the current configuration. Unless the files 9377 and actions are specified as TAGs, all are instantiated by default. 9378 9379 Usage: $0 [OPTION]... [TAG]... 13758 9380 13759 9381 -h, --help print this help, then exit 13760 9382 -V, --version print version number and configuration settings, then exit 9383 --config print configuration, then exit 13761 9384 -q, --quiet, --silent 13762 9385 do not print progress messages … … 13774 9397 $config_headers 13775 9398 13776 Report bugs to < bug-autoconf@gnu.org>."9399 Report bugs to <rappture@nanohub.org>." 13777 9400 13778 9401 _ACEOF 13779 9402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9403 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13780 9404 ac_cs_version="\\ 13781 9405 vizservers config.status 0.1 13782 configured by $0, generated by GNU Autoconf 2.6 3,13783 with options \\" `$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"13784 13785 Copyright (C) 20 08Free Software Foundation, Inc.9406 configured by $0, generated by GNU Autoconf 2.68, 9407 with options \\"\$ac_cs_config\\" 9408 9409 Copyright (C) 2010 Free Software Foundation, Inc. 13786 9410 This config.status script is free software; the Free Software Foundation 13787 9411 gives unlimited permission to copy, distribute and modify it." … … 13800 9424 do 13801 9425 case $1 in 13802 --*= *)9426 --*=?*) 13803 9427 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13804 9428 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9429 ac_shift=: 9430 ;; 9431 --*=) 9432 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9433 ac_optarg= 13805 9434 ac_shift=: 13806 9435 ;; … … 13818 9447 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13819 9448 $as_echo "$ac_cs_version"; exit ;; 9449 --config | --confi | --conf | --con | --co | --c ) 9450 $as_echo "$ac_cs_config"; exit ;; 13820 9451 --debug | --debu | --deb | --de | --d | -d ) 13821 9452 debug=: ;; … … 13824 9455 case $ac_optarg in 13825 9456 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9457 '') as_fn_error $? "missing file argument" ;; 13826 9458 esac 13827 CONFIG_FILES="$CONFIG_FILES'$ac_optarg'"9459 as_fn_append CONFIG_FILES " '$ac_optarg'" 13828 9460 ac_need_defaults=false;; 13829 9461 --header | --heade | --head | --hea ) … … 13832 9464 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13833 9465 esac 13834 CONFIG_HEADERS="$CONFIG_HEADERS'$ac_optarg'"9466 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13835 9467 ac_need_defaults=false;; 13836 9468 --he | --h) 13837 9469 # Conflict between --help and --header 13838 { $as_echo "$as_me: error: ambiguous option: $1 13839 Try \`$0 --help' for more information." >&2 13840 { (exit 1); exit 1; }; };; 9470 as_fn_error $? "ambiguous option: \`$1' 9471 Try \`$0 --help' for more information.";; 13841 9472 --help | --hel | -h ) 13842 9473 $as_echo "$ac_cs_usage"; exit ;; … … 13846 9477 13847 9478 # This is an error. 13848 -*) { $as_echo "$as_me: error: unrecognized option: $1 13849 Try \`$0 --help' for more information." >&2 13850 { (exit 1); exit 1; }; } ;; 13851 13852 *) ac_config_targets="$ac_config_targets $1" 9479 -*) as_fn_error $? "unrecognized option: \`$1' 9480 Try \`$0 --help' for more information." ;; 9481 9482 *) as_fn_append ac_config_targets " $1" 13853 9483 ac_need_defaults=false ;; 13854 9484 … … 13910 9540 "nanovis/transfer-function/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/transfer-function/Makefile" ;; 13911 9541 "pymolproxy/Makefile") CONFIG_FILES="$CONFIG_FILES pymolproxy/Makefile" ;; 9542 "pymolproxy/pymol") CONFIG_FILES="$CONFIG_FILES pymolproxy/pymol" ;; 13912 9543 "vtkvis/Doxyfile") CONFIG_FILES="$CONFIG_FILES vtkvis/Doxyfile" ;; 13913 9544 "vtkvis/Makefile") CONFIG_FILES="$CONFIG_FILES vtkvis/Makefile" ;; … … 13915 9546 "start_nanoscale.sh") CONFIG_FILES="$CONFIG_FILES start_nanoscale.sh" ;; 13916 9547 13917 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13918 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13919 { (exit 1); exit 1; }; };; 9548 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13920 9549 esac 13921 9550 done … … 13939 9568 $debug || 13940 9569 { 13941 tmp= 9570 tmp= ac_tmp= 13942 9571 trap 'exit_status=$? 13943 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9572 : "${ac_tmp:=$tmp}" 9573 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13944 9574 ' 0 13945 trap ' { (exit 1); exit 1; }' 1 2 13 159575 trap 'as_fn_exit 1' 1 2 13 15 13946 9576 } 13947 9577 # Create a (secure) tmp directory for tmp files. … … 13949 9579 { 13950 9580 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13951 test - n "$tmp" && test -d "$tmp"9581 test -d "$tmp" 13952 9582 } || 13953 9583 { 13954 9584 tmp=./conf$$-$RANDOM 13955 9585 (umask 077 && mkdir "$tmp") 13956 } || 13957 { 13958 $as_echo "$as_me: cannot create a temporary directory in ." >&2 13959 { (exit 1); exit 1; } 13960 } 9586 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 9587 ac_tmp=$tmp 13961 9588 13962 9589 # Set up the scripts for CONFIG_FILES section. … … 13966 9593 13967 9594 13968 ac_cr=' 13969 ' 9595 ac_cr=`echo X | tr X '\015'` 9596 # On cygwin, bash can eat \r inside `` if the user requested igncr. 9597 # But we know of no other shell where ac_cr would be empty at this 9598 # point, so we can use a bashism as a fallback. 9599 if test "x$ac_cr" = x; then 9600 eval ac_cr=\$\'\\r\' 9601 fi 13970 9602 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13971 9603 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then … … 13975 9607 fi 13976 9608 13977 echo 'BEGIN {' >"$ tmp/subs1.awk" &&9609 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 13978 9610 _ACEOF 13979 9611 … … 13984 9616 echo "_ACEOF" 13985 9617 } >conf$$subs.sh || 13986 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13987 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13988 { (exit 1); exit 1; }; } 13989 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9618 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9619 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13990 9620 ac_delim='%!_!# ' 13991 9621 for ac_last_try in false false false false false :; do 13992 9622 . ./conf$$subs.sh || 13993 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13994 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13995 { (exit 1); exit 1; }; } 9623 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13996 9624 13997 9625 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 13999 9627 break 14000 9628 elif $ac_last_try; then 14001 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14002 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14003 { (exit 1); exit 1; }; } 9629 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14004 9630 else 14005 9631 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 14009 9635 14010 9636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14011 cat >>"\$ tmp/subs1.awk" <<\\_ACAWK &&9637 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 14012 9638 _ACEOF 14013 9639 sed -n ' … … 14023 9649 :nl 14024 9650 h 14025 s/\(.\{148\}\). */\1/9651 s/\(.\{148\}\)..*/\1/ 14026 9652 t more1 14027 9653 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 14037 9663 :delim 14038 9664 h 14039 s/\(.\{148\}\). */\1/9665 s/\(.\{148\}\)..*/\1/ 14040 9666 t more2 14041 9667 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 14057 9683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14058 9684 _ACAWK 14059 cat >>"\$ tmp/subs1.awk" <<_ACAWK &&9685 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 14060 9686 for (key in S) S_is_set[key] = 1 14061 9687 FS = "" … … 14089 9715 else 14090 9716 cat 14091 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 14092 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 14093 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 14094 { (exit 1); exit 1; }; } 14095 _ACEOF 14096 14097 # VPATH may cause trouble with some makes, so we remove $(srcdir), 14098 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9717 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 9718 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9719 _ACEOF 9720 9721 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9722 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 14099 9723 # trailing colons and then remove the whole line if VPATH becomes empty 14100 9724 # (actually we leave an empty line to preserve line numbers). 14101 9725 if test "x$srcdir" = x.; then 14102 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 14103 s/:*\$(srcdir):*/:/ 14104 s/:*\${srcdir}:*/:/ 14105 s/:*@srcdir@:*/:/ 14106 s/^\([^=]*=[ ]*\):*/\1/ 9726 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 9727 h 9728 s/// 9729 s/^/:/ 9730 s/[ ]*$/:/ 9731 s/:\$(srcdir):/:/g 9732 s/:\${srcdir}:/:/g 9733 s/:@srcdir@:/:/g 9734 s/^:*// 14107 9735 s/:*$// 9736 x 9737 s/\(=[ ]*\).*/\1/ 9738 G 9739 s/\n// 14108 9740 s/^[^=]*=[ ]*$// 14109 9741 }' … … 14117 9749 # This happens for instance with `./config.status Makefile'. 14118 9750 if test -n "$CONFIG_HEADERS"; then 14119 cat >"$ tmp/defines.awk" <<\_ACAWK ||9751 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 14120 9752 BEGIN { 14121 9753 _ACEOF … … 14129 9761 ac_delim='%!_!# ' 14130 9762 for ac_last_try in false false :; do 14131 ac_t =`sed -n "/$ac_delim/p" confdefs.h`14132 if test -z "$ac_t "; then9763 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 9764 if test -z "$ac_tt"; then 14133 9765 break 14134 9766 elif $ac_last_try; then 14135 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 14136 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 14137 { (exit 1); exit 1; }; } 9767 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 14138 9768 else 14139 9769 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 14220 9850 _ACEOF 14221 9851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14222 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 14223 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 14224 { (exit 1); exit 1; }; } 9852 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14225 9853 fi # test -n "$CONFIG_HEADERS" 14226 9854 … … 14235 9863 case $ac_mode$ac_tag in 14236 9864 :[FHL]*:*);; 14237 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 14238 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 14239 { (exit 1); exit 1; }; };; 9865 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14240 9866 :[FH]-) ac_tag=-:-;; 14241 9867 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 14256 9882 do 14257 9883 case $ac_f in 14258 -) ac_f="$ tmp/stdin";;9884 -) ac_f="$ac_tmp/stdin";; 14259 9885 *) # Look for the file first in the build tree, then in the source tree 14260 9886 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 14265 9891 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14266 9892 esac || 14267 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 14268 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 14269 { (exit 1); exit 1; }; };; 9893 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14270 9894 esac 14271 9895 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14272 a c_file_inputs="$ac_file_inputs'$ac_f'"9896 as_fn_append ac_file_inputs " '$ac_f'" 14273 9897 done 14274 9898 … … 14281 9905 if test x"$ac_file" != x-; then 14282 9906 configure_input="$ac_file. $configure_input" 14283 { $as_echo "$as_me:$ LINENO: creating $ac_file" >&59907 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14284 9908 $as_echo "$as_me: creating $ac_file" >&6;} 14285 9909 fi … … 14293 9917 14294 9918 case $ac_tag in 14295 *:-:* | *:-) cat >"$tmp/stdin" \ 14296 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14297 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14298 { (exit 1); exit 1; }; } ;; 9919 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 9920 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14299 9921 esac 14300 9922 ;; … … 14324 9946 } 14325 9947 s/.*/./; q'` 14326 { as_dir="$ac_dir" 14327 case $as_dir in #( 14328 -*) as_dir=./$as_dir;; 14329 esac 14330 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 14331 as_dirs= 14332 while :; do 14333 case $as_dir in #( 14334 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14335 *) as_qdir=$as_dir;; 14336 esac 14337 as_dirs="'$as_qdir' $as_dirs" 14338 as_dir=`$as_dirname -- "$as_dir" || 14339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14340 X"$as_dir" : 'X\(//\)[^/]' \| \ 14341 X"$as_dir" : 'X\(//\)$' \| \ 14342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14343 $as_echo X"$as_dir" | 14344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14345 s//\1/ 14346 q 14347 } 14348 /^X\(\/\/\)[^/].*/{ 14349 s//\1/ 14350 q 14351 } 14352 /^X\(\/\/\)$/{ 14353 s//\1/ 14354 q 14355 } 14356 /^X\(\/\).*/{ 14357 s//\1/ 14358 q 14359 } 14360 s/.*/./; q'` 14361 test -d "$as_dir" && break 14362 done 14363 test -z "$as_dirs" || eval "mkdir $as_dirs" 14364 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 14365 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 14366 { (exit 1); exit 1; }; }; } 9948 as_dir="$ac_dir"; as_fn_mkdir_p 14367 9949 ac_builddir=. 14368 9950 … … 14421 10003 # FIXME: This hack should be removed a few years after 2.60. 14422 10004 ac_datarootdir_hack=; ac_datarootdir_seen= 14423 14424 10005 ac_sed_dataroot=' 14425 10006 /datarootdir/ { … … 14431 10012 /@infodir@/p 14432 10013 /@localedir@/p 14433 /@mandir@/p 14434 ' 10014 /@mandir@/p' 14435 10015 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14436 10016 *datarootdir*) ac_datarootdir_seen=yes;; 14437 10017 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14438 { $as_echo "$as_me:$ LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&510018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14439 10019 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14440 10020 _ACEOF … … 14446 10026 s&@localedir@&$localedir&g 14447 10027 s&@mandir@&$mandir&g 14448 10028 s&\\\${datarootdir}&$datarootdir&g' ;; 14449 10029 esac 14450 10030 _ACEOF … … 14474 10054 $ac_datarootdir_hack 14475 10055 " 14476 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 14477 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14478 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14479 { (exit 1); exit 1; }; } 10056 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 10057 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14480 10058 14481 10059 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14482 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 14483 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 14484 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14485 which seems to be undefined. Please make sure it is defined." >&5 10060 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 10061 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 10062 "$ac_tmp/out"`; test -z "$ac_out"; } && 10063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10064 which seems to be undefined. Please make sure it is defined" >&5 14486 10065 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14487 which seems to be undefined. Please make sure it is defined ." >&2;}14488 14489 rm -f "$ tmp/stdin"10066 which seems to be undefined. Please make sure it is defined" >&2;} 10067 10068 rm -f "$ac_tmp/stdin" 14490 10069 case $ac_file in 14491 -) cat "$ tmp/out" && rm -f "$tmp/out";;14492 *) rm -f "$ac_file" && mv "$ tmp/out" "$ac_file";;10070 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 10071 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14493 10072 esac \ 14494 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14495 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14496 { (exit 1); exit 1; }; } 10073 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14497 10074 ;; 14498 10075 :H) … … 14503 10080 { 14504 10081 $as_echo "/* $configure_input */" \ 14505 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 14506 } >"$tmp/config.h" \ 14507 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14508 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14509 { (exit 1); exit 1; }; } 14510 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 14511 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10082 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 10083 } >"$ac_tmp/config.h" \ 10084 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10085 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 10086 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14512 10087 $as_echo "$as_me: $ac_file is unchanged" >&6;} 14513 10088 else 14514 10089 rm -f "$ac_file" 14515 mv "$tmp/config.h" "$ac_file" \ 14516 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14517 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14518 { (exit 1); exit 1; }; } 10090 mv "$ac_tmp/config.h" "$ac_file" \ 10091 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14519 10092 fi 14520 10093 else 14521 10094 $as_echo "/* $configure_input */" \ 14522 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 14523 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 14524 $as_echo "$as_me: error: could not create -" >&2;} 14525 { (exit 1); exit 1; }; } 10095 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 10096 || as_fn_error $? "could not create -" "$LINENO" 5 14526 10097 fi 14527 10098 ;; … … 14533 10104 14534 10105 14535 { (exit 0); exit 0; } 14536 _ACEOF 14537 chmod +x $CONFIG_STATUS 10106 as_fn_exit 0 10107 _ACEOF 14538 10108 ac_clean_files=$ac_clean_files_save 14539 10109 14540 10110 test $ac_write_fail = 0 || 14541 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 14542 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 14543 { (exit 1); exit 1; }; } 10111 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14544 10112 14545 10113 … … 14562 10130 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14563 10131 # would make configure fail if this is the last instruction. 14564 $ac_cs_success || { (exit 1); exit 1; }10132 $ac_cs_success || as_fn_exit 1 14565 10133 fi 14566 10134 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14567 { $as_echo "$as_me:$ LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&510135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14568 10136 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14569 10137 fi -
trunk/packages/vizservers/configure.in
r2567 r2618 1 1 AC_PREREQ([2.60]) 2 2 AC_INIT(vizservers, 0.1, rappture@nanohub.org) 3 AC_CONFIG_AUX_DIR(cf) 3 4 AC_CONFIG_HEADERS([nanovis/nvconf.h nanoscale/config.h]) 4 5 … … 37 38 [with_vtk=$withval], 38 39 [with_vtk=yes]) 40 41 RP_LANG_PYTHON 39 42 40 43 VERSION=0.0.1 … … 341 344 AC_SUBST(STLIB_LD) 342 345 AC_SUBST(SUBDIRS) 346 AC_SUBST(PYTHON) 343 347 AC_SUBST(TCL_INC_SPEC) 344 348 AC_SUBST(TCL_LIB_SPEC) … … 361 365 nanovis/transfer-function/Makefile \ 362 366 pymolproxy/Makefile \ 367 pymolproxy/pymol \ 363 368 vtkvis/Doxyfile \ 364 369 vtkvis/Makefile \ -
trunk/packages/vizservers/pymolproxy/Makefile.in
r2428 r2618 48 48 $(MKDIR_P) -m 0755 $(bindir) 49 49 $(INSTALL) -m 0555 pymolproxy $(bindir)/pymolproxy 50 $(INSTALL) -m 0555 $(srcdir)/pymol $(bindir)/pymol50 $(INSTALL) -m 0555 pymol $(bindir)/pymol 51 51 52 52 install-scripts: … … 60 60 61 61 distclean: clean 62 $(RM) Makefile 62 $(RM) Makefile pymol
Note: See TracChangeset
for help on using the changeset viewer.