Changeset 3717
- Timestamp:
- Jun 27, 2013, 1:26:46 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r3471 r3717 22 22 pkg_path := $(shell dirname $(prefix)) 23 23 pkg_name := $(shell basename $(prefix)) 24 SVN_VERSION := $(shell svnversion $(srcdir)) 24 25 25 26 rappture_binary_tarfile = rappture-$(os)-$(machine)-$(build_date).tar.gz -
trunk/configure
r3716 r3717 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 3for Rappture 1.3.3 # Generated by GNU Autoconf 2.69 for Rappture 1.3. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 7 # 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 # 10 # 9 11 # This configure script is free software; the Free Software Foundation 10 12 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. 13 ## -------------------- -##13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 14 16 15 17 # Be more Bourne compatible 16 18 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 20 emulate sh 19 21 NULLCMD=: … … 23 25 setopt NO_GLOB_SUBST 24 26 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 27 32 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 33 fi 34 41 35 42 36 as_nl=' … … 47 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 50 as_echo='printf %s\n' 51 51 as_echo_n='printf %s' … … 58 58 as_echo_n_body='eval 59 59 arg=$1; 60 case $arg in 60 case $arg in #( 61 61 *"$as_nl"*) 62 62 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 81 81 fi 82 82 83 # Support unset when possible.84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then85 as_unset=unset86 else87 as_unset=false88 fi89 90 83 91 84 # IFS … … 97 90 98 91 # Find who we are. Look in the path if we contain no directory separator. 99 case $0 in 92 as_myself= 93 case $0 in #(( 100 94 *[\\/]* ) as_myself=$0 ;; 101 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 104 98 IFS=$as_save_IFS 105 99 test -z "$as_dir" && as_dir=. 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break107 done100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 108 102 IFS=$as_save_IFS 109 103 … … 117 111 if test ! -f "$as_myself"; then 118 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 { (exit 1); exit 1; } 120 fi 121 122 # Work around bugs in pre-3.0 UWIN ksh. 123 for as_var in ENV MAIL MAILPATH 124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 113 exit 1 114 fi 115 116 # Unset variables that we do not need and which cause bugs (e.g. in 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 # suppresses any "Segmentation fault" message there. '((' could 119 # trigger a bug in pdksh 5.2.14. 120 for as_var in BASH_ENV ENV MAIL MAILPATH 121 do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125 123 done 126 124 PS1='$ ' … … 134 132 export LANGUAGE 135 133 136 # Required to use basename. 134 # CDPATH. 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 # Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142 # neutralization value for shells without unset; and this also 143 # works around shells that cannot unset nonexistent variables. 144 # Preserve -v and -x to the replacement shell. 145 BASH_ENV=/dev/null 146 ENV=/dev/null 147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148 case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153 esac 154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 # Admittedly, this is quite paranoid, since all the known shells bail 156 # out after a failed `exec'. 157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162 if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170 else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176 esac 177 fi 178 " 179 as_required="as_fn_return () { (exit \$1); } 180 as_fn_success () { as_fn_return 0; } 181 as_fn_failure () { as_fn_return 1; } 182 as_fn_ret_success () { return 0; } 183 as_fn_ret_failure () { return 1; } 184 185 exitcode=0 186 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192 else 193 exitcode=1; echo positional parameters were not saved. 194 fi 195 test x\$exitcode = x0 || exit 1 196 test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204 else 205 as_have_required=no 206 fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209 else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211 as_found=false 212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213 do 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227 fi 228 fi 229 done;; 230 esac 231 as_found=false 232 done 233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236 fi; } 237 IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243 # neutralization value for shells without unset; and this also 244 # works around shells that cannot unset nonexistent variables. 245 # Preserve -v and -x to the replacement shell. 246 BASH_ENV=/dev/null 247 ENV=/dev/null 248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249 case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254 esac 255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256 # Admittedly, this is quite paranoid, since all the known shells bail 257 # out after a failed `exec'. 258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259 exit 255 260 fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and 270 $0: rappture@nanohub.org about your system, including any 271 $0: error possibly output before this message. Then install 272 $0: a modern shell, or manually run the script under such a 273 $0: shell if you do have one." 274 fi 275 exit 1 276 fi 277 fi 278 fi 279 SHELL=${CONFIG_SHELL-/bin/sh} 280 export SHELL 281 # Unset more variables known to interfere with behavior of common tools. 282 CLICOLOR_FORCE= GREP_OPTIONS= 283 unset CLICOLOR_FORCE GREP_OPTIONS 284 285 ## --------------------- ## 286 ## M4sh Shell Functions. ## 287 ## --------------------- ## 288 # as_fn_unset VAR 289 # --------------- 290 # Portably unset VAR. 291 as_fn_unset () 292 { 293 { eval $1=; unset $1;} 294 } 295 as_unset=as_fn_unset 296 297 # as_fn_set_status STATUS 298 # ----------------------- 299 # Set $? to STATUS, without forking. 300 as_fn_set_status () 301 { 302 return $1 303 } # as_fn_set_status 304 305 # as_fn_exit STATUS 306 # ----------------- 307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 308 as_fn_exit () 309 { 310 set +e 311 as_fn_set_status $1 312 exit $1 313 } # as_fn_exit 314 315 # as_fn_mkdir_p 316 # ------------- 317 # Create "$as_dir" as a directory, including parents if necessary. 318 as_fn_mkdir_p () 319 { 320 321 case $as_dir in #( 322 -*) as_dir=./$as_dir;; 323 esac 324 test -d "$as_dir" || eval $as_mkdir_p || { 325 as_dirs= 326 while :; do 327 case $as_dir in #( 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 329 *) as_qdir=$as_dir;; 330 esac 331 as_dirs="'$as_qdir' $as_dirs" 332 as_dir=`$as_dirname -- "$as_dir" || 333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 334 X"$as_dir" : 'X\(//\)[^/]' \| \ 335 X"$as_dir" : 'X\(//\)$' \| \ 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 337 $as_echo X"$as_dir" | 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)[^/].*/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\/\)$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\).*/{ 351 s//\1/ 352 q 353 } 354 s/.*/./; q'` 355 test -d "$as_dir" && break 356 done 357 test -z "$as_dirs" || eval "mkdir $as_dirs" 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 359 360 361 } # as_fn_mkdir_p 362 363 # as_fn_executable_p FILE 364 # ----------------------- 365 # Test if FILE is an executable regular file. 366 as_fn_executable_p () 367 { 368 test -f "$1" && test -x "$1" 369 } # as_fn_executable_p 370 # as_fn_append VAR VALUE 371 # ---------------------- 372 # Append the text in VALUE to the end of the definition contained in VAR. Take 373 # advantage of any shell optimizations that allow amortized linear growth over 374 # repeated appends, instead of the typical quadratic growth present in naive 375 # implementations. 376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 377 eval 'as_fn_append () 378 { 379 eval $1+=\$2 380 }' 381 else 382 as_fn_append () 383 { 384 eval $1=\$$1\$2 385 } 386 fi # as_fn_append 387 388 # as_fn_arith ARG... 389 # ------------------ 390 # Perform arithmetic evaluation on the ARGs, and store the result in the 391 # global $as_val. Take advantage of shells that can avoid forks. The arguments 392 # must be portable across $(()) and expr. 393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 394 eval 'as_fn_arith () 395 { 396 as_val=$(( $* )) 397 }' 398 else 399 as_fn_arith () 400 { 401 as_val=`expr "$@" || test $? -eq 1` 402 } 403 fi # as_fn_arith 404 405 406 # as_fn_error STATUS ERROR [LINENO LOG_FD] 407 # ---------------------------------------- 408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 410 # script with STATUS, using 1 if that was 0. 411 as_fn_error () 412 { 413 as_status=$1; test $as_status -eq 0 && as_status=1 414 if test "$4"; then 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 417 fi 418 $as_echo "$as_me: error: $2" >&2 419 as_fn_exit $as_status 420 } # as_fn_error 421 137 422 if expr a : '\(a\)' >/dev/null 2>&1 && 138 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 148 433 fi 149 434 150 151 # Name of the executable. 435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 436 as_dirname=dirname 437 else 438 as_dirname=false 439 fi 440 152 441 as_me=`$as_basename -- "$0" || 153 442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 169 458 s/.*/./; q'` 170 459 171 # CDPATH. 172 $as_unset CDPATH 173 174 175 if test "x$CONFIG_SHELL" = x; then 176 if (eval ":") 2>/dev/null; then 177 as_have_required=yes 178 else 179 as_have_required=no 180 fi 181 182 if test $as_have_required = yes && (eval ": 183 (as_func_return () { 184 (exit \$1) 185 } 186 as_func_success () { 187 as_func_return 0 188 } 189 as_func_failure () { 190 as_func_return 1 191 } 192 as_func_ret_success () { 193 return 0 194 } 195 as_func_ret_failure () { 196 return 1 197 } 198 199 exitcode=0 200 if as_func_success; then 201 : 202 else 203 exitcode=1 204 echo as_func_success failed. 205 fi 206 207 if as_func_failure; then 208 exitcode=1 209 echo as_func_failure succeeded. 210 fi 211 212 if as_func_ret_success; then 213 : 214 else 215 exitcode=1 216 echo as_func_ret_success failed. 217 fi 218 219 if as_func_ret_failure; then 220 exitcode=1 221 echo as_func_ret_failure succeeded. 222 fi 223 224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225 : 226 else 227 exitcode=1 228 echo positional parameters were not saved. 229 fi 230 231 test \$exitcode = 0) || { (exit 1); exit 1; } 232 233 ( 234 as_lineno_1=\$LINENO 235 as_lineno_2=\$LINENO 236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238 ") 2> /dev/null; then 239 : 240 else 241 as_candidate_shells= 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244 do 245 IFS=$as_save_IFS 246 test -z "$as_dir" && as_dir=. 247 case $as_dir in 248 /*) 249 for as_base in sh bash ksh sh5; do 250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251 done;; 252 esac 253 done 254 IFS=$as_save_IFS 255 256 257 for as_shell in $as_candidate_shells $SHELL; do 258 # Try only shells that exist, to save several forks. 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260 { ("$as_shell") 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 _ASEOF 278 }; then 279 CONFIG_SHELL=$as_shell 280 as_have_required=yes 281 if { "$as_shell" 2> /dev/null <<\_ASEOF 282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283 emulate sh 284 NULLCMD=: 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286 # is contrary to our usage. Disable this feature. 287 alias -g '${1+"$@"}'='"$@"' 288 setopt NO_GLOB_SUBST 289 else 290 case `(set -o) 2>/dev/null` in 291 *posix*) set -o posix ;; 292 esac 293 294 fi 295 296 297 : 298 (as_func_return () { 299 (exit $1) 300 } 301 as_func_success () { 302 as_func_return 0 303 } 304 as_func_failure () { 305 as_func_return 1 306 } 307 as_func_ret_success () { 308 return 0 309 } 310 as_func_ret_failure () { 311 return 1 312 } 313 314 exitcode=0 315 if as_func_success; then 316 : 317 else 318 exitcode=1 319 echo as_func_success failed. 320 fi 321 322 if as_func_failure; then 323 exitcode=1 324 echo as_func_failure succeeded. 325 fi 326 327 if as_func_ret_success; then 328 : 329 else 330 exitcode=1 331 echo as_func_ret_success failed. 332 fi 333 334 if as_func_ret_failure; then 335 exitcode=1 336 echo as_func_ret_failure succeeded. 337 fi 338 339 if ( set x; as_func_ret_success y && test x = "$1" ); then 340 : 341 else 342 exitcode=1 343 echo positional parameters were not saved. 344 fi 345 346 test $exitcode = 0) || { (exit 1); exit 1; } 347 348 ( 349 as_lineno_1=$LINENO 350 as_lineno_2=$LINENO 351 test "x$as_lineno_1" != "x$as_lineno_2" && 352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353 354 _ASEOF 355 }; then 356 break 357 fi 358 359 fi 360 361 done 362 363 if test "x$CONFIG_SHELL" != x; then 364 for as_var in BASH_ENV ENV 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369 fi 370 371 372 if test $as_have_required = no; then 373 echo This script requires a shell more modern than all the 374 echo shells that I found on your system. Please install a 375 echo modern shell, or manually run the script under such a 376 echo shell if you do have one. 377 { (exit 1); exit 1; } 378 fi 379 380 381 fi 382 383 fi 384 385 386 387 (eval "as_func_return () { 388 (exit \$1) 389 } 390 as_func_success () { 391 as_func_return 0 392 } 393 as_func_failure () { 394 as_func_return 1 395 } 396 as_func_ret_success () { 397 return 0 398 } 399 as_func_ret_failure () { 400 return 1 401 } 402 403 exitcode=0 404 if as_func_success; then 405 : 406 else 407 exitcode=1 408 echo as_func_success failed. 409 fi 410 411 if as_func_failure; then 412 exitcode=1 413 echo as_func_failure succeeded. 414 fi 415 416 if as_func_ret_success; then 417 : 418 else 419 exitcode=1 420 echo as_func_ret_success failed. 421 fi 422 423 if as_func_ret_failure; then 424 exitcode=1 425 echo as_func_ret_failure succeeded. 426 fi 427 428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429 : 430 else 431 exitcode=1 432 echo positional parameters were not saved. 433 fi 434 435 test \$exitcode = 0") || { 436 echo No shell found that supports shell functions. 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 441 } 442 443 444 445 as_lineno_1=$LINENO 446 as_lineno_2=$LINENO 447 test "x$as_lineno_1" != "x$as_lineno_2" && 448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449 450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451 # uniformly replaced by the line number. The first 'sed' inserts a 452 # line-number line after each line using $LINENO; the second 'sed' 453 # does the real work. The second script uses 'N' to pair each 454 # line-number line with the line containing $LINENO, and appends 455 # trailing '-' during substitution so that $LINENO is not a special 456 # case at line end. 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458 # scripts with optimization help from Paolo Bonzini. Blame Lee 459 # E. McMahon (1931-1989) for sed's syntax. :-) 460 # Avoid depending upon Character Ranges. 461 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 464 as_cr_digits='0123456789' 465 as_cr_alnum=$as_cr_Letters$as_cr_digits 466 467 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 460 473 sed -n ' 461 474 p … … 474 487 ' >$as_me.lineno && 475 488 chmod +x "$as_me.lineno" || 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 478 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 490 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 492 # already done that, so ensure we don't try to do so again and fall 493 # in an infinite loop. This has already happened in practice. 494 _as_can_reexec=no; export _as_can_reexec 479 495 # Don't try to exec as it changes $[0], causing all sort of problems 480 496 # (the dirname of $[0] is not the place where we might find the … … 485 501 } 486 502 487 488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then489 as_dirname=dirname490 else491 as_dirname=false492 fi493 494 503 ECHO_C= ECHO_N= ECHO_T= 495 case `echo -n x` in 504 case `echo -n x` in #((((( 496 505 -n*) 497 case `echo 'x \c'` in506 case `echo 'xy\c'` in 498 507 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499 *) ECHO_C='\c';; 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 500 511 esac;; 501 512 *) 502 513 ECHO_N='-n';; 503 514 esac 504 if expr a : '\(a\)' >/dev/null 2>&1 &&505 test "X`expr 00001 : '.*\(...\)'`" = X001; then506 as_expr=expr507 else508 as_expr=false509 fi510 515 511 516 rm -f conf$$ conf$$.exe conf$$.file … … 522 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 523 528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 524 # In both cases, we have to default to `cp -p '.529 # In both cases, we have to default to `cp -pR'. 525 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 526 as_ln_s='cp -p '531 as_ln_s='cp -pR' 527 532 elif ln conf$$.file conf$$ 2>/dev/null; then 528 533 as_ln_s=ln 529 534 else 530 as_ln_s='cp -p '535 as_ln_s='cp -pR' 531 536 fi 532 537 else 533 as_ln_s='cp -p '538 as_ln_s='cp -pR' 534 539 fi 535 540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 537 542 538 543 if mkdir -p . 2>/dev/null; then 539 as_mkdir_p= :544 as_mkdir_p='mkdir -p "$as_dir"' 540 545 else 541 546 test -d ./-p && rmdir ./-p … … 543 548 fi 544 549 545 if test -x / >/dev/null 2>&1; then 546 as_test_x='test -x' 547 else 548 if ls -dL / >/dev/null 2>&1; then 549 as_ls_L_option=L 550 else 551 as_ls_L_option= 552 fi 553 as_test_x=' 554 eval sh -c '\'' 555 if test -d "$1"; then 556 test -d "$1/."; 557 else 558 case $1 in 559 -*)set "./$1";; 560 esac; 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 562 ???[sx]*):;;*)false;;esac;fi 563 '\'' sh 564 ' 565 fi 566 as_executable_p=$as_test_x 550 as_test_x='test -x' 551 as_executable_p=as_fn_executable_p 567 552 568 553 # Sed expression to map a string onto a valid CPP name. … … 573 558 574 559 575 576 exec 7<&0 </dev/null6>&1560 test -n "$DJDIR" || exec 7<&0 </dev/null 561 exec 6>&1 577 562 578 563 # Name of the host. 579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 580 565 # so uname gets run too. 581 566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 592 577 MFLAGS= 593 578 MAKEFLAGS= 594 SHELL=${CONFIG_SHELL-/bin/sh}595 579 596 580 # Identity of this package. … … 600 584 PACKAGE_STRING='Rappture 1.3' 601 585 PACKAGE_BUGREPORT='rappture@nanohub.org' 586 PACKAGE_URL='' 602 587 603 588 # Factoring default headers for most tests. … … 814 799 prefix 815 800 exec_prefix 801 PACKAGE_URL 816 802 PACKAGE_BUGREPORT 817 803 PACKAGE_STRING … … 923 909 924 910 case $ac_option in 925 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 926 *) ac_optarg=yes ;; 911 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 912 *=) ac_optarg= ;; 913 *) ac_optarg=yes ;; 927 914 esac 928 915 … … 969 956 # Reject names that are not valid shell variable names. 970 957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 971 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 972 { (exit 1); exit 1; }; } 958 as_fn_error $? "invalid feature name: $ac_useropt" 973 959 ac_useropt_orig=$ac_useropt 974 960 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 996 982 # Reject names that are not valid shell variable names. 997 983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 998 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 999 { (exit 1); exit 1; }; } 984 as_fn_error $? "invalid feature name: $ac_useropt" 1000 985 ac_useropt_orig=$ac_useropt 1001 986 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1201 1186 # Reject names that are not valid shell variable names. 1202 1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1203 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1204 { (exit 1); exit 1; }; } 1188 as_fn_error $? "invalid package name: $ac_useropt" 1205 1189 ac_useropt_orig=$ac_useropt 1206 1190 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1218 1202 # Reject names that are not valid shell variable names. 1219 1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1220 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1221 { (exit 1); exit 1; }; } 1204 as_fn_error $? "invalid package name: $ac_useropt" 1222 1205 ac_useropt_orig=$ac_useropt 1223 1206 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1249 1232 x_libraries=$ac_optarg ;; 1250 1233 1251 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1252 Try \`$0 --help' for more information." >&2 1253 { (exit 1); exit 1; }; } 1234 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1235 Try \`$0 --help' for more information" 1254 1236 ;; 1255 1237 … … 1257 1239 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1258 1240 # Reject names that are not valid shell variable names. 1259 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1260 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1261 { (exit 1); exit 1; }; } 1241 case $ac_envvar in #( 1242 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1243 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1244 esac 1262 1245 eval $ac_envvar=\$ac_optarg 1263 1246 export $ac_envvar ;; … … 1268 1251 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1269 1252 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1270 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1253 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1271 1254 ;; 1272 1255 … … 1276 1259 if test -n "$ac_prev"; then 1277 1260 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1278 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1279 { (exit 1); exit 1; }; } 1261 as_fn_error $? "missing argument to $ac_option" 1280 1262 fi 1281 1263 … … 1283 1265 case $enable_option_checking in 1284 1266 no) ;; 1285 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1286 { (exit 1); exit 1; }; } ;; 1267 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1287 1268 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1288 1269 esac … … 1307 1288 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1308 1289 esac 1309 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1310 { (exit 1); exit 1; }; } 1290 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1311 1291 done 1312 1292 … … 1322 1302 if test "x$build_alias" = x; then 1323 1303 cross_compiling=maybe 1324 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1325 If a cross compiler is detected then cross compile mode will be used." >&21326 1304 elif test "x$build_alias" != "x$host_alias"; then 1327 1305 cross_compiling=yes … … 1338 1316 ac_ls_di=`ls -di .` && 1339 1317 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1340 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1341 { (exit 1); exit 1; }; } 1318 as_fn_error $? "working directory cannot be determined" 1342 1319 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1343 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1344 { (exit 1); exit 1; }; } 1320 as_fn_error $? "pwd does not report name of working directory" 1345 1321 1346 1322 … … 1381 1357 if test ! -r "$srcdir/$ac_unique_file"; then 1382 1358 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1383 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1384 { (exit 1); exit 1; }; } 1359 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1385 1360 fi 1386 1361 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1387 1362 ac_abs_confdir=`( 1388 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1389 { (exit 1); exit 1; }; } 1363 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1390 1364 pwd)` 1391 1365 # When building in place, set srcdir=. … … 1427 1401 --help=recursive display the short help of all the included packages 1428 1402 -V, --version display version information and exit 1429 -q, --quiet, --silent do not print \`checking ...' messages1403 -q, --quiet, --silent do not print \`checking ...' messages 1430 1404 --cache-file=FILE cache test results in FILE [disabled] 1431 1405 -C, --config-cache alias for \`--cache-file=config.cache' … … 1511 1485 --with-java=DIR location of java [default=yes] 1512 1486 --with-R=DIR location of R interpreter [default=yes] 1513 --with-ruby=PATH path to the ruby interpreter [ ruby]1487 --with-ruby=PATH path to the ruby interpreter [[ruby]] 1514 1488 --with-ruby-sitelibdir=PATH 1515 path to install ruby scripts [ auto-detect]1489 path to install ruby scripts [[auto-detect]] 1516 1490 1517 1491 Some influential environment variables: … … 1521 1495 nonstandard directory <lib dir> 1522 1496 LIBS libraries to pass to the linker, e.g. -l<library> 1523 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1497 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1524 1498 you have headers in a nonstandard directory <include dir> 1525 1499 CXX C++ compiler command … … 1597 1571 cat <<\_ACEOF 1598 1572 Rappture configure 1.3 1599 generated by GNU Autoconf 2.63 1600 1601 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1602 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1573 generated by GNU Autoconf 2.69 1574 1575 Copyright (C) 2012 Free Software Foundation, Inc. 1603 1576 This configure script is free software; the Free Software Foundation 1604 1577 gives unlimited permission to copy, distribute and modify it. … … 1606 1579 exit 1607 1580 fi 1581 1582 ## ------------------------ ## 1583 ## Autoconf initialization. ## 1584 ## ------------------------ ## 1585 1586 # ac_fn_c_try_compile LINENO 1587 # -------------------------- 1588 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1589 ac_fn_c_try_compile () 1590 { 1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1592 rm -f conftest.$ac_objext 1593 if { { ac_try="$ac_compile" 1594 case "(($ac_try" in 1595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1596 *) ac_try_echo=$ac_try;; 1597 esac 1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1599 $as_echo "$ac_try_echo"; } >&5 1600 (eval "$ac_compile") 2>conftest.err 1601 ac_status=$? 1602 if test -s conftest.err; then 1603 grep -v '^ *+' conftest.err >conftest.er1 1604 cat conftest.er1 >&5 1605 mv -f conftest.er1 conftest.err 1606 fi 1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1608 test $ac_status = 0; } && { 1609 test -z "$ac_c_werror_flag" || 1610 test ! -s conftest.err 1611 } && test -s conftest.$ac_objext; then : 1612 ac_retval=0 1613 else 1614 $as_echo "$as_me: failed program was:" >&5 1615 sed 's/^/| /' conftest.$ac_ext >&5 1616 1617 ac_retval=1 1618 fi 1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1620 as_fn_set_status $ac_retval 1621 1622 } # ac_fn_c_try_compile 1623 1624 # ac_fn_cxx_try_compile LINENO 1625 # ---------------------------- 1626 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1627 ac_fn_cxx_try_compile () 1628 { 1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1630 rm -f conftest.$ac_objext 1631 if { { ac_try="$ac_compile" 1632 case "(($ac_try" in 1633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1634 *) ac_try_echo=$ac_try;; 1635 esac 1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1637 $as_echo "$ac_try_echo"; } >&5 1638 (eval "$ac_compile") 2>conftest.err 1639 ac_status=$? 1640 if test -s conftest.err; then 1641 grep -v '^ *+' conftest.err >conftest.er1 1642 cat conftest.er1 >&5 1643 mv -f conftest.er1 conftest.err 1644 fi 1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1646 test $ac_status = 0; } && { 1647 test -z "$ac_cxx_werror_flag" || 1648 test ! -s conftest.err 1649 } && test -s conftest.$ac_objext; then : 1650 ac_retval=0 1651 else 1652 $as_echo "$as_me: failed program was:" >&5 1653 sed 's/^/| /' conftest.$ac_ext >&5 1654 1655 ac_retval=1 1656 fi 1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1658 as_fn_set_status $ac_retval 1659 1660 } # ac_fn_cxx_try_compile 1661 1662 # ac_fn_f77_try_compile LINENO 1663 # ---------------------------- 1664 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1665 ac_fn_f77_try_compile () 1666 { 1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1668 rm -f conftest.$ac_objext 1669 if { { ac_try="$ac_compile" 1670 case "(($ac_try" in 1671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1672 *) ac_try_echo=$ac_try;; 1673 esac 1674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1675 $as_echo "$ac_try_echo"; } >&5 1676 (eval "$ac_compile") 2>conftest.err 1677 ac_status=$? 1678 if test -s conftest.err; then 1679 grep -v '^ *+' conftest.err >conftest.er1 1680 cat conftest.er1 >&5 1681 mv -f conftest.er1 conftest.err 1682 fi 1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1684 test $ac_status = 0; } && { 1685 test -z "$ac_f77_werror_flag" || 1686 test ! -s conftest.err 1687 } && test -s conftest.$ac_objext; then : 1688 ac_retval=0 1689 else 1690 $as_echo "$as_me: failed program was:" >&5 1691 sed 's/^/| /' conftest.$ac_ext >&5 1692 1693 ac_retval=1 1694 fi 1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1696 as_fn_set_status $ac_retval 1697 1698 } # ac_fn_f77_try_compile 1699 1700 # ac_fn_c_try_cpp LINENO 1701 # ---------------------- 1702 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1703 ac_fn_c_try_cpp () 1704 { 1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1706 if { { ac_try="$ac_cpp conftest.$ac_ext" 1707 case "(($ac_try" in 1708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1709 *) ac_try_echo=$ac_try;; 1710 esac 1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1712 $as_echo "$ac_try_echo"; } >&5 1713 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1714 ac_status=$? 1715 if test -s conftest.err; then 1716 grep -v '^ *+' conftest.err >conftest.er1 1717 cat conftest.er1 >&5 1718 mv -f conftest.er1 conftest.err 1719 fi 1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1721 test $ac_status = 0; } > conftest.i && { 1722 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1723 test ! -s conftest.err 1724 }; then : 1725 ac_retval=0 1726 else 1727 $as_echo "$as_me: failed program was:" >&5 1728 sed 's/^/| /' conftest.$ac_ext >&5 1729 1730 ac_retval=1 1731 fi 1732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1733 as_fn_set_status $ac_retval 1734 1735 } # ac_fn_c_try_cpp 1736 1737 # ac_fn_c_try_run LINENO 1738 # ---------------------- 1739 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1740 # that executables *can* be run. 1741 ac_fn_c_try_run () 1742 { 1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1744 if { { ac_try="$ac_link" 1745 case "(($ac_try" in 1746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1747 *) ac_try_echo=$ac_try;; 1748 esac 1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1750 $as_echo "$ac_try_echo"; } >&5 1751 (eval "$ac_link") 2>&5 1752 ac_status=$? 1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1754 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1755 { { case "(($ac_try" in 1756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1757 *) ac_try_echo=$ac_try;; 1758 esac 1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1760 $as_echo "$ac_try_echo"; } >&5 1761 (eval "$ac_try") 2>&5 1762 ac_status=$? 1763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1764 test $ac_status = 0; }; }; then : 1765 ac_retval=0 1766 else 1767 $as_echo "$as_me: program exited with status $ac_status" >&5 1768 $as_echo "$as_me: failed program was:" >&5 1769 sed 's/^/| /' conftest.$ac_ext >&5 1770 1771 ac_retval=$ac_status 1772 fi 1773 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1775 as_fn_set_status $ac_retval 1776 1777 } # ac_fn_c_try_run 1778 1779 # ac_fn_c_try_link LINENO 1780 # ----------------------- 1781 # Try to link conftest.$ac_ext, and return whether this succeeded. 1782 ac_fn_c_try_link () 1783 { 1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1785 rm -f conftest.$ac_objext conftest$ac_exeext 1786 if { { ac_try="$ac_link" 1787 case "(($ac_try" in 1788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1789 *) ac_try_echo=$ac_try;; 1790 esac 1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1792 $as_echo "$ac_try_echo"; } >&5 1793 (eval "$ac_link") 2>conftest.err 1794 ac_status=$? 1795 if test -s conftest.err; then 1796 grep -v '^ *+' conftest.err >conftest.er1 1797 cat conftest.er1 >&5 1798 mv -f conftest.er1 conftest.err 1799 fi 1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1801 test $ac_status = 0; } && { 1802 test -z "$ac_c_werror_flag" || 1803 test ! -s conftest.err 1804 } && test -s conftest$ac_exeext && { 1805 test "$cross_compiling" = yes || 1806 test -x conftest$ac_exeext 1807 }; then : 1808 ac_retval=0 1809 else 1810 $as_echo "$as_me: failed program was:" >&5 1811 sed 's/^/| /' conftest.$ac_ext >&5 1812 1813 ac_retval=1 1814 fi 1815 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1816 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1817 # interfere with the next link command; also delete a directory that is 1818 # left behind by Apple's compiler. We do this before executing the actions. 1819 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1821 as_fn_set_status $ac_retval 1822 1823 } # ac_fn_c_try_link 1824 1825 # ac_fn_c_check_func LINENO FUNC VAR 1826 # ---------------------------------- 1827 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1828 ac_fn_c_check_func () 1829 { 1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1832 $as_echo_n "checking for $2... " >&6; } 1833 if eval \${$3+:} false; then : 1834 $as_echo_n "(cached) " >&6 1835 else 1836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1837 /* end confdefs.h. */ 1838 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1839 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1840 #define $2 innocuous_$2 1841 1842 /* System header to define __stub macros and hopefully few prototypes, 1843 which can conflict with char $2 (); below. 1844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1845 <limits.h> exists even on freestanding compilers. */ 1846 1847 #ifdef __STDC__ 1848 # include <limits.h> 1849 #else 1850 # include <assert.h> 1851 #endif 1852 1853 #undef $2 1854 1855 /* Override any GCC internal prototype to avoid an error. 1856 Use char because int might match the return type of a GCC 1857 builtin and then its argument prototype would still apply. */ 1858 #ifdef __cplusplus 1859 extern "C" 1860 #endif 1861 char $2 (); 1862 /* The GNU C library defines this for functions which it implements 1863 to always fail with ENOSYS. Some functions are actually named 1864 something starting with __ and the normal name is an alias. */ 1865 #if defined __stub_$2 || defined __stub___$2 1866 choke me 1867 #endif 1868 1869 int 1870 main () 1871 { 1872 return $2 (); 1873 ; 1874 return 0; 1875 } 1876 _ACEOF 1877 if ac_fn_c_try_link "$LINENO"; then : 1878 eval "$3=yes" 1879 else 1880 eval "$3=no" 1881 fi 1882 rm -f core conftest.err conftest.$ac_objext \ 1883 conftest$ac_exeext conftest.$ac_ext 1884 fi 1885 eval ac_res=\$$3 1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1887 $as_echo "$ac_res" >&6; } 1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1889 1890 } # ac_fn_c_check_func 1891 1892 # ac_fn_cxx_try_link LINENO 1893 # ------------------------- 1894 # Try to link conftest.$ac_ext, and return whether this succeeded. 1895 ac_fn_cxx_try_link () 1896 { 1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1898 rm -f conftest.$ac_objext conftest$ac_exeext 1899 if { { ac_try="$ac_link" 1900 case "(($ac_try" in 1901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1902 *) ac_try_echo=$ac_try;; 1903 esac 1904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1905 $as_echo "$ac_try_echo"; } >&5 1906 (eval "$ac_link") 2>conftest.err 1907 ac_status=$? 1908 if test -s conftest.err; then 1909 grep -v '^ *+' conftest.err >conftest.er1 1910 cat conftest.er1 >&5 1911 mv -f conftest.er1 conftest.err 1912 fi 1913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1914 test $ac_status = 0; } && { 1915 test -z "$ac_cxx_werror_flag" || 1916 test ! -s conftest.err 1917 } && test -s conftest$ac_exeext && { 1918 test "$cross_compiling" = yes || 1919 test -x conftest$ac_exeext 1920 }; then : 1921 ac_retval=0 1922 else 1923 $as_echo "$as_me: failed program was:" >&5 1924 sed 's/^/| /' conftest.$ac_ext >&5 1925 1926 ac_retval=1 1927 fi 1928 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1929 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1930 # interfere with the next link command; also delete a directory that is 1931 # left behind by Apple's compiler. We do this before executing the actions. 1932 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1934 as_fn_set_status $ac_retval 1935 1936 } # ac_fn_cxx_try_link 1937 1938 # ac_fn_cxx_check_func LINENO FUNC VAR 1939 # ------------------------------------ 1940 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1941 ac_fn_cxx_check_func () 1942 { 1943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1945 $as_echo_n "checking for $2... " >&6; } 1946 if eval \${$3+:} false; then : 1947 $as_echo_n "(cached) " >&6 1948 else 1949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1950 /* end confdefs.h. */ 1951 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1952 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1953 #define $2 innocuous_$2 1954 1955 /* System header to define __stub macros and hopefully few prototypes, 1956 which can conflict with char $2 (); below. 1957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1958 <limits.h> exists even on freestanding compilers. */ 1959 1960 #ifdef __STDC__ 1961 # include <limits.h> 1962 #else 1963 # include <assert.h> 1964 #endif 1965 1966 #undef $2 1967 1968 /* Override any GCC internal prototype to avoid an error. 1969 Use char because int might match the return type of a GCC 1970 builtin and then its argument prototype would still apply. */ 1971 #ifdef __cplusplus 1972 extern "C" 1973 #endif 1974 char $2 (); 1975 /* The GNU C library defines this for functions which it implements 1976 to always fail with ENOSYS. Some functions are actually named 1977 something starting with __ and the normal name is an alias. */ 1978 #if defined __stub_$2 || defined __stub___$2 1979 choke me 1980 #endif 1981 1982 int 1983 main () 1984 { 1985 return $2 (); 1986 ; 1987 return 0; 1988 } 1989 _ACEOF 1990 if ac_fn_cxx_try_link "$LINENO"; then : 1991 eval "$3=yes" 1992 else 1993 eval "$3=no" 1994 fi 1995 rm -f core conftest.err conftest.$ac_objext \ 1996 conftest$ac_exeext conftest.$ac_ext 1997 fi 1998 eval ac_res=\$$3 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2000 $as_echo "$ac_res" >&6; } 2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2002 2003 } # ac_fn_cxx_check_func 2004 2005 # ac_fn_cxx_try_cpp LINENO 2006 # ------------------------ 2007 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2008 ac_fn_cxx_try_cpp () 2009 { 2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2011 if { { ac_try="$ac_cpp conftest.$ac_ext" 2012 case "(($ac_try" in 2013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2014 *) ac_try_echo=$ac_try;; 2015 esac 2016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2017 $as_echo "$ac_try_echo"; } >&5 2018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2019 ac_status=$? 2020 if test -s conftest.err; then 2021 grep -v '^ *+' conftest.err >conftest.er1 2022 cat conftest.er1 >&5 2023 mv -f conftest.er1 conftest.err 2024 fi 2025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2026 test $ac_status = 0; } > conftest.i && { 2027 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2028 test ! -s conftest.err 2029 }; then : 2030 ac_retval=0 2031 else 2032 $as_echo "$as_me: failed program was:" >&5 2033 sed 's/^/| /' conftest.$ac_ext >&5 2034 2035 ac_retval=1 2036 fi 2037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2038 as_fn_set_status $ac_retval 2039 2040 } # ac_fn_cxx_try_cpp 2041 2042 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 2043 # --------------------------------------------------------- 2044 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 2045 # the include files in INCLUDES and setting the cache variable VAR 2046 # accordingly. 2047 ac_fn_cxx_check_header_mongrel () 2048 { 2049 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2050 if eval \${$3+:} false; then : 2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2052 $as_echo_n "checking for $2... " >&6; } 2053 if eval \${$3+:} false; then : 2054 $as_echo_n "(cached) " >&6 2055 fi 2056 eval ac_res=\$$3 2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2058 $as_echo "$ac_res" >&6; } 2059 else 2060 # Is the header compilable? 2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2062 $as_echo_n "checking $2 usability... " >&6; } 2063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2064 /* end confdefs.h. */ 2065 $4 2066 #include <$2> 2067 _ACEOF 2068 if ac_fn_cxx_try_compile "$LINENO"; then : 2069 ac_header_compiler=yes 2070 else 2071 ac_header_compiler=no 2072 fi 2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2075 $as_echo "$ac_header_compiler" >&6; } 2076 2077 # Is the header present? 2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2079 $as_echo_n "checking $2 presence... " >&6; } 2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2081 /* end confdefs.h. */ 2082 #include <$2> 2083 _ACEOF 2084 if ac_fn_cxx_try_cpp "$LINENO"; then : 2085 ac_header_preproc=yes 2086 else 2087 ac_header_preproc=no 2088 fi 2089 rm -f conftest.err conftest.i conftest.$ac_ext 2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2091 $as_echo "$ac_header_preproc" >&6; } 2092 2093 # So? What about this header? 2094 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2095 yes:no: ) 2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2097 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2099 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2100 ;; 2101 no:yes:* ) 2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2103 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2105 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2107 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2109 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2111 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2112 ( $as_echo "## ----------------------------------- ## 2113 ## Report this to rappture@nanohub.org ## 2114 ## ----------------------------------- ##" 2115 ) | sed "s/^/$as_me: WARNING: /" >&2 2116 ;; 2117 esac 2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2119 $as_echo_n "checking for $2... " >&6; } 2120 if eval \${$3+:} false; then : 2121 $as_echo_n "(cached) " >&6 2122 else 2123 eval "$3=\$ac_header_compiler" 2124 fi 2125 eval ac_res=\$$3 2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2127 $as_echo "$ac_res" >&6; } 2128 fi 2129 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2130 2131 } # ac_fn_cxx_check_header_mongrel 2132 2133 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2134 # --------------------------------------------------------- 2135 # Tests whether HEADER exists and can be compiled using the include files in 2136 # INCLUDES, setting the cache variable VAR accordingly. 2137 ac_fn_cxx_check_header_compile () 2138 { 2139 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2141 $as_echo_n "checking for $2... " >&6; } 2142 if eval \${$3+:} false; then : 2143 $as_echo_n "(cached) " >&6 2144 else 2145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2146 /* end confdefs.h. */ 2147 $4 2148 #include <$2> 2149 _ACEOF 2150 if ac_fn_cxx_try_compile "$LINENO"; then : 2151 eval "$3=yes" 2152 else 2153 eval "$3=no" 2154 fi 2155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2156 fi 2157 eval ac_res=\$$3 2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2159 $as_echo "$ac_res" >&6; } 2160 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2161 2162 } # ac_fn_cxx_check_header_compile 2163 2164 # ac_fn_cxx_try_run LINENO 2165 # ------------------------ 2166 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2167 # that executables *can* be run. 2168 ac_fn_cxx_try_run () 2169 { 2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2171 if { { ac_try="$ac_link" 2172 case "(($ac_try" in 2173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2174 *) ac_try_echo=$ac_try;; 2175 esac 2176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2177 $as_echo "$ac_try_echo"; } >&5 2178 (eval "$ac_link") 2>&5 2179 ac_status=$? 2180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2181 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2182 { { case "(($ac_try" in 2183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2184 *) ac_try_echo=$ac_try;; 2185 esac 2186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2187 $as_echo "$ac_try_echo"; } >&5 2188 (eval "$ac_try") 2>&5 2189 ac_status=$? 2190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2191 test $ac_status = 0; }; }; then : 2192 ac_retval=0 2193 else 2194 $as_echo "$as_me: program exited with status $ac_status" >&5 2195 $as_echo "$as_me: failed program was:" >&5 2196 sed 's/^/| /' conftest.$ac_ext >&5 2197 2198 ac_retval=$ac_status 2199 fi 2200 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2201 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2202 as_fn_set_status $ac_retval 2203 2204 } # ac_fn_cxx_try_run 2205 2206 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 2207 # ---------------------------------------------- 2208 # Tries to find the compile-time value of EXPR in a program that includes 2209 # INCLUDES, setting VAR accordingly. Returns whether the value could be 2210 # computed 2211 ac_fn_cxx_compute_int () 2212 { 2213 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2214 if test "$cross_compiling" = yes; then 2215 # Depending upon the size, compute the lo and hi bounds. 2216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2217 /* end confdefs.h. */ 2218 $4 2219 int 2220 main () 2221 { 2222 static int test_array [1 - 2 * !(($2) >= 0)]; 2223 test_array [0] = 0; 2224 return test_array [0]; 2225 2226 ; 2227 return 0; 2228 } 2229 _ACEOF 2230 if ac_fn_cxx_try_compile "$LINENO"; then : 2231 ac_lo=0 ac_mid=0 2232 while :; do 2233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2234 /* end confdefs.h. */ 2235 $4 2236 int 2237 main () 2238 { 2239 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2240 test_array [0] = 0; 2241 return test_array [0]; 2242 2243 ; 2244 return 0; 2245 } 2246 _ACEOF 2247 if ac_fn_cxx_try_compile "$LINENO"; then : 2248 ac_hi=$ac_mid; break 2249 else 2250 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2251 if test $ac_lo -le $ac_mid; then 2252 ac_lo= ac_hi= 2253 break 2254 fi 2255 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2256 fi 2257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2258 done 2259 else 2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2261 /* end confdefs.h. */ 2262 $4 2263 int 2264 main () 2265 { 2266 static int test_array [1 - 2 * !(($2) < 0)]; 2267 test_array [0] = 0; 2268 return test_array [0]; 2269 2270 ; 2271 return 0; 2272 } 2273 _ACEOF 2274 if ac_fn_cxx_try_compile "$LINENO"; then : 2275 ac_hi=-1 ac_mid=-1 2276 while :; do 2277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2278 /* end confdefs.h. */ 2279 $4 2280 int 2281 main () 2282 { 2283 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2284 test_array [0] = 0; 2285 return test_array [0]; 2286 2287 ; 2288 return 0; 2289 } 2290 _ACEOF 2291 if ac_fn_cxx_try_compile "$LINENO"; then : 2292 ac_lo=$ac_mid; break 2293 else 2294 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2295 if test $ac_mid -le $ac_hi; then 2296 ac_lo= ac_hi= 2297 break 2298 fi 2299 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2300 fi 2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2302 done 2303 else 2304 ac_lo= ac_hi= 2305 fi 2306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2307 fi 2308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2309 # Binary search between lo and hi bounds. 2310 while test "x$ac_lo" != "x$ac_hi"; do 2311 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2313 /* end confdefs.h. */ 2314 $4 2315 int 2316 main () 2317 { 2318 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2319 test_array [0] = 0; 2320 return test_array [0]; 2321 2322 ; 2323 return 0; 2324 } 2325 _ACEOF 2326 if ac_fn_cxx_try_compile "$LINENO"; then : 2327 ac_hi=$ac_mid 2328 else 2329 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2330 fi 2331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2332 done 2333 case $ac_lo in #(( 2334 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2335 '') ac_retval=1 ;; 2336 esac 2337 else 2338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2339 /* end confdefs.h. */ 2340 $4 2341 static long int longval () { return $2; } 2342 static unsigned long int ulongval () { return $2; } 2343 #include <stdio.h> 2344 #include <stdlib.h> 2345 int 2346 main () 2347 { 2348 2349 FILE *f = fopen ("conftest.val", "w"); 2350 if (! f) 2351 return 1; 2352 if (($2) < 0) 2353 { 2354 long int i = longval (); 2355 if (i != ($2)) 2356 return 1; 2357 fprintf (f, "%ld", i); 2358 } 2359 else 2360 { 2361 unsigned long int i = ulongval (); 2362 if (i != ($2)) 2363 return 1; 2364 fprintf (f, "%lu", i); 2365 } 2366 /* Do not output a trailing newline, as this causes \r\n confusion 2367 on some platforms. */ 2368 return ferror (f) || fclose (f) != 0; 2369 2370 ; 2371 return 0; 2372 } 2373 _ACEOF 2374 if ac_fn_cxx_try_run "$LINENO"; then : 2375 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2376 else 2377 ac_retval=1 2378 fi 2379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2380 conftest.$ac_objext conftest.beam conftest.$ac_ext 2381 rm -f conftest.val 2382 2383 fi 2384 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2385 as_fn_set_status $ac_retval 2386 2387 } # ac_fn_cxx_compute_int 1608 2388 cat >config.log <<_ACEOF 1609 2389 This file contains any messages produced by compilers while … … 1611 2391 1612 2392 It was created by Rappture $as_me 1.3, which was 1613 generated by GNU Autoconf 2.6 3. Invocation command line was2393 generated by GNU Autoconf 2.69. Invocation command line was 1614 2394 1615 2395 $ $0 $@ … … 1647 2427 IFS=$as_save_IFS 1648 2428 test -z "$as_dir" && as_dir=. 1649 $as_echo "PATH: $as_dir"1650 done2429 $as_echo "PATH: $as_dir" 2430 done 1651 2431 IFS=$as_save_IFS 1652 2432 … … 1685 2465 esac 1686 2466 case $ac_pass in 1687 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2467 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1688 2468 2) 1689 a c_configure_args1="$ac_configure_args1'$ac_arg'"2469 as_fn_append ac_configure_args1 " '$ac_arg'" 1690 2470 if test $ac_must_keep_next = true; then 1691 2471 ac_must_keep_next=false # Got value, back to normal. … … 1703 2483 esac 1704 2484 fi 1705 a c_configure_args="$ac_configure_args'$ac_arg'"2485 as_fn_append ac_configure_args " '$ac_arg'" 1706 2486 ;; 1707 2487 esac 1708 2488 done 1709 2489 done 1710 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1711 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2490 { ac_configure_args0=; unset ac_configure_args0;} 2491 { ac_configure_args1=; unset ac_configure_args1;} 1712 2492 1713 2493 # When interrupted or exit'd, cleanup temporary files, and complete … … 1721 2501 echo 1722 2502 1723 cat <<\_ASBOX 1724 ## ---------------- ## 2503 $as_echo "## ---------------- ## 1725 2504 ## Cache variables. ## 1726 ## ---------------- ## 1727 _ASBOX 2505 ## ---------------- ##" 1728 2506 echo 1729 2507 # The following way of writing the cache mishandles newlines in values, … … 1734 2512 *${as_nl}*) 1735 2513 case $ac_var in #( 1736 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&52514 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1737 2515 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1738 2516 esac … … 1740 2518 _ | IFS | as_nl) ;; #( 1741 2519 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1742 *) $as_unset $ac_var;;2520 *) { eval $ac_var=; unset $ac_var;} ;; 1743 2521 esac ;; 1744 2522 esac … … 1759 2537 echo 1760 2538 1761 cat <<\_ASBOX 1762 ## ----------------- ## 2539 $as_echo "## ----------------- ## 1763 2540 ## Output variables. ## 1764 ## ----------------- ## 1765 _ASBOX 2541 ## ----------------- ##" 1766 2542 echo 1767 2543 for ac_var in $ac_subst_vars … … 1776 2552 1777 2553 if test -n "$ac_subst_files"; then 1778 cat <<\_ASBOX 1779 ## ------------------- ## 2554 $as_echo "## ------------------- ## 1780 2555 ## File substitutions. ## 1781 ## ------------------- ## 1782 _ASBOX 2556 ## ------------------- ##" 1783 2557 echo 1784 2558 for ac_var in $ac_subst_files … … 1794 2568 1795 2569 if test -s confdefs.h; then 1796 cat <<\_ASBOX 1797 ## ----------- ## 2570 $as_echo "## ----------- ## 1798 2571 ## confdefs.h. ## 1799 ## ----------- ## 1800 _ASBOX 2572 ## ----------- ##" 1801 2573 echo 1802 2574 cat confdefs.h … … 1812 2584 ' 0 1813 2585 for ac_signal in 1 2 13 15; do 1814 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2586 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1815 2587 done 1816 2588 ac_signal=0 … … 1819 2591 rm -f -r conftest* confdefs.h 1820 2592 2593 $as_echo "/* confdefs.h */" > confdefs.h 2594 1821 2595 # Predefined preprocessor variables. 1822 2596 … … 1825 2599 _ACEOF 1826 2600 1827 1828 2601 cat >>confdefs.h <<_ACEOF 1829 2602 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1830 2603 _ACEOF 1831 2604 1832 1833 2605 cat >>confdefs.h <<_ACEOF 1834 2606 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1835 2607 _ACEOF 1836 2608 1837 1838 2609 cat >>confdefs.h <<_ACEOF 1839 2610 #define PACKAGE_STRING "$PACKAGE_STRING" 1840 2611 _ACEOF 1841 2612 1842 1843 2613 cat >>confdefs.h <<_ACEOF 1844 2614 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2615 _ACEOF 2616 2617 cat >>confdefs.h <<_ACEOF 2618 #define PACKAGE_URL "$PACKAGE_URL" 1845 2619 _ACEOF 1846 2620 … … 1851 2625 ac_site_file2=NONE 1852 2626 if test -n "$CONFIG_SITE"; then 1853 ac_site_file1=$CONFIG_SITE 2627 # We do not want a PATH search for config.site. 2628 case $CONFIG_SITE in #(( 2629 -*) ac_site_file1=./$CONFIG_SITE;; 2630 */*) ac_site_file1=$CONFIG_SITE;; 2631 *) ac_site_file1=./$CONFIG_SITE;; 2632 esac 1854 2633 elif test "x$prefix" != xNONE; then 1855 2634 ac_site_file1=$prefix/share/config.site … … 1862 2641 do 1863 2642 test "x$ac_site_file" = xNONE && continue 1864 if test -r "$ac_site_file"; then1865 { $as_echo "$as_me:$ LINENO: loading site script $ac_site_file" >&52643 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2644 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1866 2645 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1867 2646 sed 's/^/| /' "$ac_site_file" >&5 1868 . "$ac_site_file" 2647 . "$ac_site_file" \ 2648 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2650 as_fn_error $? "failed to load site script $ac_site_file 2651 See \`config.log' for more details" "$LINENO" 5; } 1869 2652 fi 1870 2653 done 1871 2654 1872 2655 if test -r "$cache_file"; then 1873 # Some versions of bash will fail to source /dev/null (special 1874 # files actually), so we avoid doing that.1875 if test -f "$cache_file"; then1876 { $as_echo "$as_me:$ LINENO: loading cache $cache_file" >&52656 # Some versions of bash will fail to source /dev/null (special files 2657 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2658 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2659 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1877 2660 $as_echo "$as_me: loading cache $cache_file" >&6;} 1878 2661 case $cache_file in … … 1882 2665 fi 1883 2666 else 1884 { $as_echo "$as_me:$ LINENO: creating cache $cache_file" >&52667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1885 2668 $as_echo "$as_me: creating cache $cache_file" >&6;} 1886 2669 >$cache_file … … 1897 2680 case $ac_old_set,$ac_new_set in 1898 2681 set,) 1899 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52682 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1900 2683 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1901 2684 ac_cache_corrupted=: ;; 1902 2685 ,set) 1903 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was not set in the previous run" >&52686 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1904 2687 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1905 2688 ac_cache_corrupted=: ;; … … 1911 2694 ac_new_val_w=`echo x $ac_new_val` 1912 2695 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1913 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' has changed since the previous run:" >&52696 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1914 2697 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1915 2698 ac_cache_corrupted=: 1916 2699 else 1917 { $as_echo "$as_me:$ LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52700 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1918 2701 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1919 2702 eval $ac_var=\$ac_old_val 1920 2703 fi 1921 { $as_echo "$as_me:$ LINENO: former value: \`$ac_old_val'" >&52704 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1922 2705 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1923 { $as_echo "$as_me:$ LINENO: current value: \`$ac_new_val'" >&52706 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1924 2707 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1925 2708 fi;; … … 1933 2716 case " $ac_configure_args " in 1934 2717 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1935 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2718 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1936 2719 esac 1937 2720 fi 1938 2721 done 1939 2722 if $ac_cache_corrupted; then 1940 { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52723 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1941 2724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1942 { $as_echo "$as_me:$ LINENO: error: changes in the environment can compromise the build" >&52725 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1943 2726 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1944 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1945 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1946 { (exit 1); exit 1; }; } 1947 fi 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 2727 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2728 fi 2729 ## -------------------- ## 2730 ## Main body of script. ## 2731 ## -------------------- ## 1972 2732 1973 2733 ac_ext=c … … 1995 2755 done 1996 2756 if test -z "$ac_aux_dir"; then 1997 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1998 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1999 { (exit 1); exit 1; }; } 2757 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 2000 2758 fi 2001 2759 … … 2025 2783 2026 2784 # Check whether --with-install was given. 2027 if test "${with_install+set}" = set; then 2785 if test "${with_install+set}" = set; then : 2028 2786 withval=$with_install; 2029 2787 else … … 2060 2818 # ./install, which can be erroneously created by make from ./install.sh. 2061 2819 # Reject install programs that cannot install multiple files. 2062 { $as_echo "$as_me:$ LINENO: checking for a BSD-compatible install" >&52820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2063 2821 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2064 2822 if test -z "$INSTALL"; then 2065 if test "${ac_cv_path_install+set}" = set; then2823 if ${ac_cv_path_install+:} false; then : 2066 2824 $as_echo_n "(cached) " >&6 2067 2825 else … … 2071 2829 IFS=$as_save_IFS 2072 2830 test -z "$as_dir" && as_dir=. 2073 # Account for people who put trailing slashes in PATH elements.2074 case $as_dir/ in 2075 ./ | .// | / cC/* | \2831 # Account for people who put trailing slashes in PATH elements. 2832 case $as_dir/ in #(( 2833 ./ | .// | /[cC]/* | \ 2076 2834 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2077 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2835 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2078 2836 /usr/ucb/* ) ;; 2079 2837 *) … … 2083 2841 for ac_prog in ginstall scoinst install; do 2084 2842 for ac_exec_ext in '' $ac_executable_extensions; do 2085 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2843 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2086 2844 if test $ac_prog = install && 2087 2845 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 2112 2870 esac 2113 2871 2114 done2872 done 2115 2873 IFS=$as_save_IFS 2116 2874 … … 2128 2886 fi 2129 2887 fi 2130 { $as_echo "$as_me:$ LINENO: result: $INSTALL" >&52888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2131 2889 $as_echo "$INSTALL" >&6; } 2132 2890 … … 2139 2897 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2140 2898 2141 # Find a good install program. We prefer a C program (faster),2142 # so one script is as good as another. But avoid the broken or2143 # incompatible versions:2144 # SysV /etc/install, /usr/sbin/install2145 # SunOS /usr/etc/install2146 # IRIX /sbin/install2147 # AIX /bin/install2148 # AmigaOS /C/install, which installs bootblocks on floppy discs2149 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag2150 # AFS /usr/afsws/bin/install, which mishandles nonexistent args2151 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"2152 # OS/2's system install, which has a completely different semantic2153 # ./install, which can be erroneously created by make from ./install.sh.2154 # Reject install programs that cannot install multiple files.2155 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&52156 $as_echo_n "checking for a BSD-compatible install... " >&6; }2157 if test -z "$INSTALL"; then2158 if test "${ac_cv_path_install+set}" = set; then2159 $as_echo_n "(cached) " >&62160 else2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2162 for as_dir in $PATH2163 do2164 IFS=$as_save_IFS2165 test -z "$as_dir" && as_dir=.2166 # Account for people who put trailing slashes in PATH elements.2167 case $as_dir/ in2168 ./ | .// | /cC/* | \2169 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \2170 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2171 /usr/ucb/* ) ;;2172 *)2173 # OSF1 and SCO ODT 3.0 have their own names for install.2174 # Don't use installbsd from OSF since it installs stuff as root2175 # by default.2176 for ac_prog in ginstall scoinst install; do2177 for ac_exec_ext in '' $ac_executable_extensions; do2178 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2179 if test $ac_prog = install &&2180 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2181 # AIX install. It has an incompatible calling convention.2182 :2183 elif test $ac_prog = install &&2184 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2185 # program-specific install script used by HP pwplus--don't use.2186 :2187 else2188 rm -rf conftest.one conftest.two conftest.dir2189 echo one > conftest.one2190 echo two > conftest.two2191 mkdir conftest.dir2192 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&2193 test -s conftest.one && test -s conftest.two &&2194 test -s conftest.dir/conftest.one &&2195 test -s conftest.dir/conftest.two2196 then2197 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2198 break 32199 fi2200 fi2201 fi2202 done2203 done2204 ;;2205 esac2206 2207 done2208 IFS=$as_save_IFS2209 2210 rm -rf conftest.one conftest.two conftest.dir2211 2212 fi2213 if test "${ac_cv_path_install+set}" = set; then2214 INSTALL=$ac_cv_path_install2215 else2216 # As a last resort, use the slow shell script. Don't cache a2217 # value for INSTALL within a source directory, because that will2218 # break other packages using the cache if that directory is2219 # removed, or if the value is a relative name.2220 INSTALL=$ac_install_sh2221 fi2222 fi2223 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&52224 $as_echo "$INSTALL" >&6; }2225 2226 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.2227 # It thinks the first close brace ends the variable substitution.2228 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'2229 2230 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'2231 2232 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'2233 2899 2234 2900 if test -n "$ac_tool_prefix"; then 2235 2901 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2236 2902 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2237 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2238 2904 $as_echo_n "checking for $ac_word... " >&6; } 2239 if test "${ac_cv_prog_RANLIB+set}" = set; then2905 if ${ac_cv_prog_RANLIB+:} false; then : 2240 2906 $as_echo_n "(cached) " >&6 2241 2907 else … … 2248 2914 IFS=$as_save_IFS 2249 2915 test -z "$as_dir" && as_dir=. 2250 for ac_exec_ext in '' $ac_executable_extensions; do2251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2916 for ac_exec_ext in '' $ac_executable_extensions; do 2917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2252 2918 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2253 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2254 2920 break 2 2255 2921 fi 2256 2922 done 2257 done2923 done 2258 2924 IFS=$as_save_IFS 2259 2925 … … 2262 2928 RANLIB=$ac_cv_prog_RANLIB 2263 2929 if test -n "$RANLIB"; then 2264 { $as_echo "$as_me:$ LINENO: result: $RANLIB" >&52930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 2265 2931 $as_echo "$RANLIB" >&6; } 2266 2932 else 2267 { $as_echo "$as_me:$ LINENO: result: no" >&52933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2268 2934 $as_echo "no" >&6; } 2269 2935 fi … … 2275 2941 # Extract the first word of "ranlib", so it can be a program name with args. 2276 2942 set dummy ranlib; ac_word=$2 2277 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2278 2944 $as_echo_n "checking for $ac_word... " >&6; } 2279 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then2945 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 2280 2946 $as_echo_n "(cached) " >&6 2281 2947 else … … 2288 2954 IFS=$as_save_IFS 2289 2955 test -z "$as_dir" && as_dir=. 2290 for ac_exec_ext in '' $ac_executable_extensions; do2291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2956 for ac_exec_ext in '' $ac_executable_extensions; do 2957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2292 2958 ac_cv_prog_ac_ct_RANLIB="ranlib" 2293 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2294 2960 break 2 2295 2961 fi 2296 2962 done 2297 done2963 done 2298 2964 IFS=$as_save_IFS 2299 2965 … … 2302 2968 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2303 2969 if test -n "$ac_ct_RANLIB"; then 2304 { $as_echo "$as_me:$ LINENO: result: $ac_ct_RANLIB" >&52970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 2305 2971 $as_echo "$ac_ct_RANLIB" >&6; } 2306 2972 else 2307 { $as_echo "$as_me:$ LINENO: result: no" >&52973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2308 2974 $as_echo "no" >&6; } 2309 2975 fi … … 2314 2980 case $cross_compiling:$ac_tool_warned in 2315 2981 yes:) 2316 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2317 2983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2318 2984 ac_tool_warned=yes ;; … … 2324 2990 fi 2325 2991 2326 { $as_echo "$as_me:$ LINENO: checking whether ln -s works" >&52992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 2327 2993 $as_echo_n "checking whether ln -s works... " >&6; } 2328 2994 LN_S=$as_ln_s 2329 2995 if test "$LN_S" = "ln -s"; then 2330 { $as_echo "$as_me:$ LINENO: result: yes" >&52996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2331 2997 $as_echo "yes" >&6; } 2332 2998 else 2333 { $as_echo "$as_me:$ LINENO: result: no, using $LN_S" >&52999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 2334 3000 $as_echo "no, using $LN_S" >&6; } 2335 3001 fi 2336 3002 2337 { $as_echo "$as_me:$ LINENO: checking for a thread-safe mkdir -p" >&53003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2338 3004 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2339 3005 if test -z "$MKDIR_P"; then 2340 if test "${ac_cv_path_mkdir+set}" = set; then3006 if ${ac_cv_path_mkdir+:} false; then : 2341 3007 $as_echo_n "(cached) " >&6 2342 3008 else … … 2346 3012 IFS=$as_save_IFS 2347 3013 test -z "$as_dir" && as_dir=. 2348 for ac_prog in mkdir gmkdir; do3014 for ac_prog in mkdir gmkdir; do 2349 3015 for ac_exec_ext in '' $ac_executable_extensions; do 2350 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }|| continue3016 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2351 3017 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2352 3018 'mkdir (GNU coreutils) '* | \ … … 2358 3024 done 2359 3025 done 2360 done3026 done 2361 3027 IFS=$as_save_IFS 2362 3028 2363 3029 fi 2364 3030 3031 test -d ./--version && rmdir ./--version 2365 3032 if test "${ac_cv_path_mkdir+set}" = set; then 2366 3033 MKDIR_P="$ac_cv_path_mkdir -p" … … 2370 3037 # break other packages using the cache if that directory is 2371 3038 # removed, or if the value is a relative name. 2372 test -d ./--version && rmdir ./--version2373 3039 MKDIR_P="$ac_install_sh -d" 2374 3040 fi 2375 3041 fi 2376 { $as_echo "$as_me:$ LINENO: result: $MKDIR_P" >&53042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2377 3043 $as_echo "$MKDIR_P" >&6; } 2378 3044 2379 { $as_echo "$as_me:$ LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&53045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2380 3046 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2381 3047 set x ${MAKE-make} 2382 3048 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2383 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then3049 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2384 3050 $as_echo_n "(cached) " >&6 2385 3051 else … … 2389 3055 @echo '@@@%%%=$(MAKE)=@@@%%%' 2390 3056 _ACEOF 2391 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.3057 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2392 3058 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2393 3059 *@@@%%%=?*=@@@%%%*) … … 2399 3065 fi 2400 3066 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2401 { $as_echo "$as_me:$ LINENO: result: yes" >&53067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2402 3068 $as_echo "yes" >&6; } 2403 3069 SET_MAKE= 2404 3070 else 2405 { $as_echo "$as_me:$ LINENO: result: no" >&53071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2406 3072 $as_echo "no" >&6; } 2407 3073 SET_MAKE="MAKE=${MAKE-make}" … … 2418 3084 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2419 3085 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2420 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2421 3087 $as_echo_n "checking for $ac_word... " >&6; } 2422 if test "${ac_cv_prog_CC+set}" = set; then3088 if ${ac_cv_prog_CC+:} false; then : 2423 3089 $as_echo_n "(cached) " >&6 2424 3090 else … … 2431 3097 IFS=$as_save_IFS 2432 3098 test -z "$as_dir" && as_dir=. 2433 for ac_exec_ext in '' $ac_executable_extensions; do2434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3099 for ac_exec_ext in '' $ac_executable_extensions; do 3100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2435 3101 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2436 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2437 3103 break 2 2438 3104 fi 2439 3105 done 2440 done3106 done 2441 3107 IFS=$as_save_IFS 2442 3108 … … 2445 3111 CC=$ac_cv_prog_CC 2446 3112 if test -n "$CC"; then 2447 { $as_echo "$as_me:$ LINENO: result: $CC" >&53113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2448 3114 $as_echo "$CC" >&6; } 2449 3115 else 2450 { $as_echo "$as_me:$ LINENO: result: no" >&53116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2451 3117 $as_echo "no" >&6; } 2452 3118 fi … … 2458 3124 # Extract the first word of "gcc", so it can be a program name with args. 2459 3125 set dummy gcc; ac_word=$2 2460 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2461 3127 $as_echo_n "checking for $ac_word... " >&6; } 2462 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then3128 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2463 3129 $as_echo_n "(cached) " >&6 2464 3130 else … … 2471 3137 IFS=$as_save_IFS 2472 3138 test -z "$as_dir" && as_dir=. 2473 for ac_exec_ext in '' $ac_executable_extensions; do2474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3139 for ac_exec_ext in '' $ac_executable_extensions; do 3140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2475 3141 ac_cv_prog_ac_ct_CC="gcc" 2476 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2477 3143 break 2 2478 3144 fi 2479 3145 done 2480 done3146 done 2481 3147 IFS=$as_save_IFS 2482 3148 … … 2485 3151 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2486 3152 if test -n "$ac_ct_CC"; then 2487 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&53153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2488 3154 $as_echo "$ac_ct_CC" >&6; } 2489 3155 else 2490 { $as_echo "$as_me:$ LINENO: result: no" >&53156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2491 3157 $as_echo "no" >&6; } 2492 3158 fi … … 2497 3163 case $cross_compiling:$ac_tool_warned in 2498 3164 yes:) 2499 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2500 3166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2501 3167 ac_tool_warned=yes ;; … … 2511 3177 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2512 3178 set dummy ${ac_tool_prefix}cc; ac_word=$2 2513 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2514 3180 $as_echo_n "checking for $ac_word... " >&6; } 2515 if test "${ac_cv_prog_CC+set}" = set; then3181 if ${ac_cv_prog_CC+:} false; then : 2516 3182 $as_echo_n "(cached) " >&6 2517 3183 else … … 2524 3190 IFS=$as_save_IFS 2525 3191 test -z "$as_dir" && as_dir=. 2526 for ac_exec_ext in '' $ac_executable_extensions; do2527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3192 for ac_exec_ext in '' $ac_executable_extensions; do 3193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2528 3194 ac_cv_prog_CC="${ac_tool_prefix}cc" 2529 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2530 3196 break 2 2531 3197 fi 2532 3198 done 2533 done3199 done 2534 3200 IFS=$as_save_IFS 2535 3201 … … 2538 3204 CC=$ac_cv_prog_CC 2539 3205 if test -n "$CC"; then 2540 { $as_echo "$as_me:$ LINENO: result: $CC" >&53206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2541 3207 $as_echo "$CC" >&6; } 2542 3208 else 2543 { $as_echo "$as_me:$ LINENO: result: no" >&53209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2544 3210 $as_echo "no" >&6; } 2545 3211 fi … … 2551 3217 # Extract the first word of "cc", so it can be a program name with args. 2552 3218 set dummy cc; ac_word=$2 2553 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2554 3220 $as_echo_n "checking for $ac_word... " >&6; } 2555 if test "${ac_cv_prog_CC+set}" = set; then3221 if ${ac_cv_prog_CC+:} false; then : 2556 3222 $as_echo_n "(cached) " >&6 2557 3223 else … … 2565 3231 IFS=$as_save_IFS 2566 3232 test -z "$as_dir" && as_dir=. 2567 for ac_exec_ext in '' $ac_executable_extensions; do2568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3233 for ac_exec_ext in '' $ac_executable_extensions; do 3234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2569 3235 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2570 3236 ac_prog_rejected=yes … … 2572 3238 fi 2573 3239 ac_cv_prog_CC="cc" 2574 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2575 3241 break 2 2576 3242 fi 2577 3243 done 2578 done3244 done 2579 3245 IFS=$as_save_IFS 2580 3246 … … 2595 3261 CC=$ac_cv_prog_CC 2596 3262 if test -n "$CC"; then 2597 { $as_echo "$as_me:$ LINENO: result: $CC" >&53263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2598 3264 $as_echo "$CC" >&6; } 2599 3265 else 2600 { $as_echo "$as_me:$ LINENO: result: no" >&53266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2601 3267 $as_echo "no" >&6; } 2602 3268 fi … … 2610 3276 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2611 3277 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2612 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2613 3279 $as_echo_n "checking for $ac_word... " >&6; } 2614 if test "${ac_cv_prog_CC+set}" = set; then3280 if ${ac_cv_prog_CC+:} false; then : 2615 3281 $as_echo_n "(cached) " >&6 2616 3282 else … … 2623 3289 IFS=$as_save_IFS 2624 3290 test -z "$as_dir" && as_dir=. 2625 for ac_exec_ext in '' $ac_executable_extensions; do2626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3291 for ac_exec_ext in '' $ac_executable_extensions; do 3292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2627 3293 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2628 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2629 3295 break 2 2630 3296 fi 2631 3297 done 2632 done3298 done 2633 3299 IFS=$as_save_IFS 2634 3300 … … 2637 3303 CC=$ac_cv_prog_CC 2638 3304 if test -n "$CC"; then 2639 { $as_echo "$as_me:$ LINENO: result: $CC" >&53305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2640 3306 $as_echo "$CC" >&6; } 2641 3307 else 2642 { $as_echo "$as_me:$ LINENO: result: no" >&53308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2643 3309 $as_echo "no" >&6; } 2644 3310 fi … … 2654 3320 # Extract the first word of "$ac_prog", so it can be a program name with args. 2655 3321 set dummy $ac_prog; ac_word=$2 2656 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2657 3323 $as_echo_n "checking for $ac_word... " >&6; } 2658 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then3324 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2659 3325 $as_echo_n "(cached) " >&6 2660 3326 else … … 2667 3333 IFS=$as_save_IFS 2668 3334 test -z "$as_dir" && as_dir=. 2669 for ac_exec_ext in '' $ac_executable_extensions; do2670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3335 for ac_exec_ext in '' $ac_executable_extensions; do 3336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2671 3337 ac_cv_prog_ac_ct_CC="$ac_prog" 2672 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2673 3339 break 2 2674 3340 fi 2675 3341 done 2676 done3342 done 2677 3343 IFS=$as_save_IFS 2678 3344 … … 2681 3347 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2682 3348 if test -n "$ac_ct_CC"; then 2683 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&53349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2684 3350 $as_echo "$ac_ct_CC" >&6; } 2685 3351 else 2686 { $as_echo "$as_me:$ LINENO: result: no" >&53352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2687 3353 $as_echo "no" >&6; } 2688 3354 fi … … 2697 3363 case $cross_compiling:$ac_tool_warned in 2698 3364 yes:) 2699 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2700 3366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2701 3367 ac_tool_warned=yes ;; … … 2708 3374 2709 3375 2710 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53376 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2711 3377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2712 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2713 See \`config.log' for more details." >&5 2714 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2715 See \`config.log' for more details." >&2;} 2716 { (exit 1); exit 1; }; }; } 3378 as_fn_error $? "no acceptable C compiler found in \$PATH 3379 See \`config.log' for more details" "$LINENO" 5; } 2717 3380 2718 3381 # Provide some information about the compiler. 2719 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&53382 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2720 3383 set X $ac_compile 2721 3384 ac_compiler=$2 2722 { (ac_try="$ac_compiler --version >&5" 3385 for ac_option in --version -v -V -qversion; do 3386 { { ac_try="$ac_compiler $ac_option >&5" 2723 3387 case "(($ac_try" in 2724 3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2725 3389 *) ac_try_echo=$ac_try;; 2726 3390 esac 2727 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2728 $as_echo "$ac_try_echo" )>&52729 (eval "$ac_compiler --version >&5") 2>&53391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3392 $as_echo "$ac_try_echo"; } >&5 3393 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2730 3394 ac_status=$? 2731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2732 (exit $ac_status); } 2733 { (ac_try="$ac_compiler -v >&5" 2734 case "(($ac_try" in 2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2736 *) ac_try_echo=$ac_try;; 2737 esac 2738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2739 $as_echo "$ac_try_echo") >&5 2740 (eval "$ac_compiler -v >&5") 2>&5 2741 ac_status=$? 2742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2743 (exit $ac_status); } 2744 { (ac_try="$ac_compiler -V >&5" 2745 case "(($ac_try" in 2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2747 *) ac_try_echo=$ac_try;; 2748 esac 2749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2750 $as_echo "$ac_try_echo") >&5 2751 (eval "$ac_compiler -V >&5") 2>&5 2752 ac_status=$? 2753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2754 (exit $ac_status); } 2755 2756 cat >conftest.$ac_ext <<_ACEOF 2757 /* confdefs.h. */ 2758 _ACEOF 2759 cat confdefs.h >>conftest.$ac_ext 2760 cat >>conftest.$ac_ext <<_ACEOF 3395 if test -s conftest.err; then 3396 sed '10a\ 3397 ... rest of stderr output deleted ... 3398 10q' conftest.err >conftest.er1 3399 cat conftest.er1 >&5 3400 fi 3401 rm -f conftest.er1 conftest.err 3402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3403 test $ac_status = 0; } 3404 done 3405 3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2761 3407 /* end confdefs.h. */ 2762 3408 … … 2774 3420 # It will help us diagnose broken compilers, and finding out an intuition 2775 3421 # of exeext. 2776 { $as_echo "$as_me:$ LINENO: checking for C compiler default output file name" >&52777 $as_echo_n "checking for C compiler default output file name... " >&6; }3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3423 $as_echo_n "checking whether the C compiler works... " >&6; } 2778 3424 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2779 3425 … … 2791 3437 rm -f $ac_rmfiles 2792 3438 2793 if { (ac_try="$ac_link_default"3439 if { { ac_try="$ac_link_default" 2794 3440 case "(($ac_try" in 2795 3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2796 3442 *) ac_try_echo=$ac_try;; 2797 3443 esac 2798 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2799 $as_echo "$ac_try_echo" )>&53444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3445 $as_echo "$ac_try_echo"; } >&5 2800 3446 (eval "$ac_link_default") 2>&5 2801 3447 ac_status=$? 2802 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52803 (exit $ac_status); }; then3448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3449 test $ac_status = 0; }; then : 2804 3450 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2805 3451 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2818 3464 break;; 2819 3465 *.* ) 2820 3466 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2821 3467 then :; else 2822 3468 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2837 3483 ac_file='' 2838 3484 fi 2839 2840 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3485 if test -z "$ac_file"; then : 3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3487 $as_echo "no" >&6; } 3488 $as_echo "$as_me: failed program was:" >&5 3489 sed 's/^/| /' conftest.$ac_ext >&5 3490 3491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3493 as_fn_error 77 "C compiler cannot create executables 3494 See \`config.log' for more details" "$LINENO" 5; } 3495 else 3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3497 $as_echo "yes" >&6; } 3498 fi 3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3500 $as_echo_n "checking for C compiler default output file name... " >&6; } 3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2841 3502 $as_echo "$ac_file" >&6; } 2842 if test -z "$ac_file"; then2843 $as_echo "$as_me: failed program was:" >&52844 sed 's/^/| /' conftest.$ac_ext >&52845 2846 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2848 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables2849 See \`config.log' for more details." >&52850 $as_echo "$as_me: error: C compiler cannot create executables2851 See \`config.log' for more details." >&2;}2852 { (exit 77); exit 77; }; }; }2853 fi2854 2855 3503 ac_exeext=$ac_cv_exeext 2856 2857 # Check that the compiler produces executables we can run. If not, either2858 # the compiler is broken, or we cross compile.2859 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&52860 $as_echo_n "checking whether the C compiler works... " >&6; }2861 # FIXME: These cross compiler hacks should be removed for Autoconf 3.02862 # If not cross compiling, check that we can run a simple program.2863 if test "$cross_compiling" != yes; then2864 if { ac_try='./$ac_file'2865 { (case "(($ac_try" in2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2867 *) ac_try_echo=$ac_try;;2868 esac2869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""2870 $as_echo "$ac_try_echo") >&52871 (eval "$ac_try") 2>&52872 ac_status=$?2873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52874 (exit $ac_status); }; }; then2875 cross_compiling=no2876 else2877 if test "$cross_compiling" = maybe; then2878 cross_compiling=yes2879 else2880 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2882 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.2883 If you meant to cross compile, use \`--host'.2884 See \`config.log' for more details." >&52885 $as_echo "$as_me: error: cannot run C compiled programs.2886 If you meant to cross compile, use \`--host'.2887 See \`config.log' for more details." >&2;}2888 { (exit 1); exit 1; }; }; }2889 fi2890 fi2891 fi2892 { $as_echo "$as_me:$LINENO: result: yes" >&52893 $as_echo "yes" >&6; }2894 3504 2895 3505 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2896 3506 ac_clean_files=$ac_clean_files_save 2897 # Check that the compiler produces executables we can run. If not, either 2898 # the compiler is broken, or we cross compile. 2899 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2900 $as_echo_n "checking whether we are cross compiling... " >&6; } 2901 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2902 $as_echo "$cross_compiling" >&6; } 2903 2904 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2905 3508 $as_echo_n "checking for suffix of executables... " >&6; } 2906 if { (ac_try="$ac_link"3509 if { { ac_try="$ac_link" 2907 3510 case "(($ac_try" in 2908 3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2909 3512 *) ac_try_echo=$ac_try;; 2910 3513 esac 2911 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2912 $as_echo "$ac_try_echo" )>&53514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3515 $as_echo "$ac_try_echo"; } >&5 2913 3516 (eval "$ac_link") 2>&5 2914 3517 ac_status=$? 2915 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52916 (exit $ac_status); }; then3518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3519 test $ac_status = 0; }; then : 2917 3520 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2918 3521 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2929 3532 done 2930 3533 else 2931 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2932 3535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2933 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2934 See \`config.log' for more details." >&5 2935 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2936 See \`config.log' for more details." >&2;} 2937 { (exit 1); exit 1; }; }; } 2938 fi 2939 2940 rm -f conftest$ac_cv_exeext 2941 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3536 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3537 See \`config.log' for more details" "$LINENO" 5; } 3538 fi 3539 rm -f conftest conftest$ac_cv_exeext 3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2942 3541 $as_echo "$ac_cv_exeext" >&6; } 2943 3542 … … 2945 3544 EXEEXT=$ac_cv_exeext 2946 3545 ac_exeext=$EXEEXT 2947 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2948 $as_echo_n "checking for suffix of object files... " >&6; } 2949 if test "${ac_cv_objext+set}" = set; then 2950 $as_echo_n "(cached) " >&6 2951 else 2952 cat >conftest.$ac_ext <<_ACEOF 2953 /* confdefs.h. */ 2954 _ACEOF 2955 cat confdefs.h >>conftest.$ac_ext 2956 cat >>conftest.$ac_ext <<_ACEOF 3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2957 3547 /* end confdefs.h. */ 2958 3548 #include <stdio.h> 2959 3549 int 2960 3550 main () 2961 3551 { 3552 FILE *f = fopen ("conftest.out", "w"); 3553 return ferror (f) || fclose (f) != 0; 2962 3554 2963 3555 ; … … 2965 3557 } 2966 3558 _ACEOF 2967 rm -f conftest.o conftest.obj 2968 if { (ac_try="$ac_compile" 3559 ac_clean_files="$ac_clean_files conftest.out" 3560 # Check that the compiler produces executables we can run. If not, either 3561 # the compiler is broken, or we cross compile. 3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3563 $as_echo_n "checking whether we are cross compiling... " >&6; } 3564 if test "$cross_compiling" != yes; then 3565 { { ac_try="$ac_link" 2969 3566 case "(($ac_try" in 2970 3567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2971 3568 *) ac_try_echo=$ac_try;; 2972 3569 esac 2973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2974 $as_echo "$ac_try_echo") >&5 3570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3571 $as_echo "$ac_try_echo"; } >&5 3572 (eval "$ac_link") 2>&5 3573 ac_status=$? 3574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3575 test $ac_status = 0; } 3576 if { ac_try='./conftest$ac_cv_exeext' 3577 { { case "(($ac_try" in 3578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3579 *) ac_try_echo=$ac_try;; 3580 esac 3581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3582 $as_echo "$ac_try_echo"; } >&5 3583 (eval "$ac_try") 2>&5 3584 ac_status=$? 3585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3586 test $ac_status = 0; }; }; then 3587 cross_compiling=no 3588 else 3589 if test "$cross_compiling" = maybe; then 3590 cross_compiling=yes 3591 else 3592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3594 as_fn_error $? "cannot run C compiled programs. 3595 If you meant to cross compile, use \`--host'. 3596 See \`config.log' for more details" "$LINENO" 5; } 3597 fi 3598 fi 3599 fi 3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3601 $as_echo "$cross_compiling" >&6; } 3602 3603 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3604 ac_clean_files=$ac_clean_files_save 3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3606 $as_echo_n "checking for suffix of object files... " >&6; } 3607 if ${ac_cv_objext+:} false; then : 3608 $as_echo_n "(cached) " >&6 3609 else 3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3611 /* end confdefs.h. */ 3612 3613 int 3614 main () 3615 { 3616 3617 ; 3618 return 0; 3619 } 3620 _ACEOF 3621 rm -f conftest.o conftest.obj 3622 if { { ac_try="$ac_compile" 3623 case "(($ac_try" in 3624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3625 *) ac_try_echo=$ac_try;; 3626 esac 3627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3628 $as_echo "$ac_try_echo"; } >&5 2975 3629 (eval "$ac_compile") 2>&5 2976 3630 ac_status=$? 2977 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52978 (exit $ac_status); }; then3631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3632 test $ac_status = 0; }; then : 2979 3633 for ac_file in conftest.o conftest.obj conftest.*; do 2980 3634 test -f "$ac_file" || continue; … … 2989 3643 sed 's/^/| /' conftest.$ac_ext >&5 2990 3644 2991 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2992 3646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2993 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2994 See \`config.log' for more details." >&5 2995 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2996 See \`config.log' for more details." >&2;} 2997 { (exit 1); exit 1; }; }; } 2998 fi 2999 3647 as_fn_error $? "cannot compute suffix of object files: cannot compile 3648 See \`config.log' for more details" "$LINENO" 5; } 3649 fi 3000 3650 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3001 3651 fi 3002 { $as_echo "$as_me:$ LINENO: result: $ac_cv_objext" >&53652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3003 3653 $as_echo "$ac_cv_objext" >&6; } 3004 3654 OBJEXT=$ac_cv_objext 3005 3655 ac_objext=$OBJEXT 3006 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU C compiler" >&53656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3007 3657 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3008 if test "${ac_cv_c_compiler_gnu+set}" = set; then3658 if ${ac_cv_c_compiler_gnu+:} false; then : 3009 3659 $as_echo_n "(cached) " >&6 3010 3660 else 3011 cat >conftest.$ac_ext <<_ACEOF 3012 /* confdefs.h. */ 3013 _ACEOF 3014 cat confdefs.h >>conftest.$ac_ext 3015 cat >>conftest.$ac_ext <<_ACEOF 3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3016 3662 /* end confdefs.h. */ 3017 3663 … … 3027 3673 } 3028 3674 _ACEOF 3029 rm -f conftest.$ac_objext 3030 if { (ac_try="$ac_compile" 3031 case "(($ac_try" in 3032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3033 *) ac_try_echo=$ac_try;; 3034 esac 3035 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3036 $as_echo "$ac_try_echo") >&5 3037 (eval "$ac_compile") 2>conftest.er1 3038 ac_status=$? 3039 grep -v '^ *+' conftest.er1 >conftest.err 3040 rm -f conftest.er1 3041 cat conftest.err >&5 3042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3043 (exit $ac_status); } && { 3044 test -z "$ac_c_werror_flag" || 3045 test ! -s conftest.err 3046 } && test -s conftest.$ac_objext; then 3675 if ac_fn_c_try_compile "$LINENO"; then : 3047 3676 ac_compiler_gnu=yes 3048 3677 else 3049 $as_echo "$as_me: failed program was:" >&5 3050 sed 's/^/| /' conftest.$ac_ext >&5 3051 3052 ac_compiler_gnu=no 3053 fi 3054 3678 ac_compiler_gnu=no 3679 fi 3055 3680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3056 3681 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3057 3682 3058 3683 fi 3059 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&53684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3060 3685 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3061 3686 if test $ac_compiler_gnu = yes; then … … 3066 3691 ac_test_CFLAGS=${CFLAGS+set} 3067 3692 ac_save_CFLAGS=$CFLAGS 3068 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&53693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3069 3694 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3070 if test "${ac_cv_prog_cc_g+set}" = set; then3695 if ${ac_cv_prog_cc_g+:} false; then : 3071 3696 $as_echo_n "(cached) " >&6 3072 3697 else … … 3075 3700 ac_cv_prog_cc_g=no 3076 3701 CFLAGS="-g" 3077 cat >conftest.$ac_ext <<_ACEOF 3078 /* confdefs.h. */ 3079 _ACEOF 3080 cat confdefs.h >>conftest.$ac_ext 3081 cat >>conftest.$ac_ext <<_ACEOF 3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3082 3703 /* end confdefs.h. */ 3083 3704 … … 3090 3711 } 3091 3712 _ACEOF 3092 rm -f conftest.$ac_objext 3093 if { (ac_try="$ac_compile" 3094 case "(($ac_try" in 3095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3096 *) ac_try_echo=$ac_try;; 3097 esac 3098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3099 $as_echo "$ac_try_echo") >&5 3100 (eval "$ac_compile") 2>conftest.er1 3101 ac_status=$? 3102 grep -v '^ *+' conftest.er1 >conftest.err 3103 rm -f conftest.er1 3104 cat conftest.err >&5 3105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3106 (exit $ac_status); } && { 3107 test -z "$ac_c_werror_flag" || 3108 test ! -s conftest.err 3109 } && test -s conftest.$ac_objext; then 3713 if ac_fn_c_try_compile "$LINENO"; then : 3110 3714 ac_cv_prog_cc_g=yes 3111 3715 else 3112 $as_echo "$as_me: failed program was:" >&5 3113 sed 's/^/| /' conftest.$ac_ext >&5 3114 3115 CFLAGS="" 3116 cat >conftest.$ac_ext <<_ACEOF 3117 /* confdefs.h. */ 3118 _ACEOF 3119 cat confdefs.h >>conftest.$ac_ext 3120 cat >>conftest.$ac_ext <<_ACEOF 3716 CFLAGS="" 3717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3121 3718 /* end confdefs.h. */ 3122 3719 … … 3129 3726 } 3130 3727 _ACEOF 3131 rm -f conftest.$ac_objext 3132 if { (ac_try="$ac_compile" 3133 case "(($ac_try" in 3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3135 *) ac_try_echo=$ac_try;; 3136 esac 3137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3138 $as_echo "$ac_try_echo") >&5 3139 (eval "$ac_compile") 2>conftest.er1 3140 ac_status=$? 3141 grep -v '^ *+' conftest.er1 >conftest.err 3142 rm -f conftest.er1 3143 cat conftest.err >&5 3144 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3145 (exit $ac_status); } && { 3146 test -z "$ac_c_werror_flag" || 3147 test ! -s conftest.err 3148 } && test -s conftest.$ac_objext; then 3149 : 3150 else 3151 $as_echo "$as_me: failed program was:" >&5 3152 sed 's/^/| /' conftest.$ac_ext >&5 3153 3154 ac_c_werror_flag=$ac_save_c_werror_flag 3728 if ac_fn_c_try_compile "$LINENO"; then : 3729 3730 else 3731 ac_c_werror_flag=$ac_save_c_werror_flag 3155 3732 CFLAGS="-g" 3156 cat >conftest.$ac_ext <<_ACEOF 3157 /* confdefs.h. */ 3158 _ACEOF 3159 cat confdefs.h >>conftest.$ac_ext 3160 cat >>conftest.$ac_ext <<_ACEOF 3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3161 3734 /* end confdefs.h. */ 3162 3735 … … 3169 3742 } 3170 3743 _ACEOF 3171 rm -f conftest.$ac_objext 3172 if { (ac_try="$ac_compile" 3173 case "(($ac_try" in 3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3175 *) ac_try_echo=$ac_try;; 3176 esac 3177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3178 $as_echo "$ac_try_echo") >&5 3179 (eval "$ac_compile") 2>conftest.er1 3180 ac_status=$? 3181 grep -v '^ *+' conftest.er1 >conftest.err 3182 rm -f conftest.er1 3183 cat conftest.err >&5 3184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3185 (exit $ac_status); } && { 3186 test -z "$ac_c_werror_flag" || 3187 test ! -s conftest.err 3188 } && test -s conftest.$ac_objext; then 3744 if ac_fn_c_try_compile "$LINENO"; then : 3189 3745 ac_cv_prog_cc_g=yes 3190 else 3191 $as_echo "$as_me: failed program was:" >&5 3192 sed 's/^/| /' conftest.$ac_ext >&5 3193 3194 3195 fi 3196 3746 fi 3197 3747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3198 3748 fi 3199 3200 3749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3201 3750 fi 3202 3203 3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3204 3752 ac_c_werror_flag=$ac_save_c_werror_flag 3205 3753 fi 3206 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&53754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3207 3755 $as_echo "$ac_cv_prog_cc_g" >&6; } 3208 3756 if test "$ac_test_CFLAGS" = set; then … … 3221 3769 fi 3222 3770 fi 3223 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&53771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3224 3772 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3225 if test "${ac_cv_prog_cc_c89+set}" = set; then3773 if ${ac_cv_prog_cc_c89+:} false; then : 3226 3774 $as_echo_n "(cached) " >&6 3227 3775 else 3228 3776 ac_cv_prog_cc_c89=no 3229 3777 ac_save_CC=$CC 3230 cat >conftest.$ac_ext <<_ACEOF 3231 /* confdefs.h. */ 3232 _ACEOF 3233 cat confdefs.h >>conftest.$ac_ext 3234 cat >>conftest.$ac_ext <<_ACEOF 3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3235 3779 /* end confdefs.h. */ 3236 3780 #include <stdarg.h> 3237 3781 #include <stdio.h> 3238 #include <sys/types.h> 3239 #include <sys/stat.h> 3782 struct stat; 3240 3783 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3241 3784 struct buf { int x; }; … … 3289 3832 do 3290 3833 CC="$ac_save_CC $ac_arg" 3291 rm -f conftest.$ac_objext 3292 if { (ac_try="$ac_compile" 3293 case "(($ac_try" in 3294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3295 *) ac_try_echo=$ac_try;; 3296 esac 3297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3298 $as_echo "$ac_try_echo") >&5 3299 (eval "$ac_compile") 2>conftest.er1 3300 ac_status=$? 3301 grep -v '^ *+' conftest.er1 >conftest.err 3302 rm -f conftest.er1 3303 cat conftest.err >&5 3304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3305 (exit $ac_status); } && { 3306 test -z "$ac_c_werror_flag" || 3307 test ! -s conftest.err 3308 } && test -s conftest.$ac_objext; then 3834 if ac_fn_c_try_compile "$LINENO"; then : 3309 3835 ac_cv_prog_cc_c89=$ac_arg 3310 else 3311 $as_echo "$as_me: failed program was:" >&5 3312 sed 's/^/| /' conftest.$ac_ext >&5 3313 3314 3315 fi 3316 3836 fi 3317 3837 rm -f core conftest.err conftest.$ac_objext 3318 3838 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3325 3845 case "x$ac_cv_prog_cc_c89" in 3326 3846 x) 3327 { $as_echo "$as_me:$ LINENO: result: none needed" >&53847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3328 3848 $as_echo "none needed" >&6; } ;; 3329 3849 xno) 3330 { $as_echo "$as_me:$ LINENO: result: unsupported" >&53850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3331 3851 $as_echo "unsupported" >&6; } ;; 3332 3852 *) 3333 3853 CC="$CC $ac_cv_prog_cc_c89" 3334 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&53854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3335 3855 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3336 3856 esac 3337 3857 if test "x$ac_cv_prog_cc_c89" != xno; then : 3858 3859 fi 3338 3860 3339 3861 ac_ext=c … … 3357 3879 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3358 3880 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3359 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3360 3882 $as_echo_n "checking for $ac_word... " >&6; } 3361 if test "${ac_cv_prog_CXX+set}" = set; then3883 if ${ac_cv_prog_CXX+:} false; then : 3362 3884 $as_echo_n "(cached) " >&6 3363 3885 else … … 3370 3892 IFS=$as_save_IFS 3371 3893 test -z "$as_dir" && as_dir=. 3372 for ac_exec_ext in '' $ac_executable_extensions; do3373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3894 for ac_exec_ext in '' $ac_executable_extensions; do 3895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3374 3896 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3375 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3376 3898 break 2 3377 3899 fi 3378 3900 done 3379 done3901 done 3380 3902 IFS=$as_save_IFS 3381 3903 … … 3384 3906 CXX=$ac_cv_prog_CXX 3385 3907 if test -n "$CXX"; then 3386 { $as_echo "$as_me:$ LINENO: result: $CXX" >&53908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3387 3909 $as_echo "$CXX" >&6; } 3388 3910 else 3389 { $as_echo "$as_me:$ LINENO: result: no" >&53911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3390 3912 $as_echo "no" >&6; } 3391 3913 fi … … 3401 3923 # Extract the first word of "$ac_prog", so it can be a program name with args. 3402 3924 set dummy $ac_prog; ac_word=$2 3403 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3404 3926 $as_echo_n "checking for $ac_word... " >&6; } 3405 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then3927 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3406 3928 $as_echo_n "(cached) " >&6 3407 3929 else … … 3414 3936 IFS=$as_save_IFS 3415 3937 test -z "$as_dir" && as_dir=. 3416 for ac_exec_ext in '' $ac_executable_extensions; do3417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3938 for ac_exec_ext in '' $ac_executable_extensions; do 3939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3418 3940 ac_cv_prog_ac_ct_CXX="$ac_prog" 3419 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3420 3942 break 2 3421 3943 fi 3422 3944 done 3423 done3945 done 3424 3946 IFS=$as_save_IFS 3425 3947 … … 3428 3950 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3429 3951 if test -n "$ac_ct_CXX"; then 3430 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&53952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3431 3953 $as_echo "$ac_ct_CXX" >&6; } 3432 3954 else 3433 { $as_echo "$as_me:$ LINENO: result: no" >&53955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3434 3956 $as_echo "no" >&6; } 3435 3957 fi … … 3444 3966 case $cross_compiling:$ac_tool_warned in 3445 3967 yes:) 3446 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3447 3969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3448 3970 ac_tool_warned=yes ;; … … 3455 3977 fi 3456 3978 # Provide some information about the compiler. 3457 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&53979 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3458 3980 set X $ac_compile 3459 3981 ac_compiler=$2 3460 { (ac_try="$ac_compiler --version >&5" 3982 for ac_option in --version -v -V -qversion; do 3983 { { ac_try="$ac_compiler $ac_option >&5" 3461 3984 case "(($ac_try" in 3462 3985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3463 3986 *) ac_try_echo=$ac_try;; 3464 3987 esac 3465 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""3466 $as_echo "$ac_try_echo" )>&53467 (eval "$ac_compiler --version >&5") 2>&53988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3989 $as_echo "$ac_try_echo"; } >&5 3990 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3468 3991 ac_status=$? 3469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3470 (exit $ac_status); } 3471 { (ac_try="$ac_compiler -v >&5" 3472 case "(($ac_try" in 3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3474 *) ac_try_echo=$ac_try;; 3475 esac 3476 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3477 $as_echo "$ac_try_echo") >&5 3478 (eval "$ac_compiler -v >&5") 2>&5 3479 ac_status=$? 3480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3481 (exit $ac_status); } 3482 { (ac_try="$ac_compiler -V >&5" 3483 case "(($ac_try" in 3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3485 *) ac_try_echo=$ac_try;; 3486 esac 3487 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3488 $as_echo "$ac_try_echo") >&5 3489 (eval "$ac_compiler -V >&5") 2>&5 3490 ac_status=$? 3491 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3492 (exit $ac_status); } 3493 3494 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3992 if test -s conftest.err; then 3993 sed '10a\ 3994 ... rest of stderr output deleted ... 3995 10q' conftest.err >conftest.er1 3996 cat conftest.er1 >&5 3997 fi 3998 rm -f conftest.er1 conftest.err 3999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4000 test $ac_status = 0; } 4001 done 4002 4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3495 4004 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3496 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then4005 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3497 4006 $as_echo_n "(cached) " >&6 3498 4007 else 3499 cat >conftest.$ac_ext <<_ACEOF 3500 /* confdefs.h. */ 3501 _ACEOF 3502 cat confdefs.h >>conftest.$ac_ext 3503 cat >>conftest.$ac_ext <<_ACEOF 4008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3504 4009 /* end confdefs.h. */ 3505 4010 … … 3515 4020 } 3516 4021 _ACEOF 3517 rm -f conftest.$ac_objext 3518 if { (ac_try="$ac_compile" 3519 case "(($ac_try" in 3520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3521 *) ac_try_echo=$ac_try;; 3522 esac 3523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3524 $as_echo "$ac_try_echo") >&5 3525 (eval "$ac_compile") 2>conftest.er1 3526 ac_status=$? 3527 grep -v '^ *+' conftest.er1 >conftest.err 3528 rm -f conftest.er1 3529 cat conftest.err >&5 3530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3531 (exit $ac_status); } && { 3532 test -z "$ac_cxx_werror_flag" || 3533 test ! -s conftest.err 3534 } && test -s conftest.$ac_objext; then 4022 if ac_fn_cxx_try_compile "$LINENO"; then : 3535 4023 ac_compiler_gnu=yes 3536 4024 else 3537 $as_echo "$as_me: failed program was:" >&5 3538 sed 's/^/| /' conftest.$ac_ext >&5 3539 3540 ac_compiler_gnu=no 3541 fi 3542 4025 ac_compiler_gnu=no 4026 fi 3543 4027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3544 4028 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3545 4029 3546 4030 fi 3547 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&54031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3548 4032 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3549 4033 if test $ac_compiler_gnu = yes; then … … 3554 4038 ac_test_CXXFLAGS=${CXXFLAGS+set} 3555 4039 ac_save_CXXFLAGS=$CXXFLAGS 3556 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&54040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3557 4041 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3558 if test "${ac_cv_prog_cxx_g+set}" = set; then4042 if ${ac_cv_prog_cxx_g+:} false; then : 3559 4043 $as_echo_n "(cached) " >&6 3560 4044 else … … 3563 4047 ac_cv_prog_cxx_g=no 3564 4048 CXXFLAGS="-g" 3565 cat >conftest.$ac_ext <<_ACEOF 3566 /* confdefs.h. */ 3567 _ACEOF 3568 cat confdefs.h >>conftest.$ac_ext 3569 cat >>conftest.$ac_ext <<_ACEOF 4049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3570 4050 /* end confdefs.h. */ 3571 4051 … … 3578 4058 } 3579 4059 _ACEOF 3580 rm -f conftest.$ac_objext 3581 if { (ac_try="$ac_compile" 3582 case "(($ac_try" in 3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3584 *) ac_try_echo=$ac_try;; 3585 esac 3586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3587 $as_echo "$ac_try_echo") >&5 3588 (eval "$ac_compile") 2>conftest.er1 3589 ac_status=$? 3590 grep -v '^ *+' conftest.er1 >conftest.err 3591 rm -f conftest.er1 3592 cat conftest.err >&5 3593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3594 (exit $ac_status); } && { 3595 test -z "$ac_cxx_werror_flag" || 3596 test ! -s conftest.err 3597 } && test -s conftest.$ac_objext; then 4060 if ac_fn_cxx_try_compile "$LINENO"; then : 3598 4061 ac_cv_prog_cxx_g=yes 3599 4062 else 3600 $as_echo "$as_me: failed program was:" >&5 3601 sed 's/^/| /' conftest.$ac_ext >&5 3602 3603 CXXFLAGS="" 3604 cat >conftest.$ac_ext <<_ACEOF 3605 /* confdefs.h. */ 3606 _ACEOF 3607 cat confdefs.h >>conftest.$ac_ext 3608 cat >>conftest.$ac_ext <<_ACEOF 4063 CXXFLAGS="" 4064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3609 4065 /* end confdefs.h. */ 3610 4066 … … 3617 4073 } 3618 4074 _ACEOF 3619 rm -f conftest.$ac_objext 3620 if { (ac_try="$ac_compile" 3621 case "(($ac_try" in 3622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3623 *) ac_try_echo=$ac_try;; 3624 esac 3625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3626 $as_echo "$ac_try_echo") >&5 3627 (eval "$ac_compile") 2>conftest.er1 3628 ac_status=$? 3629 grep -v '^ *+' conftest.er1 >conftest.err 3630 rm -f conftest.er1 3631 cat conftest.err >&5 3632 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3633 (exit $ac_status); } && { 3634 test -z "$ac_cxx_werror_flag" || 3635 test ! -s conftest.err 3636 } && test -s conftest.$ac_objext; then 3637 : 3638 else 3639 $as_echo "$as_me: failed program was:" >&5 3640 sed 's/^/| /' conftest.$ac_ext >&5 3641 3642 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4075 if ac_fn_cxx_try_compile "$LINENO"; then : 4076 4077 else 4078 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3643 4079 CXXFLAGS="-g" 3644 cat >conftest.$ac_ext <<_ACEOF 3645 /* confdefs.h. */ 3646 _ACEOF 3647 cat confdefs.h >>conftest.$ac_ext 3648 cat >>conftest.$ac_ext <<_ACEOF 4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3649 4081 /* end confdefs.h. */ 3650 4082 … … 3657 4089 } 3658 4090 _ACEOF 3659 rm -f conftest.$ac_objext 3660 if { (ac_try="$ac_compile" 3661 case "(($ac_try" in 3662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3663 *) ac_try_echo=$ac_try;; 3664 esac 3665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3666 $as_echo "$ac_try_echo") >&5 3667 (eval "$ac_compile") 2>conftest.er1 3668 ac_status=$? 3669 grep -v '^ *+' conftest.er1 >conftest.err 3670 rm -f conftest.er1 3671 cat conftest.err >&5 3672 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3673 (exit $ac_status); } && { 3674 test -z "$ac_cxx_werror_flag" || 3675 test ! -s conftest.err 3676 } && test -s conftest.$ac_objext; then 4091 if ac_fn_cxx_try_compile "$LINENO"; then : 3677 4092 ac_cv_prog_cxx_g=yes 3678 else 3679 $as_echo "$as_me: failed program was:" >&5 3680 sed 's/^/| /' conftest.$ac_ext >&5 3681 3682 3683 fi 3684 4093 fi 3685 4094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3686 4095 fi 3687 3688 4096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3689 4097 fi 3690 3691 4098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3692 4099 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3693 4100 fi 3694 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&54101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3695 4102 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3696 4103 if test "$ac_test_CXXFLAGS" = set; then … … 3725 4132 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3726 4133 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3727 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3728 4135 $as_echo_n "checking for $ac_word... " >&6; } 3729 if test "${ac_cv_prog_F77+set}" = set; then4136 if ${ac_cv_prog_F77+:} false; then : 3730 4137 $as_echo_n "(cached) " >&6 3731 4138 else … … 3738 4145 IFS=$as_save_IFS 3739 4146 test -z "$as_dir" && as_dir=. 3740 for ac_exec_ext in '' $ac_executable_extensions; do3741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4147 for ac_exec_ext in '' $ac_executable_extensions; do 4148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3742 4149 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 3743 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3744 4151 break 2 3745 4152 fi 3746 4153 done 3747 done4154 done 3748 4155 IFS=$as_save_IFS 3749 4156 … … 3752 4159 F77=$ac_cv_prog_F77 3753 4160 if test -n "$F77"; then 3754 { $as_echo "$as_me:$ LINENO: result: $F77" >&54161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 3755 4162 $as_echo "$F77" >&6; } 3756 4163 else 3757 { $as_echo "$as_me:$ LINENO: result: no" >&54164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3758 4165 $as_echo "no" >&6; } 3759 4166 fi … … 3769 4176 # Extract the first word of "$ac_prog", so it can be a program name with args. 3770 4177 set dummy $ac_prog; ac_word=$2 3771 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3772 4179 $as_echo_n "checking for $ac_word... " >&6; } 3773 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then4180 if ${ac_cv_prog_ac_ct_F77+:} false; then : 3774 4181 $as_echo_n "(cached) " >&6 3775 4182 else … … 3782 4189 IFS=$as_save_IFS 3783 4190 test -z "$as_dir" && as_dir=. 3784 for ac_exec_ext in '' $ac_executable_extensions; do3785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4191 for ac_exec_ext in '' $ac_executable_extensions; do 4192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3786 4193 ac_cv_prog_ac_ct_F77="$ac_prog" 3787 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3788 4195 break 2 3789 4196 fi 3790 4197 done 3791 done4198 done 3792 4199 IFS=$as_save_IFS 3793 4200 … … 3796 4203 ac_ct_F77=$ac_cv_prog_ac_ct_F77 3797 4204 if test -n "$ac_ct_F77"; then 3798 { $as_echo "$as_me:$ LINENO: result: $ac_ct_F77" >&54205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 3799 4206 $as_echo "$ac_ct_F77" >&6; } 3800 4207 else 3801 { $as_echo "$as_me:$ LINENO: result: no" >&54208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3802 4209 $as_echo "no" >&6; } 3803 4210 fi … … 3812 4219 case $cross_compiling:$ac_tool_warned in 3813 4220 yes:) 3814 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&54221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3815 4222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3816 4223 ac_tool_warned=yes ;; … … 3822 4229 3823 4230 # Provide some information about the compiler. 3824 $as_echo "$as_me:$ LINENO: checking for Fortran 77 compiler version" >&54231 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 3825 4232 set X $ac_compile 3826 4233 ac_compiler=$2 3827 { (ac_try="$ac_compiler --version >&5" 4234 for ac_option in --version -v -V -qversion; do 4235 { { ac_try="$ac_compiler $ac_option >&5" 3828 4236 case "(($ac_try" in 3829 4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3830 4238 *) ac_try_echo=$ac_try;; 3831 4239 esac 3832 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""3833 $as_echo "$ac_try_echo" )>&53834 (eval "$ac_compiler --version >&5") 2>&54240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4241 $as_echo "$ac_try_echo"; } >&5 4242 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3835 4243 ac_status=$? 3836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3837 (exit $ac_status); } 3838 { (ac_try="$ac_compiler -v >&5" 3839 case "(($ac_try" in 3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3841 *) ac_try_echo=$ac_try;; 3842 esac 3843 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3844 $as_echo "$ac_try_echo") >&5 3845 (eval "$ac_compiler -v >&5") 2>&5 3846 ac_status=$? 3847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3848 (exit $ac_status); } 3849 { (ac_try="$ac_compiler -V >&5" 3850 case "(($ac_try" in 3851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3852 *) ac_try_echo=$ac_try;; 3853 esac 3854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3855 $as_echo "$ac_try_echo") >&5 3856 (eval "$ac_compiler -V >&5") 2>&5 3857 ac_status=$? 3858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3859 (exit $ac_status); } 4244 if test -s conftest.err; then 4245 sed '10a\ 4246 ... rest of stderr output deleted ... 4247 10q' conftest.err >conftest.er1 4248 cat conftest.er1 >&5 4249 fi 4250 rm -f conftest.er1 conftest.err 4251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4252 test $ac_status = 0; } 4253 done 3860 4254 rm -f a.out 3861 4255 … … 3864 4258 ac_save_ext=$ac_ext 3865 4259 ac_ext=F 3866 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU Fortran 77 compiler" >&54260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 3867 4261 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 3868 if test "${ac_cv_f77_compiler_gnu+set}" = set; then4262 if ${ac_cv_f77_compiler_gnu+:} false; then : 3869 4263 $as_echo_n "(cached) " >&6 3870 4264 else 3871 cat > conftest.$ac_ext <<_ACEOF4265 cat > conftest.$ac_ext <<_ACEOF 3872 4266 program main 3873 4267 #ifndef __GNUC__ … … 3877 4271 end 3878 4272 _ACEOF 3879 rm -f conftest.$ac_objext 3880 if { (ac_try="$ac_compile" 3881 case "(($ac_try" in 3882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3883 *) ac_try_echo=$ac_try;; 3884 esac 3885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3886 $as_echo "$ac_try_echo") >&5 3887 (eval "$ac_compile") 2>conftest.er1 3888 ac_status=$? 3889 grep -v '^ *+' conftest.er1 >conftest.err 3890 rm -f conftest.er1 3891 cat conftest.err >&5 3892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3893 (exit $ac_status); } && { 3894 test -z "$ac_f77_werror_flag" || 3895 test ! -s conftest.err 3896 } && test -s conftest.$ac_objext; then 4273 if ac_fn_f77_try_compile "$LINENO"; then : 3897 4274 ac_compiler_gnu=yes 3898 4275 else 3899 $as_echo "$as_me: failed program was:" >&5 3900 sed 's/^/| /' conftest.$ac_ext >&5 3901 3902 ac_compiler_gnu=no 3903 fi 3904 4276 ac_compiler_gnu=no 4277 fi 3905 4278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3906 4279 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 3907 4280 3908 4281 fi 3909 { $as_echo "$as_me:$ LINENO: result: $ac_cv_f77_compiler_gnu" >&54282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 3910 4283 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 3911 4284 ac_ext=$ac_save_ext … … 3913 4286 ac_save_FFLAGS=$FFLAGS 3914 4287 FFLAGS= 3915 { $as_echo "$as_me:$ LINENO: checking whether $F77 accepts -g" >&54288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 3916 4289 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 3917 if test "${ac_cv_prog_f77_g+set}" = set; then4290 if ${ac_cv_prog_f77_g+:} false; then : 3918 4291 $as_echo_n "(cached) " >&6 3919 4292 else 3920 4293 FFLAGS=-g 3921 cat > conftest.$ac_ext <<_ACEOF4294 cat > conftest.$ac_ext <<_ACEOF 3922 4295 program main 3923 4296 3924 4297 end 3925 4298 _ACEOF 3926 rm -f conftest.$ac_objext 3927 if { (ac_try="$ac_compile" 3928 case "(($ac_try" in 3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3930 *) ac_try_echo=$ac_try;; 3931 esac 3932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3933 $as_echo "$ac_try_echo") >&5 3934 (eval "$ac_compile") 2>conftest.er1 3935 ac_status=$? 3936 grep -v '^ *+' conftest.er1 >conftest.err 3937 rm -f conftest.er1 3938 cat conftest.err >&5 3939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3940 (exit $ac_status); } && { 3941 test -z "$ac_f77_werror_flag" || 3942 test ! -s conftest.err 3943 } && test -s conftest.$ac_objext; then 4299 if ac_fn_f77_try_compile "$LINENO"; then : 3944 4300 ac_cv_prog_f77_g=yes 3945 4301 else 3946 $as_echo "$as_me: failed program was:" >&5 3947 sed 's/^/| /' conftest.$ac_ext >&5 3948 3949 ac_cv_prog_f77_g=no 3950 fi 3951 4302 ac_cv_prog_f77_g=no 4303 fi 3952 4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3953 4305 3954 4306 fi 3955 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_f77_g" >&54307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 3956 4308 $as_echo "$ac_cv_prog_f77_g" >&6; } 3957 4309 if test "$ac_test_FFLAGS" = set; then … … 3996 4348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3997 4349 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3998 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&54350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3999 4351 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4000 4352 # On Suns, sometimes $CPP names a directory. … … 4003 4355 fi 4004 4356 if test -z "$CPP"; then 4005 if test "${ac_cv_prog_CPP+set}" = set; then4357 if ${ac_cv_prog_CPP+:} false; then : 4006 4358 $as_echo_n "(cached) " >&6 4007 4359 else … … 4018 4370 # On the NeXT, cc -E runs the code through the compiler's parser, 4019 4371 # not just through cpp. "Syntax error" is here to catch this case. 4020 cat >conftest.$ac_ext <<_ACEOF 4021 /* confdefs.h. */ 4022 _ACEOF 4023 cat confdefs.h >>conftest.$ac_ext 4024 cat >>conftest.$ac_ext <<_ACEOF 4372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4025 4373 /* end confdefs.h. */ 4026 4374 #ifdef __STDC__ … … 4031 4379 Syntax error 4032 4380 _ACEOF 4033 if { (ac_try="$ac_cpp conftest.$ac_ext" 4034 case "(($ac_try" in 4035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4036 *) ac_try_echo=$ac_try;; 4037 esac 4038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4039 $as_echo "$ac_try_echo") >&5 4040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4041 ac_status=$? 4042 grep -v '^ *+' conftest.er1 >conftest.err 4043 rm -f conftest.er1 4044 cat conftest.err >&5 4045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4046 (exit $ac_status); } >/dev/null && { 4047 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4048 test ! -s conftest.err 4049 }; then 4050 : 4051 else 4052 $as_echo "$as_me: failed program was:" >&5 4053 sed 's/^/| /' conftest.$ac_ext >&5 4054 4381 if ac_fn_c_try_cpp "$LINENO"; then : 4382 4383 else 4055 4384 # Broken: fails on valid input. 4056 4385 continue 4057 4386 fi 4058 4059 rm -f conftest.err conftest.$ac_ext 4387 rm -f conftest.err conftest.i conftest.$ac_ext 4060 4388 4061 4389 # OK, works on sane cases. Now check whether nonexistent headers 4062 4390 # can be detected and how. 4063 cat >conftest.$ac_ext <<_ACEOF 4064 /* confdefs.h. */ 4065 _ACEOF 4066 cat confdefs.h >>conftest.$ac_ext 4067 cat >>conftest.$ac_ext <<_ACEOF 4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4068 4392 /* end confdefs.h. */ 4069 4393 #include <ac_nonexistent.h> 4070 4394 _ACEOF 4071 if { (ac_try="$ac_cpp conftest.$ac_ext" 4072 case "(($ac_try" in 4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4074 *) ac_try_echo=$ac_try;; 4075 esac 4076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4077 $as_echo "$ac_try_echo") >&5 4078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4079 ac_status=$? 4080 grep -v '^ *+' conftest.er1 >conftest.err 4081 rm -f conftest.er1 4082 cat conftest.err >&5 4083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4084 (exit $ac_status); } >/dev/null && { 4085 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4086 test ! -s conftest.err 4087 }; then 4395 if ac_fn_c_try_cpp "$LINENO"; then : 4088 4396 # Broken: success on invalid input. 4089 4397 continue 4090 4398 else 4091 $as_echo "$as_me: failed program was:" >&54092 sed 's/^/| /' conftest.$ac_ext >&54093 4094 4399 # Passes both tests. 4095 4400 ac_preproc_ok=: 4096 4401 break 4097 4402 fi 4098 4099 rm -f conftest.err conftest.$ac_ext 4403 rm -f conftest.err conftest.i conftest.$ac_ext 4100 4404 4101 4405 done 4102 4406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4103 rm -f conftest. err conftest.$ac_ext4104 if $ac_preproc_ok; then 4407 rm -f conftest.i conftest.err conftest.$ac_ext 4408 if $ac_preproc_ok; then : 4105 4409 break 4106 4410 fi … … 4114 4418 ac_cv_prog_CPP=$CPP 4115 4419 fi 4116 { $as_echo "$as_me:$ LINENO: result: $CPP" >&54420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4117 4421 $as_echo "$CPP" >&6; } 4118 4422 ac_preproc_ok=false … … 4125 4429 # On the NeXT, cc -E runs the code through the compiler's parser, 4126 4430 # not just through cpp. "Syntax error" is here to catch this case. 4127 cat >conftest.$ac_ext <<_ACEOF 4128 /* confdefs.h. */ 4129 _ACEOF 4130 cat confdefs.h >>conftest.$ac_ext 4131 cat >>conftest.$ac_ext <<_ACEOF 4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4132 4432 /* end confdefs.h. */ 4133 4433 #ifdef __STDC__ … … 4138 4438 Syntax error 4139 4439 _ACEOF 4140 if { (ac_try="$ac_cpp conftest.$ac_ext" 4141 case "(($ac_try" in 4142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4143 *) ac_try_echo=$ac_try;; 4144 esac 4145 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4146 $as_echo "$ac_try_echo") >&5 4147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4148 ac_status=$? 4149 grep -v '^ *+' conftest.er1 >conftest.err 4150 rm -f conftest.er1 4151 cat conftest.err >&5 4152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4153 (exit $ac_status); } >/dev/null && { 4154 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4155 test ! -s conftest.err 4156 }; then 4157 : 4158 else 4159 $as_echo "$as_me: failed program was:" >&5 4160 sed 's/^/| /' conftest.$ac_ext >&5 4161 4440 if ac_fn_c_try_cpp "$LINENO"; then : 4441 4442 else 4162 4443 # Broken: fails on valid input. 4163 4444 continue 4164 4445 fi 4165 4166 rm -f conftest.err conftest.$ac_ext 4446 rm -f conftest.err conftest.i conftest.$ac_ext 4167 4447 4168 4448 # OK, works on sane cases. Now check whether nonexistent headers 4169 4449 # can be detected and how. 4170 cat >conftest.$ac_ext <<_ACEOF 4171 /* confdefs.h. */ 4172 _ACEOF 4173 cat confdefs.h >>conftest.$ac_ext 4174 cat >>conftest.$ac_ext <<_ACEOF 4450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4175 4451 /* end confdefs.h. */ 4176 4452 #include <ac_nonexistent.h> 4177 4453 _ACEOF 4178 if { (ac_try="$ac_cpp conftest.$ac_ext" 4179 case "(($ac_try" in 4180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4181 *) ac_try_echo=$ac_try;; 4182 esac 4183 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4184 $as_echo "$ac_try_echo") >&5 4185 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4186 ac_status=$? 4187 grep -v '^ *+' conftest.er1 >conftest.err 4188 rm -f conftest.er1 4189 cat conftest.err >&5 4190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4191 (exit $ac_status); } >/dev/null && { 4192 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4193 test ! -s conftest.err 4194 }; then 4454 if ac_fn_c_try_cpp "$LINENO"; then : 4195 4455 # Broken: success on invalid input. 4196 4456 continue 4197 4457 else 4198 $as_echo "$as_me: failed program was:" >&54199 sed 's/^/| /' conftest.$ac_ext >&54200 4201 4458 # Passes both tests. 4202 4459 ac_preproc_ok=: 4203 4460 break 4204 4461 fi 4205 4206 rm -f conftest.err conftest.$ac_ext 4462 rm -f conftest.err conftest.i conftest.$ac_ext 4207 4463 4208 4464 done 4209 4465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4210 rm -f conftest. err conftest.$ac_ext4211 if $ac_preproc_ok; then 4212 : 4213 else 4214 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&54466 rm -f conftest.i conftest.err conftest.$ac_ext 4467 if $ac_preproc_ok; then : 4468 4469 else 4470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4215 4471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4216 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4217 See \`config.log' for more details." >&5 4218 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4219 See \`config.log' for more details." >&2;} 4220 { (exit 1); exit 1; }; }; } 4472 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4473 See \`config.log' for more details" "$LINENO" 5; } 4221 4474 fi 4222 4475 … … 4228 4481 4229 4482 4230 { $as_echo "$as_me:$ LINENO: checking for grep that handles long lines and -e" >&54483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4231 4484 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4232 if test "${ac_cv_path_GREP+set}" = set; then4485 if ${ac_cv_path_GREP+:} false; then : 4233 4486 $as_echo_n "(cached) " >&6 4234 4487 else … … 4241 4494 IFS=$as_save_IFS 4242 4495 test -z "$as_dir" && as_dir=. 4243 for ac_prog in grep ggrep; do4496 for ac_prog in grep ggrep; do 4244 4497 for ac_exec_ext in '' $ac_executable_extensions; do 4245 4498 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4246 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; }|| continue4499 as_fn_executable_p "$ac_path_GREP" || continue 4247 4500 # Check for GNU ac_path_GREP and select it if it is found. 4248 4501 # Check for GNU $ac_path_GREP … … 4261 4514 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4262 4515 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4263 a c_count=`expr $ac_count + 1`4516 as_fn_arith $ac_count + 1 && ac_count=$as_val 4264 4517 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4265 4518 # Best one so far, save it but keep looking for a better one … … 4276 4529 done 4277 4530 done 4278 done4531 done 4279 4532 IFS=$as_save_IFS 4280 4533 if test -z "$ac_cv_path_GREP"; then 4281 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4282 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4283 { (exit 1); exit 1; }; } 4534 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4284 4535 fi 4285 4536 else … … 4288 4539 4289 4540 fi 4290 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_GREP" >&54541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4291 4542 $as_echo "$ac_cv_path_GREP" >&6; } 4292 4543 GREP="$ac_cv_path_GREP" 4293 4544 4294 4545 4295 { $as_echo "$as_me:$ LINENO: checking for egrep" >&54546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4296 4547 $as_echo_n "checking for egrep... " >&6; } 4297 if test "${ac_cv_path_EGREP+set}" = set; then4548 if ${ac_cv_path_EGREP+:} false; then : 4298 4549 $as_echo_n "(cached) " >&6 4299 4550 else … … 4309 4560 IFS=$as_save_IFS 4310 4561 test -z "$as_dir" && as_dir=. 4311 for ac_prog in egrep; do4562 for ac_prog in egrep; do 4312 4563 for ac_exec_ext in '' $ac_executable_extensions; do 4313 4564 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4314 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; }|| continue4565 as_fn_executable_p "$ac_path_EGREP" || continue 4315 4566 # Check for GNU ac_path_EGREP and select it if it is found. 4316 4567 # Check for GNU $ac_path_EGREP … … 4329 4580 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4330 4581 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4331 a c_count=`expr $ac_count + 1`4582 as_fn_arith $ac_count + 1 && ac_count=$as_val 4332 4583 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4333 4584 # Best one so far, save it but keep looking for a better one … … 4344 4595 done 4345 4596 done 4346 done4597 done 4347 4598 IFS=$as_save_IFS 4348 4599 if test -z "$ac_cv_path_EGREP"; then 4349 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4350 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4351 { (exit 1); exit 1; }; } 4600 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4352 4601 fi 4353 4602 else … … 4357 4606 fi 4358 4607 fi 4359 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_EGREP" >&54608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4360 4609 $as_echo "$ac_cv_path_EGREP" >&6; } 4361 4610 EGREP="$ac_cv_path_EGREP" 4362 4611 4363 4612 4364 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&54613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4365 4614 $as_echo_n "checking for ANSI C header files... " >&6; } 4366 if test "${ac_cv_header_stdc+set}" = set; then4615 if ${ac_cv_header_stdc+:} false; then : 4367 4616 $as_echo_n "(cached) " >&6 4368 4617 else 4369 cat >conftest.$ac_ext <<_ACEOF 4370 /* confdefs.h. */ 4371 _ACEOF 4372 cat confdefs.h >>conftest.$ac_ext 4373 cat >>conftest.$ac_ext <<_ACEOF 4618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4374 4619 /* end confdefs.h. */ 4375 4620 #include <stdlib.h> … … 4386 4631 } 4387 4632 _ACEOF 4388 rm -f conftest.$ac_objext 4389 if { (ac_try="$ac_compile" 4390 case "(($ac_try" in 4391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4392 *) ac_try_echo=$ac_try;; 4393 esac 4394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4395 $as_echo "$ac_try_echo") >&5 4396 (eval "$ac_compile") 2>conftest.er1 4397 ac_status=$? 4398 grep -v '^ *+' conftest.er1 >conftest.err 4399 rm -f conftest.er1 4400 cat conftest.err >&5 4401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4402 (exit $ac_status); } && { 4403 test -z "$ac_c_werror_flag" || 4404 test ! -s conftest.err 4405 } && test -s conftest.$ac_objext; then 4633 if ac_fn_c_try_compile "$LINENO"; then : 4406 4634 ac_cv_header_stdc=yes 4407 4635 else 4408 $as_echo "$as_me: failed program was:" >&5 4409 sed 's/^/| /' conftest.$ac_ext >&5 4410 4411 ac_cv_header_stdc=no 4412 fi 4413 4636 ac_cv_header_stdc=no 4637 fi 4414 4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4415 4639 4416 4640 if test $ac_cv_header_stdc = yes; then 4417 4641 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4418 cat >conftest.$ac_ext <<_ACEOF 4419 /* confdefs.h. */ 4420 _ACEOF 4421 cat confdefs.h >>conftest.$ac_ext 4422 cat >>conftest.$ac_ext <<_ACEOF 4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4423 4643 /* end confdefs.h. */ 4424 4644 #include <string.h> … … 4426 4646 _ACEOF 4427 4647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4428 $EGREP "memchr" >/dev/null 2>&1; then 4429 : 4648 $EGREP "memchr" >/dev/null 2>&1; then : 4649 4430 4650 else 4431 4651 ac_cv_header_stdc=no … … 4437 4657 if test $ac_cv_header_stdc = yes; then 4438 4658 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4439 cat >conftest.$ac_ext <<_ACEOF 4440 /* confdefs.h. */ 4441 _ACEOF 4442 cat confdefs.h >>conftest.$ac_ext 4443 cat >>conftest.$ac_ext <<_ACEOF 4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4444 4660 /* end confdefs.h. */ 4445 4661 #include <stdlib.h> … … 4447 4663 _ACEOF 4448 4664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4449 $EGREP "free" >/dev/null 2>&1; then 4450 : 4665 $EGREP "free" >/dev/null 2>&1; then : 4666 4451 4667 else 4452 4668 ac_cv_header_stdc=no … … 4458 4674 if test $ac_cv_header_stdc = yes; then 4459 4675 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4460 if test "$cross_compiling" = yes; then 4676 if test "$cross_compiling" = yes; then : 4461 4677 : 4462 4678 else 4463 cat >conftest.$ac_ext <<_ACEOF 4464 /* confdefs.h. */ 4465 _ACEOF 4466 cat confdefs.h >>conftest.$ac_ext 4467 cat >>conftest.$ac_ext <<_ACEOF 4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4468 4680 /* end confdefs.h. */ 4469 4681 #include <ctype.h> … … 4492 4704 } 4493 4705 _ACEOF 4494 rm -f conftest$ac_exeext 4495 if { (ac_try="$ac_link" 4496 case "(($ac_try" in 4497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4498 *) ac_try_echo=$ac_try;; 4499 esac 4500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4501 $as_echo "$ac_try_echo") >&5 4502 (eval "$ac_link") 2>&5 4503 ac_status=$? 4504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4506 { (case "(($ac_try" in 4507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4508 *) ac_try_echo=$ac_try;; 4509 esac 4510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4511 $as_echo "$ac_try_echo") >&5 4512 (eval "$ac_try") 2>&5 4513 ac_status=$? 4514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4515 (exit $ac_status); }; }; then 4516 : 4517 else 4518 $as_echo "$as_me: program exited with status $ac_status" >&5 4519 $as_echo "$as_me: failed program was:" >&5 4520 sed 's/^/| /' conftest.$ac_ext >&5 4521 4522 ( exit $ac_status ) 4523 ac_cv_header_stdc=no 4524 fi 4525 rm -rf conftest.dSYM 4526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4527 fi 4528 4529 4530 fi 4531 fi 4532 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4706 if ac_fn_c_try_run "$LINENO"; then : 4707 4708 else 4709 ac_cv_header_stdc=no 4710 fi 4711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4712 conftest.$ac_objext conftest.beam conftest.$ac_ext 4713 fi 4714 4715 fi 4716 fi 4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4533 4718 $as_echo "$ac_cv_header_stdc" >&6; } 4534 4719 if test $ac_cv_header_stdc = yes; then 4535 4720 4536 cat >>confdefs.h <<\_ACEOF 4537 #define STDC_HEADERS 1 4538 _ACEOF 4539 4540 fi 4541 4542 { $as_echo "$as_me:$LINENO: checking for atol" >&5 4543 $as_echo_n "checking for atol... " >&6; } 4544 if test "${ac_cv_func_atol+set}" = set; then 4545 $as_echo_n "(cached) " >&6 4546 else 4547 cat >conftest.$ac_ext <<_ACEOF 4548 /* confdefs.h. */ 4549 _ACEOF 4550 cat confdefs.h >>conftest.$ac_ext 4551 cat >>conftest.$ac_ext <<_ACEOF 4552 /* end confdefs.h. */ 4553 /* Define atol to an innocuous variant, in case <limits.h> declares atol. 4554 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4555 #define atol innocuous_atol 4556 4557 /* System header to define __stub macros and hopefully few prototypes, 4558 which can conflict with char atol (); below. 4559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4560 <limits.h> exists even on freestanding compilers. */ 4561 4562 #ifdef __STDC__ 4563 # include <limits.h> 4564 #else 4565 # include <assert.h> 4566 #endif 4567 4568 #undef atol 4569 4570 /* Override any GCC internal prototype to avoid an error. 4571 Use char because int might match the return type of a GCC 4572 builtin and then its argument prototype would still apply. */ 4573 #ifdef __cplusplus 4574 extern "C" 4575 #endif 4576 char atol (); 4577 /* The GNU C library defines this for functions which it implements 4578 to always fail with ENOSYS. Some functions are actually named 4579 something starting with __ and the normal name is an alias. */ 4580 #if defined __stub_atol || defined __stub___atol 4581 choke me 4582 #endif 4583 4584 int 4585 main () 4586 { 4587 return atol (); 4588 ; 4589 return 0; 4590 } 4591 _ACEOF 4592 rm -f conftest.$ac_objext conftest$ac_exeext 4593 if { (ac_try="$ac_link" 4594 case "(($ac_try" in 4595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4596 *) ac_try_echo=$ac_try;; 4597 esac 4598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4599 $as_echo "$ac_try_echo") >&5 4600 (eval "$ac_link") 2>conftest.er1 4601 ac_status=$? 4602 grep -v '^ *+' conftest.er1 >conftest.err 4603 rm -f conftest.er1 4604 cat conftest.err >&5 4605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4606 (exit $ac_status); } && { 4607 test -z "$ac_c_werror_flag" || 4608 test ! -s conftest.err 4609 } && test -s conftest$ac_exeext && { 4610 test "$cross_compiling" = yes || 4611 $as_test_x conftest$ac_exeext 4612 }; then 4613 ac_cv_func_atol=yes 4614 else 4615 $as_echo "$as_me: failed program was:" >&5 4616 sed 's/^/| /' conftest.$ac_ext >&5 4617 4618 ac_cv_func_atol=no 4619 fi 4620 4621 rm -rf conftest.dSYM 4622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4623 conftest$ac_exeext conftest.$ac_ext 4624 fi 4625 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 4626 $as_echo "$ac_cv_func_atol" >&6; } 4627 if test "x$ac_cv_func_atol" = x""yes; then 4628 : 4629 else 4630 { { $as_echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5 4631 $as_echo "$as_me: error: oops! no atol ?!?" >&2;} 4632 { (exit 1); exit 1; }; } 4721 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4722 4723 fi 4724 4725 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol" 4726 if test "x$ac_cv_func_atol" = xyes; then : 4727 4728 else 4729 as_fn_error $? "oops! no atol ?!?" "$LINENO" 5 4633 4730 fi 4634 4731 … … 4642 4739 4643 4740 4644 4645 4741 for ac_func in sysinfo 4646 do 4647 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4648 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 4649 $as_echo_n "checking for $ac_func... " >&6; } 4650 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4651 $as_echo_n "(cached) " >&6 4652 else 4653 cat >conftest.$ac_ext <<_ACEOF 4654 /* confdefs.h. */ 4655 _ACEOF 4656 cat confdefs.h >>conftest.$ac_ext 4657 cat >>conftest.$ac_ext <<_ACEOF 4658 /* end confdefs.h. */ 4659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4660 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4661 #define $ac_func innocuous_$ac_func 4662 4663 /* System header to define __stub macros and hopefully few prototypes, 4664 which can conflict with char $ac_func (); below. 4665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4666 <limits.h> exists even on freestanding compilers. */ 4667 4668 #ifdef __STDC__ 4669 # include <limits.h> 4670 #else 4671 # include <assert.h> 4672 #endif 4673 4674 #undef $ac_func 4675 4676 /* Override any GCC internal prototype to avoid an error. 4677 Use char because int might match the return type of a GCC 4678 builtin and then its argument prototype would still apply. */ 4679 #ifdef __cplusplus 4680 extern "C" 4681 #endif 4682 char $ac_func (); 4683 /* The GNU C library defines this for functions which it implements 4684 to always fail with ENOSYS. Some functions are actually named 4685 something starting with __ and the normal name is an alias. */ 4686 #if defined __stub_$ac_func || defined __stub___$ac_func 4687 choke me 4688 #endif 4689 4690 int 4691 main () 4692 { 4693 return $ac_func (); 4694 ; 4695 return 0; 4696 } 4697 _ACEOF 4698 rm -f conftest.$ac_objext conftest$ac_exeext 4699 if { (ac_try="$ac_link" 4700 case "(($ac_try" in 4701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4702 *) ac_try_echo=$ac_try;; 4703 esac 4704 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4705 $as_echo "$ac_try_echo") >&5 4706 (eval "$ac_link") 2>conftest.er1 4707 ac_status=$? 4708 grep -v '^ *+' conftest.er1 >conftest.err 4709 rm -f conftest.er1 4710 cat conftest.err >&5 4711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4712 (exit $ac_status); } && { 4713 test -z "$ac_cxx_werror_flag" || 4714 test ! -s conftest.err 4715 } && test -s conftest$ac_exeext && { 4716 test "$cross_compiling" = yes || 4717 $as_test_x conftest$ac_exeext 4718 }; then 4719 eval "$as_ac_var=yes" 4720 else 4721 $as_echo "$as_me: failed program was:" >&5 4722 sed 's/^/| /' conftest.$ac_ext >&5 4723 4724 eval "$as_ac_var=no" 4725 fi 4726 4727 rm -rf conftest.dSYM 4728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4729 conftest$ac_exeext conftest.$ac_ext 4730 fi 4731 ac_res=`eval 'as_val=${'$as_ac_var'} 4732 $as_echo "$as_val"'` 4733 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4734 $as_echo "$ac_res" >&6; } 4735 as_val=`eval 'as_val=${'$as_ac_var'} 4736 $as_echo "$as_val"'` 4737 if test "x$as_val" = x""yes; then 4742 do : 4743 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" 4744 if test "x$ac_cv_func_sysinfo" = xyes; then : 4738 4745 cat >>confdefs.h <<_ACEOF 4739 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 4740 _ACEOF 4741 4742 fi 4743 done 4744 4745 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4756 inttypes.h stdint.h unistd.h 4757 do 4758 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4759 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4760 $as_echo_n "checking for $ac_header... " >&6; } 4761 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4762 $as_echo_n "(cached) " >&6 4763 else 4764 cat >conftest.$ac_ext <<_ACEOF 4765 /* confdefs.h. */ 4766 _ACEOF 4767 cat confdefs.h >>conftest.$ac_ext 4768 cat >>conftest.$ac_ext <<_ACEOF 4769 /* end confdefs.h. */ 4770 $ac_includes_default 4771 4772 #include <$ac_header> 4773 _ACEOF 4774 rm -f conftest.$ac_objext 4775 if { (ac_try="$ac_compile" 4776 case "(($ac_try" in 4777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4778 *) ac_try_echo=$ac_try;; 4779 esac 4780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4781 $as_echo "$ac_try_echo") >&5 4782 (eval "$ac_compile") 2>conftest.er1 4783 ac_status=$? 4784 grep -v '^ *+' conftest.er1 >conftest.err 4785 rm -f conftest.er1 4786 cat conftest.err >&5 4787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4788 (exit $ac_status); } && { 4789 test -z "$ac_cxx_werror_flag" || 4790 test ! -s conftest.err 4791 } && test -s conftest.$ac_objext; then 4792 eval "$as_ac_Header=yes" 4793 else 4794 $as_echo "$as_me: failed program was:" >&5 4795 sed 's/^/| /' conftest.$ac_ext >&5 4796 4797 eval "$as_ac_Header=no" 4798 fi 4799 4800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4801 fi 4802 ac_res=`eval 'as_val=${'$as_ac_Header'} 4803 $as_echo "$as_val"'` 4804 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4805 $as_echo "$ac_res" >&6; } 4806 as_val=`eval 'as_val=${'$as_ac_Header'} 4807 $as_echo "$as_val"'` 4808 if test "x$as_val" = x""yes; then 4746 #define HAVE_SYSINFO 1 4747 _ACEOF 4748 4749 fi 4750 done 4751 4752 for ac_func in gettimeofday 4753 do : 4754 ac_fn_cxx_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 4755 if test "x$ac_cv_func_gettimeofday" = xyes; then : 4809 4756 cat >>confdefs.h <<_ACEOF 4810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4811 _ACEOF 4812 4813 fi 4814 4815 done 4757 #define HAVE_GETTIMEOFDAY 1 4758 _ACEOF 4759 4760 fi 4761 done 4762 4763 ac_fn_cxx_check_func "$LINENO" "localtime" "ac_cv_func_localtime" 4764 if test "x$ac_cv_func_localtime" = xyes; then : 4765 4766 else 4767 as_fn_error $? "oops! no localtime ?!?" "$LINENO" 5 4768 fi 4769 4770 ac_fn_cxx_check_func "$LINENO" "getenv" "ac_cv_func_getenv" 4771 if test "x$ac_cv_func_getenv" = xyes; then : 4772 4773 else 4774 as_fn_error $? "oops! no getenv ?!?" "$LINENO" 5 4775 fi 4816 4776 4817 4777 … … 4821 4781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4822 4782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4823 { $as_echo "$as_me:$ LINENO: checking how to run the C++ preprocessor" >&54783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 4824 4784 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4825 4785 if test -z "$CXXCPP"; then 4826 if test "${ac_cv_prog_CXXCPP+set}" = set; then4786 if ${ac_cv_prog_CXXCPP+:} false; then : 4827 4787 $as_echo_n "(cached) " >&6 4828 4788 else … … 4839 4799 # On the NeXT, cc -E runs the code through the compiler's parser, 4840 4800 # not just through cpp. "Syntax error" is here to catch this case. 4841 cat >conftest.$ac_ext <<_ACEOF 4842 /* confdefs.h. */ 4843 _ACEOF 4844 cat confdefs.h >>conftest.$ac_ext 4845 cat >>conftest.$ac_ext <<_ACEOF 4801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4846 4802 /* end confdefs.h. */ 4847 4803 #ifdef __STDC__ … … 4852 4808 Syntax error 4853 4809 _ACEOF 4854 if { (ac_try="$ac_cpp conftest.$ac_ext" 4855 case "(($ac_try" in 4856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4857 *) ac_try_echo=$ac_try;; 4858 esac 4859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4860 $as_echo "$ac_try_echo") >&5 4861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4862 ac_status=$? 4863 grep -v '^ *+' conftest.er1 >conftest.err 4864 rm -f conftest.er1 4865 cat conftest.err >&5 4866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4867 (exit $ac_status); } >/dev/null && { 4868 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4869 test ! -s conftest.err 4870 }; then 4871 : 4872 else 4873 $as_echo "$as_me: failed program was:" >&5 4874 sed 's/^/| /' conftest.$ac_ext >&5 4875 4810 if ac_fn_cxx_try_cpp "$LINENO"; then : 4811 4812 else 4876 4813 # Broken: fails on valid input. 4877 4814 continue 4878 4815 fi 4879 4880 rm -f conftest.err conftest.$ac_ext 4816 rm -f conftest.err conftest.i conftest.$ac_ext 4881 4817 4882 4818 # OK, works on sane cases. Now check whether nonexistent headers 4883 4819 # can be detected and how. 4884 cat >conftest.$ac_ext <<_ACEOF 4885 /* confdefs.h. */ 4886 _ACEOF 4887 cat confdefs.h >>conftest.$ac_ext 4888 cat >>conftest.$ac_ext <<_ACEOF 4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4889 4821 /* end confdefs.h. */ 4890 4822 #include <ac_nonexistent.h> 4891 4823 _ACEOF 4892 if { (ac_try="$ac_cpp conftest.$ac_ext" 4893 case "(($ac_try" in 4894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4895 *) ac_try_echo=$ac_try;; 4896 esac 4897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4898 $as_echo "$ac_try_echo") >&5 4899 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4900 ac_status=$? 4901 grep -v '^ *+' conftest.er1 >conftest.err 4902 rm -f conftest.er1 4903 cat conftest.err >&5 4904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4905 (exit $ac_status); } >/dev/null && { 4906 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4907 test ! -s conftest.err 4908 }; then 4824 if ac_fn_cxx_try_cpp "$LINENO"; then : 4909 4825 # Broken: success on invalid input. 4910 4826 continue 4911 4827 else 4912 $as_echo "$as_me: failed program was:" >&54913 sed 's/^/| /' conftest.$ac_ext >&54914 4915 4828 # Passes both tests. 4916 4829 ac_preproc_ok=: 4917 4830 break 4918 4831 fi 4919 4920 rm -f conftest.err conftest.$ac_ext 4832 rm -f conftest.err conftest.i conftest.$ac_ext 4921 4833 4922 4834 done 4923 4835 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4924 rm -f conftest. err conftest.$ac_ext4925 if $ac_preproc_ok; then 4836 rm -f conftest.i conftest.err conftest.$ac_ext 4837 if $ac_preproc_ok; then : 4926 4838 break 4927 4839 fi … … 4935 4847 ac_cv_prog_CXXCPP=$CXXCPP 4936 4848 fi 4937 { $as_echo "$as_me:$ LINENO: result: $CXXCPP" >&54849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 4938 4850 $as_echo "$CXXCPP" >&6; } 4939 4851 ac_preproc_ok=false … … 4946 4858 # On the NeXT, cc -E runs the code through the compiler's parser, 4947 4859 # not just through cpp. "Syntax error" is here to catch this case. 4948 cat >conftest.$ac_ext <<_ACEOF 4949 /* confdefs.h. */ 4950 _ACEOF 4951 cat confdefs.h >>conftest.$ac_ext 4952 cat >>conftest.$ac_ext <<_ACEOF 4860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4953 4861 /* end confdefs.h. */ 4954 4862 #ifdef __STDC__ … … 4959 4867 Syntax error 4960 4868 _ACEOF 4961 if { (ac_try="$ac_cpp conftest.$ac_ext" 4962 case "(($ac_try" in 4963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4964 *) ac_try_echo=$ac_try;; 4965 esac 4966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4967 $as_echo "$ac_try_echo") >&5 4968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4969 ac_status=$? 4970 grep -v '^ *+' conftest.er1 >conftest.err 4971 rm -f conftest.er1 4972 cat conftest.err >&5 4973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4974 (exit $ac_status); } >/dev/null && { 4975 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4976 test ! -s conftest.err 4977 }; then 4978 : 4979 else 4980 $as_echo "$as_me: failed program was:" >&5 4981 sed 's/^/| /' conftest.$ac_ext >&5 4982 4869 if ac_fn_cxx_try_cpp "$LINENO"; then : 4870 4871 else 4983 4872 # Broken: fails on valid input. 4984 4873 continue 4985 4874 fi 4986 4987 rm -f conftest.err conftest.$ac_ext 4875 rm -f conftest.err conftest.i conftest.$ac_ext 4988 4876 4989 4877 # OK, works on sane cases. Now check whether nonexistent headers 4990 4878 # can be detected and how. 4991 cat >conftest.$ac_ext <<_ACEOF 4992 /* confdefs.h. */ 4993 _ACEOF 4994 cat confdefs.h >>conftest.$ac_ext 4995 cat >>conftest.$ac_ext <<_ACEOF 4879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4996 4880 /* end confdefs.h. */ 4997 4881 #include <ac_nonexistent.h> 4998 4882 _ACEOF 4999 if { (ac_try="$ac_cpp conftest.$ac_ext" 5000 case "(($ac_try" in 5001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5002 *) ac_try_echo=$ac_try;; 5003 esac 5004 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5005 $as_echo "$ac_try_echo") >&5 5006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5007 ac_status=$? 5008 grep -v '^ *+' conftest.er1 >conftest.err 5009 rm -f conftest.er1 5010 cat conftest.err >&5 5011 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5012 (exit $ac_status); } >/dev/null && { 5013 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5014 test ! -s conftest.err 5015 }; then 4883 if ac_fn_cxx_try_cpp "$LINENO"; then : 5016 4884 # Broken: success on invalid input. 5017 4885 continue 5018 4886 else 5019 $as_echo "$as_me: failed program was:" >&55020 sed 's/^/| /' conftest.$ac_ext >&55021 5022 4887 # Passes both tests. 5023 4888 ac_preproc_ok=: 5024 4889 break 5025 4890 fi 5026 5027 rm -f conftest.err conftest.$ac_ext 4891 rm -f conftest.err conftest.i conftest.$ac_ext 5028 4892 5029 4893 done 5030 4894 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5031 rm -f conftest. err conftest.$ac_ext5032 if $ac_preproc_ok; then 5033 : 5034 else 5035 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&54895 rm -f conftest.i conftest.err conftest.$ac_ext 4896 if $ac_preproc_ok; then : 4897 4898 else 4899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5036 4900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5037 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 5038 See \`config.log' for more details." >&5 5039 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 5040 See \`config.log' for more details." >&2;} 5041 { (exit 1); exit 1; }; }; } 4901 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 4902 See \`config.log' for more details" "$LINENO" 5; } 5042 4903 fi 5043 4904 … … 5049 4910 5050 4911 5051 5052 for ac_header in sys/sysinfo.h 5053 do 5054 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5055 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5056 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5057 $as_echo_n "checking for $ac_header... " >&6; } 5058 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5059 $as_echo_n "(cached) " >&6 5060 fi 5061 ac_res=`eval 'as_val=${'$as_ac_Header'} 5062 $as_echo "$as_val"'` 5063 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5064 $as_echo "$ac_res" >&6; } 5065 else 5066 # Is the header compilable? 5067 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5068 $as_echo_n "checking $ac_header usability... " >&6; } 5069 cat >conftest.$ac_ext <<_ACEOF 5070 /* confdefs.h. */ 5071 _ACEOF 5072 cat confdefs.h >>conftest.$ac_ext 5073 cat >>conftest.$ac_ext <<_ACEOF 5074 /* end confdefs.h. */ 5075 $ac_includes_default 5076 #include <$ac_header> 5077 _ACEOF 5078 rm -f conftest.$ac_objext 5079 if { (ac_try="$ac_compile" 5080 case "(($ac_try" in 5081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5082 *) ac_try_echo=$ac_try;; 5083 esac 5084 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5085 $as_echo "$ac_try_echo") >&5 5086 (eval "$ac_compile") 2>conftest.er1 5087 ac_status=$? 5088 grep -v '^ *+' conftest.er1 >conftest.err 5089 rm -f conftest.er1 5090 cat conftest.err >&5 5091 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5092 (exit $ac_status); } && { 5093 test -z "$ac_cxx_werror_flag" || 5094 test ! -s conftest.err 5095 } && test -s conftest.$ac_objext; then 5096 ac_header_compiler=yes 5097 else 5098 $as_echo "$as_me: failed program was:" >&5 5099 sed 's/^/| /' conftest.$ac_ext >&5 5100 5101 ac_header_compiler=no 5102 fi 5103 5104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5105 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5106 $as_echo "$ac_header_compiler" >&6; } 5107 5108 # Is the header present? 5109 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5110 $as_echo_n "checking $ac_header presence... " >&6; } 5111 cat >conftest.$ac_ext <<_ACEOF 5112 /* confdefs.h. */ 5113 _ACEOF 5114 cat confdefs.h >>conftest.$ac_ext 5115 cat >>conftest.$ac_ext <<_ACEOF 5116 /* end confdefs.h. */ 5117 #include <$ac_header> 5118 _ACEOF 5119 if { (ac_try="$ac_cpp conftest.$ac_ext" 5120 case "(($ac_try" in 5121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5122 *) ac_try_echo=$ac_try;; 5123 esac 5124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5125 $as_echo "$ac_try_echo") >&5 5126 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5127 ac_status=$? 5128 grep -v '^ *+' conftest.er1 >conftest.err 5129 rm -f conftest.er1 5130 cat conftest.err >&5 5131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5132 (exit $ac_status); } >/dev/null && { 5133 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5134 test ! -s conftest.err 5135 }; then 5136 ac_header_preproc=yes 5137 else 5138 $as_echo "$as_me: failed program was:" >&5 5139 sed 's/^/| /' conftest.$ac_ext >&5 5140 5141 ac_header_preproc=no 5142 fi 5143 5144 rm -f conftest.err conftest.$ac_ext 5145 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5146 $as_echo "$ac_header_preproc" >&6; } 5147 5148 # So? What about this header? 5149 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5150 yes:no: ) 5151 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5152 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5153 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5154 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5155 ac_header_preproc=yes 5156 ;; 5157 no:yes:* ) 5158 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5159 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5160 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5161 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5162 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5163 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5164 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5165 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5166 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5167 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5168 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5169 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5170 ( cat <<\_ASBOX 5171 ## ----------------------------------- ## 5172 ## Report this to rappture@nanohub.org ## 5173 ## ----------------------------------- ## 5174 _ASBOX 5175 ) | sed "s/^/$as_me: WARNING: /" >&2 5176 ;; 5177 esac 5178 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5179 $as_echo_n "checking for $ac_header... " >&6; } 5180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5181 $as_echo_n "(cached) " >&6 5182 else 5183 eval "$as_ac_Header=\$ac_header_preproc" 5184 fi 5185 ac_res=`eval 'as_val=${'$as_ac_Header'} 5186 $as_echo "$as_val"'` 5187 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5188 $as_echo "$ac_res" >&6; } 5189 5190 fi 5191 as_val=`eval 'as_val=${'$as_ac_Header'} 5192 $as_echo "$as_val"'` 5193 if test "x$as_val" = x""yes; then 4912 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4913 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4914 inttypes.h stdint.h unistd.h 4915 do : 4916 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4917 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4918 " 4919 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5194 4920 cat >>confdefs.h <<_ACEOF 5195 4921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 5201 4927 5202 4928 5203 5204 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 5205 $as_echo_n "checking for main in -lm... " >&6; } 5206 if test "${ac_cv_lib_m_main+set}" = set; then 5207 $as_echo_n "(cached) " >&6 5208 else 5209 ac_check_lib_save_LIBS=$LIBS 5210 LIBS="-lm $LIBS" 5211 cat >conftest.$ac_ext <<_ACEOF 5212 /* confdefs.h. */ 5213 _ACEOF 5214 cat confdefs.h >>conftest.$ac_ext 5215 cat >>conftest.$ac_ext <<_ACEOF 5216 /* end confdefs.h. */ 5217 5218 5219 int 5220 main () 5221 { 5222 return main (); 5223 ; 5224 return 0; 5225 } 5226 _ACEOF 5227 rm -f conftest.$ac_objext conftest$ac_exeext 5228 if { (ac_try="$ac_link" 5229 case "(($ac_try" in 5230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5231 *) ac_try_echo=$ac_try;; 5232 esac 5233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5234 $as_echo "$ac_try_echo") >&5 5235 (eval "$ac_link") 2>conftest.er1 5236 ac_status=$? 5237 grep -v '^ *+' conftest.er1 >conftest.err 5238 rm -f conftest.er1 5239 cat conftest.err >&5 5240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5241 (exit $ac_status); } && { 5242 test -z "$ac_cxx_werror_flag" || 5243 test ! -s conftest.err 5244 } && test -s conftest$ac_exeext && { 5245 test "$cross_compiling" = yes || 5246 $as_test_x conftest$ac_exeext 5247 }; then 5248 ac_cv_lib_m_main=yes 5249 else 5250 $as_echo "$as_me: failed program was:" >&5 5251 sed 's/^/| /' conftest.$ac_ext >&5 5252 5253 ac_cv_lib_m_main=no 5254 fi 5255 5256 rm -rf conftest.dSYM 5257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5258 conftest$ac_exeext conftest.$ac_ext 5259 LIBS=$ac_check_lib_save_LIBS 5260 fi 5261 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 5262 $as_echo "$ac_cv_lib_m_main" >&6; } 5263 if test "x$ac_cv_lib_m_main" = x""yes; then 4929 for ac_header in sys/sysinfo.h 4930 do : 4931 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" 4932 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then : 5264 4933 cat >>confdefs.h <<_ACEOF 5265 #define HAVE_LIBM 1 5266 _ACEOF 5267 5268 LIBS="-lm $LIBS" 5269 5270 else 5271 { { $as_echo "$as_me:$LINENO: error: librappture requires libm" >&5 5272 $as_echo "$as_me: error: librappture requires libm" >&2;} 5273 { (exit 1); exit 1; }; } 5274 fi 5275 5276 5277 5278 { $as_echo "$as_me:$LINENO: checking for clrtoeol in -lncurses" >&5 4934 #define HAVE_SYS_SYSINFO_H 1 4935 _ACEOF 4936 4937 fi 4938 4939 done 4940 4941 4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clrtoeol in -lncurses" >&5 5279 4943 $as_echo_n "checking for clrtoeol in -lncurses... " >&6; } 5280 if test "${ac_cv_lib_ncurses_clrtoeol+set}" = set; then4944 if ${ac_cv_lib_ncurses_clrtoeol+:} false; then : 5281 4945 $as_echo_n "(cached) " >&6 5282 4946 else 5283 4947 ac_check_lib_save_LIBS=$LIBS 5284 4948 LIBS="-lncurses $LIBS" 5285 cat >conftest.$ac_ext <<_ACEOF 5286 /* confdefs.h. */ 5287 _ACEOF 5288 cat confdefs.h >>conftest.$ac_ext 5289 cat >>conftest.$ac_ext <<_ACEOF 4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5290 4950 /* end confdefs.h. */ 5291 4951 … … 5305 4965 } 5306 4966 _ACEOF 5307 rm -f conftest.$ac_objext conftest$ac_exeext 5308 if { (ac_try="$ac_link" 5309 case "(($ac_try" in 5310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5311 *) ac_try_echo=$ac_try;; 5312 esac 5313 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5314 $as_echo "$ac_try_echo") >&5 5315 (eval "$ac_link") 2>conftest.er1 5316 ac_status=$? 5317 grep -v '^ *+' conftest.er1 >conftest.err 5318 rm -f conftest.er1 5319 cat conftest.err >&5 5320 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5321 (exit $ac_status); } && { 5322 test -z "$ac_cxx_werror_flag" || 5323 test ! -s conftest.err 5324 } && test -s conftest$ac_exeext && { 5325 test "$cross_compiling" = yes || 5326 $as_test_x conftest$ac_exeext 5327 }; then 4967 if ac_fn_cxx_try_link "$LINENO"; then : 5328 4968 ac_cv_lib_ncurses_clrtoeol=yes 5329 4969 else 5330 $as_echo "$as_me: failed program was:" >&5 5331 sed 's/^/| /' conftest.$ac_ext >&5 5332 5333 ac_cv_lib_ncurses_clrtoeol=no 5334 fi 5335 5336 rm -rf conftest.dSYM 5337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5338 conftest$ac_exeext conftest.$ac_ext 4970 ac_cv_lib_ncurses_clrtoeol=no 4971 fi 4972 rm -f core conftest.err conftest.$ac_objext \ 4973 conftest$ac_exeext conftest.$ac_ext 5339 4974 LIBS=$ac_check_lib_save_LIBS 5340 4975 fi 5341 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_ncurses_clrtoeol" >&54976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_clrtoeol" >&5 5342 4977 $as_echo "$ac_cv_lib_ncurses_clrtoeol" >&6; } 5343 if test "x$ac_cv_lib_ncurses_clrtoeol" = x ""yes; then4978 if test "x$ac_cv_lib_ncurses_clrtoeol" = xyes; then : 5344 4979 cat >>confdefs.h <<_ACEOF 5345 4980 #define HAVE_LIBNCURSES 1 … … 5349 4984 5350 4985 else 5351 { { $as_echo "$as_me:$LINENO: error: ncurses library missing?" >&5 5352 $as_echo "$as_me: error: ncurses library missing?" >&2;} 5353 { (exit 1); exit 1; }; } 5354 fi 5355 4986 as_fn_error $? "ncurses library missing?" "$LINENO" 5 4987 fi 5356 4988 5357 4989 for ac_header in ncurses.h 5358 do 5359 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5361 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5362 $as_echo_n "checking for $ac_header... " >&6; } 5363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5364 $as_echo_n "(cached) " >&6 5365 fi 5366 ac_res=`eval 'as_val=${'$as_ac_Header'} 5367 $as_echo "$as_val"'` 5368 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5369 $as_echo "$ac_res" >&6; } 5370 else 5371 # Is the header compilable? 5372 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5373 $as_echo_n "checking $ac_header usability... " >&6; } 5374 cat >conftest.$ac_ext <<_ACEOF 5375 /* confdefs.h. */ 5376 _ACEOF 5377 cat confdefs.h >>conftest.$ac_ext 5378 cat >>conftest.$ac_ext <<_ACEOF 5379 /* end confdefs.h. */ 5380 $ac_includes_default 5381 #include <$ac_header> 5382 _ACEOF 5383 rm -f conftest.$ac_objext 5384 if { (ac_try="$ac_compile" 5385 case "(($ac_try" in 5386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5387 *) ac_try_echo=$ac_try;; 5388 esac 5389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5390 $as_echo "$ac_try_echo") >&5 5391 (eval "$ac_compile") 2>conftest.er1 5392 ac_status=$? 5393 grep -v '^ *+' conftest.er1 >conftest.err 5394 rm -f conftest.er1 5395 cat conftest.err >&5 5396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5397 (exit $ac_status); } && { 5398 test -z "$ac_cxx_werror_flag" || 5399 test ! -s conftest.err 5400 } && test -s conftest.$ac_objext; then 5401 ac_header_compiler=yes 5402 else 5403 $as_echo "$as_me: failed program was:" >&5 5404 sed 's/^/| /' conftest.$ac_ext >&5 5405 5406 ac_header_compiler=no 5407 fi 5408 5409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5410 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5411 $as_echo "$ac_header_compiler" >&6; } 5412 5413 # Is the header present? 5414 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5415 $as_echo_n "checking $ac_header presence... " >&6; } 5416 cat >conftest.$ac_ext <<_ACEOF 5417 /* confdefs.h. */ 5418 _ACEOF 5419 cat confdefs.h >>conftest.$ac_ext 5420 cat >>conftest.$ac_ext <<_ACEOF 5421 /* end confdefs.h. */ 5422 #include <$ac_header> 5423 _ACEOF 5424 if { (ac_try="$ac_cpp conftest.$ac_ext" 5425 case "(($ac_try" in 5426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5427 *) ac_try_echo=$ac_try;; 5428 esac 5429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5430 $as_echo "$ac_try_echo") >&5 5431 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5432 ac_status=$? 5433 grep -v '^ *+' conftest.er1 >conftest.err 5434 rm -f conftest.er1 5435 cat conftest.err >&5 5436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5437 (exit $ac_status); } >/dev/null && { 5438 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5439 test ! -s conftest.err 5440 }; then 5441 ac_header_preproc=yes 5442 else 5443 $as_echo "$as_me: failed program was:" >&5 5444 sed 's/^/| /' conftest.$ac_ext >&5 5445 5446 ac_header_preproc=no 5447 fi 5448 5449 rm -f conftest.err conftest.$ac_ext 5450 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5451 $as_echo "$ac_header_preproc" >&6; } 5452 5453 # So? What about this header? 5454 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5455 yes:no: ) 5456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5457 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5458 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5459 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5460 ac_header_preproc=yes 5461 ;; 5462 no:yes:* ) 5463 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5464 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5465 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5466 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5467 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5468 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5469 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5470 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5471 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5472 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5473 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5474 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5475 ( cat <<\_ASBOX 5476 ## ----------------------------------- ## 5477 ## Report this to rappture@nanohub.org ## 5478 ## ----------------------------------- ## 5479 _ASBOX 5480 ) | sed "s/^/$as_me: WARNING: /" >&2 5481 ;; 5482 esac 5483 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5484 $as_echo_n "checking for $ac_header... " >&6; } 5485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5486 $as_echo_n "(cached) " >&6 5487 else 5488 eval "$as_ac_Header=\$ac_header_preproc" 5489 fi 5490 ac_res=`eval 'as_val=${'$as_ac_Header'} 5491 $as_echo "$as_val"'` 5492 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5493 $as_echo "$ac_res" >&6; } 5494 5495 fi 5496 as_val=`eval 'as_val=${'$as_ac_Header'} 5497 $as_echo "$as_val"'` 5498 if test "x$as_val" = x""yes; then 4990 do : 4991 ac_fn_cxx_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default" 4992 if test "x$ac_cv_header_ncurses_h" = xyes; then : 5499 4993 cat >>confdefs.h <<_ACEOF 5500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`15501 _ACEOF 5502 5503 else 5504 { $as_echo "$as_me:$ LINENO: WARNING: ncurses headers missing ?" >&54994 #define HAVE_NCURSES_H 1 4995 _ACEOF 4996 4997 else 4998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncurses headers missing ?" >&5 5505 4999 $as_echo "$as_me: WARNING: ncurses headers missing ?" >&2;} 5506 5000 fi … … 5509 5003 5510 5004 5511 5512 { $as_echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 5513 5006 $as_echo_n "checking for main in -lstdc++... " >&6; } 5514 if test "${ac_cv_lib_stdcpp_main+set}" = set; then5007 if ${ac_cv_lib_stdcpp_main+:} false; then : 5515 5008 $as_echo_n "(cached) " >&6 5516 5009 else 5517 5010 ac_check_lib_save_LIBS=$LIBS 5518 5011 LIBS="-lstdc++ $LIBS" 5519 cat >conftest.$ac_ext <<_ACEOF 5520 /* confdefs.h. */ 5521 _ACEOF 5522 cat confdefs.h >>conftest.$ac_ext 5523 cat >>conftest.$ac_ext <<_ACEOF 5012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5524 5013 /* end confdefs.h. */ 5525 5014 … … 5533 5022 } 5534 5023 _ACEOF 5535 rm -f conftest.$ac_objext conftest$ac_exeext 5536 if { (ac_try="$ac_link" 5537 case "(($ac_try" in 5538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5539 *) ac_try_echo=$ac_try;; 5540 esac 5541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5542 $as_echo "$ac_try_echo") >&5 5543 (eval "$ac_link") 2>conftest.er1 5544 ac_status=$? 5545 grep -v '^ *+' conftest.er1 >conftest.err 5546 rm -f conftest.er1 5547 cat conftest.err >&5 5548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5549 (exit $ac_status); } && { 5550 test -z "$ac_cxx_werror_flag" || 5551 test ! -s conftest.err 5552 } && test -s conftest$ac_exeext && { 5553 test "$cross_compiling" = yes || 5554 $as_test_x conftest$ac_exeext 5555 }; then 5024 if ac_fn_cxx_try_link "$LINENO"; then : 5556 5025 ac_cv_lib_stdcpp_main=yes 5557 5026 else 5558 $as_echo "$as_me: failed program was:" >&5 5559 sed 's/^/| /' conftest.$ac_ext >&5 5560 5561 ac_cv_lib_stdcpp_main=no 5562 fi 5563 5564 rm -rf conftest.dSYM 5565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5566 conftest$ac_exeext conftest.$ac_ext 5027 ac_cv_lib_stdcpp_main=no 5028 fi 5029 rm -f core conftest.err conftest.$ac_objext \ 5030 conftest$ac_exeext conftest.$ac_ext 5567 5031 LIBS=$ac_check_lib_save_LIBS 5568 5032 fi 5569 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_stdcpp_main" >&55033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5 5570 5034 $as_echo "$ac_cv_lib_stdcpp_main" >&6; } 5571 if test "x$ac_cv_lib_stdcpp_main" = x ""yes; then5035 if test "x$ac_cv_lib_stdcpp_main" = xyes; then : 5572 5036 cat >>confdefs.h <<_ACEOF 5573 5037 #define HAVE_LIBSTDC__ 1 … … 5577 5041 5578 5042 else 5579 { { $as_echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5 5580 $as_echo "$as_me: error: librappture requires libstdc++" >&2;} 5581 { (exit 1); exit 1; }; } 5582 fi 5583 5043 as_fn_error $? "librappture requires libstdc++" "$LINENO" 5 5044 fi 5584 5045 5585 5046 for ac_header in algorithm 5586 do 5587 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5588 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5589 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5590 $as_echo_n "checking for $ac_header... " >&6; } 5591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5592 $as_echo_n "(cached) " >&6 5593 fi 5594 ac_res=`eval 'as_val=${'$as_ac_Header'} 5595 $as_echo "$as_val"'` 5596 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5597 $as_echo "$ac_res" >&6; } 5598 else 5599 # Is the header compilable? 5600 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5601 $as_echo_n "checking $ac_header usability... " >&6; } 5602 cat >conftest.$ac_ext <<_ACEOF 5603 /* confdefs.h. */ 5604 _ACEOF 5605 cat confdefs.h >>conftest.$ac_ext 5606 cat >>conftest.$ac_ext <<_ACEOF 5607 /* end confdefs.h. */ 5608 $ac_includes_default 5609 #include <$ac_header> 5610 _ACEOF 5611 rm -f conftest.$ac_objext 5612 if { (ac_try="$ac_compile" 5613 case "(($ac_try" in 5614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5615 *) ac_try_echo=$ac_try;; 5616 esac 5617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5618 $as_echo "$ac_try_echo") >&5 5619 (eval "$ac_compile") 2>conftest.er1 5620 ac_status=$? 5621 grep -v '^ *+' conftest.er1 >conftest.err 5622 rm -f conftest.er1 5623 cat conftest.err >&5 5624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5625 (exit $ac_status); } && { 5626 test -z "$ac_cxx_werror_flag" || 5627 test ! -s conftest.err 5628 } && test -s conftest.$ac_objext; then 5629 ac_header_compiler=yes 5630 else 5631 $as_echo "$as_me: failed program was:" >&5 5632 sed 's/^/| /' conftest.$ac_ext >&5 5633 5634 ac_header_compiler=no 5635 fi 5636 5637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5638 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5639 $as_echo "$ac_header_compiler" >&6; } 5640 5641 # Is the header present? 5642 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5643 $as_echo_n "checking $ac_header presence... " >&6; } 5644 cat >conftest.$ac_ext <<_ACEOF 5645 /* confdefs.h. */ 5646 _ACEOF 5647 cat confdefs.h >>conftest.$ac_ext 5648 cat >>conftest.$ac_ext <<_ACEOF 5649 /* end confdefs.h. */ 5650 #include <$ac_header> 5651 _ACEOF 5652 if { (ac_try="$ac_cpp conftest.$ac_ext" 5653 case "(($ac_try" in 5654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5655 *) ac_try_echo=$ac_try;; 5656 esac 5657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5658 $as_echo "$ac_try_echo") >&5 5659 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5660 ac_status=$? 5661 grep -v '^ *+' conftest.er1 >conftest.err 5662 rm -f conftest.er1 5663 cat conftest.err >&5 5664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5665 (exit $ac_status); } >/dev/null && { 5666 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5667 test ! -s conftest.err 5668 }; then 5669 ac_header_preproc=yes 5670 else 5671 $as_echo "$as_me: failed program was:" >&5 5672 sed 's/^/| /' conftest.$ac_ext >&5 5673 5674 ac_header_preproc=no 5675 fi 5676 5677 rm -f conftest.err conftest.$ac_ext 5678 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5679 $as_echo "$ac_header_preproc" >&6; } 5680 5681 # So? What about this header? 5682 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5683 yes:no: ) 5684 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5685 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5686 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5687 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5688 ac_header_preproc=yes 5689 ;; 5690 no:yes:* ) 5691 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5692 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5693 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5694 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5695 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5696 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5697 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5698 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5699 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5700 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5701 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5702 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5703 ( cat <<\_ASBOX 5704 ## ----------------------------------- ## 5705 ## Report this to rappture@nanohub.org ## 5706 ## ----------------------------------- ## 5707 _ASBOX 5708 ) | sed "s/^/$as_me: WARNING: /" >&2 5709 ;; 5710 esac 5711 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5712 $as_echo_n "checking for $ac_header... " >&6; } 5713 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5714 $as_echo_n "(cached) " >&6 5715 else 5716 eval "$as_ac_Header=\$ac_header_preproc" 5717 fi 5718 ac_res=`eval 'as_val=${'$as_ac_Header'} 5719 $as_echo "$as_val"'` 5720 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5721 $as_echo "$ac_res" >&6; } 5722 5723 fi 5724 as_val=`eval 'as_val=${'$as_ac_Header'} 5725 $as_echo "$as_val"'` 5726 if test "x$as_val" = x""yes; then 5047 do : 5048 ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default" 5049 if test "x$ac_cv_header_algorithm" = xyes; then : 5727 5050 cat >>confdefs.h <<_ACEOF 5728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`15729 _ACEOF 5730 5731 else 5732 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55051 #define HAVE_ALGORITHM 1 5052 _ACEOF 5053 5054 else 5055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5733 5056 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5734 5057 fi … … 5736 5059 done 5737 5060 5738 5739 5061 for ac_header in cctype 5740 do 5741 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5742 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5743 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5744 $as_echo_n "checking for $ac_header... " >&6; } 5745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5746 $as_echo_n "(cached) " >&6 5747 fi 5748 ac_res=`eval 'as_val=${'$as_ac_Header'} 5749 $as_echo "$as_val"'` 5750 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5751 $as_echo "$ac_res" >&6; } 5752 else 5753 # Is the header compilable? 5754 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5755 $as_echo_n "checking $ac_header usability... " >&6; } 5756 cat >conftest.$ac_ext <<_ACEOF 5757 /* confdefs.h. */ 5758 _ACEOF 5759 cat confdefs.h >>conftest.$ac_ext 5760 cat >>conftest.$ac_ext <<_ACEOF 5761 /* end confdefs.h. */ 5762 $ac_includes_default 5763 #include <$ac_header> 5764 _ACEOF 5765 rm -f conftest.$ac_objext 5766 if { (ac_try="$ac_compile" 5767 case "(($ac_try" in 5768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5769 *) ac_try_echo=$ac_try;; 5770 esac 5771 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5772 $as_echo "$ac_try_echo") >&5 5773 (eval "$ac_compile") 2>conftest.er1 5774 ac_status=$? 5775 grep -v '^ *+' conftest.er1 >conftest.err 5776 rm -f conftest.er1 5777 cat conftest.err >&5 5778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5779 (exit $ac_status); } && { 5780 test -z "$ac_cxx_werror_flag" || 5781 test ! -s conftest.err 5782 } && test -s conftest.$ac_objext; then 5783 ac_header_compiler=yes 5784 else 5785 $as_echo "$as_me: failed program was:" >&5 5786 sed 's/^/| /' conftest.$ac_ext >&5 5787 5788 ac_header_compiler=no 5789 fi 5790 5791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5792 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5793 $as_echo "$ac_header_compiler" >&6; } 5794 5795 # Is the header present? 5796 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5797 $as_echo_n "checking $ac_header presence... " >&6; } 5798 cat >conftest.$ac_ext <<_ACEOF 5799 /* confdefs.h. */ 5800 _ACEOF 5801 cat confdefs.h >>conftest.$ac_ext 5802 cat >>conftest.$ac_ext <<_ACEOF 5803 /* end confdefs.h. */ 5804 #include <$ac_header> 5805 _ACEOF 5806 if { (ac_try="$ac_cpp conftest.$ac_ext" 5807 case "(($ac_try" in 5808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5809 *) ac_try_echo=$ac_try;; 5810 esac 5811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5812 $as_echo "$ac_try_echo") >&5 5813 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5814 ac_status=$? 5815 grep -v '^ *+' conftest.er1 >conftest.err 5816 rm -f conftest.er1 5817 cat conftest.err >&5 5818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5819 (exit $ac_status); } >/dev/null && { 5820 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5821 test ! -s conftest.err 5822 }; then 5823 ac_header_preproc=yes 5824 else 5825 $as_echo "$as_me: failed program was:" >&5 5826 sed 's/^/| /' conftest.$ac_ext >&5 5827 5828 ac_header_preproc=no 5829 fi 5830 5831 rm -f conftest.err conftest.$ac_ext 5832 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5833 $as_echo "$ac_header_preproc" >&6; } 5834 5835 # So? What about this header? 5836 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5837 yes:no: ) 5838 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5839 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5840 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5841 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5842 ac_header_preproc=yes 5843 ;; 5844 no:yes:* ) 5845 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5846 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5847 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5848 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5849 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5850 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5851 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5852 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5853 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5854 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5855 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5856 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5857 ( cat <<\_ASBOX 5858 ## ----------------------------------- ## 5859 ## Report this to rappture@nanohub.org ## 5860 ## ----------------------------------- ## 5861 _ASBOX 5862 ) | sed "s/^/$as_me: WARNING: /" >&2 5863 ;; 5864 esac 5865 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5866 $as_echo_n "checking for $ac_header... " >&6; } 5867 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5868 $as_echo_n "(cached) " >&6 5869 else 5870 eval "$as_ac_Header=\$ac_header_preproc" 5871 fi 5872 ac_res=`eval 'as_val=${'$as_ac_Header'} 5873 $as_echo "$as_val"'` 5874 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5875 $as_echo "$ac_res" >&6; } 5876 5877 fi 5878 as_val=`eval 'as_val=${'$as_ac_Header'} 5879 $as_echo "$as_val"'` 5880 if test "x$as_val" = x""yes; then 5062 do : 5063 ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default" 5064 if test "x$ac_cv_header_cctype" = xyes; then : 5881 5065 cat >>confdefs.h <<_ACEOF 5882 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`15883 _ACEOF 5884 5885 else 5886 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55066 #define HAVE_CCTYPE 1 5067 _ACEOF 5068 5069 else 5070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5887 5071 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5888 5072 fi … … 5890 5074 done 5891 5075 5892 5893 5076 for ac_header in cfloat 5894 do 5895 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5896 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5897 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5898 $as_echo_n "checking for $ac_header... " >&6; } 5899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5900 $as_echo_n "(cached) " >&6 5901 fi 5902 ac_res=`eval 'as_val=${'$as_ac_Header'} 5903 $as_echo "$as_val"'` 5904 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5905 $as_echo "$ac_res" >&6; } 5906 else 5907 # Is the header compilable? 5908 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5909 $as_echo_n "checking $ac_header usability... " >&6; } 5910 cat >conftest.$ac_ext <<_ACEOF 5911 /* confdefs.h. */ 5912 _ACEOF 5913 cat confdefs.h >>conftest.$ac_ext 5914 cat >>conftest.$ac_ext <<_ACEOF 5915 /* end confdefs.h. */ 5916 $ac_includes_default 5917 #include <$ac_header> 5918 _ACEOF 5919 rm -f conftest.$ac_objext 5920 if { (ac_try="$ac_compile" 5921 case "(($ac_try" in 5922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5923 *) ac_try_echo=$ac_try;; 5924 esac 5925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5926 $as_echo "$ac_try_echo") >&5 5927 (eval "$ac_compile") 2>conftest.er1 5928 ac_status=$? 5929 grep -v '^ *+' conftest.er1 >conftest.err 5930 rm -f conftest.er1 5931 cat conftest.err >&5 5932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5933 (exit $ac_status); } && { 5934 test -z "$ac_cxx_werror_flag" || 5935 test ! -s conftest.err 5936 } && test -s conftest.$ac_objext; then 5937 ac_header_compiler=yes 5938 else 5939 $as_echo "$as_me: failed program was:" >&5 5940 sed 's/^/| /' conftest.$ac_ext >&5 5941 5942 ac_header_compiler=no 5943 fi 5944 5945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5946 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5947 $as_echo "$ac_header_compiler" >&6; } 5948 5949 # Is the header present? 5950 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5951 $as_echo_n "checking $ac_header presence... " >&6; } 5952 cat >conftest.$ac_ext <<_ACEOF 5953 /* confdefs.h. */ 5954 _ACEOF 5955 cat confdefs.h >>conftest.$ac_ext 5956 cat >>conftest.$ac_ext <<_ACEOF 5957 /* end confdefs.h. */ 5958 #include <$ac_header> 5959 _ACEOF 5960 if { (ac_try="$ac_cpp conftest.$ac_ext" 5961 case "(($ac_try" in 5962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5963 *) ac_try_echo=$ac_try;; 5964 esac 5965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5966 $as_echo "$ac_try_echo") >&5 5967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5968 ac_status=$? 5969 grep -v '^ *+' conftest.er1 >conftest.err 5970 rm -f conftest.er1 5971 cat conftest.err >&5 5972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5973 (exit $ac_status); } >/dev/null && { 5974 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5975 test ! -s conftest.err 5976 }; then 5977 ac_header_preproc=yes 5978 else 5979 $as_echo "$as_me: failed program was:" >&5 5980 sed 's/^/| /' conftest.$ac_ext >&5 5981 5982 ac_header_preproc=no 5983 fi 5984 5985 rm -f conftest.err conftest.$ac_ext 5986 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5987 $as_echo "$ac_header_preproc" >&6; } 5988 5989 # So? What about this header? 5990 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5991 yes:no: ) 5992 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5993 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5994 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5995 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5996 ac_header_preproc=yes 5997 ;; 5998 no:yes:* ) 5999 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6000 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6001 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6002 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6003 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6004 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6005 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6006 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6007 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6008 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6010 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6011 ( cat <<\_ASBOX 6012 ## ----------------------------------- ## 6013 ## Report this to rappture@nanohub.org ## 6014 ## ----------------------------------- ## 6015 _ASBOX 6016 ) | sed "s/^/$as_me: WARNING: /" >&2 6017 ;; 6018 esac 6019 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6020 $as_echo_n "checking for $ac_header... " >&6; } 6021 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6022 $as_echo_n "(cached) " >&6 6023 else 6024 eval "$as_ac_Header=\$ac_header_preproc" 6025 fi 6026 ac_res=`eval 'as_val=${'$as_ac_Header'} 6027 $as_echo "$as_val"'` 6028 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6029 $as_echo "$ac_res" >&6; } 6030 6031 fi 6032 as_val=`eval 'as_val=${'$as_ac_Header'} 6033 $as_echo "$as_val"'` 6034 if test "x$as_val" = x""yes; then 5077 do : 5078 ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default" 5079 if test "x$ac_cv_header_cfloat" = xyes; then : 6035 5080 cat >>confdefs.h <<_ACEOF 6036 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`16037 _ACEOF 6038 6039 else 6040 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55081 #define HAVE_CFLOAT 1 5082 _ACEOF 5083 5084 else 5085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 6041 5086 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6042 5087 fi … … 6044 5089 done 6045 5090 6046 6047 5091 for ac_header in cmath 6048 do 6049 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6051 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6052 $as_echo_n "checking for $ac_header... " >&6; } 6053 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6054 $as_echo_n "(cached) " >&6 6055 fi 6056 ac_res=`eval 'as_val=${'$as_ac_Header'} 6057 $as_echo "$as_val"'` 6058 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6059 $as_echo "$ac_res" >&6; } 6060 else 6061 # Is the header compilable? 6062 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6063 $as_echo_n "checking $ac_header usability... " >&6; } 6064 cat >conftest.$ac_ext <<_ACEOF 6065 /* confdefs.h. */ 6066 _ACEOF 6067 cat confdefs.h >>conftest.$ac_ext 6068 cat >>conftest.$ac_ext <<_ACEOF 6069 /* end confdefs.h. */ 6070 $ac_includes_default 6071 #include <$ac_header> 6072 _ACEOF 6073 rm -f conftest.$ac_objext 6074 if { (ac_try="$ac_compile" 6075 case "(($ac_try" in 6076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6077 *) ac_try_echo=$ac_try;; 6078 esac 6079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6080 $as_echo "$ac_try_echo") >&5 6081 (eval "$ac_compile") 2>conftest.er1 6082 ac_status=$? 6083 grep -v '^ *+' conftest.er1 >conftest.err 6084 rm -f conftest.er1 6085 cat conftest.err >&5 6086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6087 (exit $ac_status); } && { 6088 test -z "$ac_cxx_werror_flag" || 6089 test ! -s conftest.err 6090 } && test -s conftest.$ac_objext; then 6091 ac_header_compiler=yes 6092 else 6093 $as_echo "$as_me: failed program was:" >&5 6094 sed 's/^/| /' conftest.$ac_ext >&5 6095 6096 ac_header_compiler=no 6097 fi 6098 6099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6100 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6101 $as_echo "$ac_header_compiler" >&6; } 6102 6103 # Is the header present? 6104 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6105 $as_echo_n "checking $ac_header presence... " >&6; } 6106 cat >conftest.$ac_ext <<_ACEOF 6107 /* confdefs.h. */ 6108 _ACEOF 6109 cat confdefs.h >>conftest.$ac_ext 6110 cat >>conftest.$ac_ext <<_ACEOF 6111 /* end confdefs.h. */ 6112 #include <$ac_header> 6113 _ACEOF 6114 if { (ac_try="$ac_cpp conftest.$ac_ext" 6115 case "(($ac_try" in 6116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6117 *) ac_try_echo=$ac_try;; 6118 esac 6119 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6120 $as_echo "$ac_try_echo") >&5 6121 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6122 ac_status=$? 6123 grep -v '^ *+' conftest.er1 >conftest.err 6124 rm -f conftest.er1 6125 cat conftest.err >&5 6126 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6127 (exit $ac_status); } >/dev/null && { 6128 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6129 test ! -s conftest.err 6130 }; then 6131 ac_header_preproc=yes 6132 else 6133 $as_echo "$as_me: failed program was:" >&5 6134 sed 's/^/| /' conftest.$ac_ext >&5 6135 6136 ac_header_preproc=no 6137 fi 6138 6139 rm -f conftest.err conftest.$ac_ext 6140 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6141 $as_echo "$ac_header_preproc" >&6; } 6142 6143 # So? What about this header? 6144 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6145 yes:no: ) 6146 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6147 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6148 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6149 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6150 ac_header_preproc=yes 6151 ;; 6152 no:yes:* ) 6153 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6154 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6155 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6156 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6157 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6158 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6159 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6160 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6161 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6162 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6163 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6164 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6165 ( cat <<\_ASBOX 6166 ## ----------------------------------- ## 6167 ## Report this to rappture@nanohub.org ## 6168 ## ----------------------------------- ## 6169 _ASBOX 6170 ) | sed "s/^/$as_me: WARNING: /" >&2 6171 ;; 6172 esac 6173 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6174 $as_echo_n "checking for $ac_header... " >&6; } 6175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6176 $as_echo_n "(cached) " >&6 6177 else 6178 eval "$as_ac_Header=\$ac_header_preproc" 6179 fi 6180 ac_res=`eval 'as_val=${'$as_ac_Header'} 6181 $as_echo "$as_val"'` 6182 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6183 $as_echo "$ac_res" >&6; } 6184 6185 fi 6186 as_val=`eval 'as_val=${'$as_ac_Header'} 6187 $as_echo "$as_val"'` 6188 if test "x$as_val" = x""yes; then 5092 do : 5093 ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default" 5094 if test "x$ac_cv_header_cmath" = xyes; then : 6189 5095 cat >>confdefs.h <<_ACEOF 6190 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`16191 _ACEOF 6192 6193 else 6194 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55096 #define HAVE_CMATH 1 5097 _ACEOF 5098 5099 else 5100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 6195 5101 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6196 5102 fi … … 6198 5104 done 6199 5105 6200 6201 5106 for ac_header in cstdio 6202 do 6203 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6205 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6206 $as_echo_n "checking for $ac_header... " >&6; } 6207 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6208 $as_echo_n "(cached) " >&6 6209 fi 6210 ac_res=`eval 'as_val=${'$as_ac_Header'} 6211 $as_echo "$as_val"'` 6212 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6213 $as_echo "$ac_res" >&6; } 6214 else 6215 # Is the header compilable? 6216 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6217 $as_echo_n "checking $ac_header usability... " >&6; } 6218 cat >conftest.$ac_ext <<_ACEOF 6219 /* confdefs.h. */ 6220 _ACEOF 6221 cat confdefs.h >>conftest.$ac_ext 6222 cat >>conftest.$ac_ext <<_ACEOF 6223 /* end confdefs.h. */ 6224 $ac_includes_default 6225 #include <$ac_header> 6226 _ACEOF 6227 rm -f conftest.$ac_objext 6228 if { (ac_try="$ac_compile" 6229 case "(($ac_try" in 6230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6231 *) ac_try_echo=$ac_try;; 6232 esac 6233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6234 $as_echo "$ac_try_echo") >&5 6235 (eval "$ac_compile") 2>conftest.er1 6236 ac_status=$? 6237 grep -v '^ *+' conftest.er1 >conftest.err 6238 rm -f conftest.er1 6239 cat conftest.err >&5 6240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6241 (exit $ac_status); } && { 6242 test -z "$ac_cxx_werror_flag" || 6243 test ! -s conftest.err 6244 } && test -s conftest.$ac_objext; then 6245 ac_header_compiler=yes 6246 else 6247 $as_echo "$as_me: failed program was:" >&5 6248 sed 's/^/| /' conftest.$ac_ext >&5 6249 6250 ac_header_compiler=no 6251 fi 6252 6253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6254 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6255 $as_echo "$ac_header_compiler" >&6; } 6256 6257 # Is the header present? 6258 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6259 $as_echo_n "checking $ac_header presence... " >&6; } 6260 cat >conftest.$ac_ext <<_ACEOF 6261 /* confdefs.h. */ 6262 _ACEOF 6263 cat confdefs.h >>conftest.$ac_ext 6264 cat >>conftest.$ac_ext <<_ACEOF 6265 /* end confdefs.h. */ 6266 #include <$ac_header> 6267 _ACEOF 6268 if { (ac_try="$ac_cpp conftest.$ac_ext" 6269 case "(($ac_try" in 6270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6271 *) ac_try_echo=$ac_try;; 6272 esac 6273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6274 $as_echo "$ac_try_echo") >&5 6275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6276 ac_status=$? 6277 grep -v '^ *+' conftest.er1 >conftest.err 6278 rm -f conftest.er1 6279 cat conftest.err >&5 6280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6281 (exit $ac_status); } >/dev/null && { 6282 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6283 test ! -s conftest.err 6284 }; then 6285 ac_header_preproc=yes 6286 else 6287 $as_echo "$as_me: failed program was:" >&5 6288 sed 's/^/| /' conftest.$ac_ext >&5 6289 6290 ac_header_preproc=no 6291 fi 6292 6293 rm -f conftest.err conftest.$ac_ext 6294 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6295 $as_echo "$ac_header_preproc" >&6; } 6296 6297 # So? What about this header? 6298 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6299 yes:no: ) 6300 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6301 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6302 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6303 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6304 ac_header_preproc=yes 6305 ;; 6306 no:yes:* ) 6307 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6308 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6309 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6310 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6311 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6312 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6313 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6314 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6315 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6316 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6317 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6318 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6319 ( cat <<\_ASBOX 6320 ## ----------------------------------- ## 6321 ## Report this to rappture@nanohub.org ## 6322 ## ----------------------------------- ## 6323 _ASBOX 6324 ) | sed "s/^/$as_me: WARNING: /" >&2 6325 ;; 6326 esac 6327 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6328 $as_echo_n "checking for $ac_header... " >&6; } 6329 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6330 $as_echo_n "(cached) " >&6 6331 else 6332 eval "$as_ac_Header=\$ac_header_preproc" 6333 fi 6334 ac_res=`eval 'as_val=${'$as_ac_Header'} 6335 $as_echo "$as_val"'` 6336 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6337 $as_echo "$ac_res" >&6; } 6338 6339 fi 6340 as_val=`eval 'as_val=${'$as_ac_Header'} 6341 $as_echo "$as_val"'` 6342 if test "x$as_val" = x""yes; then 5107 do : 5108 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default" 5109 if test "x$ac_cv_header_cstdio" = xyes; then : 6343 5110 cat >>confdefs.h <<_ACEOF 6344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`16345 _ACEOF 6346 6347 else 6348 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55111 #define HAVE_CSTDIO 1 5112 _ACEOF 5113 5114 else 5115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 6349 5116 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6350 5117 fi … … 6352 5119 done 6353 5120 6354 6355 5121 for ac_header in cstdlib 6356 do 6357 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6358 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6359 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6360 $as_echo_n "checking for $ac_header... " >&6; } 6361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6362 $as_echo_n "(cached) " >&6 6363 fi 6364 ac_res=`eval 'as_val=${'$as_ac_Header'} 6365 $as_echo "$as_val"'` 6366 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6367 $as_echo "$ac_res" >&6; } 6368 else 6369 # Is the header compilable? 6370 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6371 $as_echo_n "checking $ac_header usability... " >&6; } 6372 cat >conftest.$ac_ext <<_ACEOF 6373 /* confdefs.h. */ 6374 _ACEOF 6375 cat confdefs.h >>conftest.$ac_ext 6376 cat >>conftest.$ac_ext <<_ACEOF 6377 /* end confdefs.h. */ 6378 $ac_includes_default 6379 #include <$ac_header> 6380 _ACEOF 6381 rm -f conftest.$ac_objext 6382 if { (ac_try="$ac_compile" 6383 case "(($ac_try" in 6384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6385 *) ac_try_echo=$ac_try;; 6386 esac 6387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6388 $as_echo "$ac_try_echo") >&5 6389 (eval "$ac_compile") 2>conftest.er1 6390 ac_status=$? 6391 grep -v '^ *+' conftest.er1 >conftest.err 6392 rm -f conftest.er1 6393 cat conftest.err >&5 6394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6395 (exit $ac_status); } && { 6396 test -z "$ac_cxx_werror_flag" || 6397 test ! -s conftest.err 6398 } && test -s conftest.$ac_objext; then 6399 ac_header_compiler=yes 6400 else 6401 $as_echo "$as_me: failed program was:" >&5 6402 sed 's/^/| /' conftest.$ac_ext >&5 6403 6404 ac_header_compiler=no 6405 fi 6406 6407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6408 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6409 $as_echo "$ac_header_compiler" >&6; } 6410 6411 # Is the header present? 6412 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6413 $as_echo_n "checking $ac_header presence... " >&6; } 6414 cat >conftest.$ac_ext <<_ACEOF 6415 /* confdefs.h. */ 6416 _ACEOF 6417 cat confdefs.h >>conftest.$ac_ext 6418 cat >>conftest.$ac_ext <<_ACEOF 6419 /* end confdefs.h. */ 6420 #include <$ac_header> 6421 _ACEOF 6422 if { (ac_try="$ac_cpp conftest.$ac_ext" 6423 case "(($ac_try" in 6424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6425 *) ac_try_echo=$ac_try;; 6426 esac 6427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6428 $as_echo "$ac_try_echo") >&5 6429 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6430 ac_status=$? 6431 grep -v '^ *+' conftest.er1 >conftest.err 6432 rm -f conftest.er1 6433 cat conftest.err >&5 6434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6435 (exit $ac_status); } >/dev/null && { 6436 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6437 test ! -s conftest.err 6438 }; then 6439 ac_header_preproc=yes 6440 else 6441 $as_echo "$as_me: failed program was:" >&5 6442 sed 's/^/| /' conftest.$ac_ext >&5 6443 6444 ac_header_preproc=no 6445 fi 6446 6447 rm -f conftest.err conftest.$ac_ext 6448 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6449 $as_echo "$ac_header_preproc" >&6; } 6450 6451 # So? What about this header? 6452 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6453 yes:no: ) 6454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6455 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6457 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6458 ac_header_preproc=yes 6459 ;; 6460 no:yes:* ) 6461 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6462 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6463 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6464 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6465 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6466 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6467 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6468 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6469 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6470 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6471 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6472 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6473 ( cat <<\_ASBOX 6474 ## ----------------------------------- ## 6475 ## Report this to rappture@nanohub.org ## 6476 ## ----------------------------------- ## 6477 _ASBOX 6478 ) | sed "s/^/$as_me: WARNING: /" >&2 6479 ;; 6480 esac 6481 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6482 $as_echo_n "checking for $ac_header... " >&6; } 6483 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6484 $as_echo_n "(cached) " >&6 6485 else 6486 eval "$as_ac_Header=\$ac_header_preproc" 6487 fi 6488 ac_res=`eval 'as_val=${'$as_ac_Header'} 6489 $as_echo "$as_val"'` 6490 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6491 $as_echo "$ac_res" >&6; } 6492 6493 fi 6494 as_val=`eval 'as_val=${'$as_ac_Header'} 6495 $as_echo "$as_val"'` 6496 if test "x$as_val" = x""yes; then 5122 do : 5123 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default" 5124 if test "x$ac_cv_header_cstdlib" = xyes; then : 6497 5125 cat >>confdefs.h <<_ACEOF 6498 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`16499 _ACEOF 6500 6501 else 6502 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55126 #define HAVE_CSTDLIB 1 5127 _ACEOF 5128 5129 else 5130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 6503 5131 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6504 5132 fi … … 6506 5134 done 6507 5135 6508 6509 5136 for ac_header in cstring 6510 do 6511 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6513 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6514 $as_echo_n "checking for $ac_header... " >&6; } 6515 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6516 $as_echo_n "(cached) " >&6 6517 fi 6518 ac_res=`eval 'as_val=${'$as_ac_Header'} 6519 $as_echo "$as_val"'` 6520 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6521 $as_echo "$ac_res" >&6; } 6522 else 6523 # Is the header compilable? 6524 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6525 $as_echo_n "checking $ac_header usability... " >&6; } 6526 cat >conftest.$ac_ext <<_ACEOF 6527 /* confdefs.h. */ 6528 _ACEOF 6529 cat confdefs.h >>conftest.$ac_ext 6530 cat >>conftest.$ac_ext <<_ACEOF 6531 /* end confdefs.h. */ 6532 $ac_includes_default 6533 #include <$ac_header> 6534 _ACEOF 6535 rm -f conftest.$ac_objext 6536 if { (ac_try="$ac_compile" 6537 case "(($ac_try" in 6538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6539 *) ac_try_echo=$ac_try;; 6540 esac 6541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6542 $as_echo "$ac_try_echo") >&5 6543 (eval "$ac_compile") 2>conftest.er1 6544 ac_status=$? 6545 grep -v '^ *+' conftest.er1 >conftest.err 6546 rm -f conftest.er1 6547 cat conftest.err >&5 6548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6549 (exit $ac_status); } && { 6550 test -z "$ac_cxx_werror_flag" || 6551 test ! -s conftest.err 6552 } && test -s conftest.$ac_objext; then 6553 ac_header_compiler=yes 6554 else 6555 $as_echo "$as_me: failed program was:" >&5 6556 sed 's/^/| /' conftest.$ac_ext >&5 6557 6558 ac_header_compiler=no 6559 fi 6560 6561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6562 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6563 $as_echo "$ac_header_compiler" >&6; } 6564 6565 # Is the header present? 6566 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6567 $as_echo_n "checking $ac_header presence... " >&6; } 6568 cat >conftest.$ac_ext <<_ACEOF 6569 /* confdefs.h. */ 6570 _ACEOF 6571 cat confdefs.h >>conftest.$ac_ext 6572 cat >>conftest.$ac_ext <<_ACEOF 6573 /* end confdefs.h. */ 6574 #include <$ac_header> 6575 _ACEOF 6576 if { (ac_try="$ac_cpp conftest.$ac_ext" 6577 case "(($ac_try" in 6578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6579 *) ac_try_echo=$ac_try;; 6580 esac 6581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6582 $as_echo "$ac_try_echo") >&5 6583 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6584 ac_status=$? 6585 grep -v '^ *+' conftest.er1 >conftest.err 6586 rm -f conftest.er1 6587 cat conftest.err >&5 6588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6589 (exit $ac_status); } >/dev/null && { 6590 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6591 test ! -s conftest.err 6592 }; then 6593 ac_header_preproc=yes 6594 else 6595 $as_echo "$as_me: failed program was:" >&5 6596 sed 's/^/| /' conftest.$ac_ext >&5 6597 6598 ac_header_preproc=no 6599 fi 6600 6601 rm -f conftest.err conftest.$ac_ext 6602 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6603 $as_echo "$ac_header_preproc" >&6; } 6604 6605 # So? What about this header? 6606 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6607 yes:no: ) 6608 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6609 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6610 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6611 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6612 ac_header_preproc=yes 6613 ;; 6614 no:yes:* ) 6615 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6616 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6617 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6618 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6619 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6620 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6621 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6622 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6623 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6624 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6625 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6626 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6627 ( cat <<\_ASBOX 6628 ## ----------------------------------- ## 6629 ## Report this to rappture@nanohub.org ## 6630 ## ----------------------------------- ## 6631 _ASBOX 6632 ) | sed "s/^/$as_me: WARNING: /" >&2 6633 ;; 6634 esac 6635 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6636 $as_echo_n "checking for $ac_header... " >&6; } 6637 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6638 $as_echo_n "(cached) " >&6 6639 else 6640 eval "$as_ac_Header=\$ac_header_preproc" 6641 fi 6642 ac_res=`eval 'as_val=${'$as_ac_Header'} 6643 $as_echo "$as_val"'` 6644 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6645 $as_echo "$ac_res" >&6; } 6646 6647 fi 6648 as_val=`eval 'as_val=${'$as_ac_Header'} 6649 $as_echo "$as_val"'` 6650 if test "x$as_val" = x""yes; then 5137 do : 5138 ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default" 5139 if test "x$ac_cv_header_cstring" = xyes; then : 6651 5140 cat >>confdefs.h <<_ACEOF 6652 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`16653 _ACEOF 6654 6655 else 6656 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55141 #define HAVE_CSTRING 1 5142 _ACEOF 5143 5144 else 5145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 6657 5146 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6658 5147 fi … … 6660 5149 done 6661 5150 6662 6663 5151 for ac_header in fstream 6664 do 6665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6666 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6667 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6668 $as_echo_n "checking for $ac_header... " >&6; } 6669 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6670 $as_echo_n "(cached) " >&6 6671 fi 6672 ac_res=`eval 'as_val=${'$as_ac_Header'} 6673 $as_echo "$as_val"'` 6674 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6675 $as_echo "$ac_res" >&6; } 6676 else 6677 # Is the header compilable? 6678 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6679 $as_echo_n "checking $ac_header usability... " >&6; } 6680 cat >conftest.$ac_ext <<_ACEOF 6681 /* confdefs.h. */ 6682 _ACEOF 6683 cat confdefs.h >>conftest.$ac_ext 6684 cat >>conftest.$ac_ext <<_ACEOF 6685 /* end confdefs.h. */ 6686 $ac_includes_default 6687 #include <$ac_header> 6688 _ACEOF 6689 rm -f conftest.$ac_objext 6690 if { (ac_try="$ac_compile" 6691 case "(($ac_try" in 6692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6693 *) ac_try_echo=$ac_try;; 6694 esac 6695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6696 $as_echo "$ac_try_echo") >&5 6697 (eval "$ac_compile") 2>conftest.er1 6698 ac_status=$? 6699 grep -v '^ *+' conftest.er1 >conftest.err 6700 rm -f conftest.er1 6701 cat conftest.err >&5 6702 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6703 (exit $ac_status); } && { 6704 test -z "$ac_cxx_werror_flag" || 6705 test ! -s conftest.err 6706 } && test -s conftest.$ac_objext; then 6707 ac_header_compiler=yes 6708 else 6709 $as_echo "$as_me: failed program was:" >&5 6710 sed 's/^/| /' conftest.$ac_ext >&5 6711 6712 ac_header_compiler=no 6713 fi 6714 6715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6716 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6717 $as_echo "$ac_header_compiler" >&6; } 6718 6719 # Is the header present? 6720 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6721 $as_echo_n "checking $ac_header presence... " >&6; } 6722 cat >conftest.$ac_ext <<_ACEOF 6723 /* confdefs.h. */ 6724 _ACEOF 6725 cat confdefs.h >>conftest.$ac_ext 6726 cat >>conftest.$ac_ext <<_ACEOF 6727 /* end confdefs.h. */ 6728 #include <$ac_header> 6729 _ACEOF 6730 if { (ac_try="$ac_cpp conftest.$ac_ext" 6731 case "(($ac_try" in 6732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6733 *) ac_try_echo=$ac_try;; 6734 esac 6735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6736 $as_echo "$ac_try_echo") >&5 6737 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6738 ac_status=$? 6739 grep -v '^ *+' conftest.er1 >conftest.err 6740 rm -f conftest.er1 6741 cat conftest.err >&5 6742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6743 (exit $ac_status); } >/dev/null && { 6744 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6745 test ! -s conftest.err 6746 }; then 6747 ac_header_preproc=yes 6748 else 6749 $as_echo "$as_me: failed program was:" >&5 6750 sed 's/^/| /' conftest.$ac_ext >&5 6751 6752 ac_header_preproc=no 6753 fi 6754 6755 rm -f conftest.err conftest.$ac_ext 6756 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6757 $as_echo "$ac_header_preproc" >&6; } 6758 6759 # So? What about this header? 6760 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6761 yes:no: ) 6762 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6763 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6764 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6765 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6766 ac_header_preproc=yes 6767 ;; 6768 no:yes:* ) 6769 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6770 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6771 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6772 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6773 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6774 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6775 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6776 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6777 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6778 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6779 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6780 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6781 ( cat <<\_ASBOX 6782 ## ----------------------------------- ## 6783 ## Report this to rappture@nanohub.org ## 6784 ## ----------------------------------- ## 6785 _ASBOX 6786 ) | sed "s/^/$as_me: WARNING: /" >&2 6787 ;; 6788 esac 6789 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6790 $as_echo_n "checking for $ac_header... " >&6; } 6791 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6792 $as_echo_n "(cached) " >&6 6793 else 6794 eval "$as_ac_Header=\$ac_header_preproc" 6795 fi 6796 ac_res=`eval 'as_val=${'$as_ac_Header'} 6797 $as_echo "$as_val"'` 6798 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6799 $as_echo "$ac_res" >&6; } 6800 6801 fi 6802 as_val=`eval 'as_val=${'$as_ac_Header'} 6803 $as_echo "$as_val"'` 6804 if test "x$as_val" = x""yes; then 5152 do : 5153 ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default" 5154 if test "x$ac_cv_header_fstream" = xyes; then : 6805 5155 cat >>confdefs.h <<_ACEOF 6806 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`16807 _ACEOF 6808 6809 else 6810 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55156 #define HAVE_FSTREAM 1 5157 _ACEOF 5158 5159 else 5160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 6811 5161 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6812 5162 fi … … 6814 5164 done 6815 5165 6816 6817 5166 for ac_header in list 6818 do 6819 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6820 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6821 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6822 $as_echo_n "checking for $ac_header... " >&6; } 6823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6824 $as_echo_n "(cached) " >&6 6825 fi 6826 ac_res=`eval 'as_val=${'$as_ac_Header'} 6827 $as_echo "$as_val"'` 6828 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6829 $as_echo "$ac_res" >&6; } 6830 else 6831 # Is the header compilable? 6832 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6833 $as_echo_n "checking $ac_header usability... " >&6; } 6834 cat >conftest.$ac_ext <<_ACEOF 6835 /* confdefs.h. */ 6836 _ACEOF 6837 cat confdefs.h >>conftest.$ac_ext 6838 cat >>conftest.$ac_ext <<_ACEOF 6839 /* end confdefs.h. */ 6840 $ac_includes_default 6841 #include <$ac_header> 6842 _ACEOF 6843 rm -f conftest.$ac_objext 6844 if { (ac_try="$ac_compile" 6845 case "(($ac_try" in 6846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6847 *) ac_try_echo=$ac_try;; 6848 esac 6849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6850 $as_echo "$ac_try_echo") >&5 6851 (eval "$ac_compile") 2>conftest.er1 6852 ac_status=$? 6853 grep -v '^ *+' conftest.er1 >conftest.err 6854 rm -f conftest.er1 6855 cat conftest.err >&5 6856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6857 (exit $ac_status); } && { 6858 test -z "$ac_cxx_werror_flag" || 6859 test ! -s conftest.err 6860 } && test -s conftest.$ac_objext; then 6861 ac_header_compiler=yes 6862 else 6863 $as_echo "$as_me: failed program was:" >&5 6864 sed 's/^/| /' conftest.$ac_ext >&5 6865 6866 ac_header_compiler=no 6867 fi 6868 6869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6870 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6871 $as_echo "$ac_header_compiler" >&6; } 6872 6873 # Is the header present? 6874 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6875 $as_echo_n "checking $ac_header presence... " >&6; } 6876 cat >conftest.$ac_ext <<_ACEOF 6877 /* confdefs.h. */ 6878 _ACEOF 6879 cat confdefs.h >>conftest.$ac_ext 6880 cat >>conftest.$ac_ext <<_ACEOF 6881 /* end confdefs.h. */ 6882 #include <$ac_header> 6883 _ACEOF 6884 if { (ac_try="$ac_cpp conftest.$ac_ext" 6885 case "(($ac_try" in 6886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6887 *) ac_try_echo=$ac_try;; 6888 esac 6889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6890 $as_echo "$ac_try_echo") >&5 6891 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6892 ac_status=$? 6893 grep -v '^ *+' conftest.er1 >conftest.err 6894 rm -f conftest.er1 6895 cat conftest.err >&5 6896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6897 (exit $ac_status); } >/dev/null && { 6898 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6899 test ! -s conftest.err 6900 }; then 6901 ac_header_preproc=yes 6902 else 6903 $as_echo "$as_me: failed program was:" >&5 6904 sed 's/^/| /' conftest.$ac_ext >&5 6905 6906 ac_header_preproc=no 6907 fi 6908 6909 rm -f conftest.err conftest.$ac_ext 6910 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6911 $as_echo "$ac_header_preproc" >&6; } 6912 6913 # So? What about this header? 6914 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6915 yes:no: ) 6916 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6917 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6918 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6919 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6920 ac_header_preproc=yes 6921 ;; 6922 no:yes:* ) 6923 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6924 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6925 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6926 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6927 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6928 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6929 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6930 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6931 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6932 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6933 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6934 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6935 ( cat <<\_ASBOX 6936 ## ----------------------------------- ## 6937 ## Report this to rappture@nanohub.org ## 6938 ## ----------------------------------- ## 6939 _ASBOX 6940 ) | sed "s/^/$as_me: WARNING: /" >&2 6941 ;; 6942 esac 6943 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6944 $as_echo_n "checking for $ac_header... " >&6; } 6945 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6946 $as_echo_n "(cached) " >&6 6947 else 6948 eval "$as_ac_Header=\$ac_header_preproc" 6949 fi 6950 ac_res=`eval 'as_val=${'$as_ac_Header'} 6951 $as_echo "$as_val"'` 6952 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6953 $as_echo "$ac_res" >&6; } 6954 6955 fi 6956 as_val=`eval 'as_val=${'$as_ac_Header'} 6957 $as_echo "$as_val"'` 6958 if test "x$as_val" = x""yes; then 5167 do : 5168 ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default" 5169 if test "x$ac_cv_header_list" = xyes; then : 6959 5170 cat >>confdefs.h <<_ACEOF 6960 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`16961 _ACEOF 6962 6963 else 6964 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55171 #define HAVE_LIST 1 5172 _ACEOF 5173 5174 else 5175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 6965 5176 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6966 5177 fi … … 6968 5179 done 6969 5180 6970 6971 5181 for ac_header in iostream 6972 do 6973 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6975 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6976 $as_echo_n "checking for $ac_header... " >&6; } 6977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6978 $as_echo_n "(cached) " >&6 6979 fi 6980 ac_res=`eval 'as_val=${'$as_ac_Header'} 6981 $as_echo "$as_val"'` 6982 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6983 $as_echo "$ac_res" >&6; } 6984 else 6985 # Is the header compilable? 6986 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6987 $as_echo_n "checking $ac_header usability... " >&6; } 6988 cat >conftest.$ac_ext <<_ACEOF 6989 /* confdefs.h. */ 6990 _ACEOF 6991 cat confdefs.h >>conftest.$ac_ext 6992 cat >>conftest.$ac_ext <<_ACEOF 6993 /* end confdefs.h. */ 6994 $ac_includes_default 6995 #include <$ac_header> 6996 _ACEOF 6997 rm -f conftest.$ac_objext 6998 if { (ac_try="$ac_compile" 6999 case "(($ac_try" in 7000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7001 *) ac_try_echo=$ac_try;; 7002 esac 7003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7004 $as_echo "$ac_try_echo") >&5 7005 (eval "$ac_compile") 2>conftest.er1 7006 ac_status=$? 7007 grep -v '^ *+' conftest.er1 >conftest.err 7008 rm -f conftest.er1 7009 cat conftest.err >&5 7010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7011 (exit $ac_status); } && { 7012 test -z "$ac_cxx_werror_flag" || 7013 test ! -s conftest.err 7014 } && test -s conftest.$ac_objext; then 7015 ac_header_compiler=yes 7016 else 7017 $as_echo "$as_me: failed program was:" >&5 7018 sed 's/^/| /' conftest.$ac_ext >&5 7019 7020 ac_header_compiler=no 7021 fi 7022 7023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7024 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7025 $as_echo "$ac_header_compiler" >&6; } 7026 7027 # Is the header present? 7028 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7029 $as_echo_n "checking $ac_header presence... " >&6; } 7030 cat >conftest.$ac_ext <<_ACEOF 7031 /* confdefs.h. */ 7032 _ACEOF 7033 cat confdefs.h >>conftest.$ac_ext 7034 cat >>conftest.$ac_ext <<_ACEOF 7035 /* end confdefs.h. */ 7036 #include <$ac_header> 7037 _ACEOF 7038 if { (ac_try="$ac_cpp conftest.$ac_ext" 7039 case "(($ac_try" in 7040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7041 *) ac_try_echo=$ac_try;; 7042 esac 7043 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7044 $as_echo "$ac_try_echo") >&5 7045 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7046 ac_status=$? 7047 grep -v '^ *+' conftest.er1 >conftest.err 7048 rm -f conftest.er1 7049 cat conftest.err >&5 7050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7051 (exit $ac_status); } >/dev/null && { 7052 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7053 test ! -s conftest.err 7054 }; then 7055 ac_header_preproc=yes 7056 else 7057 $as_echo "$as_me: failed program was:" >&5 7058 sed 's/^/| /' conftest.$ac_ext >&5 7059 7060 ac_header_preproc=no 7061 fi 7062 7063 rm -f conftest.err conftest.$ac_ext 7064 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7065 $as_echo "$ac_header_preproc" >&6; } 7066 7067 # So? What about this header? 7068 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7069 yes:no: ) 7070 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7071 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7072 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7073 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7074 ac_header_preproc=yes 7075 ;; 7076 no:yes:* ) 7077 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7078 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7079 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7080 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7081 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7082 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7083 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7084 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7085 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7086 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7087 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7088 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7089 ( cat <<\_ASBOX 7090 ## ----------------------------------- ## 7091 ## Report this to rappture@nanohub.org ## 7092 ## ----------------------------------- ## 7093 _ASBOX 7094 ) | sed "s/^/$as_me: WARNING: /" >&2 7095 ;; 7096 esac 7097 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7098 $as_echo_n "checking for $ac_header... " >&6; } 7099 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7100 $as_echo_n "(cached) " >&6 7101 else 7102 eval "$as_ac_Header=\$ac_header_preproc" 7103 fi 7104 ac_res=`eval 'as_val=${'$as_ac_Header'} 7105 $as_echo "$as_val"'` 7106 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7107 $as_echo "$ac_res" >&6; } 7108 7109 fi 7110 as_val=`eval 'as_val=${'$as_ac_Header'} 7111 $as_echo "$as_val"'` 7112 if test "x$as_val" = x""yes; then 5182 do : 5183 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default" 5184 if test "x$ac_cv_header_iostream" = xyes; then : 7113 5185 cat >>confdefs.h <<_ACEOF 7114 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`17115 _ACEOF 7116 7117 else 7118 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55186 #define HAVE_IOSTREAM 1 5187 _ACEOF 5188 5189 else 5190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 7119 5191 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7120 5192 fi … … 7122 5194 done 7123 5195 7124 7125 5196 for ac_header in iterator 7126 do 7127 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7129 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7130 $as_echo_n "checking for $ac_header... " >&6; } 7131 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7132 $as_echo_n "(cached) " >&6 7133 fi 7134 ac_res=`eval 'as_val=${'$as_ac_Header'} 7135 $as_echo "$as_val"'` 7136 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7137 $as_echo "$ac_res" >&6; } 7138 else 7139 # Is the header compilable? 7140 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7141 $as_echo_n "checking $ac_header usability... " >&6; } 7142 cat >conftest.$ac_ext <<_ACEOF 7143 /* confdefs.h. */ 7144 _ACEOF 7145 cat confdefs.h >>conftest.$ac_ext 7146 cat >>conftest.$ac_ext <<_ACEOF 7147 /* end confdefs.h. */ 7148 $ac_includes_default 7149 #include <$ac_header> 7150 _ACEOF 7151 rm -f conftest.$ac_objext 7152 if { (ac_try="$ac_compile" 7153 case "(($ac_try" in 7154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7155 *) ac_try_echo=$ac_try;; 7156 esac 7157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7158 $as_echo "$ac_try_echo") >&5 7159 (eval "$ac_compile") 2>conftest.er1 7160 ac_status=$? 7161 grep -v '^ *+' conftest.er1 >conftest.err 7162 rm -f conftest.er1 7163 cat conftest.err >&5 7164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7165 (exit $ac_status); } && { 7166 test -z "$ac_cxx_werror_flag" || 7167 test ! -s conftest.err 7168 } && test -s conftest.$ac_objext; then 7169 ac_header_compiler=yes 7170 else 7171 $as_echo "$as_me: failed program was:" >&5 7172 sed 's/^/| /' conftest.$ac_ext >&5 7173 7174 ac_header_compiler=no 7175 fi 7176 7177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7178 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7179 $as_echo "$ac_header_compiler" >&6; } 7180 7181 # Is the header present? 7182 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7183 $as_echo_n "checking $ac_header presence... " >&6; } 7184 cat >conftest.$ac_ext <<_ACEOF 7185 /* confdefs.h. */ 7186 _ACEOF 7187 cat confdefs.h >>conftest.$ac_ext 7188 cat >>conftest.$ac_ext <<_ACEOF 7189 /* end confdefs.h. */ 7190 #include <$ac_header> 7191 _ACEOF 7192 if { (ac_try="$ac_cpp conftest.$ac_ext" 7193 case "(($ac_try" in 7194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7195 *) ac_try_echo=$ac_try;; 7196 esac 7197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7198 $as_echo "$ac_try_echo") >&5 7199 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7200 ac_status=$? 7201 grep -v '^ *+' conftest.er1 >conftest.err 7202 rm -f conftest.er1 7203 cat conftest.err >&5 7204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7205 (exit $ac_status); } >/dev/null && { 7206 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7207 test ! -s conftest.err 7208 }; then 7209 ac_header_preproc=yes 7210 else 7211 $as_echo "$as_me: failed program was:" >&5 7212 sed 's/^/| /' conftest.$ac_ext >&5 7213 7214 ac_header_preproc=no 7215 fi 7216 7217 rm -f conftest.err conftest.$ac_ext 7218 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7219 $as_echo "$ac_header_preproc" >&6; } 7220 7221 # So? What about this header? 7222 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7223 yes:no: ) 7224 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7225 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7226 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7227 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7228 ac_header_preproc=yes 7229 ;; 7230 no:yes:* ) 7231 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7232 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7233 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7234 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7235 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7236 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7237 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7238 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7239 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7240 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7241 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7242 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7243 ( cat <<\_ASBOX 7244 ## ----------------------------------- ## 7245 ## Report this to rappture@nanohub.org ## 7246 ## ----------------------------------- ## 7247 _ASBOX 7248 ) | sed "s/^/$as_me: WARNING: /" >&2 7249 ;; 7250 esac 7251 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7252 $as_echo_n "checking for $ac_header... " >&6; } 7253 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7254 $as_echo_n "(cached) " >&6 7255 else 7256 eval "$as_ac_Header=\$ac_header_preproc" 7257 fi 7258 ac_res=`eval 'as_val=${'$as_ac_Header'} 7259 $as_echo "$as_val"'` 7260 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7261 $as_echo "$ac_res" >&6; } 7262 7263 fi 7264 as_val=`eval 'as_val=${'$as_ac_Header'} 7265 $as_echo "$as_val"'` 7266 if test "x$as_val" = x""yes; then 5197 do : 5198 ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default" 5199 if test "x$ac_cv_header_iterator" = xyes; then : 7267 5200 cat >>confdefs.h <<_ACEOF 7268 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`17269 _ACEOF 7270 7271 else 7272 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55201 #define HAVE_ITERATOR 1 5202 _ACEOF 5203 5204 else 5205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 7273 5206 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7274 5207 fi … … 7276 5209 done 7277 5210 7278 7279 5211 for ac_header in sstream 7280 do 7281 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7282 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7283 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7284 $as_echo_n "checking for $ac_header... " >&6; } 7285 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7286 $as_echo_n "(cached) " >&6 7287 fi 7288 ac_res=`eval 'as_val=${'$as_ac_Header'} 7289 $as_echo "$as_val"'` 7290 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7291 $as_echo "$ac_res" >&6; } 7292 else 7293 # Is the header compilable? 7294 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7295 $as_echo_n "checking $ac_header usability... " >&6; } 7296 cat >conftest.$ac_ext <<_ACEOF 7297 /* confdefs.h. */ 7298 _ACEOF 7299 cat confdefs.h >>conftest.$ac_ext 7300 cat >>conftest.$ac_ext <<_ACEOF 7301 /* end confdefs.h. */ 7302 $ac_includes_default 7303 #include <$ac_header> 7304 _ACEOF 7305 rm -f conftest.$ac_objext 7306 if { (ac_try="$ac_compile" 7307 case "(($ac_try" in 7308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7309 *) ac_try_echo=$ac_try;; 7310 esac 7311 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7312 $as_echo "$ac_try_echo") >&5 7313 (eval "$ac_compile") 2>conftest.er1 7314 ac_status=$? 7315 grep -v '^ *+' conftest.er1 >conftest.err 7316 rm -f conftest.er1 7317 cat conftest.err >&5 7318 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7319 (exit $ac_status); } && { 7320 test -z "$ac_cxx_werror_flag" || 7321 test ! -s conftest.err 7322 } && test -s conftest.$ac_objext; then 7323 ac_header_compiler=yes 7324 else 7325 $as_echo "$as_me: failed program was:" >&5 7326 sed 's/^/| /' conftest.$ac_ext >&5 7327 7328 ac_header_compiler=no 7329 fi 7330 7331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7332 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7333 $as_echo "$ac_header_compiler" >&6; } 7334 7335 # Is the header present? 7336 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7337 $as_echo_n "checking $ac_header presence... " >&6; } 7338 cat >conftest.$ac_ext <<_ACEOF 7339 /* confdefs.h. */ 7340 _ACEOF 7341 cat confdefs.h >>conftest.$ac_ext 7342 cat >>conftest.$ac_ext <<_ACEOF 7343 /* end confdefs.h. */ 7344 #include <$ac_header> 7345 _ACEOF 7346 if { (ac_try="$ac_cpp conftest.$ac_ext" 7347 case "(($ac_try" in 7348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7349 *) ac_try_echo=$ac_try;; 7350 esac 7351 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7352 $as_echo "$ac_try_echo") >&5 7353 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7354 ac_status=$? 7355 grep -v '^ *+' conftest.er1 >conftest.err 7356 rm -f conftest.er1 7357 cat conftest.err >&5 7358 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7359 (exit $ac_status); } >/dev/null && { 7360 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7361 test ! -s conftest.err 7362 }; then 7363 ac_header_preproc=yes 7364 else 7365 $as_echo "$as_me: failed program was:" >&5 7366 sed 's/^/| /' conftest.$ac_ext >&5 7367 7368 ac_header_preproc=no 7369 fi 7370 7371 rm -f conftest.err conftest.$ac_ext 7372 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7373 $as_echo "$ac_header_preproc" >&6; } 7374 7375 # So? What about this header? 7376 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7377 yes:no: ) 7378 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7379 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7380 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7381 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7382 ac_header_preproc=yes 7383 ;; 7384 no:yes:* ) 7385 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7386 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7387 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7388 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7389 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7390 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7391 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7392 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7393 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7394 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7395 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7396 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7397 ( cat <<\_ASBOX 7398 ## ----------------------------------- ## 7399 ## Report this to rappture@nanohub.org ## 7400 ## ----------------------------------- ## 7401 _ASBOX 7402 ) | sed "s/^/$as_me: WARNING: /" >&2 7403 ;; 7404 esac 7405 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7406 $as_echo_n "checking for $ac_header... " >&6; } 7407 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7408 $as_echo_n "(cached) " >&6 7409 else 7410 eval "$as_ac_Header=\$ac_header_preproc" 7411 fi 7412 ac_res=`eval 'as_val=${'$as_ac_Header'} 7413 $as_echo "$as_val"'` 7414 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7415 $as_echo "$ac_res" >&6; } 7416 7417 fi 7418 as_val=`eval 'as_val=${'$as_ac_Header'} 7419 $as_echo "$as_val"'` 7420 if test "x$as_val" = x""yes; then 5212 do : 5213 ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default" 5214 if test "x$ac_cv_header_sstream" = xyes; then : 7421 5215 cat >>confdefs.h <<_ACEOF 7422 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`17423 _ACEOF 7424 7425 else 7426 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55216 #define HAVE_SSTREAM 1 5217 _ACEOF 5218 5219 else 5220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 7427 5221 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7428 5222 fi … … 7430 5224 done 7431 5225 7432 7433 5226 for ac_header in stack 7434 do 7435 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7436 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7437 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7438 $as_echo_n "checking for $ac_header... " >&6; } 7439 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7440 $as_echo_n "(cached) " >&6 7441 fi 7442 ac_res=`eval 'as_val=${'$as_ac_Header'} 7443 $as_echo "$as_val"'` 7444 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7445 $as_echo "$ac_res" >&6; } 7446 else 7447 # Is the header compilable? 7448 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7449 $as_echo_n "checking $ac_header usability... " >&6; } 7450 cat >conftest.$ac_ext <<_ACEOF 7451 /* confdefs.h. */ 7452 _ACEOF 7453 cat confdefs.h >>conftest.$ac_ext 7454 cat >>conftest.$ac_ext <<_ACEOF 7455 /* end confdefs.h. */ 7456 $ac_includes_default 7457 #include <$ac_header> 7458 _ACEOF 7459 rm -f conftest.$ac_objext 7460 if { (ac_try="$ac_compile" 7461 case "(($ac_try" in 7462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7463 *) ac_try_echo=$ac_try;; 7464 esac 7465 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7466 $as_echo "$ac_try_echo") >&5 7467 (eval "$ac_compile") 2>conftest.er1 7468 ac_status=$? 7469 grep -v '^ *+' conftest.er1 >conftest.err 7470 rm -f conftest.er1 7471 cat conftest.err >&5 7472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7473 (exit $ac_status); } && { 7474 test -z "$ac_cxx_werror_flag" || 7475 test ! -s conftest.err 7476 } && test -s conftest.$ac_objext; then 7477 ac_header_compiler=yes 7478 else 7479 $as_echo "$as_me: failed program was:" >&5 7480 sed 's/^/| /' conftest.$ac_ext >&5 7481 7482 ac_header_compiler=no 7483 fi 7484 7485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7486 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7487 $as_echo "$ac_header_compiler" >&6; } 7488 7489 # Is the header present? 7490 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7491 $as_echo_n "checking $ac_header presence... " >&6; } 7492 cat >conftest.$ac_ext <<_ACEOF 7493 /* confdefs.h. */ 7494 _ACEOF 7495 cat confdefs.h >>conftest.$ac_ext 7496 cat >>conftest.$ac_ext <<_ACEOF 7497 /* end confdefs.h. */ 7498 #include <$ac_header> 7499 _ACEOF 7500 if { (ac_try="$ac_cpp conftest.$ac_ext" 7501 case "(($ac_try" in 7502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7503 *) ac_try_echo=$ac_try;; 7504 esac 7505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7506 $as_echo "$ac_try_echo") >&5 7507 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7508 ac_status=$? 7509 grep -v '^ *+' conftest.er1 >conftest.err 7510 rm -f conftest.er1 7511 cat conftest.err >&5 7512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7513 (exit $ac_status); } >/dev/null && { 7514 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7515 test ! -s conftest.err 7516 }; then 7517 ac_header_preproc=yes 7518 else 7519 $as_echo "$as_me: failed program was:" >&5 7520 sed 's/^/| /' conftest.$ac_ext >&5 7521 7522 ac_header_preproc=no 7523 fi 7524 7525 rm -f conftest.err conftest.$ac_ext 7526 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7527 $as_echo "$ac_header_preproc" >&6; } 7528 7529 # So? What about this header? 7530 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7531 yes:no: ) 7532 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7533 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7534 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7535 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7536 ac_header_preproc=yes 7537 ;; 7538 no:yes:* ) 7539 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7540 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7541 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7542 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7543 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7544 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7545 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7546 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7547 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7548 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7549 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7550 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7551 ( cat <<\_ASBOX 7552 ## ----------------------------------- ## 7553 ## Report this to rappture@nanohub.org ## 7554 ## ----------------------------------- ## 7555 _ASBOX 7556 ) | sed "s/^/$as_me: WARNING: /" >&2 7557 ;; 7558 esac 7559 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7560 $as_echo_n "checking for $ac_header... " >&6; } 7561 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7562 $as_echo_n "(cached) " >&6 7563 else 7564 eval "$as_ac_Header=\$ac_header_preproc" 7565 fi 7566 ac_res=`eval 'as_val=${'$as_ac_Header'} 7567 $as_echo "$as_val"'` 7568 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7569 $as_echo "$ac_res" >&6; } 7570 7571 fi 7572 as_val=`eval 'as_val=${'$as_ac_Header'} 7573 $as_echo "$as_val"'` 7574 if test "x$as_val" = x""yes; then 5227 do : 5228 ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default" 5229 if test "x$ac_cv_header_stack" = xyes; then : 7575 5230 cat >>confdefs.h <<_ACEOF 7576 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`17577 _ACEOF 7578 7579 else 7580 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55231 #define HAVE_STACK 1 5232 _ACEOF 5233 5234 else 5235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 7581 5236 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7582 5237 fi … … 7584 5239 done 7585 5240 7586 7587 5241 for ac_header in string 7588 do 7589 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7591 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7592 $as_echo_n "checking for $ac_header... " >&6; } 7593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7594 $as_echo_n "(cached) " >&6 7595 fi 7596 ac_res=`eval 'as_val=${'$as_ac_Header'} 7597 $as_echo "$as_val"'` 7598 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7599 $as_echo "$ac_res" >&6; } 7600 else 7601 # Is the header compilable? 7602 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7603 $as_echo_n "checking $ac_header usability... " >&6; } 7604 cat >conftest.$ac_ext <<_ACEOF 7605 /* confdefs.h. */ 7606 _ACEOF 7607 cat confdefs.h >>conftest.$ac_ext 7608 cat >>conftest.$ac_ext <<_ACEOF 7609 /* end confdefs.h. */ 7610 $ac_includes_default 7611 #include <$ac_header> 7612 _ACEOF 7613 rm -f conftest.$ac_objext 7614 if { (ac_try="$ac_compile" 7615 case "(($ac_try" in 7616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7617 *) ac_try_echo=$ac_try;; 7618 esac 7619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7620 $as_echo "$ac_try_echo") >&5 7621 (eval "$ac_compile") 2>conftest.er1 7622 ac_status=$? 7623 grep -v '^ *+' conftest.er1 >conftest.err 7624 rm -f conftest.er1 7625 cat conftest.err >&5 7626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7627 (exit $ac_status); } && { 7628 test -z "$ac_cxx_werror_flag" || 7629 test ! -s conftest.err 7630 } && test -s conftest.$ac_objext; then 7631 ac_header_compiler=yes 7632 else 7633 $as_echo "$as_me: failed program was:" >&5 7634 sed 's/^/| /' conftest.$ac_ext >&5 7635 7636 ac_header_compiler=no 7637 fi 7638 7639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7640 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7641 $as_echo "$ac_header_compiler" >&6; } 7642 7643 # Is the header present? 7644 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7645 $as_echo_n "checking $ac_header presence... " >&6; } 7646 cat >conftest.$ac_ext <<_ACEOF 7647 /* confdefs.h. */ 7648 _ACEOF 7649 cat confdefs.h >>conftest.$ac_ext 7650 cat >>conftest.$ac_ext <<_ACEOF 7651 /* end confdefs.h. */ 7652 #include <$ac_header> 7653 _ACEOF 7654 if { (ac_try="$ac_cpp conftest.$ac_ext" 7655 case "(($ac_try" in 7656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7657 *) ac_try_echo=$ac_try;; 7658 esac 7659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7660 $as_echo "$ac_try_echo") >&5 7661 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7662 ac_status=$? 7663 grep -v '^ *+' conftest.er1 >conftest.err 7664 rm -f conftest.er1 7665 cat conftest.err >&5 7666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7667 (exit $ac_status); } >/dev/null && { 7668 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7669 test ! -s conftest.err 7670 }; then 7671 ac_header_preproc=yes 7672 else 7673 $as_echo "$as_me: failed program was:" >&5 7674 sed 's/^/| /' conftest.$ac_ext >&5 7675 7676 ac_header_preproc=no 7677 fi 7678 7679 rm -f conftest.err conftest.$ac_ext 7680 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7681 $as_echo "$ac_header_preproc" >&6; } 7682 7683 # So? What about this header? 7684 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7685 yes:no: ) 7686 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7687 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7688 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7689 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7690 ac_header_preproc=yes 7691 ;; 7692 no:yes:* ) 7693 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7694 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7695 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7696 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7697 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7698 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7699 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7700 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7701 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7702 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7703 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7704 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7705 ( cat <<\_ASBOX 7706 ## ----------------------------------- ## 7707 ## Report this to rappture@nanohub.org ## 7708 ## ----------------------------------- ## 7709 _ASBOX 7710 ) | sed "s/^/$as_me: WARNING: /" >&2 7711 ;; 7712 esac 7713 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7714 $as_echo_n "checking for $ac_header... " >&6; } 7715 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7716 $as_echo_n "(cached) " >&6 7717 else 7718 eval "$as_ac_Header=\$ac_header_preproc" 7719 fi 7720 ac_res=`eval 'as_val=${'$as_ac_Header'} 7721 $as_echo "$as_val"'` 7722 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7723 $as_echo "$ac_res" >&6; } 7724 7725 fi 7726 as_val=`eval 'as_val=${'$as_ac_Header'} 7727 $as_echo "$as_val"'` 7728 if test "x$as_val" = x""yes; then 5242 do : 5243 ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default" 5244 if test "x$ac_cv_header_string" = xyes; then : 7729 5245 cat >>confdefs.h <<_ACEOF 7730 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`17731 _ACEOF 7732 7733 else 7734 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55246 #define HAVE_STRING 1 5247 _ACEOF 5248 5249 else 5250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 7735 5251 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7736 5252 fi … … 7738 5254 done 7739 5255 7740 7741 5256 for ac_header in vector 7742 do 7743 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7744 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7745 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7746 $as_echo_n "checking for $ac_header... " >&6; } 7747 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7748 $as_echo_n "(cached) " >&6 7749 fi 7750 ac_res=`eval 'as_val=${'$as_ac_Header'} 7751 $as_echo "$as_val"'` 7752 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7753 $as_echo "$ac_res" >&6; } 7754 else 7755 # Is the header compilable? 7756 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7757 $as_echo_n "checking $ac_header usability... " >&6; } 7758 cat >conftest.$ac_ext <<_ACEOF 7759 /* confdefs.h. */ 7760 _ACEOF 7761 cat confdefs.h >>conftest.$ac_ext 7762 cat >>conftest.$ac_ext <<_ACEOF 7763 /* end confdefs.h. */ 7764 $ac_includes_default 7765 #include <$ac_header> 7766 _ACEOF 7767 rm -f conftest.$ac_objext 7768 if { (ac_try="$ac_compile" 7769 case "(($ac_try" in 7770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7771 *) ac_try_echo=$ac_try;; 7772 esac 7773 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7774 $as_echo "$ac_try_echo") >&5 7775 (eval "$ac_compile") 2>conftest.er1 7776 ac_status=$? 7777 grep -v '^ *+' conftest.er1 >conftest.err 7778 rm -f conftest.er1 7779 cat conftest.err >&5 7780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7781 (exit $ac_status); } && { 7782 test -z "$ac_cxx_werror_flag" || 7783 test ! -s conftest.err 7784 } && test -s conftest.$ac_objext; then 7785 ac_header_compiler=yes 7786 else 7787 $as_echo "$as_me: failed program was:" >&5 7788 sed 's/^/| /' conftest.$ac_ext >&5 7789 7790 ac_header_compiler=no 7791 fi 7792 7793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7794 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7795 $as_echo "$ac_header_compiler" >&6; } 7796 7797 # Is the header present? 7798 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7799 $as_echo_n "checking $ac_header presence... " >&6; } 7800 cat >conftest.$ac_ext <<_ACEOF 7801 /* confdefs.h. */ 7802 _ACEOF 7803 cat confdefs.h >>conftest.$ac_ext 7804 cat >>conftest.$ac_ext <<_ACEOF 7805 /* end confdefs.h. */ 7806 #include <$ac_header> 7807 _ACEOF 7808 if { (ac_try="$ac_cpp conftest.$ac_ext" 7809 case "(($ac_try" in 7810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7811 *) ac_try_echo=$ac_try;; 7812 esac 7813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7814 $as_echo "$ac_try_echo") >&5 7815 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7816 ac_status=$? 7817 grep -v '^ *+' conftest.er1 >conftest.err 7818 rm -f conftest.er1 7819 cat conftest.err >&5 7820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7821 (exit $ac_status); } >/dev/null && { 7822 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7823 test ! -s conftest.err 7824 }; then 7825 ac_header_preproc=yes 7826 else 7827 $as_echo "$as_me: failed program was:" >&5 7828 sed 's/^/| /' conftest.$ac_ext >&5 7829 7830 ac_header_preproc=no 7831 fi 7832 7833 rm -f conftest.err conftest.$ac_ext 7834 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7835 $as_echo "$ac_header_preproc" >&6; } 7836 7837 # So? What about this header? 7838 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7839 yes:no: ) 7840 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7841 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7842 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7843 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7844 ac_header_preproc=yes 7845 ;; 7846 no:yes:* ) 7847 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7848 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7849 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7850 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7851 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7852 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7853 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7854 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7855 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7856 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7857 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7858 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7859 ( cat <<\_ASBOX 7860 ## ----------------------------------- ## 7861 ## Report this to rappture@nanohub.org ## 7862 ## ----------------------------------- ## 7863 _ASBOX 7864 ) | sed "s/^/$as_me: WARNING: /" >&2 7865 ;; 7866 esac 7867 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7868 $as_echo_n "checking for $ac_header... " >&6; } 7869 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7870 $as_echo_n "(cached) " >&6 7871 else 7872 eval "$as_ac_Header=\$ac_header_preproc" 7873 fi 7874 ac_res=`eval 'as_val=${'$as_ac_Header'} 7875 $as_echo "$as_val"'` 7876 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7877 $as_echo "$ac_res" >&6; } 7878 7879 fi 7880 as_val=`eval 'as_val=${'$as_ac_Header'} 7881 $as_echo "$as_val"'` 7882 if test "x$as_val" = x""yes; then 5257 do : 5258 ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default" 5259 if test "x$ac_cv_header_vector" = xyes; then : 7883 5260 cat >>confdefs.h <<_ACEOF 7884 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`17885 _ACEOF 7886 7887 else 7888 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55261 #define HAVE_VECTOR 1 5262 _ACEOF 5263 5264 else 5265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 7889 5266 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7890 5267 fi … … 7893 5270 7894 5271 7895 7896 5272 for ac_header in assert.h 7897 do 7898 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7900 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7901 $as_echo_n "checking for $ac_header... " >&6; } 7902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7903 $as_echo_n "(cached) " >&6 7904 fi 7905 ac_res=`eval 'as_val=${'$as_ac_Header'} 7906 $as_echo "$as_val"'` 7907 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7908 $as_echo "$ac_res" >&6; } 7909 else 7910 # Is the header compilable? 7911 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7912 $as_echo_n "checking $ac_header usability... " >&6; } 7913 cat >conftest.$ac_ext <<_ACEOF 7914 /* confdefs.h. */ 7915 _ACEOF 7916 cat confdefs.h >>conftest.$ac_ext 7917 cat >>conftest.$ac_ext <<_ACEOF 7918 /* end confdefs.h. */ 7919 $ac_includes_default 7920 #include <$ac_header> 7921 _ACEOF 7922 rm -f conftest.$ac_objext 7923 if { (ac_try="$ac_compile" 7924 case "(($ac_try" in 7925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7926 *) ac_try_echo=$ac_try;; 7927 esac 7928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7929 $as_echo "$ac_try_echo") >&5 7930 (eval "$ac_compile") 2>conftest.er1 7931 ac_status=$? 7932 grep -v '^ *+' conftest.er1 >conftest.err 7933 rm -f conftest.er1 7934 cat conftest.err >&5 7935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7936 (exit $ac_status); } && { 7937 test -z "$ac_cxx_werror_flag" || 7938 test ! -s conftest.err 7939 } && test -s conftest.$ac_objext; then 7940 ac_header_compiler=yes 7941 else 7942 $as_echo "$as_me: failed program was:" >&5 7943 sed 's/^/| /' conftest.$ac_ext >&5 7944 7945 ac_header_compiler=no 7946 fi 7947 7948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7949 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7950 $as_echo "$ac_header_compiler" >&6; } 7951 7952 # Is the header present? 7953 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7954 $as_echo_n "checking $ac_header presence... " >&6; } 7955 cat >conftest.$ac_ext <<_ACEOF 7956 /* confdefs.h. */ 7957 _ACEOF 7958 cat confdefs.h >>conftest.$ac_ext 7959 cat >>conftest.$ac_ext <<_ACEOF 7960 /* end confdefs.h. */ 7961 #include <$ac_header> 7962 _ACEOF 7963 if { (ac_try="$ac_cpp conftest.$ac_ext" 7964 case "(($ac_try" in 7965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7966 *) ac_try_echo=$ac_try;; 7967 esac 7968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7969 $as_echo "$ac_try_echo") >&5 7970 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7971 ac_status=$? 7972 grep -v '^ *+' conftest.er1 >conftest.err 7973 rm -f conftest.er1 7974 cat conftest.err >&5 7975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7976 (exit $ac_status); } >/dev/null && { 7977 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7978 test ! -s conftest.err 7979 }; then 7980 ac_header_preproc=yes 7981 else 7982 $as_echo "$as_me: failed program was:" >&5 7983 sed 's/^/| /' conftest.$ac_ext >&5 7984 7985 ac_header_preproc=no 7986 fi 7987 7988 rm -f conftest.err conftest.$ac_ext 7989 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7990 $as_echo "$ac_header_preproc" >&6; } 7991 7992 # So? What about this header? 7993 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7994 yes:no: ) 7995 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7996 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7997 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7998 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7999 ac_header_preproc=yes 8000 ;; 8001 no:yes:* ) 8002 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8003 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8004 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8005 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8006 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8007 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8008 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8009 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8010 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8011 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8012 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8013 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8014 ( cat <<\_ASBOX 8015 ## ----------------------------------- ## 8016 ## Report this to rappture@nanohub.org ## 8017 ## ----------------------------------- ## 8018 _ASBOX 8019 ) | sed "s/^/$as_me: WARNING: /" >&2 8020 ;; 8021 esac 8022 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8023 $as_echo_n "checking for $ac_header... " >&6; } 8024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8025 $as_echo_n "(cached) " >&6 8026 else 8027 eval "$as_ac_Header=\$ac_header_preproc" 8028 fi 8029 ac_res=`eval 'as_val=${'$as_ac_Header'} 8030 $as_echo "$as_val"'` 8031 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8032 $as_echo "$ac_res" >&6; } 8033 8034 fi 8035 as_val=`eval 'as_val=${'$as_ac_Header'} 8036 $as_echo "$as_val"'` 8037 if test "x$as_val" = x""yes; then 5273 do : 5274 ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 5275 if test "x$ac_cv_header_assert_h" = xyes; then : 8038 5276 cat >>confdefs.h <<_ACEOF 8039 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18040 _ACEOF 8041 8042 else 8043 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55277 #define HAVE_ASSERT_H 1 5278 _ACEOF 5279 5280 else 5281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 8044 5282 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8045 5283 fi … … 8047 5285 done 8048 5286 8049 8050 5287 for ac_header in ctype.h 8051 do 8052 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8053 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8054 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8055 $as_echo_n "checking for $ac_header... " >&6; } 8056 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8057 $as_echo_n "(cached) " >&6 8058 fi 8059 ac_res=`eval 'as_val=${'$as_ac_Header'} 8060 $as_echo "$as_val"'` 8061 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8062 $as_echo "$ac_res" >&6; } 8063 else 8064 # Is the header compilable? 8065 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8066 $as_echo_n "checking $ac_header usability... " >&6; } 8067 cat >conftest.$ac_ext <<_ACEOF 8068 /* confdefs.h. */ 8069 _ACEOF 8070 cat confdefs.h >>conftest.$ac_ext 8071 cat >>conftest.$ac_ext <<_ACEOF 8072 /* end confdefs.h. */ 8073 $ac_includes_default 8074 #include <$ac_header> 8075 _ACEOF 8076 rm -f conftest.$ac_objext 8077 if { (ac_try="$ac_compile" 8078 case "(($ac_try" in 8079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8080 *) ac_try_echo=$ac_try;; 8081 esac 8082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8083 $as_echo "$ac_try_echo") >&5 8084 (eval "$ac_compile") 2>conftest.er1 8085 ac_status=$? 8086 grep -v '^ *+' conftest.er1 >conftest.err 8087 rm -f conftest.er1 8088 cat conftest.err >&5 8089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8090 (exit $ac_status); } && { 8091 test -z "$ac_cxx_werror_flag" || 8092 test ! -s conftest.err 8093 } && test -s conftest.$ac_objext; then 8094 ac_header_compiler=yes 8095 else 8096 $as_echo "$as_me: failed program was:" >&5 8097 sed 's/^/| /' conftest.$ac_ext >&5 8098 8099 ac_header_compiler=no 8100 fi 8101 8102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8103 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8104 $as_echo "$ac_header_compiler" >&6; } 8105 8106 # Is the header present? 8107 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8108 $as_echo_n "checking $ac_header presence... " >&6; } 8109 cat >conftest.$ac_ext <<_ACEOF 8110 /* confdefs.h. */ 8111 _ACEOF 8112 cat confdefs.h >>conftest.$ac_ext 8113 cat >>conftest.$ac_ext <<_ACEOF 8114 /* end confdefs.h. */ 8115 #include <$ac_header> 8116 _ACEOF 8117 if { (ac_try="$ac_cpp conftest.$ac_ext" 8118 case "(($ac_try" in 8119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8120 *) ac_try_echo=$ac_try;; 8121 esac 8122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8123 $as_echo "$ac_try_echo") >&5 8124 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8125 ac_status=$? 8126 grep -v '^ *+' conftest.er1 >conftest.err 8127 rm -f conftest.er1 8128 cat conftest.err >&5 8129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8130 (exit $ac_status); } >/dev/null && { 8131 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8132 test ! -s conftest.err 8133 }; then 8134 ac_header_preproc=yes 8135 else 8136 $as_echo "$as_me: failed program was:" >&5 8137 sed 's/^/| /' conftest.$ac_ext >&5 8138 8139 ac_header_preproc=no 8140 fi 8141 8142 rm -f conftest.err conftest.$ac_ext 8143 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8144 $as_echo "$ac_header_preproc" >&6; } 8145 8146 # So? What about this header? 8147 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8148 yes:no: ) 8149 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8150 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8151 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8152 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8153 ac_header_preproc=yes 8154 ;; 8155 no:yes:* ) 8156 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8157 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8158 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8159 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8160 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8161 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8162 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8163 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8164 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8165 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8166 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8167 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8168 ( cat <<\_ASBOX 8169 ## ----------------------------------- ## 8170 ## Report this to rappture@nanohub.org ## 8171 ## ----------------------------------- ## 8172 _ASBOX 8173 ) | sed "s/^/$as_me: WARNING: /" >&2 8174 ;; 8175 esac 8176 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8177 $as_echo_n "checking for $ac_header... " >&6; } 8178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8179 $as_echo_n "(cached) " >&6 8180 else 8181 eval "$as_ac_Header=\$ac_header_preproc" 8182 fi 8183 ac_res=`eval 'as_val=${'$as_ac_Header'} 8184 $as_echo "$as_val"'` 8185 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8186 $as_echo "$ac_res" >&6; } 8187 8188 fi 8189 as_val=`eval 'as_val=${'$as_ac_Header'} 8190 $as_echo "$as_val"'` 8191 if test "x$as_val" = x""yes; then 5288 do : 5289 ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 5290 if test "x$ac_cv_header_ctype_h" = xyes; then : 8192 5291 cat >>confdefs.h <<_ACEOF 8193 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18194 _ACEOF 8195 8196 else 8197 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55292 #define HAVE_CTYPE_H 1 5293 _ACEOF 5294 5295 else 5296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 8198 5297 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8199 5298 fi … … 8201 5300 done 8202 5301 8203 8204 5302 for ac_header in errno.h 8205 do 8206 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8207 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8208 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8209 $as_echo_n "checking for $ac_header... " >&6; } 8210 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8211 $as_echo_n "(cached) " >&6 8212 fi 8213 ac_res=`eval 'as_val=${'$as_ac_Header'} 8214 $as_echo "$as_val"'` 8215 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8216 $as_echo "$ac_res" >&6; } 8217 else 8218 # Is the header compilable? 8219 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8220 $as_echo_n "checking $ac_header usability... " >&6; } 8221 cat >conftest.$ac_ext <<_ACEOF 8222 /* confdefs.h. */ 8223 _ACEOF 8224 cat confdefs.h >>conftest.$ac_ext 8225 cat >>conftest.$ac_ext <<_ACEOF 8226 /* end confdefs.h. */ 8227 $ac_includes_default 8228 #include <$ac_header> 8229 _ACEOF 8230 rm -f conftest.$ac_objext 8231 if { (ac_try="$ac_compile" 8232 case "(($ac_try" in 8233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8234 *) ac_try_echo=$ac_try;; 8235 esac 8236 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8237 $as_echo "$ac_try_echo") >&5 8238 (eval "$ac_compile") 2>conftest.er1 8239 ac_status=$? 8240 grep -v '^ *+' conftest.er1 >conftest.err 8241 rm -f conftest.er1 8242 cat conftest.err >&5 8243 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8244 (exit $ac_status); } && { 8245 test -z "$ac_cxx_werror_flag" || 8246 test ! -s conftest.err 8247 } && test -s conftest.$ac_objext; then 8248 ac_header_compiler=yes 8249 else 8250 $as_echo "$as_me: failed program was:" >&5 8251 sed 's/^/| /' conftest.$ac_ext >&5 8252 8253 ac_header_compiler=no 8254 fi 8255 8256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8257 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8258 $as_echo "$ac_header_compiler" >&6; } 8259 8260 # Is the header present? 8261 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8262 $as_echo_n "checking $ac_header presence... " >&6; } 8263 cat >conftest.$ac_ext <<_ACEOF 8264 /* confdefs.h. */ 8265 _ACEOF 8266 cat confdefs.h >>conftest.$ac_ext 8267 cat >>conftest.$ac_ext <<_ACEOF 8268 /* end confdefs.h. */ 8269 #include <$ac_header> 8270 _ACEOF 8271 if { (ac_try="$ac_cpp conftest.$ac_ext" 8272 case "(($ac_try" in 8273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8274 *) ac_try_echo=$ac_try;; 8275 esac 8276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8277 $as_echo "$ac_try_echo") >&5 8278 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8279 ac_status=$? 8280 grep -v '^ *+' conftest.er1 >conftest.err 8281 rm -f conftest.er1 8282 cat conftest.err >&5 8283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8284 (exit $ac_status); } >/dev/null && { 8285 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8286 test ! -s conftest.err 8287 }; then 8288 ac_header_preproc=yes 8289 else 8290 $as_echo "$as_me: failed program was:" >&5 8291 sed 's/^/| /' conftest.$ac_ext >&5 8292 8293 ac_header_preproc=no 8294 fi 8295 8296 rm -f conftest.err conftest.$ac_ext 8297 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8298 $as_echo "$ac_header_preproc" >&6; } 8299 8300 # So? What about this header? 8301 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8302 yes:no: ) 8303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8304 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8305 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8306 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8307 ac_header_preproc=yes 8308 ;; 8309 no:yes:* ) 8310 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8311 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8312 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8313 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8314 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8315 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8316 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8317 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8318 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8319 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8320 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8321 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8322 ( cat <<\_ASBOX 8323 ## ----------------------------------- ## 8324 ## Report this to rappture@nanohub.org ## 8325 ## ----------------------------------- ## 8326 _ASBOX 8327 ) | sed "s/^/$as_me: WARNING: /" >&2 8328 ;; 8329 esac 8330 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8331 $as_echo_n "checking for $ac_header... " >&6; } 8332 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8333 $as_echo_n "(cached) " >&6 8334 else 8335 eval "$as_ac_Header=\$ac_header_preproc" 8336 fi 8337 ac_res=`eval 'as_val=${'$as_ac_Header'} 8338 $as_echo "$as_val"'` 8339 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8340 $as_echo "$ac_res" >&6; } 8341 8342 fi 8343 as_val=`eval 'as_val=${'$as_ac_Header'} 8344 $as_echo "$as_val"'` 8345 if test "x$as_val" = x""yes; then 5303 do : 5304 ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 5305 if test "x$ac_cv_header_errno_h" = xyes; then : 8346 5306 cat >>confdefs.h <<_ACEOF 8347 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18348 _ACEOF 8349 8350 else 8351 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55307 #define HAVE_ERRNO_H 1 5308 _ACEOF 5309 5310 else 5311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 8352 5312 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8353 5313 fi … … 8355 5315 done 8356 5316 8357 8358 5317 for ac_header in limits.h 8359 do 8360 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8362 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8363 $as_echo_n "checking for $ac_header... " >&6; } 8364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8365 $as_echo_n "(cached) " >&6 8366 fi 8367 ac_res=`eval 'as_val=${'$as_ac_Header'} 8368 $as_echo "$as_val"'` 8369 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8370 $as_echo "$ac_res" >&6; } 8371 else 8372 # Is the header compilable? 8373 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8374 $as_echo_n "checking $ac_header usability... " >&6; } 8375 cat >conftest.$ac_ext <<_ACEOF 8376 /* confdefs.h. */ 8377 _ACEOF 8378 cat confdefs.h >>conftest.$ac_ext 8379 cat >>conftest.$ac_ext <<_ACEOF 8380 /* end confdefs.h. */ 8381 $ac_includes_default 8382 #include <$ac_header> 8383 _ACEOF 8384 rm -f conftest.$ac_objext 8385 if { (ac_try="$ac_compile" 8386 case "(($ac_try" in 8387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8388 *) ac_try_echo=$ac_try;; 8389 esac 8390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8391 $as_echo "$ac_try_echo") >&5 8392 (eval "$ac_compile") 2>conftest.er1 8393 ac_status=$? 8394 grep -v '^ *+' conftest.er1 >conftest.err 8395 rm -f conftest.er1 8396 cat conftest.err >&5 8397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8398 (exit $ac_status); } && { 8399 test -z "$ac_cxx_werror_flag" || 8400 test ! -s conftest.err 8401 } && test -s conftest.$ac_objext; then 8402 ac_header_compiler=yes 8403 else 8404 $as_echo "$as_me: failed program was:" >&5 8405 sed 's/^/| /' conftest.$ac_ext >&5 8406 8407 ac_header_compiler=no 8408 fi 8409 8410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8411 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8412 $as_echo "$ac_header_compiler" >&6; } 8413 8414 # Is the header present? 8415 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8416 $as_echo_n "checking $ac_header presence... " >&6; } 8417 cat >conftest.$ac_ext <<_ACEOF 8418 /* confdefs.h. */ 8419 _ACEOF 8420 cat confdefs.h >>conftest.$ac_ext 8421 cat >>conftest.$ac_ext <<_ACEOF 8422 /* end confdefs.h. */ 8423 #include <$ac_header> 8424 _ACEOF 8425 if { (ac_try="$ac_cpp conftest.$ac_ext" 8426 case "(($ac_try" in 8427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8428 *) ac_try_echo=$ac_try;; 8429 esac 8430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8431 $as_echo "$ac_try_echo") >&5 8432 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8433 ac_status=$? 8434 grep -v '^ *+' conftest.er1 >conftest.err 8435 rm -f conftest.er1 8436 cat conftest.err >&5 8437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8438 (exit $ac_status); } >/dev/null && { 8439 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8440 test ! -s conftest.err 8441 }; then 8442 ac_header_preproc=yes 8443 else 8444 $as_echo "$as_me: failed program was:" >&5 8445 sed 's/^/| /' conftest.$ac_ext >&5 8446 8447 ac_header_preproc=no 8448 fi 8449 8450 rm -f conftest.err conftest.$ac_ext 8451 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8452 $as_echo "$ac_header_preproc" >&6; } 8453 8454 # So? What about this header? 8455 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8456 yes:no: ) 8457 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8458 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8459 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8460 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8461 ac_header_preproc=yes 8462 ;; 8463 no:yes:* ) 8464 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8465 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8466 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8467 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8468 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8469 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8470 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8471 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8472 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8473 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8474 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8475 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8476 ( cat <<\_ASBOX 8477 ## ----------------------------------- ## 8478 ## Report this to rappture@nanohub.org ## 8479 ## ----------------------------------- ## 8480 _ASBOX 8481 ) | sed "s/^/$as_me: WARNING: /" >&2 8482 ;; 8483 esac 8484 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8485 $as_echo_n "checking for $ac_header... " >&6; } 8486 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8487 $as_echo_n "(cached) " >&6 8488 else 8489 eval "$as_ac_Header=\$ac_header_preproc" 8490 fi 8491 ac_res=`eval 'as_val=${'$as_ac_Header'} 8492 $as_echo "$as_val"'` 8493 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8494 $as_echo "$ac_res" >&6; } 8495 8496 fi 8497 as_val=`eval 'as_val=${'$as_ac_Header'} 8498 $as_echo "$as_val"'` 8499 if test "x$as_val" = x""yes; then 5318 do : 5319 ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 5320 if test "x$ac_cv_header_limits_h" = xyes; then : 8500 5321 cat >>confdefs.h <<_ACEOF 8501 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18502 _ACEOF 8503 8504 else 8505 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55322 #define HAVE_LIMITS_H 1 5323 _ACEOF 5324 5325 else 5326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 8506 5327 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8507 5328 fi … … 8509 5330 done 8510 5331 8511 8512 5332 for ac_header in string.h 8513 do 8514 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8515 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8516 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8517 $as_echo_n "checking for $ac_header... " >&6; } 8518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8519 $as_echo_n "(cached) " >&6 8520 fi 8521 ac_res=`eval 'as_val=${'$as_ac_Header'} 8522 $as_echo "$as_val"'` 8523 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8524 $as_echo "$ac_res" >&6; } 8525 else 8526 # Is the header compilable? 8527 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8528 $as_echo_n "checking $ac_header usability... " >&6; } 8529 cat >conftest.$ac_ext <<_ACEOF 8530 /* confdefs.h. */ 8531 _ACEOF 8532 cat confdefs.h >>conftest.$ac_ext 8533 cat >>conftest.$ac_ext <<_ACEOF 8534 /* end confdefs.h. */ 8535 $ac_includes_default 8536 #include <$ac_header> 8537 _ACEOF 8538 rm -f conftest.$ac_objext 8539 if { (ac_try="$ac_compile" 8540 case "(($ac_try" in 8541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8542 *) ac_try_echo=$ac_try;; 8543 esac 8544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8545 $as_echo "$ac_try_echo") >&5 8546 (eval "$ac_compile") 2>conftest.er1 8547 ac_status=$? 8548 grep -v '^ *+' conftest.er1 >conftest.err 8549 rm -f conftest.er1 8550 cat conftest.err >&5 8551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8552 (exit $ac_status); } && { 8553 test -z "$ac_cxx_werror_flag" || 8554 test ! -s conftest.err 8555 } && test -s conftest.$ac_objext; then 8556 ac_header_compiler=yes 8557 else 8558 $as_echo "$as_me: failed program was:" >&5 8559 sed 's/^/| /' conftest.$ac_ext >&5 8560 8561 ac_header_compiler=no 8562 fi 8563 8564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8565 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8566 $as_echo "$ac_header_compiler" >&6; } 8567 8568 # Is the header present? 8569 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8570 $as_echo_n "checking $ac_header presence... " >&6; } 8571 cat >conftest.$ac_ext <<_ACEOF 8572 /* confdefs.h. */ 8573 _ACEOF 8574 cat confdefs.h >>conftest.$ac_ext 8575 cat >>conftest.$ac_ext <<_ACEOF 8576 /* end confdefs.h. */ 8577 #include <$ac_header> 8578 _ACEOF 8579 if { (ac_try="$ac_cpp conftest.$ac_ext" 8580 case "(($ac_try" in 8581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8582 *) ac_try_echo=$ac_try;; 8583 esac 8584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8585 $as_echo "$ac_try_echo") >&5 8586 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8587 ac_status=$? 8588 grep -v '^ *+' conftest.er1 >conftest.err 8589 rm -f conftest.er1 8590 cat conftest.err >&5 8591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8592 (exit $ac_status); } >/dev/null && { 8593 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8594 test ! -s conftest.err 8595 }; then 8596 ac_header_preproc=yes 8597 else 8598 $as_echo "$as_me: failed program was:" >&5 8599 sed 's/^/| /' conftest.$ac_ext >&5 8600 8601 ac_header_preproc=no 8602 fi 8603 8604 rm -f conftest.err conftest.$ac_ext 8605 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8606 $as_echo "$ac_header_preproc" >&6; } 8607 8608 # So? What about this header? 8609 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8610 yes:no: ) 8611 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8612 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8613 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8614 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8615 ac_header_preproc=yes 8616 ;; 8617 no:yes:* ) 8618 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8619 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8620 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8621 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8622 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8623 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8624 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8625 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8626 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8627 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8628 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8629 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8630 ( cat <<\_ASBOX 8631 ## ----------------------------------- ## 8632 ## Report this to rappture@nanohub.org ## 8633 ## ----------------------------------- ## 8634 _ASBOX 8635 ) | sed "s/^/$as_me: WARNING: /" >&2 8636 ;; 8637 esac 8638 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8639 $as_echo_n "checking for $ac_header... " >&6; } 8640 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8641 $as_echo_n "(cached) " >&6 8642 else 8643 eval "$as_ac_Header=\$ac_header_preproc" 8644 fi 8645 ac_res=`eval 'as_val=${'$as_ac_Header'} 8646 $as_echo "$as_val"'` 8647 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8648 $as_echo "$ac_res" >&6; } 8649 8650 fi 8651 as_val=`eval 'as_val=${'$as_ac_Header'} 8652 $as_echo "$as_val"'` 8653 if test "x$as_val" = x""yes; then 5333 do : 5334 ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 5335 if test "x$ac_cv_header_string_h" = xyes; then : 8654 5336 cat >>confdefs.h <<_ACEOF 8655 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18656 _ACEOF 8657 8658 else 8659 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55337 #define HAVE_STRING_H 1 5338 _ACEOF 5339 5340 else 5341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 8660 5342 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8661 5343 fi … … 8663 5345 done 8664 5346 8665 8666 5347 for ac_header in stdlib.h 8667 do 8668 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8669 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8670 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8671 $as_echo_n "checking for $ac_header... " >&6; } 8672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8673 $as_echo_n "(cached) " >&6 8674 fi 8675 ac_res=`eval 'as_val=${'$as_ac_Header'} 8676 $as_echo "$as_val"'` 8677 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8678 $as_echo "$ac_res" >&6; } 8679 else 8680 # Is the header compilable? 8681 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8682 $as_echo_n "checking $ac_header usability... " >&6; } 8683 cat >conftest.$ac_ext <<_ACEOF 8684 /* confdefs.h. */ 8685 _ACEOF 8686 cat confdefs.h >>conftest.$ac_ext 8687 cat >>conftest.$ac_ext <<_ACEOF 8688 /* end confdefs.h. */ 8689 $ac_includes_default 8690 #include <$ac_header> 8691 _ACEOF 8692 rm -f conftest.$ac_objext 8693 if { (ac_try="$ac_compile" 8694 case "(($ac_try" in 8695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8696 *) ac_try_echo=$ac_try;; 8697 esac 8698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8699 $as_echo "$ac_try_echo") >&5 8700 (eval "$ac_compile") 2>conftest.er1 8701 ac_status=$? 8702 grep -v '^ *+' conftest.er1 >conftest.err 8703 rm -f conftest.er1 8704 cat conftest.err >&5 8705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8706 (exit $ac_status); } && { 8707 test -z "$ac_cxx_werror_flag" || 8708 test ! -s conftest.err 8709 } && test -s conftest.$ac_objext; then 8710 ac_header_compiler=yes 8711 else 8712 $as_echo "$as_me: failed program was:" >&5 8713 sed 's/^/| /' conftest.$ac_ext >&5 8714 8715 ac_header_compiler=no 8716 fi 8717 8718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8719 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8720 $as_echo "$ac_header_compiler" >&6; } 8721 8722 # Is the header present? 8723 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8724 $as_echo_n "checking $ac_header presence... " >&6; } 8725 cat >conftest.$ac_ext <<_ACEOF 8726 /* confdefs.h. */ 8727 _ACEOF 8728 cat confdefs.h >>conftest.$ac_ext 8729 cat >>conftest.$ac_ext <<_ACEOF 8730 /* end confdefs.h. */ 8731 #include <$ac_header> 8732 _ACEOF 8733 if { (ac_try="$ac_cpp conftest.$ac_ext" 8734 case "(($ac_try" in 8735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8736 *) ac_try_echo=$ac_try;; 8737 esac 8738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8739 $as_echo "$ac_try_echo") >&5 8740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8741 ac_status=$? 8742 grep -v '^ *+' conftest.er1 >conftest.err 8743 rm -f conftest.er1 8744 cat conftest.err >&5 8745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8746 (exit $ac_status); } >/dev/null && { 8747 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8748 test ! -s conftest.err 8749 }; then 8750 ac_header_preproc=yes 8751 else 8752 $as_echo "$as_me: failed program was:" >&5 8753 sed 's/^/| /' conftest.$ac_ext >&5 8754 8755 ac_header_preproc=no 8756 fi 8757 8758 rm -f conftest.err conftest.$ac_ext 8759 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8760 $as_echo "$ac_header_preproc" >&6; } 8761 8762 # So? What about this header? 8763 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8764 yes:no: ) 8765 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8766 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8767 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8768 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8769 ac_header_preproc=yes 8770 ;; 8771 no:yes:* ) 8772 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8773 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8774 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8775 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8776 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8777 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8778 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8779 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8780 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8781 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8782 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8783 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8784 ( cat <<\_ASBOX 8785 ## ----------------------------------- ## 8786 ## Report this to rappture@nanohub.org ## 8787 ## ----------------------------------- ## 8788 _ASBOX 8789 ) | sed "s/^/$as_me: WARNING: /" >&2 8790 ;; 8791 esac 8792 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8793 $as_echo_n "checking for $ac_header... " >&6; } 8794 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8795 $as_echo_n "(cached) " >&6 8796 else 8797 eval "$as_ac_Header=\$ac_header_preproc" 8798 fi 8799 ac_res=`eval 'as_val=${'$as_ac_Header'} 8800 $as_echo "$as_val"'` 8801 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8802 $as_echo "$ac_res" >&6; } 8803 8804 fi 8805 as_val=`eval 'as_val=${'$as_ac_Header'} 8806 $as_echo "$as_val"'` 8807 if test "x$as_val" = x""yes; then 5348 do : 5349 ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5350 if test "x$ac_cv_header_stdlib_h" = xyes; then : 8808 5351 cat >>confdefs.h <<_ACEOF 8809 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18810 _ACEOF 8811 8812 else 8813 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55352 #define HAVE_STDLIB_H 1 5353 _ACEOF 5354 5355 else 5356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 8814 5357 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8815 5358 fi … … 8817 5360 done 8818 5361 8819 8820 5362 for ac_header in stddef.h 8821 do 8822 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8824 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8825 $as_echo_n "checking for $ac_header... " >&6; } 8826 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8827 $as_echo_n "(cached) " >&6 8828 fi 8829 ac_res=`eval 'as_val=${'$as_ac_Header'} 8830 $as_echo "$as_val"'` 8831 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8832 $as_echo "$ac_res" >&6; } 8833 else 8834 # Is the header compilable? 8835 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8836 $as_echo_n "checking $ac_header usability... " >&6; } 8837 cat >conftest.$ac_ext <<_ACEOF 8838 /* confdefs.h. */ 8839 _ACEOF 8840 cat confdefs.h >>conftest.$ac_ext 8841 cat >>conftest.$ac_ext <<_ACEOF 8842 /* end confdefs.h. */ 8843 $ac_includes_default 8844 #include <$ac_header> 8845 _ACEOF 8846 rm -f conftest.$ac_objext 8847 if { (ac_try="$ac_compile" 8848 case "(($ac_try" in 8849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8850 *) ac_try_echo=$ac_try;; 8851 esac 8852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8853 $as_echo "$ac_try_echo") >&5 8854 (eval "$ac_compile") 2>conftest.er1 8855 ac_status=$? 8856 grep -v '^ *+' conftest.er1 >conftest.err 8857 rm -f conftest.er1 8858 cat conftest.err >&5 8859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8860 (exit $ac_status); } && { 8861 test -z "$ac_cxx_werror_flag" || 8862 test ! -s conftest.err 8863 } && test -s conftest.$ac_objext; then 8864 ac_header_compiler=yes 8865 else 8866 $as_echo "$as_me: failed program was:" >&5 8867 sed 's/^/| /' conftest.$ac_ext >&5 8868 8869 ac_header_compiler=no 8870 fi 8871 8872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8873 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8874 $as_echo "$ac_header_compiler" >&6; } 8875 8876 # Is the header present? 8877 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8878 $as_echo_n "checking $ac_header presence... " >&6; } 8879 cat >conftest.$ac_ext <<_ACEOF 8880 /* confdefs.h. */ 8881 _ACEOF 8882 cat confdefs.h >>conftest.$ac_ext 8883 cat >>conftest.$ac_ext <<_ACEOF 8884 /* end confdefs.h. */ 8885 #include <$ac_header> 8886 _ACEOF 8887 if { (ac_try="$ac_cpp conftest.$ac_ext" 8888 case "(($ac_try" in 8889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8890 *) ac_try_echo=$ac_try;; 8891 esac 8892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8893 $as_echo "$ac_try_echo") >&5 8894 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8895 ac_status=$? 8896 grep -v '^ *+' conftest.er1 >conftest.err 8897 rm -f conftest.er1 8898 cat conftest.err >&5 8899 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8900 (exit $ac_status); } >/dev/null && { 8901 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8902 test ! -s conftest.err 8903 }; then 8904 ac_header_preproc=yes 8905 else 8906 $as_echo "$as_me: failed program was:" >&5 8907 sed 's/^/| /' conftest.$ac_ext >&5 8908 8909 ac_header_preproc=no 8910 fi 8911 8912 rm -f conftest.err conftest.$ac_ext 8913 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8914 $as_echo "$ac_header_preproc" >&6; } 8915 8916 # So? What about this header? 8917 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8918 yes:no: ) 8919 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8920 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8921 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8922 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8923 ac_header_preproc=yes 8924 ;; 8925 no:yes:* ) 8926 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8927 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8928 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8929 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8930 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8931 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8932 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8933 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8934 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8935 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8936 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8937 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8938 ( cat <<\_ASBOX 8939 ## ----------------------------------- ## 8940 ## Report this to rappture@nanohub.org ## 8941 ## ----------------------------------- ## 8942 _ASBOX 8943 ) | sed "s/^/$as_me: WARNING: /" >&2 8944 ;; 8945 esac 8946 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8947 $as_echo_n "checking for $ac_header... " >&6; } 8948 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8949 $as_echo_n "(cached) " >&6 8950 else 8951 eval "$as_ac_Header=\$ac_header_preproc" 8952 fi 8953 ac_res=`eval 'as_val=${'$as_ac_Header'} 8954 $as_echo "$as_val"'` 8955 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8956 $as_echo "$ac_res" >&6; } 8957 8958 fi 8959 as_val=`eval 'as_val=${'$as_ac_Header'} 8960 $as_echo "$as_val"'` 8961 if test "x$as_val" = x""yes; then 5363 do : 5364 ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 5365 if test "x$ac_cv_header_stddef_h" = xyes; then : 8962 5366 cat >>confdefs.h <<_ACEOF 8963 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18964 _ACEOF 8965 8966 else 8967 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55367 #define HAVE_STDDEF_H 1 5368 _ACEOF 5369 5370 else 5371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 8968 5372 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8969 5373 fi … … 8971 5375 done 8972 5376 8973 8974 5377 for ac_header in float.h 8975 do 8976 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8978 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8979 $as_echo_n "checking for $ac_header... " >&6; } 8980 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8981 $as_echo_n "(cached) " >&6 8982 fi 8983 ac_res=`eval 'as_val=${'$as_ac_Header'} 8984 $as_echo "$as_val"'` 8985 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8986 $as_echo "$ac_res" >&6; } 8987 else 8988 # Is the header compilable? 8989 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8990 $as_echo_n "checking $ac_header usability... " >&6; } 8991 cat >conftest.$ac_ext <<_ACEOF 8992 /* confdefs.h. */ 8993 _ACEOF 8994 cat confdefs.h >>conftest.$ac_ext 8995 cat >>conftest.$ac_ext <<_ACEOF 8996 /* end confdefs.h. */ 8997 $ac_includes_default 8998 #include <$ac_header> 8999 _ACEOF 9000 rm -f conftest.$ac_objext 9001 if { (ac_try="$ac_compile" 9002 case "(($ac_try" in 9003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9004 *) ac_try_echo=$ac_try;; 9005 esac 9006 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9007 $as_echo "$ac_try_echo") >&5 9008 (eval "$ac_compile") 2>conftest.er1 9009 ac_status=$? 9010 grep -v '^ *+' conftest.er1 >conftest.err 9011 rm -f conftest.er1 9012 cat conftest.err >&5 9013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9014 (exit $ac_status); } && { 9015 test -z "$ac_cxx_werror_flag" || 9016 test ! -s conftest.err 9017 } && test -s conftest.$ac_objext; then 9018 ac_header_compiler=yes 9019 else 9020 $as_echo "$as_me: failed program was:" >&5 9021 sed 's/^/| /' conftest.$ac_ext >&5 9022 9023 ac_header_compiler=no 9024 fi 9025 9026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9027 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9028 $as_echo "$ac_header_compiler" >&6; } 9029 9030 # Is the header present? 9031 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9032 $as_echo_n "checking $ac_header presence... " >&6; } 9033 cat >conftest.$ac_ext <<_ACEOF 9034 /* confdefs.h. */ 9035 _ACEOF 9036 cat confdefs.h >>conftest.$ac_ext 9037 cat >>conftest.$ac_ext <<_ACEOF 9038 /* end confdefs.h. */ 9039 #include <$ac_header> 9040 _ACEOF 9041 if { (ac_try="$ac_cpp conftest.$ac_ext" 9042 case "(($ac_try" in 9043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9044 *) ac_try_echo=$ac_try;; 9045 esac 9046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9047 $as_echo "$ac_try_echo") >&5 9048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9049 ac_status=$? 9050 grep -v '^ *+' conftest.er1 >conftest.err 9051 rm -f conftest.er1 9052 cat conftest.err >&5 9053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9054 (exit $ac_status); } >/dev/null && { 9055 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9056 test ! -s conftest.err 9057 }; then 9058 ac_header_preproc=yes 9059 else 9060 $as_echo "$as_me: failed program was:" >&5 9061 sed 's/^/| /' conftest.$ac_ext >&5 9062 9063 ac_header_preproc=no 9064 fi 9065 9066 rm -f conftest.err conftest.$ac_ext 9067 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9068 $as_echo "$ac_header_preproc" >&6; } 9069 9070 # So? What about this header? 9071 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9072 yes:no: ) 9073 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9074 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9075 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9076 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9077 ac_header_preproc=yes 9078 ;; 9079 no:yes:* ) 9080 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9081 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9082 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9083 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9084 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9085 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9086 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9087 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9088 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9089 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9091 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9092 ( cat <<\_ASBOX 9093 ## ----------------------------------- ## 9094 ## Report this to rappture@nanohub.org ## 9095 ## ----------------------------------- ## 9096 _ASBOX 9097 ) | sed "s/^/$as_me: WARNING: /" >&2 9098 ;; 9099 esac 9100 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9101 $as_echo_n "checking for $ac_header... " >&6; } 9102 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9103 $as_echo_n "(cached) " >&6 9104 else 9105 eval "$as_ac_Header=\$ac_header_preproc" 9106 fi 9107 ac_res=`eval 'as_val=${'$as_ac_Header'} 9108 $as_echo "$as_val"'` 9109 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9110 $as_echo "$ac_res" >&6; } 9111 9112 fi 9113 as_val=`eval 'as_val=${'$as_ac_Header'} 9114 $as_echo "$as_val"'` 9115 if test "x$as_val" = x""yes; then 5378 do : 5379 ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" 5380 if test "x$ac_cv_header_float_h" = xyes; then : 9116 5381 cat >>confdefs.h <<_ACEOF 9117 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`19118 _ACEOF 9119 9120 else 9121 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55382 #define HAVE_FLOAT_H 1 5383 _ACEOF 5384 5385 else 5386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 9122 5387 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9123 5388 fi … … 9125 5390 done 9126 5391 9127 9128 5392 for ac_header in math.h 9129 do 9130 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9131 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9132 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9133 $as_echo_n "checking for $ac_header... " >&6; } 9134 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9135 $as_echo_n "(cached) " >&6 9136 fi 9137 ac_res=`eval 'as_val=${'$as_ac_Header'} 9138 $as_echo "$as_val"'` 9139 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9140 $as_echo "$ac_res" >&6; } 9141 else 9142 # Is the header compilable? 9143 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9144 $as_echo_n "checking $ac_header usability... " >&6; } 9145 cat >conftest.$ac_ext <<_ACEOF 9146 /* confdefs.h. */ 9147 _ACEOF 9148 cat confdefs.h >>conftest.$ac_ext 9149 cat >>conftest.$ac_ext <<_ACEOF 9150 /* end confdefs.h. */ 9151 $ac_includes_default 9152 #include <$ac_header> 9153 _ACEOF 9154 rm -f conftest.$ac_objext 9155 if { (ac_try="$ac_compile" 9156 case "(($ac_try" in 9157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9158 *) ac_try_echo=$ac_try;; 9159 esac 9160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9161 $as_echo "$ac_try_echo") >&5 9162 (eval "$ac_compile") 2>conftest.er1 9163 ac_status=$? 9164 grep -v '^ *+' conftest.er1 >conftest.err 9165 rm -f conftest.er1 9166 cat conftest.err >&5 9167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9168 (exit $ac_status); } && { 9169 test -z "$ac_cxx_werror_flag" || 9170 test ! -s conftest.err 9171 } && test -s conftest.$ac_objext; then 9172 ac_header_compiler=yes 9173 else 9174 $as_echo "$as_me: failed program was:" >&5 9175 sed 's/^/| /' conftest.$ac_ext >&5 9176 9177 ac_header_compiler=no 9178 fi 9179 9180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9181 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9182 $as_echo "$ac_header_compiler" >&6; } 9183 9184 # Is the header present? 9185 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9186 $as_echo_n "checking $ac_header presence... " >&6; } 9187 cat >conftest.$ac_ext <<_ACEOF 9188 /* confdefs.h. */ 9189 _ACEOF 9190 cat confdefs.h >>conftest.$ac_ext 9191 cat >>conftest.$ac_ext <<_ACEOF 9192 /* end confdefs.h. */ 9193 #include <$ac_header> 9194 _ACEOF 9195 if { (ac_try="$ac_cpp conftest.$ac_ext" 9196 case "(($ac_try" in 9197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9198 *) ac_try_echo=$ac_try;; 9199 esac 9200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9201 $as_echo "$ac_try_echo") >&5 9202 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9203 ac_status=$? 9204 grep -v '^ *+' conftest.er1 >conftest.err 9205 rm -f conftest.er1 9206 cat conftest.err >&5 9207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9208 (exit $ac_status); } >/dev/null && { 9209 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9210 test ! -s conftest.err 9211 }; then 9212 ac_header_preproc=yes 9213 else 9214 $as_echo "$as_me: failed program was:" >&5 9215 sed 's/^/| /' conftest.$ac_ext >&5 9216 9217 ac_header_preproc=no 9218 fi 9219 9220 rm -f conftest.err conftest.$ac_ext 9221 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9222 $as_echo "$ac_header_preproc" >&6; } 9223 9224 # So? What about this header? 9225 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9226 yes:no: ) 9227 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9228 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9229 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9230 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9231 ac_header_preproc=yes 9232 ;; 9233 no:yes:* ) 9234 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9235 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9236 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9237 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9238 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9239 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9240 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9241 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9242 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9243 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9244 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9245 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9246 ( cat <<\_ASBOX 9247 ## ----------------------------------- ## 9248 ## Report this to rappture@nanohub.org ## 9249 ## ----------------------------------- ## 9250 _ASBOX 9251 ) | sed "s/^/$as_me: WARNING: /" >&2 9252 ;; 9253 esac 9254 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9255 $as_echo_n "checking for $ac_header... " >&6; } 9256 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9257 $as_echo_n "(cached) " >&6 9258 else 9259 eval "$as_ac_Header=\$ac_header_preproc" 9260 fi 9261 ac_res=`eval 'as_val=${'$as_ac_Header'} 9262 $as_echo "$as_val"'` 9263 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9264 $as_echo "$ac_res" >&6; } 9265 9266 fi 9267 as_val=`eval 'as_val=${'$as_ac_Header'} 9268 $as_echo "$as_val"'` 9269 if test "x$as_val" = x""yes; then 5393 do : 5394 ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" 5395 if test "x$ac_cv_header_math_h" = xyes; then : 9270 5396 cat >>confdefs.h <<_ACEOF 9271 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`19272 _ACEOF 9273 9274 else 9275 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55397 #define HAVE_MATH_H 1 5398 _ACEOF 5399 5400 else 5401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 9276 5402 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9277 5403 fi … … 9279 5405 done 9280 5406 9281 9282 5407 for ac_header in malloc.h 9283 do 9284 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9285 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9286 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9287 $as_echo_n "checking for $ac_header... " >&6; } 9288 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9289 $as_echo_n "(cached) " >&6 9290 fi 9291 ac_res=`eval 'as_val=${'$as_ac_Header'} 9292 $as_echo "$as_val"'` 9293 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9294 $as_echo "$ac_res" >&6; } 9295 else 9296 # Is the header compilable? 9297 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9298 $as_echo_n "checking $ac_header usability... " >&6; } 9299 cat >conftest.$ac_ext <<_ACEOF 9300 /* confdefs.h. */ 9301 _ACEOF 9302 cat confdefs.h >>conftest.$ac_ext 9303 cat >>conftest.$ac_ext <<_ACEOF 9304 /* end confdefs.h. */ 9305 $ac_includes_default 9306 #include <$ac_header> 9307 _ACEOF 9308 rm -f conftest.$ac_objext 9309 if { (ac_try="$ac_compile" 9310 case "(($ac_try" in 9311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9312 *) ac_try_echo=$ac_try;; 9313 esac 9314 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9315 $as_echo "$ac_try_echo") >&5 9316 (eval "$ac_compile") 2>conftest.er1 9317 ac_status=$? 9318 grep -v '^ *+' conftest.er1 >conftest.err 9319 rm -f conftest.er1 9320 cat conftest.err >&5 9321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9322 (exit $ac_status); } && { 9323 test -z "$ac_cxx_werror_flag" || 9324 test ! -s conftest.err 9325 } && test -s conftest.$ac_objext; then 9326 ac_header_compiler=yes 9327 else 9328 $as_echo "$as_me: failed program was:" >&5 9329 sed 's/^/| /' conftest.$ac_ext >&5 9330 9331 ac_header_compiler=no 9332 fi 9333 9334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9335 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9336 $as_echo "$ac_header_compiler" >&6; } 9337 9338 # Is the header present? 9339 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9340 $as_echo_n "checking $ac_header presence... " >&6; } 9341 cat >conftest.$ac_ext <<_ACEOF 9342 /* confdefs.h. */ 9343 _ACEOF 9344 cat confdefs.h >>conftest.$ac_ext 9345 cat >>conftest.$ac_ext <<_ACEOF 9346 /* end confdefs.h. */ 9347 #include <$ac_header> 9348 _ACEOF 9349 if { (ac_try="$ac_cpp conftest.$ac_ext" 9350 case "(($ac_try" in 9351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9352 *) ac_try_echo=$ac_try;; 9353 esac 9354 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9355 $as_echo "$ac_try_echo") >&5 9356 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9357 ac_status=$? 9358 grep -v '^ *+' conftest.er1 >conftest.err 9359 rm -f conftest.er1 9360 cat conftest.err >&5 9361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9362 (exit $ac_status); } >/dev/null && { 9363 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9364 test ! -s conftest.err 9365 }; then 9366 ac_header_preproc=yes 9367 else 9368 $as_echo "$as_me: failed program was:" >&5 9369 sed 's/^/| /' conftest.$ac_ext >&5 9370 9371 ac_header_preproc=no 9372 fi 9373 9374 rm -f conftest.err conftest.$ac_ext 9375 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9376 $as_echo "$ac_header_preproc" >&6; } 9377 9378 # So? What about this header? 9379 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9380 yes:no: ) 9381 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9382 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9383 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9384 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9385 ac_header_preproc=yes 9386 ;; 9387 no:yes:* ) 9388 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9389 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9390 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9391 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9392 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9393 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9394 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9395 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9396 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9397 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9398 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9399 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9400 ( cat <<\_ASBOX 9401 ## ----------------------------------- ## 9402 ## Report this to rappture@nanohub.org ## 9403 ## ----------------------------------- ## 9404 _ASBOX 9405 ) | sed "s/^/$as_me: WARNING: /" >&2 9406 ;; 9407 esac 9408 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9409 $as_echo_n "checking for $ac_header... " >&6; } 9410 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9411 $as_echo_n "(cached) " >&6 9412 else 9413 eval "$as_ac_Header=\$ac_header_preproc" 9414 fi 9415 ac_res=`eval 'as_val=${'$as_ac_Header'} 9416 $as_echo "$as_val"'` 9417 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9418 $as_echo "$ac_res" >&6; } 9419 9420 fi 9421 as_val=`eval 'as_val=${'$as_ac_Header'} 9422 $as_echo "$as_val"'` 9423 if test "x$as_val" = x""yes; then 5408 do : 5409 ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 5410 if test "x$ac_cv_header_malloc_h" = xyes; then : 9424 5411 cat >>confdefs.h <<_ACEOF 9425 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`19426 _ACEOF 9427 9428 else 9429 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55412 #define HAVE_MALLOC_H 1 5413 _ACEOF 5414 5415 else 5416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 9430 5417 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9431 5418 fi … … 9433 5420 done 9434 5421 9435 9436 5422 for ac_header in memory.h 9437 do 9438 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9439 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9440 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9441 $as_echo_n "checking for $ac_header... " >&6; } 9442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9443 $as_echo_n "(cached) " >&6 9444 fi 9445 ac_res=`eval 'as_val=${'$as_ac_Header'} 9446 $as_echo "$as_val"'` 9447 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9448 $as_echo "$ac_res" >&6; } 9449 else 9450 # Is the header compilable? 9451 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9452 $as_echo_n "checking $ac_header usability... " >&6; } 9453 cat >conftest.$ac_ext <<_ACEOF 9454 /* confdefs.h. */ 9455 _ACEOF 9456 cat confdefs.h >>conftest.$ac_ext 9457 cat >>conftest.$ac_ext <<_ACEOF 9458 /* end confdefs.h. */ 9459 $ac_includes_default 9460 #include <$ac_header> 9461 _ACEOF 9462 rm -f conftest.$ac_objext 9463 if { (ac_try="$ac_compile" 9464 case "(($ac_try" in 9465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9466 *) ac_try_echo=$ac_try;; 9467 esac 9468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9469 $as_echo "$ac_try_echo") >&5 9470 (eval "$ac_compile") 2>conftest.er1 9471 ac_status=$? 9472 grep -v '^ *+' conftest.er1 >conftest.err 9473 rm -f conftest.er1 9474 cat conftest.err >&5 9475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9476 (exit $ac_status); } && { 9477 test -z "$ac_cxx_werror_flag" || 9478 test ! -s conftest.err 9479 } && test -s conftest.$ac_objext; then 9480 ac_header_compiler=yes 9481 else 9482 $as_echo "$as_me: failed program was:" >&5 9483 sed 's/^/| /' conftest.$ac_ext >&5 9484 9485 ac_header_compiler=no 9486 fi 9487 9488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9489 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9490 $as_echo "$ac_header_compiler" >&6; } 9491 9492 # Is the header present? 9493 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9494 $as_echo_n "checking $ac_header presence... " >&6; } 9495 cat >conftest.$ac_ext <<_ACEOF 9496 /* confdefs.h. */ 9497 _ACEOF 9498 cat confdefs.h >>conftest.$ac_ext 9499 cat >>conftest.$ac_ext <<_ACEOF 9500 /* end confdefs.h. */ 9501 #include <$ac_header> 9502 _ACEOF 9503 if { (ac_try="$ac_cpp conftest.$ac_ext" 9504 case "(($ac_try" in 9505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9506 *) ac_try_echo=$ac_try;; 9507 esac 9508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9509 $as_echo "$ac_try_echo") >&5 9510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9511 ac_status=$? 9512 grep -v '^ *+' conftest.er1 >conftest.err 9513 rm -f conftest.er1 9514 cat conftest.err >&5 9515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9516 (exit $ac_status); } >/dev/null && { 9517 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9518 test ! -s conftest.err 9519 }; then 9520 ac_header_preproc=yes 9521 else 9522 $as_echo "$as_me: failed program was:" >&5 9523 sed 's/^/| /' conftest.$ac_ext >&5 9524 9525 ac_header_preproc=no 9526 fi 9527 9528 rm -f conftest.err conftest.$ac_ext 9529 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9530 $as_echo "$ac_header_preproc" >&6; } 9531 9532 # So? What about this header? 9533 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9534 yes:no: ) 9535 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9536 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9537 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9538 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9539 ac_header_preproc=yes 9540 ;; 9541 no:yes:* ) 9542 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9543 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9544 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9545 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9546 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9547 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9548 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9549 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9550 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9551 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9552 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9553 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9554 ( cat <<\_ASBOX 9555 ## ----------------------------------- ## 9556 ## Report this to rappture@nanohub.org ## 9557 ## ----------------------------------- ## 9558 _ASBOX 9559 ) | sed "s/^/$as_me: WARNING: /" >&2 9560 ;; 9561 esac 9562 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9563 $as_echo_n "checking for $ac_header... " >&6; } 9564 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9565 $as_echo_n "(cached) " >&6 9566 else 9567 eval "$as_ac_Header=\$ac_header_preproc" 9568 fi 9569 ac_res=`eval 'as_val=${'$as_ac_Header'} 9570 $as_echo "$as_val"'` 9571 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9572 $as_echo "$ac_res" >&6; } 9573 9574 fi 9575 as_val=`eval 'as_val=${'$as_ac_Header'} 9576 $as_echo "$as_val"'` 9577 if test "x$as_val" = x""yes; then 5423 do : 5424 ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default" 5425 if test "x$ac_cv_header_memory_h" = xyes; then : 9578 5426 cat >>confdefs.h <<_ACEOF 9579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`19580 _ACEOF 9581 9582 else 9583 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55427 #define HAVE_MEMORY_H 1 5428 _ACEOF 5429 5430 else 5431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 9584 5432 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9585 5433 fi … … 9587 5435 done 9588 5436 9589 9590 5437 for ac_header in unistd.h 9591 do 9592 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9594 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9595 $as_echo_n "checking for $ac_header... " >&6; } 9596 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9597 $as_echo_n "(cached) " >&6 9598 fi 9599 ac_res=`eval 'as_val=${'$as_ac_Header'} 9600 $as_echo "$as_val"'` 9601 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9602 $as_echo "$ac_res" >&6; } 9603 else 9604 # Is the header compilable? 9605 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9606 $as_echo_n "checking $ac_header usability... " >&6; } 9607 cat >conftest.$ac_ext <<_ACEOF 9608 /* confdefs.h. */ 9609 _ACEOF 9610 cat confdefs.h >>conftest.$ac_ext 9611 cat >>conftest.$ac_ext <<_ACEOF 9612 /* end confdefs.h. */ 9613 $ac_includes_default 9614 #include <$ac_header> 9615 _ACEOF 9616 rm -f conftest.$ac_objext 9617 if { (ac_try="$ac_compile" 9618 case "(($ac_try" in 9619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9620 *) ac_try_echo=$ac_try;; 9621 esac 9622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9623 $as_echo "$ac_try_echo") >&5 9624 (eval "$ac_compile") 2>conftest.er1 9625 ac_status=$? 9626 grep -v '^ *+' conftest.er1 >conftest.err 9627 rm -f conftest.er1 9628 cat conftest.err >&5 9629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9630 (exit $ac_status); } && { 9631 test -z "$ac_cxx_werror_flag" || 9632 test ! -s conftest.err 9633 } && test -s conftest.$ac_objext; then 9634 ac_header_compiler=yes 9635 else 9636 $as_echo "$as_me: failed program was:" >&5 9637 sed 's/^/| /' conftest.$ac_ext >&5 9638 9639 ac_header_compiler=no 9640 fi 9641 9642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9643 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9644 $as_echo "$ac_header_compiler" >&6; } 9645 9646 # Is the header present? 9647 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9648 $as_echo_n "checking $ac_header presence... " >&6; } 9649 cat >conftest.$ac_ext <<_ACEOF 9650 /* confdefs.h. */ 9651 _ACEOF 9652 cat confdefs.h >>conftest.$ac_ext 9653 cat >>conftest.$ac_ext <<_ACEOF 9654 /* end confdefs.h. */ 9655 #include <$ac_header> 9656 _ACEOF 9657 if { (ac_try="$ac_cpp conftest.$ac_ext" 9658 case "(($ac_try" in 9659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9660 *) ac_try_echo=$ac_try;; 9661 esac 9662 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9663 $as_echo "$ac_try_echo") >&5 9664 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9665 ac_status=$? 9666 grep -v '^ *+' conftest.er1 >conftest.err 9667 rm -f conftest.er1 9668 cat conftest.err >&5 9669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9670 (exit $ac_status); } >/dev/null && { 9671 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9672 test ! -s conftest.err 9673 }; then 9674 ac_header_preproc=yes 9675 else 9676 $as_echo "$as_me: failed program was:" >&5 9677 sed 's/^/| /' conftest.$ac_ext >&5 9678 9679 ac_header_preproc=no 9680 fi 9681 9682 rm -f conftest.err conftest.$ac_ext 9683 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9684 $as_echo "$ac_header_preproc" >&6; } 9685 9686 # So? What about this header? 9687 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9688 yes:no: ) 9689 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9690 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9691 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9692 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9693 ac_header_preproc=yes 9694 ;; 9695 no:yes:* ) 9696 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9697 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9699 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9700 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9701 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9702 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9703 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9704 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9705 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9706 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9707 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9708 ( cat <<\_ASBOX 9709 ## ----------------------------------- ## 9710 ## Report this to rappture@nanohub.org ## 9711 ## ----------------------------------- ## 9712 _ASBOX 9713 ) | sed "s/^/$as_me: WARNING: /" >&2 9714 ;; 9715 esac 9716 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9717 $as_echo_n "checking for $ac_header... " >&6; } 9718 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9719 $as_echo_n "(cached) " >&6 9720 else 9721 eval "$as_ac_Header=\$ac_header_preproc" 9722 fi 9723 ac_res=`eval 'as_val=${'$as_ac_Header'} 9724 $as_echo "$as_val"'` 9725 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9726 $as_echo "$ac_res" >&6; } 9727 9728 fi 9729 as_val=`eval 'as_val=${'$as_ac_Header'} 9730 $as_echo "$as_val"'` 9731 if test "x$as_val" = x""yes; then 5438 do : 5439 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 5440 if test "x$ac_cv_header_unistd_h" = xyes; then : 9732 5441 cat >>confdefs.h <<_ACEOF 9733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`19734 _ACEOF 9735 9736 else 9737 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55442 #define HAVE_UNISTD_H 1 5443 _ACEOF 5444 5445 else 5446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 9738 5447 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9739 5448 fi … … 9742 5451 9743 5452 9744 9745 5453 for ac_header in inttypes.h 9746 do 9747 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9748 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9749 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9750 $as_echo_n "checking for $ac_header... " >&6; } 9751 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9752 $as_echo_n "(cached) " >&6 9753 fi 9754 ac_res=`eval 'as_val=${'$as_ac_Header'} 9755 $as_echo "$as_val"'` 9756 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9757 $as_echo "$ac_res" >&6; } 9758 else 9759 # Is the header compilable? 9760 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9761 $as_echo_n "checking $ac_header usability... " >&6; } 9762 cat >conftest.$ac_ext <<_ACEOF 9763 /* confdefs.h. */ 9764 _ACEOF 9765 cat confdefs.h >>conftest.$ac_ext 9766 cat >>conftest.$ac_ext <<_ACEOF 9767 /* end confdefs.h. */ 9768 $ac_includes_default 9769 #include <$ac_header> 9770 _ACEOF 9771 rm -f conftest.$ac_objext 9772 if { (ac_try="$ac_compile" 9773 case "(($ac_try" in 9774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9775 *) ac_try_echo=$ac_try;; 9776 esac 9777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9778 $as_echo "$ac_try_echo") >&5 9779 (eval "$ac_compile") 2>conftest.er1 9780 ac_status=$? 9781 grep -v '^ *+' conftest.er1 >conftest.err 9782 rm -f conftest.er1 9783 cat conftest.err >&5 9784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9785 (exit $ac_status); } && { 9786 test -z "$ac_cxx_werror_flag" || 9787 test ! -s conftest.err 9788 } && test -s conftest.$ac_objext; then 9789 ac_header_compiler=yes 9790 else 9791 $as_echo "$as_me: failed program was:" >&5 9792 sed 's/^/| /' conftest.$ac_ext >&5 9793 9794 ac_header_compiler=no 9795 fi 9796 9797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9798 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9799 $as_echo "$ac_header_compiler" >&6; } 9800 9801 # Is the header present? 9802 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9803 $as_echo_n "checking $ac_header presence... " >&6; } 9804 cat >conftest.$ac_ext <<_ACEOF 9805 /* confdefs.h. */ 9806 _ACEOF 9807 cat confdefs.h >>conftest.$ac_ext 9808 cat >>conftest.$ac_ext <<_ACEOF 9809 /* end confdefs.h. */ 9810 #include <$ac_header> 9811 _ACEOF 9812 if { (ac_try="$ac_cpp conftest.$ac_ext" 9813 case "(($ac_try" in 9814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9815 *) ac_try_echo=$ac_try;; 9816 esac 9817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9818 $as_echo "$ac_try_echo") >&5 9819 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9820 ac_status=$? 9821 grep -v '^ *+' conftest.er1 >conftest.err 9822 rm -f conftest.er1 9823 cat conftest.err >&5 9824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9825 (exit $ac_status); } >/dev/null && { 9826 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9827 test ! -s conftest.err 9828 }; then 9829 ac_header_preproc=yes 9830 else 9831 $as_echo "$as_me: failed program was:" >&5 9832 sed 's/^/| /' conftest.$ac_ext >&5 9833 9834 ac_header_preproc=no 9835 fi 9836 9837 rm -f conftest.err conftest.$ac_ext 9838 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9839 $as_echo "$ac_header_preproc" >&6; } 9840 9841 # So? What about this header? 9842 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9843 yes:no: ) 9844 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9845 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9846 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9847 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9848 ac_header_preproc=yes 9849 ;; 9850 no:yes:* ) 9851 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9852 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9853 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9854 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9855 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9856 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9857 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9858 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9859 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9860 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9861 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9862 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9863 ( cat <<\_ASBOX 9864 ## ----------------------------------- ## 9865 ## Report this to rappture@nanohub.org ## 9866 ## ----------------------------------- ## 9867 _ASBOX 9868 ) | sed "s/^/$as_me: WARNING: /" >&2 9869 ;; 9870 esac 9871 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9872 $as_echo_n "checking for $ac_header... " >&6; } 9873 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9874 $as_echo_n "(cached) " >&6 9875 else 9876 eval "$as_ac_Header=\$ac_header_preproc" 9877 fi 9878 ac_res=`eval 'as_val=${'$as_ac_Header'} 9879 $as_echo "$as_val"'` 9880 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9881 $as_echo "$ac_res" >&6; } 9882 9883 fi 9884 as_val=`eval 'as_val=${'$as_ac_Header'} 9885 $as_echo "$as_val"'` 9886 if test "x$as_val" = x""yes; then 5454 do : 5455 ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 5456 if test "x$ac_cv_header_inttypes_h" = xyes; then : 9887 5457 cat >>confdefs.h <<_ACEOF 9888 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`19889 _ACEOF 9890 9891 else 9892 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55458 #define HAVE_INTTYPES_H 1 5459 _ACEOF 5460 5461 else 5462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 9893 5463 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9894 5464 fi … … 9907 5477 # Step 0.a: Enable 64 bit support? 9908 5478 9909 { $as_echo "$as_me:$ LINENO: checking if 64bit support is requested" >&55479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 9910 5480 $as_echo_n "checking if 64bit support is requested... " >&6; } 9911 5481 # Check whether --enable-64bit was given. 9912 if test "${enable_64bit+set}" = set; then 5482 if test "${enable_64bit+set}" = set; then : 9913 5483 enableval=$enable_64bit; do64bit=$enableval 9914 5484 else … … 9916 5486 fi 9917 5487 9918 { $as_echo "$as_me:$ LINENO: result: $do64bit" >&55488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 9919 5489 $as_echo "$do64bit" >&6; } 9920 5490 9921 5491 # Step 0.b: Enable Solaris 64 bit VIS support? 9922 5492 9923 { $as_echo "$as_me:$ LINENO: checking if 64bit Sparc VIS support is requested" >&55493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 9924 5494 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 9925 5495 # Check whether --enable-64bit-vis was given. 9926 if test "${enable_64bit_vis+set}" = set; then 5496 if test "${enable_64bit_vis+set}" = set; then : 9927 5497 enableval=$enable_64bit_vis; do64bitVIS=$enableval 9928 5498 else … … 9930 5500 fi 9931 5501 9932 { $as_echo "$as_me:$ LINENO: result: $do64bitVIS" >&55502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 9933 5503 $as_echo "$do64bitVIS" >&6; } 9934 5504 … … 9942 5512 9943 5513 9944 { $as_echo "$as_me:$ LINENO: checking system version" >&55514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 9945 5515 $as_echo_n "checking system version... " >&6; } 9946 if test "${tcl_cv_sys_version+set}" = set; then5516 if ${tcl_cv_sys_version+:} false; then : 9947 5517 $as_echo_n "(cached) " >&6 9948 5518 else … … 9953 5523 tcl_cv_sys_version=`uname -s`-`uname -r` 9954 5524 if test "$?" -ne 0 ; then 9955 { $as_echo "$as_me:$ LINENO: WARNING: can't find uname command" >&55525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 9956 5526 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 9957 5527 tcl_cv_sys_version=unknown … … 9970 5540 9971 5541 fi 9972 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sys_version" >&55542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 9973 5543 $as_echo "$tcl_cv_sys_version" >&6; } 9974 5544 system=$tcl_cv_sys_version … … 9978 5548 # Linux can use either -ldl or -ldld for dynamic loading. 9979 5549 9980 { $as_echo "$as_me:$ LINENO: checking for dlopen in -ldl" >&55550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 9981 5551 $as_echo_n "checking for dlopen in -ldl... " >&6; } 9982 if test "${ac_cv_lib_dl_dlopen+set}" = set; then5552 if ${ac_cv_lib_dl_dlopen+:} false; then : 9983 5553 $as_echo_n "(cached) " >&6 9984 5554 else 9985 5555 ac_check_lib_save_LIBS=$LIBS 9986 5556 LIBS="-ldl $LIBS" 9987 cat >conftest.$ac_ext <<_ACEOF 9988 /* confdefs.h. */ 9989 _ACEOF 9990 cat confdefs.h >>conftest.$ac_ext 9991 cat >>conftest.$ac_ext <<_ACEOF 5557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9992 5558 /* end confdefs.h. */ 9993 5559 … … 10007 5573 } 10008 5574 _ACEOF 10009 rm -f conftest.$ac_objext conftest$ac_exeext 10010 if { (ac_try="$ac_link" 10011 case "(($ac_try" in 10012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10013 *) ac_try_echo=$ac_try;; 10014 esac 10015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10016 $as_echo "$ac_try_echo") >&5 10017 (eval "$ac_link") 2>conftest.er1 10018 ac_status=$? 10019 grep -v '^ *+' conftest.er1 >conftest.err 10020 rm -f conftest.er1 10021 cat conftest.err >&5 10022 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10023 (exit $ac_status); } && { 10024 test -z "$ac_cxx_werror_flag" || 10025 test ! -s conftest.err 10026 } && test -s conftest$ac_exeext && { 10027 test "$cross_compiling" = yes || 10028 $as_test_x conftest$ac_exeext 10029 }; then 5575 if ac_fn_cxx_try_link "$LINENO"; then : 10030 5576 ac_cv_lib_dl_dlopen=yes 10031 5577 else 10032 $as_echo "$as_me: failed program was:" >&5 10033 sed 's/^/| /' conftest.$ac_ext >&5 10034 10035 ac_cv_lib_dl_dlopen=no 10036 fi 10037 10038 rm -rf conftest.dSYM 10039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10040 conftest$ac_exeext conftest.$ac_ext 5578 ac_cv_lib_dl_dlopen=no 5579 fi 5580 rm -f core conftest.err conftest.$ac_objext \ 5581 conftest$ac_exeext conftest.$ac_ext 10041 5582 LIBS=$ac_check_lib_save_LIBS 10042 5583 fi 10043 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dl_dlopen" >&55584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10044 5585 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10045 if test "x$ac_cv_lib_dl_dlopen" = x ""yes; then5586 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10046 5587 have_dl=yes 10047 5588 else … … 10075 5616 # Extract the first word of "ar", so it can be a program name with args. 10076 5617 set dummy ar; ac_word=$2 10077 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&55618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10078 5619 $as_echo_n "checking for $ac_word... " >&6; } 10079 if test "${ac_cv_prog_AR+set}" = set; then5620 if ${ac_cv_prog_AR+:} false; then : 10080 5621 $as_echo_n "(cached) " >&6 10081 5622 else … … 10088 5629 IFS=$as_save_IFS 10089 5630 test -z "$as_dir" && as_dir=. 10090 for ac_exec_ext in '' $ac_executable_extensions; do10091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5631 for ac_exec_ext in '' $ac_executable_extensions; do 5632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10092 5633 ac_cv_prog_AR="ar" 10093 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10094 5635 break 2 10095 5636 fi 10096 5637 done 10097 done5638 done 10098 5639 IFS=$as_save_IFS 10099 5640 … … 10102 5643 AR=$ac_cv_prog_AR 10103 5644 if test -n "$AR"; then 10104 { $as_echo "$as_me:$ LINENO: result: $AR" >&55645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 10105 5646 $as_echo "$AR" >&6; } 10106 5647 else 10107 { $as_echo "$as_me:$ LINENO: result: no" >&55648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10108 5649 $as_echo "no" >&6; } 10109 5650 fi … … 10111 5652 10112 5653 if test "${AR}" = "" ; then 10113 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 10114 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 10115 { (exit 1); exit 1; }; } 5654 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 10116 5655 fi 10117 5656 STLIB_LD='${AR} cr' … … 10131 5670 ;; 10132 5671 esac 10133 { $as_echo "$as_me:$ LINENO: result: Using $CC for compiling with threads" >&55672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 10134 5673 $as_echo "Using $CC for compiling with threads" >&6; } 10135 5674 fi … … 10147 5686 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 10148 5687 if test "$GCC" = "yes" ; then 10149 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&55688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 10150 5689 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 10151 5690 else … … 10202 5741 # known GMT value. 10203 5742 10204 { $as_echo "$as_me:$ LINENO: checking for gettimeofday in -lbsd" >&55743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 10205 5744 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 10206 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then5745 if ${ac_cv_lib_bsd_gettimeofday+:} false; then : 10207 5746 $as_echo_n "(cached) " >&6 10208 5747 else 10209 5748 ac_check_lib_save_LIBS=$LIBS 10210 5749 LIBS="-lbsd $LIBS" 10211 cat >conftest.$ac_ext <<_ACEOF 10212 /* confdefs.h. */ 10213 _ACEOF 10214 cat confdefs.h >>conftest.$ac_ext 10215 cat >>conftest.$ac_ext <<_ACEOF 5750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10216 5751 /* end confdefs.h. */ 10217 5752 … … 10231 5766 } 10232 5767 _ACEOF 10233 rm -f conftest.$ac_objext conftest$ac_exeext 10234 if { (ac_try="$ac_link" 10235 case "(($ac_try" in 10236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10237 *) ac_try_echo=$ac_try;; 10238 esac 10239 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10240 $as_echo "$ac_try_echo") >&5 10241 (eval "$ac_link") 2>conftest.er1 10242 ac_status=$? 10243 grep -v '^ *+' conftest.er1 >conftest.err 10244 rm -f conftest.er1 10245 cat conftest.err >&5 10246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10247 (exit $ac_status); } && { 10248 test -z "$ac_cxx_werror_flag" || 10249 test ! -s conftest.err 10250 } && test -s conftest$ac_exeext && { 10251 test "$cross_compiling" = yes || 10252 $as_test_x conftest$ac_exeext 10253 }; then 5768 if ac_fn_cxx_try_link "$LINENO"; then : 10254 5769 ac_cv_lib_bsd_gettimeofday=yes 10255 5770 else 10256 $as_echo "$as_me: failed program was:" >&5 10257 sed 's/^/| /' conftest.$ac_ext >&5 10258 10259 ac_cv_lib_bsd_gettimeofday=no 10260 fi 10261 10262 rm -rf conftest.dSYM 10263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10264 conftest$ac_exeext conftest.$ac_ext 5771 ac_cv_lib_bsd_gettimeofday=no 5772 fi 5773 rm -f core conftest.err conftest.$ac_objext \ 5774 conftest$ac_exeext conftest.$ac_ext 10265 5775 LIBS=$ac_check_lib_save_LIBS 10266 5776 fi 10267 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&55777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 10268 5778 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 10269 if test "x$ac_cv_lib_bsd_gettimeofday" = x ""yes; then5779 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then : 10270 5780 libbsd=yes 10271 5781 else … … 10275 5785 if test $libbsd = yes; then 10276 5786 MATH_LIBS="$MATH_LIBS -lbsd" 10277 cat >>confdefs.h <<\_ACEOF 10278 #define USE_DELTA_FOR_TZ 1 10279 _ACEOF 5787 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 10280 5788 10281 5789 fi … … 10294 5802 # is always linked to, for compatibility. 10295 5803 #----------------------------------------------------------- 10296 { $as_echo "$as_me:$ LINENO: checking for inet_ntoa in -lbind" >&55804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 10297 5805 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 10298 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then5806 if ${ac_cv_lib_bind_inet_ntoa+:} false; then : 10299 5807 $as_echo_n "(cached) " >&6 10300 5808 else 10301 5809 ac_check_lib_save_LIBS=$LIBS 10302 5810 LIBS="-lbind $LIBS" 10303 cat >conftest.$ac_ext <<_ACEOF 10304 /* confdefs.h. */ 10305 _ACEOF 10306 cat confdefs.h >>conftest.$ac_ext 10307 cat >>conftest.$ac_ext <<_ACEOF 5811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10308 5812 /* end confdefs.h. */ 10309 5813 … … 10323 5827 } 10324 5828 _ACEOF 10325 rm -f conftest.$ac_objext conftest$ac_exeext 10326 if { (ac_try="$ac_link" 10327 case "(($ac_try" in 10328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10329 *) ac_try_echo=$ac_try;; 10330 esac 10331 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10332 $as_echo "$ac_try_echo") >&5 10333 (eval "$ac_link") 2>conftest.er1 10334 ac_status=$? 10335 grep -v '^ *+' conftest.er1 >conftest.err 10336 rm -f conftest.er1 10337 cat conftest.err >&5 10338 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10339 (exit $ac_status); } && { 10340 test -z "$ac_cxx_werror_flag" || 10341 test ! -s conftest.err 10342 } && test -s conftest$ac_exeext && { 10343 test "$cross_compiling" = yes || 10344 $as_test_x conftest$ac_exeext 10345 }; then 5829 if ac_fn_cxx_try_link "$LINENO"; then : 10346 5830 ac_cv_lib_bind_inet_ntoa=yes 10347 5831 else 10348 $as_echo "$as_me: failed program was:" >&5 10349 sed 's/^/| /' conftest.$ac_ext >&5 10350 10351 ac_cv_lib_bind_inet_ntoa=no 10352 fi 10353 10354 rm -rf conftest.dSYM 10355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10356 conftest$ac_exeext conftest.$ac_ext 5832 ac_cv_lib_bind_inet_ntoa=no 5833 fi 5834 rm -f core conftest.err conftest.$ac_objext \ 5835 conftest$ac_exeext conftest.$ac_ext 10357 5836 LIBS=$ac_check_lib_save_LIBS 10358 5837 fi 10359 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&55838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 10360 5839 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 10361 if test "x$ac_cv_lib_bind_inet_ntoa" = x ""yes; then5840 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then : 10362 5841 LIBS="$LIBS -lbind -lsocket" 10363 5842 fi … … 10397 5876 HP-UX-*.11.*) 10398 5877 # Use updated header definitions where possible 10399 cat >>confdefs.h <<\_ACEOF 10400 #define _XOPEN_SOURCE 1 10401 _ACEOF 5878 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 10402 5879 # Use the XOPEN network library 10403 cat >>confdefs.h <<\_ACEOF 10404 #define _XOPEN_SOURCE_EXTENDED 1 10405 _ACEOF 5880 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 10406 5881 # Use the XOPEN network library 10407 5882 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 10412 5887 SHLIB_SUFFIX=".sl" 10413 5888 fi 10414 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&55889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10415 5890 $as_echo_n "checking for shl_load in -ldld... " >&6; } 10416 if test "${ac_cv_lib_dld_shl_load+set}" = set; then5891 if ${ac_cv_lib_dld_shl_load+:} false; then : 10417 5892 $as_echo_n "(cached) " >&6 10418 5893 else 10419 5894 ac_check_lib_save_LIBS=$LIBS 10420 5895 LIBS="-ldld $LIBS" 10421 cat >conftest.$ac_ext <<_ACEOF 10422 /* confdefs.h. */ 10423 _ACEOF 10424 cat confdefs.h >>conftest.$ac_ext 10425 cat >>conftest.$ac_ext <<_ACEOF 5896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10426 5897 /* end confdefs.h. */ 10427 5898 … … 10441 5912 } 10442 5913 _ACEOF 10443 rm -f conftest.$ac_objext conftest$ac_exeext 10444 if { (ac_try="$ac_link" 10445 case "(($ac_try" in 10446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10447 *) ac_try_echo=$ac_try;; 10448 esac 10449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10450 $as_echo "$ac_try_echo") >&5 10451 (eval "$ac_link") 2>conftest.er1 10452 ac_status=$? 10453 grep -v '^ *+' conftest.er1 >conftest.err 10454 rm -f conftest.er1 10455 cat conftest.err >&5 10456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10457 (exit $ac_status); } && { 10458 test -z "$ac_cxx_werror_flag" || 10459 test ! -s conftest.err 10460 } && test -s conftest$ac_exeext && { 10461 test "$cross_compiling" = yes || 10462 $as_test_x conftest$ac_exeext 10463 }; then 5914 if ac_fn_cxx_try_link "$LINENO"; then : 10464 5915 ac_cv_lib_dld_shl_load=yes 10465 5916 else 10466 $as_echo "$as_me: failed program was:" >&5 10467 sed 's/^/| /' conftest.$ac_ext >&5 10468 10469 ac_cv_lib_dld_shl_load=no 10470 fi 10471 10472 rm -rf conftest.dSYM 10473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10474 conftest$ac_exeext conftest.$ac_ext 5917 ac_cv_lib_dld_shl_load=no 5918 fi 5919 rm -f core conftest.err conftest.$ac_objext \ 5920 conftest$ac_exeext conftest.$ac_ext 10475 5921 LIBS=$ac_check_lib_save_LIBS 10476 5922 fi 10477 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&55923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10478 5924 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10479 if test "x$ac_cv_lib_dld_shl_load" = x ""yes; then5925 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 10480 5926 tcl_ok=yes 10481 5927 else … … 10517 5963 ;; 10518 5964 *) 10519 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&55965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 10520 5966 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 10521 5967 ;; … … 10530 5976 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 10531 5977 SHLIB_SUFFIX=".sl" 10532 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&55978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10533 5979 $as_echo_n "checking for shl_load in -ldld... " >&6; } 10534 if test "${ac_cv_lib_dld_shl_load+set}" = set; then5980 if ${ac_cv_lib_dld_shl_load+:} false; then : 10535 5981 $as_echo_n "(cached) " >&6 10536 5982 else 10537 5983 ac_check_lib_save_LIBS=$LIBS 10538 5984 LIBS="-ldld $LIBS" 10539 cat >conftest.$ac_ext <<_ACEOF 10540 /* confdefs.h. */ 10541 _ACEOF 10542 cat confdefs.h >>conftest.$ac_ext 10543 cat >>conftest.$ac_ext <<_ACEOF 5985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10544 5986 /* end confdefs.h. */ 10545 5987 … … 10559 6001 } 10560 6002 _ACEOF 10561 rm -f conftest.$ac_objext conftest$ac_exeext 10562 if { (ac_try="$ac_link" 10563 case "(($ac_try" in 10564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10565 *) ac_try_echo=$ac_try;; 10566 esac 10567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10568 $as_echo "$ac_try_echo") >&5 10569 (eval "$ac_link") 2>conftest.er1 10570 ac_status=$? 10571 grep -v '^ *+' conftest.er1 >conftest.err 10572 rm -f conftest.er1 10573 cat conftest.err >&5 10574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10575 (exit $ac_status); } && { 10576 test -z "$ac_cxx_werror_flag" || 10577 test ! -s conftest.err 10578 } && test -s conftest$ac_exeext && { 10579 test "$cross_compiling" = yes || 10580 $as_test_x conftest$ac_exeext 10581 }; then 6003 if ac_fn_cxx_try_link "$LINENO"; then : 10582 6004 ac_cv_lib_dld_shl_load=yes 10583 6005 else 10584 $as_echo "$as_me: failed program was:" >&5 10585 sed 's/^/| /' conftest.$ac_ext >&5 10586 10587 ac_cv_lib_dld_shl_load=no 10588 fi 10589 10590 rm -rf conftest.dSYM 10591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10592 conftest$ac_exeext conftest.$ac_ext 6006 ac_cv_lib_dld_shl_load=no 6007 fi 6008 rm -f core conftest.err conftest.$ac_objext \ 6009 conftest$ac_exeext conftest.$ac_ext 10593 6010 LIBS=$ac_check_lib_save_LIBS 10594 6011 fi 10595 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&56012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10596 6013 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10597 if test "x$ac_cv_lib_dld_shl_load" = x ""yes; then6014 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 10598 6015 tcl_ok=yes 10599 6016 else … … 10674 6091 if test "$do64bit" = "yes" ; then 10675 6092 if test "$GCC" = "yes" ; then 10676 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported by gcc" >&56093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 10677 6094 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 10678 6095 else … … 10703 6120 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10704 6121 else 10705 if test "${ac_cv_header_dld_h+set}" = set; then 10706 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 10707 $as_echo_n "checking for dld.h... " >&6; } 10708 if test "${ac_cv_header_dld_h+set}" = set; then 10709 $as_echo_n "(cached) " >&6 10710 fi 10711 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10712 $as_echo "$ac_cv_header_dld_h" >&6; } 10713 else 10714 # Is the header compilable? 10715 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 10716 $as_echo_n "checking dld.h usability... " >&6; } 10717 cat >conftest.$ac_ext <<_ACEOF 10718 /* confdefs.h. */ 10719 _ACEOF 10720 cat confdefs.h >>conftest.$ac_ext 10721 cat >>conftest.$ac_ext <<_ACEOF 10722 /* end confdefs.h. */ 10723 $ac_includes_default 10724 #include <dld.h> 10725 _ACEOF 10726 rm -f conftest.$ac_objext 10727 if { (ac_try="$ac_compile" 10728 case "(($ac_try" in 10729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10730 *) ac_try_echo=$ac_try;; 10731 esac 10732 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10733 $as_echo "$ac_try_echo") >&5 10734 (eval "$ac_compile") 2>conftest.er1 10735 ac_status=$? 10736 grep -v '^ *+' conftest.er1 >conftest.err 10737 rm -f conftest.er1 10738 cat conftest.err >&5 10739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10740 (exit $ac_status); } && { 10741 test -z "$ac_cxx_werror_flag" || 10742 test ! -s conftest.err 10743 } && test -s conftest.$ac_objext; then 10744 ac_header_compiler=yes 10745 else 10746 $as_echo "$as_me: failed program was:" >&5 10747 sed 's/^/| /' conftest.$ac_ext >&5 10748 10749 ac_header_compiler=no 10750 fi 10751 10752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10753 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10754 $as_echo "$ac_header_compiler" >&6; } 10755 10756 # Is the header present? 10757 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 10758 $as_echo_n "checking dld.h presence... " >&6; } 10759 cat >conftest.$ac_ext <<_ACEOF 10760 /* confdefs.h. */ 10761 _ACEOF 10762 cat confdefs.h >>conftest.$ac_ext 10763 cat >>conftest.$ac_ext <<_ACEOF 10764 /* end confdefs.h. */ 10765 #include <dld.h> 10766 _ACEOF 10767 if { (ac_try="$ac_cpp conftest.$ac_ext" 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_cpp conftest.$ac_ext") 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); } >/dev/null && { 10781 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10782 test ! -s conftest.err 10783 }; then 10784 ac_header_preproc=yes 10785 else 10786 $as_echo "$as_me: failed program was:" >&5 10787 sed 's/^/| /' conftest.$ac_ext >&5 10788 10789 ac_header_preproc=no 10790 fi 10791 10792 rm -f conftest.err conftest.$ac_ext 10793 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10794 $as_echo "$ac_header_preproc" >&6; } 10795 10796 # So? What about this header? 10797 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10798 yes:no: ) 10799 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10800 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10801 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10802 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10803 ac_header_preproc=yes 10804 ;; 10805 no:yes:* ) 10806 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10807 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10808 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10809 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10810 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10811 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10812 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10813 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10814 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10815 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10816 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10817 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10818 ( cat <<\_ASBOX 10819 ## ----------------------------------- ## 10820 ## Report this to rappture@nanohub.org ## 10821 ## ----------------------------------- ## 10822 _ASBOX 10823 ) | sed "s/^/$as_me: WARNING: /" >&2 10824 ;; 10825 esac 10826 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 10827 $as_echo_n "checking for dld.h... " >&6; } 10828 if test "${ac_cv_header_dld_h+set}" = set; then 10829 $as_echo_n "(cached) " >&6 10830 else 10831 ac_cv_header_dld_h=$ac_header_preproc 10832 fi 10833 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10834 $as_echo "$ac_cv_header_dld_h" >&6; } 10835 10836 fi 10837 if test "x$ac_cv_header_dld_h" = x""yes; then 6122 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6123 if test "x$ac_cv_header_dld_h" = xyes; then : 10838 6124 10839 6125 SHLIB_LD="ld -shared" … … 10850 6136 fi 10851 6137 if test $do64bit = yes; then 10852 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -m64 flag" >&56138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 10853 6139 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 10854 if test "${tcl_cv_cc_m64+set}" = set; then6140 if ${tcl_cv_cc_m64+:} false; then : 10855 6141 $as_echo_n "(cached) " >&6 10856 6142 else … … 10858 6144 hold_cflags=$CFLAGS 10859 6145 CFLAGS="$CFLAGS -m64" 10860 cat >conftest.$ac_ext <<_ACEOF 10861 /* confdefs.h. */ 10862 _ACEOF 10863 cat confdefs.h >>conftest.$ac_ext 10864 cat >>conftest.$ac_ext <<_ACEOF 6146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10865 6147 /* end confdefs.h. */ 10866 6148 … … 10873 6155 } 10874 6156 _ACEOF 10875 rm -f conftest.$ac_objext conftest$ac_exeext 10876 if { (ac_try="$ac_link" 10877 case "(($ac_try" in 10878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10879 *) ac_try_echo=$ac_try;; 10880 esac 10881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10882 $as_echo "$ac_try_echo") >&5 10883 (eval "$ac_link") 2>conftest.er1 10884 ac_status=$? 10885 grep -v '^ *+' conftest.er1 >conftest.err 10886 rm -f conftest.er1 10887 cat conftest.err >&5 10888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10889 (exit $ac_status); } && { 10890 test -z "$ac_cxx_werror_flag" || 10891 test ! -s conftest.err 10892 } && test -s conftest$ac_exeext && { 10893 test "$cross_compiling" = yes || 10894 $as_test_x conftest$ac_exeext 10895 }; then 6157 if ac_fn_cxx_try_link "$LINENO"; then : 10896 6158 tcl_cv_cc_m64=yes 10897 6159 else 10898 $as_echo "$as_me: failed program was:" >&5 10899 sed 's/^/| /' conftest.$ac_ext >&5 10900 10901 tcl_cv_cc_m64=no 10902 fi 10903 10904 rm -rf conftest.dSYM 10905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10906 conftest$ac_exeext conftest.$ac_ext 6160 tcl_cv_cc_m64=no 6161 fi 6162 rm -f core conftest.err conftest.$ac_objext \ 6163 conftest$ac_exeext conftest.$ac_ext 10907 6164 CFLAGS=$hold_cflags 10908 6165 fi 10909 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_m64" >&56166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 10910 6167 $as_echo "$tcl_cv_cc_m64" >&6; } 10911 6168 if test $tcl_cv_cc_m64 = yes; then … … 10927 6184 10928 6185 # XIM peeking works under XFree86. 10929 cat >>confdefs.h <<\_ACEOF 10930 #define PEEK_XCLOSEIM 1 10931 _ACEOF 6186 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 10932 6187 10933 6188 … … 10946 6201 LD_SEARCH_FLAGS="" 10947 6202 else 10948 if test "${ac_cv_header_dld_h+set}" = set; then 10949 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 10950 $as_echo_n "checking for dld.h... " >&6; } 10951 if test "${ac_cv_header_dld_h+set}" = set; then 10952 $as_echo_n "(cached) " >&6 10953 fi 10954 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10955 $as_echo "$ac_cv_header_dld_h" >&6; } 10956 else 10957 # Is the header compilable? 10958 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 10959 $as_echo_n "checking dld.h usability... " >&6; } 10960 cat >conftest.$ac_ext <<_ACEOF 10961 /* confdefs.h. */ 10962 _ACEOF 10963 cat confdefs.h >>conftest.$ac_ext 10964 cat >>conftest.$ac_ext <<_ACEOF 10965 /* end confdefs.h. */ 10966 $ac_includes_default 10967 #include <dld.h> 10968 _ACEOF 10969 rm -f conftest.$ac_objext 10970 if { (ac_try="$ac_compile" 10971 case "(($ac_try" in 10972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10973 *) ac_try_echo=$ac_try;; 10974 esac 10975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10976 $as_echo "$ac_try_echo") >&5 10977 (eval "$ac_compile") 2>conftest.er1 10978 ac_status=$? 10979 grep -v '^ *+' conftest.er1 >conftest.err 10980 rm -f conftest.er1 10981 cat conftest.err >&5 10982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10983 (exit $ac_status); } && { 10984 test -z "$ac_cxx_werror_flag" || 10985 test ! -s conftest.err 10986 } && test -s conftest.$ac_objext; then 10987 ac_header_compiler=yes 10988 else 10989 $as_echo "$as_me: failed program was:" >&5 10990 sed 's/^/| /' conftest.$ac_ext >&5 10991 10992 ac_header_compiler=no 10993 fi 10994 10995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10996 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10997 $as_echo "$ac_header_compiler" >&6; } 10998 10999 # Is the header present? 11000 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 11001 $as_echo_n "checking dld.h presence... " >&6; } 11002 cat >conftest.$ac_ext <<_ACEOF 11003 /* confdefs.h. */ 11004 _ACEOF 11005 cat confdefs.h >>conftest.$ac_ext 11006 cat >>conftest.$ac_ext <<_ACEOF 11007 /* end confdefs.h. */ 11008 #include <dld.h> 11009 _ACEOF 11010 if { (ac_try="$ac_cpp conftest.$ac_ext" 11011 case "(($ac_try" in 11012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11013 *) ac_try_echo=$ac_try;; 11014 esac 11015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11016 $as_echo "$ac_try_echo") >&5 11017 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11018 ac_status=$? 11019 grep -v '^ *+' conftest.er1 >conftest.err 11020 rm -f conftest.er1 11021 cat conftest.err >&5 11022 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11023 (exit $ac_status); } >/dev/null && { 11024 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11025 test ! -s conftest.err 11026 }; then 11027 ac_header_preproc=yes 11028 else 11029 $as_echo "$as_me: failed program was:" >&5 11030 sed 's/^/| /' conftest.$ac_ext >&5 11031 11032 ac_header_preproc=no 11033 fi 11034 11035 rm -f conftest.err conftest.$ac_ext 11036 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11037 $as_echo "$ac_header_preproc" >&6; } 11038 11039 # So? What about this header? 11040 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11041 yes:no: ) 11042 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 11043 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11044 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 11045 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 11046 ac_header_preproc=yes 11047 ;; 11048 no:yes:* ) 11049 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 11050 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 11051 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 11052 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 11053 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 11054 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 11055 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 11056 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 11057 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 11058 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 11059 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 11060 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 11061 ( cat <<\_ASBOX 11062 ## ----------------------------------- ## 11063 ## Report this to rappture@nanohub.org ## 11064 ## ----------------------------------- ## 11065 _ASBOX 11066 ) | sed "s/^/$as_me: WARNING: /" >&2 11067 ;; 11068 esac 11069 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 11070 $as_echo_n "checking for dld.h... " >&6; } 11071 if test "${ac_cv_header_dld_h+set}" = set; then 11072 $as_echo_n "(cached) " >&6 11073 else 11074 ac_cv_header_dld_h=$ac_header_preproc 11075 fi 11076 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 11077 $as_echo "$ac_cv_header_dld_h" >&6; } 11078 11079 fi 11080 if test "x$ac_cv_header_dld_h" = x""yes; then 6203 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6204 if test "x$ac_cv_header_dld_h" = xyes; then : 11081 6205 11082 6206 SHLIB_LD="ld -shared" … … 11128 6252 NetBSD-*|FreeBSD-[1-2].*) 11129 6253 # Not available on all versions: check for include file. 11130 if test "${ac_cv_header_dlfcn_h+set}" = set; then 11131 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 11132 $as_echo_n "checking for dlfcn.h... " >&6; } 11133 if test "${ac_cv_header_dlfcn_h+set}" = set; then 11134 $as_echo_n "(cached) " >&6 11135 fi 11136 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 11137 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 11138 else 11139 # Is the header compilable? 11140 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 11141 $as_echo_n "checking dlfcn.h usability... " >&6; } 11142 cat >conftest.$ac_ext <<_ACEOF 11143 /* confdefs.h. */ 11144 _ACEOF 11145 cat confdefs.h >>conftest.$ac_ext 11146 cat >>conftest.$ac_ext <<_ACEOF 11147 /* end confdefs.h. */ 11148 $ac_includes_default 11149 #include <dlfcn.h> 11150 _ACEOF 11151 rm -f conftest.$ac_objext 11152 if { (ac_try="$ac_compile" 11153 case "(($ac_try" in 11154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11155 *) ac_try_echo=$ac_try;; 11156 esac 11157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11158 $as_echo "$ac_try_echo") >&5 11159 (eval "$ac_compile") 2>conftest.er1 11160 ac_status=$? 11161 grep -v '^ *+' conftest.er1 >conftest.err 11162 rm -f conftest.er1 11163 cat conftest.err >&5 11164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11165 (exit $ac_status); } && { 11166 test -z "$ac_cxx_werror_flag" || 11167 test ! -s conftest.err 11168 } && test -s conftest.$ac_objext; then 11169 ac_header_compiler=yes 11170 else 11171 $as_echo "$as_me: failed program was:" >&5 11172 sed 's/^/| /' conftest.$ac_ext >&5 11173 11174 ac_header_compiler=no 11175 fi 11176 11177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11178 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11179 $as_echo "$ac_header_compiler" >&6; } 11180 11181 # Is the header present? 11182 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 11183 $as_echo_n "checking dlfcn.h presence... " >&6; } 11184 cat >conftest.$ac_ext <<_ACEOF 11185 /* confdefs.h. */ 11186 _ACEOF 11187 cat confdefs.h >>conftest.$ac_ext 11188 cat >>conftest.$ac_ext <<_ACEOF 11189 /* end confdefs.h. */ 11190 #include <dlfcn.h> 11191 _ACEOF 11192 if { (ac_try="$ac_cpp conftest.$ac_ext" 11193 case "(($ac_try" in 11194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11195 *) ac_try_echo=$ac_try;; 11196 esac 11197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11198 $as_echo "$ac_try_echo") >&5 11199 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11200 ac_status=$? 11201 grep -v '^ *+' conftest.er1 >conftest.err 11202 rm -f conftest.er1 11203 cat conftest.err >&5 11204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11205 (exit $ac_status); } >/dev/null && { 11206 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11207 test ! -s conftest.err 11208 }; then 11209 ac_header_preproc=yes 11210 else 11211 $as_echo "$as_me: failed program was:" >&5 11212 sed 's/^/| /' conftest.$ac_ext >&5 11213 11214 ac_header_preproc=no 11215 fi 11216 11217 rm -f conftest.err conftest.$ac_ext 11218 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11219 $as_echo "$ac_header_preproc" >&6; } 11220 11221 # So? What about this header? 11222 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11223 yes:no: ) 11224 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 11225 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11226 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 11227 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 11228 ac_header_preproc=yes 11229 ;; 11230 no:yes:* ) 11231 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 11232 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 11233 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 11234 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 11235 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 11236 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 11237 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 11238 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 11239 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 11240 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 11241 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 11242 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 11243 ( cat <<\_ASBOX 11244 ## ----------------------------------- ## 11245 ## Report this to rappture@nanohub.org ## 11246 ## ----------------------------------- ## 11247 _ASBOX 11248 ) | sed "s/^/$as_me: WARNING: /" >&2 11249 ;; 11250 esac 11251 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 11252 $as_echo_n "checking for dlfcn.h... " >&6; } 11253 if test "${ac_cv_header_dlfcn_h+set}" = set; then 11254 $as_echo_n "(cached) " >&6 11255 else 11256 ac_cv_header_dlfcn_h=$ac_header_preproc 11257 fi 11258 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 11259 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 11260 11261 fi 11262 if test "x$ac_cv_header_dlfcn_h" = x""yes; then 6254 ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 6255 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 11263 6256 11264 6257 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 11271 6264 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 11272 6265 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 11273 { $as_echo "$as_me:$ LINENO: checking for ELF" >&56266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 11274 6267 $as_echo_n "checking for ELF... " >&6; } 11275 if test "${tcl_cv_ld_elf+set}" = set; then6268 if ${tcl_cv_ld_elf+:} false; then : 11276 6269 $as_echo_n "(cached) " >&6 11277 6270 else 11278 6271 11279 cat >conftest.$ac_ext <<_ACEOF 11280 /* confdefs.h. */ 11281 _ACEOF 11282 cat confdefs.h >>conftest.$ac_ext 11283 cat >>conftest.$ac_ext <<_ACEOF 6272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11284 6273 /* end confdefs.h. */ 11285 6274 … … 11290 6279 _ACEOF 11291 6280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11292 $EGREP "yes" >/dev/null 2>&1; then 6281 $EGREP "yes" >/dev/null 2>&1; then : 11293 6282 tcl_cv_ld_elf=yes 11294 6283 else … … 11298 6287 11299 6288 fi 11300 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&56289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 11301 6290 $as_echo "$tcl_cv_ld_elf" >&6; } 11302 6291 if test $tcl_cv_ld_elf = yes; then … … 11357 6346 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 11358 6347 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 11359 { $as_echo "$as_me:$ LINENO: checking for ELF" >&56348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 11360 6349 $as_echo_n "checking for ELF... " >&6; } 11361 if test "${tcl_cv_ld_elf+set}" = set; then6350 if ${tcl_cv_ld_elf+:} false; then : 11362 6351 $as_echo_n "(cached) " >&6 11363 6352 else 11364 6353 11365 cat >conftest.$ac_ext <<_ACEOF 11366 /* confdefs.h. */ 11367 _ACEOF 11368 cat confdefs.h >>conftest.$ac_ext 11369 cat >>conftest.$ac_ext <<_ACEOF 6354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11370 6355 /* end confdefs.h. */ 11371 6356 … … 11376 6361 _ACEOF 11377 6362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11378 $EGREP "yes" >/dev/null 2>&1; then 6363 $EGREP "yes" >/dev/null 2>&1; then : 11379 6364 tcl_cv_ld_elf=yes 11380 6365 else … … 11384 6369 11385 6370 fi 11386 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&56371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 11387 6372 $as_echo "$tcl_cv_ld_elf" >&6; } 11388 6373 if test $tcl_cv_ld_elf = yes; then … … 11439 6424 case `arch` in 11440 6425 ppc) 11441 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -arch ppc64 flag" >&56426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 11442 6427 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 11443 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then6428 if ${tcl_cv_cc_arch_ppc64+:} false; then : 11444 6429 $as_echo_n "(cached) " >&6 11445 6430 else … … 11447 6432 hold_cflags=$CFLAGS 11448 6433 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 11449 cat >conftest.$ac_ext <<_ACEOF 11450 /* confdefs.h. */ 11451 _ACEOF 11452 cat confdefs.h >>conftest.$ac_ext 11453 cat >>conftest.$ac_ext <<_ACEOF 6434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11454 6435 /* end confdefs.h. */ 11455 6436 … … 11462 6443 } 11463 6444 _ACEOF 11464 rm -f conftest.$ac_objext conftest$ac_exeext 11465 if { (ac_try="$ac_link" 11466 case "(($ac_try" in 11467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11468 *) ac_try_echo=$ac_try;; 11469 esac 11470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11471 $as_echo "$ac_try_echo") >&5 11472 (eval "$ac_link") 2>conftest.er1 11473 ac_status=$? 11474 grep -v '^ *+' conftest.er1 >conftest.err 11475 rm -f conftest.er1 11476 cat conftest.err >&5 11477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11478 (exit $ac_status); } && { 11479 test -z "$ac_cxx_werror_flag" || 11480 test ! -s conftest.err 11481 } && test -s conftest$ac_exeext && { 11482 test "$cross_compiling" = yes || 11483 $as_test_x conftest$ac_exeext 11484 }; then 6445 if ac_fn_cxx_try_link "$LINENO"; then : 11485 6446 tcl_cv_cc_arch_ppc64=yes 11486 6447 else 11487 $as_echo "$as_me: failed program was:" >&5 11488 sed 's/^/| /' conftest.$ac_ext >&5 11489 11490 tcl_cv_cc_arch_ppc64=no 11491 fi 11492 11493 rm -rf conftest.dSYM 11494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11495 conftest$ac_exeext conftest.$ac_ext 6448 tcl_cv_cc_arch_ppc64=no 6449 fi 6450 rm -f core conftest.err conftest.$ac_objext \ 6451 conftest$ac_exeext conftest.$ac_ext 11496 6452 CFLAGS=$hold_cflags 11497 6453 fi 11498 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_arch_ppc64" >&56454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 11499 6455 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 11500 6456 if test $tcl_cv_cc_arch_ppc64 = yes; then … … 11503 6459 fi;; 11504 6460 i386) 11505 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -arch x86_64 flag" >&56461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 11506 6462 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 11507 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then6463 if ${tcl_cv_cc_arch_x86_64+:} false; then : 11508 6464 $as_echo_n "(cached) " >&6 11509 6465 else … … 11511 6467 hold_cflags=$CFLAGS 11512 6468 CFLAGS="$CFLAGS -arch x86_64" 11513 cat >conftest.$ac_ext <<_ACEOF 11514 /* confdefs.h. */ 11515 _ACEOF 11516 cat confdefs.h >>conftest.$ac_ext 11517 cat >>conftest.$ac_ext <<_ACEOF 6469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11518 6470 /* end confdefs.h. */ 11519 6471 … … 11526 6478 } 11527 6479 _ACEOF 11528 rm -f conftest.$ac_objext conftest$ac_exeext 11529 if { (ac_try="$ac_link" 11530 case "(($ac_try" in 11531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11532 *) ac_try_echo=$ac_try;; 11533 esac 11534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11535 $as_echo "$ac_try_echo") >&5 11536 (eval "$ac_link") 2>conftest.er1 11537 ac_status=$? 11538 grep -v '^ *+' conftest.er1 >conftest.err 11539 rm -f conftest.er1 11540 cat conftest.err >&5 11541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11542 (exit $ac_status); } && { 11543 test -z "$ac_cxx_werror_flag" || 11544 test ! -s conftest.err 11545 } && test -s conftest$ac_exeext && { 11546 test "$cross_compiling" = yes || 11547 $as_test_x conftest$ac_exeext 11548 }; then 6480 if ac_fn_cxx_try_link "$LINENO"; then : 11549 6481 tcl_cv_cc_arch_x86_64=yes 11550 6482 else 11551 $as_echo "$as_me: failed program was:" >&5 11552 sed 's/^/| /' conftest.$ac_ext >&5 11553 11554 tcl_cv_cc_arch_x86_64=no 11555 fi 11556 11557 rm -rf conftest.dSYM 11558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11559 conftest$ac_exeext conftest.$ac_ext 6483 tcl_cv_cc_arch_x86_64=no 6484 fi 6485 rm -f core conftest.err conftest.$ac_objext \ 6486 conftest$ac_exeext conftest.$ac_ext 11560 6487 CFLAGS=$hold_cflags 11561 6488 fi 11562 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_arch_x86_64" >&56489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 11563 6490 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 11564 6491 if test $tcl_cv_cc_arch_x86_64 = yes; then … … 11567 6494 fi;; 11568 6495 *) 11569 { $as_echo "$as_me:$ LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&56496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 11570 6497 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 11571 6498 esac … … 11577 6504 fi 11578 6505 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 11579 { $as_echo "$as_me:$ LINENO: checking if ld accepts -single_module flag" >&56506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 11580 6507 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 11581 if test "${tcl_cv_ld_single_module+set}" = set; then6508 if ${tcl_cv_ld_single_module+:} false; then : 11582 6509 $as_echo_n "(cached) " >&6 11583 6510 else … … 11585 6512 hold_ldflags=$LDFLAGS 11586 6513 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 11587 cat >conftest.$ac_ext <<_ACEOF 11588 /* confdefs.h. */ 11589 _ACEOF 11590 cat confdefs.h >>conftest.$ac_ext 11591 cat >>conftest.$ac_ext <<_ACEOF 6514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11592 6515 /* end confdefs.h. */ 11593 6516 … … 11600 6523 } 11601 6524 _ACEOF 11602 rm -f conftest.$ac_objext conftest$ac_exeext 11603 if { (ac_try="$ac_link" 11604 case "(($ac_try" in 11605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11606 *) ac_try_echo=$ac_try;; 11607 esac 11608 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11609 $as_echo "$ac_try_echo") >&5 11610 (eval "$ac_link") 2>conftest.er1 11611 ac_status=$? 11612 grep -v '^ *+' conftest.er1 >conftest.err 11613 rm -f conftest.er1 11614 cat conftest.err >&5 11615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11616 (exit $ac_status); } && { 11617 test -z "$ac_cxx_werror_flag" || 11618 test ! -s conftest.err 11619 } && test -s conftest$ac_exeext && { 11620 test "$cross_compiling" = yes || 11621 $as_test_x conftest$ac_exeext 11622 }; then 6525 if ac_fn_cxx_try_link "$LINENO"; then : 11623 6526 tcl_cv_ld_single_module=yes 11624 6527 else 11625 $as_echo "$as_me: failed program was:" >&5 11626 sed 's/^/| /' conftest.$ac_ext >&5 11627 11628 tcl_cv_ld_single_module=no 11629 fi 11630 11631 rm -rf conftest.dSYM 11632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11633 conftest$ac_exeext conftest.$ac_ext 6528 tcl_cv_ld_single_module=no 6529 fi 6530 rm -f core conftest.err conftest.$ac_objext \ 6531 conftest$ac_exeext conftest.$ac_ext 11634 6532 LDFLAGS=$hold_ldflags 11635 6533 fi 11636 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_single_module" >&56534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 11637 6535 $as_echo "$tcl_cv_ld_single_module" >&6; } 11638 6536 if test $tcl_cv_ld_single_module = yes; then … … 11648 6546 LDFLAGS="$LDFLAGS -prebind" 11649 6547 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 11650 { $as_echo "$as_me:$ LINENO: checking if ld accepts -search_paths_first flag" >&56548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 11651 6549 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 11652 if test "${tcl_cv_ld_search_paths_first+set}" = set; then6550 if ${tcl_cv_ld_search_paths_first+:} false; then : 11653 6551 $as_echo_n "(cached) " >&6 11654 6552 else … … 11656 6554 hold_ldflags=$LDFLAGS 11657 6555 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 11658 cat >conftest.$ac_ext <<_ACEOF 11659 /* confdefs.h. */ 11660 _ACEOF 11661 cat confdefs.h >>conftest.$ac_ext 11662 cat >>conftest.$ac_ext <<_ACEOF 6556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11663 6557 /* end confdefs.h. */ 11664 6558 … … 11671 6565 } 11672 6566 _ACEOF 11673 rm -f conftest.$ac_objext conftest$ac_exeext 11674 if { (ac_try="$ac_link" 11675 case "(($ac_try" in 11676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11677 *) ac_try_echo=$ac_try;; 11678 esac 11679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11680 $as_echo "$ac_try_echo") >&5 11681 (eval "$ac_link") 2>conftest.er1 11682 ac_status=$? 11683 grep -v '^ *+' conftest.er1 >conftest.err 11684 rm -f conftest.er1 11685 cat conftest.err >&5 11686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11687 (exit $ac_status); } && { 11688 test -z "$ac_cxx_werror_flag" || 11689 test ! -s conftest.err 11690 } && test -s conftest$ac_exeext && { 11691 test "$cross_compiling" = yes || 11692 $as_test_x conftest$ac_exeext 11693 }; then 6567 if ac_fn_cxx_try_link "$LINENO"; then : 11694 6568 tcl_cv_ld_search_paths_first=yes 11695 6569 else 11696 $as_echo "$as_me: failed program was:" >&5 11697 sed 's/^/| /' conftest.$ac_ext >&5 11698 11699 tcl_cv_ld_search_paths_first=no 11700 fi 11701 11702 rm -rf conftest.dSYM 11703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11704 conftest$ac_exeext conftest.$ac_ext 6570 tcl_cv_ld_search_paths_first=no 6571 fi 6572 rm -f core conftest.err conftest.$ac_objext \ 6573 conftest$ac_exeext conftest.$ac_ext 11705 6574 LDFLAGS=$hold_ldflags 11706 6575 fi 11707 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_search_paths_first" >&56576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 11708 6577 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 11709 6578 if test $tcl_cv_ld_search_paths_first = yes; then … … 11715 6584 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 11716 6585 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 11717 { $as_echo "$as_me:$ LINENO: checking whether to use CoreFoundation" >&56586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5 11718 6587 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 11719 6588 # Check whether --enable-corefoundation was given. 11720 if test "${enable_corefoundation+set}" = set; then 6589 if test "${enable_corefoundation+set}" = set; then : 11721 6590 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 11722 6591 else … … 11724 6593 fi 11725 6594 11726 { $as_echo "$as_me:$ LINENO: result: $tcl_corefoundation" >&56595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5 11727 6596 $as_echo "$tcl_corefoundation" >&6; } 11728 6597 if test $tcl_corefoundation = yes; then 11729 { $as_echo "$as_me:$ LINENO: checking for CoreFoundation.framework" >&56598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 11730 6599 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 11731 if test "${tcl_cv_lib_corefoundation+set}" = set; then6600 if ${tcl_cv_lib_corefoundation+:} false; then : 11732 6601 $as_echo_n "(cached) " >&6 11733 6602 else … … 11741 6610 done; fi 11742 6611 LIBS="$LIBS -framework CoreFoundation" 11743 cat >conftest.$ac_ext <<_ACEOF 11744 /* confdefs.h. */ 11745 _ACEOF 11746 cat confdefs.h >>conftest.$ac_ext 11747 cat >>conftest.$ac_ext <<_ACEOF 6612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11748 6613 /* end confdefs.h. */ 11749 6614 #include <CoreFoundation/CoreFoundation.h> … … 11756 6621 } 11757 6622 _ACEOF 11758 rm -f conftest.$ac_objext conftest$ac_exeext 11759 if { (ac_try="$ac_link" 11760 case "(($ac_try" in 11761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11762 *) ac_try_echo=$ac_try;; 11763 esac 11764 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11765 $as_echo "$ac_try_echo") >&5 11766 (eval "$ac_link") 2>conftest.er1 11767 ac_status=$? 11768 grep -v '^ *+' conftest.er1 >conftest.err 11769 rm -f conftest.er1 11770 cat conftest.err >&5 11771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11772 (exit $ac_status); } && { 11773 test -z "$ac_cxx_werror_flag" || 11774 test ! -s conftest.err 11775 } && test -s conftest$ac_exeext && { 11776 test "$cross_compiling" = yes || 11777 $as_test_x conftest$ac_exeext 11778 }; then 6623 if ac_fn_cxx_try_link "$LINENO"; then : 11779 6624 tcl_cv_lib_corefoundation=yes 11780 6625 else 11781 $as_echo "$as_me: failed program was:" >&5 11782 sed 's/^/| /' conftest.$ac_ext >&5 11783 11784 tcl_cv_lib_corefoundation=no 11785 fi 11786 11787 rm -rf conftest.dSYM 11788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11789 conftest$ac_exeext conftest.$ac_ext 6626 tcl_cv_lib_corefoundation=no 6627 fi 6628 rm -f core conftest.err conftest.$ac_objext \ 6629 conftest$ac_exeext conftest.$ac_ext 11790 6630 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 11791 6631 eval $v'="$hold_'$v'"' 11792 6632 done; fi; LIBS=$hold_libs 11793 6633 fi 11794 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_lib_corefoundation" >&56634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5 11795 6635 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 11796 6636 if test $tcl_cv_lib_corefoundation = yes; then 11797 6637 LIBS="$LIBS -framework CoreFoundation" 11798 cat >>confdefs.h <<\_ACEOF 11799 #define HAVE_COREFOUNDATION 1 11800 _ACEOF 6638 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 11801 6639 11802 6640 else … … 11804 6642 fi 11805 6643 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 11806 { $as_echo "$as_me:$ LINENO: checking for 64-bit CoreFoundation" >&56644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 11807 6645 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 11808 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then6646 if ${tcl_cv_lib_corefoundation_64+:} false; then : 11809 6647 $as_echo_n "(cached) " >&6 11810 6648 else … … 11813 6651 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 11814 6652 done 11815 cat >conftest.$ac_ext <<_ACEOF 11816 /* confdefs.h. */ 11817 _ACEOF 11818 cat confdefs.h >>conftest.$ac_ext 11819 cat >>conftest.$ac_ext <<_ACEOF 6653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11820 6654 /* end confdefs.h. */ 11821 6655 #include <CoreFoundation/CoreFoundation.h> … … 11828 6662 } 11829 6663 _ACEOF 11830 rm -f conftest.$ac_objext conftest$ac_exeext 11831 if { (ac_try="$ac_link" 11832 case "(($ac_try" in 11833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11834 *) ac_try_echo=$ac_try;; 11835 esac 11836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11837 $as_echo "$ac_try_echo") >&5 11838 (eval "$ac_link") 2>conftest.er1 11839 ac_status=$? 11840 grep -v '^ *+' conftest.er1 >conftest.err 11841 rm -f conftest.er1 11842 cat conftest.err >&5 11843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11844 (exit $ac_status); } && { 11845 test -z "$ac_cxx_werror_flag" || 11846 test ! -s conftest.err 11847 } && test -s conftest$ac_exeext && { 11848 test "$cross_compiling" = yes || 11849 $as_test_x conftest$ac_exeext 11850 }; then 6664 if ac_fn_cxx_try_link "$LINENO"; then : 11851 6665 tcl_cv_lib_corefoundation_64=yes 11852 6666 else 11853 $as_echo "$as_me: failed program was:" >&5 11854 sed 's/^/| /' conftest.$ac_ext >&5 11855 11856 tcl_cv_lib_corefoundation_64=no 11857 fi 11858 11859 rm -rf conftest.dSYM 11860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11861 conftest$ac_exeext conftest.$ac_ext 6667 tcl_cv_lib_corefoundation_64=no 6668 fi 6669 rm -f core conftest.err conftest.$ac_objext \ 6670 conftest$ac_exeext conftest.$ac_ext 11862 6671 for v in CFLAGS CPPFLAGS LDFLAGS; do 11863 6672 eval $v'="$hold_'$v'"' 11864 6673 done 11865 6674 fi 11866 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_lib_corefoundation_64" >&56675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5 11867 6676 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 11868 6677 if test $tcl_cv_lib_corefoundation_64 = no; then 11869 cat >>confdefs.h <<\_ACEOF 11870 #define NO_COREFOUNDATION_64 1 11871 _ACEOF 6678 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 11872 6679 11873 6680 fi 11874 6681 fi 11875 6682 fi 11876 cat >>confdefs.h <<\_ACEOF 11877 #define MAC_OSX_TCL 1 11878 _ACEOF 6683 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 11879 6684 11880 6685 ;; … … 11891 6696 OS/390-*) 11892 6697 CFLAGS_OPTIMIZE="" # Optimizer is buggy 11893 cat >>confdefs.h <<\_ACEOF 11894 #define _OE_SOCKETS 1 11895 _ACEOF 6698 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 11896 6699 # needed in sys/socket.h 11897 6700 ;; … … 12034 6837 # won't define thread-safe library routines. 12035 6838 12036 cat >>confdefs.h <<\_ACEOF 12037 #define _REENTRANT 1 12038 _ACEOF 12039 12040 cat >>confdefs.h <<\_ACEOF 12041 #define _POSIX_PTHREAD_SEMANTICS 1 12042 _ACEOF 6839 $as_echo "#define _REENTRANT 1" >>confdefs.h 6840 6841 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 12043 6842 12044 6843 … … 12066 6865 # won't define thread-safe library routines. 12067 6866 12068 cat >>confdefs.h <<\_ACEOF 12069 #define _REENTRANT 1 12070 _ACEOF 12071 12072 cat >>confdefs.h <<\_ACEOF 12073 #define _POSIX_PTHREAD_SEMANTICS 1 12074 _ACEOF 6867 $as_echo "#define _REENTRANT 1" >>confdefs.h 6868 6869 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 12075 6870 12076 6871 … … 12083 6878 if test "$GCC" = "yes" ; then 12084 6879 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 12085 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&56880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 12086 6881 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 12087 6882 else … … 12105 6900 elif test "$arch" = "amd64 i386" ; then 12106 6901 if test "$GCC" = "yes" ; then 12107 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&56902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 12108 6903 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 12109 6904 else … … 12113 6908 fi 12114 6909 else 12115 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported for $arch" >&56910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 12116 6911 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 12117 6912 fi … … 12172 6967 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 12173 6968 # that don't grok the -Bexport option. Test that it does. 12174 { $as_echo "$as_me:$ LINENO: checking for ld accepts -Bexport flag" >&56969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 12175 6970 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 12176 if test "${tcl_cv_ld_Bexport+set}" = set; then6971 if ${tcl_cv_ld_Bexport+:} false; then : 12177 6972 $as_echo_n "(cached) " >&6 12178 6973 else … … 12180 6975 hold_ldflags=$LDFLAGS 12181 6976 LDFLAGS="$LDFLAGS -Wl,-Bexport" 12182 cat >conftest.$ac_ext <<_ACEOF 12183 /* confdefs.h. */ 12184 _ACEOF 12185 cat confdefs.h >>conftest.$ac_ext 12186 cat >>conftest.$ac_ext <<_ACEOF 6977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12187 6978 /* end confdefs.h. */ 12188 6979 … … 12195 6986 } 12196 6987 _ACEOF 12197 rm -f conftest.$ac_objext conftest$ac_exeext 12198 if { (ac_try="$ac_link" 12199 case "(($ac_try" in 12200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12201 *) ac_try_echo=$ac_try;; 12202 esac 12203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12204 $as_echo "$ac_try_echo") >&5 12205 (eval "$ac_link") 2>conftest.er1 12206 ac_status=$? 12207 grep -v '^ *+' conftest.er1 >conftest.err 12208 rm -f conftest.er1 12209 cat conftest.err >&5 12210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12211 (exit $ac_status); } && { 12212 test -z "$ac_cxx_werror_flag" || 12213 test ! -s conftest.err 12214 } && test -s conftest$ac_exeext && { 12215 test "$cross_compiling" = yes || 12216 $as_test_x conftest$ac_exeext 12217 }; then 6988 if ac_fn_cxx_try_link "$LINENO"; then : 12218 6989 tcl_cv_ld_Bexport=yes 12219 6990 else 12220 $as_echo "$as_me: failed program was:" >&5 12221 sed 's/^/| /' conftest.$ac_ext >&5 12222 12223 tcl_cv_ld_Bexport=no 12224 fi 12225 12226 rm -rf conftest.dSYM 12227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12228 conftest$ac_exeext conftest.$ac_ext 6991 tcl_cv_ld_Bexport=no 6992 fi 6993 rm -f core conftest.err conftest.$ac_objext \ 6994 conftest$ac_exeext conftest.$ac_ext 12229 6995 LDFLAGS=$hold_ldflags 12230 6996 fi 12231 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_Bexport" >&56997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 12232 6998 $as_echo "$tcl_cv_ld_Bexport" >&6; } 12233 6999 if test $tcl_cv_ld_Bexport = yes; then … … 12240 7006 12241 7007 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 12242 { $as_echo "$as_me:$ LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&57008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 12243 7009 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 12244 7010 fi … … 12267 7033 12268 7034 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 12269 { $as_echo "$as_me:$ LINENO: checking sys/exec.h" >&57035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 12270 7036 $as_echo_n "checking sys/exec.h... " >&6; } 12271 if test "${tcl_cv_sysexec_h+set}" = set; then7037 if ${tcl_cv_sysexec_h+:} false; then : 12272 7038 $as_echo_n "(cached) " >&6 12273 7039 else 12274 7040 12275 cat >conftest.$ac_ext <<_ACEOF 12276 /* confdefs.h. */ 12277 _ACEOF 12278 cat confdefs.h >>conftest.$ac_ext 12279 cat >>conftest.$ac_ext <<_ACEOF 7041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12280 7042 /* end confdefs.h. */ 12281 7043 #include <sys/exec.h> … … 12299 7061 } 12300 7062 _ACEOF 12301 rm -f conftest.$ac_objext 12302 if { (ac_try="$ac_compile" 12303 case "(($ac_try" in 12304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12305 *) ac_try_echo=$ac_try;; 12306 esac 12307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12308 $as_echo "$ac_try_echo") >&5 12309 (eval "$ac_compile") 2>conftest.er1 12310 ac_status=$? 12311 grep -v '^ *+' conftest.er1 >conftest.err 12312 rm -f conftest.er1 12313 cat conftest.err >&5 12314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12315 (exit $ac_status); } && { 12316 test -z "$ac_cxx_werror_flag" || 12317 test ! -s conftest.err 12318 } && test -s conftest.$ac_objext; then 7063 if ac_fn_cxx_try_compile "$LINENO"; then : 12319 7064 tcl_cv_sysexec_h=usable 12320 7065 else 12321 $as_echo "$as_me: failed program was:" >&5 12322 sed 's/^/| /' conftest.$ac_ext >&5 12323 12324 tcl_cv_sysexec_h=unusable 12325 fi 12326 7066 tcl_cv_sysexec_h=unusable 7067 fi 12327 7068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12328 7069 fi 12329 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sysexec_h" >&57070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5 12330 7071 $as_echo "$tcl_cv_sysexec_h" >&6; } 12331 7072 if test $tcl_cv_sysexec_h = usable; then 12332 cat >>confdefs.h <<\_ACEOF 12333 #define USE_SYS_EXEC_H 1 12334 _ACEOF 7073 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 12335 7074 12336 7075 else 12337 { $as_echo "$as_me:$ LINENO: checking a.out.h" >&57076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 12338 7077 $as_echo_n "checking a.out.h... " >&6; } 12339 if test "${tcl_cv_aout_h+set}" = set; then7078 if ${tcl_cv_aout_h+:} false; then : 12340 7079 $as_echo_n "(cached) " >&6 12341 7080 else 12342 7081 12343 cat >conftest.$ac_ext <<_ACEOF 12344 /* confdefs.h. */ 12345 _ACEOF 12346 cat confdefs.h >>conftest.$ac_ext 12347 cat >>conftest.$ac_ext <<_ACEOF 7082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12348 7083 /* end confdefs.h. */ 12349 7084 #include <a.out.h> … … 12367 7102 } 12368 7103 _ACEOF 12369 rm -f conftest.$ac_objext 12370 if { (ac_try="$ac_compile" 12371 case "(($ac_try" in 12372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12373 *) ac_try_echo=$ac_try;; 12374 esac 12375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12376 $as_echo "$ac_try_echo") >&5 12377 (eval "$ac_compile") 2>conftest.er1 12378 ac_status=$? 12379 grep -v '^ *+' conftest.er1 >conftest.err 12380 rm -f conftest.er1 12381 cat conftest.err >&5 12382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12383 (exit $ac_status); } && { 12384 test -z "$ac_cxx_werror_flag" || 12385 test ! -s conftest.err 12386 } && test -s conftest.$ac_objext; then 7104 if ac_fn_cxx_try_compile "$LINENO"; then : 12387 7105 tcl_cv_aout_h=usable 12388 7106 else 12389 $as_echo "$as_me: failed program was:" >&5 12390 sed 's/^/| /' conftest.$ac_ext >&5 12391 12392 tcl_cv_aout_h=unusable 12393 fi 12394 7107 tcl_cv_aout_h=unusable 7108 fi 12395 7109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12396 7110 fi 12397 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_aout_h" >&57111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5 12398 7112 $as_echo "$tcl_cv_aout_h" >&6; } 12399 7113 if test $tcl_cv_aout_h = usable; then 12400 cat >>confdefs.h <<\_ACEOF 12401 #define USE_A_OUT_H 1 12402 _ACEOF 7114 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 12403 7115 12404 7116 else 12405 { $as_echo "$as_me:$ LINENO: checking sys/exec_aout.h" >&57117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 12406 7118 $as_echo_n "checking sys/exec_aout.h... " >&6; } 12407 if test "${tcl_cv_sysexecaout_h+set}" = set; then7119 if ${tcl_cv_sysexecaout_h+:} false; then : 12408 7120 $as_echo_n "(cached) " >&6 12409 7121 else 12410 7122 12411 cat >conftest.$ac_ext <<_ACEOF 12412 /* confdefs.h. */ 12413 _ACEOF 12414 cat confdefs.h >>conftest.$ac_ext 12415 cat >>conftest.$ac_ext <<_ACEOF 7123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12416 7124 /* end confdefs.h. */ 12417 7125 #include <sys/exec_aout.h> … … 12435 7143 } 12436 7144 _ACEOF 12437 rm -f conftest.$ac_objext 12438 if { (ac_try="$ac_compile" 12439 case "(($ac_try" in 12440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12441 *) ac_try_echo=$ac_try;; 12442 esac 12443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12444 $as_echo "$ac_try_echo") >&5 12445 (eval "$ac_compile") 2>conftest.er1 12446 ac_status=$? 12447 grep -v '^ *+' conftest.er1 >conftest.err 12448 rm -f conftest.er1 12449 cat conftest.err >&5 12450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12451 (exit $ac_status); } && { 12452 test -z "$ac_cxx_werror_flag" || 12453 test ! -s conftest.err 12454 } && test -s conftest.$ac_objext; then 7145 if ac_fn_cxx_try_compile "$LINENO"; then : 12455 7146 tcl_cv_sysexecaout_h=usable 12456 7147 else 12457 $as_echo "$as_me: failed program was:" >&5 12458 sed 's/^/| /' conftest.$ac_ext >&5 12459 12460 tcl_cv_sysexecaout_h=unusable 12461 fi 12462 7148 tcl_cv_sysexecaout_h=unusable 7149 fi 12463 7150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12464 7151 fi 12465 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sysexecaout_h" >&57152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5 12466 7153 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 12467 7154 if test $tcl_cv_sysexecaout_h = usable; then 12468 cat >>confdefs.h <<\_ACEOF 12469 #define USE_SYS_EXEC_AOUT_H 1 12470 _ACEOF 7155 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 12471 7156 12472 7157 else … … 12480 7165 12481 7166 # Check whether --enable-load was given. 12482 if test "${enable_load+set}" = set; then 7167 if test "${enable_load+set}" = set; then : 12483 7168 enableval=$enable_load; tcl_ok=$enableval 12484 7169 else … … 12611 7296 done 12612 7297 if test "x${make_command}" = "x" ; then 12613 { { $as_echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5 12614 $as_echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;} 12615 { (exit 1); exit 1; }; } 7298 as_fn_error $? "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5 12616 7299 fi 12617 7300 12618 7301 # Check whether --enable-gui was given. 12619 if test "${enable_gui+set}" = set; then 7302 if test "${enable_gui+set}" = set; then : 12620 7303 enableval=$enable_gui; 12621 7304 else … … 12642 7325 12643 7326 # Check whether --with-ffmpeg was given. 12644 if test "${with_ffmpeg+set}" = set; then 7327 if test "${with_ffmpeg+set}" = set; then : 12645 7328 withval=$with_ffmpeg; 12646 7329 else … … 12651 7334 12652 7335 # Check whether --with-tclsh was given. 12653 if test "${with_tclsh+set}" = set; then 7336 if test "${with_tclsh+set}" = set; then : 12654 7337 withval=$with_tclsh; 12655 7338 else … … 12664 7347 # Extract the first word of "${tclsh}", so it can be a program name with args. 12665 7348 set dummy ${tclsh}; ac_word=$2 12666 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12667 7350 $as_echo_n "checking for $ac_word... " >&6; } 12668 if test "${ac_cv_path_TCLSH+set}" = set; then7351 if ${ac_cv_path_TCLSH+:} false; then : 12669 7352 $as_echo_n "(cached) " >&6 12670 7353 else … … 12680 7363 IFS=$as_save_IFS 12681 7364 test -z "$as_dir" && as_dir=. 12682 for ac_exec_ext in '' $ac_executable_extensions; do12683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7365 for ac_exec_ext in '' $ac_executable_extensions; do 7366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12684 7367 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 12685 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12686 7369 break 2 12687 7370 fi 12688 7371 done 12689 done7372 done 12690 7373 IFS=$as_save_IFS 12691 7374 … … 12695 7378 TCLSH=$ac_cv_path_TCLSH 12696 7379 if test -n "$TCLSH"; then 12697 { $as_echo "$as_me:$ LINENO: result: $TCLSH" >&57380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 12698 7381 $as_echo "$TCLSH" >&6; } 12699 7382 else 12700 { $as_echo "$as_me:$ LINENO: result: no" >&57383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12701 7384 $as_echo "no" >&6; } 12702 7385 fi … … 12706 7389 # Extract the first word of "${tclsh}", so it can be a program name with args. 12707 7390 set dummy ${tclsh}; ac_word=$2 12708 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12709 7392 $as_echo_n "checking for $ac_word... " >&6; } 12710 if test "${ac_cv_path_TCLSH+set}" = set; then7393 if ${ac_cv_path_TCLSH+:} false; then : 12711 7394 $as_echo_n "(cached) " >&6 12712 7395 else … … 12722 7405 IFS=$as_save_IFS 12723 7406 test -z "$as_dir" && as_dir=. 12724 for ac_exec_ext in '' $ac_executable_extensions; do12725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7407 for ac_exec_ext in '' $ac_executable_extensions; do 7408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12726 7409 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 12727 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12728 7411 break 2 12729 7412 fi 12730 7413 done 12731 done7414 done 12732 7415 IFS=$as_save_IFS 12733 7416 … … 12737 7420 TCLSH=$ac_cv_path_TCLSH 12738 7421 if test -n "$TCLSH"; then 12739 { $as_echo "$as_me:$ LINENO: result: $TCLSH" >&57422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 12740 7423 $as_echo "$TCLSH" >&6; } 12741 7424 else 12742 { $as_echo "$as_me:$ LINENO: result: no" >&57425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12743 7426 $as_echo "no" >&6; } 12744 7427 fi … … 12747 7430 fi 12748 7431 if test "x${TCLSH}" = "x" ; then 12749 { { $as_echo "$as_me:$LINENO: error: can't find tclsh" >&5 12750 $as_echo "$as_me: error: can't find tclsh" >&2;} 12751 { (exit 1); exit 1; }; } 7432 as_fn_error $? "can't find tclsh" "$LINENO" 5 12752 7433 fi 12753 7434 fi … … 12758 7439 12759 7440 # Check whether --with-vtk was given. 12760 if test "${with_vtk+set}" = set; then 7441 if test "${with_vtk+set}" = set; then : 12761 7442 withval=$with_vtk; 12762 7443 else … … 12765 7446 12766 7447 12767 { $as_echo "$as_me:$ LINENO: checking for vtk" >&57448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtk" >&5 12768 7449 $as_echo_n "checking for vtk... " >&6; } 12769 7450 VTKDIR="" … … 12789 7470 fi 12790 7471 fi 12791 { $as_echo "$as_me:$ LINENO: result: $VTKDIR" >&57472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTKDIR" >&5 12792 7473 $as_echo "$VTKDIR" >&6; } 12793 7474 … … 12795 7476 12796 7477 # Check whether --with-matlab was given. 12797 if test "${with_matlab+set}" = set; then 7478 if test "${with_matlab+set}" = set; then : 12798 7479 withval=$with_matlab; 12799 7480 else … … 12811 7492 # Extract the first word of "matlab", so it can be a program name with args. 12812 7493 set dummy matlab; ac_word=$2 12813 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12814 7495 $as_echo_n "checking for $ac_word... " >&6; } 12815 if test "${ac_cv_path_MATLAB+set}" = set; then7496 if ${ac_cv_path_MATLAB+:} false; then : 12816 7497 $as_echo_n "(cached) " >&6 12817 7498 else … … 12826 7507 IFS=$as_save_IFS 12827 7508 test -z "$as_dir" && as_dir=. 12828 for ac_exec_ext in '' $ac_executable_extensions; do12829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7509 for ac_exec_ext in '' $ac_executable_extensions; do 7510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12830 7511 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12831 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12832 7513 break 2 12833 7514 fi 12834 7515 done 12835 done7516 done 12836 7517 IFS=$as_save_IFS 12837 7518 … … 12841 7522 MATLAB=$ac_cv_path_MATLAB 12842 7523 if test -n "$MATLAB"; then 12843 { $as_echo "$as_me:$ LINENO: result: $MATLAB" >&57524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 12844 7525 $as_echo "$MATLAB" >&6; } 12845 7526 else 12846 { $as_echo "$as_me:$ LINENO: result: no" >&57527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12847 7528 $as_echo "no" >&6; } 12848 7529 fi … … 12852 7533 # Extract the first word of "matlab", so it can be a program name with args. 12853 7534 set dummy matlab; ac_word=$2 12854 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12855 7536 $as_echo_n "checking for $ac_word... " >&6; } 12856 if test "${ac_cv_path_MATLAB+set}" = set; then7537 if ${ac_cv_path_MATLAB+:} false; then : 12857 7538 $as_echo_n "(cached) " >&6 12858 7539 else … … 12868 7549 IFS=$as_save_IFS 12869 7550 test -z "$as_dir" && as_dir=. 12870 for ac_exec_ext in '' $ac_executable_extensions; do12871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7551 for ac_exec_ext in '' $ac_executable_extensions; do 7552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12872 7553 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12873 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12874 7555 break 2 12875 7556 fi 12876 7557 done 12877 done7558 done 12878 7559 IFS=$as_save_IFS 12879 7560 … … 12883 7564 MATLAB=$ac_cv_path_MATLAB 12884 7565 if test -n "$MATLAB"; then 12885 { $as_echo "$as_me:$ LINENO: result: $MATLAB" >&57566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 12886 7567 $as_echo "$MATLAB" >&6; } 12887 7568 else 12888 { $as_echo "$as_me:$ LINENO: result: no" >&57569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12889 7570 $as_echo "no" >&6; } 12890 7571 fi … … 12903 7584 # Extract the first word of "mex", so it can be a program name with args. 12904 7585 set dummy mex; ac_word=$2 12905 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12906 7587 $as_echo_n "checking for $ac_word... " >&6; } 12907 if test "${ac_cv_path_MEX+set}" = set; then7588 if ${ac_cv_path_MEX+:} false; then : 12908 7589 $as_echo_n "(cached) " >&6 12909 7590 else … … 12918 7599 IFS=$as_save_IFS 12919 7600 test -z "$as_dir" && as_dir=. 12920 for ac_exec_ext in '' $ac_executable_extensions; do12921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7601 for ac_exec_ext in '' $ac_executable_extensions; do 7602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12922 7603 ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext" 12923 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12924 7605 break 2 12925 7606 fi 12926 7607 done 12927 done7608 done 12928 7609 IFS=$as_save_IFS 12929 7610 … … 12933 7614 MEX=$ac_cv_path_MEX 12934 7615 if test -n "$MEX"; then 12935 { $as_echo "$as_me:$ LINENO: result: $MEX" >&57616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&5 12936 7617 $as_echo "$MEX" >&6; } 12937 7618 else 12938 { $as_echo "$as_me:$ LINENO: result: no" >&57619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12939 7620 $as_echo "no" >&6; } 12940 7621 fi … … 12943 7624 # Extract the first word of "mexext", so it can be a program name with args. 12944 7625 set dummy mexext; ac_word=$2 12945 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12946 7627 $as_echo_n "checking for $ac_word... " >&6; } 12947 if test "${ac_cv_path_MEXEXT+set}" = set; then7628 if ${ac_cv_path_MEXEXT+:} false; then : 12948 7629 $as_echo_n "(cached) " >&6 12949 7630 else … … 12958 7639 IFS=$as_save_IFS 12959 7640 test -z "$as_dir" && as_dir=. 12960 for ac_exec_ext in '' $ac_executable_extensions; do12961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7641 for ac_exec_ext in '' $ac_executable_extensions; do 7642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12962 7643 ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext" 12963 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12964 7645 break 2 12965 7646 fi 12966 7647 done 12967 done7648 done 12968 7649 IFS=$as_save_IFS 12969 7650 … … 12973 7654 MEXEXT=$ac_cv_path_MEXEXT 12974 7655 if test -n "$MEXEXT"; then 12975 { $as_echo "$as_me:$ LINENO: result: $MEXEXT" >&57656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 12976 7657 $as_echo "$MEXEXT" >&6; } 12977 7658 else 12978 { $as_echo "$as_me:$ LINENO: result: no" >&57659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12979 7660 $as_echo "no" >&6; } 12980 7661 fi … … 12983 7664 12984 7665 # Run "mexext" to get the expected module extension for this platform. 12985 { $as_echo "$as_me:$ LINENO: checking for mex extension" >&57666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&5 12986 7667 $as_echo_n "checking for mex extension... " >&6; } 12987 7668 if test "x$MEXEXT" != "x" ; then … … 12990 7671 MEXEXT="mexglx" 12991 7672 fi 12992 { $as_echo "$as_me:$ LINENO: result: $MEXEXT" >&57673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 12993 7674 $as_echo "$MEXEXT" >&6; } 12994 7675 # Extract the first word of "mcc", so it can be a program name with args. 12995 7676 set dummy mcc; ac_word=$2 12996 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12997 7678 $as_echo_n "checking for $ac_word... " >&6; } 12998 if test "${ac_cv_path_MCC+set}" = set; then7679 if ${ac_cv_path_MCC+:} false; then : 12999 7680 $as_echo_n "(cached) " >&6 13000 7681 else … … 13009 7690 IFS=$as_save_IFS 13010 7691 test -z "$as_dir" && as_dir=. 13011 for ac_exec_ext in '' $ac_executable_extensions; do13012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7692 for ac_exec_ext in '' $ac_executable_extensions; do 7693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13013 7694 ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext" 13014 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13015 7696 break 2 13016 7697 fi 13017 7698 done 13018 done7699 done 13019 7700 IFS=$as_save_IFS 13020 7701 … … 13024 7705 MCC=$ac_cv_path_MCC 13025 7706 if test -n "$MCC"; then 13026 { $as_echo "$as_me:$ LINENO: result: $MCC" >&57707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&5 13027 7708 $as_echo "$MCC" >&6; } 13028 7709 else 13029 { $as_echo "$as_me:$ LINENO: result: no" >&57710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13030 7711 $as_echo "no" >&6; } 13031 7712 fi 13032 7713 13033 7714 13034 { $as_echo "$as_me:$ LINENO: checking for mcc extension" >&57715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&5 13035 7716 $as_echo_n "checking for mcc extension... " >&6; } 13036 7717 fi … … 13039 7720 13040 7721 # Check whether --with-octave was given. 13041 if test "${with_octave+set}" = set; then 7722 if test "${with_octave+set}" = set; then : 13042 7723 withval=$with_octave; 13043 7724 else … … 13056 7737 # Extract the first word of "octave", so it can be a program name with args. 13057 7738 set dummy octave; ac_word=$2 13058 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13059 7740 $as_echo_n "checking for $ac_word... " >&6; } 13060 if test "${ac_cv_path_OCTAVE+set}" = set; then7741 if ${ac_cv_path_OCTAVE+:} false; then : 13061 7742 $as_echo_n "(cached) " >&6 13062 7743 else … … 13071 7752 IFS=$as_save_IFS 13072 7753 test -z "$as_dir" && as_dir=. 13073 for ac_exec_ext in '' $ac_executable_extensions; do13074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7754 for ac_exec_ext in '' $ac_executable_extensions; do 7755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13075 7756 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 13076 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13077 7758 break 2 13078 7759 fi 13079 7760 done 13080 done7761 done 13081 7762 IFS=$as_save_IFS 13082 7763 … … 13086 7767 OCTAVE=$ac_cv_path_OCTAVE 13087 7768 if test -n "$OCTAVE"; then 13088 { $as_echo "$as_me:$ LINENO: result: $OCTAVE" >&57769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5 13089 7770 $as_echo "$OCTAVE" >&6; } 13090 7771 else 13091 { $as_echo "$as_me:$ LINENO: result: no" >&57772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13092 7773 $as_echo "no" >&6; } 13093 7774 fi … … 13096 7777 # Extract the first word of "mkoctfile", so it can be a program name with args. 13097 7778 set dummy mkoctfile; ac_word=$2 13098 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13099 7780 $as_echo_n "checking for $ac_word... " >&6; } 13100 if test "${ac_cv_path_MKOCTFILE+set}" = set; then7781 if ${ac_cv_path_MKOCTFILE+:} false; then : 13101 7782 $as_echo_n "(cached) " >&6 13102 7783 else … … 13111 7792 IFS=$as_save_IFS 13112 7793 test -z "$as_dir" && as_dir=. 13113 for ac_exec_ext in '' $ac_executable_extensions; do13114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7794 for ac_exec_ext in '' $ac_executable_extensions; do 7795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13115 7796 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 13116 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13117 7798 break 2 13118 7799 fi 13119 7800 done 13120 done7801 done 13121 7802 IFS=$as_save_IFS 13122 7803 … … 13126 7807 MKOCTFILE=$ac_cv_path_MKOCTFILE 13127 7808 if test -n "$MKOCTFILE"; then 13128 { $as_echo "$as_me:$ LINENO: result: $MKOCTFILE" >&57809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5 13129 7810 $as_echo "$MKOCTFILE" >&6; } 13130 7811 else 13131 { $as_echo "$as_me:$ LINENO: result: no" >&57812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13132 7813 $as_echo "no" >&6; } 13133 7814 fi … … 13172 7853 13173 7854 # Check whether --with-mkoctfile3 was given. 13174 if test "${with_mkoctfile3+set}" = set; then 7855 if test "${with_mkoctfile3+set}" = set; then : 13175 7856 withval=$with_mkoctfile3; 13176 7857 else … … 13183 7864 # Extract the first word of "mkoctfile", so it can be a program name with args. 13184 7865 set dummy mkoctfile; ac_word=$2 13185 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13186 7867 $as_echo_n "checking for $ac_word... " >&6; } 13187 if test "${ac_cv_path_mkoctfile3+set}" = set; then7868 if ${ac_cv_path_mkoctfile3+:} false; then : 13188 7869 $as_echo_n "(cached) " >&6 13189 7870 else … … 13198 7879 IFS=$as_save_IFS 13199 7880 test -z "$as_dir" && as_dir=. 13200 for ac_exec_ext in '' $ac_executable_extensions; do13201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7881 for ac_exec_ext in '' $ac_executable_extensions; do 7882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13202 7883 ac_cv_path_mkoctfile3="$as_dir/$ac_word$ac_exec_ext" 13203 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13204 7885 break 2 13205 7886 fi 13206 7887 done 13207 done7888 done 13208 7889 IFS=$as_save_IFS 13209 7890 … … 13213 7894 mkoctfile3=$ac_cv_path_mkoctfile3 13214 7895 if test -n "$mkoctfile3"; then 13215 { $as_echo "$as_me:$ LINENO: result: $mkoctfile3" >&57896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile3" >&5 13216 7897 $as_echo "$mkoctfile3" >&6; } 13217 7898 else 13218 { $as_echo "$as_me:$ LINENO: result: no" >&57899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13219 7900 $as_echo "no" >&6; } 13220 7901 fi … … 13232 7913 13233 7914 # Check whether --with-mkoctfile2 was given. 13234 if test "${with_mkoctfile2+set}" = set; then 7915 if test "${with_mkoctfile2+set}" = set; then : 13235 7916 withval=$with_mkoctfile2; 13236 7917 else … … 13243 7924 # Extract the first word of "mkoctfile", so it can be a program name with args. 13244 7925 set dummy mkoctfile; ac_word=$2 13245 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13246 7927 $as_echo_n "checking for $ac_word... " >&6; } 13247 if test "${ac_cv_path_mkoctfile2+set}" = set; then7928 if ${ac_cv_path_mkoctfile2+:} false; then : 13248 7929 $as_echo_n "(cached) " >&6 13249 7930 else … … 13258 7939 IFS=$as_save_IFS 13259 7940 test -z "$as_dir" && as_dir=. 13260 for ac_exec_ext in '' $ac_executable_extensions; do13261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7941 for ac_exec_ext in '' $ac_executable_extensions; do 7942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13262 7943 ac_cv_path_mkoctfile2="$as_dir/$ac_word$ac_exec_ext" 13263 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13264 7945 break 2 13265 7946 fi 13266 7947 done 13267 done7948 done 13268 7949 IFS=$as_save_IFS 13269 7950 … … 13273 7954 mkoctfile2=$ac_cv_path_mkoctfile2 13274 7955 if test -n "$mkoctfile2"; then 13275 { $as_echo "$as_me:$ LINENO: result: $mkoctfile2" >&57956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile2" >&5 13276 7957 $as_echo "$mkoctfile2" >&6; } 13277 7958 else 13278 { $as_echo "$as_me:$ LINENO: result: no" >&57959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13279 7960 $as_echo "no" >&6; } 13280 7961 fi … … 13293 7974 13294 7975 # Check whether --with-perl was given. 13295 if test "${with_perl+set}" = set; then 7976 if test "${with_perl+set}" = set; then : 13296 7977 withval=$with_perl; 13297 7978 else … … 13316 7997 # Extract the first word of "perl", so it can be a program name with args. 13317 7998 set dummy perl; ac_word=$2 13318 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13319 8000 $as_echo_n "checking for $ac_word... " >&6; } 13320 if test "${ac_cv_path_PERL+set}" = set; then8001 if ${ac_cv_path_PERL+:} false; then : 13321 8002 $as_echo_n "(cached) " >&6 13322 8003 else … … 13332 8013 IFS=$as_save_IFS 13333 8014 test -z "$as_dir" && as_dir=. 13334 for ac_exec_ext in '' $ac_executable_extensions; do13335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8015 for ac_exec_ext in '' $ac_executable_extensions; do 8016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13336 8017 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 13337 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13338 8019 break 2 13339 8020 fi 13340 8021 done 13341 done8022 done 13342 8023 IFS=$as_save_IFS 13343 8024 … … 13347 8028 PERL=$ac_cv_path_PERL 13348 8029 if test -n "$PERL"; then 13349 { $as_echo "$as_me:$ LINENO: result: $PERL" >&58030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 13350 8031 $as_echo "$PERL" >&6; } 13351 8032 else 13352 { $as_echo "$as_me:$ LINENO: result: no" >&58033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13353 8034 $as_echo "no" >&6; } 13354 8035 fi … … 13357 8038 # Extract the first word of "xsubpp", so it can be a program name with args. 13358 8039 set dummy xsubpp; ac_word=$2 13359 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13360 8041 $as_echo_n "checking for $ac_word... " >&6; } 13361 if test "${ac_cv_path_XSUBPP+set}" = set; then8042 if ${ac_cv_path_XSUBPP+:} false; then : 13362 8043 $as_echo_n "(cached) " >&6 13363 8044 else … … 13373 8054 IFS=$as_save_IFS 13374 8055 test -z "$as_dir" && as_dir=. 13375 for ac_exec_ext in '' $ac_executable_extensions; do13376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8056 for ac_exec_ext in '' $ac_executable_extensions; do 8057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13377 8058 ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext" 13378 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13379 8060 break 2 13380 8061 fi 13381 8062 done 13382 done8063 done 13383 8064 IFS=$as_save_IFS 13384 8065 … … 13388 8069 XSUBPP=$ac_cv_path_XSUBPP 13389 8070 if test -n "$XSUBPP"; then 13390 { $as_echo "$as_me:$ LINENO: result: $XSUBPP" >&58071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&5 13391 8072 $as_echo "$XSUBPP" >&6; } 13392 8073 else 13393 { $as_echo "$as_me:$ LINENO: result: no" >&58074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13394 8075 $as_echo "no" >&6; } 13395 8076 fi … … 13399 8080 # Extract the first word of "perl", so it can be a program name with args. 13400 8081 set dummy perl; ac_word=$2 13401 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13402 8083 $as_echo_n "checking for $ac_word... " >&6; } 13403 if test "${ac_cv_path_PERL+set}" = set; then8084 if ${ac_cv_path_PERL+:} false; then : 13404 8085 $as_echo_n "(cached) " >&6 13405 8086 else … … 13414 8095 IFS=$as_save_IFS 13415 8096 test -z "$as_dir" && as_dir=. 13416 for ac_exec_ext in '' $ac_executable_extensions; do13417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8097 for ac_exec_ext in '' $ac_executable_extensions; do 8098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13418 8099 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 13419 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13420 8101 break 2 13421 8102 fi 13422 8103 done 13423 done8104 done 13424 8105 IFS=$as_save_IFS 13425 8106 … … 13429 8110 PERL=$ac_cv_path_PERL 13430 8111 if test -n "$PERL"; then 13431 { $as_echo "$as_me:$ LINENO: result: $PERL" >&58112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 13432 8113 $as_echo "$PERL" >&6; } 13433 8114 else 13434 { $as_echo "$as_me:$ LINENO: result: no" >&58115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13435 8116 $as_echo "no" >&6; } 13436 8117 fi … … 13439 8120 # Extract the first word of "xsubpp", so it can be a program name with args. 13440 8121 set dummy xsubpp; ac_word=$2 13441 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13442 8123 $as_echo_n "checking for $ac_word... " >&6; } 13443 if test "${ac_cv_path_XSUBPP+set}" = set; then8124 if ${ac_cv_path_XSUBPP+:} false; then : 13444 8125 $as_echo_n "(cached) " >&6 13445 8126 else … … 13454 8135 IFS=$as_save_IFS 13455 8136 test -z "$as_dir" && as_dir=. 13456 for ac_exec_ext in '' $ac_executable_extensions; do13457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8137 for ac_exec_ext in '' $ac_executable_extensions; do 8138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13458 8139 ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext" 13459 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13460 8141 break 2 13461 8142 fi 13462 8143 done 13463 done8144 done 13464 8145 IFS=$as_save_IFS 13465 8146 … … 13469 8150 XSUBPP=$ac_cv_path_XSUBPP 13470 8151 if test -n "$XSUBPP"; then 13471 { $as_echo "$as_me:$ LINENO: result: $XSUBPP" >&58152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&5 13472 8153 $as_echo "$XSUBPP" >&6; } 13473 8154 else 13474 { $as_echo "$as_me:$ LINENO: result: no" >&58155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13475 8156 $as_echo "no" >&6; } 13476 8157 fi … … 13510 8191 13511 8192 # Check whether --with-python was given. 13512 if test "${with_python+set}" = set; then 8193 if test "${with_python+set}" = set; then : 13513 8194 withval=$with_python; 13514 8195 else … … 13521 8202 # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args. 13522 8203 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 13523 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13524 8205 $as_echo_n "checking for $ac_word... " >&6; } 13525 if test "${ac_cv_path_PYTHON+set}" = set; then8206 if ${ac_cv_path_PYTHON+:} false; then : 13526 8207 $as_echo_n "(cached) " >&6 13527 8208 else … … 13536 8217 IFS=$as_save_IFS 13537 8218 test -z "$as_dir" && as_dir=. 13538 for ac_exec_ext in '' $ac_executable_extensions; do13539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8219 for ac_exec_ext in '' $ac_executable_extensions; do 8220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13540 8221 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 13541 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13542 8223 break 2 13543 8224 fi 13544 8225 done 13545 done8226 done 13546 8227 IFS=$as_save_IFS 13547 8228 … … 13551 8232 PYTHON=$ac_cv_path_PYTHON 13552 8233 if test -n "$PYTHON"; then 13553 { $as_echo "$as_me:$ LINENO: result: $PYTHON" >&58234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 13554 8235 $as_echo "$PYTHON" >&6; } 13555 8236 else 13556 { $as_echo "$as_me:$ LINENO: result: no" >&58237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13557 8238 $as_echo "no" >&6; } 13558 8239 fi … … 13562 8243 # Extract the first word of "python", so it can be a program name with args. 13563 8244 set dummy python; ac_word=$2 13564 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13565 8246 $as_echo_n "checking for $ac_word... " >&6; } 13566 if test "${ac_cv_path_PYTHON+set}" = set; then8247 if ${ac_cv_path_PYTHON+:} false; then : 13567 8248 $as_echo_n "(cached) " >&6 13568 8249 else … … 13578 8259 IFS=$as_save_IFS 13579 8260 test -z "$as_dir" && as_dir=. 13580 for ac_exec_ext in '' $ac_executable_extensions; do13581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8261 for ac_exec_ext in '' $ac_executable_extensions; do 8262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13582 8263 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 13583 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13584 8265 break 2 13585 8266 fi 13586 8267 done 13587 done8268 done 13588 8269 IFS=$as_save_IFS 13589 8270 … … 13593 8274 PYTHON=$ac_cv_path_PYTHON 13594 8275 if test -n "$PYTHON"; then 13595 { $as_echo "$as_me:$ LINENO: result: $PYTHON" >&58276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 13596 8277 $as_echo "$PYTHON" >&6; } 13597 8278 else 13598 { $as_echo "$as_me:$ LINENO: result: no" >&58279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13599 8280 $as_echo "no" >&6; } 13600 8281 fi … … 13602 8283 13603 8284 fi 13604 { $as_echo "$as_me:$ LINENO: checking for Python version" >&58285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5 13605 8286 $as_echo_n "checking for Python version... " >&6; } 13606 8287 if test "x${PYTHON}" != "x"; then 13607 8288 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 13608 8289 fi 13609 { $as_echo "$as_me:$ LINENO: result: $PYTHON_VERSION" >&58290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5 13610 8291 $as_echo "$PYTHON_VERSION" >&6; } 13611 8292 fi … … 13613 8294 if test "x${PYTHON_VERSION}" != "x"; then 13614 8295 PYTHON_INCLUDES=$incdir 13615 { $as_echo "$as_me:$ LINENO: checking for Python distutils" >&58296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5 13616 8297 $as_echo_n "checking for Python distutils... " >&6; } 13617 8298 PYTHON_DISTUTILS="" … … 13621 8302 PYTHON_DISTUTILS="yes" 13622 8303 fi 13623 { $as_echo "$as_me:$ LINENO: result: $PYTHON_DISTUTILS" >&58304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5 13624 8305 $as_echo "$PYTHON_DISTUTILS" >&6; } 13625 8306 if test "${PYTHON_DISTUTILS}" = "yes" ; then … … 13628 8309 # Check for Python include path 13629 8310 # 13630 { $as_echo "$as_me:$ LINENO: checking path to Python headers" >&58311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5 13631 8312 $as_echo_n "checking path to Python headers... " >&6; } 13632 8313 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 13633 8314 print distutils.sysconfig.get_python_inc();"` 13634 { $as_echo "$as_me:$ LINENO: result: $PYTHON_INCDIR" >&58315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5 13635 8316 $as_echo "$PYTHON_INCDIR" >&6; } 13636 8317 # … … 13645 8326 save_CPPFLAGS=$CPPFLAGS 13646 8327 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 13647 13648 for ac_header in Python.h 13649 do 13650 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13651 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13652 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13653 $as_echo_n "checking for $ac_header... " >&6; } 13654 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13655 $as_echo_n "(cached) " >&6 13656 fi 13657 ac_res=`eval 'as_val=${'$as_ac_Header'} 13658 $as_echo "$as_val"'` 13659 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13660 $as_echo "$ac_res" >&6; } 13661 else 13662 # Is the header compilable? 13663 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 13664 $as_echo_n "checking $ac_header usability... " >&6; } 13665 cat >conftest.$ac_ext <<_ACEOF 13666 /* confdefs.h. */ 13667 _ACEOF 13668 cat confdefs.h >>conftest.$ac_ext 13669 cat >>conftest.$ac_ext <<_ACEOF 13670 /* end confdefs.h. */ 13671 $ac_includes_default 13672 #include <$ac_header> 13673 _ACEOF 13674 rm -f conftest.$ac_objext 13675 if { (ac_try="$ac_compile" 13676 case "(($ac_try" in 13677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13678 *) ac_try_echo=$ac_try;; 13679 esac 13680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13681 $as_echo "$ac_try_echo") >&5 13682 (eval "$ac_compile") 2>conftest.er1 13683 ac_status=$? 13684 grep -v '^ *+' conftest.er1 >conftest.err 13685 rm -f conftest.er1 13686 cat conftest.err >&5 13687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13688 (exit $ac_status); } && { 13689 test -z "$ac_cxx_werror_flag" || 13690 test ! -s conftest.err 13691 } && test -s conftest.$ac_objext; then 13692 ac_header_compiler=yes 13693 else 13694 $as_echo "$as_me: failed program was:" >&5 13695 sed 's/^/| /' conftest.$ac_ext >&5 13696 13697 ac_header_compiler=no 13698 fi 13699 13700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13701 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13702 $as_echo "$ac_header_compiler" >&6; } 13703 13704 # Is the header present? 13705 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 13706 $as_echo_n "checking $ac_header presence... " >&6; } 13707 cat >conftest.$ac_ext <<_ACEOF 13708 /* confdefs.h. */ 13709 _ACEOF 13710 cat confdefs.h >>conftest.$ac_ext 13711 cat >>conftest.$ac_ext <<_ACEOF 13712 /* end confdefs.h. */ 13713 #include <$ac_header> 13714 _ACEOF 13715 if { (ac_try="$ac_cpp conftest.$ac_ext" 13716 case "(($ac_try" in 13717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13718 *) ac_try_echo=$ac_try;; 13719 esac 13720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13721 $as_echo "$ac_try_echo") >&5 13722 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13723 ac_status=$? 13724 grep -v '^ *+' conftest.er1 >conftest.err 13725 rm -f conftest.er1 13726 cat conftest.err >&5 13727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13728 (exit $ac_status); } >/dev/null && { 13729 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 13730 test ! -s conftest.err 13731 }; then 13732 ac_header_preproc=yes 13733 else 13734 $as_echo "$as_me: failed program was:" >&5 13735 sed 's/^/| /' conftest.$ac_ext >&5 13736 13737 ac_header_preproc=no 13738 fi 13739 13740 rm -f conftest.err conftest.$ac_ext 13741 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13742 $as_echo "$ac_header_preproc" >&6; } 13743 13744 # So? What about this header? 13745 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 13746 yes:no: ) 13747 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 13748 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 13749 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 13750 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 13751 ac_header_preproc=yes 13752 ;; 13753 no:yes:* ) 13754 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 13755 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 13756 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 13757 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 13758 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 13759 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 13760 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 13761 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 13762 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 13763 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 13764 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 13765 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 13766 ( cat <<\_ASBOX 13767 ## ----------------------------------- ## 13768 ## Report this to rappture@nanohub.org ## 13769 ## ----------------------------------- ## 13770 _ASBOX 13771 ) | sed "s/^/$as_me: WARNING: /" >&2 13772 ;; 13773 esac 13774 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13775 $as_echo_n "checking for $ac_header... " >&6; } 13776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13777 $as_echo_n "(cached) " >&6 13778 else 13779 eval "$as_ac_Header=\$ac_header_preproc" 13780 fi 13781 ac_res=`eval 'as_val=${'$as_ac_Header'} 13782 $as_echo "$as_val"'` 13783 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13784 $as_echo "$ac_res" >&6; } 13785 13786 fi 13787 as_val=`eval 'as_val=${'$as_ac_Header'} 13788 $as_echo "$as_val"'` 13789 if test "x$as_val" = x""yes; then 8328 for ac_header in Python.h 8329 do : 8330 ac_fn_cxx_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 8331 if test "x$ac_cv_header_Python_h" = xyes; then : 13790 8332 cat >>confdefs.h <<_ACEOF 13791 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18333 #define HAVE_PYTHON_H 1 13792 8334 _ACEOF 13793 8335 found=yes … … 13808 8350 13809 8351 # Check whether --with-java was given. 13810 if test "${with_java+set}" = set; then 8352 if test "${with_java+set}" = set; then : 13811 8353 withval=$with_java; 13812 8354 else … … 13823 8365 # Extract the first word of "java", so it can be a program name with args. 13824 8366 set dummy java; ac_word=$2 13825 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13826 8368 $as_echo_n "checking for $ac_word... " >&6; } 13827 if test "${ac_cv_path_JAVA+set}" = set; then8369 if ${ac_cv_path_JAVA+:} false; then : 13828 8370 $as_echo_n "(cached) " >&6 13829 8371 else … … 13838 8380 IFS=$as_save_IFS 13839 8381 test -z "$as_dir" && as_dir=. 13840 for ac_exec_ext in '' $ac_executable_extensions; do13841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8382 for ac_exec_ext in '' $ac_executable_extensions; do 8383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13842 8384 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 13843 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13844 8386 break 2 13845 8387 fi 13846 8388 done 13847 done8389 done 13848 8390 IFS=$as_save_IFS 13849 8391 … … 13853 8395 JAVA=$ac_cv_path_JAVA 13854 8396 if test -n "$JAVA"; then 13855 { $as_echo "$as_me:$ LINENO: result: $JAVA" >&58397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 13856 8398 $as_echo "$JAVA" >&6; } 13857 8399 else 13858 { $as_echo "$as_me:$ LINENO: result: no" >&58400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13859 8401 $as_echo "no" >&6; } 13860 8402 fi … … 13863 8405 # Extract the first word of "javac", so it can be a program name with args. 13864 8406 set dummy javac; ac_word=$2 13865 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13866 8408 $as_echo_n "checking for $ac_word... " >&6; } 13867 if test "${ac_cv_path_JAVAC+set}" = set; then8409 if ${ac_cv_path_JAVAC+:} false; then : 13868 8410 $as_echo_n "(cached) " >&6 13869 8411 else … … 13878 8420 IFS=$as_save_IFS 13879 8421 test -z "$as_dir" && as_dir=. 13880 for ac_exec_ext in '' $ac_executable_extensions; do13881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8422 for ac_exec_ext in '' $ac_executable_extensions; do 8423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13882 8424 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 13883 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13884 8426 break 2 13885 8427 fi 13886 8428 done 13887 done8429 done 13888 8430 IFS=$as_save_IFS 13889 8431 … … 13893 8435 JAVAC=$ac_cv_path_JAVAC 13894 8436 if test -n "$JAVAC"; then 13895 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&58437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 13896 8438 $as_echo "$JAVAC" >&6; } 13897 8439 else 13898 { $as_echo "$as_me:$ LINENO: result: no" >&58440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13899 8441 $as_echo "no" >&6; } 13900 8442 fi … … 13903 8445 # Extract the first word of "javah", so it can be a program name with args. 13904 8446 set dummy javah; ac_word=$2 13905 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13906 8448 $as_echo_n "checking for $ac_word... " >&6; } 13907 if test "${ac_cv_path_JAVAH+set}" = set; then8449 if ${ac_cv_path_JAVAH+:} false; then : 13908 8450 $as_echo_n "(cached) " >&6 13909 8451 else … … 13918 8460 IFS=$as_save_IFS 13919 8461 test -z "$as_dir" && as_dir=. 13920 for ac_exec_ext in '' $ac_executable_extensions; do13921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8462 for ac_exec_ext in '' $ac_executable_extensions; do 8463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13922 8464 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 13923 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13924 8466 break 2 13925 8467 fi 13926 8468 done 13927 done8469 done 13928 8470 IFS=$as_save_IFS 13929 8471 … … 13933 8475 JAVAH=$ac_cv_path_JAVAH 13934 8476 if test -n "$JAVAH"; then 13935 { $as_echo "$as_me:$ LINENO: result: $JAVAH" >&58477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 13936 8478 $as_echo "$JAVAH" >&6; } 13937 8479 else 13938 { $as_echo "$as_me:$ LINENO: result: no" >&58480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13939 8481 $as_echo "no" >&6; } 13940 8482 fi … … 13944 8486 # Extract the first word of "java", so it can be a program name with args. 13945 8487 set dummy java; ac_word=$2 13946 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13947 8489 $as_echo_n "checking for $ac_word... " >&6; } 13948 if test "${ac_cv_path_JAVA+set}" = set; then8490 if ${ac_cv_path_JAVA+:} false; then : 13949 8491 $as_echo_n "(cached) " >&6 13950 8492 else … … 13960 8502 IFS=$as_save_IFS 13961 8503 test -z "$as_dir" && as_dir=. 13962 for ac_exec_ext in '' $ac_executable_extensions; do13963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8504 for ac_exec_ext in '' $ac_executable_extensions; do 8505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13964 8506 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 13965 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13966 8508 break 2 13967 8509 fi 13968 8510 done 13969 done8511 done 13970 8512 IFS=$as_save_IFS 13971 8513 … … 13975 8517 JAVA=$ac_cv_path_JAVA 13976 8518 if test -n "$JAVA"; then 13977 { $as_echo "$as_me:$ LINENO: result: $JAVA" >&58519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 13978 8520 $as_echo "$JAVA" >&6; } 13979 8521 else 13980 { $as_echo "$as_me:$ LINENO: result: no" >&58522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13981 8523 $as_echo "no" >&6; } 13982 8524 fi … … 13985 8527 # Extract the first word of "javac", so it can be a program name with args. 13986 8528 set dummy javac; ac_word=$2 13987 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13988 8530 $as_echo_n "checking for $ac_word... " >&6; } 13989 if test "${ac_cv_path_JAVAC+set}" = set; then8531 if ${ac_cv_path_JAVAC+:} false; then : 13990 8532 $as_echo_n "(cached) " >&6 13991 8533 else … … 14001 8543 IFS=$as_save_IFS 14002 8544 test -z "$as_dir" && as_dir=. 14003 for ac_exec_ext in '' $ac_executable_extensions; do14004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8545 for ac_exec_ext in '' $ac_executable_extensions; do 8546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14005 8547 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 14006 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14007 8549 break 2 14008 8550 fi 14009 8551 done 14010 done8552 done 14011 8553 IFS=$as_save_IFS 14012 8554 … … 14016 8558 JAVAC=$ac_cv_path_JAVAC 14017 8559 if test -n "$JAVAC"; then 14018 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&58560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 14019 8561 $as_echo "$JAVAC" >&6; } 14020 8562 else 14021 { $as_echo "$as_me:$ LINENO: result: no" >&58563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14022 8564 $as_echo "no" >&6; } 14023 8565 fi … … 14026 8568 # Extract the first word of "javah", so it can be a program name with args. 14027 8569 set dummy javah; ac_word=$2 14028 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14029 8571 $as_echo_n "checking for $ac_word... " >&6; } 14030 if test "${ac_cv_path_JAVAH+set}" = set; then8572 if ${ac_cv_path_JAVAH+:} false; then : 14031 8573 $as_echo_n "(cached) " >&6 14032 8574 else … … 14042 8584 IFS=$as_save_IFS 14043 8585 test -z "$as_dir" && as_dir=. 14044 for ac_exec_ext in '' $ac_executable_extensions; do14045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8586 for ac_exec_ext in '' $ac_executable_extensions; do 8587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14046 8588 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 14047 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14048 8590 break 2 14049 8591 fi 14050 8592 done 14051 done8593 done 14052 8594 IFS=$as_save_IFS 14053 8595 … … 14057 8599 JAVAH=$ac_cv_path_JAVAH 14058 8600 if test -n "$JAVAH"; then 14059 { $as_echo "$as_me:$ LINENO: result: $JAVAH" >&58601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 14060 8602 $as_echo "$JAVAH" >&6; } 14061 8603 else 14062 { $as_echo "$as_me:$ LINENO: result: no" >&58604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14063 8605 $as_echo "no" >&6; } 14064 8606 fi … … 14104 8646 14105 8647 # Check whether --with-R was given. 14106 if test "${with_R+set}" = set; then 8648 if test "${with_R+set}" = set; then : 14107 8649 withval=$with_R; 14108 8650 else … … 14116 8658 # Extract the first word of "R", so it can be a program name with args. 14117 8659 set dummy R; ac_word=$2 14118 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14119 8661 $as_echo_n "checking for $ac_word... " >&6; } 14120 if test "${ac_cv_path_R+set}" = set; then8662 if ${ac_cv_path_R+:} false; then : 14121 8663 $as_echo_n "(cached) " >&6 14122 8664 else … … 14131 8673 IFS=$as_save_IFS 14132 8674 test -z "$as_dir" && as_dir=. 14133 for ac_exec_ext in '' $ac_executable_extensions; do14134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8675 for ac_exec_ext in '' $ac_executable_extensions; do 8676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14135 8677 ac_cv_path_R="$as_dir/$ac_word$ac_exec_ext" 14136 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14137 8679 break 2 14138 8680 fi 14139 8681 done 14140 done8682 done 14141 8683 IFS=$as_save_IFS 14142 8684 … … 14146 8688 R=$ac_cv_path_R 14147 8689 if test -n "$R"; then 14148 { $as_echo "$as_me:$ LINENO: result: $R" >&58690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&5 14149 8691 $as_echo "$R" >&6; } 14150 8692 else 14151 { $as_echo "$as_me:$ LINENO: result: no" >&58693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14152 8694 $as_echo "no" >&6; } 14153 8695 fi … … 14157 8699 # Extract the first word of "R", so it can be a program name with args. 14158 8700 set dummy R; ac_word=$2 14159 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14160 8702 $as_echo_n "checking for $ac_word... " >&6; } 14161 if test "${ac_cv_path_R+set}" = set; then8703 if ${ac_cv_path_R+:} false; then : 14162 8704 $as_echo_n "(cached) " >&6 14163 8705 else … … 14173 8715 IFS=$as_save_IFS 14174 8716 test -z "$as_dir" && as_dir=. 14175 for ac_exec_ext in '' $ac_executable_extensions; do14176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8717 for ac_exec_ext in '' $ac_executable_extensions; do 8718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14177 8719 ac_cv_path_R="$as_dir/$ac_word$ac_exec_ext" 14178 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14179 8721 break 2 14180 8722 fi 14181 8723 done 14182 done8724 done 14183 8725 IFS=$as_save_IFS 14184 8726 … … 14188 8730 R=$ac_cv_path_R 14189 8731 if test -n "$R"; then 14190 { $as_echo "$as_me:$ LINENO: result: $R" >&58732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&5 14191 8733 $as_echo "$R" >&6; } 14192 8734 else 14193 { $as_echo "$as_me:$ LINENO: result: no" >&58735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14194 8736 $as_echo "no" >&6; } 14195 8737 fi … … 14202 8744 # Make sure we can run config.sub. 14203 8745 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 14204 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 14205 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 14206 { (exit 1); exit 1; }; } 14207 14208 { $as_echo "$as_me:$LINENO: checking build system type" >&5 8746 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 8747 8748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 14209 8749 $as_echo_n "checking build system type... " >&6; } 14210 if test "${ac_cv_build+set}" = set; then8750 if ${ac_cv_build+:} false; then : 14211 8751 $as_echo_n "(cached) " >&6 14212 8752 else … … 14215 8755 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 14216 8756 test "x$ac_build_alias" = x && 14217 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 14218 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 14219 { (exit 1); exit 1; }; } 8757 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 14220 8758 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 14221 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 14222 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 14223 { (exit 1); exit 1; }; } 14224 14225 fi 14226 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 8759 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 8760 8761 fi 8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 14227 8763 $as_echo "$ac_cv_build" >&6; } 14228 8764 case $ac_cv_build in 14229 8765 *-*-*) ;; 14230 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 14231 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 14232 { (exit 1); exit 1; }; };; 8766 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 14233 8767 esac 14234 8768 build=$ac_cv_build … … 14246 8780 14247 8781 8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 8783 $as_echo_n "checking host system type... " >&6; } 8784 if ${ac_cv_host+:} false; then : 8785 $as_echo_n "(cached) " >&6 8786 else 8787 if test "x$host_alias" = x; then 8788 ac_cv_host=$ac_cv_build 8789 else 8790 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 8791 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 8792 fi 8793 8794 fi 8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 8796 $as_echo "$ac_cv_host" >&6; } 8797 case $ac_cv_host in 8798 *-*-*) ;; 8799 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 8800 esac 8801 host=$ac_cv_host 8802 ac_save_IFS=$IFS; IFS='-' 8803 set x $ac_cv_host 8804 shift 8805 host_cpu=$1 8806 host_vendor=$2 8807 shift; shift 8808 # Remember, the first character of IFS is used to create $*, 8809 # except with old shells: 8810 host_os=$* 8811 IFS=$ac_save_IFS 8812 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 8813 8814 14248 8815 14249 8816 14250 8817 14251 8818 # Check whether --with-ruby was given. 14252 if test "${with_ruby+set}" = set; then 8819 if test "${with_ruby+set}" = set; then : 14253 8820 withval=$with_ruby; RUBY=$withval 14254 8821 else … … 14258 8825 14259 8826 # Check whether --with-ruby_sitelibdir was given. 14260 if test "${with_ruby_sitelibdir+set}" = set; then 8827 if test "${with_ruby_sitelibdir+set}" = set; then : 14261 8828 withval=$with_ruby_sitelibdir; ruby_sitelibdir=$withval 14262 8829 else … … 14345 8912 CPPFLAGS="${CPPFLAGS} ${RUBY_CPPFLAGS}" 14346 8913 CXXFLAGS="${CPPFLAGS}" 14347 14348 8914 for ac_header in ruby.h 14349 do 14350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14351 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14352 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 14353 $as_echo_n "checking for $ac_header... " >&6; } 14354 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14355 $as_echo_n "(cached) " >&6 14356 fi 14357 ac_res=`eval 'as_val=${'$as_ac_Header'} 14358 $as_echo "$as_val"'` 14359 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14360 $as_echo "$ac_res" >&6; } 14361 else 14362 # Is the header compilable? 14363 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 14364 $as_echo_n "checking $ac_header usability... " >&6; } 14365 cat >conftest.$ac_ext <<_ACEOF 14366 /* confdefs.h. */ 14367 _ACEOF 14368 cat confdefs.h >>conftest.$ac_ext 14369 cat >>conftest.$ac_ext <<_ACEOF 14370 /* end confdefs.h. */ 14371 $ac_includes_default 14372 #include <$ac_header> 14373 _ACEOF 14374 rm -f conftest.$ac_objext 14375 if { (ac_try="$ac_compile" 14376 case "(($ac_try" in 14377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14378 *) ac_try_echo=$ac_try;; 14379 esac 14380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14381 $as_echo "$ac_try_echo") >&5 14382 (eval "$ac_compile") 2>conftest.er1 14383 ac_status=$? 14384 grep -v '^ *+' conftest.er1 >conftest.err 14385 rm -f conftest.er1 14386 cat conftest.err >&5 14387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14388 (exit $ac_status); } && { 14389 test -z "$ac_cxx_werror_flag" || 14390 test ! -s conftest.err 14391 } && test -s conftest.$ac_objext; then 14392 ac_header_compiler=yes 14393 else 14394 $as_echo "$as_me: failed program was:" >&5 14395 sed 's/^/| /' conftest.$ac_ext >&5 14396 14397 ac_header_compiler=no 14398 fi 14399 14400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14401 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14402 $as_echo "$ac_header_compiler" >&6; } 14403 14404 # Is the header present? 14405 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 14406 $as_echo_n "checking $ac_header presence... " >&6; } 14407 cat >conftest.$ac_ext <<_ACEOF 14408 /* confdefs.h. */ 14409 _ACEOF 14410 cat confdefs.h >>conftest.$ac_ext 14411 cat >>conftest.$ac_ext <<_ACEOF 14412 /* end confdefs.h. */ 14413 #include <$ac_header> 14414 _ACEOF 14415 if { (ac_try="$ac_cpp conftest.$ac_ext" 14416 case "(($ac_try" in 14417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14418 *) ac_try_echo=$ac_try;; 14419 esac 14420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14421 $as_echo "$ac_try_echo") >&5 14422 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14423 ac_status=$? 14424 grep -v '^ *+' conftest.er1 >conftest.err 14425 rm -f conftest.er1 14426 cat conftest.err >&5 14427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14428 (exit $ac_status); } >/dev/null && { 14429 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 14430 test ! -s conftest.err 14431 }; then 14432 ac_header_preproc=yes 14433 else 14434 $as_echo "$as_me: failed program was:" >&5 14435 sed 's/^/| /' conftest.$ac_ext >&5 14436 14437 ac_header_preproc=no 14438 fi 14439 14440 rm -f conftest.err conftest.$ac_ext 14441 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14442 $as_echo "$ac_header_preproc" >&6; } 14443 14444 # So? What about this header? 14445 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 14446 yes:no: ) 14447 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 14448 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 14449 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 14450 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 14451 ac_header_preproc=yes 14452 ;; 14453 no:yes:* ) 14454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 14455 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 14456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 14457 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 14458 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 14459 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 14460 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 14461 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 14462 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 14463 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 14464 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 14465 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 14466 ( cat <<\_ASBOX 14467 ## ----------------------------------- ## 14468 ## Report this to rappture@nanohub.org ## 14469 ## ----------------------------------- ## 14470 _ASBOX 14471 ) | sed "s/^/$as_me: WARNING: /" >&2 14472 ;; 14473 esac 14474 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 14475 $as_echo_n "checking for $ac_header... " >&6; } 14476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14477 $as_echo_n "(cached) " >&6 14478 else 14479 eval "$as_ac_Header=\$ac_header_preproc" 14480 fi 14481 ac_res=`eval 'as_val=${'$as_ac_Header'} 14482 $as_echo "$as_val"'` 14483 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14484 $as_echo "$ac_res" >&6; } 14485 14486 fi 14487 as_val=`eval 'as_val=${'$as_ac_Header'} 14488 $as_echo "$as_val"'` 14489 if test "x$as_val" = x""yes; then 8915 do : 8916 ac_fn_cxx_check_header_mongrel "$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default" 8917 if test "x$ac_cv_header_ruby_h" = xyes; then : 14490 8918 cat >>confdefs.h <<_ACEOF 14491 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18919 #define HAVE_RUBY_H 1 14492 8920 _ACEOF 14493 8921 … … 14499 8927 14500 8928 14501 14502 8929 for ac_header in node.h 14503 do 14504 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14505 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 14506 $as_echo_n "checking for $ac_header... " >&6; } 14507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14508 $as_echo_n "(cached) " >&6 14509 else 14510 cat >conftest.$ac_ext <<_ACEOF 14511 /* confdefs.h. */ 14512 _ACEOF 14513 cat confdefs.h >>conftest.$ac_ext 14514 cat >>conftest.$ac_ext <<_ACEOF 14515 /* end confdefs.h. */ 14516 8930 do : 8931 ac_fn_cxx_check_header_compile "$LINENO" "node.h" "ac_cv_header_node_h" " 14517 8932 #include <ruby.h> 14518 8933 14519 14520 #include <$ac_header> 14521 _ACEOF 14522 rm -f conftest.$ac_objext 14523 if { (ac_try="$ac_compile" 14524 case "(($ac_try" in 14525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14526 *) ac_try_echo=$ac_try;; 14527 esac 14528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14529 $as_echo "$ac_try_echo") >&5 14530 (eval "$ac_compile") 2>conftest.er1 14531 ac_status=$? 14532 grep -v '^ *+' conftest.er1 >conftest.err 14533 rm -f conftest.er1 14534 cat conftest.err >&5 14535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14536 (exit $ac_status); } && { 14537 test -z "$ac_cxx_werror_flag" || 14538 test ! -s conftest.err 14539 } && test -s conftest.$ac_objext; then 14540 eval "$as_ac_Header=yes" 14541 else 14542 $as_echo "$as_me: failed program was:" >&5 14543 sed 's/^/| /' conftest.$ac_ext >&5 14544 14545 eval "$as_ac_Header=no" 14546 fi 14547 14548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14549 fi 14550 ac_res=`eval 'as_val=${'$as_ac_Header'} 14551 $as_echo "$as_val"'` 14552 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14553 $as_echo "$ac_res" >&6; } 14554 as_val=`eval 'as_val=${'$as_ac_Header'} 14555 $as_echo "$as_val"'` 14556 if test "x$as_val" = x""yes; then 8934 " 8935 if test "x$ac_cv_header_node_h" = xyes; then : 14557 8936 cat >>confdefs.h <<_ACEOF 14558 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 14559 _ACEOF 14560 14561 fi 14562 14563 done 14564 8937 #define HAVE_NODE_H 1 8938 _ACEOF 8939 8940 fi 8941 8942 done 14565 8943 14566 8944 for ac_header in ruby/node.h 14567 do 14568 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14569 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 14570 $as_echo_n "checking for $ac_header... " >&6; } 14571 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14572 $as_echo_n "(cached) " >&6 14573 else 14574 cat >conftest.$ac_ext <<_ACEOF 14575 /* confdefs.h. */ 14576 _ACEOF 14577 cat confdefs.h >>conftest.$ac_ext 14578 cat >>conftest.$ac_ext <<_ACEOF 14579 /* end confdefs.h. */ 14580 8945 do : 8946 ac_fn_cxx_check_header_compile "$LINENO" "ruby/node.h" "ac_cv_header_ruby_node_h" " 14581 8947 #include <ruby.h> 14582 8948 14583 14584 #include <$ac_header> 14585 _ACEOF 14586 rm -f conftest.$ac_objext 14587 if { (ac_try="$ac_compile" 14588 case "(($ac_try" in 14589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14590 *) ac_try_echo=$ac_try;; 14591 esac 14592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14593 $as_echo "$ac_try_echo") >&5 14594 (eval "$ac_compile") 2>conftest.er1 14595 ac_status=$? 14596 grep -v '^ *+' conftest.er1 >conftest.err 14597 rm -f conftest.er1 14598 cat conftest.err >&5 14599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14600 (exit $ac_status); } && { 14601 test -z "$ac_cxx_werror_flag" || 14602 test ! -s conftest.err 14603 } && test -s conftest.$ac_objext; then 14604 eval "$as_ac_Header=yes" 14605 else 14606 $as_echo "$as_me: failed program was:" >&5 14607 sed 's/^/| /' conftest.$ac_ext >&5 14608 14609 eval "$as_ac_Header=no" 14610 fi 14611 14612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14613 fi 14614 ac_res=`eval 'as_val=${'$as_ac_Header'} 14615 $as_echo "$as_val"'` 14616 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14617 $as_echo "$ac_res" >&6; } 14618 as_val=`eval 'as_val=${'$as_ac_Header'} 14619 $as_echo "$as_val"'` 14620 if test "x$as_val" = x""yes; then 8949 " 8950 if test "x$ac_cv_header_ruby_node_h" = xyes; then : 14621 8951 cat >>confdefs.h <<_ACEOF 14622 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 14623 _ACEOF 14624 14625 cat >>confdefs.h <<\_ACEOF 14626 #define REALLY_HAVE_RUBY_NODE_H /**/ 14627 _ACEOF 14628 14629 fi 14630 14631 done 14632 8952 #define HAVE_RUBY_NODE_H 1 8953 _ACEOF 8954 8955 $as_echo "#define REALLY_HAVE_RUBY_NODE_H /**/" >>confdefs.h 8956 8957 fi 8958 8959 done 14633 8960 14634 8961 for ac_header in version.h 14635 do 14636 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14637 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 14638 $as_echo_n "checking for $ac_header... " >&6; } 14639 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14640 $as_echo_n "(cached) " >&6 14641 else 14642 cat >conftest.$ac_ext <<_ACEOF 14643 /* confdefs.h. */ 14644 _ACEOF 14645 cat confdefs.h >>conftest.$ac_ext 14646 cat >>conftest.$ac_ext <<_ACEOF 14647 /* end confdefs.h. */ 14648 8962 do : 8963 ac_fn_cxx_check_header_compile "$LINENO" "version.h" "ac_cv_header_version_h" " 14649 8964 #include <ruby.h> 14650 8965 14651 14652 #include <$ac_header> 14653 _ACEOF 14654 rm -f conftest.$ac_objext 14655 if { (ac_try="$ac_compile" 14656 case "(($ac_try" in 14657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14658 *) ac_try_echo=$ac_try;; 14659 esac 14660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14661 $as_echo "$ac_try_echo") >&5 14662 (eval "$ac_compile") 2>conftest.er1 14663 ac_status=$? 14664 grep -v '^ *+' conftest.er1 >conftest.err 14665 rm -f conftest.er1 14666 cat conftest.err >&5 14667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14668 (exit $ac_status); } && { 14669 test -z "$ac_cxx_werror_flag" || 14670 test ! -s conftest.err 14671 } && test -s conftest.$ac_objext; then 14672 eval "$as_ac_Header=yes" 14673 else 14674 $as_echo "$as_me: failed program was:" >&5 14675 sed 's/^/| /' conftest.$ac_ext >&5 14676 14677 eval "$as_ac_Header=no" 14678 fi 14679 14680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14681 fi 14682 ac_res=`eval 'as_val=${'$as_ac_Header'} 14683 $as_echo "$as_val"'` 14684 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14685 $as_echo "$ac_res" >&6; } 14686 as_val=`eval 'as_val=${'$as_ac_Header'} 14687 $as_echo "$as_val"'` 14688 if test "x$as_val" = x""yes; then 8966 " 8967 if test "x$ac_cv_header_version_h" = xyes; then : 14689 8968 cat >>confdefs.h <<_ACEOF 14690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 14691 _ACEOF 14692 14693 fi 14694 14695 done 14696 8969 #define HAVE_VERSION_H 1 8970 _ACEOF 8971 8972 fi 8973 8974 done 14697 8975 14698 8976 for ac_header in env.h 14699 do 14700 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14701 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 14702 $as_echo_n "checking for $ac_header... " >&6; } 14703 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14704 $as_echo_n "(cached) " >&6 14705 else 14706 cat >conftest.$ac_ext <<_ACEOF 14707 /* confdefs.h. */ 14708 _ACEOF 14709 cat confdefs.h >>conftest.$ac_ext 14710 cat >>conftest.$ac_ext <<_ACEOF 14711 /* end confdefs.h. */ 14712 8977 do : 8978 ac_fn_cxx_check_header_compile "$LINENO" "env.h" "ac_cv_header_env_h" " 14713 8979 #include <ruby.h> 14714 8980 14715 14716 #include <$ac_header> 14717 _ACEOF 14718 rm -f conftest.$ac_objext 14719 if { (ac_try="$ac_compile" 14720 case "(($ac_try" in 14721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14722 *) ac_try_echo=$ac_try;; 14723 esac 14724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14725 $as_echo "$ac_try_echo") >&5 14726 (eval "$ac_compile") 2>conftest.er1 14727 ac_status=$? 14728 grep -v '^ *+' conftest.er1 >conftest.err 14729 rm -f conftest.er1 14730 cat conftest.err >&5 14731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14732 (exit $ac_status); } && { 14733 test -z "$ac_cxx_werror_flag" || 14734 test ! -s conftest.err 14735 } && test -s conftest.$ac_objext; then 14736 eval "$as_ac_Header=yes" 14737 else 14738 $as_echo "$as_me: failed program was:" >&5 14739 sed 's/^/| /' conftest.$ac_ext >&5 14740 14741 eval "$as_ac_Header=no" 14742 fi 14743 14744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14745 fi 14746 ac_res=`eval 'as_val=${'$as_ac_Header'} 14747 $as_echo "$as_val"'` 14748 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14749 $as_echo "$ac_res" >&6; } 14750 as_val=`eval 'as_val=${'$as_ac_Header'} 14751 $as_echo "$as_val"'` 14752 if test "x$as_val" = x""yes; then 8981 " 8982 if test "x$ac_cv_header_env_h" = xyes; then : 14753 8983 cat >>confdefs.h <<_ACEOF 14754 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18984 #define HAVE_ENV_H 1 14755 8985 _ACEOF 14756 8986 … … 14761 8991 14762 8992 CPPFLAGS="${CPPFLAGS_save}" 14763 14764 { $as_echo "$as_me:$LINENO: checking host system type" >&514765 $as_echo_n "checking host system type... " >&6; }14766 if test "${ac_cv_host+set}" = set; then14767 $as_echo_n "(cached) " >&614768 else14769 if test "x$host_alias" = x; then14770 ac_cv_host=$ac_cv_build14771 else14772 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||14773 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&514774 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}14775 { (exit 1); exit 1; }; }14776 fi14777 14778 fi14779 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&514780 $as_echo "$ac_cv_host" >&6; }14781 case $ac_cv_host in14782 *-*-*) ;;14783 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&514784 $as_echo "$as_me: error: invalid value of canonical host" >&2;}14785 { (exit 1); exit 1; }; };;14786 esac14787 host=$ac_cv_host14788 ac_save_IFS=$IFS; IFS='-'14789 set x $ac_cv_host14790 shift14791 host_cpu=$114792 host_vendor=$214793 shift; shift14794 # Remember, the first character of IFS is used to create $*,14795 # except with old shells:14796 host_os=$*14797 IFS=$ac_save_IFS14798 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac14799 8993 14800 8994 … … 14821 9015 14822 9016 14823 { $as_echo "$as_me:$ LINENO: checking how to build libraries" >&59017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5 14824 9018 $as_echo_n "checking how to build libraries... " >&6; } 14825 9019 # Check whether --enable-shared was given. 14826 if test "${enable_shared+set}" = set; then 9020 if test "${enable_shared+set}" = set; then : 14827 9021 enableval=$enable_shared; tcl_ok=$enableval 14828 9022 else … … 14839 9033 14840 9034 if test "$tcl_ok" = "yes" ; then 14841 { $as_echo "$as_me:$ LINENO: result: shared" >&59035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 14842 9036 $as_echo "shared" >&6; } 14843 9037 SHARED_BUILD=1 14844 9038 else 14845 { $as_echo "$as_me:$ LINENO: result: static" >&59039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 14846 9040 $as_echo "static" >&6; } 14847 9041 SHARED_BUILD=0 14848 cat >>confdefs.h <<\_ACEOF 14849 #define STATIC_BUILD 1 14850 _ACEOF 9042 $as_echo "#define STATIC_BUILD 1" >>confdefs.h 14851 9043 14852 9044 fi … … 14873 9065 # ----------------------------------------------------------------------- 14874 9066 14875 14876 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 14877 9068 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 14878 if test "${ac_cv_c_bigendian+set}" = set; then9069 if ${ac_cv_c_bigendian+:} false; then : 14879 9070 $as_echo_n "(cached) " >&6 14880 9071 else 14881 9072 ac_cv_c_bigendian=unknown 14882 9073 # See if we're dealing with a universal compiler. 14883 cat >conftest.$ac_ext <<_ACEOF 14884 /* confdefs.h. */ 14885 _ACEOF 14886 cat confdefs.h >>conftest.$ac_ext 14887 cat >>conftest.$ac_ext <<_ACEOF 9074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14888 9075 /* end confdefs.h. */ 14889 9076 #ifndef __APPLE_CC__ … … 14893 9080 14894 9081 _ACEOF 14895 rm -f conftest.$ac_objext 14896 if { (ac_try="$ac_compile" 14897 case "(($ac_try" in 14898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14899 *) ac_try_echo=$ac_try;; 14900 esac 14901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14902 $as_echo "$ac_try_echo") >&5 14903 (eval "$ac_compile") 2>conftest.er1 14904 ac_status=$? 14905 grep -v '^ *+' conftest.er1 >conftest.err 14906 rm -f conftest.er1 14907 cat conftest.err >&5 14908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14909 (exit $ac_status); } && { 14910 test -z "$ac_cxx_werror_flag" || 14911 test ! -s conftest.err 14912 } && test -s conftest.$ac_objext; then 9082 if ac_fn_cxx_try_compile "$LINENO"; then : 14913 9083 14914 9084 # Check for potential -arch flags. It is not universal unless 14915 # there are some -arch flags. Note that *ppc* also matches 14916 # ppc64. This check is also rather less than ideal. 14917 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 14918 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 14919 esac 14920 else 14921 $as_echo "$as_me: failed program was:" >&5 14922 sed 's/^/| /' conftest.$ac_ext >&5 14923 14924 14925 fi 14926 9085 # there are at least two -arch flags with different values. 9086 ac_arch= 9087 ac_prev= 9088 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 9089 if test -n "$ac_prev"; then 9090 case $ac_word in 9091 i?86 | x86_64 | ppc | ppc64) 9092 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 9093 ac_arch=$ac_word 9094 else 9095 ac_cv_c_bigendian=universal 9096 break 9097 fi 9098 ;; 9099 esac 9100 ac_prev= 9101 elif test "x$ac_word" = "x-arch"; then 9102 ac_prev=arch 9103 fi 9104 done 9105 fi 14927 9106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14928 9107 if test $ac_cv_c_bigendian = unknown; then 14929 9108 # See if sys/param.h defines the BYTE_ORDER macro. 14930 cat >conftest.$ac_ext <<_ACEOF 14931 /* confdefs.h. */ 14932 _ACEOF 14933 cat confdefs.h >>conftest.$ac_ext 14934 cat >>conftest.$ac_ext <<_ACEOF 9109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14935 9110 /* end confdefs.h. */ 14936 9111 #include <sys/types.h> … … 14950 9125 } 14951 9126 _ACEOF 14952 rm -f conftest.$ac_objext 14953 if { (ac_try="$ac_compile" 14954 case "(($ac_try" in 14955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14956 *) ac_try_echo=$ac_try;; 14957 esac 14958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14959 $as_echo "$ac_try_echo") >&5 14960 (eval "$ac_compile") 2>conftest.er1 14961 ac_status=$? 14962 grep -v '^ *+' conftest.er1 >conftest.err 14963 rm -f conftest.er1 14964 cat conftest.err >&5 14965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14966 (exit $ac_status); } && { 14967 test -z "$ac_cxx_werror_flag" || 14968 test ! -s conftest.err 14969 } && test -s conftest.$ac_objext; then 9127 if ac_fn_cxx_try_compile "$LINENO"; then : 14970 9128 # It does; now see whether it defined to BIG_ENDIAN or not. 14971 cat >conftest.$ac_ext <<_ACEOF 14972 /* confdefs.h. */ 14973 _ACEOF 14974 cat confdefs.h >>conftest.$ac_ext 14975 cat >>conftest.$ac_ext <<_ACEOF 9129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14976 9130 /* end confdefs.h. */ 14977 9131 #include <sys/types.h> … … 14989 9143 } 14990 9144 _ACEOF 14991 rm -f conftest.$ac_objext 14992 if { (ac_try="$ac_compile" 14993 case "(($ac_try" in 14994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14995 *) ac_try_echo=$ac_try;; 14996 esac 14997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14998 $as_echo "$ac_try_echo") >&5 14999 (eval "$ac_compile") 2>conftest.er1 15000 ac_status=$? 15001 grep -v '^ *+' conftest.er1 >conftest.err 15002 rm -f conftest.er1 15003 cat conftest.err >&5 15004 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15005 (exit $ac_status); } && { 15006 test -z "$ac_cxx_werror_flag" || 15007 test ! -s conftest.err 15008 } && test -s conftest.$ac_objext; then 9145 if ac_fn_cxx_try_compile "$LINENO"; then : 15009 9146 ac_cv_c_bigendian=yes 15010 9147 else 15011 $as_echo "$as_me: failed program was:" >&5 15012 sed 's/^/| /' conftest.$ac_ext >&5 15013 15014 ac_cv_c_bigendian=no 15015 fi 15016 9148 ac_cv_c_bigendian=no 9149 fi 15017 9150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15018 else 15019 $as_echo "$as_me: failed program was:" >&5 15020 sed 's/^/| /' conftest.$ac_ext >&5 15021 15022 15023 fi 15024 9151 fi 15025 9152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15026 9153 fi 15027 9154 if test $ac_cv_c_bigendian = unknown; then 15028 9155 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 15029 cat >conftest.$ac_ext <<_ACEOF 15030 /* confdefs.h. */ 15031 _ACEOF 15032 cat confdefs.h >>conftest.$ac_ext 15033 cat >>conftest.$ac_ext <<_ACEOF 9156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15034 9157 /* end confdefs.h. */ 15035 9158 #include <limits.h> … … 15046 9169 } 15047 9170 _ACEOF 15048 rm -f conftest.$ac_objext 15049 if { (ac_try="$ac_compile" 15050 case "(($ac_try" in 15051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15052 *) ac_try_echo=$ac_try;; 15053 esac 15054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15055 $as_echo "$ac_try_echo") >&5 15056 (eval "$ac_compile") 2>conftest.er1 15057 ac_status=$? 15058 grep -v '^ *+' conftest.er1 >conftest.err 15059 rm -f conftest.er1 15060 cat conftest.err >&5 15061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15062 (exit $ac_status); } && { 15063 test -z "$ac_cxx_werror_flag" || 15064 test ! -s conftest.err 15065 } && test -s conftest.$ac_objext; then 9171 if ac_fn_cxx_try_compile "$LINENO"; then : 15066 9172 # It does; now see whether it defined to _BIG_ENDIAN or not. 15067 cat >conftest.$ac_ext <<_ACEOF 15068 /* confdefs.h. */ 15069 _ACEOF 15070 cat confdefs.h >>conftest.$ac_ext 15071 cat >>conftest.$ac_ext <<_ACEOF 9173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15072 9174 /* end confdefs.h. */ 15073 9175 #include <limits.h> … … 15084 9186 } 15085 9187 _ACEOF 15086 rm -f conftest.$ac_objext 15087 if { (ac_try="$ac_compile" 15088 case "(($ac_try" in 15089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15090 *) ac_try_echo=$ac_try;; 15091 esac 15092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15093 $as_echo "$ac_try_echo") >&5 15094 (eval "$ac_compile") 2>conftest.er1 15095 ac_status=$? 15096 grep -v '^ *+' conftest.er1 >conftest.err 15097 rm -f conftest.er1 15098 cat conftest.err >&5 15099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15100 (exit $ac_status); } && { 15101 test -z "$ac_cxx_werror_flag" || 15102 test ! -s conftest.err 15103 } && test -s conftest.$ac_objext; then 9188 if ac_fn_cxx_try_compile "$LINENO"; then : 15104 9189 ac_cv_c_bigendian=yes 15105 9190 else 15106 $as_echo "$as_me: failed program was:" >&5 15107 sed 's/^/| /' conftest.$ac_ext >&5 15108 15109 ac_cv_c_bigendian=no 15110 fi 15111 9191 ac_cv_c_bigendian=no 9192 fi 15112 9193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15113 else 15114 $as_echo "$as_me: failed program was:" >&5 15115 sed 's/^/| /' conftest.$ac_ext >&5 15116 15117 15118 fi 15119 9194 fi 15120 9195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15121 9196 fi 15122 9197 if test $ac_cv_c_bigendian = unknown; then 15123 9198 # Compile a test program. 15124 if test "$cross_compiling" = yes; then 9199 if test "$cross_compiling" = yes; then : 15125 9200 # Try to guess by grepping values from an object file. 15126 cat >conftest.$ac_ext <<_ACEOF 15127 /* confdefs.h. */ 15128 _ACEOF 15129 cat confdefs.h >>conftest.$ac_ext 15130 cat >>conftest.$ac_ext <<_ACEOF 9201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15131 9202 /* end confdefs.h. */ 15132 9203 short int ascii_mm[] = … … 15154 9225 } 15155 9226 _ACEOF 15156 rm -f conftest.$ac_objext 15157 if { (ac_try="$ac_compile" 15158 case "(($ac_try" in 15159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15160 *) ac_try_echo=$ac_try;; 15161 esac 15162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15163 $as_echo "$ac_try_echo") >&5 15164 (eval "$ac_compile") 2>conftest.er1 15165 ac_status=$? 15166 grep -v '^ *+' conftest.er1 >conftest.err 15167 rm -f conftest.er1 15168 cat conftest.err >&5 15169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15170 (exit $ac_status); } && { 15171 test -z "$ac_cxx_werror_flag" || 15172 test ! -s conftest.err 15173 } && test -s conftest.$ac_objext; then 9227 if ac_fn_cxx_try_compile "$LINENO"; then : 15174 9228 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 15175 9229 ac_cv_c_bigendian=yes … … 15183 9237 fi 15184 9238 fi 15185 else 15186 $as_echo "$as_me: failed program was:" >&5 15187 sed 's/^/| /' conftest.$ac_ext >&5 15188 15189 15190 fi 15191 9239 fi 15192 9240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15193 9241 else 15194 cat >conftest.$ac_ext <<_ACEOF 15195 /* confdefs.h. */ 15196 _ACEOF 15197 cat confdefs.h >>conftest.$ac_ext 15198 cat >>conftest.$ac_ext <<_ACEOF 9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15199 9243 /* end confdefs.h. */ 15200 9244 $ac_includes_default … … 15216 9260 } 15217 9261 _ACEOF 15218 rm -f conftest$ac_exeext 15219 if { (ac_try="$ac_link" 15220 case "(($ac_try" in 15221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15222 *) ac_try_echo=$ac_try;; 15223 esac 15224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15225 $as_echo "$ac_try_echo") >&5 15226 (eval "$ac_link") 2>&5 15227 ac_status=$? 15228 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15230 { (case "(($ac_try" in 15231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15232 *) ac_try_echo=$ac_try;; 15233 esac 15234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15235 $as_echo "$ac_try_echo") >&5 15236 (eval "$ac_try") 2>&5 15237 ac_status=$? 15238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15239 (exit $ac_status); }; }; then 9262 if ac_fn_cxx_try_run "$LINENO"; then : 15240 9263 ac_cv_c_bigendian=no 15241 9264 else 15242 $as_echo "$as_me: program exited with status $ac_status" >&5 15243 $as_echo "$as_me: failed program was:" >&5 15244 sed 's/^/| /' conftest.$ac_ext >&5 15245 15246 ( exit $ac_status ) 15247 ac_cv_c_bigendian=yes 15248 fi 15249 rm -rf conftest.dSYM 15250 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15251 fi 15252 9265 ac_cv_c_bigendian=yes 9266 fi 9267 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9268 conftest.$ac_objext conftest.beam conftest.$ac_ext 9269 fi 15253 9270 15254 9271 fi 15255 9272 fi 15256 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_bigendian" >&59273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 15257 9274 $as_echo "$ac_cv_c_bigendian" >&6; } 15258 9275 case $ac_cv_c_bigendian in #( 15259 9276 yes) 15260 cat >>confdefs.h <<\_ACEOF 15261 #define WORDS_BIGENDIAN 1 15262 _ACEOF 9277 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 15263 9278 ;; #( 15264 9279 no) … … 15266 9281 universal) 15267 9282 15268 cat >>confdefs.h <<\_ACEOF 15269 #define AC_APPLE_UNIVERSAL_BUILD 1 15270 _ACEOF 9283 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 15271 9284 15272 9285 ;; #( 15273 9286 *) 15274 { { $as_echo "$as_me:$LINENO: error: unknown endianness 15275 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 15276 $as_echo "$as_me: error: unknown endianness 15277 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 15278 { (exit 1); exit 1; }; } ;; 9287 as_fn_error $? "unknown endianness 9288 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 15279 9289 esac 15280 9290 … … 15283 9293 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15284 9294 # This bug is HP SR number 8606223364. 15285 { $as_echo "$as_me:$ LINENO: checking size of int" >&59295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 15286 9296 $as_echo_n "checking size of int... " >&6; } 15287 if test "${ac_cv_sizeof_int+set}" = set; then9297 if ${ac_cv_sizeof_int+:} false; then : 15288 9298 $as_echo_n "(cached) " >&6 15289 9299 else 15290 if test "$cross_compiling" = yes; then 15291 # Depending upon the size, compute the lo and hi bounds. 15292 cat >conftest.$ac_ext <<_ACEOF 15293 /* confdefs.h. */ 15294 _ACEOF 15295 cat confdefs.h >>conftest.$ac_ext 15296 cat >>conftest.$ac_ext <<_ACEOF 15297 /* end confdefs.h. */ 15298 $ac_includes_default 15299 int 15300 main () 15301 { 15302 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)]; 15303 test_array [0] = 0 15304 15305 ; 15306 return 0; 15307 } 15308 _ACEOF 15309 rm -f conftest.$ac_objext 15310 if { (ac_try="$ac_compile" 15311 case "(($ac_try" in 15312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15313 *) ac_try_echo=$ac_try;; 15314 esac 15315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15316 $as_echo "$ac_try_echo") >&5 15317 (eval "$ac_compile") 2>conftest.er1 15318 ac_status=$? 15319 grep -v '^ *+' conftest.er1 >conftest.err 15320 rm -f conftest.er1 15321 cat conftest.err >&5 15322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15323 (exit $ac_status); } && { 15324 test -z "$ac_cxx_werror_flag" || 15325 test ! -s conftest.err 15326 } && test -s conftest.$ac_objext; then 15327 ac_lo=0 ac_mid=0 15328 while :; do 15329 cat >conftest.$ac_ext <<_ACEOF 15330 /* confdefs.h. */ 15331 _ACEOF 15332 cat confdefs.h >>conftest.$ac_ext 15333 cat >>conftest.$ac_ext <<_ACEOF 15334 /* end confdefs.h. */ 15335 $ac_includes_default 15336 int 15337 main () 15338 { 15339 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 15340 test_array [0] = 0 15341 15342 ; 15343 return 0; 15344 } 15345 _ACEOF 15346 rm -f conftest.$ac_objext 15347 if { (ac_try="$ac_compile" 15348 case "(($ac_try" in 15349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15350 *) ac_try_echo=$ac_try;; 15351 esac 15352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15353 $as_echo "$ac_try_echo") >&5 15354 (eval "$ac_compile") 2>conftest.er1 15355 ac_status=$? 15356 grep -v '^ *+' conftest.er1 >conftest.err 15357 rm -f conftest.er1 15358 cat conftest.err >&5 15359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15360 (exit $ac_status); } && { 15361 test -z "$ac_cxx_werror_flag" || 15362 test ! -s conftest.err 15363 } && test -s conftest.$ac_objext; then 15364 ac_hi=$ac_mid; break 15365 else 15366 $as_echo "$as_me: failed program was:" >&5 15367 sed 's/^/| /' conftest.$ac_ext >&5 15368 15369 ac_lo=`expr $ac_mid + 1` 15370 if test $ac_lo -le $ac_mid; then 15371 ac_lo= ac_hi= 15372 break 15373 fi 15374 ac_mid=`expr 2 '*' $ac_mid + 1` 15375 fi 15376 15377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15378 done 15379 else 15380 $as_echo "$as_me: failed program was:" >&5 15381 sed 's/^/| /' conftest.$ac_ext >&5 15382 15383 cat >conftest.$ac_ext <<_ACEOF 15384 /* confdefs.h. */ 15385 _ACEOF 15386 cat confdefs.h >>conftest.$ac_ext 15387 cat >>conftest.$ac_ext <<_ACEOF 15388 /* end confdefs.h. */ 15389 $ac_includes_default 15390 int 15391 main () 15392 { 15393 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)]; 15394 test_array [0] = 0 15395 15396 ; 15397 return 0; 15398 } 15399 _ACEOF 15400 rm -f conftest.$ac_objext 15401 if { (ac_try="$ac_compile" 15402 case "(($ac_try" in 15403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15404 *) ac_try_echo=$ac_try;; 15405 esac 15406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15407 $as_echo "$ac_try_echo") >&5 15408 (eval "$ac_compile") 2>conftest.er1 15409 ac_status=$? 15410 grep -v '^ *+' conftest.er1 >conftest.err 15411 rm -f conftest.er1 15412 cat conftest.err >&5 15413 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15414 (exit $ac_status); } && { 15415 test -z "$ac_cxx_werror_flag" || 15416 test ! -s conftest.err 15417 } && test -s conftest.$ac_objext; then 15418 ac_hi=-1 ac_mid=-1 15419 while :; do 15420 cat >conftest.$ac_ext <<_ACEOF 15421 /* confdefs.h. */ 15422 _ACEOF 15423 cat confdefs.h >>conftest.$ac_ext 15424 cat >>conftest.$ac_ext <<_ACEOF 15425 /* end confdefs.h. */ 15426 $ac_includes_default 15427 int 15428 main () 15429 { 15430 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)]; 15431 test_array [0] = 0 15432 15433 ; 15434 return 0; 15435 } 15436 _ACEOF 15437 rm -f conftest.$ac_objext 15438 if { (ac_try="$ac_compile" 15439 case "(($ac_try" in 15440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15441 *) ac_try_echo=$ac_try;; 15442 esac 15443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15444 $as_echo "$ac_try_echo") >&5 15445 (eval "$ac_compile") 2>conftest.er1 15446 ac_status=$? 15447 grep -v '^ *+' conftest.er1 >conftest.err 15448 rm -f conftest.er1 15449 cat conftest.err >&5 15450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15451 (exit $ac_status); } && { 15452 test -z "$ac_cxx_werror_flag" || 15453 test ! -s conftest.err 15454 } && test -s conftest.$ac_objext; then 15455 ac_lo=$ac_mid; break 15456 else 15457 $as_echo "$as_me: failed program was:" >&5 15458 sed 's/^/| /' conftest.$ac_ext >&5 15459 15460 ac_hi=`expr '(' $ac_mid ')' - 1` 15461 if test $ac_mid -le $ac_hi; then 15462 ac_lo= ac_hi= 15463 break 15464 fi 15465 ac_mid=`expr 2 '*' $ac_mid` 15466 fi 15467 15468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15469 done 15470 else 15471 $as_echo "$as_me: failed program was:" >&5 15472 sed 's/^/| /' conftest.$ac_ext >&5 15473 15474 ac_lo= ac_hi= 15475 fi 15476 15477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15478 fi 15479 15480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15481 # Binary search between lo and hi bounds. 15482 while test "x$ac_lo" != "x$ac_hi"; do 15483 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15484 cat >conftest.$ac_ext <<_ACEOF 15485 /* confdefs.h. */ 15486 _ACEOF 15487 cat confdefs.h >>conftest.$ac_ext 15488 cat >>conftest.$ac_ext <<_ACEOF 15489 /* end confdefs.h. */ 15490 $ac_includes_default 15491 int 15492 main () 15493 { 15494 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 15495 test_array [0] = 0 15496 15497 ; 15498 return 0; 15499 } 15500 _ACEOF 15501 rm -f conftest.$ac_objext 15502 if { (ac_try="$ac_compile" 15503 case "(($ac_try" in 15504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15505 *) ac_try_echo=$ac_try;; 15506 esac 15507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15508 $as_echo "$ac_try_echo") >&5 15509 (eval "$ac_compile") 2>conftest.er1 15510 ac_status=$? 15511 grep -v '^ *+' conftest.er1 >conftest.err 15512 rm -f conftest.er1 15513 cat conftest.err >&5 15514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15515 (exit $ac_status); } && { 15516 test -z "$ac_cxx_werror_flag" || 15517 test ! -s conftest.err 15518 } && test -s conftest.$ac_objext; then 15519 ac_hi=$ac_mid 15520 else 15521 $as_echo "$as_me: failed program was:" >&5 15522 sed 's/^/| /' conftest.$ac_ext >&5 15523 15524 ac_lo=`expr '(' $ac_mid ')' + 1` 15525 fi 15526 15527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15528 done 15529 case $ac_lo in 15530 ?*) ac_cv_sizeof_int=$ac_lo;; 15531 '') if test "$ac_cv_type_int" = yes; then 15532 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9300 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 9301 9302 else 9303 if test "$ac_cv_type_int" = yes; then 9304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15533 9305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15534 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 15535 See \`config.log' for more details." >&5 15536 $as_echo "$as_me: error: cannot compute sizeof (int) 15537 See \`config.log' for more details." >&2;} 15538 { (exit 77); exit 77; }; }; } 15539 else 15540 ac_cv_sizeof_int=0 15541 fi ;; 15542 esac 15543 else 15544 cat >conftest.$ac_ext <<_ACEOF 15545 /* confdefs.h. */ 15546 _ACEOF 15547 cat confdefs.h >>conftest.$ac_ext 15548 cat >>conftest.$ac_ext <<_ACEOF 15549 /* end confdefs.h. */ 15550 $ac_includes_default 15551 static long int longval () { return (long int) (sizeof (int)); } 15552 static unsigned long int ulongval () { return (long int) (sizeof (int)); } 15553 #include <stdio.h> 15554 #include <stdlib.h> 15555 int 15556 main () 15557 { 15558 15559 FILE *f = fopen ("conftest.val", "w"); 15560 if (! f) 15561 return 1; 15562 if (((long int) (sizeof (int))) < 0) 15563 { 15564 long int i = longval (); 15565 if (i != ((long int) (sizeof (int)))) 15566 return 1; 15567 fprintf (f, "%ld", i); 15568 } 15569 else 15570 { 15571 unsigned long int i = ulongval (); 15572 if (i != ((long int) (sizeof (int)))) 15573 return 1; 15574 fprintf (f, "%lu", i); 15575 } 15576 /* Do not output a trailing newline, as this causes \r\n confusion 15577 on some platforms. */ 15578 return ferror (f) || fclose (f) != 0; 15579 15580 ; 15581 return 0; 15582 } 15583 _ACEOF 15584 rm -f conftest$ac_exeext 15585 if { (ac_try="$ac_link" 15586 case "(($ac_try" in 15587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15588 *) ac_try_echo=$ac_try;; 15589 esac 15590 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15591 $as_echo "$ac_try_echo") >&5 15592 (eval "$ac_link") 2>&5 15593 ac_status=$? 15594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15596 { (case "(($ac_try" in 15597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15598 *) ac_try_echo=$ac_try;; 15599 esac 15600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15601 $as_echo "$ac_try_echo") >&5 15602 (eval "$ac_try") 2>&5 15603 ac_status=$? 15604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15605 (exit $ac_status); }; }; then 15606 ac_cv_sizeof_int=`cat conftest.val` 15607 else 15608 $as_echo "$as_me: program exited with status $ac_status" >&5 15609 $as_echo "$as_me: failed program was:" >&5 15610 sed 's/^/| /' conftest.$ac_ext >&5 15611 15612 ( exit $ac_status ) 15613 if test "$ac_cv_type_int" = yes; then 15614 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 15615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15616 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 15617 See \`config.log' for more details." >&5 15618 $as_echo "$as_me: error: cannot compute sizeof (int) 15619 See \`config.log' for more details." >&2;} 15620 { (exit 77); exit 77; }; }; } 9306 as_fn_error 77 "cannot compute sizeof (int) 9307 See \`config.log' for more details" "$LINENO" 5; } 15621 9308 else 15622 9309 ac_cv_sizeof_int=0 15623 9310 fi 15624 9311 fi 15625 rm -rf conftest.dSYM 15626 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15627 fi 15628 rm -f conftest.val 15629 fi 15630 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 9312 9313 fi 9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 15631 9315 $as_echo "$ac_cv_sizeof_int" >&6; } 15632 9316 … … 15642 9326 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15643 9327 # This bug is HP SR number 8606223364. 15644 { $as_echo "$as_me:$ LINENO: checking size of long" >&59328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 15645 9329 $as_echo_n "checking size of long... " >&6; } 15646 if test "${ac_cv_sizeof_long+set}" = set; then9330 if ${ac_cv_sizeof_long+:} false; then : 15647 9331 $as_echo_n "(cached) " >&6 15648 9332 else 15649 if test "$cross_compiling" = yes; then 15650 # Depending upon the size, compute the lo and hi bounds. 15651 cat >conftest.$ac_ext <<_ACEOF 15652 /* confdefs.h. */ 15653 _ACEOF 15654 cat confdefs.h >>conftest.$ac_ext 15655 cat >>conftest.$ac_ext <<_ACEOF 15656 /* end confdefs.h. */ 15657 $ac_includes_default 15658 int 15659 main () 15660 { 15661 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)]; 15662 test_array [0] = 0 15663 15664 ; 15665 return 0; 15666 } 15667 _ACEOF 15668 rm -f conftest.$ac_objext 15669 if { (ac_try="$ac_compile" 15670 case "(($ac_try" in 15671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15672 *) ac_try_echo=$ac_try;; 15673 esac 15674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15675 $as_echo "$ac_try_echo") >&5 15676 (eval "$ac_compile") 2>conftest.er1 15677 ac_status=$? 15678 grep -v '^ *+' conftest.er1 >conftest.err 15679 rm -f conftest.er1 15680 cat conftest.err >&5 15681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15682 (exit $ac_status); } && { 15683 test -z "$ac_cxx_werror_flag" || 15684 test ! -s conftest.err 15685 } && test -s conftest.$ac_objext; then 15686 ac_lo=0 ac_mid=0 15687 while :; do 15688 cat >conftest.$ac_ext <<_ACEOF 15689 /* confdefs.h. */ 15690 _ACEOF 15691 cat confdefs.h >>conftest.$ac_ext 15692 cat >>conftest.$ac_ext <<_ACEOF 15693 /* end confdefs.h. */ 15694 $ac_includes_default 15695 int 15696 main () 15697 { 15698 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 15699 test_array [0] = 0 15700 15701 ; 15702 return 0; 15703 } 15704 _ACEOF 15705 rm -f conftest.$ac_objext 15706 if { (ac_try="$ac_compile" 15707 case "(($ac_try" in 15708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15709 *) ac_try_echo=$ac_try;; 15710 esac 15711 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15712 $as_echo "$ac_try_echo") >&5 15713 (eval "$ac_compile") 2>conftest.er1 15714 ac_status=$? 15715 grep -v '^ *+' conftest.er1 >conftest.err 15716 rm -f conftest.er1 15717 cat conftest.err >&5 15718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15719 (exit $ac_status); } && { 15720 test -z "$ac_cxx_werror_flag" || 15721 test ! -s conftest.err 15722 } && test -s conftest.$ac_objext; then 15723 ac_hi=$ac_mid; break 15724 else 15725 $as_echo "$as_me: failed program was:" >&5 15726 sed 's/^/| /' conftest.$ac_ext >&5 15727 15728 ac_lo=`expr $ac_mid + 1` 15729 if test $ac_lo -le $ac_mid; then 15730 ac_lo= ac_hi= 15731 break 15732 fi 15733 ac_mid=`expr 2 '*' $ac_mid + 1` 15734 fi 15735 15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15737 done 15738 else 15739 $as_echo "$as_me: failed program was:" >&5 15740 sed 's/^/| /' conftest.$ac_ext >&5 15741 15742 cat >conftest.$ac_ext <<_ACEOF 15743 /* confdefs.h. */ 15744 _ACEOF 15745 cat confdefs.h >>conftest.$ac_ext 15746 cat >>conftest.$ac_ext <<_ACEOF 15747 /* end confdefs.h. */ 15748 $ac_includes_default 15749 int 15750 main () 15751 { 15752 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)]; 15753 test_array [0] = 0 15754 15755 ; 15756 return 0; 15757 } 15758 _ACEOF 15759 rm -f conftest.$ac_objext 15760 if { (ac_try="$ac_compile" 15761 case "(($ac_try" in 15762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15763 *) ac_try_echo=$ac_try;; 15764 esac 15765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15766 $as_echo "$ac_try_echo") >&5 15767 (eval "$ac_compile") 2>conftest.er1 15768 ac_status=$? 15769 grep -v '^ *+' conftest.er1 >conftest.err 15770 rm -f conftest.er1 15771 cat conftest.err >&5 15772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15773 (exit $ac_status); } && { 15774 test -z "$ac_cxx_werror_flag" || 15775 test ! -s conftest.err 15776 } && test -s conftest.$ac_objext; then 15777 ac_hi=-1 ac_mid=-1 15778 while :; do 15779 cat >conftest.$ac_ext <<_ACEOF 15780 /* confdefs.h. */ 15781 _ACEOF 15782 cat confdefs.h >>conftest.$ac_ext 15783 cat >>conftest.$ac_ext <<_ACEOF 15784 /* end confdefs.h. */ 15785 $ac_includes_default 15786 int 15787 main () 15788 { 15789 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)]; 15790 test_array [0] = 0 15791 15792 ; 15793 return 0; 15794 } 15795 _ACEOF 15796 rm -f conftest.$ac_objext 15797 if { (ac_try="$ac_compile" 15798 case "(($ac_try" in 15799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15800 *) ac_try_echo=$ac_try;; 15801 esac 15802 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15803 $as_echo "$ac_try_echo") >&5 15804 (eval "$ac_compile") 2>conftest.er1 15805 ac_status=$? 15806 grep -v '^ *+' conftest.er1 >conftest.err 15807 rm -f conftest.er1 15808 cat conftest.err >&5 15809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15810 (exit $ac_status); } && { 15811 test -z "$ac_cxx_werror_flag" || 15812 test ! -s conftest.err 15813 } && test -s conftest.$ac_objext; then 15814 ac_lo=$ac_mid; break 15815 else 15816 $as_echo "$as_me: failed program was:" >&5 15817 sed 's/^/| /' conftest.$ac_ext >&5 15818 15819 ac_hi=`expr '(' $ac_mid ')' - 1` 15820 if test $ac_mid -le $ac_hi; then 15821 ac_lo= ac_hi= 15822 break 15823 fi 15824 ac_mid=`expr 2 '*' $ac_mid` 15825 fi 15826 15827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15828 done 15829 else 15830 $as_echo "$as_me: failed program was:" >&5 15831 sed 's/^/| /' conftest.$ac_ext >&5 15832 15833 ac_lo= ac_hi= 15834 fi 15835 15836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15837 fi 15838 15839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15840 # Binary search between lo and hi bounds. 15841 while test "x$ac_lo" != "x$ac_hi"; do 15842 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15843 cat >conftest.$ac_ext <<_ACEOF 15844 /* confdefs.h. */ 15845 _ACEOF 15846 cat confdefs.h >>conftest.$ac_ext 15847 cat >>conftest.$ac_ext <<_ACEOF 15848 /* end confdefs.h. */ 15849 $ac_includes_default 15850 int 15851 main () 15852 { 15853 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 15854 test_array [0] = 0 15855 15856 ; 15857 return 0; 15858 } 15859 _ACEOF 15860 rm -f conftest.$ac_objext 15861 if { (ac_try="$ac_compile" 15862 case "(($ac_try" in 15863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15864 *) ac_try_echo=$ac_try;; 15865 esac 15866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15867 $as_echo "$ac_try_echo") >&5 15868 (eval "$ac_compile") 2>conftest.er1 15869 ac_status=$? 15870 grep -v '^ *+' conftest.er1 >conftest.err 15871 rm -f conftest.er1 15872 cat conftest.err >&5 15873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15874 (exit $ac_status); } && { 15875 test -z "$ac_cxx_werror_flag" || 15876 test ! -s conftest.err 15877 } && test -s conftest.$ac_objext; then 15878 ac_hi=$ac_mid 15879 else 15880 $as_echo "$as_me: failed program was:" >&5 15881 sed 's/^/| /' conftest.$ac_ext >&5 15882 15883 ac_lo=`expr '(' $ac_mid ')' + 1` 15884 fi 15885 15886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15887 done 15888 case $ac_lo in 15889 ?*) ac_cv_sizeof_long=$ac_lo;; 15890 '') if test "$ac_cv_type_long" = yes; then 15891 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9333 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 9334 9335 else 9336 if test "$ac_cv_type_long" = yes; then 9337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15892 9338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15893 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 15894 See \`config.log' for more details." >&5 15895 $as_echo "$as_me: error: cannot compute sizeof (long) 15896 See \`config.log' for more details." >&2;} 15897 { (exit 77); exit 77; }; }; } 15898 else 15899 ac_cv_sizeof_long=0 15900 fi ;; 15901 esac 15902 else 15903 cat >conftest.$ac_ext <<_ACEOF 15904 /* confdefs.h. */ 15905 _ACEOF 15906 cat confdefs.h >>conftest.$ac_ext 15907 cat >>conftest.$ac_ext <<_ACEOF 15908 /* end confdefs.h. */ 15909 $ac_includes_default 15910 static long int longval () { return (long int) (sizeof (long)); } 15911 static unsigned long int ulongval () { return (long int) (sizeof (long)); } 15912 #include <stdio.h> 15913 #include <stdlib.h> 15914 int 15915 main () 15916 { 15917 15918 FILE *f = fopen ("conftest.val", "w"); 15919 if (! f) 15920 return 1; 15921 if (((long int) (sizeof (long))) < 0) 15922 { 15923 long int i = longval (); 15924 if (i != ((long int) (sizeof (long)))) 15925 return 1; 15926 fprintf (f, "%ld", i); 15927 } 15928 else 15929 { 15930 unsigned long int i = ulongval (); 15931 if (i != ((long int) (sizeof (long)))) 15932 return 1; 15933 fprintf (f, "%lu", i); 15934 } 15935 /* Do not output a trailing newline, as this causes \r\n confusion 15936 on some platforms. */ 15937 return ferror (f) || fclose (f) != 0; 15938 15939 ; 15940 return 0; 15941 } 15942 _ACEOF 15943 rm -f conftest$ac_exeext 15944 if { (ac_try="$ac_link" 15945 case "(($ac_try" in 15946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15947 *) ac_try_echo=$ac_try;; 15948 esac 15949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15950 $as_echo "$ac_try_echo") >&5 15951 (eval "$ac_link") 2>&5 15952 ac_status=$? 15953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15954 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15955 { (case "(($ac_try" in 15956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15957 *) ac_try_echo=$ac_try;; 15958 esac 15959 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15960 $as_echo "$ac_try_echo") >&5 15961 (eval "$ac_try") 2>&5 15962 ac_status=$? 15963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15964 (exit $ac_status); }; }; then 15965 ac_cv_sizeof_long=`cat conftest.val` 15966 else 15967 $as_echo "$as_me: program exited with status $ac_status" >&5 15968 $as_echo "$as_me: failed program was:" >&5 15969 sed 's/^/| /' conftest.$ac_ext >&5 15970 15971 ( exit $ac_status ) 15972 if test "$ac_cv_type_long" = yes; then 15973 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 15974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15975 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 15976 See \`config.log' for more details." >&5 15977 $as_echo "$as_me: error: cannot compute sizeof (long) 15978 See \`config.log' for more details." >&2;} 15979 { (exit 77); exit 77; }; }; } 9339 as_fn_error 77 "cannot compute sizeof (long) 9340 See \`config.log' for more details" "$LINENO" 5; } 15980 9341 else 15981 9342 ac_cv_sizeof_long=0 15982 9343 fi 15983 9344 fi 15984 rm -rf conftest.dSYM 15985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15986 fi 15987 rm -f conftest.val 15988 fi 15989 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 9345 9346 fi 9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 15990 9348 $as_echo "$ac_cv_sizeof_long" >&6; } 15991 9349 … … 16001 9359 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 16002 9360 # This bug is HP SR number 8606223364. 16003 { $as_echo "$as_me:$ LINENO: checking size of long long" >&59361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 16004 9362 $as_echo_n "checking size of long long... " >&6; } 16005 if test "${ac_cv_sizeof_long_long+set}" = set; then9363 if ${ac_cv_sizeof_long_long+:} false; then : 16006 9364 $as_echo_n "(cached) " >&6 16007 9365 else 16008 if test "$cross_compiling" = yes; then 16009 # Depending upon the size, compute the lo and hi bounds. 16010 cat >conftest.$ac_ext <<_ACEOF 16011 /* confdefs.h. */ 16012 _ACEOF 16013 cat confdefs.h >>conftest.$ac_ext 16014 cat >>conftest.$ac_ext <<_ACEOF 16015 /* end confdefs.h. */ 16016 $ac_includes_default 16017 int 16018 main () 16019 { 16020 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)]; 16021 test_array [0] = 0 16022 16023 ; 16024 return 0; 16025 } 16026 _ACEOF 16027 rm -f conftest.$ac_objext 16028 if { (ac_try="$ac_compile" 16029 case "(($ac_try" in 16030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16031 *) ac_try_echo=$ac_try;; 16032 esac 16033 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16034 $as_echo "$ac_try_echo") >&5 16035 (eval "$ac_compile") 2>conftest.er1 16036 ac_status=$? 16037 grep -v '^ *+' conftest.er1 >conftest.err 16038 rm -f conftest.er1 16039 cat conftest.err >&5 16040 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16041 (exit $ac_status); } && { 16042 test -z "$ac_cxx_werror_flag" || 16043 test ! -s conftest.err 16044 } && test -s conftest.$ac_objext; then 16045 ac_lo=0 ac_mid=0 16046 while :; do 16047 cat >conftest.$ac_ext <<_ACEOF 16048 /* confdefs.h. */ 16049 _ACEOF 16050 cat confdefs.h >>conftest.$ac_ext 16051 cat >>conftest.$ac_ext <<_ACEOF 16052 /* end confdefs.h. */ 16053 $ac_includes_default 16054 int 16055 main () 16056 { 16057 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 16058 test_array [0] = 0 16059 16060 ; 16061 return 0; 16062 } 16063 _ACEOF 16064 rm -f conftest.$ac_objext 16065 if { (ac_try="$ac_compile" 16066 case "(($ac_try" in 16067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16068 *) ac_try_echo=$ac_try;; 16069 esac 16070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16071 $as_echo "$ac_try_echo") >&5 16072 (eval "$ac_compile") 2>conftest.er1 16073 ac_status=$? 16074 grep -v '^ *+' conftest.er1 >conftest.err 16075 rm -f conftest.er1 16076 cat conftest.err >&5 16077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16078 (exit $ac_status); } && { 16079 test -z "$ac_cxx_werror_flag" || 16080 test ! -s conftest.err 16081 } && test -s conftest.$ac_objext; then 16082 ac_hi=$ac_mid; break 16083 else 16084 $as_echo "$as_me: failed program was:" >&5 16085 sed 's/^/| /' conftest.$ac_ext >&5 16086 16087 ac_lo=`expr $ac_mid + 1` 16088 if test $ac_lo -le $ac_mid; then 16089 ac_lo= ac_hi= 16090 break 16091 fi 16092 ac_mid=`expr 2 '*' $ac_mid + 1` 16093 fi 16094 16095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16096 done 16097 else 16098 $as_echo "$as_me: failed program was:" >&5 16099 sed 's/^/| /' conftest.$ac_ext >&5 16100 16101 cat >conftest.$ac_ext <<_ACEOF 16102 /* confdefs.h. */ 16103 _ACEOF 16104 cat confdefs.h >>conftest.$ac_ext 16105 cat >>conftest.$ac_ext <<_ACEOF 16106 /* end confdefs.h. */ 16107 $ac_includes_default 16108 int 16109 main () 16110 { 16111 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)]; 16112 test_array [0] = 0 16113 16114 ; 16115 return 0; 16116 } 16117 _ACEOF 16118 rm -f conftest.$ac_objext 16119 if { (ac_try="$ac_compile" 16120 case "(($ac_try" in 16121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16122 *) ac_try_echo=$ac_try;; 16123 esac 16124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16125 $as_echo "$ac_try_echo") >&5 16126 (eval "$ac_compile") 2>conftest.er1 16127 ac_status=$? 16128 grep -v '^ *+' conftest.er1 >conftest.err 16129 rm -f conftest.er1 16130 cat conftest.err >&5 16131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16132 (exit $ac_status); } && { 16133 test -z "$ac_cxx_werror_flag" || 16134 test ! -s conftest.err 16135 } && test -s conftest.$ac_objext; then 16136 ac_hi=-1 ac_mid=-1 16137 while :; do 16138 cat >conftest.$ac_ext <<_ACEOF 16139 /* confdefs.h. */ 16140 _ACEOF 16141 cat confdefs.h >>conftest.$ac_ext 16142 cat >>conftest.$ac_ext <<_ACEOF 16143 /* end confdefs.h. */ 16144 $ac_includes_default 16145 int 16146 main () 16147 { 16148 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)]; 16149 test_array [0] = 0 16150 16151 ; 16152 return 0; 16153 } 16154 _ACEOF 16155 rm -f conftest.$ac_objext 16156 if { (ac_try="$ac_compile" 16157 case "(($ac_try" in 16158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16159 *) ac_try_echo=$ac_try;; 16160 esac 16161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16162 $as_echo "$ac_try_echo") >&5 16163 (eval "$ac_compile") 2>conftest.er1 16164 ac_status=$? 16165 grep -v '^ *+' conftest.er1 >conftest.err 16166 rm -f conftest.er1 16167 cat conftest.err >&5 16168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16169 (exit $ac_status); } && { 16170 test -z "$ac_cxx_werror_flag" || 16171 test ! -s conftest.err 16172 } && test -s conftest.$ac_objext; then 16173 ac_lo=$ac_mid; break 16174 else 16175 $as_echo "$as_me: failed program was:" >&5 16176 sed 's/^/| /' conftest.$ac_ext >&5 16177 16178 ac_hi=`expr '(' $ac_mid ')' - 1` 16179 if test $ac_mid -le $ac_hi; then 16180 ac_lo= ac_hi= 16181 break 16182 fi 16183 ac_mid=`expr 2 '*' $ac_mid` 16184 fi 16185 16186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16187 done 16188 else 16189 $as_echo "$as_me: failed program was:" >&5 16190 sed 's/^/| /' conftest.$ac_ext >&5 16191 16192 ac_lo= ac_hi= 16193 fi 16194 16195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16196 fi 16197 16198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16199 # Binary search between lo and hi bounds. 16200 while test "x$ac_lo" != "x$ac_hi"; do 16201 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 16202 cat >conftest.$ac_ext <<_ACEOF 16203 /* confdefs.h. */ 16204 _ACEOF 16205 cat confdefs.h >>conftest.$ac_ext 16206 cat >>conftest.$ac_ext <<_ACEOF 16207 /* end confdefs.h. */ 16208 $ac_includes_default 16209 int 16210 main () 16211 { 16212 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 16213 test_array [0] = 0 16214 16215 ; 16216 return 0; 16217 } 16218 _ACEOF 16219 rm -f conftest.$ac_objext 16220 if { (ac_try="$ac_compile" 16221 case "(($ac_try" in 16222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16223 *) ac_try_echo=$ac_try;; 16224 esac 16225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16226 $as_echo "$ac_try_echo") >&5 16227 (eval "$ac_compile") 2>conftest.er1 16228 ac_status=$? 16229 grep -v '^ *+' conftest.er1 >conftest.err 16230 rm -f conftest.er1 16231 cat conftest.err >&5 16232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16233 (exit $ac_status); } && { 16234 test -z "$ac_cxx_werror_flag" || 16235 test ! -s conftest.err 16236 } && test -s conftest.$ac_objext; then 16237 ac_hi=$ac_mid 16238 else 16239 $as_echo "$as_me: failed program was:" >&5 16240 sed 's/^/| /' conftest.$ac_ext >&5 16241 16242 ac_lo=`expr '(' $ac_mid ')' + 1` 16243 fi 16244 16245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16246 done 16247 case $ac_lo in 16248 ?*) ac_cv_sizeof_long_long=$ac_lo;; 16249 '') if test "$ac_cv_type_long_long" = yes; then 16250 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9366 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 9367 9368 else 9369 if test "$ac_cv_type_long_long" = yes; then 9370 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16251 9371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16252 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 16253 See \`config.log' for more details." >&5 16254 $as_echo "$as_me: error: cannot compute sizeof (long long) 16255 See \`config.log' for more details." >&2;} 16256 { (exit 77); exit 77; }; }; } 16257 else 16258 ac_cv_sizeof_long_long=0 16259 fi ;; 16260 esac 16261 else 16262 cat >conftest.$ac_ext <<_ACEOF 16263 /* confdefs.h. */ 16264 _ACEOF 16265 cat confdefs.h >>conftest.$ac_ext 16266 cat >>conftest.$ac_ext <<_ACEOF 16267 /* end confdefs.h. */ 16268 $ac_includes_default 16269 static long int longval () { return (long int) (sizeof (long long)); } 16270 static unsigned long int ulongval () { return (long int) (sizeof (long long)); } 16271 #include <stdio.h> 16272 #include <stdlib.h> 16273 int 16274 main () 16275 { 16276 16277 FILE *f = fopen ("conftest.val", "w"); 16278 if (! f) 16279 return 1; 16280 if (((long int) (sizeof (long long))) < 0) 16281 { 16282 long int i = longval (); 16283 if (i != ((long int) (sizeof (long long)))) 16284 return 1; 16285 fprintf (f, "%ld", i); 16286 } 16287 else 16288 { 16289 unsigned long int i = ulongval (); 16290 if (i != ((long int) (sizeof (long long)))) 16291 return 1; 16292 fprintf (f, "%lu", i); 16293 } 16294 /* Do not output a trailing newline, as this causes \r\n confusion 16295 on some platforms. */ 16296 return ferror (f) || fclose (f) != 0; 16297 16298 ; 16299 return 0; 16300 } 16301 _ACEOF 16302 rm -f conftest$ac_exeext 16303 if { (ac_try="$ac_link" 16304 case "(($ac_try" in 16305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16306 *) ac_try_echo=$ac_try;; 16307 esac 16308 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16309 $as_echo "$ac_try_echo") >&5 16310 (eval "$ac_link") 2>&5 16311 ac_status=$? 16312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16313 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16314 { (case "(($ac_try" in 16315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16316 *) ac_try_echo=$ac_try;; 16317 esac 16318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16319 $as_echo "$ac_try_echo") >&5 16320 (eval "$ac_try") 2>&5 16321 ac_status=$? 16322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16323 (exit $ac_status); }; }; then 16324 ac_cv_sizeof_long_long=`cat conftest.val` 16325 else 16326 $as_echo "$as_me: program exited with status $ac_status" >&5 16327 $as_echo "$as_me: failed program was:" >&5 16328 sed 's/^/| /' conftest.$ac_ext >&5 16329 16330 ( exit $ac_status ) 16331 if test "$ac_cv_type_long_long" = yes; then 16332 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 16333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16334 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 16335 See \`config.log' for more details." >&5 16336 $as_echo "$as_me: error: cannot compute sizeof (long long) 16337 See \`config.log' for more details." >&2;} 16338 { (exit 77); exit 77; }; }; } 9372 as_fn_error 77 "cannot compute sizeof (long long) 9373 See \`config.log' for more details" "$LINENO" 5; } 16339 9374 else 16340 9375 ac_cv_sizeof_long_long=0 16341 9376 fi 16342 9377 fi 16343 rm -rf conftest.dSYM 16344 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16345 fi 16346 rm -f conftest.val 16347 fi 16348 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 9378 9379 fi 9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 16349 9381 $as_echo "$ac_cv_sizeof_long_long" >&6; } 16350 9382 … … 16360 9392 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 16361 9393 # This bug is HP SR number 8606223364. 16362 { $as_echo "$as_me:$ LINENO: checking size of void *" >&59394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 16363 9395 $as_echo_n "checking size of void *... " >&6; } 16364 if test "${ac_cv_sizeof_void_p+set}" = set; then9396 if ${ac_cv_sizeof_void_p+:} false; then : 16365 9397 $as_echo_n "(cached) " >&6 16366 9398 else 16367 if test "$cross_compiling" = yes; then 16368 # Depending upon the size, compute the lo and hi bounds. 16369 cat >conftest.$ac_ext <<_ACEOF 16370 /* confdefs.h. */ 16371 _ACEOF 16372 cat confdefs.h >>conftest.$ac_ext 16373 cat >>conftest.$ac_ext <<_ACEOF 16374 /* end confdefs.h. */ 16375 $ac_includes_default 16376 int 16377 main () 16378 { 16379 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)]; 16380 test_array [0] = 0 16381 16382 ; 16383 return 0; 16384 } 16385 _ACEOF 16386 rm -f conftest.$ac_objext 16387 if { (ac_try="$ac_compile" 16388 case "(($ac_try" in 16389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16390 *) ac_try_echo=$ac_try;; 16391 esac 16392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16393 $as_echo "$ac_try_echo") >&5 16394 (eval "$ac_compile") 2>conftest.er1 16395 ac_status=$? 16396 grep -v '^ *+' conftest.er1 >conftest.err 16397 rm -f conftest.er1 16398 cat conftest.err >&5 16399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16400 (exit $ac_status); } && { 16401 test -z "$ac_cxx_werror_flag" || 16402 test ! -s conftest.err 16403 } && test -s conftest.$ac_objext; then 16404 ac_lo=0 ac_mid=0 16405 while :; do 16406 cat >conftest.$ac_ext <<_ACEOF 16407 /* confdefs.h. */ 16408 _ACEOF 16409 cat confdefs.h >>conftest.$ac_ext 16410 cat >>conftest.$ac_ext <<_ACEOF 16411 /* end confdefs.h. */ 16412 $ac_includes_default 16413 int 16414 main () 16415 { 16416 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 16417 test_array [0] = 0 16418 16419 ; 16420 return 0; 16421 } 16422 _ACEOF 16423 rm -f conftest.$ac_objext 16424 if { (ac_try="$ac_compile" 16425 case "(($ac_try" in 16426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16427 *) ac_try_echo=$ac_try;; 16428 esac 16429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16430 $as_echo "$ac_try_echo") >&5 16431 (eval "$ac_compile") 2>conftest.er1 16432 ac_status=$? 16433 grep -v '^ *+' conftest.er1 >conftest.err 16434 rm -f conftest.er1 16435 cat conftest.err >&5 16436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16437 (exit $ac_status); } && { 16438 test -z "$ac_cxx_werror_flag" || 16439 test ! -s conftest.err 16440 } && test -s conftest.$ac_objext; then 16441 ac_hi=$ac_mid; break 16442 else 16443 $as_echo "$as_me: failed program was:" >&5 16444 sed 's/^/| /' conftest.$ac_ext >&5 16445 16446 ac_lo=`expr $ac_mid + 1` 16447 if test $ac_lo -le $ac_mid; then 16448 ac_lo= ac_hi= 16449 break 16450 fi 16451 ac_mid=`expr 2 '*' $ac_mid + 1` 16452 fi 16453 16454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16455 done 16456 else 16457 $as_echo "$as_me: failed program was:" >&5 16458 sed 's/^/| /' conftest.$ac_ext >&5 16459 16460 cat >conftest.$ac_ext <<_ACEOF 16461 /* confdefs.h. */ 16462 _ACEOF 16463 cat confdefs.h >>conftest.$ac_ext 16464 cat >>conftest.$ac_ext <<_ACEOF 16465 /* end confdefs.h. */ 16466 $ac_includes_default 16467 int 16468 main () 16469 { 16470 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)]; 16471 test_array [0] = 0 16472 16473 ; 16474 return 0; 16475 } 16476 _ACEOF 16477 rm -f conftest.$ac_objext 16478 if { (ac_try="$ac_compile" 16479 case "(($ac_try" in 16480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16481 *) ac_try_echo=$ac_try;; 16482 esac 16483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16484 $as_echo "$ac_try_echo") >&5 16485 (eval "$ac_compile") 2>conftest.er1 16486 ac_status=$? 16487 grep -v '^ *+' conftest.er1 >conftest.err 16488 rm -f conftest.er1 16489 cat conftest.err >&5 16490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16491 (exit $ac_status); } && { 16492 test -z "$ac_cxx_werror_flag" || 16493 test ! -s conftest.err 16494 } && test -s conftest.$ac_objext; then 16495 ac_hi=-1 ac_mid=-1 16496 while :; do 16497 cat >conftest.$ac_ext <<_ACEOF 16498 /* confdefs.h. */ 16499 _ACEOF 16500 cat confdefs.h >>conftest.$ac_ext 16501 cat >>conftest.$ac_ext <<_ACEOF 16502 /* end confdefs.h. */ 16503 $ac_includes_default 16504 int 16505 main () 16506 { 16507 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)]; 16508 test_array [0] = 0 16509 16510 ; 16511 return 0; 16512 } 16513 _ACEOF 16514 rm -f conftest.$ac_objext 16515 if { (ac_try="$ac_compile" 16516 case "(($ac_try" in 16517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16518 *) ac_try_echo=$ac_try;; 16519 esac 16520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16521 $as_echo "$ac_try_echo") >&5 16522 (eval "$ac_compile") 2>conftest.er1 16523 ac_status=$? 16524 grep -v '^ *+' conftest.er1 >conftest.err 16525 rm -f conftest.er1 16526 cat conftest.err >&5 16527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16528 (exit $ac_status); } && { 16529 test -z "$ac_cxx_werror_flag" || 16530 test ! -s conftest.err 16531 } && test -s conftest.$ac_objext; then 16532 ac_lo=$ac_mid; break 16533 else 16534 $as_echo "$as_me: failed program was:" >&5 16535 sed 's/^/| /' conftest.$ac_ext >&5 16536 16537 ac_hi=`expr '(' $ac_mid ')' - 1` 16538 if test $ac_mid -le $ac_hi; then 16539 ac_lo= ac_hi= 16540 break 16541 fi 16542 ac_mid=`expr 2 '*' $ac_mid` 16543 fi 16544 16545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16546 done 16547 else 16548 $as_echo "$as_me: failed program was:" >&5 16549 sed 's/^/| /' conftest.$ac_ext >&5 16550 16551 ac_lo= ac_hi= 16552 fi 16553 16554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16555 fi 16556 16557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16558 # Binary search between lo and hi bounds. 16559 while test "x$ac_lo" != "x$ac_hi"; do 16560 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 16561 cat >conftest.$ac_ext <<_ACEOF 16562 /* confdefs.h. */ 16563 _ACEOF 16564 cat confdefs.h >>conftest.$ac_ext 16565 cat >>conftest.$ac_ext <<_ACEOF 16566 /* end confdefs.h. */ 16567 $ac_includes_default 16568 int 16569 main () 16570 { 16571 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 16572 test_array [0] = 0 16573 16574 ; 16575 return 0; 16576 } 16577 _ACEOF 16578 rm -f conftest.$ac_objext 16579 if { (ac_try="$ac_compile" 16580 case "(($ac_try" in 16581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16582 *) ac_try_echo=$ac_try;; 16583 esac 16584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16585 $as_echo "$ac_try_echo") >&5 16586 (eval "$ac_compile") 2>conftest.er1 16587 ac_status=$? 16588 grep -v '^ *+' conftest.er1 >conftest.err 16589 rm -f conftest.er1 16590 cat conftest.err >&5 16591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16592 (exit $ac_status); } && { 16593 test -z "$ac_cxx_werror_flag" || 16594 test ! -s conftest.err 16595 } && test -s conftest.$ac_objext; then 16596 ac_hi=$ac_mid 16597 else 16598 $as_echo "$as_me: failed program was:" >&5 16599 sed 's/^/| /' conftest.$ac_ext >&5 16600 16601 ac_lo=`expr '(' $ac_mid ')' + 1` 16602 fi 16603 16604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16605 done 16606 case $ac_lo in 16607 ?*) ac_cv_sizeof_void_p=$ac_lo;; 16608 '') if test "$ac_cv_type_void_p" = yes; then 16609 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9399 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 9400 9401 else 9402 if test "$ac_cv_type_void_p" = yes; then 9403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16610 9404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16611 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 16612 See \`config.log' for more details." >&5 16613 $as_echo "$as_me: error: cannot compute sizeof (void *) 16614 See \`config.log' for more details." >&2;} 16615 { (exit 77); exit 77; }; }; } 16616 else 16617 ac_cv_sizeof_void_p=0 16618 fi ;; 16619 esac 16620 else 16621 cat >conftest.$ac_ext <<_ACEOF 16622 /* confdefs.h. */ 16623 _ACEOF 16624 cat confdefs.h >>conftest.$ac_ext 16625 cat >>conftest.$ac_ext <<_ACEOF 16626 /* end confdefs.h. */ 16627 $ac_includes_default 16628 static long int longval () { return (long int) (sizeof (void *)); } 16629 static unsigned long int ulongval () { return (long int) (sizeof (void *)); } 16630 #include <stdio.h> 16631 #include <stdlib.h> 16632 int 16633 main () 16634 { 16635 16636 FILE *f = fopen ("conftest.val", "w"); 16637 if (! f) 16638 return 1; 16639 if (((long int) (sizeof (void *))) < 0) 16640 { 16641 long int i = longval (); 16642 if (i != ((long int) (sizeof (void *)))) 16643 return 1; 16644 fprintf (f, "%ld", i); 16645 } 16646 else 16647 { 16648 unsigned long int i = ulongval (); 16649 if (i != ((long int) (sizeof (void *)))) 16650 return 1; 16651 fprintf (f, "%lu", i); 16652 } 16653 /* Do not output a trailing newline, as this causes \r\n confusion 16654 on some platforms. */ 16655 return ferror (f) || fclose (f) != 0; 16656 16657 ; 16658 return 0; 16659 } 16660 _ACEOF 16661 rm -f conftest$ac_exeext 16662 if { (ac_try="$ac_link" 16663 case "(($ac_try" in 16664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16665 *) ac_try_echo=$ac_try;; 16666 esac 16667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16668 $as_echo "$ac_try_echo") >&5 16669 (eval "$ac_link") 2>&5 16670 ac_status=$? 16671 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16672 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16673 { (case "(($ac_try" in 16674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16675 *) ac_try_echo=$ac_try;; 16676 esac 16677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16678 $as_echo "$ac_try_echo") >&5 16679 (eval "$ac_try") 2>&5 16680 ac_status=$? 16681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16682 (exit $ac_status); }; }; then 16683 ac_cv_sizeof_void_p=`cat conftest.val` 16684 else 16685 $as_echo "$as_me: program exited with status $ac_status" >&5 16686 $as_echo "$as_me: failed program was:" >&5 16687 sed 's/^/| /' conftest.$ac_ext >&5 16688 16689 ( exit $ac_status ) 16690 if test "$ac_cv_type_void_p" = yes; then 16691 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 16692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16693 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 16694 See \`config.log' for more details." >&5 16695 $as_echo "$as_me: error: cannot compute sizeof (void *) 16696 See \`config.log' for more details." >&2;} 16697 { (exit 77); exit 77; }; }; } 9405 as_fn_error 77 "cannot compute sizeof (void *) 9406 See \`config.log' for more details" "$LINENO" 5; } 16698 9407 else 16699 9408 ac_cv_sizeof_void_p=0 16700 9409 fi 16701 9410 fi 16702 rm -rf conftest.dSYM 16703 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16704 fi 16705 rm -f conftest.val 16706 fi 16707 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 9411 9412 fi 9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 16708 9414 $as_echo "$ac_cv_sizeof_void_p" >&6; } 16709 9415 … … 16728 9434 16729 9435 16730 { $as_echo "$as_me:$ LINENO: checking for build with symbols" >&59436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5 16731 9437 $as_echo_n "checking for build with symbols... " >&6; } 16732 9438 # Check whether --enable-symbols was given. 16733 if test "${enable_symbols+set}" = set; then 9439 if test "${enable_symbols+set}" = set; then : 16734 9440 enableval=$enable_symbols; tcl_ok=$enableval 16735 9441 else … … 16742 9448 LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)' 16743 9449 DBGX="" 16744 { $as_echo "$as_me:$ LINENO: result: no" >&59450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16745 9451 $as_echo "no" >&6; } 16746 9452 else … … 16749 9455 DBGX=g 16750 9456 if test "$tcl_ok" = "yes"; then 16751 { $as_echo "$as_me:$ LINENO: result: yes (standard debugging)" >&59457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5 16752 9458 $as_echo "yes (standard debugging)" >&6; } 16753 9459 fi … … 16757 9463 16758 9464 if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then 16759 cat >>confdefs.h <<\_ACEOF 16760 #define TCL_MEM_DEBUG 1 16761 _ACEOF 9465 $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h 16762 9466 16763 9467 fi 16764 9468 16765 9469 if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then 16766 cat >>confdefs.h <<\_ACEOF 16767 #define TCL_COMPILE_DEBUG 1 16768 _ACEOF 16769 16770 cat >>confdefs.h <<\_ACEOF 16771 #define TCL_COMPILE_STATS 1 16772 _ACEOF 9470 $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h 9471 9472 $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h 16773 9473 16774 9474 fi … … 16776 9476 if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then 16777 9477 if test "$tcl_ok" = "all"; then 16778 { $as_echo "$as_me:$ LINENO: result: enabled symbols mem compile debugging" >&59478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem compile debugging" >&5 16779 9479 $as_echo "enabled symbols mem compile debugging" >&6; } 16780 9480 else 16781 { $as_echo "$as_me:$ LINENO: result: enabled $tcl_ok debugging" >&59481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5 16782 9482 $as_echo "enabled $tcl_ok debugging" >&6; } 16783 9483 fi … … 16793 9493 # Extract the first word of "ffmpeg", so it can be a program name with args. 16794 9494 set dummy ffmpeg; ac_word=$2 16795 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&59495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16796 9496 $as_echo_n "checking for $ac_word... " >&6; } 16797 if test "${ac_cv_path_FFMPEG+set}" = set; then9497 if ${ac_cv_path_FFMPEG+:} false; then : 16798 9498 $as_echo_n "(cached) " >&6 16799 9499 else … … 16808 9508 IFS=$as_save_IFS 16809 9509 test -z "$as_dir" && as_dir=. 16810 for ac_exec_ext in '' $ac_executable_extensions; do16811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then9510 for ac_exec_ext in '' $ac_executable_extensions; do 9511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16812 9512 ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext" 16813 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&59513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16814 9514 break 2 16815 9515 fi 16816 9516 done 16817 done9517 done 16818 9518 IFS=$as_save_IFS 16819 9519 … … 16823 9523 FFMPEG=$ac_cv_path_FFMPEG 16824 9524 if test -n "$FFMPEG"; then 16825 { $as_echo "$as_me:$ LINENO: result: $FFMPEG" >&59525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5 16826 9526 $as_echo "$FFMPEG" >&6; } 16827 9527 else 16828 { $as_echo "$as_me:$ LINENO: result: no" >&59528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16829 9529 $as_echo "no" >&6; } 16830 9530 fi … … 16834 9534 # Extract the first word of "ffmpeg", so it can be a program name with args. 16835 9535 set dummy ffmpeg; ac_word=$2 16836 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&59536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16837 9537 $as_echo_n "checking for $ac_word... " >&6; } 16838 if test "${ac_cv_path_FFMPEG+set}" = set; then9538 if ${ac_cv_path_FFMPEG+:} false; then : 16839 9539 $as_echo_n "(cached) " >&6 16840 9540 else … … 16850 9550 IFS=$as_save_IFS 16851 9551 test -z "$as_dir" && as_dir=. 16852 for ac_exec_ext in '' $ac_executable_extensions; do16853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then9552 for ac_exec_ext in '' $ac_executable_extensions; do 9553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16854 9554 ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext" 16855 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&59555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16856 9556 break 2 16857 9557 fi 16858 9558 done 16859 done9559 done 16860 9560 IFS=$as_save_IFS 16861 9561 … … 16865 9565 FFMPEG=$ac_cv_path_FFMPEG 16866 9566 if test -n "$FFMPEG"; then 16867 { $as_echo "$as_me:$ LINENO: result: $FFMPEG" >&59567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5 16868 9568 $as_echo "$FFMPEG" >&6; } 16869 9569 else 16870 { $as_echo "$as_me:$ LINENO: result: no" >&59570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16871 9571 $as_echo "no" >&6; } 16872 9572 fi … … 16876 9576 if test "${FFMPEG}x" != "x" ; then 16877 9577 16878 cat >>confdefs.h <<\_ACEOF 16879 #define HAVE_FFMPEG 1 16880 _ACEOF 9578 $as_echo "#define HAVE_FFMPEG 1" >>confdefs.h 16881 9579 16882 9580 fi 16883 9581 fi 16884 9582 16885 16886 16887 16888 16889 16890 16891 16892 16893 9583 for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h ffmpeg/swscale.h libswscale/swscale.h 16894 do 16895 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16896 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16897 $as_echo_n "checking for $ac_header... " >&6; } 16898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16899 $as_echo_n "(cached) " >&6 16900 else 16901 cat >conftest.$ac_ext <<_ACEOF 16902 /* confdefs.h. */ 16903 _ACEOF 16904 cat confdefs.h >>conftest.$ac_ext 16905 cat >>conftest.$ac_ext <<_ACEOF 16906 /* end confdefs.h. */ 16907 9584 do : 9585 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9586 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " 16908 9587 #define __STDC_CONSTANT_MACROS 1 16909 9588 16910 16911 #include <$ac_header> 16912 _ACEOF 16913 rm -f conftest.$ac_objext 16914 if { (ac_try="$ac_compile" 16915 case "(($ac_try" in 16916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16917 *) ac_try_echo=$ac_try;; 16918 esac 16919 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16920 $as_echo "$ac_try_echo") >&5 16921 (eval "$ac_compile") 2>conftest.er1 16922 ac_status=$? 16923 grep -v '^ *+' conftest.er1 >conftest.err 16924 rm -f conftest.er1 16925 cat conftest.err >&5 16926 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16927 (exit $ac_status); } && { 16928 test -z "$ac_cxx_werror_flag" || 16929 test ! -s conftest.err 16930 } && test -s conftest.$ac_objext; then 16931 eval "$as_ac_Header=yes" 16932 else 16933 $as_echo "$as_me: failed program was:" >&5 16934 sed 's/^/| /' conftest.$ac_ext >&5 16935 16936 eval "$as_ac_Header=no" 16937 fi 16938 16939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16940 fi 16941 ac_res=`eval 'as_val=${'$as_ac_Header'} 16942 $as_echo "$as_val"'` 16943 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16944 $as_echo "$ac_res" >&6; } 16945 as_val=`eval 'as_val=${'$as_ac_Header'} 16946 $as_echo "$as_val"'` 16947 if test "x$as_val" = x""yes; then 9589 " 9590 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 16948 9591 cat >>confdefs.h <<_ACEOF 16949 9592 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 16967 9610 HAVE_FFMPEG_LIBS="yes" 16968 9611 16969 cat >>confdefs.h <<\_ACEOF 16970 #define BUILD_with_ffmpeg 1 16971 _ACEOF 9612 $as_echo "#define BUILD_with_ffmpeg 1" >>confdefs.h 16972 9613 16973 9614 fi 16974 16975 { $as_echo "$as_me:$LINENO: checking for main in -lavcodec" >&5 9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavcodec" >&5 16976 9616 $as_echo_n "checking for main in -lavcodec... " >&6; } 16977 if test "${ac_cv_lib_avcodec_main+set}" = set; then9617 if ${ac_cv_lib_avcodec_main+:} false; then : 16978 9618 $as_echo_n "(cached) " >&6 16979 9619 else 16980 9620 ac_check_lib_save_LIBS=$LIBS 16981 9621 LIBS="-lavcodec $LIBS" 16982 cat >conftest.$ac_ext <<_ACEOF 16983 /* confdefs.h. */ 16984 _ACEOF 16985 cat confdefs.h >>conftest.$ac_ext 16986 cat >>conftest.$ac_ext <<_ACEOF 9622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16987 9623 /* end confdefs.h. */ 16988 9624 … … 16996 9632 } 16997 9633 _ACEOF 16998 rm -f conftest.$ac_objext conftest$ac_exeext 16999 if { (ac_try="$ac_link" 17000 case "(($ac_try" in 17001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17002 *) ac_try_echo=$ac_try;; 17003 esac 17004 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17005 $as_echo "$ac_try_echo") >&5 17006 (eval "$ac_link") 2>conftest.er1 17007 ac_status=$? 17008 grep -v '^ *+' conftest.er1 >conftest.err 17009 rm -f conftest.er1 17010 cat conftest.err >&5 17011 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17012 (exit $ac_status); } && { 17013 test -z "$ac_cxx_werror_flag" || 17014 test ! -s conftest.err 17015 } && test -s conftest$ac_exeext && { 17016 test "$cross_compiling" = yes || 17017 $as_test_x conftest$ac_exeext 17018 }; then 9634 if ac_fn_cxx_try_link "$LINENO"; then : 17019 9635 ac_cv_lib_avcodec_main=yes 17020 9636 else 17021 $as_echo "$as_me: failed program was:" >&5 17022 sed 's/^/| /' conftest.$ac_ext >&5 17023 17024 ac_cv_lib_avcodec_main=no 17025 fi 17026 17027 rm -rf conftest.dSYM 17028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17029 conftest$ac_exeext conftest.$ac_ext 9637 ac_cv_lib_avcodec_main=no 9638 fi 9639 rm -f core conftest.err conftest.$ac_objext \ 9640 conftest$ac_exeext conftest.$ac_ext 17030 9641 LIBS=$ac_check_lib_save_LIBS 17031 9642 fi 17032 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_avcodec_main" >&59643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_main" >&5 17033 9644 $as_echo "$ac_cv_lib_avcodec_main" >&6; } 17034 if test "x$ac_cv_lib_avcodec_main" = x ""yes; then9645 if test "x$ac_cv_lib_avcodec_main" = xyes; then : 17035 9646 cat >>confdefs.h <<_ACEOF 17036 9647 #define HAVE_LIBAVCODEC 1 … … 17040 9651 17041 9652 else 17042 { { $as_echo "$as_me:$LINENO: error: librappture requires libavcodec" >&5 17043 $as_echo "$as_me: error: librappture requires libavcodec" >&2;} 17044 { (exit 1); exit 1; }; } 17045 fi 17046 17047 17048 { $as_echo "$as_me:$LINENO: checking for main in -lavutil" >&5 9653 as_fn_error $? "librappture requires libavcodec" "$LINENO" 5 9654 fi 9655 9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavutil" >&5 17049 9657 $as_echo_n "checking for main in -lavutil... " >&6; } 17050 if test "${ac_cv_lib_avutil_main+set}" = set; then9658 if ${ac_cv_lib_avutil_main+:} false; then : 17051 9659 $as_echo_n "(cached) " >&6 17052 9660 else 17053 9661 ac_check_lib_save_LIBS=$LIBS 17054 9662 LIBS="-lavutil $LIBS" 17055 cat >conftest.$ac_ext <<_ACEOF 17056 /* confdefs.h. */ 17057 _ACEOF 17058 cat confdefs.h >>conftest.$ac_ext 17059 cat >>conftest.$ac_ext <<_ACEOF 9663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17060 9664 /* end confdefs.h. */ 17061 9665 … … 17069 9673 } 17070 9674 _ACEOF 17071 rm -f conftest.$ac_objext conftest$ac_exeext 17072 if { (ac_try="$ac_link" 17073 case "(($ac_try" in 17074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17075 *) ac_try_echo=$ac_try;; 17076 esac 17077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17078 $as_echo "$ac_try_echo") >&5 17079 (eval "$ac_link") 2>conftest.er1 17080 ac_status=$? 17081 grep -v '^ *+' conftest.er1 >conftest.err 17082 rm -f conftest.er1 17083 cat conftest.err >&5 17084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17085 (exit $ac_status); } && { 17086 test -z "$ac_cxx_werror_flag" || 17087 test ! -s conftest.err 17088 } && test -s conftest$ac_exeext && { 17089 test "$cross_compiling" = yes || 17090 $as_test_x conftest$ac_exeext 17091 }; then 9675 if ac_fn_cxx_try_link "$LINENO"; then : 17092 9676 ac_cv_lib_avutil_main=yes 17093 9677 else 17094 $as_echo "$as_me: failed program was:" >&5 17095 sed 's/^/| /' conftest.$ac_ext >&5 17096 17097 ac_cv_lib_avutil_main=no 17098 fi 17099 17100 rm -rf conftest.dSYM 17101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17102 conftest$ac_exeext conftest.$ac_ext 9678 ac_cv_lib_avutil_main=no 9679 fi 9680 rm -f core conftest.err conftest.$ac_objext \ 9681 conftest$ac_exeext conftest.$ac_ext 17103 9682 LIBS=$ac_check_lib_save_LIBS 17104 9683 fi 17105 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_avutil_main" >&59684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_main" >&5 17106 9685 $as_echo "$ac_cv_lib_avutil_main" >&6; } 17107 if test "x$ac_cv_lib_avutil_main" = x ""yes; then9686 if test "x$ac_cv_lib_avutil_main" = xyes; then : 17108 9687 cat >>confdefs.h <<_ACEOF 17109 9688 #define HAVE_LIBAVUTIL 1 … … 17113 9692 17114 9693 else 17115 { { $as_echo "$as_me:$LINENO: error: librappture requires libavutil" >&5 17116 $as_echo "$as_me: error: librappture requires libavutil" >&2;} 17117 { (exit 1); exit 1; }; } 17118 fi 17119 17120 17121 { $as_echo "$as_me:$LINENO: checking for main in -lavformat" >&5 9694 as_fn_error $? "librappture requires libavutil" "$LINENO" 5 9695 fi 9696 9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavformat" >&5 17122 9698 $as_echo_n "checking for main in -lavformat... " >&6; } 17123 if test "${ac_cv_lib_avformat_main+set}" = set; then9699 if ${ac_cv_lib_avformat_main+:} false; then : 17124 9700 $as_echo_n "(cached) " >&6 17125 9701 else 17126 9702 ac_check_lib_save_LIBS=$LIBS 17127 9703 LIBS="-lavformat $LIBS" 17128 cat >conftest.$ac_ext <<_ACEOF 17129 /* confdefs.h. */ 17130 _ACEOF 17131 cat confdefs.h >>conftest.$ac_ext 17132 cat >>conftest.$ac_ext <<_ACEOF 9704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17133 9705 /* end confdefs.h. */ 17134 9706 … … 17142 9714 } 17143 9715 _ACEOF 17144 rm -f conftest.$ac_objext conftest$ac_exeext 17145 if { (ac_try="$ac_link" 17146 case "(($ac_try" in 17147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17148 *) ac_try_echo=$ac_try;; 17149 esac 17150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17151 $as_echo "$ac_try_echo") >&5 17152 (eval "$ac_link") 2>conftest.er1 17153 ac_status=$? 17154 grep -v '^ *+' conftest.er1 >conftest.err 17155 rm -f conftest.er1 17156 cat conftest.err >&5 17157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17158 (exit $ac_status); } && { 17159 test -z "$ac_cxx_werror_flag" || 17160 test ! -s conftest.err 17161 } && test -s conftest$ac_exeext && { 17162 test "$cross_compiling" = yes || 17163 $as_test_x conftest$ac_exeext 17164 }; then 9716 if ac_fn_cxx_try_link "$LINENO"; then : 17165 9717 ac_cv_lib_avformat_main=yes 17166 9718 else 17167 $as_echo "$as_me: failed program was:" >&5 17168 sed 's/^/| /' conftest.$ac_ext >&5 17169 17170 ac_cv_lib_avformat_main=no 17171 fi 17172 17173 rm -rf conftest.dSYM 17174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17175 conftest$ac_exeext conftest.$ac_ext 9719 ac_cv_lib_avformat_main=no 9720 fi 9721 rm -f core conftest.err conftest.$ac_objext \ 9722 conftest$ac_exeext conftest.$ac_ext 17176 9723 LIBS=$ac_check_lib_save_LIBS 17177 9724 fi 17178 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_avformat_main" >&59725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_main" >&5 17179 9726 $as_echo "$ac_cv_lib_avformat_main" >&6; } 17180 if test "x$ac_cv_lib_avformat_main" = x ""yes; then9727 if test "x$ac_cv_lib_avformat_main" = xyes; then : 17181 9728 cat >>confdefs.h <<_ACEOF 17182 9729 #define HAVE_LIBAVFORMAT 1 … … 17186 9733 17187 9734 else 17188 { { $as_echo "$as_me:$LINENO: error: librappture requires libavformat" >&5 17189 $as_echo "$as_me: error: librappture requires libavformat" >&2;} 17190 { (exit 1); exit 1; }; } 17191 fi 17192 17193 17194 { $as_echo "$as_me:$LINENO: checking for main in -lswscale" >&5 9735 as_fn_error $? "librappture requires libavformat" "$LINENO" 5 9736 fi 9737 9738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lswscale" >&5 17195 9739 $as_echo_n "checking for main in -lswscale... " >&6; } 17196 if test "${ac_cv_lib_swscale_main+set}" = set; then9740 if ${ac_cv_lib_swscale_main+:} false; then : 17197 9741 $as_echo_n "(cached) " >&6 17198 9742 else 17199 9743 ac_check_lib_save_LIBS=$LIBS 17200 9744 LIBS="-lswscale $LIBS" 17201 cat >conftest.$ac_ext <<_ACEOF 17202 /* confdefs.h. */ 17203 _ACEOF 17204 cat confdefs.h >>conftest.$ac_ext 17205 cat >>conftest.$ac_ext <<_ACEOF 9745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17206 9746 /* end confdefs.h. */ 17207 9747 … … 17215 9755 } 17216 9756 _ACEOF 17217 rm -f conftest.$ac_objext conftest$ac_exeext 17218 if { (ac_try="$ac_link" 17219 case "(($ac_try" in 17220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17221 *) ac_try_echo=$ac_try;; 17222 esac 17223 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17224 $as_echo "$ac_try_echo") >&5 17225 (eval "$ac_link") 2>conftest.er1 17226 ac_status=$? 17227 grep -v '^ *+' conftest.er1 >conftest.err 17228 rm -f conftest.er1 17229 cat conftest.err >&5 17230 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17231 (exit $ac_status); } && { 17232 test -z "$ac_cxx_werror_flag" || 17233 test ! -s conftest.err 17234 } && test -s conftest$ac_exeext && { 17235 test "$cross_compiling" = yes || 17236 $as_test_x conftest$ac_exeext 17237 }; then 9757 if ac_fn_cxx_try_link "$LINENO"; then : 17238 9758 ac_cv_lib_swscale_main=yes 17239 9759 else 17240 $as_echo "$as_me: failed program was:" >&5 17241 sed 's/^/| /' conftest.$ac_ext >&5 17242 17243 ac_cv_lib_swscale_main=no 17244 fi 17245 17246 rm -rf conftest.dSYM 17247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17248 conftest$ac_exeext conftest.$ac_ext 9760 ac_cv_lib_swscale_main=no 9761 fi 9762 rm -f core conftest.err conftest.$ac_objext \ 9763 conftest$ac_exeext conftest.$ac_ext 17249 9764 LIBS=$ac_check_lib_save_LIBS 17250 9765 fi 17251 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_swscale_main" >&59766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_main" >&5 17252 9767 $as_echo "$ac_cv_lib_swscale_main" >&6; } 17253 if test "x$ac_cv_lib_swscale_main" = x ""yes; then9768 if test "x$ac_cv_lib_swscale_main" = xyes; then : 17254 9769 cat >>confdefs.h <<_ACEOF 17255 9770 #define HAVE_LIBSWSCALE 1 … … 17260 9775 fi 17261 9776 17262 17263 for ac_func in av_find_stream_info 17264 do 17265 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17266 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17267 $as_echo_n "checking for $ac_func... " >&6; } 17268 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17269 $as_echo_n "(cached) " >&6 17270 else 17271 cat >conftest.$ac_ext <<_ACEOF 17272 /* confdefs.h. */ 17273 _ACEOF 17274 cat confdefs.h >>conftest.$ac_ext 17275 cat >>conftest.$ac_ext <<_ACEOF 17276 /* end confdefs.h. */ 17277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17278 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17279 #define $ac_func innocuous_$ac_func 17280 17281 /* System header to define __stub macros and hopefully few prototypes, 17282 which can conflict with char $ac_func (); below. 17283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17284 <limits.h> exists even on freestanding compilers. */ 17285 17286 #ifdef __STDC__ 17287 # include <limits.h> 17288 #else 17289 # include <assert.h> 17290 #endif 17291 17292 #undef $ac_func 17293 17294 /* Override any GCC internal prototype to avoid an error. 17295 Use char because int might match the return type of a GCC 17296 builtin and then its argument prototype would still apply. */ 17297 #ifdef __cplusplus 17298 extern "C" 17299 #endif 17300 char $ac_func (); 17301 /* The GNU C library defines this for functions which it implements 17302 to always fail with ENOSYS. Some functions are actually named 17303 something starting with __ and the normal name is an alias. */ 17304 #if defined __stub_$ac_func || defined __stub___$ac_func 17305 choke me 17306 #endif 17307 17308 int 17309 main () 17310 { 17311 return $ac_func (); 17312 ; 17313 return 0; 17314 } 17315 _ACEOF 17316 rm -f conftest.$ac_objext conftest$ac_exeext 17317 if { (ac_try="$ac_link" 17318 case "(($ac_try" in 17319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17320 *) ac_try_echo=$ac_try;; 17321 esac 17322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17323 $as_echo "$ac_try_echo") >&5 17324 (eval "$ac_link") 2>conftest.er1 17325 ac_status=$? 17326 grep -v '^ *+' conftest.er1 >conftest.err 17327 rm -f conftest.er1 17328 cat conftest.err >&5 17329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17330 (exit $ac_status); } && { 17331 test -z "$ac_cxx_werror_flag" || 17332 test ! -s conftest.err 17333 } && test -s conftest$ac_exeext && { 17334 test "$cross_compiling" = yes || 17335 $as_test_x conftest$ac_exeext 17336 }; then 17337 eval "$as_ac_var=yes" 17338 else 17339 $as_echo "$as_me: failed program was:" >&5 17340 sed 's/^/| /' conftest.$ac_ext >&5 17341 17342 eval "$as_ac_var=no" 17343 fi 17344 17345 rm -rf conftest.dSYM 17346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17347 conftest$ac_exeext conftest.$ac_ext 17348 fi 17349 ac_res=`eval 'as_val=${'$as_ac_var'} 17350 $as_echo "$as_val"'` 17351 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17352 $as_echo "$ac_res" >&6; } 17353 as_val=`eval 'as_val=${'$as_ac_var'} 17354 $as_echo "$as_val"'` 17355 if test "x$as_val" = x""yes; then 9777 for ac_func in av_find_stream_info 9778 do : 9779 ac_fn_cxx_check_func "$LINENO" "av_find_stream_info" "ac_cv_func_av_find_stream_info" 9780 if test "x$ac_cv_func_av_find_stream_info" = xyes; then : 17356 9781 cat >>confdefs.h <<_ACEOF 17357 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17358 _ACEOF 17359 17360 fi 17361 done 17362 17363 17364 for ac_func in av_open_input_file 17365 do 17366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17367 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17368 $as_echo_n "checking for $ac_func... " >&6; } 17369 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17370 $as_echo_n "(cached) " >&6 17371 else 17372 cat >conftest.$ac_ext <<_ACEOF 17373 /* confdefs.h. */ 17374 _ACEOF 17375 cat confdefs.h >>conftest.$ac_ext 17376 cat >>conftest.$ac_ext <<_ACEOF 17377 /* end confdefs.h. */ 17378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17379 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17380 #define $ac_func innocuous_$ac_func 17381 17382 /* System header to define __stub macros and hopefully few prototypes, 17383 which can conflict with char $ac_func (); below. 17384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17385 <limits.h> exists even on freestanding compilers. */ 17386 17387 #ifdef __STDC__ 17388 # include <limits.h> 17389 #else 17390 # include <assert.h> 17391 #endif 17392 17393 #undef $ac_func 17394 17395 /* Override any GCC internal prototype to avoid an error. 17396 Use char because int might match the return type of a GCC 17397 builtin and then its argument prototype would still apply. */ 17398 #ifdef __cplusplus 17399 extern "C" 17400 #endif 17401 char $ac_func (); 17402 /* The GNU C library defines this for functions which it implements 17403 to always fail with ENOSYS. Some functions are actually named 17404 something starting with __ and the normal name is an alias. */ 17405 #if defined __stub_$ac_func || defined __stub___$ac_func 17406 choke me 17407 #endif 17408 17409 int 17410 main () 17411 { 17412 return $ac_func (); 17413 ; 17414 return 0; 17415 } 17416 _ACEOF 17417 rm -f conftest.$ac_objext conftest$ac_exeext 17418 if { (ac_try="$ac_link" 17419 case "(($ac_try" in 17420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17421 *) ac_try_echo=$ac_try;; 17422 esac 17423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17424 $as_echo "$ac_try_echo") >&5 17425 (eval "$ac_link") 2>conftest.er1 17426 ac_status=$? 17427 grep -v '^ *+' conftest.er1 >conftest.err 17428 rm -f conftest.er1 17429 cat conftest.err >&5 17430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17431 (exit $ac_status); } && { 17432 test -z "$ac_cxx_werror_flag" || 17433 test ! -s conftest.err 17434 } && test -s conftest$ac_exeext && { 17435 test "$cross_compiling" = yes || 17436 $as_test_x conftest$ac_exeext 17437 }; then 17438 eval "$as_ac_var=yes" 17439 else 17440 $as_echo "$as_me: failed program was:" >&5 17441 sed 's/^/| /' conftest.$ac_ext >&5 17442 17443 eval "$as_ac_var=no" 17444 fi 17445 17446 rm -rf conftest.dSYM 17447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17448 conftest$ac_exeext conftest.$ac_ext 17449 fi 17450 ac_res=`eval 'as_val=${'$as_ac_var'} 17451 $as_echo "$as_val"'` 17452 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17453 $as_echo "$ac_res" >&6; } 17454 as_val=`eval 'as_val=${'$as_ac_var'} 17455 $as_echo "$as_val"'` 17456 if test "x$as_val" = x""yes; then 9782 #define HAVE_AV_FIND_STREAM_INFO 1 9783 _ACEOF 9784 9785 fi 9786 done 9787 9788 for ac_func in av_open_input_file 9789 do : 9790 ac_fn_cxx_check_func "$LINENO" "av_open_input_file" "ac_cv_func_av_open_input_file" 9791 if test "x$ac_cv_func_av_open_input_file" = xyes; then : 17457 9792 cat >>confdefs.h <<_ACEOF 17458 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17459 _ACEOF 17460 17461 fi 17462 done 17463 17464 17465 for ac_func in avcodec_decode_video 17466 do 17467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17468 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17469 $as_echo_n "checking for $ac_func... " >&6; } 17470 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17471 $as_echo_n "(cached) " >&6 17472 else 17473 cat >conftest.$ac_ext <<_ACEOF 17474 /* confdefs.h. */ 17475 _ACEOF 17476 cat confdefs.h >>conftest.$ac_ext 17477 cat >>conftest.$ac_ext <<_ACEOF 17478 /* end confdefs.h. */ 17479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17480 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17481 #define $ac_func innocuous_$ac_func 17482 17483 /* System header to define __stub macros and hopefully few prototypes, 17484 which can conflict with char $ac_func (); below. 17485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17486 <limits.h> exists even on freestanding compilers. */ 17487 17488 #ifdef __STDC__ 17489 # include <limits.h> 17490 #else 17491 # include <assert.h> 17492 #endif 17493 17494 #undef $ac_func 17495 17496 /* Override any GCC internal prototype to avoid an error. 17497 Use char because int might match the return type of a GCC 17498 builtin and then its argument prototype would still apply. */ 17499 #ifdef __cplusplus 17500 extern "C" 17501 #endif 17502 char $ac_func (); 17503 /* The GNU C library defines this for functions which it implements 17504 to always fail with ENOSYS. Some functions are actually named 17505 something starting with __ and the normal name is an alias. */ 17506 #if defined __stub_$ac_func || defined __stub___$ac_func 17507 choke me 17508 #endif 17509 17510 int 17511 main () 17512 { 17513 return $ac_func (); 17514 ; 17515 return 0; 17516 } 17517 _ACEOF 17518 rm -f conftest.$ac_objext conftest$ac_exeext 17519 if { (ac_try="$ac_link" 17520 case "(($ac_try" in 17521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17522 *) ac_try_echo=$ac_try;; 17523 esac 17524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17525 $as_echo "$ac_try_echo") >&5 17526 (eval "$ac_link") 2>conftest.er1 17527 ac_status=$? 17528 grep -v '^ *+' conftest.er1 >conftest.err 17529 rm -f conftest.er1 17530 cat conftest.err >&5 17531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17532 (exit $ac_status); } && { 17533 test -z "$ac_cxx_werror_flag" || 17534 test ! -s conftest.err 17535 } && test -s conftest$ac_exeext && { 17536 test "$cross_compiling" = yes || 17537 $as_test_x conftest$ac_exeext 17538 }; then 17539 eval "$as_ac_var=yes" 17540 else 17541 $as_echo "$as_me: failed program was:" >&5 17542 sed 's/^/| /' conftest.$ac_ext >&5 17543 17544 eval "$as_ac_var=no" 17545 fi 17546 17547 rm -rf conftest.dSYM 17548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17549 conftest$ac_exeext conftest.$ac_ext 17550 fi 17551 ac_res=`eval 'as_val=${'$as_ac_var'} 17552 $as_echo "$as_val"'` 17553 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17554 $as_echo "$ac_res" >&6; } 17555 as_val=`eval 'as_val=${'$as_ac_var'} 17556 $as_echo "$as_val"'` 17557 if test "x$as_val" = x""yes; then 9793 #define HAVE_AV_OPEN_INPUT_FILE 1 9794 _ACEOF 9795 9796 fi 9797 done 9798 9799 for ac_func in avcodec_decode_video 9800 do : 9801 ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video" "ac_cv_func_avcodec_decode_video" 9802 if test "x$ac_cv_func_avcodec_decode_video" = xyes; then : 17558 9803 cat >>confdefs.h <<_ACEOF 17559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17560 _ACEOF 17561 17562 fi 17563 done 17564 17565 17566 for ac_func in avcodec_decode_video2 17567 do 17568 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17569 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17570 $as_echo_n "checking for $ac_func... " >&6; } 17571 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17572 $as_echo_n "(cached) " >&6 17573 else 17574 cat >conftest.$ac_ext <<_ACEOF 17575 /* confdefs.h. */ 17576 _ACEOF 17577 cat confdefs.h >>conftest.$ac_ext 17578 cat >>conftest.$ac_ext <<_ACEOF 17579 /* end confdefs.h. */ 17580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17581 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17582 #define $ac_func innocuous_$ac_func 17583 17584 /* System header to define __stub macros and hopefully few prototypes, 17585 which can conflict with char $ac_func (); below. 17586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17587 <limits.h> exists even on freestanding compilers. */ 17588 17589 #ifdef __STDC__ 17590 # include <limits.h> 17591 #else 17592 # include <assert.h> 17593 #endif 17594 17595 #undef $ac_func 17596 17597 /* Override any GCC internal prototype to avoid an error. 17598 Use char because int might match the return type of a GCC 17599 builtin and then its argument prototype would still apply. */ 17600 #ifdef __cplusplus 17601 extern "C" 17602 #endif 17603 char $ac_func (); 17604 /* The GNU C library defines this for functions which it implements 17605 to always fail with ENOSYS. Some functions are actually named 17606 something starting with __ and the normal name is an alias. */ 17607 #if defined __stub_$ac_func || defined __stub___$ac_func 17608 choke me 17609 #endif 17610 17611 int 17612 main () 17613 { 17614 return $ac_func (); 17615 ; 17616 return 0; 17617 } 17618 _ACEOF 17619 rm -f conftest.$ac_objext conftest$ac_exeext 17620 if { (ac_try="$ac_link" 17621 case "(($ac_try" in 17622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17623 *) ac_try_echo=$ac_try;; 17624 esac 17625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17626 $as_echo "$ac_try_echo") >&5 17627 (eval "$ac_link") 2>conftest.er1 17628 ac_status=$? 17629 grep -v '^ *+' conftest.er1 >conftest.err 17630 rm -f conftest.er1 17631 cat conftest.err >&5 17632 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17633 (exit $ac_status); } && { 17634 test -z "$ac_cxx_werror_flag" || 17635 test ! -s conftest.err 17636 } && test -s conftest$ac_exeext && { 17637 test "$cross_compiling" = yes || 17638 $as_test_x conftest$ac_exeext 17639 }; then 17640 eval "$as_ac_var=yes" 17641 else 17642 $as_echo "$as_me: failed program was:" >&5 17643 sed 's/^/| /' conftest.$ac_ext >&5 17644 17645 eval "$as_ac_var=no" 17646 fi 17647 17648 rm -rf conftest.dSYM 17649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17650 conftest$ac_exeext conftest.$ac_ext 17651 fi 17652 ac_res=`eval 'as_val=${'$as_ac_var'} 17653 $as_echo "$as_val"'` 17654 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17655 $as_echo "$ac_res" >&6; } 17656 as_val=`eval 'as_val=${'$as_ac_var'} 17657 $as_echo "$as_val"'` 17658 if test "x$as_val" = x""yes; then 9804 #define HAVE_AVCODEC_DECODE_VIDEO 1 9805 _ACEOF 9806 9807 fi 9808 done 9809 9810 for ac_func in avcodec_decode_video2 9811 do : 9812 ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video2" "ac_cv_func_avcodec_decode_video2" 9813 if test "x$ac_cv_func_avcodec_decode_video2" = xyes; then : 17659 9814 cat >>confdefs.h <<_ACEOF 17660 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17661 _ACEOF 17662 17663 fi 17664 done 17665 17666 17667 for ac_func in avcodec_open 17668 do 17669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17670 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17671 $as_echo_n "checking for $ac_func... " >&6; } 17672 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17673 $as_echo_n "(cached) " >&6 17674 else 17675 cat >conftest.$ac_ext <<_ACEOF 17676 /* confdefs.h. */ 17677 _ACEOF 17678 cat confdefs.h >>conftest.$ac_ext 17679 cat >>conftest.$ac_ext <<_ACEOF 17680 /* end confdefs.h. */ 17681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17682 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17683 #define $ac_func innocuous_$ac_func 17684 17685 /* System header to define __stub macros and hopefully few prototypes, 17686 which can conflict with char $ac_func (); below. 17687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17688 <limits.h> exists even on freestanding compilers. */ 17689 17690 #ifdef __STDC__ 17691 # include <limits.h> 17692 #else 17693 # include <assert.h> 17694 #endif 17695 17696 #undef $ac_func 17697 17698 /* Override any GCC internal prototype to avoid an error. 17699 Use char because int might match the return type of a GCC 17700 builtin and then its argument prototype would still apply. */ 17701 #ifdef __cplusplus 17702 extern "C" 17703 #endif 17704 char $ac_func (); 17705 /* The GNU C library defines this for functions which it implements 17706 to always fail with ENOSYS. Some functions are actually named 17707 something starting with __ and the normal name is an alias. */ 17708 #if defined __stub_$ac_func || defined __stub___$ac_func 17709 choke me 17710 #endif 17711 17712 int 17713 main () 17714 { 17715 return $ac_func (); 17716 ; 17717 return 0; 17718 } 17719 _ACEOF 17720 rm -f conftest.$ac_objext conftest$ac_exeext 17721 if { (ac_try="$ac_link" 17722 case "(($ac_try" in 17723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17724 *) ac_try_echo=$ac_try;; 17725 esac 17726 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17727 $as_echo "$ac_try_echo") >&5 17728 (eval "$ac_link") 2>conftest.er1 17729 ac_status=$? 17730 grep -v '^ *+' conftest.er1 >conftest.err 17731 rm -f conftest.er1 17732 cat conftest.err >&5 17733 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17734 (exit $ac_status); } && { 17735 test -z "$ac_cxx_werror_flag" || 17736 test ! -s conftest.err 17737 } && test -s conftest$ac_exeext && { 17738 test "$cross_compiling" = yes || 17739 $as_test_x conftest$ac_exeext 17740 }; then 17741 eval "$as_ac_var=yes" 17742 else 17743 $as_echo "$as_me: failed program was:" >&5 17744 sed 's/^/| /' conftest.$ac_ext >&5 17745 17746 eval "$as_ac_var=no" 17747 fi 17748 17749 rm -rf conftest.dSYM 17750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17751 conftest$ac_exeext conftest.$ac_ext 17752 fi 17753 ac_res=`eval 'as_val=${'$as_ac_var'} 17754 $as_echo "$as_val"'` 17755 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17756 $as_echo "$ac_res" >&6; } 17757 as_val=`eval 'as_val=${'$as_ac_var'} 17758 $as_echo "$as_val"'` 17759 if test "x$as_val" = x""yes; then 9815 #define HAVE_AVCODEC_DECODE_VIDEO2 1 9816 _ACEOF 9817 9818 fi 9819 done 9820 9821 for ac_func in avcodec_open 9822 do : 9823 ac_fn_cxx_check_func "$LINENO" "avcodec_open" "ac_cv_func_avcodec_open" 9824 if test "x$ac_cv_func_avcodec_open" = xyes; then : 17760 9825 cat >>confdefs.h <<_ACEOF 17761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17762 _ACEOF 17763 17764 fi 17765 done 17766 17767 17768 for ac_func in avcodec_open2 17769 do 17770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17771 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17772 $as_echo_n "checking for $ac_func... " >&6; } 17773 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17774 $as_echo_n "(cached) " >&6 17775 else 17776 cat >conftest.$ac_ext <<_ACEOF 17777 /* confdefs.h. */ 17778 _ACEOF 17779 cat confdefs.h >>conftest.$ac_ext 17780 cat >>conftest.$ac_ext <<_ACEOF 17781 /* end confdefs.h. */ 17782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17783 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17784 #define $ac_func innocuous_$ac_func 17785 17786 /* System header to define __stub macros and hopefully few prototypes, 17787 which can conflict with char $ac_func (); below. 17788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17789 <limits.h> exists even on freestanding compilers. */ 17790 17791 #ifdef __STDC__ 17792 # include <limits.h> 17793 #else 17794 # include <assert.h> 17795 #endif 17796 17797 #undef $ac_func 17798 17799 /* Override any GCC internal prototype to avoid an error. 17800 Use char because int might match the return type of a GCC 17801 builtin and then its argument prototype would still apply. */ 17802 #ifdef __cplusplus 17803 extern "C" 17804 #endif 17805 char $ac_func (); 17806 /* The GNU C library defines this for functions which it implements 17807 to always fail with ENOSYS. Some functions are actually named 17808 something starting with __ and the normal name is an alias. */ 17809 #if defined __stub_$ac_func || defined __stub___$ac_func 17810 choke me 17811 #endif 17812 17813 int 17814 main () 17815 { 17816 return $ac_func (); 17817 ; 17818 return 0; 17819 } 17820 _ACEOF 17821 rm -f conftest.$ac_objext conftest$ac_exeext 17822 if { (ac_try="$ac_link" 17823 case "(($ac_try" in 17824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17825 *) ac_try_echo=$ac_try;; 17826 esac 17827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17828 $as_echo "$ac_try_echo") >&5 17829 (eval "$ac_link") 2>conftest.er1 17830 ac_status=$? 17831 grep -v '^ *+' conftest.er1 >conftest.err 17832 rm -f conftest.er1 17833 cat conftest.err >&5 17834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17835 (exit $ac_status); } && { 17836 test -z "$ac_cxx_werror_flag" || 17837 test ! -s conftest.err 17838 } && test -s conftest$ac_exeext && { 17839 test "$cross_compiling" = yes || 17840 $as_test_x conftest$ac_exeext 17841 }; then 17842 eval "$as_ac_var=yes" 17843 else 17844 $as_echo "$as_me: failed program was:" >&5 17845 sed 's/^/| /' conftest.$ac_ext >&5 17846 17847 eval "$as_ac_var=no" 17848 fi 17849 17850 rm -rf conftest.dSYM 17851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17852 conftest$ac_exeext conftest.$ac_ext 17853 fi 17854 ac_res=`eval 'as_val=${'$as_ac_var'} 17855 $as_echo "$as_val"'` 17856 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17857 $as_echo "$ac_res" >&6; } 17858 as_val=`eval 'as_val=${'$as_ac_var'} 17859 $as_echo "$as_val"'` 17860 if test "x$as_val" = x""yes; then 9826 #define HAVE_AVCODEC_OPEN 1 9827 _ACEOF 9828 9829 fi 9830 done 9831 9832 for ac_func in avcodec_open2 9833 do : 9834 ac_fn_cxx_check_func "$LINENO" "avcodec_open2" "ac_cv_func_avcodec_open2" 9835 if test "x$ac_cv_func_avcodec_open2" = xyes; then : 17861 9836 cat >>confdefs.h <<_ACEOF 17862 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17863 _ACEOF 17864 17865 fi 17866 done 17867 17868 17869 for ac_func in avformat_find_stream_info 17870 do 17871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17872 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17873 $as_echo_n "checking for $ac_func... " >&6; } 17874 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17875 $as_echo_n "(cached) " >&6 17876 else 17877 cat >conftest.$ac_ext <<_ACEOF 17878 /* confdefs.h. */ 17879 _ACEOF 17880 cat confdefs.h >>conftest.$ac_ext 17881 cat >>conftest.$ac_ext <<_ACEOF 17882 /* end confdefs.h. */ 17883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17884 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17885 #define $ac_func innocuous_$ac_func 17886 17887 /* System header to define __stub macros and hopefully few prototypes, 17888 which can conflict with char $ac_func (); below. 17889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17890 <limits.h> exists even on freestanding compilers. */ 17891 17892 #ifdef __STDC__ 17893 # include <limits.h> 17894 #else 17895 # include <assert.h> 17896 #endif 17897 17898 #undef $ac_func 17899 17900 /* Override any GCC internal prototype to avoid an error. 17901 Use char because int might match the return type of a GCC 17902 builtin and then its argument prototype would still apply. */ 17903 #ifdef __cplusplus 17904 extern "C" 17905 #endif 17906 char $ac_func (); 17907 /* The GNU C library defines this for functions which it implements 17908 to always fail with ENOSYS. Some functions are actually named 17909 something starting with __ and the normal name is an alias. */ 17910 #if defined __stub_$ac_func || defined __stub___$ac_func 17911 choke me 17912 #endif 17913 17914 int 17915 main () 17916 { 17917 return $ac_func (); 17918 ; 17919 return 0; 17920 } 17921 _ACEOF 17922 rm -f conftest.$ac_objext conftest$ac_exeext 17923 if { (ac_try="$ac_link" 17924 case "(($ac_try" in 17925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17926 *) ac_try_echo=$ac_try;; 17927 esac 17928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17929 $as_echo "$ac_try_echo") >&5 17930 (eval "$ac_link") 2>conftest.er1 17931 ac_status=$? 17932 grep -v '^ *+' conftest.er1 >conftest.err 17933 rm -f conftest.er1 17934 cat conftest.err >&5 17935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17936 (exit $ac_status); } && { 17937 test -z "$ac_cxx_werror_flag" || 17938 test ! -s conftest.err 17939 } && test -s conftest$ac_exeext && { 17940 test "$cross_compiling" = yes || 17941 $as_test_x conftest$ac_exeext 17942 }; then 17943 eval "$as_ac_var=yes" 17944 else 17945 $as_echo "$as_me: failed program was:" >&5 17946 sed 's/^/| /' conftest.$ac_ext >&5 17947 17948 eval "$as_ac_var=no" 17949 fi 17950 17951 rm -rf conftest.dSYM 17952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17953 conftest$ac_exeext conftest.$ac_ext 17954 fi 17955 ac_res=`eval 'as_val=${'$as_ac_var'} 17956 $as_echo "$as_val"'` 17957 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17958 $as_echo "$ac_res" >&6; } 17959 as_val=`eval 'as_val=${'$as_ac_var'} 17960 $as_echo "$as_val"'` 17961 if test "x$as_val" = x""yes; then 9837 #define HAVE_AVCODEC_OPEN2 1 9838 _ACEOF 9839 9840 fi 9841 done 9842 9843 for ac_func in avformat_find_stream_info 9844 do : 9845 ac_fn_cxx_check_func "$LINENO" "avformat_find_stream_info" "ac_cv_func_avformat_find_stream_info" 9846 if test "x$ac_cv_func_avformat_find_stream_info" = xyes; then : 17962 9847 cat >>confdefs.h <<_ACEOF 17963 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17964 _ACEOF 17965 17966 fi 17967 done 17968 17969 17970 for ac_func in avformat_open_input 17971 do 17972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17973 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17974 $as_echo_n "checking for $ac_func... " >&6; } 17975 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17976 $as_echo_n "(cached) " >&6 17977 else 17978 cat >conftest.$ac_ext <<_ACEOF 17979 /* confdefs.h. */ 17980 _ACEOF 17981 cat confdefs.h >>conftest.$ac_ext 17982 cat >>conftest.$ac_ext <<_ACEOF 17983 /* end confdefs.h. */ 17984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17985 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17986 #define $ac_func innocuous_$ac_func 17987 17988 /* System header to define __stub macros and hopefully few prototypes, 17989 which can conflict with char $ac_func (); below. 17990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17991 <limits.h> exists even on freestanding compilers. */ 17992 17993 #ifdef __STDC__ 17994 # include <limits.h> 17995 #else 17996 # include <assert.h> 17997 #endif 17998 17999 #undef $ac_func 18000 18001 /* Override any GCC internal prototype to avoid an error. 18002 Use char because int might match the return type of a GCC 18003 builtin and then its argument prototype would still apply. */ 18004 #ifdef __cplusplus 18005 extern "C" 18006 #endif 18007 char $ac_func (); 18008 /* The GNU C library defines this for functions which it implements 18009 to always fail with ENOSYS. Some functions are actually named 18010 something starting with __ and the normal name is an alias. */ 18011 #if defined __stub_$ac_func || defined __stub___$ac_func 18012 choke me 18013 #endif 18014 18015 int 18016 main () 18017 { 18018 return $ac_func (); 18019 ; 18020 return 0; 18021 } 18022 _ACEOF 18023 rm -f conftest.$ac_objext conftest$ac_exeext 18024 if { (ac_try="$ac_link" 18025 case "(($ac_try" in 18026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18027 *) ac_try_echo=$ac_try;; 18028 esac 18029 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18030 $as_echo "$ac_try_echo") >&5 18031 (eval "$ac_link") 2>conftest.er1 18032 ac_status=$? 18033 grep -v '^ *+' conftest.er1 >conftest.err 18034 rm -f conftest.er1 18035 cat conftest.err >&5 18036 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18037 (exit $ac_status); } && { 18038 test -z "$ac_cxx_werror_flag" || 18039 test ! -s conftest.err 18040 } && test -s conftest$ac_exeext && { 18041 test "$cross_compiling" = yes || 18042 $as_test_x conftest$ac_exeext 18043 }; then 18044 eval "$as_ac_var=yes" 18045 else 18046 $as_echo "$as_me: failed program was:" >&5 18047 sed 's/^/| /' conftest.$ac_ext >&5 18048 18049 eval "$as_ac_var=no" 18050 fi 18051 18052 rm -rf conftest.dSYM 18053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18054 conftest$ac_exeext conftest.$ac_ext 18055 fi 18056 ac_res=`eval 'as_val=${'$as_ac_var'} 18057 $as_echo "$as_val"'` 18058 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18059 $as_echo "$ac_res" >&6; } 18060 as_val=`eval 'as_val=${'$as_ac_var'} 18061 $as_echo "$as_val"'` 18062 if test "x$as_val" = x""yes; then 9848 #define HAVE_AVFORMAT_FIND_STREAM_INFO 1 9849 _ACEOF 9850 9851 fi 9852 done 9853 9854 for ac_func in avformat_open_input 9855 do : 9856 ac_fn_cxx_check_func "$LINENO" "avformat_open_input" "ac_cv_func_avformat_open_input" 9857 if test "x$ac_cv_func_avformat_open_input" = xyes; then : 18063 9858 cat >>confdefs.h <<_ACEOF 18064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18065 _ACEOF 18066 18067 fi 18068 done 18069 18070 18071 for ac_func in avio_close 18072 do 18073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18074 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18075 $as_echo_n "checking for $ac_func... " >&6; } 18076 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18077 $as_echo_n "(cached) " >&6 18078 else 18079 cat >conftest.$ac_ext <<_ACEOF 18080 /* confdefs.h. */ 18081 _ACEOF 18082 cat confdefs.h >>conftest.$ac_ext 18083 cat >>conftest.$ac_ext <<_ACEOF 18084 /* end confdefs.h. */ 18085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18086 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18087 #define $ac_func innocuous_$ac_func 18088 18089 /* System header to define __stub macros and hopefully few prototypes, 18090 which can conflict with char $ac_func (); below. 18091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18092 <limits.h> exists even on freestanding compilers. */ 18093 18094 #ifdef __STDC__ 18095 # include <limits.h> 18096 #else 18097 # include <assert.h> 18098 #endif 18099 18100 #undef $ac_func 18101 18102 /* Override any GCC internal prototype to avoid an error. 18103 Use char because int might match the return type of a GCC 18104 builtin and then its argument prototype would still apply. */ 18105 #ifdef __cplusplus 18106 extern "C" 18107 #endif 18108 char $ac_func (); 18109 /* The GNU C library defines this for functions which it implements 18110 to always fail with ENOSYS. Some functions are actually named 18111 something starting with __ and the normal name is an alias. */ 18112 #if defined __stub_$ac_func || defined __stub___$ac_func 18113 choke me 18114 #endif 18115 18116 int 18117 main () 18118 { 18119 return $ac_func (); 18120 ; 18121 return 0; 18122 } 18123 _ACEOF 18124 rm -f conftest.$ac_objext conftest$ac_exeext 18125 if { (ac_try="$ac_link" 18126 case "(($ac_try" in 18127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18128 *) ac_try_echo=$ac_try;; 18129 esac 18130 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18131 $as_echo "$ac_try_echo") >&5 18132 (eval "$ac_link") 2>conftest.er1 18133 ac_status=$? 18134 grep -v '^ *+' conftest.er1 >conftest.err 18135 rm -f conftest.er1 18136 cat conftest.err >&5 18137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18138 (exit $ac_status); } && { 18139 test -z "$ac_cxx_werror_flag" || 18140 test ! -s conftest.err 18141 } && test -s conftest$ac_exeext && { 18142 test "$cross_compiling" = yes || 18143 $as_test_x conftest$ac_exeext 18144 }; then 18145 eval "$as_ac_var=yes" 18146 else 18147 $as_echo "$as_me: failed program was:" >&5 18148 sed 's/^/| /' conftest.$ac_ext >&5 18149 18150 eval "$as_ac_var=no" 18151 fi 18152 18153 rm -rf conftest.dSYM 18154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18155 conftest$ac_exeext conftest.$ac_ext 18156 fi 18157 ac_res=`eval 'as_val=${'$as_ac_var'} 18158 $as_echo "$as_val"'` 18159 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18160 $as_echo "$ac_res" >&6; } 18161 as_val=`eval 'as_val=${'$as_ac_var'} 18162 $as_echo "$as_val"'` 18163 if test "x$as_val" = x""yes; then 9859 #define HAVE_AVFORMAT_OPEN_INPUT 1 9860 _ACEOF 9861 9862 fi 9863 done 9864 9865 for ac_func in avio_close 9866 do : 9867 ac_fn_cxx_check_func "$LINENO" "avio_close" "ac_cv_func_avio_close" 9868 if test "x$ac_cv_func_avio_close" = xyes; then : 18164 9869 cat >>confdefs.h <<_ACEOF 18165 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18166 _ACEOF 18167 18168 fi 18169 done 18170 18171 18172 for ac_func in img_convert 18173 do 18174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18175 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18176 $as_echo_n "checking for $ac_func... " >&6; } 18177 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18178 $as_echo_n "(cached) " >&6 18179 else 18180 cat >conftest.$ac_ext <<_ACEOF 18181 /* confdefs.h. */ 18182 _ACEOF 18183 cat confdefs.h >>conftest.$ac_ext 18184 cat >>conftest.$ac_ext <<_ACEOF 18185 /* end confdefs.h. */ 18186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18187 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18188 #define $ac_func innocuous_$ac_func 18189 18190 /* System header to define __stub macros and hopefully few prototypes, 18191 which can conflict with char $ac_func (); below. 18192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18193 <limits.h> exists even on freestanding compilers. */ 18194 18195 #ifdef __STDC__ 18196 # include <limits.h> 18197 #else 18198 # include <assert.h> 18199 #endif 18200 18201 #undef $ac_func 18202 18203 /* Override any GCC internal prototype to avoid an error. 18204 Use char because int might match the return type of a GCC 18205 builtin and then its argument prototype would still apply. */ 18206 #ifdef __cplusplus 18207 extern "C" 18208 #endif 18209 char $ac_func (); 18210 /* The GNU C library defines this for functions which it implements 18211 to always fail with ENOSYS. Some functions are actually named 18212 something starting with __ and the normal name is an alias. */ 18213 #if defined __stub_$ac_func || defined __stub___$ac_func 18214 choke me 18215 #endif 18216 18217 int 18218 main () 18219 { 18220 return $ac_func (); 18221 ; 18222 return 0; 18223 } 18224 _ACEOF 18225 rm -f conftest.$ac_objext conftest$ac_exeext 18226 if { (ac_try="$ac_link" 18227 case "(($ac_try" in 18228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18229 *) ac_try_echo=$ac_try;; 18230 esac 18231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18232 $as_echo "$ac_try_echo") >&5 18233 (eval "$ac_link") 2>conftest.er1 18234 ac_status=$? 18235 grep -v '^ *+' conftest.er1 >conftest.err 18236 rm -f conftest.er1 18237 cat conftest.err >&5 18238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18239 (exit $ac_status); } && { 18240 test -z "$ac_cxx_werror_flag" || 18241 test ! -s conftest.err 18242 } && test -s conftest$ac_exeext && { 18243 test "$cross_compiling" = yes || 18244 $as_test_x conftest$ac_exeext 18245 }; then 18246 eval "$as_ac_var=yes" 18247 else 18248 $as_echo "$as_me: failed program was:" >&5 18249 sed 's/^/| /' conftest.$ac_ext >&5 18250 18251 eval "$as_ac_var=no" 18252 fi 18253 18254 rm -rf conftest.dSYM 18255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18256 conftest$ac_exeext conftest.$ac_ext 18257 fi 18258 ac_res=`eval 'as_val=${'$as_ac_var'} 18259 $as_echo "$as_val"'` 18260 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18261 $as_echo "$ac_res" >&6; } 18262 as_val=`eval 'as_val=${'$as_ac_var'} 18263 $as_echo "$as_val"'` 18264 if test "x$as_val" = x""yes; then 9870 #define HAVE_AVIO_CLOSE 1 9871 _ACEOF 9872 9873 fi 9874 done 9875 9876 for ac_func in img_convert 9877 do : 9878 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 9879 if test "x$ac_cv_func_img_convert" = xyes; then : 18265 9880 cat >>confdefs.h <<_ACEOF 18266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18267 _ACEOF 18268 18269 fi 18270 done 18271 18272 18273 for ac_func in sws_getCachedContext 18274 do 18275 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18276 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18277 $as_echo_n "checking for $ac_func... " >&6; } 18278 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18279 $as_echo_n "(cached) " >&6 18280 else 18281 cat >conftest.$ac_ext <<_ACEOF 18282 /* confdefs.h. */ 18283 _ACEOF 18284 cat confdefs.h >>conftest.$ac_ext 18285 cat >>conftest.$ac_ext <<_ACEOF 18286 /* end confdefs.h. */ 18287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18288 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18289 #define $ac_func innocuous_$ac_func 18290 18291 /* System header to define __stub macros and hopefully few prototypes, 18292 which can conflict with char $ac_func (); below. 18293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18294 <limits.h> exists even on freestanding compilers. */ 18295 18296 #ifdef __STDC__ 18297 # include <limits.h> 18298 #else 18299 # include <assert.h> 18300 #endif 18301 18302 #undef $ac_func 18303 18304 /* Override any GCC internal prototype to avoid an error. 18305 Use char because int might match the return type of a GCC 18306 builtin and then its argument prototype would still apply. */ 18307 #ifdef __cplusplus 18308 extern "C" 18309 #endif 18310 char $ac_func (); 18311 /* The GNU C library defines this for functions which it implements 18312 to always fail with ENOSYS. Some functions are actually named 18313 something starting with __ and the normal name is an alias. */ 18314 #if defined __stub_$ac_func || defined __stub___$ac_func 18315 choke me 18316 #endif 18317 18318 int 18319 main () 18320 { 18321 return $ac_func (); 18322 ; 18323 return 0; 18324 } 18325 _ACEOF 18326 rm -f conftest.$ac_objext conftest$ac_exeext 18327 if { (ac_try="$ac_link" 18328 case "(($ac_try" in 18329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18330 *) ac_try_echo=$ac_try;; 18331 esac 18332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18333 $as_echo "$ac_try_echo") >&5 18334 (eval "$ac_link") 2>conftest.er1 18335 ac_status=$? 18336 grep -v '^ *+' conftest.er1 >conftest.err 18337 rm -f conftest.er1 18338 cat conftest.err >&5 18339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18340 (exit $ac_status); } && { 18341 test -z "$ac_cxx_werror_flag" || 18342 test ! -s conftest.err 18343 } && test -s conftest$ac_exeext && { 18344 test "$cross_compiling" = yes || 18345 $as_test_x conftest$ac_exeext 18346 }; then 18347 eval "$as_ac_var=yes" 18348 else 18349 $as_echo "$as_me: failed program was:" >&5 18350 sed 's/^/| /' conftest.$ac_ext >&5 18351 18352 eval "$as_ac_var=no" 18353 fi 18354 18355 rm -rf conftest.dSYM 18356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18357 conftest$ac_exeext conftest.$ac_ext 18358 fi 18359 ac_res=`eval 'as_val=${'$as_ac_var'} 18360 $as_echo "$as_val"'` 18361 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18362 $as_echo "$ac_res" >&6; } 18363 as_val=`eval 'as_val=${'$as_ac_var'} 18364 $as_echo "$as_val"'` 18365 if test "x$as_val" = x""yes; then 9881 #define HAVE_IMG_CONVERT 1 9882 _ACEOF 9883 9884 fi 9885 done 9886 9887 for ac_func in sws_getCachedContext 9888 do : 9889 ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext" 9890 if test "x$ac_cv_func_sws_getCachedContext" = xyes; then : 18366 9891 cat >>confdefs.h <<_ACEOF 18367 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18368 _ACEOF 18369 18370 fi 18371 done 18372 18373 18374 for ac_func in sws_scale 18375 do 18376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18377 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18378 $as_echo_n "checking for $ac_func... " >&6; } 18379 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18380 $as_echo_n "(cached) " >&6 18381 else 18382 cat >conftest.$ac_ext <<_ACEOF 18383 /* confdefs.h. */ 18384 _ACEOF 18385 cat confdefs.h >>conftest.$ac_ext 18386 cat >>conftest.$ac_ext <<_ACEOF 18387 /* end confdefs.h. */ 18388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18389 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18390 #define $ac_func innocuous_$ac_func 18391 18392 /* System header to define __stub macros and hopefully few prototypes, 18393 which can conflict with char $ac_func (); below. 18394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18395 <limits.h> exists even on freestanding compilers. */ 18396 18397 #ifdef __STDC__ 18398 # include <limits.h> 18399 #else 18400 # include <assert.h> 18401 #endif 18402 18403 #undef $ac_func 18404 18405 /* Override any GCC internal prototype to avoid an error. 18406 Use char because int might match the return type of a GCC 18407 builtin and then its argument prototype would still apply. */ 18408 #ifdef __cplusplus 18409 extern "C" 18410 #endif 18411 char $ac_func (); 18412 /* The GNU C library defines this for functions which it implements 18413 to always fail with ENOSYS. Some functions are actually named 18414 something starting with __ and the normal name is an alias. */ 18415 #if defined __stub_$ac_func || defined __stub___$ac_func 18416 choke me 18417 #endif 18418 18419 int 18420 main () 18421 { 18422 return $ac_func (); 18423 ; 18424 return 0; 18425 } 18426 _ACEOF 18427 rm -f conftest.$ac_objext conftest$ac_exeext 18428 if { (ac_try="$ac_link" 18429 case "(($ac_try" in 18430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18431 *) ac_try_echo=$ac_try;; 18432 esac 18433 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18434 $as_echo "$ac_try_echo") >&5 18435 (eval "$ac_link") 2>conftest.er1 18436 ac_status=$? 18437 grep -v '^ *+' conftest.er1 >conftest.err 18438 rm -f conftest.er1 18439 cat conftest.err >&5 18440 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18441 (exit $ac_status); } && { 18442 test -z "$ac_cxx_werror_flag" || 18443 test ! -s conftest.err 18444 } && test -s conftest$ac_exeext && { 18445 test "$cross_compiling" = yes || 18446 $as_test_x conftest$ac_exeext 18447 }; then 18448 eval "$as_ac_var=yes" 18449 else 18450 $as_echo "$as_me: failed program was:" >&5 18451 sed 's/^/| /' conftest.$ac_ext >&5 18452 18453 eval "$as_ac_var=no" 18454 fi 18455 18456 rm -rf conftest.dSYM 18457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18458 conftest$ac_exeext conftest.$ac_ext 18459 fi 18460 ac_res=`eval 'as_val=${'$as_ac_var'} 18461 $as_echo "$as_val"'` 18462 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18463 $as_echo "$ac_res" >&6; } 18464 as_val=`eval 'as_val=${'$as_ac_var'} 18465 $as_echo "$as_val"'` 18466 if test "x$as_val" = x""yes; then 9892 #define HAVE_SWS_GETCACHEDCONTEXT 1 9893 _ACEOF 9894 9895 fi 9896 done 9897 9898 for ac_func in sws_scale 9899 do : 9900 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale" 9901 if test "x$ac_cv_func_sws_scale" = xyes; then : 18467 9902 cat >>confdefs.h <<_ACEOF 18468 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18469 _ACEOF 18470 18471 fi 18472 done 18473 18474 18475 for ac_func in url_close 18476 do 18477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18478 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18479 $as_echo_n "checking for $ac_func... " >&6; } 18480 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18481 $as_echo_n "(cached) " >&6 18482 else 18483 cat >conftest.$ac_ext <<_ACEOF 18484 /* confdefs.h. */ 18485 _ACEOF 18486 cat confdefs.h >>conftest.$ac_ext 18487 cat >>conftest.$ac_ext <<_ACEOF 18488 /* end confdefs.h. */ 18489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18490 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18491 #define $ac_func innocuous_$ac_func 18492 18493 /* System header to define __stub macros and hopefully few prototypes, 18494 which can conflict with char $ac_func (); below. 18495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18496 <limits.h> exists even on freestanding compilers. */ 18497 18498 #ifdef __STDC__ 18499 # include <limits.h> 18500 #else 18501 # include <assert.h> 18502 #endif 18503 18504 #undef $ac_func 18505 18506 /* Override any GCC internal prototype to avoid an error. 18507 Use char because int might match the return type of a GCC 18508 builtin and then its argument prototype would still apply. */ 18509 #ifdef __cplusplus 18510 extern "C" 18511 #endif 18512 char $ac_func (); 18513 /* The GNU C library defines this for functions which it implements 18514 to always fail with ENOSYS. Some functions are actually named 18515 something starting with __ and the normal name is an alias. */ 18516 #if defined __stub_$ac_func || defined __stub___$ac_func 18517 choke me 18518 #endif 18519 18520 int 18521 main () 18522 { 18523 return $ac_func (); 18524 ; 18525 return 0; 18526 } 18527 _ACEOF 18528 rm -f conftest.$ac_objext conftest$ac_exeext 18529 if { (ac_try="$ac_link" 18530 case "(($ac_try" in 18531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18532 *) ac_try_echo=$ac_try;; 18533 esac 18534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18535 $as_echo "$ac_try_echo") >&5 18536 (eval "$ac_link") 2>conftest.er1 18537 ac_status=$? 18538 grep -v '^ *+' conftest.er1 >conftest.err 18539 rm -f conftest.er1 18540 cat conftest.err >&5 18541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18542 (exit $ac_status); } && { 18543 test -z "$ac_cxx_werror_flag" || 18544 test ! -s conftest.err 18545 } && test -s conftest$ac_exeext && { 18546 test "$cross_compiling" = yes || 18547 $as_test_x conftest$ac_exeext 18548 }; then 18549 eval "$as_ac_var=yes" 18550 else 18551 $as_echo "$as_me: failed program was:" >&5 18552 sed 's/^/| /' conftest.$ac_ext >&5 18553 18554 eval "$as_ac_var=no" 18555 fi 18556 18557 rm -rf conftest.dSYM 18558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18559 conftest$ac_exeext conftest.$ac_ext 18560 fi 18561 ac_res=`eval 'as_val=${'$as_ac_var'} 18562 $as_echo "$as_val"'` 18563 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18564 $as_echo "$ac_res" >&6; } 18565 as_val=`eval 'as_val=${'$as_ac_var'} 18566 $as_echo "$as_val"'` 18567 if test "x$as_val" = x""yes; then 9903 #define HAVE_SWS_SCALE 1 9904 _ACEOF 9905 9906 fi 9907 done 9908 9909 for ac_func in url_close 9910 do : 9911 ac_fn_cxx_check_func "$LINENO" "url_close" "ac_cv_func_url_close" 9912 if test "x$ac_cv_func_url_close" = xyes; then : 18568 9913 cat >>confdefs.h <<_ACEOF 18569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18570 _ACEOF 18571 18572 fi 18573 done 18574 18575 18576 for ac_func in av_close_input_file 18577 do 18578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18579 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18580 $as_echo_n "checking for $ac_func... " >&6; } 18581 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18582 $as_echo_n "(cached) " >&6 18583 else 18584 cat >conftest.$ac_ext <<_ACEOF 18585 /* confdefs.h. */ 18586 _ACEOF 18587 cat confdefs.h >>conftest.$ac_ext 18588 cat >>conftest.$ac_ext <<_ACEOF 18589 /* end confdefs.h. */ 18590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18591 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18592 #define $ac_func innocuous_$ac_func 18593 18594 /* System header to define __stub macros and hopefully few prototypes, 18595 which can conflict with char $ac_func (); below. 18596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18597 <limits.h> exists even on freestanding compilers. */ 18598 18599 #ifdef __STDC__ 18600 # include <limits.h> 18601 #else 18602 # include <assert.h> 18603 #endif 18604 18605 #undef $ac_func 18606 18607 /* Override any GCC internal prototype to avoid an error. 18608 Use char because int might match the return type of a GCC 18609 builtin and then its argument prototype would still apply. */ 18610 #ifdef __cplusplus 18611 extern "C" 18612 #endif 18613 char $ac_func (); 18614 /* The GNU C library defines this for functions which it implements 18615 to always fail with ENOSYS. Some functions are actually named 18616 something starting with __ and the normal name is an alias. */ 18617 #if defined __stub_$ac_func || defined __stub___$ac_func 18618 choke me 18619 #endif 18620 18621 int 18622 main () 18623 { 18624 return $ac_func (); 18625 ; 18626 return 0; 18627 } 18628 _ACEOF 18629 rm -f conftest.$ac_objext conftest$ac_exeext 18630 if { (ac_try="$ac_link" 18631 case "(($ac_try" in 18632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18633 *) ac_try_echo=$ac_try;; 18634 esac 18635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18636 $as_echo "$ac_try_echo") >&5 18637 (eval "$ac_link") 2>conftest.er1 18638 ac_status=$? 18639 grep -v '^ *+' conftest.er1 >conftest.err 18640 rm -f conftest.er1 18641 cat conftest.err >&5 18642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18643 (exit $ac_status); } && { 18644 test -z "$ac_cxx_werror_flag" || 18645 test ! -s conftest.err 18646 } && test -s conftest$ac_exeext && { 18647 test "$cross_compiling" = yes || 18648 $as_test_x conftest$ac_exeext 18649 }; then 18650 eval "$as_ac_var=yes" 18651 else 18652 $as_echo "$as_me: failed program was:" >&5 18653 sed 's/^/| /' conftest.$ac_ext >&5 18654 18655 eval "$as_ac_var=no" 18656 fi 18657 18658 rm -rf conftest.dSYM 18659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18660 conftest$ac_exeext conftest.$ac_ext 18661 fi 18662 ac_res=`eval 'as_val=${'$as_ac_var'} 18663 $as_echo "$as_val"'` 18664 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18665 $as_echo "$ac_res" >&6; } 18666 as_val=`eval 'as_val=${'$as_ac_var'} 18667 $as_echo "$as_val"'` 18668 if test "x$as_val" = x""yes; then 9914 #define HAVE_URL_CLOSE 1 9915 _ACEOF 9916 9917 fi 9918 done 9919 9920 for ac_func in av_close_input_file 9921 do : 9922 ac_fn_cxx_check_func "$LINENO" "av_close_input_file" "ac_cv_func_av_close_input_file" 9923 if test "x$ac_cv_func_av_close_input_file" = xyes; then : 18669 9924 cat >>confdefs.h <<_ACEOF 18670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18671 _ACEOF 18672 18673 fi 18674 done 18675 18676 18677 for ac_func in avformat_close_input 18678 do 18679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18680 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18681 $as_echo_n "checking for $ac_func... " >&6; } 18682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18683 $as_echo_n "(cached) " >&6 18684 else 18685 cat >conftest.$ac_ext <<_ACEOF 18686 /* confdefs.h. */ 18687 _ACEOF 18688 cat confdefs.h >>conftest.$ac_ext 18689 cat >>conftest.$ac_ext <<_ACEOF 18690 /* end confdefs.h. */ 18691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18692 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18693 #define $ac_func innocuous_$ac_func 18694 18695 /* System header to define __stub macros and hopefully few prototypes, 18696 which can conflict with char $ac_func (); below. 18697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18698 <limits.h> exists even on freestanding compilers. */ 18699 18700 #ifdef __STDC__ 18701 # include <limits.h> 18702 #else 18703 # include <assert.h> 18704 #endif 18705 18706 #undef $ac_func 18707 18708 /* Override any GCC internal prototype to avoid an error. 18709 Use char because int might match the return type of a GCC 18710 builtin and then its argument prototype would still apply. */ 18711 #ifdef __cplusplus 18712 extern "C" 18713 #endif 18714 char $ac_func (); 18715 /* The GNU C library defines this for functions which it implements 18716 to always fail with ENOSYS. Some functions are actually named 18717 something starting with __ and the normal name is an alias. */ 18718 #if defined __stub_$ac_func || defined __stub___$ac_func 18719 choke me 18720 #endif 18721 18722 int 18723 main () 18724 { 18725 return $ac_func (); 18726 ; 18727 return 0; 18728 } 18729 _ACEOF 18730 rm -f conftest.$ac_objext conftest$ac_exeext 18731 if { (ac_try="$ac_link" 18732 case "(($ac_try" in 18733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18734 *) ac_try_echo=$ac_try;; 18735 esac 18736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18737 $as_echo "$ac_try_echo") >&5 18738 (eval "$ac_link") 2>conftest.er1 18739 ac_status=$? 18740 grep -v '^ *+' conftest.er1 >conftest.err 18741 rm -f conftest.er1 18742 cat conftest.err >&5 18743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18744 (exit $ac_status); } && { 18745 test -z "$ac_cxx_werror_flag" || 18746 test ! -s conftest.err 18747 } && test -s conftest$ac_exeext && { 18748 test "$cross_compiling" = yes || 18749 $as_test_x conftest$ac_exeext 18750 }; then 18751 eval "$as_ac_var=yes" 18752 else 18753 $as_echo "$as_me: failed program was:" >&5 18754 sed 's/^/| /' conftest.$ac_ext >&5 18755 18756 eval "$as_ac_var=no" 18757 fi 18758 18759 rm -rf conftest.dSYM 18760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18761 conftest$ac_exeext conftest.$ac_ext 18762 fi 18763 ac_res=`eval 'as_val=${'$as_ac_var'} 18764 $as_echo "$as_val"'` 18765 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18766 $as_echo "$ac_res" >&6; } 18767 as_val=`eval 'as_val=${'$as_ac_var'} 18768 $as_echo "$as_val"'` 18769 if test "x$as_val" = x""yes; then 9925 #define HAVE_AV_CLOSE_INPUT_FILE 1 9926 _ACEOF 9927 9928 fi 9929 done 9930 9931 for ac_func in avformat_close_input 9932 do : 9933 ac_fn_cxx_check_func "$LINENO" "avformat_close_input" "ac_cv_func_avformat_close_input" 9934 if test "x$ac_cv_func_avformat_close_input" = xyes; then : 18770 9935 cat >>confdefs.h <<_ACEOF 18771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18772 _ACEOF 18773 18774 fi 18775 done 18776 18777 18778 { $as_echo "$as_me:$LINENO: checking for avcodec_find_decoder" >&5 18779 $as_echo_n "checking for avcodec_find_decoder... " >&6; } 18780 if test "${ac_cv_func_avcodec_find_decoder+set}" = set; then 18781 $as_echo_n "(cached) " >&6 18782 else 18783 cat >conftest.$ac_ext <<_ACEOF 18784 /* confdefs.h. */ 18785 _ACEOF 18786 cat confdefs.h >>conftest.$ac_ext 18787 cat >>conftest.$ac_ext <<_ACEOF 18788 /* end confdefs.h. */ 18789 /* Define avcodec_find_decoder to an innocuous variant, in case <limits.h> declares avcodec_find_decoder. 18790 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18791 #define avcodec_find_decoder innocuous_avcodec_find_decoder 18792 18793 /* System header to define __stub macros and hopefully few prototypes, 18794 which can conflict with char avcodec_find_decoder (); below. 18795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18796 <limits.h> exists even on freestanding compilers. */ 18797 18798 #ifdef __STDC__ 18799 # include <limits.h> 18800 #else 18801 # include <assert.h> 18802 #endif 18803 18804 #undef avcodec_find_decoder 18805 18806 /* Override any GCC internal prototype to avoid an error. 18807 Use char because int might match the return type of a GCC 18808 builtin and then its argument prototype would still apply. */ 18809 #ifdef __cplusplus 18810 extern "C" 18811 #endif 18812 char avcodec_find_decoder (); 18813 /* The GNU C library defines this for functions which it implements 18814 to always fail with ENOSYS. Some functions are actually named 18815 something starting with __ and the normal name is an alias. */ 18816 #if defined __stub_avcodec_find_decoder || defined __stub___avcodec_find_decoder 18817 choke me 18818 #endif 18819 18820 int 18821 main () 18822 { 18823 return avcodec_find_decoder (); 18824 ; 18825 return 0; 18826 } 18827 _ACEOF 18828 rm -f conftest.$ac_objext conftest$ac_exeext 18829 if { (ac_try="$ac_link" 18830 case "(($ac_try" in 18831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18832 *) ac_try_echo=$ac_try;; 18833 esac 18834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18835 $as_echo "$ac_try_echo") >&5 18836 (eval "$ac_link") 2>conftest.er1 18837 ac_status=$? 18838 grep -v '^ *+' conftest.er1 >conftest.err 18839 rm -f conftest.er1 18840 cat conftest.err >&5 18841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18842 (exit $ac_status); } && { 18843 test -z "$ac_cxx_werror_flag" || 18844 test ! -s conftest.err 18845 } && test -s conftest$ac_exeext && { 18846 test "$cross_compiling" = yes || 18847 $as_test_x conftest$ac_exeext 18848 }; then 18849 ac_cv_func_avcodec_find_decoder=yes 18850 else 18851 $as_echo "$as_me: failed program was:" >&5 18852 sed 's/^/| /' conftest.$ac_ext >&5 18853 18854 ac_cv_func_avcodec_find_decoder=no 18855 fi 18856 18857 rm -rf conftest.dSYM 18858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18859 conftest$ac_exeext conftest.$ac_ext 18860 fi 18861 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_find_decoder" >&5 18862 $as_echo "$ac_cv_func_avcodec_find_decoder" >&6; } 18863 if test "x$ac_cv_func_avcodec_find_decoder" = x""yes; then 18864 : 18865 else 18866 { { $as_echo "$as_me:$LINENO: error: oops! no av_codec_find_decoder ?!?" >&5 18867 $as_echo "$as_me: error: oops! no av_codec_find_decoder ?!?" >&2;} 18868 { (exit 1); exit 1; }; } 18869 fi 18870 18871 { $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame" >&5 18872 $as_echo_n "checking for avcodec_alloc_frame... " >&6; } 18873 if test "${ac_cv_func_avcodec_alloc_frame+set}" = set; then 18874 $as_echo_n "(cached) " >&6 18875 else 18876 cat >conftest.$ac_ext <<_ACEOF 18877 /* confdefs.h. */ 18878 _ACEOF 18879 cat confdefs.h >>conftest.$ac_ext 18880 cat >>conftest.$ac_ext <<_ACEOF 18881 /* end confdefs.h. */ 18882 /* Define avcodec_alloc_frame to an innocuous variant, in case <limits.h> declares avcodec_alloc_frame. 18883 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18884 #define avcodec_alloc_frame innocuous_avcodec_alloc_frame 18885 18886 /* System header to define __stub macros and hopefully few prototypes, 18887 which can conflict with char avcodec_alloc_frame (); below. 18888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18889 <limits.h> exists even on freestanding compilers. */ 18890 18891 #ifdef __STDC__ 18892 # include <limits.h> 18893 #else 18894 # include <assert.h> 18895 #endif 18896 18897 #undef avcodec_alloc_frame 18898 18899 /* Override any GCC internal prototype to avoid an error. 18900 Use char because int might match the return type of a GCC 18901 builtin and then its argument prototype would still apply. */ 18902 #ifdef __cplusplus 18903 extern "C" 18904 #endif 18905 char avcodec_alloc_frame (); 18906 /* The GNU C library defines this for functions which it implements 18907 to always fail with ENOSYS. Some functions are actually named 18908 something starting with __ and the normal name is an alias. */ 18909 #if defined __stub_avcodec_alloc_frame || defined __stub___avcodec_alloc_frame 18910 choke me 18911 #endif 18912 18913 int 18914 main () 18915 { 18916 return avcodec_alloc_frame (); 18917 ; 18918 return 0; 18919 } 18920 _ACEOF 18921 rm -f conftest.$ac_objext conftest$ac_exeext 18922 if { (ac_try="$ac_link" 18923 case "(($ac_try" in 18924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18925 *) ac_try_echo=$ac_try;; 18926 esac 18927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18928 $as_echo "$ac_try_echo") >&5 18929 (eval "$ac_link") 2>conftest.er1 18930 ac_status=$? 18931 grep -v '^ *+' conftest.er1 >conftest.err 18932 rm -f conftest.er1 18933 cat conftest.err >&5 18934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18935 (exit $ac_status); } && { 18936 test -z "$ac_cxx_werror_flag" || 18937 test ! -s conftest.err 18938 } && test -s conftest$ac_exeext && { 18939 test "$cross_compiling" = yes || 18940 $as_test_x conftest$ac_exeext 18941 }; then 18942 ac_cv_func_avcodec_alloc_frame=yes 18943 else 18944 $as_echo "$as_me: failed program was:" >&5 18945 sed 's/^/| /' conftest.$ac_ext >&5 18946 18947 ac_cv_func_avcodec_alloc_frame=no 18948 fi 18949 18950 rm -rf conftest.dSYM 18951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18952 conftest$ac_exeext conftest.$ac_ext 18953 fi 18954 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_alloc_frame" >&5 18955 $as_echo "$ac_cv_func_avcodec_alloc_frame" >&6; } 18956 if test "x$ac_cv_func_avcodec_alloc_frame" = x""yes; then 18957 : 18958 else 18959 { { $as_echo "$as_me:$LINENO: error: oops! no avcode_alloc_frame ?!?" >&5 18960 $as_echo "$as_me: error: oops! no avcode_alloc_frame ?!?" >&2;} 18961 { (exit 1); exit 1; }; } 18962 fi 18963 18964 { $as_echo "$as_me:$LINENO: checking for av_rescale_q" >&5 18965 $as_echo_n "checking for av_rescale_q... " >&6; } 18966 if test "${ac_cv_func_av_rescale_q+set}" = set; then 18967 $as_echo_n "(cached) " >&6 18968 else 18969 cat >conftest.$ac_ext <<_ACEOF 18970 /* confdefs.h. */ 18971 _ACEOF 18972 cat confdefs.h >>conftest.$ac_ext 18973 cat >>conftest.$ac_ext <<_ACEOF 18974 /* end confdefs.h. */ 18975 /* Define av_rescale_q to an innocuous variant, in case <limits.h> declares av_rescale_q. 18976 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18977 #define av_rescale_q innocuous_av_rescale_q 18978 18979 /* System header to define __stub macros and hopefully few prototypes, 18980 which can conflict with char av_rescale_q (); below. 18981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18982 <limits.h> exists even on freestanding compilers. */ 18983 18984 #ifdef __STDC__ 18985 # include <limits.h> 18986 #else 18987 # include <assert.h> 18988 #endif 18989 18990 #undef av_rescale_q 18991 18992 /* Override any GCC internal prototype to avoid an error. 18993 Use char because int might match the return type of a GCC 18994 builtin and then its argument prototype would still apply. */ 18995 #ifdef __cplusplus 18996 extern "C" 18997 #endif 18998 char av_rescale_q (); 18999 /* The GNU C library defines this for functions which it implements 19000 to always fail with ENOSYS. Some functions are actually named 19001 something starting with __ and the normal name is an alias. */ 19002 #if defined __stub_av_rescale_q || defined __stub___av_rescale_q 19003 choke me 19004 #endif 19005 19006 int 19007 main () 19008 { 19009 return av_rescale_q (); 19010 ; 19011 return 0; 19012 } 19013 _ACEOF 19014 rm -f conftest.$ac_objext conftest$ac_exeext 19015 if { (ac_try="$ac_link" 19016 case "(($ac_try" in 19017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19018 *) ac_try_echo=$ac_try;; 19019 esac 19020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19021 $as_echo "$ac_try_echo") >&5 19022 (eval "$ac_link") 2>conftest.er1 19023 ac_status=$? 19024 grep -v '^ *+' conftest.er1 >conftest.err 19025 rm -f conftest.er1 19026 cat conftest.err >&5 19027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19028 (exit $ac_status); } && { 19029 test -z "$ac_cxx_werror_flag" || 19030 test ! -s conftest.err 19031 } && test -s conftest$ac_exeext && { 19032 test "$cross_compiling" = yes || 19033 $as_test_x conftest$ac_exeext 19034 }; then 19035 ac_cv_func_av_rescale_q=yes 19036 else 19037 $as_echo "$as_me: failed program was:" >&5 19038 sed 's/^/| /' conftest.$ac_ext >&5 19039 19040 ac_cv_func_av_rescale_q=no 19041 fi 19042 19043 rm -rf conftest.dSYM 19044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19045 conftest$ac_exeext conftest.$ac_ext 19046 fi 19047 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_rescale_q" >&5 19048 $as_echo "$ac_cv_func_av_rescale_q" >&6; } 19049 if test "x$ac_cv_func_av_rescale_q" = x""yes; then 19050 : 19051 else 19052 { { $as_echo "$as_me:$LINENO: error: oops! no av_rescale_q ?!?" >&5 19053 $as_echo "$as_me: error: oops! no av_rescale_q ?!?" >&2;} 19054 { (exit 1); exit 1; }; } 19055 fi 19056 19057 { $as_echo "$as_me:$LINENO: checking for av_read_frame" >&5 19058 $as_echo_n "checking for av_read_frame... " >&6; } 19059 if test "${ac_cv_func_av_read_frame+set}" = set; then 19060 $as_echo_n "(cached) " >&6 19061 else 19062 cat >conftest.$ac_ext <<_ACEOF 19063 /* confdefs.h. */ 19064 _ACEOF 19065 cat confdefs.h >>conftest.$ac_ext 19066 cat >>conftest.$ac_ext <<_ACEOF 19067 /* end confdefs.h. */ 19068 /* Define av_read_frame to an innocuous variant, in case <limits.h> declares av_read_frame. 19069 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19070 #define av_read_frame innocuous_av_read_frame 19071 19072 /* System header to define __stub macros and hopefully few prototypes, 19073 which can conflict with char av_read_frame (); below. 19074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19075 <limits.h> exists even on freestanding compilers. */ 19076 19077 #ifdef __STDC__ 19078 # include <limits.h> 19079 #else 19080 # include <assert.h> 19081 #endif 19082 19083 #undef av_read_frame 19084 19085 /* Override any GCC internal prototype to avoid an error. 19086 Use char because int might match the return type of a GCC 19087 builtin and then its argument prototype would still apply. */ 19088 #ifdef __cplusplus 19089 extern "C" 19090 #endif 19091 char av_read_frame (); 19092 /* The GNU C library defines this for functions which it implements 19093 to always fail with ENOSYS. Some functions are actually named 19094 something starting with __ and the normal name is an alias. */ 19095 #if defined __stub_av_read_frame || defined __stub___av_read_frame 19096 choke me 19097 #endif 19098 19099 int 19100 main () 19101 { 19102 return av_read_frame (); 19103 ; 19104 return 0; 19105 } 19106 _ACEOF 19107 rm -f conftest.$ac_objext conftest$ac_exeext 19108 if { (ac_try="$ac_link" 19109 case "(($ac_try" in 19110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19111 *) ac_try_echo=$ac_try;; 19112 esac 19113 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19114 $as_echo "$ac_try_echo") >&5 19115 (eval "$ac_link") 2>conftest.er1 19116 ac_status=$? 19117 grep -v '^ *+' conftest.er1 >conftest.err 19118 rm -f conftest.er1 19119 cat conftest.err >&5 19120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19121 (exit $ac_status); } && { 19122 test -z "$ac_cxx_werror_flag" || 19123 test ! -s conftest.err 19124 } && test -s conftest$ac_exeext && { 19125 test "$cross_compiling" = yes || 19126 $as_test_x conftest$ac_exeext 19127 }; then 19128 ac_cv_func_av_read_frame=yes 19129 else 19130 $as_echo "$as_me: failed program was:" >&5 19131 sed 's/^/| /' conftest.$ac_ext >&5 19132 19133 ac_cv_func_av_read_frame=no 19134 fi 19135 19136 rm -rf conftest.dSYM 19137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19138 conftest$ac_exeext conftest.$ac_ext 19139 fi 19140 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_read_frame" >&5 19141 $as_echo "$ac_cv_func_av_read_frame" >&6; } 19142 if test "x$ac_cv_func_av_read_frame" = x""yes; then 19143 : 19144 else 19145 { { $as_echo "$as_me:$LINENO: error: oops! av_read_frame ?!?" >&5 19146 $as_echo "$as_me: error: oops! av_read_frame ?!?" >&2;} 19147 { (exit 1); exit 1; }; } 19148 fi 19149 19150 { $as_echo "$as_me:$LINENO: checking for av_free" >&5 19151 $as_echo_n "checking for av_free... " >&6; } 19152 if test "${ac_cv_func_av_free+set}" = set; then 19153 $as_echo_n "(cached) " >&6 19154 else 19155 cat >conftest.$ac_ext <<_ACEOF 19156 /* confdefs.h. */ 19157 _ACEOF 19158 cat confdefs.h >>conftest.$ac_ext 19159 cat >>conftest.$ac_ext <<_ACEOF 19160 /* end confdefs.h. */ 19161 /* Define av_free to an innocuous variant, in case <limits.h> declares av_free. 19162 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19163 #define av_free innocuous_av_free 19164 19165 /* System header to define __stub macros and hopefully few prototypes, 19166 which can conflict with char av_free (); below. 19167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19168 <limits.h> exists even on freestanding compilers. */ 19169 19170 #ifdef __STDC__ 19171 # include <limits.h> 19172 #else 19173 # include <assert.h> 19174 #endif 19175 19176 #undef av_free 19177 19178 /* Override any GCC internal prototype to avoid an error. 19179 Use char because int might match the return type of a GCC 19180 builtin and then its argument prototype would still apply. */ 19181 #ifdef __cplusplus 19182 extern "C" 19183 #endif 19184 char av_free (); 19185 /* The GNU C library defines this for functions which it implements 19186 to always fail with ENOSYS. Some functions are actually named 19187 something starting with __ and the normal name is an alias. */ 19188 #if defined __stub_av_free || defined __stub___av_free 19189 choke me 19190 #endif 19191 19192 int 19193 main () 19194 { 19195 return av_free (); 19196 ; 19197 return 0; 19198 } 19199 _ACEOF 19200 rm -f conftest.$ac_objext conftest$ac_exeext 19201 if { (ac_try="$ac_link" 19202 case "(($ac_try" in 19203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19204 *) ac_try_echo=$ac_try;; 19205 esac 19206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19207 $as_echo "$ac_try_echo") >&5 19208 (eval "$ac_link") 2>conftest.er1 19209 ac_status=$? 19210 grep -v '^ *+' conftest.er1 >conftest.err 19211 rm -f conftest.er1 19212 cat conftest.err >&5 19213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19214 (exit $ac_status); } && { 19215 test -z "$ac_cxx_werror_flag" || 19216 test ! -s conftest.err 19217 } && test -s conftest$ac_exeext && { 19218 test "$cross_compiling" = yes || 19219 $as_test_x conftest$ac_exeext 19220 }; then 19221 ac_cv_func_av_free=yes 19222 else 19223 $as_echo "$as_me: failed program was:" >&5 19224 sed 's/^/| /' conftest.$ac_ext >&5 19225 19226 ac_cv_func_av_free=no 19227 fi 19228 19229 rm -rf conftest.dSYM 19230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19231 conftest$ac_exeext conftest.$ac_ext 19232 fi 19233 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_free" >&5 19234 $as_echo "$ac_cv_func_av_free" >&6; } 19235 if test "x$ac_cv_func_av_free" = x""yes; then 19236 : 19237 else 19238 { { $as_echo "$as_me:$LINENO: error: oops! no av_frame ?!?" >&5 19239 $as_echo "$as_me: error: oops! no av_frame ?!?" >&2;} 19240 { (exit 1); exit 1; }; } 19241 fi 19242 19243 { $as_echo "$as_me:$LINENO: checking for avcodec_default_release_buffer" >&5 19244 $as_echo_n "checking for avcodec_default_release_buffer... " >&6; } 19245 if test "${ac_cv_func_avcodec_default_release_buffer+set}" = set; then 19246 $as_echo_n "(cached) " >&6 19247 else 19248 cat >conftest.$ac_ext <<_ACEOF 19249 /* confdefs.h. */ 19250 _ACEOF 19251 cat confdefs.h >>conftest.$ac_ext 19252 cat >>conftest.$ac_ext <<_ACEOF 19253 /* end confdefs.h. */ 19254 /* Define avcodec_default_release_buffer to an innocuous variant, in case <limits.h> declares avcodec_default_release_buffer. 19255 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19256 #define avcodec_default_release_buffer innocuous_avcodec_default_release_buffer 19257 19258 /* System header to define __stub macros and hopefully few prototypes, 19259 which can conflict with char avcodec_default_release_buffer (); below. 19260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19261 <limits.h> exists even on freestanding compilers. */ 19262 19263 #ifdef __STDC__ 19264 # include <limits.h> 19265 #else 19266 # include <assert.h> 19267 #endif 19268 19269 #undef avcodec_default_release_buffer 19270 19271 /* Override any GCC internal prototype to avoid an error. 19272 Use char because int might match the return type of a GCC 19273 builtin and then its argument prototype would still apply. */ 19274 #ifdef __cplusplus 19275 extern "C" 19276 #endif 19277 char avcodec_default_release_buffer (); 19278 /* The GNU C library defines this for functions which it implements 19279 to always fail with ENOSYS. Some functions are actually named 19280 something starting with __ and the normal name is an alias. */ 19281 #if defined __stub_avcodec_default_release_buffer || defined __stub___avcodec_default_release_buffer 19282 choke me 19283 #endif 19284 19285 int 19286 main () 19287 { 19288 return avcodec_default_release_buffer (); 19289 ; 19290 return 0; 19291 } 19292 _ACEOF 19293 rm -f conftest.$ac_objext conftest$ac_exeext 19294 if { (ac_try="$ac_link" 19295 case "(($ac_try" in 19296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19297 *) ac_try_echo=$ac_try;; 19298 esac 19299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19300 $as_echo "$ac_try_echo") >&5 19301 (eval "$ac_link") 2>conftest.er1 19302 ac_status=$? 19303 grep -v '^ *+' conftest.er1 >conftest.err 19304 rm -f conftest.er1 19305 cat conftest.err >&5 19306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19307 (exit $ac_status); } && { 19308 test -z "$ac_cxx_werror_flag" || 19309 test ! -s conftest.err 19310 } && test -s conftest$ac_exeext && { 19311 test "$cross_compiling" = yes || 19312 $as_test_x conftest$ac_exeext 19313 }; then 19314 ac_cv_func_avcodec_default_release_buffer=yes 19315 else 19316 $as_echo "$as_me: failed program was:" >&5 19317 sed 's/^/| /' conftest.$ac_ext >&5 19318 19319 ac_cv_func_avcodec_default_release_buffer=no 19320 fi 19321 19322 rm -rf conftest.dSYM 19323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19324 conftest$ac_exeext conftest.$ac_ext 19325 fi 19326 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_default_release_buffer" >&5 19327 $as_echo "$ac_cv_func_avcodec_default_release_buffer" >&6; } 19328 if test "x$ac_cv_func_avcodec_default_release_buffer" = x""yes; then 19329 : 19330 else 19331 { { $as_echo "$as_me:$LINENO: error: oops! no avcode_default_release_buffer ?!?" >&5 19332 $as_echo "$as_me: error: oops! no avcode_default_release_buffer ?!?" >&2;} 19333 { (exit 1); exit 1; }; } 19334 fi 19335 19336 { $as_echo "$as_me:$LINENO: checking for avpicture_get_size" >&5 19337 $as_echo_n "checking for avpicture_get_size... " >&6; } 19338 if test "${ac_cv_func_avpicture_get_size+set}" = set; then 19339 $as_echo_n "(cached) " >&6 19340 else 19341 cat >conftest.$ac_ext <<_ACEOF 19342 /* confdefs.h. */ 19343 _ACEOF 19344 cat confdefs.h >>conftest.$ac_ext 19345 cat >>conftest.$ac_ext <<_ACEOF 19346 /* end confdefs.h. */ 19347 /* Define avpicture_get_size to an innocuous variant, in case <limits.h> declares avpicture_get_size. 19348 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19349 #define avpicture_get_size innocuous_avpicture_get_size 19350 19351 /* System header to define __stub macros and hopefully few prototypes, 19352 which can conflict with char avpicture_get_size (); below. 19353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19354 <limits.h> exists even on freestanding compilers. */ 19355 19356 #ifdef __STDC__ 19357 # include <limits.h> 19358 #else 19359 # include <assert.h> 19360 #endif 19361 19362 #undef avpicture_get_size 19363 19364 /* Override any GCC internal prototype to avoid an error. 19365 Use char because int might match the return type of a GCC 19366 builtin and then its argument prototype would still apply. */ 19367 #ifdef __cplusplus 19368 extern "C" 19369 #endif 19370 char avpicture_get_size (); 19371 /* The GNU C library defines this for functions which it implements 19372 to always fail with ENOSYS. Some functions are actually named 19373 something starting with __ and the normal name is an alias. */ 19374 #if defined __stub_avpicture_get_size || defined __stub___avpicture_get_size 19375 choke me 19376 #endif 19377 19378 int 19379 main () 19380 { 19381 return avpicture_get_size (); 19382 ; 19383 return 0; 19384 } 19385 _ACEOF 19386 rm -f conftest.$ac_objext conftest$ac_exeext 19387 if { (ac_try="$ac_link" 19388 case "(($ac_try" in 19389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19390 *) ac_try_echo=$ac_try;; 19391 esac 19392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19393 $as_echo "$ac_try_echo") >&5 19394 (eval "$ac_link") 2>conftest.er1 19395 ac_status=$? 19396 grep -v '^ *+' conftest.er1 >conftest.err 19397 rm -f conftest.er1 19398 cat conftest.err >&5 19399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19400 (exit $ac_status); } && { 19401 test -z "$ac_cxx_werror_flag" || 19402 test ! -s conftest.err 19403 } && test -s conftest$ac_exeext && { 19404 test "$cross_compiling" = yes || 19405 $as_test_x conftest$ac_exeext 19406 }; then 19407 ac_cv_func_avpicture_get_size=yes 19408 else 19409 $as_echo "$as_me: failed program was:" >&5 19410 sed 's/^/| /' conftest.$ac_ext >&5 19411 19412 ac_cv_func_avpicture_get_size=no 19413 fi 19414 19415 rm -rf conftest.dSYM 19416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19417 conftest$ac_exeext conftest.$ac_ext 19418 fi 19419 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avpicture_get_size" >&5 19420 $as_echo "$ac_cv_func_avpicture_get_size" >&6; } 19421 if test "x$ac_cv_func_avpicture_get_size" = x""yes; then 19422 : 19423 else 19424 { { $as_echo "$as_me:$LINENO: error: oops! no avpicture_get_size ?!?" >&5 19425 $as_echo "$as_me: error: oops! no avpicture_get_size ?!?" >&2;} 19426 { (exit 1); exit 1; }; } 19427 fi 19428 19429 { $as_echo "$as_me:$LINENO: checking for avpicture_fill" >&5 19430 $as_echo_n "checking for avpicture_fill... " >&6; } 19431 if test "${ac_cv_func_avpicture_fill+set}" = set; then 19432 $as_echo_n "(cached) " >&6 19433 else 19434 cat >conftest.$ac_ext <<_ACEOF 19435 /* confdefs.h. */ 19436 _ACEOF 19437 cat confdefs.h >>conftest.$ac_ext 19438 cat >>conftest.$ac_ext <<_ACEOF 19439 /* end confdefs.h. */ 19440 /* Define avpicture_fill to an innocuous variant, in case <limits.h> declares avpicture_fill. 19441 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19442 #define avpicture_fill innocuous_avpicture_fill 19443 19444 /* System header to define __stub macros and hopefully few prototypes, 19445 which can conflict with char avpicture_fill (); below. 19446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19447 <limits.h> exists even on freestanding compilers. */ 19448 19449 #ifdef __STDC__ 19450 # include <limits.h> 19451 #else 19452 # include <assert.h> 19453 #endif 19454 19455 #undef avpicture_fill 19456 19457 /* Override any GCC internal prototype to avoid an error. 19458 Use char because int might match the return type of a GCC 19459 builtin and then its argument prototype would still apply. */ 19460 #ifdef __cplusplus 19461 extern "C" 19462 #endif 19463 char avpicture_fill (); 19464 /* The GNU C library defines this for functions which it implements 19465 to always fail with ENOSYS. Some functions are actually named 19466 something starting with __ and the normal name is an alias. */ 19467 #if defined __stub_avpicture_fill || defined __stub___avpicture_fill 19468 choke me 19469 #endif 19470 19471 int 19472 main () 19473 { 19474 return avpicture_fill (); 19475 ; 19476 return 0; 19477 } 19478 _ACEOF 19479 rm -f conftest.$ac_objext conftest$ac_exeext 19480 if { (ac_try="$ac_link" 19481 case "(($ac_try" in 19482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19483 *) ac_try_echo=$ac_try;; 19484 esac 19485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19486 $as_echo "$ac_try_echo") >&5 19487 (eval "$ac_link") 2>conftest.er1 19488 ac_status=$? 19489 grep -v '^ *+' conftest.er1 >conftest.err 19490 rm -f conftest.er1 19491 cat conftest.err >&5 19492 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19493 (exit $ac_status); } && { 19494 test -z "$ac_cxx_werror_flag" || 19495 test ! -s conftest.err 19496 } && test -s conftest$ac_exeext && { 19497 test "$cross_compiling" = yes || 19498 $as_test_x conftest$ac_exeext 19499 }; then 19500 ac_cv_func_avpicture_fill=yes 19501 else 19502 $as_echo "$as_me: failed program was:" >&5 19503 sed 's/^/| /' conftest.$ac_ext >&5 19504 19505 ac_cv_func_avpicture_fill=no 19506 fi 19507 19508 rm -rf conftest.dSYM 19509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19510 conftest$ac_exeext conftest.$ac_ext 19511 fi 19512 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avpicture_fill" >&5 19513 $as_echo "$ac_cv_func_avpicture_fill" >&6; } 19514 if test "x$ac_cv_func_avpicture_fill" = x""yes; then 19515 : 19516 else 19517 { { $as_echo "$as_me:$LINENO: error: oops! no avpicture_fill ?!?" >&5 19518 $as_echo "$as_me: error: oops! no avpicture_fill ?!?" >&2;} 19519 { (exit 1); exit 1; }; } 19520 fi 19521 19522 19523 for ac_func in sws_getCachedContext 19524 do 19525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19526 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19527 $as_echo_n "checking for $ac_func... " >&6; } 19528 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19529 $as_echo_n "(cached) " >&6 19530 else 19531 cat >conftest.$ac_ext <<_ACEOF 19532 /* confdefs.h. */ 19533 _ACEOF 19534 cat confdefs.h >>conftest.$ac_ext 19535 cat >>conftest.$ac_ext <<_ACEOF 19536 /* end confdefs.h. */ 19537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 19538 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19539 #define $ac_func innocuous_$ac_func 19540 19541 /* System header to define __stub macros and hopefully few prototypes, 19542 which can conflict with char $ac_func (); below. 19543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19544 <limits.h> exists even on freestanding compilers. */ 19545 19546 #ifdef __STDC__ 19547 # include <limits.h> 19548 #else 19549 # include <assert.h> 19550 #endif 19551 19552 #undef $ac_func 19553 19554 /* Override any GCC internal prototype to avoid an error. 19555 Use char because int might match the return type of a GCC 19556 builtin and then its argument prototype would still apply. */ 19557 #ifdef __cplusplus 19558 extern "C" 19559 #endif 19560 char $ac_func (); 19561 /* The GNU C library defines this for functions which it implements 19562 to always fail with ENOSYS. Some functions are actually named 19563 something starting with __ and the normal name is an alias. */ 19564 #if defined __stub_$ac_func || defined __stub___$ac_func 19565 choke me 19566 #endif 19567 19568 int 19569 main () 19570 { 19571 return $ac_func (); 19572 ; 19573 return 0; 19574 } 19575 _ACEOF 19576 rm -f conftest.$ac_objext conftest$ac_exeext 19577 if { (ac_try="$ac_link" 19578 case "(($ac_try" in 19579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19580 *) ac_try_echo=$ac_try;; 19581 esac 19582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19583 $as_echo "$ac_try_echo") >&5 19584 (eval "$ac_link") 2>conftest.er1 19585 ac_status=$? 19586 grep -v '^ *+' conftest.er1 >conftest.err 19587 rm -f conftest.er1 19588 cat conftest.err >&5 19589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19590 (exit $ac_status); } && { 19591 test -z "$ac_cxx_werror_flag" || 19592 test ! -s conftest.err 19593 } && test -s conftest$ac_exeext && { 19594 test "$cross_compiling" = yes || 19595 $as_test_x conftest$ac_exeext 19596 }; then 19597 eval "$as_ac_var=yes" 19598 else 19599 $as_echo "$as_me: failed program was:" >&5 19600 sed 's/^/| /' conftest.$ac_ext >&5 19601 19602 eval "$as_ac_var=no" 19603 fi 19604 19605 rm -rf conftest.dSYM 19606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19607 conftest$ac_exeext conftest.$ac_ext 19608 fi 19609 ac_res=`eval 'as_val=${'$as_ac_var'} 19610 $as_echo "$as_val"'` 19611 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19612 $as_echo "$ac_res" >&6; } 19613 as_val=`eval 'as_val=${'$as_ac_var'} 19614 $as_echo "$as_val"'` 19615 if test "x$as_val" = x""yes; then 9936 #define HAVE_AVFORMAT_CLOSE_INPUT 1 9937 _ACEOF 9938 9939 fi 9940 done 9941 9942 9943 ac_fn_cxx_check_func "$LINENO" "avcodec_find_decoder" "ac_cv_func_avcodec_find_decoder" 9944 if test "x$ac_cv_func_avcodec_find_decoder" = xyes; then : 9945 9946 else 9947 as_fn_error $? "oops! no av_codec_find_decoder ?!?" "$LINENO" 5 9948 fi 9949 9950 ac_fn_cxx_check_func "$LINENO" "avcodec_alloc_frame" "ac_cv_func_avcodec_alloc_frame" 9951 if test "x$ac_cv_func_avcodec_alloc_frame" = xyes; then : 9952 9953 else 9954 as_fn_error $? "oops! no avcode_alloc_frame ?!?" "$LINENO" 5 9955 fi 9956 9957 ac_fn_cxx_check_func "$LINENO" "av_rescale_q" "ac_cv_func_av_rescale_q" 9958 if test "x$ac_cv_func_av_rescale_q" = xyes; then : 9959 9960 else 9961 as_fn_error $? "oops! no av_rescale_q ?!?" "$LINENO" 5 9962 fi 9963 9964 ac_fn_cxx_check_func "$LINENO" "av_read_frame" "ac_cv_func_av_read_frame" 9965 if test "x$ac_cv_func_av_read_frame" = xyes; then : 9966 9967 else 9968 as_fn_error $? "oops! av_read_frame ?!?" "$LINENO" 5 9969 fi 9970 9971 ac_fn_cxx_check_func "$LINENO" "av_free" "ac_cv_func_av_free" 9972 if test "x$ac_cv_func_av_free" = xyes; then : 9973 9974 else 9975 as_fn_error $? "oops! no av_frame ?!?" "$LINENO" 5 9976 fi 9977 9978 ac_fn_cxx_check_func "$LINENO" "avcodec_default_release_buffer" "ac_cv_func_avcodec_default_release_buffer" 9979 if test "x$ac_cv_func_avcodec_default_release_buffer" = xyes; then : 9980 9981 else 9982 as_fn_error $? "oops! no avcode_default_release_buffer ?!?" "$LINENO" 5 9983 fi 9984 9985 ac_fn_cxx_check_func "$LINENO" "avpicture_get_size" "ac_cv_func_avpicture_get_size" 9986 if test "x$ac_cv_func_avpicture_get_size" = xyes; then : 9987 9988 else 9989 as_fn_error $? "oops! no avpicture_get_size ?!?" "$LINENO" 5 9990 fi 9991 9992 ac_fn_cxx_check_func "$LINENO" "avpicture_fill" "ac_cv_func_avpicture_fill" 9993 if test "x$ac_cv_func_avpicture_fill" = xyes; then : 9994 9995 else 9996 as_fn_error $? "oops! no avpicture_fill ?!?" "$LINENO" 5 9997 fi 9998 9999 for ac_func in sws_getCachedContext 10000 do : 10001 ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext" 10002 if test "x$ac_cv_func_sws_getCachedContext" = xyes; then : 19616 10003 cat >>confdefs.h <<_ACEOF 19617 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19618 _ACEOF 19619 19620 fi 19621 done 19622 19623 19624 for ac_func in img_convert 19625 do 19626 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19627 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19628 $as_echo_n "checking for $ac_func... " >&6; } 19629 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19630 $as_echo_n "(cached) " >&6 19631 else 19632 cat >conftest.$ac_ext <<_ACEOF 19633 /* confdefs.h. */ 19634 _ACEOF 19635 cat confdefs.h >>conftest.$ac_ext 19636 cat >>conftest.$ac_ext <<_ACEOF 19637 /* end confdefs.h. */ 19638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 19639 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19640 #define $ac_func innocuous_$ac_func 19641 19642 /* System header to define __stub macros and hopefully few prototypes, 19643 which can conflict with char $ac_func (); below. 19644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19645 <limits.h> exists even on freestanding compilers. */ 19646 19647 #ifdef __STDC__ 19648 # include <limits.h> 19649 #else 19650 # include <assert.h> 19651 #endif 19652 19653 #undef $ac_func 19654 19655 /* Override any GCC internal prototype to avoid an error. 19656 Use char because int might match the return type of a GCC 19657 builtin and then its argument prototype would still apply. */ 19658 #ifdef __cplusplus 19659 extern "C" 19660 #endif 19661 char $ac_func (); 19662 /* The GNU C library defines this for functions which it implements 19663 to always fail with ENOSYS. Some functions are actually named 19664 something starting with __ and the normal name is an alias. */ 19665 #if defined __stub_$ac_func || defined __stub___$ac_func 19666 choke me 19667 #endif 19668 19669 int 19670 main () 19671 { 19672 return $ac_func (); 19673 ; 19674 return 0; 19675 } 19676 _ACEOF 19677 rm -f conftest.$ac_objext conftest$ac_exeext 19678 if { (ac_try="$ac_link" 19679 case "(($ac_try" in 19680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19681 *) ac_try_echo=$ac_try;; 19682 esac 19683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19684 $as_echo "$ac_try_echo") >&5 19685 (eval "$ac_link") 2>conftest.er1 19686 ac_status=$? 19687 grep -v '^ *+' conftest.er1 >conftest.err 19688 rm -f conftest.er1 19689 cat conftest.err >&5 19690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19691 (exit $ac_status); } && { 19692 test -z "$ac_cxx_werror_flag" || 19693 test ! -s conftest.err 19694 } && test -s conftest$ac_exeext && { 19695 test "$cross_compiling" = yes || 19696 $as_test_x conftest$ac_exeext 19697 }; then 19698 eval "$as_ac_var=yes" 19699 else 19700 $as_echo "$as_me: failed program was:" >&5 19701 sed 's/^/| /' conftest.$ac_ext >&5 19702 19703 eval "$as_ac_var=no" 19704 fi 19705 19706 rm -rf conftest.dSYM 19707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19708 conftest$ac_exeext conftest.$ac_ext 19709 fi 19710 ac_res=`eval 'as_val=${'$as_ac_var'} 19711 $as_echo "$as_val"'` 19712 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19713 $as_echo "$ac_res" >&6; } 19714 as_val=`eval 'as_val=${'$as_ac_var'} 19715 $as_echo "$as_val"'` 19716 if test "x$as_val" = x""yes; then 10004 #define HAVE_SWS_GETCACHEDCONTEXT 1 10005 _ACEOF 10006 10007 fi 10008 done 10009 10010 for ac_func in img_convert 10011 do : 10012 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 10013 if test "x$ac_cv_func_img_convert" = xyes; then : 19717 10014 cat >>confdefs.h <<_ACEOF 19718 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19719 _ACEOF 19720 19721 fi 19722 done 19723 19724 19725 for ac_func in sws_scale 19726 do 19727 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19728 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19729 $as_echo_n "checking for $ac_func... " >&6; } 19730 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19731 $as_echo_n "(cached) " >&6 19732 else 19733 cat >conftest.$ac_ext <<_ACEOF 19734 /* confdefs.h. */ 19735 _ACEOF 19736 cat confdefs.h >>conftest.$ac_ext 19737 cat >>conftest.$ac_ext <<_ACEOF 19738 /* end confdefs.h. */ 19739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 19740 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19741 #define $ac_func innocuous_$ac_func 19742 19743 /* System header to define __stub macros and hopefully few prototypes, 19744 which can conflict with char $ac_func (); below. 19745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19746 <limits.h> exists even on freestanding compilers. */ 19747 19748 #ifdef __STDC__ 19749 # include <limits.h> 19750 #else 19751 # include <assert.h> 19752 #endif 19753 19754 #undef $ac_func 19755 19756 /* Override any GCC internal prototype to avoid an error. 19757 Use char because int might match the return type of a GCC 19758 builtin and then its argument prototype would still apply. */ 19759 #ifdef __cplusplus 19760 extern "C" 19761 #endif 19762 char $ac_func (); 19763 /* The GNU C library defines this for functions which it implements 19764 to always fail with ENOSYS. Some functions are actually named 19765 something starting with __ and the normal name is an alias. */ 19766 #if defined __stub_$ac_func || defined __stub___$ac_func 19767 choke me 19768 #endif 19769 19770 int 19771 main () 19772 { 19773 return $ac_func (); 19774 ; 19775 return 0; 19776 } 19777 _ACEOF 19778 rm -f conftest.$ac_objext conftest$ac_exeext 19779 if { (ac_try="$ac_link" 19780 case "(($ac_try" in 19781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19782 *) ac_try_echo=$ac_try;; 19783 esac 19784 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19785 $as_echo "$ac_try_echo") >&5 19786 (eval "$ac_link") 2>conftest.er1 19787 ac_status=$? 19788 grep -v '^ *+' conftest.er1 >conftest.err 19789 rm -f conftest.er1 19790 cat conftest.err >&5 19791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19792 (exit $ac_status); } && { 19793 test -z "$ac_cxx_werror_flag" || 19794 test ! -s conftest.err 19795 } && test -s conftest$ac_exeext && { 19796 test "$cross_compiling" = yes || 19797 $as_test_x conftest$ac_exeext 19798 }; then 19799 eval "$as_ac_var=yes" 19800 else 19801 $as_echo "$as_me: failed program was:" >&5 19802 sed 's/^/| /' conftest.$ac_ext >&5 19803 19804 eval "$as_ac_var=no" 19805 fi 19806 19807 rm -rf conftest.dSYM 19808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19809 conftest$ac_exeext conftest.$ac_ext 19810 fi 19811 ac_res=`eval 'as_val=${'$as_ac_var'} 19812 $as_echo "$as_val"'` 19813 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19814 $as_echo "$ac_res" >&6; } 19815 as_val=`eval 'as_val=${'$as_ac_var'} 19816 $as_echo "$as_val"'` 19817 if test "x$as_val" = x""yes; then 10015 #define HAVE_IMG_CONVERT 1 10016 _ACEOF 10017 10018 fi 10019 done 10020 10021 for ac_func in sws_scale 10022 do : 10023 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale" 10024 if test "x$ac_cv_func_sws_scale" = xyes; then : 19818 10025 cat >>confdefs.h <<_ACEOF 19819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19820 _ACEOF 19821 19822 fi 19823 done 19824 19825 cat >conftest.$ac_ext <<_ACEOF 19826 /* confdefs.h. */ 19827 _ACEOF 19828 cat confdefs.h >>conftest.$ac_ext 19829 cat >>conftest.$ac_ext <<_ACEOF 10026 #define HAVE_SWS_SCALE 1 10027 _ACEOF 10028 10029 fi 10030 done 10031 10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19830 10033 /* end confdefs.h. */ 19831 10034 … … 19848 10051 } 19849 10052 _ACEOF 19850 rm -f conftest.$ac_objext 19851 if { (ac_try="$ac_compile" 19852 case "(($ac_try" in 19853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19854 *) ac_try_echo=$ac_try;; 19855 esac 19856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19857 $as_echo "$ac_try_echo") >&5 19858 (eval "$ac_compile") 2>conftest.er1 19859 ac_status=$? 19860 grep -v '^ *+' conftest.er1 >conftest.err 19861 rm -f conftest.er1 19862 cat conftest.err >&5 19863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19864 (exit $ac_status); } && { 19865 test -z "$ac_cxx_werror_flag" || 19866 test ! -s conftest.err 19867 } && test -s conftest.$ac_objext; then 10053 if ac_fn_cxx_try_compile "$LINENO"; then : 19868 10054 ac_avmedia_type_video="yes" 19869 10055 else 19870 $as_echo "$as_me: failed program was:" >&5 19871 sed 's/^/| /' conftest.$ac_ext >&5 19872 19873 ac_avmedia_type_video="no" 19874 fi 19875 10056 ac_avmedia_type_video="no" 10057 fi 19876 10058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19877 10059 if test "$ac_avmedia_type_video" == "yes" ; then 19878 10060 19879 cat >>confdefs.h <<\_ACEOF 19880 #define HAVE_AVMEDIA_TYPE_VIDEO 1 19881 _ACEOF 10061 $as_echo "#define HAVE_AVMEDIA_TYPE_VIDEO 1" >>confdefs.h 19882 10062 19883 10063 fi … … 20005 10185 *${as_nl}*) 20006 10186 case $ac_var in #( 20007 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&510187 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 20008 10188 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 20009 10189 esac … … 20011 10191 _ | IFS | as_nl) ;; #( 20012 10192 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 20013 *) $as_unset $ac_var;;10193 *) { eval $ac_var=; unset $ac_var;} ;; 20014 10194 esac ;; 20015 10195 esac … … 20019 10199 case $as_nl`(ac_space=' '; set) 2>&1` in #( 20020 10200 *${as_nl}ac_space=\ *) 20021 # `set' does not quote correctly, so add quotes (double-quote20022 # substitution turns \\\\ into \\, and sed turns \\ into \ ).10201 # `set' does not quote correctly, so add quotes: double-quote 10202 # substitution turns \\\\ into \\, and sed turns \\ into \. 20023 10203 sed -n \ 20024 10204 "s/'/'\\\\''/g; … … 20042 10222 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 20043 10223 if test -w "$cache_file"; then 20044 test "x$cache_file" != "x/dev/null" &&20045 { $as_echo "$as_me:$ LINENO: updating cache $cache_file" >&510224 if test "x$cache_file" != "x/dev/null"; then 10225 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 20046 10226 $as_echo "$as_me: updating cache $cache_file" >&6;} 20047 cat confcache >$cache_file 10227 if test ! -f "$cache_file" || test -h "$cache_file"; then 10228 cat confcache >"$cache_file" 10229 else 10230 case $cache_file in #( 10231 */* | ?:*) 10232 mv -f confcache "$cache_file"$$ && 10233 mv -f "$cache_file"$$ "$cache_file" ;; #( 10234 *) 10235 mv -f confcache "$cache_file" ;; 10236 esac 10237 fi 10238 fi 20048 10239 else 20049 { $as_echo "$as_me:$ LINENO: not updating unwritable cache $cache_file" >&510240 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 20050 10241 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 20051 10242 fi … … 20061 10252 ac_libobjs= 20062 10253 ac_ltlibobjs= 10254 U= 20063 10255 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 20064 10256 # 1. Remove the extension, and $U if already installed. … … 20067 10259 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 20068 10260 # will be set to the directory where LIBOBJS objects are built. 20069 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"20070 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'10261 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 10262 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 20071 10263 done 20072 10264 LIBOBJS=$ac_libobjs … … 20077 10269 20078 10270 20079 : ${CONFIG_STATUS=./config.status}10271 : "${CONFIG_STATUS=./config.status}" 20080 10272 ac_write_fail=0 20081 10273 ac_clean_files_save=$ac_clean_files 20082 10274 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 20083 { $as_echo "$as_me:$ LINENO: creating $CONFIG_STATUS" >&510275 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 20084 10276 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 20085 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10277 as_write_fail=0 10278 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 20086 10279 #! $SHELL 20087 10280 # Generated by $as_me. … … 20093 10286 ac_cs_recheck=false 20094 10287 ac_cs_silent=false 10288 20095 10289 SHELL=\${CONFIG_SHELL-$SHELL} 20096 _ACEOF 20097 20098 cat >>$CONFIG_STATUS <<\_A CEOF || ac_write_fail=120099 ## -------------------- -##20100 ## M4sh Initialization. 20101 ## -------------------- -##10290 export SHELL 10291 _ASEOF 10292 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 10293 ## -------------------- ## 10294 ## M4sh Initialization. ## 10295 ## -------------------- ## 20102 10296 20103 10297 # Be more Bourne compatible 20104 10298 DUALCASE=1; export DUALCASE # for MKS sh 20105 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 10299 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20106 10300 emulate sh 20107 10301 NULLCMD=: … … 20111 10305 setopt NO_GLOB_SUBST 20112 10306 else 20113 case `(set -o) 2>/dev/null` in 20114 *posix*) set -o posix ;; 10307 case `(set -o) 2>/dev/null` in #( 10308 *posix*) : 10309 set -o posix ;; #( 10310 *) : 10311 ;; 20115 10312 esac 20116 20117 fi 20118 20119 20120 20121 20122 # PATH needs CR 20123 # Avoid depending upon Character Ranges. 20124 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 20125 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 20126 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 20127 as_cr_digits='0123456789' 20128 as_cr_alnum=$as_cr_Letters$as_cr_digits 10313 fi 10314 20129 10315 20130 10316 as_nl=' … … 20135 10321 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 20136 10322 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 20137 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 10323 # Prefer a ksh shell builtin over an external printf program on Solaris, 10324 # but without wasting forks for bash or zsh. 10325 if test -z "$BASH_VERSION$ZSH_VERSION" \ 10326 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 10327 as_echo='print -r --' 10328 as_echo_n='print -rn --' 10329 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 20138 10330 as_echo='printf %s\n' 20139 10331 as_echo_n='printf %s' … … 20146 10338 as_echo_n_body='eval 20147 10339 arg=$1; 20148 case $arg in 10340 case $arg in #( 20149 10341 *"$as_nl"*) 20150 10342 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 20169 10361 fi 20170 10362 20171 # Support unset when possible.20172 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then20173 as_unset=unset20174 else20175 as_unset=false20176 fi20177 20178 10363 20179 10364 # IFS … … 20185 10370 20186 10371 # Find who we are. Look in the path if we contain no directory separator. 20187 case $0 in 10372 as_myself= 10373 case $0 in #(( 20188 10374 *[\\/]* ) as_myself=$0 ;; 20189 10375 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 20192 10378 IFS=$as_save_IFS 20193 10379 test -z "$as_dir" && as_dir=. 20194 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break20195 done10380 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 10381 done 20196 10382 IFS=$as_save_IFS 20197 10383 … … 20205 10391 if test ! -f "$as_myself"; then 20206 10392 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 20207 { (exit 1); exit 1; } 20208 fi 20209 20210 # Work around bugs in pre-3.0 UWIN ksh. 20211 for as_var in ENV MAIL MAILPATH 20212 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 10393 exit 1 10394 fi 10395 10396 # Unset variables that we do not need and which cause bugs (e.g. in 10397 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 10398 # suppresses any "Segmentation fault" message there. '((' could 10399 # trigger a bug in pdksh 5.2.14. 10400 for as_var in BASH_ENV ENV MAIL MAILPATH 10401 do eval test x\${$as_var+set} = xset \ 10402 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 20213 10403 done 20214 10404 PS1='$ ' … … 20222 10412 export LANGUAGE 20223 10413 20224 # Required to use basename. 10414 # CDPATH. 10415 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 10416 10417 10418 # as_fn_error STATUS ERROR [LINENO LOG_FD] 10419 # ---------------------------------------- 10420 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 10421 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 10422 # script with STATUS, using 1 if that was 0. 10423 as_fn_error () 10424 { 10425 as_status=$1; test $as_status -eq 0 && as_status=1 10426 if test "$4"; then 10427 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 10428 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 10429 fi 10430 $as_echo "$as_me: error: $2" >&2 10431 as_fn_exit $as_status 10432 } # as_fn_error 10433 10434 10435 # as_fn_set_status STATUS 10436 # ----------------------- 10437 # Set $? to STATUS, without forking. 10438 as_fn_set_status () 10439 { 10440 return $1 10441 } # as_fn_set_status 10442 10443 # as_fn_exit STATUS 10444 # ----------------- 10445 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 10446 as_fn_exit () 10447 { 10448 set +e 10449 as_fn_set_status $1 10450 exit $1 10451 } # as_fn_exit 10452 10453 # as_fn_unset VAR 10454 # --------------- 10455 # Portably unset VAR. 10456 as_fn_unset () 10457 { 10458 { eval $1=; unset $1;} 10459 } 10460 as_unset=as_fn_unset 10461 # as_fn_append VAR VALUE 10462 # ---------------------- 10463 # Append the text in VALUE to the end of the definition contained in VAR. Take 10464 # advantage of any shell optimizations that allow amortized linear growth over 10465 # repeated appends, instead of the typical quadratic growth present in naive 10466 # implementations. 10467 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 10468 eval 'as_fn_append () 10469 { 10470 eval $1+=\$2 10471 }' 10472 else 10473 as_fn_append () 10474 { 10475 eval $1=\$$1\$2 10476 } 10477 fi # as_fn_append 10478 10479 # as_fn_arith ARG... 10480 # ------------------ 10481 # Perform arithmetic evaluation on the ARGs, and store the result in the 10482 # global $as_val. Take advantage of shells that can avoid forks. The arguments 10483 # must be portable across $(()) and expr. 10484 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 10485 eval 'as_fn_arith () 10486 { 10487 as_val=$(( $* )) 10488 }' 10489 else 10490 as_fn_arith () 10491 { 10492 as_val=`expr "$@" || test $? -eq 1` 10493 } 10494 fi # as_fn_arith 10495 10496 20225 10497 if expr a : '\(a\)' >/dev/null 2>&1 && 20226 10498 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 20236 10508 fi 20237 10509 20238 20239 # Name of the executable. 10510 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 10511 as_dirname=dirname 10512 else 10513 as_dirname=false 10514 fi 10515 20240 10516 as_me=`$as_basename -- "$0" || 20241 10517 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 20257 10533 s/.*/./; q'` 20258 10534 20259 # CDPATH. 20260 $as_unset CDPATH 20261 20262 20263 20264 as_lineno_1=$LINENO 20265 as_lineno_2=$LINENO 20266 test "x$as_lineno_1" != "x$as_lineno_2" && 20267 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 20268 20269 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 20270 # uniformly replaced by the line number. The first 'sed' inserts a 20271 # line-number line after each line using $LINENO; the second 'sed' 20272 # does the real work. The second script uses 'N' to pair each 20273 # line-number line with the line containing $LINENO, and appends 20274 # trailing '-' during substitution so that $LINENO is not a special 20275 # case at line end. 20276 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 20277 # scripts with optimization help from Paolo Bonzini. Blame Lee 20278 # E. McMahon (1931-1989) for sed's syntax. :-) 20279 sed -n ' 20280 p 20281 /[$]LINENO/= 20282 ' <$as_myself | 20283 sed ' 20284 s/[$]LINENO.*/&-/ 20285 t lineno 20286 b 20287 :lineno 20288 N 20289 :loop 20290 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 20291 t loop 20292 s/-\n.*// 20293 ' >$as_me.lineno && 20294 chmod +x "$as_me.lineno" || 20295 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 20296 { (exit 1); exit 1; }; } 20297 20298 # Don't try to exec as it changes $[0], causing all sort of problems 20299 # (the dirname of $[0] is not the place where we might find the 20300 # original and so on. Autoconf is especially sensitive to this). 20301 . "./$as_me.lineno" 20302 # Exit status is that of the last command. 20303 exit 20304 } 20305 20306 20307 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 20308 as_dirname=dirname 20309 else 20310 as_dirname=false 20311 fi 10535 # Avoid depending upon Character Ranges. 10536 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 10537 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 10538 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 10539 as_cr_digits='0123456789' 10540 as_cr_alnum=$as_cr_Letters$as_cr_digits 20312 10541 20313 10542 ECHO_C= ECHO_N= ECHO_T= 20314 case `echo -n x` in 10543 case `echo -n x` in #((((( 20315 10544 -n*) 20316 case `echo 'x \c'` in10545 case `echo 'xy\c'` in 20317 10546 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 20318 *) ECHO_C='\c';; 10547 xy) ECHO_C='\c';; 10548 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 10549 ECHO_T=' ';; 20319 10550 esac;; 20320 10551 *) 20321 10552 ECHO_N='-n';; 20322 10553 esac 20323 if expr a : '\(a\)' >/dev/null 2>&1 &&20324 test "X`expr 00001 : '.*\(...\)'`" = X001; then20325 as_expr=expr20326 else20327 as_expr=false20328 fi20329 10554 20330 10555 rm -f conf$$ conf$$.exe conf$$.file … … 20341 10566 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 20342 10567 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 20343 # In both cases, we have to default to `cp -p '.10568 # In both cases, we have to default to `cp -pR'. 20344 10569 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 20345 as_ln_s='cp -p '10570 as_ln_s='cp -pR' 20346 10571 elif ln conf$$.file conf$$ 2>/dev/null; then 20347 10572 as_ln_s=ln 20348 10573 else 20349 as_ln_s='cp -p '10574 as_ln_s='cp -pR' 20350 10575 fi 20351 10576 else 20352 as_ln_s='cp -p '10577 as_ln_s='cp -pR' 20353 10578 fi 20354 10579 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 20355 10580 rmdir conf$$.dir 2>/dev/null 20356 10581 10582 10583 # as_fn_mkdir_p 10584 # ------------- 10585 # Create "$as_dir" as a directory, including parents if necessary. 10586 as_fn_mkdir_p () 10587 { 10588 10589 case $as_dir in #( 10590 -*) as_dir=./$as_dir;; 10591 esac 10592 test -d "$as_dir" || eval $as_mkdir_p || { 10593 as_dirs= 10594 while :; do 10595 case $as_dir in #( 10596 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10597 *) as_qdir=$as_dir;; 10598 esac 10599 as_dirs="'$as_qdir' $as_dirs" 10600 as_dir=`$as_dirname -- "$as_dir" || 10601 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10602 X"$as_dir" : 'X\(//\)[^/]' \| \ 10603 X"$as_dir" : 'X\(//\)$' \| \ 10604 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10605 $as_echo X"$as_dir" | 10606 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10607 s//\1/ 10608 q 10609 } 10610 /^X\(\/\/\)[^/].*/{ 10611 s//\1/ 10612 q 10613 } 10614 /^X\(\/\/\)$/{ 10615 s//\1/ 10616 q 10617 } 10618 /^X\(\/\).*/{ 10619 s//\1/ 10620 q 10621 } 10622 s/.*/./; q'` 10623 test -d "$as_dir" && break 10624 done 10625 test -z "$as_dirs" || eval "mkdir $as_dirs" 10626 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 10627 10628 10629 } # as_fn_mkdir_p 20357 10630 if mkdir -p . 2>/dev/null; then 20358 as_mkdir_p= :10631 as_mkdir_p='mkdir -p "$as_dir"' 20359 10632 else 20360 10633 test -d ./-p && rmdir ./-p … … 20362 10635 fi 20363 10636 20364 if test -x / >/dev/null 2>&1; then 20365 as_test_x='test -x' 20366 else 20367 if ls -dL / >/dev/null 2>&1; then 20368 as_ls_L_option=L 20369 else 20370 as_ls_L_option= 20371 fi 20372 as_test_x=' 20373 eval sh -c '\'' 20374 if test -d "$1"; then 20375 test -d "$1/."; 20376 else 20377 case $1 in 20378 -*)set "./$1";; 20379 esac; 20380 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 20381 ???[sx]*):;;*)false;;esac;fi 20382 '\'' sh 20383 ' 20384 fi 20385 as_executable_p=$as_test_x 10637 10638 # as_fn_executable_p FILE 10639 # ----------------------- 10640 # Test if FILE is an executable regular file. 10641 as_fn_executable_p () 10642 { 10643 test -f "$1" && test -x "$1" 10644 } # as_fn_executable_p 10645 as_test_x='test -x' 10646 as_executable_p=as_fn_executable_p 20386 10647 20387 10648 # Sed expression to map a string onto a valid CPP name. … … 20393 10654 20394 10655 exec 6>&1 20395 20396 # Save the log message, to keep $[0] and so on meaningful, and to 10656 ## ----------------------------------- ## 10657 ## Main body of $CONFIG_STATUS script. ## 10658 ## ----------------------------------- ## 10659 _ASEOF 10660 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 10661 10662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10663 # Save the log message, to keep $0 and so on meaningful, and to 20397 10664 # report actual input values of CONFIG_FILES etc. instead of their 20398 10665 # values after options handling. 20399 10666 ac_log=" 20400 10667 This file was extended by Rappture $as_me 1.3, which was 20401 generated by GNU Autoconf 2.6 3. Invocation command line was10668 generated by GNU Autoconf 2.69. Invocation command line was 20402 10669 20403 10670 CONFIG_FILES = $CONFIG_FILES … … 20430 10697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20431 10698 ac_cs_usage="\ 20432 \`$as_me' instantiates files from templates according to the 20433 current configuration. 20434 20435 Usage: $0 [OPTION]... [FILE]... 10699 \`$as_me' instantiates files and other configuration actions 10700 from templates according to the current configuration. Unless the files 10701 and actions are specified as TAGs, all are instantiated by default. 10702 10703 Usage: $0 [OPTION]... [TAG]... 20436 10704 20437 10705 -h, --help print this help, then exit 20438 10706 -V, --version print version number and configuration settings, then exit 10707 --config print configuration, then exit 20439 10708 -q, --quiet, --silent 20440 10709 do not print progress messages … … 20452 10721 $config_headers 20453 10722 20454 Report bugs to < bug-autoconf@gnu.org>."10723 Report bugs to <rappture@nanohub.org>." 20455 10724 20456 10725 _ACEOF 20457 10726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10727 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 20458 10728 ac_cs_version="\\ 20459 10729 Rappture config.status 1.3 20460 configured by $0, generated by GNU Autoconf 2.6 3,20461 with options \\" `$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"20462 20463 Copyright (C) 20 08Free Software Foundation, Inc.10730 configured by $0, generated by GNU Autoconf 2.69, 10731 with options \\"\$ac_cs_config\\" 10732 10733 Copyright (C) 2012 Free Software Foundation, Inc. 20464 10734 This config.status script is free software; the Free Software Foundation 20465 10735 gives unlimited permission to copy, distribute and modify it." … … 20478 10748 do 20479 10749 case $1 in 20480 --*= *)10750 --*=?*) 20481 10751 ac_option=`expr "X$1" : 'X\([^=]*\)='` 20482 10752 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 10753 ac_shift=: 10754 ;; 10755 --*=) 10756 ac_option=`expr "X$1" : 'X\([^=]*\)='` 10757 ac_optarg= 20483 10758 ac_shift=: 20484 10759 ;; … … 20496 10771 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 20497 10772 $as_echo "$ac_cs_version"; exit ;; 10773 --config | --confi | --conf | --con | --co | --c ) 10774 $as_echo "$ac_cs_config"; exit ;; 20498 10775 --debug | --debu | --deb | --de | --d | -d ) 20499 10776 debug=: ;; … … 20502 10779 case $ac_optarg in 20503 10780 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10781 '') as_fn_error $? "missing file argument" ;; 20504 10782 esac 20505 CONFIG_FILES="$CONFIG_FILES'$ac_optarg'"10783 as_fn_append CONFIG_FILES " '$ac_optarg'" 20506 10784 ac_need_defaults=false;; 20507 10785 --header | --heade | --head | --hea ) … … 20510 10788 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 20511 10789 esac 20512 CONFIG_HEADERS="$CONFIG_HEADERS'$ac_optarg'"10790 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 20513 10791 ac_need_defaults=false;; 20514 10792 --he | --h) 20515 10793 # Conflict between --help and --header 20516 { $as_echo "$as_me: error: ambiguous option: $1 20517 Try \`$0 --help' for more information." >&2 20518 { (exit 1); exit 1; }; };; 10794 as_fn_error $? "ambiguous option: \`$1' 10795 Try \`$0 --help' for more information.";; 20519 10796 --help | --hel | -h ) 20520 10797 $as_echo "$ac_cs_usage"; exit ;; … … 20524 10801 20525 10802 # This is an error. 20526 -*) { $as_echo "$as_me: error: unrecognized option: $1 20527 Try \`$0 --help' for more information." >&2 20528 { (exit 1); exit 1; }; } ;; 20529 20530 *) ac_config_targets="$ac_config_targets $1" 10803 -*) as_fn_error $? "unrecognized option: \`$1' 10804 Try \`$0 --help' for more information." ;; 10805 10806 *) as_fn_append ac_config_targets " $1" 20531 10807 ac_need_defaults=false ;; 20532 10808 … … 20545 10821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20546 10822 if \$ac_cs_recheck; then 20547 set X '$SHELL''$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion10823 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 20548 10824 shift 20549 10825 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 … … 20705 10981 "oldtest/src/Makefile") CONFIG_FILES="$CONFIG_FILES oldtest/src/Makefile" ;; 20706 10982 20707 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 20708 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 20709 { (exit 1); exit 1; }; };; 10983 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 20710 10984 esac 20711 10985 done … … 20729 11003 $debug || 20730 11004 { 20731 tmp= 11005 tmp= ac_tmp= 20732 11006 trap 'exit_status=$? 20733 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 11007 : "${ac_tmp:=$tmp}" 11008 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 20734 11009 ' 0 20735 trap ' { (exit 1); exit 1; }' 1 2 13 1511010 trap 'as_fn_exit 1' 1 2 13 15 20736 11011 } 20737 11012 # Create a (secure) tmp directory for tmp files. … … 20739 11014 { 20740 11015 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 20741 test - n "$tmp" && test -d "$tmp"11016 test -d "$tmp" 20742 11017 } || 20743 11018 { 20744 11019 tmp=./conf$$-$RANDOM 20745 11020 (umask 077 && mkdir "$tmp") 20746 } || 20747 { 20748 $as_echo "$as_me: cannot create a temporary directory in ." >&2 20749 { (exit 1); exit 1; } 20750 } 11021 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 11022 ac_tmp=$tmp 20751 11023 20752 11024 # Set up the scripts for CONFIG_FILES section. … … 20756 11028 20757 11029 20758 ac_cr=' 20759 ' 11030 ac_cr=`echo X | tr X '\015'` 11031 # On cygwin, bash can eat \r inside `` if the user requested igncr. 11032 # But we know of no other shell where ac_cr would be empty at this 11033 # point, so we can use a bashism as a fallback. 11034 if test "x$ac_cr" = x; then 11035 eval ac_cr=\$\'\\r\' 11036 fi 20760 11037 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 20761 11038 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then … … 20765 11042 fi 20766 11043 20767 echo 'BEGIN {' >"$ tmp/subs1.awk" &&11044 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 20768 11045 _ACEOF 20769 11046 … … 20774 11051 echo "_ACEOF" 20775 11052 } >conf$$subs.sh || 20776 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 20777 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 20778 { (exit 1); exit 1; }; } 20779 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 11053 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 11054 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 20780 11055 ac_delim='%!_!# ' 20781 11056 for ac_last_try in false false false false false :; do 20782 11057 . ./conf$$subs.sh || 20783 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 20784 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 20785 { (exit 1); exit 1; }; } 11058 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 20786 11059 20787 11060 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 20789 11062 break 20790 11063 elif $ac_last_try; then 20791 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 20792 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 20793 { (exit 1); exit 1; }; } 11064 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 20794 11065 else 20795 11066 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 20799 11070 20800 11071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20801 cat >>"\$ tmp/subs1.awk" <<\\_ACAWK &&11072 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 20802 11073 _ACEOF 20803 11074 sed -n ' … … 20813 11084 :nl 20814 11085 h 20815 s/\(.\{148\}\). */\1/11086 s/\(.\{148\}\)..*/\1/ 20816 11087 t more1 20817 11088 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 20827 11098 :delim 20828 11099 h 20829 s/\(.\{148\}\). */\1/11100 s/\(.\{148\}\)..*/\1/ 20830 11101 t more2 20831 11102 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 20847 11118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20848 11119 _ACAWK 20849 cat >>"\$ tmp/subs1.awk" <<_ACAWK &&11120 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 20850 11121 for (key in S) S_is_set[key] = 1 20851 11122 FS = "" … … 20879 11150 else 20880 11151 cat 20881 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 20882 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 20883 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 20884 { (exit 1); exit 1; }; } 20885 _ACEOF 20886 20887 # VPATH may cause trouble with some makes, so we remove $(srcdir), 20888 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 11152 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 11153 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 11154 _ACEOF 11155 11156 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 11157 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 20889 11158 # trailing colons and then remove the whole line if VPATH becomes empty 20890 11159 # (actually we leave an empty line to preserve line numbers). 20891 11160 if test "x$srcdir" = x.; then 20892 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 20893 s/:*\$(srcdir):*/:/ 20894 s/:*\${srcdir}:*/:/ 20895 s/:*@srcdir@:*/:/ 20896 s/^\([^=]*=[ ]*\):*/\1/ 11161 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 11162 h 11163 s/// 11164 s/^/:/ 11165 s/[ ]*$/:/ 11166 s/:\$(srcdir):/:/g 11167 s/:\${srcdir}:/:/g 11168 s/:@srcdir@:/:/g 11169 s/^:*// 20897 11170 s/:*$// 11171 x 11172 s/\(=[ ]*\).*/\1/ 11173 G 11174 s/\n// 20898 11175 s/^[^=]*=[ ]*$// 20899 11176 }' … … 20907 11184 # This happens for instance with `./config.status Makefile'. 20908 11185 if test -n "$CONFIG_HEADERS"; then 20909 cat >"$ tmp/defines.awk" <<\_ACAWK ||11186 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 20910 11187 BEGIN { 20911 11188 _ACEOF … … 20919 11196 ac_delim='%!_!# ' 20920 11197 for ac_last_try in false false :; do 20921 ac_t =`sed -n "/$ac_delim/p" confdefs.h`20922 if test -z "$ac_t "; then11198 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 11199 if test -z "$ac_tt"; then 20923 11200 break 20924 11201 elif $ac_last_try; then 20925 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 20926 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 20927 { (exit 1); exit 1; }; } 11202 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 20928 11203 else 20929 11204 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 21010 11285 _ACEOF 21011 11286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 21012 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 21013 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 21014 { (exit 1); exit 1; }; } 11287 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 21015 11288 fi # test -n "$CONFIG_HEADERS" 21016 11289 … … 21025 11298 case $ac_mode$ac_tag in 21026 11299 :[FHL]*:*);; 21027 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 21028 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 21029 { (exit 1); exit 1; }; };; 11300 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 21030 11301 :[FH]-) ac_tag=-:-;; 21031 11302 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 21046 11317 do 21047 11318 case $ac_f in 21048 -) ac_f="$ tmp/stdin";;11319 -) ac_f="$ac_tmp/stdin";; 21049 11320 *) # Look for the file first in the build tree, then in the source tree 21050 11321 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 21055 11326 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 21056 11327 esac || 21057 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 21058 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 21059 { (exit 1); exit 1; }; };; 11328 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 21060 11329 esac 21061 11330 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 21062 a c_file_inputs="$ac_file_inputs'$ac_f'"11331 as_fn_append ac_file_inputs " '$ac_f'" 21063 11332 done 21064 11333 … … 21071 11340 if test x"$ac_file" != x-; then 21072 11341 configure_input="$ac_file. $configure_input" 21073 { $as_echo "$as_me:$ LINENO: creating $ac_file" >&511342 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 21074 11343 $as_echo "$as_me: creating $ac_file" >&6;} 21075 11344 fi … … 21083 11352 21084 11353 case $ac_tag in 21085 *:-:* | *:-) cat >"$tmp/stdin" \ 21086 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 21087 $as_echo "$as_me: error: could not create $ac_file" >&2;} 21088 { (exit 1); exit 1; }; } ;; 11354 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 11355 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 21089 11356 esac 21090 11357 ;; … … 21114 11381 } 21115 11382 s/.*/./; q'` 21116 { as_dir="$ac_dir" 21117 case $as_dir in #( 21118 -*) as_dir=./$as_dir;; 21119 esac 21120 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 21121 as_dirs= 21122 while :; do 21123 case $as_dir in #( 21124 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 21125 *) as_qdir=$as_dir;; 21126 esac 21127 as_dirs="'$as_qdir' $as_dirs" 21128 as_dir=`$as_dirname -- "$as_dir" || 21129 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21130 X"$as_dir" : 'X\(//\)[^/]' \| \ 21131 X"$as_dir" : 'X\(//\)$' \| \ 21132 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 21133 $as_echo X"$as_dir" | 21134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 21135 s//\1/ 21136 q 21137 } 21138 /^X\(\/\/\)[^/].*/{ 21139 s//\1/ 21140 q 21141 } 21142 /^X\(\/\/\)$/{ 21143 s//\1/ 21144 q 21145 } 21146 /^X\(\/\).*/{ 21147 s//\1/ 21148 q 21149 } 21150 s/.*/./; q'` 21151 test -d "$as_dir" && break 21152 done 21153 test -z "$as_dirs" || eval "mkdir $as_dirs" 21154 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 21155 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 21156 { (exit 1); exit 1; }; }; } 11383 as_dir="$ac_dir"; as_fn_mkdir_p 21157 11384 ac_builddir=. 21158 11385 … … 21211 11438 # FIXME: This hack should be removed a few years after 2.60. 21212 11439 ac_datarootdir_hack=; ac_datarootdir_seen= 21213 21214 11440 ac_sed_dataroot=' 21215 11441 /datarootdir/ { … … 21221 11447 /@infodir@/p 21222 11448 /@localedir@/p 21223 /@mandir@/p 21224 ' 11449 /@mandir@/p' 21225 11450 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 21226 11451 *datarootdir*) ac_datarootdir_seen=yes;; 21227 11452 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 21228 { $as_echo "$as_me:$ LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&511453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 21229 11454 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 21230 11455 _ACEOF … … 21236 11461 s&@localedir@&$localedir&g 21237 11462 s&@mandir@&$mandir&g 21238 11463 s&\\\${datarootdir}&$datarootdir&g' ;; 21239 11464 esac 21240 11465 _ACEOF … … 21264 11489 $ac_datarootdir_hack 21265 11490 " 21266 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 21267 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 21268 $as_echo "$as_me: error: could not create $ac_file" >&2;} 21269 { (exit 1); exit 1; }; } 11491 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 11492 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 21270 11493 21271 11494 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 21272 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 21273 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 21274 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 21275 which seems to be undefined. Please make sure it is defined." >&5 11495 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 11496 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 11497 "$ac_tmp/out"`; test -z "$ac_out"; } && 11498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11499 which seems to be undefined. Please make sure it is defined" >&5 21276 11500 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 21277 which seems to be undefined. Please make sure it is defined ." >&2;}21278 21279 rm -f "$ tmp/stdin"11501 which seems to be undefined. Please make sure it is defined" >&2;} 11502 11503 rm -f "$ac_tmp/stdin" 21280 11504 case $ac_file in 21281 -) cat "$ tmp/out" && rm -f "$tmp/out";;21282 *) rm -f "$ac_file" && mv "$ tmp/out" "$ac_file";;11505 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 11506 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 21283 11507 esac \ 21284 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 21285 $as_echo "$as_me: error: could not create $ac_file" >&2;} 21286 { (exit 1); exit 1; }; } 11508 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 21287 11509 ;; 21288 11510 :H) … … 21293 11515 { 21294 11516 $as_echo "/* $configure_input */" \ 21295 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 21296 } >"$tmp/config.h" \ 21297 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 21298 $as_echo "$as_me: error: could not create $ac_file" >&2;} 21299 { (exit 1); exit 1; }; } 21300 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 21301 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 11517 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 11518 } >"$ac_tmp/config.h" \ 11519 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11520 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 11521 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 21302 11522 $as_echo "$as_me: $ac_file is unchanged" >&6;} 21303 11523 else 21304 11524 rm -f "$ac_file" 21305 mv "$tmp/config.h" "$ac_file" \ 21306 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 21307 $as_echo "$as_me: error: could not create $ac_file" >&2;} 21308 { (exit 1); exit 1; }; } 11525 mv "$ac_tmp/config.h" "$ac_file" \ 11526 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 21309 11527 fi 21310 11528 else 21311 11529 $as_echo "/* $configure_input */" \ 21312 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 21313 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 21314 $as_echo "$as_me: error: could not create -" >&2;} 21315 { (exit 1); exit 1; }; } 11530 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 11531 || as_fn_error $? "could not create -" "$LINENO" 5 21316 11532 fi 21317 11533 ;; … … 21323 11539 21324 11540 21325 { (exit 0); exit 0; } 21326 _ACEOF 21327 chmod +x $CONFIG_STATUS 11541 as_fn_exit 0 11542 _ACEOF 21328 11543 ac_clean_files=$ac_clean_files_save 21329 11544 21330 11545 test $ac_write_fail = 0 || 21331 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 21332 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 21333 { (exit 1); exit 1; }; } 11546 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 21334 11547 21335 11548 … … 21352 11565 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 21353 11566 # would make configure fail if this is the last instruction. 21354 $ac_cs_success || { (exit 1); exit 1; }11567 $ac_cs_success || as_fn_exit 1 21355 11568 fi 21356 11569 … … 21396 11609 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 21397 11610 esac 21398 a c_sub_configure_args="$ac_sub_configure_args'$ac_arg'" ;;11611 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 21399 11612 esac 21400 11613 done … … 21425 11638 21426 11639 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 21427 $as_echo "$as_me:$ LINENO: $ac_msg" >&511640 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 21428 11641 $as_echo "$ac_msg" >&6 21429 { as_dir="$ac_dir" 21430 case $as_dir in #( 21431 -*) as_dir=./$as_dir;; 21432 esac 21433 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 21434 as_dirs= 21435 while :; do 21436 case $as_dir in #( 21437 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 21438 *) as_qdir=$as_dir;; 21439 esac 21440 as_dirs="'$as_qdir' $as_dirs" 21441 as_dir=`$as_dirname -- "$as_dir" || 21442 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21443 X"$as_dir" : 'X\(//\)[^/]' \| \ 21444 X"$as_dir" : 'X\(//\)$' \| \ 21445 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 21446 $as_echo X"$as_dir" | 21447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 21448 s//\1/ 21449 q 21450 } 21451 /^X\(\/\/\)[^/].*/{ 21452 s//\1/ 21453 q 21454 } 21455 /^X\(\/\/\)$/{ 21456 s//\1/ 21457 q 21458 } 21459 /^X\(\/\).*/{ 21460 s//\1/ 21461 q 21462 } 21463 s/.*/./; q'` 21464 test -d "$as_dir" && break 21465 done 21466 test -z "$as_dirs" || eval "mkdir $as_dirs" 21467 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 21468 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 21469 { (exit 1); exit 1; }; }; } 11642 as_dir="$ac_dir"; as_fn_mkdir_p 21470 11643 ac_builddir=. 21471 11644 … … 21514 11687 ac_sub_configure=$ac_aux_dir/configure 21515 11688 else 21516 { $as_echo "$as_me:$ LINENO: WARNING: no configuration information is in $ac_dir" >&511689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 21517 11690 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 21518 11691 ac_sub_configure= … … 21528 11701 esac 21529 11702 21530 { $as_echo "$as_me:$ LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&511703 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 21531 11704 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 21532 11705 # The eval makes quoting arguments work. 21533 11706 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 21534 11707 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 21535 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 21536 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 21537 { (exit 1); exit 1; }; } 11708 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 21538 11709 fi 21539 11710 … … 21542 11713 fi 21543 11714 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 21544 { $as_echo "$as_me:$ LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&511715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 21545 11716 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 21546 11717 fi -
trunk/configure.in
r3716 r3717 56 56 AC_LANG([C++]) 57 57 58 AC_CHECK_FUNCS([sysinfo]) 58 AC_CHECK_FUNCS(sysinfo) 59 AC_CHECK_FUNCS(gettimeofday) 60 AC_CHECK_FUNC(localtime,,AC_MSG_ERROR(oops! no localtime ?!?)) 61 AC_CHECK_FUNC(getenv,,AC_MSG_ERROR(oops! no getenv ?!?)) 62 59 63 AC_CHECK_HEADERS(sys/sysinfo.h) 60 61 AC_CHECK_LIB(m, main,,AC_MSG_ERROR(librappture requires libm))62 64 63 65 AC_CHECK_LIB(ncurses, clrtoeol,,AC_MSG_ERROR([ncurses library missing?])) -
trunk/gui/scripts/xyresult.tcl
r3711 r3717 190 190 [itcl::code $this Hilite off %x %y] 191 191 192 # Add support for editing axes:193 if 0 {194 Rappture::Balloon $itk_component(hull).axes -title "Axis Options"195 set inner [$itk_component(hull).axes component inner]196 197 label $inner.labell -text "Label:"198 entry $inner.label -width 15 -highlightbackground $itk_option(-background)199 200 label $inner.formatl -text "Format:"201 Rappture::Combobox $inner.format -width 15 -editable no202 $inner.format choices insert end \203 "%.6g" "Auto" \204 "%.0f" "X" \205 "%.1f" "X.X" \206 "%.2f" "X.XX" \207 "%.3f" "X.XXX" \208 "%.6f" "X.XXXXXX" \209 "%.1e" "X.Xe+XX" \210 "%.2e" "X.XXe+XX" \211 "%.3e" "X.XXXe+XX" \212 "%.6e" "X.XXXXXXe+XX"213 214 label $inner.rangel -text "Range:"215 radiobutton $inner.auto -text "automatic" \216 -variable [itcl::scope _axisPopup(auto)] -value 1 \217 -command [itcl::code $this SetAxis range]218 radiobutton $inner.manual -text "manual" \219 -variable [itcl::scope _axisPopup(auto)] -value 0 \220 -command [itcl::code $this SetAxis range]221 222 radiobutton $inner.loose -text "loose" \223 -variable [itcl::scope _axisPopup(loose)] -value 1 \224 -command [itcl::code $this SetAxis loose]225 radiobutton $inner.tight -text "tight" \226 -variable [itcl::scope _axisPopup(loose)] -value 0 \227 -command [itcl::code $this SetAxis loose]228 229 label $inner.minl -text "min"230 entry $inner.min \231 -width 15 -highlightbackground $itk_option(-background) \232 -textvariable [itcl::scope _axisPopup(min)]233 bind $inner.min <Return> [itcl::code $this SetAxis min]234 label $inner.maxl -text "max"235 entry $inner.max \236 -width 15 -highlightbackground $itk_option(-background) \237 -textvariable [itcl::scope _axisPopup(max)]238 bind $inner.min <Return> [itcl::code $this SetAxis max]239 240 label $inner.scalel -text "Scale:"241 radiobutton $inner.linear -text "linear" \242 -variable [itcl::scope _axisPopup(logscale)] -value 0 \243 -command [itcl::code $this SetAxis logscale]244 radiobutton $inner.log -text "logarithmic" \245 -variable [itcl::scope _axisPopup(logscale)] -value 1 \246 -command [itcl::code $this Axis SetAxis logscale]247 248 blt::table $inner \249 0,0 $inner.labell -anchor e \250 0,1 $inner.label -anchor w -fill x -cspan 2 \251 1,0 $inner.formatl -anchor e \252 1,1 $inner.format -anchor w -fill x -cspan 2 \253 2,0 $inner.scalel -anchor e \254 2,1 $inner.linear -anchor w \255 2,2 $inner.log -anchor w \256 3,0 $inner.rangel -anchor e \257 3,1 $inner.manual -anchor w \258 3,2 $inner.auto -anchor w \259 4,1 $inner.minl -anchor w \260 4,2 $inner.min -anchor w \261 5,1 $inner.maxl -anchor w \262 5,2 $inner.max -anchor w \263 6,1 $inner.loose -anchor w \264 6,2 $inner.tight -anchor w \265 266 foreach axis {x y} {267 set _axisPopup($axis-format) "%.6g"268 }269 Axis scale x linear270 Axis scale y linear271 }272 192 $itk_component(plot) legend configure -hide yes 273 193 … … 464 384 lappend allx x ;# fix main x-axis too 465 385 466 if 0 {467 foreach axis $allx {468 Axis scale $axis linear469 }470 }471 386 set ally [$itk_component(plot) y2axis use] 472 387 lappend ally y ;# fix main y-axis too 473 if 0 {474 foreach axis $ally {475 Axis scale $axis linear476 }477 }478 388 catch {unset _limits} 479 389 foreach dataobj $args { … … 640 550 eval $g element delete [$g element names] 641 551 eval $g marker delete [$g marker names] 552 642 553 foreach axis [$g axis names] { 643 554 if { [$g axis cget $axis -logscale] } { … … 878 789 $g axis configure $axis -min "" -max "" 879 790 } 880 return881 #882 # HACK ALERT!883 # Use this code to fix up the y-axis limits for the BLT graph.884 # The auto-limits don't always work well. We want them to be885 # set to a "nice" number slightly above or below the min/max886 # limits.887 #888 # I don't get what's better about this. It's replicating what's889 # in the BLT graph. It's missing pieces like handling bar elements.890 #891 foreach axis [$g axis names] {892 if {[info exists _limits(${axis}lin-min)]} {893 set log [$g axis cget $axis -logscale]894 if {$log} {895 set min $_limits(${axis}log-min)896 if {$min == 0} { set min 1 }897 set max $_limits(${axis}log-max)898 if {$max == 0} { set max 1 }899 900 if {$min == $max} {901 set logmin [expr {floor(log10(abs(0.9*$min)))}]902 set logmax [expr {ceil(log10(abs(1.1*$max)))}]903 } else {904 set logmin [expr {floor(log10(abs($min)))}]905 set logmax [expr {ceil(log10(abs($max)))}]906 if 0 {907 if {[string match y* $axis]} {908 # add a little padding909 set delta [expr {$logmax-$logmin}]910 if {$delta == 0} { set delta 1 }911 set logmin [expr {$logmin-0.05*$delta}]912 set logmax [expr {$logmax+0.05*$delta}]913 }914 }915 }916 if {$logmin < -300} {917 set min 1e-300918 } elseif {$logmin > 300} {919 set min 1e+300920 } else {921 set min [expr {pow(10.0,$logmin)}]922 }923 924 if {$logmax < -300} {925 set max 1e-300926 } elseif {$logmax > 300} {927 set max 1e+300928 } else {929 set max [expr {pow(10.0,$logmax)}]930 }931 } else {932 set min $_limits(${axis}lin-min)933 set max $_limits(${axis}lin-max)934 935 if 0 {936 if {[string match y* $axis]} {937 # add a little padding938 set delta [expr {$max-$min}]939 set min [expr {$min-0.05*$delta}]940 set max [expr {$max+0.05*$delta}]941 }942 }943 }944 if {$min < $max} {945 $g axis configure $axis -min $min -max $max946 } else {947 $g axis configure $axis -min "" -max ""948 }949 } else {950 $g axis configure $axis -min "" -max ""951 }952 }953 791 } 954 792 … … 1185 1023 # USAGE: Axis drag <axis> <x> <y> 1186 1024 # USAGE: Axis release <axis> <x> <y> 1187 #1188 # USAGE: Axis edit <axis>1189 # USAGE: Axis changed <axis> <what>1190 # USAGE: Axis format <axis> <widget> <value>1191 # USAGE: Axis scale <axis> linear|log1192 1025 # 1193 1026 # Used internally to handle editing of the x/y axes. The hilite … … 1313 1146 if {$dx < 2 && $dy < 2} { 1314 1147 ShowAxisPopup $axis 1315 #Axis edit $axis1316 1148 return 1317 1149 } … … 1326 1158 catch {unset _axis} 1327 1159 } 1328 edit {1329 if {[llength $args] != 1} {1330 error "wrong # args: should be \"Axis edit axis\""1331 }1332 set axis [lindex $args 0]1333 set _axisPopup(current) $axis1334 set _axisPopup(axis) $axis1335 # apply last value when deactivating1336 $itk_component(hull).axes configure -deactivatecommand \1337 [itcl::code $this Axis changed $axis focus]1338 1339 # fix axis label controls...1340 set inner [$itk_component(hull).axes component inner]1341 set label [$itk_component(plot) axis cget $axis -title]1342 $inner.label delete 0 end1343 $inner.label insert end $label1344 bind $inner.label <Return> \1345 [itcl::code $this Axis changed $axis label]1346 bind $inner.label <KP_Enter> \1347 [itcl::code $this Axis changed $axis label]1348 bind $inner.label <FocusOut> \1349 [itcl::code $this Axis changed $axis label]1350 1351 # fix min/max controls...1352 foreach {min max} [$itk_component(plot) axis limits $axis] break1353 $inner.min delete 0 end1354 $inner.min insert end $min1355 bind $inner.min <Return> \1356 [itcl::code $this Axis changed $axis min]1357 bind $inner.min <KP_Enter> \1358 [itcl::code $this Axis changed $axis min]1359 bind $inner.min <FocusOut> \1360 [itcl::code $this Axis changed $axis min]1361 1362 $inner.max delete 0 end1363 $inner.max insert end $max1364 bind $inner.max <Return> \1365 [itcl::code $this Axis changed $axis max]1366 bind $inner.max <KP_Enter> \1367 [itcl::code $this Axis changed $axis max]1368 bind $inner.max <FocusOut> \1369 [itcl::code $this Axis changed $axis max]1370 1371 # fix format control...1372 set fmts [$inner.format choices get -value]1373 set i [lsearch -exact $fmts $_axisPopup($axis-format)]1374 if {$i < 0} { set i 0 } ;# use Auto choice1375 $inner.format value [$inner.format choices get -label $i]1376 1377 bind $inner.format <<Value>> \1378 [itcl::code $this Axis changed $axis format]1379 1380 # fix scale control...1381 if {[$itk_component(plot) axis cget $axis -logscale]} {1382 set _axisPopup(logscale) 11383 $inner.format configure -state disabled1384 } else {1385 set _axisPopup(logscale) 01386 $inner.format configure -state normal1387 }1388 $inner.linear configure \1389 -command [itcl::code $this Axis changed $axis scale]1390 $inner.log configure \1391 -command [itcl::code $this Axis changed $axis scale]1392 1393 #1394 # Figure out where the window should pop up.1395 #1396 set x [winfo rootx $itk_component(plot)]1397 set y [winfo rooty $itk_component(plot)]1398 set w [winfo width $itk_component(plot)]1399 set h [winfo height $itk_component(plot)]1400 foreach {x0 y0 pw ph} [$itk_component(plot) extents plotarea] break1401 switch -glob -- $axis {1402 x {1403 set x [expr {round($x + $x0+0.5*$pw)}]1404 set y [expr {round($y + $y0+$ph + 0.5*($h-$y0-$ph))}]1405 set dir "above"1406 }1407 x* {1408 set x [expr {round($x + $x0+0.5*$pw)}]1409 set dir "below"1410 set allx [$itk_component(plot) x2axis use]1411 set max [llength $allx]1412 set i [lsearch -exact $allx $axis]1413 set y [expr {round($y + ($i+0.5)*$y0/double($max))}]1414 }1415 y {1416 set x [expr {round($x + 0.5*$x0)}]1417 set y [expr {round($y + $y0+0.5*$ph)}]1418 set dir "right"1419 }1420 y* {1421 set y [expr {round($y + $y0+0.5*$ph)}]1422 set dir "left"1423 set ally [$itk_component(plot) y2axis use]1424 set max [llength $ally]1425 set i [lsearch -exact $ally $axis]1426 set y [expr {round($y + ($i+0.5)*$y0/double($max))}]1427 set x [expr {round($x+$x0+$pw + ($i+0.5)*($w-$x0-$pw)/double($max))}]1428 }1429 }1430 $itk_component(hull).axes activate @$x,$y $dir1431 }1432 changed {1433 set inner [$itk_component(hull).axes component inner]1434 if {[llength $args] != 2} {1435 error "wrong # args: should be \"Axis changed axis what\""1436 }1437 set axis [lindex $args 0]1438 set what [lindex $args 1]1439 if {$what == "focus"} {1440 set what [focus]1441 if {[winfo exists $what]} {1442 set what [winfo name $what]1443 }1444 }1445 1446 switch -- $what {1447 label {1448 set val [$inner.label get]1449 $itk_component(plot) axis configure $axis -title $val1450 Rappture::Logger::log curve axis $axis -title $val1451 }1452 min {1453 set val [$inner.min get]1454 if {![string is double -strict $val]} {1455 Rappture::Tooltip::cue $inner.min "Must be a number"1456 bell1457 return1458 }1459 1460 set max [lindex [$itk_component(plot) axis limits $axis] 1]1461 if {$val >= $max} {1462 Rappture::Tooltip::cue $inner.min "Must be <= max ($max)"1463 bell1464 return1465 }1466 catch {1467 # can fail in log mode1468 $itk_component(plot) axis configure $axis -min $val1469 Rappture::Logger::log curve axis $axis -min $val1470 }1471 foreach {min max} [$itk_component(plot) axis limits $axis] break1472 $inner.min delete 0 end1473 $inner.min insert end $min1474 }1475 max {1476 set val [$inner.max get]1477 if {![string is double -strict $val]} {1478 Rappture::Tooltip::cue $inner.max "Should be a number"1479 bell1480 return1481 }1482 1483 set min [lindex [$itk_component(plot) axis limits $axis] 0]1484 if {$val <= $min} {1485 Rappture::Tooltip::cue $inner.max "Must be >= min ($min)"1486 bell1487 return1488 }1489 catch {1490 # can fail in log mode1491 $itk_component(plot) axis configure $axis -max $val1492 Rappture::Logger::log curve axis $axis -max $val1493 }1494 foreach {min max} [$itk_component(plot) axis limits $axis] break1495 $inner.max delete 0 end1496 $inner.max insert end $max1497 }1498 format {1499 set fmt [$inner.format translate [$inner.format value]]1500 set _axisPopup($axis-format) $fmt1501 1502 # force a refresh1503 $itk_component(plot) axis configure $axis -min \1504 [$itk_component(plot) axis cget $axis -min]1505 }1506 scale {1507 Axis scale $axis $_axisPopup(logscale)1508 Rappture::Logger::log curve axis $axis -scale $_axisPopup(logscale)1509 1510 if { $_axisPopup(logscale) } {1511 $inner.format configure -state disabled1512 } else {1513 $inner.format configure -state normal1514 }1515 1516 foreach {min max} [$itk_component(plot) axis limits $axis] break1517 $inner.min delete 0 end1518 $inner.min insert end $min1519 $inner.max delete 0 end1520 $inner.max insert end $max1521 }1522 default {1523 # be lenient so we can handle the "focus" case1524 }1525 }1526 }1527 format {1528 if {[llength $args] != 3} {1529 error "wrong # args: should be \"Axis format axis widget value\""1530 }1531 set axis [lindex $args 0]1532 set value [lindex $args 2]1533 1534 if {[$itk_component(plot) axis cget $axis -logscale]} {1535 set fmt "%.6g"1536 } else {1537 set fmt $_axisPopup($axis-format)1538 }1539 return [format $fmt $value]1540 }1541 scale {1542 if {[llength $args] != 2} {1543 error "wrong # args: should be \"Axis scale axis type\""1544 }1545 set axis [lindex $args 0]1546 set type [lindex $args 1]1547 1548 if {$type == "log"} {1549 catch {$itk_component(plot) axis configure $axis -logscale 1}1550 # leave format alone in log mode1551 $itk_component(plot) axis configure $axis -command ""1552 } else {1553 catch {$itk_component(plot) axis configure $axis -logscale 0}1554 # use special formatting for linear mode1555 $itk_component(plot) axis configure $axis -command \1556 [itcl::code $this Axis format $axis]1557 }1558 }1559 1160 default { 1560 error "bad option \"$option\": should be changed, edit, hilite, or format"1161 error "bad option \"$option\": should be hilite" 1561 1162 } 1562 1163 } … … 1967 1568 set _axisPopup(max) $_axisPopup($axis-max) 1968 1569 set _axisPopup(axis) $axis 1969 if 0 {1970 $popup configure -deactivatecommand \1971 [itcl::code $this Axis changed $axis focus]1972 }1973 1570 1974 1571 # -
trunk/lang/R/Makefile.in
r2709 r3717 40 40 41 41 clean: 42 $(RM) -rf Rappture Rappture_1.0.tar.gz${PWD}/build42 $(RM) -rf Rappture ${PWD}/build 43 43 44 44 distclean: clean -
trunk/lang/tcl/src/RpUnitsTclInterface.cc
r3511 r3717 162 162 return TCL_ERROR; 163 163 } 164 } 165 else { 164 } else { 166 165 // if user does not specify wishes for this option, 167 166 // set fromUnitsName to an empty string. 168 167 fromUnitsName = ""; 169 168 } 170 } 171 else if ( option == "-to" ) { 169 } else if ( option == "-to" ) { 172 170 nextarg++; 173 171 if (argv[nextarg] != NULL) { … … 183 181 return TCL_ERROR; 184 182 } 185 } 186 else { 183 } else { 187 184 // if user does not specify wishes for this option, 188 185 // set toUnitsName to an empty string. 189 186 toUnitsName = ""; 190 187 } 191 } 192 else if ( option == "-units" ) { 188 } else if ( option == "-units" ) { 193 189 nextarg++; 194 190 if (argv[nextarg] != NULL) { … … 201 197 return TCL_ERROR; 202 198 } 203 } 204 else { 199 } else { 205 200 // if user does not specify wishes for this option, 206 201 // return error. … … 210 205 return TCL_ERROR; 211 206 } 212 } 213 else { 207 } else { 214 208 // unrecognized option 215 209 Tcl_AppendResult(interp, "bad option \"", argv[nextarg], … … 220 214 221 215 nextarg++; 222 } 223 else { 216 } else { 224 217 // unrecognized input 225 218 Tcl_AppendResult(interp, "bad option \"", argv[nextarg], "\": ", … … 240 233 trim(inValue); 241 234 242 double value; 243 value = strtod(inValue.c_str(), &endptr); 235 strtod(inValue.c_str(), &endptr); 244 236 if (endptr == inValue.c_str()) { 245 237 // there was no numeric value that could be pulled from inValue … … 256 248 inValue.c_str(), mesg.c_str(), (char*)NULL); 257 249 return TCL_ERROR; 258 } 259 else if ( ((unsigned)(endptr - inValue.c_str())) == inValue.length() ) { 250 } else if ( ((unsigned)(endptr - inValue.c_str())) == inValue.length() ) { 260 251 // add 1 because we are subtracting indicies 261 252 // there were no units at the end of the inValue string … … 265 256 if (!fromUnitsName.empty()) { 266 257 val = inValue + fromUnitsName; 267 } 268 else { 258 } else { 269 259 Tcl_AppendResult(interp, "value: \"", inValue.c_str(), 270 260 "\" has unrecognized units", (char*)NULL); 271 261 return TCL_ERROR; 272 262 } 273 } 274 else { 263 } else { 275 264 // there seemed to be units at the end of the inValue string 276 265 // we will ignore the -context flag and use the units in inValue … … 285 274 Tcl_AppendResult(interp, convertedVal.c_str(), (char*)NULL); 286 275 retVal = TCL_OK; 287 } 288 else { 276 } else { 289 277 // error while converting 290 278 Tcl_AppendResult(interp, -
trunk/src/core/Makefile.in
r3471 r3717 13 13 INSTALL = @INSTALL@ 14 14 MKDIR_P = @MKDIR_P@ 15 15 SVN_VERSION := $(shell svnversion $(srcdir)) 16 RAPPTURE_VERSION = @PACKAGE_VERSION@ 16 17 CXX = @CXX@ 17 18 # This hack is because the tcl.m4 file generates the line … … 32 33 DX_LIB_SPEC = @DX_LIB_SPEC@ 33 34 DX_INC_SPEC = @DX_INC_SPEC@ 34 35 CC_SWITCHES = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) 36 CXX_SWITCHES = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) 35 DEFINES = -DSVN_VERSION=\"$(SVN_VERSION)\" \ 36 -DRAPPTURE_VERSION=\"$(RAPPTURE_VERSION)\" 37 38 CC_SWITCHES = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) 39 CXX_SWITCHES = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) 37 40 38 41 INCLUDES = \ -
trunk/src/core/RpLibrary.cc
r3681 r3717 12 12 */ 13 13 14 #include "config.h" 14 15 #include "scew/scew.h" 15 16 #include "scew_extras.h" … … 2222 2223 RpLibrary::result(int exitStatus) 2223 2224 { 2224 std::stringstream outputFile;2225 2225 std::fstream file; 2226 2226 std::string xmlText = ""; 2227 std::string timestamp = ""; 2228 std::string username = ""; 2229 std::string hostname = ""; 2227 time_t t; 2228 struct tm* timeinfo; 2229 std::stringstream outputFile; 2230 std::string timestamp; 2231 std::string username; 2232 std::string hostname; 2230 2233 char *user = NULL; 2231 2234 2232 if (this->root) { 2233 time_t t; 2234 struct tm* timeinfo = NULL; 2235 2236 #ifdef _POSIX_SOURCE 2237 // if the posix function gettimeofday is available, 2238 // we can get more precision on the time and more 2239 // unique filenames. 2240 struct timeval tv; 2241 gettimeofday(&tv,NULL); 2242 outputFile << "run" << tv.tv_sec << tv.tv_usec << ".xml"; 2235 if (this->root == NULL) { 2236 return; /* No tree available */ 2237 } 2238 2239 t = time(NULL); /* This is presumably the time the 2240 * simulation finished. */ 2241 #ifdef HAVE_GETTIMEOFDAY 2242 /* If the posix function gettimeofday is available, use it to produce 2243 * unique filenames. */ 2244 struct timeval tv; 2245 gettimeofday(&tv,NULL); 2246 outputFile << "run" << tv.tv_sec << tv.tv_usec << ".xml"; 2243 2247 #else 2244 outputFile << "run" << (int)time(&t)<< ".xml";2248 outputFile << "run" << (int)t << ".xml"; 2245 2249 #endif 2246 file.open(outputFile.str().c_str(),std::ios::out); 2247 2248 put("tool.version.rappture.revision","$LastChangedRevision$"); 2249 put("tool.version.rappture.modified","$LastChangedDate$"); 2250 if ( "" == get("tool.version.rappture.language") ) { 2251 put("tool.version.rappture.language","c++"); 2252 } 2253 t = time(NULL); 2254 // generate a timestamp for the run file 2255 timeinfo = localtime(&t); 2256 timestamp = std::string(ctime(&t)); 2257 // erase the 24th character because it is a newline 2258 timestamp.erase(24); 2259 // concatenate the timezone 2260 timestamp.append(" "); 2250 file.open(outputFile.str().c_str(),std::ios::out); 2251 2252 2253 put("tool.version.rappture.version", RAPPTURE_VERSION); 2254 put("tool.version.rappture.revision", SVN_VERSION); 2255 put("tool.version.rappture.modified", 2256 "$LastChangedDate$"); 2257 if ( "" == get("tool.version.rappture.language") ) { 2258 put("tool.version.rappture.language","c++"); 2259 } 2260 // generate a timestamp for the run file 2261 timeinfo = localtime(&t); 2262 timestamp = std::string(ctime(&t)); 2263 // erase the 24th character because it is a newline 2264 timestamp.erase(24); 2265 // concatenate the timezone 2266 timestamp.append(" "); 2261 2267 #ifdef _WIN32 2262 timestamp.append(_tzname[_daylight]); 2263 // username is left blank for windows because i dont know 2264 // how to retrieve username on win32 environment. 2265 username = ""; 2266 hostname = ""; 2268 timestamp.append(_tzname[_daylight]); 2269 username = ""; 2270 hostname = ""; 2271 user = getenv("USERNAME"); 2272 if (user != NULL) { 2273 username = std::string(user); 2274 } else { 2275 user = getenv("LOGNAME"); 2276 if (user != NULL) { 2277 username = std::string(user); 2278 } 2279 } 2267 2280 #else 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2281 timestamp.append(timeinfo->tm_zone); 2282 user = getenv("USER"); 2283 if (user != NULL) { 2284 username = std::string(user); 2285 } else { 2286 user = getenv("LOGNAME"); 2287 if (user != NULL) { 2288 username = std::string(user); 2289 } 2290 } 2278 2291 #endif 2279 2292 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2293 // add the timestamp to the run file 2294 put("output.time", timestamp); 2295 put("output.status",exitStatus); 2296 put("output.user",username); 2297 put("output.host",hostname); 2298 2299 if ( file.is_open() ) { 2300 xmlText = xml(); 2301 if (!xmlText.empty()) { 2302 file << xmlText; 2303 } 2304 // check to make sure there were no 2305 // errors while writing the run.xml file. 2306 if ( (!file.good()) 2307 || ((long)xmlText.length() != ((long)file.tellp()-(long)1)) 2295 2308 ) { 2296 status.error("Error while writing run file"); 2297 status.addContext("RpLibrary::result()"); 2298 } 2299 file.close(); 2300 } 2301 else { 2302 status.error("Error while opening run file"); 2303 status.addContext("RpLibrary::result()"); 2304 } 2305 std::cout << "=RAPPTURE-RUN=>" << outputFile.str() << std::endl; 2306 } 2309 status.error("Error while writing run file"); 2310 status.addContext("RpLibrary::result()"); 2311 } 2312 file.close(); 2313 } else { 2314 status.error("Error while opening run file"); 2315 status.addContext("RpLibrary::result()"); 2316 } 2317 std::cout << "=RAPPTURE-RUN=>" << outputFile.str() << std::endl; 2307 2318 } 2308 2319 -
trunk/src/core/config.h.in
r3373 r3717 70 70 #undef HAVE_CTYPE_H 71 71 72 /* Define to 1 if you have the <env.h> header file. */ 73 #undef HAVE_ENV_H 74 72 75 /* Define to 1 if you have the <errno.h> header file. */ 73 76 #undef HAVE_ERRNO_H 74 77 78 /* Render servers can use ffmpeg */ 79 #undef HAVE_FFMPEG 80 75 81 /* Define to 1 if you have the <ffmpeg/avcodec.h> header file. */ 76 82 #undef HAVE_FFMPEG_AVCODEC_H … … 91 97 #undef HAVE_FSTREAM 92 98 99 /* Define to 1 if you have the `gettimeofday' function. */ 100 #undef HAVE_GETTIMEOFDAY 101 93 102 /* Define to 1 if you have the `img_convert' function. */ 94 103 #undef HAVE_IMG_CONVERT … … 121 130 #undef HAVE_LIBAVUTIL_AVUTIL_H 122 131 123 /* Define to 1 if you have the `m' library (-lm). */124 #undef HAVE_LIBM125 126 132 /* Define to 1 if you have the `ncurses' library (-lncurses). */ 127 133 #undef HAVE_LIBNCURSES … … 154 160 #undef HAVE_NCURSES_H 155 161 162 /* Define to 1 if you have the <node.h> header file. */ 163 #undef HAVE_NODE_H 164 156 165 /* Define to 1 if you have the <Python.h> header file. */ 157 166 #undef HAVE_PYTHON_H 158 167 168 /* Define to 1 if you have the <ruby.h> header file. */ 169 #undef HAVE_RUBY_H 170 171 /* Define to 1 if you have the <ruby/node.h> header file. */ 172 #undef HAVE_RUBY_NODE_H 173 159 174 /* Define to 1 if you have the <sstream> header file. */ 160 175 #undef HAVE_SSTREAM … … 208 223 #undef HAVE_VECTOR 209 224 225 /* Define to 1 if you have the <version.h> header file. */ 226 #undef HAVE_VERSION_H 227 210 228 /* Define to the address where bug reports for this package should be sent. */ 211 229 #undef PACKAGE_BUGREPORT … … 225 243 /* Define to the version of this package. */ 226 244 #undef PACKAGE_VERSION 245 246 /* Define this macro to use ruby/node.h */ 247 #undef REALLY_HAVE_RUBY_NODE_H 227 248 228 249 /* The size of `int', as computed by sizeof. */
Note: See TracChangeset
for help on using the changeset viewer.