Changeset 2101 for trunk/packages/vizservers
- Timestamp:
- Feb 18, 2011 1:14:25 PM (13 years ago)
- Location:
- trunk/packages/vizservers
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/Makefile.in
r1944 r2101 18 18 VPATH = $(srcdir) 19 19 20 SUBDIRS = nanoscale nanovis pymolproxy20 SUBDIRS = @SUBDIRS@ 21 21 FILES = \ 22 22 start_viz.sh 23 23 24 .PHONY: nanoscale nanovis pymolproxy24 .PHONY: $(SUBDIRS) 25 25 26 26 all: -
trunk/packages/vizservers/configure
r2092 r2101 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 8for vizservers 0.1.3 # Generated by GNU Autoconf 2.63 for vizservers 0.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 #8 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 11 # 12 # 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 13 9 # This configure script is free software; the Free Software Foundation 14 10 # gives unlimited permission to copy, distribute and modify it. 15 ## -------------------- ##16 ## M4sh Initialization. ##17 ## -------------------- ##11 ## --------------------- ## 12 ## M4sh Initialization. ## 13 ## --------------------- ## 18 14 19 15 # Be more Bourne compatible 20 16 DUALCASE=1; export DUALCASE # for MKS sh 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 22 18 emulate sh 23 19 NULLCMD=: … … 27 23 setopt NO_GLOB_SUBST 28 24 else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34 esac 35 fi 36 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 37 41 38 42 as_nl=' … … 43 47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 50 as_echo='printf %s\n' 53 51 as_echo_n='printf %s' … … 60 58 as_echo_n_body='eval 61 59 arg=$1; 62 case $arg in #(60 case $arg in 63 61 *"$as_nl"*) 64 62 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 83 81 fi 84 82 83 # Support unset when possible. 84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 85 as_unset=unset 86 else 87 as_unset=false 88 fi 89 85 90 86 91 # IFS … … 92 97 93 98 # Find who we are. Look in the path if we contain no directory separator. 94 as_myself= 95 case $0 in #(( 99 case $0 in 96 100 *[\\/]* ) as_myself=$0 ;; 97 101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 100 104 IFS=$as_save_IFS 101 105 test -z "$as_dir" && as_dir=. 102 103 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 107 done 104 108 IFS=$as_save_IFS 105 109 … … 113 117 if test ! -f "$as_myself"; then 114 118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116 fi 117 118 # Unset variables that we do not need and which cause bugs (e.g. in 119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120 # suppresses any "Segmentation fault" message there. '((' could 121 # trigger a bug in pdksh 5.2.14. 122 for as_var in BASH_ENV ENV MAIL MAILPATH 123 do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 119 { (exit 1); exit 1; } 120 fi 121 122 # Work around bugs in pre-3.0 UWIN ksh. 123 for as_var in ENV MAIL MAILPATH 124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 125 125 done 126 126 PS1='$ ' … … 134 134 export LANGUAGE 135 135 136 # CDPATH. 137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139 if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147 else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153 esac 154 fi 155 " 156 as_required="as_fn_return () { (exit \$1); } 157 as_fn_success () { as_fn_return 0; } 158 as_fn_failure () { as_fn_return 1; } 159 as_fn_ret_success () { return 0; } 160 as_fn_ret_failure () { return 1; } 161 162 exitcode=0 163 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169 else 170 exitcode=1; echo positional parameters were not saved. 171 fi 172 test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177 test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180 else 181 as_have_required=no 182 fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185 else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187 as_found=false 188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189 do 190 IFS=$as_save_IFS 191 test -z "$as_dir" && as_dir=. 192 as_found=: 193 case $as_dir in #( 194 /*) 195 for as_base in sh bash ksh sh5; do 196 # Try only shells that exist, to save several forks. 197 as_shell=$as_dir/$as_base 198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 CONFIG_SHELL=$as_shell as_have_required=yes 201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202 break 2 203 fi 204 fi 205 done;; 206 esac 207 as_found=false 208 done 209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211 CONFIG_SHELL=$SHELL as_have_required=yes 212 fi; } 213 IFS=$as_save_IFS 214 215 216 if test "x$CONFIG_SHELL" != x; then : 217 # We cannot yet assume a decent shell, so we have to provide a 218 # neutralization value for shells without unset; and this also 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232 fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240 else 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242 $0: rappture@nanohub.org about your system, including any 243 $0: error possibly output before this message. Then install 244 $0: a modern shell, or manually run the script under such a 245 $0: shell if you do have one." 246 fi 247 exit 1 248 fi 249 fi 250 fi 251 SHELL=${CONFIG_SHELL-/bin/sh} 252 export SHELL 253 # Unset more variables known to interfere with behavior of common tools. 254 CLICOLOR_FORCE= GREP_OPTIONS= 255 unset CLICOLOR_FORCE GREP_OPTIONS 256 257 ## --------------------- ## 258 ## M4sh Shell Functions. ## 259 ## --------------------- ## 260 # as_fn_unset VAR 261 # --------------- 262 # Portably unset VAR. 263 as_fn_unset () 264 { 265 { eval $1=; unset $1;} 266 } 267 as_unset=as_fn_unset 268 269 # as_fn_set_status STATUS 270 # ----------------------- 271 # Set $? to STATUS, without forking. 272 as_fn_set_status () 273 { 274 return $1 275 } # as_fn_set_status 276 277 # as_fn_exit STATUS 278 # ----------------- 279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280 as_fn_exit () 281 { 282 set +e 283 as_fn_set_status $1 284 exit $1 285 } # as_fn_exit 286 287 # as_fn_mkdir_p 288 # ------------- 289 # Create "$as_dir" as a directory, including parents if necessary. 290 as_fn_mkdir_p () 291 { 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309 $as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 331 332 333 } # as_fn_mkdir_p 334 # as_fn_append VAR VALUE 335 # ---------------------- 336 # Append the text in VALUE to the end of the definition contained in VAR. Take 337 # advantage of any shell optimizations that allow amortized linear growth over 338 # repeated appends, instead of the typical quadratic growth present in naive 339 # implementations. 340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345 else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350 fi # as_fn_append 351 352 # as_fn_arith ARG... 353 # ------------------ 354 # Perform arithmetic evaluation on the ARGs, and store the result in the 355 # global $as_val. Take advantage of shells that can avoid forks. The arguments 356 # must be portable across $(()) and expr. 357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362 else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367 fi # as_fn_arith 368 369 370 # as_fn_error STATUS ERROR [LINENO LOG_FD] 371 # ---------------------------------------- 372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374 # script with STATUS, using 1 if that was 0. 375 as_fn_error () 376 { 377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 381 fi 382 $as_echo "$as_me: error: $2" >&2 383 as_fn_exit $as_status 384 } # as_fn_error 385 136 # Required to use basename. 386 137 if expr a : '\(a\)' >/dev/null 2>&1 && 387 138 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 397 148 fi 398 149 399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401 else 402 as_dirname=false 403 fi 404 150 151 # Name of the executable. 405 152 as_me=`$as_basename -- "$0" || 406 153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 422 169 s/.*/./; q'` 423 170 424 # Avoid depending upon Character Ranges. 425 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 428 as_cr_digits='0123456789' 429 as_cr_alnum=$as_cr_Letters$as_cr_digits 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 171 # CDPATH. 172 $as_unset CDPATH 173 174 175 if test "x$CONFIG_SHELL" = x; then 176 if (eval ":") 2>/dev/null; then 177 as_have_required=yes 178 else 179 as_have_required=no 180 fi 181 182 if test $as_have_required = yes && (eval ": 183 (as_func_return () { 184 (exit \$1) 185 } 186 as_func_success () { 187 as_func_return 0 188 } 189 as_func_failure () { 190 as_func_return 1 191 } 192 as_func_ret_success () { 193 return 0 194 } 195 as_func_ret_failure () { 196 return 1 197 } 198 199 exitcode=0 200 if as_func_success; then 201 : 202 else 203 exitcode=1 204 echo as_func_success failed. 205 fi 206 207 if as_func_failure; then 208 exitcode=1 209 echo as_func_failure succeeded. 210 fi 211 212 if as_func_ret_success; then 213 : 214 else 215 exitcode=1 216 echo as_func_ret_success failed. 217 fi 218 219 if as_func_ret_failure; then 220 exitcode=1 221 echo as_func_ret_failure succeeded. 222 fi 223 224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225 : 226 else 227 exitcode=1 228 echo positional parameters were not saved. 229 fi 230 231 test \$exitcode = 0) || { (exit 1); exit 1; } 232 233 ( 234 as_lineno_1=\$LINENO 235 as_lineno_2=\$LINENO 236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238 ") 2> /dev/null; then 239 : 240 else 241 as_candidate_shells= 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244 do 245 IFS=$as_save_IFS 246 test -z "$as_dir" && as_dir=. 247 case $as_dir in 248 /*) 249 for as_base in sh bash ksh sh5; do 250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251 done;; 252 esac 253 done 254 IFS=$as_save_IFS 255 256 257 for as_shell in $as_candidate_shells $SHELL; do 258 # Try only shells that exist, to save several forks. 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260 { ("$as_shell") 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 _ASEOF 278 }; then 279 CONFIG_SHELL=$as_shell 280 as_have_required=yes 281 if { "$as_shell" 2> /dev/null <<\_ASEOF 282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283 emulate sh 284 NULLCMD=: 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286 # is contrary to our usage. Disable this feature. 287 alias -g '${1+"$@"}'='"$@"' 288 setopt NO_GLOB_SUBST 289 else 290 case `(set -o) 2>/dev/null` in 291 *posix*) set -o posix ;; 292 esac 293 294 fi 295 296 297 : 298 (as_func_return () { 299 (exit $1) 300 } 301 as_func_success () { 302 as_func_return 0 303 } 304 as_func_failure () { 305 as_func_return 1 306 } 307 as_func_ret_success () { 308 return 0 309 } 310 as_func_ret_failure () { 311 return 1 312 } 313 314 exitcode=0 315 if as_func_success; then 316 : 317 else 318 exitcode=1 319 echo as_func_success failed. 320 fi 321 322 if as_func_failure; then 323 exitcode=1 324 echo as_func_failure succeeded. 325 fi 326 327 if as_func_ret_success; then 328 : 329 else 330 exitcode=1 331 echo as_func_ret_success failed. 332 fi 333 334 if as_func_ret_failure; then 335 exitcode=1 336 echo as_func_ret_failure succeeded. 337 fi 338 339 if ( set x; as_func_ret_success y && test x = "$1" ); then 340 : 341 else 342 exitcode=1 343 echo positional parameters were not saved. 344 fi 345 346 test $exitcode = 0) || { (exit 1); exit 1; } 347 348 ( 349 as_lineno_1=$LINENO 350 as_lineno_2=$LINENO 351 test "x$as_lineno_1" != "x$as_lineno_2" && 352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353 354 _ASEOF 355 }; then 356 break 357 fi 358 359 fi 360 361 done 362 363 if test "x$CONFIG_SHELL" != x; then 364 for as_var in BASH_ENV ENV 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369 fi 370 371 372 if test $as_have_required = no; then 373 echo This script requires a shell more modern than all the 374 echo shells that I found on your system. Please install a 375 echo modern shell, or manually run the script under such a 376 echo shell if you do have one. 377 { (exit 1); exit 1; } 378 fi 379 380 381 fi 382 383 fi 384 385 386 387 (eval "as_func_return () { 388 (exit \$1) 389 } 390 as_func_success () { 391 as_func_return 0 392 } 393 as_func_failure () { 394 as_func_return 1 395 } 396 as_func_ret_success () { 397 return 0 398 } 399 as_func_ret_failure () { 400 return 1 401 } 402 403 exitcode=0 404 if as_func_success; then 405 : 406 else 407 exitcode=1 408 echo as_func_success failed. 409 fi 410 411 if as_func_failure; then 412 exitcode=1 413 echo as_func_failure succeeded. 414 fi 415 416 if as_func_ret_success; then 417 : 418 else 419 exitcode=1 420 echo as_func_ret_success failed. 421 fi 422 423 if as_func_ret_failure; then 424 exitcode=1 425 echo as_func_ret_failure succeeded. 426 fi 427 428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429 : 430 else 431 exitcode=1 432 echo positional parameters were not saved. 433 fi 434 435 test \$exitcode = 0") || { 436 echo No shell found that supports shell functions. 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 441 } 442 443 444 445 as_lineno_1=$LINENO 446 as_lineno_2=$LINENO 447 test "x$as_lineno_1" != "x$as_lineno_2" && 448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449 450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451 # uniformly replaced by the line number. The first 'sed' inserts a 452 # line-number line after each line using $LINENO; the second 'sed' 453 # does the real work. The second script uses 'N' to pair each 454 # line-number line with the line containing $LINENO, and appends 455 # trailing '-' during substitution so that $LINENO is not a special 456 # case at line end. 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458 # scripts with optimization help from Paolo Bonzini. Blame Lee 459 # E. McMahon (1931-1989) for sed's syntax. :-) 437 460 sed -n ' 438 461 p … … 451 474 ' >$as_me.lineno && 452 475 chmod +x "$as_me.lineno" || 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 454 478 455 479 # Don't try to exec as it changes $[0], causing all sort of problems … … 461 485 } 462 486 487 488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 489 as_dirname=dirname 490 else 491 as_dirname=false 492 fi 493 463 494 ECHO_C= ECHO_N= ECHO_T= 464 case `echo -n x` in #(((((495 case `echo -n x` in 465 496 -n*) 466 case `echo 'x y\c'` in497 case `echo 'x\c'` in 467 498 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 499 *) ECHO_C='\c';; 471 500 esac;; 472 501 *) 473 502 ECHO_N='-n';; 474 503 esac 504 if expr a : '\(a\)' >/dev/null 2>&1 && 505 test "X`expr 00001 : '.*\(...\)'`" = X001; then 506 as_expr=expr 507 else 508 as_expr=false 509 fi 475 510 476 511 rm -f conf$$ conf$$.exe conf$$.file … … 502 537 503 538 if mkdir -p . 2>/dev/null; then 504 as_mkdir_p= 'mkdir -p "$as_dir"'539 as_mkdir_p=: 505 540 else 506 541 test -d ./-p && rmdir ./-p … … 521 556 test -d "$1/."; 522 557 else 523 case $1 in #(558 case $1 in 524 559 -*)set "./$1";; 525 560 esac; 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 527 562 ???[sx]*):;;*)false;;esac;fi 528 563 '\'' sh … … 538 573 539 574 540 test -n "$DJDIR" || exec 7<&0 </dev/null 541 exec 6>&1575 576 exec 7<&0 </dev/null 6>&1 542 577 543 578 # Name of the host. 544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 545 580 # so uname gets run too. 546 581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 557 592 MFLAGS= 558 593 MAKEFLAGS= 594 SHELL=${CONFIG_SHELL-/bin/sh} 559 595 560 596 # Identity of this package. … … 564 600 PACKAGE_STRING='vizservers 0.1' 565 601 PACKAGE_BUGREPORT='rappture@nanohub.org' 566 PACKAGE_URL=''567 602 568 603 # Factoring default headers for most tests. … … 609 644 DX_LIB_SPEC 610 645 DX_INC_SPEC 646 VTK_LIB_SPEC 647 VTK_INC_SPEC 611 648 RP_DIR 612 649 RP2_INCL_DIR … … 696 733 prefix 697 734 exec_prefix 698 PACKAGE_URL699 735 PACKAGE_BUGREPORT 700 736 PACKAGE_STRING … … 709 745 with_tcllib 710 746 with_rappture 747 with_vtk_includes 748 with_vtk_libs 711 749 enable_64bit 712 750 enable_64bit_vis … … 791 829 792 830 case $ac_option in 793 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 794 *=) ac_optarg= ;; 795 *) ac_optarg=yes ;; 831 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 832 *) ac_optarg=yes ;; 796 833 esac 797 834 … … 838 875 # Reject names that are not valid shell variable names. 839 876 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 840 as_fn_error $? "invalid feature name: $ac_useropt" 877 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 878 { (exit 1); exit 1; }; } 841 879 ac_useropt_orig=$ac_useropt 842 880 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 864 902 # Reject names that are not valid shell variable names. 865 903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 866 as_fn_error $? "invalid feature name: $ac_useropt" 904 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 905 { (exit 1); exit 1; }; } 867 906 ac_useropt_orig=$ac_useropt 868 907 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1068 1107 # Reject names that are not valid shell variable names. 1069 1108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1070 as_fn_error $? "invalid package name: $ac_useropt" 1109 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1110 { (exit 1); exit 1; }; } 1071 1111 ac_useropt_orig=$ac_useropt 1072 1112 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1084 1124 # Reject names that are not valid shell variable names. 1085 1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1086 as_fn_error $? "invalid package name: $ac_useropt" 1126 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1127 { (exit 1); exit 1; }; } 1087 1128 ac_useropt_orig=$ac_useropt 1088 1129 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1114 1155 x_libraries=$ac_optarg ;; 1115 1156 1116 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1117 Try \`$0 --help' for more information" 1157 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1158 Try \`$0 --help' for more information." >&2 1159 { (exit 1); exit 1; }; } 1118 1160 ;; 1119 1161 … … 1121 1163 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1122 1164 # Reject names that are not valid shell variable names. 1123 case $ac_envvar in #( 1124 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1125 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1126 esac 1165 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1166 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1167 { (exit 1); exit 1; }; } 1127 1168 eval $ac_envvar=\$ac_optarg 1128 1169 export $ac_envvar ;; … … 1133 1174 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1134 1175 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1135 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"1176 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1136 1177 ;; 1137 1178 … … 1141 1182 if test -n "$ac_prev"; then 1142 1183 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1143 as_fn_error $? "missing argument to $ac_option" 1184 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1185 { (exit 1); exit 1; }; } 1144 1186 fi 1145 1187 … … 1147 1189 case $enable_option_checking in 1148 1190 no) ;; 1149 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1191 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1192 { (exit 1); exit 1; }; } ;; 1150 1193 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1151 1194 esac … … 1170 1213 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1171 1214 esac 1172 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1215 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1216 { (exit 1); exit 1; }; } 1173 1217 done 1174 1218 … … 1184 1228 if test "x$build_alias" = x; then 1185 1229 cross_compiling=maybe 1186 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1187 If a cross compiler is detected then cross compile mode will be used " >&21230 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1231 If a cross compiler is detected then cross compile mode will be used." >&2 1188 1232 elif test "x$build_alias" != "x$host_alias"; then 1189 1233 cross_compiling=yes … … 1200 1244 ac_ls_di=`ls -di .` && 1201 1245 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1202 as_fn_error $? "working directory cannot be determined" 1246 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1247 { (exit 1); exit 1; }; } 1203 1248 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1204 as_fn_error $? "pwd does not report name of working directory" 1249 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1250 { (exit 1); exit 1; }; } 1205 1251 1206 1252 … … 1241 1287 if test ! -r "$srcdir/$ac_unique_file"; then 1242 1288 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1243 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1289 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1290 { (exit 1); exit 1; }; } 1244 1291 fi 1245 1292 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1246 1293 ac_abs_confdir=`( 1247 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1294 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1295 { (exit 1); exit 1; }; } 1248 1296 pwd)` 1249 1297 # When building in place, set srcdir=. … … 1285 1333 --help=recursive display the short help of all the included packages 1286 1334 -V, --version display version information and exit 1287 -q, --quiet, --silent do not print \`checking 1335 -q, --quiet, --silent do not print \`checking...' messages 1288 1336 --cache-file=FILE cache test results in FILE [disabled] 1289 1337 -C, --config-cache alias for \`--cache-file=config.cache' … … 1356 1404 --with-rappture=DIR location of rappture files lib/librappture2.a and 1357 1405 include/rappture2/rappture2.h [default=/usr] 1406 --with-vtk-includes=DIR VTK include files are in DIR 1407 --with-vtk-libs=DIR VTK libraries are in DIR 1358 1408 --with-x use the X Window System 1359 1409 … … 1364 1414 nonstandard directory <lib dir> 1365 1415 LIBS libraries to pass to the linker, e.g. -l<library> 1366 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1416 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1367 1417 you have headers in a nonstandard directory <include dir> 1368 1418 CPP C preprocessor … … 1439 1489 cat <<\_ACEOF 1440 1490 vizservers configure 0.1 1441 generated by GNU Autoconf 2.68 1442 1443 Copyright (C) 2010 Free Software Foundation, Inc. 1491 generated by GNU Autoconf 2.63 1492 1493 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1494 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1444 1495 This configure script is free software; the Free Software Foundation 1445 1496 gives unlimited permission to copy, distribute and modify it. … … 1447 1498 exit 1448 1499 fi 1449 1450 ## ------------------------ ##1451 ## Autoconf initialization. ##1452 ## ------------------------ ##1453 1454 # ac_fn_c_try_compile LINENO1455 # --------------------------1456 # Try to compile conftest.$ac_ext, and return whether this succeeded.1457 ac_fn_c_try_compile ()1458 {1459 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1460 rm -f conftest.$ac_objext1461 if { { ac_try="$ac_compile"1462 case "(($ac_try" in1463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1464 *) ac_try_echo=$ac_try;;1465 esac1466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1467 $as_echo "$ac_try_echo"; } >&51468 (eval "$ac_compile") 2>conftest.err1469 ac_status=$?1470 if test -s conftest.err; then1471 grep -v '^ *+' conftest.err >conftest.er11472 cat conftest.er1 >&51473 mv -f conftest.er1 conftest.err1474 fi1475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51476 test $ac_status = 0; } && {1477 test -z "$ac_c_werror_flag" ||1478 test ! -s conftest.err1479 } && test -s conftest.$ac_objext; then :1480 ac_retval=01481 else1482 $as_echo "$as_me: failed program was:" >&51483 sed 's/^/| /' conftest.$ac_ext >&51484 1485 ac_retval=11486 fi1487 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1488 as_fn_set_status $ac_retval1489 1490 } # ac_fn_c_try_compile1491 1492 # ac_fn_c_try_link LINENO1493 # -----------------------1494 # Try to link conftest.$ac_ext, and return whether this succeeded.1495 ac_fn_c_try_link ()1496 {1497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1498 rm -f conftest.$ac_objext conftest$ac_exeext1499 if { { ac_try="$ac_link"1500 case "(($ac_try" in1501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1502 *) ac_try_echo=$ac_try;;1503 esac1504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1505 $as_echo "$ac_try_echo"; } >&51506 (eval "$ac_link") 2>conftest.err1507 ac_status=$?1508 if test -s conftest.err; then1509 grep -v '^ *+' conftest.err >conftest.er11510 cat conftest.er1 >&51511 mv -f conftest.er1 conftest.err1512 fi1513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51514 test $ac_status = 0; } && {1515 test -z "$ac_c_werror_flag" ||1516 test ! -s conftest.err1517 } && test -s conftest$ac_exeext && {1518 test "$cross_compiling" = yes ||1519 $as_test_x conftest$ac_exeext1520 }; then :1521 ac_retval=01522 else1523 $as_echo "$as_me: failed program was:" >&51524 sed 's/^/| /' conftest.$ac_ext >&51525 1526 ac_retval=11527 fi1528 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1529 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1530 # interfere with the next link command; also delete a directory that is1531 # left behind by Apple's compiler. We do this before executing the actions.1532 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1533 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1534 as_fn_set_status $ac_retval1535 1536 } # ac_fn_c_try_link1537 1538 # ac_fn_c_try_cpp LINENO1539 # ----------------------1540 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1541 ac_fn_c_try_cpp ()1542 {1543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1544 if { { ac_try="$ac_cpp conftest.$ac_ext"1545 case "(($ac_try" in1546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1547 *) ac_try_echo=$ac_try;;1548 esac1549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1550 $as_echo "$ac_try_echo"; } >&51551 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1552 ac_status=$?1553 if test -s conftest.err; then1554 grep -v '^ *+' conftest.err >conftest.er11555 cat conftest.er1 >&51556 mv -f conftest.er1 conftest.err1557 fi1558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51559 test $ac_status = 0; } > conftest.i && {1560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1561 test ! -s conftest.err1562 }; then :1563 ac_retval=01564 else1565 $as_echo "$as_me: failed program was:" >&51566 sed 's/^/| /' conftest.$ac_ext >&51567 1568 ac_retval=11569 fi1570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1571 as_fn_set_status $ac_retval1572 1573 } # ac_fn_c_try_cpp1574 1575 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1576 # -------------------------------------------------------1577 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1578 # the include files in INCLUDES and setting the cache variable VAR1579 # accordingly.1580 ac_fn_c_check_header_mongrel ()1581 {1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1583 if eval \${$3+:} false; then :1584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51585 $as_echo_n "checking for $2... " >&6; }1586 if eval \${$3+:} false; then :1587 $as_echo_n "(cached) " >&61588 fi1589 eval ac_res=\$$31590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51591 $as_echo "$ac_res" >&6; }1592 else1593 # Is the header compilable?1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51595 $as_echo_n "checking $2 usability... " >&6; }1596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1597 /* end confdefs.h. */1598 $41599 #include <$2>1600 _ACEOF1601 if ac_fn_c_try_compile "$LINENO"; then :1602 ac_header_compiler=yes1603 else1604 ac_header_compiler=no1605 fi1606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51608 $as_echo "$ac_header_compiler" >&6; }1609 1610 # Is the header present?1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51612 $as_echo_n "checking $2 presence... " >&6; }1613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1614 /* end confdefs.h. */1615 #include <$2>1616 _ACEOF1617 if ac_fn_c_try_cpp "$LINENO"; then :1618 ac_header_preproc=yes1619 else1620 ac_header_preproc=no1621 fi1622 rm -f conftest.err conftest.i conftest.$ac_ext1623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51624 $as_echo "$ac_header_preproc" >&6; }1625 1626 # So? What about this header?1627 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((1628 yes:no: )1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&51630 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51632 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1633 ;;1634 no:yes:* )1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&51636 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&51638 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&51640 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&51642 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51644 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1645 ( $as_echo "## ----------------------------------- ##1646 ## Report this to rappture@nanohub.org ##1647 ## ----------------------------------- ##"1648 ) | sed "s/^/$as_me: WARNING: /" >&21649 ;;1650 esac1651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51652 $as_echo_n "checking for $2... " >&6; }1653 if eval \${$3+:} false; then :1654 $as_echo_n "(cached) " >&61655 else1656 eval "$3=\$ac_header_compiler"1657 fi1658 eval ac_res=\$$31659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51660 $as_echo "$ac_res" >&6; }1661 fi1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1663 1664 } # ac_fn_c_check_header_mongrel1665 1666 # ac_fn_c_try_run LINENO1667 # ----------------------1668 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1669 # that executables *can* be run.1670 ac_fn_c_try_run ()1671 {1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1673 if { { ac_try="$ac_link"1674 case "(($ac_try" in1675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1676 *) ac_try_echo=$ac_try;;1677 esac1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1679 $as_echo "$ac_try_echo"; } >&51680 (eval "$ac_link") 2>&51681 ac_status=$?1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51683 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1684 { { case "(($ac_try" in1685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1686 *) ac_try_echo=$ac_try;;1687 esac1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1689 $as_echo "$ac_try_echo"; } >&51690 (eval "$ac_try") 2>&51691 ac_status=$?1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51693 test $ac_status = 0; }; }; then :1694 ac_retval=01695 else1696 $as_echo "$as_me: program exited with status $ac_status" >&51697 $as_echo "$as_me: failed program was:" >&51698 sed 's/^/| /' conftest.$ac_ext >&51699 1700 ac_retval=$ac_status1701 fi1702 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1704 as_fn_set_status $ac_retval1705 1706 } # ac_fn_c_try_run1707 1708 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1709 # -------------------------------------------------------1710 # Tests whether HEADER exists and can be compiled using the include files in1711 # INCLUDES, setting the cache variable VAR accordingly.1712 ac_fn_c_check_header_compile ()1713 {1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51716 $as_echo_n "checking for $2... " >&6; }1717 if eval \${$3+:} false; then :1718 $as_echo_n "(cached) " >&61719 else1720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1721 /* end confdefs.h. */1722 $41723 #include <$2>1724 _ACEOF1725 if ac_fn_c_try_compile "$LINENO"; then :1726 eval "$3=yes"1727 else1728 eval "$3=no"1729 fi1730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1731 fi1732 eval ac_res=\$$31733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51734 $as_echo "$ac_res" >&6; }1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1736 1737 } # ac_fn_c_check_header_compile1738 1739 # ac_fn_cxx_try_compile LINENO1740 # ----------------------------1741 # Try to compile conftest.$ac_ext, and return whether this succeeded.1742 ac_fn_cxx_try_compile ()1743 {1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1745 rm -f conftest.$ac_objext1746 if { { ac_try="$ac_compile"1747 case "(($ac_try" in1748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1749 *) ac_try_echo=$ac_try;;1750 esac1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1752 $as_echo "$ac_try_echo"; } >&51753 (eval "$ac_compile") 2>conftest.err1754 ac_status=$?1755 if test -s conftest.err; then1756 grep -v '^ *+' conftest.err >conftest.er11757 cat conftest.er1 >&51758 mv -f conftest.er1 conftest.err1759 fi1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51761 test $ac_status = 0; } && {1762 test -z "$ac_cxx_werror_flag" ||1763 test ! -s conftest.err1764 } && test -s conftest.$ac_objext; then :1765 ac_retval=01766 else1767 $as_echo "$as_me: failed program was:" >&51768 sed 's/^/| /' conftest.$ac_ext >&51769 1770 ac_retval=11771 fi1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1773 as_fn_set_status $ac_retval1774 1775 } # ac_fn_cxx_try_compile1776 1777 # ac_fn_cxx_try_cpp LINENO1778 # ------------------------1779 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1780 ac_fn_cxx_try_cpp ()1781 {1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1783 if { { ac_try="$ac_cpp conftest.$ac_ext"1784 case "(($ac_try" in1785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1786 *) ac_try_echo=$ac_try;;1787 esac1788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1789 $as_echo "$ac_try_echo"; } >&51790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1791 ac_status=$?1792 if test -s conftest.err; then1793 grep -v '^ *+' conftest.err >conftest.er11794 cat conftest.er1 >&51795 mv -f conftest.er1 conftest.err1796 fi1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51798 test $ac_status = 0; } > conftest.i && {1799 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||1800 test ! -s conftest.err1801 }; then :1802 ac_retval=01803 else1804 $as_echo "$as_me: failed program was:" >&51805 sed 's/^/| /' conftest.$ac_ext >&51806 1807 ac_retval=11808 fi1809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1810 as_fn_set_status $ac_retval1811 1812 } # ac_fn_cxx_try_cpp1813 1814 # ac_fn_cxx_try_run LINENO1815 # ------------------------1816 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1817 # that executables *can* be run.1818 ac_fn_cxx_try_run ()1819 {1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1821 if { { ac_try="$ac_link"1822 case "(($ac_try" in1823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1824 *) ac_try_echo=$ac_try;;1825 esac1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1827 $as_echo "$ac_try_echo"; } >&51828 (eval "$ac_link") 2>&51829 ac_status=$?1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51831 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1832 { { case "(($ac_try" in1833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1834 *) ac_try_echo=$ac_try;;1835 esac1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1837 $as_echo "$ac_try_echo"; } >&51838 (eval "$ac_try") 2>&51839 ac_status=$?1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51841 test $ac_status = 0; }; }; then :1842 ac_retval=01843 else1844 $as_echo "$as_me: program exited with status $ac_status" >&51845 $as_echo "$as_me: failed program was:" >&51846 sed 's/^/| /' conftest.$ac_ext >&51847 1848 ac_retval=$ac_status1849 fi1850 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1852 as_fn_set_status $ac_retval1853 1854 } # ac_fn_cxx_try_run1855 1856 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES1857 # ----------------------------------------------1858 # Tries to find the compile-time value of EXPR in a program that includes1859 # INCLUDES, setting VAR accordingly. Returns whether the value could be1860 # computed1861 ac_fn_cxx_compute_int ()1862 {1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1864 if test "$cross_compiling" = yes; then1865 # Depending upon the size, compute the lo and hi bounds.1866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1867 /* end confdefs.h. */1868 $41869 int1870 main ()1871 {1872 static int test_array [1 - 2 * !(($2) >= 0)];1873 test_array [0] = 01874 1875 ;1876 return 0;1877 }1878 _ACEOF1879 if ac_fn_cxx_try_compile "$LINENO"; then :1880 ac_lo=0 ac_mid=01881 while :; do1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1883 /* end confdefs.h. */1884 $41885 int1886 main ()1887 {1888 static int test_array [1 - 2 * !(($2) <= $ac_mid)];1889 test_array [0] = 01890 1891 ;1892 return 0;1893 }1894 _ACEOF1895 if ac_fn_cxx_try_compile "$LINENO"; then :1896 ac_hi=$ac_mid; break1897 else1898 as_fn_arith $ac_mid + 1 && ac_lo=$as_val1899 if test $ac_lo -le $ac_mid; then1900 ac_lo= ac_hi=1901 break1902 fi1903 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val1904 fi1905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1906 done1907 else1908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1909 /* end confdefs.h. */1910 $41911 int1912 main ()1913 {1914 static int test_array [1 - 2 * !(($2) < 0)];1915 test_array [0] = 01916 1917 ;1918 return 0;1919 }1920 _ACEOF1921 if ac_fn_cxx_try_compile "$LINENO"; then :1922 ac_hi=-1 ac_mid=-11923 while :; do1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1925 /* end confdefs.h. */1926 $41927 int1928 main ()1929 {1930 static int test_array [1 - 2 * !(($2) >= $ac_mid)];1931 test_array [0] = 01932 1933 ;1934 return 0;1935 }1936 _ACEOF1937 if ac_fn_cxx_try_compile "$LINENO"; then :1938 ac_lo=$ac_mid; break1939 else1940 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val1941 if test $ac_mid -le $ac_hi; then1942 ac_lo= ac_hi=1943 break1944 fi1945 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val1946 fi1947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1948 done1949 else1950 ac_lo= ac_hi=1951 fi1952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1953 fi1954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1955 # Binary search between lo and hi bounds.1956 while test "x$ac_lo" != "x$ac_hi"; do1957 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1959 /* end confdefs.h. */1960 $41961 int1962 main ()1963 {1964 static int test_array [1 - 2 * !(($2) <= $ac_mid)];1965 test_array [0] = 01966 1967 ;1968 return 0;1969 }1970 _ACEOF1971 if ac_fn_cxx_try_compile "$LINENO"; then :1972 ac_hi=$ac_mid1973 else1974 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val1975 fi1976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1977 done1978 case $ac_lo in #((1979 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;1980 '') ac_retval=1 ;;1981 esac1982 else1983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1984 /* end confdefs.h. */1985 $41986 static long int longval () { return $2; }1987 static unsigned long int ulongval () { return $2; }1988 #include <stdio.h>1989 #include <stdlib.h>1990 int1991 main ()1992 {1993 1994 FILE *f = fopen ("conftest.val", "w");1995 if (! f)1996 return 1;1997 if (($2) < 0)1998 {1999 long int i = longval ();2000 if (i != ($2))2001 return 1;2002 fprintf (f, "%ld", i);2003 }2004 else2005 {2006 unsigned long int i = ulongval ();2007 if (i != ($2))2008 return 1;2009 fprintf (f, "%lu", i);2010 }2011 /* Do not output a trailing newline, as this causes \r\n confusion2012 on some platforms. */2013 return ferror (f) || fclose (f) != 0;2014 2015 ;2016 return 0;2017 }2018 _ACEOF2019 if ac_fn_cxx_try_run "$LINENO"; then :2020 echo >>conftest.val; read $3 <conftest.val; ac_retval=02021 else2022 ac_retval=12023 fi2024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \2025 conftest.$ac_objext conftest.beam conftest.$ac_ext2026 rm -f conftest.val2027 2028 fi2029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2030 as_fn_set_status $ac_retval2031 2032 } # ac_fn_cxx_compute_int2033 2034 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES2035 # ---------------------------------------------------------2036 # Tests whether HEADER exists, giving a warning if it cannot be compiled using2037 # the include files in INCLUDES and setting the cache variable VAR2038 # accordingly.2039 ac_fn_cxx_check_header_mongrel ()2040 {2041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2042 if eval \${$3+:} false; then :2043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52044 $as_echo_n "checking for $2... " >&6; }2045 if eval \${$3+:} false; then :2046 $as_echo_n "(cached) " >&62047 fi2048 eval ac_res=\$$32049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52050 $as_echo "$ac_res" >&6; }2051 else2052 # Is the header compilable?2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&52054 $as_echo_n "checking $2 usability... " >&6; }2055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2056 /* end confdefs.h. */2057 $42058 #include <$2>2059 _ACEOF2060 if ac_fn_cxx_try_compile "$LINENO"; then :2061 ac_header_compiler=yes2062 else2063 ac_header_compiler=no2064 fi2065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&52067 $as_echo "$ac_header_compiler" >&6; }2068 2069 # Is the header present?2070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&52071 $as_echo_n "checking $2 presence... " >&6; }2072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2073 /* end confdefs.h. */2074 #include <$2>2075 _ACEOF2076 if ac_fn_cxx_try_cpp "$LINENO"; then :2077 ac_header_preproc=yes2078 else2079 ac_header_preproc=no2080 fi2081 rm -f conftest.err conftest.i conftest.$ac_ext2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&52083 $as_echo "$ac_header_preproc" >&6; }2084 2085 # So? What about this header?2086 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((2087 yes:no: )2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&52089 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52091 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2092 ;;2093 no:yes:* )2094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&52095 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&52097 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&52099 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}2100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&52101 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52103 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2104 ( $as_echo "## ----------------------------------- ##2105 ## Report this to rappture@nanohub.org ##2106 ## ----------------------------------- ##"2107 ) | sed "s/^/$as_me: WARNING: /" >&22108 ;;2109 esac2110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52111 $as_echo_n "checking for $2... " >&6; }2112 if eval \${$3+:} false; then :2113 $as_echo_n "(cached) " >&62114 else2115 eval "$3=\$ac_header_compiler"2116 fi2117 eval ac_res=\$$32118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52119 $as_echo "$ac_res" >&6; }2120 fi2121 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2122 2123 } # ac_fn_cxx_check_header_mongrel2124 2125 # ac_fn_cxx_try_link LINENO2126 # -------------------------2127 # Try to link conftest.$ac_ext, and return whether this succeeded.2128 ac_fn_cxx_try_link ()2129 {2130 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2131 rm -f conftest.$ac_objext conftest$ac_exeext2132 if { { ac_try="$ac_link"2133 case "(($ac_try" in2134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2135 *) ac_try_echo=$ac_try;;2136 esac2137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2138 $as_echo "$ac_try_echo"; } >&52139 (eval "$ac_link") 2>conftest.err2140 ac_status=$?2141 if test -s conftest.err; then2142 grep -v '^ *+' conftest.err >conftest.er12143 cat conftest.er1 >&52144 mv -f conftest.er1 conftest.err2145 fi2146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52147 test $ac_status = 0; } && {2148 test -z "$ac_cxx_werror_flag" ||2149 test ! -s conftest.err2150 } && test -s conftest$ac_exeext && {2151 test "$cross_compiling" = yes ||2152 $as_test_x conftest$ac_exeext2153 }; then :2154 ac_retval=02155 else2156 $as_echo "$as_me: failed program was:" >&52157 sed 's/^/| /' conftest.$ac_ext >&52158 2159 ac_retval=12160 fi2161 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information2162 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would2163 # interfere with the next link command; also delete a directory that is2164 # left behind by Apple's compiler. We do this before executing the actions.2165 rm -rf conftest.dSYM conftest_ipa8_conftest.oo2166 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2167 as_fn_set_status $ac_retval2168 2169 } # ac_fn_cxx_try_link2170 2171 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES2172 # ---------------------------------------------------------2173 # Tests whether HEADER exists and can be compiled using the include files in2174 # INCLUDES, setting the cache variable VAR accordingly.2175 ac_fn_cxx_check_header_compile ()2176 {2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52179 $as_echo_n "checking for $2... " >&6; }2180 if eval \${$3+:} false; then :2181 $as_echo_n "(cached) " >&62182 else2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2184 /* end confdefs.h. */2185 $42186 #include <$2>2187 _ACEOF2188 if ac_fn_cxx_try_compile "$LINENO"; then :2189 eval "$3=yes"2190 else2191 eval "$3=no"2192 fi2193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2194 fi2195 eval ac_res=\$$32196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52197 $as_echo "$ac_res" >&6; }2198 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2199 2200 } # ac_fn_cxx_check_header_compile2201 2202 # ac_fn_cxx_check_func LINENO FUNC VAR2203 # ------------------------------------2204 # Tests whether FUNC exists, setting the cache variable VAR accordingly2205 ac_fn_cxx_check_func ()2206 {2207 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52209 $as_echo_n "checking for $2... " >&6; }2210 if eval \${$3+:} false; then :2211 $as_echo_n "(cached) " >&62212 else2213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2214 /* end confdefs.h. */2215 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.2216 For example, HP-UX 11i <limits.h> declares gettimeofday. */2217 #define $2 innocuous_$22218 2219 /* System header to define __stub macros and hopefully few prototypes,2220 which can conflict with char $2 (); below.2221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since2222 <limits.h> exists even on freestanding compilers. */2223 2224 #ifdef __STDC__2225 # include <limits.h>2226 #else2227 # include <assert.h>2228 #endif2229 2230 #undef $22231 2232 /* Override any GCC internal prototype to avoid an error.2233 Use char because int might match the return type of a GCC2234 builtin and then its argument prototype would still apply. */2235 #ifdef __cplusplus2236 extern "C"2237 #endif2238 char $2 ();2239 /* The GNU C library defines this for functions which it implements2240 to always fail with ENOSYS. Some functions are actually named2241 something starting with __ and the normal name is an alias. */2242 #if defined __stub_$2 || defined __stub___$22243 choke me2244 #endif2245 2246 int2247 main ()2248 {2249 return $2 ();2250 ;2251 return 0;2252 }2253 _ACEOF2254 if ac_fn_cxx_try_link "$LINENO"; then :2255 eval "$3=yes"2256 else2257 eval "$3=no"2258 fi2259 rm -f core conftest.err conftest.$ac_objext \2260 conftest$ac_exeext conftest.$ac_ext2261 fi2262 eval ac_res=\$$32263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52264 $as_echo "$ac_res" >&6; }2265 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2266 2267 } # ac_fn_cxx_check_func2268 1500 cat >config.log <<_ACEOF 2269 1501 This file contains any messages produced by compilers while … … 2271 1503 2272 1504 It was created by vizservers $as_me 0.1, which was 2273 generated by GNU Autoconf 2.6 8. Invocation command line was1505 generated by GNU Autoconf 2.63. Invocation command line was 2274 1506 2275 1507 $ $0 $@ … … 2307 1539 IFS=$as_save_IFS 2308 1540 test -z "$as_dir" && as_dir=. 2309 2310 1541 $as_echo "PATH: $as_dir" 1542 done 2311 1543 IFS=$as_save_IFS 2312 1544 … … 2345 1577 esac 2346 1578 case $ac_pass in 2347 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1579 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2348 1580 2) 2349 a s_fn_append ac_configure_args1 "'$ac_arg'"1581 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2350 1582 if test $ac_must_keep_next = true; then 2351 1583 ac_must_keep_next=false # Got value, back to normal. … … 2363 1595 esac 2364 1596 fi 2365 a s_fn_append ac_configure_args "'$ac_arg'"1597 ac_configure_args="$ac_configure_args '$ac_arg'" 2366 1598 ;; 2367 1599 esac 2368 1600 done 2369 1601 done 2370 { ac_configure_args0=; unset ac_configure_args0;}2371 { ac_configure_args1=; unset ac_configure_args1;}1602 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1603 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2372 1604 2373 1605 # When interrupted or exit'd, cleanup temporary files, and complete … … 2381 1613 echo 2382 1614 2383 $as_echo "## ---------------- ## 1615 cat <<\_ASBOX 1616 ## ---------------- ## 2384 1617 ## Cache variables. ## 2385 ## ---------------- ##" 1618 ## ---------------- ## 1619 _ASBOX 2386 1620 echo 2387 1621 # The following way of writing the cache mishandles newlines in values, … … 2392 1626 *${as_nl}*) 2393 1627 case $ac_var in #( 2394 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&51628 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 2395 1629 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2396 1630 esac … … 2398 1632 _ | IFS | as_nl) ;; #( 2399 1633 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2400 *) { eval $ac_var=; unset $ac_var;};;1634 *) $as_unset $ac_var ;; 2401 1635 esac ;; 2402 1636 esac … … 2417 1651 echo 2418 1652 2419 $as_echo "## ----------------- ## 1653 cat <<\_ASBOX 1654 ## ----------------- ## 2420 1655 ## Output variables. ## 2421 ## ----------------- ##" 1656 ## ----------------- ## 1657 _ASBOX 2422 1658 echo 2423 1659 for ac_var in $ac_subst_vars … … 2432 1668 2433 1669 if test -n "$ac_subst_files"; then 2434 $as_echo "## ------------------- ## 1670 cat <<\_ASBOX 1671 ## ------------------- ## 2435 1672 ## File substitutions. ## 2436 ## ------------------- ##" 1673 ## ------------------- ## 1674 _ASBOX 2437 1675 echo 2438 1676 for ac_var in $ac_subst_files … … 2448 1686 2449 1687 if test -s confdefs.h; then 2450 $as_echo "## ----------- ## 1688 cat <<\_ASBOX 1689 ## ----------- ## 2451 1690 ## confdefs.h. ## 2452 ## ----------- ##" 1691 ## ----------- ## 1692 _ASBOX 2453 1693 echo 2454 1694 cat confdefs.h … … 2464 1704 ' 0 2465 1705 for ac_signal in 1 2 13 15; do 2466 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1706 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2467 1707 done 2468 1708 ac_signal=0 … … 2471 1711 rm -f -r conftest* confdefs.h 2472 1712 2473 $as_echo "/* confdefs.h */" > confdefs.h2474 2475 1713 # Predefined preprocessor variables. 2476 1714 … … 2479 1717 _ACEOF 2480 1718 1719 2481 1720 cat >>confdefs.h <<_ACEOF 2482 1721 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2483 1722 _ACEOF 2484 1723 1724 2485 1725 cat >>confdefs.h <<_ACEOF 2486 1726 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2487 1727 _ACEOF 2488 1728 1729 2489 1730 cat >>confdefs.h <<_ACEOF 2490 1731 #define PACKAGE_STRING "$PACKAGE_STRING" 2491 1732 _ACEOF 2492 1733 1734 2493 1735 cat >>confdefs.h <<_ACEOF 2494 1736 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2495 _ACEOF2496 2497 cat >>confdefs.h <<_ACEOF2498 #define PACKAGE_URL "$PACKAGE_URL"2499 1737 _ACEOF 2500 1738 … … 2505 1743 ac_site_file2=NONE 2506 1744 if test -n "$CONFIG_SITE"; then 2507 # We do not want a PATH search for config.site. 2508 case $CONFIG_SITE in #(( 2509 -*) ac_site_file1=./$CONFIG_SITE;; 2510 */*) ac_site_file1=$CONFIG_SITE;; 2511 *) ac_site_file1=./$CONFIG_SITE;; 2512 esac 1745 ac_site_file1=$CONFIG_SITE 2513 1746 elif test "x$prefix" != xNONE; then 2514 1747 ac_site_file1=$prefix/share/config.site … … 2521 1754 do 2522 1755 test "x$ac_site_file" = xNONE && continue 2523 if test /dev/null != "$ac_site_file" && test-r "$ac_site_file"; then2524 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading site script $ac_site_file" >&51756 if test -r "$ac_site_file"; then 1757 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2525 1758 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2526 1759 sed 's/^/| /' "$ac_site_file" >&5 2527 . "$ac_site_file" \ 2528 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2530 as_fn_error $? "failed to load site script $ac_site_file 2531 See \`config.log' for more details" "$LINENO" 5; } 1760 . "$ac_site_file" 2532 1761 fi 2533 1762 done 2534 1763 2535 1764 if test -r "$cache_file"; then 2536 # Some versions of bash will fail to source /dev/null (special files2537 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2538 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2539 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading cache $cache_file" >&51765 # Some versions of bash will fail to source /dev/null (special 1766 # files actually), so we avoid doing that. 1767 if test -f "$cache_file"; then 1768 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2540 1769 $as_echo "$as_me: loading cache $cache_file" >&6;} 2541 1770 case $cache_file in … … 2545 1774 fi 2546 1775 else 2547 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating cache $cache_file" >&51776 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2548 1777 $as_echo "$as_me: creating cache $cache_file" >&6;} 2549 1778 >$cache_file … … 2560 1789 case $ac_old_set,$ac_new_set in 2561 1790 set,) 2562 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51791 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2563 1792 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2564 1793 ac_cache_corrupted=: ;; 2565 1794 ,set) 2566 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&51795 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2567 1796 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2568 1797 ac_cache_corrupted=: ;; … … 2574 1803 ac_new_val_w=`echo x $ac_new_val` 2575 1804 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2576 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&51805 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2577 1806 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2578 1807 ac_cache_corrupted=: 2579 1808 else 2580 { $as_echo "$as_me:$ {as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&51809 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2581 1810 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2582 1811 eval $ac_var=\$ac_old_val 2583 1812 fi 2584 { $as_echo "$as_me:$ {as_lineno-$LINENO}: former value: \`$ac_old_val'" >&51813 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2585 1814 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2586 { $as_echo "$as_me:$ {as_lineno-$LINENO}: current value: \`$ac_new_val'" >&51815 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2587 1816 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2588 1817 fi;; … … 2596 1825 case " $ac_configure_args " in 2597 1826 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2598 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1827 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2599 1828 esac 2600 1829 fi 2601 1830 done 2602 1831 if $ac_cache_corrupted; then 2603 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&51832 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2604 1833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2605 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&51834 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2606 1835 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2607 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2608 fi 2609 ## -------------------- ## 2610 ## Main body of script. ## 2611 ## -------------------- ## 1836 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1837 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1838 { (exit 1); exit 1; }; } 1839 fi 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 2612 1864 2613 1865 ac_ext=c … … 2622 1874 2623 1875 2624 2625 1876 # Check whether --with-tcllib was given. 2626 if test "${with_tcllib+set}" = set; then :1877 if test "${with_tcllib+set}" = set; then 2627 1878 withval=$with_tcllib; with_tcllib=$withval 2628 1879 else … … 2633 1884 2634 1885 # Check whether --with-rappture was given. 2635 if test "${with_rappture+set}" = set; then :1886 if test "${with_rappture+set}" = set; then 2636 1887 withval=$with_rappture; with_rappture=$withval 2637 1888 else 2638 1889 with_rappture=/usr 1890 fi 1891 1892 1893 1894 # Check whether --with-vtk-includes was given. 1895 if test "${with_vtk_includes+set}" = set; then 1896 withval=$with_vtk_includes; with_vtk_includes=$withval 1897 else 1898 with_vtk_includes=/usr/include/vtk-5.6 1899 fi 1900 1901 1902 1903 # Check whether --with-vtk-libs was given. 1904 if test "${with_vtk_libs+set}" = set; then 1905 withval=$with_vtk_libs; with_vtk_libs=$withval 1906 else 1907 with_vtk_libs=/usr/lib/vtk-5.6 2639 1908 fi 2640 1909 … … 2668 1937 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2669 1938 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2670 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&51939 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2671 1940 $as_echo_n "checking for $ac_word... " >&6; } 2672 if ${ac_cv_prog_CC+:} false; then :1941 if test "${ac_cv_prog_CC+set}" = set; then 2673 1942 $as_echo_n "(cached) " >&6 2674 1943 else … … 2681 1950 IFS=$as_save_IFS 2682 1951 test -z "$as_dir" && as_dir=. 2683 1952 for ac_exec_ext in '' $ac_executable_extensions; do 2684 1953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2685 1954 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2686 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51955 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2687 1956 break 2 2688 1957 fi 2689 1958 done 2690 1959 done 2691 1960 IFS=$as_save_IFS 2692 1961 … … 2695 1964 CC=$ac_cv_prog_CC 2696 1965 if test -n "$CC"; then 2697 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&51966 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2698 1967 $as_echo "$CC" >&6; } 2699 1968 else 2700 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&51969 { $as_echo "$as_me:$LINENO: result: no" >&5 2701 1970 $as_echo "no" >&6; } 2702 1971 fi … … 2708 1977 # Extract the first word of "gcc", so it can be a program name with args. 2709 1978 set dummy gcc; ac_word=$2 2710 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&51979 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2711 1980 $as_echo_n "checking for $ac_word... " >&6; } 2712 if ${ac_cv_prog_ac_ct_CC+:} false; then :1981 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2713 1982 $as_echo_n "(cached) " >&6 2714 1983 else … … 2721 1990 IFS=$as_save_IFS 2722 1991 test -z "$as_dir" && as_dir=. 2723 1992 for ac_exec_ext in '' $ac_executable_extensions; do 2724 1993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2725 1994 ac_cv_prog_ac_ct_CC="gcc" 2726 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51995 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2727 1996 break 2 2728 1997 fi 2729 1998 done 2730 1999 done 2731 2000 IFS=$as_save_IFS 2732 2001 … … 2735 2004 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2736 2005 if test -n "$ac_ct_CC"; then 2737 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52006 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2738 2007 $as_echo "$ac_ct_CC" >&6; } 2739 2008 else 2740 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52009 { $as_echo "$as_me:$LINENO: result: no" >&5 2741 2010 $as_echo "no" >&6; } 2742 2011 fi … … 2747 2016 case $cross_compiling:$ac_tool_warned in 2748 2017 yes:) 2749 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52018 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2750 2019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2751 2020 ac_tool_warned=yes ;; … … 2761 2030 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2762 2031 set dummy ${ac_tool_prefix}cc; ac_word=$2 2763 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52032 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2764 2033 $as_echo_n "checking for $ac_word... " >&6; } 2765 if ${ac_cv_prog_CC+:} false; then :2034 if test "${ac_cv_prog_CC+set}" = set; then 2766 2035 $as_echo_n "(cached) " >&6 2767 2036 else … … 2774 2043 IFS=$as_save_IFS 2775 2044 test -z "$as_dir" && as_dir=. 2776 2045 for ac_exec_ext in '' $ac_executable_extensions; do 2777 2046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2778 2047 ac_cv_prog_CC="${ac_tool_prefix}cc" 2779 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52048 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2780 2049 break 2 2781 2050 fi 2782 2051 done 2783 2052 done 2784 2053 IFS=$as_save_IFS 2785 2054 … … 2788 2057 CC=$ac_cv_prog_CC 2789 2058 if test -n "$CC"; then 2790 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52059 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2791 2060 $as_echo "$CC" >&6; } 2792 2061 else 2793 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52062 { $as_echo "$as_me:$LINENO: result: no" >&5 2794 2063 $as_echo "no" >&6; } 2795 2064 fi … … 2801 2070 # Extract the first word of "cc", so it can be a program name with args. 2802 2071 set dummy cc; ac_word=$2 2803 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52072 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2804 2073 $as_echo_n "checking for $ac_word... " >&6; } 2805 if ${ac_cv_prog_CC+:} false; then :2074 if test "${ac_cv_prog_CC+set}" = set; then 2806 2075 $as_echo_n "(cached) " >&6 2807 2076 else … … 2815 2084 IFS=$as_save_IFS 2816 2085 test -z "$as_dir" && as_dir=. 2817 2086 for ac_exec_ext in '' $ac_executable_extensions; do 2818 2087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2819 2088 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2822 2091 fi 2823 2092 ac_cv_prog_CC="cc" 2824 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52093 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2825 2094 break 2 2826 2095 fi 2827 2096 done 2828 2097 done 2829 2098 IFS=$as_save_IFS 2830 2099 … … 2845 2114 CC=$ac_cv_prog_CC 2846 2115 if test -n "$CC"; then 2847 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52116 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2848 2117 $as_echo "$CC" >&6; } 2849 2118 else 2850 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52119 { $as_echo "$as_me:$LINENO: result: no" >&5 2851 2120 $as_echo "no" >&6; } 2852 2121 fi … … 2860 2129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2861 2130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2862 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52131 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2863 2132 $as_echo_n "checking for $ac_word... " >&6; } 2864 if ${ac_cv_prog_CC+:} false; then :2133 if test "${ac_cv_prog_CC+set}" = set; then 2865 2134 $as_echo_n "(cached) " >&6 2866 2135 else … … 2873 2142 IFS=$as_save_IFS 2874 2143 test -z "$as_dir" && as_dir=. 2875 2144 for ac_exec_ext in '' $ac_executable_extensions; do 2876 2145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2877 2146 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2878 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52147 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2879 2148 break 2 2880 2149 fi 2881 2150 done 2882 2151 done 2883 2152 IFS=$as_save_IFS 2884 2153 … … 2887 2156 CC=$ac_cv_prog_CC 2888 2157 if test -n "$CC"; then 2889 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52158 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2890 2159 $as_echo "$CC" >&6; } 2891 2160 else 2892 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52161 { $as_echo "$as_me:$LINENO: result: no" >&5 2893 2162 $as_echo "no" >&6; } 2894 2163 fi … … 2904 2173 # Extract the first word of "$ac_prog", so it can be a program name with args. 2905 2174 set dummy $ac_prog; ac_word=$2 2906 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52175 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2907 2176 $as_echo_n "checking for $ac_word... " >&6; } 2908 if ${ac_cv_prog_ac_ct_CC+:} false; then :2177 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2909 2178 $as_echo_n "(cached) " >&6 2910 2179 else … … 2917 2186 IFS=$as_save_IFS 2918 2187 test -z "$as_dir" && as_dir=. 2919 2188 for ac_exec_ext in '' $ac_executable_extensions; do 2920 2189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2921 2190 ac_cv_prog_ac_ct_CC="$ac_prog" 2922 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52191 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2923 2192 break 2 2924 2193 fi 2925 2194 done 2926 2195 done 2927 2196 IFS=$as_save_IFS 2928 2197 … … 2931 2200 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2932 2201 if test -n "$ac_ct_CC"; then 2933 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52202 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2934 2203 $as_echo "$ac_ct_CC" >&6; } 2935 2204 else 2936 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52205 { $as_echo "$as_me:$LINENO: result: no" >&5 2937 2206 $as_echo "no" >&6; } 2938 2207 fi … … 2947 2216 case $cross_compiling:$ac_tool_warned in 2948 2217 yes:) 2949 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52218 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2950 2219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2951 2220 ac_tool_warned=yes ;; … … 2958 2227 2959 2228 2960 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52229 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2961 2230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2962 as_fn_error $? "no acceptable C compiler found in \$PATH 2963 See \`config.log' for more details" "$LINENO" 5; } 2231 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2232 See \`config.log' for more details." >&5 2233 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2234 See \`config.log' for more details." >&2;} 2235 { (exit 1); exit 1; }; }; } 2964 2236 2965 2237 # Provide some information about the compiler. 2966 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&52238 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2967 2239 set X $ac_compile 2968 2240 ac_compiler=$2 2969 for ac_option in --version -v -V -qversion; do 2970 { { ac_try="$ac_compiler $ac_option >&5" 2241 { (ac_try="$ac_compiler --version >&5" 2971 2242 case "(($ac_try" in 2972 2243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2973 2244 *) ac_try_echo=$ac_try;; 2974 2245 esac 2975 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""2976 $as_echo "$ac_try_echo" ; }>&52977 (eval "$ac_compiler $ac_option >&5") 2>conftest.err2246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2247 $as_echo "$ac_try_echo") >&5 2248 (eval "$ac_compiler --version >&5") 2>&5 2978 2249 ac_status=$? 2979 if test -s conftest.err; then 2980 sed '10a\ 2981 ... rest of stderr output deleted ... 2982 10q' conftest.err >conftest.er1 2983 cat conftest.er1 >&5 2984 fi 2985 rm -f conftest.er1 conftest.err 2986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2987 test $ac_status = 0; } 2988 done 2989 2990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2251 (exit $ac_status); } 2252 { (ac_try="$ac_compiler -v >&5" 2253 case "(($ac_try" in 2254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2255 *) ac_try_echo=$ac_try;; 2256 esac 2257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2258 $as_echo "$ac_try_echo") >&5 2259 (eval "$ac_compiler -v >&5") 2>&5 2260 ac_status=$? 2261 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2262 (exit $ac_status); } 2263 { (ac_try="$ac_compiler -V >&5" 2264 case "(($ac_try" in 2265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2266 *) ac_try_echo=$ac_try;; 2267 esac 2268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2269 $as_echo "$ac_try_echo") >&5 2270 (eval "$ac_compiler -V >&5") 2>&5 2271 ac_status=$? 2272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2273 (exit $ac_status); } 2274 2275 cat >conftest.$ac_ext <<_ACEOF 2276 /* confdefs.h. */ 2277 _ACEOF 2278 cat confdefs.h >>conftest.$ac_ext 2279 cat >>conftest.$ac_ext <<_ACEOF 2991 2280 /* end confdefs.h. */ 2992 2281 … … 3004 2293 # It will help us diagnose broken compilers, and finding out an intuition 3005 2294 # of exeext. 3006 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether the C compiler works" >&53007 $as_echo_n "checking whether the C compiler works... " >&6; }2295 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2296 $as_echo_n "checking for C compiler default output file name... " >&6; } 3008 2297 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3009 2298 … … 3021 2310 rm -f $ac_rmfiles 3022 2311 3023 if { {ac_try="$ac_link_default"2312 if { (ac_try="$ac_link_default" 3024 2313 case "(($ac_try" in 3025 2314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3026 2315 *) ac_try_echo=$ac_try;; 3027 2316 esac 3028 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3029 $as_echo "$ac_try_echo" ; }>&52317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2318 $as_echo "$ac_try_echo") >&5 3030 2319 (eval "$ac_link_default") 2>&5 3031 2320 ac_status=$? 3032 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53033 test $ac_status = 0; }; then :2321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2322 (exit $ac_status); }; then 3034 2323 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3035 2324 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 3048 2337 break;; 3049 2338 *.* ) 3050 2339 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3051 2340 then :; else 3052 2341 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 3067 2356 ac_file='' 3068 2357 fi 3069 if test -z "$ac_file"; then : 3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3071 $as_echo "no" >&6; } 3072 $as_echo "$as_me: failed program was:" >&5 2358 2359 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2360 $as_echo "$ac_file" >&6; } 2361 if test -z "$ac_file"; then 2362 $as_echo "$as_me: failed program was:" >&5 3073 2363 sed 's/^/| /' conftest.$ac_ext >&5 3074 2364 3075 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52365 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3076 2366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3077 as_fn_error 77 "C compiler cannot create executables 3078 See \`config.log' for more details" "$LINENO" 5; } 3079 else 3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2367 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2368 See \`config.log' for more details." >&5 2369 $as_echo "$as_me: error: C compiler cannot create executables 2370 See \`config.log' for more details." >&2;} 2371 { (exit 77); exit 77; }; }; } 2372 fi 2373 2374 ac_exeext=$ac_cv_exeext 2375 2376 # Check that the compiler produces executables we can run. If not, either 2377 # the compiler is broken, or we cross compile. 2378 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2379 $as_echo_n "checking whether the C compiler works... " >&6; } 2380 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2381 # If not cross compiling, check that we can run a simple program. 2382 if test "$cross_compiling" != yes; then 2383 if { ac_try='./$ac_file' 2384 { (case "(($ac_try" in 2385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2386 *) ac_try_echo=$ac_try;; 2387 esac 2388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2389 $as_echo "$ac_try_echo") >&5 2390 (eval "$ac_try") 2>&5 2391 ac_status=$? 2392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2393 (exit $ac_status); }; }; then 2394 cross_compiling=no 2395 else 2396 if test "$cross_compiling" = maybe; then 2397 cross_compiling=yes 2398 else 2399 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2401 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2402 If you meant to cross compile, use \`--host'. 2403 See \`config.log' for more details." >&5 2404 $as_echo "$as_me: error: cannot run C compiled programs. 2405 If you meant to cross compile, use \`--host'. 2406 See \`config.log' for more details." >&2;} 2407 { (exit 1); exit 1; }; }; } 2408 fi 2409 fi 2410 fi 2411 { $as_echo "$as_me:$LINENO: result: yes" >&5 3081 2412 $as_echo "yes" >&6; } 3082 fi3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&53084 $as_echo_n "checking for C compiler default output file name... " >&6; }3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&53086 $as_echo "$ac_file" >&6; }3087 ac_exeext=$ac_cv_exeext3088 2413 3089 2414 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3090 2415 ac_clean_files=$ac_clean_files_save 3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2416 # Check that the compiler produces executables we can run. If not, either 2417 # the compiler is broken, or we cross compile. 2418 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2419 $as_echo_n "checking whether we are cross compiling... " >&6; } 2420 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2421 $as_echo "$cross_compiling" >&6; } 2422 2423 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3092 2424 $as_echo_n "checking for suffix of executables... " >&6; } 3093 if { {ac_try="$ac_link"2425 if { (ac_try="$ac_link" 3094 2426 case "(($ac_try" in 3095 2427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3096 2428 *) ac_try_echo=$ac_try;; 3097 2429 esac 3098 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3099 $as_echo "$ac_try_echo" ; }>&52430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2431 $as_echo "$ac_try_echo") >&5 3100 2432 (eval "$ac_link") 2>&5 3101 2433 ac_status=$? 3102 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53103 test $ac_status = 0; }; then :2434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2435 (exit $ac_status); }; then 3104 2436 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3105 2437 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 3116 2448 done 3117 2449 else 3118 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52450 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3119 2451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3120 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3121 See \`config.log' for more details" "$LINENO" 5; } 3122 fi 3123 rm -f conftest conftest$ac_cv_exeext 3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2452 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2453 See \`config.log' for more details." >&5 2454 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2455 See \`config.log' for more details." >&2;} 2456 { (exit 1); exit 1; }; }; } 2457 fi 2458 2459 rm -f conftest$ac_cv_exeext 2460 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3125 2461 $as_echo "$ac_cv_exeext" >&6; } 3126 2462 … … 3128 2464 EXEEXT=$ac_cv_exeext 3129 2465 ac_exeext=$EXEEXT 3130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2466 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2467 $as_echo_n "checking for suffix of object files... " >&6; } 2468 if test "${ac_cv_objext+set}" = set; then 2469 $as_echo_n "(cached) " >&6 2470 else 2471 cat >conftest.$ac_ext <<_ACEOF 2472 /* confdefs.h. */ 2473 _ACEOF 2474 cat confdefs.h >>conftest.$ac_ext 2475 cat >>conftest.$ac_ext <<_ACEOF 3131 2476 /* end confdefs.h. */ 3132 #include <stdio.h> 2477 3133 2478 int 3134 2479 main () 3135 2480 { 3136 FILE *f = fopen ("conftest.out", "w");3137 return ferror (f) || fclose (f) != 0;3138 2481 3139 2482 ; … … 3141 2484 } 3142 2485 _ACEOF 3143 ac_clean_files="$ac_clean_files conftest.out" 3144 # Check that the compiler produces executables we can run. If not, either 3145 # the compiler is broken, or we cross compile. 3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3147 $as_echo_n "checking whether we are cross compiling... " >&6; } 3148 if test "$cross_compiling" != yes; then 3149 { { ac_try="$ac_link" 2486 rm -f conftest.o conftest.obj 2487 if { (ac_try="$ac_compile" 3150 2488 case "(($ac_try" in 3151 2489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3152 2490 *) ac_try_echo=$ac_try;; 3153 2491 esac 3154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3155 $as_echo "$ac_try_echo"; } >&5 3156 (eval "$ac_link") 2>&5 3157 ac_status=$? 3158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3159 test $ac_status = 0; } 3160 if { ac_try='./conftest$ac_cv_exeext' 3161 { { case "(($ac_try" in 3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3163 *) ac_try_echo=$ac_try;; 3164 esac 3165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3166 $as_echo "$ac_try_echo"; } >&5 3167 (eval "$ac_try") 2>&5 3168 ac_status=$? 3169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3170 test $ac_status = 0; }; }; then 3171 cross_compiling=no 3172 else 3173 if test "$cross_compiling" = maybe; then 3174 cross_compiling=yes 3175 else 3176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3178 as_fn_error $? "cannot run C compiled programs. 3179 If you meant to cross compile, use \`--host'. 3180 See \`config.log' for more details" "$LINENO" 5; } 3181 fi 3182 fi 3183 fi 3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3185 $as_echo "$cross_compiling" >&6; } 3186 3187 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3188 ac_clean_files=$ac_clean_files_save 3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3190 $as_echo_n "checking for suffix of object files... " >&6; } 3191 if ${ac_cv_objext+:} false; then : 3192 $as_echo_n "(cached) " >&6 3193 else 3194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3195 /* end confdefs.h. */ 3196 3197 int 3198 main () 3199 { 3200 3201 ; 3202 return 0; 3203 } 3204 _ACEOF 3205 rm -f conftest.o conftest.obj 3206 if { { ac_try="$ac_compile" 3207 case "(($ac_try" in 3208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3209 *) ac_try_echo=$ac_try;; 3210 esac 3211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3212 $as_echo "$ac_try_echo"; } >&5 2492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2493 $as_echo "$ac_try_echo") >&5 3213 2494 (eval "$ac_compile") 2>&5 3214 2495 ac_status=$? 3215 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53216 test $ac_status = 0; }; then :2496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2497 (exit $ac_status); }; then 3217 2498 for ac_file in conftest.o conftest.obj conftest.*; do 3218 2499 test -f "$ac_file" || continue; … … 3227 2508 sed 's/^/| /' conftest.$ac_ext >&5 3228 2509 3229 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52510 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3230 2511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3231 as_fn_error $? "cannot compute suffix of object files: cannot compile 3232 See \`config.log' for more details" "$LINENO" 5; } 3233 fi 2512 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2513 See \`config.log' for more details." >&5 2514 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2515 See \`config.log' for more details." >&2;} 2516 { (exit 1); exit 1; }; }; } 2517 fi 2518 3234 2519 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3235 2520 fi 3236 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_objext" >&52521 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3237 2522 $as_echo "$ac_cv_objext" >&6; } 3238 2523 OBJEXT=$ac_cv_objext 3239 2524 ac_objext=$OBJEXT 3240 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&52525 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3241 2526 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3242 if ${ac_cv_c_compiler_gnu+:} false; then :2527 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3243 2528 $as_echo_n "(cached) " >&6 3244 2529 else 3245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2530 cat >conftest.$ac_ext <<_ACEOF 2531 /* confdefs.h. */ 2532 _ACEOF 2533 cat confdefs.h >>conftest.$ac_ext 2534 cat >>conftest.$ac_ext <<_ACEOF 3246 2535 /* end confdefs.h. */ 3247 2536 … … 3257 2546 } 3258 2547 _ACEOF 3259 if ac_fn_c_try_compile "$LINENO"; then : 2548 rm -f conftest.$ac_objext 2549 if { (ac_try="$ac_compile" 2550 case "(($ac_try" in 2551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2552 *) ac_try_echo=$ac_try;; 2553 esac 2554 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2555 $as_echo "$ac_try_echo") >&5 2556 (eval "$ac_compile") 2>conftest.er1 2557 ac_status=$? 2558 grep -v '^ *+' conftest.er1 >conftest.err 2559 rm -f conftest.er1 2560 cat conftest.err >&5 2561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2562 (exit $ac_status); } && { 2563 test -z "$ac_c_werror_flag" || 2564 test ! -s conftest.err 2565 } && test -s conftest.$ac_objext; then 3260 2566 ac_compiler_gnu=yes 3261 2567 else 3262 ac_compiler_gnu=no 3263 fi 2568 $as_echo "$as_me: failed program was:" >&5 2569 sed 's/^/| /' conftest.$ac_ext >&5 2570 2571 ac_compiler_gnu=no 2572 fi 2573 3264 2574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3265 2575 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3266 2576 3267 2577 fi 3268 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&52578 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3269 2579 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3270 2580 if test $ac_compiler_gnu = yes; then … … 3275 2585 ac_test_CFLAGS=${CFLAGS+set} 3276 2586 ac_save_CFLAGS=$CFLAGS 3277 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&52587 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3278 2588 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3279 if ${ac_cv_prog_cc_g+:} false; then :2589 if test "${ac_cv_prog_cc_g+set}" = set; then 3280 2590 $as_echo_n "(cached) " >&6 3281 2591 else … … 3284 2594 ac_cv_prog_cc_g=no 3285 2595 CFLAGS="-g" 3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2596 cat >conftest.$ac_ext <<_ACEOF 2597 /* confdefs.h. */ 2598 _ACEOF 2599 cat confdefs.h >>conftest.$ac_ext 2600 cat >>conftest.$ac_ext <<_ACEOF 3287 2601 /* end confdefs.h. */ 3288 2602 … … 3295 2609 } 3296 2610 _ACEOF 3297 if ac_fn_c_try_compile "$LINENO"; then : 2611 rm -f conftest.$ac_objext 2612 if { (ac_try="$ac_compile" 2613 case "(($ac_try" in 2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2615 *) ac_try_echo=$ac_try;; 2616 esac 2617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2618 $as_echo "$ac_try_echo") >&5 2619 (eval "$ac_compile") 2>conftest.er1 2620 ac_status=$? 2621 grep -v '^ *+' conftest.er1 >conftest.err 2622 rm -f conftest.er1 2623 cat conftest.err >&5 2624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2625 (exit $ac_status); } && { 2626 test -z "$ac_c_werror_flag" || 2627 test ! -s conftest.err 2628 } && test -s conftest.$ac_objext; then 3298 2629 ac_cv_prog_cc_g=yes 3299 2630 else 3300 CFLAGS="" 3301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2631 $as_echo "$as_me: failed program was:" >&5 2632 sed 's/^/| /' conftest.$ac_ext >&5 2633 2634 CFLAGS="" 2635 cat >conftest.$ac_ext <<_ACEOF 2636 /* confdefs.h. */ 2637 _ACEOF 2638 cat confdefs.h >>conftest.$ac_ext 2639 cat >>conftest.$ac_ext <<_ACEOF 3302 2640 /* end confdefs.h. */ 3303 2641 … … 3310 2648 } 3311 2649 _ACEOF 3312 if ac_fn_c_try_compile "$LINENO"; then : 3313 3314 else 3315 ac_c_werror_flag=$ac_save_c_werror_flag 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 2668 : 2669 else 2670 $as_echo "$as_me: failed program was:" >&5 2671 sed 's/^/| /' conftest.$ac_ext >&5 2672 2673 ac_c_werror_flag=$ac_save_c_werror_flag 3316 2674 CFLAGS="-g" 3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2675 cat >conftest.$ac_ext <<_ACEOF 2676 /* confdefs.h. */ 2677 _ACEOF 2678 cat confdefs.h >>conftest.$ac_ext 2679 cat >>conftest.$ac_ext <<_ACEOF 3318 2680 /* end confdefs.h. */ 3319 2681 … … 3326 2688 } 3327 2689 _ACEOF 3328 if ac_fn_c_try_compile "$LINENO"; then : 2690 rm -f conftest.$ac_objext 2691 if { (ac_try="$ac_compile" 2692 case "(($ac_try" in 2693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2694 *) ac_try_echo=$ac_try;; 2695 esac 2696 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2697 $as_echo "$ac_try_echo") >&5 2698 (eval "$ac_compile") 2>conftest.er1 2699 ac_status=$? 2700 grep -v '^ *+' conftest.er1 >conftest.err 2701 rm -f conftest.er1 2702 cat conftest.err >&5 2703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2704 (exit $ac_status); } && { 2705 test -z "$ac_c_werror_flag" || 2706 test ! -s conftest.err 2707 } && test -s conftest.$ac_objext; then 3329 2708 ac_cv_prog_cc_g=yes 3330 fi 2709 else 2710 $as_echo "$as_me: failed program was:" >&5 2711 sed 's/^/| /' conftest.$ac_ext >&5 2712 2713 2714 fi 2715 3331 2716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3332 2717 fi 2718 3333 2719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3334 2720 fi 2721 3335 2722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3336 2723 ac_c_werror_flag=$ac_save_c_werror_flag 3337 2724 fi 3338 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&52725 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3339 2726 $as_echo "$ac_cv_prog_cc_g" >&6; } 3340 2727 if test "$ac_test_CFLAGS" = set; then … … 3353 2740 fi 3354 2741 fi 3355 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&52742 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3356 2743 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3357 if ${ac_cv_prog_cc_c89+:} false; then :2744 if test "${ac_cv_prog_cc_c89+set}" = set; then 3358 2745 $as_echo_n "(cached) " >&6 3359 2746 else 3360 2747 ac_cv_prog_cc_c89=no 3361 2748 ac_save_CC=$CC 3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2749 cat >conftest.$ac_ext <<_ACEOF 2750 /* confdefs.h. */ 2751 _ACEOF 2752 cat confdefs.h >>conftest.$ac_ext 2753 cat >>conftest.$ac_ext <<_ACEOF 3363 2754 /* end confdefs.h. */ 3364 2755 #include <stdarg.h> … … 3417 2808 do 3418 2809 CC="$ac_save_CC $ac_arg" 3419 if ac_fn_c_try_compile "$LINENO"; then : 2810 rm -f conftest.$ac_objext 2811 if { (ac_try="$ac_compile" 2812 case "(($ac_try" in 2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2814 *) ac_try_echo=$ac_try;; 2815 esac 2816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2817 $as_echo "$ac_try_echo") >&5 2818 (eval "$ac_compile") 2>conftest.er1 2819 ac_status=$? 2820 grep -v '^ *+' conftest.er1 >conftest.err 2821 rm -f conftest.er1 2822 cat conftest.err >&5 2823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2824 (exit $ac_status); } && { 2825 test -z "$ac_c_werror_flag" || 2826 test ! -s conftest.err 2827 } && test -s conftest.$ac_objext; then 3420 2828 ac_cv_prog_cc_c89=$ac_arg 3421 fi 2829 else 2830 $as_echo "$as_me: failed program was:" >&5 2831 sed 's/^/| /' conftest.$ac_ext >&5 2832 2833 2834 fi 2835 3422 2836 rm -f core conftest.err conftest.$ac_objext 3423 2837 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3430 2844 case "x$ac_cv_prog_cc_c89" in 3431 2845 x) 3432 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&52846 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3433 2847 $as_echo "none needed" >&6; } ;; 3434 2848 xno) 3435 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&52849 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3436 2850 $as_echo "unsupported" >&6; } ;; 3437 2851 *) 3438 2852 CC="$CC $ac_cv_prog_cc_c89" 3439 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&52853 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3440 2854 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3441 2855 esac 3442 if test "x$ac_cv_prog_cc_c89" != xno; then : 3443 3444 fi 2856 3445 2857 3446 2858 ac_ext=c … … 3454 2866 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3455 2867 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3456 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52868 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3457 2869 $as_echo_n "checking for $ac_word... " >&6; } 3458 if ${ac_cv_prog_RANLIB+:} false; then :2870 if test "${ac_cv_prog_RANLIB+set}" = set; then 3459 2871 $as_echo_n "(cached) " >&6 3460 2872 else … … 3467 2879 IFS=$as_save_IFS 3468 2880 test -z "$as_dir" && as_dir=. 3469 2881 for ac_exec_ext in '' $ac_executable_extensions; do 3470 2882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3471 2883 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3472 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52884 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3473 2885 break 2 3474 2886 fi 3475 2887 done 3476 2888 done 3477 2889 IFS=$as_save_IFS 3478 2890 … … 3481 2893 RANLIB=$ac_cv_prog_RANLIB 3482 2894 if test -n "$RANLIB"; then 3483 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&52895 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 3484 2896 $as_echo "$RANLIB" >&6; } 3485 2897 else 3486 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52898 { $as_echo "$as_me:$LINENO: result: no" >&5 3487 2899 $as_echo "no" >&6; } 3488 2900 fi … … 3494 2906 # Extract the first word of "ranlib", so it can be a program name with args. 3495 2907 set dummy ranlib; ac_word=$2 3496 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52908 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3497 2909 $as_echo_n "checking for $ac_word... " >&6; } 3498 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :2910 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3499 2911 $as_echo_n "(cached) " >&6 3500 2912 else … … 3507 2919 IFS=$as_save_IFS 3508 2920 test -z "$as_dir" && as_dir=. 3509 2921 for ac_exec_ext in '' $ac_executable_extensions; do 3510 2922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3511 2923 ac_cv_prog_ac_ct_RANLIB="ranlib" 3512 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52924 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3513 2925 break 2 3514 2926 fi 3515 2927 done 3516 2928 done 3517 2929 IFS=$as_save_IFS 3518 2930 … … 3521 2933 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3522 2934 if test -n "$ac_ct_RANLIB"; then 3523 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&52935 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3524 2936 $as_echo "$ac_ct_RANLIB" >&6; } 3525 2937 else 3526 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52938 { $as_echo "$as_me:$LINENO: result: no" >&5 3527 2939 $as_echo "no" >&6; } 3528 2940 fi … … 3533 2945 case $cross_compiling:$ac_tool_warned in 3534 2946 yes:) 3535 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52947 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3536 2948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3537 2949 ac_tool_warned=yes ;; … … 3548 2960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3549 2961 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3550 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&52962 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3551 2963 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3552 2964 # On Suns, sometimes $CPP names a directory. … … 3555 2967 fi 3556 2968 if test -z "$CPP"; then 3557 if ${ac_cv_prog_CPP+:} false; then :2969 if test "${ac_cv_prog_CPP+set}" = set; then 3558 2970 $as_echo_n "(cached) " >&6 3559 2971 else … … 3570 2982 # On the NeXT, cc -E runs the code through the compiler's parser, 3571 2983 # not just through cpp. "Syntax error" is here to catch this case. 3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2984 cat >conftest.$ac_ext <<_ACEOF 2985 /* confdefs.h. */ 2986 _ACEOF 2987 cat confdefs.h >>conftest.$ac_ext 2988 cat >>conftest.$ac_ext <<_ACEOF 3573 2989 /* end confdefs.h. */ 3574 2990 #ifdef __STDC__ … … 3579 2995 Syntax error 3580 2996 _ACEOF 3581 if ac_fn_c_try_cpp "$LINENO"; then : 3582 3583 else 2997 if { (ac_try="$ac_cpp conftest.$ac_ext" 2998 case "(($ac_try" in 2999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3000 *) ac_try_echo=$ac_try;; 3001 esac 3002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3003 $as_echo "$ac_try_echo") >&5 3004 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3005 ac_status=$? 3006 grep -v '^ *+' conftest.er1 >conftest.err 3007 rm -f conftest.er1 3008 cat conftest.err >&5 3009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3010 (exit $ac_status); } >/dev/null && { 3011 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3012 test ! -s conftest.err 3013 }; then 3014 : 3015 else 3016 $as_echo "$as_me: failed program was:" >&5 3017 sed 's/^/| /' conftest.$ac_ext >&5 3018 3584 3019 # Broken: fails on valid input. 3585 3020 continue 3586 3021 fi 3587 rm -f conftest.err conftest.i conftest.$ac_ext 3022 3023 rm -f conftest.err conftest.$ac_ext 3588 3024 3589 3025 # OK, works on sane cases. Now check whether nonexistent headers 3590 3026 # can be detected and how. 3591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3027 cat >conftest.$ac_ext <<_ACEOF 3028 /* confdefs.h. */ 3029 _ACEOF 3030 cat confdefs.h >>conftest.$ac_ext 3031 cat >>conftest.$ac_ext <<_ACEOF 3592 3032 /* end confdefs.h. */ 3593 3033 #include <ac_nonexistent.h> 3594 3034 _ACEOF 3595 if ac_fn_c_try_cpp "$LINENO"; then : 3035 if { (ac_try="$ac_cpp conftest.$ac_ext" 3036 case "(($ac_try" in 3037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3038 *) ac_try_echo=$ac_try;; 3039 esac 3040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3041 $as_echo "$ac_try_echo") >&5 3042 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3043 ac_status=$? 3044 grep -v '^ *+' conftest.er1 >conftest.err 3045 rm -f conftest.er1 3046 cat conftest.err >&5 3047 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3048 (exit $ac_status); } >/dev/null && { 3049 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3050 test ! -s conftest.err 3051 }; then 3596 3052 # Broken: success on invalid input. 3597 3053 continue 3598 3054 else 3055 $as_echo "$as_me: failed program was:" >&5 3056 sed 's/^/| /' conftest.$ac_ext >&5 3057 3599 3058 # Passes both tests. 3600 3059 ac_preproc_ok=: 3601 3060 break 3602 3061 fi 3603 rm -f conftest.err conftest.i conftest.$ac_ext 3062 3063 rm -f conftest.err conftest.$ac_ext 3604 3064 3605 3065 done 3606 3066 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3607 rm -f conftest. i conftest.err conftest.$ac_ext3608 if $ac_preproc_ok; then :3067 rm -f conftest.err conftest.$ac_ext 3068 if $ac_preproc_ok; then 3609 3069 break 3610 3070 fi … … 3618 3078 ac_cv_prog_CPP=$CPP 3619 3079 fi 3620 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&53080 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 3621 3081 $as_echo "$CPP" >&6; } 3622 3082 ac_preproc_ok=false … … 3629 3089 # On the NeXT, cc -E runs the code through the compiler's parser, 3630 3090 # not just through cpp. "Syntax error" is here to catch this case. 3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3091 cat >conftest.$ac_ext <<_ACEOF 3092 /* confdefs.h. */ 3093 _ACEOF 3094 cat confdefs.h >>conftest.$ac_ext 3095 cat >>conftest.$ac_ext <<_ACEOF 3632 3096 /* end confdefs.h. */ 3633 3097 #ifdef __STDC__ … … 3638 3102 Syntax error 3639 3103 _ACEOF 3640 if ac_fn_c_try_cpp "$LINENO"; then : 3641 3642 else 3104 if { (ac_try="$ac_cpp conftest.$ac_ext" 3105 case "(($ac_try" in 3106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3107 *) ac_try_echo=$ac_try;; 3108 esac 3109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3110 $as_echo "$ac_try_echo") >&5 3111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3112 ac_status=$? 3113 grep -v '^ *+' conftest.er1 >conftest.err 3114 rm -f conftest.er1 3115 cat conftest.err >&5 3116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3117 (exit $ac_status); } >/dev/null && { 3118 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3119 test ! -s conftest.err 3120 }; then 3121 : 3122 else 3123 $as_echo "$as_me: failed program was:" >&5 3124 sed 's/^/| /' conftest.$ac_ext >&5 3125 3643 3126 # Broken: fails on valid input. 3644 3127 continue 3645 3128 fi 3646 rm -f conftest.err conftest.i conftest.$ac_ext 3129 3130 rm -f conftest.err conftest.$ac_ext 3647 3131 3648 3132 # OK, works on sane cases. Now check whether nonexistent headers 3649 3133 # can be detected and how. 3650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3134 cat >conftest.$ac_ext <<_ACEOF 3135 /* confdefs.h. */ 3136 _ACEOF 3137 cat confdefs.h >>conftest.$ac_ext 3138 cat >>conftest.$ac_ext <<_ACEOF 3651 3139 /* end confdefs.h. */ 3652 3140 #include <ac_nonexistent.h> 3653 3141 _ACEOF 3654 if ac_fn_c_try_cpp "$LINENO"; then : 3142 if { (ac_try="$ac_cpp conftest.$ac_ext" 3143 case "(($ac_try" in 3144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3145 *) ac_try_echo=$ac_try;; 3146 esac 3147 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3148 $as_echo "$ac_try_echo") >&5 3149 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3150 ac_status=$? 3151 grep -v '^ *+' conftest.er1 >conftest.err 3152 rm -f conftest.er1 3153 cat conftest.err >&5 3154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3155 (exit $ac_status); } >/dev/null && { 3156 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3157 test ! -s conftest.err 3158 }; then 3655 3159 # Broken: success on invalid input. 3656 3160 continue 3657 3161 else 3162 $as_echo "$as_me: failed program was:" >&5 3163 sed 's/^/| /' conftest.$ac_ext >&5 3164 3658 3165 # Passes both tests. 3659 3166 ac_preproc_ok=: 3660 3167 break 3661 3168 fi 3662 rm -f conftest.err conftest.i conftest.$ac_ext 3169 3170 rm -f conftest.err conftest.$ac_ext 3663 3171 3664 3172 done 3665 3173 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3666 rm -f conftest. i conftest.err conftest.$ac_ext3667 if $ac_preproc_ok; then :3668 3669 else 3670 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53174 rm -f conftest.err conftest.$ac_ext 3175 if $ac_preproc_ok; then 3176 : 3177 else 3178 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3671 3179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3672 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3673 See \`config.log' for more details" "$LINENO" 5; } 3180 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3181 See \`config.log' for more details." >&5 3182 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3183 See \`config.log' for more details." >&2;} 3184 { (exit 1); exit 1; }; }; } 3674 3185 fi 3675 3186 … … 3681 3192 3682 3193 3683 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&53194 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3684 3195 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3685 if ${ac_cv_path_GREP+:} false; then :3196 if test "${ac_cv_path_GREP+set}" = set; then 3686 3197 $as_echo_n "(cached) " >&6 3687 3198 else … … 3694 3205 IFS=$as_save_IFS 3695 3206 test -z "$as_dir" && as_dir=. 3696 3207 for ac_prog in grep ggrep; do 3697 3208 for ac_exec_ext in '' $ac_executable_extensions; do 3698 3209 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" … … 3714 3225 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3715 3226 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3716 a s_fn_arith $ac_count + 1 && ac_count=$as_val3227 ac_count=`expr $ac_count + 1` 3717 3228 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3718 3229 # Best one so far, save it but keep looking for a better one … … 3729 3240 done 3730 3241 done 3731 3242 done 3732 3243 IFS=$as_save_IFS 3733 3244 if test -z "$ac_cv_path_GREP"; then 3734 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3245 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3246 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3247 { (exit 1); exit 1; }; } 3735 3248 fi 3736 3249 else … … 3739 3252 3740 3253 fi 3741 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&53254 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3742 3255 $as_echo "$ac_cv_path_GREP" >&6; } 3743 3256 GREP="$ac_cv_path_GREP" 3744 3257 3745 3258 3746 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for egrep" >&53259 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 3747 3260 $as_echo_n "checking for egrep... " >&6; } 3748 if ${ac_cv_path_EGREP+:} false; then :3261 if test "${ac_cv_path_EGREP+set}" = set; then 3749 3262 $as_echo_n "(cached) " >&6 3750 3263 else … … 3760 3273 IFS=$as_save_IFS 3761 3274 test -z "$as_dir" && as_dir=. 3762 3275 for ac_prog in egrep; do 3763 3276 for ac_exec_ext in '' $ac_executable_extensions; do 3764 3277 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" … … 3780 3293 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3781 3294 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3782 a s_fn_arith $ac_count + 1 && ac_count=$as_val3295 ac_count=`expr $ac_count + 1` 3783 3296 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3784 3297 # Best one so far, save it but keep looking for a better one … … 3795 3308 done 3796 3309 done 3797 3310 done 3798 3311 IFS=$as_save_IFS 3799 3312 if test -z "$ac_cv_path_EGREP"; then 3800 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3313 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3314 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3315 { (exit 1); exit 1; }; } 3801 3316 fi 3802 3317 else … … 3806 3321 fi 3807 3322 fi 3808 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&53323 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3809 3324 $as_echo "$ac_cv_path_EGREP" >&6; } 3810 3325 EGREP="$ac_cv_path_EGREP" 3811 3326 3812 3327 3813 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ANSI C header files" >&53328 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3814 3329 $as_echo_n "checking for ANSI C header files... " >&6; } 3815 if ${ac_cv_header_stdc+:} false; then :3330 if test "${ac_cv_header_stdc+set}" = set; then 3816 3331 $as_echo_n "(cached) " >&6 3817 3332 else 3818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3333 cat >conftest.$ac_ext <<_ACEOF 3334 /* confdefs.h. */ 3335 _ACEOF 3336 cat confdefs.h >>conftest.$ac_ext 3337 cat >>conftest.$ac_ext <<_ACEOF 3819 3338 /* end confdefs.h. */ 3820 3339 #include <stdlib.h> … … 3831 3350 } 3832 3351 _ACEOF 3833 if ac_fn_c_try_compile "$LINENO"; then : 3352 rm -f conftest.$ac_objext 3353 if { (ac_try="$ac_compile" 3354 case "(($ac_try" in 3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3356 *) ac_try_echo=$ac_try;; 3357 esac 3358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3359 $as_echo "$ac_try_echo") >&5 3360 (eval "$ac_compile") 2>conftest.er1 3361 ac_status=$? 3362 grep -v '^ *+' conftest.er1 >conftest.err 3363 rm -f conftest.er1 3364 cat conftest.err >&5 3365 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3366 (exit $ac_status); } && { 3367 test -z "$ac_c_werror_flag" || 3368 test ! -s conftest.err 3369 } && test -s conftest.$ac_objext; then 3834 3370 ac_cv_header_stdc=yes 3835 3371 else 3836 ac_cv_header_stdc=no 3837 fi 3372 $as_echo "$as_me: failed program was:" >&5 3373 sed 's/^/| /' conftest.$ac_ext >&5 3374 3375 ac_cv_header_stdc=no 3376 fi 3377 3838 3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3839 3379 3840 3380 if test $ac_cv_header_stdc = yes; then 3841 3381 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3382 cat >conftest.$ac_ext <<_ACEOF 3383 /* confdefs.h. */ 3384 _ACEOF 3385 cat confdefs.h >>conftest.$ac_ext 3386 cat >>conftest.$ac_ext <<_ACEOF 3843 3387 /* end confdefs.h. */ 3844 3388 #include <string.h> … … 3846 3390 _ACEOF 3847 3391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3848 $EGREP "memchr" >/dev/null 2>&1; then :3849 3392 $EGREP "memchr" >/dev/null 2>&1; then 3393 : 3850 3394 else 3851 3395 ac_cv_header_stdc=no … … 3857 3401 if test $ac_cv_header_stdc = yes; then 3858 3402 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3403 cat >conftest.$ac_ext <<_ACEOF 3404 /* confdefs.h. */ 3405 _ACEOF 3406 cat confdefs.h >>conftest.$ac_ext 3407 cat >>conftest.$ac_ext <<_ACEOF 3860 3408 /* end confdefs.h. */ 3861 3409 #include <stdlib.h> … … 3863 3411 _ACEOF 3864 3412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3865 $EGREP "free" >/dev/null 2>&1; then :3866 3413 $EGREP "free" >/dev/null 2>&1; then 3414 : 3867 3415 else 3868 3416 ac_cv_header_stdc=no … … 3874 3422 if test $ac_cv_header_stdc = yes; then 3875 3423 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3876 if test "$cross_compiling" = yes; then :3424 if test "$cross_compiling" = yes; then 3877 3425 : 3878 3426 else 3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3427 cat >conftest.$ac_ext <<_ACEOF 3428 /* confdefs.h. */ 3429 _ACEOF 3430 cat confdefs.h >>conftest.$ac_ext 3431 cat >>conftest.$ac_ext <<_ACEOF 3880 3432 /* end confdefs.h. */ 3881 3433 #include <ctype.h> … … 3904 3456 } 3905 3457 _ACEOF 3906 if ac_fn_c_try_run "$LINENO"; then : 3907 3908 else 3909 ac_cv_header_stdc=no 3910 fi 3911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3912 conftest.$ac_objext conftest.beam conftest.$ac_ext 3913 fi 3914 3915 fi 3916 fi 3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3458 rm -f conftest$ac_exeext 3459 if { (ac_try="$ac_link" 3460 case "(($ac_try" in 3461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3462 *) ac_try_echo=$ac_try;; 3463 esac 3464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3465 $as_echo "$ac_try_echo") >&5 3466 (eval "$ac_link") 2>&5 3467 ac_status=$? 3468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3469 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3470 { (case "(($ac_try" in 3471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3472 *) ac_try_echo=$ac_try;; 3473 esac 3474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3475 $as_echo "$ac_try_echo") >&5 3476 (eval "$ac_try") 2>&5 3477 ac_status=$? 3478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3479 (exit $ac_status); }; }; then 3480 : 3481 else 3482 $as_echo "$as_me: program exited with status $ac_status" >&5 3483 $as_echo "$as_me: failed program was:" >&5 3484 sed 's/^/| /' conftest.$ac_ext >&5 3485 3486 ( exit $ac_status ) 3487 ac_cv_header_stdc=no 3488 fi 3489 rm -rf conftest.dSYM 3490 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3491 fi 3492 3493 3494 fi 3495 fi 3496 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3918 3497 $as_echo "$ac_cv_header_stdc" >&6; } 3919 3498 if test $ac_cv_header_stdc = yes; then 3920 3499 3921 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3500 cat >>confdefs.h <<\_ACEOF 3501 #define STDC_HEADERS 1 3502 _ACEOF 3922 3503 3923 3504 fi 3924 3505 3925 3506 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3507 3508 3509 3510 3511 3512 3513 3514 3515 3926 3516 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3927 3517 inttypes.h stdint.h unistd.h 3928 do : 3929 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3930 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3931 " 3932 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3518 do 3519 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3520 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3521 $as_echo_n "checking for $ac_header... " >&6; } 3522 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3523 $as_echo_n "(cached) " >&6 3524 else 3525 cat >conftest.$ac_ext <<_ACEOF 3526 /* confdefs.h. */ 3527 _ACEOF 3528 cat confdefs.h >>conftest.$ac_ext 3529 cat >>conftest.$ac_ext <<_ACEOF 3530 /* end confdefs.h. */ 3531 $ac_includes_default 3532 3533 #include <$ac_header> 3534 _ACEOF 3535 rm -f conftest.$ac_objext 3536 if { (ac_try="$ac_compile" 3537 case "(($ac_try" in 3538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3539 *) ac_try_echo=$ac_try;; 3540 esac 3541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3542 $as_echo "$ac_try_echo") >&5 3543 (eval "$ac_compile") 2>conftest.er1 3544 ac_status=$? 3545 grep -v '^ *+' conftest.er1 >conftest.err 3546 rm -f conftest.er1 3547 cat conftest.err >&5 3548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3549 (exit $ac_status); } && { 3550 test -z "$ac_c_werror_flag" || 3551 test ! -s conftest.err 3552 } && test -s conftest.$ac_objext; then 3553 eval "$as_ac_Header=yes" 3554 else 3555 $as_echo "$as_me: failed program was:" >&5 3556 sed 's/^/| /' conftest.$ac_ext >&5 3557 3558 eval "$as_ac_Header=no" 3559 fi 3560 3561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3562 fi 3563 ac_res=`eval 'as_val=${'$as_ac_Header'} 3564 $as_echo "$as_val"'` 3565 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3566 $as_echo "$ac_res" >&6; } 3567 as_val=`eval 'as_val=${'$as_ac_Header'} 3568 $as_echo "$as_val"'` 3569 if test "x$as_val" = x""yes; then 3933 3570 cat >>confdefs.h <<_ACEOF 3934 3571 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 3944 3581 # Step 0.a: Enable 64 bit support? 3945 3582 3946 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if 64bit support is requested" >&53583 { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5 3947 3584 $as_echo_n "checking if 64bit support is requested... " >&6; } 3948 3585 # Check whether --enable-64bit was given. 3949 if test "${enable_64bit+set}" = set; then :3586 if test "${enable_64bit+set}" = set; then 3950 3587 enableval=$enable_64bit; do64bit=$enableval 3951 3588 else … … 3953 3590 fi 3954 3591 3955 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $do64bit" >&53592 { $as_echo "$as_me:$LINENO: result: $do64bit" >&5 3956 3593 $as_echo "$do64bit" >&6; } 3957 3594 3958 3595 # Step 0.b: Enable Solaris 64 bit VIS support? 3959 3596 3960 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&53597 { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5 3961 3598 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 3962 3599 # Check whether --enable-64bit-vis was given. 3963 if test "${enable_64bit_vis+set}" = set; then :3600 if test "${enable_64bit_vis+set}" = set; then 3964 3601 enableval=$enable_64bit_vis; do64bitVIS=$enableval 3965 3602 else … … 3967 3604 fi 3968 3605 3969 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $do64bitVIS" >&53606 { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5 3970 3607 $as_echo "$do64bitVIS" >&6; } 3971 3608 … … 3979 3616 3980 3617 3981 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking system version" >&53618 { $as_echo "$as_me:$LINENO: checking system version" >&5 3982 3619 $as_echo_n "checking system version... " >&6; } 3983 if ${tcl_cv_sys_version+:} false; then :3620 if test "${tcl_cv_sys_version+set}" = set; then 3984 3621 $as_echo_n "(cached) " >&6 3985 3622 else … … 3990 3627 tcl_cv_sys_version=`uname -s`-`uname -r` 3991 3628 if test "$?" -ne 0 ; then 3992 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: can't find uname command" >&53629 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5 3993 3630 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 3994 3631 tcl_cv_sys_version=unknown … … 4007 3644 4008 3645 fi 4009 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&53646 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5 4010 3647 $as_echo "$tcl_cv_sys_version" >&6; } 4011 3648 system=$tcl_cv_sys_version … … 4015 3652 # Linux can use either -ldl or -ldld for dynamic loading. 4016 3653 4017 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for dlopen in -ldl" >&53654 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 4018 3655 $as_echo_n "checking for dlopen in -ldl... " >&6; } 4019 if ${ac_cv_lib_dl_dlopen+:} false; then :3656 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 4020 3657 $as_echo_n "(cached) " >&6 4021 3658 else 4022 3659 ac_check_lib_save_LIBS=$LIBS 4023 3660 LIBS="-ldl $LIBS" 4024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3661 cat >conftest.$ac_ext <<_ACEOF 3662 /* confdefs.h. */ 3663 _ACEOF 3664 cat confdefs.h >>conftest.$ac_ext 3665 cat >>conftest.$ac_ext <<_ACEOF 4025 3666 /* end confdefs.h. */ 4026 3667 … … 4040 3681 } 4041 3682 _ACEOF 4042 if ac_fn_c_try_link "$LINENO"; then : 3683 rm -f conftest.$ac_objext conftest$ac_exeext 3684 if { (ac_try="$ac_link" 3685 case "(($ac_try" in 3686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3687 *) ac_try_echo=$ac_try;; 3688 esac 3689 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3690 $as_echo "$ac_try_echo") >&5 3691 (eval "$ac_link") 2>conftest.er1 3692 ac_status=$? 3693 grep -v '^ *+' conftest.er1 >conftest.err 3694 rm -f conftest.er1 3695 cat conftest.err >&5 3696 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3697 (exit $ac_status); } && { 3698 test -z "$ac_c_werror_flag" || 3699 test ! -s conftest.err 3700 } && test -s conftest$ac_exeext && { 3701 test "$cross_compiling" = yes || 3702 $as_test_x conftest$ac_exeext 3703 }; then 4043 3704 ac_cv_lib_dl_dlopen=yes 4044 3705 else 4045 ac_cv_lib_dl_dlopen=no 4046 fi 4047 rm -f core conftest.err conftest.$ac_objext \ 4048 conftest$ac_exeext conftest.$ac_ext 3706 $as_echo "$as_me: failed program was:" >&5 3707 sed 's/^/| /' conftest.$ac_ext >&5 3708 3709 ac_cv_lib_dl_dlopen=no 3710 fi 3711 3712 rm -rf conftest.dSYM 3713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3714 conftest$ac_exeext conftest.$ac_ext 4049 3715 LIBS=$ac_check_lib_save_LIBS 4050 3716 fi 4051 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&53717 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 4052 3718 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 4053 if test "x$ac_cv_lib_dl_dlopen" = x yes; then :3719 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 4054 3720 have_dl=yes 4055 3721 else … … 4083 3749 # Extract the first word of "ar", so it can be a program name with args. 4084 3750 set dummy ar; ac_word=$2 4085 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53751 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4086 3752 $as_echo_n "checking for $ac_word... " >&6; } 4087 if ${ac_cv_prog_AR+:} false; then :3753 if test "${ac_cv_prog_AR+set}" = set; then 4088 3754 $as_echo_n "(cached) " >&6 4089 3755 else … … 4096 3762 IFS=$as_save_IFS 4097 3763 test -z "$as_dir" && as_dir=. 4098 3764 for ac_exec_ext in '' $ac_executable_extensions; do 4099 3765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4100 3766 ac_cv_prog_AR="ar" 4101 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53767 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4102 3768 break 2 4103 3769 fi 4104 3770 done 4105 3771 done 4106 3772 IFS=$as_save_IFS 4107 3773 … … 4110 3776 AR=$ac_cv_prog_AR 4111 3777 if test -n "$AR"; then 4112 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $AR" >&53778 { $as_echo "$as_me:$LINENO: result: $AR" >&5 4113 3779 $as_echo "$AR" >&6; } 4114 3780 else 4115 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53781 { $as_echo "$as_me:$LINENO: result: no" >&5 4116 3782 $as_echo "no" >&6; } 4117 3783 fi … … 4119 3785 4120 3786 if test "${AR}" = "" ; then 4121 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 3787 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 3788 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 3789 { (exit 1); exit 1; }; } 4122 3790 fi 4123 3791 STLIB_LD='${AR} cr' … … 4137 3805 ;; 4138 3806 esac 4139 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&53807 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5 4140 3808 $as_echo "Using $CC for compiling with threads" >&6; } 4141 3809 fi … … 4153 3821 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 4154 3822 if test "$GCC" = "yes" ; then 4155 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&53823 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 4156 3824 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4157 3825 else … … 4208 3876 # known GMT value. 4209 3877 4210 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&53878 { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5 4211 3879 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 4212 if ${ac_cv_lib_bsd_gettimeofday+:} false; then :3880 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 4213 3881 $as_echo_n "(cached) " >&6 4214 3882 else 4215 3883 ac_check_lib_save_LIBS=$LIBS 4216 3884 LIBS="-lbsd $LIBS" 4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3885 cat >conftest.$ac_ext <<_ACEOF 3886 /* confdefs.h. */ 3887 _ACEOF 3888 cat confdefs.h >>conftest.$ac_ext 3889 cat >>conftest.$ac_ext <<_ACEOF 4218 3890 /* end confdefs.h. */ 4219 3891 … … 4233 3905 } 4234 3906 _ACEOF 4235 if ac_fn_c_try_link "$LINENO"; then : 3907 rm -f conftest.$ac_objext conftest$ac_exeext 3908 if { (ac_try="$ac_link" 3909 case "(($ac_try" in 3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3911 *) ac_try_echo=$ac_try;; 3912 esac 3913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3914 $as_echo "$ac_try_echo") >&5 3915 (eval "$ac_link") 2>conftest.er1 3916 ac_status=$? 3917 grep -v '^ *+' conftest.er1 >conftest.err 3918 rm -f conftest.er1 3919 cat conftest.err >&5 3920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3921 (exit $ac_status); } && { 3922 test -z "$ac_c_werror_flag" || 3923 test ! -s conftest.err 3924 } && test -s conftest$ac_exeext && { 3925 test "$cross_compiling" = yes || 3926 $as_test_x conftest$ac_exeext 3927 }; then 4236 3928 ac_cv_lib_bsd_gettimeofday=yes 4237 3929 else 4238 ac_cv_lib_bsd_gettimeofday=no 4239 fi 4240 rm -f core conftest.err conftest.$ac_objext \ 4241 conftest$ac_exeext conftest.$ac_ext 3930 $as_echo "$as_me: failed program was:" >&5 3931 sed 's/^/| /' conftest.$ac_ext >&5 3932 3933 ac_cv_lib_bsd_gettimeofday=no 3934 fi 3935 3936 rm -rf conftest.dSYM 3937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3938 conftest$ac_exeext conftest.$ac_ext 4242 3939 LIBS=$ac_check_lib_save_LIBS 4243 3940 fi 4244 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&53941 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5 4245 3942 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 4246 if test "x$ac_cv_lib_bsd_gettimeofday" = x yes; then :3943 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then 4247 3944 libbsd=yes 4248 3945 else … … 4252 3949 if test $libbsd = yes; then 4253 3950 MATH_LIBS="$MATH_LIBS -lbsd" 4254 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 3951 cat >>confdefs.h <<\_ACEOF 3952 #define USE_DELTA_FOR_TZ 1 3953 _ACEOF 4255 3954 4256 3955 fi … … 4269 3968 # is always linked to, for compatibility. 4270 3969 #----------------------------------------------------------- 4271 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&53970 { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5 4272 3971 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 4273 if ${ac_cv_lib_bind_inet_ntoa+:} false; then :3972 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then 4274 3973 $as_echo_n "(cached) " >&6 4275 3974 else 4276 3975 ac_check_lib_save_LIBS=$LIBS 4277 3976 LIBS="-lbind $LIBS" 4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3977 cat >conftest.$ac_ext <<_ACEOF 3978 /* confdefs.h. */ 3979 _ACEOF 3980 cat confdefs.h >>conftest.$ac_ext 3981 cat >>conftest.$ac_ext <<_ACEOF 4279 3982 /* end confdefs.h. */ 4280 3983 … … 4294 3997 } 4295 3998 _ACEOF 4296 if ac_fn_c_try_link "$LINENO"; then : 3999 rm -f conftest.$ac_objext conftest$ac_exeext 4000 if { (ac_try="$ac_link" 4001 case "(($ac_try" in 4002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4003 *) ac_try_echo=$ac_try;; 4004 esac 4005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4006 $as_echo "$ac_try_echo") >&5 4007 (eval "$ac_link") 2>conftest.er1 4008 ac_status=$? 4009 grep -v '^ *+' conftest.er1 >conftest.err 4010 rm -f conftest.er1 4011 cat conftest.err >&5 4012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4013 (exit $ac_status); } && { 4014 test -z "$ac_c_werror_flag" || 4015 test ! -s conftest.err 4016 } && test -s conftest$ac_exeext && { 4017 test "$cross_compiling" = yes || 4018 $as_test_x conftest$ac_exeext 4019 }; then 4297 4020 ac_cv_lib_bind_inet_ntoa=yes 4298 4021 else 4299 ac_cv_lib_bind_inet_ntoa=no 4300 fi 4301 rm -f core conftest.err conftest.$ac_objext \ 4302 conftest$ac_exeext conftest.$ac_ext 4022 $as_echo "$as_me: failed program was:" >&5 4023 sed 's/^/| /' conftest.$ac_ext >&5 4024 4025 ac_cv_lib_bind_inet_ntoa=no 4026 fi 4027 4028 rm -rf conftest.dSYM 4029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4030 conftest$ac_exeext conftest.$ac_ext 4303 4031 LIBS=$ac_check_lib_save_LIBS 4304 4032 fi 4305 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&54033 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5 4306 4034 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 4307 if test "x$ac_cv_lib_bind_inet_ntoa" = x yes; then :4035 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then 4308 4036 LIBS="$LIBS -lbind -lsocket" 4309 4037 fi … … 4343 4071 HP-UX-*.11.*) 4344 4072 # Use updated header definitions where possible 4345 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 4073 cat >>confdefs.h <<\_ACEOF 4074 #define _XOPEN_SOURCE 1 4075 _ACEOF 4346 4076 # Use the XOPEN network library 4347 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 4077 cat >>confdefs.h <<\_ACEOF 4078 #define _XOPEN_SOURCE_EXTENDED 1 4079 _ACEOF 4348 4080 # Use the XOPEN network library 4349 4081 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 4354 4086 SHLIB_SUFFIX=".sl" 4355 4087 fi 4356 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for shl_load in -ldld" >&54088 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 4357 4089 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4358 if ${ac_cv_lib_dld_shl_load+:} false; then :4090 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4359 4091 $as_echo_n "(cached) " >&6 4360 4092 else 4361 4093 ac_check_lib_save_LIBS=$LIBS 4362 4094 LIBS="-ldld $LIBS" 4363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4095 cat >conftest.$ac_ext <<_ACEOF 4096 /* confdefs.h. */ 4097 _ACEOF 4098 cat confdefs.h >>conftest.$ac_ext 4099 cat >>conftest.$ac_ext <<_ACEOF 4364 4100 /* end confdefs.h. */ 4365 4101 … … 4379 4115 } 4380 4116 _ACEOF 4381 if ac_fn_c_try_link "$LINENO"; then : 4117 rm -f conftest.$ac_objext conftest$ac_exeext 4118 if { (ac_try="$ac_link" 4119 case "(($ac_try" in 4120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4121 *) ac_try_echo=$ac_try;; 4122 esac 4123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4124 $as_echo "$ac_try_echo") >&5 4125 (eval "$ac_link") 2>conftest.er1 4126 ac_status=$? 4127 grep -v '^ *+' conftest.er1 >conftest.err 4128 rm -f conftest.er1 4129 cat conftest.err >&5 4130 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4131 (exit $ac_status); } && { 4132 test -z "$ac_c_werror_flag" || 4133 test ! -s conftest.err 4134 } && test -s conftest$ac_exeext && { 4135 test "$cross_compiling" = yes || 4136 $as_test_x conftest$ac_exeext 4137 }; then 4382 4138 ac_cv_lib_dld_shl_load=yes 4383 4139 else 4384 ac_cv_lib_dld_shl_load=no 4385 fi 4386 rm -f core conftest.err conftest.$ac_objext \ 4387 conftest$ac_exeext conftest.$ac_ext 4140 $as_echo "$as_me: failed program was:" >&5 4141 sed 's/^/| /' conftest.$ac_ext >&5 4142 4143 ac_cv_lib_dld_shl_load=no 4144 fi 4145 4146 rm -rf conftest.dSYM 4147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4148 conftest$ac_exeext conftest.$ac_ext 4388 4149 LIBS=$ac_check_lib_save_LIBS 4389 4150 fi 4390 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&54151 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 4391 4152 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4392 if test "x$ac_cv_lib_dld_shl_load" = x yes; then :4153 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 4393 4154 tcl_ok=yes 4394 4155 else … … 4430 4191 ;; 4431 4192 *) 4432 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&54193 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 4433 4194 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4434 4195 ;; … … 4443 4204 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 4444 4205 SHLIB_SUFFIX=".sl" 4445 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for shl_load in -ldld" >&54206 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 4446 4207 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4447 if ${ac_cv_lib_dld_shl_load+:} false; then :4208 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4448 4209 $as_echo_n "(cached) " >&6 4449 4210 else 4450 4211 ac_check_lib_save_LIBS=$LIBS 4451 4212 LIBS="-ldld $LIBS" 4452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4213 cat >conftest.$ac_ext <<_ACEOF 4214 /* confdefs.h. */ 4215 _ACEOF 4216 cat confdefs.h >>conftest.$ac_ext 4217 cat >>conftest.$ac_ext <<_ACEOF 4453 4218 /* end confdefs.h. */ 4454 4219 … … 4468 4233 } 4469 4234 _ACEOF 4470 if ac_fn_c_try_link "$LINENO"; then : 4235 rm -f conftest.$ac_objext conftest$ac_exeext 4236 if { (ac_try="$ac_link" 4237 case "(($ac_try" in 4238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4239 *) ac_try_echo=$ac_try;; 4240 esac 4241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4242 $as_echo "$ac_try_echo") >&5 4243 (eval "$ac_link") 2>conftest.er1 4244 ac_status=$? 4245 grep -v '^ *+' conftest.er1 >conftest.err 4246 rm -f conftest.er1 4247 cat conftest.err >&5 4248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4249 (exit $ac_status); } && { 4250 test -z "$ac_c_werror_flag" || 4251 test ! -s conftest.err 4252 } && test -s conftest$ac_exeext && { 4253 test "$cross_compiling" = yes || 4254 $as_test_x conftest$ac_exeext 4255 }; then 4471 4256 ac_cv_lib_dld_shl_load=yes 4472 4257 else 4473 ac_cv_lib_dld_shl_load=no 4474 fi 4475 rm -f core conftest.err conftest.$ac_objext \ 4476 conftest$ac_exeext conftest.$ac_ext 4258 $as_echo "$as_me: failed program was:" >&5 4259 sed 's/^/| /' conftest.$ac_ext >&5 4260 4261 ac_cv_lib_dld_shl_load=no 4262 fi 4263 4264 rm -rf conftest.dSYM 4265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4266 conftest$ac_exeext conftest.$ac_ext 4477 4267 LIBS=$ac_check_lib_save_LIBS 4478 4268 fi 4479 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&54269 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 4480 4270 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4481 if test "x$ac_cv_lib_dld_shl_load" = x yes; then :4271 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 4482 4272 tcl_ok=yes 4483 4273 else … … 4558 4348 if test "$do64bit" = "yes" ; then 4559 4349 if test "$GCC" = "yes" ; then 4560 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&54350 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5 4561 4351 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 4562 4352 else … … 4587 4377 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4588 4378 else 4589 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4590 if test "x$ac_cv_header_dld_h" = xyes; then : 4379 if test "${ac_cv_header_dld_h+set}" = set; then 4380 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4381 $as_echo_n "checking for dld.h... " >&6; } 4382 if test "${ac_cv_header_dld_h+set}" = set; then 4383 $as_echo_n "(cached) " >&6 4384 fi 4385 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4386 $as_echo "$ac_cv_header_dld_h" >&6; } 4387 else 4388 # Is the header compilable? 4389 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4390 $as_echo_n "checking dld.h usability... " >&6; } 4391 cat >conftest.$ac_ext <<_ACEOF 4392 /* confdefs.h. */ 4393 _ACEOF 4394 cat confdefs.h >>conftest.$ac_ext 4395 cat >>conftest.$ac_ext <<_ACEOF 4396 /* end confdefs.h. */ 4397 $ac_includes_default 4398 #include <dld.h> 4399 _ACEOF 4400 rm -f conftest.$ac_objext 4401 if { (ac_try="$ac_compile" 4402 case "(($ac_try" in 4403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4404 *) ac_try_echo=$ac_try;; 4405 esac 4406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4407 $as_echo "$ac_try_echo") >&5 4408 (eval "$ac_compile") 2>conftest.er1 4409 ac_status=$? 4410 grep -v '^ *+' conftest.er1 >conftest.err 4411 rm -f conftest.er1 4412 cat conftest.err >&5 4413 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4414 (exit $ac_status); } && { 4415 test -z "$ac_c_werror_flag" || 4416 test ! -s conftest.err 4417 } && test -s conftest.$ac_objext; then 4418 ac_header_compiler=yes 4419 else 4420 $as_echo "$as_me: failed program was:" >&5 4421 sed 's/^/| /' conftest.$ac_ext >&5 4422 4423 ac_header_compiler=no 4424 fi 4425 4426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4427 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4428 $as_echo "$ac_header_compiler" >&6; } 4429 4430 # Is the header present? 4431 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4432 $as_echo_n "checking dld.h presence... " >&6; } 4433 cat >conftest.$ac_ext <<_ACEOF 4434 /* confdefs.h. */ 4435 _ACEOF 4436 cat confdefs.h >>conftest.$ac_ext 4437 cat >>conftest.$ac_ext <<_ACEOF 4438 /* end confdefs.h. */ 4439 #include <dld.h> 4440 _ACEOF 4441 if { (ac_try="$ac_cpp conftest.$ac_ext" 4442 case "(($ac_try" in 4443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4444 *) ac_try_echo=$ac_try;; 4445 esac 4446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4447 $as_echo "$ac_try_echo") >&5 4448 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4449 ac_status=$? 4450 grep -v '^ *+' conftest.er1 >conftest.err 4451 rm -f conftest.er1 4452 cat conftest.err >&5 4453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4454 (exit $ac_status); } >/dev/null && { 4455 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4456 test ! -s conftest.err 4457 }; then 4458 ac_header_preproc=yes 4459 else 4460 $as_echo "$as_me: failed program was:" >&5 4461 sed 's/^/| /' conftest.$ac_ext >&5 4462 4463 ac_header_preproc=no 4464 fi 4465 4466 rm -f conftest.err conftest.$ac_ext 4467 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4468 $as_echo "$ac_header_preproc" >&6; } 4469 4470 # So? What about this header? 4471 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4472 yes:no: ) 4473 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4474 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4475 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4476 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4477 ac_header_preproc=yes 4478 ;; 4479 no:yes:* ) 4480 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4481 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4482 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4483 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4484 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4485 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4486 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4487 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4488 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4489 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4490 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4491 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4492 ( cat <<\_ASBOX 4493 ## ----------------------------------- ## 4494 ## Report this to rappture@nanohub.org ## 4495 ## ----------------------------------- ## 4496 _ASBOX 4497 ) | sed "s/^/$as_me: WARNING: /" >&2 4498 ;; 4499 esac 4500 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4501 $as_echo_n "checking for dld.h... " >&6; } 4502 if test "${ac_cv_header_dld_h+set}" = set; then 4503 $as_echo_n "(cached) " >&6 4504 else 4505 ac_cv_header_dld_h=$ac_header_preproc 4506 fi 4507 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4508 $as_echo "$ac_cv_header_dld_h" >&6; } 4509 4510 fi 4511 if test "x$ac_cv_header_dld_h" = x""yes; then 4591 4512 4592 4513 SHLIB_LD="ld -shared" … … 4603 4524 fi 4604 4525 if test $do64bit = yes; then 4605 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&54526 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5 4606 4527 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 4607 if ${tcl_cv_cc_m64+:} false; then :4528 if test "${tcl_cv_cc_m64+set}" = set; then 4608 4529 $as_echo_n "(cached) " >&6 4609 4530 else … … 4611 4532 hold_cflags=$CFLAGS 4612 4533 CFLAGS="$CFLAGS -m64" 4613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4534 cat >conftest.$ac_ext <<_ACEOF 4535 /* confdefs.h. */ 4536 _ACEOF 4537 cat confdefs.h >>conftest.$ac_ext 4538 cat >>conftest.$ac_ext <<_ACEOF 4614 4539 /* end confdefs.h. */ 4615 4540 … … 4622 4547 } 4623 4548 _ACEOF 4624 if ac_fn_c_try_link "$LINENO"; then : 4549 rm -f conftest.$ac_objext conftest$ac_exeext 4550 if { (ac_try="$ac_link" 4551 case "(($ac_try" in 4552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4553 *) ac_try_echo=$ac_try;; 4554 esac 4555 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4556 $as_echo "$ac_try_echo") >&5 4557 (eval "$ac_link") 2>conftest.er1 4558 ac_status=$? 4559 grep -v '^ *+' conftest.er1 >conftest.err 4560 rm -f conftest.er1 4561 cat conftest.err >&5 4562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4563 (exit $ac_status); } && { 4564 test -z "$ac_c_werror_flag" || 4565 test ! -s conftest.err 4566 } && test -s conftest$ac_exeext && { 4567 test "$cross_compiling" = yes || 4568 $as_test_x conftest$ac_exeext 4569 }; then 4625 4570 tcl_cv_cc_m64=yes 4626 4571 else 4627 tcl_cv_cc_m64=no 4628 fi 4629 rm -f core conftest.err conftest.$ac_objext \ 4630 conftest$ac_exeext conftest.$ac_ext 4572 $as_echo "$as_me: failed program was:" >&5 4573 sed 's/^/| /' conftest.$ac_ext >&5 4574 4575 tcl_cv_cc_m64=no 4576 fi 4577 4578 rm -rf conftest.dSYM 4579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4580 conftest$ac_exeext conftest.$ac_ext 4631 4581 CFLAGS=$hold_cflags 4632 4582 fi 4633 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&54583 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5 4634 4584 $as_echo "$tcl_cv_cc_m64" >&6; } 4635 4585 if test $tcl_cv_cc_m64 = yes; then … … 4651 4601 4652 4602 # XIM peeking works under XFree86. 4653 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 4603 cat >>confdefs.h <<\_ACEOF 4604 #define PEEK_XCLOSEIM 1 4605 _ACEOF 4654 4606 4655 4607 … … 4668 4620 LD_SEARCH_FLAGS="" 4669 4621 else 4670 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4671 if test "x$ac_cv_header_dld_h" = xyes; then : 4622 if test "${ac_cv_header_dld_h+set}" = set; then 4623 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4624 $as_echo_n "checking for dld.h... " >&6; } 4625 if test "${ac_cv_header_dld_h+set}" = set; then 4626 $as_echo_n "(cached) " >&6 4627 fi 4628 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4629 $as_echo "$ac_cv_header_dld_h" >&6; } 4630 else 4631 # Is the header compilable? 4632 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4633 $as_echo_n "checking dld.h usability... " >&6; } 4634 cat >conftest.$ac_ext <<_ACEOF 4635 /* confdefs.h. */ 4636 _ACEOF 4637 cat confdefs.h >>conftest.$ac_ext 4638 cat >>conftest.$ac_ext <<_ACEOF 4639 /* end confdefs.h. */ 4640 $ac_includes_default 4641 #include <dld.h> 4642 _ACEOF 4643 rm -f conftest.$ac_objext 4644 if { (ac_try="$ac_compile" 4645 case "(($ac_try" in 4646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4647 *) ac_try_echo=$ac_try;; 4648 esac 4649 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4650 $as_echo "$ac_try_echo") >&5 4651 (eval "$ac_compile") 2>conftest.er1 4652 ac_status=$? 4653 grep -v '^ *+' conftest.er1 >conftest.err 4654 rm -f conftest.er1 4655 cat conftest.err >&5 4656 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4657 (exit $ac_status); } && { 4658 test -z "$ac_c_werror_flag" || 4659 test ! -s conftest.err 4660 } && test -s conftest.$ac_objext; then 4661 ac_header_compiler=yes 4662 else 4663 $as_echo "$as_me: failed program was:" >&5 4664 sed 's/^/| /' conftest.$ac_ext >&5 4665 4666 ac_header_compiler=no 4667 fi 4668 4669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4670 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4671 $as_echo "$ac_header_compiler" >&6; } 4672 4673 # Is the header present? 4674 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4675 $as_echo_n "checking dld.h presence... " >&6; } 4676 cat >conftest.$ac_ext <<_ACEOF 4677 /* confdefs.h. */ 4678 _ACEOF 4679 cat confdefs.h >>conftest.$ac_ext 4680 cat >>conftest.$ac_ext <<_ACEOF 4681 /* end confdefs.h. */ 4682 #include <dld.h> 4683 _ACEOF 4684 if { (ac_try="$ac_cpp conftest.$ac_ext" 4685 case "(($ac_try" in 4686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4687 *) ac_try_echo=$ac_try;; 4688 esac 4689 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4690 $as_echo "$ac_try_echo") >&5 4691 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4692 ac_status=$? 4693 grep -v '^ *+' conftest.er1 >conftest.err 4694 rm -f conftest.er1 4695 cat conftest.err >&5 4696 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4697 (exit $ac_status); } >/dev/null && { 4698 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4699 test ! -s conftest.err 4700 }; then 4701 ac_header_preproc=yes 4702 else 4703 $as_echo "$as_me: failed program was:" >&5 4704 sed 's/^/| /' conftest.$ac_ext >&5 4705 4706 ac_header_preproc=no 4707 fi 4708 4709 rm -f conftest.err conftest.$ac_ext 4710 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4711 $as_echo "$ac_header_preproc" >&6; } 4712 4713 # So? What about this header? 4714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4715 yes:no: ) 4716 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4717 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4718 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4719 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4720 ac_header_preproc=yes 4721 ;; 4722 no:yes:* ) 4723 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4724 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4725 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4726 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4727 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4728 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4729 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4730 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4731 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4732 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4733 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4734 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4735 ( cat <<\_ASBOX 4736 ## ----------------------------------- ## 4737 ## Report this to rappture@nanohub.org ## 4738 ## ----------------------------------- ## 4739 _ASBOX 4740 ) | sed "s/^/$as_me: WARNING: /" >&2 4741 ;; 4742 esac 4743 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4744 $as_echo_n "checking for dld.h... " >&6; } 4745 if test "${ac_cv_header_dld_h+set}" = set; then 4746 $as_echo_n "(cached) " >&6 4747 else 4748 ac_cv_header_dld_h=$ac_header_preproc 4749 fi 4750 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4751 $as_echo "$ac_cv_header_dld_h" >&6; } 4752 4753 fi 4754 if test "x$ac_cv_header_dld_h" = x""yes; then 4672 4755 4673 4756 SHLIB_LD="ld -shared" … … 4719 4802 NetBSD-*|FreeBSD-[1-2].*) 4720 4803 # Not available on all versions: check for include file. 4721 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 4722 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 4804 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4805 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 4806 $as_echo_n "checking for dlfcn.h... " >&6; } 4807 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4808 $as_echo_n "(cached) " >&6 4809 fi 4810 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 4811 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 4812 else 4813 # Is the header compilable? 4814 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 4815 $as_echo_n "checking dlfcn.h usability... " >&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 $ac_includes_default 4823 #include <dlfcn.h> 4824 _ACEOF 4825 rm -f conftest.$ac_objext 4826 if { (ac_try="$ac_compile" 4827 case "(($ac_try" in 4828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4829 *) ac_try_echo=$ac_try;; 4830 esac 4831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4832 $as_echo "$ac_try_echo") >&5 4833 (eval "$ac_compile") 2>conftest.er1 4834 ac_status=$? 4835 grep -v '^ *+' conftest.er1 >conftest.err 4836 rm -f conftest.er1 4837 cat conftest.err >&5 4838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4839 (exit $ac_status); } && { 4840 test -z "$ac_c_werror_flag" || 4841 test ! -s conftest.err 4842 } && test -s conftest.$ac_objext; then 4843 ac_header_compiler=yes 4844 else 4845 $as_echo "$as_me: failed program was:" >&5 4846 sed 's/^/| /' conftest.$ac_ext >&5 4847 4848 ac_header_compiler=no 4849 fi 4850 4851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4852 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4853 $as_echo "$ac_header_compiler" >&6; } 4854 4855 # Is the header present? 4856 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 4857 $as_echo_n "checking dlfcn.h presence... " >&6; } 4858 cat >conftest.$ac_ext <<_ACEOF 4859 /* confdefs.h. */ 4860 _ACEOF 4861 cat confdefs.h >>conftest.$ac_ext 4862 cat >>conftest.$ac_ext <<_ACEOF 4863 /* end confdefs.h. */ 4864 #include <dlfcn.h> 4865 _ACEOF 4866 if { (ac_try="$ac_cpp conftest.$ac_ext" 4867 case "(($ac_try" in 4868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4869 *) ac_try_echo=$ac_try;; 4870 esac 4871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4872 $as_echo "$ac_try_echo") >&5 4873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4874 ac_status=$? 4875 grep -v '^ *+' conftest.er1 >conftest.err 4876 rm -f conftest.er1 4877 cat conftest.err >&5 4878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4879 (exit $ac_status); } >/dev/null && { 4880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4881 test ! -s conftest.err 4882 }; then 4883 ac_header_preproc=yes 4884 else 4885 $as_echo "$as_me: failed program was:" >&5 4886 sed 's/^/| /' conftest.$ac_ext >&5 4887 4888 ac_header_preproc=no 4889 fi 4890 4891 rm -f conftest.err conftest.$ac_ext 4892 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4893 $as_echo "$ac_header_preproc" >&6; } 4894 4895 # So? What about this header? 4896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4897 yes:no: ) 4898 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 4899 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4900 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 4901 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 4902 ac_header_preproc=yes 4903 ;; 4904 no:yes:* ) 4905 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 4906 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 4907 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 4908 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 4909 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 4910 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 4911 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 4912 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 4913 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 4914 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 4915 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 4916 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 4917 ( cat <<\_ASBOX 4918 ## ----------------------------------- ## 4919 ## Report this to rappture@nanohub.org ## 4920 ## ----------------------------------- ## 4921 _ASBOX 4922 ) | sed "s/^/$as_me: WARNING: /" >&2 4923 ;; 4924 esac 4925 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 4926 $as_echo_n "checking for dlfcn.h... " >&6; } 4927 if test "${ac_cv_header_dlfcn_h+set}" = set; then 4928 $as_echo_n "(cached) " >&6 4929 else 4930 ac_cv_header_dlfcn_h=$ac_header_preproc 4931 fi 4932 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 4933 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 4934 4935 fi 4936 if test "x$ac_cv_header_dlfcn_h" = x""yes; then 4723 4937 4724 4938 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 4731 4945 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4732 4946 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 4733 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ELF" >&54947 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 4734 4948 $as_echo_n "checking for ELF... " >&6; } 4735 if ${tcl_cv_ld_elf+:} false; then :4949 if test "${tcl_cv_ld_elf+set}" = set; then 4736 4950 $as_echo_n "(cached) " >&6 4737 4951 else 4738 4952 4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4953 cat >conftest.$ac_ext <<_ACEOF 4954 /* confdefs.h. */ 4955 _ACEOF 4956 cat confdefs.h >>conftest.$ac_ext 4957 cat >>conftest.$ac_ext <<_ACEOF 4740 4958 /* end confdefs.h. */ 4741 4959 … … 4746 4964 _ACEOF 4747 4965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4748 $EGREP "yes" >/dev/null 2>&1; then :4966 $EGREP "yes" >/dev/null 2>&1; then 4749 4967 tcl_cv_ld_elf=yes 4750 4968 else … … 4754 4972 4755 4973 fi 4756 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&54974 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 4757 4975 $as_echo "$tcl_cv_ld_elf" >&6; } 4758 4976 if test $tcl_cv_ld_elf = yes; then … … 4813 5031 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4814 5032 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 4815 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ELF" >&55033 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 4816 5034 $as_echo_n "checking for ELF... " >&6; } 4817 if ${tcl_cv_ld_elf+:} false; then :5035 if test "${tcl_cv_ld_elf+set}" = set; then 4818 5036 $as_echo_n "(cached) " >&6 4819 5037 else 4820 5038 4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5039 cat >conftest.$ac_ext <<_ACEOF 5040 /* confdefs.h. */ 5041 _ACEOF 5042 cat confdefs.h >>conftest.$ac_ext 5043 cat >>conftest.$ac_ext <<_ACEOF 4822 5044 /* end confdefs.h. */ 4823 5045 … … 4828 5050 _ACEOF 4829 5051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4830 $EGREP "yes" >/dev/null 2>&1; then :5052 $EGREP "yes" >/dev/null 2>&1; then 4831 5053 tcl_cv_ld_elf=yes 4832 5054 else … … 4836 5058 4837 5059 fi 4838 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&55060 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 4839 5061 $as_echo "$tcl_cv_ld_elf" >&6; } 4840 5062 if test $tcl_cv_ld_elf = yes; then … … 4891 5113 case `arch` in 4892 5114 ppc) 4893 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&55115 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5 4894 5116 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 4895 if ${tcl_cv_cc_arch_ppc64+:} false; then :5117 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then 4896 5118 $as_echo_n "(cached) " >&6 4897 5119 else … … 4899 5121 hold_cflags=$CFLAGS 4900 5122 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 4901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5123 cat >conftest.$ac_ext <<_ACEOF 5124 /* confdefs.h. */ 5125 _ACEOF 5126 cat confdefs.h >>conftest.$ac_ext 5127 cat >>conftest.$ac_ext <<_ACEOF 4902 5128 /* end confdefs.h. */ 4903 5129 … … 4910 5136 } 4911 5137 _ACEOF 4912 if ac_fn_c_try_link "$LINENO"; then : 5138 rm -f conftest.$ac_objext conftest$ac_exeext 5139 if { (ac_try="$ac_link" 5140 case "(($ac_try" in 5141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5142 *) ac_try_echo=$ac_try;; 5143 esac 5144 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5145 $as_echo "$ac_try_echo") >&5 5146 (eval "$ac_link") 2>conftest.er1 5147 ac_status=$? 5148 grep -v '^ *+' conftest.er1 >conftest.err 5149 rm -f conftest.er1 5150 cat conftest.err >&5 5151 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5152 (exit $ac_status); } && { 5153 test -z "$ac_c_werror_flag" || 5154 test ! -s conftest.err 5155 } && test -s conftest$ac_exeext && { 5156 test "$cross_compiling" = yes || 5157 $as_test_x conftest$ac_exeext 5158 }; then 4913 5159 tcl_cv_cc_arch_ppc64=yes 4914 5160 else 4915 tcl_cv_cc_arch_ppc64=no 4916 fi 4917 rm -f core conftest.err conftest.$ac_objext \ 4918 conftest$ac_exeext conftest.$ac_ext 5161 $as_echo "$as_me: failed program was:" >&5 5162 sed 's/^/| /' conftest.$ac_ext >&5 5163 5164 tcl_cv_cc_arch_ppc64=no 5165 fi 5166 5167 rm -rf conftest.dSYM 5168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5169 conftest$ac_exeext conftest.$ac_ext 4919 5170 CFLAGS=$hold_cflags 4920 5171 fi 4921 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&55172 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5 4922 5173 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 4923 5174 if test $tcl_cv_cc_arch_ppc64 = yes; then … … 4926 5177 fi;; 4927 5178 i386) 4928 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&55179 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5 4929 5180 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 4930 if ${tcl_cv_cc_arch_x86_64+:} false; then :5181 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then 4931 5182 $as_echo_n "(cached) " >&6 4932 5183 else … … 4934 5185 hold_cflags=$CFLAGS 4935 5186 CFLAGS="$CFLAGS -arch x86_64" 4936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5187 cat >conftest.$ac_ext <<_ACEOF 5188 /* confdefs.h. */ 5189 _ACEOF 5190 cat confdefs.h >>conftest.$ac_ext 5191 cat >>conftest.$ac_ext <<_ACEOF 4937 5192 /* end confdefs.h. */ 4938 5193 … … 4945 5200 } 4946 5201 _ACEOF 4947 if ac_fn_c_try_link "$LINENO"; then : 5202 rm -f conftest.$ac_objext conftest$ac_exeext 5203 if { (ac_try="$ac_link" 5204 case "(($ac_try" in 5205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5206 *) ac_try_echo=$ac_try;; 5207 esac 5208 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5209 $as_echo "$ac_try_echo") >&5 5210 (eval "$ac_link") 2>conftest.er1 5211 ac_status=$? 5212 grep -v '^ *+' conftest.er1 >conftest.err 5213 rm -f conftest.er1 5214 cat conftest.err >&5 5215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5216 (exit $ac_status); } && { 5217 test -z "$ac_c_werror_flag" || 5218 test ! -s conftest.err 5219 } && test -s conftest$ac_exeext && { 5220 test "$cross_compiling" = yes || 5221 $as_test_x conftest$ac_exeext 5222 }; then 4948 5223 tcl_cv_cc_arch_x86_64=yes 4949 5224 else 4950 tcl_cv_cc_arch_x86_64=no 4951 fi 4952 rm -f core conftest.err conftest.$ac_objext \ 4953 conftest$ac_exeext conftest.$ac_ext 5225 $as_echo "$as_me: failed program was:" >&5 5226 sed 's/^/| /' conftest.$ac_ext >&5 5227 5228 tcl_cv_cc_arch_x86_64=no 5229 fi 5230 5231 rm -rf conftest.dSYM 5232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5233 conftest$ac_exeext conftest.$ac_ext 4954 5234 CFLAGS=$hold_cflags 4955 5235 fi 4956 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&55236 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5 4957 5237 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 4958 5238 if test $tcl_cv_cc_arch_x86_64 = yes; then … … 4961 5241 fi;; 4962 5242 *) 4963 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&55243 { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 4964 5244 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 4965 5245 esac … … 4971 5251 fi 4972 5252 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 4973 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&55253 { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5 4974 5254 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 4975 if ${tcl_cv_ld_single_module+:} false; then :5255 if test "${tcl_cv_ld_single_module+set}" = set; then 4976 5256 $as_echo_n "(cached) " >&6 4977 5257 else … … 4979 5259 hold_ldflags=$LDFLAGS 4980 5260 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 4981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5261 cat >conftest.$ac_ext <<_ACEOF 5262 /* confdefs.h. */ 5263 _ACEOF 5264 cat confdefs.h >>conftest.$ac_ext 5265 cat >>conftest.$ac_ext <<_ACEOF 4982 5266 /* end confdefs.h. */ 4983 5267 … … 4990 5274 } 4991 5275 _ACEOF 4992 if ac_fn_c_try_link "$LINENO"; then : 5276 rm -f conftest.$ac_objext conftest$ac_exeext 5277 if { (ac_try="$ac_link" 5278 case "(($ac_try" in 5279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5280 *) ac_try_echo=$ac_try;; 5281 esac 5282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5283 $as_echo "$ac_try_echo") >&5 5284 (eval "$ac_link") 2>conftest.er1 5285 ac_status=$? 5286 grep -v '^ *+' conftest.er1 >conftest.err 5287 rm -f conftest.er1 5288 cat conftest.err >&5 5289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5290 (exit $ac_status); } && { 5291 test -z "$ac_c_werror_flag" || 5292 test ! -s conftest.err 5293 } && test -s conftest$ac_exeext && { 5294 test "$cross_compiling" = yes || 5295 $as_test_x conftest$ac_exeext 5296 }; then 4993 5297 tcl_cv_ld_single_module=yes 4994 5298 else 4995 tcl_cv_ld_single_module=no 4996 fi 4997 rm -f core conftest.err conftest.$ac_objext \ 4998 conftest$ac_exeext conftest.$ac_ext 5299 $as_echo "$as_me: failed program was:" >&5 5300 sed 's/^/| /' conftest.$ac_ext >&5 5301 5302 tcl_cv_ld_single_module=no 5303 fi 5304 5305 rm -rf conftest.dSYM 5306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5307 conftest$ac_exeext conftest.$ac_ext 4999 5308 LDFLAGS=$hold_ldflags 5000 5309 fi 5001 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&55310 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5 5002 5311 $as_echo "$tcl_cv_ld_single_module" >&6; } 5003 5312 if test $tcl_cv_ld_single_module = yes; then … … 5013 5322 LDFLAGS="$LDFLAGS -prebind" 5014 5323 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 5015 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&55324 { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5 5016 5325 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 5017 if ${tcl_cv_ld_search_paths_first+:} false; then :5326 if test "${tcl_cv_ld_search_paths_first+set}" = set; then 5018 5327 $as_echo_n "(cached) " >&6 5019 5328 else … … 5021 5330 hold_ldflags=$LDFLAGS 5022 5331 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5332 cat >conftest.$ac_ext <<_ACEOF 5333 /* confdefs.h. */ 5334 _ACEOF 5335 cat confdefs.h >>conftest.$ac_ext 5336 cat >>conftest.$ac_ext <<_ACEOF 5024 5337 /* end confdefs.h. */ 5025 5338 … … 5032 5345 } 5033 5346 _ACEOF 5034 if ac_fn_c_try_link "$LINENO"; then : 5347 rm -f conftest.$ac_objext conftest$ac_exeext 5348 if { (ac_try="$ac_link" 5349 case "(($ac_try" in 5350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5351 *) ac_try_echo=$ac_try;; 5352 esac 5353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5354 $as_echo "$ac_try_echo") >&5 5355 (eval "$ac_link") 2>conftest.er1 5356 ac_status=$? 5357 grep -v '^ *+' conftest.er1 >conftest.err 5358 rm -f conftest.er1 5359 cat conftest.err >&5 5360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5361 (exit $ac_status); } && { 5362 test -z "$ac_c_werror_flag" || 5363 test ! -s conftest.err 5364 } && test -s conftest$ac_exeext && { 5365 test "$cross_compiling" = yes || 5366 $as_test_x conftest$ac_exeext 5367 }; then 5035 5368 tcl_cv_ld_search_paths_first=yes 5036 5369 else 5037 tcl_cv_ld_search_paths_first=no 5038 fi 5039 rm -f core conftest.err conftest.$ac_objext \ 5040 conftest$ac_exeext conftest.$ac_ext 5370 $as_echo "$as_me: failed program was:" >&5 5371 sed 's/^/| /' conftest.$ac_ext >&5 5372 5373 tcl_cv_ld_search_paths_first=no 5374 fi 5375 5376 rm -rf conftest.dSYM 5377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5378 conftest$ac_exeext conftest.$ac_ext 5041 5379 LDFLAGS=$hold_ldflags 5042 5380 fi 5043 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&55381 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5 5044 5382 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 5045 5383 if test $tcl_cv_ld_search_paths_first = yes; then … … 5051 5389 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 5052 5390 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 5053 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether to use CoreFoundation" >&55391 { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5 5054 5392 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 5055 5393 # Check whether --enable-corefoundation was given. 5056 if test "${enable_corefoundation+set}" = set; then :5394 if test "${enable_corefoundation+set}" = set; then 5057 5395 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 5058 5396 else … … 5060 5398 fi 5061 5399 5062 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_corefoundation" >&55400 { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5 5063 5401 $as_echo "$tcl_corefoundation" >&6; } 5064 5402 if test $tcl_corefoundation = yes; then 5065 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for CoreFoundation.framework" >&55403 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5 5066 5404 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 5067 if ${tcl_cv_lib_corefoundation+:} false; then :5405 if test "${tcl_cv_lib_corefoundation+set}" = set; then 5068 5406 $as_echo_n "(cached) " >&6 5069 5407 else … … 5077 5415 done; fi 5078 5416 LIBS="$LIBS -framework CoreFoundation" 5079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5417 cat >conftest.$ac_ext <<_ACEOF 5418 /* confdefs.h. */ 5419 _ACEOF 5420 cat confdefs.h >>conftest.$ac_ext 5421 cat >>conftest.$ac_ext <<_ACEOF 5080 5422 /* end confdefs.h. */ 5081 5423 #include <CoreFoundation/CoreFoundation.h> … … 5088 5430 } 5089 5431 _ACEOF 5090 if ac_fn_c_try_link "$LINENO"; then : 5432 rm -f conftest.$ac_objext conftest$ac_exeext 5433 if { (ac_try="$ac_link" 5434 case "(($ac_try" in 5435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5436 *) ac_try_echo=$ac_try;; 5437 esac 5438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5439 $as_echo "$ac_try_echo") >&5 5440 (eval "$ac_link") 2>conftest.er1 5441 ac_status=$? 5442 grep -v '^ *+' conftest.er1 >conftest.err 5443 rm -f conftest.er1 5444 cat conftest.err >&5 5445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5446 (exit $ac_status); } && { 5447 test -z "$ac_c_werror_flag" || 5448 test ! -s conftest.err 5449 } && test -s conftest$ac_exeext && { 5450 test "$cross_compiling" = yes || 5451 $as_test_x conftest$ac_exeext 5452 }; then 5091 5453 tcl_cv_lib_corefoundation=yes 5092 5454 else 5093 tcl_cv_lib_corefoundation=no 5094 fi 5095 rm -f core conftest.err conftest.$ac_objext \ 5096 conftest$ac_exeext conftest.$ac_ext 5455 $as_echo "$as_me: failed program was:" >&5 5456 sed 's/^/| /' conftest.$ac_ext >&5 5457 5458 tcl_cv_lib_corefoundation=no 5459 fi 5460 5461 rm -rf conftest.dSYM 5462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5463 conftest$ac_exeext conftest.$ac_ext 5097 5464 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 5098 5465 eval $v'="$hold_'$v'"' 5099 5466 done; fi; LIBS=$hold_libs 5100 5467 fi 5101 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&55468 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5 5102 5469 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 5103 5470 if test $tcl_cv_lib_corefoundation = yes; then 5104 5471 LIBS="$LIBS -framework CoreFoundation" 5105 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 5472 cat >>confdefs.h <<\_ACEOF 5473 #define HAVE_COREFOUNDATION 1 5474 _ACEOF 5106 5475 5107 5476 else … … 5109 5478 fi 5110 5479 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 5111 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&55480 { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5 5112 5481 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 5113 if ${tcl_cv_lib_corefoundation_64+:} false; then :5482 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then 5114 5483 $as_echo_n "(cached) " >&6 5115 5484 else … … 5118 5487 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 5119 5488 done 5120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5489 cat >conftest.$ac_ext <<_ACEOF 5490 /* confdefs.h. */ 5491 _ACEOF 5492 cat confdefs.h >>conftest.$ac_ext 5493 cat >>conftest.$ac_ext <<_ACEOF 5121 5494 /* end confdefs.h. */ 5122 5495 #include <CoreFoundation/CoreFoundation.h> … … 5129 5502 } 5130 5503 _ACEOF 5131 if ac_fn_c_try_link "$LINENO"; then : 5504 rm -f conftest.$ac_objext conftest$ac_exeext 5505 if { (ac_try="$ac_link" 5506 case "(($ac_try" in 5507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5508 *) ac_try_echo=$ac_try;; 5509 esac 5510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5511 $as_echo "$ac_try_echo") >&5 5512 (eval "$ac_link") 2>conftest.er1 5513 ac_status=$? 5514 grep -v '^ *+' conftest.er1 >conftest.err 5515 rm -f conftest.er1 5516 cat conftest.err >&5 5517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5518 (exit $ac_status); } && { 5519 test -z "$ac_c_werror_flag" || 5520 test ! -s conftest.err 5521 } && test -s conftest$ac_exeext && { 5522 test "$cross_compiling" = yes || 5523 $as_test_x conftest$ac_exeext 5524 }; then 5132 5525 tcl_cv_lib_corefoundation_64=yes 5133 5526 else 5134 tcl_cv_lib_corefoundation_64=no 5135 fi 5136 rm -f core conftest.err conftest.$ac_objext \ 5137 conftest$ac_exeext conftest.$ac_ext 5527 $as_echo "$as_me: failed program was:" >&5 5528 sed 's/^/| /' conftest.$ac_ext >&5 5529 5530 tcl_cv_lib_corefoundation_64=no 5531 fi 5532 5533 rm -rf conftest.dSYM 5534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5535 conftest$ac_exeext conftest.$ac_ext 5138 5536 for v in CFLAGS CPPFLAGS LDFLAGS; do 5139 5537 eval $v'="$hold_'$v'"' 5140 5538 done 5141 5539 fi 5142 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&55540 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5 5143 5541 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 5144 5542 if test $tcl_cv_lib_corefoundation_64 = no; then 5145 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 5543 cat >>confdefs.h <<\_ACEOF 5544 #define NO_COREFOUNDATION_64 1 5545 _ACEOF 5146 5546 5147 5547 fi 5148 5548 fi 5149 5549 fi 5150 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 5550 cat >>confdefs.h <<\_ACEOF 5551 #define MAC_OSX_TCL 1 5552 _ACEOF 5151 5553 5152 5554 ;; … … 5163 5565 OS/390-*) 5164 5566 CFLAGS_OPTIMIZE="" # Optimizer is buggy 5165 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 5567 cat >>confdefs.h <<\_ACEOF 5568 #define _OE_SOCKETS 1 5569 _ACEOF 5166 5570 # needed in sys/socket.h 5167 5571 ;; … … 5304 5708 # won't define thread-safe library routines. 5305 5709 5306 $as_echo "#define _REENTRANT 1" >>confdefs.h 5307 5308 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5710 cat >>confdefs.h <<\_ACEOF 5711 #define _REENTRANT 1 5712 _ACEOF 5713 5714 cat >>confdefs.h <<\_ACEOF 5715 #define _POSIX_PTHREAD_SEMANTICS 1 5716 _ACEOF 5309 5717 5310 5718 … … 5332 5740 # won't define thread-safe library routines. 5333 5741 5334 $as_echo "#define _REENTRANT 1" >>confdefs.h 5335 5336 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5742 cat >>confdefs.h <<\_ACEOF 5743 #define _REENTRANT 1 5744 _ACEOF 5745 5746 cat >>confdefs.h <<\_ACEOF 5747 #define _POSIX_PTHREAD_SEMANTICS 1 5748 _ACEOF 5337 5749 5338 5750 … … 5345 5757 if test "$GCC" = "yes" ; then 5346 5758 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 5347 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&55759 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 5348 5760 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 5349 5761 else … … 5367 5779 elif test "$arch" = "amd64 i386" ; then 5368 5780 if test "$GCC" = "yes" ; then 5369 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&55781 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 5370 5782 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 5371 5783 else … … 5375 5787 fi 5376 5788 else 5377 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&55789 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5 5378 5790 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 5379 5791 fi … … 5434 5846 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 5435 5847 # that don't grok the -Bexport option. Test that it does. 5436 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&55848 { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5 5437 5849 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 5438 if ${tcl_cv_ld_Bexport+:} false; then :5850 if test "${tcl_cv_ld_Bexport+set}" = set; then 5439 5851 $as_echo_n "(cached) " >&6 5440 5852 else … … 5442 5854 hold_ldflags=$LDFLAGS 5443 5855 LDFLAGS="$LDFLAGS -Wl,-Bexport" 5444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5856 cat >conftest.$ac_ext <<_ACEOF 5857 /* confdefs.h. */ 5858 _ACEOF 5859 cat confdefs.h >>conftest.$ac_ext 5860 cat >>conftest.$ac_ext <<_ACEOF 5445 5861 /* end confdefs.h. */ 5446 5862 … … 5453 5869 } 5454 5870 _ACEOF 5455 if ac_fn_c_try_link "$LINENO"; then : 5871 rm -f conftest.$ac_objext conftest$ac_exeext 5872 if { (ac_try="$ac_link" 5873 case "(($ac_try" in 5874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5875 *) ac_try_echo=$ac_try;; 5876 esac 5877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5878 $as_echo "$ac_try_echo") >&5 5879 (eval "$ac_link") 2>conftest.er1 5880 ac_status=$? 5881 grep -v '^ *+' conftest.er1 >conftest.err 5882 rm -f conftest.er1 5883 cat conftest.err >&5 5884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5885 (exit $ac_status); } && { 5886 test -z "$ac_c_werror_flag" || 5887 test ! -s conftest.err 5888 } && test -s conftest$ac_exeext && { 5889 test "$cross_compiling" = yes || 5890 $as_test_x conftest$ac_exeext 5891 }; then 5456 5892 tcl_cv_ld_Bexport=yes 5457 5893 else 5458 tcl_cv_ld_Bexport=no 5459 fi 5460 rm -f core conftest.err conftest.$ac_objext \ 5461 conftest$ac_exeext conftest.$ac_ext 5894 $as_echo "$as_me: failed program was:" >&5 5895 sed 's/^/| /' conftest.$ac_ext >&5 5896 5897 tcl_cv_ld_Bexport=no 5898 fi 5899 5900 rm -rf conftest.dSYM 5901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5902 conftest$ac_exeext conftest.$ac_ext 5462 5903 LDFLAGS=$hold_ldflags 5463 5904 fi 5464 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&55905 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5 5465 5906 $as_echo "$tcl_cv_ld_Bexport" >&6; } 5466 5907 if test $tcl_cv_ld_Bexport = yes; then … … 5473 5914 5474 5915 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 5475 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&55916 { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 5476 5917 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 5477 5918 fi … … 5500 5941 5501 5942 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 5502 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking sys/exec.h" >&55943 { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5 5503 5944 $as_echo_n "checking sys/exec.h... " >&6; } 5504 if ${tcl_cv_sysexec_h+:} false; then :5945 if test "${tcl_cv_sysexec_h+set}" = set; then 5505 5946 $as_echo_n "(cached) " >&6 5506 5947 else 5507 5948 5508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5949 cat >conftest.$ac_ext <<_ACEOF 5950 /* confdefs.h. */ 5951 _ACEOF 5952 cat confdefs.h >>conftest.$ac_ext 5953 cat >>conftest.$ac_ext <<_ACEOF 5509 5954 /* end confdefs.h. */ 5510 5955 #include <sys/exec.h> … … 5528 5973 } 5529 5974 _ACEOF 5530 if ac_fn_c_try_compile "$LINENO"; then : 5975 rm -f conftest.$ac_objext 5976 if { (ac_try="$ac_compile" 5977 case "(($ac_try" in 5978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5979 *) ac_try_echo=$ac_try;; 5980 esac 5981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5982 $as_echo "$ac_try_echo") >&5 5983 (eval "$ac_compile") 2>conftest.er1 5984 ac_status=$? 5985 grep -v '^ *+' conftest.er1 >conftest.err 5986 rm -f conftest.er1 5987 cat conftest.err >&5 5988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5989 (exit $ac_status); } && { 5990 test -z "$ac_c_werror_flag" || 5991 test ! -s conftest.err 5992 } && test -s conftest.$ac_objext; then 5531 5993 tcl_cv_sysexec_h=usable 5532 5994 else 5533 tcl_cv_sysexec_h=unusable 5534 fi 5995 $as_echo "$as_me: failed program was:" >&5 5996 sed 's/^/| /' conftest.$ac_ext >&5 5997 5998 tcl_cv_sysexec_h=unusable 5999 fi 6000 5535 6001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5536 6002 fi 5537 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&56003 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5 5538 6004 $as_echo "$tcl_cv_sysexec_h" >&6; } 5539 6005 if test $tcl_cv_sysexec_h = usable; then 5540 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 6006 cat >>confdefs.h <<\_ACEOF 6007 #define USE_SYS_EXEC_H 1 6008 _ACEOF 5541 6009 5542 6010 else 5543 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking a.out.h" >&56011 { $as_echo "$as_me:$LINENO: checking a.out.h" >&5 5544 6012 $as_echo_n "checking a.out.h... " >&6; } 5545 if ${tcl_cv_aout_h+:} false; then :6013 if test "${tcl_cv_aout_h+set}" = set; then 5546 6014 $as_echo_n "(cached) " >&6 5547 6015 else 5548 6016 5549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6017 cat >conftest.$ac_ext <<_ACEOF 6018 /* confdefs.h. */ 6019 _ACEOF 6020 cat confdefs.h >>conftest.$ac_ext 6021 cat >>conftest.$ac_ext <<_ACEOF 5550 6022 /* end confdefs.h. */ 5551 6023 #include <a.out.h> … … 5569 6041 } 5570 6042 _ACEOF 5571 if ac_fn_c_try_compile "$LINENO"; then : 6043 rm -f conftest.$ac_objext 6044 if { (ac_try="$ac_compile" 6045 case "(($ac_try" in 6046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6047 *) ac_try_echo=$ac_try;; 6048 esac 6049 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6050 $as_echo "$ac_try_echo") >&5 6051 (eval "$ac_compile") 2>conftest.er1 6052 ac_status=$? 6053 grep -v '^ *+' conftest.er1 >conftest.err 6054 rm -f conftest.er1 6055 cat conftest.err >&5 6056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6057 (exit $ac_status); } && { 6058 test -z "$ac_c_werror_flag" || 6059 test ! -s conftest.err 6060 } && test -s conftest.$ac_objext; then 5572 6061 tcl_cv_aout_h=usable 5573 6062 else 5574 tcl_cv_aout_h=unusable 5575 fi 6063 $as_echo "$as_me: failed program was:" >&5 6064 sed 's/^/| /' conftest.$ac_ext >&5 6065 6066 tcl_cv_aout_h=unusable 6067 fi 6068 5576 6069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5577 6070 fi 5578 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&56071 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5 5579 6072 $as_echo "$tcl_cv_aout_h" >&6; } 5580 6073 if test $tcl_cv_aout_h = usable; then 5581 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 6074 cat >>confdefs.h <<\_ACEOF 6075 #define USE_A_OUT_H 1 6076 _ACEOF 5582 6077 5583 6078 else 5584 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking sys/exec_aout.h" >&56079 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 5585 6080 $as_echo_n "checking sys/exec_aout.h... " >&6; } 5586 if ${tcl_cv_sysexecaout_h+:} false; then :6081 if test "${tcl_cv_sysexecaout_h+set}" = set; then 5587 6082 $as_echo_n "(cached) " >&6 5588 6083 else 5589 6084 5590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6085 cat >conftest.$ac_ext <<_ACEOF 6086 /* confdefs.h. */ 6087 _ACEOF 6088 cat confdefs.h >>conftest.$ac_ext 6089 cat >>conftest.$ac_ext <<_ACEOF 5591 6090 /* end confdefs.h. */ 5592 6091 #include <sys/exec_aout.h> … … 5610 6109 } 5611 6110 _ACEOF 5612 if ac_fn_c_try_compile "$LINENO"; then : 6111 rm -f conftest.$ac_objext 6112 if { (ac_try="$ac_compile" 6113 case "(($ac_try" in 6114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6115 *) ac_try_echo=$ac_try;; 6116 esac 6117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6118 $as_echo "$ac_try_echo") >&5 6119 (eval "$ac_compile") 2>conftest.er1 6120 ac_status=$? 6121 grep -v '^ *+' conftest.er1 >conftest.err 6122 rm -f conftest.er1 6123 cat conftest.err >&5 6124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6125 (exit $ac_status); } && { 6126 test -z "$ac_c_werror_flag" || 6127 test ! -s conftest.err 6128 } && test -s conftest.$ac_objext; then 5613 6129 tcl_cv_sysexecaout_h=usable 5614 6130 else 5615 tcl_cv_sysexecaout_h=unusable 5616 fi 6131 $as_echo "$as_me: failed program was:" >&5 6132 sed 's/^/| /' conftest.$ac_ext >&5 6133 6134 tcl_cv_sysexecaout_h=unusable 6135 fi 6136 5617 6137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5618 6138 fi 5619 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&56139 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5 5620 6140 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 5621 6141 if test $tcl_cv_sysexecaout_h = usable; then 5622 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 6142 cat >>confdefs.h <<\_ACEOF 6143 #define USE_SYS_EXEC_AOUT_H 1 6144 _ACEOF 5623 6145 5624 6146 else … … 5632 6154 5633 6155 # Check whether --enable-load was given. 5634 if test "${enable_load+set}" = set; then :6156 if test "${enable_load+set}" = set; then 5635 6157 enableval=$enable_load; tcl_ok=$enableval 5636 6158 else … … 5762 6284 5763 6285 5764 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for X" >&56286 { $as_echo "$as_me:$LINENO: checking for X" >&5 5765 6287 $as_echo_n "checking for X... " >&6; } 5766 6288 5767 6289 5768 6290 # Check whether --with-x was given. 5769 if test "${with_x+set}" = set; then :6291 if test "${with_x+set}" = set; then 5770 6292 withval=$with_x; 5771 6293 fi … … 5777 6299 else 5778 6300 case $x_includes,$x_libraries in #( 5779 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 5780 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 6301 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5 6302 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;} 6303 { (exit 1); exit 1; }; };; #( 6304 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 5781 6305 $as_echo_n "(cached) " >&6 5782 6306 else … … 5795 6319 _ACEOF 5796 6320 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 5797 # GNU make sometimes prints "make[1]: Entering 6321 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 5798 6322 for ac_var in incroot usrlibdir libdir; do 5799 6323 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" … … 5826 6350 ac_x_header_dirs=' 5827 6351 /usr/X11/include 5828 /usr/X11R7/include5829 6352 /usr/X11R6/include 5830 6353 /usr/X11R5/include … … 5832 6355 5833 6356 /usr/include/X11 5834 /usr/include/X11R75835 6357 /usr/include/X11R6 5836 6358 /usr/include/X11R5 … … 5838 6360 5839 6361 /usr/local/X11/include 5840 /usr/local/X11R7/include5841 6362 /usr/local/X11R6/include 5842 6363 /usr/local/X11R5/include … … 5844 6365 5845 6366 /usr/local/include/X11 5846 /usr/local/include/X11R75847 6367 /usr/local/include/X11R6 5848 6368 /usr/local/include/X11R5 … … 5866 6386 # Guess where to find include files, by looking for Xlib.h. 5867 6387 # First, try using that file with no special directory specified. 5868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6388 cat >conftest.$ac_ext <<_ACEOF 6389 /* confdefs.h. */ 6390 _ACEOF 6391 cat confdefs.h >>conftest.$ac_ext 6392 cat >>conftest.$ac_ext <<_ACEOF 5869 6393 /* end confdefs.h. */ 5870 6394 #include <X11/Xlib.h> 5871 6395 _ACEOF 5872 if ac_fn_c_try_cpp "$LINENO"; then : 6396 if { (ac_try="$ac_cpp conftest.$ac_ext" 6397 case "(($ac_try" in 6398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6399 *) ac_try_echo=$ac_try;; 6400 esac 6401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6402 $as_echo "$ac_try_echo") >&5 6403 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6404 ac_status=$? 6405 grep -v '^ *+' conftest.er1 >conftest.err 6406 rm -f conftest.er1 6407 cat conftest.err >&5 6408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6409 (exit $ac_status); } >/dev/null && { 6410 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6411 test ! -s conftest.err 6412 }; then 5873 6413 # We can compile using X headers with no special include directory. 5874 6414 ac_x_includes= 5875 6415 else 6416 $as_echo "$as_me: failed program was:" >&5 6417 sed 's/^/| /' conftest.$ac_ext >&5 6418 5876 6419 for ac_dir in $ac_x_header_dirs; do 5877 6420 if test -r "$ac_dir/X11/Xlib.h"; then … … 5881 6424 done 5882 6425 fi 5883 rm -f conftest.err conftest.i conftest.$ac_ext 6426 6427 rm -f conftest.err conftest.$ac_ext 5884 6428 fi # $ac_x_includes = no 5885 6429 … … 5890 6434 ac_save_LIBS=$LIBS 5891 6435 LIBS="-lX11 $LIBS" 5892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6436 cat >conftest.$ac_ext <<_ACEOF 6437 /* confdefs.h. */ 6438 _ACEOF 6439 cat confdefs.h >>conftest.$ac_ext 6440 cat >>conftest.$ac_ext <<_ACEOF 5893 6441 /* end confdefs.h. */ 5894 6442 #include <X11/Xlib.h> … … 5901 6449 } 5902 6450 _ACEOF 5903 if ac_fn_c_try_link "$LINENO"; then : 6451 rm -f conftest.$ac_objext conftest$ac_exeext 6452 if { (ac_try="$ac_link" 6453 case "(($ac_try" in 6454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6455 *) ac_try_echo=$ac_try;; 6456 esac 6457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6458 $as_echo "$ac_try_echo") >&5 6459 (eval "$ac_link") 2>conftest.er1 6460 ac_status=$? 6461 grep -v '^ *+' conftest.er1 >conftest.err 6462 rm -f conftest.er1 6463 cat conftest.err >&5 6464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6465 (exit $ac_status); } && { 6466 test -z "$ac_c_werror_flag" || 6467 test ! -s conftest.err 6468 } && test -s conftest$ac_exeext && { 6469 test "$cross_compiling" = yes || 6470 $as_test_x conftest$ac_exeext 6471 }; then 5904 6472 LIBS=$ac_save_LIBS 5905 6473 # We can link X programs with no special library path. 5906 6474 ac_x_libraries= 5907 6475 else 5908 LIBS=$ac_save_LIBS 6476 $as_echo "$as_me: failed program was:" >&5 6477 sed 's/^/| /' conftest.$ac_ext >&5 6478 6479 LIBS=$ac_save_LIBS 5909 6480 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 5910 6481 do … … 5918 6489 done 5919 6490 fi 5920 rm -f core conftest.err conftest.$ac_objext \ 5921 conftest$ac_exeext conftest.$ac_ext 6491 6492 rm -rf conftest.dSYM 6493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6494 conftest$ac_exeext conftest.$ac_ext 5922 6495 fi # $ac_x_libraries = no 5923 6496 … … 5940 6513 5941 6514 if test "$have_x" != yes; then 5942 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $have_x" >&56515 { $as_echo "$as_me:$LINENO: result: $have_x" >&5 5943 6516 $as_echo "$have_x" >&6; } 5944 6517 no_x=yes … … 5951 6524 ac_x_includes='$x_includes'\ 5952 6525 ac_x_libraries='$x_libraries'" 5953 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&56526 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 5954 6527 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } 5955 6528 fi … … 5973 6546 done 5974 6547 if test -z "$ac_aux_dir"; then 5975 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 6548 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 6549 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 6550 { (exit 1); exit 1; }; } 5976 6551 fi 5977 6552 … … 5999 6574 # ./install, which can be erroneously created by make from ./install.sh. 6000 6575 # Reject install programs that cannot install multiple files. 6001 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a BSD-compatible install" >&56576 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6002 6577 $as_echo_n "checking for a BSD-compatible install... " >&6; } 6003 6578 if test -z "$INSTALL"; then 6004 if ${ac_cv_path_install+:} false; then :6579 if test "${ac_cv_path_install+set}" = set; then 6005 6580 $as_echo_n "(cached) " >&6 6006 6581 else … … 6010 6585 IFS=$as_save_IFS 6011 6586 test -z "$as_dir" && as_dir=. 6012 6013 case $as_dir/ in #((6014 ./ | .// | / [cC]/* | \6587 # Account for people who put trailing slashes in PATH elements. 6588 case $as_dir/ in 6589 ./ | .// | /cC/* | \ 6015 6590 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6016 ?: [\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \6591 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 6017 6592 /usr/ucb/* ) ;; 6018 6593 *) … … 6051 6626 esac 6052 6627 6053 6628 done 6054 6629 IFS=$as_save_IFS 6055 6630 … … 6067 6642 fi 6068 6643 fi 6069 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $INSTALL" >&56644 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 6070 6645 $as_echo "$INSTALL" >&6; } 6071 6646 … … 6081 6656 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6082 6657 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6083 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56658 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6084 6659 $as_echo_n "checking for $ac_word... " >&6; } 6085 if ${ac_cv_prog_RANLIB+:} false; then :6660 if test "${ac_cv_prog_RANLIB+set}" = set; then 6086 6661 $as_echo_n "(cached) " >&6 6087 6662 else … … 6094 6669 IFS=$as_save_IFS 6095 6670 test -z "$as_dir" && as_dir=. 6096 6671 for ac_exec_ext in '' $ac_executable_extensions; do 6097 6672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6098 6673 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6099 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56674 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6100 6675 break 2 6101 6676 fi 6102 6677 done 6103 6678 done 6104 6679 IFS=$as_save_IFS 6105 6680 … … 6108 6683 RANLIB=$ac_cv_prog_RANLIB 6109 6684 if test -n "$RANLIB"; then 6110 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&56685 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 6111 6686 $as_echo "$RANLIB" >&6; } 6112 6687 else 6113 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&56688 { $as_echo "$as_me:$LINENO: result: no" >&5 6114 6689 $as_echo "no" >&6; } 6115 6690 fi … … 6121 6696 # Extract the first word of "ranlib", so it can be a program name with args. 6122 6697 set dummy ranlib; ac_word=$2 6123 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56698 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6124 6699 $as_echo_n "checking for $ac_word... " >&6; } 6125 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :6700 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 6126 6701 $as_echo_n "(cached) " >&6 6127 6702 else … … 6134 6709 IFS=$as_save_IFS 6135 6710 test -z "$as_dir" && as_dir=. 6136 6711 for ac_exec_ext in '' $ac_executable_extensions; do 6137 6712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6138 6713 ac_cv_prog_ac_ct_RANLIB="ranlib" 6139 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56714 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6140 6715 break 2 6141 6716 fi 6142 6717 done 6143 6718 done 6144 6719 IFS=$as_save_IFS 6145 6720 … … 6148 6723 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6149 6724 if test -n "$ac_ct_RANLIB"; then 6150 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&56725 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 6151 6726 $as_echo "$ac_ct_RANLIB" >&6; } 6152 6727 else 6153 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&56728 { $as_echo "$as_me:$LINENO: result: no" >&5 6154 6729 $as_echo "no" >&6; } 6155 6730 fi … … 6160 6735 case $cross_compiling:$ac_tool_warned in 6161 6736 yes:) 6162 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&56737 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6163 6738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6164 6739 ac_tool_warned=yes ;; … … 6170 6745 fi 6171 6746 6172 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether ln -s works" >&56747 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 6173 6748 $as_echo_n "checking whether ln -s works... " >&6; } 6174 6749 LN_S=$as_ln_s 6175 6750 if test "$LN_S" = "ln -s"; then 6176 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&56751 { $as_echo "$as_me:$LINENO: result: yes" >&5 6177 6752 $as_echo "yes" >&6; } 6178 6753 else 6179 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no, using $LN_S" >&56754 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 6180 6755 $as_echo "no, using $LN_S" >&6; } 6181 6756 fi 6182 6757 6183 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&56758 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 6184 6759 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 6185 6760 if test -z "$MKDIR_P"; then 6186 if ${ac_cv_path_mkdir+:} false; then :6761 if test "${ac_cv_path_mkdir+set}" = set; then 6187 6762 $as_echo_n "(cached) " >&6 6188 6763 else … … 6192 6767 IFS=$as_save_IFS 6193 6768 test -z "$as_dir" && as_dir=. 6194 6769 for ac_prog in mkdir gmkdir; do 6195 6770 for ac_exec_ext in '' $ac_executable_extensions; do 6196 6771 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 6204 6779 done 6205 6780 done 6206 6781 done 6207 6782 IFS=$as_save_IFS 6208 6783 6209 6784 fi 6210 6785 6211 test -d ./--version && rmdir ./--version6212 6786 if test "${ac_cv_path_mkdir+set}" = set; then 6213 6787 MKDIR_P="$ac_cv_path_mkdir -p" … … 6217 6791 # break other packages using the cache if that directory is 6218 6792 # removed, or if the value is a relative name. 6793 test -d ./--version && rmdir ./--version 6219 6794 MKDIR_P="$ac_install_sh -d" 6220 6795 fi 6221 6796 fi 6222 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $MKDIR_P" >&56797 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 6223 6798 $as_echo "$MKDIR_P" >&6; } 6224 6799 … … 6232 6807 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 6233 6808 set dummy ${ac_tool_prefix}gcc; ac_word=$2 6234 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56809 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6235 6810 $as_echo_n "checking for $ac_word... " >&6; } 6236 if ${ac_cv_prog_CC+:} false; then :6811 if test "${ac_cv_prog_CC+set}" = set; then 6237 6812 $as_echo_n "(cached) " >&6 6238 6813 else … … 6245 6820 IFS=$as_save_IFS 6246 6821 test -z "$as_dir" && as_dir=. 6247 6822 for ac_exec_ext in '' $ac_executable_extensions; do 6248 6823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6249 6824 ac_cv_prog_CC="${ac_tool_prefix}gcc" 6250 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56825 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6251 6826 break 2 6252 6827 fi 6253 6828 done 6254 6829 done 6255 6830 IFS=$as_save_IFS 6256 6831 … … 6259 6834 CC=$ac_cv_prog_CC 6260 6835 if test -n "$CC"; then 6261 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&56836 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6262 6837 $as_echo "$CC" >&6; } 6263 6838 else 6264 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&56839 { $as_echo "$as_me:$LINENO: result: no" >&5 6265 6840 $as_echo "no" >&6; } 6266 6841 fi … … 6272 6847 # Extract the first word of "gcc", so it can be a program name with args. 6273 6848 set dummy gcc; ac_word=$2 6274 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56849 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6275 6850 $as_echo_n "checking for $ac_word... " >&6; } 6276 if ${ac_cv_prog_ac_ct_CC+:} false; then :6851 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6277 6852 $as_echo_n "(cached) " >&6 6278 6853 else … … 6285 6860 IFS=$as_save_IFS 6286 6861 test -z "$as_dir" && as_dir=. 6287 6862 for ac_exec_ext in '' $ac_executable_extensions; do 6288 6863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6289 6864 ac_cv_prog_ac_ct_CC="gcc" 6290 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56865 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6291 6866 break 2 6292 6867 fi 6293 6868 done 6294 6869 done 6295 6870 IFS=$as_save_IFS 6296 6871 … … 6299 6874 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6300 6875 if test -n "$ac_ct_CC"; then 6301 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&56876 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 6302 6877 $as_echo "$ac_ct_CC" >&6; } 6303 6878 else 6304 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&56879 { $as_echo "$as_me:$LINENO: result: no" >&5 6305 6880 $as_echo "no" >&6; } 6306 6881 fi … … 6311 6886 case $cross_compiling:$ac_tool_warned in 6312 6887 yes:) 6313 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&56888 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6314 6889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6315 6890 ac_tool_warned=yes ;; … … 6325 6900 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 6326 6901 set dummy ${ac_tool_prefix}cc; ac_word=$2 6327 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56902 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6328 6903 $as_echo_n "checking for $ac_word... " >&6; } 6329 if ${ac_cv_prog_CC+:} false; then :6904 if test "${ac_cv_prog_CC+set}" = set; then 6330 6905 $as_echo_n "(cached) " >&6 6331 6906 else … … 6338 6913 IFS=$as_save_IFS 6339 6914 test -z "$as_dir" && as_dir=. 6340 6915 for ac_exec_ext in '' $ac_executable_extensions; do 6341 6916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6342 6917 ac_cv_prog_CC="${ac_tool_prefix}cc" 6343 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56918 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6344 6919 break 2 6345 6920 fi 6346 6921 done 6347 6922 done 6348 6923 IFS=$as_save_IFS 6349 6924 … … 6352 6927 CC=$ac_cv_prog_CC 6353 6928 if test -n "$CC"; then 6354 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&56929 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6355 6930 $as_echo "$CC" >&6; } 6356 6931 else 6357 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&56932 { $as_echo "$as_me:$LINENO: result: no" >&5 6358 6933 $as_echo "no" >&6; } 6359 6934 fi … … 6365 6940 # Extract the first word of "cc", so it can be a program name with args. 6366 6941 set dummy cc; ac_word=$2 6367 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56942 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6368 6943 $as_echo_n "checking for $ac_word... " >&6; } 6369 if ${ac_cv_prog_CC+:} false; then :6944 if test "${ac_cv_prog_CC+set}" = set; then 6370 6945 $as_echo_n "(cached) " >&6 6371 6946 else … … 6379 6954 IFS=$as_save_IFS 6380 6955 test -z "$as_dir" && as_dir=. 6381 6956 for ac_exec_ext in '' $ac_executable_extensions; do 6382 6957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6383 6958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 6386 6961 fi 6387 6962 ac_cv_prog_CC="cc" 6388 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56963 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6389 6964 break 2 6390 6965 fi 6391 6966 done 6392 6967 done 6393 6968 IFS=$as_save_IFS 6394 6969 … … 6409 6984 CC=$ac_cv_prog_CC 6410 6985 if test -n "$CC"; then 6411 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&56986 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6412 6987 $as_echo "$CC" >&6; } 6413 6988 else 6414 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&56989 { $as_echo "$as_me:$LINENO: result: no" >&5 6415 6990 $as_echo "no" >&6; } 6416 6991 fi … … 6424 6999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6425 7000 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6426 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57001 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6427 7002 $as_echo_n "checking for $ac_word... " >&6; } 6428 if ${ac_cv_prog_CC+:} false; then :7003 if test "${ac_cv_prog_CC+set}" = set; then 6429 7004 $as_echo_n "(cached) " >&6 6430 7005 else … … 6437 7012 IFS=$as_save_IFS 6438 7013 test -z "$as_dir" && as_dir=. 6439 7014 for ac_exec_ext in '' $ac_executable_extensions; do 6440 7015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6441 7016 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 6442 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57017 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6443 7018 break 2 6444 7019 fi 6445 7020 done 6446 7021 done 6447 7022 IFS=$as_save_IFS 6448 7023 … … 6451 7026 CC=$ac_cv_prog_CC 6452 7027 if test -n "$CC"; then 6453 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&57028 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6454 7029 $as_echo "$CC" >&6; } 6455 7030 else 6456 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57031 { $as_echo "$as_me:$LINENO: result: no" >&5 6457 7032 $as_echo "no" >&6; } 6458 7033 fi … … 6468 7043 # Extract the first word of "$ac_prog", so it can be a program name with args. 6469 7044 set dummy $ac_prog; ac_word=$2 6470 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57045 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6471 7046 $as_echo_n "checking for $ac_word... " >&6; } 6472 if ${ac_cv_prog_ac_ct_CC+:} false; then :7047 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6473 7048 $as_echo_n "(cached) " >&6 6474 7049 else … … 6481 7056 IFS=$as_save_IFS 6482 7057 test -z "$as_dir" && as_dir=. 6483 7058 for ac_exec_ext in '' $ac_executable_extensions; do 6484 7059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6485 7060 ac_cv_prog_ac_ct_CC="$ac_prog" 6486 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57061 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6487 7062 break 2 6488 7063 fi 6489 7064 done 6490 7065 done 6491 7066 IFS=$as_save_IFS 6492 7067 … … 6495 7070 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6496 7071 if test -n "$ac_ct_CC"; then 6497 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&57072 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 6498 7073 $as_echo "$ac_ct_CC" >&6; } 6499 7074 else 6500 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57075 { $as_echo "$as_me:$LINENO: result: no" >&5 6501 7076 $as_echo "no" >&6; } 6502 7077 fi … … 6511 7086 case $cross_compiling:$ac_tool_warned in 6512 7087 yes:) 6513 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57088 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6514 7089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6515 7090 ac_tool_warned=yes ;; … … 6522 7097 6523 7098 6524 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&57099 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 6525 7100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6526 as_fn_error $? "no acceptable C compiler found in \$PATH 6527 See \`config.log' for more details" "$LINENO" 5; } 7101 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 7102 See \`config.log' for more details." >&5 7103 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 7104 See \`config.log' for more details." >&2;} 7105 { (exit 1); exit 1; }; }; } 6528 7106 6529 7107 # Provide some information about the compiler. 6530 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&57108 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 6531 7109 set X $ac_compile 6532 7110 ac_compiler=$2 6533 for ac_option in --version -v -V -qversion; do 6534 { { ac_try="$ac_compiler $ac_option >&5" 7111 { (ac_try="$ac_compiler --version >&5" 6535 7112 case "(($ac_try" in 6536 7113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6537 7114 *) ac_try_echo=$ac_try;; 6538 7115 esac 6539 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""6540 $as_echo "$ac_try_echo" ; }>&56541 (eval "$ac_compiler $ac_option >&5") 2>conftest.err7116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7117 $as_echo "$ac_try_echo") >&5 7118 (eval "$ac_compiler --version >&5") 2>&5 6542 7119 ac_status=$? 6543 if test -s conftest.err; then 6544 sed '10a\ 6545 ... rest of stderr output deleted ... 6546 10q' conftest.err >conftest.er1 6547 cat conftest.er1 >&5 6548 fi 6549 rm -f conftest.er1 conftest.err 6550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6551 test $ac_status = 0; } 6552 done 6553 6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 7120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7121 (exit $ac_status); } 7122 { (ac_try="$ac_compiler -v >&5" 7123 case "(($ac_try" in 7124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7125 *) ac_try_echo=$ac_try;; 7126 esac 7127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7128 $as_echo "$ac_try_echo") >&5 7129 (eval "$ac_compiler -v >&5") 2>&5 7130 ac_status=$? 7131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7132 (exit $ac_status); } 7133 { (ac_try="$ac_compiler -V >&5" 7134 case "(($ac_try" in 7135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7136 *) ac_try_echo=$ac_try;; 7137 esac 7138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7139 $as_echo "$ac_try_echo") >&5 7140 (eval "$ac_compiler -V >&5") 2>&5 7141 ac_status=$? 7142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7143 (exit $ac_status); } 7144 7145 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 6555 7146 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 6556 if ${ac_cv_c_compiler_gnu+:} false; then :7147 if test "${ac_cv_c_compiler_gnu+set}" = set; then 6557 7148 $as_echo_n "(cached) " >&6 6558 7149 else 6559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7150 cat >conftest.$ac_ext <<_ACEOF 7151 /* confdefs.h. */ 7152 _ACEOF 7153 cat confdefs.h >>conftest.$ac_ext 7154 cat >>conftest.$ac_ext <<_ACEOF 6560 7155 /* end confdefs.h. */ 6561 7156 … … 6571 7166 } 6572 7167 _ACEOF 6573 if ac_fn_c_try_compile "$LINENO"; then : 7168 rm -f conftest.$ac_objext 7169 if { (ac_try="$ac_compile" 7170 case "(($ac_try" in 7171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7172 *) ac_try_echo=$ac_try;; 7173 esac 7174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7175 $as_echo "$ac_try_echo") >&5 7176 (eval "$ac_compile") 2>conftest.er1 7177 ac_status=$? 7178 grep -v '^ *+' conftest.er1 >conftest.err 7179 rm -f conftest.er1 7180 cat conftest.err >&5 7181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7182 (exit $ac_status); } && { 7183 test -z "$ac_c_werror_flag" || 7184 test ! -s conftest.err 7185 } && test -s conftest.$ac_objext; then 6574 7186 ac_compiler_gnu=yes 6575 7187 else 6576 ac_compiler_gnu=no 6577 fi 7188 $as_echo "$as_me: failed program was:" >&5 7189 sed 's/^/| /' conftest.$ac_ext >&5 7190 7191 ac_compiler_gnu=no 7192 fi 7193 6578 7194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6579 7195 ac_cv_c_compiler_gnu=$ac_compiler_gnu 6580 7196 6581 7197 fi 6582 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&57198 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 6583 7199 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 6584 7200 if test $ac_compiler_gnu = yes; then … … 6589 7205 ac_test_CFLAGS=${CFLAGS+set} 6590 7206 ac_save_CFLAGS=$CFLAGS 6591 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&57207 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 6592 7208 $as_echo_n "checking whether $CC accepts -g... " >&6; } 6593 if ${ac_cv_prog_cc_g+:} false; then :7209 if test "${ac_cv_prog_cc_g+set}" = set; then 6594 7210 $as_echo_n "(cached) " >&6 6595 7211 else … … 6598 7214 ac_cv_prog_cc_g=no 6599 7215 CFLAGS="-g" 6600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7216 cat >conftest.$ac_ext <<_ACEOF 7217 /* confdefs.h. */ 7218 _ACEOF 7219 cat confdefs.h >>conftest.$ac_ext 7220 cat >>conftest.$ac_ext <<_ACEOF 6601 7221 /* end confdefs.h. */ 6602 7222 … … 6609 7229 } 6610 7230 _ACEOF 6611 if ac_fn_c_try_compile "$LINENO"; then : 7231 rm -f conftest.$ac_objext 7232 if { (ac_try="$ac_compile" 7233 case "(($ac_try" in 7234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7235 *) ac_try_echo=$ac_try;; 7236 esac 7237 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7238 $as_echo "$ac_try_echo") >&5 7239 (eval "$ac_compile") 2>conftest.er1 7240 ac_status=$? 7241 grep -v '^ *+' conftest.er1 >conftest.err 7242 rm -f conftest.er1 7243 cat conftest.err >&5 7244 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7245 (exit $ac_status); } && { 7246 test -z "$ac_c_werror_flag" || 7247 test ! -s conftest.err 7248 } && test -s conftest.$ac_objext; then 6612 7249 ac_cv_prog_cc_g=yes 6613 7250 else 6614 CFLAGS="" 6615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7251 $as_echo "$as_me: failed program was:" >&5 7252 sed 's/^/| /' conftest.$ac_ext >&5 7253 7254 CFLAGS="" 7255 cat >conftest.$ac_ext <<_ACEOF 7256 /* confdefs.h. */ 7257 _ACEOF 7258 cat confdefs.h >>conftest.$ac_ext 7259 cat >>conftest.$ac_ext <<_ACEOF 6616 7260 /* end confdefs.h. */ 6617 7261 … … 6624 7268 } 6625 7269 _ACEOF 6626 if ac_fn_c_try_compile "$LINENO"; then : 6627 6628 else 6629 ac_c_werror_flag=$ac_save_c_werror_flag 7270 rm -f conftest.$ac_objext 7271 if { (ac_try="$ac_compile" 7272 case "(($ac_try" in 7273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7274 *) ac_try_echo=$ac_try;; 7275 esac 7276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7277 $as_echo "$ac_try_echo") >&5 7278 (eval "$ac_compile") 2>conftest.er1 7279 ac_status=$? 7280 grep -v '^ *+' conftest.er1 >conftest.err 7281 rm -f conftest.er1 7282 cat conftest.err >&5 7283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7284 (exit $ac_status); } && { 7285 test -z "$ac_c_werror_flag" || 7286 test ! -s conftest.err 7287 } && test -s conftest.$ac_objext; then 7288 : 7289 else 7290 $as_echo "$as_me: failed program was:" >&5 7291 sed 's/^/| /' conftest.$ac_ext >&5 7292 7293 ac_c_werror_flag=$ac_save_c_werror_flag 6630 7294 CFLAGS="-g" 6631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7295 cat >conftest.$ac_ext <<_ACEOF 7296 /* confdefs.h. */ 7297 _ACEOF 7298 cat confdefs.h >>conftest.$ac_ext 7299 cat >>conftest.$ac_ext <<_ACEOF 6632 7300 /* end confdefs.h. */ 6633 7301 … … 6640 7308 } 6641 7309 _ACEOF 6642 if ac_fn_c_try_compile "$LINENO"; then : 7310 rm -f conftest.$ac_objext 7311 if { (ac_try="$ac_compile" 7312 case "(($ac_try" in 7313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7314 *) ac_try_echo=$ac_try;; 7315 esac 7316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7317 $as_echo "$ac_try_echo") >&5 7318 (eval "$ac_compile") 2>conftest.er1 7319 ac_status=$? 7320 grep -v '^ *+' conftest.er1 >conftest.err 7321 rm -f conftest.er1 7322 cat conftest.err >&5 7323 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7324 (exit $ac_status); } && { 7325 test -z "$ac_c_werror_flag" || 7326 test ! -s conftest.err 7327 } && test -s conftest.$ac_objext; then 6643 7328 ac_cv_prog_cc_g=yes 6644 fi 7329 else 7330 $as_echo "$as_me: failed program was:" >&5 7331 sed 's/^/| /' conftest.$ac_ext >&5 7332 7333 7334 fi 7335 6645 7336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6646 7337 fi 7338 6647 7339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6648 7340 fi 7341 6649 7342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6650 7343 ac_c_werror_flag=$ac_save_c_werror_flag 6651 7344 fi 6652 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&57345 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 6653 7346 $as_echo "$ac_cv_prog_cc_g" >&6; } 6654 7347 if test "$ac_test_CFLAGS" = set; then … … 6667 7360 fi 6668 7361 fi 6669 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&57362 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 6670 7363 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 6671 if ${ac_cv_prog_cc_c89+:} false; then :7364 if test "${ac_cv_prog_cc_c89+set}" = set; then 6672 7365 $as_echo_n "(cached) " >&6 6673 7366 else 6674 7367 ac_cv_prog_cc_c89=no 6675 7368 ac_save_CC=$CC 6676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7369 cat >conftest.$ac_ext <<_ACEOF 7370 /* confdefs.h. */ 7371 _ACEOF 7372 cat confdefs.h >>conftest.$ac_ext 7373 cat >>conftest.$ac_ext <<_ACEOF 6677 7374 /* end confdefs.h. */ 6678 7375 #include <stdarg.h> … … 6731 7428 do 6732 7429 CC="$ac_save_CC $ac_arg" 6733 if ac_fn_c_try_compile "$LINENO"; then : 7430 rm -f conftest.$ac_objext 7431 if { (ac_try="$ac_compile" 7432 case "(($ac_try" in 7433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7434 *) ac_try_echo=$ac_try;; 7435 esac 7436 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7437 $as_echo "$ac_try_echo") >&5 7438 (eval "$ac_compile") 2>conftest.er1 7439 ac_status=$? 7440 grep -v '^ *+' conftest.er1 >conftest.err 7441 rm -f conftest.er1 7442 cat conftest.err >&5 7443 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7444 (exit $ac_status); } && { 7445 test -z "$ac_c_werror_flag" || 7446 test ! -s conftest.err 7447 } && test -s conftest.$ac_objext; then 6734 7448 ac_cv_prog_cc_c89=$ac_arg 6735 fi 7449 else 7450 $as_echo "$as_me: failed program was:" >&5 7451 sed 's/^/| /' conftest.$ac_ext >&5 7452 7453 7454 fi 7455 6736 7456 rm -f core conftest.err conftest.$ac_objext 6737 7457 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 6744 7464 case "x$ac_cv_prog_cc_c89" in 6745 7465 x) 6746 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&57466 { $as_echo "$as_me:$LINENO: result: none needed" >&5 6747 7467 $as_echo "none needed" >&6; } ;; 6748 7468 xno) 6749 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&57469 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 6750 7470 $as_echo "unsupported" >&6; } ;; 6751 7471 *) 6752 7472 CC="$CC $ac_cv_prog_cc_c89" 6753 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&57473 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 6754 7474 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 6755 7475 esac 6756 if test "x$ac_cv_prog_cc_c89" != xno; then : 6757 6758 fi 7476 6759 7477 6760 7478 ac_ext=c … … 6769 7487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6770 7488 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6771 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&57489 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 6772 7490 $as_echo_n "checking how to run the C preprocessor... " >&6; } 6773 7491 # On Suns, sometimes $CPP names a directory. … … 6776 7494 fi 6777 7495 if test -z "$CPP"; then 6778 if ${ac_cv_prog_CPP+:} false; then :7496 if test "${ac_cv_prog_CPP+set}" = set; then 6779 7497 $as_echo_n "(cached) " >&6 6780 7498 else … … 6791 7509 # On the NeXT, cc -E runs the code through the compiler's parser, 6792 7510 # not just through cpp. "Syntax error" is here to catch this case. 6793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7511 cat >conftest.$ac_ext <<_ACEOF 7512 /* confdefs.h. */ 7513 _ACEOF 7514 cat confdefs.h >>conftest.$ac_ext 7515 cat >>conftest.$ac_ext <<_ACEOF 6794 7516 /* end confdefs.h. */ 6795 7517 #ifdef __STDC__ … … 6800 7522 Syntax error 6801 7523 _ACEOF 6802 if ac_fn_c_try_cpp "$LINENO"; then : 6803 6804 else 7524 if { (ac_try="$ac_cpp conftest.$ac_ext" 7525 case "(($ac_try" in 7526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7527 *) ac_try_echo=$ac_try;; 7528 esac 7529 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7530 $as_echo "$ac_try_echo") >&5 7531 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7532 ac_status=$? 7533 grep -v '^ *+' conftest.er1 >conftest.err 7534 rm -f conftest.er1 7535 cat conftest.err >&5 7536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7537 (exit $ac_status); } >/dev/null && { 7538 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7539 test ! -s conftest.err 7540 }; then 7541 : 7542 else 7543 $as_echo "$as_me: failed program was:" >&5 7544 sed 's/^/| /' conftest.$ac_ext >&5 7545 6805 7546 # Broken: fails on valid input. 6806 7547 continue 6807 7548 fi 6808 rm -f conftest.err conftest.i conftest.$ac_ext 7549 7550 rm -f conftest.err conftest.$ac_ext 6809 7551 6810 7552 # OK, works on sane cases. Now check whether nonexistent headers 6811 7553 # can be detected and how. 6812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7554 cat >conftest.$ac_ext <<_ACEOF 7555 /* confdefs.h. */ 7556 _ACEOF 7557 cat confdefs.h >>conftest.$ac_ext 7558 cat >>conftest.$ac_ext <<_ACEOF 6813 7559 /* end confdefs.h. */ 6814 7560 #include <ac_nonexistent.h> 6815 7561 _ACEOF 6816 if ac_fn_c_try_cpp "$LINENO"; then : 7562 if { (ac_try="$ac_cpp conftest.$ac_ext" 7563 case "(($ac_try" in 7564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7565 *) ac_try_echo=$ac_try;; 7566 esac 7567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7568 $as_echo "$ac_try_echo") >&5 7569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7570 ac_status=$? 7571 grep -v '^ *+' conftest.er1 >conftest.err 7572 rm -f conftest.er1 7573 cat conftest.err >&5 7574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7575 (exit $ac_status); } >/dev/null && { 7576 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7577 test ! -s conftest.err 7578 }; then 6817 7579 # Broken: success on invalid input. 6818 7580 continue 6819 7581 else 7582 $as_echo "$as_me: failed program was:" >&5 7583 sed 's/^/| /' conftest.$ac_ext >&5 7584 6820 7585 # Passes both tests. 6821 7586 ac_preproc_ok=: 6822 7587 break 6823 7588 fi 6824 rm -f conftest.err conftest.i conftest.$ac_ext 7589 7590 rm -f conftest.err conftest.$ac_ext 6825 7591 6826 7592 done 6827 7593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6828 rm -f conftest. i conftest.err conftest.$ac_ext6829 if $ac_preproc_ok; then :7594 rm -f conftest.err conftest.$ac_ext 7595 if $ac_preproc_ok; then 6830 7596 break 6831 7597 fi … … 6839 7605 ac_cv_prog_CPP=$CPP 6840 7606 fi 6841 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&57607 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 6842 7608 $as_echo "$CPP" >&6; } 6843 7609 ac_preproc_ok=false … … 6850 7616 # On the NeXT, cc -E runs the code through the compiler's parser, 6851 7617 # not just through cpp. "Syntax error" is here to catch this case. 6852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7618 cat >conftest.$ac_ext <<_ACEOF 7619 /* confdefs.h. */ 7620 _ACEOF 7621 cat confdefs.h >>conftest.$ac_ext 7622 cat >>conftest.$ac_ext <<_ACEOF 6853 7623 /* end confdefs.h. */ 6854 7624 #ifdef __STDC__ … … 6859 7629 Syntax error 6860 7630 _ACEOF 6861 if ac_fn_c_try_cpp "$LINENO"; then : 6862 6863 else 7631 if { (ac_try="$ac_cpp conftest.$ac_ext" 7632 case "(($ac_try" in 7633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7634 *) ac_try_echo=$ac_try;; 7635 esac 7636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7637 $as_echo "$ac_try_echo") >&5 7638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7639 ac_status=$? 7640 grep -v '^ *+' conftest.er1 >conftest.err 7641 rm -f conftest.er1 7642 cat conftest.err >&5 7643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7644 (exit $ac_status); } >/dev/null && { 7645 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7646 test ! -s conftest.err 7647 }; then 7648 : 7649 else 7650 $as_echo "$as_me: failed program was:" >&5 7651 sed 's/^/| /' conftest.$ac_ext >&5 7652 6864 7653 # Broken: fails on valid input. 6865 7654 continue 6866 7655 fi 6867 rm -f conftest.err conftest.i conftest.$ac_ext 7656 7657 rm -f conftest.err conftest.$ac_ext 6868 7658 6869 7659 # OK, works on sane cases. Now check whether nonexistent headers 6870 7660 # can be detected and how. 6871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7661 cat >conftest.$ac_ext <<_ACEOF 7662 /* confdefs.h. */ 7663 _ACEOF 7664 cat confdefs.h >>conftest.$ac_ext 7665 cat >>conftest.$ac_ext <<_ACEOF 6872 7666 /* end confdefs.h. */ 6873 7667 #include <ac_nonexistent.h> 6874 7668 _ACEOF 6875 if ac_fn_c_try_cpp "$LINENO"; then : 7669 if { (ac_try="$ac_cpp conftest.$ac_ext" 7670 case "(($ac_try" in 7671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7672 *) ac_try_echo=$ac_try;; 7673 esac 7674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7675 $as_echo "$ac_try_echo") >&5 7676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7677 ac_status=$? 7678 grep -v '^ *+' conftest.er1 >conftest.err 7679 rm -f conftest.er1 7680 cat conftest.err >&5 7681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7682 (exit $ac_status); } >/dev/null && { 7683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7684 test ! -s conftest.err 7685 }; then 6876 7686 # Broken: success on invalid input. 6877 7687 continue 6878 7688 else 7689 $as_echo "$as_me: failed program was:" >&5 7690 sed 's/^/| /' conftest.$ac_ext >&5 7691 6879 7692 # Passes both tests. 6880 7693 ac_preproc_ok=: 6881 7694 break 6882 7695 fi 6883 rm -f conftest.err conftest.i conftest.$ac_ext 7696 7697 rm -f conftest.err conftest.$ac_ext 6884 7698 6885 7699 done 6886 7700 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6887 rm -f conftest. i conftest.err conftest.$ac_ext6888 if $ac_preproc_ok; then :6889 6890 else 6891 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&57701 rm -f conftest.err conftest.$ac_ext 7702 if $ac_preproc_ok; then 7703 : 7704 else 7705 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 6892 7706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6893 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 6894 See \`config.log' for more details" "$LINENO" 5; } 7707 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 7708 See \`config.log' for more details." >&5 7709 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 7710 See \`config.log' for more details." >&2;} 7711 { (exit 1); exit 1; }; }; } 6895 7712 fi 6896 7713 … … 6915 7732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6916 7733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6917 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57734 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6918 7735 $as_echo_n "checking for $ac_word... " >&6; } 6919 if ${ac_cv_prog_CXX+:} false; then :7736 if test "${ac_cv_prog_CXX+set}" = set; then 6920 7737 $as_echo_n "(cached) " >&6 6921 7738 else … … 6928 7745 IFS=$as_save_IFS 6929 7746 test -z "$as_dir" && as_dir=. 6930 7747 for ac_exec_ext in '' $ac_executable_extensions; do 6931 7748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6932 7749 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 6933 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57750 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6934 7751 break 2 6935 7752 fi 6936 7753 done 6937 7754 done 6938 7755 IFS=$as_save_IFS 6939 7756 … … 6942 7759 CXX=$ac_cv_prog_CXX 6943 7760 if test -n "$CXX"; then 6944 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXX" >&57761 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 6945 7762 $as_echo "$CXX" >&6; } 6946 7763 else 6947 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57764 { $as_echo "$as_me:$LINENO: result: no" >&5 6948 7765 $as_echo "no" >&6; } 6949 7766 fi … … 6959 7776 # Extract the first word of "$ac_prog", so it can be a program name with args. 6960 7777 set dummy $ac_prog; ac_word=$2 6961 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57778 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6962 7779 $as_echo_n "checking for $ac_word... " >&6; } 6963 if ${ac_cv_prog_ac_ct_CXX+:} false; then :7780 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 6964 7781 $as_echo_n "(cached) " >&6 6965 7782 else … … 6972 7789 IFS=$as_save_IFS 6973 7790 test -z "$as_dir" && as_dir=. 6974 7791 for ac_exec_ext in '' $ac_executable_extensions; do 6975 7792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6976 7793 ac_cv_prog_ac_ct_CXX="$ac_prog" 6977 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57794 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6978 7795 break 2 6979 7796 fi 6980 7797 done 6981 7798 done 6982 7799 IFS=$as_save_IFS 6983 7800 … … 6986 7803 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 6987 7804 if test -n "$ac_ct_CXX"; then 6988 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CXX" >&57805 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 6989 7806 $as_echo "$ac_ct_CXX" >&6; } 6990 7807 else 6991 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57808 { $as_echo "$as_me:$LINENO: result: no" >&5 6992 7809 $as_echo "no" >&6; } 6993 7810 fi … … 7002 7819 case $cross_compiling:$ac_tool_warned in 7003 7820 yes:) 7004 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57821 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7005 7822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7006 7823 ac_tool_warned=yes ;; … … 7013 7830 fi 7014 7831 # Provide some information about the compiler. 7015 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C++ compiler version" >&57832 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7016 7833 set X $ac_compile 7017 7834 ac_compiler=$2 7018 for ac_option in --version -v -V -qversion; do 7019 { { ac_try="$ac_compiler $ac_option >&5" 7835 { (ac_try="$ac_compiler --version >&5" 7020 7836 case "(($ac_try" in 7021 7837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7022 7838 *) ac_try_echo=$ac_try;; 7023 7839 esac 7024 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""7025 $as_echo "$ac_try_echo" ; }>&57026 (eval "$ac_compiler $ac_option >&5") 2>conftest.err7840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7841 $as_echo "$ac_try_echo") >&5 7842 (eval "$ac_compiler --version >&5") 2>&5 7027 7843 ac_status=$? 7028 if test -s conftest.err; then 7029 sed '10a\ 7030 ... rest of stderr output deleted ... 7031 10q' conftest.err >conftest.er1 7032 cat conftest.er1 >&5 7033 fi 7034 rm -f conftest.er1 conftest.err 7035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7036 test $ac_status = 0; } 7037 done 7038 7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 7844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7845 (exit $ac_status); } 7846 { (ac_try="$ac_compiler -v >&5" 7847 case "(($ac_try" in 7848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7849 *) ac_try_echo=$ac_try;; 7850 esac 7851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7852 $as_echo "$ac_try_echo") >&5 7853 (eval "$ac_compiler -v >&5") 2>&5 7854 ac_status=$? 7855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7856 (exit $ac_status); } 7857 { (ac_try="$ac_compiler -V >&5" 7858 case "(($ac_try" in 7859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7860 *) ac_try_echo=$ac_try;; 7861 esac 7862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7863 $as_echo "$ac_try_echo") >&5 7864 (eval "$ac_compiler -V >&5") 2>&5 7865 ac_status=$? 7866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7867 (exit $ac_status); } 7868 7869 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7040 7870 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7041 if ${ac_cv_cxx_compiler_gnu+:} false; then :7871 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 7042 7872 $as_echo_n "(cached) " >&6 7043 7873 else 7044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7874 cat >conftest.$ac_ext <<_ACEOF 7875 /* confdefs.h. */ 7876 _ACEOF 7877 cat confdefs.h >>conftest.$ac_ext 7878 cat >>conftest.$ac_ext <<_ACEOF 7045 7879 /* end confdefs.h. */ 7046 7880 … … 7056 7890 } 7057 7891 _ACEOF 7058 if ac_fn_cxx_try_compile "$LINENO"; then : 7892 rm -f conftest.$ac_objext 7893 if { (ac_try="$ac_compile" 7894 case "(($ac_try" in 7895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7896 *) ac_try_echo=$ac_try;; 7897 esac 7898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7899 $as_echo "$ac_try_echo") >&5 7900 (eval "$ac_compile") 2>conftest.er1 7901 ac_status=$? 7902 grep -v '^ *+' conftest.er1 >conftest.err 7903 rm -f conftest.er1 7904 cat conftest.err >&5 7905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7906 (exit $ac_status); } && { 7907 test -z "$ac_cxx_werror_flag" || 7908 test ! -s conftest.err 7909 } && test -s conftest.$ac_objext; then 7059 7910 ac_compiler_gnu=yes 7060 7911 else 7061 ac_compiler_gnu=no 7062 fi 7912 $as_echo "$as_me: failed program was:" >&5 7913 sed 's/^/| /' conftest.$ac_ext >&5 7914 7915 ac_compiler_gnu=no 7916 fi 7917 7063 7918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7064 7919 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 7065 7920 7066 7921 fi 7067 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&57922 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 7068 7923 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 7069 7924 if test $ac_compiler_gnu = yes; then … … 7074 7929 ac_test_CXXFLAGS=${CXXFLAGS+set} 7075 7930 ac_save_CXXFLAGS=$CXXFLAGS 7076 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CXX accepts -g" >&57931 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 7077 7932 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 7078 if ${ac_cv_prog_cxx_g+:} false; then :7933 if test "${ac_cv_prog_cxx_g+set}" = set; then 7079 7934 $as_echo_n "(cached) " >&6 7080 7935 else … … 7083 7938 ac_cv_prog_cxx_g=no 7084 7939 CXXFLAGS="-g" 7085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7940 cat >conftest.$ac_ext <<_ACEOF 7941 /* confdefs.h. */ 7942 _ACEOF 7943 cat confdefs.h >>conftest.$ac_ext 7944 cat >>conftest.$ac_ext <<_ACEOF 7086 7945 /* end confdefs.h. */ 7087 7946 … … 7094 7953 } 7095 7954 _ACEOF 7096 if ac_fn_cxx_try_compile "$LINENO"; then : 7955 rm -f conftest.$ac_objext 7956 if { (ac_try="$ac_compile" 7957 case "(($ac_try" in 7958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7959 *) ac_try_echo=$ac_try;; 7960 esac 7961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7962 $as_echo "$ac_try_echo") >&5 7963 (eval "$ac_compile") 2>conftest.er1 7964 ac_status=$? 7965 grep -v '^ *+' conftest.er1 >conftest.err 7966 rm -f conftest.er1 7967 cat conftest.err >&5 7968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7969 (exit $ac_status); } && { 7970 test -z "$ac_cxx_werror_flag" || 7971 test ! -s conftest.err 7972 } && test -s conftest.$ac_objext; then 7097 7973 ac_cv_prog_cxx_g=yes 7098 7974 else 7099 CXXFLAGS="" 7100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7975 $as_echo "$as_me: failed program was:" >&5 7976 sed 's/^/| /' conftest.$ac_ext >&5 7977 7978 CXXFLAGS="" 7979 cat >conftest.$ac_ext <<_ACEOF 7980 /* confdefs.h. */ 7981 _ACEOF 7982 cat confdefs.h >>conftest.$ac_ext 7983 cat >>conftest.$ac_ext <<_ACEOF 7101 7984 /* end confdefs.h. */ 7102 7985 … … 7109 7992 } 7110 7993 _ACEOF 7111 if ac_fn_cxx_try_compile "$LINENO"; then : 7112 7113 else 7114 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7994 rm -f conftest.$ac_objext 7995 if { (ac_try="$ac_compile" 7996 case "(($ac_try" in 7997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7998 *) ac_try_echo=$ac_try;; 7999 esac 8000 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8001 $as_echo "$ac_try_echo") >&5 8002 (eval "$ac_compile") 2>conftest.er1 8003 ac_status=$? 8004 grep -v '^ *+' conftest.er1 >conftest.err 8005 rm -f conftest.er1 8006 cat conftest.err >&5 8007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8008 (exit $ac_status); } && { 8009 test -z "$ac_cxx_werror_flag" || 8010 test ! -s conftest.err 8011 } && test -s conftest.$ac_objext; then 8012 : 8013 else 8014 $as_echo "$as_me: failed program was:" >&5 8015 sed 's/^/| /' conftest.$ac_ext >&5 8016 8017 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7115 8018 CXXFLAGS="-g" 7116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8019 cat >conftest.$ac_ext <<_ACEOF 8020 /* confdefs.h. */ 8021 _ACEOF 8022 cat confdefs.h >>conftest.$ac_ext 8023 cat >>conftest.$ac_ext <<_ACEOF 7117 8024 /* end confdefs.h. */ 7118 8025 … … 7125 8032 } 7126 8033 _ACEOF 7127 if ac_fn_cxx_try_compile "$LINENO"; then : 8034 rm -f conftest.$ac_objext 8035 if { (ac_try="$ac_compile" 8036 case "(($ac_try" in 8037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8038 *) ac_try_echo=$ac_try;; 8039 esac 8040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8041 $as_echo "$ac_try_echo") >&5 8042 (eval "$ac_compile") 2>conftest.er1 8043 ac_status=$? 8044 grep -v '^ *+' conftest.er1 >conftest.err 8045 rm -f conftest.er1 8046 cat conftest.err >&5 8047 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8048 (exit $ac_status); } && { 8049 test -z "$ac_cxx_werror_flag" || 8050 test ! -s conftest.err 8051 } && test -s conftest.$ac_objext; then 7128 8052 ac_cv_prog_cxx_g=yes 7129 fi 8053 else 8054 $as_echo "$as_me: failed program was:" >&5 8055 sed 's/^/| /' conftest.$ac_ext >&5 8056 8057 8058 fi 8059 7130 8060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7131 8061 fi 8062 7132 8063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7133 8064 fi 8065 7134 8066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7135 8067 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7136 8068 fi 7137 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&58069 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 7138 8070 $as_echo "$ac_cv_prog_cxx_g" >&6; } 7139 8071 if test "$ac_test_CXXFLAGS" = set; then … … 7163 8095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7164 8096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7165 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&58097 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 7166 8098 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 7167 8099 if test -z "$CXXCPP"; then 7168 if ${ac_cv_prog_CXXCPP+:} false; then :8100 if test "${ac_cv_prog_CXXCPP+set}" = set; then 7169 8101 $as_echo_n "(cached) " >&6 7170 8102 else … … 7181 8113 # On the NeXT, cc -E runs the code through the compiler's parser, 7182 8114 # not just through cpp. "Syntax error" is here to catch this case. 7183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8115 cat >conftest.$ac_ext <<_ACEOF 8116 /* confdefs.h. */ 8117 _ACEOF 8118 cat confdefs.h >>conftest.$ac_ext 8119 cat >>conftest.$ac_ext <<_ACEOF 7184 8120 /* end confdefs.h. */ 7185 8121 #ifdef __STDC__ … … 7190 8126 Syntax error 7191 8127 _ACEOF 7192 if ac_fn_cxx_try_cpp "$LINENO"; then : 7193 7194 else 8128 if { (ac_try="$ac_cpp conftest.$ac_ext" 8129 case "(($ac_try" in 8130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8131 *) ac_try_echo=$ac_try;; 8132 esac 8133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8134 $as_echo "$ac_try_echo") >&5 8135 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8136 ac_status=$? 8137 grep -v '^ *+' conftest.er1 >conftest.err 8138 rm -f conftest.er1 8139 cat conftest.err >&5 8140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8141 (exit $ac_status); } >/dev/null && { 8142 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8143 test ! -s conftest.err 8144 }; then 8145 : 8146 else 8147 $as_echo "$as_me: failed program was:" >&5 8148 sed 's/^/| /' conftest.$ac_ext >&5 8149 7195 8150 # Broken: fails on valid input. 7196 8151 continue 7197 8152 fi 7198 rm -f conftest.err conftest.i conftest.$ac_ext 8153 8154 rm -f conftest.err conftest.$ac_ext 7199 8155 7200 8156 # OK, works on sane cases. Now check whether nonexistent headers 7201 8157 # can be detected and how. 7202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8158 cat >conftest.$ac_ext <<_ACEOF 8159 /* confdefs.h. */ 8160 _ACEOF 8161 cat confdefs.h >>conftest.$ac_ext 8162 cat >>conftest.$ac_ext <<_ACEOF 7203 8163 /* end confdefs.h. */ 7204 8164 #include <ac_nonexistent.h> 7205 8165 _ACEOF 7206 if ac_fn_cxx_try_cpp "$LINENO"; then : 8166 if { (ac_try="$ac_cpp conftest.$ac_ext" 8167 case "(($ac_try" in 8168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8169 *) ac_try_echo=$ac_try;; 8170 esac 8171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8172 $as_echo "$ac_try_echo") >&5 8173 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8174 ac_status=$? 8175 grep -v '^ *+' conftest.er1 >conftest.err 8176 rm -f conftest.er1 8177 cat conftest.err >&5 8178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8179 (exit $ac_status); } >/dev/null && { 8180 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8181 test ! -s conftest.err 8182 }; then 7207 8183 # Broken: success on invalid input. 7208 8184 continue 7209 8185 else 8186 $as_echo "$as_me: failed program was:" >&5 8187 sed 's/^/| /' conftest.$ac_ext >&5 8188 7210 8189 # Passes both tests. 7211 8190 ac_preproc_ok=: 7212 8191 break 7213 8192 fi 7214 rm -f conftest.err conftest.i conftest.$ac_ext 8193 8194 rm -f conftest.err conftest.$ac_ext 7215 8195 7216 8196 done 7217 8197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7218 rm -f conftest. i conftest.err conftest.$ac_ext7219 if $ac_preproc_ok; then :8198 rm -f conftest.err conftest.$ac_ext 8199 if $ac_preproc_ok; then 7220 8200 break 7221 8201 fi … … 7229 8209 ac_cv_prog_CXXCPP=$CXXCPP 7230 8210 fi 7231 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXXCPP" >&58211 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 7232 8212 $as_echo "$CXXCPP" >&6; } 7233 8213 ac_preproc_ok=false … … 7240 8220 # On the NeXT, cc -E runs the code through the compiler's parser, 7241 8221 # not just through cpp. "Syntax error" is here to catch this case. 7242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8222 cat >conftest.$ac_ext <<_ACEOF 8223 /* confdefs.h. */ 8224 _ACEOF 8225 cat confdefs.h >>conftest.$ac_ext 8226 cat >>conftest.$ac_ext <<_ACEOF 7243 8227 /* end confdefs.h. */ 7244 8228 #ifdef __STDC__ … … 7249 8233 Syntax error 7250 8234 _ACEOF 7251 if ac_fn_cxx_try_cpp "$LINENO"; then : 7252 7253 else 8235 if { (ac_try="$ac_cpp conftest.$ac_ext" 8236 case "(($ac_try" in 8237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8238 *) ac_try_echo=$ac_try;; 8239 esac 8240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8241 $as_echo "$ac_try_echo") >&5 8242 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8243 ac_status=$? 8244 grep -v '^ *+' conftest.er1 >conftest.err 8245 rm -f conftest.er1 8246 cat conftest.err >&5 8247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8248 (exit $ac_status); } >/dev/null && { 8249 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8250 test ! -s conftest.err 8251 }; then 8252 : 8253 else 8254 $as_echo "$as_me: failed program was:" >&5 8255 sed 's/^/| /' conftest.$ac_ext >&5 8256 7254 8257 # Broken: fails on valid input. 7255 8258 continue 7256 8259 fi 7257 rm -f conftest.err conftest.i conftest.$ac_ext 8260 8261 rm -f conftest.err conftest.$ac_ext 7258 8262 7259 8263 # OK, works on sane cases. Now check whether nonexistent headers 7260 8264 # can be detected and how. 7261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8265 cat >conftest.$ac_ext <<_ACEOF 8266 /* confdefs.h. */ 8267 _ACEOF 8268 cat confdefs.h >>conftest.$ac_ext 8269 cat >>conftest.$ac_ext <<_ACEOF 7262 8270 /* end confdefs.h. */ 7263 8271 #include <ac_nonexistent.h> 7264 8272 _ACEOF 7265 if ac_fn_cxx_try_cpp "$LINENO"; then : 8273 if { (ac_try="$ac_cpp conftest.$ac_ext" 8274 case "(($ac_try" in 8275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8276 *) ac_try_echo=$ac_try;; 8277 esac 8278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8279 $as_echo "$ac_try_echo") >&5 8280 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8281 ac_status=$? 8282 grep -v '^ *+' conftest.er1 >conftest.err 8283 rm -f conftest.er1 8284 cat conftest.err >&5 8285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8286 (exit $ac_status); } >/dev/null && { 8287 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8288 test ! -s conftest.err 8289 }; then 7266 8290 # Broken: success on invalid input. 7267 8291 continue 7268 8292 else 8293 $as_echo "$as_me: failed program was:" >&5 8294 sed 's/^/| /' conftest.$ac_ext >&5 8295 7269 8296 # Passes both tests. 7270 8297 ac_preproc_ok=: 7271 8298 break 7272 8299 fi 7273 rm -f conftest.err conftest.i conftest.$ac_ext 8300 8301 rm -f conftest.err conftest.$ac_ext 7274 8302 7275 8303 done 7276 8304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7277 rm -f conftest. i conftest.err conftest.$ac_ext7278 if $ac_preproc_ok; then :7279 7280 else 7281 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&58305 rm -f conftest.err conftest.$ac_ext 8306 if $ac_preproc_ok; then 8307 : 8308 else 8309 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7282 8310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7283 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 7284 See \`config.log' for more details" "$LINENO" 5; } 8311 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8312 See \`config.log' for more details." >&5 8313 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8314 See \`config.log' for more details." >&2;} 8315 { (exit 1); exit 1; }; }; } 7285 8316 fi 7286 8317 … … 7305 8336 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7306 8337 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7307 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58338 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7308 8339 $as_echo_n "checking for $ac_word... " >&6; } 7309 if ${ac_cv_prog_CXX+:} false; then :8340 if test "${ac_cv_prog_CXX+set}" = set; then 7310 8341 $as_echo_n "(cached) " >&6 7311 8342 else … … 7318 8349 IFS=$as_save_IFS 7319 8350 test -z "$as_dir" && as_dir=. 7320 8351 for ac_exec_ext in '' $ac_executable_extensions; do 7321 8352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7322 8353 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 7323 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58354 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7324 8355 break 2 7325 8356 fi 7326 8357 done 7327 8358 done 7328 8359 IFS=$as_save_IFS 7329 8360 … … 7332 8363 CXX=$ac_cv_prog_CXX 7333 8364 if test -n "$CXX"; then 7334 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXX" >&58365 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 7335 8366 $as_echo "$CXX" >&6; } 7336 8367 else 7337 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58368 { $as_echo "$as_me:$LINENO: result: no" >&5 7338 8369 $as_echo "no" >&6; } 7339 8370 fi … … 7349 8380 # Extract the first word of "$ac_prog", so it can be a program name with args. 7350 8381 set dummy $ac_prog; ac_word=$2 7351 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58382 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7352 8383 $as_echo_n "checking for $ac_word... " >&6; } 7353 if ${ac_cv_prog_ac_ct_CXX+:} false; then :8384 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 7354 8385 $as_echo_n "(cached) " >&6 7355 8386 else … … 7362 8393 IFS=$as_save_IFS 7363 8394 test -z "$as_dir" && as_dir=. 7364 8395 for ac_exec_ext in '' $ac_executable_extensions; do 7365 8396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7366 8397 ac_cv_prog_ac_ct_CXX="$ac_prog" 7367 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58398 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7368 8399 break 2 7369 8400 fi 7370 8401 done 7371 8402 done 7372 8403 IFS=$as_save_IFS 7373 8404 … … 7376 8407 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7377 8408 if test -n "$ac_ct_CXX"; then 7378 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CXX" >&58409 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 7379 8410 $as_echo "$ac_ct_CXX" >&6; } 7380 8411 else 7381 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58412 { $as_echo "$as_me:$LINENO: result: no" >&5 7382 8413 $as_echo "no" >&6; } 7383 8414 fi … … 7392 8423 case $cross_compiling:$ac_tool_warned in 7393 8424 yes:) 7394 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&58425 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7395 8426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7396 8427 ac_tool_warned=yes ;; … … 7403 8434 fi 7404 8435 # Provide some information about the compiler. 7405 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C++ compiler version" >&58436 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7406 8437 set X $ac_compile 7407 8438 ac_compiler=$2 7408 for ac_option in --version -v -V -qversion; do 7409 { { ac_try="$ac_compiler $ac_option >&5" 8439 { (ac_try="$ac_compiler --version >&5" 7410 8440 case "(($ac_try" in 7411 8441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7412 8442 *) ac_try_echo=$ac_try;; 7413 8443 esac 7414 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""7415 $as_echo "$ac_try_echo" ; }>&57416 (eval "$ac_compiler $ac_option >&5") 2>conftest.err8444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8445 $as_echo "$ac_try_echo") >&5 8446 (eval "$ac_compiler --version >&5") 2>&5 7417 8447 ac_status=$? 7418 if test -s conftest.err; then 7419 sed '10a\ 7420 ... rest of stderr output deleted ... 7421 10q' conftest.err >conftest.er1 7422 cat conftest.er1 >&5 7423 fi 7424 rm -f conftest.er1 conftest.err 7425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7426 test $ac_status = 0; } 7427 done 7428 7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8449 (exit $ac_status); } 8450 { (ac_try="$ac_compiler -v >&5" 8451 case "(($ac_try" in 8452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8453 *) ac_try_echo=$ac_try;; 8454 esac 8455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8456 $as_echo "$ac_try_echo") >&5 8457 (eval "$ac_compiler -v >&5") 2>&5 8458 ac_status=$? 8459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8460 (exit $ac_status); } 8461 { (ac_try="$ac_compiler -V >&5" 8462 case "(($ac_try" in 8463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8464 *) ac_try_echo=$ac_try;; 8465 esac 8466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8467 $as_echo "$ac_try_echo") >&5 8468 (eval "$ac_compiler -V >&5") 2>&5 8469 ac_status=$? 8470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8471 (exit $ac_status); } 8472 8473 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7430 8474 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7431 if ${ac_cv_cxx_compiler_gnu+:} false; then :8475 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 7432 8476 $as_echo_n "(cached) " >&6 7433 8477 else 7434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8478 cat >conftest.$ac_ext <<_ACEOF 8479 /* confdefs.h. */ 8480 _ACEOF 8481 cat confdefs.h >>conftest.$ac_ext 8482 cat >>conftest.$ac_ext <<_ACEOF 7435 8483 /* end confdefs.h. */ 7436 8484 … … 7446 8494 } 7447 8495 _ACEOF 7448 if ac_fn_cxx_try_compile "$LINENO"; then : 8496 rm -f conftest.$ac_objext 8497 if { (ac_try="$ac_compile" 8498 case "(($ac_try" in 8499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8500 *) ac_try_echo=$ac_try;; 8501 esac 8502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8503 $as_echo "$ac_try_echo") >&5 8504 (eval "$ac_compile") 2>conftest.er1 8505 ac_status=$? 8506 grep -v '^ *+' conftest.er1 >conftest.err 8507 rm -f conftest.er1 8508 cat conftest.err >&5 8509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8510 (exit $ac_status); } && { 8511 test -z "$ac_cxx_werror_flag" || 8512 test ! -s conftest.err 8513 } && test -s conftest.$ac_objext; then 7449 8514 ac_compiler_gnu=yes 7450 8515 else 7451 ac_compiler_gnu=no 7452 fi 8516 $as_echo "$as_me: failed program was:" >&5 8517 sed 's/^/| /' conftest.$ac_ext >&5 8518 8519 ac_compiler_gnu=no 8520 fi 8521 7453 8522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7454 8523 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 7455 8524 7456 8525 fi 7457 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&58526 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 7458 8527 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 7459 8528 if test $ac_compiler_gnu = yes; then … … 7464 8533 ac_test_CXXFLAGS=${CXXFLAGS+set} 7465 8534 ac_save_CXXFLAGS=$CXXFLAGS 7466 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CXX accepts -g" >&58535 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 7467 8536 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 7468 if ${ac_cv_prog_cxx_g+:} false; then :8537 if test "${ac_cv_prog_cxx_g+set}" = set; then 7469 8538 $as_echo_n "(cached) " >&6 7470 8539 else … … 7473 8542 ac_cv_prog_cxx_g=no 7474 8543 CXXFLAGS="-g" 7475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8544 cat >conftest.$ac_ext <<_ACEOF 8545 /* confdefs.h. */ 8546 _ACEOF 8547 cat confdefs.h >>conftest.$ac_ext 8548 cat >>conftest.$ac_ext <<_ACEOF 7476 8549 /* end confdefs.h. */ 7477 8550 … … 7484 8557 } 7485 8558 _ACEOF 7486 if ac_fn_cxx_try_compile "$LINENO"; then : 8559 rm -f conftest.$ac_objext 8560 if { (ac_try="$ac_compile" 8561 case "(($ac_try" in 8562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8563 *) ac_try_echo=$ac_try;; 8564 esac 8565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8566 $as_echo "$ac_try_echo") >&5 8567 (eval "$ac_compile") 2>conftest.er1 8568 ac_status=$? 8569 grep -v '^ *+' conftest.er1 >conftest.err 8570 rm -f conftest.er1 8571 cat conftest.err >&5 8572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8573 (exit $ac_status); } && { 8574 test -z "$ac_cxx_werror_flag" || 8575 test ! -s conftest.err 8576 } && test -s conftest.$ac_objext; then 7487 8577 ac_cv_prog_cxx_g=yes 7488 8578 else 7489 CXXFLAGS="" 7490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8579 $as_echo "$as_me: failed program was:" >&5 8580 sed 's/^/| /' conftest.$ac_ext >&5 8581 8582 CXXFLAGS="" 8583 cat >conftest.$ac_ext <<_ACEOF 8584 /* confdefs.h. */ 8585 _ACEOF 8586 cat confdefs.h >>conftest.$ac_ext 8587 cat >>conftest.$ac_ext <<_ACEOF 7491 8588 /* end confdefs.h. */ 7492 8589 … … 7499 8596 } 7500 8597 _ACEOF 7501 if ac_fn_cxx_try_compile "$LINENO"; then : 7502 7503 else 7504 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8598 rm -f conftest.$ac_objext 8599 if { (ac_try="$ac_compile" 8600 case "(($ac_try" in 8601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8602 *) ac_try_echo=$ac_try;; 8603 esac 8604 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8605 $as_echo "$ac_try_echo") >&5 8606 (eval "$ac_compile") 2>conftest.er1 8607 ac_status=$? 8608 grep -v '^ *+' conftest.er1 >conftest.err 8609 rm -f conftest.er1 8610 cat conftest.err >&5 8611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8612 (exit $ac_status); } && { 8613 test -z "$ac_cxx_werror_flag" || 8614 test ! -s conftest.err 8615 } && test -s conftest.$ac_objext; then 8616 : 8617 else 8618 $as_echo "$as_me: failed program was:" >&5 8619 sed 's/^/| /' conftest.$ac_ext >&5 8620 8621 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7505 8622 CXXFLAGS="-g" 7506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8623 cat >conftest.$ac_ext <<_ACEOF 8624 /* confdefs.h. */ 8625 _ACEOF 8626 cat confdefs.h >>conftest.$ac_ext 8627 cat >>conftest.$ac_ext <<_ACEOF 7507 8628 /* end confdefs.h. */ 7508 8629 … … 7515 8636 } 7516 8637 _ACEOF 7517 if ac_fn_cxx_try_compile "$LINENO"; then : 8638 rm -f conftest.$ac_objext 8639 if { (ac_try="$ac_compile" 8640 case "(($ac_try" in 8641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8642 *) ac_try_echo=$ac_try;; 8643 esac 8644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8645 $as_echo "$ac_try_echo") >&5 8646 (eval "$ac_compile") 2>conftest.er1 8647 ac_status=$? 8648 grep -v '^ *+' conftest.er1 >conftest.err 8649 rm -f conftest.er1 8650 cat conftest.err >&5 8651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8652 (exit $ac_status); } && { 8653 test -z "$ac_cxx_werror_flag" || 8654 test ! -s conftest.err 8655 } && test -s conftest.$ac_objext; then 7518 8656 ac_cv_prog_cxx_g=yes 7519 fi 8657 else 8658 $as_echo "$as_me: failed program was:" >&5 8659 sed 's/^/| /' conftest.$ac_ext >&5 8660 8661 8662 fi 8663 7520 8664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7521 8665 fi 8666 7522 8667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7523 8668 fi 8669 7524 8670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7525 8671 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7526 8672 fi 7527 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&58673 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 7528 8674 $as_echo "$ac_cv_prog_cxx_g" >&6; } 7529 8675 if test "$ac_test_CXXFLAGS" = set; then … … 7556 8702 7557 8703 7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 8704 8705 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7559 8706 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7560 if ${ac_cv_c_bigendian+:} false; then :8707 if test "${ac_cv_c_bigendian+set}" = set; then 7561 8708 $as_echo_n "(cached) " >&6 7562 8709 else 7563 8710 ac_cv_c_bigendian=unknown 7564 8711 # See if we're dealing with a universal compiler. 7565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8712 cat >conftest.$ac_ext <<_ACEOF 8713 /* confdefs.h. */ 8714 _ACEOF 8715 cat confdefs.h >>conftest.$ac_ext 8716 cat >>conftest.$ac_ext <<_ACEOF 7566 8717 /* end confdefs.h. */ 7567 8718 #ifndef __APPLE_CC__ … … 7571 8722 7572 8723 _ACEOF 7573 if ac_fn_cxx_try_compile "$LINENO"; then : 8724 rm -f conftest.$ac_objext 8725 if { (ac_try="$ac_compile" 8726 case "(($ac_try" in 8727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8728 *) ac_try_echo=$ac_try;; 8729 esac 8730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8731 $as_echo "$ac_try_echo") >&5 8732 (eval "$ac_compile") 2>conftest.er1 8733 ac_status=$? 8734 grep -v '^ *+' conftest.er1 >conftest.err 8735 rm -f conftest.er1 8736 cat conftest.err >&5 8737 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8738 (exit $ac_status); } && { 8739 test -z "$ac_cxx_werror_flag" || 8740 test ! -s conftest.err 8741 } && test -s conftest.$ac_objext; then 7574 8742 7575 8743 # Check for potential -arch flags. It is not universal unless 7576 # there are at least two -arch flags with different values. 7577 ac_arch= 7578 ac_prev= 7579 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 7580 if test -n "$ac_prev"; then 7581 case $ac_word in 7582 i?86 | x86_64 | ppc | ppc64) 7583 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 7584 ac_arch=$ac_word 7585 else 7586 ac_cv_c_bigendian=universal 7587 break 7588 fi 7589 ;; 7590 esac 7591 ac_prev= 7592 elif test "x$ac_word" = "x-arch"; then 7593 ac_prev=arch 7594 fi 7595 done 7596 fi 8744 # there are some -arch flags. Note that *ppc* also matches 8745 # ppc64. This check is also rather less than ideal. 8746 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8747 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8748 esac 8749 else 8750 $as_echo "$as_me: failed program was:" >&5 8751 sed 's/^/| /' conftest.$ac_ext >&5 8752 8753 8754 fi 8755 7597 8756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7598 8757 if test $ac_cv_c_bigendian = unknown; then 7599 8758 # See if sys/param.h defines the BYTE_ORDER macro. 7600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8759 cat >conftest.$ac_ext <<_ACEOF 8760 /* confdefs.h. */ 8761 _ACEOF 8762 cat confdefs.h >>conftest.$ac_ext 8763 cat >>conftest.$ac_ext <<_ACEOF 7601 8764 /* end confdefs.h. */ 7602 8765 #include <sys/types.h> … … 7616 8779 } 7617 8780 _ACEOF 7618 if ac_fn_cxx_try_compile "$LINENO"; then : 8781 rm -f conftest.$ac_objext 8782 if { (ac_try="$ac_compile" 8783 case "(($ac_try" in 8784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8785 *) ac_try_echo=$ac_try;; 8786 esac 8787 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8788 $as_echo "$ac_try_echo") >&5 8789 (eval "$ac_compile") 2>conftest.er1 8790 ac_status=$? 8791 grep -v '^ *+' conftest.er1 >conftest.err 8792 rm -f conftest.er1 8793 cat conftest.err >&5 8794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8795 (exit $ac_status); } && { 8796 test -z "$ac_cxx_werror_flag" || 8797 test ! -s conftest.err 8798 } && test -s conftest.$ac_objext; then 7619 8799 # It does; now see whether it defined to BIG_ENDIAN or not. 7620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8800 cat >conftest.$ac_ext <<_ACEOF 8801 /* confdefs.h. */ 8802 _ACEOF 8803 cat confdefs.h >>conftest.$ac_ext 8804 cat >>conftest.$ac_ext <<_ACEOF 7621 8805 /* end confdefs.h. */ 7622 8806 #include <sys/types.h> … … 7634 8818 } 7635 8819 _ACEOF 7636 if ac_fn_cxx_try_compile "$LINENO"; then : 8820 rm -f conftest.$ac_objext 8821 if { (ac_try="$ac_compile" 8822 case "(($ac_try" in 8823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8824 *) ac_try_echo=$ac_try;; 8825 esac 8826 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8827 $as_echo "$ac_try_echo") >&5 8828 (eval "$ac_compile") 2>conftest.er1 8829 ac_status=$? 8830 grep -v '^ *+' conftest.er1 >conftest.err 8831 rm -f conftest.er1 8832 cat conftest.err >&5 8833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8834 (exit $ac_status); } && { 8835 test -z "$ac_cxx_werror_flag" || 8836 test ! -s conftest.err 8837 } && test -s conftest.$ac_objext; then 7637 8838 ac_cv_c_bigendian=yes 7638 8839 else 7639 ac_cv_c_bigendian=no 7640 fi 8840 $as_echo "$as_me: failed program was:" >&5 8841 sed 's/^/| /' conftest.$ac_ext >&5 8842 8843 ac_cv_c_bigendian=no 8844 fi 8845 7641 8846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7642 fi 8847 else 8848 $as_echo "$as_me: failed program was:" >&5 8849 sed 's/^/| /' conftest.$ac_ext >&5 8850 8851 8852 fi 8853 7643 8854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7644 8855 fi 7645 8856 if test $ac_cv_c_bigendian = unknown; then 7646 8857 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 7647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8858 cat >conftest.$ac_ext <<_ACEOF 8859 /* confdefs.h. */ 8860 _ACEOF 8861 cat confdefs.h >>conftest.$ac_ext 8862 cat >>conftest.$ac_ext <<_ACEOF 7648 8863 /* end confdefs.h. */ 7649 8864 #include <limits.h> … … 7660 8875 } 7661 8876 _ACEOF 7662 if ac_fn_cxx_try_compile "$LINENO"; then : 8877 rm -f conftest.$ac_objext 8878 if { (ac_try="$ac_compile" 8879 case "(($ac_try" in 8880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8881 *) ac_try_echo=$ac_try;; 8882 esac 8883 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8884 $as_echo "$ac_try_echo") >&5 8885 (eval "$ac_compile") 2>conftest.er1 8886 ac_status=$? 8887 grep -v '^ *+' conftest.er1 >conftest.err 8888 rm -f conftest.er1 8889 cat conftest.err >&5 8890 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8891 (exit $ac_status); } && { 8892 test -z "$ac_cxx_werror_flag" || 8893 test ! -s conftest.err 8894 } && test -s conftest.$ac_objext; then 7663 8895 # It does; now see whether it defined to _BIG_ENDIAN or not. 7664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8896 cat >conftest.$ac_ext <<_ACEOF 8897 /* confdefs.h. */ 8898 _ACEOF 8899 cat confdefs.h >>conftest.$ac_ext 8900 cat >>conftest.$ac_ext <<_ACEOF 7665 8901 /* end confdefs.h. */ 7666 8902 #include <limits.h> … … 7677 8913 } 7678 8914 _ACEOF 7679 if ac_fn_cxx_try_compile "$LINENO"; then : 8915 rm -f conftest.$ac_objext 8916 if { (ac_try="$ac_compile" 8917 case "(($ac_try" in 8918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8919 *) ac_try_echo=$ac_try;; 8920 esac 8921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8922 $as_echo "$ac_try_echo") >&5 8923 (eval "$ac_compile") 2>conftest.er1 8924 ac_status=$? 8925 grep -v '^ *+' conftest.er1 >conftest.err 8926 rm -f conftest.er1 8927 cat conftest.err >&5 8928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8929 (exit $ac_status); } && { 8930 test -z "$ac_cxx_werror_flag" || 8931 test ! -s conftest.err 8932 } && test -s conftest.$ac_objext; then 7680 8933 ac_cv_c_bigendian=yes 7681 8934 else 7682 ac_cv_c_bigendian=no 7683 fi 8935 $as_echo "$as_me: failed program was:" >&5 8936 sed 's/^/| /' conftest.$ac_ext >&5 8937 8938 ac_cv_c_bigendian=no 8939 fi 8940 7684 8941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7685 fi 8942 else 8943 $as_echo "$as_me: failed program was:" >&5 8944 sed 's/^/| /' conftest.$ac_ext >&5 8945 8946 8947 fi 8948 7686 8949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7687 8950 fi 7688 8951 if test $ac_cv_c_bigendian = unknown; then 7689 8952 # Compile a test program. 7690 if test "$cross_compiling" = yes; then :8953 if test "$cross_compiling" = yes; then 7691 8954 # Try to guess by grepping values from an object file. 7692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8955 cat >conftest.$ac_ext <<_ACEOF 8956 /* confdefs.h. */ 8957 _ACEOF 8958 cat confdefs.h >>conftest.$ac_ext 8959 cat >>conftest.$ac_ext <<_ACEOF 7693 8960 /* end confdefs.h. */ 7694 8961 short int ascii_mm[] = … … 7716 8983 } 7717 8984 _ACEOF 7718 if ac_fn_cxx_try_compile "$LINENO"; then : 8985 rm -f conftest.$ac_objext 8986 if { (ac_try="$ac_compile" 8987 case "(($ac_try" in 8988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8989 *) ac_try_echo=$ac_try;; 8990 esac 8991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8992 $as_echo "$ac_try_echo") >&5 8993 (eval "$ac_compile") 2>conftest.er1 8994 ac_status=$? 8995 grep -v '^ *+' conftest.er1 >conftest.err 8996 rm -f conftest.er1 8997 cat conftest.err >&5 8998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8999 (exit $ac_status); } && { 9000 test -z "$ac_cxx_werror_flag" || 9001 test ! -s conftest.err 9002 } && test -s conftest.$ac_objext; then 7719 9003 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 7720 9004 ac_cv_c_bigendian=yes … … 7728 9012 fi 7729 9013 fi 7730 fi 9014 else 9015 $as_echo "$as_me: failed program was:" >&5 9016 sed 's/^/| /' conftest.$ac_ext >&5 9017 9018 9019 fi 9020 7731 9021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7732 9022 else 7733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9023 cat >conftest.$ac_ext <<_ACEOF 9024 /* confdefs.h. */ 9025 _ACEOF 9026 cat confdefs.h >>conftest.$ac_ext 9027 cat >>conftest.$ac_ext <<_ACEOF 7734 9028 /* end confdefs.h. */ 7735 9029 $ac_includes_default … … 7751 9045 } 7752 9046 _ACEOF 7753 if ac_fn_cxx_try_run "$LINENO"; then : 9047 rm -f conftest$ac_exeext 9048 if { (ac_try="$ac_link" 9049 case "(($ac_try" in 9050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9051 *) ac_try_echo=$ac_try;; 9052 esac 9053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9054 $as_echo "$ac_try_echo") >&5 9055 (eval "$ac_link") 2>&5 9056 ac_status=$? 9057 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9058 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9059 { (case "(($ac_try" in 9060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9061 *) ac_try_echo=$ac_try;; 9062 esac 9063 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9064 $as_echo "$ac_try_echo") >&5 9065 (eval "$ac_try") 2>&5 9066 ac_status=$? 9067 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9068 (exit $ac_status); }; }; then 7754 9069 ac_cv_c_bigendian=no 7755 9070 else 7756 ac_cv_c_bigendian=yes 7757 fi 7758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7759 conftest.$ac_objext conftest.beam conftest.$ac_ext 7760 fi 9071 $as_echo "$as_me: program exited with status $ac_status" >&5 9072 $as_echo "$as_me: failed program was:" >&5 9073 sed 's/^/| /' conftest.$ac_ext >&5 9074 9075 ( exit $ac_status ) 9076 ac_cv_c_bigendian=yes 9077 fi 9078 rm -rf conftest.dSYM 9079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9080 fi 9081 7761 9082 7762 9083 fi 7763 9084 fi 7764 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&59085 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7765 9086 $as_echo "$ac_cv_c_bigendian" >&6; } 7766 9087 case $ac_cv_c_bigendian in #( 7767 9088 yes) 7768 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9089 cat >>confdefs.h <<\_ACEOF 9090 #define WORDS_BIGENDIAN 1 9091 _ACEOF 7769 9092 ;; #( 7770 9093 no) … … 7772 9095 universal) 7773 9096 7774 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9097 cat >>confdefs.h <<\_ACEOF 9098 #define AC_APPLE_UNIVERSAL_BUILD 1 9099 _ACEOF 7775 9100 7776 9101 ;; #( 7777 9102 *) 7778 as_fn_error $? "unknown endianness 7779 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9103 { { $as_echo "$as_me:$LINENO: error: unknown endianness 9104 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 9105 $as_echo "$as_me: error: unknown endianness 9106 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 9107 { (exit 1); exit 1; }; } ;; 7780 9108 esac 7781 9109 … … 7784 9112 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7785 9113 # This bug is HP SR number 8606223364. 7786 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of int" >&59114 { $as_echo "$as_me:$LINENO: checking size of int" >&5 7787 9115 $as_echo_n "checking size of int... " >&6; } 7788 if ${ac_cv_sizeof_int+:} false; then :9116 if test "${ac_cv_sizeof_int+set}" = set; then 7789 9117 $as_echo_n "(cached) " >&6 7790 9118 else 7791 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 7792 7793 else 7794 if test "$ac_cv_type_int" = yes; then 7795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9119 if test "$cross_compiling" = yes; then 9120 # Depending upon the size, compute the lo and hi bounds. 9121 cat >conftest.$ac_ext <<_ACEOF 9122 /* confdefs.h. */ 9123 _ACEOF 9124 cat confdefs.h >>conftest.$ac_ext 9125 cat >>conftest.$ac_ext <<_ACEOF 9126 /* end confdefs.h. */ 9127 $ac_includes_default 9128 int 9129 main () 9130 { 9131 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)]; 9132 test_array [0] = 0 9133 9134 ; 9135 return 0; 9136 } 9137 _ACEOF 9138 rm -f conftest.$ac_objext 9139 if { (ac_try="$ac_compile" 9140 case "(($ac_try" in 9141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9142 *) ac_try_echo=$ac_try;; 9143 esac 9144 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9145 $as_echo "$ac_try_echo") >&5 9146 (eval "$ac_compile") 2>conftest.er1 9147 ac_status=$? 9148 grep -v '^ *+' conftest.er1 >conftest.err 9149 rm -f conftest.er1 9150 cat conftest.err >&5 9151 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9152 (exit $ac_status); } && { 9153 test -z "$ac_cxx_werror_flag" || 9154 test ! -s conftest.err 9155 } && test -s conftest.$ac_objext; then 9156 ac_lo=0 ac_mid=0 9157 while :; do 9158 cat >conftest.$ac_ext <<_ACEOF 9159 /* confdefs.h. */ 9160 _ACEOF 9161 cat confdefs.h >>conftest.$ac_ext 9162 cat >>conftest.$ac_ext <<_ACEOF 9163 /* end confdefs.h. */ 9164 $ac_includes_default 9165 int 9166 main () 9167 { 9168 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9169 test_array [0] = 0 9170 9171 ; 9172 return 0; 9173 } 9174 _ACEOF 9175 rm -f conftest.$ac_objext 9176 if { (ac_try="$ac_compile" 9177 case "(($ac_try" in 9178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9179 *) ac_try_echo=$ac_try;; 9180 esac 9181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9182 $as_echo "$ac_try_echo") >&5 9183 (eval "$ac_compile") 2>conftest.er1 9184 ac_status=$? 9185 grep -v '^ *+' conftest.er1 >conftest.err 9186 rm -f conftest.er1 9187 cat conftest.err >&5 9188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9189 (exit $ac_status); } && { 9190 test -z "$ac_cxx_werror_flag" || 9191 test ! -s conftest.err 9192 } && test -s conftest.$ac_objext; then 9193 ac_hi=$ac_mid; break 9194 else 9195 $as_echo "$as_me: failed program was:" >&5 9196 sed 's/^/| /' conftest.$ac_ext >&5 9197 9198 ac_lo=`expr $ac_mid + 1` 9199 if test $ac_lo -le $ac_mid; then 9200 ac_lo= ac_hi= 9201 break 9202 fi 9203 ac_mid=`expr 2 '*' $ac_mid + 1` 9204 fi 9205 9206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9207 done 9208 else 9209 $as_echo "$as_me: failed program was:" >&5 9210 sed 's/^/| /' conftest.$ac_ext >&5 9211 9212 cat >conftest.$ac_ext <<_ACEOF 9213 /* confdefs.h. */ 9214 _ACEOF 9215 cat confdefs.h >>conftest.$ac_ext 9216 cat >>conftest.$ac_ext <<_ACEOF 9217 /* end confdefs.h. */ 9218 $ac_includes_default 9219 int 9220 main () 9221 { 9222 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)]; 9223 test_array [0] = 0 9224 9225 ; 9226 return 0; 9227 } 9228 _ACEOF 9229 rm -f conftest.$ac_objext 9230 if { (ac_try="$ac_compile" 9231 case "(($ac_try" in 9232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9233 *) ac_try_echo=$ac_try;; 9234 esac 9235 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9236 $as_echo "$ac_try_echo") >&5 9237 (eval "$ac_compile") 2>conftest.er1 9238 ac_status=$? 9239 grep -v '^ *+' conftest.er1 >conftest.err 9240 rm -f conftest.er1 9241 cat conftest.err >&5 9242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9243 (exit $ac_status); } && { 9244 test -z "$ac_cxx_werror_flag" || 9245 test ! -s conftest.err 9246 } && test -s conftest.$ac_objext; then 9247 ac_hi=-1 ac_mid=-1 9248 while :; do 9249 cat >conftest.$ac_ext <<_ACEOF 9250 /* confdefs.h. */ 9251 _ACEOF 9252 cat confdefs.h >>conftest.$ac_ext 9253 cat >>conftest.$ac_ext <<_ACEOF 9254 /* end confdefs.h. */ 9255 $ac_includes_default 9256 int 9257 main () 9258 { 9259 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)]; 9260 test_array [0] = 0 9261 9262 ; 9263 return 0; 9264 } 9265 _ACEOF 9266 rm -f conftest.$ac_objext 9267 if { (ac_try="$ac_compile" 9268 case "(($ac_try" in 9269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9270 *) ac_try_echo=$ac_try;; 9271 esac 9272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9273 $as_echo "$ac_try_echo") >&5 9274 (eval "$ac_compile") 2>conftest.er1 9275 ac_status=$? 9276 grep -v '^ *+' conftest.er1 >conftest.err 9277 rm -f conftest.er1 9278 cat conftest.err >&5 9279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9280 (exit $ac_status); } && { 9281 test -z "$ac_cxx_werror_flag" || 9282 test ! -s conftest.err 9283 } && test -s conftest.$ac_objext; then 9284 ac_lo=$ac_mid; break 9285 else 9286 $as_echo "$as_me: failed program was:" >&5 9287 sed 's/^/| /' conftest.$ac_ext >&5 9288 9289 ac_hi=`expr '(' $ac_mid ')' - 1` 9290 if test $ac_mid -le $ac_hi; then 9291 ac_lo= ac_hi= 9292 break 9293 fi 9294 ac_mid=`expr 2 '*' $ac_mid` 9295 fi 9296 9297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9298 done 9299 else 9300 $as_echo "$as_me: failed program was:" >&5 9301 sed 's/^/| /' conftest.$ac_ext >&5 9302 9303 ac_lo= ac_hi= 9304 fi 9305 9306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9307 fi 9308 9309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9310 # Binary search between lo and hi bounds. 9311 while test "x$ac_lo" != "x$ac_hi"; do 9312 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 9313 cat >conftest.$ac_ext <<_ACEOF 9314 /* confdefs.h. */ 9315 _ACEOF 9316 cat confdefs.h >>conftest.$ac_ext 9317 cat >>conftest.$ac_ext <<_ACEOF 9318 /* end confdefs.h. */ 9319 $ac_includes_default 9320 int 9321 main () 9322 { 9323 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9324 test_array [0] = 0 9325 9326 ; 9327 return 0; 9328 } 9329 _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 9348 ac_hi=$ac_mid 9349 else 9350 $as_echo "$as_me: failed program was:" >&5 9351 sed 's/^/| /' conftest.$ac_ext >&5 9352 9353 ac_lo=`expr '(' $ac_mid ')' + 1` 9354 fi 9355 9356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9357 done 9358 case $ac_lo in 9359 ?*) ac_cv_sizeof_int=$ac_lo;; 9360 '') if test "$ac_cv_type_int" = yes; then 9361 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7796 9362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7797 as_fn_error 77 "cannot compute sizeof (int) 7798 See \`config.log' for more details" "$LINENO" 5; } 9363 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9364 See \`config.log' for more details." >&5 9365 $as_echo "$as_me: error: cannot compute sizeof (int) 9366 See \`config.log' for more details." >&2;} 9367 { (exit 77); exit 77; }; }; } 9368 else 9369 ac_cv_sizeof_int=0 9370 fi ;; 9371 esac 9372 else 9373 cat >conftest.$ac_ext <<_ACEOF 9374 /* confdefs.h. */ 9375 _ACEOF 9376 cat confdefs.h >>conftest.$ac_ext 9377 cat >>conftest.$ac_ext <<_ACEOF 9378 /* end confdefs.h. */ 9379 $ac_includes_default 9380 static long int longval () { return (long int) (sizeof (int)); } 9381 static unsigned long int ulongval () { return (long int) (sizeof (int)); } 9382 #include <stdio.h> 9383 #include <stdlib.h> 9384 int 9385 main () 9386 { 9387 9388 FILE *f = fopen ("conftest.val", "w"); 9389 if (! f) 9390 return 1; 9391 if (((long int) (sizeof (int))) < 0) 9392 { 9393 long int i = longval (); 9394 if (i != ((long int) (sizeof (int)))) 9395 return 1; 9396 fprintf (f, "%ld", i); 9397 } 9398 else 9399 { 9400 unsigned long int i = ulongval (); 9401 if (i != ((long int) (sizeof (int)))) 9402 return 1; 9403 fprintf (f, "%lu", i); 9404 } 9405 /* Do not output a trailing newline, as this causes \r\n confusion 9406 on some platforms. */ 9407 return ferror (f) || fclose (f) != 0; 9408 9409 ; 9410 return 0; 9411 } 9412 _ACEOF 9413 rm -f conftest$ac_exeext 9414 if { (ac_try="$ac_link" 9415 case "(($ac_try" in 9416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9417 *) ac_try_echo=$ac_try;; 9418 esac 9419 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9420 $as_echo "$ac_try_echo") >&5 9421 (eval "$ac_link") 2>&5 9422 ac_status=$? 9423 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9424 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9425 { (case "(($ac_try" in 9426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9427 *) ac_try_echo=$ac_try;; 9428 esac 9429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9430 $as_echo "$ac_try_echo") >&5 9431 (eval "$ac_try") 2>&5 9432 ac_status=$? 9433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9434 (exit $ac_status); }; }; then 9435 ac_cv_sizeof_int=`cat conftest.val` 9436 else 9437 $as_echo "$as_me: program exited with status $ac_status" >&5 9438 $as_echo "$as_me: failed program was:" >&5 9439 sed 's/^/| /' conftest.$ac_ext >&5 9440 9441 ( exit $ac_status ) 9442 if test "$ac_cv_type_int" = yes; then 9443 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9445 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9446 See \`config.log' for more details." >&5 9447 $as_echo "$as_me: error: cannot compute sizeof (int) 9448 See \`config.log' for more details." >&2;} 9449 { (exit 77); exit 77; }; }; } 7799 9450 else 7800 9451 ac_cv_sizeof_int=0 7801 9452 fi 7802 9453 fi 7803 7804 fi 7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9454 rm -rf conftest.dSYM 9455 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9456 fi 9457 rm -f conftest.val 9458 fi 9459 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 7806 9460 $as_echo "$ac_cv_sizeof_int" >&6; } 7807 9461 … … 7817 9471 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7818 9472 # This bug is HP SR number 8606223364. 7819 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of long" >&59473 { $as_echo "$as_me:$LINENO: checking size of long" >&5 7820 9474 $as_echo_n "checking size of long... " >&6; } 7821 if ${ac_cv_sizeof_long+:} false; then :9475 if test "${ac_cv_sizeof_long+set}" = set; then 7822 9476 $as_echo_n "(cached) " >&6 7823 9477 else 7824 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 7825 7826 else 7827 if test "$ac_cv_type_long" = yes; then 7828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9478 if test "$cross_compiling" = yes; then 9479 # Depending upon the size, compute the lo and hi bounds. 9480 cat >conftest.$ac_ext <<_ACEOF 9481 /* confdefs.h. */ 9482 _ACEOF 9483 cat confdefs.h >>conftest.$ac_ext 9484 cat >>conftest.$ac_ext <<_ACEOF 9485 /* end confdefs.h. */ 9486 $ac_includes_default 9487 int 9488 main () 9489 { 9490 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)]; 9491 test_array [0] = 0 9492 9493 ; 9494 return 0; 9495 } 9496 _ACEOF 9497 rm -f conftest.$ac_objext 9498 if { (ac_try="$ac_compile" 9499 case "(($ac_try" in 9500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9501 *) ac_try_echo=$ac_try;; 9502 esac 9503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9504 $as_echo "$ac_try_echo") >&5 9505 (eval "$ac_compile") 2>conftest.er1 9506 ac_status=$? 9507 grep -v '^ *+' conftest.er1 >conftest.err 9508 rm -f conftest.er1 9509 cat conftest.err >&5 9510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9511 (exit $ac_status); } && { 9512 test -z "$ac_cxx_werror_flag" || 9513 test ! -s conftest.err 9514 } && test -s conftest.$ac_objext; then 9515 ac_lo=0 ac_mid=0 9516 while :; do 9517 cat >conftest.$ac_ext <<_ACEOF 9518 /* confdefs.h. */ 9519 _ACEOF 9520 cat confdefs.h >>conftest.$ac_ext 9521 cat >>conftest.$ac_ext <<_ACEOF 9522 /* end confdefs.h. */ 9523 $ac_includes_default 9524 int 9525 main () 9526 { 9527 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 9528 test_array [0] = 0 9529 9530 ; 9531 return 0; 9532 } 9533 _ACEOF 9534 rm -f conftest.$ac_objext 9535 if { (ac_try="$ac_compile" 9536 case "(($ac_try" in 9537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9538 *) ac_try_echo=$ac_try;; 9539 esac 9540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9541 $as_echo "$ac_try_echo") >&5 9542 (eval "$ac_compile") 2>conftest.er1 9543 ac_status=$? 9544 grep -v '^ *+' conftest.er1 >conftest.err 9545 rm -f conftest.er1 9546 cat conftest.err >&5 9547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9548 (exit $ac_status); } && { 9549 test -z "$ac_cxx_werror_flag" || 9550 test ! -s conftest.err 9551 } && test -s conftest.$ac_objext; then 9552 ac_hi=$ac_mid; break 9553 else 9554 $as_echo "$as_me: failed program was:" >&5 9555 sed 's/^/| /' conftest.$ac_ext >&5 9556 9557 ac_lo=`expr $ac_mid + 1` 9558 if test $ac_lo -le $ac_mid; then 9559 ac_lo= ac_hi= 9560 break 9561 fi 9562 ac_mid=`expr 2 '*' $ac_mid + 1` 9563 fi 9564 9565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9566 done 9567 else 9568 $as_echo "$as_me: failed program was:" >&5 9569 sed 's/^/| /' conftest.$ac_ext >&5 9570 9571 cat >conftest.$ac_ext <<_ACEOF 9572 /* confdefs.h. */ 9573 _ACEOF 9574 cat confdefs.h >>conftest.$ac_ext 9575 cat >>conftest.$ac_ext <<_ACEOF 9576 /* end confdefs.h. */ 9577 $ac_includes_default 9578 int 9579 main () 9580 { 9581 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)]; 9582 test_array [0] = 0 9583 9584 ; 9585 return 0; 9586 } 9587 _ACEOF 9588 rm -f conftest.$ac_objext 9589 if { (ac_try="$ac_compile" 9590 case "(($ac_try" in 9591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9592 *) ac_try_echo=$ac_try;; 9593 esac 9594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9595 $as_echo "$ac_try_echo") >&5 9596 (eval "$ac_compile") 2>conftest.er1 9597 ac_status=$? 9598 grep -v '^ *+' conftest.er1 >conftest.err 9599 rm -f conftest.er1 9600 cat conftest.err >&5 9601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9602 (exit $ac_status); } && { 9603 test -z "$ac_cxx_werror_flag" || 9604 test ! -s conftest.err 9605 } && test -s conftest.$ac_objext; then 9606 ac_hi=-1 ac_mid=-1 9607 while :; do 9608 cat >conftest.$ac_ext <<_ACEOF 9609 /* confdefs.h. */ 9610 _ACEOF 9611 cat confdefs.h >>conftest.$ac_ext 9612 cat >>conftest.$ac_ext <<_ACEOF 9613 /* end confdefs.h. */ 9614 $ac_includes_default 9615 int 9616 main () 9617 { 9618 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)]; 9619 test_array [0] = 0 9620 9621 ; 9622 return 0; 9623 } 9624 _ACEOF 9625 rm -f conftest.$ac_objext 9626 if { (ac_try="$ac_compile" 9627 case "(($ac_try" in 9628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9629 *) ac_try_echo=$ac_try;; 9630 esac 9631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9632 $as_echo "$ac_try_echo") >&5 9633 (eval "$ac_compile") 2>conftest.er1 9634 ac_status=$? 9635 grep -v '^ *+' conftest.er1 >conftest.err 9636 rm -f conftest.er1 9637 cat conftest.err >&5 9638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9639 (exit $ac_status); } && { 9640 test -z "$ac_cxx_werror_flag" || 9641 test ! -s conftest.err 9642 } && test -s conftest.$ac_objext; then 9643 ac_lo=$ac_mid; break 9644 else 9645 $as_echo "$as_me: failed program was:" >&5 9646 sed 's/^/| /' conftest.$ac_ext >&5 9647 9648 ac_hi=`expr '(' $ac_mid ')' - 1` 9649 if test $ac_mid -le $ac_hi; then 9650 ac_lo= ac_hi= 9651 break 9652 fi 9653 ac_mid=`expr 2 '*' $ac_mid` 9654 fi 9655 9656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9657 done 9658 else 9659 $as_echo "$as_me: failed program was:" >&5 9660 sed 's/^/| /' conftest.$ac_ext >&5 9661 9662 ac_lo= ac_hi= 9663 fi 9664 9665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9666 fi 9667 9668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9669 # Binary search between lo and hi bounds. 9670 while test "x$ac_lo" != "x$ac_hi"; do 9671 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 9672 cat >conftest.$ac_ext <<_ACEOF 9673 /* confdefs.h. */ 9674 _ACEOF 9675 cat confdefs.h >>conftest.$ac_ext 9676 cat >>conftest.$ac_ext <<_ACEOF 9677 /* end confdefs.h. */ 9678 $ac_includes_default 9679 int 9680 main () 9681 { 9682 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 9683 test_array [0] = 0 9684 9685 ; 9686 return 0; 9687 } 9688 _ACEOF 9689 rm -f conftest.$ac_objext 9690 if { (ac_try="$ac_compile" 9691 case "(($ac_try" in 9692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9693 *) ac_try_echo=$ac_try;; 9694 esac 9695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9696 $as_echo "$ac_try_echo") >&5 9697 (eval "$ac_compile") 2>conftest.er1 9698 ac_status=$? 9699 grep -v '^ *+' conftest.er1 >conftest.err 9700 rm -f conftest.er1 9701 cat conftest.err >&5 9702 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9703 (exit $ac_status); } && { 9704 test -z "$ac_cxx_werror_flag" || 9705 test ! -s conftest.err 9706 } && test -s conftest.$ac_objext; then 9707 ac_hi=$ac_mid 9708 else 9709 $as_echo "$as_me: failed program was:" >&5 9710 sed 's/^/| /' conftest.$ac_ext >&5 9711 9712 ac_lo=`expr '(' $ac_mid ')' + 1` 9713 fi 9714 9715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9716 done 9717 case $ac_lo in 9718 ?*) ac_cv_sizeof_long=$ac_lo;; 9719 '') if test "$ac_cv_type_long" = yes; then 9720 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7829 9721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7830 as_fn_error 77 "cannot compute sizeof (long) 7831 See \`config.log' for more details" "$LINENO" 5; } 9722 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 9723 See \`config.log' for more details." >&5 9724 $as_echo "$as_me: error: cannot compute sizeof (long) 9725 See \`config.log' for more details." >&2;} 9726 { (exit 77); exit 77; }; }; } 9727 else 9728 ac_cv_sizeof_long=0 9729 fi ;; 9730 esac 9731 else 9732 cat >conftest.$ac_ext <<_ACEOF 9733 /* confdefs.h. */ 9734 _ACEOF 9735 cat confdefs.h >>conftest.$ac_ext 9736 cat >>conftest.$ac_ext <<_ACEOF 9737 /* end confdefs.h. */ 9738 $ac_includes_default 9739 static long int longval () { return (long int) (sizeof (long)); } 9740 static unsigned long int ulongval () { return (long int) (sizeof (long)); } 9741 #include <stdio.h> 9742 #include <stdlib.h> 9743 int 9744 main () 9745 { 9746 9747 FILE *f = fopen ("conftest.val", "w"); 9748 if (! f) 9749 return 1; 9750 if (((long int) (sizeof (long))) < 0) 9751 { 9752 long int i = longval (); 9753 if (i != ((long int) (sizeof (long)))) 9754 return 1; 9755 fprintf (f, "%ld", i); 9756 } 9757 else 9758 { 9759 unsigned long int i = ulongval (); 9760 if (i != ((long int) (sizeof (long)))) 9761 return 1; 9762 fprintf (f, "%lu", i); 9763 } 9764 /* Do not output a trailing newline, as this causes \r\n confusion 9765 on some platforms. */ 9766 return ferror (f) || fclose (f) != 0; 9767 9768 ; 9769 return 0; 9770 } 9771 _ACEOF 9772 rm -f conftest$ac_exeext 9773 if { (ac_try="$ac_link" 9774 case "(($ac_try" in 9775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9776 *) ac_try_echo=$ac_try;; 9777 esac 9778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9779 $as_echo "$ac_try_echo") >&5 9780 (eval "$ac_link") 2>&5 9781 ac_status=$? 9782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9783 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9784 { (case "(($ac_try" in 9785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9786 *) ac_try_echo=$ac_try;; 9787 esac 9788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9789 $as_echo "$ac_try_echo") >&5 9790 (eval "$ac_try") 2>&5 9791 ac_status=$? 9792 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9793 (exit $ac_status); }; }; then 9794 ac_cv_sizeof_long=`cat conftest.val` 9795 else 9796 $as_echo "$as_me: program exited with status $ac_status" >&5 9797 $as_echo "$as_me: failed program was:" >&5 9798 sed 's/^/| /' conftest.$ac_ext >&5 9799 9800 ( exit $ac_status ) 9801 if test "$ac_cv_type_long" = yes; then 9802 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9804 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 9805 See \`config.log' for more details." >&5 9806 $as_echo "$as_me: error: cannot compute sizeof (long) 9807 See \`config.log' for more details." >&2;} 9808 { (exit 77); exit 77; }; }; } 7832 9809 else 7833 9810 ac_cv_sizeof_long=0 7834 9811 fi 7835 9812 fi 7836 7837 fi 7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 9813 rm -rf conftest.dSYM 9814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9815 fi 9816 rm -f conftest.val 9817 fi 9818 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 7839 9819 $as_echo "$ac_cv_sizeof_long" >&6; } 7840 9820 … … 7850 9830 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7851 9831 # This bug is HP SR number 8606223364. 7852 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of long long" >&59832 { $as_echo "$as_me:$LINENO: checking size of long long" >&5 7853 9833 $as_echo_n "checking size of long long... " >&6; } 7854 if ${ac_cv_sizeof_long_long+:} false; then :9834 if test "${ac_cv_sizeof_long_long+set}" = set; then 7855 9835 $as_echo_n "(cached) " >&6 7856 9836 else 7857 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 7858 7859 else 7860 if test "$ac_cv_type_long_long" = yes; then 7861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9837 if test "$cross_compiling" = yes; then 9838 # Depending upon the size, compute the lo and hi bounds. 9839 cat >conftest.$ac_ext <<_ACEOF 9840 /* confdefs.h. */ 9841 _ACEOF 9842 cat confdefs.h >>conftest.$ac_ext 9843 cat >>conftest.$ac_ext <<_ACEOF 9844 /* end confdefs.h. */ 9845 $ac_includes_default 9846 int 9847 main () 9848 { 9849 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)]; 9850 test_array [0] = 0 9851 9852 ; 9853 return 0; 9854 } 9855 _ACEOF 9856 rm -f conftest.$ac_objext 9857 if { (ac_try="$ac_compile" 9858 case "(($ac_try" in 9859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9860 *) ac_try_echo=$ac_try;; 9861 esac 9862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9863 $as_echo "$ac_try_echo") >&5 9864 (eval "$ac_compile") 2>conftest.er1 9865 ac_status=$? 9866 grep -v '^ *+' conftest.er1 >conftest.err 9867 rm -f conftest.er1 9868 cat conftest.err >&5 9869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9870 (exit $ac_status); } && { 9871 test -z "$ac_cxx_werror_flag" || 9872 test ! -s conftest.err 9873 } && test -s conftest.$ac_objext; then 9874 ac_lo=0 ac_mid=0 9875 while :; do 9876 cat >conftest.$ac_ext <<_ACEOF 9877 /* confdefs.h. */ 9878 _ACEOF 9879 cat confdefs.h >>conftest.$ac_ext 9880 cat >>conftest.$ac_ext <<_ACEOF 9881 /* end confdefs.h. */ 9882 $ac_includes_default 9883 int 9884 main () 9885 { 9886 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 9887 test_array [0] = 0 9888 9889 ; 9890 return 0; 9891 } 9892 _ACEOF 9893 rm -f conftest.$ac_objext 9894 if { (ac_try="$ac_compile" 9895 case "(($ac_try" in 9896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9897 *) ac_try_echo=$ac_try;; 9898 esac 9899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9900 $as_echo "$ac_try_echo") >&5 9901 (eval "$ac_compile") 2>conftest.er1 9902 ac_status=$? 9903 grep -v '^ *+' conftest.er1 >conftest.err 9904 rm -f conftest.er1 9905 cat conftest.err >&5 9906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9907 (exit $ac_status); } && { 9908 test -z "$ac_cxx_werror_flag" || 9909 test ! -s conftest.err 9910 } && test -s conftest.$ac_objext; then 9911 ac_hi=$ac_mid; break 9912 else 9913 $as_echo "$as_me: failed program was:" >&5 9914 sed 's/^/| /' conftest.$ac_ext >&5 9915 9916 ac_lo=`expr $ac_mid + 1` 9917 if test $ac_lo -le $ac_mid; then 9918 ac_lo= ac_hi= 9919 break 9920 fi 9921 ac_mid=`expr 2 '*' $ac_mid + 1` 9922 fi 9923 9924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9925 done 9926 else 9927 $as_echo "$as_me: failed program was:" >&5 9928 sed 's/^/| /' conftest.$ac_ext >&5 9929 9930 cat >conftest.$ac_ext <<_ACEOF 9931 /* confdefs.h. */ 9932 _ACEOF 9933 cat confdefs.h >>conftest.$ac_ext 9934 cat >>conftest.$ac_ext <<_ACEOF 9935 /* end confdefs.h. */ 9936 $ac_includes_default 9937 int 9938 main () 9939 { 9940 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)]; 9941 test_array [0] = 0 9942 9943 ; 9944 return 0; 9945 } 9946 _ACEOF 9947 rm -f conftest.$ac_objext 9948 if { (ac_try="$ac_compile" 9949 case "(($ac_try" in 9950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9951 *) ac_try_echo=$ac_try;; 9952 esac 9953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9954 $as_echo "$ac_try_echo") >&5 9955 (eval "$ac_compile") 2>conftest.er1 9956 ac_status=$? 9957 grep -v '^ *+' conftest.er1 >conftest.err 9958 rm -f conftest.er1 9959 cat conftest.err >&5 9960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9961 (exit $ac_status); } && { 9962 test -z "$ac_cxx_werror_flag" || 9963 test ! -s conftest.err 9964 } && test -s conftest.$ac_objext; then 9965 ac_hi=-1 ac_mid=-1 9966 while :; do 9967 cat >conftest.$ac_ext <<_ACEOF 9968 /* confdefs.h. */ 9969 _ACEOF 9970 cat confdefs.h >>conftest.$ac_ext 9971 cat >>conftest.$ac_ext <<_ACEOF 9972 /* end confdefs.h. */ 9973 $ac_includes_default 9974 int 9975 main () 9976 { 9977 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)]; 9978 test_array [0] = 0 9979 9980 ; 9981 return 0; 9982 } 9983 _ACEOF 9984 rm -f conftest.$ac_objext 9985 if { (ac_try="$ac_compile" 9986 case "(($ac_try" in 9987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9988 *) ac_try_echo=$ac_try;; 9989 esac 9990 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9991 $as_echo "$ac_try_echo") >&5 9992 (eval "$ac_compile") 2>conftest.er1 9993 ac_status=$? 9994 grep -v '^ *+' conftest.er1 >conftest.err 9995 rm -f conftest.er1 9996 cat conftest.err >&5 9997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9998 (exit $ac_status); } && { 9999 test -z "$ac_cxx_werror_flag" || 10000 test ! -s conftest.err 10001 } && test -s conftest.$ac_objext; then 10002 ac_lo=$ac_mid; break 10003 else 10004 $as_echo "$as_me: failed program was:" >&5 10005 sed 's/^/| /' conftest.$ac_ext >&5 10006 10007 ac_hi=`expr '(' $ac_mid ')' - 1` 10008 if test $ac_mid -le $ac_hi; then 10009 ac_lo= ac_hi= 10010 break 10011 fi 10012 ac_mid=`expr 2 '*' $ac_mid` 10013 fi 10014 10015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10016 done 10017 else 10018 $as_echo "$as_me: failed program was:" >&5 10019 sed 's/^/| /' conftest.$ac_ext >&5 10020 10021 ac_lo= ac_hi= 10022 fi 10023 10024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10025 fi 10026 10027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10028 # Binary search between lo and hi bounds. 10029 while test "x$ac_lo" != "x$ac_hi"; do 10030 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10031 cat >conftest.$ac_ext <<_ACEOF 10032 /* confdefs.h. */ 10033 _ACEOF 10034 cat confdefs.h >>conftest.$ac_ext 10035 cat >>conftest.$ac_ext <<_ACEOF 10036 /* end confdefs.h. */ 10037 $ac_includes_default 10038 int 10039 main () 10040 { 10041 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 10042 test_array [0] = 0 10043 10044 ; 10045 return 0; 10046 } 10047 _ACEOF 10048 rm -f conftest.$ac_objext 10049 if { (ac_try="$ac_compile" 10050 case "(($ac_try" in 10051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10052 *) ac_try_echo=$ac_try;; 10053 esac 10054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10055 $as_echo "$ac_try_echo") >&5 10056 (eval "$ac_compile") 2>conftest.er1 10057 ac_status=$? 10058 grep -v '^ *+' conftest.er1 >conftest.err 10059 rm -f conftest.er1 10060 cat conftest.err >&5 10061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10062 (exit $ac_status); } && { 10063 test -z "$ac_cxx_werror_flag" || 10064 test ! -s conftest.err 10065 } && test -s conftest.$ac_objext; then 10066 ac_hi=$ac_mid 10067 else 10068 $as_echo "$as_me: failed program was:" >&5 10069 sed 's/^/| /' conftest.$ac_ext >&5 10070 10071 ac_lo=`expr '(' $ac_mid ')' + 1` 10072 fi 10073 10074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10075 done 10076 case $ac_lo in 10077 ?*) ac_cv_sizeof_long_long=$ac_lo;; 10078 '') if test "$ac_cv_type_long_long" = yes; then 10079 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7862 10080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7863 as_fn_error 77 "cannot compute sizeof (long long) 7864 See \`config.log' for more details" "$LINENO" 5; } 10081 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10082 See \`config.log' for more details." >&5 10083 $as_echo "$as_me: error: cannot compute sizeof (long long) 10084 See \`config.log' for more details." >&2;} 10085 { (exit 77); exit 77; }; }; } 10086 else 10087 ac_cv_sizeof_long_long=0 10088 fi ;; 10089 esac 10090 else 10091 cat >conftest.$ac_ext <<_ACEOF 10092 /* confdefs.h. */ 10093 _ACEOF 10094 cat confdefs.h >>conftest.$ac_ext 10095 cat >>conftest.$ac_ext <<_ACEOF 10096 /* end confdefs.h. */ 10097 $ac_includes_default 10098 static long int longval () { return (long int) (sizeof (long long)); } 10099 static unsigned long int ulongval () { return (long int) (sizeof (long long)); } 10100 #include <stdio.h> 10101 #include <stdlib.h> 10102 int 10103 main () 10104 { 10105 10106 FILE *f = fopen ("conftest.val", "w"); 10107 if (! f) 10108 return 1; 10109 if (((long int) (sizeof (long long))) < 0) 10110 { 10111 long int i = longval (); 10112 if (i != ((long int) (sizeof (long long)))) 10113 return 1; 10114 fprintf (f, "%ld", i); 10115 } 10116 else 10117 { 10118 unsigned long int i = ulongval (); 10119 if (i != ((long int) (sizeof (long long)))) 10120 return 1; 10121 fprintf (f, "%lu", i); 10122 } 10123 /* Do not output a trailing newline, as this causes \r\n confusion 10124 on some platforms. */ 10125 return ferror (f) || fclose (f) != 0; 10126 10127 ; 10128 return 0; 10129 } 10130 _ACEOF 10131 rm -f conftest$ac_exeext 10132 if { (ac_try="$ac_link" 10133 case "(($ac_try" in 10134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10135 *) ac_try_echo=$ac_try;; 10136 esac 10137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10138 $as_echo "$ac_try_echo") >&5 10139 (eval "$ac_link") 2>&5 10140 ac_status=$? 10141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10142 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10143 { (case "(($ac_try" in 10144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10145 *) ac_try_echo=$ac_try;; 10146 esac 10147 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10148 $as_echo "$ac_try_echo") >&5 10149 (eval "$ac_try") 2>&5 10150 ac_status=$? 10151 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10152 (exit $ac_status); }; }; then 10153 ac_cv_sizeof_long_long=`cat conftest.val` 10154 else 10155 $as_echo "$as_me: program exited with status $ac_status" >&5 10156 $as_echo "$as_me: failed program was:" >&5 10157 sed 's/^/| /' conftest.$ac_ext >&5 10158 10159 ( exit $ac_status ) 10160 if test "$ac_cv_type_long_long" = yes; then 10161 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10163 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10164 See \`config.log' for more details." >&5 10165 $as_echo "$as_me: error: cannot compute sizeof (long long) 10166 See \`config.log' for more details." >&2;} 10167 { (exit 77); exit 77; }; }; } 7865 10168 else 7866 10169 ac_cv_sizeof_long_long=0 7867 10170 fi 7868 10171 fi 7869 7870 fi 7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 10172 rm -rf conftest.dSYM 10173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10174 fi 10175 rm -f conftest.val 10176 fi 10177 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 7872 10178 $as_echo "$ac_cv_sizeof_long_long" >&6; } 7873 10179 … … 7883 10189 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7884 10190 # This bug is HP SR number 8606223364. 7885 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of void *" >&510191 { $as_echo "$as_me:$LINENO: checking size of void *" >&5 7886 10192 $as_echo_n "checking size of void *... " >&6; } 7887 if ${ac_cv_sizeof_void_p+:} false; then :10193 if test "${ac_cv_sizeof_void_p+set}" = set; then 7888 10194 $as_echo_n "(cached) " >&6 7889 10195 else 7890 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 7891 7892 else 7893 if test "$ac_cv_type_void_p" = yes; then 7894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10196 if test "$cross_compiling" = yes; then 10197 # Depending upon the size, compute the lo and hi bounds. 10198 cat >conftest.$ac_ext <<_ACEOF 10199 /* confdefs.h. */ 10200 _ACEOF 10201 cat confdefs.h >>conftest.$ac_ext 10202 cat >>conftest.$ac_ext <<_ACEOF 10203 /* end confdefs.h. */ 10204 $ac_includes_default 10205 int 10206 main () 10207 { 10208 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)]; 10209 test_array [0] = 0 10210 10211 ; 10212 return 0; 10213 } 10214 _ACEOF 10215 rm -f conftest.$ac_objext 10216 if { (ac_try="$ac_compile" 10217 case "(($ac_try" in 10218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10219 *) ac_try_echo=$ac_try;; 10220 esac 10221 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10222 $as_echo "$ac_try_echo") >&5 10223 (eval "$ac_compile") 2>conftest.er1 10224 ac_status=$? 10225 grep -v '^ *+' conftest.er1 >conftest.err 10226 rm -f conftest.er1 10227 cat conftest.err >&5 10228 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10229 (exit $ac_status); } && { 10230 test -z "$ac_cxx_werror_flag" || 10231 test ! -s conftest.err 10232 } && test -s conftest.$ac_objext; then 10233 ac_lo=0 ac_mid=0 10234 while :; do 10235 cat >conftest.$ac_ext <<_ACEOF 10236 /* confdefs.h. */ 10237 _ACEOF 10238 cat confdefs.h >>conftest.$ac_ext 10239 cat >>conftest.$ac_ext <<_ACEOF 10240 /* end confdefs.h. */ 10241 $ac_includes_default 10242 int 10243 main () 10244 { 10245 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10246 test_array [0] = 0 10247 10248 ; 10249 return 0; 10250 } 10251 _ACEOF 10252 rm -f conftest.$ac_objext 10253 if { (ac_try="$ac_compile" 10254 case "(($ac_try" in 10255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10256 *) ac_try_echo=$ac_try;; 10257 esac 10258 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10259 $as_echo "$ac_try_echo") >&5 10260 (eval "$ac_compile") 2>conftest.er1 10261 ac_status=$? 10262 grep -v '^ *+' conftest.er1 >conftest.err 10263 rm -f conftest.er1 10264 cat conftest.err >&5 10265 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10266 (exit $ac_status); } && { 10267 test -z "$ac_cxx_werror_flag" || 10268 test ! -s conftest.err 10269 } && test -s conftest.$ac_objext; then 10270 ac_hi=$ac_mid; break 10271 else 10272 $as_echo "$as_me: failed program was:" >&5 10273 sed 's/^/| /' conftest.$ac_ext >&5 10274 10275 ac_lo=`expr $ac_mid + 1` 10276 if test $ac_lo -le $ac_mid; then 10277 ac_lo= ac_hi= 10278 break 10279 fi 10280 ac_mid=`expr 2 '*' $ac_mid + 1` 10281 fi 10282 10283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10284 done 10285 else 10286 $as_echo "$as_me: failed program was:" >&5 10287 sed 's/^/| /' conftest.$ac_ext >&5 10288 10289 cat >conftest.$ac_ext <<_ACEOF 10290 /* confdefs.h. */ 10291 _ACEOF 10292 cat confdefs.h >>conftest.$ac_ext 10293 cat >>conftest.$ac_ext <<_ACEOF 10294 /* end confdefs.h. */ 10295 $ac_includes_default 10296 int 10297 main () 10298 { 10299 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)]; 10300 test_array [0] = 0 10301 10302 ; 10303 return 0; 10304 } 10305 _ACEOF 10306 rm -f conftest.$ac_objext 10307 if { (ac_try="$ac_compile" 10308 case "(($ac_try" in 10309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10310 *) ac_try_echo=$ac_try;; 10311 esac 10312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10313 $as_echo "$ac_try_echo") >&5 10314 (eval "$ac_compile") 2>conftest.er1 10315 ac_status=$? 10316 grep -v '^ *+' conftest.er1 >conftest.err 10317 rm -f conftest.er1 10318 cat conftest.err >&5 10319 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10320 (exit $ac_status); } && { 10321 test -z "$ac_cxx_werror_flag" || 10322 test ! -s conftest.err 10323 } && test -s conftest.$ac_objext; then 10324 ac_hi=-1 ac_mid=-1 10325 while :; do 10326 cat >conftest.$ac_ext <<_ACEOF 10327 /* confdefs.h. */ 10328 _ACEOF 10329 cat confdefs.h >>conftest.$ac_ext 10330 cat >>conftest.$ac_ext <<_ACEOF 10331 /* end confdefs.h. */ 10332 $ac_includes_default 10333 int 10334 main () 10335 { 10336 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)]; 10337 test_array [0] = 0 10338 10339 ; 10340 return 0; 10341 } 10342 _ACEOF 10343 rm -f conftest.$ac_objext 10344 if { (ac_try="$ac_compile" 10345 case "(($ac_try" in 10346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10347 *) ac_try_echo=$ac_try;; 10348 esac 10349 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10350 $as_echo "$ac_try_echo") >&5 10351 (eval "$ac_compile") 2>conftest.er1 10352 ac_status=$? 10353 grep -v '^ *+' conftest.er1 >conftest.err 10354 rm -f conftest.er1 10355 cat conftest.err >&5 10356 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10357 (exit $ac_status); } && { 10358 test -z "$ac_cxx_werror_flag" || 10359 test ! -s conftest.err 10360 } && test -s conftest.$ac_objext; then 10361 ac_lo=$ac_mid; break 10362 else 10363 $as_echo "$as_me: failed program was:" >&5 10364 sed 's/^/| /' conftest.$ac_ext >&5 10365 10366 ac_hi=`expr '(' $ac_mid ')' - 1` 10367 if test $ac_mid -le $ac_hi; then 10368 ac_lo= ac_hi= 10369 break 10370 fi 10371 ac_mid=`expr 2 '*' $ac_mid` 10372 fi 10373 10374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10375 done 10376 else 10377 $as_echo "$as_me: failed program was:" >&5 10378 sed 's/^/| /' conftest.$ac_ext >&5 10379 10380 ac_lo= ac_hi= 10381 fi 10382 10383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10384 fi 10385 10386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10387 # Binary search between lo and hi bounds. 10388 while test "x$ac_lo" != "x$ac_hi"; do 10389 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10390 cat >conftest.$ac_ext <<_ACEOF 10391 /* confdefs.h. */ 10392 _ACEOF 10393 cat confdefs.h >>conftest.$ac_ext 10394 cat >>conftest.$ac_ext <<_ACEOF 10395 /* end confdefs.h. */ 10396 $ac_includes_default 10397 int 10398 main () 10399 { 10400 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10401 test_array [0] = 0 10402 10403 ; 10404 return 0; 10405 } 10406 _ACEOF 10407 rm -f conftest.$ac_objext 10408 if { (ac_try="$ac_compile" 10409 case "(($ac_try" in 10410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10411 *) ac_try_echo=$ac_try;; 10412 esac 10413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10414 $as_echo "$ac_try_echo") >&5 10415 (eval "$ac_compile") 2>conftest.er1 10416 ac_status=$? 10417 grep -v '^ *+' conftest.er1 >conftest.err 10418 rm -f conftest.er1 10419 cat conftest.err >&5 10420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10421 (exit $ac_status); } && { 10422 test -z "$ac_cxx_werror_flag" || 10423 test ! -s conftest.err 10424 } && test -s conftest.$ac_objext; then 10425 ac_hi=$ac_mid 10426 else 10427 $as_echo "$as_me: failed program was:" >&5 10428 sed 's/^/| /' conftest.$ac_ext >&5 10429 10430 ac_lo=`expr '(' $ac_mid ')' + 1` 10431 fi 10432 10433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10434 done 10435 case $ac_lo in 10436 ?*) ac_cv_sizeof_void_p=$ac_lo;; 10437 '') if test "$ac_cv_type_void_p" = yes; then 10438 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7895 10439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7896 as_fn_error 77 "cannot compute sizeof (void *) 7897 See \`config.log' for more details" "$LINENO" 5; } 10440 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10441 See \`config.log' for more details." >&5 10442 $as_echo "$as_me: error: cannot compute sizeof (void *) 10443 See \`config.log' for more details." >&2;} 10444 { (exit 77); exit 77; }; }; } 10445 else 10446 ac_cv_sizeof_void_p=0 10447 fi ;; 10448 esac 10449 else 10450 cat >conftest.$ac_ext <<_ACEOF 10451 /* confdefs.h. */ 10452 _ACEOF 10453 cat confdefs.h >>conftest.$ac_ext 10454 cat >>conftest.$ac_ext <<_ACEOF 10455 /* end confdefs.h. */ 10456 $ac_includes_default 10457 static long int longval () { return (long int) (sizeof (void *)); } 10458 static unsigned long int ulongval () { return (long int) (sizeof (void *)); } 10459 #include <stdio.h> 10460 #include <stdlib.h> 10461 int 10462 main () 10463 { 10464 10465 FILE *f = fopen ("conftest.val", "w"); 10466 if (! f) 10467 return 1; 10468 if (((long int) (sizeof (void *))) < 0) 10469 { 10470 long int i = longval (); 10471 if (i != ((long int) (sizeof (void *)))) 10472 return 1; 10473 fprintf (f, "%ld", i); 10474 } 10475 else 10476 { 10477 unsigned long int i = ulongval (); 10478 if (i != ((long int) (sizeof (void *)))) 10479 return 1; 10480 fprintf (f, "%lu", i); 10481 } 10482 /* Do not output a trailing newline, as this causes \r\n confusion 10483 on some platforms. */ 10484 return ferror (f) || fclose (f) != 0; 10485 10486 ; 10487 return 0; 10488 } 10489 _ACEOF 10490 rm -f conftest$ac_exeext 10491 if { (ac_try="$ac_link" 10492 case "(($ac_try" in 10493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10494 *) ac_try_echo=$ac_try;; 10495 esac 10496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10497 $as_echo "$ac_try_echo") >&5 10498 (eval "$ac_link") 2>&5 10499 ac_status=$? 10500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10501 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10502 { (case "(($ac_try" in 10503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10504 *) ac_try_echo=$ac_try;; 10505 esac 10506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10507 $as_echo "$ac_try_echo") >&5 10508 (eval "$ac_try") 2>&5 10509 ac_status=$? 10510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10511 (exit $ac_status); }; }; then 10512 ac_cv_sizeof_void_p=`cat conftest.val` 10513 else 10514 $as_echo "$as_me: program exited with status $ac_status" >&5 10515 $as_echo "$as_me: failed program was:" >&5 10516 sed 's/^/| /' conftest.$ac_ext >&5 10517 10518 ( exit $ac_status ) 10519 if test "$ac_cv_type_void_p" = yes; then 10520 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10522 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10523 See \`config.log' for more details." >&5 10524 $as_echo "$as_me: error: cannot compute sizeof (void *) 10525 See \`config.log' for more details." >&2;} 10526 { (exit 77); exit 77; }; }; } 7898 10527 else 7899 10528 ac_cv_sizeof_void_p=0 7900 10529 fi 7901 10530 fi 7902 7903 fi 7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 10531 rm -rf conftest.dSYM 10532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10533 fi 10534 rm -f conftest.val 10535 fi 10536 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 7905 10537 $as_echo "$ac_cv_sizeof_void_p" >&6; } 7906 10538 … … 7916 10548 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7917 10549 # This bug is HP SR number 8606223364. 7918 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of float" >&510550 { $as_echo "$as_me:$LINENO: checking size of float" >&5 7919 10551 $as_echo_n "checking size of float... " >&6; } 7920 if ${ac_cv_sizeof_float+:} false; then :10552 if test "${ac_cv_sizeof_float+set}" = set; then 7921 10553 $as_echo_n "(cached) " >&6 7922 10554 else 7923 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then : 7924 7925 else 7926 if test "$ac_cv_type_float" = yes; then 7927 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10555 if test "$cross_compiling" = yes; then 10556 # Depending upon the size, compute the lo and hi bounds. 10557 cat >conftest.$ac_ext <<_ACEOF 10558 /* confdefs.h. */ 10559 _ACEOF 10560 cat confdefs.h >>conftest.$ac_ext 10561 cat >>conftest.$ac_ext <<_ACEOF 10562 /* end confdefs.h. */ 10563 $ac_includes_default 10564 int 10565 main () 10566 { 10567 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)]; 10568 test_array [0] = 0 10569 10570 ; 10571 return 0; 10572 } 10573 _ACEOF 10574 rm -f conftest.$ac_objext 10575 if { (ac_try="$ac_compile" 10576 case "(($ac_try" in 10577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10578 *) ac_try_echo=$ac_try;; 10579 esac 10580 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10581 $as_echo "$ac_try_echo") >&5 10582 (eval "$ac_compile") 2>conftest.er1 10583 ac_status=$? 10584 grep -v '^ *+' conftest.er1 >conftest.err 10585 rm -f conftest.er1 10586 cat conftest.err >&5 10587 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10588 (exit $ac_status); } && { 10589 test -z "$ac_cxx_werror_flag" || 10590 test ! -s conftest.err 10591 } && test -s conftest.$ac_objext; then 10592 ac_lo=0 ac_mid=0 10593 while :; do 10594 cat >conftest.$ac_ext <<_ACEOF 10595 /* confdefs.h. */ 10596 _ACEOF 10597 cat confdefs.h >>conftest.$ac_ext 10598 cat >>conftest.$ac_ext <<_ACEOF 10599 /* end confdefs.h. */ 10600 $ac_includes_default 10601 int 10602 main () 10603 { 10604 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 10605 test_array [0] = 0 10606 10607 ; 10608 return 0; 10609 } 10610 _ACEOF 10611 rm -f conftest.$ac_objext 10612 if { (ac_try="$ac_compile" 10613 case "(($ac_try" in 10614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10615 *) ac_try_echo=$ac_try;; 10616 esac 10617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10618 $as_echo "$ac_try_echo") >&5 10619 (eval "$ac_compile") 2>conftest.er1 10620 ac_status=$? 10621 grep -v '^ *+' conftest.er1 >conftest.err 10622 rm -f conftest.er1 10623 cat conftest.err >&5 10624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10625 (exit $ac_status); } && { 10626 test -z "$ac_cxx_werror_flag" || 10627 test ! -s conftest.err 10628 } && test -s conftest.$ac_objext; then 10629 ac_hi=$ac_mid; break 10630 else 10631 $as_echo "$as_me: failed program was:" >&5 10632 sed 's/^/| /' conftest.$ac_ext >&5 10633 10634 ac_lo=`expr $ac_mid + 1` 10635 if test $ac_lo -le $ac_mid; then 10636 ac_lo= ac_hi= 10637 break 10638 fi 10639 ac_mid=`expr 2 '*' $ac_mid + 1` 10640 fi 10641 10642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10643 done 10644 else 10645 $as_echo "$as_me: failed program was:" >&5 10646 sed 's/^/| /' conftest.$ac_ext >&5 10647 10648 cat >conftest.$ac_ext <<_ACEOF 10649 /* confdefs.h. */ 10650 _ACEOF 10651 cat confdefs.h >>conftest.$ac_ext 10652 cat >>conftest.$ac_ext <<_ACEOF 10653 /* end confdefs.h. */ 10654 $ac_includes_default 10655 int 10656 main () 10657 { 10658 static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)]; 10659 test_array [0] = 0 10660 10661 ; 10662 return 0; 10663 } 10664 _ACEOF 10665 rm -f conftest.$ac_objext 10666 if { (ac_try="$ac_compile" 10667 case "(($ac_try" in 10668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10669 *) ac_try_echo=$ac_try;; 10670 esac 10671 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10672 $as_echo "$ac_try_echo") >&5 10673 (eval "$ac_compile") 2>conftest.er1 10674 ac_status=$? 10675 grep -v '^ *+' conftest.er1 >conftest.err 10676 rm -f conftest.er1 10677 cat conftest.err >&5 10678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10679 (exit $ac_status); } && { 10680 test -z "$ac_cxx_werror_flag" || 10681 test ! -s conftest.err 10682 } && test -s conftest.$ac_objext; then 10683 ac_hi=-1 ac_mid=-1 10684 while :; do 10685 cat >conftest.$ac_ext <<_ACEOF 10686 /* confdefs.h. */ 10687 _ACEOF 10688 cat confdefs.h >>conftest.$ac_ext 10689 cat >>conftest.$ac_ext <<_ACEOF 10690 /* end confdefs.h. */ 10691 $ac_includes_default 10692 int 10693 main () 10694 { 10695 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)]; 10696 test_array [0] = 0 10697 10698 ; 10699 return 0; 10700 } 10701 _ACEOF 10702 rm -f conftest.$ac_objext 10703 if { (ac_try="$ac_compile" 10704 case "(($ac_try" in 10705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10706 *) ac_try_echo=$ac_try;; 10707 esac 10708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10709 $as_echo "$ac_try_echo") >&5 10710 (eval "$ac_compile") 2>conftest.er1 10711 ac_status=$? 10712 grep -v '^ *+' conftest.er1 >conftest.err 10713 rm -f conftest.er1 10714 cat conftest.err >&5 10715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10716 (exit $ac_status); } && { 10717 test -z "$ac_cxx_werror_flag" || 10718 test ! -s conftest.err 10719 } && test -s conftest.$ac_objext; then 10720 ac_lo=$ac_mid; break 10721 else 10722 $as_echo "$as_me: failed program was:" >&5 10723 sed 's/^/| /' conftest.$ac_ext >&5 10724 10725 ac_hi=`expr '(' $ac_mid ')' - 1` 10726 if test $ac_mid -le $ac_hi; then 10727 ac_lo= ac_hi= 10728 break 10729 fi 10730 ac_mid=`expr 2 '*' $ac_mid` 10731 fi 10732 10733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10734 done 10735 else 10736 $as_echo "$as_me: failed program was:" >&5 10737 sed 's/^/| /' conftest.$ac_ext >&5 10738 10739 ac_lo= ac_hi= 10740 fi 10741 10742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10743 fi 10744 10745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10746 # Binary search between lo and hi bounds. 10747 while test "x$ac_lo" != "x$ac_hi"; do 10748 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10749 cat >conftest.$ac_ext <<_ACEOF 10750 /* confdefs.h. */ 10751 _ACEOF 10752 cat confdefs.h >>conftest.$ac_ext 10753 cat >>conftest.$ac_ext <<_ACEOF 10754 /* end confdefs.h. */ 10755 $ac_includes_default 10756 int 10757 main () 10758 { 10759 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 10760 test_array [0] = 0 10761 10762 ; 10763 return 0; 10764 } 10765 _ACEOF 10766 rm -f conftest.$ac_objext 10767 if { (ac_try="$ac_compile" 10768 case "(($ac_try" in 10769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10770 *) ac_try_echo=$ac_try;; 10771 esac 10772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10773 $as_echo "$ac_try_echo") >&5 10774 (eval "$ac_compile") 2>conftest.er1 10775 ac_status=$? 10776 grep -v '^ *+' conftest.er1 >conftest.err 10777 rm -f conftest.er1 10778 cat conftest.err >&5 10779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10780 (exit $ac_status); } && { 10781 test -z "$ac_cxx_werror_flag" || 10782 test ! -s conftest.err 10783 } && test -s conftest.$ac_objext; then 10784 ac_hi=$ac_mid 10785 else 10786 $as_echo "$as_me: failed program was:" >&5 10787 sed 's/^/| /' conftest.$ac_ext >&5 10788 10789 ac_lo=`expr '(' $ac_mid ')' + 1` 10790 fi 10791 10792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10793 done 10794 case $ac_lo in 10795 ?*) ac_cv_sizeof_float=$ac_lo;; 10796 '') if test "$ac_cv_type_float" = yes; then 10797 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7928 10798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7929 as_fn_error 77 "cannot compute sizeof (float) 7930 See \`config.log' for more details" "$LINENO" 5; } 10799 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 10800 See \`config.log' for more details." >&5 10801 $as_echo "$as_me: error: cannot compute sizeof (float) 10802 See \`config.log' for more details." >&2;} 10803 { (exit 77); exit 77; }; }; } 10804 else 10805 ac_cv_sizeof_float=0 10806 fi ;; 10807 esac 10808 else 10809 cat >conftest.$ac_ext <<_ACEOF 10810 /* confdefs.h. */ 10811 _ACEOF 10812 cat confdefs.h >>conftest.$ac_ext 10813 cat >>conftest.$ac_ext <<_ACEOF 10814 /* end confdefs.h. */ 10815 $ac_includes_default 10816 static long int longval () { return (long int) (sizeof (float)); } 10817 static unsigned long int ulongval () { return (long int) (sizeof (float)); } 10818 #include <stdio.h> 10819 #include <stdlib.h> 10820 int 10821 main () 10822 { 10823 10824 FILE *f = fopen ("conftest.val", "w"); 10825 if (! f) 10826 return 1; 10827 if (((long int) (sizeof (float))) < 0) 10828 { 10829 long int i = longval (); 10830 if (i != ((long int) (sizeof (float)))) 10831 return 1; 10832 fprintf (f, "%ld", i); 10833 } 10834 else 10835 { 10836 unsigned long int i = ulongval (); 10837 if (i != ((long int) (sizeof (float)))) 10838 return 1; 10839 fprintf (f, "%lu", i); 10840 } 10841 /* Do not output a trailing newline, as this causes \r\n confusion 10842 on some platforms. */ 10843 return ferror (f) || fclose (f) != 0; 10844 10845 ; 10846 return 0; 10847 } 10848 _ACEOF 10849 rm -f conftest$ac_exeext 10850 if { (ac_try="$ac_link" 10851 case "(($ac_try" in 10852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10853 *) ac_try_echo=$ac_try;; 10854 esac 10855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10856 $as_echo "$ac_try_echo") >&5 10857 (eval "$ac_link") 2>&5 10858 ac_status=$? 10859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10860 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10861 { (case "(($ac_try" in 10862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10863 *) ac_try_echo=$ac_try;; 10864 esac 10865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10866 $as_echo "$ac_try_echo") >&5 10867 (eval "$ac_try") 2>&5 10868 ac_status=$? 10869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10870 (exit $ac_status); }; }; then 10871 ac_cv_sizeof_float=`cat conftest.val` 10872 else 10873 $as_echo "$as_me: program exited with status $ac_status" >&5 10874 $as_echo "$as_me: failed program was:" >&5 10875 sed 's/^/| /' conftest.$ac_ext >&5 10876 10877 ( exit $ac_status ) 10878 if test "$ac_cv_type_float" = yes; then 10879 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10881 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 10882 See \`config.log' for more details." >&5 10883 $as_echo "$as_me: error: cannot compute sizeof (float) 10884 See \`config.log' for more details." >&2;} 10885 { (exit 77); exit 77; }; }; } 7931 10886 else 7932 10887 ac_cv_sizeof_float=0 7933 10888 fi 7934 10889 fi 7935 7936 fi 7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 10890 rm -rf conftest.dSYM 10891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10892 fi 10893 rm -f conftest.val 10894 fi 10895 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5 7938 10896 $as_echo "$ac_cv_sizeof_float" >&6; } 7939 10897 … … 7962 10920 LD_RPATH=""; 7963 10921 7964 SUBDIRS="nanoscale nanovis pymolproxy "10922 SUBDIRS="nanoscale nanovis pymolproxy vtkvis" 7965 10923 7966 10924 … … 8011 10969 RP2_INCL_DIR="" 8012 10970 RP_DIR="" 8013 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for rappture" >&510971 { $as_echo "$as_me:$LINENO: checking for rappture" >&5 8014 10972 $as_echo_n "checking for rappture... " >&6; } 8015 10973 if test "x$with_rappture" != "x" ; then … … 8017 10975 if test -f "$with_rappture" 8018 10976 then 8019 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&510977 { $as_echo "$as_me:$LINENO: result: no" >&5 8020 10978 $as_echo "no" >&6; } 8021 as_fn_error $? "please provide --with-rappture with directory" "$LINENO" 5 10979 { { $as_echo "$as_me:$LINENO: error: please provide --with-rappture with directory" >&5 10980 $as_echo "$as_me: error: please provide --with-rappture with directory" >&2;} 10981 { (exit 1); exit 1; }; } 8022 10982 else 8023 10983 if test -d "$with_rappture" … … 8027 10987 RP2_INCL_DIR="$with_rappture/include/rappture2" 8028 10988 RP_DIR="$with_rappture" 8029 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&510989 { $as_echo "$as_me:$LINENO: result: yes" >&5 8030 10990 $as_echo "yes" >&6; } 8031 10991 else 8032 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&510992 { $as_echo "$as_me:$LINENO: result: no" >&5 8033 10993 $as_echo "no" >&6; } 8034 as_fn_error $? "cannot find rappture2.h and librappture2.a, try using --with-rappture" "$LINENO" 5 10994 { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&5 10995 $as_echo "$as_me: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&2;} 10996 { (exit 1); exit 1; }; } 8035 10997 fi 8036 10998 else 8037 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&510999 { $as_echo "$as_me:$LINENO: result: no" >&5 8038 11000 $as_echo "no" >&6; } 8039 as_fn_error $? "cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" "$LINENO" 5 11001 { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&5 11002 $as_echo "$as_me: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&2;} 11003 { (exit 1); exit 1; }; } 8040 11004 fi 8041 11005 fi … … 8043 11007 RP2_INCL_DIR="$prefix/include/rappture2" 8044 11008 RP_DIR="$prefix" 8045 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: set to prefix" >&511009 { $as_echo "$as_me:$LINENO: result: set to prefix" >&5 8046 11010 $as_echo "set to prefix" >&6; } 8047 11011 fi 8048 11012 else 8049 11013 11014 8050 11015 for ac_header in rappture.h 8051 do : 8052 ac_fn_cxx_check_header_mongrel "$LINENO" "rappture.h" "ac_cv_header_rappture_h" "$ac_includes_default" 8053 if test "x$ac_cv_header_rappture_h" = xyes; then : 8054 cat >>confdefs.h <<_ACEOF 8055 #define HAVE_RAPPTURE_H 1 8056 _ACEOF 8057 8058 else 8059 as_fn_error $? "cannot find rappture.h, try using --with-rappture" "$LINENO" 5 8060 fi 8061 8062 done 8063 8064 8065 8066 fi 8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${RP_DIR}/include" >&5 8068 $as_echo "${RP_DIR}/include" >&6; } 8069 8070 8071 8072 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glui.h" "ac_cv_header_GL_glui_h" "$ac_includes_default" 8073 if test "x$ac_cv_header_GL_glui_h" = xyes; then : 8074 8075 fi 8076 8077 8078 ac_fn_cxx_check_header_mongrel "$LINENO" "glui.h" "ac_cv_header_glui_h" "$ac_includes_default" 8079 if test "x$ac_cv_header_glui_h" = xyes; then : 8080 8081 fi 8082 8083 8084 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default" 8085 if test "x$ac_cv_header_GL_glut_h" = xyes; then : 8086 8087 fi 8088 8089 8090 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default" 8091 if test "x$ac_cv_header_GL_glew_h" = xyes; then : 8092 8093 fi 8094 8095 8096 ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default" 8097 if test "x$ac_cv_header_Cg_cgGL_h" = xyes; then : 8098 8099 fi 8100 8101 8102 8103 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 8104 do : 8105 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8106 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8107 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11016 do 11017 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11019 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11020 $as_echo_n "checking for $ac_header... " >&6; } 11021 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11022 $as_echo_n "(cached) " >&6 11023 fi 11024 ac_res=`eval 'as_val=${'$as_ac_Header'} 11025 $as_echo "$as_val"'` 11026 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11027 $as_echo "$ac_res" >&6; } 11028 else 11029 # Is the header compilable? 11030 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11031 $as_echo_n "checking $ac_header usability... " >&6; } 11032 cat >conftest.$ac_ext <<_ACEOF 11033 /* confdefs.h. */ 11034 _ACEOF 11035 cat confdefs.h >>conftest.$ac_ext 11036 cat >>conftest.$ac_ext <<_ACEOF 11037 /* end confdefs.h. */ 11038 $ac_includes_default 11039 #include <$ac_header> 11040 _ACEOF 11041 rm -f conftest.$ac_objext 11042 if { (ac_try="$ac_compile" 11043 case "(($ac_try" in 11044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11045 *) ac_try_echo=$ac_try;; 11046 esac 11047 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11048 $as_echo "$ac_try_echo") >&5 11049 (eval "$ac_compile") 2>conftest.er1 11050 ac_status=$? 11051 grep -v '^ *+' conftest.er1 >conftest.err 11052 rm -f conftest.er1 11053 cat conftest.err >&5 11054 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11055 (exit $ac_status); } && { 11056 test -z "$ac_cxx_werror_flag" || 11057 test ! -s conftest.err 11058 } && test -s conftest.$ac_objext; then 11059 ac_header_compiler=yes 11060 else 11061 $as_echo "$as_me: failed program was:" >&5 11062 sed 's/^/| /' conftest.$ac_ext >&5 11063 11064 ac_header_compiler=no 11065 fi 11066 11067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11068 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11069 $as_echo "$ac_header_compiler" >&6; } 11070 11071 # Is the header present? 11072 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11073 $as_echo_n "checking $ac_header presence... " >&6; } 11074 cat >conftest.$ac_ext <<_ACEOF 11075 /* confdefs.h. */ 11076 _ACEOF 11077 cat confdefs.h >>conftest.$ac_ext 11078 cat >>conftest.$ac_ext <<_ACEOF 11079 /* end confdefs.h. */ 11080 #include <$ac_header> 11081 _ACEOF 11082 if { (ac_try="$ac_cpp conftest.$ac_ext" 11083 case "(($ac_try" in 11084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11085 *) ac_try_echo=$ac_try;; 11086 esac 11087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11088 $as_echo "$ac_try_echo") >&5 11089 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11090 ac_status=$? 11091 grep -v '^ *+' conftest.er1 >conftest.err 11092 rm -f conftest.er1 11093 cat conftest.err >&5 11094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11095 (exit $ac_status); } >/dev/null && { 11096 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11097 test ! -s conftest.err 11098 }; then 11099 ac_header_preproc=yes 11100 else 11101 $as_echo "$as_me: failed program was:" >&5 11102 sed 's/^/| /' conftest.$ac_ext >&5 11103 11104 ac_header_preproc=no 11105 fi 11106 11107 rm -f conftest.err conftest.$ac_ext 11108 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11109 $as_echo "$ac_header_preproc" >&6; } 11110 11111 # So? What about this header? 11112 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11113 yes:no: ) 11114 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11115 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11116 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11117 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11118 ac_header_preproc=yes 11119 ;; 11120 no:yes:* ) 11121 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11122 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11123 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11124 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11125 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11126 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11127 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11128 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11129 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11130 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11131 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11132 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11133 ( cat <<\_ASBOX 11134 ## ----------------------------------- ## 11135 ## Report this to rappture@nanohub.org ## 11136 ## ----------------------------------- ## 11137 _ASBOX 11138 ) | sed "s/^/$as_me: WARNING: /" >&2 11139 ;; 11140 esac 11141 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11142 $as_echo_n "checking for $ac_header... " >&6; } 11143 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11144 $as_echo_n "(cached) " >&6 11145 else 11146 eval "$as_ac_Header=\$ac_header_preproc" 11147 fi 11148 ac_res=`eval 'as_val=${'$as_ac_Header'} 11149 $as_echo "$as_val"'` 11150 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11151 $as_echo "$ac_res" >&6; } 11152 11153 fi 11154 as_val=`eval 'as_val=${'$as_ac_Header'} 11155 $as_echo "$as_val"'` 11156 if test "x$as_val" = x""yes; then 8108 11157 cat >>confdefs.h <<_ACEOF 8109 11158 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8110 11159 _ACEOF 8111 11160 11161 else 11162 { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h, try using --with-rappture" >&5 11163 $as_echo "$as_me: error: cannot find rappture.h, try using --with-rappture" >&2;} 11164 { (exit 1); exit 1; }; } 8112 11165 fi 8113 11166 8114 11167 done 8115 11168 8116 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 8117 do : 8118 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8119 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8120 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11169 11170 11171 fi 11172 { $as_echo "$as_me:$LINENO: result: ${RP_DIR}/include" >&5 11173 $as_echo "${RP_DIR}/include" >&6; } 11174 11175 11176 11177 if test "x$with_vtk_includes" != "x"; then 11178 VTK_INC_SPEC=-I$with_vtk_includes 11179 fi 11180 11181 save_CPPFLAGS=$CPPFLAGS 11182 CPPFLAGS=$VTK_INC_SPEC 11183 11184 for ac_header in vtkSmartPointer.h 11185 do 11186 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11188 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11189 $as_echo_n "checking for $ac_header... " >&6; } 11190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11191 $as_echo_n "(cached) " >&6 11192 fi 11193 ac_res=`eval 'as_val=${'$as_ac_Header'} 11194 $as_echo "$as_val"'` 11195 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11196 $as_echo "$ac_res" >&6; } 11197 else 11198 # Is the header compilable? 11199 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11200 $as_echo_n "checking $ac_header usability... " >&6; } 11201 cat >conftest.$ac_ext <<_ACEOF 11202 /* confdefs.h. */ 11203 _ACEOF 11204 cat confdefs.h >>conftest.$ac_ext 11205 cat >>conftest.$ac_ext <<_ACEOF 11206 /* end confdefs.h. */ 11207 $ac_includes_default 11208 #include <$ac_header> 11209 _ACEOF 11210 rm -f conftest.$ac_objext 11211 if { (ac_try="$ac_compile" 11212 case "(($ac_try" in 11213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11214 *) ac_try_echo=$ac_try;; 11215 esac 11216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11217 $as_echo "$ac_try_echo") >&5 11218 (eval "$ac_compile") 2>conftest.er1 11219 ac_status=$? 11220 grep -v '^ *+' conftest.er1 >conftest.err 11221 rm -f conftest.er1 11222 cat conftest.err >&5 11223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11224 (exit $ac_status); } && { 11225 test -z "$ac_cxx_werror_flag" || 11226 test ! -s conftest.err 11227 } && test -s conftest.$ac_objext; then 11228 ac_header_compiler=yes 11229 else 11230 $as_echo "$as_me: failed program was:" >&5 11231 sed 's/^/| /' conftest.$ac_ext >&5 11232 11233 ac_header_compiler=no 11234 fi 11235 11236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11237 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11238 $as_echo "$ac_header_compiler" >&6; } 11239 11240 # Is the header present? 11241 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11242 $as_echo_n "checking $ac_header presence... " >&6; } 11243 cat >conftest.$ac_ext <<_ACEOF 11244 /* confdefs.h. */ 11245 _ACEOF 11246 cat confdefs.h >>conftest.$ac_ext 11247 cat >>conftest.$ac_ext <<_ACEOF 11248 /* end confdefs.h. */ 11249 #include <$ac_header> 11250 _ACEOF 11251 if { (ac_try="$ac_cpp conftest.$ac_ext" 11252 case "(($ac_try" in 11253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11254 *) ac_try_echo=$ac_try;; 11255 esac 11256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11257 $as_echo "$ac_try_echo") >&5 11258 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11259 ac_status=$? 11260 grep -v '^ *+' conftest.er1 >conftest.err 11261 rm -f conftest.er1 11262 cat conftest.err >&5 11263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11264 (exit $ac_status); } >/dev/null && { 11265 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11266 test ! -s conftest.err 11267 }; then 11268 ac_header_preproc=yes 11269 else 11270 $as_echo "$as_me: failed program was:" >&5 11271 sed 's/^/| /' conftest.$ac_ext >&5 11272 11273 ac_header_preproc=no 11274 fi 11275 11276 rm -f conftest.err conftest.$ac_ext 11277 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11278 $as_echo "$ac_header_preproc" >&6; } 11279 11280 # So? What about this header? 11281 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11282 yes:no: ) 11283 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11284 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11285 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11286 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11287 ac_header_preproc=yes 11288 ;; 11289 no:yes:* ) 11290 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11291 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11292 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11293 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11294 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11295 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11296 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11297 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11298 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11299 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11300 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11301 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11302 ( cat <<\_ASBOX 11303 ## ----------------------------------- ## 11304 ## Report this to rappture@nanohub.org ## 11305 ## ----------------------------------- ## 11306 _ASBOX 11307 ) | sed "s/^/$as_me: WARNING: /" >&2 11308 ;; 11309 esac 11310 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11311 $as_echo_n "checking for $ac_header... " >&6; } 11312 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11313 $as_echo_n "(cached) " >&6 11314 else 11315 eval "$as_ac_Header=\$ac_header_preproc" 11316 fi 11317 ac_res=`eval 'as_val=${'$as_ac_Header'} 11318 $as_echo "$as_val"'` 11319 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11320 $as_echo "$ac_res" >&6; } 11321 11322 fi 11323 as_val=`eval 'as_val=${'$as_ac_Header'} 11324 $as_echo "$as_val"'` 11325 if test "x$as_val" = x""yes; then 8121 11326 cat >>confdefs.h <<_ACEOF 8122 11327 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8123 11328 _ACEOF 8124 11329 11330 else 11331 { { $as_echo "$as_me:$LINENO: error: cannot find VTK includes" >&5 11332 $as_echo "$as_me: error: cannot find VTK includes" >&2;} 11333 { (exit 1); exit 1; }; } 8125 11334 fi 8126 11335 8127 11336 done 8128 11337 8129 8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenDX headers" >&5 11338 CPPFLAGS=$save_CPPFLAGS 11339 11340 if test "x$with_vtk_libs" != "x"; then 11341 VTK_LIB_SPEC=-L$with_vtk_libs 11342 fi 11343 11344 11345 11346 11347 if test "${ac_cv_header_GL_glui_h+set}" = set; then 11348 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 11349 $as_echo_n "checking for GL/glui.h... " >&6; } 11350 if test "${ac_cv_header_GL_glui_h+set}" = set; then 11351 $as_echo_n "(cached) " >&6 11352 fi 11353 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 11354 $as_echo "$ac_cv_header_GL_glui_h" >&6; } 11355 else 11356 # Is the header compilable? 11357 { $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&5 11358 $as_echo_n "checking GL/glui.h usability... " >&6; } 11359 cat >conftest.$ac_ext <<_ACEOF 11360 /* confdefs.h. */ 11361 _ACEOF 11362 cat confdefs.h >>conftest.$ac_ext 11363 cat >>conftest.$ac_ext <<_ACEOF 11364 /* end confdefs.h. */ 11365 $ac_includes_default 11366 #include <GL/glui.h> 11367 _ACEOF 11368 rm -f conftest.$ac_objext 11369 if { (ac_try="$ac_compile" 11370 case "(($ac_try" in 11371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11372 *) ac_try_echo=$ac_try;; 11373 esac 11374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11375 $as_echo "$ac_try_echo") >&5 11376 (eval "$ac_compile") 2>conftest.er1 11377 ac_status=$? 11378 grep -v '^ *+' conftest.er1 >conftest.err 11379 rm -f conftest.er1 11380 cat conftest.err >&5 11381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11382 (exit $ac_status); } && { 11383 test -z "$ac_cxx_werror_flag" || 11384 test ! -s conftest.err 11385 } && test -s conftest.$ac_objext; then 11386 ac_header_compiler=yes 11387 else 11388 $as_echo "$as_me: failed program was:" >&5 11389 sed 's/^/| /' conftest.$ac_ext >&5 11390 11391 ac_header_compiler=no 11392 fi 11393 11394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11395 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11396 $as_echo "$ac_header_compiler" >&6; } 11397 11398 # Is the header present? 11399 { $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&5 11400 $as_echo_n "checking GL/glui.h presence... " >&6; } 11401 cat >conftest.$ac_ext <<_ACEOF 11402 /* confdefs.h. */ 11403 _ACEOF 11404 cat confdefs.h >>conftest.$ac_ext 11405 cat >>conftest.$ac_ext <<_ACEOF 11406 /* end confdefs.h. */ 11407 #include <GL/glui.h> 11408 _ACEOF 11409 if { (ac_try="$ac_cpp conftest.$ac_ext" 11410 case "(($ac_try" in 11411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11412 *) ac_try_echo=$ac_try;; 11413 esac 11414 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11415 $as_echo "$ac_try_echo") >&5 11416 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11417 ac_status=$? 11418 grep -v '^ *+' conftest.er1 >conftest.err 11419 rm -f conftest.er1 11420 cat conftest.err >&5 11421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11422 (exit $ac_status); } >/dev/null && { 11423 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11424 test ! -s conftest.err 11425 }; then 11426 ac_header_preproc=yes 11427 else 11428 $as_echo "$as_me: failed program was:" >&5 11429 sed 's/^/| /' conftest.$ac_ext >&5 11430 11431 ac_header_preproc=no 11432 fi 11433 11434 rm -f conftest.err conftest.$ac_ext 11435 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11436 $as_echo "$ac_header_preproc" >&6; } 11437 11438 # So? What about this header? 11439 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11440 yes:no: ) 11441 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 11442 $as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11443 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5 11444 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;} 11445 ac_header_preproc=yes 11446 ;; 11447 no:yes:* ) 11448 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5 11449 $as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;} 11450 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: check for missing prerequisite headers?" >&5 11451 $as_echo "$as_me: WARNING: GL/glui.h: check for missing prerequisite headers?" >&2;} 11452 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5 11453 $as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;} 11454 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&5 11455 $as_echo "$as_me: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&2;} 11456 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5 11457 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;} 11458 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5 11459 $as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;} 11460 ( cat <<\_ASBOX 11461 ## ----------------------------------- ## 11462 ## Report this to rappture@nanohub.org ## 11463 ## ----------------------------------- ## 11464 _ASBOX 11465 ) | sed "s/^/$as_me: WARNING: /" >&2 11466 ;; 11467 esac 11468 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 11469 $as_echo_n "checking for GL/glui.h... " >&6; } 11470 if test "${ac_cv_header_GL_glui_h+set}" = set; then 11471 $as_echo_n "(cached) " >&6 11472 else 11473 ac_cv_header_GL_glui_h=$ac_header_preproc 11474 fi 11475 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 11476 $as_echo "$ac_cv_header_GL_glui_h" >&6; } 11477 11478 fi 11479 11480 11481 if test "${ac_cv_header_glui_h+set}" = set; then 11482 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 11483 $as_echo_n "checking for glui.h... " >&6; } 11484 if test "${ac_cv_header_glui_h+set}" = set; then 11485 $as_echo_n "(cached) " >&6 11486 fi 11487 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 11488 $as_echo "$ac_cv_header_glui_h" >&6; } 11489 else 11490 # Is the header compilable? 11491 { $as_echo "$as_me:$LINENO: checking glui.h usability" >&5 11492 $as_echo_n "checking glui.h usability... " >&6; } 11493 cat >conftest.$ac_ext <<_ACEOF 11494 /* confdefs.h. */ 11495 _ACEOF 11496 cat confdefs.h >>conftest.$ac_ext 11497 cat >>conftest.$ac_ext <<_ACEOF 11498 /* end confdefs.h. */ 11499 $ac_includes_default 11500 #include <glui.h> 11501 _ACEOF 11502 rm -f conftest.$ac_objext 11503 if { (ac_try="$ac_compile" 11504 case "(($ac_try" in 11505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11506 *) ac_try_echo=$ac_try;; 11507 esac 11508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11509 $as_echo "$ac_try_echo") >&5 11510 (eval "$ac_compile") 2>conftest.er1 11511 ac_status=$? 11512 grep -v '^ *+' conftest.er1 >conftest.err 11513 rm -f conftest.er1 11514 cat conftest.err >&5 11515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11516 (exit $ac_status); } && { 11517 test -z "$ac_cxx_werror_flag" || 11518 test ! -s conftest.err 11519 } && test -s conftest.$ac_objext; then 11520 ac_header_compiler=yes 11521 else 11522 $as_echo "$as_me: failed program was:" >&5 11523 sed 's/^/| /' conftest.$ac_ext >&5 11524 11525 ac_header_compiler=no 11526 fi 11527 11528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11529 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11530 $as_echo "$ac_header_compiler" >&6; } 11531 11532 # Is the header present? 11533 { $as_echo "$as_me:$LINENO: checking glui.h presence" >&5 11534 $as_echo_n "checking glui.h presence... " >&6; } 11535 cat >conftest.$ac_ext <<_ACEOF 11536 /* confdefs.h. */ 11537 _ACEOF 11538 cat confdefs.h >>conftest.$ac_ext 11539 cat >>conftest.$ac_ext <<_ACEOF 11540 /* end confdefs.h. */ 11541 #include <glui.h> 11542 _ACEOF 11543 if { (ac_try="$ac_cpp conftest.$ac_ext" 11544 case "(($ac_try" in 11545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11546 *) ac_try_echo=$ac_try;; 11547 esac 11548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11549 $as_echo "$ac_try_echo") >&5 11550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11551 ac_status=$? 11552 grep -v '^ *+' conftest.er1 >conftest.err 11553 rm -f conftest.er1 11554 cat conftest.err >&5 11555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11556 (exit $ac_status); } >/dev/null && { 11557 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11558 test ! -s conftest.err 11559 }; then 11560 ac_header_preproc=yes 11561 else 11562 $as_echo "$as_me: failed program was:" >&5 11563 sed 's/^/| /' conftest.$ac_ext >&5 11564 11565 ac_header_preproc=no 11566 fi 11567 11568 rm -f conftest.err conftest.$ac_ext 11569 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11570 $as_echo "$ac_header_preproc" >&6; } 11571 11572 # So? What about this header? 11573 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11574 yes:no: ) 11575 { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 11576 $as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11577 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5 11578 $as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;} 11579 ac_header_preproc=yes 11580 ;; 11581 no:yes:* ) 11582 { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5 11583 $as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;} 11584 { $as_echo "$as_me:$LINENO: WARNING: glui.h: check for missing prerequisite headers?" >&5 11585 $as_echo "$as_me: WARNING: glui.h: check for missing prerequisite headers?" >&2;} 11586 { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5 11587 $as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;} 11588 { $as_echo "$as_me:$LINENO: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&5 11589 $as_echo "$as_me: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&2;} 11590 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5 11591 $as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;} 11592 { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5 11593 $as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;} 11594 ( cat <<\_ASBOX 11595 ## ----------------------------------- ## 11596 ## Report this to rappture@nanohub.org ## 11597 ## ----------------------------------- ## 11598 _ASBOX 11599 ) | sed "s/^/$as_me: WARNING: /" >&2 11600 ;; 11601 esac 11602 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 11603 $as_echo_n "checking for glui.h... " >&6; } 11604 if test "${ac_cv_header_glui_h+set}" = set; then 11605 $as_echo_n "(cached) " >&6 11606 else 11607 ac_cv_header_glui_h=$ac_header_preproc 11608 fi 11609 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 11610 $as_echo "$ac_cv_header_glui_h" >&6; } 11611 11612 fi 11613 11614 11615 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11616 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 11617 $as_echo_n "checking for GL/glut.h... " >&6; } 11618 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11619 $as_echo_n "(cached) " >&6 11620 fi 11621 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 11622 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 11623 else 11624 # Is the header compilable? 11625 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5 11626 $as_echo_n "checking GL/glut.h usability... " >&6; } 11627 cat >conftest.$ac_ext <<_ACEOF 11628 /* confdefs.h. */ 11629 _ACEOF 11630 cat confdefs.h >>conftest.$ac_ext 11631 cat >>conftest.$ac_ext <<_ACEOF 11632 /* end confdefs.h. */ 11633 $ac_includes_default 11634 #include <GL/glut.h> 11635 _ACEOF 11636 rm -f conftest.$ac_objext 11637 if { (ac_try="$ac_compile" 11638 case "(($ac_try" in 11639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11640 *) ac_try_echo=$ac_try;; 11641 esac 11642 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11643 $as_echo "$ac_try_echo") >&5 11644 (eval "$ac_compile") 2>conftest.er1 11645 ac_status=$? 11646 grep -v '^ *+' conftest.er1 >conftest.err 11647 rm -f conftest.er1 11648 cat conftest.err >&5 11649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11650 (exit $ac_status); } && { 11651 test -z "$ac_cxx_werror_flag" || 11652 test ! -s conftest.err 11653 } && test -s conftest.$ac_objext; then 11654 ac_header_compiler=yes 11655 else 11656 $as_echo "$as_me: failed program was:" >&5 11657 sed 's/^/| /' conftest.$ac_ext >&5 11658 11659 ac_header_compiler=no 11660 fi 11661 11662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11663 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11664 $as_echo "$ac_header_compiler" >&6; } 11665 11666 # Is the header present? 11667 { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5 11668 $as_echo_n "checking GL/glut.h presence... " >&6; } 11669 cat >conftest.$ac_ext <<_ACEOF 11670 /* confdefs.h. */ 11671 _ACEOF 11672 cat confdefs.h >>conftest.$ac_ext 11673 cat >>conftest.$ac_ext <<_ACEOF 11674 /* end confdefs.h. */ 11675 #include <GL/glut.h> 11676 _ACEOF 11677 if { (ac_try="$ac_cpp conftest.$ac_ext" 11678 case "(($ac_try" in 11679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11680 *) ac_try_echo=$ac_try;; 11681 esac 11682 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11683 $as_echo "$ac_try_echo") >&5 11684 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11685 ac_status=$? 11686 grep -v '^ *+' conftest.er1 >conftest.err 11687 rm -f conftest.er1 11688 cat conftest.err >&5 11689 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11690 (exit $ac_status); } >/dev/null && { 11691 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11692 test ! -s conftest.err 11693 }; then 11694 ac_header_preproc=yes 11695 else 11696 $as_echo "$as_me: failed program was:" >&5 11697 sed 's/^/| /' conftest.$ac_ext >&5 11698 11699 ac_header_preproc=no 11700 fi 11701 11702 rm -f conftest.err conftest.$ac_ext 11703 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11704 $as_echo "$ac_header_preproc" >&6; } 11705 11706 # So? What about this header? 11707 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11708 yes:no: ) 11709 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5 11710 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11711 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5 11712 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;} 11713 ac_header_preproc=yes 11714 ;; 11715 no:yes:* ) 11716 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5 11717 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;} 11718 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5 11719 $as_echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;} 11720 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5 11721 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;} 11722 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5 11723 $as_echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;} 11724 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5 11725 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;} 11726 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5 11727 $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;} 11728 ( cat <<\_ASBOX 11729 ## ----------------------------------- ## 11730 ## Report this to rappture@nanohub.org ## 11731 ## ----------------------------------- ## 11732 _ASBOX 11733 ) | sed "s/^/$as_me: WARNING: /" >&2 11734 ;; 11735 esac 11736 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 11737 $as_echo_n "checking for GL/glut.h... " >&6; } 11738 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11739 $as_echo_n "(cached) " >&6 11740 else 11741 ac_cv_header_GL_glut_h=$ac_header_preproc 11742 fi 11743 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 11744 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 11745 11746 fi 11747 11748 11749 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11750 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 11751 $as_echo_n "checking for GL/glew.h... " >&6; } 11752 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11753 $as_echo_n "(cached) " >&6 11754 fi 11755 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 11756 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 11757 else 11758 # Is the header compilable? 11759 { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5 11760 $as_echo_n "checking GL/glew.h usability... " >&6; } 11761 cat >conftest.$ac_ext <<_ACEOF 11762 /* confdefs.h. */ 11763 _ACEOF 11764 cat confdefs.h >>conftest.$ac_ext 11765 cat >>conftest.$ac_ext <<_ACEOF 11766 /* end confdefs.h. */ 11767 $ac_includes_default 11768 #include <GL/glew.h> 11769 _ACEOF 11770 rm -f conftest.$ac_objext 11771 if { (ac_try="$ac_compile" 11772 case "(($ac_try" in 11773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11774 *) ac_try_echo=$ac_try;; 11775 esac 11776 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11777 $as_echo "$ac_try_echo") >&5 11778 (eval "$ac_compile") 2>conftest.er1 11779 ac_status=$? 11780 grep -v '^ *+' conftest.er1 >conftest.err 11781 rm -f conftest.er1 11782 cat conftest.err >&5 11783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11784 (exit $ac_status); } && { 11785 test -z "$ac_cxx_werror_flag" || 11786 test ! -s conftest.err 11787 } && test -s conftest.$ac_objext; then 11788 ac_header_compiler=yes 11789 else 11790 $as_echo "$as_me: failed program was:" >&5 11791 sed 's/^/| /' conftest.$ac_ext >&5 11792 11793 ac_header_compiler=no 11794 fi 11795 11796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11797 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11798 $as_echo "$ac_header_compiler" >&6; } 11799 11800 # Is the header present? 11801 { $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5 11802 $as_echo_n "checking GL/glew.h presence... " >&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 #include <GL/glew.h> 11810 _ACEOF 11811 if { (ac_try="$ac_cpp conftest.$ac_ext" 11812 case "(($ac_try" in 11813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11814 *) ac_try_echo=$ac_try;; 11815 esac 11816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11817 $as_echo "$ac_try_echo") >&5 11818 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11819 ac_status=$? 11820 grep -v '^ *+' conftest.er1 >conftest.err 11821 rm -f conftest.er1 11822 cat conftest.err >&5 11823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11824 (exit $ac_status); } >/dev/null && { 11825 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11826 test ! -s conftest.err 11827 }; then 11828 ac_header_preproc=yes 11829 else 11830 $as_echo "$as_me: failed program was:" >&5 11831 sed 's/^/| /' conftest.$ac_ext >&5 11832 11833 ac_header_preproc=no 11834 fi 11835 11836 rm -f conftest.err conftest.$ac_ext 11837 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11838 $as_echo "$ac_header_preproc" >&6; } 11839 11840 # So? What about this header? 11841 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11842 yes:no: ) 11843 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5 11844 $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11845 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5 11846 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;} 11847 ac_header_preproc=yes 11848 ;; 11849 no:yes:* ) 11850 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5 11851 $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;} 11852 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: check for missing prerequisite headers?" >&5 11853 $as_echo "$as_me: WARNING: GL/glew.h: check for missing prerequisite headers?" >&2;} 11854 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5 11855 $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;} 11856 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&5 11857 $as_echo "$as_me: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&2;} 11858 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5 11859 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;} 11860 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5 11861 $as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;} 11862 ( cat <<\_ASBOX 11863 ## ----------------------------------- ## 11864 ## Report this to rappture@nanohub.org ## 11865 ## ----------------------------------- ## 11866 _ASBOX 11867 ) | sed "s/^/$as_me: WARNING: /" >&2 11868 ;; 11869 esac 11870 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 11871 $as_echo_n "checking for GL/glew.h... " >&6; } 11872 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11873 $as_echo_n "(cached) " >&6 11874 else 11875 ac_cv_header_GL_glew_h=$ac_header_preproc 11876 fi 11877 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 11878 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 11879 11880 fi 11881 11882 11883 if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then 11884 { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5 11885 $as_echo_n "checking for Cg/cgGL.h... " >&6; } 11886 if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then 11887 $as_echo_n "(cached) " >&6 11888 fi 11889 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5 11890 $as_echo "$ac_cv_header_Cg_cgGL_h" >&6; } 11891 else 11892 # Is the header compilable? 11893 { $as_echo "$as_me:$LINENO: checking Cg/cgGL.h usability" >&5 11894 $as_echo_n "checking Cg/cgGL.h usability... " >&6; } 11895 cat >conftest.$ac_ext <<_ACEOF 11896 /* confdefs.h. */ 11897 _ACEOF 11898 cat confdefs.h >>conftest.$ac_ext 11899 cat >>conftest.$ac_ext <<_ACEOF 11900 /* end confdefs.h. */ 11901 $ac_includes_default 11902 #include <Cg/cgGL.h> 11903 _ACEOF 11904 rm -f conftest.$ac_objext 11905 if { (ac_try="$ac_compile" 11906 case "(($ac_try" in 11907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11908 *) ac_try_echo=$ac_try;; 11909 esac 11910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11911 $as_echo "$ac_try_echo") >&5 11912 (eval "$ac_compile") 2>conftest.er1 11913 ac_status=$? 11914 grep -v '^ *+' conftest.er1 >conftest.err 11915 rm -f conftest.er1 11916 cat conftest.err >&5 11917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11918 (exit $ac_status); } && { 11919 test -z "$ac_cxx_werror_flag" || 11920 test ! -s conftest.err 11921 } && test -s conftest.$ac_objext; then 11922 ac_header_compiler=yes 11923 else 11924 $as_echo "$as_me: failed program was:" >&5 11925 sed 's/^/| /' conftest.$ac_ext >&5 11926 11927 ac_header_compiler=no 11928 fi 11929 11930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11931 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11932 $as_echo "$ac_header_compiler" >&6; } 11933 11934 # Is the header present? 11935 { $as_echo "$as_me:$LINENO: checking Cg/cgGL.h presence" >&5 11936 $as_echo_n "checking Cg/cgGL.h presence... " >&6; } 11937 cat >conftest.$ac_ext <<_ACEOF 11938 /* confdefs.h. */ 11939 _ACEOF 11940 cat confdefs.h >>conftest.$ac_ext 11941 cat >>conftest.$ac_ext <<_ACEOF 11942 /* end confdefs.h. */ 11943 #include <Cg/cgGL.h> 11944 _ACEOF 11945 if { (ac_try="$ac_cpp conftest.$ac_ext" 11946 case "(($ac_try" in 11947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11948 *) ac_try_echo=$ac_try;; 11949 esac 11950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11951 $as_echo "$ac_try_echo") >&5 11952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11953 ac_status=$? 11954 grep -v '^ *+' conftest.er1 >conftest.err 11955 rm -f conftest.er1 11956 cat conftest.err >&5 11957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11958 (exit $ac_status); } >/dev/null && { 11959 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11960 test ! -s conftest.err 11961 }; then 11962 ac_header_preproc=yes 11963 else 11964 $as_echo "$as_me: failed program was:" >&5 11965 sed 's/^/| /' conftest.$ac_ext >&5 11966 11967 ac_header_preproc=no 11968 fi 11969 11970 rm -f conftest.err conftest.$ac_ext 11971 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11972 $as_echo "$ac_header_preproc" >&6; } 11973 11974 # So? What about this header? 11975 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11976 yes:no: ) 11977 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&5 11978 $as_echo "$as_me: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11979 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&5 11980 $as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&2;} 11981 ac_header_preproc=yes 11982 ;; 11983 no:yes:* ) 11984 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: present but cannot be compiled" >&5 11985 $as_echo "$as_me: WARNING: Cg/cgGL.h: present but cannot be compiled" >&2;} 11986 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: check for missing prerequisite headers?" >&5 11987 $as_echo "$as_me: WARNING: Cg/cgGL.h: check for missing prerequisite headers?" >&2;} 11988 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&5 11989 $as_echo "$as_me: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&2;} 11990 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: section \"Present But Cannot Be Compiled\"" >&5 11991 $as_echo "$as_me: WARNING: Cg/cgGL.h: section \"Present But Cannot Be Compiled\"" >&2;} 11992 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&5 11993 $as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&2;} 11994 { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&5 11995 $as_echo "$as_me: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&2;} 11996 ( cat <<\_ASBOX 11997 ## ----------------------------------- ## 11998 ## Report this to rappture@nanohub.org ## 11999 ## ----------------------------------- ## 12000 _ASBOX 12001 ) | sed "s/^/$as_me: WARNING: /" >&2 12002 ;; 12003 esac 12004 { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5 12005 $as_echo_n "checking for Cg/cgGL.h... " >&6; } 12006 if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then 12007 $as_echo_n "(cached) " >&6 12008 else 12009 ac_cv_header_Cg_cgGL_h=$ac_header_preproc 12010 fi 12011 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5 12012 $as_echo "$ac_cv_header_Cg_cgGL_h" >&6; } 12013 12014 fi 12015 12016 12017 12018 12019 12020 12021 12022 12023 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 12024 do 12025 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12026 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12027 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12028 $as_echo_n "checking for $ac_header... " >&6; } 12029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12030 $as_echo_n "(cached) " >&6 12031 fi 12032 ac_res=`eval 'as_val=${'$as_ac_Header'} 12033 $as_echo "$as_val"'` 12034 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12035 $as_echo "$ac_res" >&6; } 12036 else 12037 # Is the header compilable? 12038 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12039 $as_echo_n "checking $ac_header usability... " >&6; } 12040 cat >conftest.$ac_ext <<_ACEOF 12041 /* confdefs.h. */ 12042 _ACEOF 12043 cat confdefs.h >>conftest.$ac_ext 12044 cat >>conftest.$ac_ext <<_ACEOF 12045 /* end confdefs.h. */ 12046 $ac_includes_default 12047 #include <$ac_header> 12048 _ACEOF 12049 rm -f conftest.$ac_objext 12050 if { (ac_try="$ac_compile" 12051 case "(($ac_try" in 12052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12053 *) ac_try_echo=$ac_try;; 12054 esac 12055 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12056 $as_echo "$ac_try_echo") >&5 12057 (eval "$ac_compile") 2>conftest.er1 12058 ac_status=$? 12059 grep -v '^ *+' conftest.er1 >conftest.err 12060 rm -f conftest.er1 12061 cat conftest.err >&5 12062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12063 (exit $ac_status); } && { 12064 test -z "$ac_cxx_werror_flag" || 12065 test ! -s conftest.err 12066 } && test -s conftest.$ac_objext; then 12067 ac_header_compiler=yes 12068 else 12069 $as_echo "$as_me: failed program was:" >&5 12070 sed 's/^/| /' conftest.$ac_ext >&5 12071 12072 ac_header_compiler=no 12073 fi 12074 12075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12076 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12077 $as_echo "$ac_header_compiler" >&6; } 12078 12079 # Is the header present? 12080 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12081 $as_echo_n "checking $ac_header presence... " >&6; } 12082 cat >conftest.$ac_ext <<_ACEOF 12083 /* confdefs.h. */ 12084 _ACEOF 12085 cat confdefs.h >>conftest.$ac_ext 12086 cat >>conftest.$ac_ext <<_ACEOF 12087 /* end confdefs.h. */ 12088 #include <$ac_header> 12089 _ACEOF 12090 if { (ac_try="$ac_cpp conftest.$ac_ext" 12091 case "(($ac_try" in 12092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12093 *) ac_try_echo=$ac_try;; 12094 esac 12095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12096 $as_echo "$ac_try_echo") >&5 12097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12098 ac_status=$? 12099 grep -v '^ *+' conftest.er1 >conftest.err 12100 rm -f conftest.er1 12101 cat conftest.err >&5 12102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12103 (exit $ac_status); } >/dev/null && { 12104 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12105 test ! -s conftest.err 12106 }; then 12107 ac_header_preproc=yes 12108 else 12109 $as_echo "$as_me: failed program was:" >&5 12110 sed 's/^/| /' conftest.$ac_ext >&5 12111 12112 ac_header_preproc=no 12113 fi 12114 12115 rm -f conftest.err conftest.$ac_ext 12116 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12117 $as_echo "$ac_header_preproc" >&6; } 12118 12119 # So? What about this header? 12120 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12121 yes:no: ) 12122 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12123 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12124 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12125 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12126 ac_header_preproc=yes 12127 ;; 12128 no:yes:* ) 12129 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12130 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12131 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12132 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12133 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12134 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12135 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12136 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12137 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12138 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12139 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12140 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12141 ( cat <<\_ASBOX 12142 ## ----------------------------------- ## 12143 ## Report this to rappture@nanohub.org ## 12144 ## ----------------------------------- ## 12145 _ASBOX 12146 ) | sed "s/^/$as_me: WARNING: /" >&2 12147 ;; 12148 esac 12149 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12150 $as_echo_n "checking for $ac_header... " >&6; } 12151 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12152 $as_echo_n "(cached) " >&6 12153 else 12154 eval "$as_ac_Header=\$ac_header_preproc" 12155 fi 12156 ac_res=`eval 'as_val=${'$as_ac_Header'} 12157 $as_echo "$as_val"'` 12158 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12159 $as_echo "$ac_res" >&6; } 12160 12161 fi 12162 as_val=`eval 'as_val=${'$as_ac_Header'} 12163 $as_echo "$as_val"'` 12164 if test "x$as_val" = x""yes; then 12165 cat >>confdefs.h <<_ACEOF 12166 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12167 _ACEOF 12168 12169 fi 12170 12171 done 12172 12173 12174 12175 12176 12177 12178 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 12179 do 12180 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12181 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12182 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12183 $as_echo_n "checking for $ac_header... " >&6; } 12184 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12185 $as_echo_n "(cached) " >&6 12186 fi 12187 ac_res=`eval 'as_val=${'$as_ac_Header'} 12188 $as_echo "$as_val"'` 12189 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12190 $as_echo "$ac_res" >&6; } 12191 else 12192 # Is the header compilable? 12193 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12194 $as_echo_n "checking $ac_header usability... " >&6; } 12195 cat >conftest.$ac_ext <<_ACEOF 12196 /* confdefs.h. */ 12197 _ACEOF 12198 cat confdefs.h >>conftest.$ac_ext 12199 cat >>conftest.$ac_ext <<_ACEOF 12200 /* end confdefs.h. */ 12201 $ac_includes_default 12202 #include <$ac_header> 12203 _ACEOF 12204 rm -f conftest.$ac_objext 12205 if { (ac_try="$ac_compile" 12206 case "(($ac_try" in 12207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12208 *) ac_try_echo=$ac_try;; 12209 esac 12210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12211 $as_echo "$ac_try_echo") >&5 12212 (eval "$ac_compile") 2>conftest.er1 12213 ac_status=$? 12214 grep -v '^ *+' conftest.er1 >conftest.err 12215 rm -f conftest.er1 12216 cat conftest.err >&5 12217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12218 (exit $ac_status); } && { 12219 test -z "$ac_cxx_werror_flag" || 12220 test ! -s conftest.err 12221 } && test -s conftest.$ac_objext; then 12222 ac_header_compiler=yes 12223 else 12224 $as_echo "$as_me: failed program was:" >&5 12225 sed 's/^/| /' conftest.$ac_ext >&5 12226 12227 ac_header_compiler=no 12228 fi 12229 12230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12231 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12232 $as_echo "$ac_header_compiler" >&6; } 12233 12234 # Is the header present? 12235 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12236 $as_echo_n "checking $ac_header presence... " >&6; } 12237 cat >conftest.$ac_ext <<_ACEOF 12238 /* confdefs.h. */ 12239 _ACEOF 12240 cat confdefs.h >>conftest.$ac_ext 12241 cat >>conftest.$ac_ext <<_ACEOF 12242 /* end confdefs.h. */ 12243 #include <$ac_header> 12244 _ACEOF 12245 if { (ac_try="$ac_cpp conftest.$ac_ext" 12246 case "(($ac_try" in 12247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12248 *) ac_try_echo=$ac_try;; 12249 esac 12250 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12251 $as_echo "$ac_try_echo") >&5 12252 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12253 ac_status=$? 12254 grep -v '^ *+' conftest.er1 >conftest.err 12255 rm -f conftest.er1 12256 cat conftest.err >&5 12257 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12258 (exit $ac_status); } >/dev/null && { 12259 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12260 test ! -s conftest.err 12261 }; then 12262 ac_header_preproc=yes 12263 else 12264 $as_echo "$as_me: failed program was:" >&5 12265 sed 's/^/| /' conftest.$ac_ext >&5 12266 12267 ac_header_preproc=no 12268 fi 12269 12270 rm -f conftest.err conftest.$ac_ext 12271 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12272 $as_echo "$ac_header_preproc" >&6; } 12273 12274 # So? What about this header? 12275 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12276 yes:no: ) 12277 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12278 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12279 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12280 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12281 ac_header_preproc=yes 12282 ;; 12283 no:yes:* ) 12284 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12285 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12286 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12287 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12288 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12289 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12290 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12291 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12292 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12293 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12294 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12295 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12296 ( cat <<\_ASBOX 12297 ## ----------------------------------- ## 12298 ## Report this to rappture@nanohub.org ## 12299 ## ----------------------------------- ## 12300 _ASBOX 12301 ) | sed "s/^/$as_me: WARNING: /" >&2 12302 ;; 12303 esac 12304 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12305 $as_echo_n "checking for $ac_header... " >&6; } 12306 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12307 $as_echo_n "(cached) " >&6 12308 else 12309 eval "$as_ac_Header=\$ac_header_preproc" 12310 fi 12311 ac_res=`eval 'as_val=${'$as_ac_Header'} 12312 $as_echo "$as_val"'` 12313 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12314 $as_echo "$ac_res" >&6; } 12315 12316 fi 12317 as_val=`eval 'as_val=${'$as_ac_Header'} 12318 $as_echo "$as_val"'` 12319 if test "x$as_val" = x""yes; then 12320 cat >>confdefs.h <<_ACEOF 12321 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12322 _ACEOF 12323 12324 fi 12325 12326 done 12327 12328 12329 { $as_echo "$as_me:$LINENO: checking for OpenDX headers" >&5 8131 12330 $as_echo_n "checking for OpenDX headers... " >&6; } 8132 12331 DX_INC_DIR="" … … 8142 12341 done 8143 12342 if test "x${DX_INC_DIR}" = "x" ; then 8144 as_fn_error $? "can't find OpenDX include files" "$LINENO" 5 12343 { { $as_echo "$as_me:$LINENO: error: can't find OpenDX include files" >&5 12344 $as_echo "$as_me: error: can't find OpenDX include files" >&2;} 12345 { (exit 1); exit 1; }; } 8145 12346 fi 8146 12347 … … 8151 12352 fi 8152 12353 8153 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: ${DX_INC_DIR}" >&512354 { $as_echo "$as_me:$LINENO: result: ${DX_INC_DIR}" >&5 8154 12355 $as_echo "${DX_INC_DIR}" >&6; } 8155 12356 … … 8167 12368 LDFLAGS="-L$dir $LDFLAGS" 8168 12369 unset ac_cv_lib_DXcallm_DXGetComponentValue 8169 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for DXGetComponentValue in -lDXcallm" >&512370 { $as_echo "$as_me:$LINENO: checking for DXGetComponentValue in -lDXcallm" >&5 8170 12371 $as_echo_n "checking for DXGetComponentValue in -lDXcallm... " >&6; } 8171 if ${ac_cv_lib_DXcallm_DXGetComponentValue+:} false; then :12372 if test "${ac_cv_lib_DXcallm_DXGetComponentValue+set}" = set; then 8172 12373 $as_echo_n "(cached) " >&6 8173 12374 else 8174 12375 ac_check_lib_save_LIBS=$LIBS 8175 12376 LIBS="-lDXcallm -lX11 $LIBS" 8176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12377 cat >conftest.$ac_ext <<_ACEOF 12378 /* confdefs.h. */ 12379 _ACEOF 12380 cat confdefs.h >>conftest.$ac_ext 12381 cat >>conftest.$ac_ext <<_ACEOF 8177 12382 /* end confdefs.h. */ 8178 12383 … … 8192 12397 } 8193 12398 _ACEOF 8194 if ac_fn_cxx_try_link "$LINENO"; then : 12399 rm -f conftest.$ac_objext conftest$ac_exeext 12400 if { (ac_try="$ac_link" 12401 case "(($ac_try" in 12402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12403 *) ac_try_echo=$ac_try;; 12404 esac 12405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12406 $as_echo "$ac_try_echo") >&5 12407 (eval "$ac_link") 2>conftest.er1 12408 ac_status=$? 12409 grep -v '^ *+' conftest.er1 >conftest.err 12410 rm -f conftest.er1 12411 cat conftest.err >&5 12412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12413 (exit $ac_status); } && { 12414 test -z "$ac_cxx_werror_flag" || 12415 test ! -s conftest.err 12416 } && test -s conftest$ac_exeext && { 12417 test "$cross_compiling" = yes || 12418 $as_test_x conftest$ac_exeext 12419 }; then 8195 12420 ac_cv_lib_DXcallm_DXGetComponentValue=yes 8196 12421 else 8197 ac_cv_lib_DXcallm_DXGetComponentValue=no 8198 fi 8199 rm -f core conftest.err conftest.$ac_objext \ 8200 conftest$ac_exeext conftest.$ac_ext 12422 $as_echo "$as_me: failed program was:" >&5 12423 sed 's/^/| /' conftest.$ac_ext >&5 12424 12425 ac_cv_lib_DXcallm_DXGetComponentValue=no 12426 fi 12427 12428 rm -rf conftest.dSYM 12429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12430 conftest$ac_exeext conftest.$ac_ext 8201 12431 LIBS=$ac_check_lib_save_LIBS 8202 12432 fi 8203 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&512433 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&5 8204 12434 $as_echo "$ac_cv_lib_DXcallm_DXGetComponentValue" >&6; } 8205 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = x yes; then :12435 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = x""yes; then 8206 12436 found=yes 8207 12437 else … … 8216 12446 done 8217 12447 if test "x{$DX_LIB_DIR}" = "x" ; then 8218 as_fn_error $? "cant find OpenDX libraries" "$LINENO" 5 8219 fi 8220 8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libDXcallm library" >&5 12448 { { $as_echo "$as_me:$LINENO: error: cant find OpenDX libraries" >&5 12449 $as_echo "$as_me: error: cant find OpenDX libraries" >&2;} 12450 { (exit 1); exit 1; }; } 12451 fi 12452 12453 { $as_echo "$as_me:$LINENO: checking for libDXcallm library" >&5 8222 12454 $as_echo_n "checking for libDXcallm library... " >&6; } 8223 12455 if test "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then … … 8226 12458 DX_LIB_SPEC="-L${DX_LIB_DIR}" 8227 12459 fi 8228 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $DX_LIB_SPEC" >&512460 { $as_echo "$as_me:$LINENO: result: $DX_LIB_SPEC" >&5 8229 12461 $as_echo "$DX_LIB_SPEC" >&6; } 8230 12462 8231 12463 12464 12465 8232 12466 for ac_header in opencv/cv.h opencv/highgui.h 8233 do : 8234 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8235 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8236 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12467 do 12468 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12470 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12471 $as_echo_n "checking for $ac_header... " >&6; } 12472 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12473 $as_echo_n "(cached) " >&6 12474 fi 12475 ac_res=`eval 'as_val=${'$as_ac_Header'} 12476 $as_echo "$as_val"'` 12477 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12478 $as_echo "$ac_res" >&6; } 12479 else 12480 # Is the header compilable? 12481 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12482 $as_echo_n "checking $ac_header usability... " >&6; } 12483 cat >conftest.$ac_ext <<_ACEOF 12484 /* confdefs.h. */ 12485 _ACEOF 12486 cat confdefs.h >>conftest.$ac_ext 12487 cat >>conftest.$ac_ext <<_ACEOF 12488 /* end confdefs.h. */ 12489 $ac_includes_default 12490 #include <$ac_header> 12491 _ACEOF 12492 rm -f conftest.$ac_objext 12493 if { (ac_try="$ac_compile" 12494 case "(($ac_try" in 12495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12496 *) ac_try_echo=$ac_try;; 12497 esac 12498 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12499 $as_echo "$ac_try_echo") >&5 12500 (eval "$ac_compile") 2>conftest.er1 12501 ac_status=$? 12502 grep -v '^ *+' conftest.er1 >conftest.err 12503 rm -f conftest.er1 12504 cat conftest.err >&5 12505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12506 (exit $ac_status); } && { 12507 test -z "$ac_cxx_werror_flag" || 12508 test ! -s conftest.err 12509 } && test -s conftest.$ac_objext; then 12510 ac_header_compiler=yes 12511 else 12512 $as_echo "$as_me: failed program was:" >&5 12513 sed 's/^/| /' conftest.$ac_ext >&5 12514 12515 ac_header_compiler=no 12516 fi 12517 12518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12519 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12520 $as_echo "$ac_header_compiler" >&6; } 12521 12522 # Is the header present? 12523 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12524 $as_echo_n "checking $ac_header presence... " >&6; } 12525 cat >conftest.$ac_ext <<_ACEOF 12526 /* confdefs.h. */ 12527 _ACEOF 12528 cat confdefs.h >>conftest.$ac_ext 12529 cat >>conftest.$ac_ext <<_ACEOF 12530 /* end confdefs.h. */ 12531 #include <$ac_header> 12532 _ACEOF 12533 if { (ac_try="$ac_cpp conftest.$ac_ext" 12534 case "(($ac_try" in 12535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12536 *) ac_try_echo=$ac_try;; 12537 esac 12538 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12539 $as_echo "$ac_try_echo") >&5 12540 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12541 ac_status=$? 12542 grep -v '^ *+' conftest.er1 >conftest.err 12543 rm -f conftest.er1 12544 cat conftest.err >&5 12545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12546 (exit $ac_status); } >/dev/null && { 12547 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12548 test ! -s conftest.err 12549 }; then 12550 ac_header_preproc=yes 12551 else 12552 $as_echo "$as_me: failed program was:" >&5 12553 sed 's/^/| /' conftest.$ac_ext >&5 12554 12555 ac_header_preproc=no 12556 fi 12557 12558 rm -f conftest.err conftest.$ac_ext 12559 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12560 $as_echo "$ac_header_preproc" >&6; } 12561 12562 # So? What about this header? 12563 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12564 yes:no: ) 12565 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12566 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12567 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12568 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12569 ac_header_preproc=yes 12570 ;; 12571 no:yes:* ) 12572 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12573 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12574 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12575 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12576 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12577 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12578 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12579 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12580 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12581 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12582 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12583 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12584 ( cat <<\_ASBOX 12585 ## ----------------------------------- ## 12586 ## Report this to rappture@nanohub.org ## 12587 ## ----------------------------------- ## 12588 _ASBOX 12589 ) | sed "s/^/$as_me: WARNING: /" >&2 12590 ;; 12591 esac 12592 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12593 $as_echo_n "checking for $ac_header... " >&6; } 12594 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12595 $as_echo_n "(cached) " >&6 12596 else 12597 eval "$as_ac_Header=\$ac_header_preproc" 12598 fi 12599 ac_res=`eval 'as_val=${'$as_ac_Header'} 12600 $as_echo "$as_val"'` 12601 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12602 $as_echo "$ac_res" >&6; } 12603 12604 fi 12605 as_val=`eval 'as_val=${'$as_ac_Header'} 12606 $as_echo "$as_val"'` 12607 if test "x$as_val" = x""yes; then 8237 12608 cat >>confdefs.h <<_ACEOF 8238 12609 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 8243 12614 done 8244 12615 8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cvLoadImage in -lcv" >&5 12616 12617 { $as_echo "$as_me:$LINENO: checking for cvLoadImage in -lcv" >&5 8246 12618 $as_echo_n "checking for cvLoadImage in -lcv... " >&6; } 8247 if ${ac_cv_lib_cv_cvLoadImage+:} false; then :12619 if test "${ac_cv_lib_cv_cvLoadImage+set}" = set; then 8248 12620 $as_echo_n "(cached) " >&6 8249 12621 else 8250 12622 ac_check_lib_save_LIBS=$LIBS 8251 12623 LIBS="-lcv $LIBS" 8252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12624 cat >conftest.$ac_ext <<_ACEOF 12625 /* confdefs.h. */ 12626 _ACEOF 12627 cat confdefs.h >>conftest.$ac_ext 12628 cat >>conftest.$ac_ext <<_ACEOF 8253 12629 /* end confdefs.h. */ 8254 12630 … … 8268 12644 } 8269 12645 _ACEOF 8270 if ac_fn_cxx_try_link "$LINENO"; then : 12646 rm -f conftest.$ac_objext conftest$ac_exeext 12647 if { (ac_try="$ac_link" 12648 case "(($ac_try" in 12649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12650 *) ac_try_echo=$ac_try;; 12651 esac 12652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12653 $as_echo "$ac_try_echo") >&5 12654 (eval "$ac_link") 2>conftest.er1 12655 ac_status=$? 12656 grep -v '^ *+' conftest.er1 >conftest.err 12657 rm -f conftest.er1 12658 cat conftest.err >&5 12659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12660 (exit $ac_status); } && { 12661 test -z "$ac_cxx_werror_flag" || 12662 test ! -s conftest.err 12663 } && test -s conftest$ac_exeext && { 12664 test "$cross_compiling" = yes || 12665 $as_test_x conftest$ac_exeext 12666 }; then 8271 12667 ac_cv_lib_cv_cvLoadImage=yes 8272 12668 else 8273 ac_cv_lib_cv_cvLoadImage=no 8274 fi 8275 rm -f core conftest.err conftest.$ac_objext \ 8276 conftest$ac_exeext conftest.$ac_ext 12669 $as_echo "$as_me: failed program was:" >&5 12670 sed 's/^/| /' conftest.$ac_ext >&5 12671 12672 ac_cv_lib_cv_cvLoadImage=no 12673 fi 12674 12675 rm -rf conftest.dSYM 12676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12677 conftest$ac_exeext conftest.$ac_ext 8277 12678 LIBS=$ac_check_lib_save_LIBS 8278 12679 fi 8279 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_cv_cvLoadImage" >&512680 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cv_cvLoadImage" >&5 8280 12681 $as_echo "$ac_cv_lib_cv_cvLoadImage" >&6; } 8281 if test "x$ac_cv_lib_cv_cvLoadImage" = x yes; then :12682 if test "x$ac_cv_lib_cv_cvLoadImage" = x""yes; then 8282 12683 cat >>confdefs.h <<_ACEOF 8283 12684 #define HAVE_LIBCV 1 … … 8297 12698 8298 12699 12700 12701 12702 12703 12704 12705 8299 12706 for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h 8300 do : 8301 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8302 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " 12707 do 12708 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12709 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12710 $as_echo_n "checking for $ac_header... " >&6; } 12711 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12712 $as_echo_n "(cached) " >&6 12713 else 12714 cat >conftest.$ac_ext <<_ACEOF 12715 /* confdefs.h. */ 12716 _ACEOF 12717 cat confdefs.h >>conftest.$ac_ext 12718 cat >>conftest.$ac_ext <<_ACEOF 12719 /* end confdefs.h. */ 12720 8303 12721 #define SIZEOF_LONG ${ac_cv_sizeof_long} 8304 12722 #if SIZEOF_LONG == 8 … … 8310 12728 #endif 8311 12729 8312 " 8313 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12730 12731 #include <$ac_header> 12732 _ACEOF 12733 rm -f conftest.$ac_objext 12734 if { (ac_try="$ac_compile" 12735 case "(($ac_try" in 12736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12737 *) ac_try_echo=$ac_try;; 12738 esac 12739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12740 $as_echo "$ac_try_echo") >&5 12741 (eval "$ac_compile") 2>conftest.er1 12742 ac_status=$? 12743 grep -v '^ *+' conftest.er1 >conftest.err 12744 rm -f conftest.er1 12745 cat conftest.err >&5 12746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12747 (exit $ac_status); } && { 12748 test -z "$ac_cxx_werror_flag" || 12749 test ! -s conftest.err 12750 } && test -s conftest.$ac_objext; then 12751 eval "$as_ac_Header=yes" 12752 else 12753 $as_echo "$as_me: failed program was:" >&5 12754 sed 's/^/| /' conftest.$ac_ext >&5 12755 12756 eval "$as_ac_Header=no" 12757 fi 12758 12759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12760 fi 12761 ac_res=`eval 'as_val=${'$as_ac_Header'} 12762 $as_echo "$as_val"'` 12763 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12764 $as_echo "$ac_res" >&6; } 12765 as_val=`eval 'as_val=${'$as_ac_Header'} 12766 $as_echo "$as_val"'` 12767 if test "x$as_val" = x""yes; then 8314 12768 cat >>confdefs.h <<_ACEOF 8315 12769 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 8322 12776 CPPFLAGS=$save_CPPFLAGS 8323 12777 8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_alloc_frame in -lavcodec" >&5 12778 12779 { $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame in -lavcodec" >&5 8325 12780 $as_echo_n "checking for avcodec_alloc_frame in -lavcodec... " >&6; } 8326 if ${ac_cv_lib_avcodec_avcodec_alloc_frame+:} false; then :12781 if test "${ac_cv_lib_avcodec_avcodec_alloc_frame+set}" = set; then 8327 12782 $as_echo_n "(cached) " >&6 8328 12783 else 8329 12784 ac_check_lib_save_LIBS=$LIBS 8330 12785 LIBS="-lavcodec $LIBS" 8331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12786 cat >conftest.$ac_ext <<_ACEOF 12787 /* confdefs.h. */ 12788 _ACEOF 12789 cat confdefs.h >>conftest.$ac_ext 12790 cat >>conftest.$ac_ext <<_ACEOF 8332 12791 /* end confdefs.h. */ 8333 12792 … … 8347 12806 } 8348 12807 _ACEOF 8349 if ac_fn_cxx_try_link "$LINENO"; then : 12808 rm -f conftest.$ac_objext conftest$ac_exeext 12809 if { (ac_try="$ac_link" 12810 case "(($ac_try" in 12811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12812 *) ac_try_echo=$ac_try;; 12813 esac 12814 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12815 $as_echo "$ac_try_echo") >&5 12816 (eval "$ac_link") 2>conftest.er1 12817 ac_status=$? 12818 grep -v '^ *+' conftest.er1 >conftest.err 12819 rm -f conftest.er1 12820 cat conftest.err >&5 12821 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12822 (exit $ac_status); } && { 12823 test -z "$ac_cxx_werror_flag" || 12824 test ! -s conftest.err 12825 } && test -s conftest$ac_exeext && { 12826 test "$cross_compiling" = yes || 12827 $as_test_x conftest$ac_exeext 12828 }; then 8350 12829 ac_cv_lib_avcodec_avcodec_alloc_frame=yes 8351 12830 else 8352 ac_cv_lib_avcodec_avcodec_alloc_frame=no 8353 fi 8354 rm -f core conftest.err conftest.$ac_objext \ 8355 conftest$ac_exeext conftest.$ac_ext 12831 $as_echo "$as_me: failed program was:" >&5 12832 sed 's/^/| /' conftest.$ac_ext >&5 12833 12834 ac_cv_lib_avcodec_avcodec_alloc_frame=no 12835 fi 12836 12837 rm -rf conftest.dSYM 12838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12839 conftest$ac_exeext conftest.$ac_ext 8356 12840 LIBS=$ac_check_lib_save_LIBS 8357 12841 fi 8358 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&512842 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5 8359 12843 $as_echo "$ac_cv_lib_avcodec_avcodec_alloc_frame" >&6; } 8360 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x yes; then :12844 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x""yes; then 8361 12845 cat >>confdefs.h <<_ACEOF 8362 12846 #define HAVE_LIBAVCODEC 1 … … 8367 12851 fi 8368 12852 8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avformat_alloc_context in -lavformat" >&5 12853 # Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found 12854 12855 { $as_echo "$as_me:$LINENO: checking for avformat_alloc_context in -lavformat" >&5 8370 12856 $as_echo_n "checking for avformat_alloc_context in -lavformat... " >&6; } 8371 if ${ac_cv_lib_avformat_avformat_alloc_context+:} false; then :12857 if test "${ac_cv_lib_avformat_avformat_alloc_context+set}" = set; then 8372 12858 $as_echo_n "(cached) " >&6 8373 12859 else 8374 12860 ac_check_lib_save_LIBS=$LIBS 8375 12861 LIBS="-lavformat $LIBS" 8376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12862 cat >conftest.$ac_ext <<_ACEOF 12863 /* confdefs.h. */ 12864 _ACEOF 12865 cat confdefs.h >>conftest.$ac_ext 12866 cat >>conftest.$ac_ext <<_ACEOF 8377 12867 /* end confdefs.h. */ 8378 12868 … … 8392 12882 } 8393 12883 _ACEOF 8394 if ac_fn_cxx_try_link "$LINENO"; then : 12884 rm -f conftest.$ac_objext conftest$ac_exeext 12885 if { (ac_try="$ac_link" 12886 case "(($ac_try" in 12887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12888 *) ac_try_echo=$ac_try;; 12889 esac 12890 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12891 $as_echo "$ac_try_echo") >&5 12892 (eval "$ac_link") 2>conftest.er1 12893 ac_status=$? 12894 grep -v '^ *+' conftest.er1 >conftest.err 12895 rm -f conftest.er1 12896 cat conftest.err >&5 12897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12898 (exit $ac_status); } && { 12899 test -z "$ac_cxx_werror_flag" || 12900 test ! -s conftest.err 12901 } && test -s conftest$ac_exeext && { 12902 test "$cross_compiling" = yes || 12903 $as_test_x conftest$ac_exeext 12904 }; then 8395 12905 ac_cv_lib_avformat_avformat_alloc_context=yes 8396 12906 else 8397 ac_cv_lib_avformat_avformat_alloc_context=no 8398 fi 8399 rm -f core conftest.err conftest.$ac_objext \ 8400 conftest$ac_exeext conftest.$ac_ext 12907 $as_echo "$as_me: failed program was:" >&5 12908 sed 's/^/| /' conftest.$ac_ext >&5 12909 12910 ac_cv_lib_avformat_avformat_alloc_context=no 12911 fi 12912 12913 rm -rf conftest.dSYM 12914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12915 conftest$ac_exeext conftest.$ac_ext 8401 12916 LIBS=$ac_check_lib_save_LIBS 8402 12917 fi 8403 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avformat_avformat_alloc_context" >&512918 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5 8404 12919 $as_echo "$ac_cv_lib_avformat_avformat_alloc_context" >&6; } 8405 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x yes; then :12920 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x""yes; then 8406 12921 cat >>confdefs.h <<_ACEOF 8407 12922 #define HAVE_LIBAVFORMAT 1 … … 8410 12925 LIBS="-lavformat $LIBS" 8411 12926 8412 fi 8413 8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_free in -lavutil" >&5 12927 else 12928 12929 { $as_echo "$as_me:$LINENO: checking for av_alloc_format_context in -lavformat" >&5 12930 $as_echo_n "checking for av_alloc_format_context in -lavformat... " >&6; } 12931 if test "${ac_cv_lib_avformat_av_alloc_format_context+set}" = set; then 12932 $as_echo_n "(cached) " >&6 12933 else 12934 ac_check_lib_save_LIBS=$LIBS 12935 LIBS="-lavformat $LIBS" 12936 cat >conftest.$ac_ext <<_ACEOF 12937 /* confdefs.h. */ 12938 _ACEOF 12939 cat confdefs.h >>conftest.$ac_ext 12940 cat >>conftest.$ac_ext <<_ACEOF 12941 /* end confdefs.h. */ 12942 12943 /* Override any GCC internal prototype to avoid an error. 12944 Use char because int might match the return type of a GCC 12945 builtin and then its argument prototype would still apply. */ 12946 #ifdef __cplusplus 12947 extern "C" 12948 #endif 12949 char av_alloc_format_context (); 12950 int 12951 main () 12952 { 12953 return av_alloc_format_context (); 12954 ; 12955 return 0; 12956 } 12957 _ACEOF 12958 rm -f conftest.$ac_objext conftest$ac_exeext 12959 if { (ac_try="$ac_link" 12960 case "(($ac_try" in 12961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12962 *) ac_try_echo=$ac_try;; 12963 esac 12964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12965 $as_echo "$ac_try_echo") >&5 12966 (eval "$ac_link") 2>conftest.er1 12967 ac_status=$? 12968 grep -v '^ *+' conftest.er1 >conftest.err 12969 rm -f conftest.er1 12970 cat conftest.err >&5 12971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12972 (exit $ac_status); } && { 12973 test -z "$ac_cxx_werror_flag" || 12974 test ! -s conftest.err 12975 } && test -s conftest$ac_exeext && { 12976 test "$cross_compiling" = yes || 12977 $as_test_x conftest$ac_exeext 12978 }; then 12979 ac_cv_lib_avformat_av_alloc_format_context=yes 12980 else 12981 $as_echo "$as_me: failed program was:" >&5 12982 sed 's/^/| /' conftest.$ac_ext >&5 12983 12984 ac_cv_lib_avformat_av_alloc_format_context=no 12985 fi 12986 12987 rm -rf conftest.dSYM 12988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12989 conftest$ac_exeext conftest.$ac_ext 12990 LIBS=$ac_check_lib_save_LIBS 12991 fi 12992 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_alloc_format_context" >&5 12993 $as_echo "$ac_cv_lib_avformat_av_alloc_format_context" >&6; } 12994 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = x""yes; then 12995 cat >>confdefs.h <<_ACEOF 12996 #define HAVE_LIBAVFORMAT 1 12997 _ACEOF 12998 12999 LIBS="-lavformat $LIBS" 13000 13001 else 13002 { $as_echo "$as_me:$LINENO: WARNING: libavformat not usable" >&5 13003 $as_echo "$as_me: WARNING: libavformat not usable" >&2;} 13004 fi 13005 13006 fi 13007 13008 13009 { $as_echo "$as_me:$LINENO: checking for av_free in -lavutil" >&5 8415 13010 $as_echo_n "checking for av_free in -lavutil... " >&6; } 8416 if ${ac_cv_lib_avutil_av_free+:} false; then :13011 if test "${ac_cv_lib_avutil_av_free+set}" = set; then 8417 13012 $as_echo_n "(cached) " >&6 8418 13013 else 8419 13014 ac_check_lib_save_LIBS=$LIBS 8420 13015 LIBS="-lavutil $LIBS" 8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13016 cat >conftest.$ac_ext <<_ACEOF 13017 /* confdefs.h. */ 13018 _ACEOF 13019 cat confdefs.h >>conftest.$ac_ext 13020 cat >>conftest.$ac_ext <<_ACEOF 8422 13021 /* end confdefs.h. */ 8423 13022 … … 8437 13036 } 8438 13037 _ACEOF 8439 if ac_fn_cxx_try_link "$LINENO"; then : 13038 rm -f conftest.$ac_objext conftest$ac_exeext 13039 if { (ac_try="$ac_link" 13040 case "(($ac_try" in 13041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13042 *) ac_try_echo=$ac_try;; 13043 esac 13044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13045 $as_echo "$ac_try_echo") >&5 13046 (eval "$ac_link") 2>conftest.er1 13047 ac_status=$? 13048 grep -v '^ *+' conftest.er1 >conftest.err 13049 rm -f conftest.er1 13050 cat conftest.err >&5 13051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13052 (exit $ac_status); } && { 13053 test -z "$ac_cxx_werror_flag" || 13054 test ! -s conftest.err 13055 } && test -s conftest$ac_exeext && { 13056 test "$cross_compiling" = yes || 13057 $as_test_x conftest$ac_exeext 13058 }; then 8440 13059 ac_cv_lib_avutil_av_free=yes 8441 13060 else 8442 ac_cv_lib_avutil_av_free=no 8443 fi 8444 rm -f core conftest.err conftest.$ac_objext \ 8445 conftest$ac_exeext conftest.$ac_ext 13061 $as_echo "$as_me: failed program was:" >&5 13062 sed 's/^/| /' conftest.$ac_ext >&5 13063 13064 ac_cv_lib_avutil_av_free=no 13065 fi 13066 13067 rm -rf conftest.dSYM 13068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13069 conftest$ac_exeext conftest.$ac_ext 8446 13070 LIBS=$ac_check_lib_save_LIBS 8447 13071 fi 8448 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_free" >&513072 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_av_free" >&5 8449 13073 $as_echo "$ac_cv_lib_avutil_av_free" >&6; } 8450 if test "x$ac_cv_lib_avutil_av_free" = x yes; then :13074 if test "x$ac_cv_lib_avutil_av_free" = x""yes; then 8451 13075 cat >>confdefs.h <<_ACEOF 8452 13076 #define HAVE_LIBAVUTIL 1 … … 8457 13081 fi 8458 13082 13083 8459 13084 for ac_func in img_convert 8460 do : 8461 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 8462 if test "x$ac_cv_func_img_convert" = xyes; then : 13085 do 13086 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13087 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13088 $as_echo_n "checking for $ac_func... " >&6; } 13089 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13090 $as_echo_n "(cached) " >&6 13091 else 13092 cat >conftest.$ac_ext <<_ACEOF 13093 /* confdefs.h. */ 13094 _ACEOF 13095 cat confdefs.h >>conftest.$ac_ext 13096 cat >>conftest.$ac_ext <<_ACEOF 13097 /* end confdefs.h. */ 13098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13099 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13100 #define $ac_func innocuous_$ac_func 13101 13102 /* System header to define __stub macros and hopefully few prototypes, 13103 which can conflict with char $ac_func (); below. 13104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13105 <limits.h> exists even on freestanding compilers. */ 13106 13107 #ifdef __STDC__ 13108 # include <limits.h> 13109 #else 13110 # include <assert.h> 13111 #endif 13112 13113 #undef $ac_func 13114 13115 /* Override any GCC internal prototype to avoid an error. 13116 Use char because int might match the return type of a GCC 13117 builtin and then its argument prototype would still apply. */ 13118 #ifdef __cplusplus 13119 extern "C" 13120 #endif 13121 char $ac_func (); 13122 /* The GNU C library defines this for functions which it implements 13123 to always fail with ENOSYS. Some functions are actually named 13124 something starting with __ and the normal name is an alias. */ 13125 #if defined __stub_$ac_func || defined __stub___$ac_func 13126 choke me 13127 #endif 13128 13129 int 13130 main () 13131 { 13132 return $ac_func (); 13133 ; 13134 return 0; 13135 } 13136 _ACEOF 13137 rm -f conftest.$ac_objext conftest$ac_exeext 13138 if { (ac_try="$ac_link" 13139 case "(($ac_try" in 13140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13141 *) ac_try_echo=$ac_try;; 13142 esac 13143 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13144 $as_echo "$ac_try_echo") >&5 13145 (eval "$ac_link") 2>conftest.er1 13146 ac_status=$? 13147 grep -v '^ *+' conftest.er1 >conftest.err 13148 rm -f conftest.er1 13149 cat conftest.err >&5 13150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13151 (exit $ac_status); } && { 13152 test -z "$ac_cxx_werror_flag" || 13153 test ! -s conftest.err 13154 } && test -s conftest$ac_exeext && { 13155 test "$cross_compiling" = yes || 13156 $as_test_x conftest$ac_exeext 13157 }; then 13158 eval "$as_ac_var=yes" 13159 else 13160 $as_echo "$as_me: failed program was:" >&5 13161 sed 's/^/| /' conftest.$ac_ext >&5 13162 13163 eval "$as_ac_var=no" 13164 fi 13165 13166 rm -rf conftest.dSYM 13167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13168 conftest$ac_exeext conftest.$ac_ext 13169 fi 13170 ac_res=`eval 'as_val=${'$as_ac_var'} 13171 $as_echo "$as_val"'` 13172 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13173 $as_echo "$ac_res" >&6; } 13174 as_val=`eval 'as_val=${'$as_ac_var'} 13175 $as_echo "$as_val"'` 13176 if test "x$as_val" = x""yes; then 8463 13177 cat >>confdefs.h <<_ACEOF 8464 #define HAVE_IMG_CONVERT113178 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8465 13179 _ACEOF 8466 13180 … … 8469 13183 8470 13184 8471 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for nVidia Cg installation" >&513185 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5 8472 13186 $as_echo_n "checking for nVidia Cg installation... " >&6; } 8473 13187 CG_DIR="" … … 8483 13197 done 8484 13198 if test "x${CG_DIR}" = "x" ; then 8485 as_fn_error $? "can't find nVidia Cg installation" "$LINENO" 5 13199 { { $as_echo "$as_me:$LINENO: error: can't find nVidia Cg installation" >&5 13200 $as_echo "$as_me: error: can't find nVidia Cg installation" >&2;} 13201 { (exit 1); exit 1; }; } 8486 13202 fi 8487 13203 … … 8493 13209 8494 13210 8495 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: ${CG_DIR}" >&513211 { $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5 8496 13212 $as_echo "${CG_DIR}" >&6; } 8497 13213 … … 8499 13215 8500 13216 8501 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanovis/Makefile nanovis/newmat11/Makefile nanovis/R2/src/Makefile nanovis/vrutil/Makefile nanovis/vrmath/Makefile nanovis/vr3d/Makefile nanovis/imgLoaders/Makefile nanovis/transfer-function/Makefile pymolproxy/Makefile start_viz.sh"13217 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanovis/Makefile nanovis/newmat11/Makefile nanovis/R2/src/Makefile nanovis/vrutil/Makefile nanovis/vrmath/Makefile nanovis/vr3d/Makefile nanovis/imgLoaders/Makefile nanovis/transfer-function/Makefile pymolproxy/Makefile vtkvis/Makefile start_viz.sh" 8502 13218 8503 13219 cat >confcache <<\_ACEOF … … 8528 13244 *${as_nl}*) 8529 13245 case $ac_var in #( 8530 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&513246 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 8531 13247 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 8532 13248 esac … … 8534 13250 _ | IFS | as_nl) ;; #( 8535 13251 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 8536 *) { eval $ac_var=; unset $ac_var;};;13252 *) $as_unset $ac_var ;; 8537 13253 esac ;; 8538 13254 esac … … 8542 13258 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8543 13259 *${as_nl}ac_space=\ *) 8544 # `set' does not quote correctly, so add quotes :double-quote8545 # substitution turns \\\\ into \\, and sed turns \\ into \ .13260 # `set' does not quote correctly, so add quotes (double-quote 13261 # substitution turns \\\\ into \\, and sed turns \\ into \). 8546 13262 sed -n \ 8547 13263 "s/'/'\\\\''/g; … … 8565 13281 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8566 13282 if test -w "$cache_file"; then 8567 if test "x$cache_file" != "x/dev/null"; then8568 { $as_echo "$as_me:$ {as_lineno-$LINENO}: updating cache $cache_file" >&513283 test "x$cache_file" != "x/dev/null" && 13284 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 8569 13285 $as_echo "$as_me: updating cache $cache_file" >&6;} 8570 if test ! -f "$cache_file" || test -h "$cache_file"; then 8571 cat confcache >"$cache_file" 8572 else 8573 case $cache_file in #( 8574 */* | ?:*) 8575 mv -f confcache "$cache_file"$$ && 8576 mv -f "$cache_file"$$ "$cache_file" ;; #( 8577 *) 8578 mv -f confcache "$cache_file" ;; 8579 esac 8580 fi 8581 fi 13286 cat confcache >$cache_file 8582 13287 else 8583 { $as_echo "$as_me:$ {as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&513288 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 8584 13289 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8585 13290 fi … … 8595 13300 ac_libobjs= 8596 13301 ac_ltlibobjs= 8597 U=8598 13302 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8599 13303 # 1. Remove the extension, and $U if already installed. … … 8602 13306 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8603 13307 # will be set to the directory where LIBOBJS objects are built. 8604 a s_fn_append ac_libobjs "\${LIBOBJDIR}$ac_i\$U.$ac_objext"8605 a s_fn_append ac_ltlibobjs "\${LIBOBJDIR}$ac_i"'$U.lo'13308 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13309 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 8606 13310 done 8607 13311 LIBOBJS=$ac_libobjs … … 8612 13316 8613 13317 8614 : "${CONFIG_STATUS=./config.status}"13318 : ${CONFIG_STATUS=./config.status} 8615 13319 ac_write_fail=0 8616 13320 ac_clean_files_save=$ac_clean_files 8617 13321 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8618 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $CONFIG_STATUS" >&513322 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 8619 13323 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8620 as_write_fail=0 8621 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13324 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8622 13325 #! $SHELL 8623 13326 # Generated by $as_me. … … 8629 13332 ac_cs_recheck=false 8630 13333 ac_cs_silent=false 8631 8632 13334 SHELL=\${CONFIG_SHELL-$SHELL} 8633 export SHELL 8634 _ASEOF 8635 cat >>$CONFIG_STATUS <<\_A SEOF || as_write_fail=18636 ## -------------------- ##8637 ## M4sh Initialization. ##8638 ## -------------------- ##13335 _ACEOF 13336 13337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13338 ## --------------------- ## 13339 ## M4sh Initialization. ## 13340 ## --------------------- ## 8639 13341 8640 13342 # Be more Bourne compatible 8641 13343 DUALCASE=1; export DUALCASE # for MKS sh 8642 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :13344 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8643 13345 emulate sh 8644 13346 NULLCMD=: … … 8648 13350 setopt NO_GLOB_SUBST 8649 13351 else 8650 case `(set -o) 2>/dev/null` in #( 8651 *posix*) : 8652 set -o posix ;; #( 8653 *) : 8654 ;; 8655 esac 8656 fi 8657 13352 case `(set -o) 2>/dev/null` in 13353 *posix*) set -o posix ;; 13354 esac 13355 13356 fi 13357 13358 13359 13360 13361 # PATH needs CR 13362 # Avoid depending upon Character Ranges. 13363 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13364 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13365 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13366 as_cr_digits='0123456789' 13367 as_cr_alnum=$as_cr_Letters$as_cr_digits 8658 13368 8659 13369 as_nl=' … … 8664 13374 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 8665 13375 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 8666 # Prefer a ksh shell builtin over an external printf program on Solaris, 8667 # but without wasting forks for bash or zsh. 8668 if test -z "$BASH_VERSION$ZSH_VERSION" \ 8669 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 8670 as_echo='print -r --' 8671 as_echo_n='print -rn --' 8672 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13376 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8673 13377 as_echo='printf %s\n' 8674 13378 as_echo_n='printf %s' … … 8681 13385 as_echo_n_body='eval 8682 13386 arg=$1; 8683 case $arg in #(13387 case $arg in 8684 13388 *"$as_nl"*) 8685 13389 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 8704 13408 fi 8705 13409 13410 # Support unset when possible. 13411 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 13412 as_unset=unset 13413 else 13414 as_unset=false 13415 fi 13416 8706 13417 8707 13418 # IFS … … 8713 13424 8714 13425 # Find who we are. Look in the path if we contain no directory separator. 8715 as_myself= 8716 case $0 in #(( 13426 case $0 in 8717 13427 *[\\/]* ) as_myself=$0 ;; 8718 13428 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 8721 13431 IFS=$as_save_IFS 8722 13432 test -z "$as_dir" && as_dir=. 8723 8724 13433 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13434 done 8725 13435 IFS=$as_save_IFS 8726 13436 … … 8734 13444 if test ! -f "$as_myself"; then 8735 13445 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8736 exit 1 8737 fi 8738 8739 # Unset variables that we do not need and which cause bugs (e.g. in 8740 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 8741 # suppresses any "Segmentation fault" message there. '((' could 8742 # trigger a bug in pdksh 5.2.14. 8743 for as_var in BASH_ENV ENV MAIL MAILPATH 8744 do eval test x\${$as_var+set} = xset \ 8745 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13446 { (exit 1); exit 1; } 13447 fi 13448 13449 # Work around bugs in pre-3.0 UWIN ksh. 13450 for as_var in ENV MAIL MAILPATH 13451 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8746 13452 done 8747 13453 PS1='$ ' … … 8755 13461 export LANGUAGE 8756 13462 8757 # CDPATH. 8758 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 8759 8760 8761 # as_fn_error STATUS ERROR [LINENO LOG_FD] 8762 # ---------------------------------------- 8763 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 8764 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 8765 # script with STATUS, using 1 if that was 0. 8766 as_fn_error () 8767 { 8768 as_status=$1; test $as_status -eq 0 && as_status=1 8769 if test "$4"; then 8770 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 8771 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 8772 fi 8773 $as_echo "$as_me: error: $2" >&2 8774 as_fn_exit $as_status 8775 } # as_fn_error 8776 8777 8778 # as_fn_set_status STATUS 8779 # ----------------------- 8780 # Set $? to STATUS, without forking. 8781 as_fn_set_status () 8782 { 8783 return $1 8784 } # as_fn_set_status 8785 8786 # as_fn_exit STATUS 8787 # ----------------- 8788 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 8789 as_fn_exit () 8790 { 8791 set +e 8792 as_fn_set_status $1 8793 exit $1 8794 } # as_fn_exit 8795 8796 # as_fn_unset VAR 8797 # --------------- 8798 # Portably unset VAR. 8799 as_fn_unset () 8800 { 8801 { eval $1=; unset $1;} 8802 } 8803 as_unset=as_fn_unset 8804 # as_fn_append VAR VALUE 8805 # ---------------------- 8806 # Append the text in VALUE to the end of the definition contained in VAR. Take 8807 # advantage of any shell optimizations that allow amortized linear growth over 8808 # repeated appends, instead of the typical quadratic growth present in naive 8809 # implementations. 8810 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 8811 eval 'as_fn_append () 8812 { 8813 eval $1+=\$2 8814 }' 8815 else 8816 as_fn_append () 8817 { 8818 eval $1=\$$1\$2 8819 } 8820 fi # as_fn_append 8821 8822 # as_fn_arith ARG... 8823 # ------------------ 8824 # Perform arithmetic evaluation on the ARGs, and store the result in the 8825 # global $as_val. Take advantage of shells that can avoid forks. The arguments 8826 # must be portable across $(()) and expr. 8827 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 8828 eval 'as_fn_arith () 8829 { 8830 as_val=$(( $* )) 8831 }' 8832 else 8833 as_fn_arith () 8834 { 8835 as_val=`expr "$@" || test $? -eq 1` 8836 } 8837 fi # as_fn_arith 8838 8839 13463 # Required to use basename. 8840 13464 if expr a : '\(a\)' >/dev/null 2>&1 && 8841 13465 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 8851 13475 fi 8852 13476 8853 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8854 as_dirname=dirname 8855 else 8856 as_dirname=false 8857 fi 8858 13477 13478 # Name of the executable. 8859 13479 as_me=`$as_basename -- "$0" || 8860 13480 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 8876 13496 s/.*/./; q'` 8877 13497 8878 # Avoid depending upon Character Ranges. 8879 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8880 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8881 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8882 as_cr_digits='0123456789' 8883 as_cr_alnum=$as_cr_Letters$as_cr_digits 13498 # CDPATH. 13499 $as_unset CDPATH 13500 13501 13502 13503 as_lineno_1=$LINENO 13504 as_lineno_2=$LINENO 13505 test "x$as_lineno_1" != "x$as_lineno_2" && 13506 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 13507 13508 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 13509 # uniformly replaced by the line number. The first 'sed' inserts a 13510 # line-number line after each line using $LINENO; the second 'sed' 13511 # does the real work. The second script uses 'N' to pair each 13512 # line-number line with the line containing $LINENO, and appends 13513 # trailing '-' during substitution so that $LINENO is not a special 13514 # case at line end. 13515 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 13516 # scripts with optimization help from Paolo Bonzini. Blame Lee 13517 # E. McMahon (1931-1989) for sed's syntax. :-) 13518 sed -n ' 13519 p 13520 /[$]LINENO/= 13521 ' <$as_myself | 13522 sed ' 13523 s/[$]LINENO.*/&-/ 13524 t lineno 13525 b 13526 :lineno 13527 N 13528 :loop 13529 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 13530 t loop 13531 s/-\n.*// 13532 ' >$as_me.lineno && 13533 chmod +x "$as_me.lineno" || 13534 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 13535 { (exit 1); exit 1; }; } 13536 13537 # Don't try to exec as it changes $[0], causing all sort of problems 13538 # (the dirname of $[0] is not the place where we might find the 13539 # original and so on. Autoconf is especially sensitive to this). 13540 . "./$as_me.lineno" 13541 # Exit status is that of the last command. 13542 exit 13543 } 13544 13545 13546 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13547 as_dirname=dirname 13548 else 13549 as_dirname=false 13550 fi 8884 13551 8885 13552 ECHO_C= ECHO_N= ECHO_T= 8886 case `echo -n x` in #(((((13553 case `echo -n x` in 8887 13554 -n*) 8888 case `echo 'x y\c'` in13555 case `echo 'x\c'` in 8889 13556 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8890 xy) ECHO_C='\c';; 8891 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 8892 ECHO_T=' ';; 13557 *) ECHO_C='\c';; 8893 13558 esac;; 8894 13559 *) 8895 13560 ECHO_N='-n';; 8896 13561 esac 13562 if expr a : '\(a\)' >/dev/null 2>&1 && 13563 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13564 as_expr=expr 13565 else 13566 as_expr=false 13567 fi 8897 13568 8898 13569 rm -f conf$$ conf$$.exe conf$$.file … … 8923 13594 rmdir conf$$.dir 2>/dev/null 8924 13595 8925 8926 # as_fn_mkdir_p8927 # -------------8928 # Create "$as_dir" as a directory, including parents if necessary.8929 as_fn_mkdir_p ()8930 {8931 8932 case $as_dir in #(8933 -*) as_dir=./$as_dir;;8934 esac8935 test -d "$as_dir" || eval $as_mkdir_p || {8936 as_dirs=8937 while :; do8938 case $as_dir in #(8939 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(8940 *) as_qdir=$as_dir;;8941 esac8942 as_dirs="'$as_qdir' $as_dirs"8943 as_dir=`$as_dirname -- "$as_dir" ||8944 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8945 X"$as_dir" : 'X\(//\)[^/]' \| \8946 X"$as_dir" : 'X\(//\)$' \| \8947 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||8948 $as_echo X"$as_dir" |8949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{8950 s//\1/8951 q8952 }8953 /^X\(\/\/\)[^/].*/{8954 s//\1/8955 q8956 }8957 /^X\(\/\/\)$/{8958 s//\1/8959 q8960 }8961 /^X\(\/\).*/{8962 s//\1/8963 q8964 }8965 s/.*/./; q'`8966 test -d "$as_dir" && break8967 done8968 test -z "$as_dirs" || eval "mkdir $as_dirs"8969 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"8970 8971 8972 } # as_fn_mkdir_p8973 13596 if mkdir -p . 2>/dev/null; then 8974 as_mkdir_p= 'mkdir -p "$as_dir"'13597 as_mkdir_p=: 8975 13598 else 8976 13599 test -d ./-p && rmdir ./-p … … 8991 13614 test -d "$1/."; 8992 13615 else 8993 case $1 in #(13616 case $1 in 8994 13617 -*)set "./$1";; 8995 13618 esac; 8996 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((13619 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 8997 13620 ???[sx]*):;;*)false;;esac;fi 8998 13621 '\'' sh … … 9009 13632 9010 13633 exec 6>&1 9011 ## ----------------------------------- ## 9012 ## Main body of $CONFIG_STATUS script. ## 9013 ## ----------------------------------- ## 9014 _ASEOF 9015 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9016 9017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9018 # Save the log message, to keep $0 and so on meaningful, and to 13634 13635 # Save the log message, to keep $[0] and so on meaningful, and to 9019 13636 # report actual input values of CONFIG_FILES etc. instead of their 9020 13637 # values after options handling. 9021 13638 ac_log=" 9022 13639 This file was extended by vizservers $as_me 0.1, which was 9023 generated by GNU Autoconf 2.6 8. Invocation command line was13640 generated by GNU Autoconf 2.63. Invocation command line was 9024 13641 9025 13642 CONFIG_FILES = $CONFIG_FILES … … 9052 13669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9053 13670 ac_cs_usage="\ 9054 \`$as_me' instantiates files and other configuration actions 9055 from templates according to the current configuration. Unless the files 9056 and actions are specified as TAGs, all are instantiated by default. 9057 9058 Usage: $0 [OPTION]... [TAG]... 13671 \`$as_me' instantiates files from templates according to the 13672 current configuration. 13673 13674 Usage: $0 [OPTION]... [FILE]... 9059 13675 9060 13676 -h, --help print this help, then exit 9061 13677 -V, --version print version number and configuration settings, then exit 9062 --config print configuration, then exit9063 13678 -q, --quiet, --silent 9064 13679 do not print progress messages … … 9076 13691 $config_headers 9077 13692 9078 Report bugs to < rappture@nanohub.org>."13693 Report bugs to <bug-autoconf@gnu.org>." 9079 13694 9080 13695 _ACEOF 9081 13696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9082 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"9083 13697 ac_cs_version="\\ 9084 13698 vizservers config.status 0.1 9085 configured by $0, generated by GNU Autoconf 2.6 8,9086 with options \\" \$ac_cs_config\\"9087 9088 Copyright (C) 20 10Free Software Foundation, Inc.13699 configured by $0, generated by GNU Autoconf 2.63, 13700 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 13701 13702 Copyright (C) 2008 Free Software Foundation, Inc. 9089 13703 This config.status script is free software; the Free Software Foundation 9090 13704 gives unlimited permission to copy, distribute and modify it." … … 9103 13717 do 9104 13718 case $1 in 9105 --*= ?*)13719 --*=*) 9106 13720 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9107 13721 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9108 ac_shift=:9109 ;;9110 --*=)9111 ac_option=`expr "X$1" : 'X\([^=]*\)='`9112 ac_optarg=9113 13722 ac_shift=: 9114 13723 ;; … … 9126 13735 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9127 13736 $as_echo "$ac_cs_version"; exit ;; 9128 --config | --confi | --conf | --con | --co | --c )9129 $as_echo "$ac_cs_config"; exit ;;9130 13737 --debug | --debu | --deb | --de | --d | -d ) 9131 13738 debug=: ;; … … 9134 13741 case $ac_optarg in 9135 13742 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9136 '') as_fn_error $? "missing file argument" ;;9137 13743 esac 9138 as_fn_append CONFIG_FILES "'$ac_optarg'"13744 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9139 13745 ac_need_defaults=false;; 9140 13746 --header | --heade | --head | --hea ) … … 9143 13749 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9144 13750 esac 9145 as_fn_append CONFIG_HEADERS "'$ac_optarg'"13751 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9146 13752 ac_need_defaults=false;; 9147 13753 --he | --h) 9148 13754 # Conflict between --help and --header 9149 as_fn_error $? "ambiguous option: \`$1' 9150 Try \`$0 --help' for more information.";; 13755 { $as_echo "$as_me: error: ambiguous option: $1 13756 Try \`$0 --help' for more information." >&2 13757 { (exit 1); exit 1; }; };; 9151 13758 --help | --hel | -h ) 9152 13759 $as_echo "$ac_cs_usage"; exit ;; … … 9156 13763 9157 13764 # This is an error. 9158 -*) as_fn_error $? "unrecognized option: \`$1' 9159 Try \`$0 --help' for more information." ;; 9160 9161 *) as_fn_append ac_config_targets " $1" 13765 -*) { $as_echo "$as_me: error: unrecognized option: $1 13766 Try \`$0 --help' for more information." >&2 13767 { (exit 1); exit 1; }; } ;; 13768 13769 *) ac_config_targets="$ac_config_targets $1" 9162 13770 ac_need_defaults=false ;; 9163 13771 … … 9218 13826 "nanovis/transfer-function/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/transfer-function/Makefile" ;; 9219 13827 "pymolproxy/Makefile") CONFIG_FILES="$CONFIG_FILES pymolproxy/Makefile" ;; 13828 "vtkvis/Makefile") CONFIG_FILES="$CONFIG_FILES vtkvis/Makefile" ;; 9220 13829 "start_viz.sh") CONFIG_FILES="$CONFIG_FILES start_viz.sh" ;; 9221 13830 9222 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13831 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13832 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13833 { (exit 1); exit 1; }; };; 9223 13834 esac 9224 13835 done … … 9242 13853 $debug || 9243 13854 { 9244 tmp= ac_tmp=13855 tmp= 9245 13856 trap 'exit_status=$? 9246 : "${ac_tmp:=$tmp}" 9247 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13857 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9248 13858 ' 0 9249 trap ' as_fn_exit 1' 1 2 13 1513859 trap '{ (exit 1); exit 1; }' 1 2 13 15 9250 13860 } 9251 13861 # Create a (secure) tmp directory for tmp files. … … 9253 13863 { 9254 13864 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9255 test - d "$tmp"13865 test -n "$tmp" && test -d "$tmp" 9256 13866 } || 9257 13867 { 9258 13868 tmp=./conf$$-$RANDOM 9259 13869 (umask 077 && mkdir "$tmp") 9260 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 9261 ac_tmp=$tmp 13870 } || 13871 { 13872 $as_echo "$as_me: cannot create a temporary directory in ." >&2 13873 { (exit 1); exit 1; } 13874 } 9262 13875 9263 13876 # Set up the scripts for CONFIG_FILES section. … … 9267 13880 9268 13881 9269 ac_cr=`echo X | tr X '\015'` 9270 # On cygwin, bash can eat \r inside `` if the user requested igncr. 9271 # But we know of no other shell where ac_cr would be empty at this 9272 # point, so we can use a bashism as a fallback. 9273 if test "x$ac_cr" = x; then 9274 eval ac_cr=\$\'\\r\' 9275 fi 13882 ac_cr=' 13883 ' 9276 13884 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9277 13885 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then … … 9281 13889 fi 9282 13890 9283 echo 'BEGIN {' >"$ ac_tmp/subs1.awk" &&13891 echo 'BEGIN {' >"$tmp/subs1.awk" && 9284 13892 _ACEOF 9285 13893 … … 9290 13898 echo "_ACEOF" 9291 13899 } >conf$$subs.sh || 9292 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9293 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13900 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13901 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13902 { (exit 1); exit 1; }; } 13903 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9294 13904 ac_delim='%!_!# ' 9295 13905 for ac_last_try in false false false false false :; do 9296 13906 . ./conf$$subs.sh || 9297 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13907 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13908 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13909 { (exit 1); exit 1; }; } 9298 13910 9299 13911 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 9301 13913 break 9302 13914 elif $ac_last_try; then 9303 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13915 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13916 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13917 { (exit 1); exit 1; }; } 9304 13918 else 9305 13919 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 9309 13923 9310 13924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9311 cat >>"\$ ac_tmp/subs1.awk" <<\\_ACAWK &&13925 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9312 13926 _ACEOF 9313 13927 sed -n ' … … 9323 13937 :nl 9324 13938 h 9325 s/\(.\{148\}\). .*/\1/13939 s/\(.\{148\}\).*/\1/ 9326 13940 t more1 9327 13941 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 9337 13951 :delim 9338 13952 h 9339 s/\(.\{148\}\). .*/\1/13953 s/\(.\{148\}\).*/\1/ 9340 13954 t more2 9341 13955 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 9357 13971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9358 13972 _ACAWK 9359 cat >>"\$ ac_tmp/subs1.awk" <<_ACAWK &&13973 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9360 13974 for (key in S) S_is_set[key] = 1 9361 13975 FS = "" … … 9389 14003 else 9390 14004 cat 9391 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 9392 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9393 _ACEOF 9394 9395 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9396 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 14005 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 14006 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 14007 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 14008 { (exit 1); exit 1; }; } 14009 _ACEOF 14010 14011 # VPATH may cause trouble with some makes, so we remove $(srcdir), 14012 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9397 14013 # trailing colons and then remove the whole line if VPATH becomes empty 9398 14014 # (actually we leave an empty line to preserve line numbers). 9399 14015 if test "x$srcdir" = x.; then 9400 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 9401 h 9402 s/// 9403 s/^/:/ 9404 s/[ ]*$/:/ 9405 s/:\$(srcdir):/:/g 9406 s/:\${srcdir}:/:/g 9407 s/:@srcdir@:/:/g 9408 s/^:*// 14016 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 14017 s/:*\$(srcdir):*/:/ 14018 s/:*\${srcdir}:*/:/ 14019 s/:*@srcdir@:*/:/ 14020 s/^\([^=]*=[ ]*\):*/\1/ 9409 14021 s/:*$// 9410 x9411 s/\(=[ ]*\).*/\1/9412 G9413 s/\n//9414 14022 s/^[^=]*=[ ]*$// 9415 14023 }' … … 9423 14031 # This happens for instance with `./config.status Makefile'. 9424 14032 if test -n "$CONFIG_HEADERS"; then 9425 cat >"$ ac_tmp/defines.awk" <<\_ACAWK ||14033 cat >"$tmp/defines.awk" <<\_ACAWK || 9426 14034 BEGIN { 9427 14035 _ACEOF … … 9435 14043 ac_delim='%!_!# ' 9436 14044 for ac_last_try in false false :; do 9437 ac_t t=`sed -n "/$ac_delim/p" confdefs.h`9438 if test -z "$ac_t t"; then14045 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 14046 if test -z "$ac_t"; then 9439 14047 break 9440 14048 elif $ac_last_try; then 9441 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 14049 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 14050 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 14051 { (exit 1); exit 1; }; } 9442 14052 else 9443 14053 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 9524 14134 _ACEOF 9525 14135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9526 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14136 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 14137 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 14138 { (exit 1); exit 1; }; } 9527 14139 fi # test -n "$CONFIG_HEADERS" 9528 14140 … … 9537 14149 case $ac_mode$ac_tag in 9538 14150 :[FHL]*:*);; 9539 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14151 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 14152 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 14153 { (exit 1); exit 1; }; };; 9540 14154 :[FH]-) ac_tag=-:-;; 9541 14155 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 9556 14170 do 9557 14171 case $ac_f in 9558 -) ac_f="$ ac_tmp/stdin";;14172 -) ac_f="$tmp/stdin";; 9559 14173 *) # Look for the file first in the build tree, then in the source tree 9560 14174 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 9565 14179 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9566 14180 esac || 9567 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14181 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 14182 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 14183 { (exit 1); exit 1; }; };; 9568 14184 esac 9569 14185 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9570 a s_fn_append ac_file_inputs "'$ac_f'"14186 ac_file_inputs="$ac_file_inputs '$ac_f'" 9571 14187 done 9572 14188 … … 9579 14195 if test x"$ac_file" != x-; then 9580 14196 configure_input="$ac_file. $configure_input" 9581 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $ac_file" >&514197 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 9582 14198 $as_echo "$as_me: creating $ac_file" >&6;} 9583 14199 fi … … 9591 14207 9592 14208 case $ac_tag in 9593 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 9594 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14209 *:-:* | *:-) cat >"$tmp/stdin" \ 14210 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14211 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14212 { (exit 1); exit 1; }; } ;; 9595 14213 esac 9596 14214 ;; … … 9620 14238 } 9621 14239 s/.*/./; q'` 9622 as_dir="$ac_dir"; as_fn_mkdir_p 14240 { as_dir="$ac_dir" 14241 case $as_dir in #( 14242 -*) as_dir=./$as_dir;; 14243 esac 14244 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 14245 as_dirs= 14246 while :; do 14247 case $as_dir in #( 14248 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14249 *) as_qdir=$as_dir;; 14250 esac 14251 as_dirs="'$as_qdir' $as_dirs" 14252 as_dir=`$as_dirname -- "$as_dir" || 14253 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14254 X"$as_dir" : 'X\(//\)[^/]' \| \ 14255 X"$as_dir" : 'X\(//\)$' \| \ 14256 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14257 $as_echo X"$as_dir" | 14258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14259 s//\1/ 14260 q 14261 } 14262 /^X\(\/\/\)[^/].*/{ 14263 s//\1/ 14264 q 14265 } 14266 /^X\(\/\/\)$/{ 14267 s//\1/ 14268 q 14269 } 14270 /^X\(\/\).*/{ 14271 s//\1/ 14272 q 14273 } 14274 s/.*/./; q'` 14275 test -d "$as_dir" && break 14276 done 14277 test -z "$as_dirs" || eval "mkdir $as_dirs" 14278 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 14279 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 14280 { (exit 1); exit 1; }; }; } 9623 14281 ac_builddir=. 9624 14282 … … 9677 14335 # FIXME: This hack should be removed a few years after 2.60. 9678 14336 ac_datarootdir_hack=; ac_datarootdir_seen= 14337 9679 14338 ac_sed_dataroot=' 9680 14339 /datarootdir/ { … … 9686 14345 /@infodir@/p 9687 14346 /@localedir@/p 9688 /@mandir@/p' 14347 /@mandir@/p 14348 ' 9689 14349 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9690 14350 *datarootdir*) ac_datarootdir_seen=yes;; 9691 14351 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9692 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&514352 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9693 14353 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9694 14354 _ACEOF … … 9700 14360 s&@localedir@&$localedir&g 9701 14361 s&@mandir@&$mandir&g 9702 s&\\\${datarootdir}&$datarootdir&g' ;;14362 s&\\\${datarootdir}&$datarootdir&g' ;; 9703 14363 esac 9704 14364 _ACEOF … … 9728 14388 $ac_datarootdir_hack 9729 14389 " 9730 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9731 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14390 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 14391 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14392 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14393 { (exit 1); exit 1; }; } 9732 14394 9733 14395 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9734 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 9735 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 9736 "$ac_tmp/out"`; test -z "$ac_out"; } && 9737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9738 which seems to be undefined. Please make sure it is defined" >&5 14396 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 14397 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 14398 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14399 which seems to be undefined. Please make sure it is defined." >&5 9739 14400 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9740 which seems to be undefined. Please make sure it is defined " >&2;}9741 9742 rm -f "$ ac_tmp/stdin"14401 which seems to be undefined. Please make sure it is defined." >&2;} 14402 14403 rm -f "$tmp/stdin" 9743 14404 case $ac_file in 9744 -) cat "$ ac_tmp/out" && rm -f "$ac_tmp/out";;9745 *) rm -f "$ac_file" && mv "$ ac_tmp/out" "$ac_file";;14405 -) cat "$tmp/out" && rm -f "$tmp/out";; 14406 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9746 14407 esac \ 9747 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14408 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14409 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14410 { (exit 1); exit 1; }; } 9748 14411 ;; 9749 14412 :H) … … 9754 14417 { 9755 14418 $as_echo "/* $configure_input */" \ 9756 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 9757 } >"$ac_tmp/config.h" \ 9758 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9759 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 9760 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14419 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 14420 } >"$tmp/config.h" \ 14421 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14422 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14423 { (exit 1); exit 1; }; } 14424 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 14425 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 9761 14426 $as_echo "$as_me: $ac_file is unchanged" >&6;} 9762 14427 else 9763 14428 rm -f "$ac_file" 9764 mv "$ac_tmp/config.h" "$ac_file" \ 9765 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14429 mv "$tmp/config.h" "$ac_file" \ 14430 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14431 $as_echo "$as_me: error: could not create $ac_file" >&2;} 14432 { (exit 1); exit 1; }; } 9766 14433 fi 9767 14434 else 9768 14435 $as_echo "/* $configure_input */" \ 9769 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9770 || as_fn_error $? "could not create -" "$LINENO" 5 14436 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 14437 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 14438 $as_echo "$as_me: error: could not create -" >&2;} 14439 { (exit 1); exit 1; }; } 9771 14440 fi 9772 14441 ;; … … 9778 14447 9779 14448 9780 as_fn_exit 0 9781 _ACEOF 14449 { (exit 0); exit 0; } 14450 _ACEOF 14451 chmod +x $CONFIG_STATUS 9782 14452 ac_clean_files=$ac_clean_files_save 9783 14453 9784 14454 test $ac_write_fail = 0 || 9785 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14455 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 14456 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 14457 { (exit 1); exit 1; }; } 9786 14458 9787 14459 … … 9804 14476 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9805 14477 # would make configure fail if this is the last instruction. 9806 $ac_cs_success || as_fn_exit 114478 $ac_cs_success || { (exit 1); exit 1; } 9807 14479 fi 9808 14480 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 9809 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&514481 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 9810 14482 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 9811 14483 fi -
trunk/packages/vizservers/configure.in
r2099 r2101 1 AC_PREREQ([2.60]) 1 2 AC_INIT(vizservers, 0.1, rappture@nanohub.org) 2 3 AC_CONFIG_HEADER(nanovis/nvconf.h nanoscale/config.h) 3 4 4 5 5 AC_ARG_WITH( … … 16 16 [with_rappture=$withval], 17 17 [with_rappture=/usr]) 18 19 AC_ARG_WITH( 20 [vtk-includes], 21 [AS_HELP_STRING([--with-vtk-includes=DIR], 22 [VTK include files are in DIR])], 23 [with_vtk_includes=$withval], 24 [with_vtk_includes=/usr/include/vtk-5.6]) 25 26 AC_ARG_WITH( 27 [vtk-libs], 28 [AS_HELP_STRING([--with-vtk-libs=DIR], 29 [VTK libraries are in DIR])], 30 [with_vtk_libs=$withval], 31 [with_vtk_libs=/usr/lib/vtk-5.6]) 18 32 19 33 VERSION=0.0.1 … … 79 93 LD_RPATH=""; 80 94 81 SUBDIRS="nanoscale nanovis pymolproxy "95 SUBDIRS="nanoscale nanovis pymolproxy vtkvis" 82 96 AC_SUBST(SUBDIRS) 83 97 … … 167 181 AC_SUBST(RP_DIR) 168 182 183 if test "x$with_vtk_includes" != "x"; then 184 VTK_INC_SPEC=-I$with_vtk_includes 185 fi 186 187 save_CPPFLAGS=$CPPFLAGS 188 CPPFLAGS=$VTK_INC_SPEC 189 AC_CHECK_HEADERS([vtkSmartPointer.h], [], [AC_MSG_ERROR([cannot find VTK includes])]) 190 CPPFLAGS=$save_CPPFLAGS 191 192 if test "x$with_vtk_libs" != "x"; then 193 VTK_LIB_SPEC=-L$with_vtk_libs 194 fi 195 196 AC_SUBST(VTK_INC_SPEC) 197 AC_SUBST(VTK_LIB_SPEC) 198 169 199 AC_CHECK_HEADER([GL/glui.h]) 170 200 AC_CHECK_HEADER([glui.h]) … … 313 343 nanovis/transfer-function/Makefile \ 314 344 pymolproxy/Makefile \ 345 vtkvis/Makefile \ 315 346 start_viz.sh ) -
trunk/packages/vizservers/start_viz.sh.in
r1278 r2101 15 15 nanoscale_port=2000 16 16 nanovis_port=2000 17 vtkvis_port=2010 17 18 pymol_port=2020 18 19 … … 37 38 nanoscale="${dir}/bin/nanoscale -x ${nvideo} -b $nanoscale_port -s $broadcast" 38 39 nanovis="${dir}/bin/nanovis -p ${dir}/lib/shaders:${dir}/lib/resources" 40 vtkvis="${dir}/bin/vtkvis" 39 41 pymolproxy="${dir}/bin/pymolproxy ${dir}/bin/pymol -p -q -i -x -X 0 -Y 0" 40 42 … … 60 62 61 63 echo "$nanoscale -l $nanovis_port -c \"$nanovis\" -l $pymol_port -c \"$pymolproxy\"" 62 $nanoscale -l $nanovis_port -c "$nanovis" -l $ pymol_port -c "$pymolproxy"64 $nanoscale -l $nanovis_port -c "$nanovis" -l $vtkvis_port -c "$vtkvis" -l $pymol_port -c "$pymolproxy" 63 65
Note: See TracChangeset
for help on using the changeset viewer.