Changeset 4467 for branches/1.3
- Timestamp:
- Jul 8, 2014, 10:11:13 AM (10 years ago)
- Location:
- branches/1.3/packages/vizservers
- Files:
-
- 5 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3/packages/vizservers/Makefile.in
r3745 r4467 20 20 SUBDIRS = @SUBDIRS@ 21 21 VTK_LIB_DIR = @VTK_LIB_DIR@ 22 CG_LIB_DIR = @CG_LIB_DIR@23 22 24 23 SUBDIRS = nanoscale pymolproxy … … 26 25 ifneq ($(VTK_LIB_DIR),) 27 26 SUBDIRS += vtkvis 28 endif29 30 ifneq ($(CG_LIB_DIR),)31 SUBDIRS += nanovis32 27 endif 33 28 -
branches/1.3/packages/vizservers/configure
r3563 r4467 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 3for vizservers 0.1.3 # Generated by GNU Autoconf 2.69 for vizservers 0.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 7 # 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 # 10 # 9 11 # This configure script is free software; the Free Software Foundation 10 12 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. 13 ## -------------------- -##13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 14 16 15 17 # Be more Bourne compatible 16 18 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 20 emulate sh 19 21 NULLCMD=: … … 23 25 setopt NO_GLOB_SUBST 24 26 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 27 32 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 33 fi 34 41 35 42 36 as_nl=' … … 47 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 50 as_echo='printf %s\n' 51 51 as_echo_n='printf %s' … … 58 58 as_echo_n_body='eval 59 59 arg=$1; 60 case $arg in 60 case $arg in #( 61 61 *"$as_nl"*) 62 62 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 81 81 fi 82 82 83 # Support unset when possible.84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then85 as_unset=unset86 else87 as_unset=false88 fi89 90 83 91 84 # IFS … … 97 90 98 91 # Find who we are. Look in the path if we contain no directory separator. 99 case $0 in 92 as_myself= 93 case $0 in #(( 100 94 *[\\/]* ) as_myself=$0 ;; 101 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 104 98 IFS=$as_save_IFS 105 99 test -z "$as_dir" && as_dir=. 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break107 done100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 108 102 IFS=$as_save_IFS 109 103 … … 117 111 if test ! -f "$as_myself"; then 118 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 { (exit 1); exit 1; } 120 fi 121 122 # Work around bugs in pre-3.0 UWIN ksh. 123 for as_var in ENV MAIL MAILPATH 124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 113 exit 1 114 fi 115 116 # Unset variables that we do not need and which cause bugs (e.g. in 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 # suppresses any "Segmentation fault" message there. '((' could 119 # trigger a bug in pdksh 5.2.14. 120 for as_var in BASH_ENV ENV MAIL MAILPATH 121 do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125 123 done 126 124 PS1='$ ' … … 134 132 export LANGUAGE 135 133 136 # Required to use basename. 134 # CDPATH. 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 # Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142 # neutralization value for shells without unset; and this also 143 # works around shells that cannot unset nonexistent variables. 144 # Preserve -v and -x to the replacement shell. 145 BASH_ENV=/dev/null 146 ENV=/dev/null 147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148 case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153 esac 154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 # Admittedly, this is quite paranoid, since all the known shells bail 156 # out after a failed `exec'. 157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162 if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170 else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176 esac 177 fi 178 " 179 as_required="as_fn_return () { (exit \$1); } 180 as_fn_success () { as_fn_return 0; } 181 as_fn_failure () { as_fn_return 1; } 182 as_fn_ret_success () { return 0; } 183 as_fn_ret_failure () { return 1; } 184 185 exitcode=0 186 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192 else 193 exitcode=1; echo positional parameters were not saved. 194 fi 195 test x\$exitcode = x0 || exit 1 196 test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204 else 205 as_have_required=no 206 fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209 else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211 as_found=false 212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213 do 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227 fi 228 fi 229 done;; 230 esac 231 as_found=false 232 done 233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236 fi; } 237 IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243 # neutralization value for shells without unset; and this also 244 # works around shells that cannot unset nonexistent variables. 245 # Preserve -v and -x to the replacement shell. 246 BASH_ENV=/dev/null 247 ENV=/dev/null 248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249 case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254 esac 255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256 # Admittedly, this is quite paranoid, since all the known shells bail 257 # out after a failed `exec'. 258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259 exit 255 260 fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and 270 $0: rappture@nanohub.org about your system, including any 271 $0: error possibly output before this message. Then install 272 $0: a modern shell, or manually run the script under such a 273 $0: shell if you do have one." 274 fi 275 exit 1 276 fi 277 fi 278 fi 279 SHELL=${CONFIG_SHELL-/bin/sh} 280 export SHELL 281 # Unset more variables known to interfere with behavior of common tools. 282 CLICOLOR_FORCE= GREP_OPTIONS= 283 unset CLICOLOR_FORCE GREP_OPTIONS 284 285 ## --------------------- ## 286 ## M4sh Shell Functions. ## 287 ## --------------------- ## 288 # as_fn_unset VAR 289 # --------------- 290 # Portably unset VAR. 291 as_fn_unset () 292 { 293 { eval $1=; unset $1;} 294 } 295 as_unset=as_fn_unset 296 297 # as_fn_set_status STATUS 298 # ----------------------- 299 # Set $? to STATUS, without forking. 300 as_fn_set_status () 301 { 302 return $1 303 } # as_fn_set_status 304 305 # as_fn_exit STATUS 306 # ----------------- 307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 308 as_fn_exit () 309 { 310 set +e 311 as_fn_set_status $1 312 exit $1 313 } # as_fn_exit 314 315 # as_fn_mkdir_p 316 # ------------- 317 # Create "$as_dir" as a directory, including parents if necessary. 318 as_fn_mkdir_p () 319 { 320 321 case $as_dir in #( 322 -*) as_dir=./$as_dir;; 323 esac 324 test -d "$as_dir" || eval $as_mkdir_p || { 325 as_dirs= 326 while :; do 327 case $as_dir in #( 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 329 *) as_qdir=$as_dir;; 330 esac 331 as_dirs="'$as_qdir' $as_dirs" 332 as_dir=`$as_dirname -- "$as_dir" || 333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 334 X"$as_dir" : 'X\(//\)[^/]' \| \ 335 X"$as_dir" : 'X\(//\)$' \| \ 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 337 $as_echo X"$as_dir" | 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)[^/].*/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\/\)$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\).*/{ 351 s//\1/ 352 q 353 } 354 s/.*/./; q'` 355 test -d "$as_dir" && break 356 done 357 test -z "$as_dirs" || eval "mkdir $as_dirs" 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 359 360 361 } # as_fn_mkdir_p 362 363 # as_fn_executable_p FILE 364 # ----------------------- 365 # Test if FILE is an executable regular file. 366 as_fn_executable_p () 367 { 368 test -f "$1" && test -x "$1" 369 } # as_fn_executable_p 370 # as_fn_append VAR VALUE 371 # ---------------------- 372 # Append the text in VALUE to the end of the definition contained in VAR. Take 373 # advantage of any shell optimizations that allow amortized linear growth over 374 # repeated appends, instead of the typical quadratic growth present in naive 375 # implementations. 376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 377 eval 'as_fn_append () 378 { 379 eval $1+=\$2 380 }' 381 else 382 as_fn_append () 383 { 384 eval $1=\$$1\$2 385 } 386 fi # as_fn_append 387 388 # as_fn_arith ARG... 389 # ------------------ 390 # Perform arithmetic evaluation on the ARGs, and store the result in the 391 # global $as_val. Take advantage of shells that can avoid forks. The arguments 392 # must be portable across $(()) and expr. 393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 394 eval 'as_fn_arith () 395 { 396 as_val=$(( $* )) 397 }' 398 else 399 as_fn_arith () 400 { 401 as_val=`expr "$@" || test $? -eq 1` 402 } 403 fi # as_fn_arith 404 405 406 # as_fn_error STATUS ERROR [LINENO LOG_FD] 407 # ---------------------------------------- 408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 410 # script with STATUS, using 1 if that was 0. 411 as_fn_error () 412 { 413 as_status=$1; test $as_status -eq 0 && as_status=1 414 if test "$4"; then 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 417 fi 418 $as_echo "$as_me: error: $2" >&2 419 as_fn_exit $as_status 420 } # as_fn_error 421 137 422 if expr a : '\(a\)' >/dev/null 2>&1 && 138 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 148 433 fi 149 434 150 151 # Name of the executable. 435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 436 as_dirname=dirname 437 else 438 as_dirname=false 439 fi 440 152 441 as_me=`$as_basename -- "$0" || 153 442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 169 458 s/.*/./; q'` 170 459 171 # CDPATH. 172 $as_unset CDPATH 173 174 175 if test "x$CONFIG_SHELL" = x; then 176 if (eval ":") 2>/dev/null; then 177 as_have_required=yes 178 else 179 as_have_required=no 180 fi 181 182 if test $as_have_required = yes && (eval ": 183 (as_func_return () { 184 (exit \$1) 185 } 186 as_func_success () { 187 as_func_return 0 188 } 189 as_func_failure () { 190 as_func_return 1 191 } 192 as_func_ret_success () { 193 return 0 194 } 195 as_func_ret_failure () { 196 return 1 197 } 198 199 exitcode=0 200 if as_func_success; then 201 : 202 else 203 exitcode=1 204 echo as_func_success failed. 205 fi 206 207 if as_func_failure; then 208 exitcode=1 209 echo as_func_failure succeeded. 210 fi 211 212 if as_func_ret_success; then 213 : 214 else 215 exitcode=1 216 echo as_func_ret_success failed. 217 fi 218 219 if as_func_ret_failure; then 220 exitcode=1 221 echo as_func_ret_failure succeeded. 222 fi 223 224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225 : 226 else 227 exitcode=1 228 echo positional parameters were not saved. 229 fi 230 231 test \$exitcode = 0) || { (exit 1); exit 1; } 232 233 ( 234 as_lineno_1=\$LINENO 235 as_lineno_2=\$LINENO 236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238 ") 2> /dev/null; then 239 : 240 else 241 as_candidate_shells= 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244 do 245 IFS=$as_save_IFS 246 test -z "$as_dir" && as_dir=. 247 case $as_dir in 248 /*) 249 for as_base in sh bash ksh sh5; do 250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251 done;; 252 esac 253 done 254 IFS=$as_save_IFS 255 256 257 for as_shell in $as_candidate_shells $SHELL; do 258 # Try only shells that exist, to save several forks. 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260 { ("$as_shell") 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 _ASEOF 278 }; then 279 CONFIG_SHELL=$as_shell 280 as_have_required=yes 281 if { "$as_shell" 2> /dev/null <<\_ASEOF 282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283 emulate sh 284 NULLCMD=: 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286 # is contrary to our usage. Disable this feature. 287 alias -g '${1+"$@"}'='"$@"' 288 setopt NO_GLOB_SUBST 289 else 290 case `(set -o) 2>/dev/null` in 291 *posix*) set -o posix ;; 292 esac 293 294 fi 295 296 297 : 298 (as_func_return () { 299 (exit $1) 300 } 301 as_func_success () { 302 as_func_return 0 303 } 304 as_func_failure () { 305 as_func_return 1 306 } 307 as_func_ret_success () { 308 return 0 309 } 310 as_func_ret_failure () { 311 return 1 312 } 313 314 exitcode=0 315 if as_func_success; then 316 : 317 else 318 exitcode=1 319 echo as_func_success failed. 320 fi 321 322 if as_func_failure; then 323 exitcode=1 324 echo as_func_failure succeeded. 325 fi 326 327 if as_func_ret_success; then 328 : 329 else 330 exitcode=1 331 echo as_func_ret_success failed. 332 fi 333 334 if as_func_ret_failure; then 335 exitcode=1 336 echo as_func_ret_failure succeeded. 337 fi 338 339 if ( set x; as_func_ret_success y && test x = "$1" ); then 340 : 341 else 342 exitcode=1 343 echo positional parameters were not saved. 344 fi 345 346 test $exitcode = 0) || { (exit 1); exit 1; } 347 348 ( 349 as_lineno_1=$LINENO 350 as_lineno_2=$LINENO 351 test "x$as_lineno_1" != "x$as_lineno_2" && 352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353 354 _ASEOF 355 }; then 356 break 357 fi 358 359 fi 360 361 done 362 363 if test "x$CONFIG_SHELL" != x; then 364 for as_var in BASH_ENV ENV 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369 fi 370 371 372 if test $as_have_required = no; then 373 echo This script requires a shell more modern than all the 374 echo shells that I found on your system. Please install a 375 echo modern shell, or manually run the script under such a 376 echo shell if you do have one. 377 { (exit 1); exit 1; } 378 fi 379 380 381 fi 382 383 fi 384 385 386 387 (eval "as_func_return () { 388 (exit \$1) 389 } 390 as_func_success () { 391 as_func_return 0 392 } 393 as_func_failure () { 394 as_func_return 1 395 } 396 as_func_ret_success () { 397 return 0 398 } 399 as_func_ret_failure () { 400 return 1 401 } 402 403 exitcode=0 404 if as_func_success; then 405 : 406 else 407 exitcode=1 408 echo as_func_success failed. 409 fi 410 411 if as_func_failure; then 412 exitcode=1 413 echo as_func_failure succeeded. 414 fi 415 416 if as_func_ret_success; then 417 : 418 else 419 exitcode=1 420 echo as_func_ret_success failed. 421 fi 422 423 if as_func_ret_failure; then 424 exitcode=1 425 echo as_func_ret_failure succeeded. 426 fi 427 428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429 : 430 else 431 exitcode=1 432 echo positional parameters were not saved. 433 fi 434 435 test \$exitcode = 0") || { 436 echo No shell found that supports shell functions. 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 441 } 442 443 444 445 as_lineno_1=$LINENO 446 as_lineno_2=$LINENO 447 test "x$as_lineno_1" != "x$as_lineno_2" && 448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449 450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451 # uniformly replaced by the line number. The first 'sed' inserts a 452 # line-number line after each line using $LINENO; the second 'sed' 453 # does the real work. The second script uses 'N' to pair each 454 # line-number line with the line containing $LINENO, and appends 455 # trailing '-' during substitution so that $LINENO is not a special 456 # case at line end. 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458 # scripts with optimization help from Paolo Bonzini. Blame Lee 459 # E. McMahon (1931-1989) for sed's syntax. :-) 460 # Avoid depending upon Character Ranges. 461 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 464 as_cr_digits='0123456789' 465 as_cr_alnum=$as_cr_Letters$as_cr_digits 466 467 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 460 473 sed -n ' 461 474 p … … 474 487 ' >$as_me.lineno && 475 488 chmod +x "$as_me.lineno" || 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 478 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 490 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 492 # already done that, so ensure we don't try to do so again and fall 493 # in an infinite loop. This has already happened in practice. 494 _as_can_reexec=no; export _as_can_reexec 479 495 # Don't try to exec as it changes $[0], causing all sort of problems 480 496 # (the dirname of $[0] is not the place where we might find the … … 485 501 } 486 502 487 488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then489 as_dirname=dirname490 else491 as_dirname=false492 fi493 494 503 ECHO_C= ECHO_N= ECHO_T= 495 case `echo -n x` in 504 case `echo -n x` in #((((( 496 505 -n*) 497 case `echo 'x \c'` in506 case `echo 'xy\c'` in 498 507 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499 *) ECHO_C='\c';; 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 500 511 esac;; 501 512 *) 502 513 ECHO_N='-n';; 503 514 esac 504 if expr a : '\(a\)' >/dev/null 2>&1 &&505 test "X`expr 00001 : '.*\(...\)'`" = X001; then506 as_expr=expr507 else508 as_expr=false509 fi510 515 511 516 rm -f conf$$ conf$$.exe conf$$.file … … 522 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 523 528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 524 # In both cases, we have to default to `cp -p '.529 # In both cases, we have to default to `cp -pR'. 525 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 526 as_ln_s='cp -p '531 as_ln_s='cp -pR' 527 532 elif ln conf$$.file conf$$ 2>/dev/null; then 528 533 as_ln_s=ln 529 534 else 530 as_ln_s='cp -p '535 as_ln_s='cp -pR' 531 536 fi 532 537 else 533 as_ln_s='cp -p '538 as_ln_s='cp -pR' 534 539 fi 535 540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 537 542 538 543 if mkdir -p . 2>/dev/null; then 539 as_mkdir_p= :544 as_mkdir_p='mkdir -p "$as_dir"' 540 545 else 541 546 test -d ./-p && rmdir ./-p … … 543 548 fi 544 549 545 if test -x / >/dev/null 2>&1; then 546 as_test_x='test -x' 547 else 548 if ls -dL / >/dev/null 2>&1; then 549 as_ls_L_option=L 550 else 551 as_ls_L_option= 552 fi 553 as_test_x=' 554 eval sh -c '\'' 555 if test -d "$1"; then 556 test -d "$1/."; 557 else 558 case $1 in 559 -*)set "./$1";; 560 esac; 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 562 ???[sx]*):;;*)false;;esac;fi 563 '\'' sh 564 ' 565 fi 566 as_executable_p=$as_test_x 550 as_test_x='test -x' 551 as_executable_p=as_fn_executable_p 567 552 568 553 # Sed expression to map a string onto a valid CPP name. … … 573 558 574 559 575 576 exec 7<&0 </dev/null6>&1560 test -n "$DJDIR" || exec 7<&0 </dev/null 561 exec 6>&1 577 562 578 563 # Name of the host. 579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 580 565 # so uname gets run too. 581 566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 592 577 MFLAGS= 593 578 MAKEFLAGS= 594 SHELL=${CONFIG_SHELL-/bin/sh}595 579 596 580 # Identity of this package. … … 600 584 PACKAGE_STRING='vizservers 0.1' 601 585 PACKAGE_BUGREPORT='rappture@nanohub.org' 586 PACKAGE_URL='' 602 587 603 588 # Factoring default headers for most tests. … … 657 642 RP_DIR 658 643 LD_RPATH 659 CG_LIB_SPEC660 CG_INC_SPEC661 FFMPEG662 644 CXXCPP 663 645 ac_ct_CXX … … 735 717 prefix 736 718 exec_prefix 719 PACKAGE_URL 737 720 PACKAGE_BUGREPORT 738 721 PACKAGE_STRING … … 750 733 with_vtk_libs 751 734 with_vtk 752 with_ffmpeg753 735 with_python 754 736 with_statsdir … … 835 817 836 818 case $ac_option in 837 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 838 *) ac_optarg=yes ;; 819 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 820 *=) ac_optarg= ;; 821 *) ac_optarg=yes ;; 839 822 esac 840 823 … … 881 864 # Reject names that are not valid shell variable names. 882 865 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 883 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 884 { (exit 1); exit 1; }; } 866 as_fn_error $? "invalid feature name: $ac_useropt" 885 867 ac_useropt_orig=$ac_useropt 886 868 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 908 890 # Reject names that are not valid shell variable names. 909 891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 910 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 911 { (exit 1); exit 1; }; } 892 as_fn_error $? "invalid feature name: $ac_useropt" 912 893 ac_useropt_orig=$ac_useropt 913 894 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1113 1094 # Reject names that are not valid shell variable names. 1114 1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1115 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1116 { (exit 1); exit 1; }; } 1096 as_fn_error $? "invalid package name: $ac_useropt" 1117 1097 ac_useropt_orig=$ac_useropt 1118 1098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1130 1110 # Reject names that are not valid shell variable names. 1131 1111 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1132 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1133 { (exit 1); exit 1; }; } 1112 as_fn_error $? "invalid package name: $ac_useropt" 1134 1113 ac_useropt_orig=$ac_useropt 1135 1114 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1161 1140 x_libraries=$ac_optarg ;; 1162 1141 1163 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1164 Try \`$0 --help' for more information." >&2 1165 { (exit 1); exit 1; }; } 1142 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1143 Try \`$0 --help' for more information" 1166 1144 ;; 1167 1145 … … 1169 1147 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1170 1148 # Reject names that are not valid shell variable names. 1171 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1172 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1173 { (exit 1); exit 1; }; } 1149 case $ac_envvar in #( 1150 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1151 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1152 esac 1174 1153 eval $ac_envvar=\$ac_optarg 1175 1154 export $ac_envvar ;; … … 1180 1159 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1181 1160 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1182 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1161 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1183 1162 ;; 1184 1163 … … 1188 1167 if test -n "$ac_prev"; then 1189 1168 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1190 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1191 { (exit 1); exit 1; }; } 1169 as_fn_error $? "missing argument to $ac_option" 1192 1170 fi 1193 1171 … … 1195 1173 case $enable_option_checking in 1196 1174 no) ;; 1197 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1198 { (exit 1); exit 1; }; } ;; 1175 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1199 1176 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1200 1177 esac … … 1219 1196 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1220 1197 esac 1221 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1222 { (exit 1); exit 1; }; } 1198 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1223 1199 done 1224 1200 … … 1234 1210 if test "x$build_alias" = x; then 1235 1211 cross_compiling=maybe 1236 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1237 If a cross compiler is detected then cross compile mode will be used." >&21238 1212 elif test "x$build_alias" != "x$host_alias"; then 1239 1213 cross_compiling=yes … … 1250 1224 ac_ls_di=`ls -di .` && 1251 1225 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1252 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1253 { (exit 1); exit 1; }; } 1226 as_fn_error $? "working directory cannot be determined" 1254 1227 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1255 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1256 { (exit 1); exit 1; }; } 1228 as_fn_error $? "pwd does not report name of working directory" 1257 1229 1258 1230 … … 1293 1265 if test ! -r "$srcdir/$ac_unique_file"; then 1294 1266 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1295 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1296 { (exit 1); exit 1; }; } 1267 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1297 1268 fi 1298 1269 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1299 1270 ac_abs_confdir=`( 1300 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1301 { (exit 1); exit 1; }; } 1271 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1302 1272 pwd)` 1303 1273 # When building in place, set srcdir=. … … 1339 1309 --help=recursive display the short help of all the included packages 1340 1310 -V, --version display version information and exit 1341 -q, --quiet, --silent do not print \`checking ...' messages1311 -q, --quiet, --silent do not print \`checking ...' messages 1342 1312 --cache-file=FILE cache test results in FILE [disabled] 1343 1313 -C, --config-cache alias for \`--cache-file=config.cache' … … 1413 1383 --with-vtk-libs=DIR VTK libraries are in DIR 1414 1384 --with-vtk=VERSION Version of VTK required 1415 --with-ffmpeg=DIR location of ffmpeg [default=yes]1416 1385 --with-python=DIR location of python [default=yes] 1417 1386 --with-statsdir=DIR Write statics in DIR … … 1424 1393 nonstandard directory <lib dir> 1425 1394 LIBS libraries to pass to the linker, e.g. -l<library> 1426 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1395 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1427 1396 you have headers in a nonstandard directory <include dir> 1428 1397 CPP C preprocessor … … 1499 1468 cat <<\_ACEOF 1500 1469 vizservers configure 0.1 1501 generated by GNU Autoconf 2.63 1502 1503 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1504 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1470 generated by GNU Autoconf 2.69 1471 1472 Copyright (C) 2012 Free Software Foundation, Inc. 1505 1473 This configure script is free software; the Free Software Foundation 1506 1474 gives unlimited permission to copy, distribute and modify it. … … 1508 1476 exit 1509 1477 fi 1478 1479 ## ------------------------ ## 1480 ## Autoconf initialization. ## 1481 ## ------------------------ ## 1482 1483 # ac_fn_c_try_compile LINENO 1484 # -------------------------- 1485 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1486 ac_fn_c_try_compile () 1487 { 1488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1489 rm -f conftest.$ac_objext 1490 if { { ac_try="$ac_compile" 1491 case "(($ac_try" in 1492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1493 *) ac_try_echo=$ac_try;; 1494 esac 1495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1496 $as_echo "$ac_try_echo"; } >&5 1497 (eval "$ac_compile") 2>conftest.err 1498 ac_status=$? 1499 if test -s conftest.err; then 1500 grep -v '^ *+' conftest.err >conftest.er1 1501 cat conftest.er1 >&5 1502 mv -f conftest.er1 conftest.err 1503 fi 1504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1505 test $ac_status = 0; } && { 1506 test -z "$ac_c_werror_flag" || 1507 test ! -s conftest.err 1508 } && test -s conftest.$ac_objext; then : 1509 ac_retval=0 1510 else 1511 $as_echo "$as_me: failed program was:" >&5 1512 sed 's/^/| /' conftest.$ac_ext >&5 1513 1514 ac_retval=1 1515 fi 1516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1517 as_fn_set_status $ac_retval 1518 1519 } # ac_fn_c_try_compile 1520 1521 # ac_fn_c_try_cpp LINENO 1522 # ---------------------- 1523 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1524 ac_fn_c_try_cpp () 1525 { 1526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1527 if { { ac_try="$ac_cpp conftest.$ac_ext" 1528 case "(($ac_try" in 1529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1530 *) ac_try_echo=$ac_try;; 1531 esac 1532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1533 $as_echo "$ac_try_echo"; } >&5 1534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1535 ac_status=$? 1536 if test -s conftest.err; then 1537 grep -v '^ *+' conftest.err >conftest.er1 1538 cat conftest.er1 >&5 1539 mv -f conftest.er1 conftest.err 1540 fi 1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1542 test $ac_status = 0; } > conftest.i && { 1543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1544 test ! -s conftest.err 1545 }; then : 1546 ac_retval=0 1547 else 1548 $as_echo "$as_me: failed program was:" >&5 1549 sed 's/^/| /' conftest.$ac_ext >&5 1550 1551 ac_retval=1 1552 fi 1553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1554 as_fn_set_status $ac_retval 1555 1556 } # ac_fn_c_try_cpp 1557 1558 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1559 # ------------------------------------------------------- 1560 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1561 # the include files in INCLUDES and setting the cache variable VAR 1562 # accordingly. 1563 ac_fn_c_check_header_mongrel () 1564 { 1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1566 if eval \${$3+:} false; then : 1567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1568 $as_echo_n "checking for $2... " >&6; } 1569 if eval \${$3+:} false; then : 1570 $as_echo_n "(cached) " >&6 1571 fi 1572 eval ac_res=\$$3 1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1574 $as_echo "$ac_res" >&6; } 1575 else 1576 # Is the header compilable? 1577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1578 $as_echo_n "checking $2 usability... " >&6; } 1579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1580 /* end confdefs.h. */ 1581 $4 1582 #include <$2> 1583 _ACEOF 1584 if ac_fn_c_try_compile "$LINENO"; then : 1585 ac_header_compiler=yes 1586 else 1587 ac_header_compiler=no 1588 fi 1589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1591 $as_echo "$ac_header_compiler" >&6; } 1592 1593 # Is the header present? 1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1595 $as_echo_n "checking $2 presence... " >&6; } 1596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1597 /* end confdefs.h. */ 1598 #include <$2> 1599 _ACEOF 1600 if ac_fn_c_try_cpp "$LINENO"; then : 1601 ac_header_preproc=yes 1602 else 1603 ac_header_preproc=no 1604 fi 1605 rm -f conftest.err conftest.i conftest.$ac_ext 1606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1607 $as_echo "$ac_header_preproc" >&6; } 1608 1609 # So? What about this header? 1610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1611 yes:no: ) 1612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1613 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1615 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1616 ;; 1617 no:yes:* ) 1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1619 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1621 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1623 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1625 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1627 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1628 ( $as_echo "## ----------------------------------- ## 1629 ## Report this to rappture@nanohub.org ## 1630 ## ----------------------------------- ##" 1631 ) | sed "s/^/$as_me: WARNING: /" >&2 1632 ;; 1633 esac 1634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1635 $as_echo_n "checking for $2... " >&6; } 1636 if eval \${$3+:} false; then : 1637 $as_echo_n "(cached) " >&6 1638 else 1639 eval "$3=\$ac_header_compiler" 1640 fi 1641 eval ac_res=\$$3 1642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1643 $as_echo "$ac_res" >&6; } 1644 fi 1645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1646 1647 } # ac_fn_c_check_header_mongrel 1648 1649 # ac_fn_c_try_run LINENO 1650 # ---------------------- 1651 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1652 # that executables *can* be run. 1653 ac_fn_c_try_run () 1654 { 1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1656 if { { ac_try="$ac_link" 1657 case "(($ac_try" in 1658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1659 *) ac_try_echo=$ac_try;; 1660 esac 1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1662 $as_echo "$ac_try_echo"; } >&5 1663 (eval "$ac_link") 2>&5 1664 ac_status=$? 1665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1666 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1667 { { case "(($ac_try" in 1668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1669 *) ac_try_echo=$ac_try;; 1670 esac 1671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1672 $as_echo "$ac_try_echo"; } >&5 1673 (eval "$ac_try") 2>&5 1674 ac_status=$? 1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1676 test $ac_status = 0; }; }; then : 1677 ac_retval=0 1678 else 1679 $as_echo "$as_me: program exited with status $ac_status" >&5 1680 $as_echo "$as_me: failed program was:" >&5 1681 sed 's/^/| /' conftest.$ac_ext >&5 1682 1683 ac_retval=$ac_status 1684 fi 1685 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1687 as_fn_set_status $ac_retval 1688 1689 } # ac_fn_c_try_run 1690 1691 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1692 # ------------------------------------------------------- 1693 # Tests whether HEADER exists and can be compiled using the include files in 1694 # INCLUDES, setting the cache variable VAR accordingly. 1695 ac_fn_c_check_header_compile () 1696 { 1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1699 $as_echo_n "checking for $2... " >&6; } 1700 if eval \${$3+:} false; then : 1701 $as_echo_n "(cached) " >&6 1702 else 1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1704 /* end confdefs.h. */ 1705 $4 1706 #include <$2> 1707 _ACEOF 1708 if ac_fn_c_try_compile "$LINENO"; then : 1709 eval "$3=yes" 1710 else 1711 eval "$3=no" 1712 fi 1713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1714 fi 1715 eval ac_res=\$$3 1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1717 $as_echo "$ac_res" >&6; } 1718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1719 1720 } # ac_fn_c_check_header_compile 1721 1722 # ac_fn_c_try_link LINENO 1723 # ----------------------- 1724 # Try to link conftest.$ac_ext, and return whether this succeeded. 1725 ac_fn_c_try_link () 1726 { 1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1728 rm -f conftest.$ac_objext conftest$ac_exeext 1729 if { { ac_try="$ac_link" 1730 case "(($ac_try" in 1731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1732 *) ac_try_echo=$ac_try;; 1733 esac 1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1735 $as_echo "$ac_try_echo"; } >&5 1736 (eval "$ac_link") 2>conftest.err 1737 ac_status=$? 1738 if test -s conftest.err; then 1739 grep -v '^ *+' conftest.err >conftest.er1 1740 cat conftest.er1 >&5 1741 mv -f conftest.er1 conftest.err 1742 fi 1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1744 test $ac_status = 0; } && { 1745 test -z "$ac_c_werror_flag" || 1746 test ! -s conftest.err 1747 } && test -s conftest$ac_exeext && { 1748 test "$cross_compiling" = yes || 1749 test -x conftest$ac_exeext 1750 }; then : 1751 ac_retval=0 1752 else 1753 $as_echo "$as_me: failed program was:" >&5 1754 sed 's/^/| /' conftest.$ac_ext >&5 1755 1756 ac_retval=1 1757 fi 1758 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1759 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1760 # interfere with the next link command; also delete a directory that is 1761 # left behind by Apple's compiler. We do this before executing the actions. 1762 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1764 as_fn_set_status $ac_retval 1765 1766 } # ac_fn_c_try_link 1767 1768 # ac_fn_cxx_try_compile LINENO 1769 # ---------------------------- 1770 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1771 ac_fn_cxx_try_compile () 1772 { 1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1774 rm -f conftest.$ac_objext 1775 if { { ac_try="$ac_compile" 1776 case "(($ac_try" in 1777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1778 *) ac_try_echo=$ac_try;; 1779 esac 1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1781 $as_echo "$ac_try_echo"; } >&5 1782 (eval "$ac_compile") 2>conftest.err 1783 ac_status=$? 1784 if test -s conftest.err; then 1785 grep -v '^ *+' conftest.err >conftest.er1 1786 cat conftest.er1 >&5 1787 mv -f conftest.er1 conftest.err 1788 fi 1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1790 test $ac_status = 0; } && { 1791 test -z "$ac_cxx_werror_flag" || 1792 test ! -s conftest.err 1793 } && test -s conftest.$ac_objext; then : 1794 ac_retval=0 1795 else 1796 $as_echo "$as_me: failed program was:" >&5 1797 sed 's/^/| /' conftest.$ac_ext >&5 1798 1799 ac_retval=1 1800 fi 1801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1802 as_fn_set_status $ac_retval 1803 1804 } # ac_fn_cxx_try_compile 1805 1806 # ac_fn_cxx_try_cpp LINENO 1807 # ------------------------ 1808 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1809 ac_fn_cxx_try_cpp () 1810 { 1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1812 if { { ac_try="$ac_cpp conftest.$ac_ext" 1813 case "(($ac_try" in 1814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1815 *) ac_try_echo=$ac_try;; 1816 esac 1817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1818 $as_echo "$ac_try_echo"; } >&5 1819 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1820 ac_status=$? 1821 if test -s conftest.err; then 1822 grep -v '^ *+' conftest.err >conftest.er1 1823 cat conftest.er1 >&5 1824 mv -f conftest.er1 conftest.err 1825 fi 1826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1827 test $ac_status = 0; } > conftest.i && { 1828 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1829 test ! -s conftest.err 1830 }; then : 1831 ac_retval=0 1832 else 1833 $as_echo "$as_me: failed program was:" >&5 1834 sed 's/^/| /' conftest.$ac_ext >&5 1835 1836 ac_retval=1 1837 fi 1838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1839 as_fn_set_status $ac_retval 1840 1841 } # ac_fn_cxx_try_cpp 1842 1843 # ac_fn_cxx_try_run LINENO 1844 # ------------------------ 1845 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1846 # that executables *can* be run. 1847 ac_fn_cxx_try_run () 1848 { 1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1850 if { { ac_try="$ac_link" 1851 case "(($ac_try" in 1852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1853 *) ac_try_echo=$ac_try;; 1854 esac 1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1856 $as_echo "$ac_try_echo"; } >&5 1857 (eval "$ac_link") 2>&5 1858 ac_status=$? 1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1860 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1861 { { case "(($ac_try" in 1862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1863 *) ac_try_echo=$ac_try;; 1864 esac 1865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1866 $as_echo "$ac_try_echo"; } >&5 1867 (eval "$ac_try") 2>&5 1868 ac_status=$? 1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1870 test $ac_status = 0; }; }; then : 1871 ac_retval=0 1872 else 1873 $as_echo "$as_me: program exited with status $ac_status" >&5 1874 $as_echo "$as_me: failed program was:" >&5 1875 sed 's/^/| /' conftest.$ac_ext >&5 1876 1877 ac_retval=$ac_status 1878 fi 1879 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1881 as_fn_set_status $ac_retval 1882 1883 } # ac_fn_cxx_try_run 1884 1885 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 1886 # ---------------------------------------------- 1887 # Tries to find the compile-time value of EXPR in a program that includes 1888 # INCLUDES, setting VAR accordingly. Returns whether the value could be 1889 # computed 1890 ac_fn_cxx_compute_int () 1891 { 1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1893 if test "$cross_compiling" = yes; then 1894 # Depending upon the size, compute the lo and hi bounds. 1895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1896 /* end confdefs.h. */ 1897 $4 1898 int 1899 main () 1900 { 1901 static int test_array [1 - 2 * !(($2) >= 0)]; 1902 test_array [0] = 0; 1903 return test_array [0]; 1904 1905 ; 1906 return 0; 1907 } 1908 _ACEOF 1909 if ac_fn_cxx_try_compile "$LINENO"; then : 1910 ac_lo=0 ac_mid=0 1911 while :; do 1912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1913 /* end confdefs.h. */ 1914 $4 1915 int 1916 main () 1917 { 1918 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1919 test_array [0] = 0; 1920 return test_array [0]; 1921 1922 ; 1923 return 0; 1924 } 1925 _ACEOF 1926 if ac_fn_cxx_try_compile "$LINENO"; then : 1927 ac_hi=$ac_mid; break 1928 else 1929 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1930 if test $ac_lo -le $ac_mid; then 1931 ac_lo= ac_hi= 1932 break 1933 fi 1934 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1935 fi 1936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1937 done 1938 else 1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1940 /* end confdefs.h. */ 1941 $4 1942 int 1943 main () 1944 { 1945 static int test_array [1 - 2 * !(($2) < 0)]; 1946 test_array [0] = 0; 1947 return test_array [0]; 1948 1949 ; 1950 return 0; 1951 } 1952 _ACEOF 1953 if ac_fn_cxx_try_compile "$LINENO"; then : 1954 ac_hi=-1 ac_mid=-1 1955 while :; do 1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1957 /* end confdefs.h. */ 1958 $4 1959 int 1960 main () 1961 { 1962 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1963 test_array [0] = 0; 1964 return test_array [0]; 1965 1966 ; 1967 return 0; 1968 } 1969 _ACEOF 1970 if ac_fn_cxx_try_compile "$LINENO"; then : 1971 ac_lo=$ac_mid; break 1972 else 1973 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1974 if test $ac_mid -le $ac_hi; then 1975 ac_lo= ac_hi= 1976 break 1977 fi 1978 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1979 fi 1980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1981 done 1982 else 1983 ac_lo= ac_hi= 1984 fi 1985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1986 fi 1987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1988 # Binary search between lo and hi bounds. 1989 while test "x$ac_lo" != "x$ac_hi"; do 1990 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1992 /* end confdefs.h. */ 1993 $4 1994 int 1995 main () 1996 { 1997 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1998 test_array [0] = 0; 1999 return test_array [0]; 2000 2001 ; 2002 return 0; 2003 } 2004 _ACEOF 2005 if ac_fn_cxx_try_compile "$LINENO"; then : 2006 ac_hi=$ac_mid 2007 else 2008 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2009 fi 2010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2011 done 2012 case $ac_lo in #(( 2013 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2014 '') ac_retval=1 ;; 2015 esac 2016 else 2017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2018 /* end confdefs.h. */ 2019 $4 2020 static long int longval () { return $2; } 2021 static unsigned long int ulongval () { return $2; } 2022 #include <stdio.h> 2023 #include <stdlib.h> 2024 int 2025 main () 2026 { 2027 2028 FILE *f = fopen ("conftest.val", "w"); 2029 if (! f) 2030 return 1; 2031 if (($2) < 0) 2032 { 2033 long int i = longval (); 2034 if (i != ($2)) 2035 return 1; 2036 fprintf (f, "%ld", i); 2037 } 2038 else 2039 { 2040 unsigned long int i = ulongval (); 2041 if (i != ($2)) 2042 return 1; 2043 fprintf (f, "%lu", i); 2044 } 2045 /* Do not output a trailing newline, as this causes \r\n confusion 2046 on some platforms. */ 2047 return ferror (f) || fclose (f) != 0; 2048 2049 ; 2050 return 0; 2051 } 2052 _ACEOF 2053 if ac_fn_cxx_try_run "$LINENO"; then : 2054 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2055 else 2056 ac_retval=1 2057 fi 2058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2059 conftest.$ac_objext conftest.beam conftest.$ac_ext 2060 rm -f conftest.val 2061 2062 fi 2063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2064 as_fn_set_status $ac_retval 2065 2066 } # ac_fn_cxx_compute_int 2067 2068 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 2069 # --------------------------------------------------------- 2070 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 2071 # the include files in INCLUDES and setting the cache variable VAR 2072 # accordingly. 2073 ac_fn_cxx_check_header_mongrel () 2074 { 2075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2076 if eval \${$3+:} false; then : 2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2078 $as_echo_n "checking for $2... " >&6; } 2079 if eval \${$3+:} false; then : 2080 $as_echo_n "(cached) " >&6 2081 fi 2082 eval ac_res=\$$3 2083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2084 $as_echo "$ac_res" >&6; } 2085 else 2086 # Is the header compilable? 2087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2088 $as_echo_n "checking $2 usability... " >&6; } 2089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2090 /* end confdefs.h. */ 2091 $4 2092 #include <$2> 2093 _ACEOF 2094 if ac_fn_cxx_try_compile "$LINENO"; then : 2095 ac_header_compiler=yes 2096 else 2097 ac_header_compiler=no 2098 fi 2099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2101 $as_echo "$ac_header_compiler" >&6; } 2102 2103 # Is the header present? 2104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2105 $as_echo_n "checking $2 presence... " >&6; } 2106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2107 /* end confdefs.h. */ 2108 #include <$2> 2109 _ACEOF 2110 if ac_fn_cxx_try_cpp "$LINENO"; then : 2111 ac_header_preproc=yes 2112 else 2113 ac_header_preproc=no 2114 fi 2115 rm -f conftest.err conftest.i conftest.$ac_ext 2116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2117 $as_echo "$ac_header_preproc" >&6; } 2118 2119 # So? What about this header? 2120 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2121 yes:no: ) 2122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2123 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2125 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2126 ;; 2127 no:yes:* ) 2128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2129 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2131 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2133 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2135 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2137 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2138 ( $as_echo "## ----------------------------------- ## 2139 ## Report this to rappture@nanohub.org ## 2140 ## ----------------------------------- ##" 2141 ) | sed "s/^/$as_me: WARNING: /" >&2 2142 ;; 2143 esac 2144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2145 $as_echo_n "checking for $2... " >&6; } 2146 if eval \${$3+:} false; then : 2147 $as_echo_n "(cached) " >&6 2148 else 2149 eval "$3=\$ac_header_compiler" 2150 fi 2151 eval ac_res=\$$3 2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2153 $as_echo "$ac_res" >&6; } 2154 fi 2155 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2156 2157 } # ac_fn_cxx_check_header_mongrel 2158 2159 # ac_fn_cxx_try_link LINENO 2160 # ------------------------- 2161 # Try to link conftest.$ac_ext, and return whether this succeeded. 2162 ac_fn_cxx_try_link () 2163 { 2164 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2165 rm -f conftest.$ac_objext conftest$ac_exeext 2166 if { { ac_try="$ac_link" 2167 case "(($ac_try" in 2168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2169 *) ac_try_echo=$ac_try;; 2170 esac 2171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2172 $as_echo "$ac_try_echo"; } >&5 2173 (eval "$ac_link") 2>conftest.err 2174 ac_status=$? 2175 if test -s conftest.err; then 2176 grep -v '^ *+' conftest.err >conftest.er1 2177 cat conftest.er1 >&5 2178 mv -f conftest.er1 conftest.err 2179 fi 2180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2181 test $ac_status = 0; } && { 2182 test -z "$ac_cxx_werror_flag" || 2183 test ! -s conftest.err 2184 } && test -s conftest$ac_exeext && { 2185 test "$cross_compiling" = yes || 2186 test -x conftest$ac_exeext 2187 }; then : 2188 ac_retval=0 2189 else 2190 $as_echo "$as_me: failed program was:" >&5 2191 sed 's/^/| /' conftest.$ac_ext >&5 2192 2193 ac_retval=1 2194 fi 2195 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2196 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2197 # interfere with the next link command; also delete a directory that is 2198 # left behind by Apple's compiler. We do this before executing the actions. 2199 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2200 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2201 as_fn_set_status $ac_retval 2202 2203 } # ac_fn_cxx_try_link 2204 2205 # ac_fn_cxx_check_func LINENO FUNC VAR 2206 # ------------------------------------ 2207 # Tests whether FUNC exists, setting the cache variable VAR accordingly 2208 ac_fn_cxx_check_func () 2209 { 2210 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2212 $as_echo_n "checking for $2... " >&6; } 2213 if eval \${$3+:} false; then : 2214 $as_echo_n "(cached) " >&6 2215 else 2216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2217 /* end confdefs.h. */ 2218 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2219 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2220 #define $2 innocuous_$2 2221 2222 /* System header to define __stub macros and hopefully few prototypes, 2223 which can conflict with char $2 (); below. 2224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2225 <limits.h> exists even on freestanding compilers. */ 2226 2227 #ifdef __STDC__ 2228 # include <limits.h> 2229 #else 2230 # include <assert.h> 2231 #endif 2232 2233 #undef $2 2234 2235 /* Override any GCC internal prototype to avoid an error. 2236 Use char because int might match the return type of a GCC 2237 builtin and then its argument prototype would still apply. */ 2238 #ifdef __cplusplus 2239 extern "C" 2240 #endif 2241 char $2 (); 2242 /* The GNU C library defines this for functions which it implements 2243 to always fail with ENOSYS. Some functions are actually named 2244 something starting with __ and the normal name is an alias. */ 2245 #if defined __stub_$2 || defined __stub___$2 2246 choke me 2247 #endif 2248 2249 int 2250 main () 2251 { 2252 return $2 (); 2253 ; 2254 return 0; 2255 } 2256 _ACEOF 2257 if ac_fn_cxx_try_link "$LINENO"; then : 2258 eval "$3=yes" 2259 else 2260 eval "$3=no" 2261 fi 2262 rm -f core conftest.err conftest.$ac_objext \ 2263 conftest$ac_exeext conftest.$ac_ext 2264 fi 2265 eval ac_res=\$$3 2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2267 $as_echo "$ac_res" >&6; } 2268 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2269 2270 } # ac_fn_cxx_check_func 1510 2271 cat >config.log <<_ACEOF 1511 2272 This file contains any messages produced by compilers while … … 1513 2274 1514 2275 It was created by vizservers $as_me 0.1, which was 1515 generated by GNU Autoconf 2.6 3. Invocation command line was2276 generated by GNU Autoconf 2.69. Invocation command line was 1516 2277 1517 2278 $ $0 $@ … … 1549 2310 IFS=$as_save_IFS 1550 2311 test -z "$as_dir" && as_dir=. 1551 $as_echo "PATH: $as_dir"1552 done2312 $as_echo "PATH: $as_dir" 2313 done 1553 2314 IFS=$as_save_IFS 1554 2315 … … 1587 2348 esac 1588 2349 case $ac_pass in 1589 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2350 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1590 2351 2) 1591 a c_configure_args1="$ac_configure_args1'$ac_arg'"2352 as_fn_append ac_configure_args1 " '$ac_arg'" 1592 2353 if test $ac_must_keep_next = true; then 1593 2354 ac_must_keep_next=false # Got value, back to normal. … … 1605 2366 esac 1606 2367 fi 1607 a c_configure_args="$ac_configure_args'$ac_arg'"2368 as_fn_append ac_configure_args " '$ac_arg'" 1608 2369 ;; 1609 2370 esac 1610 2371 done 1611 2372 done 1612 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1613 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2373 { ac_configure_args0=; unset ac_configure_args0;} 2374 { ac_configure_args1=; unset ac_configure_args1;} 1614 2375 1615 2376 # When interrupted or exit'd, cleanup temporary files, and complete … … 1623 2384 echo 1624 2385 1625 cat <<\_ASBOX 1626 ## ---------------- ## 2386 $as_echo "## ---------------- ## 1627 2387 ## Cache variables. ## 1628 ## ---------------- ## 1629 _ASBOX 2388 ## ---------------- ##" 1630 2389 echo 1631 2390 # The following way of writing the cache mishandles newlines in values, … … 1636 2395 *${as_nl}*) 1637 2396 case $ac_var in #( 1638 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&52397 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1639 2398 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1640 2399 esac … … 1642 2401 _ | IFS | as_nl) ;; #( 1643 2402 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1644 *) $as_unset $ac_var;;2403 *) { eval $ac_var=; unset $ac_var;} ;; 1645 2404 esac ;; 1646 2405 esac … … 1661 2420 echo 1662 2421 1663 cat <<\_ASBOX 1664 ## ----------------- ## 2422 $as_echo "## ----------------- ## 1665 2423 ## Output variables. ## 1666 ## ----------------- ## 1667 _ASBOX 2424 ## ----------------- ##" 1668 2425 echo 1669 2426 for ac_var in $ac_subst_vars … … 1678 2435 1679 2436 if test -n "$ac_subst_files"; then 1680 cat <<\_ASBOX 1681 ## ------------------- ## 2437 $as_echo "## ------------------- ## 1682 2438 ## File substitutions. ## 1683 ## ------------------- ## 1684 _ASBOX 2439 ## ------------------- ##" 1685 2440 echo 1686 2441 for ac_var in $ac_subst_files … … 1696 2451 1697 2452 if test -s confdefs.h; then 1698 cat <<\_ASBOX 1699 ## ----------- ## 2453 $as_echo "## ----------- ## 1700 2454 ## confdefs.h. ## 1701 ## ----------- ## 1702 _ASBOX 2455 ## ----------- ##" 1703 2456 echo 1704 2457 cat confdefs.h … … 1714 2467 ' 0 1715 2468 for ac_signal in 1 2 13 15; do 1716 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2469 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1717 2470 done 1718 2471 ac_signal=0 … … 1721 2474 rm -f -r conftest* confdefs.h 1722 2475 2476 $as_echo "/* confdefs.h */" > confdefs.h 2477 1723 2478 # Predefined preprocessor variables. 1724 2479 … … 1727 2482 _ACEOF 1728 2483 1729 1730 2484 cat >>confdefs.h <<_ACEOF 1731 2485 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1732 2486 _ACEOF 1733 2487 1734 1735 2488 cat >>confdefs.h <<_ACEOF 1736 2489 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1737 2490 _ACEOF 1738 2491 1739 1740 2492 cat >>confdefs.h <<_ACEOF 1741 2493 #define PACKAGE_STRING "$PACKAGE_STRING" 1742 2494 _ACEOF 1743 2495 1744 1745 2496 cat >>confdefs.h <<_ACEOF 1746 2497 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2498 _ACEOF 2499 2500 cat >>confdefs.h <<_ACEOF 2501 #define PACKAGE_URL "$PACKAGE_URL" 1747 2502 _ACEOF 1748 2503 … … 1753 2508 ac_site_file2=NONE 1754 2509 if test -n "$CONFIG_SITE"; then 1755 ac_site_file1=$CONFIG_SITE 2510 # We do not want a PATH search for config.site. 2511 case $CONFIG_SITE in #(( 2512 -*) ac_site_file1=./$CONFIG_SITE;; 2513 */*) ac_site_file1=$CONFIG_SITE;; 2514 *) ac_site_file1=./$CONFIG_SITE;; 2515 esac 1756 2516 elif test "x$prefix" != xNONE; then 1757 2517 ac_site_file1=$prefix/share/config.site … … 1764 2524 do 1765 2525 test "x$ac_site_file" = xNONE && continue 1766 if test -r "$ac_site_file"; then1767 { $as_echo "$as_me:$ LINENO: loading site script $ac_site_file" >&52526 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2527 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1768 2528 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1769 2529 sed 's/^/| /' "$ac_site_file" >&5 1770 . "$ac_site_file" 2530 . "$ac_site_file" \ 2531 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2533 as_fn_error $? "failed to load site script $ac_site_file 2534 See \`config.log' for more details" "$LINENO" 5; } 1771 2535 fi 1772 2536 done 1773 2537 1774 2538 if test -r "$cache_file"; then 1775 # Some versions of bash will fail to source /dev/null (special 1776 # files actually), so we avoid doing that.1777 if test -f "$cache_file"; then1778 { $as_echo "$as_me:$ LINENO: loading cache $cache_file" >&52539 # Some versions of bash will fail to source /dev/null (special files 2540 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2541 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2542 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1779 2543 $as_echo "$as_me: loading cache $cache_file" >&6;} 1780 2544 case $cache_file in … … 1784 2548 fi 1785 2549 else 1786 { $as_echo "$as_me:$ LINENO: creating cache $cache_file" >&52550 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1787 2551 $as_echo "$as_me: creating cache $cache_file" >&6;} 1788 2552 >$cache_file … … 1799 2563 case $ac_old_set,$ac_new_set in 1800 2564 set,) 1801 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52565 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1802 2566 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1803 2567 ac_cache_corrupted=: ;; 1804 2568 ,set) 1805 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was not set in the previous run" >&52569 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1806 2570 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1807 2571 ac_cache_corrupted=: ;; … … 1813 2577 ac_new_val_w=`echo x $ac_new_val` 1814 2578 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1815 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' has changed since the previous run:" >&52579 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1816 2580 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1817 2581 ac_cache_corrupted=: 1818 2582 else 1819 { $as_echo "$as_me:$ LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52583 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1820 2584 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1821 2585 eval $ac_var=\$ac_old_val 1822 2586 fi 1823 { $as_echo "$as_me:$ LINENO: former value: \`$ac_old_val'" >&52587 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1824 2588 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1825 { $as_echo "$as_me:$ LINENO: current value: \`$ac_new_val'" >&52589 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1826 2590 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1827 2591 fi;; … … 1835 2599 case " $ac_configure_args " in 1836 2600 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1837 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2601 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1838 2602 esac 1839 2603 fi 1840 2604 done 1841 2605 if $ac_cache_corrupted; then 1842 { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52606 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1843 2607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1844 { $as_echo "$as_me:$ LINENO: error: changes in the environment can compromise the build" >&52608 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1845 2609 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1846 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1847 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1848 { (exit 1); exit 1; }; } 1849 fi 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 2610 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2611 fi 2612 ## -------------------- ## 2613 ## Main body of script. ## 2614 ## -------------------- ## 1874 2615 1875 2616 ac_ext=c … … 1897 2638 done 1898 2639 if test -z "$ac_aux_dir"; then 1899 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1900 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1901 { (exit 1); exit 1; }; } 2640 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1902 2641 fi 1903 2642 … … 1916 2655 1917 2656 # Check whether --with-tcllib was given. 1918 if test "${with_tcllib+set}" = set; then 2657 if test "${with_tcllib+set}" = set; then : 1919 2658 withval=$with_tcllib; with_tcllib=$withval 1920 2659 else … … 1925 2664 1926 2665 # Check whether --with-rappture was given. 1927 if test "${with_rappture+set}" = set; then 2666 if test "${with_rappture+set}" = set; then : 1928 2667 withval=$with_rappture; with_rappture=$withval 1929 2668 else … … 1934 2673 1935 2674 # Check whether --with-vtk-includes was given. 1936 if test "${with_vtk_includes+set}" = set; then 2675 if test "${with_vtk_includes+set}" = set; then : 1937 2676 withval=$with_vtk_includes; with_vtk_includes=$withval 1938 2677 else … … 1943 2682 1944 2683 # Check whether --with-vtk-libs was given. 1945 if test "${with_vtk_libs+set}" = set; then 2684 if test "${with_vtk_libs+set}" = set; then : 1946 2685 withval=$with_vtk_libs; with_vtk_libs=$withval 1947 2686 else … … 1952 2691 1953 2692 # Check whether --with-vtk was given. 1954 if test "${with_vtk+set}" = set; then 2693 if test "${with_vtk+set}" = set; then : 1955 2694 withval=$with_vtk; with_vtk=$withval 1956 2695 else 1957 2696 with_vtk=yes 1958 fi1959 1960 1961 1962 # Check whether --with-ffmpeg was given.1963 if test "${with_ffmpeg+set}" = set; then1964 withval=$with_ffmpeg;1965 else1966 with_ffmpeg=yes1967 2697 fi 1968 2698 … … 1976 2706 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1977 2707 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1978 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1979 2709 $as_echo_n "checking for $ac_word... " >&6; } 1980 if test "${ac_cv_prog_CC+set}" = set; then2710 if ${ac_cv_prog_CC+:} false; then : 1981 2711 $as_echo_n "(cached) " >&6 1982 2712 else … … 1989 2719 IFS=$as_save_IFS 1990 2720 test -z "$as_dir" && as_dir=. 1991 for ac_exec_ext in '' $ac_executable_extensions; do1992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2721 for ac_exec_ext in '' $ac_executable_extensions; do 2722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1993 2723 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1994 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1995 2725 break 2 1996 2726 fi 1997 2727 done 1998 done2728 done 1999 2729 IFS=$as_save_IFS 2000 2730 … … 2003 2733 CC=$ac_cv_prog_CC 2004 2734 if test -n "$CC"; then 2005 { $as_echo "$as_me:$ LINENO: result: $CC" >&52735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2006 2736 $as_echo "$CC" >&6; } 2007 2737 else 2008 { $as_echo "$as_me:$ LINENO: result: no" >&52738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2009 2739 $as_echo "no" >&6; } 2010 2740 fi … … 2016 2746 # Extract the first word of "gcc", so it can be a program name with args. 2017 2747 set dummy gcc; ac_word=$2 2018 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2019 2749 $as_echo_n "checking for $ac_word... " >&6; } 2020 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2750 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2021 2751 $as_echo_n "(cached) " >&6 2022 2752 else … … 2029 2759 IFS=$as_save_IFS 2030 2760 test -z "$as_dir" && as_dir=. 2031 for ac_exec_ext in '' $ac_executable_extensions; do2032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2761 for ac_exec_ext in '' $ac_executable_extensions; do 2762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2033 2763 ac_cv_prog_ac_ct_CC="gcc" 2034 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2035 2765 break 2 2036 2766 fi 2037 2767 done 2038 done2768 done 2039 2769 IFS=$as_save_IFS 2040 2770 … … 2043 2773 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2044 2774 if test -n "$ac_ct_CC"; then 2045 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2046 2776 $as_echo "$ac_ct_CC" >&6; } 2047 2777 else 2048 { $as_echo "$as_me:$ LINENO: result: no" >&52778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2049 2779 $as_echo "no" >&6; } 2050 2780 fi … … 2055 2785 case $cross_compiling:$ac_tool_warned in 2056 2786 yes:) 2057 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2058 2788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2059 2789 ac_tool_warned=yes ;; … … 2069 2799 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2070 2800 set dummy ${ac_tool_prefix}cc; ac_word=$2 2071 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2072 2802 $as_echo_n "checking for $ac_word... " >&6; } 2073 if test "${ac_cv_prog_CC+set}" = set; then2803 if ${ac_cv_prog_CC+:} false; then : 2074 2804 $as_echo_n "(cached) " >&6 2075 2805 else … … 2082 2812 IFS=$as_save_IFS 2083 2813 test -z "$as_dir" && as_dir=. 2084 for ac_exec_ext in '' $ac_executable_extensions; do2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2814 for ac_exec_ext in '' $ac_executable_extensions; do 2815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2086 2816 ac_cv_prog_CC="${ac_tool_prefix}cc" 2087 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2088 2818 break 2 2089 2819 fi 2090 2820 done 2091 done2821 done 2092 2822 IFS=$as_save_IFS 2093 2823 … … 2096 2826 CC=$ac_cv_prog_CC 2097 2827 if test -n "$CC"; then 2098 { $as_echo "$as_me:$ LINENO: result: $CC" >&52828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2099 2829 $as_echo "$CC" >&6; } 2100 2830 else 2101 { $as_echo "$as_me:$ LINENO: result: no" >&52831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2102 2832 $as_echo "no" >&6; } 2103 2833 fi … … 2109 2839 # Extract the first word of "cc", so it can be a program name with args. 2110 2840 set dummy cc; ac_word=$2 2111 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2112 2842 $as_echo_n "checking for $ac_word... " >&6; } 2113 if test "${ac_cv_prog_CC+set}" = set; then2843 if ${ac_cv_prog_CC+:} false; then : 2114 2844 $as_echo_n "(cached) " >&6 2115 2845 else … … 2123 2853 IFS=$as_save_IFS 2124 2854 test -z "$as_dir" && as_dir=. 2125 for ac_exec_ext in '' $ac_executable_extensions; do2126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2855 for ac_exec_ext in '' $ac_executable_extensions; do 2856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2127 2857 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2128 2858 ac_prog_rejected=yes … … 2130 2860 fi 2131 2861 ac_cv_prog_CC="cc" 2132 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2133 2863 break 2 2134 2864 fi 2135 2865 done 2136 done2866 done 2137 2867 IFS=$as_save_IFS 2138 2868 … … 2153 2883 CC=$ac_cv_prog_CC 2154 2884 if test -n "$CC"; then 2155 { $as_echo "$as_me:$ LINENO: result: $CC" >&52885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2156 2886 $as_echo "$CC" >&6; } 2157 2887 else 2158 { $as_echo "$as_me:$ LINENO: result: no" >&52888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2159 2889 $as_echo "no" >&6; } 2160 2890 fi … … 2168 2898 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2169 2899 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2170 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2171 2901 $as_echo_n "checking for $ac_word... " >&6; } 2172 if test "${ac_cv_prog_CC+set}" = set; then2902 if ${ac_cv_prog_CC+:} false; then : 2173 2903 $as_echo_n "(cached) " >&6 2174 2904 else … … 2181 2911 IFS=$as_save_IFS 2182 2912 test -z "$as_dir" && as_dir=. 2183 for ac_exec_ext in '' $ac_executable_extensions; do2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2913 for ac_exec_ext in '' $ac_executable_extensions; do 2914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2185 2915 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2186 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2187 2917 break 2 2188 2918 fi 2189 2919 done 2190 done2920 done 2191 2921 IFS=$as_save_IFS 2192 2922 … … 2195 2925 CC=$ac_cv_prog_CC 2196 2926 if test -n "$CC"; then 2197 { $as_echo "$as_me:$ LINENO: result: $CC" >&52927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2198 2928 $as_echo "$CC" >&6; } 2199 2929 else 2200 { $as_echo "$as_me:$ LINENO: result: no" >&52930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2201 2931 $as_echo "no" >&6; } 2202 2932 fi … … 2212 2942 # Extract the first word of "$ac_prog", so it can be a program name with args. 2213 2943 set dummy $ac_prog; ac_word=$2 2214 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2215 2945 $as_echo_n "checking for $ac_word... " >&6; } 2216 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2946 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2217 2947 $as_echo_n "(cached) " >&6 2218 2948 else … … 2225 2955 IFS=$as_save_IFS 2226 2956 test -z "$as_dir" && as_dir=. 2227 for ac_exec_ext in '' $ac_executable_extensions; do2228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2957 for ac_exec_ext in '' $ac_executable_extensions; do 2958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2229 2959 ac_cv_prog_ac_ct_CC="$ac_prog" 2230 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2231 2961 break 2 2232 2962 fi 2233 2963 done 2234 done2964 done 2235 2965 IFS=$as_save_IFS 2236 2966 … … 2239 2969 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2240 2970 if test -n "$ac_ct_CC"; then 2241 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2242 2972 $as_echo "$ac_ct_CC" >&6; } 2243 2973 else 2244 { $as_echo "$as_me:$ LINENO: result: no" >&52974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2245 2975 $as_echo "no" >&6; } 2246 2976 fi … … 2255 2985 case $cross_compiling:$ac_tool_warned in 2256 2986 yes:) 2257 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2258 2988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2259 2989 ac_tool_warned=yes ;; … … 2266 2996 2267 2997 2268 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52998 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2269 2999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2270 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2271 See \`config.log' for more details." >&5 2272 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2273 See \`config.log' for more details." >&2;} 2274 { (exit 1); exit 1; }; }; } 3000 as_fn_error $? "no acceptable C compiler found in \$PATH 3001 See \`config.log' for more details" "$LINENO" 5; } 2275 3002 2276 3003 # Provide some information about the compiler. 2277 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&53004 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2278 3005 set X $ac_compile 2279 3006 ac_compiler=$2 2280 { (ac_try="$ac_compiler --version >&5" 3007 for ac_option in --version -v -V -qversion; do 3008 { { ac_try="$ac_compiler $ac_option >&5" 2281 3009 case "(($ac_try" in 2282 3010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2283 3011 *) ac_try_echo=$ac_try;; 2284 3012 esac 2285 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2286 $as_echo "$ac_try_echo" )>&52287 (eval "$ac_compiler --version >&5") 2>&53013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3014 $as_echo "$ac_try_echo"; } >&5 3015 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2288 3016 ac_status=$? 2289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2290 (exit $ac_status); } 2291 { (ac_try="$ac_compiler -v >&5" 2292 case "(($ac_try" in 2293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2294 *) ac_try_echo=$ac_try;; 2295 esac 2296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2297 $as_echo "$ac_try_echo") >&5 2298 (eval "$ac_compiler -v >&5") 2>&5 2299 ac_status=$? 2300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2301 (exit $ac_status); } 2302 { (ac_try="$ac_compiler -V >&5" 2303 case "(($ac_try" in 2304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2305 *) ac_try_echo=$ac_try;; 2306 esac 2307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2308 $as_echo "$ac_try_echo") >&5 2309 (eval "$ac_compiler -V >&5") 2>&5 2310 ac_status=$? 2311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2312 (exit $ac_status); } 2313 2314 cat >conftest.$ac_ext <<_ACEOF 2315 /* confdefs.h. */ 2316 _ACEOF 2317 cat confdefs.h >>conftest.$ac_ext 2318 cat >>conftest.$ac_ext <<_ACEOF 3017 if test -s conftest.err; then 3018 sed '10a\ 3019 ... rest of stderr output deleted ... 3020 10q' conftest.err >conftest.er1 3021 cat conftest.er1 >&5 3022 fi 3023 rm -f conftest.er1 conftest.err 3024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3025 test $ac_status = 0; } 3026 done 3027 3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2319 3029 /* end confdefs.h. */ 2320 3030 … … 2332 3042 # It will help us diagnose broken compilers, and finding out an intuition 2333 3043 # of exeext. 2334 { $as_echo "$as_me:$ LINENO: checking for C compiler default output file name" >&52335 $as_echo_n "checking for C compiler default output file name... " >&6; }3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3045 $as_echo_n "checking whether the C compiler works... " >&6; } 2336 3046 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2337 3047 … … 2349 3059 rm -f $ac_rmfiles 2350 3060 2351 if { (ac_try="$ac_link_default"3061 if { { ac_try="$ac_link_default" 2352 3062 case "(($ac_try" in 2353 3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2354 3064 *) ac_try_echo=$ac_try;; 2355 3065 esac 2356 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2357 $as_echo "$ac_try_echo" )>&53066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3067 $as_echo "$ac_try_echo"; } >&5 2358 3068 (eval "$ac_link_default") 2>&5 2359 3069 ac_status=$? 2360 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52361 (exit $ac_status); }; then3070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3071 test $ac_status = 0; }; then : 2362 3072 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2363 3073 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2376 3086 break;; 2377 3087 *.* ) 2378 3088 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2379 3089 then :; else 2380 3090 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2395 3105 ac_file='' 2396 3106 fi 2397 2398 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3107 if test -z "$ac_file"; then : 3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3109 $as_echo "no" >&6; } 3110 $as_echo "$as_me: failed program was:" >&5 3111 sed 's/^/| /' conftest.$ac_ext >&5 3112 3113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3115 as_fn_error 77 "C compiler cannot create executables 3116 See \`config.log' for more details" "$LINENO" 5; } 3117 else 3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3119 $as_echo "yes" >&6; } 3120 fi 3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3122 $as_echo_n "checking for C compiler default output file name... " >&6; } 3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2399 3124 $as_echo "$ac_file" >&6; } 2400 if test -z "$ac_file"; then2401 $as_echo "$as_me: failed program was:" >&52402 sed 's/^/| /' conftest.$ac_ext >&52403 2404 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2406 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables2407 See \`config.log' for more details." >&52408 $as_echo "$as_me: error: C compiler cannot create executables2409 See \`config.log' for more details." >&2;}2410 { (exit 77); exit 77; }; }; }2411 fi2412 2413 3125 ac_exeext=$ac_cv_exeext 2414 2415 # Check that the compiler produces executables we can run. If not, either2416 # the compiler is broken, or we cross compile.2417 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&52418 $as_echo_n "checking whether the C compiler works... " >&6; }2419 # FIXME: These cross compiler hacks should be removed for Autoconf 3.02420 # If not cross compiling, check that we can run a simple program.2421 if test "$cross_compiling" != yes; then2422 if { ac_try='./$ac_file'2423 { (case "(($ac_try" in2424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2425 *) ac_try_echo=$ac_try;;2426 esac2427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""2428 $as_echo "$ac_try_echo") >&52429 (eval "$ac_try") 2>&52430 ac_status=$?2431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52432 (exit $ac_status); }; }; then2433 cross_compiling=no2434 else2435 if test "$cross_compiling" = maybe; then2436 cross_compiling=yes2437 else2438 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2440 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.2441 If you meant to cross compile, use \`--host'.2442 See \`config.log' for more details." >&52443 $as_echo "$as_me: error: cannot run C compiled programs.2444 If you meant to cross compile, use \`--host'.2445 See \`config.log' for more details." >&2;}2446 { (exit 1); exit 1; }; }; }2447 fi2448 fi2449 fi2450 { $as_echo "$as_me:$LINENO: result: yes" >&52451 $as_echo "yes" >&6; }2452 3126 2453 3127 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2454 3128 ac_clean_files=$ac_clean_files_save 2455 # Check that the compiler produces executables we can run. If not, either 2456 # the compiler is broken, or we cross compile. 2457 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2458 $as_echo_n "checking whether we are cross compiling... " >&6; } 2459 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2460 $as_echo "$cross_compiling" >&6; } 2461 2462 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2463 3130 $as_echo_n "checking for suffix of executables... " >&6; } 2464 if { (ac_try="$ac_link"3131 if { { ac_try="$ac_link" 2465 3132 case "(($ac_try" in 2466 3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2467 3134 *) ac_try_echo=$ac_try;; 2468 3135 esac 2469 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2470 $as_echo "$ac_try_echo" )>&53136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3137 $as_echo "$ac_try_echo"; } >&5 2471 3138 (eval "$ac_link") 2>&5 2472 3139 ac_status=$? 2473 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52474 (exit $ac_status); }; then3140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3141 test $ac_status = 0; }; then : 2475 3142 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2476 3143 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2487 3154 done 2488 3155 else 2489 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2490 3157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2491 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2492 See \`config.log' for more details." >&5 2493 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2494 See \`config.log' for more details." >&2;} 2495 { (exit 1); exit 1; }; }; } 2496 fi 2497 2498 rm -f conftest$ac_cv_exeext 2499 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3158 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3159 See \`config.log' for more details" "$LINENO" 5; } 3160 fi 3161 rm -f conftest conftest$ac_cv_exeext 3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2500 3163 $as_echo "$ac_cv_exeext" >&6; } 2501 3164 … … 2503 3166 EXEEXT=$ac_cv_exeext 2504 3167 ac_exeext=$EXEEXT 2505 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2506 $as_echo_n "checking for suffix of object files... " >&6; } 2507 if test "${ac_cv_objext+set}" = set; then 2508 $as_echo_n "(cached) " >&6 2509 else 2510 cat >conftest.$ac_ext <<_ACEOF 2511 /* confdefs.h. */ 2512 _ACEOF 2513 cat confdefs.h >>conftest.$ac_ext 2514 cat >>conftest.$ac_ext <<_ACEOF 3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2515 3169 /* end confdefs.h. */ 2516 3170 #include <stdio.h> 2517 3171 int 2518 3172 main () 2519 3173 { 3174 FILE *f = fopen ("conftest.out", "w"); 3175 return ferror (f) || fclose (f) != 0; 2520 3176 2521 3177 ; … … 2523 3179 } 2524 3180 _ACEOF 2525 rm -f conftest.o conftest.obj 2526 if { (ac_try="$ac_compile" 3181 ac_clean_files="$ac_clean_files conftest.out" 3182 # Check that the compiler produces executables we can run. If not, either 3183 # the compiler is broken, or we cross compile. 3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3185 $as_echo_n "checking whether we are cross compiling... " >&6; } 3186 if test "$cross_compiling" != yes; then 3187 { { ac_try="$ac_link" 2527 3188 case "(($ac_try" in 2528 3189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2529 3190 *) ac_try_echo=$ac_try;; 2530 3191 esac 2531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2532 $as_echo "$ac_try_echo") >&5 3192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3193 $as_echo "$ac_try_echo"; } >&5 3194 (eval "$ac_link") 2>&5 3195 ac_status=$? 3196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3197 test $ac_status = 0; } 3198 if { ac_try='./conftest$ac_cv_exeext' 3199 { { case "(($ac_try" in 3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3201 *) ac_try_echo=$ac_try;; 3202 esac 3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3204 $as_echo "$ac_try_echo"; } >&5 3205 (eval "$ac_try") 2>&5 3206 ac_status=$? 3207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3208 test $ac_status = 0; }; }; then 3209 cross_compiling=no 3210 else 3211 if test "$cross_compiling" = maybe; then 3212 cross_compiling=yes 3213 else 3214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3216 as_fn_error $? "cannot run C compiled programs. 3217 If you meant to cross compile, use \`--host'. 3218 See \`config.log' for more details" "$LINENO" 5; } 3219 fi 3220 fi 3221 fi 3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3223 $as_echo "$cross_compiling" >&6; } 3224 3225 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3226 ac_clean_files=$ac_clean_files_save 3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3228 $as_echo_n "checking for suffix of object files... " >&6; } 3229 if ${ac_cv_objext+:} false; then : 3230 $as_echo_n "(cached) " >&6 3231 else 3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3233 /* end confdefs.h. */ 3234 3235 int 3236 main () 3237 { 3238 3239 ; 3240 return 0; 3241 } 3242 _ACEOF 3243 rm -f conftest.o conftest.obj 3244 if { { ac_try="$ac_compile" 3245 case "(($ac_try" in 3246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3247 *) ac_try_echo=$ac_try;; 3248 esac 3249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3250 $as_echo "$ac_try_echo"; } >&5 2533 3251 (eval "$ac_compile") 2>&5 2534 3252 ac_status=$? 2535 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52536 (exit $ac_status); }; then3253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3254 test $ac_status = 0; }; then : 2537 3255 for ac_file in conftest.o conftest.obj conftest.*; do 2538 3256 test -f "$ac_file" || continue; … … 2547 3265 sed 's/^/| /' conftest.$ac_ext >&5 2548 3266 2549 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53267 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2550 3268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2551 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2552 See \`config.log' for more details." >&5 2553 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2554 See \`config.log' for more details." >&2;} 2555 { (exit 1); exit 1; }; }; } 2556 fi 2557 3269 as_fn_error $? "cannot compute suffix of object files: cannot compile 3270 See \`config.log' for more details" "$LINENO" 5; } 3271 fi 2558 3272 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2559 3273 fi 2560 { $as_echo "$as_me:$ LINENO: result: $ac_cv_objext" >&53274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2561 3275 $as_echo "$ac_cv_objext" >&6; } 2562 3276 OBJEXT=$ac_cv_objext 2563 3277 ac_objext=$OBJEXT 2564 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU C compiler" >&53278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2565 3279 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2566 if test "${ac_cv_c_compiler_gnu+set}" = set; then3280 if ${ac_cv_c_compiler_gnu+:} false; then : 2567 3281 $as_echo_n "(cached) " >&6 2568 3282 else 2569 cat >conftest.$ac_ext <<_ACEOF 2570 /* confdefs.h. */ 2571 _ACEOF 2572 cat confdefs.h >>conftest.$ac_ext 2573 cat >>conftest.$ac_ext <<_ACEOF 3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2574 3284 /* end confdefs.h. */ 2575 3285 … … 2585 3295 } 2586 3296 _ACEOF 2587 rm -f conftest.$ac_objext 2588 if { (ac_try="$ac_compile" 2589 case "(($ac_try" in 2590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2591 *) ac_try_echo=$ac_try;; 2592 esac 2593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2594 $as_echo "$ac_try_echo") >&5 2595 (eval "$ac_compile") 2>conftest.er1 2596 ac_status=$? 2597 grep -v '^ *+' conftest.er1 >conftest.err 2598 rm -f conftest.er1 2599 cat conftest.err >&5 2600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2601 (exit $ac_status); } && { 2602 test -z "$ac_c_werror_flag" || 2603 test ! -s conftest.err 2604 } && test -s conftest.$ac_objext; then 3297 if ac_fn_c_try_compile "$LINENO"; then : 2605 3298 ac_compiler_gnu=yes 2606 3299 else 2607 $as_echo "$as_me: failed program was:" >&5 2608 sed 's/^/| /' conftest.$ac_ext >&5 2609 2610 ac_compiler_gnu=no 2611 fi 2612 3300 ac_compiler_gnu=no 3301 fi 2613 3302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2614 3303 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2615 3304 2616 3305 fi 2617 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&53306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2618 3307 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2619 3308 if test $ac_compiler_gnu = yes; then … … 2624 3313 ac_test_CFLAGS=${CFLAGS+set} 2625 3314 ac_save_CFLAGS=$CFLAGS 2626 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&53315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2627 3316 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2628 if test "${ac_cv_prog_cc_g+set}" = set; then3317 if ${ac_cv_prog_cc_g+:} false; then : 2629 3318 $as_echo_n "(cached) " >&6 2630 3319 else … … 2633 3322 ac_cv_prog_cc_g=no 2634 3323 CFLAGS="-g" 2635 cat >conftest.$ac_ext <<_ACEOF 2636 /* confdefs.h. */ 2637 _ACEOF 2638 cat confdefs.h >>conftest.$ac_ext 2639 cat >>conftest.$ac_ext <<_ACEOF 3324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2640 3325 /* end confdefs.h. */ 2641 3326 … … 2648 3333 } 2649 3334 _ACEOF 2650 rm -f conftest.$ac_objext 2651 if { (ac_try="$ac_compile" 2652 case "(($ac_try" in 2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2654 *) ac_try_echo=$ac_try;; 2655 esac 2656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2657 $as_echo "$ac_try_echo") >&5 2658 (eval "$ac_compile") 2>conftest.er1 2659 ac_status=$? 2660 grep -v '^ *+' conftest.er1 >conftest.err 2661 rm -f conftest.er1 2662 cat conftest.err >&5 2663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2664 (exit $ac_status); } && { 2665 test -z "$ac_c_werror_flag" || 2666 test ! -s conftest.err 2667 } && test -s conftest.$ac_objext; then 3335 if ac_fn_c_try_compile "$LINENO"; then : 2668 3336 ac_cv_prog_cc_g=yes 2669 3337 else 2670 $as_echo "$as_me: failed program was:" >&5 2671 sed 's/^/| /' conftest.$ac_ext >&5 2672 2673 CFLAGS="" 2674 cat >conftest.$ac_ext <<_ACEOF 2675 /* confdefs.h. */ 2676 _ACEOF 2677 cat confdefs.h >>conftest.$ac_ext 2678 cat >>conftest.$ac_ext <<_ACEOF 3338 CFLAGS="" 3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2679 3340 /* end confdefs.h. */ 2680 3341 … … 2687 3348 } 2688 3349 _ACEOF 2689 rm -f conftest.$ac_objext 2690 if { (ac_try="$ac_compile" 2691 case "(($ac_try" in 2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2693 *) ac_try_echo=$ac_try;; 2694 esac 2695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2696 $as_echo "$ac_try_echo") >&5 2697 (eval "$ac_compile") 2>conftest.er1 2698 ac_status=$? 2699 grep -v '^ *+' conftest.er1 >conftest.err 2700 rm -f conftest.er1 2701 cat conftest.err >&5 2702 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2703 (exit $ac_status); } && { 2704 test -z "$ac_c_werror_flag" || 2705 test ! -s conftest.err 2706 } && test -s conftest.$ac_objext; then 2707 : 2708 else 2709 $as_echo "$as_me: failed program was:" >&5 2710 sed 's/^/| /' conftest.$ac_ext >&5 2711 2712 ac_c_werror_flag=$ac_save_c_werror_flag 3350 if ac_fn_c_try_compile "$LINENO"; then : 3351 3352 else 3353 ac_c_werror_flag=$ac_save_c_werror_flag 2713 3354 CFLAGS="-g" 2714 cat >conftest.$ac_ext <<_ACEOF 2715 /* confdefs.h. */ 2716 _ACEOF 2717 cat confdefs.h >>conftest.$ac_ext 2718 cat >>conftest.$ac_ext <<_ACEOF 3355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2719 3356 /* end confdefs.h. */ 2720 3357 … … 2727 3364 } 2728 3365 _ACEOF 2729 rm -f conftest.$ac_objext 2730 if { (ac_try="$ac_compile" 2731 case "(($ac_try" in 2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2733 *) ac_try_echo=$ac_try;; 2734 esac 2735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2736 $as_echo "$ac_try_echo") >&5 2737 (eval "$ac_compile") 2>conftest.er1 2738 ac_status=$? 2739 grep -v '^ *+' conftest.er1 >conftest.err 2740 rm -f conftest.er1 2741 cat conftest.err >&5 2742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2743 (exit $ac_status); } && { 2744 test -z "$ac_c_werror_flag" || 2745 test ! -s conftest.err 2746 } && test -s conftest.$ac_objext; then 3366 if ac_fn_c_try_compile "$LINENO"; then : 2747 3367 ac_cv_prog_cc_g=yes 2748 else 2749 $as_echo "$as_me: failed program was:" >&5 2750 sed 's/^/| /' conftest.$ac_ext >&5 2751 2752 2753 fi 2754 3368 fi 2755 3369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2756 3370 fi 2757 2758 3371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2759 3372 fi 2760 2761 3373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2762 3374 ac_c_werror_flag=$ac_save_c_werror_flag 2763 3375 fi 2764 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&53376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2765 3377 $as_echo "$ac_cv_prog_cc_g" >&6; } 2766 3378 if test "$ac_test_CFLAGS" = set; then … … 2779 3391 fi 2780 3392 fi 2781 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&53393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2782 3394 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2783 if test "${ac_cv_prog_cc_c89+set}" = set; then3395 if ${ac_cv_prog_cc_c89+:} false; then : 2784 3396 $as_echo_n "(cached) " >&6 2785 3397 else 2786 3398 ac_cv_prog_cc_c89=no 2787 3399 ac_save_CC=$CC 2788 cat >conftest.$ac_ext <<_ACEOF 2789 /* confdefs.h. */ 2790 _ACEOF 2791 cat confdefs.h >>conftest.$ac_ext 2792 cat >>conftest.$ac_ext <<_ACEOF 3400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2793 3401 /* end confdefs.h. */ 2794 3402 #include <stdarg.h> 2795 3403 #include <stdio.h> 2796 #include <sys/types.h> 2797 #include <sys/stat.h> 3404 struct stat; 2798 3405 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2799 3406 struct buf { int x; }; … … 2847 3454 do 2848 3455 CC="$ac_save_CC $ac_arg" 2849 rm -f conftest.$ac_objext 2850 if { (ac_try="$ac_compile" 2851 case "(($ac_try" in 2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2853 *) ac_try_echo=$ac_try;; 2854 esac 2855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2856 $as_echo "$ac_try_echo") >&5 2857 (eval "$ac_compile") 2>conftest.er1 2858 ac_status=$? 2859 grep -v '^ *+' conftest.er1 >conftest.err 2860 rm -f conftest.er1 2861 cat conftest.err >&5 2862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2863 (exit $ac_status); } && { 2864 test -z "$ac_c_werror_flag" || 2865 test ! -s conftest.err 2866 } && test -s conftest.$ac_objext; then 3456 if ac_fn_c_try_compile "$LINENO"; then : 2867 3457 ac_cv_prog_cc_c89=$ac_arg 2868 else 2869 $as_echo "$as_me: failed program was:" >&5 2870 sed 's/^/| /' conftest.$ac_ext >&5 2871 2872 2873 fi 2874 3458 fi 2875 3459 rm -f core conftest.err conftest.$ac_objext 2876 3460 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2883 3467 case "x$ac_cv_prog_cc_c89" in 2884 3468 x) 2885 { $as_echo "$as_me:$ LINENO: result: none needed" >&53469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2886 3470 $as_echo "none needed" >&6; } ;; 2887 3471 xno) 2888 { $as_echo "$as_me:$ LINENO: result: unsupported" >&53472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2889 3473 $as_echo "unsupported" >&6; } ;; 2890 3474 *) 2891 3475 CC="$CC $ac_cv_prog_cc_c89" 2892 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&53476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2893 3477 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2894 3478 esac 2895 3479 if test "x$ac_cv_prog_cc_c89" != xno; then : 3480 3481 fi 2896 3482 2897 3483 ac_ext=c … … 2907 3493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2908 3494 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2909 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&53495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 2910 3496 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2911 3497 # On Suns, sometimes $CPP names a directory. … … 2914 3500 fi 2915 3501 if test -z "$CPP"; then 2916 if test "${ac_cv_prog_CPP+set}" = set; then3502 if ${ac_cv_prog_CPP+:} false; then : 2917 3503 $as_echo_n "(cached) " >&6 2918 3504 else … … 2929 3515 # On the NeXT, cc -E runs the code through the compiler's parser, 2930 3516 # not just through cpp. "Syntax error" is here to catch this case. 2931 cat >conftest.$ac_ext <<_ACEOF 2932 /* confdefs.h. */ 2933 _ACEOF 2934 cat confdefs.h >>conftest.$ac_ext 2935 cat >>conftest.$ac_ext <<_ACEOF 3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2936 3518 /* end confdefs.h. */ 2937 3519 #ifdef __STDC__ … … 2942 3524 Syntax error 2943 3525 _ACEOF 2944 if { (ac_try="$ac_cpp conftest.$ac_ext" 2945 case "(($ac_try" in 2946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2947 *) ac_try_echo=$ac_try;; 2948 esac 2949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2950 $as_echo "$ac_try_echo") >&5 2951 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2952 ac_status=$? 2953 grep -v '^ *+' conftest.er1 >conftest.err 2954 rm -f conftest.er1 2955 cat conftest.err >&5 2956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2957 (exit $ac_status); } >/dev/null && { 2958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2959 test ! -s conftest.err 2960 }; then 2961 : 2962 else 2963 $as_echo "$as_me: failed program was:" >&5 2964 sed 's/^/| /' conftest.$ac_ext >&5 2965 3526 if ac_fn_c_try_cpp "$LINENO"; then : 3527 3528 else 2966 3529 # Broken: fails on valid input. 2967 3530 continue 2968 3531 fi 2969 2970 rm -f conftest.err conftest.$ac_ext 3532 rm -f conftest.err conftest.i conftest.$ac_ext 2971 3533 2972 3534 # OK, works on sane cases. Now check whether nonexistent headers 2973 3535 # can be detected and how. 2974 cat >conftest.$ac_ext <<_ACEOF 2975 /* confdefs.h. */ 2976 _ACEOF 2977 cat confdefs.h >>conftest.$ac_ext 2978 cat >>conftest.$ac_ext <<_ACEOF 3536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2979 3537 /* end confdefs.h. */ 2980 3538 #include <ac_nonexistent.h> 2981 3539 _ACEOF 2982 if { (ac_try="$ac_cpp conftest.$ac_ext" 2983 case "(($ac_try" in 2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2985 *) ac_try_echo=$ac_try;; 2986 esac 2987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2988 $as_echo "$ac_try_echo") >&5 2989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2990 ac_status=$? 2991 grep -v '^ *+' conftest.er1 >conftest.err 2992 rm -f conftest.er1 2993 cat conftest.err >&5 2994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2995 (exit $ac_status); } >/dev/null && { 2996 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2997 test ! -s conftest.err 2998 }; then 3540 if ac_fn_c_try_cpp "$LINENO"; then : 2999 3541 # Broken: success on invalid input. 3000 3542 continue 3001 3543 else 3002 $as_echo "$as_me: failed program was:" >&53003 sed 's/^/| /' conftest.$ac_ext >&53004 3005 3544 # Passes both tests. 3006 3545 ac_preproc_ok=: 3007 3546 break 3008 3547 fi 3009 3010 rm -f conftest.err conftest.$ac_ext 3548 rm -f conftest.err conftest.i conftest.$ac_ext 3011 3549 3012 3550 done 3013 3551 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3014 rm -f conftest. err conftest.$ac_ext3015 if $ac_preproc_ok; then 3552 rm -f conftest.i conftest.err conftest.$ac_ext 3553 if $ac_preproc_ok; then : 3016 3554 break 3017 3555 fi … … 3025 3563 ac_cv_prog_CPP=$CPP 3026 3564 fi 3027 { $as_echo "$as_me:$ LINENO: result: $CPP" >&53565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3028 3566 $as_echo "$CPP" >&6; } 3029 3567 ac_preproc_ok=false … … 3036 3574 # On the NeXT, cc -E runs the code through the compiler's parser, 3037 3575 # not just through cpp. "Syntax error" is here to catch this case. 3038 cat >conftest.$ac_ext <<_ACEOF 3039 /* confdefs.h. */ 3040 _ACEOF 3041 cat confdefs.h >>conftest.$ac_ext 3042 cat >>conftest.$ac_ext <<_ACEOF 3576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3043 3577 /* end confdefs.h. */ 3044 3578 #ifdef __STDC__ … … 3049 3583 Syntax error 3050 3584 _ACEOF 3051 if { (ac_try="$ac_cpp conftest.$ac_ext" 3052 case "(($ac_try" in 3053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3054 *) ac_try_echo=$ac_try;; 3055 esac 3056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3057 $as_echo "$ac_try_echo") >&5 3058 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3059 ac_status=$? 3060 grep -v '^ *+' conftest.er1 >conftest.err 3061 rm -f conftest.er1 3062 cat conftest.err >&5 3063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3064 (exit $ac_status); } >/dev/null && { 3065 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3066 test ! -s conftest.err 3067 }; then 3068 : 3069 else 3070 $as_echo "$as_me: failed program was:" >&5 3071 sed 's/^/| /' conftest.$ac_ext >&5 3072 3585 if ac_fn_c_try_cpp "$LINENO"; then : 3586 3587 else 3073 3588 # Broken: fails on valid input. 3074 3589 continue 3075 3590 fi 3076 3077 rm -f conftest.err conftest.$ac_ext 3591 rm -f conftest.err conftest.i conftest.$ac_ext 3078 3592 3079 3593 # OK, works on sane cases. Now check whether nonexistent headers 3080 3594 # can be detected and how. 3081 cat >conftest.$ac_ext <<_ACEOF 3082 /* confdefs.h. */ 3083 _ACEOF 3084 cat confdefs.h >>conftest.$ac_ext 3085 cat >>conftest.$ac_ext <<_ACEOF 3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3086 3596 /* end confdefs.h. */ 3087 3597 #include <ac_nonexistent.h> 3088 3598 _ACEOF 3089 if { (ac_try="$ac_cpp conftest.$ac_ext" 3090 case "(($ac_try" in 3091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3092 *) ac_try_echo=$ac_try;; 3093 esac 3094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3095 $as_echo "$ac_try_echo") >&5 3096 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3097 ac_status=$? 3098 grep -v '^ *+' conftest.er1 >conftest.err 3099 rm -f conftest.er1 3100 cat conftest.err >&5 3101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3102 (exit $ac_status); } >/dev/null && { 3103 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3104 test ! -s conftest.err 3105 }; then 3599 if ac_fn_c_try_cpp "$LINENO"; then : 3106 3600 # Broken: success on invalid input. 3107 3601 continue 3108 3602 else 3109 $as_echo "$as_me: failed program was:" >&53110 sed 's/^/| /' conftest.$ac_ext >&53111 3112 3603 # Passes both tests. 3113 3604 ac_preproc_ok=: 3114 3605 break 3115 3606 fi 3116 3117 rm -f conftest.err conftest.$ac_ext 3607 rm -f conftest.err conftest.i conftest.$ac_ext 3118 3608 3119 3609 done 3120 3610 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3121 rm -f conftest. err conftest.$ac_ext3122 if $ac_preproc_ok; then 3123 : 3124 else 3125 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53611 rm -f conftest.i conftest.err conftest.$ac_ext 3612 if $ac_preproc_ok; then : 3613 3614 else 3615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3126 3616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3127 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3128 See \`config.log' for more details." >&5 3129 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3130 See \`config.log' for more details." >&2;} 3131 { (exit 1); exit 1; }; }; } 3617 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3618 See \`config.log' for more details" "$LINENO" 5; } 3132 3619 fi 3133 3620 … … 3139 3626 3140 3627 3141 { $as_echo "$as_me:$ LINENO: checking for grep that handles long lines and -e" >&53628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3142 3629 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3143 if test "${ac_cv_path_GREP+set}" = set; then3630 if ${ac_cv_path_GREP+:} false; then : 3144 3631 $as_echo_n "(cached) " >&6 3145 3632 else … … 3152 3639 IFS=$as_save_IFS 3153 3640 test -z "$as_dir" && as_dir=. 3154 for ac_prog in grep ggrep; do3641 for ac_prog in grep ggrep; do 3155 3642 for ac_exec_ext in '' $ac_executable_extensions; do 3156 3643 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3157 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; }|| continue3644 as_fn_executable_p "$ac_path_GREP" || continue 3158 3645 # Check for GNU ac_path_GREP and select it if it is found. 3159 3646 # Check for GNU $ac_path_GREP … … 3172 3659 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3173 3660 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3174 a c_count=`expr $ac_count + 1`3661 as_fn_arith $ac_count + 1 && ac_count=$as_val 3175 3662 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3176 3663 # Best one so far, save it but keep looking for a better one … … 3187 3674 done 3188 3675 done 3189 done3676 done 3190 3677 IFS=$as_save_IFS 3191 3678 if test -z "$ac_cv_path_GREP"; then 3192 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3193 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3194 { (exit 1); exit 1; }; } 3679 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3195 3680 fi 3196 3681 else … … 3199 3684 3200 3685 fi 3201 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_GREP" >&53686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3202 3687 $as_echo "$ac_cv_path_GREP" >&6; } 3203 3688 GREP="$ac_cv_path_GREP" 3204 3689 3205 3690 3206 { $as_echo "$as_me:$ LINENO: checking for egrep" >&53691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3207 3692 $as_echo_n "checking for egrep... " >&6; } 3208 if test "${ac_cv_path_EGREP+set}" = set; then3693 if ${ac_cv_path_EGREP+:} false; then : 3209 3694 $as_echo_n "(cached) " >&6 3210 3695 else … … 3220 3705 IFS=$as_save_IFS 3221 3706 test -z "$as_dir" && as_dir=. 3222 for ac_prog in egrep; do3707 for ac_prog in egrep; do 3223 3708 for ac_exec_ext in '' $ac_executable_extensions; do 3224 3709 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3225 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; }|| continue3710 as_fn_executable_p "$ac_path_EGREP" || continue 3226 3711 # Check for GNU ac_path_EGREP and select it if it is found. 3227 3712 # Check for GNU $ac_path_EGREP … … 3240 3725 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3241 3726 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3242 a c_count=`expr $ac_count + 1`3727 as_fn_arith $ac_count + 1 && ac_count=$as_val 3243 3728 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3244 3729 # Best one so far, save it but keep looking for a better one … … 3255 3740 done 3256 3741 done 3257 done3742 done 3258 3743 IFS=$as_save_IFS 3259 3744 if test -z "$ac_cv_path_EGREP"; then 3260 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3261 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3262 { (exit 1); exit 1; }; } 3745 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3263 3746 fi 3264 3747 else … … 3268 3751 fi 3269 3752 fi 3270 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_EGREP" >&53753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3271 3754 $as_echo "$ac_cv_path_EGREP" >&6; } 3272 3755 EGREP="$ac_cv_path_EGREP" 3273 3756 3274 3757 3275 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&53758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3276 3759 $as_echo_n "checking for ANSI C header files... " >&6; } 3277 if test "${ac_cv_header_stdc+set}" = set; then3760 if ${ac_cv_header_stdc+:} false; then : 3278 3761 $as_echo_n "(cached) " >&6 3279 3762 else 3280 cat >conftest.$ac_ext <<_ACEOF 3281 /* confdefs.h. */ 3282 _ACEOF 3283 cat confdefs.h >>conftest.$ac_ext 3284 cat >>conftest.$ac_ext <<_ACEOF 3763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3285 3764 /* end confdefs.h. */ 3286 3765 #include <stdlib.h> … … 3297 3776 } 3298 3777 _ACEOF 3299 rm -f conftest.$ac_objext 3300 if { (ac_try="$ac_compile" 3301 case "(($ac_try" in 3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3303 *) ac_try_echo=$ac_try;; 3304 esac 3305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3306 $as_echo "$ac_try_echo") >&5 3307 (eval "$ac_compile") 2>conftest.er1 3308 ac_status=$? 3309 grep -v '^ *+' conftest.er1 >conftest.err 3310 rm -f conftest.er1 3311 cat conftest.err >&5 3312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3313 (exit $ac_status); } && { 3314 test -z "$ac_c_werror_flag" || 3315 test ! -s conftest.err 3316 } && test -s conftest.$ac_objext; then 3778 if ac_fn_c_try_compile "$LINENO"; then : 3317 3779 ac_cv_header_stdc=yes 3318 3780 else 3319 $as_echo "$as_me: failed program was:" >&5 3320 sed 's/^/| /' conftest.$ac_ext >&5 3321 3322 ac_cv_header_stdc=no 3323 fi 3324 3781 ac_cv_header_stdc=no 3782 fi 3325 3783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3326 3784 3327 3785 if test $ac_cv_header_stdc = yes; then 3328 3786 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3329 cat >conftest.$ac_ext <<_ACEOF 3330 /* confdefs.h. */ 3331 _ACEOF 3332 cat confdefs.h >>conftest.$ac_ext 3333 cat >>conftest.$ac_ext <<_ACEOF 3787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3334 3788 /* end confdefs.h. */ 3335 3789 #include <string.h> … … 3337 3791 _ACEOF 3338 3792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3339 $EGREP "memchr" >/dev/null 2>&1; then 3340 : 3793 $EGREP "memchr" >/dev/null 2>&1; then : 3794 3341 3795 else 3342 3796 ac_cv_header_stdc=no … … 3348 3802 if test $ac_cv_header_stdc = yes; then 3349 3803 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3350 cat >conftest.$ac_ext <<_ACEOF 3351 /* confdefs.h. */ 3352 _ACEOF 3353 cat confdefs.h >>conftest.$ac_ext 3354 cat >>conftest.$ac_ext <<_ACEOF 3804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3355 3805 /* end confdefs.h. */ 3356 3806 #include <stdlib.h> … … 3358 3808 _ACEOF 3359 3809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3360 $EGREP "free" >/dev/null 2>&1; then 3361 : 3810 $EGREP "free" >/dev/null 2>&1; then : 3811 3362 3812 else 3363 3813 ac_cv_header_stdc=no … … 3369 3819 if test $ac_cv_header_stdc = yes; then 3370 3820 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3371 if test "$cross_compiling" = yes; then 3821 if test "$cross_compiling" = yes; then : 3372 3822 : 3373 3823 else 3374 cat >conftest.$ac_ext <<_ACEOF 3375 /* confdefs.h. */ 3376 _ACEOF 3377 cat confdefs.h >>conftest.$ac_ext 3378 cat >>conftest.$ac_ext <<_ACEOF 3824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3379 3825 /* end confdefs.h. */ 3380 3826 #include <ctype.h> … … 3403 3849 } 3404 3850 _ACEOF 3405 rm -f conftest$ac_exeext 3406 if { (ac_try="$ac_link" 3407 case "(($ac_try" in 3408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3409 *) ac_try_echo=$ac_try;; 3410 esac 3411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3412 $as_echo "$ac_try_echo") >&5 3413 (eval "$ac_link") 2>&5 3414 ac_status=$? 3415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3416 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3417 { (case "(($ac_try" in 3418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3419 *) ac_try_echo=$ac_try;; 3420 esac 3421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3422 $as_echo "$ac_try_echo") >&5 3423 (eval "$ac_try") 2>&5 3424 ac_status=$? 3425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3426 (exit $ac_status); }; }; then 3427 : 3428 else 3429 $as_echo "$as_me: program exited with status $ac_status" >&5 3430 $as_echo "$as_me: failed program was:" >&5 3431 sed 's/^/| /' conftest.$ac_ext >&5 3432 3433 ( exit $ac_status ) 3434 ac_cv_header_stdc=no 3435 fi 3436 rm -rf conftest.dSYM 3437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3438 fi 3439 3440 3441 fi 3442 fi 3443 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3851 if ac_fn_c_try_run "$LINENO"; then : 3852 3853 else 3854 ac_cv_header_stdc=no 3855 fi 3856 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3857 conftest.$ac_objext conftest.beam conftest.$ac_ext 3858 fi 3859 3860 fi 3861 fi 3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3444 3863 $as_echo "$ac_cv_header_stdc" >&6; } 3445 3864 if test $ac_cv_header_stdc = yes; then 3446 3865 3447 cat >>confdefs.h <<\_ACEOF 3448 #define STDC_HEADERS 1 3449 _ACEOF 3866 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3450 3867 3451 3868 fi 3452 3869 3453 3870 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3871 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3464 3872 inttypes.h stdint.h unistd.h 3465 do 3466 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3467 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3468 $as_echo_n "checking for $ac_header... " >&6; } 3469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3470 $as_echo_n "(cached) " >&6 3471 else 3472 cat >conftest.$ac_ext <<_ACEOF 3473 /* confdefs.h. */ 3474 _ACEOF 3475 cat confdefs.h >>conftest.$ac_ext 3476 cat >>conftest.$ac_ext <<_ACEOF 3477 /* end confdefs.h. */ 3478 $ac_includes_default 3479 3480 #include <$ac_header> 3481 _ACEOF 3482 rm -f conftest.$ac_objext 3483 if { (ac_try="$ac_compile" 3484 case "(($ac_try" in 3485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3486 *) ac_try_echo=$ac_try;; 3487 esac 3488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3489 $as_echo "$ac_try_echo") >&5 3490 (eval "$ac_compile") 2>conftest.er1 3491 ac_status=$? 3492 grep -v '^ *+' conftest.er1 >conftest.err 3493 rm -f conftest.er1 3494 cat conftest.err >&5 3495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3496 (exit $ac_status); } && { 3497 test -z "$ac_c_werror_flag" || 3498 test ! -s conftest.err 3499 } && test -s conftest.$ac_objext; then 3500 eval "$as_ac_Header=yes" 3501 else 3502 $as_echo "$as_me: failed program was:" >&5 3503 sed 's/^/| /' conftest.$ac_ext >&5 3504 3505 eval "$as_ac_Header=no" 3506 fi 3507 3508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3509 fi 3510 ac_res=`eval 'as_val=${'$as_ac_Header'} 3511 $as_echo "$as_val"'` 3512 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3513 $as_echo "$ac_res" >&6; } 3514 as_val=`eval 'as_val=${'$as_ac_Header'} 3515 $as_echo "$as_val"'` 3516 if test "x$as_val" = x""yes; then 3873 do : 3874 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3875 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3876 " 3877 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3517 3878 cat >>confdefs.h <<_ACEOF 3518 3879 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 3539 3900 3540 3901 # Check whether --with-python was given. 3541 if test "${with_python+set}" = set; then 3902 if test "${with_python+set}" = set; then : 3542 3903 withval=$with_python; 3543 3904 else … … 3550 3911 # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args. 3551 3912 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 3552 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3553 3914 $as_echo_n "checking for $ac_word... " >&6; } 3554 if test "${ac_cv_path_PYTHON+set}" = set; then3915 if ${ac_cv_path_PYTHON+:} false; then : 3555 3916 $as_echo_n "(cached) " >&6 3556 3917 else … … 3565 3926 IFS=$as_save_IFS 3566 3927 test -z "$as_dir" && as_dir=. 3567 for ac_exec_ext in '' $ac_executable_extensions; do3568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3928 for ac_exec_ext in '' $ac_executable_extensions; do 3929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3569 3930 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3570 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3571 3932 break 2 3572 3933 fi 3573 3934 done 3574 done3935 done 3575 3936 IFS=$as_save_IFS 3576 3937 … … 3580 3941 PYTHON=$ac_cv_path_PYTHON 3581 3942 if test -n "$PYTHON"; then 3582 { $as_echo "$as_me:$ LINENO: result: $PYTHON" >&53943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 3583 3944 $as_echo "$PYTHON" >&6; } 3584 3945 else 3585 { $as_echo "$as_me:$ LINENO: result: no" >&53946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3586 3947 $as_echo "no" >&6; } 3587 3948 fi … … 3591 3952 # Extract the first word of "python", so it can be a program name with args. 3592 3953 set dummy python; ac_word=$2 3593 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3594 3955 $as_echo_n "checking for $ac_word... " >&6; } 3595 if test "${ac_cv_path_PYTHON+set}" = set; then3956 if ${ac_cv_path_PYTHON+:} false; then : 3596 3957 $as_echo_n "(cached) " >&6 3597 3958 else … … 3607 3968 IFS=$as_save_IFS 3608 3969 test -z "$as_dir" && as_dir=. 3609 for ac_exec_ext in '' $ac_executable_extensions; do3610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3970 for ac_exec_ext in '' $ac_executable_extensions; do 3971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3611 3972 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3612 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3613 3974 break 2 3614 3975 fi 3615 3976 done 3616 done3977 done 3617 3978 IFS=$as_save_IFS 3618 3979 … … 3622 3983 PYTHON=$ac_cv_path_PYTHON 3623 3984 if test -n "$PYTHON"; then 3624 { $as_echo "$as_me:$ LINENO: result: $PYTHON" >&53985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 3625 3986 $as_echo "$PYTHON" >&6; } 3626 3987 else 3627 { $as_echo "$as_me:$ LINENO: result: no" >&53988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3628 3989 $as_echo "no" >&6; } 3629 3990 fi … … 3631 3992 3632 3993 fi 3633 { $as_echo "$as_me:$ LINENO: checking for Python version" >&53994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5 3634 3995 $as_echo_n "checking for Python version... " >&6; } 3635 3996 if test "x${PYTHON}" != "x"; then 3636 3997 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 3637 3998 fi 3638 { $as_echo "$as_me:$ LINENO: result: $PYTHON_VERSION" >&53999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5 3639 4000 $as_echo "$PYTHON_VERSION" >&6; } 3640 4001 fi … … 3642 4003 if test "x${PYTHON_VERSION}" != "x"; then 3643 4004 PYTHON_INCLUDES=$incdir 3644 { $as_echo "$as_me:$ LINENO: checking for Python distutils" >&54005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5 3645 4006 $as_echo_n "checking for Python distutils... " >&6; } 3646 4007 PYTHON_DISTUTILS="" … … 3650 4011 PYTHON_DISTUTILS="yes" 3651 4012 fi 3652 { $as_echo "$as_me:$ LINENO: result: $PYTHON_DISTUTILS" >&54013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5 3653 4014 $as_echo "$PYTHON_DISTUTILS" >&6; } 3654 4015 if test "${PYTHON_DISTUTILS}" = "yes" ; then … … 3657 4018 # Check for Python include path 3658 4019 # 3659 { $as_echo "$as_me:$ LINENO: checking path to Python headers" >&54020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5 3660 4021 $as_echo_n "checking path to Python headers... " >&6; } 3661 4022 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 3662 4023 print distutils.sysconfig.get_python_inc();"` 3663 { $as_echo "$as_me:$ LINENO: result: $PYTHON_INCDIR" >&54024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5 3664 4025 $as_echo "$PYTHON_INCDIR" >&6; } 3665 4026 # … … 3674 4035 save_CPPFLAGS=$CPPFLAGS 3675 4036 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 3676 3677 for ac_header in Python.h 3678 do 3679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3681 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3682 $as_echo_n "checking for $ac_header... " >&6; } 3683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3684 $as_echo_n "(cached) " >&6 3685 fi 3686 ac_res=`eval 'as_val=${'$as_ac_Header'} 3687 $as_echo "$as_val"'` 3688 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3689 $as_echo "$ac_res" >&6; } 3690 else 3691 # Is the header compilable? 3692 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 3693 $as_echo_n "checking $ac_header usability... " >&6; } 3694 cat >conftest.$ac_ext <<_ACEOF 3695 /* confdefs.h. */ 3696 _ACEOF 3697 cat confdefs.h >>conftest.$ac_ext 3698 cat >>conftest.$ac_ext <<_ACEOF 3699 /* end confdefs.h. */ 3700 $ac_includes_default 3701 #include <$ac_header> 3702 _ACEOF 3703 rm -f conftest.$ac_objext 3704 if { (ac_try="$ac_compile" 3705 case "(($ac_try" in 3706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3707 *) ac_try_echo=$ac_try;; 3708 esac 3709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3710 $as_echo "$ac_try_echo") >&5 3711 (eval "$ac_compile") 2>conftest.er1 3712 ac_status=$? 3713 grep -v '^ *+' conftest.er1 >conftest.err 3714 rm -f conftest.er1 3715 cat conftest.err >&5 3716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3717 (exit $ac_status); } && { 3718 test -z "$ac_c_werror_flag" || 3719 test ! -s conftest.err 3720 } && test -s conftest.$ac_objext; then 3721 ac_header_compiler=yes 3722 else 3723 $as_echo "$as_me: failed program was:" >&5 3724 sed 's/^/| /' conftest.$ac_ext >&5 3725 3726 ac_header_compiler=no 3727 fi 3728 3729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3730 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3731 $as_echo "$ac_header_compiler" >&6; } 3732 3733 # Is the header present? 3734 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 3735 $as_echo_n "checking $ac_header presence... " >&6; } 3736 cat >conftest.$ac_ext <<_ACEOF 3737 /* confdefs.h. */ 3738 _ACEOF 3739 cat confdefs.h >>conftest.$ac_ext 3740 cat >>conftest.$ac_ext <<_ACEOF 3741 /* end confdefs.h. */ 3742 #include <$ac_header> 3743 _ACEOF 3744 if { (ac_try="$ac_cpp conftest.$ac_ext" 3745 case "(($ac_try" in 3746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3747 *) ac_try_echo=$ac_try;; 3748 esac 3749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3750 $as_echo "$ac_try_echo") >&5 3751 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3752 ac_status=$? 3753 grep -v '^ *+' conftest.er1 >conftest.err 3754 rm -f conftest.er1 3755 cat conftest.err >&5 3756 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3757 (exit $ac_status); } >/dev/null && { 3758 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3759 test ! -s conftest.err 3760 }; then 3761 ac_header_preproc=yes 3762 else 3763 $as_echo "$as_me: failed program was:" >&5 3764 sed 's/^/| /' conftest.$ac_ext >&5 3765 3766 ac_header_preproc=no 3767 fi 3768 3769 rm -f conftest.err conftest.$ac_ext 3770 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3771 $as_echo "$ac_header_preproc" >&6; } 3772 3773 # So? What about this header? 3774 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3775 yes:no: ) 3776 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3777 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3778 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3779 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3780 ac_header_preproc=yes 3781 ;; 3782 no:yes:* ) 3783 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3784 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3785 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3786 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3787 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3788 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3789 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3790 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3791 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3792 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3793 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3794 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3795 ( cat <<\_ASBOX 3796 ## ----------------------------------- ## 3797 ## Report this to rappture@nanohub.org ## 3798 ## ----------------------------------- ## 3799 _ASBOX 3800 ) | sed "s/^/$as_me: WARNING: /" >&2 3801 ;; 3802 esac 3803 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3804 $as_echo_n "checking for $ac_header... " >&6; } 3805 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3806 $as_echo_n "(cached) " >&6 3807 else 3808 eval "$as_ac_Header=\$ac_header_preproc" 3809 fi 3810 ac_res=`eval 'as_val=${'$as_ac_Header'} 3811 $as_echo "$as_val"'` 3812 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3813 $as_echo "$ac_res" >&6; } 3814 3815 fi 3816 as_val=`eval 'as_val=${'$as_ac_Header'} 3817 $as_echo "$as_val"'` 3818 if test "x$as_val" = x""yes; then 4037 for ac_header in Python.h 4038 do : 4039 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 4040 if test "x$ac_cv_header_Python_h" = xyes; then : 3819 4041 cat >>confdefs.h <<_ACEOF 3820 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`14042 #define HAVE_PYTHON_H 1 3821 4043 _ACEOF 3822 4044 found=yes … … 3837 4059 3838 4060 # Check whether --with-statsdir was given. 3839 if test "${with_statsdir+set}" = set; then 4061 if test "${with_statsdir+set}" = set; then : 3840 4062 withval=$with_statsdir; STATSDIR=$withval 3841 4063 else … … 3871 4093 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3872 4094 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3873 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3874 4096 $as_echo_n "checking for $ac_word... " >&6; } 3875 if test "${ac_cv_prog_RANLIB+set}" = set; then4097 if ${ac_cv_prog_RANLIB+:} false; then : 3876 4098 $as_echo_n "(cached) " >&6 3877 4099 else … … 3884 4106 IFS=$as_save_IFS 3885 4107 test -z "$as_dir" && as_dir=. 3886 for ac_exec_ext in '' $ac_executable_extensions; do3887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4108 for ac_exec_ext in '' $ac_executable_extensions; do 4109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3888 4110 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3889 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3890 4112 break 2 3891 4113 fi 3892 4114 done 3893 done4115 done 3894 4116 IFS=$as_save_IFS 3895 4117 … … 3898 4120 RANLIB=$ac_cv_prog_RANLIB 3899 4121 if test -n "$RANLIB"; then 3900 { $as_echo "$as_me:$ LINENO: result: $RANLIB" >&54122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3901 4123 $as_echo "$RANLIB" >&6; } 3902 4124 else 3903 { $as_echo "$as_me:$ LINENO: result: no" >&54125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3904 4126 $as_echo "no" >&6; } 3905 4127 fi … … 3911 4133 # Extract the first word of "ranlib", so it can be a program name with args. 3912 4134 set dummy ranlib; ac_word=$2 3913 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3914 4136 $as_echo_n "checking for $ac_word... " >&6; } 3915 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then4137 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 3916 4138 $as_echo_n "(cached) " >&6 3917 4139 else … … 3924 4146 IFS=$as_save_IFS 3925 4147 test -z "$as_dir" && as_dir=. 3926 for ac_exec_ext in '' $ac_executable_extensions; do3927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4148 for ac_exec_ext in '' $ac_executable_extensions; do 4149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3928 4150 ac_cv_prog_ac_ct_RANLIB="ranlib" 3929 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3930 4152 break 2 3931 4153 fi 3932 4154 done 3933 done4155 done 3934 4156 IFS=$as_save_IFS 3935 4157 … … 3938 4160 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3939 4161 if test -n "$ac_ct_RANLIB"; then 3940 { $as_echo "$as_me:$ LINENO: result: $ac_ct_RANLIB" >&54162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3941 4163 $as_echo "$ac_ct_RANLIB" >&6; } 3942 4164 else 3943 { $as_echo "$as_me:$ LINENO: result: no" >&54165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3944 4166 $as_echo "no" >&6; } 3945 4167 fi … … 3950 4172 case $cross_compiling:$ac_tool_warned in 3951 4173 yes:) 3952 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&54174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3953 4175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3954 4176 ac_tool_warned=yes ;; … … 3964 4186 # Step 0.a: Enable 64 bit support? 3965 4187 3966 { $as_echo "$as_me:$ LINENO: checking if 64bit support is requested" >&54188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 3967 4189 $as_echo_n "checking if 64bit support is requested... " >&6; } 3968 4190 # Check whether --enable-64bit was given. 3969 if test "${enable_64bit+set}" = set; then 4191 if test "${enable_64bit+set}" = set; then : 3970 4192 enableval=$enable_64bit; do64bit=$enableval 3971 4193 else … … 3973 4195 fi 3974 4196 3975 { $as_echo "$as_me:$ LINENO: result: $do64bit" >&54197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 3976 4198 $as_echo "$do64bit" >&6; } 3977 4199 3978 4200 # Step 0.b: Enable Solaris 64 bit VIS support? 3979 4201 3980 { $as_echo "$as_me:$ LINENO: checking if 64bit Sparc VIS support is requested" >&54202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 3981 4203 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 3982 4204 # Check whether --enable-64bit-vis was given. 3983 if test "${enable_64bit_vis+set}" = set; then 4205 if test "${enable_64bit_vis+set}" = set; then : 3984 4206 enableval=$enable_64bit_vis; do64bitVIS=$enableval 3985 4207 else … … 3987 4209 fi 3988 4210 3989 { $as_echo "$as_me:$ LINENO: result: $do64bitVIS" >&54211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 3990 4212 $as_echo "$do64bitVIS" >&6; } 3991 4213 … … 3999 4221 4000 4222 4001 { $as_echo "$as_me:$ LINENO: checking system version" >&54223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 4002 4224 $as_echo_n "checking system version... " >&6; } 4003 if test "${tcl_cv_sys_version+set}" = set; then4225 if ${tcl_cv_sys_version+:} false; then : 4004 4226 $as_echo_n "(cached) " >&6 4005 4227 else … … 4010 4232 tcl_cv_sys_version=`uname -s`-`uname -r` 4011 4233 if test "$?" -ne 0 ; then 4012 { $as_echo "$as_me:$ LINENO: WARNING: can't find uname command" >&54234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 4013 4235 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 4014 4236 tcl_cv_sys_version=unknown … … 4027 4249 4028 4250 fi 4029 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sys_version" >&54251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 4030 4252 $as_echo "$tcl_cv_sys_version" >&6; } 4031 4253 system=$tcl_cv_sys_version … … 4035 4257 # Linux can use either -ldl or -ldld for dynamic loading. 4036 4258 4037 { $as_echo "$as_me:$ LINENO: checking for dlopen in -ldl" >&54259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 4038 4260 $as_echo_n "checking for dlopen in -ldl... " >&6; } 4039 if test "${ac_cv_lib_dl_dlopen+set}" = set; then4261 if ${ac_cv_lib_dl_dlopen+:} false; then : 4040 4262 $as_echo_n "(cached) " >&6 4041 4263 else 4042 4264 ac_check_lib_save_LIBS=$LIBS 4043 4265 LIBS="-ldl $LIBS" 4044 cat >conftest.$ac_ext <<_ACEOF 4045 /* confdefs.h. */ 4046 _ACEOF 4047 cat confdefs.h >>conftest.$ac_ext 4048 cat >>conftest.$ac_ext <<_ACEOF 4266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4049 4267 /* end confdefs.h. */ 4050 4268 … … 4064 4282 } 4065 4283 _ACEOF 4066 rm -f conftest.$ac_objext conftest$ac_exeext 4067 if { (ac_try="$ac_link" 4068 case "(($ac_try" in 4069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4070 *) ac_try_echo=$ac_try;; 4071 esac 4072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4073 $as_echo "$ac_try_echo") >&5 4074 (eval "$ac_link") 2>conftest.er1 4075 ac_status=$? 4076 grep -v '^ *+' conftest.er1 >conftest.err 4077 rm -f conftest.er1 4078 cat conftest.err >&5 4079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4080 (exit $ac_status); } && { 4081 test -z "$ac_c_werror_flag" || 4082 test ! -s conftest.err 4083 } && test -s conftest$ac_exeext && { 4084 test "$cross_compiling" = yes || 4085 $as_test_x conftest$ac_exeext 4086 }; then 4284 if ac_fn_c_try_link "$LINENO"; then : 4087 4285 ac_cv_lib_dl_dlopen=yes 4088 4286 else 4089 $as_echo "$as_me: failed program was:" >&5 4090 sed 's/^/| /' conftest.$ac_ext >&5 4091 4092 ac_cv_lib_dl_dlopen=no 4093 fi 4094 4095 rm -rf conftest.dSYM 4096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4097 conftest$ac_exeext conftest.$ac_ext 4287 ac_cv_lib_dl_dlopen=no 4288 fi 4289 rm -f core conftest.err conftest.$ac_objext \ 4290 conftest$ac_exeext conftest.$ac_ext 4098 4291 LIBS=$ac_check_lib_save_LIBS 4099 4292 fi 4100 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dl_dlopen" >&54293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 4101 4294 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 4102 if test "x$ac_cv_lib_dl_dlopen" = x ""yes; then4295 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 4103 4296 have_dl=yes 4104 4297 else … … 4132 4325 # Extract the first word of "ar", so it can be a program name with args. 4133 4326 set dummy ar; ac_word=$2 4134 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4135 4328 $as_echo_n "checking for $ac_word... " >&6; } 4136 if test "${ac_cv_prog_AR+set}" = set; then4329 if ${ac_cv_prog_AR+:} false; then : 4137 4330 $as_echo_n "(cached) " >&6 4138 4331 else … … 4145 4338 IFS=$as_save_IFS 4146 4339 test -z "$as_dir" && as_dir=. 4147 for ac_exec_ext in '' $ac_executable_extensions; do4148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4340 for ac_exec_ext in '' $ac_executable_extensions; do 4341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4149 4342 ac_cv_prog_AR="ar" 4150 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4151 4344 break 2 4152 4345 fi 4153 4346 done 4154 done4347 done 4155 4348 IFS=$as_save_IFS 4156 4349 … … 4159 4352 AR=$ac_cv_prog_AR 4160 4353 if test -n "$AR"; then 4161 { $as_echo "$as_me:$ LINENO: result: $AR" >&54354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4162 4355 $as_echo "$AR" >&6; } 4163 4356 else 4164 { $as_echo "$as_me:$ LINENO: result: no" >&54357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4165 4358 $as_echo "no" >&6; } 4166 4359 fi … … 4168 4361 4169 4362 if test "${AR}" = "" ; then 4170 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 4171 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 4172 { (exit 1); exit 1; }; } 4363 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 4173 4364 fi 4174 4365 STLIB_LD='${AR} cr' … … 4188 4379 ;; 4189 4380 esac 4190 { $as_echo "$as_me:$ LINENO: result: Using $CC for compiling with threads" >&54381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 4191 4382 $as_echo "Using $CC for compiling with threads" >&6; } 4192 4383 fi … … 4204 4395 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 4205 4396 if test "$GCC" = "yes" ; then 4206 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&54397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 4207 4398 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4208 4399 else … … 4259 4450 # known GMT value. 4260 4451 4261 { $as_echo "$as_me:$ LINENO: checking for gettimeofday in -lbsd" >&54452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 4262 4453 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 4263 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then4454 if ${ac_cv_lib_bsd_gettimeofday+:} false; then : 4264 4455 $as_echo_n "(cached) " >&6 4265 4456 else 4266 4457 ac_check_lib_save_LIBS=$LIBS 4267 4458 LIBS="-lbsd $LIBS" 4268 cat >conftest.$ac_ext <<_ACEOF 4269 /* confdefs.h. */ 4270 _ACEOF 4271 cat confdefs.h >>conftest.$ac_ext 4272 cat >>conftest.$ac_ext <<_ACEOF 4459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4273 4460 /* end confdefs.h. */ 4274 4461 … … 4288 4475 } 4289 4476 _ACEOF 4290 rm -f conftest.$ac_objext conftest$ac_exeext 4291 if { (ac_try="$ac_link" 4292 case "(($ac_try" in 4293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4294 *) ac_try_echo=$ac_try;; 4295 esac 4296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4297 $as_echo "$ac_try_echo") >&5 4298 (eval "$ac_link") 2>conftest.er1 4299 ac_status=$? 4300 grep -v '^ *+' conftest.er1 >conftest.err 4301 rm -f conftest.er1 4302 cat conftest.err >&5 4303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4304 (exit $ac_status); } && { 4305 test -z "$ac_c_werror_flag" || 4306 test ! -s conftest.err 4307 } && test -s conftest$ac_exeext && { 4308 test "$cross_compiling" = yes || 4309 $as_test_x conftest$ac_exeext 4310 }; then 4477 if ac_fn_c_try_link "$LINENO"; then : 4311 4478 ac_cv_lib_bsd_gettimeofday=yes 4312 4479 else 4313 $as_echo "$as_me: failed program was:" >&5 4314 sed 's/^/| /' conftest.$ac_ext >&5 4315 4316 ac_cv_lib_bsd_gettimeofday=no 4317 fi 4318 4319 rm -rf conftest.dSYM 4320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4321 conftest$ac_exeext conftest.$ac_ext 4480 ac_cv_lib_bsd_gettimeofday=no 4481 fi 4482 rm -f core conftest.err conftest.$ac_objext \ 4483 conftest$ac_exeext conftest.$ac_ext 4322 4484 LIBS=$ac_check_lib_save_LIBS 4323 4485 fi 4324 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&54486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 4325 4487 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 4326 if test "x$ac_cv_lib_bsd_gettimeofday" = x ""yes; then4488 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then : 4327 4489 libbsd=yes 4328 4490 else … … 4332 4494 if test $libbsd = yes; then 4333 4495 MATH_LIBS="$MATH_LIBS -lbsd" 4334 cat >>confdefs.h <<\_ACEOF 4335 #define USE_DELTA_FOR_TZ 1 4336 _ACEOF 4496 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 4337 4497 4338 4498 fi … … 4351 4511 # is always linked to, for compatibility. 4352 4512 #----------------------------------------------------------- 4353 { $as_echo "$as_me:$ LINENO: checking for inet_ntoa in -lbind" >&54513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 4354 4514 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 4355 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then4515 if ${ac_cv_lib_bind_inet_ntoa+:} false; then : 4356 4516 $as_echo_n "(cached) " >&6 4357 4517 else 4358 4518 ac_check_lib_save_LIBS=$LIBS 4359 4519 LIBS="-lbind $LIBS" 4360 cat >conftest.$ac_ext <<_ACEOF 4361 /* confdefs.h. */ 4362 _ACEOF 4363 cat confdefs.h >>conftest.$ac_ext 4364 cat >>conftest.$ac_ext <<_ACEOF 4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4365 4521 /* end confdefs.h. */ 4366 4522 … … 4380 4536 } 4381 4537 _ACEOF 4382 rm -f conftest.$ac_objext conftest$ac_exeext 4383 if { (ac_try="$ac_link" 4384 case "(($ac_try" in 4385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4386 *) ac_try_echo=$ac_try;; 4387 esac 4388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4389 $as_echo "$ac_try_echo") >&5 4390 (eval "$ac_link") 2>conftest.er1 4391 ac_status=$? 4392 grep -v '^ *+' conftest.er1 >conftest.err 4393 rm -f conftest.er1 4394 cat conftest.err >&5 4395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4396 (exit $ac_status); } && { 4397 test -z "$ac_c_werror_flag" || 4398 test ! -s conftest.err 4399 } && test -s conftest$ac_exeext && { 4400 test "$cross_compiling" = yes || 4401 $as_test_x conftest$ac_exeext 4402 }; then 4538 if ac_fn_c_try_link "$LINENO"; then : 4403 4539 ac_cv_lib_bind_inet_ntoa=yes 4404 4540 else 4405 $as_echo "$as_me: failed program was:" >&5 4406 sed 's/^/| /' conftest.$ac_ext >&5 4407 4408 ac_cv_lib_bind_inet_ntoa=no 4409 fi 4410 4411 rm -rf conftest.dSYM 4412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4413 conftest$ac_exeext conftest.$ac_ext 4541 ac_cv_lib_bind_inet_ntoa=no 4542 fi 4543 rm -f core conftest.err conftest.$ac_objext \ 4544 conftest$ac_exeext conftest.$ac_ext 4414 4545 LIBS=$ac_check_lib_save_LIBS 4415 4546 fi 4416 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&54547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 4417 4548 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 4418 if test "x$ac_cv_lib_bind_inet_ntoa" = x ""yes; then4549 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then : 4419 4550 LIBS="$LIBS -lbind -lsocket" 4420 4551 fi … … 4454 4585 HP-UX-*.11.*) 4455 4586 # Use updated header definitions where possible 4456 cat >>confdefs.h <<\_ACEOF 4457 #define _XOPEN_SOURCE 1 4458 _ACEOF 4587 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 4459 4588 # Use the XOPEN network library 4460 cat >>confdefs.h <<\_ACEOF 4461 #define _XOPEN_SOURCE_EXTENDED 1 4462 _ACEOF 4589 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 4463 4590 # Use the XOPEN network library 4464 4591 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 4469 4596 SHLIB_SUFFIX=".sl" 4470 4597 fi 4471 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&54598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 4472 4599 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4473 if test "${ac_cv_lib_dld_shl_load+set}" = set; then4600 if ${ac_cv_lib_dld_shl_load+:} false; then : 4474 4601 $as_echo_n "(cached) " >&6 4475 4602 else 4476 4603 ac_check_lib_save_LIBS=$LIBS 4477 4604 LIBS="-ldld $LIBS" 4478 cat >conftest.$ac_ext <<_ACEOF 4479 /* confdefs.h. */ 4480 _ACEOF 4481 cat confdefs.h >>conftest.$ac_ext 4482 cat >>conftest.$ac_ext <<_ACEOF 4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4483 4606 /* end confdefs.h. */ 4484 4607 … … 4498 4621 } 4499 4622 _ACEOF 4500 rm -f conftest.$ac_objext conftest$ac_exeext 4501 if { (ac_try="$ac_link" 4502 case "(($ac_try" in 4503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4504 *) ac_try_echo=$ac_try;; 4505 esac 4506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4507 $as_echo "$ac_try_echo") >&5 4508 (eval "$ac_link") 2>conftest.er1 4509 ac_status=$? 4510 grep -v '^ *+' conftest.er1 >conftest.err 4511 rm -f conftest.er1 4512 cat conftest.err >&5 4513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4514 (exit $ac_status); } && { 4515 test -z "$ac_c_werror_flag" || 4516 test ! -s conftest.err 4517 } && test -s conftest$ac_exeext && { 4518 test "$cross_compiling" = yes || 4519 $as_test_x conftest$ac_exeext 4520 }; then 4623 if ac_fn_c_try_link "$LINENO"; then : 4521 4624 ac_cv_lib_dld_shl_load=yes 4522 4625 else 4523 $as_echo "$as_me: failed program was:" >&5 4524 sed 's/^/| /' conftest.$ac_ext >&5 4525 4526 ac_cv_lib_dld_shl_load=no 4527 fi 4528 4529 rm -rf conftest.dSYM 4530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4531 conftest$ac_exeext conftest.$ac_ext 4626 ac_cv_lib_dld_shl_load=no 4627 fi 4628 rm -f core conftest.err conftest.$ac_objext \ 4629 conftest$ac_exeext conftest.$ac_ext 4532 4630 LIBS=$ac_check_lib_save_LIBS 4533 4631 fi 4534 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&54632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 4535 4633 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4536 if test "x$ac_cv_lib_dld_shl_load" = x ""yes; then4634 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 4537 4635 tcl_ok=yes 4538 4636 else … … 4574 4672 ;; 4575 4673 *) 4576 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&54674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 4577 4675 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4578 4676 ;; … … 4587 4685 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 4588 4686 SHLIB_SUFFIX=".sl" 4589 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&54687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 4590 4688 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4591 if test "${ac_cv_lib_dld_shl_load+set}" = set; then4689 if ${ac_cv_lib_dld_shl_load+:} false; then : 4592 4690 $as_echo_n "(cached) " >&6 4593 4691 else 4594 4692 ac_check_lib_save_LIBS=$LIBS 4595 4693 LIBS="-ldld $LIBS" 4596 cat >conftest.$ac_ext <<_ACEOF 4597 /* confdefs.h. */ 4598 _ACEOF 4599 cat confdefs.h >>conftest.$ac_ext 4600 cat >>conftest.$ac_ext <<_ACEOF 4694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4601 4695 /* end confdefs.h. */ 4602 4696 … … 4616 4710 } 4617 4711 _ACEOF 4618 rm -f conftest.$ac_objext conftest$ac_exeext 4619 if { (ac_try="$ac_link" 4620 case "(($ac_try" in 4621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4622 *) ac_try_echo=$ac_try;; 4623 esac 4624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4625 $as_echo "$ac_try_echo") >&5 4626 (eval "$ac_link") 2>conftest.er1 4627 ac_status=$? 4628 grep -v '^ *+' conftest.er1 >conftest.err 4629 rm -f conftest.er1 4630 cat conftest.err >&5 4631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4632 (exit $ac_status); } && { 4633 test -z "$ac_c_werror_flag" || 4634 test ! -s conftest.err 4635 } && test -s conftest$ac_exeext && { 4636 test "$cross_compiling" = yes || 4637 $as_test_x conftest$ac_exeext 4638 }; then 4712 if ac_fn_c_try_link "$LINENO"; then : 4639 4713 ac_cv_lib_dld_shl_load=yes 4640 4714 else 4641 $as_echo "$as_me: failed program was:" >&5 4642 sed 's/^/| /' conftest.$ac_ext >&5 4643 4644 ac_cv_lib_dld_shl_load=no 4645 fi 4646 4647 rm -rf conftest.dSYM 4648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4649 conftest$ac_exeext conftest.$ac_ext 4715 ac_cv_lib_dld_shl_load=no 4716 fi 4717 rm -f core conftest.err conftest.$ac_objext \ 4718 conftest$ac_exeext conftest.$ac_ext 4650 4719 LIBS=$ac_check_lib_save_LIBS 4651 4720 fi 4652 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&54721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 4653 4722 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4654 if test "x$ac_cv_lib_dld_shl_load" = x ""yes; then4723 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 4655 4724 tcl_ok=yes 4656 4725 else … … 4731 4800 if test "$do64bit" = "yes" ; then 4732 4801 if test "$GCC" = "yes" ; then 4733 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported by gcc" >&54802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 4734 4803 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 4735 4804 else … … 4760 4829 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4761 4830 else 4762 if test "${ac_cv_header_dld_h+set}" = set; then 4763 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4764 $as_echo_n "checking for dld.h... " >&6; } 4765 if test "${ac_cv_header_dld_h+set}" = set; then 4766 $as_echo_n "(cached) " >&6 4767 fi 4768 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4769 $as_echo "$ac_cv_header_dld_h" >&6; } 4770 else 4771 # Is the header compilable? 4772 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4773 $as_echo_n "checking dld.h usability... " >&6; } 4774 cat >conftest.$ac_ext <<_ACEOF 4775 /* confdefs.h. */ 4776 _ACEOF 4777 cat confdefs.h >>conftest.$ac_ext 4778 cat >>conftest.$ac_ext <<_ACEOF 4779 /* end confdefs.h. */ 4780 $ac_includes_default 4781 #include <dld.h> 4782 _ACEOF 4783 rm -f conftest.$ac_objext 4784 if { (ac_try="$ac_compile" 4785 case "(($ac_try" in 4786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4787 *) ac_try_echo=$ac_try;; 4788 esac 4789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4790 $as_echo "$ac_try_echo") >&5 4791 (eval "$ac_compile") 2>conftest.er1 4792 ac_status=$? 4793 grep -v '^ *+' conftest.er1 >conftest.err 4794 rm -f conftest.er1 4795 cat conftest.err >&5 4796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4797 (exit $ac_status); } && { 4798 test -z "$ac_c_werror_flag" || 4799 test ! -s conftest.err 4800 } && test -s conftest.$ac_objext; then 4801 ac_header_compiler=yes 4802 else 4803 $as_echo "$as_me: failed program was:" >&5 4804 sed 's/^/| /' conftest.$ac_ext >&5 4805 4806 ac_header_compiler=no 4807 fi 4808 4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4810 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4811 $as_echo "$ac_header_compiler" >&6; } 4812 4813 # Is the header present? 4814 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4815 $as_echo_n "checking dld.h presence... " >&6; } 4816 cat >conftest.$ac_ext <<_ACEOF 4817 /* confdefs.h. */ 4818 _ACEOF 4819 cat confdefs.h >>conftest.$ac_ext 4820 cat >>conftest.$ac_ext <<_ACEOF 4821 /* end confdefs.h. */ 4822 #include <dld.h> 4823 _ACEOF 4824 if { (ac_try="$ac_cpp conftest.$ac_ext" 4825 case "(($ac_try" in 4826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4827 *) ac_try_echo=$ac_try;; 4828 esac 4829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4830 $as_echo "$ac_try_echo") >&5 4831 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4832 ac_status=$? 4833 grep -v '^ *+' conftest.er1 >conftest.err 4834 rm -f conftest.er1 4835 cat conftest.err >&5 4836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4837 (exit $ac_status); } >/dev/null && { 4838 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4839 test ! -s conftest.err 4840 }; then 4841 ac_header_preproc=yes 4842 else 4843 $as_echo "$as_me: failed program was:" >&5 4844 sed 's/^/| /' conftest.$ac_ext >&5 4845 4846 ac_header_preproc=no 4847 fi 4848 4849 rm -f conftest.err conftest.$ac_ext 4850 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4851 $as_echo "$ac_header_preproc" >&6; } 4852 4853 # So? What about this header? 4854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4855 yes:no: ) 4856 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4857 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4858 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4859 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4860 ac_header_preproc=yes 4861 ;; 4862 no:yes:* ) 4863 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4864 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4865 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4866 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4867 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4868 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4869 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4870 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4871 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4872 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4873 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4874 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4875 ( cat <<\_ASBOX 4876 ## ----------------------------------- ## 4877 ## Report this to rappture@nanohub.org ## 4878 ## ----------------------------------- ## 4879 _ASBOX 4880 ) | sed "s/^/$as_me: WARNING: /" >&2 4881 ;; 4882 esac 4883 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4884 $as_echo_n "checking for dld.h... " >&6; } 4885 if test "${ac_cv_header_dld_h+set}" = set; then 4886 $as_echo_n "(cached) " >&6 4887 else 4888 ac_cv_header_dld_h=$ac_header_preproc 4889 fi 4890 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4891 $as_echo "$ac_cv_header_dld_h" >&6; } 4892 4893 fi 4894 if test "x$ac_cv_header_dld_h" = x""yes; then 4831 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4832 if test "x$ac_cv_header_dld_h" = xyes; then : 4895 4833 4896 4834 SHLIB_LD="ld -shared" … … 4907 4845 fi 4908 4846 if test $do64bit = yes; then 4909 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -m64 flag" >&54847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 4910 4848 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 4911 if test "${tcl_cv_cc_m64+set}" = set; then4849 if ${tcl_cv_cc_m64+:} false; then : 4912 4850 $as_echo_n "(cached) " >&6 4913 4851 else … … 4915 4853 hold_cflags=$CFLAGS 4916 4854 CFLAGS="$CFLAGS -m64" 4917 cat >conftest.$ac_ext <<_ACEOF 4918 /* confdefs.h. */ 4919 _ACEOF 4920 cat confdefs.h >>conftest.$ac_ext 4921 cat >>conftest.$ac_ext <<_ACEOF 4855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4922 4856 /* end confdefs.h. */ 4923 4857 … … 4930 4864 } 4931 4865 _ACEOF 4932 rm -f conftest.$ac_objext conftest$ac_exeext 4933 if { (ac_try="$ac_link" 4934 case "(($ac_try" in 4935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4936 *) ac_try_echo=$ac_try;; 4937 esac 4938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4939 $as_echo "$ac_try_echo") >&5 4940 (eval "$ac_link") 2>conftest.er1 4941 ac_status=$? 4942 grep -v '^ *+' conftest.er1 >conftest.err 4943 rm -f conftest.er1 4944 cat conftest.err >&5 4945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4946 (exit $ac_status); } && { 4947 test -z "$ac_c_werror_flag" || 4948 test ! -s conftest.err 4949 } && test -s conftest$ac_exeext && { 4950 test "$cross_compiling" = yes || 4951 $as_test_x conftest$ac_exeext 4952 }; then 4866 if ac_fn_c_try_link "$LINENO"; then : 4953 4867 tcl_cv_cc_m64=yes 4954 4868 else 4955 $as_echo "$as_me: failed program was:" >&5 4956 sed 's/^/| /' conftest.$ac_ext >&5 4957 4958 tcl_cv_cc_m64=no 4959 fi 4960 4961 rm -rf conftest.dSYM 4962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4963 conftest$ac_exeext conftest.$ac_ext 4869 tcl_cv_cc_m64=no 4870 fi 4871 rm -f core conftest.err conftest.$ac_objext \ 4872 conftest$ac_exeext conftest.$ac_ext 4964 4873 CFLAGS=$hold_cflags 4965 4874 fi 4966 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_m64" >&54875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 4967 4876 $as_echo "$tcl_cv_cc_m64" >&6; } 4968 4877 if test $tcl_cv_cc_m64 = yes; then … … 4984 4893 4985 4894 # XIM peeking works under XFree86. 4986 cat >>confdefs.h <<\_ACEOF 4987 #define PEEK_XCLOSEIM 1 4988 _ACEOF 4895 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 4989 4896 4990 4897 … … 5003 4910 LD_SEARCH_FLAGS="" 5004 4911 else 5005 if test "${ac_cv_header_dld_h+set}" = set; then 5006 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 5007 $as_echo_n "checking for dld.h... " >&6; } 5008 if test "${ac_cv_header_dld_h+set}" = set; then 5009 $as_echo_n "(cached) " >&6 5010 fi 5011 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 5012 $as_echo "$ac_cv_header_dld_h" >&6; } 5013 else 5014 # Is the header compilable? 5015 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 5016 $as_echo_n "checking dld.h usability... " >&6; } 5017 cat >conftest.$ac_ext <<_ACEOF 5018 /* confdefs.h. */ 5019 _ACEOF 5020 cat confdefs.h >>conftest.$ac_ext 5021 cat >>conftest.$ac_ext <<_ACEOF 5022 /* end confdefs.h. */ 5023 $ac_includes_default 5024 #include <dld.h> 5025 _ACEOF 5026 rm -f conftest.$ac_objext 5027 if { (ac_try="$ac_compile" 5028 case "(($ac_try" in 5029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5030 *) ac_try_echo=$ac_try;; 5031 esac 5032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5033 $as_echo "$ac_try_echo") >&5 5034 (eval "$ac_compile") 2>conftest.er1 5035 ac_status=$? 5036 grep -v '^ *+' conftest.er1 >conftest.err 5037 rm -f conftest.er1 5038 cat conftest.err >&5 5039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5040 (exit $ac_status); } && { 5041 test -z "$ac_c_werror_flag" || 5042 test ! -s conftest.err 5043 } && test -s conftest.$ac_objext; then 5044 ac_header_compiler=yes 5045 else 5046 $as_echo "$as_me: failed program was:" >&5 5047 sed 's/^/| /' conftest.$ac_ext >&5 5048 5049 ac_header_compiler=no 5050 fi 5051 5052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5053 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5054 $as_echo "$ac_header_compiler" >&6; } 5055 5056 # Is the header present? 5057 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 5058 $as_echo_n "checking dld.h presence... " >&6; } 5059 cat >conftest.$ac_ext <<_ACEOF 5060 /* confdefs.h. */ 5061 _ACEOF 5062 cat confdefs.h >>conftest.$ac_ext 5063 cat >>conftest.$ac_ext <<_ACEOF 5064 /* end confdefs.h. */ 5065 #include <dld.h> 5066 _ACEOF 5067 if { (ac_try="$ac_cpp conftest.$ac_ext" 5068 case "(($ac_try" in 5069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5070 *) ac_try_echo=$ac_try;; 5071 esac 5072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5073 $as_echo "$ac_try_echo") >&5 5074 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5075 ac_status=$? 5076 grep -v '^ *+' conftest.er1 >conftest.err 5077 rm -f conftest.er1 5078 cat conftest.err >&5 5079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5080 (exit $ac_status); } >/dev/null && { 5081 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5082 test ! -s conftest.err 5083 }; then 5084 ac_header_preproc=yes 5085 else 5086 $as_echo "$as_me: failed program was:" >&5 5087 sed 's/^/| /' conftest.$ac_ext >&5 5088 5089 ac_header_preproc=no 5090 fi 5091 5092 rm -f conftest.err conftest.$ac_ext 5093 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5094 $as_echo "$ac_header_preproc" >&6; } 5095 5096 # So? What about this header? 5097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5098 yes:no: ) 5099 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 5100 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5101 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 5102 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 5103 ac_header_preproc=yes 5104 ;; 5105 no:yes:* ) 5106 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 5107 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 5108 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 5109 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 5110 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 5111 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 5112 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 5113 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 5114 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 5115 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 5116 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 5117 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 5118 ( cat <<\_ASBOX 5119 ## ----------------------------------- ## 5120 ## Report this to rappture@nanohub.org ## 5121 ## ----------------------------------- ## 5122 _ASBOX 5123 ) | sed "s/^/$as_me: WARNING: /" >&2 5124 ;; 5125 esac 5126 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 5127 $as_echo_n "checking for dld.h... " >&6; } 5128 if test "${ac_cv_header_dld_h+set}" = set; then 5129 $as_echo_n "(cached) " >&6 5130 else 5131 ac_cv_header_dld_h=$ac_header_preproc 5132 fi 5133 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 5134 $as_echo "$ac_cv_header_dld_h" >&6; } 5135 5136 fi 5137 if test "x$ac_cv_header_dld_h" = x""yes; then 4912 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4913 if test "x$ac_cv_header_dld_h" = xyes; then : 5138 4914 5139 4915 SHLIB_LD="ld -shared" … … 5185 4961 NetBSD-*|FreeBSD-[1-2].*) 5186 4962 # Not available on all versions: check for include file. 5187 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5188 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 5189 $as_echo_n "checking for dlfcn.h... " >&6; } 5190 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5191 $as_echo_n "(cached) " >&6 5192 fi 5193 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 5194 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 5195 else 5196 # Is the header compilable? 5197 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 5198 $as_echo_n "checking dlfcn.h usability... " >&6; } 5199 cat >conftest.$ac_ext <<_ACEOF 5200 /* confdefs.h. */ 5201 _ACEOF 5202 cat confdefs.h >>conftest.$ac_ext 5203 cat >>conftest.$ac_ext <<_ACEOF 5204 /* end confdefs.h. */ 5205 $ac_includes_default 5206 #include <dlfcn.h> 5207 _ACEOF 5208 rm -f conftest.$ac_objext 5209 if { (ac_try="$ac_compile" 5210 case "(($ac_try" in 5211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5212 *) ac_try_echo=$ac_try;; 5213 esac 5214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5215 $as_echo "$ac_try_echo") >&5 5216 (eval "$ac_compile") 2>conftest.er1 5217 ac_status=$? 5218 grep -v '^ *+' conftest.er1 >conftest.err 5219 rm -f conftest.er1 5220 cat conftest.err >&5 5221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5222 (exit $ac_status); } && { 5223 test -z "$ac_c_werror_flag" || 5224 test ! -s conftest.err 5225 } && test -s conftest.$ac_objext; then 5226 ac_header_compiler=yes 5227 else 5228 $as_echo "$as_me: failed program was:" >&5 5229 sed 's/^/| /' conftest.$ac_ext >&5 5230 5231 ac_header_compiler=no 5232 fi 5233 5234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5235 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5236 $as_echo "$ac_header_compiler" >&6; } 5237 5238 # Is the header present? 5239 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 5240 $as_echo_n "checking dlfcn.h presence... " >&6; } 5241 cat >conftest.$ac_ext <<_ACEOF 5242 /* confdefs.h. */ 5243 _ACEOF 5244 cat confdefs.h >>conftest.$ac_ext 5245 cat >>conftest.$ac_ext <<_ACEOF 5246 /* end confdefs.h. */ 5247 #include <dlfcn.h> 5248 _ACEOF 5249 if { (ac_try="$ac_cpp conftest.$ac_ext" 5250 case "(($ac_try" in 5251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5252 *) ac_try_echo=$ac_try;; 5253 esac 5254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5255 $as_echo "$ac_try_echo") >&5 5256 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5257 ac_status=$? 5258 grep -v '^ *+' conftest.er1 >conftest.err 5259 rm -f conftest.er1 5260 cat conftest.err >&5 5261 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5262 (exit $ac_status); } >/dev/null && { 5263 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5264 test ! -s conftest.err 5265 }; then 5266 ac_header_preproc=yes 5267 else 5268 $as_echo "$as_me: failed program was:" >&5 5269 sed 's/^/| /' conftest.$ac_ext >&5 5270 5271 ac_header_preproc=no 5272 fi 5273 5274 rm -f conftest.err conftest.$ac_ext 5275 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5276 $as_echo "$ac_header_preproc" >&6; } 5277 5278 # So? What about this header? 5279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5280 yes:no: ) 5281 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 5282 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5283 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 5284 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 5285 ac_header_preproc=yes 5286 ;; 5287 no:yes:* ) 5288 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 5289 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 5290 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 5291 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 5292 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 5293 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 5294 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 5295 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 5296 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 5297 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 5298 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 5299 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 5300 ( cat <<\_ASBOX 5301 ## ----------------------------------- ## 5302 ## Report this to rappture@nanohub.org ## 5303 ## ----------------------------------- ## 5304 _ASBOX 5305 ) | sed "s/^/$as_me: WARNING: /" >&2 5306 ;; 5307 esac 5308 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 5309 $as_echo_n "checking for dlfcn.h... " >&6; } 5310 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5311 $as_echo_n "(cached) " >&6 5312 else 5313 ac_cv_header_dlfcn_h=$ac_header_preproc 5314 fi 5315 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 5316 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 5317 5318 fi 5319 if test "x$ac_cv_header_dlfcn_h" = x""yes; then 4963 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 4964 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 5320 4965 5321 4966 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 5328 4973 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 5329 4974 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 5330 { $as_echo "$as_me:$ LINENO: checking for ELF" >&54975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 5331 4976 $as_echo_n "checking for ELF... " >&6; } 5332 if test "${tcl_cv_ld_elf+set}" = set; then4977 if ${tcl_cv_ld_elf+:} false; then : 5333 4978 $as_echo_n "(cached) " >&6 5334 4979 else 5335 4980 5336 cat >conftest.$ac_ext <<_ACEOF 5337 /* confdefs.h. */ 5338 _ACEOF 5339 cat confdefs.h >>conftest.$ac_ext 5340 cat >>conftest.$ac_ext <<_ACEOF 4981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5341 4982 /* end confdefs.h. */ 5342 4983 … … 5347 4988 _ACEOF 5348 4989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5349 $EGREP "yes" >/dev/null 2>&1; then 4990 $EGREP "yes" >/dev/null 2>&1; then : 5350 4991 tcl_cv_ld_elf=yes 5351 4992 else … … 5355 4996 5356 4997 fi 5357 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&54998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 5358 4999 $as_echo "$tcl_cv_ld_elf" >&6; } 5359 5000 if test $tcl_cv_ld_elf = yes; then … … 5414 5055 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5415 5056 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 5416 { $as_echo "$as_me:$ LINENO: checking for ELF" >&55057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 5417 5058 $as_echo_n "checking for ELF... " >&6; } 5418 if test "${tcl_cv_ld_elf+set}" = set; then5059 if ${tcl_cv_ld_elf+:} false; then : 5419 5060 $as_echo_n "(cached) " >&6 5420 5061 else 5421 5062 5422 cat >conftest.$ac_ext <<_ACEOF 5423 /* confdefs.h. */ 5424 _ACEOF 5425 cat confdefs.h >>conftest.$ac_ext 5426 cat >>conftest.$ac_ext <<_ACEOF 5063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5427 5064 /* end confdefs.h. */ 5428 5065 … … 5433 5070 _ACEOF 5434 5071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5435 $EGREP "yes" >/dev/null 2>&1; then 5072 $EGREP "yes" >/dev/null 2>&1; then : 5436 5073 tcl_cv_ld_elf=yes 5437 5074 else … … 5441 5078 5442 5079 fi 5443 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&55080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 5444 5081 $as_echo "$tcl_cv_ld_elf" >&6; } 5445 5082 if test $tcl_cv_ld_elf = yes; then … … 5496 5133 case `arch` in 5497 5134 ppc) 5498 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -arch ppc64 flag" >&55135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 5499 5136 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 5500 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then5137 if ${tcl_cv_cc_arch_ppc64+:} false; then : 5501 5138 $as_echo_n "(cached) " >&6 5502 5139 else … … 5504 5141 hold_cflags=$CFLAGS 5505 5142 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 5506 cat >conftest.$ac_ext <<_ACEOF 5507 /* confdefs.h. */ 5508 _ACEOF 5509 cat confdefs.h >>conftest.$ac_ext 5510 cat >>conftest.$ac_ext <<_ACEOF 5143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5511 5144 /* end confdefs.h. */ 5512 5145 … … 5519 5152 } 5520 5153 _ACEOF 5521 rm -f conftest.$ac_objext conftest$ac_exeext 5522 if { (ac_try="$ac_link" 5523 case "(($ac_try" in 5524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5525 *) ac_try_echo=$ac_try;; 5526 esac 5527 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5528 $as_echo "$ac_try_echo") >&5 5529 (eval "$ac_link") 2>conftest.er1 5530 ac_status=$? 5531 grep -v '^ *+' conftest.er1 >conftest.err 5532 rm -f conftest.er1 5533 cat conftest.err >&5 5534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5535 (exit $ac_status); } && { 5536 test -z "$ac_c_werror_flag" || 5537 test ! -s conftest.err 5538 } && test -s conftest$ac_exeext && { 5539 test "$cross_compiling" = yes || 5540 $as_test_x conftest$ac_exeext 5541 }; then 5154 if ac_fn_c_try_link "$LINENO"; then : 5542 5155 tcl_cv_cc_arch_ppc64=yes 5543 5156 else 5544 $as_echo "$as_me: failed program was:" >&5 5545 sed 's/^/| /' conftest.$ac_ext >&5 5546 5547 tcl_cv_cc_arch_ppc64=no 5548 fi 5549 5550 rm -rf conftest.dSYM 5551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5552 conftest$ac_exeext conftest.$ac_ext 5157 tcl_cv_cc_arch_ppc64=no 5158 fi 5159 rm -f core conftest.err conftest.$ac_objext \ 5160 conftest$ac_exeext conftest.$ac_ext 5553 5161 CFLAGS=$hold_cflags 5554 5162 fi 5555 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_arch_ppc64" >&55163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 5556 5164 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 5557 5165 if test $tcl_cv_cc_arch_ppc64 = yes; then … … 5560 5168 fi;; 5561 5169 i386) 5562 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -arch x86_64 flag" >&55170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 5563 5171 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 5564 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then5172 if ${tcl_cv_cc_arch_x86_64+:} false; then : 5565 5173 $as_echo_n "(cached) " >&6 5566 5174 else … … 5568 5176 hold_cflags=$CFLAGS 5569 5177 CFLAGS="$CFLAGS -arch x86_64" 5570 cat >conftest.$ac_ext <<_ACEOF 5571 /* confdefs.h. */ 5572 _ACEOF 5573 cat confdefs.h >>conftest.$ac_ext 5574 cat >>conftest.$ac_ext <<_ACEOF 5178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5575 5179 /* end confdefs.h. */ 5576 5180 … … 5583 5187 } 5584 5188 _ACEOF 5585 rm -f conftest.$ac_objext conftest$ac_exeext 5586 if { (ac_try="$ac_link" 5587 case "(($ac_try" in 5588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5589 *) ac_try_echo=$ac_try;; 5590 esac 5591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5592 $as_echo "$ac_try_echo") >&5 5593 (eval "$ac_link") 2>conftest.er1 5594 ac_status=$? 5595 grep -v '^ *+' conftest.er1 >conftest.err 5596 rm -f conftest.er1 5597 cat conftest.err >&5 5598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5599 (exit $ac_status); } && { 5600 test -z "$ac_c_werror_flag" || 5601 test ! -s conftest.err 5602 } && test -s conftest$ac_exeext && { 5603 test "$cross_compiling" = yes || 5604 $as_test_x conftest$ac_exeext 5605 }; then 5189 if ac_fn_c_try_link "$LINENO"; then : 5606 5190 tcl_cv_cc_arch_x86_64=yes 5607 5191 else 5608 $as_echo "$as_me: failed program was:" >&5 5609 sed 's/^/| /' conftest.$ac_ext >&5 5610 5611 tcl_cv_cc_arch_x86_64=no 5612 fi 5613 5614 rm -rf conftest.dSYM 5615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5616 conftest$ac_exeext conftest.$ac_ext 5192 tcl_cv_cc_arch_x86_64=no 5193 fi 5194 rm -f core conftest.err conftest.$ac_objext \ 5195 conftest$ac_exeext conftest.$ac_ext 5617 5196 CFLAGS=$hold_cflags 5618 5197 fi 5619 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_arch_x86_64" >&55198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 5620 5199 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 5621 5200 if test $tcl_cv_cc_arch_x86_64 = yes; then … … 5624 5203 fi;; 5625 5204 *) 5626 { $as_echo "$as_me:$ LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&55205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 5627 5206 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 5628 5207 esac … … 5634 5213 fi 5635 5214 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 5636 { $as_echo "$as_me:$ LINENO: checking if ld accepts -single_module flag" >&55215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 5637 5216 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 5638 if test "${tcl_cv_ld_single_module+set}" = set; then5217 if ${tcl_cv_ld_single_module+:} false; then : 5639 5218 $as_echo_n "(cached) " >&6 5640 5219 else … … 5642 5221 hold_ldflags=$LDFLAGS 5643 5222 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 5644 cat >conftest.$ac_ext <<_ACEOF 5645 /* confdefs.h. */ 5646 _ACEOF 5647 cat confdefs.h >>conftest.$ac_ext 5648 cat >>conftest.$ac_ext <<_ACEOF 5223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5649 5224 /* end confdefs.h. */ 5650 5225 … … 5657 5232 } 5658 5233 _ACEOF 5659 rm -f conftest.$ac_objext conftest$ac_exeext 5660 if { (ac_try="$ac_link" 5661 case "(($ac_try" in 5662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5663 *) ac_try_echo=$ac_try;; 5664 esac 5665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5666 $as_echo "$ac_try_echo") >&5 5667 (eval "$ac_link") 2>conftest.er1 5668 ac_status=$? 5669 grep -v '^ *+' conftest.er1 >conftest.err 5670 rm -f conftest.er1 5671 cat conftest.err >&5 5672 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5673 (exit $ac_status); } && { 5674 test -z "$ac_c_werror_flag" || 5675 test ! -s conftest.err 5676 } && test -s conftest$ac_exeext && { 5677 test "$cross_compiling" = yes || 5678 $as_test_x conftest$ac_exeext 5679 }; then 5234 if ac_fn_c_try_link "$LINENO"; then : 5680 5235 tcl_cv_ld_single_module=yes 5681 5236 else 5682 $as_echo "$as_me: failed program was:" >&5 5683 sed 's/^/| /' conftest.$ac_ext >&5 5684 5685 tcl_cv_ld_single_module=no 5686 fi 5687 5688 rm -rf conftest.dSYM 5689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5690 conftest$ac_exeext conftest.$ac_ext 5237 tcl_cv_ld_single_module=no 5238 fi 5239 rm -f core conftest.err conftest.$ac_objext \ 5240 conftest$ac_exeext conftest.$ac_ext 5691 5241 LDFLAGS=$hold_ldflags 5692 5242 fi 5693 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_single_module" >&55243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 5694 5244 $as_echo "$tcl_cv_ld_single_module" >&6; } 5695 5245 if test $tcl_cv_ld_single_module = yes; then … … 5705 5255 LDFLAGS="$LDFLAGS -prebind" 5706 5256 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 5707 { $as_echo "$as_me:$ LINENO: checking if ld accepts -search_paths_first flag" >&55257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 5708 5258 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 5709 if test "${tcl_cv_ld_search_paths_first+set}" = set; then5259 if ${tcl_cv_ld_search_paths_first+:} false; then : 5710 5260 $as_echo_n "(cached) " >&6 5711 5261 else … … 5713 5263 hold_ldflags=$LDFLAGS 5714 5264 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5715 cat >conftest.$ac_ext <<_ACEOF 5716 /* confdefs.h. */ 5717 _ACEOF 5718 cat confdefs.h >>conftest.$ac_ext 5719 cat >>conftest.$ac_ext <<_ACEOF 5265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5720 5266 /* end confdefs.h. */ 5721 5267 … … 5728 5274 } 5729 5275 _ACEOF 5730 rm -f conftest.$ac_objext conftest$ac_exeext 5731 if { (ac_try="$ac_link" 5732 case "(($ac_try" in 5733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5734 *) ac_try_echo=$ac_try;; 5735 esac 5736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5737 $as_echo "$ac_try_echo") >&5 5738 (eval "$ac_link") 2>conftest.er1 5739 ac_status=$? 5740 grep -v '^ *+' conftest.er1 >conftest.err 5741 rm -f conftest.er1 5742 cat conftest.err >&5 5743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5744 (exit $ac_status); } && { 5745 test -z "$ac_c_werror_flag" || 5746 test ! -s conftest.err 5747 } && test -s conftest$ac_exeext && { 5748 test "$cross_compiling" = yes || 5749 $as_test_x conftest$ac_exeext 5750 }; then 5276 if ac_fn_c_try_link "$LINENO"; then : 5751 5277 tcl_cv_ld_search_paths_first=yes 5752 5278 else 5753 $as_echo "$as_me: failed program was:" >&5 5754 sed 's/^/| /' conftest.$ac_ext >&5 5755 5756 tcl_cv_ld_search_paths_first=no 5757 fi 5758 5759 rm -rf conftest.dSYM 5760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5761 conftest$ac_exeext conftest.$ac_ext 5279 tcl_cv_ld_search_paths_first=no 5280 fi 5281 rm -f core conftest.err conftest.$ac_objext \ 5282 conftest$ac_exeext conftest.$ac_ext 5762 5283 LDFLAGS=$hold_ldflags 5763 5284 fi 5764 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_search_paths_first" >&55285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 5765 5286 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 5766 5287 if test $tcl_cv_ld_search_paths_first = yes; then … … 5772 5293 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 5773 5294 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 5774 { $as_echo "$as_me:$ LINENO: checking whether to use CoreFoundation" >&55295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5 5775 5296 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 5776 5297 # Check whether --enable-corefoundation was given. 5777 if test "${enable_corefoundation+set}" = set; then 5298 if test "${enable_corefoundation+set}" = set; then : 5778 5299 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 5779 5300 else … … 5781 5302 fi 5782 5303 5783 { $as_echo "$as_me:$ LINENO: result: $tcl_corefoundation" >&55304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5 5784 5305 $as_echo "$tcl_corefoundation" >&6; } 5785 5306 if test $tcl_corefoundation = yes; then 5786 { $as_echo "$as_me:$ LINENO: checking for CoreFoundation.framework" >&55307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 5787 5308 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 5788 if test "${tcl_cv_lib_corefoundation+set}" = set; then5309 if ${tcl_cv_lib_corefoundation+:} false; then : 5789 5310 $as_echo_n "(cached) " >&6 5790 5311 else … … 5798 5319 done; fi 5799 5320 LIBS="$LIBS -framework CoreFoundation" 5800 cat >conftest.$ac_ext <<_ACEOF 5801 /* confdefs.h. */ 5802 _ACEOF 5803 cat confdefs.h >>conftest.$ac_ext 5804 cat >>conftest.$ac_ext <<_ACEOF 5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5805 5322 /* end confdefs.h. */ 5806 5323 #include <CoreFoundation/CoreFoundation.h> … … 5813 5330 } 5814 5331 _ACEOF 5815 rm -f conftest.$ac_objext conftest$ac_exeext 5816 if { (ac_try="$ac_link" 5817 case "(($ac_try" in 5818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5819 *) ac_try_echo=$ac_try;; 5820 esac 5821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5822 $as_echo "$ac_try_echo") >&5 5823 (eval "$ac_link") 2>conftest.er1 5824 ac_status=$? 5825 grep -v '^ *+' conftest.er1 >conftest.err 5826 rm -f conftest.er1 5827 cat conftest.err >&5 5828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5829 (exit $ac_status); } && { 5830 test -z "$ac_c_werror_flag" || 5831 test ! -s conftest.err 5832 } && test -s conftest$ac_exeext && { 5833 test "$cross_compiling" = yes || 5834 $as_test_x conftest$ac_exeext 5835 }; then 5332 if ac_fn_c_try_link "$LINENO"; then : 5836 5333 tcl_cv_lib_corefoundation=yes 5837 5334 else 5838 $as_echo "$as_me: failed program was:" >&5 5839 sed 's/^/| /' conftest.$ac_ext >&5 5840 5841 tcl_cv_lib_corefoundation=no 5842 fi 5843 5844 rm -rf conftest.dSYM 5845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5846 conftest$ac_exeext conftest.$ac_ext 5335 tcl_cv_lib_corefoundation=no 5336 fi 5337 rm -f core conftest.err conftest.$ac_objext \ 5338 conftest$ac_exeext conftest.$ac_ext 5847 5339 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 5848 5340 eval $v'="$hold_'$v'"' 5849 5341 done; fi; LIBS=$hold_libs 5850 5342 fi 5851 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_lib_corefoundation" >&55343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5 5852 5344 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 5853 5345 if test $tcl_cv_lib_corefoundation = yes; then 5854 5346 LIBS="$LIBS -framework CoreFoundation" 5855 cat >>confdefs.h <<\_ACEOF 5856 #define HAVE_COREFOUNDATION 1 5857 _ACEOF 5347 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 5858 5348 5859 5349 else … … 5861 5351 fi 5862 5352 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 5863 { $as_echo "$as_me:$ LINENO: checking for 64-bit CoreFoundation" >&55353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 5864 5354 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 5865 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then5355 if ${tcl_cv_lib_corefoundation_64+:} false; then : 5866 5356 $as_echo_n "(cached) " >&6 5867 5357 else … … 5870 5360 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 5871 5361 done 5872 cat >conftest.$ac_ext <<_ACEOF 5873 /* confdefs.h. */ 5874 _ACEOF 5875 cat confdefs.h >>conftest.$ac_ext 5876 cat >>conftest.$ac_ext <<_ACEOF 5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5877 5363 /* end confdefs.h. */ 5878 5364 #include <CoreFoundation/CoreFoundation.h> … … 5885 5371 } 5886 5372 _ACEOF 5887 rm -f conftest.$ac_objext conftest$ac_exeext 5888 if { (ac_try="$ac_link" 5889 case "(($ac_try" in 5890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5891 *) ac_try_echo=$ac_try;; 5892 esac 5893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5894 $as_echo "$ac_try_echo") >&5 5895 (eval "$ac_link") 2>conftest.er1 5896 ac_status=$? 5897 grep -v '^ *+' conftest.er1 >conftest.err 5898 rm -f conftest.er1 5899 cat conftest.err >&5 5900 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5901 (exit $ac_status); } && { 5902 test -z "$ac_c_werror_flag" || 5903 test ! -s conftest.err 5904 } && test -s conftest$ac_exeext && { 5905 test "$cross_compiling" = yes || 5906 $as_test_x conftest$ac_exeext 5907 }; then 5373 if ac_fn_c_try_link "$LINENO"; then : 5908 5374 tcl_cv_lib_corefoundation_64=yes 5909 5375 else 5910 $as_echo "$as_me: failed program was:" >&5 5911 sed 's/^/| /' conftest.$ac_ext >&5 5912 5913 tcl_cv_lib_corefoundation_64=no 5914 fi 5915 5916 rm -rf conftest.dSYM 5917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5918 conftest$ac_exeext conftest.$ac_ext 5376 tcl_cv_lib_corefoundation_64=no 5377 fi 5378 rm -f core conftest.err conftest.$ac_objext \ 5379 conftest$ac_exeext conftest.$ac_ext 5919 5380 for v in CFLAGS CPPFLAGS LDFLAGS; do 5920 5381 eval $v'="$hold_'$v'"' 5921 5382 done 5922 5383 fi 5923 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_lib_corefoundation_64" >&55384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5 5924 5385 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 5925 5386 if test $tcl_cv_lib_corefoundation_64 = no; then 5926 cat >>confdefs.h <<\_ACEOF 5927 #define NO_COREFOUNDATION_64 1 5928 _ACEOF 5387 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 5929 5388 5930 5389 fi 5931 5390 fi 5932 5391 fi 5933 cat >>confdefs.h <<\_ACEOF 5934 #define MAC_OSX_TCL 1 5935 _ACEOF 5392 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 5936 5393 5937 5394 ;; … … 5948 5405 OS/390-*) 5949 5406 CFLAGS_OPTIMIZE="" # Optimizer is buggy 5950 cat >>confdefs.h <<\_ACEOF 5951 #define _OE_SOCKETS 1 5952 _ACEOF 5407 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 5953 5408 # needed in sys/socket.h 5954 5409 ;; … … 6091 5546 # won't define thread-safe library routines. 6092 5547 6093 cat >>confdefs.h <<\_ACEOF 6094 #define _REENTRANT 1 6095 _ACEOF 6096 6097 cat >>confdefs.h <<\_ACEOF 6098 #define _POSIX_PTHREAD_SEMANTICS 1 6099 _ACEOF 5548 $as_echo "#define _REENTRANT 1" >>confdefs.h 5549 5550 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 6100 5551 6101 5552 … … 6123 5574 # won't define thread-safe library routines. 6124 5575 6125 cat >>confdefs.h <<\_ACEOF 6126 #define _REENTRANT 1 6127 _ACEOF 6128 6129 cat >>confdefs.h <<\_ACEOF 6130 #define _POSIX_PTHREAD_SEMANTICS 1 6131 _ACEOF 5576 $as_echo "#define _REENTRANT 1" >>confdefs.h 5577 5578 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 6132 5579 6133 5580 … … 6140 5587 if test "$GCC" = "yes" ; then 6141 5588 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 6142 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&55589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 6143 5590 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 6144 5591 else … … 6162 5609 elif test "$arch" = "amd64 i386" ; then 6163 5610 if test "$GCC" = "yes" ; then 6164 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&55611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 6165 5612 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 6166 5613 else … … 6170 5617 fi 6171 5618 else 6172 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported for $arch" >&55619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 6173 5620 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 6174 5621 fi … … 6229 5676 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 6230 5677 # that don't grok the -Bexport option. Test that it does. 6231 { $as_echo "$as_me:$ LINENO: checking for ld accepts -Bexport flag" >&55678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 6232 5679 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 6233 if test "${tcl_cv_ld_Bexport+set}" = set; then5680 if ${tcl_cv_ld_Bexport+:} false; then : 6234 5681 $as_echo_n "(cached) " >&6 6235 5682 else … … 6237 5684 hold_ldflags=$LDFLAGS 6238 5685 LDFLAGS="$LDFLAGS -Wl,-Bexport" 6239 cat >conftest.$ac_ext <<_ACEOF 6240 /* confdefs.h. */ 6241 _ACEOF 6242 cat confdefs.h >>conftest.$ac_ext 6243 cat >>conftest.$ac_ext <<_ACEOF 5686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6244 5687 /* end confdefs.h. */ 6245 5688 … … 6252 5695 } 6253 5696 _ACEOF 6254 rm -f conftest.$ac_objext conftest$ac_exeext 6255 if { (ac_try="$ac_link" 6256 case "(($ac_try" in 6257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6258 *) ac_try_echo=$ac_try;; 6259 esac 6260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6261 $as_echo "$ac_try_echo") >&5 6262 (eval "$ac_link") 2>conftest.er1 6263 ac_status=$? 6264 grep -v '^ *+' conftest.er1 >conftest.err 6265 rm -f conftest.er1 6266 cat conftest.err >&5 6267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6268 (exit $ac_status); } && { 6269 test -z "$ac_c_werror_flag" || 6270 test ! -s conftest.err 6271 } && test -s conftest$ac_exeext && { 6272 test "$cross_compiling" = yes || 6273 $as_test_x conftest$ac_exeext 6274 }; then 5697 if ac_fn_c_try_link "$LINENO"; then : 6275 5698 tcl_cv_ld_Bexport=yes 6276 5699 else 6277 $as_echo "$as_me: failed program was:" >&5 6278 sed 's/^/| /' conftest.$ac_ext >&5 6279 6280 tcl_cv_ld_Bexport=no 6281 fi 6282 6283 rm -rf conftest.dSYM 6284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6285 conftest$ac_exeext conftest.$ac_ext 5700 tcl_cv_ld_Bexport=no 5701 fi 5702 rm -f core conftest.err conftest.$ac_objext \ 5703 conftest$ac_exeext conftest.$ac_ext 6286 5704 LDFLAGS=$hold_ldflags 6287 5705 fi 6288 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_Bexport" >&55706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 6289 5707 $as_echo "$tcl_cv_ld_Bexport" >&6; } 6290 5708 if test $tcl_cv_ld_Bexport = yes; then … … 6297 5715 6298 5716 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 6299 { $as_echo "$as_me:$ LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&55717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 6300 5718 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 6301 5719 fi … … 6324 5742 6325 5743 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 6326 { $as_echo "$as_me:$ LINENO: checking sys/exec.h" >&55744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 6327 5745 $as_echo_n "checking sys/exec.h... " >&6; } 6328 if test "${tcl_cv_sysexec_h+set}" = set; then5746 if ${tcl_cv_sysexec_h+:} false; then : 6329 5747 $as_echo_n "(cached) " >&6 6330 5748 else 6331 5749 6332 cat >conftest.$ac_ext <<_ACEOF 6333 /* confdefs.h. */ 6334 _ACEOF 6335 cat confdefs.h >>conftest.$ac_ext 6336 cat >>conftest.$ac_ext <<_ACEOF 5750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6337 5751 /* end confdefs.h. */ 6338 5752 #include <sys/exec.h> … … 6356 5770 } 6357 5771 _ACEOF 6358 rm -f conftest.$ac_objext 6359 if { (ac_try="$ac_compile" 6360 case "(($ac_try" in 6361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6362 *) ac_try_echo=$ac_try;; 6363 esac 6364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6365 $as_echo "$ac_try_echo") >&5 6366 (eval "$ac_compile") 2>conftest.er1 6367 ac_status=$? 6368 grep -v '^ *+' conftest.er1 >conftest.err 6369 rm -f conftest.er1 6370 cat conftest.err >&5 6371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6372 (exit $ac_status); } && { 6373 test -z "$ac_c_werror_flag" || 6374 test ! -s conftest.err 6375 } && test -s conftest.$ac_objext; then 5772 if ac_fn_c_try_compile "$LINENO"; then : 6376 5773 tcl_cv_sysexec_h=usable 6377 5774 else 6378 $as_echo "$as_me: failed program was:" >&5 6379 sed 's/^/| /' conftest.$ac_ext >&5 6380 6381 tcl_cv_sysexec_h=unusable 6382 fi 6383 5775 tcl_cv_sysexec_h=unusable 5776 fi 6384 5777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6385 5778 fi 6386 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sysexec_h" >&55779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5 6387 5780 $as_echo "$tcl_cv_sysexec_h" >&6; } 6388 5781 if test $tcl_cv_sysexec_h = usable; then 6389 cat >>confdefs.h <<\_ACEOF 6390 #define USE_SYS_EXEC_H 1 6391 _ACEOF 5782 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 6392 5783 6393 5784 else 6394 { $as_echo "$as_me:$ LINENO: checking a.out.h" >&55785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 6395 5786 $as_echo_n "checking a.out.h... " >&6; } 6396 if test "${tcl_cv_aout_h+set}" = set; then5787 if ${tcl_cv_aout_h+:} false; then : 6397 5788 $as_echo_n "(cached) " >&6 6398 5789 else 6399 5790 6400 cat >conftest.$ac_ext <<_ACEOF 6401 /* confdefs.h. */ 6402 _ACEOF 6403 cat confdefs.h >>conftest.$ac_ext 6404 cat >>conftest.$ac_ext <<_ACEOF 5791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6405 5792 /* end confdefs.h. */ 6406 5793 #include <a.out.h> … … 6424 5811 } 6425 5812 _ACEOF 6426 rm -f conftest.$ac_objext 6427 if { (ac_try="$ac_compile" 6428 case "(($ac_try" in 6429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6430 *) ac_try_echo=$ac_try;; 6431 esac 6432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6433 $as_echo "$ac_try_echo") >&5 6434 (eval "$ac_compile") 2>conftest.er1 6435 ac_status=$? 6436 grep -v '^ *+' conftest.er1 >conftest.err 6437 rm -f conftest.er1 6438 cat conftest.err >&5 6439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6440 (exit $ac_status); } && { 6441 test -z "$ac_c_werror_flag" || 6442 test ! -s conftest.err 6443 } && test -s conftest.$ac_objext; then 5813 if ac_fn_c_try_compile "$LINENO"; then : 6444 5814 tcl_cv_aout_h=usable 6445 5815 else 6446 $as_echo "$as_me: failed program was:" >&5 6447 sed 's/^/| /' conftest.$ac_ext >&5 6448 6449 tcl_cv_aout_h=unusable 6450 fi 6451 5816 tcl_cv_aout_h=unusable 5817 fi 6452 5818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6453 5819 fi 6454 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_aout_h" >&55820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5 6455 5821 $as_echo "$tcl_cv_aout_h" >&6; } 6456 5822 if test $tcl_cv_aout_h = usable; then 6457 cat >>confdefs.h <<\_ACEOF 6458 #define USE_A_OUT_H 1 6459 _ACEOF 5823 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 6460 5824 6461 5825 else 6462 { $as_echo "$as_me:$ LINENO: checking sys/exec_aout.h" >&55826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 6463 5827 $as_echo_n "checking sys/exec_aout.h... " >&6; } 6464 if test "${tcl_cv_sysexecaout_h+set}" = set; then5828 if ${tcl_cv_sysexecaout_h+:} false; then : 6465 5829 $as_echo_n "(cached) " >&6 6466 5830 else 6467 5831 6468 cat >conftest.$ac_ext <<_ACEOF 6469 /* confdefs.h. */ 6470 _ACEOF 6471 cat confdefs.h >>conftest.$ac_ext 6472 cat >>conftest.$ac_ext <<_ACEOF 5832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6473 5833 /* end confdefs.h. */ 6474 5834 #include <sys/exec_aout.h> … … 6492 5852 } 6493 5853 _ACEOF 6494 rm -f conftest.$ac_objext 6495 if { (ac_try="$ac_compile" 6496 case "(($ac_try" in 6497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6498 *) ac_try_echo=$ac_try;; 6499 esac 6500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6501 $as_echo "$ac_try_echo") >&5 6502 (eval "$ac_compile") 2>conftest.er1 6503 ac_status=$? 6504 grep -v '^ *+' conftest.er1 >conftest.err 6505 rm -f conftest.er1 6506 cat conftest.err >&5 6507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6508 (exit $ac_status); } && { 6509 test -z "$ac_c_werror_flag" || 6510 test ! -s conftest.err 6511 } && test -s conftest.$ac_objext; then 5854 if ac_fn_c_try_compile "$LINENO"; then : 6512 5855 tcl_cv_sysexecaout_h=usable 6513 5856 else 6514 $as_echo "$as_me: failed program was:" >&5 6515 sed 's/^/| /' conftest.$ac_ext >&5 6516 6517 tcl_cv_sysexecaout_h=unusable 6518 fi 6519 5857 tcl_cv_sysexecaout_h=unusable 5858 fi 6520 5859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6521 5860 fi 6522 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sysexecaout_h" >&55861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5 6523 5862 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 6524 5863 if test $tcl_cv_sysexecaout_h = usable; then 6525 cat >>confdefs.h <<\_ACEOF 6526 #define USE_SYS_EXEC_AOUT_H 1 6527 _ACEOF 5864 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 6528 5865 6529 5866 else … … 6537 5874 6538 5875 # Check whether --enable-load was given. 6539 if test "${enable_load+set}" = set; then 5876 if test "${enable_load+set}" = set; then : 6540 5877 enableval=$enable_load; tcl_ok=$enableval 6541 5878 else … … 6660 5997 6661 5998 6662 { $as_echo "$as_me:$ LINENO: checking for X" >&55999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 6663 6000 $as_echo_n "checking for X... " >&6; } 6664 6001 6665 6002 6666 6003 # Check whether --with-x was given. 6667 if test "${with_x+set}" = set; then 6004 if test "${with_x+set}" = set; then : 6668 6005 withval=$with_x; 6669 6006 fi … … 6675 6012 else 6676 6013 case $x_includes,$x_libraries in #( 6677 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5 6678 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;} 6679 { (exit 1); exit 1; }; };; #( 6680 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 6014 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 6015 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 6681 6016 $as_echo_n "(cached) " >&6 6682 6017 else … … 6695 6030 _ACEOF 6696 6031 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 6697 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.6032 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 6698 6033 for ac_var in incroot usrlibdir libdir; do 6699 6034 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" … … 6726 6061 ac_x_header_dirs=' 6727 6062 /usr/X11/include 6063 /usr/X11R7/include 6728 6064 /usr/X11R6/include 6729 6065 /usr/X11R5/include … … 6731 6067 6732 6068 /usr/include/X11 6069 /usr/include/X11R7 6733 6070 /usr/include/X11R6 6734 6071 /usr/include/X11R5 … … 6736 6073 6737 6074 /usr/local/X11/include 6075 /usr/local/X11R7/include 6738 6076 /usr/local/X11R6/include 6739 6077 /usr/local/X11R5/include … … 6741 6079 6742 6080 /usr/local/include/X11 6081 /usr/local/include/X11R7 6743 6082 /usr/local/include/X11R6 6744 6083 /usr/local/include/X11R5 … … 6762 6101 # Guess where to find include files, by looking for Xlib.h. 6763 6102 # First, try using that file with no special directory specified. 6764 cat >conftest.$ac_ext <<_ACEOF 6765 /* confdefs.h. */ 6766 _ACEOF 6767 cat confdefs.h >>conftest.$ac_ext 6768 cat >>conftest.$ac_ext <<_ACEOF 6103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6769 6104 /* end confdefs.h. */ 6770 6105 #include <X11/Xlib.h> 6771 6106 _ACEOF 6772 if { (ac_try="$ac_cpp conftest.$ac_ext" 6773 case "(($ac_try" in 6774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6775 *) ac_try_echo=$ac_try;; 6776 esac 6777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6778 $as_echo "$ac_try_echo") >&5 6779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6780 ac_status=$? 6781 grep -v '^ *+' conftest.er1 >conftest.err 6782 rm -f conftest.er1 6783 cat conftest.err >&5 6784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6785 (exit $ac_status); } >/dev/null && { 6786 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6787 test ! -s conftest.err 6788 }; then 6107 if ac_fn_c_try_cpp "$LINENO"; then : 6789 6108 # We can compile using X headers with no special include directory. 6790 6109 ac_x_includes= 6791 6110 else 6792 $as_echo "$as_me: failed program was:" >&56793 sed 's/^/| /' conftest.$ac_ext >&56794 6795 6111 for ac_dir in $ac_x_header_dirs; do 6796 6112 if test -r "$ac_dir/X11/Xlib.h"; then … … 6800 6116 done 6801 6117 fi 6802 6803 rm -f conftest.err conftest.$ac_ext 6118 rm -f conftest.err conftest.i conftest.$ac_ext 6804 6119 fi # $ac_x_includes = no 6805 6120 … … 6810 6125 ac_save_LIBS=$LIBS 6811 6126 LIBS="-lX11 $LIBS" 6812 cat >conftest.$ac_ext <<_ACEOF 6813 /* confdefs.h. */ 6814 _ACEOF 6815 cat confdefs.h >>conftest.$ac_ext 6816 cat >>conftest.$ac_ext <<_ACEOF 6127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6817 6128 /* end confdefs.h. */ 6818 6129 #include <X11/Xlib.h> … … 6825 6136 } 6826 6137 _ACEOF 6827 rm -f conftest.$ac_objext conftest$ac_exeext 6828 if { (ac_try="$ac_link" 6829 case "(($ac_try" in 6830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6831 *) ac_try_echo=$ac_try;; 6832 esac 6833 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6834 $as_echo "$ac_try_echo") >&5 6835 (eval "$ac_link") 2>conftest.er1 6836 ac_status=$? 6837 grep -v '^ *+' conftest.er1 >conftest.err 6838 rm -f conftest.er1 6839 cat conftest.err >&5 6840 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6841 (exit $ac_status); } && { 6842 test -z "$ac_c_werror_flag" || 6843 test ! -s conftest.err 6844 } && test -s conftest$ac_exeext && { 6845 test "$cross_compiling" = yes || 6846 $as_test_x conftest$ac_exeext 6847 }; then 6138 if ac_fn_c_try_link "$LINENO"; then : 6848 6139 LIBS=$ac_save_LIBS 6849 6140 # We can link X programs with no special library path. 6850 6141 ac_x_libraries= 6851 6142 else 6852 $as_echo "$as_me: failed program was:" >&5 6853 sed 's/^/| /' conftest.$ac_ext >&5 6854 6855 LIBS=$ac_save_LIBS 6143 LIBS=$ac_save_LIBS 6856 6144 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 6857 6145 do … … 6865 6153 done 6866 6154 fi 6867 6868 rm -rf conftest.dSYM 6869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6870 conftest$ac_exeext conftest.$ac_ext 6155 rm -f core conftest.err conftest.$ac_objext \ 6156 conftest$ac_exeext conftest.$ac_ext 6871 6157 fi # $ac_x_libraries = no 6872 6158 … … 6889 6175 6890 6176 if test "$have_x" != yes; then 6891 { $as_echo "$as_me:$ LINENO: result: $have_x" >&56177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 6892 6178 $as_echo "$have_x" >&6; } 6893 6179 no_x=yes … … 6900 6186 ac_x_includes='$x_includes'\ 6901 6187 ac_x_libraries='$x_libraries'" 6902 { $as_echo "$as_me:$ LINENO: result: libraries $x_libraries, headers $x_includes" >&56188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 6903 6189 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } 6904 6190 fi … … 6919 6205 # ./install, which can be erroneously created by make from ./install.sh. 6920 6206 # Reject install programs that cannot install multiple files. 6921 { $as_echo "$as_me:$ LINENO: checking for a BSD-compatible install" >&56207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 6922 6208 $as_echo_n "checking for a BSD-compatible install... " >&6; } 6923 6209 if test -z "$INSTALL"; then 6924 if test "${ac_cv_path_install+set}" = set; then6210 if ${ac_cv_path_install+:} false; then : 6925 6211 $as_echo_n "(cached) " >&6 6926 6212 else … … 6930 6216 IFS=$as_save_IFS 6931 6217 test -z "$as_dir" && as_dir=. 6932 # Account for people who put trailing slashes in PATH elements.6933 case $as_dir/ in 6934 ./ | .// | / cC/* | \6218 # Account for people who put trailing slashes in PATH elements. 6219 case $as_dir/ in #(( 6220 ./ | .// | /[cC]/* | \ 6935 6221 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6936 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \6222 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 6937 6223 /usr/ucb/* ) ;; 6938 6224 *) … … 6942 6228 for ac_prog in ginstall scoinst install; do 6943 6229 for ac_exec_ext in '' $ac_executable_extensions; do 6944 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then6230 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 6945 6231 if test $ac_prog = install && 6946 6232 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 6971 6257 esac 6972 6258 6973 done6259 done 6974 6260 IFS=$as_save_IFS 6975 6261 … … 6987 6273 fi 6988 6274 fi 6989 { $as_echo "$as_me:$ LINENO: result: $INSTALL" >&56275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 6990 6276 $as_echo "$INSTALL" >&6; } 6991 6277 … … 7001 6287 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7002 6288 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7003 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7004 6290 $as_echo_n "checking for $ac_word... " >&6; } 7005 if test "${ac_cv_prog_RANLIB+set}" = set; then6291 if ${ac_cv_prog_RANLIB+:} false; then : 7006 6292 $as_echo_n "(cached) " >&6 7007 6293 else … … 7014 6300 IFS=$as_save_IFS 7015 6301 test -z "$as_dir" && as_dir=. 7016 for ac_exec_ext in '' $ac_executable_extensions; do7017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6302 for ac_exec_ext in '' $ac_executable_extensions; do 6303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7018 6304 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7019 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7020 6306 break 2 7021 6307 fi 7022 6308 done 7023 done6309 done 7024 6310 IFS=$as_save_IFS 7025 6311 … … 7028 6314 RANLIB=$ac_cv_prog_RANLIB 7029 6315 if test -n "$RANLIB"; then 7030 { $as_echo "$as_me:$ LINENO: result: $RANLIB" >&56316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7031 6317 $as_echo "$RANLIB" >&6; } 7032 6318 else 7033 { $as_echo "$as_me:$ LINENO: result: no" >&56319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7034 6320 $as_echo "no" >&6; } 7035 6321 fi … … 7041 6327 # Extract the first word of "ranlib", so it can be a program name with args. 7042 6328 set dummy ranlib; ac_word=$2 7043 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7044 6330 $as_echo_n "checking for $ac_word... " >&6; } 7045 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then6331 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7046 6332 $as_echo_n "(cached) " >&6 7047 6333 else … … 7054 6340 IFS=$as_save_IFS 7055 6341 test -z "$as_dir" && as_dir=. 7056 for ac_exec_ext in '' $ac_executable_extensions; do7057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6342 for ac_exec_ext in '' $ac_executable_extensions; do 6343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7058 6344 ac_cv_prog_ac_ct_RANLIB="ranlib" 7059 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7060 6346 break 2 7061 6347 fi 7062 6348 done 7063 done6349 done 7064 6350 IFS=$as_save_IFS 7065 6351 … … 7068 6354 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7069 6355 if test -n "$ac_ct_RANLIB"; then 7070 { $as_echo "$as_me:$ LINENO: result: $ac_ct_RANLIB" >&56356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7071 6357 $as_echo "$ac_ct_RANLIB" >&6; } 7072 6358 else 7073 { $as_echo "$as_me:$ LINENO: result: no" >&56359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7074 6360 $as_echo "no" >&6; } 7075 6361 fi … … 7080 6366 case $cross_compiling:$ac_tool_warned in 7081 6367 yes:) 7082 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&56368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7083 6369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7084 6370 ac_tool_warned=yes ;; … … 7090 6376 fi 7091 6377 7092 { $as_echo "$as_me:$ LINENO: checking whether ln -s works" >&56378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 7093 6379 $as_echo_n "checking whether ln -s works... " >&6; } 7094 6380 LN_S=$as_ln_s 7095 6381 if test "$LN_S" = "ln -s"; then 7096 { $as_echo "$as_me:$ LINENO: result: yes" >&56382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7097 6383 $as_echo "yes" >&6; } 7098 6384 else 7099 { $as_echo "$as_me:$ LINENO: result: no, using $LN_S" >&56385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 7100 6386 $as_echo "no, using $LN_S" >&6; } 7101 6387 fi 7102 6388 7103 { $as_echo "$as_me:$ LINENO: checking for a thread-safe mkdir -p" >&56389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 7104 6390 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 7105 6391 if test -z "$MKDIR_P"; then 7106 if test "${ac_cv_path_mkdir+set}" = set; then6392 if ${ac_cv_path_mkdir+:} false; then : 7107 6393 $as_echo_n "(cached) " >&6 7108 6394 else … … 7112 6398 IFS=$as_save_IFS 7113 6399 test -z "$as_dir" && as_dir=. 7114 for ac_prog in mkdir gmkdir; do6400 for ac_prog in mkdir gmkdir; do 7115 6401 for ac_exec_ext in '' $ac_executable_extensions; do 7116 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }|| continue6402 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 7117 6403 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 7118 6404 'mkdir (GNU coreutils) '* | \ … … 7124 6410 done 7125 6411 done 7126 done6412 done 7127 6413 IFS=$as_save_IFS 7128 6414 7129 6415 fi 7130 6416 6417 test -d ./--version && rmdir ./--version 7131 6418 if test "${ac_cv_path_mkdir+set}" = set; then 7132 6419 MKDIR_P="$ac_cv_path_mkdir -p" … … 7136 6423 # break other packages using the cache if that directory is 7137 6424 # removed, or if the value is a relative name. 7138 test -d ./--version && rmdir ./--version7139 6425 MKDIR_P="$ac_install_sh -d" 7140 6426 fi 7141 6427 fi 7142 { $as_echo "$as_me:$ LINENO: result: $MKDIR_P" >&56428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 7143 6429 $as_echo "$MKDIR_P" >&6; } 7144 6430 … … 7152 6438 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 7153 6439 set dummy ${ac_tool_prefix}gcc; ac_word=$2 7154 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7155 6441 $as_echo_n "checking for $ac_word... " >&6; } 7156 if test "${ac_cv_prog_CC+set}" = set; then6442 if ${ac_cv_prog_CC+:} false; then : 7157 6443 $as_echo_n "(cached) " >&6 7158 6444 else … … 7165 6451 IFS=$as_save_IFS 7166 6452 test -z "$as_dir" && as_dir=. 7167 for ac_exec_ext in '' $ac_executable_extensions; do7168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6453 for ac_exec_ext in '' $ac_executable_extensions; do 6454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7169 6455 ac_cv_prog_CC="${ac_tool_prefix}gcc" 7170 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7171 6457 break 2 7172 6458 fi 7173 6459 done 7174 done6460 done 7175 6461 IFS=$as_save_IFS 7176 6462 … … 7179 6465 CC=$ac_cv_prog_CC 7180 6466 if test -n "$CC"; then 7181 { $as_echo "$as_me:$ LINENO: result: $CC" >&56467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7182 6468 $as_echo "$CC" >&6; } 7183 6469 else 7184 { $as_echo "$as_me:$ LINENO: result: no" >&56470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7185 6471 $as_echo "no" >&6; } 7186 6472 fi … … 7192 6478 # Extract the first word of "gcc", so it can be a program name with args. 7193 6479 set dummy gcc; ac_word=$2 7194 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7195 6481 $as_echo_n "checking for $ac_word... " >&6; } 7196 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then6482 if ${ac_cv_prog_ac_ct_CC+:} false; then : 7197 6483 $as_echo_n "(cached) " >&6 7198 6484 else … … 7205 6491 IFS=$as_save_IFS 7206 6492 test -z "$as_dir" && as_dir=. 7207 for ac_exec_ext in '' $ac_executable_extensions; do7208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6493 for ac_exec_ext in '' $ac_executable_extensions; do 6494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7209 6495 ac_cv_prog_ac_ct_CC="gcc" 7210 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7211 6497 break 2 7212 6498 fi 7213 6499 done 7214 done6500 done 7215 6501 IFS=$as_save_IFS 7216 6502 … … 7219 6505 ac_ct_CC=$ac_cv_prog_ac_ct_CC 7220 6506 if test -n "$ac_ct_CC"; then 7221 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&56507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 7222 6508 $as_echo "$ac_ct_CC" >&6; } 7223 6509 else 7224 { $as_echo "$as_me:$ LINENO: result: no" >&56510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7225 6511 $as_echo "no" >&6; } 7226 6512 fi … … 7231 6517 case $cross_compiling:$ac_tool_warned in 7232 6518 yes:) 7233 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&56519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7234 6520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7235 6521 ac_tool_warned=yes ;; … … 7245 6531 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 7246 6532 set dummy ${ac_tool_prefix}cc; ac_word=$2 7247 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7248 6534 $as_echo_n "checking for $ac_word... " >&6; } 7249 if test "${ac_cv_prog_CC+set}" = set; then6535 if ${ac_cv_prog_CC+:} false; then : 7250 6536 $as_echo_n "(cached) " >&6 7251 6537 else … … 7258 6544 IFS=$as_save_IFS 7259 6545 test -z "$as_dir" && as_dir=. 7260 for ac_exec_ext in '' $ac_executable_extensions; do7261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6546 for ac_exec_ext in '' $ac_executable_extensions; do 6547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7262 6548 ac_cv_prog_CC="${ac_tool_prefix}cc" 7263 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7264 6550 break 2 7265 6551 fi 7266 6552 done 7267 done6553 done 7268 6554 IFS=$as_save_IFS 7269 6555 … … 7272 6558 CC=$ac_cv_prog_CC 7273 6559 if test -n "$CC"; then 7274 { $as_echo "$as_me:$ LINENO: result: $CC" >&56560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7275 6561 $as_echo "$CC" >&6; } 7276 6562 else 7277 { $as_echo "$as_me:$ LINENO: result: no" >&56563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7278 6564 $as_echo "no" >&6; } 7279 6565 fi … … 7285 6571 # Extract the first word of "cc", so it can be a program name with args. 7286 6572 set dummy cc; ac_word=$2 7287 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7288 6574 $as_echo_n "checking for $ac_word... " >&6; } 7289 if test "${ac_cv_prog_CC+set}" = set; then6575 if ${ac_cv_prog_CC+:} false; then : 7290 6576 $as_echo_n "(cached) " >&6 7291 6577 else … … 7299 6585 IFS=$as_save_IFS 7300 6586 test -z "$as_dir" && as_dir=. 7301 for ac_exec_ext in '' $ac_executable_extensions; do7302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6587 for ac_exec_ext in '' $ac_executable_extensions; do 6588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7303 6589 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 7304 6590 ac_prog_rejected=yes … … 7306 6592 fi 7307 6593 ac_cv_prog_CC="cc" 7308 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7309 6595 break 2 7310 6596 fi 7311 6597 done 7312 done6598 done 7313 6599 IFS=$as_save_IFS 7314 6600 … … 7329 6615 CC=$ac_cv_prog_CC 7330 6616 if test -n "$CC"; then 7331 { $as_echo "$as_me:$ LINENO: result: $CC" >&56617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7332 6618 $as_echo "$CC" >&6; } 7333 6619 else 7334 { $as_echo "$as_me:$ LINENO: result: no" >&56620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7335 6621 $as_echo "no" >&6; } 7336 6622 fi … … 7344 6630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7345 6631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7346 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7347 6633 $as_echo_n "checking for $ac_word... " >&6; } 7348 if test "${ac_cv_prog_CC+set}" = set; then6634 if ${ac_cv_prog_CC+:} false; then : 7349 6635 $as_echo_n "(cached) " >&6 7350 6636 else … … 7357 6643 IFS=$as_save_IFS 7358 6644 test -z "$as_dir" && as_dir=. 7359 for ac_exec_ext in '' $ac_executable_extensions; do7360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6645 for ac_exec_ext in '' $ac_executable_extensions; do 6646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7361 6647 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 7362 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7363 6649 break 2 7364 6650 fi 7365 6651 done 7366 done6652 done 7367 6653 IFS=$as_save_IFS 7368 6654 … … 7371 6657 CC=$ac_cv_prog_CC 7372 6658 if test -n "$CC"; then 7373 { $as_echo "$as_me:$ LINENO: result: $CC" >&56659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7374 6660 $as_echo "$CC" >&6; } 7375 6661 else 7376 { $as_echo "$as_me:$ LINENO: result: no" >&56662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7377 6663 $as_echo "no" >&6; } 7378 6664 fi … … 7388 6674 # Extract the first word of "$ac_prog", so it can be a program name with args. 7389 6675 set dummy $ac_prog; ac_word=$2 7390 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7391 6677 $as_echo_n "checking for $ac_word... " >&6; } 7392 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then6678 if ${ac_cv_prog_ac_ct_CC+:} false; then : 7393 6679 $as_echo_n "(cached) " >&6 7394 6680 else … … 7401 6687 IFS=$as_save_IFS 7402 6688 test -z "$as_dir" && as_dir=. 7403 for ac_exec_ext in '' $ac_executable_extensions; do7404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6689 for ac_exec_ext in '' $ac_executable_extensions; do 6690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7405 6691 ac_cv_prog_ac_ct_CC="$ac_prog" 7406 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7407 6693 break 2 7408 6694 fi 7409 6695 done 7410 done6696 done 7411 6697 IFS=$as_save_IFS 7412 6698 … … 7415 6701 ac_ct_CC=$ac_cv_prog_ac_ct_CC 7416 6702 if test -n "$ac_ct_CC"; then 7417 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&56703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 7418 6704 $as_echo "$ac_ct_CC" >&6; } 7419 6705 else 7420 { $as_echo "$as_me:$ LINENO: result: no" >&56706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7421 6707 $as_echo "no" >&6; } 7422 6708 fi … … 7431 6717 case $cross_compiling:$ac_tool_warned in 7432 6718 yes:) 7433 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&56719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7434 6720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7435 6721 ac_tool_warned=yes ;; … … 7442 6728 7443 6729 7444 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&56730 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7445 6731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7446 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 7447 See \`config.log' for more details." >&5 7448 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 7449 See \`config.log' for more details." >&2;} 7450 { (exit 1); exit 1; }; }; } 6732 as_fn_error $? "no acceptable C compiler found in \$PATH 6733 See \`config.log' for more details" "$LINENO" 5; } 7451 6734 7452 6735 # Provide some information about the compiler. 7453 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&56736 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 7454 6737 set X $ac_compile 7455 6738 ac_compiler=$2 7456 { (ac_try="$ac_compiler --version >&5" 6739 for ac_option in --version -v -V -qversion; do 6740 { { ac_try="$ac_compiler $ac_option >&5" 7457 6741 case "(($ac_try" in 7458 6742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7459 6743 *) ac_try_echo=$ac_try;; 7460 6744 esac 7461 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""7462 $as_echo "$ac_try_echo" )>&57463 (eval "$ac_compiler --version >&5") 2>&56745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 6746 $as_echo "$ac_try_echo"; } >&5 6747 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 7464 6748 ac_status=$? 7465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7466 (exit $ac_status); } 7467 { (ac_try="$ac_compiler -v >&5" 7468 case "(($ac_try" in 7469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7470 *) ac_try_echo=$ac_try;; 7471 esac 7472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7473 $as_echo "$ac_try_echo") >&5 7474 (eval "$ac_compiler -v >&5") 2>&5 7475 ac_status=$? 7476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7477 (exit $ac_status); } 7478 { (ac_try="$ac_compiler -V >&5" 7479 case "(($ac_try" in 7480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7481 *) ac_try_echo=$ac_try;; 7482 esac 7483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7484 $as_echo "$ac_try_echo") >&5 7485 (eval "$ac_compiler -V >&5") 2>&5 7486 ac_status=$? 7487 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7488 (exit $ac_status); } 7489 7490 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 6749 if test -s conftest.err; then 6750 sed '10a\ 6751 ... rest of stderr output deleted ... 6752 10q' conftest.err >conftest.er1 6753 cat conftest.er1 >&5 6754 fi 6755 rm -f conftest.er1 conftest.err 6756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6757 test $ac_status = 0; } 6758 done 6759 6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 7491 6761 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 7492 if test "${ac_cv_c_compiler_gnu+set}" = set; then6762 if ${ac_cv_c_compiler_gnu+:} false; then : 7493 6763 $as_echo_n "(cached) " >&6 7494 6764 else 7495 cat >conftest.$ac_ext <<_ACEOF 7496 /* confdefs.h. */ 7497 _ACEOF 7498 cat confdefs.h >>conftest.$ac_ext 7499 cat >>conftest.$ac_ext <<_ACEOF 6765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7500 6766 /* end confdefs.h. */ 7501 6767 … … 7511 6777 } 7512 6778 _ACEOF 7513 rm -f conftest.$ac_objext 7514 if { (ac_try="$ac_compile" 7515 case "(($ac_try" in 7516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7517 *) ac_try_echo=$ac_try;; 7518 esac 7519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7520 $as_echo "$ac_try_echo") >&5 7521 (eval "$ac_compile") 2>conftest.er1 7522 ac_status=$? 7523 grep -v '^ *+' conftest.er1 >conftest.err 7524 rm -f conftest.er1 7525 cat conftest.err >&5 7526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7527 (exit $ac_status); } && { 7528 test -z "$ac_c_werror_flag" || 7529 test ! -s conftest.err 7530 } && test -s conftest.$ac_objext; then 6779 if ac_fn_c_try_compile "$LINENO"; then : 7531 6780 ac_compiler_gnu=yes 7532 6781 else 7533 $as_echo "$as_me: failed program was:" >&5 7534 sed 's/^/| /' conftest.$ac_ext >&5 7535 7536 ac_compiler_gnu=no 7537 fi 7538 6782 ac_compiler_gnu=no 6783 fi 7539 6784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7540 6785 ac_cv_c_compiler_gnu=$ac_compiler_gnu 7541 6786 7542 6787 fi 7543 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&56788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 7544 6789 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 7545 6790 if test $ac_compiler_gnu = yes; then … … 7550 6795 ac_test_CFLAGS=${CFLAGS+set} 7551 6796 ac_save_CFLAGS=$CFLAGS 7552 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&56797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 7553 6798 $as_echo_n "checking whether $CC accepts -g... " >&6; } 7554 if test "${ac_cv_prog_cc_g+set}" = set; then6799 if ${ac_cv_prog_cc_g+:} false; then : 7555 6800 $as_echo_n "(cached) " >&6 7556 6801 else … … 7559 6804 ac_cv_prog_cc_g=no 7560 6805 CFLAGS="-g" 7561 cat >conftest.$ac_ext <<_ACEOF 7562 /* confdefs.h. */ 7563 _ACEOF 7564 cat confdefs.h >>conftest.$ac_ext 7565 cat >>conftest.$ac_ext <<_ACEOF 6806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7566 6807 /* end confdefs.h. */ 7567 6808 … … 7574 6815 } 7575 6816 _ACEOF 7576 rm -f conftest.$ac_objext 7577 if { (ac_try="$ac_compile" 7578 case "(($ac_try" in 7579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7580 *) ac_try_echo=$ac_try;; 7581 esac 7582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7583 $as_echo "$ac_try_echo") >&5 7584 (eval "$ac_compile") 2>conftest.er1 7585 ac_status=$? 7586 grep -v '^ *+' conftest.er1 >conftest.err 7587 rm -f conftest.er1 7588 cat conftest.err >&5 7589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7590 (exit $ac_status); } && { 7591 test -z "$ac_c_werror_flag" || 7592 test ! -s conftest.err 7593 } && test -s conftest.$ac_objext; then 6817 if ac_fn_c_try_compile "$LINENO"; then : 7594 6818 ac_cv_prog_cc_g=yes 7595 6819 else 7596 $as_echo "$as_me: failed program was:" >&5 7597 sed 's/^/| /' conftest.$ac_ext >&5 7598 7599 CFLAGS="" 7600 cat >conftest.$ac_ext <<_ACEOF 7601 /* confdefs.h. */ 7602 _ACEOF 7603 cat confdefs.h >>conftest.$ac_ext 7604 cat >>conftest.$ac_ext <<_ACEOF 6820 CFLAGS="" 6821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7605 6822 /* end confdefs.h. */ 7606 6823 … … 7613 6830 } 7614 6831 _ACEOF 7615 rm -f conftest.$ac_objext 7616 if { (ac_try="$ac_compile" 7617 case "(($ac_try" in 7618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7619 *) ac_try_echo=$ac_try;; 7620 esac 7621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7622 $as_echo "$ac_try_echo") >&5 7623 (eval "$ac_compile") 2>conftest.er1 7624 ac_status=$? 7625 grep -v '^ *+' conftest.er1 >conftest.err 7626 rm -f conftest.er1 7627 cat conftest.err >&5 7628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7629 (exit $ac_status); } && { 7630 test -z "$ac_c_werror_flag" || 7631 test ! -s conftest.err 7632 } && test -s conftest.$ac_objext; then 7633 : 7634 else 7635 $as_echo "$as_me: failed program was:" >&5 7636 sed 's/^/| /' conftest.$ac_ext >&5 7637 7638 ac_c_werror_flag=$ac_save_c_werror_flag 6832 if ac_fn_c_try_compile "$LINENO"; then : 6833 6834 else 6835 ac_c_werror_flag=$ac_save_c_werror_flag 7639 6836 CFLAGS="-g" 7640 cat >conftest.$ac_ext <<_ACEOF 7641 /* confdefs.h. */ 7642 _ACEOF 7643 cat confdefs.h >>conftest.$ac_ext 7644 cat >>conftest.$ac_ext <<_ACEOF 6837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7645 6838 /* end confdefs.h. */ 7646 6839 … … 7653 6846 } 7654 6847 _ACEOF 7655 rm -f conftest.$ac_objext 7656 if { (ac_try="$ac_compile" 7657 case "(($ac_try" in 7658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7659 *) ac_try_echo=$ac_try;; 7660 esac 7661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7662 $as_echo "$ac_try_echo") >&5 7663 (eval "$ac_compile") 2>conftest.er1 7664 ac_status=$? 7665 grep -v '^ *+' conftest.er1 >conftest.err 7666 rm -f conftest.er1 7667 cat conftest.err >&5 7668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7669 (exit $ac_status); } && { 7670 test -z "$ac_c_werror_flag" || 7671 test ! -s conftest.err 7672 } && test -s conftest.$ac_objext; then 6848 if ac_fn_c_try_compile "$LINENO"; then : 7673 6849 ac_cv_prog_cc_g=yes 7674 else 7675 $as_echo "$as_me: failed program was:" >&5 7676 sed 's/^/| /' conftest.$ac_ext >&5 7677 7678 7679 fi 7680 6850 fi 7681 6851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7682 6852 fi 7683 7684 6853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7685 6854 fi 7686 7687 6855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7688 6856 ac_c_werror_flag=$ac_save_c_werror_flag 7689 6857 fi 7690 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&56858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 7691 6859 $as_echo "$ac_cv_prog_cc_g" >&6; } 7692 6860 if test "$ac_test_CFLAGS" = set; then … … 7705 6873 fi 7706 6874 fi 7707 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&56875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 7708 6876 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 7709 if test "${ac_cv_prog_cc_c89+set}" = set; then6877 if ${ac_cv_prog_cc_c89+:} false; then : 7710 6878 $as_echo_n "(cached) " >&6 7711 6879 else 7712 6880 ac_cv_prog_cc_c89=no 7713 6881 ac_save_CC=$CC 7714 cat >conftest.$ac_ext <<_ACEOF 7715 /* confdefs.h. */ 7716 _ACEOF 7717 cat confdefs.h >>conftest.$ac_ext 7718 cat >>conftest.$ac_ext <<_ACEOF 6882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7719 6883 /* end confdefs.h. */ 7720 6884 #include <stdarg.h> 7721 6885 #include <stdio.h> 7722 #include <sys/types.h> 7723 #include <sys/stat.h> 6886 struct stat; 7724 6887 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 7725 6888 struct buf { int x; }; … … 7773 6936 do 7774 6937 CC="$ac_save_CC $ac_arg" 7775 rm -f conftest.$ac_objext 7776 if { (ac_try="$ac_compile" 7777 case "(($ac_try" in 7778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7779 *) ac_try_echo=$ac_try;; 7780 esac 7781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7782 $as_echo "$ac_try_echo") >&5 7783 (eval "$ac_compile") 2>conftest.er1 7784 ac_status=$? 7785 grep -v '^ *+' conftest.er1 >conftest.err 7786 rm -f conftest.er1 7787 cat conftest.err >&5 7788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7789 (exit $ac_status); } && { 7790 test -z "$ac_c_werror_flag" || 7791 test ! -s conftest.err 7792 } && test -s conftest.$ac_objext; then 6938 if ac_fn_c_try_compile "$LINENO"; then : 7793 6939 ac_cv_prog_cc_c89=$ac_arg 7794 else 7795 $as_echo "$as_me: failed program was:" >&5 7796 sed 's/^/| /' conftest.$ac_ext >&5 7797 7798 7799 fi 7800 6940 fi 7801 6941 rm -f core conftest.err conftest.$ac_objext 7802 6942 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 7809 6949 case "x$ac_cv_prog_cc_c89" in 7810 6950 x) 7811 { $as_echo "$as_me:$ LINENO: result: none needed" >&56951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 7812 6952 $as_echo "none needed" >&6; } ;; 7813 6953 xno) 7814 { $as_echo "$as_me:$ LINENO: result: unsupported" >&56954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 7815 6955 $as_echo "unsupported" >&6; } ;; 7816 6956 *) 7817 6957 CC="$CC $ac_cv_prog_cc_c89" 7818 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&56958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 7819 6959 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 7820 6960 esac 7821 6961 if test "x$ac_cv_prog_cc_c89" != xno; then : 6962 6963 fi 7822 6964 7823 6965 ac_ext=c … … 7832 6974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7833 6975 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7834 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&56976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7835 6977 $as_echo_n "checking how to run the C preprocessor... " >&6; } 7836 6978 # On Suns, sometimes $CPP names a directory. … … 7839 6981 fi 7840 6982 if test -z "$CPP"; then 7841 if test "${ac_cv_prog_CPP+set}" = set; then6983 if ${ac_cv_prog_CPP+:} false; then : 7842 6984 $as_echo_n "(cached) " >&6 7843 6985 else … … 7854 6996 # On the NeXT, cc -E runs the code through the compiler's parser, 7855 6997 # not just through cpp. "Syntax error" is here to catch this case. 7856 cat >conftest.$ac_ext <<_ACEOF 7857 /* confdefs.h. */ 7858 _ACEOF 7859 cat confdefs.h >>conftest.$ac_ext 7860 cat >>conftest.$ac_ext <<_ACEOF 6998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7861 6999 /* end confdefs.h. */ 7862 7000 #ifdef __STDC__ … … 7867 7005 Syntax error 7868 7006 _ACEOF 7869 if { (ac_try="$ac_cpp conftest.$ac_ext" 7870 case "(($ac_try" in 7871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7872 *) ac_try_echo=$ac_try;; 7873 esac 7874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7875 $as_echo "$ac_try_echo") >&5 7876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7877 ac_status=$? 7878 grep -v '^ *+' conftest.er1 >conftest.err 7879 rm -f conftest.er1 7880 cat conftest.err >&5 7881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7882 (exit $ac_status); } >/dev/null && { 7883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7884 test ! -s conftest.err 7885 }; then 7886 : 7887 else 7888 $as_echo "$as_me: failed program was:" >&5 7889 sed 's/^/| /' conftest.$ac_ext >&5 7890 7007 if ac_fn_c_try_cpp "$LINENO"; then : 7008 7009 else 7891 7010 # Broken: fails on valid input. 7892 7011 continue 7893 7012 fi 7894 7895 rm -f conftest.err conftest.$ac_ext 7013 rm -f conftest.err conftest.i conftest.$ac_ext 7896 7014 7897 7015 # OK, works on sane cases. Now check whether nonexistent headers 7898 7016 # can be detected and how. 7899 cat >conftest.$ac_ext <<_ACEOF 7900 /* confdefs.h. */ 7901 _ACEOF 7902 cat confdefs.h >>conftest.$ac_ext 7903 cat >>conftest.$ac_ext <<_ACEOF 7017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7904 7018 /* end confdefs.h. */ 7905 7019 #include <ac_nonexistent.h> 7906 7020 _ACEOF 7907 if { (ac_try="$ac_cpp conftest.$ac_ext" 7908 case "(($ac_try" in 7909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7910 *) ac_try_echo=$ac_try;; 7911 esac 7912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7913 $as_echo "$ac_try_echo") >&5 7914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7915 ac_status=$? 7916 grep -v '^ *+' conftest.er1 >conftest.err 7917 rm -f conftest.er1 7918 cat conftest.err >&5 7919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7920 (exit $ac_status); } >/dev/null && { 7921 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7922 test ! -s conftest.err 7923 }; then 7021 if ac_fn_c_try_cpp "$LINENO"; then : 7924 7022 # Broken: success on invalid input. 7925 7023 continue 7926 7024 else 7927 $as_echo "$as_me: failed program was:" >&57928 sed 's/^/| /' conftest.$ac_ext >&57929 7930 7025 # Passes both tests. 7931 7026 ac_preproc_ok=: 7932 7027 break 7933 7028 fi 7934 7935 rm -f conftest.err conftest.$ac_ext 7029 rm -f conftest.err conftest.i conftest.$ac_ext 7936 7030 7937 7031 done 7938 7032 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7939 rm -f conftest. err conftest.$ac_ext7940 if $ac_preproc_ok; then 7033 rm -f conftest.i conftest.err conftest.$ac_ext 7034 if $ac_preproc_ok; then : 7941 7035 break 7942 7036 fi … … 7950 7044 ac_cv_prog_CPP=$CPP 7951 7045 fi 7952 { $as_echo "$as_me:$ LINENO: result: $CPP" >&57046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7953 7047 $as_echo "$CPP" >&6; } 7954 7048 ac_preproc_ok=false … … 7961 7055 # On the NeXT, cc -E runs the code through the compiler's parser, 7962 7056 # not just through cpp. "Syntax error" is here to catch this case. 7963 cat >conftest.$ac_ext <<_ACEOF 7964 /* confdefs.h. */ 7965 _ACEOF 7966 cat confdefs.h >>conftest.$ac_ext 7967 cat >>conftest.$ac_ext <<_ACEOF 7057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7968 7058 /* end confdefs.h. */ 7969 7059 #ifdef __STDC__ … … 7974 7064 Syntax error 7975 7065 _ACEOF 7976 if { (ac_try="$ac_cpp conftest.$ac_ext" 7977 case "(($ac_try" in 7978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7979 *) ac_try_echo=$ac_try;; 7980 esac 7981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7982 $as_echo "$ac_try_echo") >&5 7983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7984 ac_status=$? 7985 grep -v '^ *+' conftest.er1 >conftest.err 7986 rm -f conftest.er1 7987 cat conftest.err >&5 7988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7989 (exit $ac_status); } >/dev/null && { 7990 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7991 test ! -s conftest.err 7992 }; then 7993 : 7994 else 7995 $as_echo "$as_me: failed program was:" >&5 7996 sed 's/^/| /' conftest.$ac_ext >&5 7997 7066 if ac_fn_c_try_cpp "$LINENO"; then : 7067 7068 else 7998 7069 # Broken: fails on valid input. 7999 7070 continue 8000 7071 fi 8001 8002 rm -f conftest.err conftest.$ac_ext 7072 rm -f conftest.err conftest.i conftest.$ac_ext 8003 7073 8004 7074 # OK, works on sane cases. Now check whether nonexistent headers 8005 7075 # can be detected and how. 8006 cat >conftest.$ac_ext <<_ACEOF 8007 /* confdefs.h. */ 8008 _ACEOF 8009 cat confdefs.h >>conftest.$ac_ext 8010 cat >>conftest.$ac_ext <<_ACEOF 7076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8011 7077 /* end confdefs.h. */ 8012 7078 #include <ac_nonexistent.h> 8013 7079 _ACEOF 8014 if { (ac_try="$ac_cpp conftest.$ac_ext" 8015 case "(($ac_try" in 8016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8017 *) ac_try_echo=$ac_try;; 8018 esac 8019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8020 $as_echo "$ac_try_echo") >&5 8021 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8022 ac_status=$? 8023 grep -v '^ *+' conftest.er1 >conftest.err 8024 rm -f conftest.er1 8025 cat conftest.err >&5 8026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8027 (exit $ac_status); } >/dev/null && { 8028 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8029 test ! -s conftest.err 8030 }; then 7080 if ac_fn_c_try_cpp "$LINENO"; then : 8031 7081 # Broken: success on invalid input. 8032 7082 continue 8033 7083 else 8034 $as_echo "$as_me: failed program was:" >&58035 sed 's/^/| /' conftest.$ac_ext >&58036 8037 7084 # Passes both tests. 8038 7085 ac_preproc_ok=: 8039 7086 break 8040 7087 fi 8041 8042 rm -f conftest.err conftest.$ac_ext 7088 rm -f conftest.err conftest.i conftest.$ac_ext 8043 7089 8044 7090 done 8045 7091 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8046 rm -f conftest. err conftest.$ac_ext8047 if $ac_preproc_ok; then 8048 : 8049 else 8050 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&57092 rm -f conftest.i conftest.err conftest.$ac_ext 7093 if $ac_preproc_ok; then : 7094 7095 else 7096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8051 7097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8052 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 8053 See \`config.log' for more details." >&5 8054 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 8055 See \`config.log' for more details." >&2;} 8056 { (exit 1); exit 1; }; }; } 7098 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7099 See \`config.log' for more details" "$LINENO" 5; } 8057 7100 fi 8058 7101 … … 8077 7120 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8078 7121 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8079 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8080 7123 $as_echo_n "checking for $ac_word... " >&6; } 8081 if test "${ac_cv_prog_CXX+set}" = set; then7124 if ${ac_cv_prog_CXX+:} false; then : 8082 7125 $as_echo_n "(cached) " >&6 8083 7126 else … … 8090 7133 IFS=$as_save_IFS 8091 7134 test -z "$as_dir" && as_dir=. 8092 for ac_exec_ext in '' $ac_executable_extensions; do8093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7135 for ac_exec_ext in '' $ac_executable_extensions; do 7136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8094 7137 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 8095 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8096 7139 break 2 8097 7140 fi 8098 7141 done 8099 done7142 done 8100 7143 IFS=$as_save_IFS 8101 7144 … … 8104 7147 CXX=$ac_cv_prog_CXX 8105 7148 if test -n "$CXX"; then 8106 { $as_echo "$as_me:$ LINENO: result: $CXX" >&57149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 8107 7150 $as_echo "$CXX" >&6; } 8108 7151 else 8109 { $as_echo "$as_me:$ LINENO: result: no" >&57152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8110 7153 $as_echo "no" >&6; } 8111 7154 fi … … 8121 7164 # Extract the first word of "$ac_prog", so it can be a program name with args. 8122 7165 set dummy $ac_prog; ac_word=$2 8123 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8124 7167 $as_echo_n "checking for $ac_word... " >&6; } 8125 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then7168 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 8126 7169 $as_echo_n "(cached) " >&6 8127 7170 else … … 8134 7177 IFS=$as_save_IFS 8135 7178 test -z "$as_dir" && as_dir=. 8136 for ac_exec_ext in '' $ac_executable_extensions; do8137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7179 for ac_exec_ext in '' $ac_executable_extensions; do 7180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8138 7181 ac_cv_prog_ac_ct_CXX="$ac_prog" 8139 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8140 7183 break 2 8141 7184 fi 8142 7185 done 8143 done7186 done 8144 7187 IFS=$as_save_IFS 8145 7188 … … 8148 7191 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 8149 7192 if test -n "$ac_ct_CXX"; then 8150 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&57193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 8151 7194 $as_echo "$ac_ct_CXX" >&6; } 8152 7195 else 8153 { $as_echo "$as_me:$ LINENO: result: no" >&57196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8154 7197 $as_echo "no" >&6; } 8155 7198 fi … … 8164 7207 case $cross_compiling:$ac_tool_warned in 8165 7208 yes:) 8166 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&57209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8167 7210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8168 7211 ac_tool_warned=yes ;; … … 8175 7218 fi 8176 7219 # Provide some information about the compiler. 8177 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&57220 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 8178 7221 set X $ac_compile 8179 7222 ac_compiler=$2 8180 { (ac_try="$ac_compiler --version >&5" 7223 for ac_option in --version -v -V -qversion; do 7224 { { ac_try="$ac_compiler $ac_option >&5" 8181 7225 case "(($ac_try" in 8182 7226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8183 7227 *) ac_try_echo=$ac_try;; 8184 7228 esac 8185 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""8186 $as_echo "$ac_try_echo" )>&58187 (eval "$ac_compiler --version >&5") 2>&57229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 7230 $as_echo "$ac_try_echo"; } >&5 7231 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 8188 7232 ac_status=$? 8189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8190 (exit $ac_status); } 8191 { (ac_try="$ac_compiler -v >&5" 8192 case "(($ac_try" in 8193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8194 *) ac_try_echo=$ac_try;; 8195 esac 8196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8197 $as_echo "$ac_try_echo") >&5 8198 (eval "$ac_compiler -v >&5") 2>&5 8199 ac_status=$? 8200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8201 (exit $ac_status); } 8202 { (ac_try="$ac_compiler -V >&5" 8203 case "(($ac_try" in 8204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8205 *) ac_try_echo=$ac_try;; 8206 esac 8207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8208 $as_echo "$ac_try_echo") >&5 8209 (eval "$ac_compiler -V >&5") 2>&5 8210 ac_status=$? 8211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8212 (exit $ac_status); } 8213 8214 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7233 if test -s conftest.err; then 7234 sed '10a\ 7235 ... rest of stderr output deleted ... 7236 10q' conftest.err >conftest.er1 7237 cat conftest.er1 >&5 7238 fi 7239 rm -f conftest.er1 conftest.err 7240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7241 test $ac_status = 0; } 7242 done 7243 7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8215 7245 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 8216 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then7246 if ${ac_cv_cxx_compiler_gnu+:} false; then : 8217 7247 $as_echo_n "(cached) " >&6 8218 7248 else 8219 cat >conftest.$ac_ext <<_ACEOF 8220 /* confdefs.h. */ 8221 _ACEOF 8222 cat confdefs.h >>conftest.$ac_ext 8223 cat >>conftest.$ac_ext <<_ACEOF 7249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8224 7250 /* end confdefs.h. */ 8225 7251 … … 8235 7261 } 8236 7262 _ACEOF 8237 rm -f conftest.$ac_objext 8238 if { (ac_try="$ac_compile" 8239 case "(($ac_try" in 8240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8241 *) ac_try_echo=$ac_try;; 8242 esac 8243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8244 $as_echo "$ac_try_echo") >&5 8245 (eval "$ac_compile") 2>conftest.er1 8246 ac_status=$? 8247 grep -v '^ *+' conftest.er1 >conftest.err 8248 rm -f conftest.er1 8249 cat conftest.err >&5 8250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8251 (exit $ac_status); } && { 8252 test -z "$ac_cxx_werror_flag" || 8253 test ! -s conftest.err 8254 } && test -s conftest.$ac_objext; then 7263 if ac_fn_cxx_try_compile "$LINENO"; then : 8255 7264 ac_compiler_gnu=yes 8256 7265 else 8257 $as_echo "$as_me: failed program was:" >&5 8258 sed 's/^/| /' conftest.$ac_ext >&5 8259 8260 ac_compiler_gnu=no 8261 fi 8262 7266 ac_compiler_gnu=no 7267 fi 8263 7268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8264 7269 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 8265 7270 8266 7271 fi 8267 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&57272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 8268 7273 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 8269 7274 if test $ac_compiler_gnu = yes; then … … 8274 7279 ac_test_CXXFLAGS=${CXXFLAGS+set} 8275 7280 ac_save_CXXFLAGS=$CXXFLAGS 8276 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&57281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 8277 7282 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 8278 if test "${ac_cv_prog_cxx_g+set}" = set; then7283 if ${ac_cv_prog_cxx_g+:} false; then : 8279 7284 $as_echo_n "(cached) " >&6 8280 7285 else … … 8283 7288 ac_cv_prog_cxx_g=no 8284 7289 CXXFLAGS="-g" 8285 cat >conftest.$ac_ext <<_ACEOF 8286 /* confdefs.h. */ 8287 _ACEOF 8288 cat confdefs.h >>conftest.$ac_ext 8289 cat >>conftest.$ac_ext <<_ACEOF 7290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8290 7291 /* end confdefs.h. */ 8291 7292 … … 8298 7299 } 8299 7300 _ACEOF 8300 rm -f conftest.$ac_objext 8301 if { (ac_try="$ac_compile" 8302 case "(($ac_try" in 8303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8304 *) ac_try_echo=$ac_try;; 8305 esac 8306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8307 $as_echo "$ac_try_echo") >&5 8308 (eval "$ac_compile") 2>conftest.er1 8309 ac_status=$? 8310 grep -v '^ *+' conftest.er1 >conftest.err 8311 rm -f conftest.er1 8312 cat conftest.err >&5 8313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8314 (exit $ac_status); } && { 8315 test -z "$ac_cxx_werror_flag" || 8316 test ! -s conftest.err 8317 } && test -s conftest.$ac_objext; then 7301 if ac_fn_cxx_try_compile "$LINENO"; then : 8318 7302 ac_cv_prog_cxx_g=yes 8319 7303 else 8320 $as_echo "$as_me: failed program was:" >&5 8321 sed 's/^/| /' conftest.$ac_ext >&5 8322 8323 CXXFLAGS="" 8324 cat >conftest.$ac_ext <<_ACEOF 8325 /* confdefs.h. */ 8326 _ACEOF 8327 cat confdefs.h >>conftest.$ac_ext 8328 cat >>conftest.$ac_ext <<_ACEOF 7304 CXXFLAGS="" 7305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8329 7306 /* end confdefs.h. */ 8330 7307 … … 8337 7314 } 8338 7315 _ACEOF 8339 rm -f conftest.$ac_objext 8340 if { (ac_try="$ac_compile" 8341 case "(($ac_try" in 8342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8343 *) ac_try_echo=$ac_try;; 8344 esac 8345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8346 $as_echo "$ac_try_echo") >&5 8347 (eval "$ac_compile") 2>conftest.er1 8348 ac_status=$? 8349 grep -v '^ *+' conftest.er1 >conftest.err 8350 rm -f conftest.er1 8351 cat conftest.err >&5 8352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8353 (exit $ac_status); } && { 8354 test -z "$ac_cxx_werror_flag" || 8355 test ! -s conftest.err 8356 } && test -s conftest.$ac_objext; then 8357 : 8358 else 8359 $as_echo "$as_me: failed program was:" >&5 8360 sed 's/^/| /' conftest.$ac_ext >&5 8361 8362 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7316 if ac_fn_cxx_try_compile "$LINENO"; then : 7317 7318 else 7319 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8363 7320 CXXFLAGS="-g" 8364 cat >conftest.$ac_ext <<_ACEOF 8365 /* confdefs.h. */ 8366 _ACEOF 8367 cat confdefs.h >>conftest.$ac_ext 8368 cat >>conftest.$ac_ext <<_ACEOF 7321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8369 7322 /* end confdefs.h. */ 8370 7323 … … 8377 7330 } 8378 7331 _ACEOF 8379 rm -f conftest.$ac_objext 8380 if { (ac_try="$ac_compile" 8381 case "(($ac_try" in 8382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8383 *) ac_try_echo=$ac_try;; 8384 esac 8385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8386 $as_echo "$ac_try_echo") >&5 8387 (eval "$ac_compile") 2>conftest.er1 8388 ac_status=$? 8389 grep -v '^ *+' conftest.er1 >conftest.err 8390 rm -f conftest.er1 8391 cat conftest.err >&5 8392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8393 (exit $ac_status); } && { 8394 test -z "$ac_cxx_werror_flag" || 8395 test ! -s conftest.err 8396 } && test -s conftest.$ac_objext; then 7332 if ac_fn_cxx_try_compile "$LINENO"; then : 8397 7333 ac_cv_prog_cxx_g=yes 8398 else 8399 $as_echo "$as_me: failed program was:" >&5 8400 sed 's/^/| /' conftest.$ac_ext >&5 8401 8402 8403 fi 8404 7334 fi 8405 7335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8406 7336 fi 8407 8408 7337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8409 7338 fi 8410 8411 7339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8412 7340 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8413 7341 fi 8414 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&57342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 8415 7343 $as_echo "$ac_cv_prog_cxx_g" >&6; } 8416 7344 if test "$ac_test_CXXFLAGS" = set; then … … 8440 7368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8441 7369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8442 { $as_echo "$as_me:$ LINENO: checking how to run the C++ preprocessor" >&57370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 8443 7371 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 8444 7372 if test -z "$CXXCPP"; then 8445 if test "${ac_cv_prog_CXXCPP+set}" = set; then7373 if ${ac_cv_prog_CXXCPP+:} false; then : 8446 7374 $as_echo_n "(cached) " >&6 8447 7375 else … … 8458 7386 # On the NeXT, cc -E runs the code through the compiler's parser, 8459 7387 # not just through cpp. "Syntax error" is here to catch this case. 8460 cat >conftest.$ac_ext <<_ACEOF 8461 /* confdefs.h. */ 8462 _ACEOF 8463 cat confdefs.h >>conftest.$ac_ext 8464 cat >>conftest.$ac_ext <<_ACEOF 7388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8465 7389 /* end confdefs.h. */ 8466 7390 #ifdef __STDC__ … … 8471 7395 Syntax error 8472 7396 _ACEOF 8473 if { (ac_try="$ac_cpp conftest.$ac_ext" 8474 case "(($ac_try" in 8475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8476 *) ac_try_echo=$ac_try;; 8477 esac 8478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8479 $as_echo "$ac_try_echo") >&5 8480 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8481 ac_status=$? 8482 grep -v '^ *+' conftest.er1 >conftest.err 8483 rm -f conftest.er1 8484 cat conftest.err >&5 8485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8486 (exit $ac_status); } >/dev/null && { 8487 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8488 test ! -s conftest.err 8489 }; then 8490 : 8491 else 8492 $as_echo "$as_me: failed program was:" >&5 8493 sed 's/^/| /' conftest.$ac_ext >&5 8494 7397 if ac_fn_cxx_try_cpp "$LINENO"; then : 7398 7399 else 8495 7400 # Broken: fails on valid input. 8496 7401 continue 8497 7402 fi 8498 8499 rm -f conftest.err conftest.$ac_ext 7403 rm -f conftest.err conftest.i conftest.$ac_ext 8500 7404 8501 7405 # OK, works on sane cases. Now check whether nonexistent headers 8502 7406 # can be detected and how. 8503 cat >conftest.$ac_ext <<_ACEOF 8504 /* confdefs.h. */ 8505 _ACEOF 8506 cat confdefs.h >>conftest.$ac_ext 8507 cat >>conftest.$ac_ext <<_ACEOF 7407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8508 7408 /* end confdefs.h. */ 8509 7409 #include <ac_nonexistent.h> 8510 7410 _ACEOF 8511 if { (ac_try="$ac_cpp conftest.$ac_ext" 8512 case "(($ac_try" in 8513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8514 *) ac_try_echo=$ac_try;; 8515 esac 8516 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8517 $as_echo "$ac_try_echo") >&5 8518 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8519 ac_status=$? 8520 grep -v '^ *+' conftest.er1 >conftest.err 8521 rm -f conftest.er1 8522 cat conftest.err >&5 8523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8524 (exit $ac_status); } >/dev/null && { 8525 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8526 test ! -s conftest.err 8527 }; then 7411 if ac_fn_cxx_try_cpp "$LINENO"; then : 8528 7412 # Broken: success on invalid input. 8529 7413 continue 8530 7414 else 8531 $as_echo "$as_me: failed program was:" >&58532 sed 's/^/| /' conftest.$ac_ext >&58533 8534 7415 # Passes both tests. 8535 7416 ac_preproc_ok=: 8536 7417 break 8537 7418 fi 8538 8539 rm -f conftest.err conftest.$ac_ext 7419 rm -f conftest.err conftest.i conftest.$ac_ext 8540 7420 8541 7421 done 8542 7422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8543 rm -f conftest. err conftest.$ac_ext8544 if $ac_preproc_ok; then 7423 rm -f conftest.i conftest.err conftest.$ac_ext 7424 if $ac_preproc_ok; then : 8545 7425 break 8546 7426 fi … … 8554 7434 ac_cv_prog_CXXCPP=$CXXCPP 8555 7435 fi 8556 { $as_echo "$as_me:$ LINENO: result: $CXXCPP" >&57436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 8557 7437 $as_echo "$CXXCPP" >&6; } 8558 7438 ac_preproc_ok=false … … 8565 7445 # On the NeXT, cc -E runs the code through the compiler's parser, 8566 7446 # not just through cpp. "Syntax error" is here to catch this case. 8567 cat >conftest.$ac_ext <<_ACEOF 8568 /* confdefs.h. */ 8569 _ACEOF 8570 cat confdefs.h >>conftest.$ac_ext 8571 cat >>conftest.$ac_ext <<_ACEOF 7447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8572 7448 /* end confdefs.h. */ 8573 7449 #ifdef __STDC__ … … 8578 7454 Syntax error 8579 7455 _ACEOF 8580 if { (ac_try="$ac_cpp conftest.$ac_ext" 8581 case "(($ac_try" in 8582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8583 *) ac_try_echo=$ac_try;; 8584 esac 8585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8586 $as_echo "$ac_try_echo") >&5 8587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8588 ac_status=$? 8589 grep -v '^ *+' conftest.er1 >conftest.err 8590 rm -f conftest.er1 8591 cat conftest.err >&5 8592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8593 (exit $ac_status); } >/dev/null && { 8594 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8595 test ! -s conftest.err 8596 }; then 8597 : 8598 else 8599 $as_echo "$as_me: failed program was:" >&5 8600 sed 's/^/| /' conftest.$ac_ext >&5 8601 7456 if ac_fn_cxx_try_cpp "$LINENO"; then : 7457 7458 else 8602 7459 # Broken: fails on valid input. 8603 7460 continue 8604 7461 fi 8605 8606 rm -f conftest.err conftest.$ac_ext 7462 rm -f conftest.err conftest.i conftest.$ac_ext 8607 7463 8608 7464 # OK, works on sane cases. Now check whether nonexistent headers 8609 7465 # can be detected and how. 8610 cat >conftest.$ac_ext <<_ACEOF 8611 /* confdefs.h. */ 8612 _ACEOF 8613 cat confdefs.h >>conftest.$ac_ext 8614 cat >>conftest.$ac_ext <<_ACEOF 7466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8615 7467 /* end confdefs.h. */ 8616 7468 #include <ac_nonexistent.h> 8617 7469 _ACEOF 8618 if { (ac_try="$ac_cpp conftest.$ac_ext" 8619 case "(($ac_try" in 8620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8621 *) ac_try_echo=$ac_try;; 8622 esac 8623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8624 $as_echo "$ac_try_echo") >&5 8625 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8626 ac_status=$? 8627 grep -v '^ *+' conftest.er1 >conftest.err 8628 rm -f conftest.er1 8629 cat conftest.err >&5 8630 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8631 (exit $ac_status); } >/dev/null && { 8632 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8633 test ! -s conftest.err 8634 }; then 7470 if ac_fn_cxx_try_cpp "$LINENO"; then : 8635 7471 # Broken: success on invalid input. 8636 7472 continue 8637 7473 else 8638 $as_echo "$as_me: failed program was:" >&58639 sed 's/^/| /' conftest.$ac_ext >&58640 8641 7474 # Passes both tests. 8642 7475 ac_preproc_ok=: 8643 7476 break 8644 7477 fi 8645 8646 rm -f conftest.err conftest.$ac_ext 7478 rm -f conftest.err conftest.i conftest.$ac_ext 8647 7479 8648 7480 done 8649 7481 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8650 rm -f conftest. err conftest.$ac_ext8651 if $ac_preproc_ok; then 8652 : 8653 else 8654 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&57482 rm -f conftest.i conftest.err conftest.$ac_ext 7483 if $ac_preproc_ok; then : 7484 7485 else 7486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8655 7487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8656 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8657 See \`config.log' for more details." >&5 8658 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8659 See \`config.log' for more details." >&2;} 8660 { (exit 1); exit 1; }; }; } 7488 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 7489 See \`config.log' for more details" "$LINENO" 5; } 8661 7490 fi 8662 7491 … … 8681 7510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8682 7511 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8683 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8684 7513 $as_echo_n "checking for $ac_word... " >&6; } 8685 if test "${ac_cv_prog_CXX+set}" = set; then7514 if ${ac_cv_prog_CXX+:} false; then : 8686 7515 $as_echo_n "(cached) " >&6 8687 7516 else … … 8694 7523 IFS=$as_save_IFS 8695 7524 test -z "$as_dir" && as_dir=. 8696 for ac_exec_ext in '' $ac_executable_extensions; do8697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7525 for ac_exec_ext in '' $ac_executable_extensions; do 7526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8698 7527 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 8699 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8700 7529 break 2 8701 7530 fi 8702 7531 done 8703 done7532 done 8704 7533 IFS=$as_save_IFS 8705 7534 … … 8708 7537 CXX=$ac_cv_prog_CXX 8709 7538 if test -n "$CXX"; then 8710 { $as_echo "$as_me:$ LINENO: result: $CXX" >&57539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 8711 7540 $as_echo "$CXX" >&6; } 8712 7541 else 8713 { $as_echo "$as_me:$ LINENO: result: no" >&57542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8714 7543 $as_echo "no" >&6; } 8715 7544 fi … … 8725 7554 # Extract the first word of "$ac_prog", so it can be a program name with args. 8726 7555 set dummy $ac_prog; ac_word=$2 8727 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8728 7557 $as_echo_n "checking for $ac_word... " >&6; } 8729 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then7558 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 8730 7559 $as_echo_n "(cached) " >&6 8731 7560 else … … 8738 7567 IFS=$as_save_IFS 8739 7568 test -z "$as_dir" && as_dir=. 8740 for ac_exec_ext in '' $ac_executable_extensions; do8741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7569 for ac_exec_ext in '' $ac_executable_extensions; do 7570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8742 7571 ac_cv_prog_ac_ct_CXX="$ac_prog" 8743 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8744 7573 break 2 8745 7574 fi 8746 7575 done 8747 done7576 done 8748 7577 IFS=$as_save_IFS 8749 7578 … … 8752 7581 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 8753 7582 if test -n "$ac_ct_CXX"; then 8754 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&57583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 8755 7584 $as_echo "$ac_ct_CXX" >&6; } 8756 7585 else 8757 { $as_echo "$as_me:$ LINENO: result: no" >&57586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8758 7587 $as_echo "no" >&6; } 8759 7588 fi … … 8768 7597 case $cross_compiling:$ac_tool_warned in 8769 7598 yes:) 8770 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&57599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8771 7600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8772 7601 ac_tool_warned=yes ;; … … 8779 7608 fi 8780 7609 # Provide some information about the compiler. 8781 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&57610 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 8782 7611 set X $ac_compile 8783 7612 ac_compiler=$2 8784 { (ac_try="$ac_compiler --version >&5" 7613 for ac_option in --version -v -V -qversion; do 7614 { { ac_try="$ac_compiler $ac_option >&5" 8785 7615 case "(($ac_try" in 8786 7616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8787 7617 *) ac_try_echo=$ac_try;; 8788 7618 esac 8789 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""8790 $as_echo "$ac_try_echo" )>&58791 (eval "$ac_compiler --version >&5") 2>&57619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 7620 $as_echo "$ac_try_echo"; } >&5 7621 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 8792 7622 ac_status=$? 8793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8794 (exit $ac_status); } 8795 { (ac_try="$ac_compiler -v >&5" 8796 case "(($ac_try" in 8797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8798 *) ac_try_echo=$ac_try;; 8799 esac 8800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8801 $as_echo "$ac_try_echo") >&5 8802 (eval "$ac_compiler -v >&5") 2>&5 8803 ac_status=$? 8804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8805 (exit $ac_status); } 8806 { (ac_try="$ac_compiler -V >&5" 8807 case "(($ac_try" in 8808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8809 *) ac_try_echo=$ac_try;; 8810 esac 8811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8812 $as_echo "$ac_try_echo") >&5 8813 (eval "$ac_compiler -V >&5") 2>&5 8814 ac_status=$? 8815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8816 (exit $ac_status); } 8817 8818 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7623 if test -s conftest.err; then 7624 sed '10a\ 7625 ... rest of stderr output deleted ... 7626 10q' conftest.err >conftest.er1 7627 cat conftest.er1 >&5 7628 fi 7629 rm -f conftest.er1 conftest.err 7630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7631 test $ac_status = 0; } 7632 done 7633 7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8819 7635 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 8820 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then7636 if ${ac_cv_cxx_compiler_gnu+:} false; then : 8821 7637 $as_echo_n "(cached) " >&6 8822 7638 else 8823 cat >conftest.$ac_ext <<_ACEOF 8824 /* confdefs.h. */ 8825 _ACEOF 8826 cat confdefs.h >>conftest.$ac_ext 8827 cat >>conftest.$ac_ext <<_ACEOF 7639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8828 7640 /* end confdefs.h. */ 8829 7641 … … 8839 7651 } 8840 7652 _ACEOF 8841 rm -f conftest.$ac_objext 8842 if { (ac_try="$ac_compile" 8843 case "(($ac_try" in 8844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8845 *) ac_try_echo=$ac_try;; 8846 esac 8847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8848 $as_echo "$ac_try_echo") >&5 8849 (eval "$ac_compile") 2>conftest.er1 8850 ac_status=$? 8851 grep -v '^ *+' conftest.er1 >conftest.err 8852 rm -f conftest.er1 8853 cat conftest.err >&5 8854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8855 (exit $ac_status); } && { 8856 test -z "$ac_cxx_werror_flag" || 8857 test ! -s conftest.err 8858 } && test -s conftest.$ac_objext; then 7653 if ac_fn_cxx_try_compile "$LINENO"; then : 8859 7654 ac_compiler_gnu=yes 8860 7655 else 8861 $as_echo "$as_me: failed program was:" >&5 8862 sed 's/^/| /' conftest.$ac_ext >&5 8863 8864 ac_compiler_gnu=no 8865 fi 8866 7656 ac_compiler_gnu=no 7657 fi 8867 7658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8868 7659 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 8869 7660 8870 7661 fi 8871 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&57662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 8872 7663 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 8873 7664 if test $ac_compiler_gnu = yes; then … … 8878 7669 ac_test_CXXFLAGS=${CXXFLAGS+set} 8879 7670 ac_save_CXXFLAGS=$CXXFLAGS 8880 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&57671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 8881 7672 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 8882 if test "${ac_cv_prog_cxx_g+set}" = set; then7673 if ${ac_cv_prog_cxx_g+:} false; then : 8883 7674 $as_echo_n "(cached) " >&6 8884 7675 else … … 8887 7678 ac_cv_prog_cxx_g=no 8888 7679 CXXFLAGS="-g" 8889 cat >conftest.$ac_ext <<_ACEOF 8890 /* confdefs.h. */ 8891 _ACEOF 8892 cat confdefs.h >>conftest.$ac_ext 8893 cat >>conftest.$ac_ext <<_ACEOF 7680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8894 7681 /* end confdefs.h. */ 8895 7682 … … 8902 7689 } 8903 7690 _ACEOF 8904 rm -f conftest.$ac_objext 8905 if { (ac_try="$ac_compile" 8906 case "(($ac_try" in 8907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8908 *) ac_try_echo=$ac_try;; 8909 esac 8910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8911 $as_echo "$ac_try_echo") >&5 8912 (eval "$ac_compile") 2>conftest.er1 8913 ac_status=$? 8914 grep -v '^ *+' conftest.er1 >conftest.err 8915 rm -f conftest.er1 8916 cat conftest.err >&5 8917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8918 (exit $ac_status); } && { 8919 test -z "$ac_cxx_werror_flag" || 8920 test ! -s conftest.err 8921 } && test -s conftest.$ac_objext; then 7691 if ac_fn_cxx_try_compile "$LINENO"; then : 8922 7692 ac_cv_prog_cxx_g=yes 8923 7693 else 8924 $as_echo "$as_me: failed program was:" >&5 8925 sed 's/^/| /' conftest.$ac_ext >&5 8926 8927 CXXFLAGS="" 8928 cat >conftest.$ac_ext <<_ACEOF 8929 /* confdefs.h. */ 8930 _ACEOF 8931 cat confdefs.h >>conftest.$ac_ext 8932 cat >>conftest.$ac_ext <<_ACEOF 7694 CXXFLAGS="" 7695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8933 7696 /* end confdefs.h. */ 8934 7697 … … 8941 7704 } 8942 7705 _ACEOF 8943 rm -f conftest.$ac_objext 8944 if { (ac_try="$ac_compile" 8945 case "(($ac_try" in 8946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8947 *) ac_try_echo=$ac_try;; 8948 esac 8949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8950 $as_echo "$ac_try_echo") >&5 8951 (eval "$ac_compile") 2>conftest.er1 8952 ac_status=$? 8953 grep -v '^ *+' conftest.er1 >conftest.err 8954 rm -f conftest.er1 8955 cat conftest.err >&5 8956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8957 (exit $ac_status); } && { 8958 test -z "$ac_cxx_werror_flag" || 8959 test ! -s conftest.err 8960 } && test -s conftest.$ac_objext; then 8961 : 8962 else 8963 $as_echo "$as_me: failed program was:" >&5 8964 sed 's/^/| /' conftest.$ac_ext >&5 8965 8966 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7706 if ac_fn_cxx_try_compile "$LINENO"; then : 7707 7708 else 7709 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8967 7710 CXXFLAGS="-g" 8968 cat >conftest.$ac_ext <<_ACEOF 8969 /* confdefs.h. */ 8970 _ACEOF 8971 cat confdefs.h >>conftest.$ac_ext 8972 cat >>conftest.$ac_ext <<_ACEOF 7711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8973 7712 /* end confdefs.h. */ 8974 7713 … … 8981 7720 } 8982 7721 _ACEOF 8983 rm -f conftest.$ac_objext 8984 if { (ac_try="$ac_compile" 8985 case "(($ac_try" in 8986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8987 *) ac_try_echo=$ac_try;; 8988 esac 8989 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8990 $as_echo "$ac_try_echo") >&5 8991 (eval "$ac_compile") 2>conftest.er1 8992 ac_status=$? 8993 grep -v '^ *+' conftest.er1 >conftest.err 8994 rm -f conftest.er1 8995 cat conftest.err >&5 8996 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8997 (exit $ac_status); } && { 8998 test -z "$ac_cxx_werror_flag" || 8999 test ! -s conftest.err 9000 } && test -s conftest.$ac_objext; then 7722 if ac_fn_cxx_try_compile "$LINENO"; then : 9001 7723 ac_cv_prog_cxx_g=yes 9002 else 9003 $as_echo "$as_me: failed program was:" >&5 9004 sed 's/^/| /' conftest.$ac_ext >&5 9005 9006 9007 fi 9008 7724 fi 9009 7725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9010 7726 fi 9011 9012 7727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9013 7728 fi 9014 9015 7729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9016 7730 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 9017 7731 fi 9018 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&57732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 9019 7733 $as_echo "$ac_cv_prog_cxx_g" >&6; } 9020 7734 if test "$ac_test_CXXFLAGS" = set; then … … 9047 7761 9048 7762 9049 9050 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 9051 7764 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 9052 if test "${ac_cv_c_bigendian+set}" = set; then7765 if ${ac_cv_c_bigendian+:} false; then : 9053 7766 $as_echo_n "(cached) " >&6 9054 7767 else 9055 7768 ac_cv_c_bigendian=unknown 9056 7769 # See if we're dealing with a universal compiler. 9057 cat >conftest.$ac_ext <<_ACEOF 9058 /* confdefs.h. */ 9059 _ACEOF 9060 cat confdefs.h >>conftest.$ac_ext 9061 cat >>conftest.$ac_ext <<_ACEOF 7770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9062 7771 /* end confdefs.h. */ 9063 7772 #ifndef __APPLE_CC__ … … 9067 7776 9068 7777 _ACEOF 9069 rm -f conftest.$ac_objext 9070 if { (ac_try="$ac_compile" 9071 case "(($ac_try" in 9072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9073 *) ac_try_echo=$ac_try;; 9074 esac 9075 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9076 $as_echo "$ac_try_echo") >&5 9077 (eval "$ac_compile") 2>conftest.er1 9078 ac_status=$? 9079 grep -v '^ *+' conftest.er1 >conftest.err 9080 rm -f conftest.er1 9081 cat conftest.err >&5 9082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9083 (exit $ac_status); } && { 9084 test -z "$ac_cxx_werror_flag" || 9085 test ! -s conftest.err 9086 } && test -s conftest.$ac_objext; then 7778 if ac_fn_cxx_try_compile "$LINENO"; then : 9087 7779 9088 7780 # Check for potential -arch flags. It is not universal unless 9089 # there are some -arch flags. Note that *ppc* also matches 9090 # ppc64. This check is also rather less than ideal. 9091 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 9092 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 9093 esac 9094 else 9095 $as_echo "$as_me: failed program was:" >&5 9096 sed 's/^/| /' conftest.$ac_ext >&5 9097 9098 9099 fi 9100 7781 # there are at least two -arch flags with different values. 7782 ac_arch= 7783 ac_prev= 7784 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 7785 if test -n "$ac_prev"; then 7786 case $ac_word in 7787 i?86 | x86_64 | ppc | ppc64) 7788 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 7789 ac_arch=$ac_word 7790 else 7791 ac_cv_c_bigendian=universal 7792 break 7793 fi 7794 ;; 7795 esac 7796 ac_prev= 7797 elif test "x$ac_word" = "x-arch"; then 7798 ac_prev=arch 7799 fi 7800 done 7801 fi 9101 7802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9102 7803 if test $ac_cv_c_bigendian = unknown; then 9103 7804 # See if sys/param.h defines the BYTE_ORDER macro. 9104 cat >conftest.$ac_ext <<_ACEOF 9105 /* confdefs.h. */ 9106 _ACEOF 9107 cat confdefs.h >>conftest.$ac_ext 9108 cat >>conftest.$ac_ext <<_ACEOF 7805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9109 7806 /* end confdefs.h. */ 9110 7807 #include <sys/types.h> … … 9124 7821 } 9125 7822 _ACEOF 9126 rm -f conftest.$ac_objext 9127 if { (ac_try="$ac_compile" 9128 case "(($ac_try" in 9129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9130 *) ac_try_echo=$ac_try;; 9131 esac 9132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9133 $as_echo "$ac_try_echo") >&5 9134 (eval "$ac_compile") 2>conftest.er1 9135 ac_status=$? 9136 grep -v '^ *+' conftest.er1 >conftest.err 9137 rm -f conftest.er1 9138 cat conftest.err >&5 9139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9140 (exit $ac_status); } && { 9141 test -z "$ac_cxx_werror_flag" || 9142 test ! -s conftest.err 9143 } && test -s conftest.$ac_objext; then 7823 if ac_fn_cxx_try_compile "$LINENO"; then : 9144 7824 # It does; now see whether it defined to BIG_ENDIAN or not. 9145 cat >conftest.$ac_ext <<_ACEOF 9146 /* confdefs.h. */ 9147 _ACEOF 9148 cat confdefs.h >>conftest.$ac_ext 9149 cat >>conftest.$ac_ext <<_ACEOF 7825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9150 7826 /* end confdefs.h. */ 9151 7827 #include <sys/types.h> … … 9163 7839 } 9164 7840 _ACEOF 9165 rm -f conftest.$ac_objext 9166 if { (ac_try="$ac_compile" 9167 case "(($ac_try" in 9168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9169 *) ac_try_echo=$ac_try;; 9170 esac 9171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9172 $as_echo "$ac_try_echo") >&5 9173 (eval "$ac_compile") 2>conftest.er1 9174 ac_status=$? 9175 grep -v '^ *+' conftest.er1 >conftest.err 9176 rm -f conftest.er1 9177 cat conftest.err >&5 9178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9179 (exit $ac_status); } && { 9180 test -z "$ac_cxx_werror_flag" || 9181 test ! -s conftest.err 9182 } && test -s conftest.$ac_objext; then 7841 if ac_fn_cxx_try_compile "$LINENO"; then : 9183 7842 ac_cv_c_bigendian=yes 9184 7843 else 9185 $as_echo "$as_me: failed program was:" >&5 9186 sed 's/^/| /' conftest.$ac_ext >&5 9187 9188 ac_cv_c_bigendian=no 9189 fi 9190 7844 ac_cv_c_bigendian=no 7845 fi 9191 7846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9192 else 9193 $as_echo "$as_me: failed program was:" >&5 9194 sed 's/^/| /' conftest.$ac_ext >&5 9195 9196 9197 fi 9198 7847 fi 9199 7848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9200 7849 fi 9201 7850 if test $ac_cv_c_bigendian = unknown; then 9202 7851 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 9203 cat >conftest.$ac_ext <<_ACEOF 9204 /* confdefs.h. */ 9205 _ACEOF 9206 cat confdefs.h >>conftest.$ac_ext 9207 cat >>conftest.$ac_ext <<_ACEOF 7852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9208 7853 /* end confdefs.h. */ 9209 7854 #include <limits.h> … … 9220 7865 } 9221 7866 _ACEOF 9222 rm -f conftest.$ac_objext 9223 if { (ac_try="$ac_compile" 9224 case "(($ac_try" in 9225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9226 *) ac_try_echo=$ac_try;; 9227 esac 9228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9229 $as_echo "$ac_try_echo") >&5 9230 (eval "$ac_compile") 2>conftest.er1 9231 ac_status=$? 9232 grep -v '^ *+' conftest.er1 >conftest.err 9233 rm -f conftest.er1 9234 cat conftest.err >&5 9235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9236 (exit $ac_status); } && { 9237 test -z "$ac_cxx_werror_flag" || 9238 test ! -s conftest.err 9239 } && test -s conftest.$ac_objext; then 7867 if ac_fn_cxx_try_compile "$LINENO"; then : 9240 7868 # It does; now see whether it defined to _BIG_ENDIAN or not. 9241 cat >conftest.$ac_ext <<_ACEOF 9242 /* confdefs.h. */ 9243 _ACEOF 9244 cat confdefs.h >>conftest.$ac_ext 9245 cat >>conftest.$ac_ext <<_ACEOF 7869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9246 7870 /* end confdefs.h. */ 9247 7871 #include <limits.h> … … 9258 7882 } 9259 7883 _ACEOF 9260 rm -f conftest.$ac_objext 9261 if { (ac_try="$ac_compile" 9262 case "(($ac_try" in 9263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9264 *) ac_try_echo=$ac_try;; 9265 esac 9266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9267 $as_echo "$ac_try_echo") >&5 9268 (eval "$ac_compile") 2>conftest.er1 9269 ac_status=$? 9270 grep -v '^ *+' conftest.er1 >conftest.err 9271 rm -f conftest.er1 9272 cat conftest.err >&5 9273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9274 (exit $ac_status); } && { 9275 test -z "$ac_cxx_werror_flag" || 9276 test ! -s conftest.err 9277 } && test -s conftest.$ac_objext; then 7884 if ac_fn_cxx_try_compile "$LINENO"; then : 9278 7885 ac_cv_c_bigendian=yes 9279 7886 else 9280 $as_echo "$as_me: failed program was:" >&5 9281 sed 's/^/| /' conftest.$ac_ext >&5 9282 9283 ac_cv_c_bigendian=no 9284 fi 9285 7887 ac_cv_c_bigendian=no 7888 fi 9286 7889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9287 else 9288 $as_echo "$as_me: failed program was:" >&5 9289 sed 's/^/| /' conftest.$ac_ext >&5 9290 9291 9292 fi 9293 7890 fi 9294 7891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9295 7892 fi 9296 7893 if test $ac_cv_c_bigendian = unknown; then 9297 7894 # Compile a test program. 9298 if test "$cross_compiling" = yes; then 7895 if test "$cross_compiling" = yes; then : 9299 7896 # Try to guess by grepping values from an object file. 9300 cat >conftest.$ac_ext <<_ACEOF 9301 /* confdefs.h. */ 9302 _ACEOF 9303 cat confdefs.h >>conftest.$ac_ext 9304 cat >>conftest.$ac_ext <<_ACEOF 7897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9305 7898 /* end confdefs.h. */ 9306 7899 short int ascii_mm[] = … … 9328 7921 } 9329 7922 _ACEOF 9330 rm -f conftest.$ac_objext 9331 if { (ac_try="$ac_compile" 9332 case "(($ac_try" in 9333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9334 *) ac_try_echo=$ac_try;; 9335 esac 9336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9337 $as_echo "$ac_try_echo") >&5 9338 (eval "$ac_compile") 2>conftest.er1 9339 ac_status=$? 9340 grep -v '^ *+' conftest.er1 >conftest.err 9341 rm -f conftest.er1 9342 cat conftest.err >&5 9343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9344 (exit $ac_status); } && { 9345 test -z "$ac_cxx_werror_flag" || 9346 test ! -s conftest.err 9347 } && test -s conftest.$ac_objext; then 7923 if ac_fn_cxx_try_compile "$LINENO"; then : 9348 7924 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 9349 7925 ac_cv_c_bigendian=yes … … 9357 7933 fi 9358 7934 fi 9359 else 9360 $as_echo "$as_me: failed program was:" >&5 9361 sed 's/^/| /' conftest.$ac_ext >&5 9362 9363 9364 fi 9365 7935 fi 9366 7936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9367 7937 else 9368 cat >conftest.$ac_ext <<_ACEOF 9369 /* confdefs.h. */ 9370 _ACEOF 9371 cat confdefs.h >>conftest.$ac_ext 9372 cat >>conftest.$ac_ext <<_ACEOF 7938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9373 7939 /* end confdefs.h. */ 9374 7940 $ac_includes_default … … 9390 7956 } 9391 7957 _ACEOF 9392 rm -f conftest$ac_exeext 9393 if { (ac_try="$ac_link" 9394 case "(($ac_try" in 9395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9396 *) ac_try_echo=$ac_try;; 9397 esac 9398 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9399 $as_echo "$ac_try_echo") >&5 9400 (eval "$ac_link") 2>&5 9401 ac_status=$? 9402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9403 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9404 { (case "(($ac_try" in 9405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9406 *) ac_try_echo=$ac_try;; 9407 esac 9408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9409 $as_echo "$ac_try_echo") >&5 9410 (eval "$ac_try") 2>&5 9411 ac_status=$? 9412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9413 (exit $ac_status); }; }; then 7958 if ac_fn_cxx_try_run "$LINENO"; then : 9414 7959 ac_cv_c_bigendian=no 9415 7960 else 9416 $as_echo "$as_me: program exited with status $ac_status" >&5 9417 $as_echo "$as_me: failed program was:" >&5 9418 sed 's/^/| /' conftest.$ac_ext >&5 9419 9420 ( exit $ac_status ) 9421 ac_cv_c_bigendian=yes 9422 fi 9423 rm -rf conftest.dSYM 9424 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9425 fi 9426 7961 ac_cv_c_bigendian=yes 7962 fi 7963 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7964 conftest.$ac_objext conftest.beam conftest.$ac_ext 7965 fi 9427 7966 9428 7967 fi 9429 7968 fi 9430 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_bigendian" >&57969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 9431 7970 $as_echo "$ac_cv_c_bigendian" >&6; } 9432 7971 case $ac_cv_c_bigendian in #( 9433 7972 yes) 9434 cat >>confdefs.h <<\_ACEOF 9435 #define WORDS_BIGENDIAN 1 9436 _ACEOF 7973 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9437 7974 ;; #( 9438 7975 no) … … 9440 7977 universal) 9441 7978 9442 cat >>confdefs.h <<\_ACEOF 9443 #define AC_APPLE_UNIVERSAL_BUILD 1 9444 _ACEOF 7979 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9445 7980 9446 7981 ;; #( 9447 7982 *) 9448 { { $as_echo "$as_me:$LINENO: error: unknown endianness 9449 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 9450 $as_echo "$as_me: error: unknown endianness 9451 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 9452 { (exit 1); exit 1; }; } ;; 7983 as_fn_error $? "unknown endianness 7984 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9453 7985 esac 9454 7986 … … 9457 7989 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 9458 7990 # This bug is HP SR number 8606223364. 9459 { $as_echo "$as_me:$ LINENO: checking size of int" >&57991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 9460 7992 $as_echo_n "checking size of int... " >&6; } 9461 if test "${ac_cv_sizeof_int+set}" = set; then7993 if ${ac_cv_sizeof_int+:} false; then : 9462 7994 $as_echo_n "(cached) " >&6 9463 7995 else 9464 if test "$cross_compiling" = yes; then 9465 # Depending upon the size, compute the lo and hi bounds. 9466 cat >conftest.$ac_ext <<_ACEOF 9467 /* confdefs.h. */ 9468 _ACEOF 9469 cat confdefs.h >>conftest.$ac_ext 9470 cat >>conftest.$ac_ext <<_ACEOF 9471 /* end confdefs.h. */ 9472 $ac_includes_default 9473 int 9474 main () 9475 { 9476 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)]; 9477 test_array [0] = 0 9478 9479 ; 9480 return 0; 9481 } 9482 _ACEOF 9483 rm -f conftest.$ac_objext 9484 if { (ac_try="$ac_compile" 9485 case "(($ac_try" in 9486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9487 *) ac_try_echo=$ac_try;; 9488 esac 9489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9490 $as_echo "$ac_try_echo") >&5 9491 (eval "$ac_compile") 2>conftest.er1 9492 ac_status=$? 9493 grep -v '^ *+' conftest.er1 >conftest.err 9494 rm -f conftest.er1 9495 cat conftest.err >&5 9496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9497 (exit $ac_status); } && { 9498 test -z "$ac_cxx_werror_flag" || 9499 test ! -s conftest.err 9500 } && test -s conftest.$ac_objext; then 9501 ac_lo=0 ac_mid=0 9502 while :; do 9503 cat >conftest.$ac_ext <<_ACEOF 9504 /* confdefs.h. */ 9505 _ACEOF 9506 cat confdefs.h >>conftest.$ac_ext 9507 cat >>conftest.$ac_ext <<_ACEOF 9508 /* end confdefs.h. */ 9509 $ac_includes_default 9510 int 9511 main () 9512 { 9513 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9514 test_array [0] = 0 9515 9516 ; 9517 return 0; 9518 } 9519 _ACEOF 9520 rm -f conftest.$ac_objext 9521 if { (ac_try="$ac_compile" 9522 case "(($ac_try" in 9523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9524 *) ac_try_echo=$ac_try;; 9525 esac 9526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9527 $as_echo "$ac_try_echo") >&5 9528 (eval "$ac_compile") 2>conftest.er1 9529 ac_status=$? 9530 grep -v '^ *+' conftest.er1 >conftest.err 9531 rm -f conftest.er1 9532 cat conftest.err >&5 9533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9534 (exit $ac_status); } && { 9535 test -z "$ac_cxx_werror_flag" || 9536 test ! -s conftest.err 9537 } && test -s conftest.$ac_objext; then 9538 ac_hi=$ac_mid; break 9539 else 9540 $as_echo "$as_me: failed program was:" >&5 9541 sed 's/^/| /' conftest.$ac_ext >&5 9542 9543 ac_lo=`expr $ac_mid + 1` 9544 if test $ac_lo -le $ac_mid; then 9545 ac_lo= ac_hi= 9546 break 9547 fi 9548 ac_mid=`expr 2 '*' $ac_mid + 1` 9549 fi 9550 9551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9552 done 9553 else 9554 $as_echo "$as_me: failed program was:" >&5 9555 sed 's/^/| /' conftest.$ac_ext >&5 9556 9557 cat >conftest.$ac_ext <<_ACEOF 9558 /* confdefs.h. */ 9559 _ACEOF 9560 cat confdefs.h >>conftest.$ac_ext 9561 cat >>conftest.$ac_ext <<_ACEOF 9562 /* end confdefs.h. */ 9563 $ac_includes_default 9564 int 9565 main () 9566 { 9567 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)]; 9568 test_array [0] = 0 9569 9570 ; 9571 return 0; 9572 } 9573 _ACEOF 9574 rm -f conftest.$ac_objext 9575 if { (ac_try="$ac_compile" 9576 case "(($ac_try" in 9577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9578 *) ac_try_echo=$ac_try;; 9579 esac 9580 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9581 $as_echo "$ac_try_echo") >&5 9582 (eval "$ac_compile") 2>conftest.er1 9583 ac_status=$? 9584 grep -v '^ *+' conftest.er1 >conftest.err 9585 rm -f conftest.er1 9586 cat conftest.err >&5 9587 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9588 (exit $ac_status); } && { 9589 test -z "$ac_cxx_werror_flag" || 9590 test ! -s conftest.err 9591 } && test -s conftest.$ac_objext; then 9592 ac_hi=-1 ac_mid=-1 9593 while :; do 9594 cat >conftest.$ac_ext <<_ACEOF 9595 /* confdefs.h. */ 9596 _ACEOF 9597 cat confdefs.h >>conftest.$ac_ext 9598 cat >>conftest.$ac_ext <<_ACEOF 9599 /* end confdefs.h. */ 9600 $ac_includes_default 9601 int 9602 main () 9603 { 9604 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)]; 9605 test_array [0] = 0 9606 9607 ; 9608 return 0; 9609 } 9610 _ACEOF 9611 rm -f conftest.$ac_objext 9612 if { (ac_try="$ac_compile" 9613 case "(($ac_try" in 9614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9615 *) ac_try_echo=$ac_try;; 9616 esac 9617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9618 $as_echo "$ac_try_echo") >&5 9619 (eval "$ac_compile") 2>conftest.er1 9620 ac_status=$? 9621 grep -v '^ *+' conftest.er1 >conftest.err 9622 rm -f conftest.er1 9623 cat conftest.err >&5 9624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9625 (exit $ac_status); } && { 9626 test -z "$ac_cxx_werror_flag" || 9627 test ! -s conftest.err 9628 } && test -s conftest.$ac_objext; then 9629 ac_lo=$ac_mid; break 9630 else 9631 $as_echo "$as_me: failed program was:" >&5 9632 sed 's/^/| /' conftest.$ac_ext >&5 9633 9634 ac_hi=`expr '(' $ac_mid ')' - 1` 9635 if test $ac_mid -le $ac_hi; then 9636 ac_lo= ac_hi= 9637 break 9638 fi 9639 ac_mid=`expr 2 '*' $ac_mid` 9640 fi 9641 9642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9643 done 9644 else 9645 $as_echo "$as_me: failed program was:" >&5 9646 sed 's/^/| /' conftest.$ac_ext >&5 9647 9648 ac_lo= ac_hi= 9649 fi 9650 9651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9652 fi 9653 9654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9655 # Binary search between lo and hi bounds. 9656 while test "x$ac_lo" != "x$ac_hi"; do 9657 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 9658 cat >conftest.$ac_ext <<_ACEOF 9659 /* confdefs.h. */ 9660 _ACEOF 9661 cat confdefs.h >>conftest.$ac_ext 9662 cat >>conftest.$ac_ext <<_ACEOF 9663 /* end confdefs.h. */ 9664 $ac_includes_default 9665 int 9666 main () 9667 { 9668 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9669 test_array [0] = 0 9670 9671 ; 9672 return 0; 9673 } 9674 _ACEOF 9675 rm -f conftest.$ac_objext 9676 if { (ac_try="$ac_compile" 9677 case "(($ac_try" in 9678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9679 *) ac_try_echo=$ac_try;; 9680 esac 9681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9682 $as_echo "$ac_try_echo") >&5 9683 (eval "$ac_compile") 2>conftest.er1 9684 ac_status=$? 9685 grep -v '^ *+' conftest.er1 >conftest.err 9686 rm -f conftest.er1 9687 cat conftest.err >&5 9688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9689 (exit $ac_status); } && { 9690 test -z "$ac_cxx_werror_flag" || 9691 test ! -s conftest.err 9692 } && test -s conftest.$ac_objext; then 9693 ac_hi=$ac_mid 9694 else 9695 $as_echo "$as_me: failed program was:" >&5 9696 sed 's/^/| /' conftest.$ac_ext >&5 9697 9698 ac_lo=`expr '(' $ac_mid ')' + 1` 9699 fi 9700 9701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9702 done 9703 case $ac_lo in 9704 ?*) ac_cv_sizeof_int=$ac_lo;; 9705 '') if test "$ac_cv_type_int" = yes; then 9706 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7996 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 7997 7998 else 7999 if test "$ac_cv_type_int" = yes; then 8000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9707 8001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9708 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9709 See \`config.log' for more details." >&5 9710 $as_echo "$as_me: error: cannot compute sizeof (int) 9711 See \`config.log' for more details." >&2;} 9712 { (exit 77); exit 77; }; }; } 9713 else 9714 ac_cv_sizeof_int=0 9715 fi ;; 9716 esac 9717 else 9718 cat >conftest.$ac_ext <<_ACEOF 9719 /* confdefs.h. */ 9720 _ACEOF 9721 cat confdefs.h >>conftest.$ac_ext 9722 cat >>conftest.$ac_ext <<_ACEOF 9723 /* end confdefs.h. */ 9724 $ac_includes_default 9725 static long int longval () { return (long int) (sizeof (int)); } 9726 static unsigned long int ulongval () { return (long int) (sizeof (int)); } 9727 #include <stdio.h> 9728 #include <stdlib.h> 9729 int 9730 main () 9731 { 9732 9733 FILE *f = fopen ("conftest.val", "w"); 9734 if (! f) 9735 return 1; 9736 if (((long int) (sizeof (int))) < 0) 9737 { 9738 long int i = longval (); 9739 if (i != ((long int) (sizeof (int)))) 9740 return 1; 9741 fprintf (f, "%ld", i); 9742 } 9743 else 9744 { 9745 unsigned long int i = ulongval (); 9746 if (i != ((long int) (sizeof (int)))) 9747 return 1; 9748 fprintf (f, "%lu", i); 9749 } 9750 /* Do not output a trailing newline, as this causes \r\n confusion 9751 on some platforms. */ 9752 return ferror (f) || fclose (f) != 0; 9753 9754 ; 9755 return 0; 9756 } 9757 _ACEOF 9758 rm -f conftest$ac_exeext 9759 if { (ac_try="$ac_link" 9760 case "(($ac_try" in 9761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9762 *) ac_try_echo=$ac_try;; 9763 esac 9764 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9765 $as_echo "$ac_try_echo") >&5 9766 (eval "$ac_link") 2>&5 9767 ac_status=$? 9768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9769 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9770 { (case "(($ac_try" in 9771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9772 *) ac_try_echo=$ac_try;; 9773 esac 9774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9775 $as_echo "$ac_try_echo") >&5 9776 (eval "$ac_try") 2>&5 9777 ac_status=$? 9778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9779 (exit $ac_status); }; }; then 9780 ac_cv_sizeof_int=`cat conftest.val` 9781 else 9782 $as_echo "$as_me: program exited with status $ac_status" >&5 9783 $as_echo "$as_me: failed program was:" >&5 9784 sed 's/^/| /' conftest.$ac_ext >&5 9785 9786 ( exit $ac_status ) 9787 if test "$ac_cv_type_int" = yes; then 9788 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9790 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9791 See \`config.log' for more details." >&5 9792 $as_echo "$as_me: error: cannot compute sizeof (int) 9793 See \`config.log' for more details." >&2;} 9794 { (exit 77); exit 77; }; }; } 8002 as_fn_error 77 "cannot compute sizeof (int) 8003 See \`config.log' for more details" "$LINENO" 5; } 9795 8004 else 9796 8005 ac_cv_sizeof_int=0 9797 8006 fi 9798 8007 fi 9799 rm -rf conftest.dSYM 9800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9801 fi 9802 rm -f conftest.val 9803 fi 9804 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 8008 8009 fi 8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9805 8011 $as_echo "$ac_cv_sizeof_int" >&6; } 9806 8012 … … 9816 8022 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 9817 8023 # This bug is HP SR number 8606223364. 9818 { $as_echo "$as_me:$ LINENO: checking size of long" >&58024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 9819 8025 $as_echo_n "checking size of long... " >&6; } 9820 if test "${ac_cv_sizeof_long+set}" = set; then8026 if ${ac_cv_sizeof_long+:} false; then : 9821 8027 $as_echo_n "(cached) " >&6 9822 8028 else 9823 if test "$cross_compiling" = yes; then 9824 # Depending upon the size, compute the lo and hi bounds. 9825 cat >conftest.$ac_ext <<_ACEOF 9826 /* confdefs.h. */ 9827 _ACEOF 9828 cat confdefs.h >>conftest.$ac_ext 9829 cat >>conftest.$ac_ext <<_ACEOF 9830 /* end confdefs.h. */ 9831 $ac_includes_default 9832 int 9833 main () 9834 { 9835 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)]; 9836 test_array [0] = 0 9837 9838 ; 9839 return 0; 9840 } 9841 _ACEOF 9842 rm -f conftest.$ac_objext 9843 if { (ac_try="$ac_compile" 9844 case "(($ac_try" in 9845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9846 *) ac_try_echo=$ac_try;; 9847 esac 9848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9849 $as_echo "$ac_try_echo") >&5 9850 (eval "$ac_compile") 2>conftest.er1 9851 ac_status=$? 9852 grep -v '^ *+' conftest.er1 >conftest.err 9853 rm -f conftest.er1 9854 cat conftest.err >&5 9855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9856 (exit $ac_status); } && { 9857 test -z "$ac_cxx_werror_flag" || 9858 test ! -s conftest.err 9859 } && test -s conftest.$ac_objext; then 9860 ac_lo=0 ac_mid=0 9861 while :; do 9862 cat >conftest.$ac_ext <<_ACEOF 9863 /* confdefs.h. */ 9864 _ACEOF 9865 cat confdefs.h >>conftest.$ac_ext 9866 cat >>conftest.$ac_ext <<_ACEOF 9867 /* end confdefs.h. */ 9868 $ac_includes_default 9869 int 9870 main () 9871 { 9872 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 9873 test_array [0] = 0 9874 9875 ; 9876 return 0; 9877 } 9878 _ACEOF 9879 rm -f conftest.$ac_objext 9880 if { (ac_try="$ac_compile" 9881 case "(($ac_try" in 9882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9883 *) ac_try_echo=$ac_try;; 9884 esac 9885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9886 $as_echo "$ac_try_echo") >&5 9887 (eval "$ac_compile") 2>conftest.er1 9888 ac_status=$? 9889 grep -v '^ *+' conftest.er1 >conftest.err 9890 rm -f conftest.er1 9891 cat conftest.err >&5 9892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9893 (exit $ac_status); } && { 9894 test -z "$ac_cxx_werror_flag" || 9895 test ! -s conftest.err 9896 } && test -s conftest.$ac_objext; then 9897 ac_hi=$ac_mid; break 9898 else 9899 $as_echo "$as_me: failed program was:" >&5 9900 sed 's/^/| /' conftest.$ac_ext >&5 9901 9902 ac_lo=`expr $ac_mid + 1` 9903 if test $ac_lo -le $ac_mid; then 9904 ac_lo= ac_hi= 9905 break 9906 fi 9907 ac_mid=`expr 2 '*' $ac_mid + 1` 9908 fi 9909 9910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9911 done 9912 else 9913 $as_echo "$as_me: failed program was:" >&5 9914 sed 's/^/| /' conftest.$ac_ext >&5 9915 9916 cat >conftest.$ac_ext <<_ACEOF 9917 /* confdefs.h. */ 9918 _ACEOF 9919 cat confdefs.h >>conftest.$ac_ext 9920 cat >>conftest.$ac_ext <<_ACEOF 9921 /* end confdefs.h. */ 9922 $ac_includes_default 9923 int 9924 main () 9925 { 9926 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)]; 9927 test_array [0] = 0 9928 9929 ; 9930 return 0; 9931 } 9932 _ACEOF 9933 rm -f conftest.$ac_objext 9934 if { (ac_try="$ac_compile" 9935 case "(($ac_try" in 9936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9937 *) ac_try_echo=$ac_try;; 9938 esac 9939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9940 $as_echo "$ac_try_echo") >&5 9941 (eval "$ac_compile") 2>conftest.er1 9942 ac_status=$? 9943 grep -v '^ *+' conftest.er1 >conftest.err 9944 rm -f conftest.er1 9945 cat conftest.err >&5 9946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9947 (exit $ac_status); } && { 9948 test -z "$ac_cxx_werror_flag" || 9949 test ! -s conftest.err 9950 } && test -s conftest.$ac_objext; then 9951 ac_hi=-1 ac_mid=-1 9952 while :; do 9953 cat >conftest.$ac_ext <<_ACEOF 9954 /* confdefs.h. */ 9955 _ACEOF 9956 cat confdefs.h >>conftest.$ac_ext 9957 cat >>conftest.$ac_ext <<_ACEOF 9958 /* end confdefs.h. */ 9959 $ac_includes_default 9960 int 9961 main () 9962 { 9963 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)]; 9964 test_array [0] = 0 9965 9966 ; 9967 return 0; 9968 } 9969 _ACEOF 9970 rm -f conftest.$ac_objext 9971 if { (ac_try="$ac_compile" 9972 case "(($ac_try" in 9973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9974 *) ac_try_echo=$ac_try;; 9975 esac 9976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9977 $as_echo "$ac_try_echo") >&5 9978 (eval "$ac_compile") 2>conftest.er1 9979 ac_status=$? 9980 grep -v '^ *+' conftest.er1 >conftest.err 9981 rm -f conftest.er1 9982 cat conftest.err >&5 9983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9984 (exit $ac_status); } && { 9985 test -z "$ac_cxx_werror_flag" || 9986 test ! -s conftest.err 9987 } && test -s conftest.$ac_objext; then 9988 ac_lo=$ac_mid; break 9989 else 9990 $as_echo "$as_me: failed program was:" >&5 9991 sed 's/^/| /' conftest.$ac_ext >&5 9992 9993 ac_hi=`expr '(' $ac_mid ')' - 1` 9994 if test $ac_mid -le $ac_hi; then 9995 ac_lo= ac_hi= 9996 break 9997 fi 9998 ac_mid=`expr 2 '*' $ac_mid` 9999 fi 10000 10001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10002 done 10003 else 10004 $as_echo "$as_me: failed program was:" >&5 10005 sed 's/^/| /' conftest.$ac_ext >&5 10006 10007 ac_lo= ac_hi= 10008 fi 10009 10010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10011 fi 10012 10013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10014 # Binary search between lo and hi bounds. 10015 while test "x$ac_lo" != "x$ac_hi"; do 10016 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10017 cat >conftest.$ac_ext <<_ACEOF 10018 /* confdefs.h. */ 10019 _ACEOF 10020 cat confdefs.h >>conftest.$ac_ext 10021 cat >>conftest.$ac_ext <<_ACEOF 10022 /* end confdefs.h. */ 10023 $ac_includes_default 10024 int 10025 main () 10026 { 10027 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 10028 test_array [0] = 0 10029 10030 ; 10031 return 0; 10032 } 10033 _ACEOF 10034 rm -f conftest.$ac_objext 10035 if { (ac_try="$ac_compile" 10036 case "(($ac_try" in 10037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10038 *) ac_try_echo=$ac_try;; 10039 esac 10040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10041 $as_echo "$ac_try_echo") >&5 10042 (eval "$ac_compile") 2>conftest.er1 10043 ac_status=$? 10044 grep -v '^ *+' conftest.er1 >conftest.err 10045 rm -f conftest.er1 10046 cat conftest.err >&5 10047 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10048 (exit $ac_status); } && { 10049 test -z "$ac_cxx_werror_flag" || 10050 test ! -s conftest.err 10051 } && test -s conftest.$ac_objext; then 10052 ac_hi=$ac_mid 10053 else 10054 $as_echo "$as_me: failed program was:" >&5 10055 sed 's/^/| /' conftest.$ac_ext >&5 10056 10057 ac_lo=`expr '(' $ac_mid ')' + 1` 10058 fi 10059 10060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10061 done 10062 case $ac_lo in 10063 ?*) ac_cv_sizeof_long=$ac_lo;; 10064 '') if test "$ac_cv_type_long" = yes; then 10065 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8029 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 8030 8031 else 8032 if test "$ac_cv_type_long" = yes; then 8033 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10066 8034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10067 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 10068 See \`config.log' for more details." >&5 10069 $as_echo "$as_me: error: cannot compute sizeof (long) 10070 See \`config.log' for more details." >&2;} 10071 { (exit 77); exit 77; }; }; } 10072 else 10073 ac_cv_sizeof_long=0 10074 fi ;; 10075 esac 10076 else 10077 cat >conftest.$ac_ext <<_ACEOF 10078 /* confdefs.h. */ 10079 _ACEOF 10080 cat confdefs.h >>conftest.$ac_ext 10081 cat >>conftest.$ac_ext <<_ACEOF 10082 /* end confdefs.h. */ 10083 $ac_includes_default 10084 static long int longval () { return (long int) (sizeof (long)); } 10085 static unsigned long int ulongval () { return (long int) (sizeof (long)); } 10086 #include <stdio.h> 10087 #include <stdlib.h> 10088 int 10089 main () 10090 { 10091 10092 FILE *f = fopen ("conftest.val", "w"); 10093 if (! f) 10094 return 1; 10095 if (((long int) (sizeof (long))) < 0) 10096 { 10097 long int i = longval (); 10098 if (i != ((long int) (sizeof (long)))) 10099 return 1; 10100 fprintf (f, "%ld", i); 10101 } 10102 else 10103 { 10104 unsigned long int i = ulongval (); 10105 if (i != ((long int) (sizeof (long)))) 10106 return 1; 10107 fprintf (f, "%lu", i); 10108 } 10109 /* Do not output a trailing newline, as this causes \r\n confusion 10110 on some platforms. */ 10111 return ferror (f) || fclose (f) != 0; 10112 10113 ; 10114 return 0; 10115 } 10116 _ACEOF 10117 rm -f conftest$ac_exeext 10118 if { (ac_try="$ac_link" 10119 case "(($ac_try" in 10120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10121 *) ac_try_echo=$ac_try;; 10122 esac 10123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10124 $as_echo "$ac_try_echo") >&5 10125 (eval "$ac_link") 2>&5 10126 ac_status=$? 10127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10128 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10129 { (case "(($ac_try" in 10130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10131 *) ac_try_echo=$ac_try;; 10132 esac 10133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10134 $as_echo "$ac_try_echo") >&5 10135 (eval "$ac_try") 2>&5 10136 ac_status=$? 10137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10138 (exit $ac_status); }; }; then 10139 ac_cv_sizeof_long=`cat conftest.val` 10140 else 10141 $as_echo "$as_me: program exited with status $ac_status" >&5 10142 $as_echo "$as_me: failed program was:" >&5 10143 sed 's/^/| /' conftest.$ac_ext >&5 10144 10145 ( exit $ac_status ) 10146 if test "$ac_cv_type_long" = yes; then 10147 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10149 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 10150 See \`config.log' for more details." >&5 10151 $as_echo "$as_me: error: cannot compute sizeof (long) 10152 See \`config.log' for more details." >&2;} 10153 { (exit 77); exit 77; }; }; } 8035 as_fn_error 77 "cannot compute sizeof (long) 8036 See \`config.log' for more details" "$LINENO" 5; } 10154 8037 else 10155 8038 ac_cv_sizeof_long=0 10156 8039 fi 10157 8040 fi 10158 rm -rf conftest.dSYM 10159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10160 fi 10161 rm -f conftest.val 10162 fi 10163 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 8041 8042 fi 8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 10164 8044 $as_echo "$ac_cv_sizeof_long" >&6; } 10165 8045 … … 10175 8055 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 10176 8056 # This bug is HP SR number 8606223364. 10177 { $as_echo "$as_me:$ LINENO: checking size of long long" >&58057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 10178 8058 $as_echo_n "checking size of long long... " >&6; } 10179 if test "${ac_cv_sizeof_long_long+set}" = set; then8059 if ${ac_cv_sizeof_long_long+:} false; then : 10180 8060 $as_echo_n "(cached) " >&6 10181 8061 else 10182 if test "$cross_compiling" = yes; then 10183 # Depending upon the size, compute the lo and hi bounds. 10184 cat >conftest.$ac_ext <<_ACEOF 10185 /* confdefs.h. */ 10186 _ACEOF 10187 cat confdefs.h >>conftest.$ac_ext 10188 cat >>conftest.$ac_ext <<_ACEOF 10189 /* end confdefs.h. */ 10190 $ac_includes_default 10191 int 10192 main () 10193 { 10194 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)]; 10195 test_array [0] = 0 10196 10197 ; 10198 return 0; 10199 } 10200 _ACEOF 10201 rm -f conftest.$ac_objext 10202 if { (ac_try="$ac_compile" 10203 case "(($ac_try" in 10204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10205 *) ac_try_echo=$ac_try;; 10206 esac 10207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10208 $as_echo "$ac_try_echo") >&5 10209 (eval "$ac_compile") 2>conftest.er1 10210 ac_status=$? 10211 grep -v '^ *+' conftest.er1 >conftest.err 10212 rm -f conftest.er1 10213 cat conftest.err >&5 10214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10215 (exit $ac_status); } && { 10216 test -z "$ac_cxx_werror_flag" || 10217 test ! -s conftest.err 10218 } && test -s conftest.$ac_objext; then 10219 ac_lo=0 ac_mid=0 10220 while :; do 10221 cat >conftest.$ac_ext <<_ACEOF 10222 /* confdefs.h. */ 10223 _ACEOF 10224 cat confdefs.h >>conftest.$ac_ext 10225 cat >>conftest.$ac_ext <<_ACEOF 10226 /* end confdefs.h. */ 10227 $ac_includes_default 10228 int 10229 main () 10230 { 10231 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 10232 test_array [0] = 0 10233 10234 ; 10235 return 0; 10236 } 10237 _ACEOF 10238 rm -f conftest.$ac_objext 10239 if { (ac_try="$ac_compile" 10240 case "(($ac_try" in 10241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10242 *) ac_try_echo=$ac_try;; 10243 esac 10244 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10245 $as_echo "$ac_try_echo") >&5 10246 (eval "$ac_compile") 2>conftest.er1 10247 ac_status=$? 10248 grep -v '^ *+' conftest.er1 >conftest.err 10249 rm -f conftest.er1 10250 cat conftest.err >&5 10251 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10252 (exit $ac_status); } && { 10253 test -z "$ac_cxx_werror_flag" || 10254 test ! -s conftest.err 10255 } && test -s conftest.$ac_objext; then 10256 ac_hi=$ac_mid; break 10257 else 10258 $as_echo "$as_me: failed program was:" >&5 10259 sed 's/^/| /' conftest.$ac_ext >&5 10260 10261 ac_lo=`expr $ac_mid + 1` 10262 if test $ac_lo -le $ac_mid; then 10263 ac_lo= ac_hi= 10264 break 10265 fi 10266 ac_mid=`expr 2 '*' $ac_mid + 1` 10267 fi 10268 10269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10270 done 10271 else 10272 $as_echo "$as_me: failed program was:" >&5 10273 sed 's/^/| /' conftest.$ac_ext >&5 10274 10275 cat >conftest.$ac_ext <<_ACEOF 10276 /* confdefs.h. */ 10277 _ACEOF 10278 cat confdefs.h >>conftest.$ac_ext 10279 cat >>conftest.$ac_ext <<_ACEOF 10280 /* end confdefs.h. */ 10281 $ac_includes_default 10282 int 10283 main () 10284 { 10285 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)]; 10286 test_array [0] = 0 10287 10288 ; 10289 return 0; 10290 } 10291 _ACEOF 10292 rm -f conftest.$ac_objext 10293 if { (ac_try="$ac_compile" 10294 case "(($ac_try" in 10295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10296 *) ac_try_echo=$ac_try;; 10297 esac 10298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10299 $as_echo "$ac_try_echo") >&5 10300 (eval "$ac_compile") 2>conftest.er1 10301 ac_status=$? 10302 grep -v '^ *+' conftest.er1 >conftest.err 10303 rm -f conftest.er1 10304 cat conftest.err >&5 10305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10306 (exit $ac_status); } && { 10307 test -z "$ac_cxx_werror_flag" || 10308 test ! -s conftest.err 10309 } && test -s conftest.$ac_objext; then 10310 ac_hi=-1 ac_mid=-1 10311 while :; do 10312 cat >conftest.$ac_ext <<_ACEOF 10313 /* confdefs.h. */ 10314 _ACEOF 10315 cat confdefs.h >>conftest.$ac_ext 10316 cat >>conftest.$ac_ext <<_ACEOF 10317 /* end confdefs.h. */ 10318 $ac_includes_default 10319 int 10320 main () 10321 { 10322 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)]; 10323 test_array [0] = 0 10324 10325 ; 10326 return 0; 10327 } 10328 _ACEOF 10329 rm -f conftest.$ac_objext 10330 if { (ac_try="$ac_compile" 10331 case "(($ac_try" in 10332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10333 *) ac_try_echo=$ac_try;; 10334 esac 10335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10336 $as_echo "$ac_try_echo") >&5 10337 (eval "$ac_compile") 2>conftest.er1 10338 ac_status=$? 10339 grep -v '^ *+' conftest.er1 >conftest.err 10340 rm -f conftest.er1 10341 cat conftest.err >&5 10342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10343 (exit $ac_status); } && { 10344 test -z "$ac_cxx_werror_flag" || 10345 test ! -s conftest.err 10346 } && test -s conftest.$ac_objext; then 10347 ac_lo=$ac_mid; break 10348 else 10349 $as_echo "$as_me: failed program was:" >&5 10350 sed 's/^/| /' conftest.$ac_ext >&5 10351 10352 ac_hi=`expr '(' $ac_mid ')' - 1` 10353 if test $ac_mid -le $ac_hi; then 10354 ac_lo= ac_hi= 10355 break 10356 fi 10357 ac_mid=`expr 2 '*' $ac_mid` 10358 fi 10359 10360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10361 done 10362 else 10363 $as_echo "$as_me: failed program was:" >&5 10364 sed 's/^/| /' conftest.$ac_ext >&5 10365 10366 ac_lo= ac_hi= 10367 fi 10368 10369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10370 fi 10371 10372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10373 # Binary search between lo and hi bounds. 10374 while test "x$ac_lo" != "x$ac_hi"; do 10375 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10376 cat >conftest.$ac_ext <<_ACEOF 10377 /* confdefs.h. */ 10378 _ACEOF 10379 cat confdefs.h >>conftest.$ac_ext 10380 cat >>conftest.$ac_ext <<_ACEOF 10381 /* end confdefs.h. */ 10382 $ac_includes_default 10383 int 10384 main () 10385 { 10386 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 10387 test_array [0] = 0 10388 10389 ; 10390 return 0; 10391 } 10392 _ACEOF 10393 rm -f conftest.$ac_objext 10394 if { (ac_try="$ac_compile" 10395 case "(($ac_try" in 10396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10397 *) ac_try_echo=$ac_try;; 10398 esac 10399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10400 $as_echo "$ac_try_echo") >&5 10401 (eval "$ac_compile") 2>conftest.er1 10402 ac_status=$? 10403 grep -v '^ *+' conftest.er1 >conftest.err 10404 rm -f conftest.er1 10405 cat conftest.err >&5 10406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10407 (exit $ac_status); } && { 10408 test -z "$ac_cxx_werror_flag" || 10409 test ! -s conftest.err 10410 } && test -s conftest.$ac_objext; then 10411 ac_hi=$ac_mid 10412 else 10413 $as_echo "$as_me: failed program was:" >&5 10414 sed 's/^/| /' conftest.$ac_ext >&5 10415 10416 ac_lo=`expr '(' $ac_mid ')' + 1` 10417 fi 10418 10419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10420 done 10421 case $ac_lo in 10422 ?*) ac_cv_sizeof_long_long=$ac_lo;; 10423 '') if test "$ac_cv_type_long_long" = yes; then 10424 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8062 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 8063 8064 else 8065 if test "$ac_cv_type_long_long" = yes; then 8066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10425 8067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10426 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10427 See \`config.log' for more details." >&5 10428 $as_echo "$as_me: error: cannot compute sizeof (long long) 10429 See \`config.log' for more details." >&2;} 10430 { (exit 77); exit 77; }; }; } 10431 else 10432 ac_cv_sizeof_long_long=0 10433 fi ;; 10434 esac 10435 else 10436 cat >conftest.$ac_ext <<_ACEOF 10437 /* confdefs.h. */ 10438 _ACEOF 10439 cat confdefs.h >>conftest.$ac_ext 10440 cat >>conftest.$ac_ext <<_ACEOF 10441 /* end confdefs.h. */ 10442 $ac_includes_default 10443 static long int longval () { return (long int) (sizeof (long long)); } 10444 static unsigned long int ulongval () { return (long int) (sizeof (long long)); } 10445 #include <stdio.h> 10446 #include <stdlib.h> 10447 int 10448 main () 10449 { 10450 10451 FILE *f = fopen ("conftest.val", "w"); 10452 if (! f) 10453 return 1; 10454 if (((long int) (sizeof (long long))) < 0) 10455 { 10456 long int i = longval (); 10457 if (i != ((long int) (sizeof (long long)))) 10458 return 1; 10459 fprintf (f, "%ld", i); 10460 } 10461 else 10462 { 10463 unsigned long int i = ulongval (); 10464 if (i != ((long int) (sizeof (long long)))) 10465 return 1; 10466 fprintf (f, "%lu", i); 10467 } 10468 /* Do not output a trailing newline, as this causes \r\n confusion 10469 on some platforms. */ 10470 return ferror (f) || fclose (f) != 0; 10471 10472 ; 10473 return 0; 10474 } 10475 _ACEOF 10476 rm -f conftest$ac_exeext 10477 if { (ac_try="$ac_link" 10478 case "(($ac_try" in 10479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10480 *) ac_try_echo=$ac_try;; 10481 esac 10482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10483 $as_echo "$ac_try_echo") >&5 10484 (eval "$ac_link") 2>&5 10485 ac_status=$? 10486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10488 { (case "(($ac_try" in 10489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10490 *) ac_try_echo=$ac_try;; 10491 esac 10492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10493 $as_echo "$ac_try_echo") >&5 10494 (eval "$ac_try") 2>&5 10495 ac_status=$? 10496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10497 (exit $ac_status); }; }; then 10498 ac_cv_sizeof_long_long=`cat conftest.val` 10499 else 10500 $as_echo "$as_me: program exited with status $ac_status" >&5 10501 $as_echo "$as_me: failed program was:" >&5 10502 sed 's/^/| /' conftest.$ac_ext >&5 10503 10504 ( exit $ac_status ) 10505 if test "$ac_cv_type_long_long" = yes; then 10506 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10508 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10509 See \`config.log' for more details." >&5 10510 $as_echo "$as_me: error: cannot compute sizeof (long long) 10511 See \`config.log' for more details." >&2;} 10512 { (exit 77); exit 77; }; }; } 8068 as_fn_error 77 "cannot compute sizeof (long long) 8069 See \`config.log' for more details" "$LINENO" 5; } 10513 8070 else 10514 8071 ac_cv_sizeof_long_long=0 10515 8072 fi 10516 8073 fi 10517 rm -rf conftest.dSYM 10518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10519 fi 10520 rm -f conftest.val 10521 fi 10522 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 8074 8075 fi 8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 10523 8077 $as_echo "$ac_cv_sizeof_long_long" >&6; } 10524 8078 … … 10534 8088 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 10535 8089 # This bug is HP SR number 8606223364. 10536 { $as_echo "$as_me:$ LINENO: checking size of void *" >&58090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 10537 8091 $as_echo_n "checking size of void *... " >&6; } 10538 if test "${ac_cv_sizeof_void_p+set}" = set; then8092 if ${ac_cv_sizeof_void_p+:} false; then : 10539 8093 $as_echo_n "(cached) " >&6 10540 8094 else 10541 if test "$cross_compiling" = yes; then 10542 # Depending upon the size, compute the lo and hi bounds. 10543 cat >conftest.$ac_ext <<_ACEOF 10544 /* confdefs.h. */ 10545 _ACEOF 10546 cat confdefs.h >>conftest.$ac_ext 10547 cat >>conftest.$ac_ext <<_ACEOF 10548 /* end confdefs.h. */ 10549 $ac_includes_default 10550 int 10551 main () 10552 { 10553 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)]; 10554 test_array [0] = 0 10555 10556 ; 10557 return 0; 10558 } 10559 _ACEOF 10560 rm -f conftest.$ac_objext 10561 if { (ac_try="$ac_compile" 10562 case "(($ac_try" in 10563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10564 *) ac_try_echo=$ac_try;; 10565 esac 10566 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10567 $as_echo "$ac_try_echo") >&5 10568 (eval "$ac_compile") 2>conftest.er1 10569 ac_status=$? 10570 grep -v '^ *+' conftest.er1 >conftest.err 10571 rm -f conftest.er1 10572 cat conftest.err >&5 10573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10574 (exit $ac_status); } && { 10575 test -z "$ac_cxx_werror_flag" || 10576 test ! -s conftest.err 10577 } && test -s conftest.$ac_objext; then 10578 ac_lo=0 ac_mid=0 10579 while :; do 10580 cat >conftest.$ac_ext <<_ACEOF 10581 /* confdefs.h. */ 10582 _ACEOF 10583 cat confdefs.h >>conftest.$ac_ext 10584 cat >>conftest.$ac_ext <<_ACEOF 10585 /* end confdefs.h. */ 10586 $ac_includes_default 10587 int 10588 main () 10589 { 10590 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10591 test_array [0] = 0 10592 10593 ; 10594 return 0; 10595 } 10596 _ACEOF 10597 rm -f conftest.$ac_objext 10598 if { (ac_try="$ac_compile" 10599 case "(($ac_try" in 10600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10601 *) ac_try_echo=$ac_try;; 10602 esac 10603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10604 $as_echo "$ac_try_echo") >&5 10605 (eval "$ac_compile") 2>conftest.er1 10606 ac_status=$? 10607 grep -v '^ *+' conftest.er1 >conftest.err 10608 rm -f conftest.er1 10609 cat conftest.err >&5 10610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10611 (exit $ac_status); } && { 10612 test -z "$ac_cxx_werror_flag" || 10613 test ! -s conftest.err 10614 } && test -s conftest.$ac_objext; then 10615 ac_hi=$ac_mid; break 10616 else 10617 $as_echo "$as_me: failed program was:" >&5 10618 sed 's/^/| /' conftest.$ac_ext >&5 10619 10620 ac_lo=`expr $ac_mid + 1` 10621 if test $ac_lo -le $ac_mid; then 10622 ac_lo= ac_hi= 10623 break 10624 fi 10625 ac_mid=`expr 2 '*' $ac_mid + 1` 10626 fi 10627 10628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10629 done 10630 else 10631 $as_echo "$as_me: failed program was:" >&5 10632 sed 's/^/| /' conftest.$ac_ext >&5 10633 10634 cat >conftest.$ac_ext <<_ACEOF 10635 /* confdefs.h. */ 10636 _ACEOF 10637 cat confdefs.h >>conftest.$ac_ext 10638 cat >>conftest.$ac_ext <<_ACEOF 10639 /* end confdefs.h. */ 10640 $ac_includes_default 10641 int 10642 main () 10643 { 10644 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)]; 10645 test_array [0] = 0 10646 10647 ; 10648 return 0; 10649 } 10650 _ACEOF 10651 rm -f conftest.$ac_objext 10652 if { (ac_try="$ac_compile" 10653 case "(($ac_try" in 10654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10655 *) ac_try_echo=$ac_try;; 10656 esac 10657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10658 $as_echo "$ac_try_echo") >&5 10659 (eval "$ac_compile") 2>conftest.er1 10660 ac_status=$? 10661 grep -v '^ *+' conftest.er1 >conftest.err 10662 rm -f conftest.er1 10663 cat conftest.err >&5 10664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10665 (exit $ac_status); } && { 10666 test -z "$ac_cxx_werror_flag" || 10667 test ! -s conftest.err 10668 } && test -s conftest.$ac_objext; then 10669 ac_hi=-1 ac_mid=-1 10670 while :; do 10671 cat >conftest.$ac_ext <<_ACEOF 10672 /* confdefs.h. */ 10673 _ACEOF 10674 cat confdefs.h >>conftest.$ac_ext 10675 cat >>conftest.$ac_ext <<_ACEOF 10676 /* end confdefs.h. */ 10677 $ac_includes_default 10678 int 10679 main () 10680 { 10681 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)]; 10682 test_array [0] = 0 10683 10684 ; 10685 return 0; 10686 } 10687 _ACEOF 10688 rm -f conftest.$ac_objext 10689 if { (ac_try="$ac_compile" 10690 case "(($ac_try" in 10691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10692 *) ac_try_echo=$ac_try;; 10693 esac 10694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10695 $as_echo "$ac_try_echo") >&5 10696 (eval "$ac_compile") 2>conftest.er1 10697 ac_status=$? 10698 grep -v '^ *+' conftest.er1 >conftest.err 10699 rm -f conftest.er1 10700 cat conftest.err >&5 10701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10702 (exit $ac_status); } && { 10703 test -z "$ac_cxx_werror_flag" || 10704 test ! -s conftest.err 10705 } && test -s conftest.$ac_objext; then 10706 ac_lo=$ac_mid; break 10707 else 10708 $as_echo "$as_me: failed program was:" >&5 10709 sed 's/^/| /' conftest.$ac_ext >&5 10710 10711 ac_hi=`expr '(' $ac_mid ')' - 1` 10712 if test $ac_mid -le $ac_hi; then 10713 ac_lo= ac_hi= 10714 break 10715 fi 10716 ac_mid=`expr 2 '*' $ac_mid` 10717 fi 10718 10719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10720 done 10721 else 10722 $as_echo "$as_me: failed program was:" >&5 10723 sed 's/^/| /' conftest.$ac_ext >&5 10724 10725 ac_lo= ac_hi= 10726 fi 10727 10728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10729 fi 10730 10731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10732 # Binary search between lo and hi bounds. 10733 while test "x$ac_lo" != "x$ac_hi"; do 10734 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10735 cat >conftest.$ac_ext <<_ACEOF 10736 /* confdefs.h. */ 10737 _ACEOF 10738 cat confdefs.h >>conftest.$ac_ext 10739 cat >>conftest.$ac_ext <<_ACEOF 10740 /* end confdefs.h. */ 10741 $ac_includes_default 10742 int 10743 main () 10744 { 10745 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10746 test_array [0] = 0 10747 10748 ; 10749 return 0; 10750 } 10751 _ACEOF 10752 rm -f conftest.$ac_objext 10753 if { (ac_try="$ac_compile" 10754 case "(($ac_try" in 10755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10756 *) ac_try_echo=$ac_try;; 10757 esac 10758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10759 $as_echo "$ac_try_echo") >&5 10760 (eval "$ac_compile") 2>conftest.er1 10761 ac_status=$? 10762 grep -v '^ *+' conftest.er1 >conftest.err 10763 rm -f conftest.er1 10764 cat conftest.err >&5 10765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10766 (exit $ac_status); } && { 10767 test -z "$ac_cxx_werror_flag" || 10768 test ! -s conftest.err 10769 } && test -s conftest.$ac_objext; then 10770 ac_hi=$ac_mid 10771 else 10772 $as_echo "$as_me: failed program was:" >&5 10773 sed 's/^/| /' conftest.$ac_ext >&5 10774 10775 ac_lo=`expr '(' $ac_mid ')' + 1` 10776 fi 10777 10778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10779 done 10780 case $ac_lo in 10781 ?*) ac_cv_sizeof_void_p=$ac_lo;; 10782 '') if test "$ac_cv_type_void_p" = yes; then 10783 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8095 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 8096 8097 else 8098 if test "$ac_cv_type_void_p" = yes; then 8099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10784 8100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10785 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10786 See \`config.log' for more details." >&5 10787 $as_echo "$as_me: error: cannot compute sizeof (void *) 10788 See \`config.log' for more details." >&2;} 10789 { (exit 77); exit 77; }; }; } 10790 else 10791 ac_cv_sizeof_void_p=0 10792 fi ;; 10793 esac 10794 else 10795 cat >conftest.$ac_ext <<_ACEOF 10796 /* confdefs.h. */ 10797 _ACEOF 10798 cat confdefs.h >>conftest.$ac_ext 10799 cat >>conftest.$ac_ext <<_ACEOF 10800 /* end confdefs.h. */ 10801 $ac_includes_default 10802 static long int longval () { return (long int) (sizeof (void *)); } 10803 static unsigned long int ulongval () { return (long int) (sizeof (void *)); } 10804 #include <stdio.h> 10805 #include <stdlib.h> 10806 int 10807 main () 10808 { 10809 10810 FILE *f = fopen ("conftest.val", "w"); 10811 if (! f) 10812 return 1; 10813 if (((long int) (sizeof (void *))) < 0) 10814 { 10815 long int i = longval (); 10816 if (i != ((long int) (sizeof (void *)))) 10817 return 1; 10818 fprintf (f, "%ld", i); 10819 } 10820 else 10821 { 10822 unsigned long int i = ulongval (); 10823 if (i != ((long int) (sizeof (void *)))) 10824 return 1; 10825 fprintf (f, "%lu", i); 10826 } 10827 /* Do not output a trailing newline, as this causes \r\n confusion 10828 on some platforms. */ 10829 return ferror (f) || fclose (f) != 0; 10830 10831 ; 10832 return 0; 10833 } 10834 _ACEOF 10835 rm -f conftest$ac_exeext 10836 if { (ac_try="$ac_link" 10837 case "(($ac_try" in 10838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10839 *) ac_try_echo=$ac_try;; 10840 esac 10841 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10842 $as_echo "$ac_try_echo") >&5 10843 (eval "$ac_link") 2>&5 10844 ac_status=$? 10845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10846 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10847 { (case "(($ac_try" in 10848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10849 *) ac_try_echo=$ac_try;; 10850 esac 10851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10852 $as_echo "$ac_try_echo") >&5 10853 (eval "$ac_try") 2>&5 10854 ac_status=$? 10855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10856 (exit $ac_status); }; }; then 10857 ac_cv_sizeof_void_p=`cat conftest.val` 10858 else 10859 $as_echo "$as_me: program exited with status $ac_status" >&5 10860 $as_echo "$as_me: failed program was:" >&5 10861 sed 's/^/| /' conftest.$ac_ext >&5 10862 10863 ( exit $ac_status ) 10864 if test "$ac_cv_type_void_p" = yes; then 10865 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10867 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10868 See \`config.log' for more details." >&5 10869 $as_echo "$as_me: error: cannot compute sizeof (void *) 10870 See \`config.log' for more details." >&2;} 10871 { (exit 77); exit 77; }; }; } 8101 as_fn_error 77 "cannot compute sizeof (void *) 8102 See \`config.log' for more details" "$LINENO" 5; } 10872 8103 else 10873 8104 ac_cv_sizeof_void_p=0 10874 8105 fi 10875 8106 fi 10876 rm -rf conftest.dSYM 10877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10878 fi 10879 rm -f conftest.val 10880 fi 10881 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 8107 8108 fi 8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 10882 8110 $as_echo "$ac_cv_sizeof_void_p" >&6; } 10883 8111 … … 10893 8121 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 10894 8122 # This bug is HP SR number 8606223364. 10895 { $as_echo "$as_me:$ LINENO: checking size of float" >&58123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5 10896 8124 $as_echo_n "checking size of float... " >&6; } 10897 if test "${ac_cv_sizeof_float+set}" = set; then8125 if ${ac_cv_sizeof_float+:} false; then : 10898 8126 $as_echo_n "(cached) " >&6 10899 8127 else 10900 if test "$cross_compiling" = yes; then 10901 # Depending upon the size, compute the lo and hi bounds. 10902 cat >conftest.$ac_ext <<_ACEOF 10903 /* confdefs.h. */ 10904 _ACEOF 10905 cat confdefs.h >>conftest.$ac_ext 10906 cat >>conftest.$ac_ext <<_ACEOF 10907 /* end confdefs.h. */ 10908 $ac_includes_default 10909 int 10910 main () 10911 { 10912 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)]; 10913 test_array [0] = 0 10914 10915 ; 10916 return 0; 10917 } 10918 _ACEOF 10919 rm -f conftest.$ac_objext 10920 if { (ac_try="$ac_compile" 10921 case "(($ac_try" in 10922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10923 *) ac_try_echo=$ac_try;; 10924 esac 10925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10926 $as_echo "$ac_try_echo") >&5 10927 (eval "$ac_compile") 2>conftest.er1 10928 ac_status=$? 10929 grep -v '^ *+' conftest.er1 >conftest.err 10930 rm -f conftest.er1 10931 cat conftest.err >&5 10932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10933 (exit $ac_status); } && { 10934 test -z "$ac_cxx_werror_flag" || 10935 test ! -s conftest.err 10936 } && test -s conftest.$ac_objext; then 10937 ac_lo=0 ac_mid=0 10938 while :; do 10939 cat >conftest.$ac_ext <<_ACEOF 10940 /* confdefs.h. */ 10941 _ACEOF 10942 cat confdefs.h >>conftest.$ac_ext 10943 cat >>conftest.$ac_ext <<_ACEOF 10944 /* end confdefs.h. */ 10945 $ac_includes_default 10946 int 10947 main () 10948 { 10949 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 10950 test_array [0] = 0 10951 10952 ; 10953 return 0; 10954 } 10955 _ACEOF 10956 rm -f conftest.$ac_objext 10957 if { (ac_try="$ac_compile" 10958 case "(($ac_try" in 10959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10960 *) ac_try_echo=$ac_try;; 10961 esac 10962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10963 $as_echo "$ac_try_echo") >&5 10964 (eval "$ac_compile") 2>conftest.er1 10965 ac_status=$? 10966 grep -v '^ *+' conftest.er1 >conftest.err 10967 rm -f conftest.er1 10968 cat conftest.err >&5 10969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10970 (exit $ac_status); } && { 10971 test -z "$ac_cxx_werror_flag" || 10972 test ! -s conftest.err 10973 } && test -s conftest.$ac_objext; then 10974 ac_hi=$ac_mid; break 10975 else 10976 $as_echo "$as_me: failed program was:" >&5 10977 sed 's/^/| /' conftest.$ac_ext >&5 10978 10979 ac_lo=`expr $ac_mid + 1` 10980 if test $ac_lo -le $ac_mid; then 10981 ac_lo= ac_hi= 10982 break 10983 fi 10984 ac_mid=`expr 2 '*' $ac_mid + 1` 10985 fi 10986 10987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10988 done 10989 else 10990 $as_echo "$as_me: failed program was:" >&5 10991 sed 's/^/| /' conftest.$ac_ext >&5 10992 10993 cat >conftest.$ac_ext <<_ACEOF 10994 /* confdefs.h. */ 10995 _ACEOF 10996 cat confdefs.h >>conftest.$ac_ext 10997 cat >>conftest.$ac_ext <<_ACEOF 10998 /* end confdefs.h. */ 10999 $ac_includes_default 11000 int 11001 main () 11002 { 11003 static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)]; 11004 test_array [0] = 0 11005 11006 ; 11007 return 0; 11008 } 11009 _ACEOF 11010 rm -f conftest.$ac_objext 11011 if { (ac_try="$ac_compile" 11012 case "(($ac_try" in 11013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11014 *) ac_try_echo=$ac_try;; 11015 esac 11016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11017 $as_echo "$ac_try_echo") >&5 11018 (eval "$ac_compile") 2>conftest.er1 11019 ac_status=$? 11020 grep -v '^ *+' conftest.er1 >conftest.err 11021 rm -f conftest.er1 11022 cat conftest.err >&5 11023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11024 (exit $ac_status); } && { 11025 test -z "$ac_cxx_werror_flag" || 11026 test ! -s conftest.err 11027 } && test -s conftest.$ac_objext; then 11028 ac_hi=-1 ac_mid=-1 11029 while :; do 11030 cat >conftest.$ac_ext <<_ACEOF 11031 /* confdefs.h. */ 11032 _ACEOF 11033 cat confdefs.h >>conftest.$ac_ext 11034 cat >>conftest.$ac_ext <<_ACEOF 11035 /* end confdefs.h. */ 11036 $ac_includes_default 11037 int 11038 main () 11039 { 11040 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)]; 11041 test_array [0] = 0 11042 11043 ; 11044 return 0; 11045 } 11046 _ACEOF 11047 rm -f conftest.$ac_objext 11048 if { (ac_try="$ac_compile" 11049 case "(($ac_try" in 11050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11051 *) ac_try_echo=$ac_try;; 11052 esac 11053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11054 $as_echo "$ac_try_echo") >&5 11055 (eval "$ac_compile") 2>conftest.er1 11056 ac_status=$? 11057 grep -v '^ *+' conftest.er1 >conftest.err 11058 rm -f conftest.er1 11059 cat conftest.err >&5 11060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11061 (exit $ac_status); } && { 11062 test -z "$ac_cxx_werror_flag" || 11063 test ! -s conftest.err 11064 } && test -s conftest.$ac_objext; then 11065 ac_lo=$ac_mid; break 11066 else 11067 $as_echo "$as_me: failed program was:" >&5 11068 sed 's/^/| /' conftest.$ac_ext >&5 11069 11070 ac_hi=`expr '(' $ac_mid ')' - 1` 11071 if test $ac_mid -le $ac_hi; then 11072 ac_lo= ac_hi= 11073 break 11074 fi 11075 ac_mid=`expr 2 '*' $ac_mid` 11076 fi 11077 11078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11079 done 11080 else 11081 $as_echo "$as_me: failed program was:" >&5 11082 sed 's/^/| /' conftest.$ac_ext >&5 11083 11084 ac_lo= ac_hi= 11085 fi 11086 11087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11088 fi 11089 11090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11091 # Binary search between lo and hi bounds. 11092 while test "x$ac_lo" != "x$ac_hi"; do 11093 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 11094 cat >conftest.$ac_ext <<_ACEOF 11095 /* confdefs.h. */ 11096 _ACEOF 11097 cat confdefs.h >>conftest.$ac_ext 11098 cat >>conftest.$ac_ext <<_ACEOF 11099 /* end confdefs.h. */ 11100 $ac_includes_default 11101 int 11102 main () 11103 { 11104 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 11105 test_array [0] = 0 11106 11107 ; 11108 return 0; 11109 } 11110 _ACEOF 11111 rm -f conftest.$ac_objext 11112 if { (ac_try="$ac_compile" 11113 case "(($ac_try" in 11114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11115 *) ac_try_echo=$ac_try;; 11116 esac 11117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11118 $as_echo "$ac_try_echo") >&5 11119 (eval "$ac_compile") 2>conftest.er1 11120 ac_status=$? 11121 grep -v '^ *+' conftest.er1 >conftest.err 11122 rm -f conftest.er1 11123 cat conftest.err >&5 11124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11125 (exit $ac_status); } && { 11126 test -z "$ac_cxx_werror_flag" || 11127 test ! -s conftest.err 11128 } && test -s conftest.$ac_objext; then 11129 ac_hi=$ac_mid 11130 else 11131 $as_echo "$as_me: failed program was:" >&5 11132 sed 's/^/| /' conftest.$ac_ext >&5 11133 11134 ac_lo=`expr '(' $ac_mid ')' + 1` 11135 fi 11136 11137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11138 done 11139 case $ac_lo in 11140 ?*) ac_cv_sizeof_float=$ac_lo;; 11141 '') if test "$ac_cv_type_float" = yes; then 11142 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8128 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then : 8129 8130 else 8131 if test "$ac_cv_type_float" = yes; then 8132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11143 8133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11144 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 11145 See \`config.log' for more details." >&5 11146 $as_echo "$as_me: error: cannot compute sizeof (float) 11147 See \`config.log' for more details." >&2;} 11148 { (exit 77); exit 77; }; }; } 11149 else 11150 ac_cv_sizeof_float=0 11151 fi ;; 11152 esac 11153 else 11154 cat >conftest.$ac_ext <<_ACEOF 11155 /* confdefs.h. */ 11156 _ACEOF 11157 cat confdefs.h >>conftest.$ac_ext 11158 cat >>conftest.$ac_ext <<_ACEOF 11159 /* end confdefs.h. */ 11160 $ac_includes_default 11161 static long int longval () { return (long int) (sizeof (float)); } 11162 static unsigned long int ulongval () { return (long int) (sizeof (float)); } 11163 #include <stdio.h> 11164 #include <stdlib.h> 11165 int 11166 main () 11167 { 11168 11169 FILE *f = fopen ("conftest.val", "w"); 11170 if (! f) 11171 return 1; 11172 if (((long int) (sizeof (float))) < 0) 11173 { 11174 long int i = longval (); 11175 if (i != ((long int) (sizeof (float)))) 11176 return 1; 11177 fprintf (f, "%ld", i); 11178 } 11179 else 11180 { 11181 unsigned long int i = ulongval (); 11182 if (i != ((long int) (sizeof (float)))) 11183 return 1; 11184 fprintf (f, "%lu", i); 11185 } 11186 /* Do not output a trailing newline, as this causes \r\n confusion 11187 on some platforms. */ 11188 return ferror (f) || fclose (f) != 0; 11189 11190 ; 11191 return 0; 11192 } 11193 _ACEOF 11194 rm -f conftest$ac_exeext 11195 if { (ac_try="$ac_link" 11196 case "(($ac_try" in 11197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11198 *) ac_try_echo=$ac_try;; 11199 esac 11200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11201 $as_echo "$ac_try_echo") >&5 11202 (eval "$ac_link") 2>&5 11203 ac_status=$? 11204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11205 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11206 { (case "(($ac_try" in 11207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11208 *) ac_try_echo=$ac_try;; 11209 esac 11210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11211 $as_echo "$ac_try_echo") >&5 11212 (eval "$ac_try") 2>&5 11213 ac_status=$? 11214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11215 (exit $ac_status); }; }; then 11216 ac_cv_sizeof_float=`cat conftest.val` 11217 else 11218 $as_echo "$as_me: program exited with status $ac_status" >&5 11219 $as_echo "$as_me: failed program was:" >&5 11220 sed 's/^/| /' conftest.$ac_ext >&5 11221 11222 ( exit $ac_status ) 11223 if test "$ac_cv_type_float" = yes; then 11224 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 11225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11226 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 11227 See \`config.log' for more details." >&5 11228 $as_echo "$as_me: error: cannot compute sizeof (float) 11229 See \`config.log' for more details." >&2;} 11230 { (exit 77); exit 77; }; }; } 8134 as_fn_error 77 "cannot compute sizeof (float) 8135 See \`config.log' for more details" "$LINENO" 5; } 11231 8136 else 11232 8137 ac_cv_sizeof_float=0 11233 8138 fi 11234 8139 fi 11235 rm -rf conftest.dSYM 11236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11237 fi 11238 rm -f conftest.val 11239 fi 11240 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5 8140 8141 fi 8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 11241 8143 $as_echo "$ac_cv_sizeof_float" >&6; } 11242 8144 … … 11260 8162 # Tcl headers and library (done) 11261 8163 # GL headers and library 11262 # GLuT headers and library11263 8164 # GLEW header and library 11264 # Cg headers and library11265 # CgGL headers and library11266 8165 # pthread library 11267 8166 # ffmpeg headers and library (started) … … 11294 8193 11295 8194 RP_DIR="" 11296 { $as_echo "$as_me:$ LINENO: checking for rappture" >&58195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rappture" >&5 11297 8196 $as_echo_n "checking for rappture... " >&6; } 11298 8197 if test "$with_rappture" == "yes" ; then … … 11303 8202 RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2" 11304 8203 RP_LIB_DIR="$dir/lib" 11305 { $as_echo "$as_me:$ LINENO: result: $dir" >&58204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dir" >&5 11306 8205 $as_echo "$dir" >&6; } 11307 8206 break … … 11310 8209 else 11311 8210 if test ! -d "$with_rappture" ; then 11312 { { $as_echo "$as_me:$LINENO: error: --with-rappture: no such directory $with_rappture" >&5 11313 $as_echo "$as_me: error: --with-rappture: no such directory $with_rappture" >&2;} 11314 { (exit 1); exit 1; }; } 8211 as_fn_error $? "--with-rappture: no such directory $with_rappture" "$LINENO" 5 11315 8212 fi 11316 8213 RP_DIR=$with_rappture … … 11319 8216 fi 11320 8217 if test "x${RP_DIR}" = "x" ; then 11321 { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&5 11322 $as_echo "$as_me: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&2;} 11323 { (exit 1); exit 1; }; } 11324 else 11325 { $as_echo "$as_me:$LINENO: result: $with_rappture" >&5 8218 as_fn_error $? "cannot find rappture.h and librappture2.a, try using --with-rappture" "$LINENO" 5 8219 else 8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_rappture" >&5 11326 8221 $as_echo "$with_rappture" >&6; } 11327 8222 fi … … 11354 8249 CPPFLAGS=$VTK_INC_SPEC 11355 8250 11356 11357 8251 for ac_header in vtkSmartPointer.h 11358 do 11359 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11361 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11362 $as_echo_n "checking for $ac_header... " >&6; } 11363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11364 $as_echo_n "(cached) " >&6 11365 fi 11366 ac_res=`eval 'as_val=${'$as_ac_Header'} 11367 $as_echo "$as_val"'` 11368 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11369 $as_echo "$ac_res" >&6; } 11370 else 11371 # Is the header compilable? 11372 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11373 $as_echo_n "checking $ac_header usability... " >&6; } 11374 cat >conftest.$ac_ext <<_ACEOF 11375 /* confdefs.h. */ 11376 _ACEOF 11377 cat confdefs.h >>conftest.$ac_ext 11378 cat >>conftest.$ac_ext <<_ACEOF 11379 /* end confdefs.h. */ 11380 $ac_includes_default 11381 #include <$ac_header> 11382 _ACEOF 11383 rm -f conftest.$ac_objext 11384 if { (ac_try="$ac_compile" 11385 case "(($ac_try" in 11386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11387 *) ac_try_echo=$ac_try;; 11388 esac 11389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11390 $as_echo "$ac_try_echo") >&5 11391 (eval "$ac_compile") 2>conftest.er1 11392 ac_status=$? 11393 grep -v '^ *+' conftest.er1 >conftest.err 11394 rm -f conftest.er1 11395 cat conftest.err >&5 11396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11397 (exit $ac_status); } && { 11398 test -z "$ac_cxx_werror_flag" || 11399 test ! -s conftest.err 11400 } && test -s conftest.$ac_objext; then 11401 ac_header_compiler=yes 11402 else 11403 $as_echo "$as_me: failed program was:" >&5 11404 sed 's/^/| /' conftest.$ac_ext >&5 11405 11406 ac_header_compiler=no 11407 fi 11408 11409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11410 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11411 $as_echo "$ac_header_compiler" >&6; } 11412 11413 # Is the header present? 11414 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11415 $as_echo_n "checking $ac_header presence... " >&6; } 11416 cat >conftest.$ac_ext <<_ACEOF 11417 /* confdefs.h. */ 11418 _ACEOF 11419 cat confdefs.h >>conftest.$ac_ext 11420 cat >>conftest.$ac_ext <<_ACEOF 11421 /* end confdefs.h. */ 11422 #include <$ac_header> 11423 _ACEOF 11424 if { (ac_try="$ac_cpp conftest.$ac_ext" 11425 case "(($ac_try" in 11426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11427 *) ac_try_echo=$ac_try;; 11428 esac 11429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11430 $as_echo "$ac_try_echo") >&5 11431 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11432 ac_status=$? 11433 grep -v '^ *+' conftest.er1 >conftest.err 11434 rm -f conftest.er1 11435 cat conftest.err >&5 11436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11437 (exit $ac_status); } >/dev/null && { 11438 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11439 test ! -s conftest.err 11440 }; then 11441 ac_header_preproc=yes 11442 else 11443 $as_echo "$as_me: failed program was:" >&5 11444 sed 's/^/| /' conftest.$ac_ext >&5 11445 11446 ac_header_preproc=no 11447 fi 11448 11449 rm -f conftest.err conftest.$ac_ext 11450 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11451 $as_echo "$ac_header_preproc" >&6; } 11452 11453 # So? What about this header? 11454 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11455 yes:no: ) 11456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11457 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11458 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11459 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11460 ac_header_preproc=yes 11461 ;; 11462 no:yes:* ) 11463 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11464 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11465 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11466 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11467 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11468 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11469 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11470 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11471 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11472 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11473 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11474 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11475 ( cat <<\_ASBOX 11476 ## ----------------------------------- ## 11477 ## Report this to rappture@nanohub.org ## 11478 ## ----------------------------------- ## 11479 _ASBOX 11480 ) | sed "s/^/$as_me: WARNING: /" >&2 11481 ;; 11482 esac 11483 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11484 $as_echo_n "checking for $ac_header... " >&6; } 11485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11486 $as_echo_n "(cached) " >&6 11487 else 11488 eval "$as_ac_Header=\$ac_header_preproc" 11489 fi 11490 ac_res=`eval 'as_val=${'$as_ac_Header'} 11491 $as_echo "$as_val"'` 11492 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11493 $as_echo "$ac_res" >&6; } 11494 11495 fi 11496 as_val=`eval 'as_val=${'$as_ac_Header'} 11497 $as_echo "$as_val"'` 11498 if test "x$as_val" = x""yes; then 8252 do : 8253 ac_fn_cxx_check_header_mongrel "$LINENO" "vtkSmartPointer.h" "ac_cv_header_vtkSmartPointer_h" "$ac_includes_default" 8254 if test "x$ac_cv_header_vtkSmartPointer_h" = xyes; then : 8255 cat >>confdefs.h <<_ACEOF 8256 #define HAVE_VTKSMARTPOINTER_H 1 8257 _ACEOF 8258 8259 else 8260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find vtkSmartPointer.h" >&5 8261 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;} 8262 fi 8263 8264 done 8265 8266 CPPFLAGS=$save_CPPFLAGS 8267 8268 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default" 8269 if test "x$ac_cv_header_GL_glew_h" = xyes; then : 8270 8271 fi 8272 8273 8274 8275 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 8276 do : 8277 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8278 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8279 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11499 8280 cat >>confdefs.h <<_ACEOF 11500 8281 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11501 8282 _ACEOF 11502 8283 11503 else11504 { $as_echo "$as_me:$LINENO: WARNING: cannot find vtkSmartPointer.h" >&511505 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;}11506 8284 fi 11507 8285 11508 8286 done 11509 8287 11510 CPPFLAGS=$save_CPPFLAGS 11511 11512 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11513 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 11514 $as_echo_n "checking for GL/glut.h... " >&6; } 11515 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11516 $as_echo_n "(cached) " >&6 11517 fi 11518 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 11519 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 11520 else 11521 # Is the header compilable? 11522 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5 11523 $as_echo_n "checking GL/glut.h usability... " >&6; } 11524 cat >conftest.$ac_ext <<_ACEOF 11525 /* confdefs.h. */ 11526 _ACEOF 11527 cat confdefs.h >>conftest.$ac_ext 11528 cat >>conftest.$ac_ext <<_ACEOF 11529 /* end confdefs.h. */ 11530 $ac_includes_default 11531 #include <GL/glut.h> 11532 _ACEOF 11533 rm -f conftest.$ac_objext 11534 if { (ac_try="$ac_compile" 11535 case "(($ac_try" in 11536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11537 *) ac_try_echo=$ac_try;; 11538 esac 11539 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11540 $as_echo "$ac_try_echo") >&5 11541 (eval "$ac_compile") 2>conftest.er1 11542 ac_status=$? 11543 grep -v '^ *+' conftest.er1 >conftest.err 11544 rm -f conftest.er1 11545 cat conftest.err >&5 11546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11547 (exit $ac_status); } && { 11548 test -z "$ac_cxx_werror_flag" || 11549 test ! -s conftest.err 11550 } && test -s conftest.$ac_objext; then 11551 ac_header_compiler=yes 11552 else 11553 $as_echo "$as_me: failed program was:" >&5 11554 sed 's/^/| /' conftest.$ac_ext >&5 11555 11556 ac_header_compiler=no 11557 fi 11558 11559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11560 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11561 $as_echo "$ac_header_compiler" >&6; } 11562 11563 # Is the header present? 11564 { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5 11565 $as_echo_n "checking GL/glut.h presence... " >&6; } 11566 cat >conftest.$ac_ext <<_ACEOF 11567 /* confdefs.h. */ 11568 _ACEOF 11569 cat confdefs.h >>conftest.$ac_ext 11570 cat >>conftest.$ac_ext <<_ACEOF 11571 /* end confdefs.h. */ 11572 #include <GL/glut.h> 11573 _ACEOF 11574 if { (ac_try="$ac_cpp conftest.$ac_ext" 11575 case "(($ac_try" in 11576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11577 *) ac_try_echo=$ac_try;; 11578 esac 11579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11580 $as_echo "$ac_try_echo") >&5 11581 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11582 ac_status=$? 11583 grep -v '^ *+' conftest.er1 >conftest.err 11584 rm -f conftest.er1 11585 cat conftest.err >&5 11586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11587 (exit $ac_status); } >/dev/null && { 11588 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11589 test ! -s conftest.err 11590 }; then 11591 ac_header_preproc=yes 11592 else 11593 $as_echo "$as_me: failed program was:" >&5 11594 sed 's/^/| /' conftest.$ac_ext >&5 11595 11596 ac_header_preproc=no 11597 fi 11598 11599 rm -f conftest.err conftest.$ac_ext 11600 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11601 $as_echo "$ac_header_preproc" >&6; } 11602 11603 # So? What about this header? 11604 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11605 yes:no: ) 11606 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5 11607 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11608 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5 11609 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;} 11610 ac_header_preproc=yes 11611 ;; 11612 no:yes:* ) 11613 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5 11614 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;} 11615 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5 11616 $as_echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;} 11617 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5 11618 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;} 11619 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5 11620 $as_echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;} 11621 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5 11622 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;} 11623 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5 11624 $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;} 11625 ( cat <<\_ASBOX 11626 ## ----------------------------------- ## 11627 ## Report this to rappture@nanohub.org ## 11628 ## ----------------------------------- ## 11629 _ASBOX 11630 ) | sed "s/^/$as_me: WARNING: /" >&2 11631 ;; 11632 esac 11633 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 11634 $as_echo_n "checking for GL/glut.h... " >&6; } 11635 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11636 $as_echo_n "(cached) " >&6 11637 else 11638 ac_cv_header_GL_glut_h=$ac_header_preproc 11639 fi 11640 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 11641 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 11642 11643 fi 11644 11645 11646 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11647 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 11648 $as_echo_n "checking for GL/glew.h... " >&6; } 11649 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11650 $as_echo_n "(cached) " >&6 11651 fi 11652 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 11653 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 11654 else 11655 # Is the header compilable? 11656 { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5 11657 $as_echo_n "checking GL/glew.h usability... " >&6; } 11658 cat >conftest.$ac_ext <<_ACEOF 11659 /* confdefs.h. */ 11660 _ACEOF 11661 cat confdefs.h >>conftest.$ac_ext 11662 cat >>conftest.$ac_ext <<_ACEOF 11663 /* end confdefs.h. */ 11664 $ac_includes_default 11665 #include <GL/glew.h> 11666 _ACEOF 11667 rm -f conftest.$ac_objext 11668 if { (ac_try="$ac_compile" 11669 case "(($ac_try" in 11670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11671 *) ac_try_echo=$ac_try;; 11672 esac 11673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11674 $as_echo "$ac_try_echo") >&5 11675 (eval "$ac_compile") 2>conftest.er1 11676 ac_status=$? 11677 grep -v '^ *+' conftest.er1 >conftest.err 11678 rm -f conftest.er1 11679 cat conftest.err >&5 11680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11681 (exit $ac_status); } && { 11682 test -z "$ac_cxx_werror_flag" || 11683 test ! -s conftest.err 11684 } && test -s conftest.$ac_objext; then 11685 ac_header_compiler=yes 11686 else 11687 $as_echo "$as_me: failed program was:" >&5 11688 sed 's/^/| /' conftest.$ac_ext >&5 11689 11690 ac_header_compiler=no 11691 fi 11692 11693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11694 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11695 $as_echo "$ac_header_compiler" >&6; } 11696 11697 # Is the header present? 11698 { $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5 11699 $as_echo_n "checking GL/glew.h presence... " >&6; } 11700 cat >conftest.$ac_ext <<_ACEOF 11701 /* confdefs.h. */ 11702 _ACEOF 11703 cat confdefs.h >>conftest.$ac_ext 11704 cat >>conftest.$ac_ext <<_ACEOF 11705 /* end confdefs.h. */ 11706 #include <GL/glew.h> 11707 _ACEOF 11708 if { (ac_try="$ac_cpp conftest.$ac_ext" 11709 case "(($ac_try" in 11710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11711 *) ac_try_echo=$ac_try;; 11712 esac 11713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11714 $as_echo "$ac_try_echo") >&5 11715 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11716 ac_status=$? 11717 grep -v '^ *+' conftest.er1 >conftest.err 11718 rm -f conftest.er1 11719 cat conftest.err >&5 11720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11721 (exit $ac_status); } >/dev/null && { 11722 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11723 test ! -s conftest.err 11724 }; then 11725 ac_header_preproc=yes 11726 else 11727 $as_echo "$as_me: failed program was:" >&5 11728 sed 's/^/| /' conftest.$ac_ext >&5 11729 11730 ac_header_preproc=no 11731 fi 11732 11733 rm -f conftest.err conftest.$ac_ext 11734 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11735 $as_echo "$ac_header_preproc" >&6; } 11736 11737 # So? What about this header? 11738 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11739 yes:no: ) 11740 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5 11741 $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11742 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5 11743 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;} 11744 ac_header_preproc=yes 11745 ;; 11746 no:yes:* ) 11747 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5 11748 $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;} 11749 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: check for missing prerequisite headers?" >&5 11750 $as_echo "$as_me: WARNING: GL/glew.h: check for missing prerequisite headers?" >&2;} 11751 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5 11752 $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;} 11753 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&5 11754 $as_echo "$as_me: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&2;} 11755 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5 11756 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;} 11757 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5 11758 $as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;} 11759 ( cat <<\_ASBOX 11760 ## ----------------------------------- ## 11761 ## Report this to rappture@nanohub.org ## 11762 ## ----------------------------------- ## 11763 _ASBOX 11764 ) | sed "s/^/$as_me: WARNING: /" >&2 11765 ;; 11766 esac 11767 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 11768 $as_echo_n "checking for GL/glew.h... " >&6; } 11769 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11770 $as_echo_n "(cached) " >&6 11771 else 11772 ac_cv_header_GL_glew_h=$ac_header_preproc 11773 fi 11774 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 11775 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 11776 11777 fi 11778 11779 11780 11781 11782 11783 11784 11785 11786 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 11787 do 11788 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11790 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11791 $as_echo_n "checking for $ac_header... " >&6; } 11792 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11793 $as_echo_n "(cached) " >&6 11794 fi 11795 ac_res=`eval 'as_val=${'$as_ac_Header'} 11796 $as_echo "$as_val"'` 11797 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11798 $as_echo "$ac_res" >&6; } 11799 else 11800 # Is the header compilable? 11801 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11802 $as_echo_n "checking $ac_header usability... " >&6; } 11803 cat >conftest.$ac_ext <<_ACEOF 11804 /* confdefs.h. */ 11805 _ACEOF 11806 cat confdefs.h >>conftest.$ac_ext 11807 cat >>conftest.$ac_ext <<_ACEOF 11808 /* end confdefs.h. */ 11809 $ac_includes_default 11810 #include <$ac_header> 11811 _ACEOF 11812 rm -f conftest.$ac_objext 11813 if { (ac_try="$ac_compile" 11814 case "(($ac_try" in 11815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11816 *) ac_try_echo=$ac_try;; 11817 esac 11818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11819 $as_echo "$ac_try_echo") >&5 11820 (eval "$ac_compile") 2>conftest.er1 11821 ac_status=$? 11822 grep -v '^ *+' conftest.er1 >conftest.err 11823 rm -f conftest.er1 11824 cat conftest.err >&5 11825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11826 (exit $ac_status); } && { 11827 test -z "$ac_cxx_werror_flag" || 11828 test ! -s conftest.err 11829 } && test -s conftest.$ac_objext; then 11830 ac_header_compiler=yes 11831 else 11832 $as_echo "$as_me: failed program was:" >&5 11833 sed 's/^/| /' conftest.$ac_ext >&5 11834 11835 ac_header_compiler=no 11836 fi 11837 11838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11839 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11840 $as_echo "$ac_header_compiler" >&6; } 11841 11842 # Is the header present? 11843 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11844 $as_echo_n "checking $ac_header presence... " >&6; } 11845 cat >conftest.$ac_ext <<_ACEOF 11846 /* confdefs.h. */ 11847 _ACEOF 11848 cat confdefs.h >>conftest.$ac_ext 11849 cat >>conftest.$ac_ext <<_ACEOF 11850 /* end confdefs.h. */ 11851 #include <$ac_header> 11852 _ACEOF 11853 if { (ac_try="$ac_cpp conftest.$ac_ext" 11854 case "(($ac_try" in 11855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11856 *) ac_try_echo=$ac_try;; 11857 esac 11858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11859 $as_echo "$ac_try_echo") >&5 11860 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11861 ac_status=$? 11862 grep -v '^ *+' conftest.er1 >conftest.err 11863 rm -f conftest.er1 11864 cat conftest.err >&5 11865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11866 (exit $ac_status); } >/dev/null && { 11867 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11868 test ! -s conftest.err 11869 }; then 11870 ac_header_preproc=yes 11871 else 11872 $as_echo "$as_me: failed program was:" >&5 11873 sed 's/^/| /' conftest.$ac_ext >&5 11874 11875 ac_header_preproc=no 11876 fi 11877 11878 rm -f conftest.err conftest.$ac_ext 11879 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11880 $as_echo "$ac_header_preproc" >&6; } 11881 11882 # So? What about this header? 11883 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11884 yes:no: ) 11885 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11886 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11887 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11888 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11889 ac_header_preproc=yes 11890 ;; 11891 no:yes:* ) 11892 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11893 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11894 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11895 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11896 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11897 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11898 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11899 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11900 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11901 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11902 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11903 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11904 ( cat <<\_ASBOX 11905 ## ----------------------------------- ## 11906 ## Report this to rappture@nanohub.org ## 11907 ## ----------------------------------- ## 11908 _ASBOX 11909 ) | sed "s/^/$as_me: WARNING: /" >&2 11910 ;; 11911 esac 11912 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11913 $as_echo_n "checking for $ac_header... " >&6; } 11914 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11915 $as_echo_n "(cached) " >&6 11916 else 11917 eval "$as_ac_Header=\$ac_header_preproc" 11918 fi 11919 ac_res=`eval 'as_val=${'$as_ac_Header'} 11920 $as_echo "$as_val"'` 11921 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11922 $as_echo "$ac_res" >&6; } 11923 11924 fi 11925 as_val=`eval 'as_val=${'$as_ac_Header'} 11926 $as_echo "$as_val"'` 11927 if test "x$as_val" = x""yes; then 8288 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 8289 do : 8290 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8291 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8292 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11928 8293 cat >>confdefs.h <<_ACEOF 11929 8294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 11935 8300 11936 8301 11937 11938 11939 11940 11941 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 11942 do 11943 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11944 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11945 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11946 $as_echo_n "checking for $ac_header... " >&6; } 11947 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11948 $as_echo_n "(cached) " >&6 11949 fi 11950 ac_res=`eval 'as_val=${'$as_ac_Header'} 11951 $as_echo "$as_val"'` 11952 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11953 $as_echo "$ac_res" >&6; } 11954 else 11955 # Is the header compilable? 11956 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11957 $as_echo_n "checking $ac_header usability... " >&6; } 11958 cat >conftest.$ac_ext <<_ACEOF 11959 /* confdefs.h. */ 11960 _ACEOF 11961 cat confdefs.h >>conftest.$ac_ext 11962 cat >>conftest.$ac_ext <<_ACEOF 11963 /* end confdefs.h. */ 11964 $ac_includes_default 11965 #include <$ac_header> 11966 _ACEOF 11967 rm -f conftest.$ac_objext 11968 if { (ac_try="$ac_compile" 11969 case "(($ac_try" in 11970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11971 *) ac_try_echo=$ac_try;; 11972 esac 11973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11974 $as_echo "$ac_try_echo") >&5 11975 (eval "$ac_compile") 2>conftest.er1 11976 ac_status=$? 11977 grep -v '^ *+' conftest.er1 >conftest.err 11978 rm -f conftest.er1 11979 cat conftest.err >&5 11980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11981 (exit $ac_status); } && { 11982 test -z "$ac_cxx_werror_flag" || 11983 test ! -s conftest.err 11984 } && test -s conftest.$ac_objext; then 11985 ac_header_compiler=yes 11986 else 11987 $as_echo "$as_me: failed program was:" >&5 11988 sed 's/^/| /' conftest.$ac_ext >&5 11989 11990 ac_header_compiler=no 11991 fi 11992 11993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11994 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11995 $as_echo "$ac_header_compiler" >&6; } 11996 11997 # Is the header present? 11998 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11999 $as_echo_n "checking $ac_header presence... " >&6; } 12000 cat >conftest.$ac_ext <<_ACEOF 12001 /* confdefs.h. */ 12002 _ACEOF 12003 cat confdefs.h >>conftest.$ac_ext 12004 cat >>conftest.$ac_ext <<_ACEOF 12005 /* end confdefs.h. */ 12006 #include <$ac_header> 12007 _ACEOF 12008 if { (ac_try="$ac_cpp conftest.$ac_ext" 12009 case "(($ac_try" in 12010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12011 *) ac_try_echo=$ac_try;; 12012 esac 12013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12014 $as_echo "$ac_try_echo") >&5 12015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12016 ac_status=$? 12017 grep -v '^ *+' conftest.er1 >conftest.err 12018 rm -f conftest.er1 12019 cat conftest.err >&5 12020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12021 (exit $ac_status); } >/dev/null && { 12022 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12023 test ! -s conftest.err 12024 }; then 12025 ac_header_preproc=yes 12026 else 12027 $as_echo "$as_me: failed program was:" >&5 12028 sed 's/^/| /' conftest.$ac_ext >&5 12029 12030 ac_header_preproc=no 12031 fi 12032 12033 rm -f conftest.err conftest.$ac_ext 12034 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12035 $as_echo "$ac_header_preproc" >&6; } 12036 12037 # So? What about this header? 12038 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12039 yes:no: ) 12040 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12041 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12042 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12043 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12044 ac_header_preproc=yes 12045 ;; 12046 no:yes:* ) 12047 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12048 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12049 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12050 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12051 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12052 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12053 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12054 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12055 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12056 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12057 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12058 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12059 ( cat <<\_ASBOX 12060 ## ----------------------------------- ## 12061 ## Report this to rappture@nanohub.org ## 12062 ## ----------------------------------- ## 12063 _ASBOX 12064 ) | sed "s/^/$as_me: WARNING: /" >&2 12065 ;; 12066 esac 12067 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12068 $as_echo_n "checking for $ac_header... " >&6; } 12069 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12070 $as_echo_n "(cached) " >&6 12071 else 12072 eval "$as_ac_Header=\$ac_header_preproc" 12073 fi 12074 ac_res=`eval 'as_val=${'$as_ac_Header'} 12075 $as_echo "$as_val"'` 12076 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12077 $as_echo "$ac_res" >&6; } 12078 12079 fi 12080 as_val=`eval 'as_val=${'$as_ac_Header'} 12081 $as_echo "$as_val"'` 12082 if test "x$as_val" = x""yes; then 8302 for ac_func in accept4 8303 do : 8304 ac_fn_cxx_check_func "$LINENO" "accept4" "ac_cv_func_accept4" 8305 if test "x$ac_cv_func_accept4" = xyes; then : 12083 8306 cat >>confdefs.h <<_ACEOF 12084 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12085 _ACEOF 12086 12087 fi 12088 8307 #define HAVE_ACCEPT4 1 8308 _ACEOF 8309 8310 fi 12089 8311 done 12090 8312 12091 8313 12092 12093 for ac_func in accept412094 do12095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`12096 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&512097 $as_echo_n "checking for $ac_func... " >&6; }12098 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then12099 $as_echo_n "(cached) " >&612100 else12101 cat >conftest.$ac_ext <<_ACEOF12102 /* confdefs.h. */12103 _ACEOF12104 cat confdefs.h >>conftest.$ac_ext12105 cat >>conftest.$ac_ext <<_ACEOF12106 /* end confdefs.h. */12107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.12108 For example, HP-UX 11i <limits.h> declares gettimeofday. */12109 #define $ac_func innocuous_$ac_func12110 12111 /* System header to define __stub macros and hopefully few prototypes,12112 which can conflict with char $ac_func (); below.12113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since12114 <limits.h> exists even on freestanding compilers. */12115 12116 #ifdef __STDC__12117 # include <limits.h>12118 #else12119 # include <assert.h>12120 #endif12121 12122 #undef $ac_func12123 12124 /* Override any GCC internal prototype to avoid an error.12125 Use char because int might match the return type of a GCC12126 builtin and then its argument prototype would still apply. */12127 #ifdef __cplusplus12128 extern "C"12129 #endif12130 char $ac_func ();12131 /* The GNU C library defines this for functions which it implements12132 to always fail with ENOSYS. Some functions are actually named12133 something starting with __ and the normal name is an alias. */12134 #if defined __stub_$ac_func || defined __stub___$ac_func12135 choke me12136 #endif12137 12138 int12139 main ()12140 {12141 return $ac_func ();12142 ;12143 return 0;12144 }12145 _ACEOF12146 rm -f conftest.$ac_objext conftest$ac_exeext12147 if { (ac_try="$ac_link"12148 case "(($ac_try" in12149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;12150 *) ac_try_echo=$ac_try;;12151 esac12152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""12153 $as_echo "$ac_try_echo") >&512154 (eval "$ac_link") 2>conftest.er112155 ac_status=$?12156 grep -v '^ *+' conftest.er1 >conftest.err12157 rm -f conftest.er112158 cat conftest.err >&512159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&512160 (exit $ac_status); } && {12161 test -z "$ac_cxx_werror_flag" ||12162 test ! -s conftest.err12163 } && test -s conftest$ac_exeext && {12164 test "$cross_compiling" = yes ||12165 $as_test_x conftest$ac_exeext12166 }; then12167 eval "$as_ac_var=yes"12168 else12169 $as_echo "$as_me: failed program was:" >&512170 sed 's/^/| /' conftest.$ac_ext >&512171 12172 eval "$as_ac_var=no"12173 fi12174 12175 rm -rf conftest.dSYM12176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \12177 conftest$ac_exeext conftest.$ac_ext12178 fi12179 ac_res=`eval 'as_val=${'$as_ac_var'}12180 $as_echo "$as_val"'`12181 { $as_echo "$as_me:$LINENO: result: $ac_res" >&512182 $as_echo "$ac_res" >&6; }12183 as_val=`eval 'as_val=${'$as_ac_var'}12184 $as_echo "$as_val"'`12185 if test "x$as_val" = x""yes; then12186 cat >>confdefs.h <<_ACEOF12187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 112188 _ACEOF12189 12190 fi12191 done12192 12193 12194 8314 save_CPPFLAGS=$CPPFLAGS 12195 8315 12196 12197 #-------------------------------------------------------------------- 12198 # search for ffmpeg executable 12199 #-------------------------------------------------------------------- 12200 if test "${with_ffmpeg}" != "no" ; then 12201 if test "${with_ffmpeg}" = "yes" ; then 12202 # Extract the first word of "ffmpeg", so it can be a program name with args. 12203 set dummy ffmpeg; ac_word=$2 12204 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12205 $as_echo_n "checking for $ac_word... " >&6; } 12206 if test "${ac_cv_path_FFMPEG+set}" = set; then 12207 $as_echo_n "(cached) " >&6 12208 else 12209 case $FFMPEG in 12210 [\\/]* | ?:[\\/]*) 12211 ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path. 12212 ;; 12213 *) 12214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12215 for as_dir in $PATH 12216 do 12217 IFS=$as_save_IFS 12218 test -z "$as_dir" && as_dir=. 12219 for ac_exec_ext in '' $ac_executable_extensions; do 12220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12221 ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext" 12222 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12223 break 2 12224 fi 12225 done 12226 done 12227 IFS=$as_save_IFS 12228 12229 ;; 12230 esac 12231 fi 12232 FFMPEG=$ac_cv_path_FFMPEG 12233 if test -n "$FFMPEG"; then 12234 { $as_echo "$as_me:$LINENO: result: $FFMPEG" >&5 12235 $as_echo "$FFMPEG" >&6; } 12236 else 12237 { $as_echo "$as_me:$LINENO: result: no" >&5 12238 $as_echo "no" >&6; } 12239 fi 12240 12241 12242 else 12243 # Extract the first word of "ffmpeg", so it can be a program name with args. 12244 set dummy ffmpeg; ac_word=$2 12245 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12246 $as_echo_n "checking for $ac_word... " >&6; } 12247 if test "${ac_cv_path_FFMPEG+set}" = set; then 12248 $as_echo_n "(cached) " >&6 12249 else 12250 case $FFMPEG in 12251 [\\/]* | ?:[\\/]*) 12252 ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path. 12253 ;; 12254 *) 12255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12256 as_dummy="${with_ffmpeg}/bin:${with_ffmpeg}" 12257 for as_dir in $as_dummy 12258 do 12259 IFS=$as_save_IFS 12260 test -z "$as_dir" && as_dir=. 12261 for ac_exec_ext in '' $ac_executable_extensions; do 12262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12263 ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext" 12264 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12265 break 2 12266 fi 12267 done 12268 done 12269 IFS=$as_save_IFS 12270 12271 ;; 12272 esac 12273 fi 12274 FFMPEG=$ac_cv_path_FFMPEG 12275 if test -n "$FFMPEG"; then 12276 { $as_echo "$as_me:$LINENO: result: $FFMPEG" >&5 12277 $as_echo "$FFMPEG" >&6; } 12278 else 12279 { $as_echo "$as_me:$LINENO: result: no" >&5 12280 $as_echo "no" >&6; } 12281 fi 12282 12283 12284 fi 12285 if test "${FFMPEG}x" != "x" ; then 12286 12287 cat >>confdefs.h <<\_ACEOF 12288 #define HAVE_FFMPEG 1 12289 _ACEOF 12290 12291 fi 12292 fi 12293 12294 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5 12295 $as_echo_n "checking for nVidia Cg installation... " >&6; } 12296 CG_DIR="" 12297 for dir in \ 12298 /opt/nvidia-cg-toolkit \ 12299 /usr/cg \ 12300 /usr 12301 do 12302 if test -r "$dir/include" ; then 12303 CG_DIR=$dir 12304 break 12305 fi 12306 done 12307 { $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5 12308 $as_echo "${CG_DIR}" >&6; } 12309 12310 CG_INC_SPEC="-I${CG_DIR}/include" 12311 12312 save_CPPFLAGS=$CPPFLAGS 12313 CPPFLAGS="${CG_INC_SPEC} $CPPFLAGS" 12314 12315 for ac_header in Cg/cgGL.h 12316 do 12317 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12318 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12319 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12320 $as_echo_n "checking for $ac_header... " >&6; } 12321 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12322 $as_echo_n "(cached) " >&6 12323 fi 12324 ac_res=`eval 'as_val=${'$as_ac_Header'} 12325 $as_echo "$as_val"'` 12326 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12327 $as_echo "$ac_res" >&6; } 12328 else 12329 # Is the header compilable? 12330 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12331 $as_echo_n "checking $ac_header usability... " >&6; } 12332 cat >conftest.$ac_ext <<_ACEOF 12333 /* confdefs.h. */ 12334 _ACEOF 12335 cat confdefs.h >>conftest.$ac_ext 12336 cat >>conftest.$ac_ext <<_ACEOF 12337 /* end confdefs.h. */ 12338 $ac_includes_default 12339 #include <$ac_header> 12340 _ACEOF 12341 rm -f conftest.$ac_objext 12342 if { (ac_try="$ac_compile" 12343 case "(($ac_try" in 12344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12345 *) ac_try_echo=$ac_try;; 12346 esac 12347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12348 $as_echo "$ac_try_echo") >&5 12349 (eval "$ac_compile") 2>conftest.er1 12350 ac_status=$? 12351 grep -v '^ *+' conftest.er1 >conftest.err 12352 rm -f conftest.er1 12353 cat conftest.err >&5 12354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12355 (exit $ac_status); } && { 12356 test -z "$ac_cxx_werror_flag" || 12357 test ! -s conftest.err 12358 } && test -s conftest.$ac_objext; then 12359 ac_header_compiler=yes 12360 else 12361 $as_echo "$as_me: failed program was:" >&5 12362 sed 's/^/| /' conftest.$ac_ext >&5 12363 12364 ac_header_compiler=no 12365 fi 12366 12367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12368 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12369 $as_echo "$ac_header_compiler" >&6; } 12370 12371 # Is the header present? 12372 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12373 $as_echo_n "checking $ac_header presence... " >&6; } 12374 cat >conftest.$ac_ext <<_ACEOF 12375 /* confdefs.h. */ 12376 _ACEOF 12377 cat confdefs.h >>conftest.$ac_ext 12378 cat >>conftest.$ac_ext <<_ACEOF 12379 /* end confdefs.h. */ 12380 #include <$ac_header> 12381 _ACEOF 12382 if { (ac_try="$ac_cpp conftest.$ac_ext" 12383 case "(($ac_try" in 12384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12385 *) ac_try_echo=$ac_try;; 12386 esac 12387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12388 $as_echo "$ac_try_echo") >&5 12389 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12390 ac_status=$? 12391 grep -v '^ *+' conftest.er1 >conftest.err 12392 rm -f conftest.er1 12393 cat conftest.err >&5 12394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12395 (exit $ac_status); } >/dev/null && { 12396 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12397 test ! -s conftest.err 12398 }; then 12399 ac_header_preproc=yes 12400 else 12401 $as_echo "$as_me: failed program was:" >&5 12402 sed 's/^/| /' conftest.$ac_ext >&5 12403 12404 ac_header_preproc=no 12405 fi 12406 12407 rm -f conftest.err conftest.$ac_ext 12408 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12409 $as_echo "$ac_header_preproc" >&6; } 12410 12411 # So? What about this header? 12412 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12413 yes:no: ) 12414 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12415 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12416 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12417 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12418 ac_header_preproc=yes 12419 ;; 12420 no:yes:* ) 12421 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12422 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12423 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12424 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12425 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12426 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12427 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12428 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12429 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12430 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12431 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12432 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12433 ( cat <<\_ASBOX 12434 ## ----------------------------------- ## 12435 ## Report this to rappture@nanohub.org ## 12436 ## ----------------------------------- ## 12437 _ASBOX 12438 ) | sed "s/^/$as_me: WARNING: /" >&2 12439 ;; 12440 esac 12441 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12442 $as_echo_n "checking for $ac_header... " >&6; } 12443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12444 $as_echo_n "(cached) " >&6 12445 else 12446 eval "$as_ac_Header=\$ac_header_preproc" 12447 fi 12448 ac_res=`eval 'as_val=${'$as_ac_Header'} 12449 $as_echo "$as_val"'` 12450 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12451 $as_echo "$ac_res" >&6; } 12452 12453 fi 12454 as_val=`eval 'as_val=${'$as_ac_Header'} 12455 $as_echo "$as_val"'` 12456 if test "x$as_val" = x""yes; then 12457 cat >>confdefs.h <<_ACEOF 12458 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12459 _ACEOF 12460 12461 else 12462 { $as_echo "$as_me:$LINENO: WARNING: cannot find nVidia Cg headers" >&5 12463 $as_echo "$as_me: WARNING: cannot find nVidia Cg headers" >&2;} 12464 fi 12465 12466 done 12467 12468 CPPFLAGS=$save_CPPFLAGS 12469 12470 CG_LIB_DIR="" 12471 for dir in \ 12472 /opt/nvidia-cg-toolkit \ 12473 /usr/cg \ 12474 /usr 12475 do 12476 if test -r "$dir/lib" ; then 12477 CG_LIB_DIR=$dir/lib 12478 break 12479 fi 12480 if test -r "$dir/lib64" ; then 12481 CG_LIB_DIR=$dir/lib64 12482 break 12483 fi 12484 done 12485 12486 if test "${CG_LIB_DIR}" = "/usr/lib" ; then 12487 CG_INC_SPEC="" 12488 CG_LIB_SPEC="-lCg -lCgGL" 12489 else 12490 CG_LIB_SPEC="-L${CG_LIB_DIR} -lCg -lCgGL" 12491 LD_RPATH="$loader_run_path:${CG_LIB_DIR}" 12492 fi 12493 12494 SUBDIRS="nanoscale nanovis pymolproxy vtkvis" 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanoscale/renderservers.tcl nanovis/Doxyfile nanovis/Makefile nanovis/graphics/Makefile nanovis/imgLoaders/Makefile nanovis/newmat11/Makefile nanovis/util/Makefile nanovis/vrmath/Makefile pymolproxy/Makefile vtkvis/Doxyfile vtkvis/Makefile start_viz.sh start_nanoscale.sh" 8316 SUBDIRS="nanoscale pymolproxy vtkvis" 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanoscale/renderservers.tcl pymolproxy/Makefile vtkvis/Doxyfile vtkvis/Makefile start_viz.sh start_nanoscale.sh" 12526 8345 12527 8346 cat >confcache <<\_ACEOF … … 12552 8371 *${as_nl}*) 12553 8372 case $ac_var in #( 12554 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&58373 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12555 8374 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12556 8375 esac … … 12558 8377 _ | IFS | as_nl) ;; #( 12559 8378 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12560 *) $as_unset $ac_var;;8379 *) { eval $ac_var=; unset $ac_var;} ;; 12561 8380 esac ;; 12562 8381 esac … … 12566 8385 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12567 8386 *${as_nl}ac_space=\ *) 12568 # `set' does not quote correctly, so add quotes (double-quote12569 # substitution turns \\\\ into \\, and sed turns \\ into \ ).8387 # `set' does not quote correctly, so add quotes: double-quote 8388 # substitution turns \\\\ into \\, and sed turns \\ into \. 12570 8389 sed -n \ 12571 8390 "s/'/'\\\\''/g; … … 12589 8408 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12590 8409 if test -w "$cache_file"; then 12591 test "x$cache_file" != "x/dev/null" &&12592 { $as_echo "$as_me:$ LINENO: updating cache $cache_file" >&58410 if test "x$cache_file" != "x/dev/null"; then 8411 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12593 8412 $as_echo "$as_me: updating cache $cache_file" >&6;} 12594 cat confcache >$cache_file 8413 if test ! -f "$cache_file" || test -h "$cache_file"; then 8414 cat confcache >"$cache_file" 8415 else 8416 case $cache_file in #( 8417 */* | ?:*) 8418 mv -f confcache "$cache_file"$$ && 8419 mv -f "$cache_file"$$ "$cache_file" ;; #( 8420 *) 8421 mv -f confcache "$cache_file" ;; 8422 esac 8423 fi 8424 fi 12595 8425 else 12596 { $as_echo "$as_me:$ LINENO: not updating unwritable cache $cache_file" >&58426 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12597 8427 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12598 8428 fi … … 12608 8438 ac_libobjs= 12609 8439 ac_ltlibobjs= 8440 U= 12610 8441 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12611 8442 # 1. Remove the extension, and $U if already installed. … … 12614 8445 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12615 8446 # will be set to the directory where LIBOBJS objects are built. 12616 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"12617 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'8447 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8448 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12618 8449 done 12619 8450 LIBOBJS=$ac_libobjs … … 12624 8455 12625 8456 12626 : ${CONFIG_STATUS=./config.status}8457 : "${CONFIG_STATUS=./config.status}" 12627 8458 ac_write_fail=0 12628 8459 ac_clean_files_save=$ac_clean_files 12629 8460 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12630 { $as_echo "$as_me:$ LINENO: creating $CONFIG_STATUS" >&58461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12631 8462 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12632 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8463 as_write_fail=0 8464 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12633 8465 #! $SHELL 12634 8466 # Generated by $as_me. … … 12640 8472 ac_cs_recheck=false 12641 8473 ac_cs_silent=false 8474 12642 8475 SHELL=\${CONFIG_SHELL-$SHELL} 12643 _ACEOF 12644 12645 cat >>$CONFIG_STATUS <<\_A CEOF || ac_write_fail=112646 ## -------------------- -##12647 ## M4sh Initialization. 12648 ## -------------------- -##8476 export SHELL 8477 _ASEOF 8478 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 8479 ## -------------------- ## 8480 ## M4sh Initialization. ## 8481 ## -------------------- ## 12649 8482 12650 8483 # Be more Bourne compatible 12651 8484 DUALCASE=1; export DUALCASE # for MKS sh 12652 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8485 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12653 8486 emulate sh 12654 8487 NULLCMD=: … … 12658 8491 setopt NO_GLOB_SUBST 12659 8492 else 12660 case `(set -o) 2>/dev/null` in 12661 *posix*) set -o posix ;; 8493 case `(set -o) 2>/dev/null` in #( 8494 *posix*) : 8495 set -o posix ;; #( 8496 *) : 8497 ;; 12662 8498 esac 12663 12664 fi 12665 12666 12667 12668 12669 # PATH needs CR 12670 # Avoid depending upon Character Ranges. 12671 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12672 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12673 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12674 as_cr_digits='0123456789' 12675 as_cr_alnum=$as_cr_Letters$as_cr_digits 8499 fi 8500 12676 8501 12677 8502 as_nl=' … … 12682 8507 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12683 8508 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12684 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8509 # Prefer a ksh shell builtin over an external printf program on Solaris, 8510 # but without wasting forks for bash or zsh. 8511 if test -z "$BASH_VERSION$ZSH_VERSION" \ 8512 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 8513 as_echo='print -r --' 8514 as_echo_n='print -rn --' 8515 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12685 8516 as_echo='printf %s\n' 12686 8517 as_echo_n='printf %s' … … 12693 8524 as_echo_n_body='eval 12694 8525 arg=$1; 12695 case $arg in 8526 case $arg in #( 12696 8527 *"$as_nl"*) 12697 8528 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 12716 8547 fi 12717 8548 12718 # Support unset when possible.12719 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then12720 as_unset=unset12721 else12722 as_unset=false12723 fi12724 12725 8549 12726 8550 # IFS … … 12732 8556 12733 8557 # Find who we are. Look in the path if we contain no directory separator. 12734 case $0 in 8558 as_myself= 8559 case $0 in #(( 12735 8560 *[\\/]* ) as_myself=$0 ;; 12736 8561 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 12739 8564 IFS=$as_save_IFS 12740 8565 test -z "$as_dir" && as_dir=. 12741 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break12742 done8566 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8567 done 12743 8568 IFS=$as_save_IFS 12744 8569 … … 12752 8577 if test ! -f "$as_myself"; then 12753 8578 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12754 { (exit 1); exit 1; } 12755 fi 12756 12757 # Work around bugs in pre-3.0 UWIN ksh. 12758 for as_var in ENV MAIL MAILPATH 12759 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8579 exit 1 8580 fi 8581 8582 # Unset variables that we do not need and which cause bugs (e.g. in 8583 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 8584 # suppresses any "Segmentation fault" message there. '((' could 8585 # trigger a bug in pdksh 5.2.14. 8586 for as_var in BASH_ENV ENV MAIL MAILPATH 8587 do eval test x\${$as_var+set} = xset \ 8588 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12760 8589 done 12761 8590 PS1='$ ' … … 12769 8598 export LANGUAGE 12770 8599 12771 # Required to use basename. 8600 # CDPATH. 8601 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 8602 8603 8604 # as_fn_error STATUS ERROR [LINENO LOG_FD] 8605 # ---------------------------------------- 8606 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 8607 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 8608 # script with STATUS, using 1 if that was 0. 8609 as_fn_error () 8610 { 8611 as_status=$1; test $as_status -eq 0 && as_status=1 8612 if test "$4"; then 8613 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 8614 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 8615 fi 8616 $as_echo "$as_me: error: $2" >&2 8617 as_fn_exit $as_status 8618 } # as_fn_error 8619 8620 8621 # as_fn_set_status STATUS 8622 # ----------------------- 8623 # Set $? to STATUS, without forking. 8624 as_fn_set_status () 8625 { 8626 return $1 8627 } # as_fn_set_status 8628 8629 # as_fn_exit STATUS 8630 # ----------------- 8631 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 8632 as_fn_exit () 8633 { 8634 set +e 8635 as_fn_set_status $1 8636 exit $1 8637 } # as_fn_exit 8638 8639 # as_fn_unset VAR 8640 # --------------- 8641 # Portably unset VAR. 8642 as_fn_unset () 8643 { 8644 { eval $1=; unset $1;} 8645 } 8646 as_unset=as_fn_unset 8647 # as_fn_append VAR VALUE 8648 # ---------------------- 8649 # Append the text in VALUE to the end of the definition contained in VAR. Take 8650 # advantage of any shell optimizations that allow amortized linear growth over 8651 # repeated appends, instead of the typical quadratic growth present in naive 8652 # implementations. 8653 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 8654 eval 'as_fn_append () 8655 { 8656 eval $1+=\$2 8657 }' 8658 else 8659 as_fn_append () 8660 { 8661 eval $1=\$$1\$2 8662 } 8663 fi # as_fn_append 8664 8665 # as_fn_arith ARG... 8666 # ------------------ 8667 # Perform arithmetic evaluation on the ARGs, and store the result in the 8668 # global $as_val. Take advantage of shells that can avoid forks. The arguments 8669 # must be portable across $(()) and expr. 8670 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 8671 eval 'as_fn_arith () 8672 { 8673 as_val=$(( $* )) 8674 }' 8675 else 8676 as_fn_arith () 8677 { 8678 as_val=`expr "$@" || test $? -eq 1` 8679 } 8680 fi # as_fn_arith 8681 8682 12772 8683 if expr a : '\(a\)' >/dev/null 2>&1 && 12773 8684 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 12783 8694 fi 12784 8695 12785 12786 # Name of the executable. 8696 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8697 as_dirname=dirname 8698 else 8699 as_dirname=false 8700 fi 8701 12787 8702 as_me=`$as_basename -- "$0" || 12788 8703 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 12804 8719 s/.*/./; q'` 12805 8720 12806 # CDPATH. 12807 $as_unset CDPATH 12808 12809 12810 12811 as_lineno_1=$LINENO 12812 as_lineno_2=$LINENO 12813 test "x$as_lineno_1" != "x$as_lineno_2" && 12814 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 12815 12816 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 12817 # uniformly replaced by the line number. The first 'sed' inserts a 12818 # line-number line after each line using $LINENO; the second 'sed' 12819 # does the real work. The second script uses 'N' to pair each 12820 # line-number line with the line containing $LINENO, and appends 12821 # trailing '-' during substitution so that $LINENO is not a special 12822 # case at line end. 12823 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 12824 # scripts with optimization help from Paolo Bonzini. Blame Lee 12825 # E. McMahon (1931-1989) for sed's syntax. :-) 12826 sed -n ' 12827 p 12828 /[$]LINENO/= 12829 ' <$as_myself | 12830 sed ' 12831 s/[$]LINENO.*/&-/ 12832 t lineno 12833 b 12834 :lineno 12835 N 12836 :loop 12837 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 12838 t loop 12839 s/-\n.*// 12840 ' >$as_me.lineno && 12841 chmod +x "$as_me.lineno" || 12842 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 12843 { (exit 1); exit 1; }; } 12844 12845 # Don't try to exec as it changes $[0], causing all sort of problems 12846 # (the dirname of $[0] is not the place where we might find the 12847 # original and so on. Autoconf is especially sensitive to this). 12848 . "./$as_me.lineno" 12849 # Exit status is that of the last command. 12850 exit 12851 } 12852 12853 12854 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12855 as_dirname=dirname 12856 else 12857 as_dirname=false 12858 fi 8721 # Avoid depending upon Character Ranges. 8722 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8723 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8724 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8725 as_cr_digits='0123456789' 8726 as_cr_alnum=$as_cr_Letters$as_cr_digits 12859 8727 12860 8728 ECHO_C= ECHO_N= ECHO_T= 12861 case `echo -n x` in 8729 case `echo -n x` in #((((( 12862 8730 -n*) 12863 case `echo 'x \c'` in8731 case `echo 'xy\c'` in 12864 8732 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12865 *) ECHO_C='\c';; 8733 xy) ECHO_C='\c';; 8734 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 8735 ECHO_T=' ';; 12866 8736 esac;; 12867 8737 *) 12868 8738 ECHO_N='-n';; 12869 8739 esac 12870 if expr a : '\(a\)' >/dev/null 2>&1 &&12871 test "X`expr 00001 : '.*\(...\)'`" = X001; then12872 as_expr=expr12873 else12874 as_expr=false12875 fi12876 8740 12877 8741 rm -f conf$$ conf$$.exe conf$$.file … … 12888 8752 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12889 8753 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12890 # In both cases, we have to default to `cp -p '.8754 # In both cases, we have to default to `cp -pR'. 12891 8755 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12892 as_ln_s='cp -p '8756 as_ln_s='cp -pR' 12893 8757 elif ln conf$$.file conf$$ 2>/dev/null; then 12894 8758 as_ln_s=ln 12895 8759 else 12896 as_ln_s='cp -p '8760 as_ln_s='cp -pR' 12897 8761 fi 12898 8762 else 12899 as_ln_s='cp -p '8763 as_ln_s='cp -pR' 12900 8764 fi 12901 8765 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12902 8766 rmdir conf$$.dir 2>/dev/null 12903 8767 8768 8769 # as_fn_mkdir_p 8770 # ------------- 8771 # Create "$as_dir" as a directory, including parents if necessary. 8772 as_fn_mkdir_p () 8773 { 8774 8775 case $as_dir in #( 8776 -*) as_dir=./$as_dir;; 8777 esac 8778 test -d "$as_dir" || eval $as_mkdir_p || { 8779 as_dirs= 8780 while :; do 8781 case $as_dir in #( 8782 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 8783 *) as_qdir=$as_dir;; 8784 esac 8785 as_dirs="'$as_qdir' $as_dirs" 8786 as_dir=`$as_dirname -- "$as_dir" || 8787 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8788 X"$as_dir" : 'X\(//\)[^/]' \| \ 8789 X"$as_dir" : 'X\(//\)$' \| \ 8790 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8791 $as_echo X"$as_dir" | 8792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8793 s//\1/ 8794 q 8795 } 8796 /^X\(\/\/\)[^/].*/{ 8797 s//\1/ 8798 q 8799 } 8800 /^X\(\/\/\)$/{ 8801 s//\1/ 8802 q 8803 } 8804 /^X\(\/\).*/{ 8805 s//\1/ 8806 q 8807 } 8808 s/.*/./; q'` 8809 test -d "$as_dir" && break 8810 done 8811 test -z "$as_dirs" || eval "mkdir $as_dirs" 8812 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 8813 8814 8815 } # as_fn_mkdir_p 12904 8816 if mkdir -p . 2>/dev/null; then 12905 as_mkdir_p= :8817 as_mkdir_p='mkdir -p "$as_dir"' 12906 8818 else 12907 8819 test -d ./-p && rmdir ./-p … … 12909 8821 fi 12910 8822 12911 if test -x / >/dev/null 2>&1; then 12912 as_test_x='test -x' 12913 else 12914 if ls -dL / >/dev/null 2>&1; then 12915 as_ls_L_option=L 12916 else 12917 as_ls_L_option= 12918 fi 12919 as_test_x=' 12920 eval sh -c '\'' 12921 if test -d "$1"; then 12922 test -d "$1/."; 12923 else 12924 case $1 in 12925 -*)set "./$1";; 12926 esac; 12927 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 12928 ???[sx]*):;;*)false;;esac;fi 12929 '\'' sh 12930 ' 12931 fi 12932 as_executable_p=$as_test_x 8823 8824 # as_fn_executable_p FILE 8825 # ----------------------- 8826 # Test if FILE is an executable regular file. 8827 as_fn_executable_p () 8828 { 8829 test -f "$1" && test -x "$1" 8830 } # as_fn_executable_p 8831 as_test_x='test -x' 8832 as_executable_p=as_fn_executable_p 12933 8833 12934 8834 # Sed expression to map a string onto a valid CPP name. … … 12940 8840 12941 8841 exec 6>&1 12942 12943 # Save the log message, to keep $[0] and so on meaningful, and to 8842 ## ----------------------------------- ## 8843 ## Main body of $CONFIG_STATUS script. ## 8844 ## ----------------------------------- ## 8845 _ASEOF 8846 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 8847 8848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8849 # Save the log message, to keep $0 and so on meaningful, and to 12944 8850 # report actual input values of CONFIG_FILES etc. instead of their 12945 8851 # values after options handling. 12946 8852 ac_log=" 12947 8853 This file was extended by vizservers $as_me 0.1, which was 12948 generated by GNU Autoconf 2.6 3. Invocation command line was8854 generated by GNU Autoconf 2.69. Invocation command line was 12949 8855 12950 8856 CONFIG_FILES = $CONFIG_FILES … … 12977 8883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12978 8884 ac_cs_usage="\ 12979 \`$as_me' instantiates files from templates according to the 12980 current configuration. 12981 12982 Usage: $0 [OPTION]... [FILE]... 8885 \`$as_me' instantiates files and other configuration actions 8886 from templates according to the current configuration. Unless the files 8887 and actions are specified as TAGs, all are instantiated by default. 8888 8889 Usage: $0 [OPTION]... [TAG]... 12983 8890 12984 8891 -h, --help print this help, then exit 12985 8892 -V, --version print version number and configuration settings, then exit 8893 --config print configuration, then exit 12986 8894 -q, --quiet, --silent 12987 8895 do not print progress messages … … 12999 8907 $config_headers 13000 8908 13001 Report bugs to < bug-autoconf@gnu.org>."8909 Report bugs to <rappture@nanohub.org>." 13002 8910 13003 8911 _ACEOF 13004 8912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8913 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13005 8914 ac_cs_version="\\ 13006 8915 vizservers config.status 0.1 13007 configured by $0, generated by GNU Autoconf 2.6 3,13008 with options \\" `$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"13009 13010 Copyright (C) 20 08Free Software Foundation, Inc.8916 configured by $0, generated by GNU Autoconf 2.69, 8917 with options \\"\$ac_cs_config\\" 8918 8919 Copyright (C) 2012 Free Software Foundation, Inc. 13011 8920 This config.status script is free software; the Free Software Foundation 13012 8921 gives unlimited permission to copy, distribute and modify it." … … 13025 8934 do 13026 8935 case $1 in 13027 --*= *)8936 --*=?*) 13028 8937 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13029 8938 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 8939 ac_shift=: 8940 ;; 8941 --*=) 8942 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8943 ac_optarg= 13030 8944 ac_shift=: 13031 8945 ;; … … 13043 8957 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13044 8958 $as_echo "$ac_cs_version"; exit ;; 8959 --config | --confi | --conf | --con | --co | --c ) 8960 $as_echo "$ac_cs_config"; exit ;; 13045 8961 --debug | --debu | --deb | --de | --d | -d ) 13046 8962 debug=: ;; … … 13049 8965 case $ac_optarg in 13050 8966 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8967 '') as_fn_error $? "missing file argument" ;; 13051 8968 esac 13052 CONFIG_FILES="$CONFIG_FILES'$ac_optarg'"8969 as_fn_append CONFIG_FILES " '$ac_optarg'" 13053 8970 ac_need_defaults=false;; 13054 8971 --header | --heade | --head | --hea ) … … 13057 8974 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13058 8975 esac 13059 CONFIG_HEADERS="$CONFIG_HEADERS'$ac_optarg'"8976 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13060 8977 ac_need_defaults=false;; 13061 8978 --he | --h) 13062 8979 # Conflict between --help and --header 13063 { $as_echo "$as_me: error: ambiguous option: $1 13064 Try \`$0 --help' for more information." >&2 13065 { (exit 1); exit 1; }; };; 8980 as_fn_error $? "ambiguous option: \`$1' 8981 Try \`$0 --help' for more information.";; 13066 8982 --help | --hel | -h ) 13067 8983 $as_echo "$ac_cs_usage"; exit ;; … … 13071 8987 13072 8988 # This is an error. 13073 -*) { $as_echo "$as_me: error: unrecognized option: $1 13074 Try \`$0 --help' for more information." >&2 13075 { (exit 1); exit 1; }; } ;; 13076 13077 *) ac_config_targets="$ac_config_targets $1" 8989 -*) as_fn_error $? "unrecognized option: \`$1' 8990 Try \`$0 --help' for more information." ;; 8991 8992 *) as_fn_append ac_config_targets " $1" 13078 8993 ac_need_defaults=false ;; 13079 8994 … … 13092 9007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13093 9008 if \$ac_cs_recheck; then 13094 set X '$SHELL''$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion9009 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13095 9010 shift 13096 9011 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 … … 13126 9041 "nanoscale/Makefile") CONFIG_FILES="$CONFIG_FILES nanoscale/Makefile" ;; 13127 9042 "nanoscale/renderservers.tcl") CONFIG_FILES="$CONFIG_FILES nanoscale/renderservers.tcl" ;; 13128 "nanovis/Doxyfile") CONFIG_FILES="$CONFIG_FILES nanovis/Doxyfile" ;;13129 "nanovis/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/Makefile" ;;13130 "nanovis/graphics/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/graphics/Makefile" ;;13131 "nanovis/imgLoaders/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/imgLoaders/Makefile" ;;13132 "nanovis/newmat11/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/newmat11/Makefile" ;;13133 "nanovis/util/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/util/Makefile" ;;13134 "nanovis/vrmath/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/vrmath/Makefile" ;;13135 9043 "pymolproxy/Makefile") CONFIG_FILES="$CONFIG_FILES pymolproxy/Makefile" ;; 13136 9044 "vtkvis/Doxyfile") CONFIG_FILES="$CONFIG_FILES vtkvis/Doxyfile" ;; … … 13139 9047 "start_nanoscale.sh") CONFIG_FILES="$CONFIG_FILES start_nanoscale.sh" ;; 13140 9048 13141 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13142 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13143 { (exit 1); exit 1; }; };; 9049 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13144 9050 esac 13145 9051 done … … 13163 9069 $debug || 13164 9070 { 13165 tmp= 9071 tmp= ac_tmp= 13166 9072 trap 'exit_status=$? 13167 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9073 : "${ac_tmp:=$tmp}" 9074 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13168 9075 ' 0 13169 trap ' { (exit 1); exit 1; }' 1 2 13 159076 trap 'as_fn_exit 1' 1 2 13 15 13170 9077 } 13171 9078 # Create a (secure) tmp directory for tmp files. … … 13173 9080 { 13174 9081 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13175 test - n "$tmp" && test -d "$tmp"9082 test -d "$tmp" 13176 9083 } || 13177 9084 { 13178 9085 tmp=./conf$$-$RANDOM 13179 9086 (umask 077 && mkdir "$tmp") 13180 } || 13181 { 13182 $as_echo "$as_me: cannot create a temporary directory in ." >&2 13183 { (exit 1); exit 1; } 13184 } 9087 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 9088 ac_tmp=$tmp 13185 9089 13186 9090 # Set up the scripts for CONFIG_FILES section. … … 13190 9094 13191 9095 13192 ac_cr=' 13193 ' 9096 ac_cr=`echo X | tr X '\015'` 9097 # On cygwin, bash can eat \r inside `` if the user requested igncr. 9098 # But we know of no other shell where ac_cr would be empty at this 9099 # point, so we can use a bashism as a fallback. 9100 if test "x$ac_cr" = x; then 9101 eval ac_cr=\$\'\\r\' 9102 fi 13194 9103 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13195 9104 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then … … 13199 9108 fi 13200 9109 13201 echo 'BEGIN {' >"$ tmp/subs1.awk" &&9110 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 13202 9111 _ACEOF 13203 9112 … … 13208 9117 echo "_ACEOF" 13209 9118 } >conf$$subs.sh || 13210 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13211 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13212 { (exit 1); exit 1; }; } 13213 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9119 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9120 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13214 9121 ac_delim='%!_!# ' 13215 9122 for ac_last_try in false false false false false :; do 13216 9123 . ./conf$$subs.sh || 13217 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13218 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13219 { (exit 1); exit 1; }; } 9124 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13220 9125 13221 9126 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 13223 9128 break 13224 9129 elif $ac_last_try; then 13225 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13226 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13227 { (exit 1); exit 1; }; } 9130 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13228 9131 else 13229 9132 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 13233 9136 13234 9137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13235 cat >>"\$ tmp/subs1.awk" <<\\_ACAWK &&9138 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 13236 9139 _ACEOF 13237 9140 sed -n ' … … 13247 9150 :nl 13248 9151 h 13249 s/\(.\{148\}\). */\1/9152 s/\(.\{148\}\)..*/\1/ 13250 9153 t more1 13251 9154 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 13261 9164 :delim 13262 9165 h 13263 s/\(.\{148\}\). */\1/9166 s/\(.\{148\}\)..*/\1/ 13264 9167 t more2 13265 9168 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 13281 9184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13282 9185 _ACAWK 13283 cat >>"\$ tmp/subs1.awk" <<_ACAWK &&9186 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 13284 9187 for (key in S) S_is_set[key] = 1 13285 9188 FS = "" … … 13313 9216 else 13314 9217 cat 13315 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 13316 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 13317 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 13318 { (exit 1); exit 1; }; } 13319 _ACEOF 13320 13321 # VPATH may cause trouble with some makes, so we remove $(srcdir), 13322 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9218 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 9219 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9220 _ACEOF 9221 9222 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9223 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13323 9224 # trailing colons and then remove the whole line if VPATH becomes empty 13324 9225 # (actually we leave an empty line to preserve line numbers). 13325 9226 if test "x$srcdir" = x.; then 13326 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 13327 s/:*\$(srcdir):*/:/ 13328 s/:*\${srcdir}:*/:/ 13329 s/:*@srcdir@:*/:/ 13330 s/^\([^=]*=[ ]*\):*/\1/ 9227 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 9228 h 9229 s/// 9230 s/^/:/ 9231 s/[ ]*$/:/ 9232 s/:\$(srcdir):/:/g 9233 s/:\${srcdir}:/:/g 9234 s/:@srcdir@:/:/g 9235 s/^:*// 13331 9236 s/:*$// 9237 x 9238 s/\(=[ ]*\).*/\1/ 9239 G 9240 s/\n// 13332 9241 s/^[^=]*=[ ]*$// 13333 9242 }' … … 13341 9250 # This happens for instance with `./config.status Makefile'. 13342 9251 if test -n "$CONFIG_HEADERS"; then 13343 cat >"$ tmp/defines.awk" <<\_ACAWK ||9252 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 13344 9253 BEGIN { 13345 9254 _ACEOF … … 13353 9262 ac_delim='%!_!# ' 13354 9263 for ac_last_try in false false :; do 13355 ac_t =`sed -n "/$ac_delim/p" confdefs.h`13356 if test -z "$ac_t "; then9264 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 9265 if test -z "$ac_tt"; then 13357 9266 break 13358 9267 elif $ac_last_try; then 13359 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 13360 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 13361 { (exit 1); exit 1; }; } 9268 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 13362 9269 else 13363 9270 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 13444 9351 _ACEOF 13445 9352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13446 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 13447 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 13448 { (exit 1); exit 1; }; } 9353 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 13449 9354 fi # test -n "$CONFIG_HEADERS" 13450 9355 … … 13459 9364 case $ac_mode$ac_tag in 13460 9365 :[FHL]*:*);; 13461 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 13462 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 13463 { (exit 1); exit 1; }; };; 9366 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 13464 9367 :[FH]-) ac_tag=-:-;; 13465 9368 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 13480 9383 do 13481 9384 case $ac_f in 13482 -) ac_f="$ tmp/stdin";;9385 -) ac_f="$ac_tmp/stdin";; 13483 9386 *) # Look for the file first in the build tree, then in the source tree 13484 9387 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 13489 9392 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13490 9393 esac || 13491 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 13492 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 13493 { (exit 1); exit 1; }; };; 9394 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 13494 9395 esac 13495 9396 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13496 a c_file_inputs="$ac_file_inputs'$ac_f'"9397 as_fn_append ac_file_inputs " '$ac_f'" 13497 9398 done 13498 9399 … … 13505 9406 if test x"$ac_file" != x-; then 13506 9407 configure_input="$ac_file. $configure_input" 13507 { $as_echo "$as_me:$ LINENO: creating $ac_file" >&59408 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13508 9409 $as_echo "$as_me: creating $ac_file" >&6;} 13509 9410 fi … … 13517 9418 13518 9419 case $ac_tag in 13519 *:-:* | *:-) cat >"$tmp/stdin" \ 13520 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13521 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13522 { (exit 1); exit 1; }; } ;; 9420 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 9421 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13523 9422 esac 13524 9423 ;; … … 13548 9447 } 13549 9448 s/.*/./; q'` 13550 { as_dir="$ac_dir" 13551 case $as_dir in #( 13552 -*) as_dir=./$as_dir;; 13553 esac 13554 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 13555 as_dirs= 13556 while :; do 13557 case $as_dir in #( 13558 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13559 *) as_qdir=$as_dir;; 13560 esac 13561 as_dirs="'$as_qdir' $as_dirs" 13562 as_dir=`$as_dirname -- "$as_dir" || 13563 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13564 X"$as_dir" : 'X\(//\)[^/]' \| \ 13565 X"$as_dir" : 'X\(//\)$' \| \ 13566 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13567 $as_echo X"$as_dir" | 13568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13569 s//\1/ 13570 q 13571 } 13572 /^X\(\/\/\)[^/].*/{ 13573 s//\1/ 13574 q 13575 } 13576 /^X\(\/\/\)$/{ 13577 s//\1/ 13578 q 13579 } 13580 /^X\(\/\).*/{ 13581 s//\1/ 13582 q 13583 } 13584 s/.*/./; q'` 13585 test -d "$as_dir" && break 13586 done 13587 test -z "$as_dirs" || eval "mkdir $as_dirs" 13588 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 13589 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 13590 { (exit 1); exit 1; }; }; } 9449 as_dir="$ac_dir"; as_fn_mkdir_p 13591 9450 ac_builddir=. 13592 9451 … … 13645 9504 # FIXME: This hack should be removed a few years after 2.60. 13646 9505 ac_datarootdir_hack=; ac_datarootdir_seen= 13647 13648 9506 ac_sed_dataroot=' 13649 9507 /datarootdir/ { … … 13655 9513 /@infodir@/p 13656 9514 /@localedir@/p 13657 /@mandir@/p 13658 ' 9515 /@mandir@/p' 13659 9516 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13660 9517 *datarootdir*) ac_datarootdir_seen=yes;; 13661 9518 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13662 { $as_echo "$as_me:$ LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&59519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13663 9520 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13664 9521 _ACEOF … … 13670 9527 s&@localedir@&$localedir&g 13671 9528 s&@mandir@&$mandir&g 13672 9529 s&\\\${datarootdir}&$datarootdir&g' ;; 13673 9530 esac 13674 9531 _ACEOF … … 13698 9555 $ac_datarootdir_hack 13699 9556 " 13700 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 13701 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13702 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13703 { (exit 1); exit 1; }; } 9557 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9558 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13704 9559 13705 9560 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13706 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 13707 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 13708 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13709 which seems to be undefined. Please make sure it is defined." >&5 9561 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 9562 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 9563 "$ac_tmp/out"`; test -z "$ac_out"; } && 9564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9565 which seems to be undefined. Please make sure it is defined" >&5 13710 9566 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13711 which seems to be undefined. Please make sure it is defined ." >&2;}13712 13713 rm -f "$ tmp/stdin"9567 which seems to be undefined. Please make sure it is defined" >&2;} 9568 9569 rm -f "$ac_tmp/stdin" 13714 9570 case $ac_file in 13715 -) cat "$ tmp/out" && rm -f "$tmp/out";;13716 *) rm -f "$ac_file" && mv "$ tmp/out" "$ac_file";;9571 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 9572 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 13717 9573 esac \ 13718 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13719 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13720 { (exit 1); exit 1; }; } 9574 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13721 9575 ;; 13722 9576 :H) … … 13727 9581 { 13728 9582 $as_echo "/* $configure_input */" \ 13729 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 13730 } >"$tmp/config.h" \ 13731 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13732 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13733 { (exit 1); exit 1; }; } 13734 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 13735 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 9583 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 9584 } >"$ac_tmp/config.h" \ 9585 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9586 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 9587 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 13736 9588 $as_echo "$as_me: $ac_file is unchanged" >&6;} 13737 9589 else 13738 9590 rm -f "$ac_file" 13739 mv "$tmp/config.h" "$ac_file" \ 13740 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13741 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13742 { (exit 1); exit 1; }; } 9591 mv "$ac_tmp/config.h" "$ac_file" \ 9592 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13743 9593 fi 13744 9594 else 13745 9595 $as_echo "/* $configure_input */" \ 13746 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 13747 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 13748 $as_echo "$as_me: error: could not create -" >&2;} 13749 { (exit 1); exit 1; }; } 9596 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9597 || as_fn_error $? "could not create -" "$LINENO" 5 13750 9598 fi 13751 9599 ;; … … 13757 9605 13758 9606 13759 { (exit 0); exit 0; } 13760 _ACEOF 13761 chmod +x $CONFIG_STATUS 9607 as_fn_exit 0 9608 _ACEOF 13762 9609 ac_clean_files=$ac_clean_files_save 13763 9610 13764 9611 test $ac_write_fail = 0 || 13765 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 13766 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 13767 { (exit 1); exit 1; }; } 9612 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 13768 9613 13769 9614 … … 13786 9631 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 13787 9632 # would make configure fail if this is the last instruction. 13788 $ac_cs_success || { (exit 1); exit 1; }9633 $ac_cs_success || as_fn_exit 1 13789 9634 fi 13790 9635 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 13791 { $as_echo "$as_me:$ LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&59636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 13792 9637 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 13793 9638 fi -
branches/1.3/packages/vizservers/configure.in
r3563 r4467 38 38 [with_vtk=$withval], 39 39 [with_vtk=yes]) 40 41 AC_ARG_WITH(42 [ffmpeg],43 [AS_HELP_STRING([--with-ffmpeg[=DIR]],44 [location of ffmpeg @<:@default=yes@:>@])],45 [],46 [with_ffmpeg=yes])47 40 48 41 RP_LANG_PYTHON … … 114 107 # Tcl headers and library (done) 115 108 # GL headers and library 116 # GLuT headers and library117 109 # GLEW header and library 118 # Cg headers and library119 # CgGL headers and library120 110 # pthread library 121 111 # ffmpeg headers and library (started) … … 204 194 CPPFLAGS=$save_CPPFLAGS 205 195 206 AC_CHECK_HEADER([GL/glut.h])207 196 AC_CHECK_HEADER([GL/glew.h]) 208 197 … … 214 203 save_CPPFLAGS=$CPPFLAGS 215 204 216 217 #-------------------------------------------------------------------- 218 # search for ffmpeg executable 219 #-------------------------------------------------------------------- 220 if test "${with_ffmpeg}" != "no" ; then 221 if test "${with_ffmpeg}" = "yes" ; then 222 AC_PATH_PROG(FFMPEG, ffmpeg) 223 else 224 AC_PATH_PROG(FFMPEG, ffmpeg, [], [${with_ffmpeg}/bin:${with_ffmpeg}]) 225 fi 226 if test "${FFMPEG}x" != "x" ; then 227 AC_DEFINE(HAVE_FFMPEG, 1, [nanovis can use ffmpeg to create videos.]) 228 fi 229 fi 230 231 AC_MSG_CHECKING([for nVidia Cg installation]) 232 CG_DIR="" 233 for dir in \ 234 /opt/nvidia-cg-toolkit \ 235 /usr/cg \ 236 /usr 237 do 238 if test -r "$dir/include" ; then 239 CG_DIR=$dir 240 break 241 fi 242 done 243 AC_MSG_RESULT([${CG_DIR}]) 244 245 CG_INC_SPEC="-I${CG_DIR}/include" 246 247 save_CPPFLAGS=$CPPFLAGS 248 CPPFLAGS="${CG_INC_SPEC} $CPPFLAGS" 249 AC_CHECK_HEADERS([Cg/cgGL.h], [], AC_MSG_WARN([cannot find nVidia Cg headers])) 250 CPPFLAGS=$save_CPPFLAGS 251 252 CG_LIB_DIR="" 253 for dir in \ 254 /opt/nvidia-cg-toolkit \ 255 /usr/cg \ 256 /usr 257 do 258 if test -r "$dir/lib" ; then 259 CG_LIB_DIR=$dir/lib 260 break 261 fi 262 if test -r "$dir/lib64" ; then 263 CG_LIB_DIR=$dir/lib64 264 break 265 fi 266 done 267 268 if test "${CG_LIB_DIR}" = "/usr/lib" ; then 269 CG_INC_SPEC="" 270 CG_LIB_SPEC="-lCg -lCgGL" 271 else 272 CG_LIB_SPEC="-L${CG_LIB_DIR} -lCg -lCgGL" 273 LD_RPATH="$loader_run_path:${CG_LIB_DIR}" 274 fi 275 276 SUBDIRS="nanoscale nanovis pymolproxy vtkvis" 205 SUBDIRS="nanoscale pymolproxy vtkvis" 277 206 278 207 AC_SUBST(CFLAGS_DEBUG) 279 208 AC_SUBST(CFLAGS_OPTIMIZE) 280 AC_SUBST(CG_INC_SPEC)281 AC_SUBST(CG_LIB_SPEC)282 AC_SUBST(FFMPEG)283 209 AC_SUBST(LD_RPATH) 284 210 AC_SUBST(RP_DIR) … … 309 235 nanoscale/Makefile \ 310 236 nanoscale/renderservers.tcl \ 311 nanovis/Doxyfile \312 nanovis/Makefile \313 nanovis/graphics/Makefile \314 nanovis/imgLoaders/Makefile \315 nanovis/newmat11/Makefile \316 nanovis/util/Makefile \317 nanovis/vrmath/Makefile \318 237 pymolproxy/Makefile \ 319 238 vtkvis/Doxyfile \ -
branches/1.3/packages/vizservers/nanovis/Makefile.in
r3877 r4467 54 54 VRMATH_LIB_SPEC = $(VRMATH_LIB) 55 55 56 VTK_VERSION = @VTK_VERSION@ 56 57 VTK_LIB_DIR = @VTK_LIB_DIR@ 57 VTK_INC_SPEC = @VTK_INC_SPEC@ 58 VTK_LIB_SPEC = \ 59 -lvtkIOCore-6.0 \ 60 -lvtkIOLegacy-6.0 \ 61 -lvtkFiltersCore-6.0 \ 62 -lvtkImagingHybrid-6.0 \ 63 -lvtkImagingCore-6.0 \ 64 -lvtkCommonCore-6.0 \ 65 -lvtkCommonDataModel-6.0 \ 66 -lvtkCommonExecutionModel-6.0 \ 67 -lvtkCommonMisc-6.0 \ 68 -lvtkCommonSystem-6.0 \ 69 -lvtkCommonTransforms-6.0 \ 70 -lvtkCommonMath-6.0 58 VTK_INC_DIR = @VTK_INC_DIR@ 59 ifdef USE_VTK 60 VTK_INC_SPEC = -I$(VTK_INC_DIR)/vtk-$(VTK_VERSION) 61 VTK_LIB_SPEC = -L$(VTK_LIB_DIR) \ 62 -lvtkIOCore-$(VTK_VERSION) \ 63 -lvtkIOLegacy-$(VTK_VERSION) \ 64 -lvtkFiltersCore-$(VTK_VERSION) \ 65 -lvtkImagingHybrid-$(VTK_VERSION) \ 66 -lvtkImagingCore-$(VTK_VERSION) \ 67 -lvtkCommonCore-$(VTK_VERSION) \ 68 -lvtkCommonDataModel-$(VTK_VERSION) \ 69 -lvtkCommonExecutionModel-$(VTK_VERSION) \ 70 -lvtkCommonMisc-$(VTK_VERSION) \ 71 -lvtkCommonSystem-$(VTK_VERSION) \ 72 -lvtkCommonTransforms-$(VTK_VERSION) \ 73 -lvtkCommonMath-$(VTK_VERSION) 74 else 75 VTK_INC_SPEC = 76 VTK_LIB_SPEC = 77 endif 71 78 72 79 EXTRA_LIBS = -lm -lpthread … … 78 85 TCL_INC_SPEC = @TCL_INC_SPEC@ 79 86 80 LD_RUN_PATH = $( libdir):@LD_RPATH@81 82 SVN_VERSION = $(shell svnversion $(srcdir) )87 LD_RUN_PATH = $(VTK_LIB_DIR):$(libdir):@LD_RPATH@ 88 89 SVN_VERSION = $(shell svnversion $(srcdir) | sed 's/Unversioned directory/unknown/') 83 90 STATSDIR = @STATSDIR@ 84 91 … … 172 179 VolumeRenderer.o \ 173 180 VolumeShader.o \ 174 VtkReader.o \175 181 ZincBlendeReconstructor.o \ 176 182 ZincBlendeVolume.o \ … … 229 235 OBJS += DataSetResample.o \ 230 236 VtkDataSetReader.o 237 else 238 OBJS += VtkReader.o 231 239 endif 232 240
Note: See TracChangeset
for help on using the changeset viewer.