Changeset 3931
- Timestamp:
- Sep 17, 2013 12:32:27 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r3733 r3931 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 9for Rappture 1.4.3 # Generated by GNU Autoconf 2.63 for Rappture 1.4. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 # 10 # 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 11 9 # This configure script is free software; the Free Software Foundation 12 10 # gives unlimited permission to copy, distribute and modify it. 13 ## -------------------- ##14 ## M4sh Initialization. ##15 ## -------------------- ##11 ## --------------------- ## 12 ## M4sh Initialization. ## 13 ## --------------------- ## 16 14 17 15 # Be more Bourne compatible 18 16 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 20 18 emulate sh 21 19 NULLCMD=: … … 25 23 setopt NO_GLOB_SUBST 26 24 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 35 41 36 42 as_nl=' … … 41 47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 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 49 if (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; then 85 as_unset=unset 86 else 87 as_unset=false 88 fi 89 83 90 84 91 # IFS … … 90 97 91 98 # Find who we are. Look in the path if we contain no directory separator. 92 as_myself= 93 case $0 in #(( 99 case $0 in 94 100 *[\\/]* ) as_myself=$0 ;; 95 101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 98 104 IFS=$as_save_IFS 99 105 test -z "$as_dir" && as_dir=. 100 101 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 107 done 102 108 IFS=$as_save_IFS 103 109 … … 111 117 if test ! -f "$as_myself"; then 112 118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 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 || : 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 123 125 done 124 126 PS1='$ ' … … 132 134 export LANGUAGE 133 135 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 136 # Required to use basename. 422 137 if expr a : '\(a\)' >/dev/null 2>&1 && 423 138 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 433 148 fi 434 149 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 150 151 # Name of the executable. 441 152 as_me=`$as_basename -- "$0" || 442 153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 458 169 s/.*/./; q'` 459 170 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. :-) 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. :-) 473 460 sed -n ' 474 461 p … … 487 474 ' >$as_me.lineno && 488 475 chmod +x "$as_me.lineno" || 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 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 478 495 479 # Don't try to exec as it changes $[0], causing all sort of problems 496 480 # (the dirname of $[0] is not the place where we might find the … … 501 485 } 502 486 487 488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 489 as_dirname=dirname 490 else 491 as_dirname=false 492 fi 493 503 494 ECHO_C= ECHO_N= ECHO_T= 504 case `echo -n x` in #(((((495 case `echo -n x` in 505 496 -n*) 506 case `echo 'x y\c'` in497 case `echo 'x\c'` in 507 498 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 499 *) ECHO_C='\c';; 511 500 esac;; 512 501 *) 513 502 ECHO_N='-n';; 514 503 esac 504 if expr a : '\(a\)' >/dev/null 2>&1 && 505 test "X`expr 00001 : '.*\(...\)'`" = X001; then 506 as_expr=expr 507 else 508 as_expr=false 509 fi 515 510 516 511 rm -f conf$$ conf$$.exe conf$$.file … … 527 522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 528 523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 529 # In both cases, we have to default to `cp -p R'.524 # In both cases, we have to default to `cp -p'. 530 525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 531 as_ln_s='cp -p R'526 as_ln_s='cp -p' 532 527 elif ln conf$$.file conf$$ 2>/dev/null; then 533 528 as_ln_s=ln 534 529 else 535 as_ln_s='cp -p R'530 as_ln_s='cp -p' 536 531 fi 537 532 else 538 as_ln_s='cp -p R'533 as_ln_s='cp -p' 539 534 fi 540 535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 542 537 543 538 if mkdir -p . 2>/dev/null; then 544 as_mkdir_p= 'mkdir -p "$as_dir"'539 as_mkdir_p=: 545 540 else 546 541 test -d ./-p && rmdir ./-p … … 548 543 fi 549 544 550 as_test_x='test -x' 551 as_executable_p=as_fn_executable_p 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 552 567 553 568 # Sed expression to map a string onto a valid CPP name. … … 558 573 559 574 560 test -n "$DJDIR" || exec 7<&0 </dev/null 561 exec 6>&1575 576 exec 7<&0 </dev/null 6>&1 562 577 563 578 # Name of the host. 564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 565 580 # so uname gets run too. 566 581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 577 592 MFLAGS= 578 593 MAKEFLAGS= 594 SHELL=${CONFIG_SHELL-/bin/sh} 579 595 580 596 # Identity of this package. … … 584 600 PACKAGE_STRING='Rappture 1.4' 585 601 PACKAGE_BUGREPORT='rappture@nanohub.org' 586 PACKAGE_URL=''587 602 588 603 # Factoring default headers for most tests. … … 800 815 prefix 801 816 exec_prefix 802 PACKAGE_URL803 817 PACKAGE_BUGREPORT 804 818 PACKAGE_STRING … … 910 924 911 925 case $ac_option in 912 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 913 *=) ac_optarg= ;; 914 *) ac_optarg=yes ;; 926 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 927 *) ac_optarg=yes ;; 915 928 esac 916 929 … … 957 970 # Reject names that are not valid shell variable names. 958 971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 959 as_fn_error $? "invalid feature name: $ac_useropt" 972 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 973 { (exit 1); exit 1; }; } 960 974 ac_useropt_orig=$ac_useropt 961 975 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 983 997 # Reject names that are not valid shell variable names. 984 998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 985 as_fn_error $? "invalid feature name: $ac_useropt" 999 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1000 { (exit 1); exit 1; }; } 986 1001 ac_useropt_orig=$ac_useropt 987 1002 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1187 1202 # Reject names that are not valid shell variable names. 1188 1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1189 as_fn_error $? "invalid package name: $ac_useropt" 1204 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1205 { (exit 1); exit 1; }; } 1190 1206 ac_useropt_orig=$ac_useropt 1191 1207 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1203 1219 # Reject names that are not valid shell variable names. 1204 1220 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1205 as_fn_error $? "invalid package name: $ac_useropt" 1221 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1222 { (exit 1); exit 1; }; } 1206 1223 ac_useropt_orig=$ac_useropt 1207 1224 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1233 1250 x_libraries=$ac_optarg ;; 1234 1251 1235 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1236 Try \`$0 --help' for more information" 1252 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1253 Try \`$0 --help' for more information." >&2 1254 { (exit 1); exit 1; }; } 1237 1255 ;; 1238 1256 … … 1240 1258 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1241 1259 # Reject names that are not valid shell variable names. 1242 case $ac_envvar in #( 1243 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1244 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1245 esac 1260 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1261 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1262 { (exit 1); exit 1; }; } 1246 1263 eval $ac_envvar=\$ac_optarg 1247 1264 export $ac_envvar ;; … … 1252 1269 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1253 1270 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1254 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"1271 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1255 1272 ;; 1256 1273 … … 1260 1277 if test -n "$ac_prev"; then 1261 1278 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1262 as_fn_error $? "missing argument to $ac_option" 1279 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1280 { (exit 1); exit 1; }; } 1263 1281 fi 1264 1282 … … 1266 1284 case $enable_option_checking in 1267 1285 no) ;; 1268 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1286 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1287 { (exit 1); exit 1; }; } ;; 1269 1288 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1270 1289 esac … … 1289 1308 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1290 1309 esac 1291 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1310 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1311 { (exit 1); exit 1; }; } 1292 1312 done 1293 1313 … … 1303 1323 if test "x$build_alias" = x; then 1304 1324 cross_compiling=maybe 1325 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1326 If a cross compiler is detected then cross compile mode will be used." >&2 1305 1327 elif test "x$build_alias" != "x$host_alias"; then 1306 1328 cross_compiling=yes … … 1317 1339 ac_ls_di=`ls -di .` && 1318 1340 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1319 as_fn_error $? "working directory cannot be determined" 1341 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1342 { (exit 1); exit 1; }; } 1320 1343 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1321 as_fn_error $? "pwd does not report name of working directory" 1344 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1345 { (exit 1); exit 1; }; } 1322 1346 1323 1347 … … 1358 1382 if test ! -r "$srcdir/$ac_unique_file"; then 1359 1383 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1360 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1384 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1385 { (exit 1); exit 1; }; } 1361 1386 fi 1362 1387 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1363 1388 ac_abs_confdir=`( 1364 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1389 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1390 { (exit 1); exit 1; }; } 1365 1391 pwd)` 1366 1392 # When building in place, set srcdir=. … … 1402 1428 --help=recursive display the short help of all the included packages 1403 1429 -V, --version display version information and exit 1404 -q, --quiet, --silent do not print \`checking 1430 -q, --quiet, --silent do not print \`checking...' messages 1405 1431 --cache-file=FILE cache test results in FILE [disabled] 1406 1432 -C, --config-cache alias for \`--cache-file=config.cache' … … 1486 1512 --with-java=DIR location of java [default=yes] 1487 1513 --with-R=DIR location of R interpreter [default=yes] 1488 --with-ruby=PATH path to the ruby interpreter [ [ruby]]1514 --with-ruby=PATH path to the ruby interpreter [ruby] 1489 1515 --with-ruby-sitelibdir=PATH 1490 path to install ruby scripts [ [auto-detect]]1516 path to install ruby scripts [auto-detect] 1491 1517 1492 1518 Some influential environment variables: … … 1496 1522 nonstandard directory <lib dir> 1497 1523 LIBS libraries to pass to the linker, e.g. -l<library> 1498 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1524 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1499 1525 you have headers in a nonstandard directory <include dir> 1500 1526 CXX C++ compiler command … … 1572 1598 cat <<\_ACEOF 1573 1599 Rappture configure 1.4 1574 generated by GNU Autoconf 2.69 1575 1576 Copyright (C) 2012 Free Software Foundation, Inc. 1600 generated by GNU Autoconf 2.63 1601 1602 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1603 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1577 1604 This configure script is free software; the Free Software Foundation 1578 1605 gives unlimited permission to copy, distribute and modify it. … … 1580 1607 exit 1581 1608 fi 1582 1583 ## ------------------------ ##1584 ## Autoconf initialization. ##1585 ## ------------------------ ##1586 1587 # ac_fn_c_try_compile LINENO1588 # --------------------------1589 # Try to compile conftest.$ac_ext, and return whether this succeeded.1590 ac_fn_c_try_compile ()1591 {1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1593 rm -f conftest.$ac_objext1594 if { { ac_try="$ac_compile"1595 case "(($ac_try" in1596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1597 *) ac_try_echo=$ac_try;;1598 esac1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1600 $as_echo "$ac_try_echo"; } >&51601 (eval "$ac_compile") 2>conftest.err1602 ac_status=$?1603 if test -s conftest.err; then1604 grep -v '^ *+' conftest.err >conftest.er11605 cat conftest.er1 >&51606 mv -f conftest.er1 conftest.err1607 fi1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51609 test $ac_status = 0; } && {1610 test -z "$ac_c_werror_flag" ||1611 test ! -s conftest.err1612 } && test -s conftest.$ac_objext; then :1613 ac_retval=01614 else1615 $as_echo "$as_me: failed program was:" >&51616 sed 's/^/| /' conftest.$ac_ext >&51617 1618 ac_retval=11619 fi1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1621 as_fn_set_status $ac_retval1622 1623 } # ac_fn_c_try_compile1624 1625 # ac_fn_cxx_try_compile LINENO1626 # ----------------------------1627 # Try to compile conftest.$ac_ext, and return whether this succeeded.1628 ac_fn_cxx_try_compile ()1629 {1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1631 rm -f conftest.$ac_objext1632 if { { ac_try="$ac_compile"1633 case "(($ac_try" in1634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1635 *) ac_try_echo=$ac_try;;1636 esac1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1638 $as_echo "$ac_try_echo"; } >&51639 (eval "$ac_compile") 2>conftest.err1640 ac_status=$?1641 if test -s conftest.err; then1642 grep -v '^ *+' conftest.err >conftest.er11643 cat conftest.er1 >&51644 mv -f conftest.er1 conftest.err1645 fi1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51647 test $ac_status = 0; } && {1648 test -z "$ac_cxx_werror_flag" ||1649 test ! -s conftest.err1650 } && test -s conftest.$ac_objext; then :1651 ac_retval=01652 else1653 $as_echo "$as_me: failed program was:" >&51654 sed 's/^/| /' conftest.$ac_ext >&51655 1656 ac_retval=11657 fi1658 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1659 as_fn_set_status $ac_retval1660 1661 } # ac_fn_cxx_try_compile1662 1663 # ac_fn_f77_try_compile LINENO1664 # ----------------------------1665 # Try to compile conftest.$ac_ext, and return whether this succeeded.1666 ac_fn_f77_try_compile ()1667 {1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1669 rm -f conftest.$ac_objext1670 if { { ac_try="$ac_compile"1671 case "(($ac_try" in1672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1673 *) ac_try_echo=$ac_try;;1674 esac1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1676 $as_echo "$ac_try_echo"; } >&51677 (eval "$ac_compile") 2>conftest.err1678 ac_status=$?1679 if test -s conftest.err; then1680 grep -v '^ *+' conftest.err >conftest.er11681 cat conftest.er1 >&51682 mv -f conftest.er1 conftest.err1683 fi1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51685 test $ac_status = 0; } && {1686 test -z "$ac_f77_werror_flag" ||1687 test ! -s conftest.err1688 } && test -s conftest.$ac_objext; then :1689 ac_retval=01690 else1691 $as_echo "$as_me: failed program was:" >&51692 sed 's/^/| /' conftest.$ac_ext >&51693 1694 ac_retval=11695 fi1696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1697 as_fn_set_status $ac_retval1698 1699 } # ac_fn_f77_try_compile1700 1701 # ac_fn_c_try_cpp LINENO1702 # ----------------------1703 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1704 ac_fn_c_try_cpp ()1705 {1706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1707 if { { ac_try="$ac_cpp conftest.$ac_ext"1708 case "(($ac_try" in1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1710 *) ac_try_echo=$ac_try;;1711 esac1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1713 $as_echo "$ac_try_echo"; } >&51714 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1715 ac_status=$?1716 if test -s conftest.err; then1717 grep -v '^ *+' conftest.err >conftest.er11718 cat conftest.er1 >&51719 mv -f conftest.er1 conftest.err1720 fi1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51722 test $ac_status = 0; } > conftest.i && {1723 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1724 test ! -s conftest.err1725 }; then :1726 ac_retval=01727 else1728 $as_echo "$as_me: failed program was:" >&51729 sed 's/^/| /' conftest.$ac_ext >&51730 1731 ac_retval=11732 fi1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1734 as_fn_set_status $ac_retval1735 1736 } # ac_fn_c_try_cpp1737 1738 # ac_fn_c_try_run LINENO1739 # ----------------------1740 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1741 # that executables *can* be run.1742 ac_fn_c_try_run ()1743 {1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1745 if { { ac_try="$ac_link"1746 case "(($ac_try" in1747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1748 *) ac_try_echo=$ac_try;;1749 esac1750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1751 $as_echo "$ac_try_echo"; } >&51752 (eval "$ac_link") 2>&51753 ac_status=$?1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51755 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1756 { { case "(($ac_try" in1757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1758 *) ac_try_echo=$ac_try;;1759 esac1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1761 $as_echo "$ac_try_echo"; } >&51762 (eval "$ac_try") 2>&51763 ac_status=$?1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51765 test $ac_status = 0; }; }; then :1766 ac_retval=01767 else1768 $as_echo "$as_me: program exited with status $ac_status" >&51769 $as_echo "$as_me: failed program was:" >&51770 sed 's/^/| /' conftest.$ac_ext >&51771 1772 ac_retval=$ac_status1773 fi1774 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1776 as_fn_set_status $ac_retval1777 1778 } # ac_fn_c_try_run1779 1780 # ac_fn_c_try_link LINENO1781 # -----------------------1782 # Try to link conftest.$ac_ext, and return whether this succeeded.1783 ac_fn_c_try_link ()1784 {1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1786 rm -f conftest.$ac_objext conftest$ac_exeext1787 if { { ac_try="$ac_link"1788 case "(($ac_try" in1789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1790 *) ac_try_echo=$ac_try;;1791 esac1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1793 $as_echo "$ac_try_echo"; } >&51794 (eval "$ac_link") 2>conftest.err1795 ac_status=$?1796 if test -s conftest.err; then1797 grep -v '^ *+' conftest.err >conftest.er11798 cat conftest.er1 >&51799 mv -f conftest.er1 conftest.err1800 fi1801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51802 test $ac_status = 0; } && {1803 test -z "$ac_c_werror_flag" ||1804 test ! -s conftest.err1805 } && test -s conftest$ac_exeext && {1806 test "$cross_compiling" = yes ||1807 test -x conftest$ac_exeext1808 }; then :1809 ac_retval=01810 else1811 $as_echo "$as_me: failed program was:" >&51812 sed 's/^/| /' conftest.$ac_ext >&51813 1814 ac_retval=11815 fi1816 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1817 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1818 # interfere with the next link command; also delete a directory that is1819 # left behind by Apple's compiler. We do this before executing the actions.1820 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1822 as_fn_set_status $ac_retval1823 1824 } # ac_fn_c_try_link1825 1826 # ac_fn_c_check_func LINENO FUNC VAR1827 # ----------------------------------1828 # Tests whether FUNC exists, setting the cache variable VAR accordingly1829 ac_fn_c_check_func ()1830 {1831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51833 $as_echo_n "checking for $2... " >&6; }1834 if eval \${$3+:} false; then :1835 $as_echo_n "(cached) " >&61836 else1837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1838 /* end confdefs.h. */1839 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.1840 For example, HP-UX 11i <limits.h> declares gettimeofday. */1841 #define $2 innocuous_$21842 1843 /* System header to define __stub macros and hopefully few prototypes,1844 which can conflict with char $2 (); below.1845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1846 <limits.h> exists even on freestanding compilers. */1847 1848 #ifdef __STDC__1849 # include <limits.h>1850 #else1851 # include <assert.h>1852 #endif1853 1854 #undef $21855 1856 /* Override any GCC internal prototype to avoid an error.1857 Use char because int might match the return type of a GCC1858 builtin and then its argument prototype would still apply. */1859 #ifdef __cplusplus1860 extern "C"1861 #endif1862 char $2 ();1863 /* The GNU C library defines this for functions which it implements1864 to always fail with ENOSYS. Some functions are actually named1865 something starting with __ and the normal name is an alias. */1866 #if defined __stub_$2 || defined __stub___$21867 choke me1868 #endif1869 1870 int1871 main ()1872 {1873 return $2 ();1874 ;1875 return 0;1876 }1877 _ACEOF1878 if ac_fn_c_try_link "$LINENO"; then :1879 eval "$3=yes"1880 else1881 eval "$3=no"1882 fi1883 rm -f core conftest.err conftest.$ac_objext \1884 conftest$ac_exeext conftest.$ac_ext1885 fi1886 eval ac_res=\$$31887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51888 $as_echo "$ac_res" >&6; }1889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1890 1891 } # ac_fn_c_check_func1892 1893 # ac_fn_cxx_try_link LINENO1894 # -------------------------1895 # Try to link conftest.$ac_ext, and return whether this succeeded.1896 ac_fn_cxx_try_link ()1897 {1898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1899 rm -f conftest.$ac_objext conftest$ac_exeext1900 if { { ac_try="$ac_link"1901 case "(($ac_try" in1902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1903 *) ac_try_echo=$ac_try;;1904 esac1905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1906 $as_echo "$ac_try_echo"; } >&51907 (eval "$ac_link") 2>conftest.err1908 ac_status=$?1909 if test -s conftest.err; then1910 grep -v '^ *+' conftest.err >conftest.er11911 cat conftest.er1 >&51912 mv -f conftest.er1 conftest.err1913 fi1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51915 test $ac_status = 0; } && {1916 test -z "$ac_cxx_werror_flag" ||1917 test ! -s conftest.err1918 } && test -s conftest$ac_exeext && {1919 test "$cross_compiling" = yes ||1920 test -x conftest$ac_exeext1921 }; then :1922 ac_retval=01923 else1924 $as_echo "$as_me: failed program was:" >&51925 sed 's/^/| /' conftest.$ac_ext >&51926 1927 ac_retval=11928 fi1929 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1930 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1931 # interfere with the next link command; also delete a directory that is1932 # left behind by Apple's compiler. We do this before executing the actions.1933 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1935 as_fn_set_status $ac_retval1936 1937 } # ac_fn_cxx_try_link1938 1939 # ac_fn_cxx_check_func LINENO FUNC VAR1940 # ------------------------------------1941 # Tests whether FUNC exists, setting the cache variable VAR accordingly1942 ac_fn_cxx_check_func ()1943 {1944 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51946 $as_echo_n "checking for $2... " >&6; }1947 if eval \${$3+:} false; then :1948 $as_echo_n "(cached) " >&61949 else1950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1951 /* end confdefs.h. */1952 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.1953 For example, HP-UX 11i <limits.h> declares gettimeofday. */1954 #define $2 innocuous_$21955 1956 /* System header to define __stub macros and hopefully few prototypes,1957 which can conflict with char $2 (); below.1958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1959 <limits.h> exists even on freestanding compilers. */1960 1961 #ifdef __STDC__1962 # include <limits.h>1963 #else1964 # include <assert.h>1965 #endif1966 1967 #undef $21968 1969 /* Override any GCC internal prototype to avoid an error.1970 Use char because int might match the return type of a GCC1971 builtin and then its argument prototype would still apply. */1972 #ifdef __cplusplus1973 extern "C"1974 #endif1975 char $2 ();1976 /* The GNU C library defines this for functions which it implements1977 to always fail with ENOSYS. Some functions are actually named1978 something starting with __ and the normal name is an alias. */1979 #if defined __stub_$2 || defined __stub___$21980 choke me1981 #endif1982 1983 int1984 main ()1985 {1986 return $2 ();1987 ;1988 return 0;1989 }1990 _ACEOF1991 if ac_fn_cxx_try_link "$LINENO"; then :1992 eval "$3=yes"1993 else1994 eval "$3=no"1995 fi1996 rm -f core conftest.err conftest.$ac_objext \1997 conftest$ac_exeext conftest.$ac_ext1998 fi1999 eval ac_res=\$$32000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52001 $as_echo "$ac_res" >&6; }2002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2003 2004 } # ac_fn_cxx_check_func2005 2006 # ac_fn_cxx_try_cpp LINENO2007 # ------------------------2008 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.2009 ac_fn_cxx_try_cpp ()2010 {2011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2012 if { { ac_try="$ac_cpp conftest.$ac_ext"2013 case "(($ac_try" in2014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2015 *) ac_try_echo=$ac_try;;2016 esac2017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2018 $as_echo "$ac_try_echo"; } >&52019 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err2020 ac_status=$?2021 if test -s conftest.err; then2022 grep -v '^ *+' conftest.err >conftest.er12023 cat conftest.er1 >&52024 mv -f conftest.er1 conftest.err2025 fi2026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52027 test $ac_status = 0; } > conftest.i && {2028 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||2029 test ! -s conftest.err2030 }; then :2031 ac_retval=02032 else2033 $as_echo "$as_me: failed program was:" >&52034 sed 's/^/| /' conftest.$ac_ext >&52035 2036 ac_retval=12037 fi2038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2039 as_fn_set_status $ac_retval2040 2041 } # ac_fn_cxx_try_cpp2042 2043 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES2044 # ---------------------------------------------------------2045 # Tests whether HEADER exists, giving a warning if it cannot be compiled using2046 # the include files in INCLUDES and setting the cache variable VAR2047 # accordingly.2048 ac_fn_cxx_check_header_mongrel ()2049 {2050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2051 if eval \${$3+:} false; then :2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52053 $as_echo_n "checking for $2... " >&6; }2054 if eval \${$3+:} false; then :2055 $as_echo_n "(cached) " >&62056 fi2057 eval ac_res=\$$32058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52059 $as_echo "$ac_res" >&6; }2060 else2061 # Is the header compilable?2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&52063 $as_echo_n "checking $2 usability... " >&6; }2064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2065 /* end confdefs.h. */2066 $42067 #include <$2>2068 _ACEOF2069 if ac_fn_cxx_try_compile "$LINENO"; then :2070 ac_header_compiler=yes2071 else2072 ac_header_compiler=no2073 fi2074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&52076 $as_echo "$ac_header_compiler" >&6; }2077 2078 # Is the header present?2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&52080 $as_echo_n "checking $2 presence... " >&6; }2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2082 /* end confdefs.h. */2083 #include <$2>2084 _ACEOF2085 if ac_fn_cxx_try_cpp "$LINENO"; then :2086 ac_header_preproc=yes2087 else2088 ac_header_preproc=no2089 fi2090 rm -f conftest.err conftest.i conftest.$ac_ext2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&52092 $as_echo "$ac_header_preproc" >&6; }2093 2094 # So? What about this header?2095 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((2096 yes:no: )2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&52098 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52100 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2101 ;;2102 no:yes:* )2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&52104 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&52106 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}2107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&52108 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}2109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&52110 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}2111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52112 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2113 ( $as_echo "## ----------------------------------- ##2114 ## Report this to rappture@nanohub.org ##2115 ## ----------------------------------- ##"2116 ) | sed "s/^/$as_me: WARNING: /" >&22117 ;;2118 esac2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52120 $as_echo_n "checking for $2... " >&6; }2121 if eval \${$3+:} false; then :2122 $as_echo_n "(cached) " >&62123 else2124 eval "$3=\$ac_header_compiler"2125 fi2126 eval ac_res=\$$32127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52128 $as_echo "$ac_res" >&6; }2129 fi2130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2131 2132 } # ac_fn_cxx_check_header_mongrel2133 2134 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES2135 # ---------------------------------------------------------2136 # Tests whether HEADER exists and can be compiled using the include files in2137 # INCLUDES, setting the cache variable VAR accordingly.2138 ac_fn_cxx_check_header_compile ()2139 {2140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52142 $as_echo_n "checking for $2... " >&6; }2143 if eval \${$3+:} false; then :2144 $as_echo_n "(cached) " >&62145 else2146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2147 /* end confdefs.h. */2148 $42149 #include <$2>2150 _ACEOF2151 if ac_fn_cxx_try_compile "$LINENO"; then :2152 eval "$3=yes"2153 else2154 eval "$3=no"2155 fi2156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2157 fi2158 eval ac_res=\$$32159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52160 $as_echo "$ac_res" >&6; }2161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2162 2163 } # ac_fn_cxx_check_header_compile2164 2165 # ac_fn_cxx_try_run LINENO2166 # ------------------------2167 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes2168 # that executables *can* be run.2169 ac_fn_cxx_try_run ()2170 {2171 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2172 if { { ac_try="$ac_link"2173 case "(($ac_try" in2174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2175 *) ac_try_echo=$ac_try;;2176 esac2177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2178 $as_echo "$ac_try_echo"; } >&52179 (eval "$ac_link") 2>&52180 ac_status=$?2181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52182 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'2183 { { case "(($ac_try" in2184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2185 *) ac_try_echo=$ac_try;;2186 esac2187 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2188 $as_echo "$ac_try_echo"; } >&52189 (eval "$ac_try") 2>&52190 ac_status=$?2191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52192 test $ac_status = 0; }; }; then :2193 ac_retval=02194 else2195 $as_echo "$as_me: program exited with status $ac_status" >&52196 $as_echo "$as_me: failed program was:" >&52197 sed 's/^/| /' conftest.$ac_ext >&52198 2199 ac_retval=$ac_status2200 fi2201 rm -rf conftest.dSYM conftest_ipa8_conftest.oo2202 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2203 as_fn_set_status $ac_retval2204 2205 } # ac_fn_cxx_try_run2206 2207 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES2208 # ----------------------------------------------2209 # Tries to find the compile-time value of EXPR in a program that includes2210 # INCLUDES, setting VAR accordingly. Returns whether the value could be2211 # computed2212 ac_fn_cxx_compute_int ()2213 {2214 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2215 if test "$cross_compiling" = yes; then2216 # Depending upon the size, compute the lo and hi bounds.2217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2218 /* end confdefs.h. */2219 $42220 int2221 main ()2222 {2223 static int test_array [1 - 2 * !(($2) >= 0)];2224 test_array [0] = 0;2225 return test_array [0];2226 2227 ;2228 return 0;2229 }2230 _ACEOF2231 if ac_fn_cxx_try_compile "$LINENO"; then :2232 ac_lo=0 ac_mid=02233 while :; do2234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2235 /* end confdefs.h. */2236 $42237 int2238 main ()2239 {2240 static int test_array [1 - 2 * !(($2) <= $ac_mid)];2241 test_array [0] = 0;2242 return test_array [0];2243 2244 ;2245 return 0;2246 }2247 _ACEOF2248 if ac_fn_cxx_try_compile "$LINENO"; then :2249 ac_hi=$ac_mid; break2250 else2251 as_fn_arith $ac_mid + 1 && ac_lo=$as_val2252 if test $ac_lo -le $ac_mid; then2253 ac_lo= ac_hi=2254 break2255 fi2256 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val2257 fi2258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2259 done2260 else2261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2262 /* end confdefs.h. */2263 $42264 int2265 main ()2266 {2267 static int test_array [1 - 2 * !(($2) < 0)];2268 test_array [0] = 0;2269 return test_array [0];2270 2271 ;2272 return 0;2273 }2274 _ACEOF2275 if ac_fn_cxx_try_compile "$LINENO"; then :2276 ac_hi=-1 ac_mid=-12277 while :; do2278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2279 /* end confdefs.h. */2280 $42281 int2282 main ()2283 {2284 static int test_array [1 - 2 * !(($2) >= $ac_mid)];2285 test_array [0] = 0;2286 return test_array [0];2287 2288 ;2289 return 0;2290 }2291 _ACEOF2292 if ac_fn_cxx_try_compile "$LINENO"; then :2293 ac_lo=$ac_mid; break2294 else2295 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val2296 if test $ac_mid -le $ac_hi; then2297 ac_lo= ac_hi=2298 break2299 fi2300 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val2301 fi2302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2303 done2304 else2305 ac_lo= ac_hi=2306 fi2307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2308 fi2309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2310 # Binary search between lo and hi bounds.2311 while test "x$ac_lo" != "x$ac_hi"; do2312 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val2313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2314 /* end confdefs.h. */2315 $42316 int2317 main ()2318 {2319 static int test_array [1 - 2 * !(($2) <= $ac_mid)];2320 test_array [0] = 0;2321 return test_array [0];2322 2323 ;2324 return 0;2325 }2326 _ACEOF2327 if ac_fn_cxx_try_compile "$LINENO"; then :2328 ac_hi=$ac_mid2329 else2330 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val2331 fi2332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2333 done2334 case $ac_lo in #((2335 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;2336 '') ac_retval=1 ;;2337 esac2338 else2339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2340 /* end confdefs.h. */2341 $42342 static long int longval () { return $2; }2343 static unsigned long int ulongval () { return $2; }2344 #include <stdio.h>2345 #include <stdlib.h>2346 int2347 main ()2348 {2349 2350 FILE *f = fopen ("conftest.val", "w");2351 if (! f)2352 return 1;2353 if (($2) < 0)2354 {2355 long int i = longval ();2356 if (i != ($2))2357 return 1;2358 fprintf (f, "%ld", i);2359 }2360 else2361 {2362 unsigned long int i = ulongval ();2363 if (i != ($2))2364 return 1;2365 fprintf (f, "%lu", i);2366 }2367 /* Do not output a trailing newline, as this causes \r\n confusion2368 on some platforms. */2369 return ferror (f) || fclose (f) != 0;2370 2371 ;2372 return 0;2373 }2374 _ACEOF2375 if ac_fn_cxx_try_run "$LINENO"; then :2376 echo >>conftest.val; read $3 <conftest.val; ac_retval=02377 else2378 ac_retval=12379 fi2380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \2381 conftest.$ac_objext conftest.beam conftest.$ac_ext2382 rm -f conftest.val2383 2384 fi2385 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2386 as_fn_set_status $ac_retval2387 2388 } # ac_fn_cxx_compute_int2389 1609 cat >config.log <<_ACEOF 2390 1610 This file contains any messages produced by compilers while … … 2392 1612 2393 1613 It was created by Rappture $as_me 1.4, which was 2394 generated by GNU Autoconf 2.6 9. Invocation command line was1614 generated by GNU Autoconf 2.63. Invocation command line was 2395 1615 2396 1616 $ $0 $@ … … 2428 1648 IFS=$as_save_IFS 2429 1649 test -z "$as_dir" && as_dir=. 2430 2431 1650 $as_echo "PATH: $as_dir" 1651 done 2432 1652 IFS=$as_save_IFS 2433 1653 … … 2466 1686 esac 2467 1687 case $ac_pass in 2468 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1688 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2469 1689 2) 2470 a s_fn_append ac_configure_args1 "'$ac_arg'"1690 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2471 1691 if test $ac_must_keep_next = true; then 2472 1692 ac_must_keep_next=false # Got value, back to normal. … … 2484 1704 esac 2485 1705 fi 2486 a s_fn_append ac_configure_args "'$ac_arg'"1706 ac_configure_args="$ac_configure_args '$ac_arg'" 2487 1707 ;; 2488 1708 esac 2489 1709 done 2490 1710 done 2491 { ac_configure_args0=; unset ac_configure_args0;}2492 { ac_configure_args1=; unset ac_configure_args1;}1711 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1712 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2493 1713 2494 1714 # When interrupted or exit'd, cleanup temporary files, and complete … … 2502 1722 echo 2503 1723 2504 $as_echo "## ---------------- ## 1724 cat <<\_ASBOX 1725 ## ---------------- ## 2505 1726 ## Cache variables. ## 2506 ## ---------------- ##" 1727 ## ---------------- ## 1728 _ASBOX 2507 1729 echo 2508 1730 # The following way of writing the cache mishandles newlines in values, … … 2513 1735 *${as_nl}*) 2514 1736 case $ac_var in #( 2515 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&51737 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 2516 1738 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2517 1739 esac … … 2519 1741 _ | IFS | as_nl) ;; #( 2520 1742 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2521 *) { eval $ac_var=; unset $ac_var;};;1743 *) $as_unset $ac_var ;; 2522 1744 esac ;; 2523 1745 esac … … 2538 1760 echo 2539 1761 2540 $as_echo "## ----------------- ## 1762 cat <<\_ASBOX 1763 ## ----------------- ## 2541 1764 ## Output variables. ## 2542 ## ----------------- ##" 1765 ## ----------------- ## 1766 _ASBOX 2543 1767 echo 2544 1768 for ac_var in $ac_subst_vars … … 2553 1777 2554 1778 if test -n "$ac_subst_files"; then 2555 $as_echo "## ------------------- ## 1779 cat <<\_ASBOX 1780 ## ------------------- ## 2556 1781 ## File substitutions. ## 2557 ## ------------------- ##" 1782 ## ------------------- ## 1783 _ASBOX 2558 1784 echo 2559 1785 for ac_var in $ac_subst_files … … 2569 1795 2570 1796 if test -s confdefs.h; then 2571 $as_echo "## ----------- ## 1797 cat <<\_ASBOX 1798 ## ----------- ## 2572 1799 ## confdefs.h. ## 2573 ## ----------- ##" 1800 ## ----------- ## 1801 _ASBOX 2574 1802 echo 2575 1803 cat confdefs.h … … 2585 1813 ' 0 2586 1814 for ac_signal in 1 2 13 15; do 2587 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1815 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2588 1816 done 2589 1817 ac_signal=0 … … 2592 1820 rm -f -r conftest* confdefs.h 2593 1821 2594 $as_echo "/* confdefs.h */" > confdefs.h2595 2596 1822 # Predefined preprocessor variables. 2597 1823 … … 2600 1826 _ACEOF 2601 1827 1828 2602 1829 cat >>confdefs.h <<_ACEOF 2603 1830 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2604 1831 _ACEOF 2605 1832 1833 2606 1834 cat >>confdefs.h <<_ACEOF 2607 1835 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2608 1836 _ACEOF 2609 1837 1838 2610 1839 cat >>confdefs.h <<_ACEOF 2611 1840 #define PACKAGE_STRING "$PACKAGE_STRING" 2612 1841 _ACEOF 2613 1842 1843 2614 1844 cat >>confdefs.h <<_ACEOF 2615 1845 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2616 _ACEOF2617 2618 cat >>confdefs.h <<_ACEOF2619 #define PACKAGE_URL "$PACKAGE_URL"2620 1846 _ACEOF 2621 1847 … … 2626 1852 ac_site_file2=NONE 2627 1853 if test -n "$CONFIG_SITE"; then 2628 # We do not want a PATH search for config.site. 2629 case $CONFIG_SITE in #(( 2630 -*) ac_site_file1=./$CONFIG_SITE;; 2631 */*) ac_site_file1=$CONFIG_SITE;; 2632 *) ac_site_file1=./$CONFIG_SITE;; 2633 esac 1854 ac_site_file1=$CONFIG_SITE 2634 1855 elif test "x$prefix" != xNONE; then 2635 1856 ac_site_file1=$prefix/share/config.site … … 2642 1863 do 2643 1864 test "x$ac_site_file" = xNONE && continue 2644 if test /dev/null != "$ac_site_file" && test-r "$ac_site_file"; then2645 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading site script $ac_site_file" >&51865 if test -r "$ac_site_file"; then 1866 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2646 1867 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2647 1868 sed 's/^/| /' "$ac_site_file" >&5 2648 . "$ac_site_file" \ 2649 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2651 as_fn_error $? "failed to load site script $ac_site_file 2652 See \`config.log' for more details" "$LINENO" 5; } 1869 . "$ac_site_file" 2653 1870 fi 2654 1871 done 2655 1872 2656 1873 if test -r "$cache_file"; then 2657 # Some versions of bash will fail to source /dev/null (special files2658 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2659 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2660 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading cache $cache_file" >&51874 # Some versions of bash will fail to source /dev/null (special 1875 # files actually), so we avoid doing that. 1876 if test -f "$cache_file"; then 1877 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2661 1878 $as_echo "$as_me: loading cache $cache_file" >&6;} 2662 1879 case $cache_file in … … 2666 1883 fi 2667 1884 else 2668 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating cache $cache_file" >&51885 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2669 1886 $as_echo "$as_me: creating cache $cache_file" >&6;} 2670 1887 >$cache_file … … 2681 1898 case $ac_old_set,$ac_new_set in 2682 1899 set,) 2683 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51900 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2684 1901 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2685 1902 ac_cache_corrupted=: ;; 2686 1903 ,set) 2687 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&51904 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2688 1905 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2689 1906 ac_cache_corrupted=: ;; … … 2695 1912 ac_new_val_w=`echo x $ac_new_val` 2696 1913 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2697 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&51914 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2698 1915 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2699 1916 ac_cache_corrupted=: 2700 1917 else 2701 { $as_echo "$as_me:$ {as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&51918 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2702 1919 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2703 1920 eval $ac_var=\$ac_old_val 2704 1921 fi 2705 { $as_echo "$as_me:$ {as_lineno-$LINENO}: former value: \`$ac_old_val'" >&51922 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2706 1923 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2707 { $as_echo "$as_me:$ {as_lineno-$LINENO}: current value: \`$ac_new_val'" >&51924 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2708 1925 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2709 1926 fi;; … … 2717 1934 case " $ac_configure_args " in 2718 1935 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2719 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1936 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2720 1937 esac 2721 1938 fi 2722 1939 done 2723 1940 if $ac_cache_corrupted; then 2724 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&51941 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2725 1942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2726 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&51943 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2727 1944 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2728 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2729 fi 2730 ## -------------------- ## 2731 ## Main body of script. ## 2732 ## -------------------- ## 1945 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1946 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1947 { (exit 1); exit 1; }; } 1948 fi 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 2733 1973 2734 1974 ac_ext=c … … 2756 1996 done 2757 1997 if test -z "$ac_aux_dir"; then 2758 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1998 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1999 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 2000 { (exit 1); exit 1; }; } 2759 2001 fi 2760 2002 … … 2784 2026 2785 2027 # Check whether --with-install was given. 2786 if test "${with_install+set}" = set; then :2028 if test "${with_install+set}" = set; then 2787 2029 withval=$with_install; 2788 2030 else … … 2819 2061 # ./install, which can be erroneously created by make from ./install.sh. 2820 2062 # Reject install programs that cannot install multiple files. 2821 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a BSD-compatible install" >&52063 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2822 2064 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2823 2065 if test -z "$INSTALL"; then 2824 if ${ac_cv_path_install+:} false; then :2066 if test "${ac_cv_path_install+set}" = set; then 2825 2067 $as_echo_n "(cached) " >&6 2826 2068 else … … 2830 2072 IFS=$as_save_IFS 2831 2073 test -z "$as_dir" && as_dir=. 2832 2833 case $as_dir/ in #((2834 ./ | .// | / [cC]/* | \2074 # Account for people who put trailing slashes in PATH elements. 2075 case $as_dir/ in 2076 ./ | .// | /cC/* | \ 2835 2077 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2836 ?: [\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \2078 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2837 2079 /usr/ucb/* ) ;; 2838 2080 *) … … 2842 2084 for ac_prog in ginstall scoinst install; do 2843 2085 for ac_exec_ext in '' $ac_executable_extensions; do 2844 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then2086 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2845 2087 if test $ac_prog = install && 2846 2088 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 2871 2113 esac 2872 2114 2873 2115 done 2874 2116 IFS=$as_save_IFS 2875 2117 … … 2887 2129 fi 2888 2130 fi 2889 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $INSTALL" >&52131 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 2890 2132 $as_echo "$INSTALL" >&6; } 2891 2133 … … 2898 2140 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2899 2141 2142 # Find a good install program. We prefer a C program (faster), 2143 # so one script is as good as another. But avoid the broken or 2144 # incompatible versions: 2145 # SysV /etc/install, /usr/sbin/install 2146 # SunOS /usr/etc/install 2147 # IRIX /sbin/install 2148 # AIX /bin/install 2149 # AmigaOS /C/install, which installs bootblocks on floppy discs 2150 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2151 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2152 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2153 # OS/2's system install, which has a completely different semantic 2154 # ./install, which can be erroneously created by make from ./install.sh. 2155 # Reject install programs that cannot install multiple files. 2156 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2157 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2158 if test -z "$INSTALL"; then 2159 if test "${ac_cv_path_install+set}" = set; then 2160 $as_echo_n "(cached) " >&6 2161 else 2162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2163 for as_dir in $PATH 2164 do 2165 IFS=$as_save_IFS 2166 test -z "$as_dir" && as_dir=. 2167 # Account for people who put trailing slashes in PATH elements. 2168 case $as_dir/ in 2169 ./ | .// | /cC/* | \ 2170 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2171 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2172 /usr/ucb/* ) ;; 2173 *) 2174 # OSF1 and SCO ODT 3.0 have their own names for install. 2175 # Don't use installbsd from OSF since it installs stuff as root 2176 # by default. 2177 for ac_prog in ginstall scoinst install; do 2178 for ac_exec_ext in '' $ac_executable_extensions; do 2179 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2180 if test $ac_prog = install && 2181 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2182 # AIX install. It has an incompatible calling convention. 2183 : 2184 elif test $ac_prog = install && 2185 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2186 # program-specific install script used by HP pwplus--don't use. 2187 : 2188 else 2189 rm -rf conftest.one conftest.two conftest.dir 2190 echo one > conftest.one 2191 echo two > conftest.two 2192 mkdir conftest.dir 2193 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2194 test -s conftest.one && test -s conftest.two && 2195 test -s conftest.dir/conftest.one && 2196 test -s conftest.dir/conftest.two 2197 then 2198 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2199 break 3 2200 fi 2201 fi 2202 fi 2203 done 2204 done 2205 ;; 2206 esac 2207 2208 done 2209 IFS=$as_save_IFS 2210 2211 rm -rf conftest.one conftest.two conftest.dir 2212 2213 fi 2214 if test "${ac_cv_path_install+set}" = set; then 2215 INSTALL=$ac_cv_path_install 2216 else 2217 # As a last resort, use the slow shell script. Don't cache a 2218 # value for INSTALL within a source directory, because that will 2219 # break other packages using the cache if that directory is 2220 # removed, or if the value is a relative name. 2221 INSTALL=$ac_install_sh 2222 fi 2223 fi 2224 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 2225 $as_echo "$INSTALL" >&6; } 2226 2227 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2228 # It thinks the first close brace ends the variable substitution. 2229 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2230 2231 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2232 2233 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2900 2234 2901 2235 if test -n "$ac_tool_prefix"; then 2902 2236 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2903 2237 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2904 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52238 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2905 2239 $as_echo_n "checking for $ac_word... " >&6; } 2906 if ${ac_cv_prog_RANLIB+:} false; then :2240 if test "${ac_cv_prog_RANLIB+set}" = set; then 2907 2241 $as_echo_n "(cached) " >&6 2908 2242 else … … 2915 2249 IFS=$as_save_IFS 2916 2250 test -z "$as_dir" && as_dir=. 2917 2918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2251 for ac_exec_ext in '' $ac_executable_extensions; do 2252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2919 2253 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2920 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52254 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2921 2255 break 2 2922 2256 fi 2923 2257 done 2924 2258 done 2925 2259 IFS=$as_save_IFS 2926 2260 … … 2929 2263 RANLIB=$ac_cv_prog_RANLIB 2930 2264 if test -n "$RANLIB"; then 2931 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&52265 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 2932 2266 $as_echo "$RANLIB" >&6; } 2933 2267 else 2934 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52268 { $as_echo "$as_me:$LINENO: result: no" >&5 2935 2269 $as_echo "no" >&6; } 2936 2270 fi … … 2942 2276 # Extract the first word of "ranlib", so it can be a program name with args. 2943 2277 set dummy ranlib; ac_word=$2 2944 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52278 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2945 2279 $as_echo_n "checking for $ac_word... " >&6; } 2946 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :2280 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2947 2281 $as_echo_n "(cached) " >&6 2948 2282 else … … 2955 2289 IFS=$as_save_IFS 2956 2290 test -z "$as_dir" && as_dir=. 2957 2958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2291 for ac_exec_ext in '' $ac_executable_extensions; do 2292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2959 2293 ac_cv_prog_ac_ct_RANLIB="ranlib" 2960 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52294 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2961 2295 break 2 2962 2296 fi 2963 2297 done 2964 2298 done 2965 2299 IFS=$as_save_IFS 2966 2300 … … 2969 2303 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2970 2304 if test -n "$ac_ct_RANLIB"; then 2971 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&52305 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 2972 2306 $as_echo "$ac_ct_RANLIB" >&6; } 2973 2307 else 2974 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52308 { $as_echo "$as_me:$LINENO: result: no" >&5 2975 2309 $as_echo "no" >&6; } 2976 2310 fi … … 2981 2315 case $cross_compiling:$ac_tool_warned in 2982 2316 yes:) 2983 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52317 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2984 2318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2985 2319 ac_tool_warned=yes ;; … … 2991 2325 fi 2992 2326 2993 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether ln -s works" >&52327 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 2994 2328 $as_echo_n "checking whether ln -s works... " >&6; } 2995 2329 LN_S=$as_ln_s 2996 2330 if test "$LN_S" = "ln -s"; then 2997 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&52331 { $as_echo "$as_me:$LINENO: result: yes" >&5 2998 2332 $as_echo "yes" >&6; } 2999 2333 else 3000 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no, using $LN_S" >&52334 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3001 2335 $as_echo "no, using $LN_S" >&6; } 3002 2336 fi 3003 2337 3004 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&52338 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 3005 2339 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3006 2340 if test -z "$MKDIR_P"; then 3007 if ${ac_cv_path_mkdir+:} false; then :2341 if test "${ac_cv_path_mkdir+set}" = set; then 3008 2342 $as_echo_n "(cached) " >&6 3009 2343 else … … 3013 2347 IFS=$as_save_IFS 3014 2348 test -z "$as_dir" && as_dir=. 3015 2349 for ac_prog in mkdir gmkdir; do 3016 2350 for ac_exec_ext in '' $ac_executable_extensions; do 3017 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"|| continue2351 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 3018 2352 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3019 2353 'mkdir (GNU coreutils) '* | \ … … 3025 2359 done 3026 2360 done 3027 2361 done 3028 2362 IFS=$as_save_IFS 3029 2363 3030 2364 fi 3031 2365 3032 test -d ./--version && rmdir ./--version3033 2366 if test "${ac_cv_path_mkdir+set}" = set; then 3034 2367 MKDIR_P="$ac_cv_path_mkdir -p" … … 3038 2371 # break other packages using the cache if that directory is 3039 2372 # removed, or if the value is a relative name. 2373 test -d ./--version && rmdir ./--version 3040 2374 MKDIR_P="$ac_install_sh -d" 3041 2375 fi 3042 2376 fi 3043 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $MKDIR_P" >&52377 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 3044 2378 $as_echo "$MKDIR_P" >&6; } 3045 2379 3046 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&52380 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3047 2381 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3048 2382 set x ${MAKE-make} 3049 2383 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3050 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :2384 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 3051 2385 $as_echo_n "(cached) " >&6 3052 2386 else … … 3056 2390 @echo '@@@%%%=$(MAKE)=@@@%%%' 3057 2391 _ACEOF 3058 # GNU make sometimes prints "make[1]: Entering 2392 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3059 2393 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3060 2394 *@@@%%%=?*=@@@%%%*) … … 3066 2400 fi 3067 2401 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3068 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&52402 { $as_echo "$as_me:$LINENO: result: yes" >&5 3069 2403 $as_echo "yes" >&6; } 3070 2404 SET_MAKE= 3071 2405 else 3072 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52406 { $as_echo "$as_me:$LINENO: result: no" >&5 3073 2407 $as_echo "no" >&6; } 3074 2408 SET_MAKE="MAKE=${MAKE-make}" … … 3085 2419 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3086 2420 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3087 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52421 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3088 2422 $as_echo_n "checking for $ac_word... " >&6; } 3089 if ${ac_cv_prog_CC+:} false; then :2423 if test "${ac_cv_prog_CC+set}" = set; then 3090 2424 $as_echo_n "(cached) " >&6 3091 2425 else … … 3098 2432 IFS=$as_save_IFS 3099 2433 test -z "$as_dir" && as_dir=. 3100 3101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2434 for ac_exec_ext in '' $ac_executable_extensions; do 2435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3102 2436 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3103 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52437 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3104 2438 break 2 3105 2439 fi 3106 2440 done 3107 2441 done 3108 2442 IFS=$as_save_IFS 3109 2443 … … 3112 2446 CC=$ac_cv_prog_CC 3113 2447 if test -n "$CC"; then 3114 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52448 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3115 2449 $as_echo "$CC" >&6; } 3116 2450 else 3117 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52451 { $as_echo "$as_me:$LINENO: result: no" >&5 3118 2452 $as_echo "no" >&6; } 3119 2453 fi … … 3125 2459 # Extract the first word of "gcc", so it can be a program name with args. 3126 2460 set dummy gcc; ac_word=$2 3127 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52461 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3128 2462 $as_echo_n "checking for $ac_word... " >&6; } 3129 if ${ac_cv_prog_ac_ct_CC+:} false; then :2463 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3130 2464 $as_echo_n "(cached) " >&6 3131 2465 else … … 3138 2472 IFS=$as_save_IFS 3139 2473 test -z "$as_dir" && as_dir=. 3140 3141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2474 for ac_exec_ext in '' $ac_executable_extensions; do 2475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3142 2476 ac_cv_prog_ac_ct_CC="gcc" 3143 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52477 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3144 2478 break 2 3145 2479 fi 3146 2480 done 3147 2481 done 3148 2482 IFS=$as_save_IFS 3149 2483 … … 3152 2486 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3153 2487 if test -n "$ac_ct_CC"; then 3154 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52488 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3155 2489 $as_echo "$ac_ct_CC" >&6; } 3156 2490 else 3157 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52491 { $as_echo "$as_me:$LINENO: result: no" >&5 3158 2492 $as_echo "no" >&6; } 3159 2493 fi … … 3164 2498 case $cross_compiling:$ac_tool_warned in 3165 2499 yes:) 3166 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52500 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3167 2501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3168 2502 ac_tool_warned=yes ;; … … 3178 2512 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3179 2513 set dummy ${ac_tool_prefix}cc; ac_word=$2 3180 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52514 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3181 2515 $as_echo_n "checking for $ac_word... " >&6; } 3182 if ${ac_cv_prog_CC+:} false; then :2516 if test "${ac_cv_prog_CC+set}" = set; then 3183 2517 $as_echo_n "(cached) " >&6 3184 2518 else … … 3191 2525 IFS=$as_save_IFS 3192 2526 test -z "$as_dir" && as_dir=. 3193 3194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2527 for ac_exec_ext in '' $ac_executable_extensions; do 2528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3195 2529 ac_cv_prog_CC="${ac_tool_prefix}cc" 3196 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52530 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3197 2531 break 2 3198 2532 fi 3199 2533 done 3200 2534 done 3201 2535 IFS=$as_save_IFS 3202 2536 … … 3205 2539 CC=$ac_cv_prog_CC 3206 2540 if test -n "$CC"; then 3207 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52541 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3208 2542 $as_echo "$CC" >&6; } 3209 2543 else 3210 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52544 { $as_echo "$as_me:$LINENO: result: no" >&5 3211 2545 $as_echo "no" >&6; } 3212 2546 fi … … 3218 2552 # Extract the first word of "cc", so it can be a program name with args. 3219 2553 set dummy cc; ac_word=$2 3220 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52554 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3221 2555 $as_echo_n "checking for $ac_word... " >&6; } 3222 if ${ac_cv_prog_CC+:} false; then :2556 if test "${ac_cv_prog_CC+set}" = set; then 3223 2557 $as_echo_n "(cached) " >&6 3224 2558 else … … 3232 2566 IFS=$as_save_IFS 3233 2567 test -z "$as_dir" && as_dir=. 3234 3235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2568 for ac_exec_ext in '' $ac_executable_extensions; do 2569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3236 2570 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3237 2571 ac_prog_rejected=yes … … 3239 2573 fi 3240 2574 ac_cv_prog_CC="cc" 3241 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52575 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3242 2576 break 2 3243 2577 fi 3244 2578 done 3245 2579 done 3246 2580 IFS=$as_save_IFS 3247 2581 … … 3262 2596 CC=$ac_cv_prog_CC 3263 2597 if test -n "$CC"; then 3264 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52598 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3265 2599 $as_echo "$CC" >&6; } 3266 2600 else 3267 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52601 { $as_echo "$as_me:$LINENO: result: no" >&5 3268 2602 $as_echo "no" >&6; } 3269 2603 fi … … 3277 2611 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3278 2612 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3279 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52613 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3280 2614 $as_echo_n "checking for $ac_word... " >&6; } 3281 if ${ac_cv_prog_CC+:} false; then :2615 if test "${ac_cv_prog_CC+set}" = set; then 3282 2616 $as_echo_n "(cached) " >&6 3283 2617 else … … 3290 2624 IFS=$as_save_IFS 3291 2625 test -z "$as_dir" && as_dir=. 3292 3293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2626 for ac_exec_ext in '' $ac_executable_extensions; do 2627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3294 2628 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3295 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52629 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3296 2630 break 2 3297 2631 fi 3298 2632 done 3299 2633 done 3300 2634 IFS=$as_save_IFS 3301 2635 … … 3304 2638 CC=$ac_cv_prog_CC 3305 2639 if test -n "$CC"; then 3306 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52640 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3307 2641 $as_echo "$CC" >&6; } 3308 2642 else 3309 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52643 { $as_echo "$as_me:$LINENO: result: no" >&5 3310 2644 $as_echo "no" >&6; } 3311 2645 fi … … 3321 2655 # Extract the first word of "$ac_prog", so it can be a program name with args. 3322 2656 set dummy $ac_prog; ac_word=$2 3323 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52657 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3324 2658 $as_echo_n "checking for $ac_word... " >&6; } 3325 if ${ac_cv_prog_ac_ct_CC+:} false; then :2659 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3326 2660 $as_echo_n "(cached) " >&6 3327 2661 else … … 3334 2668 IFS=$as_save_IFS 3335 2669 test -z "$as_dir" && as_dir=. 3336 3337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2670 for ac_exec_ext in '' $ac_executable_extensions; do 2671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3338 2672 ac_cv_prog_ac_ct_CC="$ac_prog" 3339 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52673 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3340 2674 break 2 3341 2675 fi 3342 2676 done 3343 2677 done 3344 2678 IFS=$as_save_IFS 3345 2679 … … 3348 2682 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3349 2683 if test -n "$ac_ct_CC"; then 3350 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52684 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3351 2685 $as_echo "$ac_ct_CC" >&6; } 3352 2686 else 3353 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52687 { $as_echo "$as_me:$LINENO: result: no" >&5 3354 2688 $as_echo "no" >&6; } 3355 2689 fi … … 3364 2698 case $cross_compiling:$ac_tool_warned in 3365 2699 yes:) 3366 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52700 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3367 2701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3368 2702 ac_tool_warned=yes ;; … … 3375 2709 3376 2710 3377 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52711 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3378 2712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3379 as_fn_error $? "no acceptable C compiler found in \$PATH 3380 See \`config.log' for more details" "$LINENO" 5; } 2713 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2714 See \`config.log' for more details." >&5 2715 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2716 See \`config.log' for more details." >&2;} 2717 { (exit 1); exit 1; }; }; } 3381 2718 3382 2719 # Provide some information about the compiler. 3383 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&52720 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3384 2721 set X $ac_compile 3385 2722 ac_compiler=$2 3386 for ac_option in --version -v -V -qversion; do 3387 { { ac_try="$ac_compiler $ac_option >&5" 2723 { (ac_try="$ac_compiler --version >&5" 3388 2724 case "(($ac_try" in 3389 2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3390 2726 *) ac_try_echo=$ac_try;; 3391 2727 esac 3392 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3393 $as_echo "$ac_try_echo" ; }>&53394 (eval "$ac_compiler $ac_option >&5") 2>conftest.err2728 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2729 $as_echo "$ac_try_echo") >&5 2730 (eval "$ac_compiler --version >&5") 2>&5 3395 2731 ac_status=$? 3396 if test -s conftest.err; then 3397 sed '10a\ 3398 ... rest of stderr output deleted ... 3399 10q' conftest.err >conftest.er1 3400 cat conftest.er1 >&5 3401 fi 3402 rm -f conftest.er1 conftest.err 3403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3404 test $ac_status = 0; } 3405 done 3406 3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2733 (exit $ac_status); } 2734 { (ac_try="$ac_compiler -v >&5" 2735 case "(($ac_try" in 2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2737 *) ac_try_echo=$ac_try;; 2738 esac 2739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2740 $as_echo "$ac_try_echo") >&5 2741 (eval "$ac_compiler -v >&5") 2>&5 2742 ac_status=$? 2743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2744 (exit $ac_status); } 2745 { (ac_try="$ac_compiler -V >&5" 2746 case "(($ac_try" in 2747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2748 *) ac_try_echo=$ac_try;; 2749 esac 2750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2751 $as_echo "$ac_try_echo") >&5 2752 (eval "$ac_compiler -V >&5") 2>&5 2753 ac_status=$? 2754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2755 (exit $ac_status); } 2756 2757 cat >conftest.$ac_ext <<_ACEOF 2758 /* confdefs.h. */ 2759 _ACEOF 2760 cat confdefs.h >>conftest.$ac_ext 2761 cat >>conftest.$ac_ext <<_ACEOF 3408 2762 /* end confdefs.h. */ 3409 2763 … … 3421 2775 # It will help us diagnose broken compilers, and finding out an intuition 3422 2776 # of exeext. 3423 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether the C compiler works" >&53424 $as_echo_n "checking whether the C compiler works... " >&6; }2777 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2778 $as_echo_n "checking for C compiler default output file name... " >&6; } 3425 2779 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3426 2780 … … 3438 2792 rm -f $ac_rmfiles 3439 2793 3440 if { {ac_try="$ac_link_default"2794 if { (ac_try="$ac_link_default" 3441 2795 case "(($ac_try" in 3442 2796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3443 2797 *) ac_try_echo=$ac_try;; 3444 2798 esac 3445 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3446 $as_echo "$ac_try_echo" ; }>&52799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2800 $as_echo "$ac_try_echo") >&5 3447 2801 (eval "$ac_link_default") 2>&5 3448 2802 ac_status=$? 3449 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53450 test $ac_status = 0; }; then :2803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2804 (exit $ac_status); }; then 3451 2805 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3452 2806 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 3465 2819 break;; 3466 2820 *.* ) 3467 2821 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3468 2822 then :; else 3469 2823 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 3484 2838 ac_file='' 3485 2839 fi 3486 if test -z "$ac_file"; then : 3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3488 $as_echo "no" >&6; } 3489 $as_echo "$as_me: failed program was:" >&5 2840 2841 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2842 $as_echo "$ac_file" >&6; } 2843 if test -z "$ac_file"; then 2844 $as_echo "$as_me: failed program was:" >&5 3490 2845 sed 's/^/| /' conftest.$ac_ext >&5 3491 2846 3492 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52847 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3493 2848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3494 as_fn_error 77 "C compiler cannot create executables 3495 See \`config.log' for more details" "$LINENO" 5; } 3496 else 3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2849 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2850 See \`config.log' for more details." >&5 2851 $as_echo "$as_me: error: C compiler cannot create executables 2852 See \`config.log' for more details." >&2;} 2853 { (exit 77); exit 77; }; }; } 2854 fi 2855 2856 ac_exeext=$ac_cv_exeext 2857 2858 # Check that the compiler produces executables we can run. If not, either 2859 # the compiler is broken, or we cross compile. 2860 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2861 $as_echo_n "checking whether the C compiler works... " >&6; } 2862 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2863 # If not cross compiling, check that we can run a simple program. 2864 if test "$cross_compiling" != yes; then 2865 if { ac_try='./$ac_file' 2866 { (case "(($ac_try" in 2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2868 *) ac_try_echo=$ac_try;; 2869 esac 2870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2871 $as_echo "$ac_try_echo") >&5 2872 (eval "$ac_try") 2>&5 2873 ac_status=$? 2874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2875 (exit $ac_status); }; }; then 2876 cross_compiling=no 2877 else 2878 if test "$cross_compiling" = maybe; then 2879 cross_compiling=yes 2880 else 2881 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2883 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2884 If you meant to cross compile, use \`--host'. 2885 See \`config.log' for more details." >&5 2886 $as_echo "$as_me: error: cannot run C compiled programs. 2887 If you meant to cross compile, use \`--host'. 2888 See \`config.log' for more details." >&2;} 2889 { (exit 1); exit 1; }; }; } 2890 fi 2891 fi 2892 fi 2893 { $as_echo "$as_me:$LINENO: result: yes" >&5 3498 2894 $as_echo "yes" >&6; } 3499 fi3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&53501 $as_echo_n "checking for C compiler default output file name... " >&6; }3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&53503 $as_echo "$ac_file" >&6; }3504 ac_exeext=$ac_cv_exeext3505 2895 3506 2896 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3507 2897 ac_clean_files=$ac_clean_files_save 3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2898 # Check that the compiler produces executables we can run. If not, either 2899 # the compiler is broken, or we cross compile. 2900 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2901 $as_echo_n "checking whether we are cross compiling... " >&6; } 2902 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2903 $as_echo "$cross_compiling" >&6; } 2904 2905 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3509 2906 $as_echo_n "checking for suffix of executables... " >&6; } 3510 if { {ac_try="$ac_link"2907 if { (ac_try="$ac_link" 3511 2908 case "(($ac_try" in 3512 2909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3513 2910 *) ac_try_echo=$ac_try;; 3514 2911 esac 3515 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3516 $as_echo "$ac_try_echo" ; }>&52912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2913 $as_echo "$ac_try_echo") >&5 3517 2914 (eval "$ac_link") 2>&5 3518 2915 ac_status=$? 3519 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53520 test $ac_status = 0; }; then :2916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2917 (exit $ac_status); }; then 3521 2918 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3522 2919 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 3533 2930 done 3534 2931 else 3535 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52932 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3536 2933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3537 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3538 See \`config.log' for more details" "$LINENO" 5; } 3539 fi 3540 rm -f conftest conftest$ac_cv_exeext 3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2934 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2935 See \`config.log' for more details." >&5 2936 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2937 See \`config.log' for more details." >&2;} 2938 { (exit 1); exit 1; }; }; } 2939 fi 2940 2941 rm -f conftest$ac_cv_exeext 2942 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3542 2943 $as_echo "$ac_cv_exeext" >&6; } 3543 2944 … … 3545 2946 EXEEXT=$ac_cv_exeext 3546 2947 ac_exeext=$EXEEXT 3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2948 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2949 $as_echo_n "checking for suffix of object files... " >&6; } 2950 if test "${ac_cv_objext+set}" = set; then 2951 $as_echo_n "(cached) " >&6 2952 else 2953 cat >conftest.$ac_ext <<_ACEOF 2954 /* confdefs.h. */ 2955 _ACEOF 2956 cat confdefs.h >>conftest.$ac_ext 2957 cat >>conftest.$ac_ext <<_ACEOF 3548 2958 /* end confdefs.h. */ 3549 #include <stdio.h> 2959 3550 2960 int 3551 2961 main () 3552 2962 { 3553 FILE *f = fopen ("conftest.out", "w");3554 return ferror (f) || fclose (f) != 0;3555 2963 3556 2964 ; … … 3558 2966 } 3559 2967 _ACEOF 3560 ac_clean_files="$ac_clean_files conftest.out" 3561 # Check that the compiler produces executables we can run. If not, either 3562 # the compiler is broken, or we cross compile. 3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3564 $as_echo_n "checking whether we are cross compiling... " >&6; } 3565 if test "$cross_compiling" != yes; then 3566 { { ac_try="$ac_link" 2968 rm -f conftest.o conftest.obj 2969 if { (ac_try="$ac_compile" 3567 2970 case "(($ac_try" in 3568 2971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3569 2972 *) ac_try_echo=$ac_try;; 3570 2973 esac 3571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3572 $as_echo "$ac_try_echo"; } >&5 3573 (eval "$ac_link") 2>&5 3574 ac_status=$? 3575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3576 test $ac_status = 0; } 3577 if { ac_try='./conftest$ac_cv_exeext' 3578 { { case "(($ac_try" in 3579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3580 *) ac_try_echo=$ac_try;; 3581 esac 3582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3583 $as_echo "$ac_try_echo"; } >&5 3584 (eval "$ac_try") 2>&5 3585 ac_status=$? 3586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3587 test $ac_status = 0; }; }; then 3588 cross_compiling=no 3589 else 3590 if test "$cross_compiling" = maybe; then 3591 cross_compiling=yes 3592 else 3593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3595 as_fn_error $? "cannot run C compiled programs. 3596 If you meant to cross compile, use \`--host'. 3597 See \`config.log' for more details" "$LINENO" 5; } 3598 fi 3599 fi 3600 fi 3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3602 $as_echo "$cross_compiling" >&6; } 3603 3604 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3605 ac_clean_files=$ac_clean_files_save 3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3607 $as_echo_n "checking for suffix of object files... " >&6; } 3608 if ${ac_cv_objext+:} false; then : 3609 $as_echo_n "(cached) " >&6 3610 else 3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3612 /* end confdefs.h. */ 3613 3614 int 3615 main () 3616 { 3617 3618 ; 3619 return 0; 3620 } 3621 _ACEOF 3622 rm -f conftest.o conftest.obj 3623 if { { ac_try="$ac_compile" 3624 case "(($ac_try" in 3625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3626 *) ac_try_echo=$ac_try;; 3627 esac 3628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3629 $as_echo "$ac_try_echo"; } >&5 2974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2975 $as_echo "$ac_try_echo") >&5 3630 2976 (eval "$ac_compile") 2>&5 3631 2977 ac_status=$? 3632 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53633 test $ac_status = 0; }; then :2978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2979 (exit $ac_status); }; then 3634 2980 for ac_file in conftest.o conftest.obj conftest.*; do 3635 2981 test -f "$ac_file" || continue; … … 3644 2990 sed 's/^/| /' conftest.$ac_ext >&5 3645 2991 3646 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52992 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3647 2993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3648 as_fn_error $? "cannot compute suffix of object files: cannot compile 3649 See \`config.log' for more details" "$LINENO" 5; } 3650 fi 2994 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2995 See \`config.log' for more details." >&5 2996 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2997 See \`config.log' for more details." >&2;} 2998 { (exit 1); exit 1; }; }; } 2999 fi 3000 3651 3001 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3652 3002 fi 3653 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_objext" >&53003 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3654 3004 $as_echo "$ac_cv_objext" >&6; } 3655 3005 OBJEXT=$ac_cv_objext 3656 3006 ac_objext=$OBJEXT 3657 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&53007 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3658 3008 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3659 if ${ac_cv_c_compiler_gnu+:} false; then :3009 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3660 3010 $as_echo_n "(cached) " >&6 3661 3011 else 3662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3012 cat >conftest.$ac_ext <<_ACEOF 3013 /* confdefs.h. */ 3014 _ACEOF 3015 cat confdefs.h >>conftest.$ac_ext 3016 cat >>conftest.$ac_ext <<_ACEOF 3663 3017 /* end confdefs.h. */ 3664 3018 … … 3674 3028 } 3675 3029 _ACEOF 3676 if ac_fn_c_try_compile "$LINENO"; then : 3030 rm -f conftest.$ac_objext 3031 if { (ac_try="$ac_compile" 3032 case "(($ac_try" in 3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3034 *) ac_try_echo=$ac_try;; 3035 esac 3036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3037 $as_echo "$ac_try_echo") >&5 3038 (eval "$ac_compile") 2>conftest.er1 3039 ac_status=$? 3040 grep -v '^ *+' conftest.er1 >conftest.err 3041 rm -f conftest.er1 3042 cat conftest.err >&5 3043 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3044 (exit $ac_status); } && { 3045 test -z "$ac_c_werror_flag" || 3046 test ! -s conftest.err 3047 } && test -s conftest.$ac_objext; then 3677 3048 ac_compiler_gnu=yes 3678 3049 else 3679 ac_compiler_gnu=no 3680 fi 3050 $as_echo "$as_me: failed program was:" >&5 3051 sed 's/^/| /' conftest.$ac_ext >&5 3052 3053 ac_compiler_gnu=no 3054 fi 3055 3681 3056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3682 3057 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3683 3058 3684 3059 fi 3685 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&53060 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3686 3061 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3687 3062 if test $ac_compiler_gnu = yes; then … … 3692 3067 ac_test_CFLAGS=${CFLAGS+set} 3693 3068 ac_save_CFLAGS=$CFLAGS 3694 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&53069 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3695 3070 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3696 if ${ac_cv_prog_cc_g+:} false; then :3071 if test "${ac_cv_prog_cc_g+set}" = set; then 3697 3072 $as_echo_n "(cached) " >&6 3698 3073 else … … 3701 3076 ac_cv_prog_cc_g=no 3702 3077 CFLAGS="-g" 3703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3078 cat >conftest.$ac_ext <<_ACEOF 3079 /* confdefs.h. */ 3080 _ACEOF 3081 cat confdefs.h >>conftest.$ac_ext 3082 cat >>conftest.$ac_ext <<_ACEOF 3704 3083 /* end confdefs.h. */ 3705 3084 … … 3712 3091 } 3713 3092 _ACEOF 3714 if ac_fn_c_try_compile "$LINENO"; then : 3093 rm -f conftest.$ac_objext 3094 if { (ac_try="$ac_compile" 3095 case "(($ac_try" in 3096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3097 *) ac_try_echo=$ac_try;; 3098 esac 3099 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3100 $as_echo "$ac_try_echo") >&5 3101 (eval "$ac_compile") 2>conftest.er1 3102 ac_status=$? 3103 grep -v '^ *+' conftest.er1 >conftest.err 3104 rm -f conftest.er1 3105 cat conftest.err >&5 3106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3107 (exit $ac_status); } && { 3108 test -z "$ac_c_werror_flag" || 3109 test ! -s conftest.err 3110 } && test -s conftest.$ac_objext; then 3715 3111 ac_cv_prog_cc_g=yes 3716 3112 else 3717 CFLAGS="" 3718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3113 $as_echo "$as_me: failed program was:" >&5 3114 sed 's/^/| /' conftest.$ac_ext >&5 3115 3116 CFLAGS="" 3117 cat >conftest.$ac_ext <<_ACEOF 3118 /* confdefs.h. */ 3119 _ACEOF 3120 cat confdefs.h >>conftest.$ac_ext 3121 cat >>conftest.$ac_ext <<_ACEOF 3719 3122 /* end confdefs.h. */ 3720 3123 … … 3727 3130 } 3728 3131 _ACEOF 3729 if ac_fn_c_try_compile "$LINENO"; then : 3730 3731 else 3732 ac_c_werror_flag=$ac_save_c_werror_flag 3132 rm -f conftest.$ac_objext 3133 if { (ac_try="$ac_compile" 3134 case "(($ac_try" in 3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3136 *) ac_try_echo=$ac_try;; 3137 esac 3138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3139 $as_echo "$ac_try_echo") >&5 3140 (eval "$ac_compile") 2>conftest.er1 3141 ac_status=$? 3142 grep -v '^ *+' conftest.er1 >conftest.err 3143 rm -f conftest.er1 3144 cat conftest.err >&5 3145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3146 (exit $ac_status); } && { 3147 test -z "$ac_c_werror_flag" || 3148 test ! -s conftest.err 3149 } && test -s conftest.$ac_objext; then 3150 : 3151 else 3152 $as_echo "$as_me: failed program was:" >&5 3153 sed 's/^/| /' conftest.$ac_ext >&5 3154 3155 ac_c_werror_flag=$ac_save_c_werror_flag 3733 3156 CFLAGS="-g" 3734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3157 cat >conftest.$ac_ext <<_ACEOF 3158 /* confdefs.h. */ 3159 _ACEOF 3160 cat confdefs.h >>conftest.$ac_ext 3161 cat >>conftest.$ac_ext <<_ACEOF 3735 3162 /* end confdefs.h. */ 3736 3163 … … 3743 3170 } 3744 3171 _ACEOF 3745 if ac_fn_c_try_compile "$LINENO"; then : 3172 rm -f conftest.$ac_objext 3173 if { (ac_try="$ac_compile" 3174 case "(($ac_try" in 3175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3176 *) ac_try_echo=$ac_try;; 3177 esac 3178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3179 $as_echo "$ac_try_echo") >&5 3180 (eval "$ac_compile") 2>conftest.er1 3181 ac_status=$? 3182 grep -v '^ *+' conftest.er1 >conftest.err 3183 rm -f conftest.er1 3184 cat conftest.err >&5 3185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3186 (exit $ac_status); } && { 3187 test -z "$ac_c_werror_flag" || 3188 test ! -s conftest.err 3189 } && test -s conftest.$ac_objext; then 3746 3190 ac_cv_prog_cc_g=yes 3747 fi 3191 else 3192 $as_echo "$as_me: failed program was:" >&5 3193 sed 's/^/| /' conftest.$ac_ext >&5 3194 3195 3196 fi 3197 3748 3198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3749 3199 fi 3200 3750 3201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3751 3202 fi 3203 3752 3204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3753 3205 ac_c_werror_flag=$ac_save_c_werror_flag 3754 3206 fi 3755 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&53207 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3756 3208 $as_echo "$ac_cv_prog_cc_g" >&6; } 3757 3209 if test "$ac_test_CFLAGS" = set; then … … 3770 3222 fi 3771 3223 fi 3772 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&53224 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3773 3225 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3774 if ${ac_cv_prog_cc_c89+:} false; then :3226 if test "${ac_cv_prog_cc_c89+set}" = set; then 3775 3227 $as_echo_n "(cached) " >&6 3776 3228 else 3777 3229 ac_cv_prog_cc_c89=no 3778 3230 ac_save_CC=$CC 3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3231 cat >conftest.$ac_ext <<_ACEOF 3232 /* confdefs.h. */ 3233 _ACEOF 3234 cat confdefs.h >>conftest.$ac_ext 3235 cat >>conftest.$ac_ext <<_ACEOF 3780 3236 /* end confdefs.h. */ 3781 3237 #include <stdarg.h> 3782 3238 #include <stdio.h> 3783 struct stat; 3239 #include <sys/types.h> 3240 #include <sys/stat.h> 3784 3241 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3785 3242 struct buf { int x; }; … … 3833 3290 do 3834 3291 CC="$ac_save_CC $ac_arg" 3835 if ac_fn_c_try_compile "$LINENO"; then : 3292 rm -f conftest.$ac_objext 3293 if { (ac_try="$ac_compile" 3294 case "(($ac_try" in 3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3296 *) ac_try_echo=$ac_try;; 3297 esac 3298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3299 $as_echo "$ac_try_echo") >&5 3300 (eval "$ac_compile") 2>conftest.er1 3301 ac_status=$? 3302 grep -v '^ *+' conftest.er1 >conftest.err 3303 rm -f conftest.er1 3304 cat conftest.err >&5 3305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3306 (exit $ac_status); } && { 3307 test -z "$ac_c_werror_flag" || 3308 test ! -s conftest.err 3309 } && test -s conftest.$ac_objext; then 3836 3310 ac_cv_prog_cc_c89=$ac_arg 3837 fi 3311 else 3312 $as_echo "$as_me: failed program was:" >&5 3313 sed 's/^/| /' conftest.$ac_ext >&5 3314 3315 3316 fi 3317 3838 3318 rm -f core conftest.err conftest.$ac_objext 3839 3319 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3846 3326 case "x$ac_cv_prog_cc_c89" in 3847 3327 x) 3848 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&53328 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3849 3329 $as_echo "none needed" >&6; } ;; 3850 3330 xno) 3851 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&53331 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3852 3332 $as_echo "unsupported" >&6; } ;; 3853 3333 *) 3854 3334 CC="$CC $ac_cv_prog_cc_c89" 3855 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&53335 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3856 3336 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3857 3337 esac 3858 if test "x$ac_cv_prog_cc_c89" != xno; then : 3859 3860 fi 3338 3861 3339 3862 3340 ac_ext=c … … 3880 3358 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3881 3359 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3882 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53360 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3883 3361 $as_echo_n "checking for $ac_word... " >&6; } 3884 if ${ac_cv_prog_CXX+:} false; then :3362 if test "${ac_cv_prog_CXX+set}" = set; then 3885 3363 $as_echo_n "(cached) " >&6 3886 3364 else … … 3893 3371 IFS=$as_save_IFS 3894 3372 test -z "$as_dir" && as_dir=. 3895 3896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3373 for ac_exec_ext in '' $ac_executable_extensions; do 3374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3897 3375 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3898 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53376 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3899 3377 break 2 3900 3378 fi 3901 3379 done 3902 3380 done 3903 3381 IFS=$as_save_IFS 3904 3382 … … 3907 3385 CXX=$ac_cv_prog_CXX 3908 3386 if test -n "$CXX"; then 3909 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXX" >&53387 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 3910 3388 $as_echo "$CXX" >&6; } 3911 3389 else 3912 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53390 { $as_echo "$as_me:$LINENO: result: no" >&5 3913 3391 $as_echo "no" >&6; } 3914 3392 fi … … 3924 3402 # Extract the first word of "$ac_prog", so it can be a program name with args. 3925 3403 set dummy $ac_prog; ac_word=$2 3926 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53404 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3927 3405 $as_echo_n "checking for $ac_word... " >&6; } 3928 if ${ac_cv_prog_ac_ct_CXX+:} false; then :3406 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 3929 3407 $as_echo_n "(cached) " >&6 3930 3408 else … … 3937 3415 IFS=$as_save_IFS 3938 3416 test -z "$as_dir" && as_dir=. 3939 3940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3417 for ac_exec_ext in '' $ac_executable_extensions; do 3418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3941 3419 ac_cv_prog_ac_ct_CXX="$ac_prog" 3942 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53420 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3943 3421 break 2 3944 3422 fi 3945 3423 done 3946 3424 done 3947 3425 IFS=$as_save_IFS 3948 3426 … … 3951 3429 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3952 3430 if test -n "$ac_ct_CXX"; then 3953 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CXX" >&53431 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3954 3432 $as_echo "$ac_ct_CXX" >&6; } 3955 3433 else 3956 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53434 { $as_echo "$as_me:$LINENO: result: no" >&5 3957 3435 $as_echo "no" >&6; } 3958 3436 fi … … 3967 3445 case $cross_compiling:$ac_tool_warned in 3968 3446 yes:) 3969 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&53447 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3970 3448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3971 3449 ac_tool_warned=yes ;; … … 3978 3456 fi 3979 3457 # Provide some information about the compiler. 3980 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C++ compiler version" >&53458 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3981 3459 set X $ac_compile 3982 3460 ac_compiler=$2 3983 for ac_option in --version -v -V -qversion; do 3984 { { ac_try="$ac_compiler $ac_option >&5" 3461 { (ac_try="$ac_compiler --version >&5" 3985 3462 case "(($ac_try" in 3986 3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3987 3464 *) ac_try_echo=$ac_try;; 3988 3465 esac 3989 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3990 $as_echo "$ac_try_echo" ; }>&53991 (eval "$ac_compiler $ac_option >&5") 2>conftest.err3466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3467 $as_echo "$ac_try_echo") >&5 3468 (eval "$ac_compiler --version >&5") 2>&5 3992 3469 ac_status=$? 3993 if test -s conftest.err; then 3994 sed '10a\ 3995 ... rest of stderr output deleted ... 3996 10q' conftest.err >conftest.er1 3997 cat conftest.er1 >&5 3998 fi 3999 rm -f conftest.er1 conftest.err 4000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4001 test $ac_status = 0; } 4002 done 4003 4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3471 (exit $ac_status); } 3472 { (ac_try="$ac_compiler -v >&5" 3473 case "(($ac_try" in 3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3475 *) ac_try_echo=$ac_try;; 3476 esac 3477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3478 $as_echo "$ac_try_echo") >&5 3479 (eval "$ac_compiler -v >&5") 2>&5 3480 ac_status=$? 3481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3482 (exit $ac_status); } 3483 { (ac_try="$ac_compiler -V >&5" 3484 case "(($ac_try" in 3485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3486 *) ac_try_echo=$ac_try;; 3487 esac 3488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3489 $as_echo "$ac_try_echo") >&5 3490 (eval "$ac_compiler -V >&5") 2>&5 3491 ac_status=$? 3492 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3493 (exit $ac_status); } 3494 3495 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 4005 3496 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 4006 if ${ac_cv_cxx_compiler_gnu+:} false; then :3497 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 4007 3498 $as_echo_n "(cached) " >&6 4008 3499 else 4009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3500 cat >conftest.$ac_ext <<_ACEOF 3501 /* confdefs.h. */ 3502 _ACEOF 3503 cat confdefs.h >>conftest.$ac_ext 3504 cat >>conftest.$ac_ext <<_ACEOF 4010 3505 /* end confdefs.h. */ 4011 3506 … … 4021 3516 } 4022 3517 _ACEOF 4023 if ac_fn_cxx_try_compile "$LINENO"; then : 3518 rm -f conftest.$ac_objext 3519 if { (ac_try="$ac_compile" 3520 case "(($ac_try" in 3521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3522 *) ac_try_echo=$ac_try;; 3523 esac 3524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3525 $as_echo "$ac_try_echo") >&5 3526 (eval "$ac_compile") 2>conftest.er1 3527 ac_status=$? 3528 grep -v '^ *+' conftest.er1 >conftest.err 3529 rm -f conftest.er1 3530 cat conftest.err >&5 3531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3532 (exit $ac_status); } && { 3533 test -z "$ac_cxx_werror_flag" || 3534 test ! -s conftest.err 3535 } && test -s conftest.$ac_objext; then 4024 3536 ac_compiler_gnu=yes 4025 3537 else 4026 ac_compiler_gnu=no 4027 fi 3538 $as_echo "$as_me: failed program was:" >&5 3539 sed 's/^/| /' conftest.$ac_ext >&5 3540 3541 ac_compiler_gnu=no 3542 fi 3543 4028 3544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4029 3545 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4030 3546 4031 3547 fi 4032 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&53548 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 4033 3549 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4034 3550 if test $ac_compiler_gnu = yes; then … … 4039 3555 ac_test_CXXFLAGS=${CXXFLAGS+set} 4040 3556 ac_save_CXXFLAGS=$CXXFLAGS 4041 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CXX accepts -g" >&53557 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 4042 3558 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 4043 if ${ac_cv_prog_cxx_g+:} false; then :3559 if test "${ac_cv_prog_cxx_g+set}" = set; then 4044 3560 $as_echo_n "(cached) " >&6 4045 3561 else … … 4048 3564 ac_cv_prog_cxx_g=no 4049 3565 CXXFLAGS="-g" 4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3566 cat >conftest.$ac_ext <<_ACEOF 3567 /* confdefs.h. */ 3568 _ACEOF 3569 cat confdefs.h >>conftest.$ac_ext 3570 cat >>conftest.$ac_ext <<_ACEOF 4051 3571 /* end confdefs.h. */ 4052 3572 … … 4059 3579 } 4060 3580 _ACEOF 4061 if ac_fn_cxx_try_compile "$LINENO"; then : 3581 rm -f conftest.$ac_objext 3582 if { (ac_try="$ac_compile" 3583 case "(($ac_try" in 3584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3585 *) ac_try_echo=$ac_try;; 3586 esac 3587 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3588 $as_echo "$ac_try_echo") >&5 3589 (eval "$ac_compile") 2>conftest.er1 3590 ac_status=$? 3591 grep -v '^ *+' conftest.er1 >conftest.err 3592 rm -f conftest.er1 3593 cat conftest.err >&5 3594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3595 (exit $ac_status); } && { 3596 test -z "$ac_cxx_werror_flag" || 3597 test ! -s conftest.err 3598 } && test -s conftest.$ac_objext; then 4062 3599 ac_cv_prog_cxx_g=yes 4063 3600 else 4064 CXXFLAGS="" 4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3601 $as_echo "$as_me: failed program was:" >&5 3602 sed 's/^/| /' conftest.$ac_ext >&5 3603 3604 CXXFLAGS="" 3605 cat >conftest.$ac_ext <<_ACEOF 3606 /* confdefs.h. */ 3607 _ACEOF 3608 cat confdefs.h >>conftest.$ac_ext 3609 cat >>conftest.$ac_ext <<_ACEOF 4066 3610 /* end confdefs.h. */ 4067 3611 … … 4074 3618 } 4075 3619 _ACEOF 4076 if ac_fn_cxx_try_compile "$LINENO"; then : 4077 4078 else 4079 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3620 rm -f conftest.$ac_objext 3621 if { (ac_try="$ac_compile" 3622 case "(($ac_try" in 3623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3624 *) ac_try_echo=$ac_try;; 3625 esac 3626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3627 $as_echo "$ac_try_echo") >&5 3628 (eval "$ac_compile") 2>conftest.er1 3629 ac_status=$? 3630 grep -v '^ *+' conftest.er1 >conftest.err 3631 rm -f conftest.er1 3632 cat conftest.err >&5 3633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3634 (exit $ac_status); } && { 3635 test -z "$ac_cxx_werror_flag" || 3636 test ! -s conftest.err 3637 } && test -s conftest.$ac_objext; then 3638 : 3639 else 3640 $as_echo "$as_me: failed program was:" >&5 3641 sed 's/^/| /' conftest.$ac_ext >&5 3642 3643 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4080 3644 CXXFLAGS="-g" 4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3645 cat >conftest.$ac_ext <<_ACEOF 3646 /* confdefs.h. */ 3647 _ACEOF 3648 cat confdefs.h >>conftest.$ac_ext 3649 cat >>conftest.$ac_ext <<_ACEOF 4082 3650 /* end confdefs.h. */ 4083 3651 … … 4090 3658 } 4091 3659 _ACEOF 4092 if ac_fn_cxx_try_compile "$LINENO"; then : 3660 rm -f conftest.$ac_objext 3661 if { (ac_try="$ac_compile" 3662 case "(($ac_try" in 3663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3664 *) ac_try_echo=$ac_try;; 3665 esac 3666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3667 $as_echo "$ac_try_echo") >&5 3668 (eval "$ac_compile") 2>conftest.er1 3669 ac_status=$? 3670 grep -v '^ *+' conftest.er1 >conftest.err 3671 rm -f conftest.er1 3672 cat conftest.err >&5 3673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3674 (exit $ac_status); } && { 3675 test -z "$ac_cxx_werror_flag" || 3676 test ! -s conftest.err 3677 } && test -s conftest.$ac_objext; then 4093 3678 ac_cv_prog_cxx_g=yes 4094 fi 3679 else 3680 $as_echo "$as_me: failed program was:" >&5 3681 sed 's/^/| /' conftest.$ac_ext >&5 3682 3683 3684 fi 3685 4095 3686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4096 3687 fi 3688 4097 3689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4098 3690 fi 3691 4099 3692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4100 3693 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4101 3694 fi 4102 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&53695 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 4103 3696 $as_echo "$ac_cv_prog_cxx_g" >&6; } 4104 3697 if test "$ac_test_CXXFLAGS" = set; then … … 4133 3726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4134 3727 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4135 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53728 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4136 3729 $as_echo_n "checking for $ac_word... " >&6; } 4137 if ${ac_cv_prog_F77+:} false; then :3730 if test "${ac_cv_prog_F77+set}" = set; then 4138 3731 $as_echo_n "(cached) " >&6 4139 3732 else … … 4146 3739 IFS=$as_save_IFS 4147 3740 test -z "$as_dir" && as_dir=. 4148 4149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3741 for ac_exec_ext in '' $ac_executable_extensions; do 3742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4150 3743 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 4151 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53744 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4152 3745 break 2 4153 3746 fi 4154 3747 done 4155 3748 done 4156 3749 IFS=$as_save_IFS 4157 3750 … … 4160 3753 F77=$ac_cv_prog_F77 4161 3754 if test -n "$F77"; then 4162 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $F77" >&53755 { $as_echo "$as_me:$LINENO: result: $F77" >&5 4163 3756 $as_echo "$F77" >&6; } 4164 3757 else 4165 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53758 { $as_echo "$as_me:$LINENO: result: no" >&5 4166 3759 $as_echo "no" >&6; } 4167 3760 fi … … 4177 3770 # Extract the first word of "$ac_prog", so it can be a program name with args. 4178 3771 set dummy $ac_prog; ac_word=$2 4179 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53772 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4180 3773 $as_echo_n "checking for $ac_word... " >&6; } 4181 if ${ac_cv_prog_ac_ct_F77+:} false; then :3774 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then 4182 3775 $as_echo_n "(cached) " >&6 4183 3776 else … … 4190 3783 IFS=$as_save_IFS 4191 3784 test -z "$as_dir" && as_dir=. 4192 4193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3785 for ac_exec_ext in '' $ac_executable_extensions; do 3786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4194 3787 ac_cv_prog_ac_ct_F77="$ac_prog" 4195 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53788 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4196 3789 break 2 4197 3790 fi 4198 3791 done 4199 3792 done 4200 3793 IFS=$as_save_IFS 4201 3794 … … 4204 3797 ac_ct_F77=$ac_cv_prog_ac_ct_F77 4205 3798 if test -n "$ac_ct_F77"; then 4206 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_F77" >&53799 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 4207 3800 $as_echo "$ac_ct_F77" >&6; } 4208 3801 else 4209 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53802 { $as_echo "$as_me:$LINENO: result: no" >&5 4210 3803 $as_echo "no" >&6; } 4211 3804 fi … … 4220 3813 case $cross_compiling:$ac_tool_warned in 4221 3814 yes:) 4222 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&53815 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4223 3816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4224 3817 ac_tool_warned=yes ;; … … 4230 3823 4231 3824 # Provide some information about the compiler. 4232 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&53825 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 4233 3826 set X $ac_compile 4234 3827 ac_compiler=$2 4235 for ac_option in --version -v -V -qversion; do 4236 { { ac_try="$ac_compiler $ac_option >&5" 3828 { (ac_try="$ac_compiler --version >&5" 4237 3829 case "(($ac_try" in 4238 3830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4239 3831 *) ac_try_echo=$ac_try;; 4240 3832 esac 4241 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""4242 $as_echo "$ac_try_echo" ; }>&54243 (eval "$ac_compiler $ac_option >&5") 2>conftest.err3833 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3834 $as_echo "$ac_try_echo") >&5 3835 (eval "$ac_compiler --version >&5") 2>&5 4244 3836 ac_status=$? 4245 if test -s conftest.err; then 4246 sed '10a\ 4247 ... rest of stderr output deleted ... 4248 10q' conftest.err >conftest.er1 4249 cat conftest.er1 >&5 4250 fi 4251 rm -f conftest.er1 conftest.err 4252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4253 test $ac_status = 0; } 4254 done 3837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3838 (exit $ac_status); } 3839 { (ac_try="$ac_compiler -v >&5" 3840 case "(($ac_try" in 3841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3842 *) ac_try_echo=$ac_try;; 3843 esac 3844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3845 $as_echo "$ac_try_echo") >&5 3846 (eval "$ac_compiler -v >&5") 2>&5 3847 ac_status=$? 3848 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3849 (exit $ac_status); } 3850 { (ac_try="$ac_compiler -V >&5" 3851 case "(($ac_try" in 3852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3853 *) ac_try_echo=$ac_try;; 3854 esac 3855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3856 $as_echo "$ac_try_echo") >&5 3857 (eval "$ac_compiler -V >&5") 2>&5 3858 ac_status=$? 3859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3860 (exit $ac_status); } 4255 3861 rm -f a.out 4256 3862 … … 4259 3865 ac_save_ext=$ac_ext 4260 3866 ac_ext=F 4261 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&53867 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 4262 3868 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 4263 if ${ac_cv_f77_compiler_gnu+:} false; then :3869 if test "${ac_cv_f77_compiler_gnu+set}" = set; then 4264 3870 $as_echo_n "(cached) " >&6 4265 3871 else 4266 cat > 3872 cat >conftest.$ac_ext <<_ACEOF 4267 3873 program main 4268 3874 #ifndef __GNUC__ … … 4272 3878 end 4273 3879 _ACEOF 4274 if ac_fn_f77_try_compile "$LINENO"; then : 3880 rm -f conftest.$ac_objext 3881 if { (ac_try="$ac_compile" 3882 case "(($ac_try" in 3883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3884 *) ac_try_echo=$ac_try;; 3885 esac 3886 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3887 $as_echo "$ac_try_echo") >&5 3888 (eval "$ac_compile") 2>conftest.er1 3889 ac_status=$? 3890 grep -v '^ *+' conftest.er1 >conftest.err 3891 rm -f conftest.er1 3892 cat conftest.err >&5 3893 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3894 (exit $ac_status); } && { 3895 test -z "$ac_f77_werror_flag" || 3896 test ! -s conftest.err 3897 } && test -s conftest.$ac_objext; then 4275 3898 ac_compiler_gnu=yes 4276 3899 else 4277 ac_compiler_gnu=no 4278 fi 3900 $as_echo "$as_me: failed program was:" >&5 3901 sed 's/^/| /' conftest.$ac_ext >&5 3902 3903 ac_compiler_gnu=no 3904 fi 3905 4279 3906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4280 3907 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 4281 3908 4282 3909 fi 4283 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&53910 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 4284 3911 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 4285 3912 ac_ext=$ac_save_ext … … 4287 3914 ac_save_FFLAGS=$FFLAGS 4288 3915 FFLAGS= 4289 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $F77 accepts -g" >&53916 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 4290 3917 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 4291 if ${ac_cv_prog_f77_g+:} false; then :3918 if test "${ac_cv_prog_f77_g+set}" = set; then 4292 3919 $as_echo_n "(cached) " >&6 4293 3920 else 4294 3921 FFLAGS=-g 4295 cat > 3922 cat >conftest.$ac_ext <<_ACEOF 4296 3923 program main 4297 3924 4298 3925 end 4299 3926 _ACEOF 4300 if ac_fn_f77_try_compile "$LINENO"; then : 3927 rm -f conftest.$ac_objext 3928 if { (ac_try="$ac_compile" 3929 case "(($ac_try" in 3930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3931 *) ac_try_echo=$ac_try;; 3932 esac 3933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3934 $as_echo "$ac_try_echo") >&5 3935 (eval "$ac_compile") 2>conftest.er1 3936 ac_status=$? 3937 grep -v '^ *+' conftest.er1 >conftest.err 3938 rm -f conftest.er1 3939 cat conftest.err >&5 3940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3941 (exit $ac_status); } && { 3942 test -z "$ac_f77_werror_flag" || 3943 test ! -s conftest.err 3944 } && test -s conftest.$ac_objext; then 4301 3945 ac_cv_prog_f77_g=yes 4302 3946 else 4303 ac_cv_prog_f77_g=no 4304 fi 3947 $as_echo "$as_me: failed program was:" >&5 3948 sed 's/^/| /' conftest.$ac_ext >&5 3949 3950 ac_cv_prog_f77_g=no 3951 fi 3952 4305 3953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4306 3954 4307 3955 fi 4308 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&53956 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 4309 3957 $as_echo "$ac_cv_prog_f77_g" >&6; } 4310 3958 if test "$ac_test_FFLAGS" = set; then … … 4349 3997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4350 3998 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4351 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&53999 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4352 4000 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4353 4001 # On Suns, sometimes $CPP names a directory. … … 4356 4004 fi 4357 4005 if test -z "$CPP"; then 4358 if ${ac_cv_prog_CPP+:} false; then :4006 if test "${ac_cv_prog_CPP+set}" = set; then 4359 4007 $as_echo_n "(cached) " >&6 4360 4008 else … … 4371 4019 # On the NeXT, cc -E runs the code through the compiler's parser, 4372 4020 # not just through cpp. "Syntax error" is here to catch this case. 4373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4021 cat >conftest.$ac_ext <<_ACEOF 4022 /* confdefs.h. */ 4023 _ACEOF 4024 cat confdefs.h >>conftest.$ac_ext 4025 cat >>conftest.$ac_ext <<_ACEOF 4374 4026 /* end confdefs.h. */ 4375 4027 #ifdef __STDC__ … … 4380 4032 Syntax error 4381 4033 _ACEOF 4382 if ac_fn_c_try_cpp "$LINENO"; then : 4383 4384 else 4034 if { (ac_try="$ac_cpp conftest.$ac_ext" 4035 case "(($ac_try" in 4036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4037 *) ac_try_echo=$ac_try;; 4038 esac 4039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4040 $as_echo "$ac_try_echo") >&5 4041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4042 ac_status=$? 4043 grep -v '^ *+' conftest.er1 >conftest.err 4044 rm -f conftest.er1 4045 cat conftest.err >&5 4046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4047 (exit $ac_status); } >/dev/null && { 4048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4049 test ! -s conftest.err 4050 }; then 4051 : 4052 else 4053 $as_echo "$as_me: failed program was:" >&5 4054 sed 's/^/| /' conftest.$ac_ext >&5 4055 4385 4056 # Broken: fails on valid input. 4386 4057 continue 4387 4058 fi 4388 rm -f conftest.err conftest.i conftest.$ac_ext 4059 4060 rm -f conftest.err conftest.$ac_ext 4389 4061 4390 4062 # OK, works on sane cases. Now check whether nonexistent headers 4391 4063 # can be detected and how. 4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4064 cat >conftest.$ac_ext <<_ACEOF 4065 /* confdefs.h. */ 4066 _ACEOF 4067 cat confdefs.h >>conftest.$ac_ext 4068 cat >>conftest.$ac_ext <<_ACEOF 4393 4069 /* end confdefs.h. */ 4394 4070 #include <ac_nonexistent.h> 4395 4071 _ACEOF 4396 if ac_fn_c_try_cpp "$LINENO"; then : 4072 if { (ac_try="$ac_cpp conftest.$ac_ext" 4073 case "(($ac_try" in 4074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4075 *) ac_try_echo=$ac_try;; 4076 esac 4077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4078 $as_echo "$ac_try_echo") >&5 4079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4080 ac_status=$? 4081 grep -v '^ *+' conftest.er1 >conftest.err 4082 rm -f conftest.er1 4083 cat conftest.err >&5 4084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4085 (exit $ac_status); } >/dev/null && { 4086 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4087 test ! -s conftest.err 4088 }; then 4397 4089 # Broken: success on invalid input. 4398 4090 continue 4399 4091 else 4092 $as_echo "$as_me: failed program was:" >&5 4093 sed 's/^/| /' conftest.$ac_ext >&5 4094 4400 4095 # Passes both tests. 4401 4096 ac_preproc_ok=: 4402 4097 break 4403 4098 fi 4404 rm -f conftest.err conftest.i conftest.$ac_ext 4099 4100 rm -f conftest.err conftest.$ac_ext 4405 4101 4406 4102 done 4407 4103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4408 rm -f conftest. i conftest.err conftest.$ac_ext4409 if $ac_preproc_ok; then :4104 rm -f conftest.err conftest.$ac_ext 4105 if $ac_preproc_ok; then 4410 4106 break 4411 4107 fi … … 4419 4115 ac_cv_prog_CPP=$CPP 4420 4116 fi 4421 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&54117 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 4422 4118 $as_echo "$CPP" >&6; } 4423 4119 ac_preproc_ok=false … … 4430 4126 # On the NeXT, cc -E runs the code through the compiler's parser, 4431 4127 # not just through cpp. "Syntax error" is here to catch this case. 4432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4128 cat >conftest.$ac_ext <<_ACEOF 4129 /* confdefs.h. */ 4130 _ACEOF 4131 cat confdefs.h >>conftest.$ac_ext 4132 cat >>conftest.$ac_ext <<_ACEOF 4433 4133 /* end confdefs.h. */ 4434 4134 #ifdef __STDC__ … … 4439 4139 Syntax error 4440 4140 _ACEOF 4441 if ac_fn_c_try_cpp "$LINENO"; then : 4442 4443 else 4141 if { (ac_try="$ac_cpp conftest.$ac_ext" 4142 case "(($ac_try" in 4143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4144 *) ac_try_echo=$ac_try;; 4145 esac 4146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4147 $as_echo "$ac_try_echo") >&5 4148 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4149 ac_status=$? 4150 grep -v '^ *+' conftest.er1 >conftest.err 4151 rm -f conftest.er1 4152 cat conftest.err >&5 4153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4154 (exit $ac_status); } >/dev/null && { 4155 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4156 test ! -s conftest.err 4157 }; then 4158 : 4159 else 4160 $as_echo "$as_me: failed program was:" >&5 4161 sed 's/^/| /' conftest.$ac_ext >&5 4162 4444 4163 # Broken: fails on valid input. 4445 4164 continue 4446 4165 fi 4447 rm -f conftest.err conftest.i conftest.$ac_ext 4166 4167 rm -f conftest.err conftest.$ac_ext 4448 4168 4449 4169 # OK, works on sane cases. Now check whether nonexistent headers 4450 4170 # can be detected and how. 4451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4171 cat >conftest.$ac_ext <<_ACEOF 4172 /* confdefs.h. */ 4173 _ACEOF 4174 cat confdefs.h >>conftest.$ac_ext 4175 cat >>conftest.$ac_ext <<_ACEOF 4452 4176 /* end confdefs.h. */ 4453 4177 #include <ac_nonexistent.h> 4454 4178 _ACEOF 4455 if ac_fn_c_try_cpp "$LINENO"; then : 4179 if { (ac_try="$ac_cpp conftest.$ac_ext" 4180 case "(($ac_try" in 4181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4182 *) ac_try_echo=$ac_try;; 4183 esac 4184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4185 $as_echo "$ac_try_echo") >&5 4186 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4187 ac_status=$? 4188 grep -v '^ *+' conftest.er1 >conftest.err 4189 rm -f conftest.er1 4190 cat conftest.err >&5 4191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4192 (exit $ac_status); } >/dev/null && { 4193 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4194 test ! -s conftest.err 4195 }; then 4456 4196 # Broken: success on invalid input. 4457 4197 continue 4458 4198 else 4199 $as_echo "$as_me: failed program was:" >&5 4200 sed 's/^/| /' conftest.$ac_ext >&5 4201 4459 4202 # Passes both tests. 4460 4203 ac_preproc_ok=: 4461 4204 break 4462 4205 fi 4463 rm -f conftest.err conftest.i conftest.$ac_ext 4206 4207 rm -f conftest.err conftest.$ac_ext 4464 4208 4465 4209 done 4466 4210 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4467 rm -f conftest. i conftest.err conftest.$ac_ext4468 if $ac_preproc_ok; then :4469 4470 else 4471 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&54211 rm -f conftest.err conftest.$ac_ext 4212 if $ac_preproc_ok; then 4213 : 4214 else 4215 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4472 4216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4473 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4474 See \`config.log' for more details" "$LINENO" 5; } 4217 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4218 See \`config.log' for more details." >&5 4219 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4220 See \`config.log' for more details." >&2;} 4221 { (exit 1); exit 1; }; }; } 4475 4222 fi 4476 4223 … … 4482 4229 4483 4230 4484 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&54231 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4485 4232 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4486 if ${ac_cv_path_GREP+:} false; then :4233 if test "${ac_cv_path_GREP+set}" = set; then 4487 4234 $as_echo_n "(cached) " >&6 4488 4235 else … … 4495 4242 IFS=$as_save_IFS 4496 4243 test -z "$as_dir" && as_dir=. 4497 4244 for ac_prog in grep ggrep; do 4498 4245 for ac_exec_ext in '' $ac_executable_extensions; do 4499 4246 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4500 as_fn_executable_p "$ac_path_GREP"|| continue4247 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4501 4248 # Check for GNU ac_path_GREP and select it if it is found. 4502 4249 # Check for GNU $ac_path_GREP … … 4515 4262 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4516 4263 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4517 a s_fn_arith $ac_count + 1 && ac_count=$as_val4264 ac_count=`expr $ac_count + 1` 4518 4265 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4519 4266 # Best one so far, save it but keep looking for a better one … … 4530 4277 done 4531 4278 done 4532 4279 done 4533 4280 IFS=$as_save_IFS 4534 4281 if test -z "$ac_cv_path_GREP"; then 4535 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4282 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4283 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4284 { (exit 1); exit 1; }; } 4536 4285 fi 4537 4286 else … … 4540 4289 4541 4290 fi 4542 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&54291 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4543 4292 $as_echo "$ac_cv_path_GREP" >&6; } 4544 4293 GREP="$ac_cv_path_GREP" 4545 4294 4546 4295 4547 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for egrep" >&54296 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4548 4297 $as_echo_n "checking for egrep... " >&6; } 4549 if ${ac_cv_path_EGREP+:} false; then :4298 if test "${ac_cv_path_EGREP+set}" = set; then 4550 4299 $as_echo_n "(cached) " >&6 4551 4300 else … … 4561 4310 IFS=$as_save_IFS 4562 4311 test -z "$as_dir" && as_dir=. 4563 4312 for ac_prog in egrep; do 4564 4313 for ac_exec_ext in '' $ac_executable_extensions; do 4565 4314 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4566 as_fn_executable_p "$ac_path_EGREP"|| continue4315 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4567 4316 # Check for GNU ac_path_EGREP and select it if it is found. 4568 4317 # Check for GNU $ac_path_EGREP … … 4581 4330 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4582 4331 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4583 a s_fn_arith $ac_count + 1 && ac_count=$as_val4332 ac_count=`expr $ac_count + 1` 4584 4333 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4585 4334 # Best one so far, save it but keep looking for a better one … … 4596 4345 done 4597 4346 done 4598 4347 done 4599 4348 IFS=$as_save_IFS 4600 4349 if test -z "$ac_cv_path_EGREP"; then 4601 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4350 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4351 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4352 { (exit 1); exit 1; }; } 4602 4353 fi 4603 4354 else … … 4607 4358 fi 4608 4359 fi 4609 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&54360 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4610 4361 $as_echo "$ac_cv_path_EGREP" >&6; } 4611 4362 EGREP="$ac_cv_path_EGREP" 4612 4363 4613 4364 4614 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ANSI C header files" >&54365 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4615 4366 $as_echo_n "checking for ANSI C header files... " >&6; } 4616 if ${ac_cv_header_stdc+:} false; then :4367 if test "${ac_cv_header_stdc+set}" = set; then 4617 4368 $as_echo_n "(cached) " >&6 4618 4369 else 4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4370 cat >conftest.$ac_ext <<_ACEOF 4371 /* confdefs.h. */ 4372 _ACEOF 4373 cat confdefs.h >>conftest.$ac_ext 4374 cat >>conftest.$ac_ext <<_ACEOF 4620 4375 /* end confdefs.h. */ 4621 4376 #include <stdlib.h> … … 4632 4387 } 4633 4388 _ACEOF 4634 if ac_fn_c_try_compile "$LINENO"; then : 4389 rm -f conftest.$ac_objext 4390 if { (ac_try="$ac_compile" 4391 case "(($ac_try" in 4392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4393 *) ac_try_echo=$ac_try;; 4394 esac 4395 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4396 $as_echo "$ac_try_echo") >&5 4397 (eval "$ac_compile") 2>conftest.er1 4398 ac_status=$? 4399 grep -v '^ *+' conftest.er1 >conftest.err 4400 rm -f conftest.er1 4401 cat conftest.err >&5 4402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4403 (exit $ac_status); } && { 4404 test -z "$ac_c_werror_flag" || 4405 test ! -s conftest.err 4406 } && test -s conftest.$ac_objext; then 4635 4407 ac_cv_header_stdc=yes 4636 4408 else 4637 ac_cv_header_stdc=no 4638 fi 4409 $as_echo "$as_me: failed program was:" >&5 4410 sed 's/^/| /' conftest.$ac_ext >&5 4411 4412 ac_cv_header_stdc=no 4413 fi 4414 4639 4415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4640 4416 4641 4417 if test $ac_cv_header_stdc = yes; then 4642 4418 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4419 cat >conftest.$ac_ext <<_ACEOF 4420 /* confdefs.h. */ 4421 _ACEOF 4422 cat confdefs.h >>conftest.$ac_ext 4423 cat >>conftest.$ac_ext <<_ACEOF 4644 4424 /* end confdefs.h. */ 4645 4425 #include <string.h> … … 4647 4427 _ACEOF 4648 4428 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4649 $EGREP "memchr" >/dev/null 2>&1; then :4650 4429 $EGREP "memchr" >/dev/null 2>&1; then 4430 : 4651 4431 else 4652 4432 ac_cv_header_stdc=no … … 4658 4438 if test $ac_cv_header_stdc = yes; then 4659 4439 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4440 cat >conftest.$ac_ext <<_ACEOF 4441 /* confdefs.h. */ 4442 _ACEOF 4443 cat confdefs.h >>conftest.$ac_ext 4444 cat >>conftest.$ac_ext <<_ACEOF 4661 4445 /* end confdefs.h. */ 4662 4446 #include <stdlib.h> … … 4664 4448 _ACEOF 4665 4449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4666 $EGREP "free" >/dev/null 2>&1; then :4667 4450 $EGREP "free" >/dev/null 2>&1; then 4451 : 4668 4452 else 4669 4453 ac_cv_header_stdc=no … … 4675 4459 if test $ac_cv_header_stdc = yes; then 4676 4460 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4677 if test "$cross_compiling" = yes; then :4461 if test "$cross_compiling" = yes; then 4678 4462 : 4679 4463 else 4680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4464 cat >conftest.$ac_ext <<_ACEOF 4465 /* confdefs.h. */ 4466 _ACEOF 4467 cat confdefs.h >>conftest.$ac_ext 4468 cat >>conftest.$ac_ext <<_ACEOF 4681 4469 /* end confdefs.h. */ 4682 4470 #include <ctype.h> … … 4705 4493 } 4706 4494 _ACEOF 4707 if ac_fn_c_try_run "$LINENO"; then : 4708 4709 else 4710 ac_cv_header_stdc=no 4711 fi 4712 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4713 conftest.$ac_objext conftest.beam conftest.$ac_ext 4714 fi 4715 4716 fi 4717 fi 4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4495 rm -f conftest$ac_exeext 4496 if { (ac_try="$ac_link" 4497 case "(($ac_try" in 4498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4499 *) ac_try_echo=$ac_try;; 4500 esac 4501 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4502 $as_echo "$ac_try_echo") >&5 4503 (eval "$ac_link") 2>&5 4504 ac_status=$? 4505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4506 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4507 { (case "(($ac_try" in 4508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4509 *) ac_try_echo=$ac_try;; 4510 esac 4511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4512 $as_echo "$ac_try_echo") >&5 4513 (eval "$ac_try") 2>&5 4514 ac_status=$? 4515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4516 (exit $ac_status); }; }; then 4517 : 4518 else 4519 $as_echo "$as_me: program exited with status $ac_status" >&5 4520 $as_echo "$as_me: failed program was:" >&5 4521 sed 's/^/| /' conftest.$ac_ext >&5 4522 4523 ( exit $ac_status ) 4524 ac_cv_header_stdc=no 4525 fi 4526 rm -rf conftest.dSYM 4527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4528 fi 4529 4530 4531 fi 4532 fi 4533 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4719 4534 $as_echo "$ac_cv_header_stdc" >&6; } 4720 4535 if test $ac_cv_header_stdc = yes; then 4721 4536 4722 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4723 4724 fi 4725 4726 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol" 4727 if test "x$ac_cv_func_atol" = xyes; then : 4728 4729 else 4730 as_fn_error $? "oops! no atol ?!?" "$LINENO" 5 4537 cat >>confdefs.h <<\_ACEOF 4538 #define STDC_HEADERS 1 4539 _ACEOF 4540 4541 fi 4542 4543 { $as_echo "$as_me:$LINENO: checking for atol" >&5 4544 $as_echo_n "checking for atol... " >&6; } 4545 if test "${ac_cv_func_atol+set}" = set; then 4546 $as_echo_n "(cached) " >&6 4547 else 4548 cat >conftest.$ac_ext <<_ACEOF 4549 /* confdefs.h. */ 4550 _ACEOF 4551 cat confdefs.h >>conftest.$ac_ext 4552 cat >>conftest.$ac_ext <<_ACEOF 4553 /* end confdefs.h. */ 4554 /* Define atol to an innocuous variant, in case <limits.h> declares atol. 4555 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4556 #define atol innocuous_atol 4557 4558 /* System header to define __stub macros and hopefully few prototypes, 4559 which can conflict with char atol (); below. 4560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4561 <limits.h> exists even on freestanding compilers. */ 4562 4563 #ifdef __STDC__ 4564 # include <limits.h> 4565 #else 4566 # include <assert.h> 4567 #endif 4568 4569 #undef atol 4570 4571 /* Override any GCC internal prototype to avoid an error. 4572 Use char because int might match the return type of a GCC 4573 builtin and then its argument prototype would still apply. */ 4574 #ifdef __cplusplus 4575 extern "C" 4576 #endif 4577 char atol (); 4578 /* The GNU C library defines this for functions which it implements 4579 to always fail with ENOSYS. Some functions are actually named 4580 something starting with __ and the normal name is an alias. */ 4581 #if defined __stub_atol || defined __stub___atol 4582 choke me 4583 #endif 4584 4585 int 4586 main () 4587 { 4588 return atol (); 4589 ; 4590 return 0; 4591 } 4592 _ACEOF 4593 rm -f conftest.$ac_objext conftest$ac_exeext 4594 if { (ac_try="$ac_link" 4595 case "(($ac_try" in 4596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4597 *) ac_try_echo=$ac_try;; 4598 esac 4599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4600 $as_echo "$ac_try_echo") >&5 4601 (eval "$ac_link") 2>conftest.er1 4602 ac_status=$? 4603 grep -v '^ *+' conftest.er1 >conftest.err 4604 rm -f conftest.er1 4605 cat conftest.err >&5 4606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4607 (exit $ac_status); } && { 4608 test -z "$ac_c_werror_flag" || 4609 test ! -s conftest.err 4610 } && test -s conftest$ac_exeext && { 4611 test "$cross_compiling" = yes || 4612 $as_test_x conftest$ac_exeext 4613 }; then 4614 ac_cv_func_atol=yes 4615 else 4616 $as_echo "$as_me: failed program was:" >&5 4617 sed 's/^/| /' conftest.$ac_ext >&5 4618 4619 ac_cv_func_atol=no 4620 fi 4621 4622 rm -rf conftest.dSYM 4623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4624 conftest$ac_exeext conftest.$ac_ext 4625 fi 4626 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 4627 $as_echo "$ac_cv_func_atol" >&6; } 4628 if test "x$ac_cv_func_atol" = x""yes; then 4629 : 4630 else 4631 { { $as_echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5 4632 $as_echo "$as_me: error: oops! no atol ?!?" >&2;} 4633 { (exit 1); exit 1; }; } 4731 4634 fi 4732 4635 … … 4740 4643 4741 4644 4645 4742 4646 for ac_func in sysinfo 4743 do : 4744 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" 4745 if test "x$ac_cv_func_sysinfo" = xyes; then : 4647 do 4648 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4649 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 4650 $as_echo_n "checking for $ac_func... " >&6; } 4651 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4652 $as_echo_n "(cached) " >&6 4653 else 4654 cat >conftest.$ac_ext <<_ACEOF 4655 /* confdefs.h. */ 4656 _ACEOF 4657 cat confdefs.h >>conftest.$ac_ext 4658 cat >>conftest.$ac_ext <<_ACEOF 4659 /* end confdefs.h. */ 4660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4661 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4662 #define $ac_func innocuous_$ac_func 4663 4664 /* System header to define __stub macros and hopefully few prototypes, 4665 which can conflict with char $ac_func (); below. 4666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4667 <limits.h> exists even on freestanding compilers. */ 4668 4669 #ifdef __STDC__ 4670 # include <limits.h> 4671 #else 4672 # include <assert.h> 4673 #endif 4674 4675 #undef $ac_func 4676 4677 /* Override any GCC internal prototype to avoid an error. 4678 Use char because int might match the return type of a GCC 4679 builtin and then its argument prototype would still apply. */ 4680 #ifdef __cplusplus 4681 extern "C" 4682 #endif 4683 char $ac_func (); 4684 /* The GNU C library defines this for functions which it implements 4685 to always fail with ENOSYS. Some functions are actually named 4686 something starting with __ and the normal name is an alias. */ 4687 #if defined __stub_$ac_func || defined __stub___$ac_func 4688 choke me 4689 #endif 4690 4691 int 4692 main () 4693 { 4694 return $ac_func (); 4695 ; 4696 return 0; 4697 } 4698 _ACEOF 4699 rm -f conftest.$ac_objext conftest$ac_exeext 4700 if { (ac_try="$ac_link" 4701 case "(($ac_try" in 4702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4703 *) ac_try_echo=$ac_try;; 4704 esac 4705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4706 $as_echo "$ac_try_echo") >&5 4707 (eval "$ac_link") 2>conftest.er1 4708 ac_status=$? 4709 grep -v '^ *+' conftest.er1 >conftest.err 4710 rm -f conftest.er1 4711 cat conftest.err >&5 4712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4713 (exit $ac_status); } && { 4714 test -z "$ac_cxx_werror_flag" || 4715 test ! -s conftest.err 4716 } && test -s conftest$ac_exeext && { 4717 test "$cross_compiling" = yes || 4718 $as_test_x conftest$ac_exeext 4719 }; then 4720 eval "$as_ac_var=yes" 4721 else 4722 $as_echo "$as_me: failed program was:" >&5 4723 sed 's/^/| /' conftest.$ac_ext >&5 4724 4725 eval "$as_ac_var=no" 4726 fi 4727 4728 rm -rf conftest.dSYM 4729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4730 conftest$ac_exeext conftest.$ac_ext 4731 fi 4732 ac_res=`eval 'as_val=${'$as_ac_var'} 4733 $as_echo "$as_val"'` 4734 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4735 $as_echo "$ac_res" >&6; } 4736 as_val=`eval 'as_val=${'$as_ac_var'} 4737 $as_echo "$as_val"'` 4738 if test "x$as_val" = x""yes; then 4746 4739 cat >>confdefs.h <<_ACEOF 4747 #define HAVE_SYSINFO14740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 4748 4741 _ACEOF 4749 4742 … … 4751 4744 done 4752 4745 4746 4753 4747 for ac_func in gettimeofday 4754 do : 4755 ac_fn_cxx_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 4756 if test "x$ac_cv_func_gettimeofday" = xyes; then : 4748 do 4749 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4750 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 4751 $as_echo_n "checking for $ac_func... " >&6; } 4752 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4753 $as_echo_n "(cached) " >&6 4754 else 4755 cat >conftest.$ac_ext <<_ACEOF 4756 /* confdefs.h. */ 4757 _ACEOF 4758 cat confdefs.h >>conftest.$ac_ext 4759 cat >>conftest.$ac_ext <<_ACEOF 4760 /* end confdefs.h. */ 4761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4762 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4763 #define $ac_func innocuous_$ac_func 4764 4765 /* System header to define __stub macros and hopefully few prototypes, 4766 which can conflict with char $ac_func (); below. 4767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4768 <limits.h> exists even on freestanding compilers. */ 4769 4770 #ifdef __STDC__ 4771 # include <limits.h> 4772 #else 4773 # include <assert.h> 4774 #endif 4775 4776 #undef $ac_func 4777 4778 /* Override any GCC internal prototype to avoid an error. 4779 Use char because int might match the return type of a GCC 4780 builtin and then its argument prototype would still apply. */ 4781 #ifdef __cplusplus 4782 extern "C" 4783 #endif 4784 char $ac_func (); 4785 /* The GNU C library defines this for functions which it implements 4786 to always fail with ENOSYS. Some functions are actually named 4787 something starting with __ and the normal name is an alias. */ 4788 #if defined __stub_$ac_func || defined __stub___$ac_func 4789 choke me 4790 #endif 4791 4792 int 4793 main () 4794 { 4795 return $ac_func (); 4796 ; 4797 return 0; 4798 } 4799 _ACEOF 4800 rm -f conftest.$ac_objext conftest$ac_exeext 4801 if { (ac_try="$ac_link" 4802 case "(($ac_try" in 4803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4804 *) ac_try_echo=$ac_try;; 4805 esac 4806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4807 $as_echo "$ac_try_echo") >&5 4808 (eval "$ac_link") 2>conftest.er1 4809 ac_status=$? 4810 grep -v '^ *+' conftest.er1 >conftest.err 4811 rm -f conftest.er1 4812 cat conftest.err >&5 4813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4814 (exit $ac_status); } && { 4815 test -z "$ac_cxx_werror_flag" || 4816 test ! -s conftest.err 4817 } && test -s conftest$ac_exeext && { 4818 test "$cross_compiling" = yes || 4819 $as_test_x conftest$ac_exeext 4820 }; then 4821 eval "$as_ac_var=yes" 4822 else 4823 $as_echo "$as_me: failed program was:" >&5 4824 sed 's/^/| /' conftest.$ac_ext >&5 4825 4826 eval "$as_ac_var=no" 4827 fi 4828 4829 rm -rf conftest.dSYM 4830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4831 conftest$ac_exeext conftest.$ac_ext 4832 fi 4833 ac_res=`eval 'as_val=${'$as_ac_var'} 4834 $as_echo "$as_val"'` 4835 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4836 $as_echo "$ac_res" >&6; } 4837 as_val=`eval 'as_val=${'$as_ac_var'} 4838 $as_echo "$as_val"'` 4839 if test "x$as_val" = x""yes; then 4757 4840 cat >>confdefs.h <<_ACEOF 4758 #define HAVE_GETTIMEOFDAY14841 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 4759 4842 _ACEOF 4760 4843 … … 4762 4845 done 4763 4846 4764 ac_fn_cxx_check_func "$LINENO" "localtime" "ac_cv_func_localtime" 4765 if test "x$ac_cv_func_localtime" = xyes; then : 4766 4767 else 4768 as_fn_error $? "oops! no localtime ?!?" "$LINENO" 5 4769 fi 4770 4771 ac_fn_cxx_check_func "$LINENO" "getenv" "ac_cv_func_getenv" 4772 if test "x$ac_cv_func_getenv" = xyes; then : 4773 4774 else 4775 as_fn_error $? "oops! no getenv ?!?" "$LINENO" 5 4776 fi 4847 { $as_echo "$as_me:$LINENO: checking for localtime" >&5 4848 $as_echo_n "checking for localtime... " >&6; } 4849 if test "${ac_cv_func_localtime+set}" = set; then 4850 $as_echo_n "(cached) " >&6 4851 else 4852 cat >conftest.$ac_ext <<_ACEOF 4853 /* confdefs.h. */ 4854 _ACEOF 4855 cat confdefs.h >>conftest.$ac_ext 4856 cat >>conftest.$ac_ext <<_ACEOF 4857 /* end confdefs.h. */ 4858 /* Define localtime to an innocuous variant, in case <limits.h> declares localtime. 4859 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4860 #define localtime innocuous_localtime 4861 4862 /* System header to define __stub macros and hopefully few prototypes, 4863 which can conflict with char localtime (); below. 4864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4865 <limits.h> exists even on freestanding compilers. */ 4866 4867 #ifdef __STDC__ 4868 # include <limits.h> 4869 #else 4870 # include <assert.h> 4871 #endif 4872 4873 #undef localtime 4874 4875 /* Override any GCC internal prototype to avoid an error. 4876 Use char because int might match the return type of a GCC 4877 builtin and then its argument prototype would still apply. */ 4878 #ifdef __cplusplus 4879 extern "C" 4880 #endif 4881 char localtime (); 4882 /* The GNU C library defines this for functions which it implements 4883 to always fail with ENOSYS. Some functions are actually named 4884 something starting with __ and the normal name is an alias. */ 4885 #if defined __stub_localtime || defined __stub___localtime 4886 choke me 4887 #endif 4888 4889 int 4890 main () 4891 { 4892 return localtime (); 4893 ; 4894 return 0; 4895 } 4896 _ACEOF 4897 rm -f conftest.$ac_objext conftest$ac_exeext 4898 if { (ac_try="$ac_link" 4899 case "(($ac_try" in 4900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4901 *) ac_try_echo=$ac_try;; 4902 esac 4903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4904 $as_echo "$ac_try_echo") >&5 4905 (eval "$ac_link") 2>conftest.er1 4906 ac_status=$? 4907 grep -v '^ *+' conftest.er1 >conftest.err 4908 rm -f conftest.er1 4909 cat conftest.err >&5 4910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4911 (exit $ac_status); } && { 4912 test -z "$ac_cxx_werror_flag" || 4913 test ! -s conftest.err 4914 } && test -s conftest$ac_exeext && { 4915 test "$cross_compiling" = yes || 4916 $as_test_x conftest$ac_exeext 4917 }; then 4918 ac_cv_func_localtime=yes 4919 else 4920 $as_echo "$as_me: failed program was:" >&5 4921 sed 's/^/| /' conftest.$ac_ext >&5 4922 4923 ac_cv_func_localtime=no 4924 fi 4925 4926 rm -rf conftest.dSYM 4927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4928 conftest$ac_exeext conftest.$ac_ext 4929 fi 4930 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_localtime" >&5 4931 $as_echo "$ac_cv_func_localtime" >&6; } 4932 if test "x$ac_cv_func_localtime" = x""yes; then 4933 : 4934 else 4935 { { $as_echo "$as_me:$LINENO: error: oops! no localtime ?!?" >&5 4936 $as_echo "$as_me: error: oops! no localtime ?!?" >&2;} 4937 { (exit 1); exit 1; }; } 4938 fi 4939 4940 { $as_echo "$as_me:$LINENO: checking for getenv" >&5 4941 $as_echo_n "checking for getenv... " >&6; } 4942 if test "${ac_cv_func_getenv+set}" = set; then 4943 $as_echo_n "(cached) " >&6 4944 else 4945 cat >conftest.$ac_ext <<_ACEOF 4946 /* confdefs.h. */ 4947 _ACEOF 4948 cat confdefs.h >>conftest.$ac_ext 4949 cat >>conftest.$ac_ext <<_ACEOF 4950 /* end confdefs.h. */ 4951 /* Define getenv to an innocuous variant, in case <limits.h> declares getenv. 4952 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4953 #define getenv innocuous_getenv 4954 4955 /* System header to define __stub macros and hopefully few prototypes, 4956 which can conflict with char getenv (); below. 4957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4958 <limits.h> exists even on freestanding compilers. */ 4959 4960 #ifdef __STDC__ 4961 # include <limits.h> 4962 #else 4963 # include <assert.h> 4964 #endif 4965 4966 #undef getenv 4967 4968 /* Override any GCC internal prototype to avoid an error. 4969 Use char because int might match the return type of a GCC 4970 builtin and then its argument prototype would still apply. */ 4971 #ifdef __cplusplus 4972 extern "C" 4973 #endif 4974 char getenv (); 4975 /* The GNU C library defines this for functions which it implements 4976 to always fail with ENOSYS. Some functions are actually named 4977 something starting with __ and the normal name is an alias. */ 4978 #if defined __stub_getenv || defined __stub___getenv 4979 choke me 4980 #endif 4981 4982 int 4983 main () 4984 { 4985 return getenv (); 4986 ; 4987 return 0; 4988 } 4989 _ACEOF 4990 rm -f conftest.$ac_objext conftest$ac_exeext 4991 if { (ac_try="$ac_link" 4992 case "(($ac_try" in 4993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4994 *) ac_try_echo=$ac_try;; 4995 esac 4996 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4997 $as_echo "$ac_try_echo") >&5 4998 (eval "$ac_link") 2>conftest.er1 4999 ac_status=$? 5000 grep -v '^ *+' conftest.er1 >conftest.err 5001 rm -f conftest.er1 5002 cat conftest.err >&5 5003 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5004 (exit $ac_status); } && { 5005 test -z "$ac_cxx_werror_flag" || 5006 test ! -s conftest.err 5007 } && test -s conftest$ac_exeext && { 5008 test "$cross_compiling" = yes || 5009 $as_test_x conftest$ac_exeext 5010 }; then 5011 ac_cv_func_getenv=yes 5012 else 5013 $as_echo "$as_me: failed program was:" >&5 5014 sed 's/^/| /' conftest.$ac_ext >&5 5015 5016 ac_cv_func_getenv=no 5017 fi 5018 5019 rm -rf conftest.dSYM 5020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5021 conftest$ac_exeext conftest.$ac_ext 5022 fi 5023 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getenv" >&5 5024 $as_echo "$ac_cv_func_getenv" >&6; } 5025 if test "x$ac_cv_func_getenv" = x""yes; then 5026 : 5027 else 5028 { { $as_echo "$as_me:$LINENO: error: oops! no getenv ?!?" >&5 5029 $as_echo "$as_me: error: oops! no getenv ?!?" >&2;} 5030 { (exit 1); exit 1; }; } 5031 fi 5032 5033 5034 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5045 inttypes.h stdint.h unistd.h 5046 do 5047 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5048 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5049 $as_echo_n "checking for $ac_header... " >&6; } 5050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5051 $as_echo_n "(cached) " >&6 5052 else 5053 cat >conftest.$ac_ext <<_ACEOF 5054 /* confdefs.h. */ 5055 _ACEOF 5056 cat confdefs.h >>conftest.$ac_ext 5057 cat >>conftest.$ac_ext <<_ACEOF 5058 /* end confdefs.h. */ 5059 $ac_includes_default 5060 5061 #include <$ac_header> 5062 _ACEOF 5063 rm -f conftest.$ac_objext 5064 if { (ac_try="$ac_compile" 5065 case "(($ac_try" in 5066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5067 *) ac_try_echo=$ac_try;; 5068 esac 5069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5070 $as_echo "$ac_try_echo") >&5 5071 (eval "$ac_compile") 2>conftest.er1 5072 ac_status=$? 5073 grep -v '^ *+' conftest.er1 >conftest.err 5074 rm -f conftest.er1 5075 cat conftest.err >&5 5076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5077 (exit $ac_status); } && { 5078 test -z "$ac_cxx_werror_flag" || 5079 test ! -s conftest.err 5080 } && test -s conftest.$ac_objext; then 5081 eval "$as_ac_Header=yes" 5082 else 5083 $as_echo "$as_me: failed program was:" >&5 5084 sed 's/^/| /' conftest.$ac_ext >&5 5085 5086 eval "$as_ac_Header=no" 5087 fi 5088 5089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5090 fi 5091 ac_res=`eval 'as_val=${'$as_ac_Header'} 5092 $as_echo "$as_val"'` 5093 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5094 $as_echo "$ac_res" >&6; } 5095 as_val=`eval 'as_val=${'$as_ac_Header'} 5096 $as_echo "$as_val"'` 5097 if test "x$as_val" = x""yes; then 5098 cat >>confdefs.h <<_ACEOF 5099 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5100 _ACEOF 5101 5102 fi 5103 5104 done 4777 5105 4778 5106 … … 4782 5110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4783 5111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4784 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&55112 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 4785 5113 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4786 5114 if test -z "$CXXCPP"; then 4787 if ${ac_cv_prog_CXXCPP+:} false; then :5115 if test "${ac_cv_prog_CXXCPP+set}" = set; then 4788 5116 $as_echo_n "(cached) " >&6 4789 5117 else … … 4800 5128 # On the NeXT, cc -E runs the code through the compiler's parser, 4801 5129 # not just through cpp. "Syntax error" is here to catch this case. 4802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5130 cat >conftest.$ac_ext <<_ACEOF 5131 /* confdefs.h. */ 5132 _ACEOF 5133 cat confdefs.h >>conftest.$ac_ext 5134 cat >>conftest.$ac_ext <<_ACEOF 4803 5135 /* end confdefs.h. */ 4804 5136 #ifdef __STDC__ … … 4809 5141 Syntax error 4810 5142 _ACEOF 4811 if ac_fn_cxx_try_cpp "$LINENO"; then : 4812 4813 else 5143 if { (ac_try="$ac_cpp conftest.$ac_ext" 5144 case "(($ac_try" in 5145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5146 *) ac_try_echo=$ac_try;; 5147 esac 5148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5149 $as_echo "$ac_try_echo") >&5 5150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5151 ac_status=$? 5152 grep -v '^ *+' conftest.er1 >conftest.err 5153 rm -f conftest.er1 5154 cat conftest.err >&5 5155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5156 (exit $ac_status); } >/dev/null && { 5157 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5158 test ! -s conftest.err 5159 }; then 5160 : 5161 else 5162 $as_echo "$as_me: failed program was:" >&5 5163 sed 's/^/| /' conftest.$ac_ext >&5 5164 4814 5165 # Broken: fails on valid input. 4815 5166 continue 4816 5167 fi 4817 rm -f conftest.err conftest.i conftest.$ac_ext 5168 5169 rm -f conftest.err conftest.$ac_ext 4818 5170 4819 5171 # OK, works on sane cases. Now check whether nonexistent headers 4820 5172 # can be detected and how. 4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5173 cat >conftest.$ac_ext <<_ACEOF 5174 /* confdefs.h. */ 5175 _ACEOF 5176 cat confdefs.h >>conftest.$ac_ext 5177 cat >>conftest.$ac_ext <<_ACEOF 4822 5178 /* end confdefs.h. */ 4823 5179 #include <ac_nonexistent.h> 4824 5180 _ACEOF 4825 if ac_fn_cxx_try_cpp "$LINENO"; then : 5181 if { (ac_try="$ac_cpp conftest.$ac_ext" 5182 case "(($ac_try" in 5183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5184 *) ac_try_echo=$ac_try;; 5185 esac 5186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5187 $as_echo "$ac_try_echo") >&5 5188 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5189 ac_status=$? 5190 grep -v '^ *+' conftest.er1 >conftest.err 5191 rm -f conftest.er1 5192 cat conftest.err >&5 5193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5194 (exit $ac_status); } >/dev/null && { 5195 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5196 test ! -s conftest.err 5197 }; then 4826 5198 # Broken: success on invalid input. 4827 5199 continue 4828 5200 else 5201 $as_echo "$as_me: failed program was:" >&5 5202 sed 's/^/| /' conftest.$ac_ext >&5 5203 4829 5204 # Passes both tests. 4830 5205 ac_preproc_ok=: 4831 5206 break 4832 5207 fi 4833 rm -f conftest.err conftest.i conftest.$ac_ext 5208 5209 rm -f conftest.err conftest.$ac_ext 4834 5210 4835 5211 done 4836 5212 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4837 rm -f conftest. i conftest.err conftest.$ac_ext4838 if $ac_preproc_ok; then :5213 rm -f conftest.err conftest.$ac_ext 5214 if $ac_preproc_ok; then 4839 5215 break 4840 5216 fi … … 4848 5224 ac_cv_prog_CXXCPP=$CXXCPP 4849 5225 fi 4850 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXXCPP" >&55226 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 4851 5227 $as_echo "$CXXCPP" >&6; } 4852 5228 ac_preproc_ok=false … … 4859 5235 # On the NeXT, cc -E runs the code through the compiler's parser, 4860 5236 # not just through cpp. "Syntax error" is here to catch this case. 4861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5237 cat >conftest.$ac_ext <<_ACEOF 5238 /* confdefs.h. */ 5239 _ACEOF 5240 cat confdefs.h >>conftest.$ac_ext 5241 cat >>conftest.$ac_ext <<_ACEOF 4862 5242 /* end confdefs.h. */ 4863 5243 #ifdef __STDC__ … … 4868 5248 Syntax error 4869 5249 _ACEOF 4870 if ac_fn_cxx_try_cpp "$LINENO"; then : 4871 4872 else 5250 if { (ac_try="$ac_cpp conftest.$ac_ext" 5251 case "(($ac_try" in 5252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5253 *) ac_try_echo=$ac_try;; 5254 esac 5255 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5256 $as_echo "$ac_try_echo") >&5 5257 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5258 ac_status=$? 5259 grep -v '^ *+' conftest.er1 >conftest.err 5260 rm -f conftest.er1 5261 cat conftest.err >&5 5262 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5263 (exit $ac_status); } >/dev/null && { 5264 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5265 test ! -s conftest.err 5266 }; then 5267 : 5268 else 5269 $as_echo "$as_me: failed program was:" >&5 5270 sed 's/^/| /' conftest.$ac_ext >&5 5271 4873 5272 # Broken: fails on valid input. 4874 5273 continue 4875 5274 fi 4876 rm -f conftest.err conftest.i conftest.$ac_ext 5275 5276 rm -f conftest.err conftest.$ac_ext 4877 5277 4878 5278 # OK, works on sane cases. Now check whether nonexistent headers 4879 5279 # can be detected and how. 4880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5280 cat >conftest.$ac_ext <<_ACEOF 5281 /* confdefs.h. */ 5282 _ACEOF 5283 cat confdefs.h >>conftest.$ac_ext 5284 cat >>conftest.$ac_ext <<_ACEOF 4881 5285 /* end confdefs.h. */ 4882 5286 #include <ac_nonexistent.h> 4883 5287 _ACEOF 4884 if ac_fn_cxx_try_cpp "$LINENO"; then : 5288 if { (ac_try="$ac_cpp conftest.$ac_ext" 5289 case "(($ac_try" in 5290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5291 *) ac_try_echo=$ac_try;; 5292 esac 5293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5294 $as_echo "$ac_try_echo") >&5 5295 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5296 ac_status=$? 5297 grep -v '^ *+' conftest.er1 >conftest.err 5298 rm -f conftest.er1 5299 cat conftest.err >&5 5300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5301 (exit $ac_status); } >/dev/null && { 5302 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5303 test ! -s conftest.err 5304 }; then 4885 5305 # Broken: success on invalid input. 4886 5306 continue 4887 5307 else 5308 $as_echo "$as_me: failed program was:" >&5 5309 sed 's/^/| /' conftest.$ac_ext >&5 5310 4888 5311 # Passes both tests. 4889 5312 ac_preproc_ok=: 4890 5313 break 4891 5314 fi 4892 rm -f conftest.err conftest.i conftest.$ac_ext 5315 5316 rm -f conftest.err conftest.$ac_ext 4893 5317 4894 5318 done 4895 5319 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4896 rm -f conftest. i conftest.err conftest.$ac_ext4897 if $ac_preproc_ok; then :4898 4899 else 4900 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&55320 rm -f conftest.err conftest.$ac_ext 5321 if $ac_preproc_ok; then 5322 : 5323 else 5324 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4901 5325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4902 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 4903 See \`config.log' for more details" "$LINENO" 5; } 5326 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 5327 See \`config.log' for more details." >&5 5328 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 5329 See \`config.log' for more details." >&2;} 5330 { (exit 1); exit 1; }; }; } 4904 5331 fi 4905 5332 … … 4911 5338 4912 5339 4913 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4914 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4915 inttypes.h stdint.h unistd.h 4916 do : 4917 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4918 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4919 " 4920 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5340 5341 for ac_header in sys/sysinfo.h 5342 do 5343 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5345 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5346 $as_echo_n "checking for $ac_header... " >&6; } 5347 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5348 $as_echo_n "(cached) " >&6 5349 fi 5350 ac_res=`eval 'as_val=${'$as_ac_Header'} 5351 $as_echo "$as_val"'` 5352 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5353 $as_echo "$ac_res" >&6; } 5354 else 5355 # Is the header compilable? 5356 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5357 $as_echo_n "checking $ac_header usability... " >&6; } 5358 cat >conftest.$ac_ext <<_ACEOF 5359 /* confdefs.h. */ 5360 _ACEOF 5361 cat confdefs.h >>conftest.$ac_ext 5362 cat >>conftest.$ac_ext <<_ACEOF 5363 /* end confdefs.h. */ 5364 $ac_includes_default 5365 #include <$ac_header> 5366 _ACEOF 5367 rm -f conftest.$ac_objext 5368 if { (ac_try="$ac_compile" 5369 case "(($ac_try" in 5370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5371 *) ac_try_echo=$ac_try;; 5372 esac 5373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5374 $as_echo "$ac_try_echo") >&5 5375 (eval "$ac_compile") 2>conftest.er1 5376 ac_status=$? 5377 grep -v '^ *+' conftest.er1 >conftest.err 5378 rm -f conftest.er1 5379 cat conftest.err >&5 5380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5381 (exit $ac_status); } && { 5382 test -z "$ac_cxx_werror_flag" || 5383 test ! -s conftest.err 5384 } && test -s conftest.$ac_objext; then 5385 ac_header_compiler=yes 5386 else 5387 $as_echo "$as_me: failed program was:" >&5 5388 sed 's/^/| /' conftest.$ac_ext >&5 5389 5390 ac_header_compiler=no 5391 fi 5392 5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5394 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5395 $as_echo "$ac_header_compiler" >&6; } 5396 5397 # Is the header present? 5398 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5399 $as_echo_n "checking $ac_header presence... " >&6; } 5400 cat >conftest.$ac_ext <<_ACEOF 5401 /* confdefs.h. */ 5402 _ACEOF 5403 cat confdefs.h >>conftest.$ac_ext 5404 cat >>conftest.$ac_ext <<_ACEOF 5405 /* end confdefs.h. */ 5406 #include <$ac_header> 5407 _ACEOF 5408 if { (ac_try="$ac_cpp conftest.$ac_ext" 5409 case "(($ac_try" in 5410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5411 *) ac_try_echo=$ac_try;; 5412 esac 5413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5414 $as_echo "$ac_try_echo") >&5 5415 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5416 ac_status=$? 5417 grep -v '^ *+' conftest.er1 >conftest.err 5418 rm -f conftest.er1 5419 cat conftest.err >&5 5420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5421 (exit $ac_status); } >/dev/null && { 5422 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5423 test ! -s conftest.err 5424 }; then 5425 ac_header_preproc=yes 5426 else 5427 $as_echo "$as_me: failed program was:" >&5 5428 sed 's/^/| /' conftest.$ac_ext >&5 5429 5430 ac_header_preproc=no 5431 fi 5432 5433 rm -f conftest.err conftest.$ac_ext 5434 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5435 $as_echo "$ac_header_preproc" >&6; } 5436 5437 # So? What about this header? 5438 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5439 yes:no: ) 5440 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5441 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5442 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5443 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5444 ac_header_preproc=yes 5445 ;; 5446 no:yes:* ) 5447 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5448 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5449 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5450 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5451 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5452 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5453 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5454 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5455 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5456 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5457 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5458 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5459 ( cat <<\_ASBOX 5460 ## ----------------------------------- ## 5461 ## Report this to rappture@nanohub.org ## 5462 ## ----------------------------------- ## 5463 _ASBOX 5464 ) | sed "s/^/$as_me: WARNING: /" >&2 5465 ;; 5466 esac 5467 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5468 $as_echo_n "checking for $ac_header... " >&6; } 5469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5470 $as_echo_n "(cached) " >&6 5471 else 5472 eval "$as_ac_Header=\$ac_header_preproc" 5473 fi 5474 ac_res=`eval 'as_val=${'$as_ac_Header'} 5475 $as_echo "$as_val"'` 5476 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5477 $as_echo "$ac_res" >&6; } 5478 5479 fi 5480 as_val=`eval 'as_val=${'$as_ac_Header'} 5481 $as_echo "$as_val"'` 5482 if test "x$as_val" = x""yes; then 4921 5483 cat >>confdefs.h <<_ACEOF 4922 5484 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 4928 5490 4929 5491 4930 for ac_header in sys/sysinfo.h 4931 do : 4932 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" 4933 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then : 4934 cat >>confdefs.h <<_ACEOF 4935 #define HAVE_SYS_SYSINFO_H 1 4936 _ACEOF 4937 4938 fi 4939 4940 done 4941 4942 4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clrtoeol in -lncurses" >&5 5492 5493 { $as_echo "$as_me:$LINENO: checking for clrtoeol in -lncurses" >&5 4944 5494 $as_echo_n "checking for clrtoeol in -lncurses... " >&6; } 4945 if ${ac_cv_lib_ncurses_clrtoeol+:} false; then :5495 if test "${ac_cv_lib_ncurses_clrtoeol+set}" = set; then 4946 5496 $as_echo_n "(cached) " >&6 4947 5497 else 4948 5498 ac_check_lib_save_LIBS=$LIBS 4949 5499 LIBS="-lncurses $LIBS" 4950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5500 cat >conftest.$ac_ext <<_ACEOF 5501 /* confdefs.h. */ 5502 _ACEOF 5503 cat confdefs.h >>conftest.$ac_ext 5504 cat >>conftest.$ac_ext <<_ACEOF 4951 5505 /* end confdefs.h. */ 4952 5506 … … 4966 5520 } 4967 5521 _ACEOF 4968 if ac_fn_cxx_try_link "$LINENO"; then : 5522 rm -f conftest.$ac_objext conftest$ac_exeext 5523 if { (ac_try="$ac_link" 5524 case "(($ac_try" in 5525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5526 *) ac_try_echo=$ac_try;; 5527 esac 5528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5529 $as_echo "$ac_try_echo") >&5 5530 (eval "$ac_link") 2>conftest.er1 5531 ac_status=$? 5532 grep -v '^ *+' conftest.er1 >conftest.err 5533 rm -f conftest.er1 5534 cat conftest.err >&5 5535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5536 (exit $ac_status); } && { 5537 test -z "$ac_cxx_werror_flag" || 5538 test ! -s conftest.err 5539 } && test -s conftest$ac_exeext && { 5540 test "$cross_compiling" = yes || 5541 $as_test_x conftest$ac_exeext 5542 }; then 4969 5543 ac_cv_lib_ncurses_clrtoeol=yes 4970 5544 else 4971 ac_cv_lib_ncurses_clrtoeol=no 4972 fi 4973 rm -f core conftest.err conftest.$ac_objext \ 4974 conftest$ac_exeext conftest.$ac_ext 5545 $as_echo "$as_me: failed program was:" >&5 5546 sed 's/^/| /' conftest.$ac_ext >&5 5547 5548 ac_cv_lib_ncurses_clrtoeol=no 5549 fi 5550 5551 rm -rf conftest.dSYM 5552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5553 conftest$ac_exeext conftest.$ac_ext 4975 5554 LIBS=$ac_check_lib_save_LIBS 4976 5555 fi 4977 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_clrtoeol" >&55556 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_clrtoeol" >&5 4978 5557 $as_echo "$ac_cv_lib_ncurses_clrtoeol" >&6; } 4979 if test "x$ac_cv_lib_ncurses_clrtoeol" = x yes; then :5558 if test "x$ac_cv_lib_ncurses_clrtoeol" = x""yes; then 4980 5559 cat >>confdefs.h <<_ACEOF 4981 5560 #define HAVE_LIBNCURSES 1 … … 4985 5564 4986 5565 else 4987 as_fn_error $? "ncurses library missing?" "$LINENO" 5 4988 fi 5566 { { $as_echo "$as_me:$LINENO: error: ncurses library missing?" >&5 5567 $as_echo "$as_me: error: ncurses library missing?" >&2;} 5568 { (exit 1); exit 1; }; } 5569 fi 5570 4989 5571 4990 5572 for ac_header in ncurses.h 4991 do : 4992 ac_fn_cxx_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default" 4993 if test "x$ac_cv_header_ncurses_h" = xyes; then : 5573 do 5574 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5576 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5577 $as_echo_n "checking for $ac_header... " >&6; } 5578 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5579 $as_echo_n "(cached) " >&6 5580 fi 5581 ac_res=`eval 'as_val=${'$as_ac_Header'} 5582 $as_echo "$as_val"'` 5583 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5584 $as_echo "$ac_res" >&6; } 5585 else 5586 # Is the header compilable? 5587 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5588 $as_echo_n "checking $ac_header usability... " >&6; } 5589 cat >conftest.$ac_ext <<_ACEOF 5590 /* confdefs.h. */ 5591 _ACEOF 5592 cat confdefs.h >>conftest.$ac_ext 5593 cat >>conftest.$ac_ext <<_ACEOF 5594 /* end confdefs.h. */ 5595 $ac_includes_default 5596 #include <$ac_header> 5597 _ACEOF 5598 rm -f conftest.$ac_objext 5599 if { (ac_try="$ac_compile" 5600 case "(($ac_try" in 5601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5602 *) ac_try_echo=$ac_try;; 5603 esac 5604 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5605 $as_echo "$ac_try_echo") >&5 5606 (eval "$ac_compile") 2>conftest.er1 5607 ac_status=$? 5608 grep -v '^ *+' conftest.er1 >conftest.err 5609 rm -f conftest.er1 5610 cat conftest.err >&5 5611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5612 (exit $ac_status); } && { 5613 test -z "$ac_cxx_werror_flag" || 5614 test ! -s conftest.err 5615 } && test -s conftest.$ac_objext; then 5616 ac_header_compiler=yes 5617 else 5618 $as_echo "$as_me: failed program was:" >&5 5619 sed 's/^/| /' conftest.$ac_ext >&5 5620 5621 ac_header_compiler=no 5622 fi 5623 5624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5625 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5626 $as_echo "$ac_header_compiler" >&6; } 5627 5628 # Is the header present? 5629 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5630 $as_echo_n "checking $ac_header presence... " >&6; } 5631 cat >conftest.$ac_ext <<_ACEOF 5632 /* confdefs.h. */ 5633 _ACEOF 5634 cat confdefs.h >>conftest.$ac_ext 5635 cat >>conftest.$ac_ext <<_ACEOF 5636 /* end confdefs.h. */ 5637 #include <$ac_header> 5638 _ACEOF 5639 if { (ac_try="$ac_cpp conftest.$ac_ext" 5640 case "(($ac_try" in 5641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5642 *) ac_try_echo=$ac_try;; 5643 esac 5644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5645 $as_echo "$ac_try_echo") >&5 5646 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5647 ac_status=$? 5648 grep -v '^ *+' conftest.er1 >conftest.err 5649 rm -f conftest.er1 5650 cat conftest.err >&5 5651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5652 (exit $ac_status); } >/dev/null && { 5653 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5654 test ! -s conftest.err 5655 }; then 5656 ac_header_preproc=yes 5657 else 5658 $as_echo "$as_me: failed program was:" >&5 5659 sed 's/^/| /' conftest.$ac_ext >&5 5660 5661 ac_header_preproc=no 5662 fi 5663 5664 rm -f conftest.err conftest.$ac_ext 5665 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5666 $as_echo "$ac_header_preproc" >&6; } 5667 5668 # So? What about this header? 5669 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5670 yes:no: ) 5671 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5672 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5673 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5674 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5675 ac_header_preproc=yes 5676 ;; 5677 no:yes:* ) 5678 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5679 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5680 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5681 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5682 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5683 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5684 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5685 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5686 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5687 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5688 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5689 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5690 ( cat <<\_ASBOX 5691 ## ----------------------------------- ## 5692 ## Report this to rappture@nanohub.org ## 5693 ## ----------------------------------- ## 5694 _ASBOX 5695 ) | sed "s/^/$as_me: WARNING: /" >&2 5696 ;; 5697 esac 5698 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5699 $as_echo_n "checking for $ac_header... " >&6; } 5700 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5701 $as_echo_n "(cached) " >&6 5702 else 5703 eval "$as_ac_Header=\$ac_header_preproc" 5704 fi 5705 ac_res=`eval 'as_val=${'$as_ac_Header'} 5706 $as_echo "$as_val"'` 5707 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5708 $as_echo "$ac_res" >&6; } 5709 5710 fi 5711 as_val=`eval 'as_val=${'$as_ac_Header'} 5712 $as_echo "$as_val"'` 5713 if test "x$as_val" = x""yes; then 4994 5714 cat >>confdefs.h <<_ACEOF 4995 #define HAVE_NCURSES_H14996 _ACEOF 4997 4998 else 4999 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: ncurses headers missing ?" >&55715 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5716 _ACEOF 5717 5718 else 5719 { $as_echo "$as_me:$LINENO: WARNING: ncurses headers missing ?" >&5 5000 5720 $as_echo "$as_me: WARNING: ncurses headers missing ?" >&2;} 5001 5721 fi … … 5004 5724 5005 5725 5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 5726 5727 { $as_echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5007 5728 $as_echo_n "checking for main in -lstdc++... " >&6; } 5008 if ${ac_cv_lib_stdcpp_main+:} false; then :5729 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 5009 5730 $as_echo_n "(cached) " >&6 5010 5731 else 5011 5732 ac_check_lib_save_LIBS=$LIBS 5012 5733 LIBS="-lstdc++ $LIBS" 5013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5734 cat >conftest.$ac_ext <<_ACEOF 5735 /* confdefs.h. */ 5736 _ACEOF 5737 cat confdefs.h >>conftest.$ac_ext 5738 cat >>conftest.$ac_ext <<_ACEOF 5014 5739 /* end confdefs.h. */ 5015 5740 … … 5023 5748 } 5024 5749 _ACEOF 5025 if ac_fn_cxx_try_link "$LINENO"; then : 5750 rm -f conftest.$ac_objext conftest$ac_exeext 5751 if { (ac_try="$ac_link" 5752 case "(($ac_try" in 5753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5754 *) ac_try_echo=$ac_try;; 5755 esac 5756 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5757 $as_echo "$ac_try_echo") >&5 5758 (eval "$ac_link") 2>conftest.er1 5759 ac_status=$? 5760 grep -v '^ *+' conftest.er1 >conftest.err 5761 rm -f conftest.er1 5762 cat conftest.err >&5 5763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5764 (exit $ac_status); } && { 5765 test -z "$ac_cxx_werror_flag" || 5766 test ! -s conftest.err 5767 } && test -s conftest$ac_exeext && { 5768 test "$cross_compiling" = yes || 5769 $as_test_x conftest$ac_exeext 5770 }; then 5026 5771 ac_cv_lib_stdcpp_main=yes 5027 5772 else 5028 ac_cv_lib_stdcpp_main=no 5029 fi 5030 rm -f core conftest.err conftest.$ac_objext \ 5031 conftest$ac_exeext conftest.$ac_ext 5773 $as_echo "$as_me: failed program was:" >&5 5774 sed 's/^/| /' conftest.$ac_ext >&5 5775 5776 ac_cv_lib_stdcpp_main=no 5777 fi 5778 5779 rm -rf conftest.dSYM 5780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5781 conftest$ac_exeext conftest.$ac_ext 5032 5782 LIBS=$ac_check_lib_save_LIBS 5033 5783 fi 5034 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&55784 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5 5035 5785 $as_echo "$ac_cv_lib_stdcpp_main" >&6; } 5036 if test "x$ac_cv_lib_stdcpp_main" = x yes; then :5786 if test "x$ac_cv_lib_stdcpp_main" = x""yes; then 5037 5787 cat >>confdefs.h <<_ACEOF 5038 5788 #define HAVE_LIBSTDC__ 1 … … 5042 5792 5043 5793 else 5044 as_fn_error $? "librappture requires libstdc++" "$LINENO" 5 5045 fi 5794 { { $as_echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5 5795 $as_echo "$as_me: error: librappture requires libstdc++" >&2;} 5796 { (exit 1); exit 1; }; } 5797 fi 5798 5046 5799 5047 5800 for ac_header in algorithm 5048 do : 5049 ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default" 5050 if test "x$ac_cv_header_algorithm" = xyes; then : 5801 do 5802 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5803 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5804 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5805 $as_echo_n "checking for $ac_header... " >&6; } 5806 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5807 $as_echo_n "(cached) " >&6 5808 fi 5809 ac_res=`eval 'as_val=${'$as_ac_Header'} 5810 $as_echo "$as_val"'` 5811 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5812 $as_echo "$ac_res" >&6; } 5813 else 5814 # Is the header compilable? 5815 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5816 $as_echo_n "checking $ac_header usability... " >&6; } 5817 cat >conftest.$ac_ext <<_ACEOF 5818 /* confdefs.h. */ 5819 _ACEOF 5820 cat confdefs.h >>conftest.$ac_ext 5821 cat >>conftest.$ac_ext <<_ACEOF 5822 /* end confdefs.h. */ 5823 $ac_includes_default 5824 #include <$ac_header> 5825 _ACEOF 5826 rm -f conftest.$ac_objext 5827 if { (ac_try="$ac_compile" 5828 case "(($ac_try" in 5829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5830 *) ac_try_echo=$ac_try;; 5831 esac 5832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5833 $as_echo "$ac_try_echo") >&5 5834 (eval "$ac_compile") 2>conftest.er1 5835 ac_status=$? 5836 grep -v '^ *+' conftest.er1 >conftest.err 5837 rm -f conftest.er1 5838 cat conftest.err >&5 5839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5840 (exit $ac_status); } && { 5841 test -z "$ac_cxx_werror_flag" || 5842 test ! -s conftest.err 5843 } && test -s conftest.$ac_objext; then 5844 ac_header_compiler=yes 5845 else 5846 $as_echo "$as_me: failed program was:" >&5 5847 sed 's/^/| /' conftest.$ac_ext >&5 5848 5849 ac_header_compiler=no 5850 fi 5851 5852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5853 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5854 $as_echo "$ac_header_compiler" >&6; } 5855 5856 # Is the header present? 5857 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5858 $as_echo_n "checking $ac_header presence... " >&6; } 5859 cat >conftest.$ac_ext <<_ACEOF 5860 /* confdefs.h. */ 5861 _ACEOF 5862 cat confdefs.h >>conftest.$ac_ext 5863 cat >>conftest.$ac_ext <<_ACEOF 5864 /* end confdefs.h. */ 5865 #include <$ac_header> 5866 _ACEOF 5867 if { (ac_try="$ac_cpp conftest.$ac_ext" 5868 case "(($ac_try" in 5869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5870 *) ac_try_echo=$ac_try;; 5871 esac 5872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5873 $as_echo "$ac_try_echo") >&5 5874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5875 ac_status=$? 5876 grep -v '^ *+' conftest.er1 >conftest.err 5877 rm -f conftest.er1 5878 cat conftest.err >&5 5879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5880 (exit $ac_status); } >/dev/null && { 5881 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5882 test ! -s conftest.err 5883 }; then 5884 ac_header_preproc=yes 5885 else 5886 $as_echo "$as_me: failed program was:" >&5 5887 sed 's/^/| /' conftest.$ac_ext >&5 5888 5889 ac_header_preproc=no 5890 fi 5891 5892 rm -f conftest.err conftest.$ac_ext 5893 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5894 $as_echo "$ac_header_preproc" >&6; } 5895 5896 # So? What about this header? 5897 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5898 yes:no: ) 5899 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5900 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5901 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5902 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5903 ac_header_preproc=yes 5904 ;; 5905 no:yes:* ) 5906 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5907 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5908 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5909 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5910 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5911 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5912 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5913 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5914 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5915 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5916 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5917 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5918 ( cat <<\_ASBOX 5919 ## ----------------------------------- ## 5920 ## Report this to rappture@nanohub.org ## 5921 ## ----------------------------------- ## 5922 _ASBOX 5923 ) | sed "s/^/$as_me: WARNING: /" >&2 5924 ;; 5925 esac 5926 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5927 $as_echo_n "checking for $ac_header... " >&6; } 5928 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5929 $as_echo_n "(cached) " >&6 5930 else 5931 eval "$as_ac_Header=\$ac_header_preproc" 5932 fi 5933 ac_res=`eval 'as_val=${'$as_ac_Header'} 5934 $as_echo "$as_val"'` 5935 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5936 $as_echo "$ac_res" >&6; } 5937 5938 fi 5939 as_val=`eval 'as_val=${'$as_ac_Header'} 5940 $as_echo "$as_val"'` 5941 if test "x$as_val" = x""yes; then 5051 5942 cat >>confdefs.h <<_ACEOF 5052 #define HAVE_ALGORITHM15053 _ACEOF 5054 5055 else 5056 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: STL classes missing ?" >&55943 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5944 _ACEOF 5945 5946 else 5947 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5057 5948 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5058 5949 fi … … 5060 5951 done 5061 5952 5953 5062 5954 for ac_header in cctype 5063 do : 5064 ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default" 5065 if test "x$ac_cv_header_cctype" = xyes; then : 5955 do 5956 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5957 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5958 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5959 $as_echo_n "checking for $ac_header... " >&6; } 5960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5961 $as_echo_n "(cached) " >&6 5962 fi 5963 ac_res=`eval 'as_val=${'$as_ac_Header'} 5964 $as_echo "$as_val"'` 5965 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5966 $as_echo "$ac_res" >&6; } 5967 else 5968 # Is the header compilable? 5969 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5970 $as_echo_n "checking $ac_header usability... " >&6; } 5971 cat >conftest.$ac_ext <<_ACEOF 5972 /* confdefs.h. */ 5973 _ACEOF 5974 cat confdefs.h >>conftest.$ac_ext 5975 cat >>conftest.$ac_ext <<_ACEOF 5976 /* end confdefs.h. */ 5977 $ac_includes_default 5978 #include <$ac_header> 5979 _ACEOF 5980 rm -f conftest.$ac_objext 5981 if { (ac_try="$ac_compile" 5982 case "(($ac_try" in 5983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5984 *) ac_try_echo=$ac_try;; 5985 esac 5986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5987 $as_echo "$ac_try_echo") >&5 5988 (eval "$ac_compile") 2>conftest.er1 5989 ac_status=$? 5990 grep -v '^ *+' conftest.er1 >conftest.err 5991 rm -f conftest.er1 5992 cat conftest.err >&5 5993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5994 (exit $ac_status); } && { 5995 test -z "$ac_cxx_werror_flag" || 5996 test ! -s conftest.err 5997 } && test -s conftest.$ac_objext; then 5998 ac_header_compiler=yes 5999 else 6000 $as_echo "$as_me: failed program was:" >&5 6001 sed 's/^/| /' conftest.$ac_ext >&5 6002 6003 ac_header_compiler=no 6004 fi 6005 6006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6007 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6008 $as_echo "$ac_header_compiler" >&6; } 6009 6010 # Is the header present? 6011 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6012 $as_echo_n "checking $ac_header presence... " >&6; } 6013 cat >conftest.$ac_ext <<_ACEOF 6014 /* confdefs.h. */ 6015 _ACEOF 6016 cat confdefs.h >>conftest.$ac_ext 6017 cat >>conftest.$ac_ext <<_ACEOF 6018 /* end confdefs.h. */ 6019 #include <$ac_header> 6020 _ACEOF 6021 if { (ac_try="$ac_cpp conftest.$ac_ext" 6022 case "(($ac_try" in 6023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6024 *) ac_try_echo=$ac_try;; 6025 esac 6026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6027 $as_echo "$ac_try_echo") >&5 6028 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6029 ac_status=$? 6030 grep -v '^ *+' conftest.er1 >conftest.err 6031 rm -f conftest.er1 6032 cat conftest.err >&5 6033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6034 (exit $ac_status); } >/dev/null && { 6035 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6036 test ! -s conftest.err 6037 }; then 6038 ac_header_preproc=yes 6039 else 6040 $as_echo "$as_me: failed program was:" >&5 6041 sed 's/^/| /' conftest.$ac_ext >&5 6042 6043 ac_header_preproc=no 6044 fi 6045 6046 rm -f conftest.err conftest.$ac_ext 6047 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6048 $as_echo "$ac_header_preproc" >&6; } 6049 6050 # So? What about this header? 6051 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6052 yes:no: ) 6053 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6054 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6055 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6056 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6057 ac_header_preproc=yes 6058 ;; 6059 no:yes:* ) 6060 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6061 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6062 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6063 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6064 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6065 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6067 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6068 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6069 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6070 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6071 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6072 ( cat <<\_ASBOX 6073 ## ----------------------------------- ## 6074 ## Report this to rappture@nanohub.org ## 6075 ## ----------------------------------- ## 6076 _ASBOX 6077 ) | sed "s/^/$as_me: WARNING: /" >&2 6078 ;; 6079 esac 6080 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6081 $as_echo_n "checking for $ac_header... " >&6; } 6082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6083 $as_echo_n "(cached) " >&6 6084 else 6085 eval "$as_ac_Header=\$ac_header_preproc" 6086 fi 6087 ac_res=`eval 'as_val=${'$as_ac_Header'} 6088 $as_echo "$as_val"'` 6089 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6090 $as_echo "$ac_res" >&6; } 6091 6092 fi 6093 as_val=`eval 'as_val=${'$as_ac_Header'} 6094 $as_echo "$as_val"'` 6095 if test "x$as_val" = x""yes; then 5066 6096 cat >>confdefs.h <<_ACEOF 5067 #define HAVE_CCTYPE15068 _ACEOF 5069 5070 else 5071 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: STL classes missing ?" >&56097 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6098 _ACEOF 6099 6100 else 6101 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5072 6102 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5073 6103 fi … … 5075 6105 done 5076 6106 6107 5077 6108 for ac_header in cfloat 5078 do : 5079 ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default" 5080 if test "x$ac_cv_header_cfloat" = xyes; then : 6109 do 6110 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6111 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6112 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6113 $as_echo_n "checking for $ac_header... " >&6; } 6114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6115 $as_echo_n "(cached) " >&6 6116 fi 6117 ac_res=`eval 'as_val=${'$as_ac_Header'} 6118 $as_echo "$as_val"'` 6119 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6120 $as_echo "$ac_res" >&6; } 6121 else 6122 # Is the header compilable? 6123 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6124 $as_echo_n "checking $ac_header usability... " >&6; } 6125 cat >conftest.$ac_ext <<_ACEOF 6126 /* confdefs.h. */ 6127 _ACEOF 6128 cat confdefs.h >>conftest.$ac_ext 6129 cat >>conftest.$ac_ext <<_ACEOF 6130 /* end confdefs.h. */ 6131 $ac_includes_default 6132 #include <$ac_header> 6133 _ACEOF 6134 rm -f conftest.$ac_objext 6135 if { (ac_try="$ac_compile" 6136 case "(($ac_try" in 6137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6138 *) ac_try_echo=$ac_try;; 6139 esac 6140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6141 $as_echo "$ac_try_echo") >&5 6142 (eval "$ac_compile") 2>conftest.er1 6143 ac_status=$? 6144 grep -v '^ *+' conftest.er1 >conftest.err 6145 rm -f conftest.er1 6146 cat conftest.err >&5 6147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6148 (exit $ac_status); } && { 6149 test -z "$ac_cxx_werror_flag" || 6150 test ! -s conftest.err 6151 } && test -s conftest.$ac_objext; then 6152 ac_header_compiler=yes 6153 else 6154 $as_echo "$as_me: failed program was:" >&5 6155 sed 's/^/| /' conftest.$ac_ext >&5 6156 6157 ac_header_compiler=no 6158 fi 6159 6160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6161 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6162 $as_echo "$ac_header_compiler" >&6; } 6163 6164 # Is the header present? 6165 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6166 $as_echo_n "checking $ac_header presence... " >&6; } 6167 cat >conftest.$ac_ext <<_ACEOF 6168 /* confdefs.h. */ 6169 _ACEOF 6170 cat confdefs.h >>conftest.$ac_ext 6171 cat >>conftest.$ac_ext <<_ACEOF 6172 /* end confdefs.h. */ 6173 #include <$ac_header> 6174 _ACEOF 6175 if { (ac_try="$ac_cpp conftest.$ac_ext" 6176 case "(($ac_try" in 6177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6178 *) ac_try_echo=$ac_try;; 6179 esac 6180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6181 $as_echo "$ac_try_echo") >&5 6182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6183 ac_status=$? 6184 grep -v '^ *+' conftest.er1 >conftest.err 6185 rm -f conftest.er1 6186 cat conftest.err >&5 6187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6188 (exit $ac_status); } >/dev/null && { 6189 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6190 test ! -s conftest.err 6191 }; then 6192 ac_header_preproc=yes 6193 else 6194 $as_echo "$as_me: failed program was:" >&5 6195 sed 's/^/| /' conftest.$ac_ext >&5 6196 6197 ac_header_preproc=no 6198 fi 6199 6200 rm -f conftest.err conftest.$ac_ext 6201 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6202 $as_echo "$ac_header_preproc" >&6; } 6203 6204 # So? What about this header? 6205 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6206 yes:no: ) 6207 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6208 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6209 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6210 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6211 ac_header_preproc=yes 6212 ;; 6213 no:yes:* ) 6214 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6215 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6216 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6217 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6218 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6219 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6220 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6221 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6222 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6223 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6224 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6225 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6226 ( cat <<\_ASBOX 6227 ## ----------------------------------- ## 6228 ## Report this to rappture@nanohub.org ## 6229 ## ----------------------------------- ## 6230 _ASBOX 6231 ) | sed "s/^/$as_me: WARNING: /" >&2 6232 ;; 6233 esac 6234 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6235 $as_echo_n "checking for $ac_header... " >&6; } 6236 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6237 $as_echo_n "(cached) " >&6 6238 else 6239 eval "$as_ac_Header=\$ac_header_preproc" 6240 fi 6241 ac_res=`eval 'as_val=${'$as_ac_Header'} 6242 $as_echo "$as_val"'` 6243 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6244 $as_echo "$ac_res" >&6; } 6245 6246 fi 6247 as_val=`eval 'as_val=${'$as_ac_Header'} 6248 $as_echo "$as_val"'` 6249 if test "x$as_val" = x""yes; then 5081 6250 cat >>confdefs.h <<_ACEOF 5082 #define HAVE_CFLOAT15083 _ACEOF 5084 5085 else 5086 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: STL classes missing ?" >&56251 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6252 _ACEOF 6253 6254 else 6255 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5087 6256 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5088 6257 fi … … 5090 6259 done 5091 6260 6261 5092 6262 for ac_header in cmath 5093 do : 5094 ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default" 5095 if test "x$ac_cv_header_cmath" = xyes; then : 6263 do 6264 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6265 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6266 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6267 $as_echo_n "checking for $ac_header... " >&6; } 6268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6269 $as_echo_n "(cached) " >&6 6270 fi 6271 ac_res=`eval 'as_val=${'$as_ac_Header'} 6272 $as_echo "$as_val"'` 6273 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6274 $as_echo "$ac_res" >&6; } 6275 else 6276 # Is the header compilable? 6277 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6278 $as_echo_n "checking $ac_header usability... " >&6; } 6279 cat >conftest.$ac_ext <<_ACEOF 6280 /* confdefs.h. */ 6281 _ACEOF 6282 cat confdefs.h >>conftest.$ac_ext 6283 cat >>conftest.$ac_ext <<_ACEOF 6284 /* end confdefs.h. */ 6285 $ac_includes_default 6286 #include <$ac_header> 6287 _ACEOF 6288 rm -f conftest.$ac_objext 6289 if { (ac_try="$ac_compile" 6290 case "(($ac_try" in 6291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6292 *) ac_try_echo=$ac_try;; 6293 esac 6294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6295 $as_echo "$ac_try_echo") >&5 6296 (eval "$ac_compile") 2>conftest.er1 6297 ac_status=$? 6298 grep -v '^ *+' conftest.er1 >conftest.err 6299 rm -f conftest.er1 6300 cat conftest.err >&5 6301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6302 (exit $ac_status); } && { 6303 test -z "$ac_cxx_werror_flag" || 6304 test ! -s conftest.err 6305 } && test -s conftest.$ac_objext; then 6306 ac_header_compiler=yes 6307 else 6308 $as_echo "$as_me: failed program was:" >&5 6309 sed 's/^/| /' conftest.$ac_ext >&5 6310 6311 ac_header_compiler=no 6312 fi 6313 6314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6315 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6316 $as_echo "$ac_header_compiler" >&6; } 6317 6318 # Is the header present? 6319 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6320 $as_echo_n "checking $ac_header presence... " >&6; } 6321 cat >conftest.$ac_ext <<_ACEOF 6322 /* confdefs.h. */ 6323 _ACEOF 6324 cat confdefs.h >>conftest.$ac_ext 6325 cat >>conftest.$ac_ext <<_ACEOF 6326 /* end confdefs.h. */ 6327 #include <$ac_header> 6328 _ACEOF 6329 if { (ac_try="$ac_cpp conftest.$ac_ext" 6330 case "(($ac_try" in 6331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6332 *) ac_try_echo=$ac_try;; 6333 esac 6334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6335 $as_echo "$ac_try_echo") >&5 6336 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6337 ac_status=$? 6338 grep -v '^ *+' conftest.er1 >conftest.err 6339 rm -f conftest.er1 6340 cat conftest.err >&5 6341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6342 (exit $ac_status); } >/dev/null && { 6343 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6344 test ! -s conftest.err 6345 }; then 6346 ac_header_preproc=yes 6347 else 6348 $as_echo "$as_me: failed program was:" >&5 6349 sed 's/^/| /' conftest.$ac_ext >&5 6350 6351 ac_header_preproc=no 6352 fi 6353 6354 rm -f conftest.err conftest.$ac_ext 6355 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6356 $as_echo "$ac_header_preproc" >&6; } 6357 6358 # So? What about this header? 6359 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6360 yes:no: ) 6361 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6362 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6363 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6364 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6365 ac_header_preproc=yes 6366 ;; 6367 no:yes:* ) 6368 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6369 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6370 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6371 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6372 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6373 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6374 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6375 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6376 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6377 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6378 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6379 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6380 ( cat <<\_ASBOX 6381 ## ----------------------------------- ## 6382 ## Report this to rappture@nanohub.org ## 6383 ## ----------------------------------- ## 6384 _ASBOX 6385 ) | sed "s/^/$as_me: WARNING: /" >&2 6386 ;; 6387 esac 6388 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6389 $as_echo_n "checking for $ac_header... " >&6; } 6390 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6391 $as_echo_n "(cached) " >&6 6392 else 6393 eval "$as_ac_Header=\$ac_header_preproc" 6394 fi 6395 ac_res=`eval 'as_val=${'$as_ac_Header'} 6396 $as_echo "$as_val"'` 6397 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6398 $as_echo "$ac_res" >&6; } 6399 6400 fi 6401 as_val=`eval 'as_val=${'$as_ac_Header'} 6402 $as_echo "$as_val"'` 6403 if test "x$as_val" = x""yes; then 5096 6404 cat >>confdefs.h <<_ACEOF 5097 #define HAVE_CMATH15098 _ACEOF 5099 5100 else 5101 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: STL classes missing ?" >&56405 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6406 _ACEOF 6407 6408 else 6409 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5102 6410 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5103 6411 fi … … 5105 6413 done 5106 6414 6415 5107 6416 for ac_header in cstdio 5108 do : 5109 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default" 5110 if test "x$ac_cv_header_cstdio" = xyes; then : 6417 do 6418 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6420 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6421 $as_echo_n "checking for $ac_header... " >&6; } 6422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6423 $as_echo_n "(cached) " >&6 6424 fi 6425 ac_res=`eval 'as_val=${'$as_ac_Header'} 6426 $as_echo "$as_val"'` 6427 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6428 $as_echo "$ac_res" >&6; } 6429 else 6430 # Is the header compilable? 6431 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6432 $as_echo_n "checking $ac_header usability... " >&6; } 6433 cat >conftest.$ac_ext <<_ACEOF 6434 /* confdefs.h. */ 6435 _ACEOF 6436 cat confdefs.h >>conftest.$ac_ext 6437 cat >>conftest.$ac_ext <<_ACEOF 6438 /* end confdefs.h. */ 6439 $ac_includes_default 6440 #include <$ac_header> 6441 _ACEOF 6442 rm -f conftest.$ac_objext 6443 if { (ac_try="$ac_compile" 6444 case "(($ac_try" in 6445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6446 *) ac_try_echo=$ac_try;; 6447 esac 6448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6449 $as_echo "$ac_try_echo") >&5 6450 (eval "$ac_compile") 2>conftest.er1 6451 ac_status=$? 6452 grep -v '^ *+' conftest.er1 >conftest.err 6453 rm -f conftest.er1 6454 cat conftest.err >&5 6455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6456 (exit $ac_status); } && { 6457 test -z "$ac_cxx_werror_flag" || 6458 test ! -s conftest.err 6459 } && test -s conftest.$ac_objext; then 6460 ac_header_compiler=yes 6461 else 6462 $as_echo "$as_me: failed program was:" >&5 6463 sed 's/^/| /' conftest.$ac_ext >&5 6464 6465 ac_header_compiler=no 6466 fi 6467 6468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6469 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6470 $as_echo "$ac_header_compiler" >&6; } 6471 6472 # Is the header present? 6473 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6474 $as_echo_n "checking $ac_header presence... " >&6; } 6475 cat >conftest.$ac_ext <<_ACEOF 6476 /* confdefs.h. */ 6477 _ACEOF 6478 cat confdefs.h >>conftest.$ac_ext 6479 cat >>conftest.$ac_ext <<_ACEOF 6480 /* end confdefs.h. */ 6481 #include <$ac_header> 6482 _ACEOF 6483 if { (ac_try="$ac_cpp conftest.$ac_ext" 6484 case "(($ac_try" in 6485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6486 *) ac_try_echo=$ac_try;; 6487 esac 6488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6489 $as_echo "$ac_try_echo") >&5 6490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6491 ac_status=$? 6492 grep -v '^ *+' conftest.er1 >conftest.err 6493 rm -f conftest.er1 6494 cat conftest.err >&5 6495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6496 (exit $ac_status); } >/dev/null && { 6497 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6498 test ! -s conftest.err 6499 }; then 6500 ac_header_preproc=yes 6501 else 6502 $as_echo "$as_me: failed program was:" >&5 6503 sed 's/^/| /' conftest.$ac_ext >&5 6504 6505 ac_header_preproc=no 6506 fi 6507 6508 rm -f conftest.err conftest.$ac_ext 6509 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6510 $as_echo "$ac_header_preproc" >&6; } 6511 6512 # So? What about this header? 6513 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6514 yes:no: ) 6515 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6516 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6517 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6518 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6519 ac_header_preproc=yes 6520 ;; 6521 no:yes:* ) 6522 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6523 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6524 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6525 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6526 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6527 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6528 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6529 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6530 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6531 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6532 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6533 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6534 ( cat <<\_ASBOX 6535 ## ----------------------------------- ## 6536 ## Report this to rappture@nanohub.org ## 6537 ## ----------------------------------- ## 6538 _ASBOX 6539 ) | sed "s/^/$as_me: WARNING: /" >&2 6540 ;; 6541 esac 6542 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6543 $as_echo_n "checking for $ac_header... " >&6; } 6544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6545 $as_echo_n "(cached) " >&6 6546 else 6547 eval "$as_ac_Header=\$ac_header_preproc" 6548 fi 6549 ac_res=`eval 'as_val=${'$as_ac_Header'} 6550 $as_echo "$as_val"'` 6551 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6552 $as_echo "$ac_res" >&6; } 6553 6554 fi 6555 as_val=`eval 'as_val=${'$as_ac_Header'} 6556 $as_echo "$as_val"'` 6557 if test "x$as_val" = x""yes; then 5111 6558 cat >>confdefs.h <<_ACEOF 5112 #define HAVE_CSTDIO15113 _ACEOF 5114 5115 else 5116 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: STL classes missing ?" >&56559 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6560 _ACEOF 6561 6562 else 6563 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5117 6564 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5118 6565 fi … … 5120 6567 done 5121 6568 6569 5122 6570 for ac_header in cstdlib 5123 do : 5124 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default" 5125 if test "x$ac_cv_header_cstdlib" = xyes; then : 6571 do 6572 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6574 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6575 $as_echo_n "checking for $ac_header... " >&6; } 6576 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6577 $as_echo_n "(cached) " >&6 6578 fi 6579 ac_res=`eval 'as_val=${'$as_ac_Header'} 6580 $as_echo "$as_val"'` 6581 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6582 $as_echo "$ac_res" >&6; } 6583 else 6584 # Is the header compilable? 6585 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6586 $as_echo_n "checking $ac_header usability... " >&6; } 6587 cat >conftest.$ac_ext <<_ACEOF 6588 /* confdefs.h. */ 6589 _ACEOF 6590 cat confdefs.h >>conftest.$ac_ext 6591 cat >>conftest.$ac_ext <<_ACEOF 6592 /* end confdefs.h. */ 6593 $ac_includes_default 6594 #include <$ac_header> 6595 _ACEOF 6596 rm -f conftest.$ac_objext 6597 if { (ac_try="$ac_compile" 6598 case "(($ac_try" in 6599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6600 *) ac_try_echo=$ac_try;; 6601 esac 6602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6603 $as_echo "$ac_try_echo") >&5 6604 (eval "$ac_compile") 2>conftest.er1 6605 ac_status=$? 6606 grep -v '^ *+' conftest.er1 >conftest.err 6607 rm -f conftest.er1 6608 cat conftest.err >&5 6609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6610 (exit $ac_status); } && { 6611 test -z "$ac_cxx_werror_flag" || 6612 test ! -s conftest.err 6613 } && test -s conftest.$ac_objext; then 6614 ac_header_compiler=yes 6615 else 6616 $as_echo "$as_me: failed program was:" >&5 6617 sed 's/^/| /' conftest.$ac_ext >&5 6618 6619 ac_header_compiler=no 6620 fi 6621 6622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6623 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6624 $as_echo "$ac_header_compiler" >&6; } 6625 6626 # Is the header present? 6627 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6628 $as_echo_n "checking $ac_header presence... " >&6; } 6629 cat >conftest.$ac_ext <<_ACEOF 6630 /* confdefs.h. */ 6631 _ACEOF 6632 cat confdefs.h >>conftest.$ac_ext 6633 cat >>conftest.$ac_ext <<_ACEOF 6634 /* end confdefs.h. */ 6635 #include <$ac_header> 6636 _ACEOF 6637 if { (ac_try="$ac_cpp conftest.$ac_ext" 6638 case "(($ac_try" in 6639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6640 *) ac_try_echo=$ac_try;; 6641 esac 6642 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6643 $as_echo "$ac_try_echo") >&5 6644 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6645 ac_status=$? 6646 grep -v '^ *+' conftest.er1 >conftest.err 6647 rm -f conftest.er1 6648 cat conftest.err >&5 6649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6650 (exit $ac_status); } >/dev/null && { 6651 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6652 test ! -s conftest.err 6653 }; then 6654 ac_header_preproc=yes 6655 else 6656 $as_echo "$as_me: failed program was:" >&5 6657 sed 's/^/| /' conftest.$ac_ext >&5 6658 6659 ac_header_preproc=no 6660 fi 6661 6662 rm -f conftest.err conftest.$ac_ext 6663 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6664 $as_echo "$ac_header_preproc" >&6; } 6665 6666 # So? What about this header? 6667 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6668 yes:no: ) 6669 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6670 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6671 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6672 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6673 ac_header_preproc=yes 6674 ;; 6675 no:yes:* ) 6676 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6677 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6678 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6679 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6680 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6681 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6682 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6683 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6684 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6685 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6686 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6687 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6688 ( cat <<\_ASBOX 6689 ## ----------------------------------- ## 6690 ## Report this to rappture@nanohub.org ## 6691 ## ----------------------------------- ## 6692 _ASBOX 6693 ) | sed "s/^/$as_me: WARNING: /" >&2 6694 ;; 6695 esac 6696 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6697 $as_echo_n "checking for $ac_header... " >&6; } 6698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6699 $as_echo_n "(cached) " >&6 6700 else 6701 eval "$as_ac_Header=\$ac_header_preproc" 6702 fi 6703 ac_res=`eval 'as_val=${'$as_ac_Header'} 6704 $as_echo "$as_val"'` 6705 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6706 $as_echo "$ac_res" >&6; } 6707 6708 fi 6709 as_val=`eval 'as_val=${'$as_ac_Header'} 6710 $as_echo "$as_val"'` 6711 if test "x$as_val" = x""yes; then 5126 6712 cat >>confdefs.h <<_ACEOF 5127 #define HAVE_CSTDLIB15128 _ACEOF 5129 5130 else 5131 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: STL classes missing ?" >&56713 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6714 _ACEOF 6715 6716 else 6717 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5132 6718 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5133 6719 fi … … 5135 6721 done 5136 6722 6723 5137 6724 for ac_header in cstring 5138 do : 5139 ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default" 5140 if test "x$ac_cv_header_cstring" = xyes; then : 6725 do 6726 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6728 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6729 $as_echo_n "checking for $ac_header... " >&6; } 6730 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6731 $as_echo_n "(cached) " >&6 6732 fi 6733 ac_res=`eval 'as_val=${'$as_ac_Header'} 6734 $as_echo "$as_val"'` 6735 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6736 $as_echo "$ac_res" >&6; } 6737 else 6738 # Is the header compilable? 6739 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6740 $as_echo_n "checking $ac_header usability... " >&6; } 6741 cat >conftest.$ac_ext <<_ACEOF 6742 /* confdefs.h. */ 6743 _ACEOF 6744 cat confdefs.h >>conftest.$ac_ext 6745 cat >>conftest.$ac_ext <<_ACEOF 6746 /* end confdefs.h. */ 6747 $ac_includes_default 6748 #include <$ac_header> 6749 _ACEOF 6750 rm -f conftest.$ac_objext 6751 if { (ac_try="$ac_compile" 6752 case "(($ac_try" in 6753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6754 *) ac_try_echo=$ac_try;; 6755 esac 6756 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6757 $as_echo "$ac_try_echo") >&5 6758 (eval "$ac_compile") 2>conftest.er1 6759 ac_status=$? 6760 grep -v '^ *+' conftest.er1 >conftest.err 6761 rm -f conftest.er1 6762 cat conftest.err >&5 6763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6764 (exit $ac_status); } && { 6765 test -z "$ac_cxx_werror_flag" || 6766 test ! -s conftest.err 6767 } && test -s conftest.$ac_objext; then 6768 ac_header_compiler=yes 6769 else 6770 $as_echo "$as_me: failed program was:" >&5 6771 sed 's/^/| /' conftest.$ac_ext >&5 6772 6773 ac_header_compiler=no 6774 fi 6775 6776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6777 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6778 $as_echo "$ac_header_compiler" >&6; } 6779 6780 # Is the header present? 6781 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6782 $as_echo_n "checking $ac_header presence... " >&6; } 6783 cat >conftest.$ac_ext <<_ACEOF 6784 /* confdefs.h. */ 6785 _ACEOF 6786 cat confdefs.h >>conftest.$ac_ext 6787 cat >>conftest.$ac_ext <<_ACEOF 6788 /* end confdefs.h. */ 6789 #include <$ac_header> 6790 _ACEOF 6791 if { (ac_try="$ac_cpp conftest.$ac_ext" 6792 case "(($ac_try" in 6793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6794 *) ac_try_echo=$ac_try;; 6795 esac 6796 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6797 $as_echo "$ac_try_echo") >&5 6798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6799 ac_status=$? 6800 grep -v '^ *+' conftest.er1 >conftest.err 6801 rm -f conftest.er1 6802 cat conftest.err >&5 6803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6804 (exit $ac_status); } >/dev/null && { 6805 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6806 test ! -s conftest.err 6807 }; then 6808 ac_header_preproc=yes 6809 else 6810 $as_echo "$as_me: failed program was:" >&5 6811 sed 's/^/| /' conftest.$ac_ext >&5 6812 6813 ac_header_preproc=no 6814 fi 6815 6816 rm -f conftest.err conftest.$ac_ext 6817 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6818 $as_echo "$ac_header_preproc" >&6; } 6819 6820 # So? What about this header? 6821 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6822 yes:no: ) 6823 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6824 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6825 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6826 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6827 ac_header_preproc=yes 6828 ;; 6829 no:yes:* ) 6830 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6831 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6832 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6833 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6834 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6835 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6836 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6837 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6838 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6839 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6840 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6841 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6842 ( cat <<\_ASBOX 6843 ## ----------------------------------- ## 6844 ## Report this to rappture@nanohub.org ## 6845 ## ----------------------------------- ## 6846 _ASBOX 6847 ) | sed "s/^/$as_me: WARNING: /" >&2 6848 ;; 6849 esac 6850 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6851 $as_echo_n "checking for $ac_header... " >&6; } 6852 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6853 $as_echo_n "(cached) " >&6 6854 else 6855 eval "$as_ac_Header=\$ac_header_preproc" 6856 fi 6857 ac_res=`eval 'as_val=${'$as_ac_Header'} 6858 $as_echo "$as_val"'` 6859 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6860 $as_echo "$ac_res" >&6; } 6861 6862 fi 6863 as_val=`eval 'as_val=${'$as_ac_Header'} 6864 $as_echo "$as_val"'` 6865 if test "x$as_val" = x""yes; then 5141 6866 cat >>confdefs.h <<_ACEOF 5142 #define HAVE_CSTRING15143 _ACEOF 5144 5145 else 5146 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: STL classes missing ?" >&56867 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6868 _ACEOF 6869 6870 else 6871 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5147 6872 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5148 6873 fi … … 5150 6875 done 5151 6876 6877 5152 6878 for ac_header in fstream 5153 do : 5154 ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default" 5155 if test "x$ac_cv_header_fstream" = xyes; then : 6879 do 6880 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6881 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6882 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6883 $as_echo_n "checking for $ac_header... " >&6; } 6884 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6885 $as_echo_n "(cached) " >&6 6886 fi 6887 ac_res=`eval 'as_val=${'$as_ac_Header'} 6888 $as_echo "$as_val"'` 6889 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6890 $as_echo "$ac_res" >&6; } 6891 else 6892 # Is the header compilable? 6893 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6894 $as_echo_n "checking $ac_header usability... " >&6; } 6895 cat >conftest.$ac_ext <<_ACEOF 6896 /* confdefs.h. */ 6897 _ACEOF 6898 cat confdefs.h >>conftest.$ac_ext 6899 cat >>conftest.$ac_ext <<_ACEOF 6900 /* end confdefs.h. */ 6901 $ac_includes_default 6902 #include <$ac_header> 6903 _ACEOF 6904 rm -f conftest.$ac_objext 6905 if { (ac_try="$ac_compile" 6906 case "(($ac_try" in 6907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6908 *) ac_try_echo=$ac_try;; 6909 esac 6910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6911 $as_echo "$ac_try_echo") >&5 6912 (eval "$ac_compile") 2>conftest.er1 6913 ac_status=$? 6914 grep -v '^ *+' conftest.er1 >conftest.err 6915 rm -f conftest.er1 6916 cat conftest.err >&5 6917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6918 (exit $ac_status); } && { 6919 test -z "$ac_cxx_werror_flag" || 6920 test ! -s conftest.err 6921 } && test -s conftest.$ac_objext; then 6922 ac_header_compiler=yes 6923 else 6924 $as_echo "$as_me: failed program was:" >&5 6925 sed 's/^/| /' conftest.$ac_ext >&5 6926 6927 ac_header_compiler=no 6928 fi 6929 6930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6931 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6932 $as_echo "$ac_header_compiler" >&6; } 6933 6934 # Is the header present? 6935 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6936 $as_echo_n "checking $ac_header presence... " >&6; } 6937 cat >conftest.$ac_ext <<_ACEOF 6938 /* confdefs.h. */ 6939 _ACEOF 6940 cat confdefs.h >>conftest.$ac_ext 6941 cat >>conftest.$ac_ext <<_ACEOF 6942 /* end confdefs.h. */ 6943 #include <$ac_header> 6944 _ACEOF 6945 if { (ac_try="$ac_cpp conftest.$ac_ext" 6946 case "(($ac_try" in 6947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6948 *) ac_try_echo=$ac_try;; 6949 esac 6950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6951 $as_echo "$ac_try_echo") >&5 6952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6953 ac_status=$? 6954 grep -v '^ *+' conftest.er1 >conftest.err 6955 rm -f conftest.er1 6956 cat conftest.err >&5 6957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6958 (exit $ac_status); } >/dev/null && { 6959 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6960 test ! -s conftest.err 6961 }; then 6962 ac_header_preproc=yes 6963 else 6964 $as_echo "$as_me: failed program was:" >&5 6965 sed 's/^/| /' conftest.$ac_ext >&5 6966 6967 ac_header_preproc=no 6968 fi 6969 6970 rm -f conftest.err conftest.$ac_ext 6971 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6972 $as_echo "$ac_header_preproc" >&6; } 6973 6974 # So? What about this header? 6975 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6976 yes:no: ) 6977 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6978 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6979 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6980 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6981 ac_header_preproc=yes 6982 ;; 6983 no:yes:* ) 6984 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6985 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6986 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6987 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6988 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6989 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6990 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6991 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6992 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6993 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6994 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6995 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6996 ( cat <<\_ASBOX 6997 ## ----------------------------------- ## 6998 ## Report this to rappture@nanohub.org ## 6999 ## ----------------------------------- ## 7000 _ASBOX 7001 ) | sed "s/^/$as_me: WARNING: /" >&2 7002 ;; 7003 esac 7004 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7005 $as_echo_n "checking for $ac_header... " >&6; } 7006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7007 $as_echo_n "(cached) " >&6 7008 else 7009 eval "$as_ac_Header=\$ac_header_preproc" 7010 fi 7011 ac_res=`eval 'as_val=${'$as_ac_Header'} 7012 $as_echo "$as_val"'` 7013 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7014 $as_echo "$ac_res" >&6; } 7015 7016 fi 7017 as_val=`eval 'as_val=${'$as_ac_Header'} 7018 $as_echo "$as_val"'` 7019 if test "x$as_val" = x""yes; then 5156 7020 cat >>confdefs.h <<_ACEOF 5157 #define HAVE_FSTREAM15158 _ACEOF 5159 5160 else 5161 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: STL classes missing ?" >&57021 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7022 _ACEOF 7023 7024 else 7025 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5162 7026 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5163 7027 fi … … 5165 7029 done 5166 7030 7031 5167 7032 for ac_header in list 5168 do : 5169 ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default" 5170 if test "x$ac_cv_header_list" = xyes; then : 7033 do 7034 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7035 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7036 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7037 $as_echo_n "checking for $ac_header... " >&6; } 7038 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7039 $as_echo_n "(cached) " >&6 7040 fi 7041 ac_res=`eval 'as_val=${'$as_ac_Header'} 7042 $as_echo "$as_val"'` 7043 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7044 $as_echo "$ac_res" >&6; } 7045 else 7046 # Is the header compilable? 7047 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7048 $as_echo_n "checking $ac_header usability... " >&6; } 7049 cat >conftest.$ac_ext <<_ACEOF 7050 /* confdefs.h. */ 7051 _ACEOF 7052 cat confdefs.h >>conftest.$ac_ext 7053 cat >>conftest.$ac_ext <<_ACEOF 7054 /* end confdefs.h. */ 7055 $ac_includes_default 7056 #include <$ac_header> 7057 _ACEOF 7058 rm -f conftest.$ac_objext 7059 if { (ac_try="$ac_compile" 7060 case "(($ac_try" in 7061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7062 *) ac_try_echo=$ac_try;; 7063 esac 7064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7065 $as_echo "$ac_try_echo") >&5 7066 (eval "$ac_compile") 2>conftest.er1 7067 ac_status=$? 7068 grep -v '^ *+' conftest.er1 >conftest.err 7069 rm -f conftest.er1 7070 cat conftest.err >&5 7071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7072 (exit $ac_status); } && { 7073 test -z "$ac_cxx_werror_flag" || 7074 test ! -s conftest.err 7075 } && test -s conftest.$ac_objext; then 7076 ac_header_compiler=yes 7077 else 7078 $as_echo "$as_me: failed program was:" >&5 7079 sed 's/^/| /' conftest.$ac_ext >&5 7080 7081 ac_header_compiler=no 7082 fi 7083 7084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7085 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7086 $as_echo "$ac_header_compiler" >&6; } 7087 7088 # Is the header present? 7089 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7090 $as_echo_n "checking $ac_header presence... " >&6; } 7091 cat >conftest.$ac_ext <<_ACEOF 7092 /* confdefs.h. */ 7093 _ACEOF 7094 cat confdefs.h >>conftest.$ac_ext 7095 cat >>conftest.$ac_ext <<_ACEOF 7096 /* end confdefs.h. */ 7097 #include <$ac_header> 7098 _ACEOF 7099 if { (ac_try="$ac_cpp conftest.$ac_ext" 7100 case "(($ac_try" in 7101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7102 *) ac_try_echo=$ac_try;; 7103 esac 7104 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7105 $as_echo "$ac_try_echo") >&5 7106 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7107 ac_status=$? 7108 grep -v '^ *+' conftest.er1 >conftest.err 7109 rm -f conftest.er1 7110 cat conftest.err >&5 7111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7112 (exit $ac_status); } >/dev/null && { 7113 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7114 test ! -s conftest.err 7115 }; then 7116 ac_header_preproc=yes 7117 else 7118 $as_echo "$as_me: failed program was:" >&5 7119 sed 's/^/| /' conftest.$ac_ext >&5 7120 7121 ac_header_preproc=no 7122 fi 7123 7124 rm -f conftest.err conftest.$ac_ext 7125 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7126 $as_echo "$ac_header_preproc" >&6; } 7127 7128 # So? What about this header? 7129 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7130 yes:no: ) 7131 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7132 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7133 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7134 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7135 ac_header_preproc=yes 7136 ;; 7137 no:yes:* ) 7138 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7139 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7140 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7141 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7142 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7143 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7144 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7145 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7146 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7147 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7148 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7149 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7150 ( cat <<\_ASBOX 7151 ## ----------------------------------- ## 7152 ## Report this to rappture@nanohub.org ## 7153 ## ----------------------------------- ## 7154 _ASBOX 7155 ) | sed "s/^/$as_me: WARNING: /" >&2 7156 ;; 7157 esac 7158 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7159 $as_echo_n "checking for $ac_header... " >&6; } 7160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7161 $as_echo_n "(cached) " >&6 7162 else 7163 eval "$as_ac_Header=\$ac_header_preproc" 7164 fi 7165 ac_res=`eval 'as_val=${'$as_ac_Header'} 7166 $as_echo "$as_val"'` 7167 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7168 $as_echo "$ac_res" >&6; } 7169 7170 fi 7171 as_val=`eval 'as_val=${'$as_ac_Header'} 7172 $as_echo "$as_val"'` 7173 if test "x$as_val" = x""yes; then 5171 7174 cat >>confdefs.h <<_ACEOF 5172 #define HAVE_LIST15173 _ACEOF 5174 5175 else 5176 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: STL classes missing ?" >&57175 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7176 _ACEOF 7177 7178 else 7179 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5177 7180 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5178 7181 fi … … 5180 7183 done 5181 7184 7185 5182 7186 for ac_header in iostream 5183 do : 5184 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default" 5185 if test "x$ac_cv_header_iostream" = xyes; then : 7187 do 7188 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7189 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7190 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7191 $as_echo_n "checking for $ac_header... " >&6; } 7192 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7193 $as_echo_n "(cached) " >&6 7194 fi 7195 ac_res=`eval 'as_val=${'$as_ac_Header'} 7196 $as_echo "$as_val"'` 7197 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7198 $as_echo "$ac_res" >&6; } 7199 else 7200 # Is the header compilable? 7201 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7202 $as_echo_n "checking $ac_header usability... " >&6; } 7203 cat >conftest.$ac_ext <<_ACEOF 7204 /* confdefs.h. */ 7205 _ACEOF 7206 cat confdefs.h >>conftest.$ac_ext 7207 cat >>conftest.$ac_ext <<_ACEOF 7208 /* end confdefs.h. */ 7209 $ac_includes_default 7210 #include <$ac_header> 7211 _ACEOF 7212 rm -f conftest.$ac_objext 7213 if { (ac_try="$ac_compile" 7214 case "(($ac_try" in 7215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7216 *) ac_try_echo=$ac_try;; 7217 esac 7218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7219 $as_echo "$ac_try_echo") >&5 7220 (eval "$ac_compile") 2>conftest.er1 7221 ac_status=$? 7222 grep -v '^ *+' conftest.er1 >conftest.err 7223 rm -f conftest.er1 7224 cat conftest.err >&5 7225 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7226 (exit $ac_status); } && { 7227 test -z "$ac_cxx_werror_flag" || 7228 test ! -s conftest.err 7229 } && test -s conftest.$ac_objext; then 7230 ac_header_compiler=yes 7231 else 7232 $as_echo "$as_me: failed program was:" >&5 7233 sed 's/^/| /' conftest.$ac_ext >&5 7234 7235 ac_header_compiler=no 7236 fi 7237 7238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7239 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7240 $as_echo "$ac_header_compiler" >&6; } 7241 7242 # Is the header present? 7243 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7244 $as_echo_n "checking $ac_header presence... " >&6; } 7245 cat >conftest.$ac_ext <<_ACEOF 7246 /* confdefs.h. */ 7247 _ACEOF 7248 cat confdefs.h >>conftest.$ac_ext 7249 cat >>conftest.$ac_ext <<_ACEOF 7250 /* end confdefs.h. */ 7251 #include <$ac_header> 7252 _ACEOF 7253 if { (ac_try="$ac_cpp conftest.$ac_ext" 7254 case "(($ac_try" in 7255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7256 *) ac_try_echo=$ac_try;; 7257 esac 7258 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7259 $as_echo "$ac_try_echo") >&5 7260 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7261 ac_status=$? 7262 grep -v '^ *+' conftest.er1 >conftest.err 7263 rm -f conftest.er1 7264 cat conftest.err >&5 7265 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7266 (exit $ac_status); } >/dev/null && { 7267 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7268 test ! -s conftest.err 7269 }; then 7270 ac_header_preproc=yes 7271 else 7272 $as_echo "$as_me: failed program was:" >&5 7273 sed 's/^/| /' conftest.$ac_ext >&5 7274 7275 ac_header_preproc=no 7276 fi 7277 7278 rm -f conftest.err conftest.$ac_ext 7279 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7280 $as_echo "$ac_header_preproc" >&6; } 7281 7282 # So? What about this header? 7283 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7284 yes:no: ) 7285 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7286 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7287 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7288 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7289 ac_header_preproc=yes 7290 ;; 7291 no:yes:* ) 7292 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7293 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7294 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7295 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7296 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7297 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7298 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7299 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7300 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7301 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7302 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7303 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7304 ( cat <<\_ASBOX 7305 ## ----------------------------------- ## 7306 ## Report this to rappture@nanohub.org ## 7307 ## ----------------------------------- ## 7308 _ASBOX 7309 ) | sed "s/^/$as_me: WARNING: /" >&2 7310 ;; 7311 esac 7312 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7313 $as_echo_n "checking for $ac_header... " >&6; } 7314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7315 $as_echo_n "(cached) " >&6 7316 else 7317 eval "$as_ac_Header=\$ac_header_preproc" 7318 fi 7319 ac_res=`eval 'as_val=${'$as_ac_Header'} 7320 $as_echo "$as_val"'` 7321 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7322 $as_echo "$ac_res" >&6; } 7323 7324 fi 7325 as_val=`eval 'as_val=${'$as_ac_Header'} 7326 $as_echo "$as_val"'` 7327 if test "x$as_val" = x""yes; then 5186 7328 cat >>confdefs.h <<_ACEOF 5187 #define HAVE_IOSTREAM15188 _ACEOF 5189 5190 else 5191 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: STL classes missing ?" >&57329 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7330 _ACEOF 7331 7332 else 7333 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5192 7334 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5193 7335 fi … … 5195 7337 done 5196 7338 7339 5197 7340 for ac_header in iterator 5198 do : 5199 ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default" 5200 if test "x$ac_cv_header_iterator" = xyes; then : 7341 do 7342 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7344 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7345 $as_echo_n "checking for $ac_header... " >&6; } 7346 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7347 $as_echo_n "(cached) " >&6 7348 fi 7349 ac_res=`eval 'as_val=${'$as_ac_Header'} 7350 $as_echo "$as_val"'` 7351 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7352 $as_echo "$ac_res" >&6; } 7353 else 7354 # Is the header compilable? 7355 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7356 $as_echo_n "checking $ac_header usability... " >&6; } 7357 cat >conftest.$ac_ext <<_ACEOF 7358 /* confdefs.h. */ 7359 _ACEOF 7360 cat confdefs.h >>conftest.$ac_ext 7361 cat >>conftest.$ac_ext <<_ACEOF 7362 /* end confdefs.h. */ 7363 $ac_includes_default 7364 #include <$ac_header> 7365 _ACEOF 7366 rm -f conftest.$ac_objext 7367 if { (ac_try="$ac_compile" 7368 case "(($ac_try" in 7369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7370 *) ac_try_echo=$ac_try;; 7371 esac 7372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7373 $as_echo "$ac_try_echo") >&5 7374 (eval "$ac_compile") 2>conftest.er1 7375 ac_status=$? 7376 grep -v '^ *+' conftest.er1 >conftest.err 7377 rm -f conftest.er1 7378 cat conftest.err >&5 7379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7380 (exit $ac_status); } && { 7381 test -z "$ac_cxx_werror_flag" || 7382 test ! -s conftest.err 7383 } && test -s conftest.$ac_objext; then 7384 ac_header_compiler=yes 7385 else 7386 $as_echo "$as_me: failed program was:" >&5 7387 sed 's/^/| /' conftest.$ac_ext >&5 7388 7389 ac_header_compiler=no 7390 fi 7391 7392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7393 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7394 $as_echo "$ac_header_compiler" >&6; } 7395 7396 # Is the header present? 7397 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7398 $as_echo_n "checking $ac_header presence... " >&6; } 7399 cat >conftest.$ac_ext <<_ACEOF 7400 /* confdefs.h. */ 7401 _ACEOF 7402 cat confdefs.h >>conftest.$ac_ext 7403 cat >>conftest.$ac_ext <<_ACEOF 7404 /* end confdefs.h. */ 7405 #include <$ac_header> 7406 _ACEOF 7407 if { (ac_try="$ac_cpp conftest.$ac_ext" 7408 case "(($ac_try" in 7409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7410 *) ac_try_echo=$ac_try;; 7411 esac 7412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7413 $as_echo "$ac_try_echo") >&5 7414 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7415 ac_status=$? 7416 grep -v '^ *+' conftest.er1 >conftest.err 7417 rm -f conftest.er1 7418 cat conftest.err >&5 7419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7420 (exit $ac_status); } >/dev/null && { 7421 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7422 test ! -s conftest.err 7423 }; then 7424 ac_header_preproc=yes 7425 else 7426 $as_echo "$as_me: failed program was:" >&5 7427 sed 's/^/| /' conftest.$ac_ext >&5 7428 7429 ac_header_preproc=no 7430 fi 7431 7432 rm -f conftest.err conftest.$ac_ext 7433 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7434 $as_echo "$ac_header_preproc" >&6; } 7435 7436 # So? What about this header? 7437 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7438 yes:no: ) 7439 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7440 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7441 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7442 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7443 ac_header_preproc=yes 7444 ;; 7445 no:yes:* ) 7446 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7447 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7449 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7450 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7451 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7452 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7453 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7455 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7457 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7458 ( cat <<\_ASBOX 7459 ## ----------------------------------- ## 7460 ## Report this to rappture@nanohub.org ## 7461 ## ----------------------------------- ## 7462 _ASBOX 7463 ) | sed "s/^/$as_me: WARNING: /" >&2 7464 ;; 7465 esac 7466 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7467 $as_echo_n "checking for $ac_header... " >&6; } 7468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7469 $as_echo_n "(cached) " >&6 7470 else 7471 eval "$as_ac_Header=\$ac_header_preproc" 7472 fi 7473 ac_res=`eval 'as_val=${'$as_ac_Header'} 7474 $as_echo "$as_val"'` 7475 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7476 $as_echo "$ac_res" >&6; } 7477 7478 fi 7479 as_val=`eval 'as_val=${'$as_ac_Header'} 7480 $as_echo "$as_val"'` 7481 if test "x$as_val" = x""yes; then 5201 7482 cat >>confdefs.h <<_ACEOF 5202 #define HAVE_ITERATOR15203 _ACEOF 5204 5205 else 5206 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: STL classes missing ?" >&57483 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7484 _ACEOF 7485 7486 else 7487 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5207 7488 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5208 7489 fi … … 5210 7491 done 5211 7492 7493 5212 7494 for ac_header in sstream 5213 do : 5214 ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default" 5215 if test "x$ac_cv_header_sstream" = xyes; then : 7495 do 7496 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7498 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7499 $as_echo_n "checking for $ac_header... " >&6; } 7500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7501 $as_echo_n "(cached) " >&6 7502 fi 7503 ac_res=`eval 'as_val=${'$as_ac_Header'} 7504 $as_echo "$as_val"'` 7505 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7506 $as_echo "$ac_res" >&6; } 7507 else 7508 # Is the header compilable? 7509 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7510 $as_echo_n "checking $ac_header usability... " >&6; } 7511 cat >conftest.$ac_ext <<_ACEOF 7512 /* confdefs.h. */ 7513 _ACEOF 7514 cat confdefs.h >>conftest.$ac_ext 7515 cat >>conftest.$ac_ext <<_ACEOF 7516 /* end confdefs.h. */ 7517 $ac_includes_default 7518 #include <$ac_header> 7519 _ACEOF 7520 rm -f conftest.$ac_objext 7521 if { (ac_try="$ac_compile" 7522 case "(($ac_try" in 7523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7524 *) ac_try_echo=$ac_try;; 7525 esac 7526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7527 $as_echo "$ac_try_echo") >&5 7528 (eval "$ac_compile") 2>conftest.er1 7529 ac_status=$? 7530 grep -v '^ *+' conftest.er1 >conftest.err 7531 rm -f conftest.er1 7532 cat conftest.err >&5 7533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7534 (exit $ac_status); } && { 7535 test -z "$ac_cxx_werror_flag" || 7536 test ! -s conftest.err 7537 } && test -s conftest.$ac_objext; then 7538 ac_header_compiler=yes 7539 else 7540 $as_echo "$as_me: failed program was:" >&5 7541 sed 's/^/| /' conftest.$ac_ext >&5 7542 7543 ac_header_compiler=no 7544 fi 7545 7546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7547 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7548 $as_echo "$ac_header_compiler" >&6; } 7549 7550 # Is the header present? 7551 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7552 $as_echo_n "checking $ac_header presence... " >&6; } 7553 cat >conftest.$ac_ext <<_ACEOF 7554 /* confdefs.h. */ 7555 _ACEOF 7556 cat confdefs.h >>conftest.$ac_ext 7557 cat >>conftest.$ac_ext <<_ACEOF 7558 /* end confdefs.h. */ 7559 #include <$ac_header> 7560 _ACEOF 7561 if { (ac_try="$ac_cpp conftest.$ac_ext" 7562 case "(($ac_try" in 7563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7564 *) ac_try_echo=$ac_try;; 7565 esac 7566 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7567 $as_echo "$ac_try_echo") >&5 7568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7569 ac_status=$? 7570 grep -v '^ *+' conftest.er1 >conftest.err 7571 rm -f conftest.er1 7572 cat conftest.err >&5 7573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7574 (exit $ac_status); } >/dev/null && { 7575 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7576 test ! -s conftest.err 7577 }; then 7578 ac_header_preproc=yes 7579 else 7580 $as_echo "$as_me: failed program was:" >&5 7581 sed 's/^/| /' conftest.$ac_ext >&5 7582 7583 ac_header_preproc=no 7584 fi 7585 7586 rm -f conftest.err conftest.$ac_ext 7587 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7588 $as_echo "$ac_header_preproc" >&6; } 7589 7590 # So? What about this header? 7591 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7592 yes:no: ) 7593 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7594 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7595 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7596 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7597 ac_header_preproc=yes 7598 ;; 7599 no:yes:* ) 7600 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7601 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7602 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7603 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7604 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7605 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7606 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7607 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7608 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7609 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7610 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7611 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7612 ( cat <<\_ASBOX 7613 ## ----------------------------------- ## 7614 ## Report this to rappture@nanohub.org ## 7615 ## ----------------------------------- ## 7616 _ASBOX 7617 ) | sed "s/^/$as_me: WARNING: /" >&2 7618 ;; 7619 esac 7620 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7621 $as_echo_n "checking for $ac_header... " >&6; } 7622 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7623 $as_echo_n "(cached) " >&6 7624 else 7625 eval "$as_ac_Header=\$ac_header_preproc" 7626 fi 7627 ac_res=`eval 'as_val=${'$as_ac_Header'} 7628 $as_echo "$as_val"'` 7629 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7630 $as_echo "$ac_res" >&6; } 7631 7632 fi 7633 as_val=`eval 'as_val=${'$as_ac_Header'} 7634 $as_echo "$as_val"'` 7635 if test "x$as_val" = x""yes; then 5216 7636 cat >>confdefs.h <<_ACEOF 5217 #define HAVE_SSTREAM15218 _ACEOF 5219 5220 else 5221 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: STL classes missing ?" >&57637 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7638 _ACEOF 7639 7640 else 7641 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5222 7642 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5223 7643 fi … … 5225 7645 done 5226 7646 7647 5227 7648 for ac_header in stack 5228 do : 5229 ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default" 5230 if test "x$ac_cv_header_stack" = xyes; then : 7649 do 7650 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7651 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7652 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7653 $as_echo_n "checking for $ac_header... " >&6; } 7654 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7655 $as_echo_n "(cached) " >&6 7656 fi 7657 ac_res=`eval 'as_val=${'$as_ac_Header'} 7658 $as_echo "$as_val"'` 7659 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7660 $as_echo "$ac_res" >&6; } 7661 else 7662 # Is the header compilable? 7663 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7664 $as_echo_n "checking $ac_header usability... " >&6; } 7665 cat >conftest.$ac_ext <<_ACEOF 7666 /* confdefs.h. */ 7667 _ACEOF 7668 cat confdefs.h >>conftest.$ac_ext 7669 cat >>conftest.$ac_ext <<_ACEOF 7670 /* end confdefs.h. */ 7671 $ac_includes_default 7672 #include <$ac_header> 7673 _ACEOF 7674 rm -f conftest.$ac_objext 7675 if { (ac_try="$ac_compile" 7676 case "(($ac_try" in 7677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7678 *) ac_try_echo=$ac_try;; 7679 esac 7680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7681 $as_echo "$ac_try_echo") >&5 7682 (eval "$ac_compile") 2>conftest.er1 7683 ac_status=$? 7684 grep -v '^ *+' conftest.er1 >conftest.err 7685 rm -f conftest.er1 7686 cat conftest.err >&5 7687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7688 (exit $ac_status); } && { 7689 test -z "$ac_cxx_werror_flag" || 7690 test ! -s conftest.err 7691 } && test -s conftest.$ac_objext; then 7692 ac_header_compiler=yes 7693 else 7694 $as_echo "$as_me: failed program was:" >&5 7695 sed 's/^/| /' conftest.$ac_ext >&5 7696 7697 ac_header_compiler=no 7698 fi 7699 7700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7701 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7702 $as_echo "$ac_header_compiler" >&6; } 7703 7704 # Is the header present? 7705 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7706 $as_echo_n "checking $ac_header presence... " >&6; } 7707 cat >conftest.$ac_ext <<_ACEOF 7708 /* confdefs.h. */ 7709 _ACEOF 7710 cat confdefs.h >>conftest.$ac_ext 7711 cat >>conftest.$ac_ext <<_ACEOF 7712 /* end confdefs.h. */ 7713 #include <$ac_header> 7714 _ACEOF 7715 if { (ac_try="$ac_cpp conftest.$ac_ext" 7716 case "(($ac_try" in 7717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7718 *) ac_try_echo=$ac_try;; 7719 esac 7720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7721 $as_echo "$ac_try_echo") >&5 7722 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7723 ac_status=$? 7724 grep -v '^ *+' conftest.er1 >conftest.err 7725 rm -f conftest.er1 7726 cat conftest.err >&5 7727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7728 (exit $ac_status); } >/dev/null && { 7729 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7730 test ! -s conftest.err 7731 }; then 7732 ac_header_preproc=yes 7733 else 7734 $as_echo "$as_me: failed program was:" >&5 7735 sed 's/^/| /' conftest.$ac_ext >&5 7736 7737 ac_header_preproc=no 7738 fi 7739 7740 rm -f conftest.err conftest.$ac_ext 7741 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7742 $as_echo "$ac_header_preproc" >&6; } 7743 7744 # So? What about this header? 7745 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7746 yes:no: ) 7747 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7748 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7749 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7750 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7751 ac_header_preproc=yes 7752 ;; 7753 no:yes:* ) 7754 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7755 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7756 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7757 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7758 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7759 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7760 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7761 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7762 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7763 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7764 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7765 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7766 ( cat <<\_ASBOX 7767 ## ----------------------------------- ## 7768 ## Report this to rappture@nanohub.org ## 7769 ## ----------------------------------- ## 7770 _ASBOX 7771 ) | sed "s/^/$as_me: WARNING: /" >&2 7772 ;; 7773 esac 7774 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7775 $as_echo_n "checking for $ac_header... " >&6; } 7776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7777 $as_echo_n "(cached) " >&6 7778 else 7779 eval "$as_ac_Header=\$ac_header_preproc" 7780 fi 7781 ac_res=`eval 'as_val=${'$as_ac_Header'} 7782 $as_echo "$as_val"'` 7783 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7784 $as_echo "$ac_res" >&6; } 7785 7786 fi 7787 as_val=`eval 'as_val=${'$as_ac_Header'} 7788 $as_echo "$as_val"'` 7789 if test "x$as_val" = x""yes; then 5231 7790 cat >>confdefs.h <<_ACEOF 5232 #define HAVE_STACK15233 _ACEOF 5234 5235 else 5236 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: STL classes missing ?" >&57791 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7792 _ACEOF 7793 7794 else 7795 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5237 7796 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5238 7797 fi … … 5240 7799 done 5241 7800 7801 5242 7802 for ac_header in string 5243 do : 5244 ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default" 5245 if test "x$ac_cv_header_string" = xyes; then : 7803 do 7804 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7805 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7806 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7807 $as_echo_n "checking for $ac_header... " >&6; } 7808 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7809 $as_echo_n "(cached) " >&6 7810 fi 7811 ac_res=`eval 'as_val=${'$as_ac_Header'} 7812 $as_echo "$as_val"'` 7813 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7814 $as_echo "$ac_res" >&6; } 7815 else 7816 # Is the header compilable? 7817 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7818 $as_echo_n "checking $ac_header usability... " >&6; } 7819 cat >conftest.$ac_ext <<_ACEOF 7820 /* confdefs.h. */ 7821 _ACEOF 7822 cat confdefs.h >>conftest.$ac_ext 7823 cat >>conftest.$ac_ext <<_ACEOF 7824 /* end confdefs.h. */ 7825 $ac_includes_default 7826 #include <$ac_header> 7827 _ACEOF 7828 rm -f conftest.$ac_objext 7829 if { (ac_try="$ac_compile" 7830 case "(($ac_try" in 7831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7832 *) ac_try_echo=$ac_try;; 7833 esac 7834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7835 $as_echo "$ac_try_echo") >&5 7836 (eval "$ac_compile") 2>conftest.er1 7837 ac_status=$? 7838 grep -v '^ *+' conftest.er1 >conftest.err 7839 rm -f conftest.er1 7840 cat conftest.err >&5 7841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7842 (exit $ac_status); } && { 7843 test -z "$ac_cxx_werror_flag" || 7844 test ! -s conftest.err 7845 } && test -s conftest.$ac_objext; then 7846 ac_header_compiler=yes 7847 else 7848 $as_echo "$as_me: failed program was:" >&5 7849 sed 's/^/| /' conftest.$ac_ext >&5 7850 7851 ac_header_compiler=no 7852 fi 7853 7854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7855 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7856 $as_echo "$ac_header_compiler" >&6; } 7857 7858 # Is the header present? 7859 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7860 $as_echo_n "checking $ac_header presence... " >&6; } 7861 cat >conftest.$ac_ext <<_ACEOF 7862 /* confdefs.h. */ 7863 _ACEOF 7864 cat confdefs.h >>conftest.$ac_ext 7865 cat >>conftest.$ac_ext <<_ACEOF 7866 /* end confdefs.h. */ 7867 #include <$ac_header> 7868 _ACEOF 7869 if { (ac_try="$ac_cpp conftest.$ac_ext" 7870 case "(($ac_try" in 7871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7872 *) ac_try_echo=$ac_try;; 7873 esac 7874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7875 $as_echo "$ac_try_echo") >&5 7876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7877 ac_status=$? 7878 grep -v '^ *+' conftest.er1 >conftest.err 7879 rm -f conftest.er1 7880 cat conftest.err >&5 7881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7882 (exit $ac_status); } >/dev/null && { 7883 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7884 test ! -s conftest.err 7885 }; then 7886 ac_header_preproc=yes 7887 else 7888 $as_echo "$as_me: failed program was:" >&5 7889 sed 's/^/| /' conftest.$ac_ext >&5 7890 7891 ac_header_preproc=no 7892 fi 7893 7894 rm -f conftest.err conftest.$ac_ext 7895 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7896 $as_echo "$ac_header_preproc" >&6; } 7897 7898 # So? What about this header? 7899 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7900 yes:no: ) 7901 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7902 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7903 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7904 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7905 ac_header_preproc=yes 7906 ;; 7907 no:yes:* ) 7908 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7909 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7910 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7911 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7912 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7913 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7914 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7915 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7916 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7917 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7918 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7919 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7920 ( cat <<\_ASBOX 7921 ## ----------------------------------- ## 7922 ## Report this to rappture@nanohub.org ## 7923 ## ----------------------------------- ## 7924 _ASBOX 7925 ) | sed "s/^/$as_me: WARNING: /" >&2 7926 ;; 7927 esac 7928 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7929 $as_echo_n "checking for $ac_header... " >&6; } 7930 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7931 $as_echo_n "(cached) " >&6 7932 else 7933 eval "$as_ac_Header=\$ac_header_preproc" 7934 fi 7935 ac_res=`eval 'as_val=${'$as_ac_Header'} 7936 $as_echo "$as_val"'` 7937 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7938 $as_echo "$ac_res" >&6; } 7939 7940 fi 7941 as_val=`eval 'as_val=${'$as_ac_Header'} 7942 $as_echo "$as_val"'` 7943 if test "x$as_val" = x""yes; then 5246 7944 cat >>confdefs.h <<_ACEOF 5247 #define HAVE_STRING15248 _ACEOF 5249 5250 else 5251 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: STL classes missing ?" >&57945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7946 _ACEOF 7947 7948 else 7949 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5252 7950 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5253 7951 fi … … 5255 7953 done 5256 7954 7955 5257 7956 for ac_header in vector 5258 do : 5259 ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default" 5260 if test "x$ac_cv_header_vector" = xyes; then : 7957 do 7958 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7960 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7961 $as_echo_n "checking for $ac_header... " >&6; } 7962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7963 $as_echo_n "(cached) " >&6 7964 fi 7965 ac_res=`eval 'as_val=${'$as_ac_Header'} 7966 $as_echo "$as_val"'` 7967 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7968 $as_echo "$ac_res" >&6; } 7969 else 7970 # Is the header compilable? 7971 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7972 $as_echo_n "checking $ac_header usability... " >&6; } 7973 cat >conftest.$ac_ext <<_ACEOF 7974 /* confdefs.h. */ 7975 _ACEOF 7976 cat confdefs.h >>conftest.$ac_ext 7977 cat >>conftest.$ac_ext <<_ACEOF 7978 /* end confdefs.h. */ 7979 $ac_includes_default 7980 #include <$ac_header> 7981 _ACEOF 7982 rm -f conftest.$ac_objext 7983 if { (ac_try="$ac_compile" 7984 case "(($ac_try" in 7985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7986 *) ac_try_echo=$ac_try;; 7987 esac 7988 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7989 $as_echo "$ac_try_echo") >&5 7990 (eval "$ac_compile") 2>conftest.er1 7991 ac_status=$? 7992 grep -v '^ *+' conftest.er1 >conftest.err 7993 rm -f conftest.er1 7994 cat conftest.err >&5 7995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7996 (exit $ac_status); } && { 7997 test -z "$ac_cxx_werror_flag" || 7998 test ! -s conftest.err 7999 } && test -s conftest.$ac_objext; then 8000 ac_header_compiler=yes 8001 else 8002 $as_echo "$as_me: failed program was:" >&5 8003 sed 's/^/| /' conftest.$ac_ext >&5 8004 8005 ac_header_compiler=no 8006 fi 8007 8008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8009 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8010 $as_echo "$ac_header_compiler" >&6; } 8011 8012 # Is the header present? 8013 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8014 $as_echo_n "checking $ac_header presence... " >&6; } 8015 cat >conftest.$ac_ext <<_ACEOF 8016 /* confdefs.h. */ 8017 _ACEOF 8018 cat confdefs.h >>conftest.$ac_ext 8019 cat >>conftest.$ac_ext <<_ACEOF 8020 /* end confdefs.h. */ 8021 #include <$ac_header> 8022 _ACEOF 8023 if { (ac_try="$ac_cpp conftest.$ac_ext" 8024 case "(($ac_try" in 8025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8026 *) ac_try_echo=$ac_try;; 8027 esac 8028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8029 $as_echo "$ac_try_echo") >&5 8030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8031 ac_status=$? 8032 grep -v '^ *+' conftest.er1 >conftest.err 8033 rm -f conftest.er1 8034 cat conftest.err >&5 8035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8036 (exit $ac_status); } >/dev/null && { 8037 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8038 test ! -s conftest.err 8039 }; then 8040 ac_header_preproc=yes 8041 else 8042 $as_echo "$as_me: failed program was:" >&5 8043 sed 's/^/| /' conftest.$ac_ext >&5 8044 8045 ac_header_preproc=no 8046 fi 8047 8048 rm -f conftest.err conftest.$ac_ext 8049 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8050 $as_echo "$ac_header_preproc" >&6; } 8051 8052 # So? What about this header? 8053 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8054 yes:no: ) 8055 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8056 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8057 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8058 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8059 ac_header_preproc=yes 8060 ;; 8061 no:yes:* ) 8062 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8063 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8064 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8065 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8067 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8068 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8069 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8070 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8071 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8072 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8073 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8074 ( cat <<\_ASBOX 8075 ## ----------------------------------- ## 8076 ## Report this to rappture@nanohub.org ## 8077 ## ----------------------------------- ## 8078 _ASBOX 8079 ) | sed "s/^/$as_me: WARNING: /" >&2 8080 ;; 8081 esac 8082 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8083 $as_echo_n "checking for $ac_header... " >&6; } 8084 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8085 $as_echo_n "(cached) " >&6 8086 else 8087 eval "$as_ac_Header=\$ac_header_preproc" 8088 fi 8089 ac_res=`eval 'as_val=${'$as_ac_Header'} 8090 $as_echo "$as_val"'` 8091 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8092 $as_echo "$ac_res" >&6; } 8093 8094 fi 8095 as_val=`eval 'as_val=${'$as_ac_Header'} 8096 $as_echo "$as_val"'` 8097 if test "x$as_val" = x""yes; then 5261 8098 cat >>confdefs.h <<_ACEOF 5262 #define HAVE_VECTOR15263 _ACEOF 5264 5265 else 5266 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: STL classes missing ?" >&58099 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8100 _ACEOF 8101 8102 else 8103 { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5267 8104 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5268 8105 fi … … 5271 8108 5272 8109 8110 5273 8111 for ac_header in assert.h 5274 do : 5275 ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 5276 if test "x$ac_cv_header_assert_h" = xyes; then : 8112 do 8113 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8115 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8116 $as_echo_n "checking for $ac_header... " >&6; } 8117 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8118 $as_echo_n "(cached) " >&6 8119 fi 8120 ac_res=`eval 'as_val=${'$as_ac_Header'} 8121 $as_echo "$as_val"'` 8122 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8123 $as_echo "$ac_res" >&6; } 8124 else 8125 # Is the header compilable? 8126 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8127 $as_echo_n "checking $ac_header usability... " >&6; } 8128 cat >conftest.$ac_ext <<_ACEOF 8129 /* confdefs.h. */ 8130 _ACEOF 8131 cat confdefs.h >>conftest.$ac_ext 8132 cat >>conftest.$ac_ext <<_ACEOF 8133 /* end confdefs.h. */ 8134 $ac_includes_default 8135 #include <$ac_header> 8136 _ACEOF 8137 rm -f conftest.$ac_objext 8138 if { (ac_try="$ac_compile" 8139 case "(($ac_try" in 8140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8141 *) ac_try_echo=$ac_try;; 8142 esac 8143 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8144 $as_echo "$ac_try_echo") >&5 8145 (eval "$ac_compile") 2>conftest.er1 8146 ac_status=$? 8147 grep -v '^ *+' conftest.er1 >conftest.err 8148 rm -f conftest.er1 8149 cat conftest.err >&5 8150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8151 (exit $ac_status); } && { 8152 test -z "$ac_cxx_werror_flag" || 8153 test ! -s conftest.err 8154 } && test -s conftest.$ac_objext; then 8155 ac_header_compiler=yes 8156 else 8157 $as_echo "$as_me: failed program was:" >&5 8158 sed 's/^/| /' conftest.$ac_ext >&5 8159 8160 ac_header_compiler=no 8161 fi 8162 8163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8164 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8165 $as_echo "$ac_header_compiler" >&6; } 8166 8167 # Is the header present? 8168 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8169 $as_echo_n "checking $ac_header presence... " >&6; } 8170 cat >conftest.$ac_ext <<_ACEOF 8171 /* confdefs.h. */ 8172 _ACEOF 8173 cat confdefs.h >>conftest.$ac_ext 8174 cat >>conftest.$ac_ext <<_ACEOF 8175 /* end confdefs.h. */ 8176 #include <$ac_header> 8177 _ACEOF 8178 if { (ac_try="$ac_cpp conftest.$ac_ext" 8179 case "(($ac_try" in 8180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8181 *) ac_try_echo=$ac_try;; 8182 esac 8183 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8184 $as_echo "$ac_try_echo") >&5 8185 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8186 ac_status=$? 8187 grep -v '^ *+' conftest.er1 >conftest.err 8188 rm -f conftest.er1 8189 cat conftest.err >&5 8190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8191 (exit $ac_status); } >/dev/null && { 8192 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8193 test ! -s conftest.err 8194 }; then 8195 ac_header_preproc=yes 8196 else 8197 $as_echo "$as_me: failed program was:" >&5 8198 sed 's/^/| /' conftest.$ac_ext >&5 8199 8200 ac_header_preproc=no 8201 fi 8202 8203 rm -f conftest.err conftest.$ac_ext 8204 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8205 $as_echo "$ac_header_preproc" >&6; } 8206 8207 # So? What about this header? 8208 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8209 yes:no: ) 8210 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8211 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8212 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8213 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8214 ac_header_preproc=yes 8215 ;; 8216 no:yes:* ) 8217 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8218 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8219 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8220 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8221 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8222 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8223 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8224 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8225 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8226 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8227 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8228 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8229 ( cat <<\_ASBOX 8230 ## ----------------------------------- ## 8231 ## Report this to rappture@nanohub.org ## 8232 ## ----------------------------------- ## 8233 _ASBOX 8234 ) | sed "s/^/$as_me: WARNING: /" >&2 8235 ;; 8236 esac 8237 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8238 $as_echo_n "checking for $ac_header... " >&6; } 8239 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8240 $as_echo_n "(cached) " >&6 8241 else 8242 eval "$as_ac_Header=\$ac_header_preproc" 8243 fi 8244 ac_res=`eval 'as_val=${'$as_ac_Header'} 8245 $as_echo "$as_val"'` 8246 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8247 $as_echo "$ac_res" >&6; } 8248 8249 fi 8250 as_val=`eval 'as_val=${'$as_ac_Header'} 8251 $as_echo "$as_val"'` 8252 if test "x$as_val" = x""yes; then 5277 8253 cat >>confdefs.h <<_ACEOF 5278 #define HAVE_ASSERT_H15279 _ACEOF 5280 5281 else 5282 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: C headers missing ?" >&58254 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8255 _ACEOF 8256 8257 else 8258 { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 5283 8259 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5284 8260 fi … … 5286 8262 done 5287 8263 8264 5288 8265 for ac_header in ctype.h 5289 do : 5290 ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 5291 if test "x$ac_cv_header_ctype_h" = xyes; then : 8266 do 8267 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8269 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8270 $as_echo_n "checking for $ac_header... " >&6; } 8271 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8272 $as_echo_n "(cached) " >&6 8273 fi 8274 ac_res=`eval 'as_val=${'$as_ac_Header'} 8275 $as_echo "$as_val"'` 8276 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8277 $as_echo "$ac_res" >&6; } 8278 else 8279 # Is the header compilable? 8280 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8281 $as_echo_n "checking $ac_header usability... " >&6; } 8282 cat >conftest.$ac_ext <<_ACEOF 8283 /* confdefs.h. */ 8284 _ACEOF 8285 cat confdefs.h >>conftest.$ac_ext 8286 cat >>conftest.$ac_ext <<_ACEOF 8287 /* end confdefs.h. */ 8288 $ac_includes_default 8289 #include <$ac_header> 8290 _ACEOF 8291 rm -f conftest.$ac_objext 8292 if { (ac_try="$ac_compile" 8293 case "(($ac_try" in 8294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8295 *) ac_try_echo=$ac_try;; 8296 esac 8297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8298 $as_echo "$ac_try_echo") >&5 8299 (eval "$ac_compile") 2>conftest.er1 8300 ac_status=$? 8301 grep -v '^ *+' conftest.er1 >conftest.err 8302 rm -f conftest.er1 8303 cat conftest.err >&5 8304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8305 (exit $ac_status); } && { 8306 test -z "$ac_cxx_werror_flag" || 8307 test ! -s conftest.err 8308 } && test -s conftest.$ac_objext; then 8309 ac_header_compiler=yes 8310 else 8311 $as_echo "$as_me: failed program was:" >&5 8312 sed 's/^/| /' conftest.$ac_ext >&5 8313 8314 ac_header_compiler=no 8315 fi 8316 8317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8318 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8319 $as_echo "$ac_header_compiler" >&6; } 8320 8321 # Is the header present? 8322 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8323 $as_echo_n "checking $ac_header presence... " >&6; } 8324 cat >conftest.$ac_ext <<_ACEOF 8325 /* confdefs.h. */ 8326 _ACEOF 8327 cat confdefs.h >>conftest.$ac_ext 8328 cat >>conftest.$ac_ext <<_ACEOF 8329 /* end confdefs.h. */ 8330 #include <$ac_header> 8331 _ACEOF 8332 if { (ac_try="$ac_cpp conftest.$ac_ext" 8333 case "(($ac_try" in 8334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8335 *) ac_try_echo=$ac_try;; 8336 esac 8337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8338 $as_echo "$ac_try_echo") >&5 8339 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8340 ac_status=$? 8341 grep -v '^ *+' conftest.er1 >conftest.err 8342 rm -f conftest.er1 8343 cat conftest.err >&5 8344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8345 (exit $ac_status); } >/dev/null && { 8346 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8347 test ! -s conftest.err 8348 }; then 8349 ac_header_preproc=yes 8350 else 8351 $as_echo "$as_me: failed program was:" >&5 8352 sed 's/^/| /' conftest.$ac_ext >&5 8353 8354 ac_header_preproc=no 8355 fi 8356 8357 rm -f conftest.err conftest.$ac_ext 8358 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8359 $as_echo "$ac_header_preproc" >&6; } 8360 8361 # So? What about this header? 8362 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8363 yes:no: ) 8364 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8365 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8366 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8367 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8368 ac_header_preproc=yes 8369 ;; 8370 no:yes:* ) 8371 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8372 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8373 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8374 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8375 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8376 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8377 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8378 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8379 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8380 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8381 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8382 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8383 ( cat <<\_ASBOX 8384 ## ----------------------------------- ## 8385 ## Report this to rappture@nanohub.org ## 8386 ## ----------------------------------- ## 8387 _ASBOX 8388 ) | sed "s/^/$as_me: WARNING: /" >&2 8389 ;; 8390 esac 8391 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8392 $as_echo_n "checking for $ac_header... " >&6; } 8393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8394 $as_echo_n "(cached) " >&6 8395 else 8396 eval "$as_ac_Header=\$ac_header_preproc" 8397 fi 8398 ac_res=`eval 'as_val=${'$as_ac_Header'} 8399 $as_echo "$as_val"'` 8400 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8401 $as_echo "$ac_res" >&6; } 8402 8403 fi 8404 as_val=`eval 'as_val=${'$as_ac_Header'} 8405 $as_echo "$as_val"'` 8406 if test "x$as_val" = x""yes; then 5292 8407 cat >>confdefs.h <<_ACEOF 5293 #define HAVE_CTYPE_H15294 _ACEOF 5295 5296 else 5297 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: C headers missing ?" >&58408 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8409 _ACEOF 8410 8411 else 8412 { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 5298 8413 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5299 8414 fi … … 5301 8416 done 5302 8417 8418 5303 8419 for ac_header in errno.h 5304 do : 5305 ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 5306 if test "x$ac_cv_header_errno_h" = xyes; then : 8420 do 8421 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8423 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8424 $as_echo_n "checking for $ac_header... " >&6; } 8425 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8426 $as_echo_n "(cached) " >&6 8427 fi 8428 ac_res=`eval 'as_val=${'$as_ac_Header'} 8429 $as_echo "$as_val"'` 8430 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8431 $as_echo "$ac_res" >&6; } 8432 else 8433 # Is the header compilable? 8434 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8435 $as_echo_n "checking $ac_header usability... " >&6; } 8436 cat >conftest.$ac_ext <<_ACEOF 8437 /* confdefs.h. */ 8438 _ACEOF 8439 cat confdefs.h >>conftest.$ac_ext 8440 cat >>conftest.$ac_ext <<_ACEOF 8441 /* end confdefs.h. */ 8442 $ac_includes_default 8443 #include <$ac_header> 8444 _ACEOF 8445 rm -f conftest.$ac_objext 8446 if { (ac_try="$ac_compile" 8447 case "(($ac_try" in 8448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8449 *) ac_try_echo=$ac_try;; 8450 esac 8451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8452 $as_echo "$ac_try_echo") >&5 8453 (eval "$ac_compile") 2>conftest.er1 8454 ac_status=$? 8455 grep -v '^ *+' conftest.er1 >conftest.err 8456 rm -f conftest.er1 8457 cat conftest.err >&5 8458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8459 (exit $ac_status); } && { 8460 test -z "$ac_cxx_werror_flag" || 8461 test ! -s conftest.err 8462 } && test -s conftest.$ac_objext; then 8463 ac_header_compiler=yes 8464 else 8465 $as_echo "$as_me: failed program was:" >&5 8466 sed 's/^/| /' conftest.$ac_ext >&5 8467 8468 ac_header_compiler=no 8469 fi 8470 8471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8472 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8473 $as_echo "$ac_header_compiler" >&6; } 8474 8475 # Is the header present? 8476 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8477 $as_echo_n "checking $ac_header presence... " >&6; } 8478 cat >conftest.$ac_ext <<_ACEOF 8479 /* confdefs.h. */ 8480 _ACEOF 8481 cat confdefs.h >>conftest.$ac_ext 8482 cat >>conftest.$ac_ext <<_ACEOF 8483 /* end confdefs.h. */ 8484 #include <$ac_header> 8485 _ACEOF 8486 if { (ac_try="$ac_cpp conftest.$ac_ext" 8487 case "(($ac_try" in 8488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8489 *) ac_try_echo=$ac_try;; 8490 esac 8491 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8492 $as_echo "$ac_try_echo") >&5 8493 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8494 ac_status=$? 8495 grep -v '^ *+' conftest.er1 >conftest.err 8496 rm -f conftest.er1 8497 cat conftest.err >&5 8498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8499 (exit $ac_status); } >/dev/null && { 8500 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8501 test ! -s conftest.err 8502 }; then 8503 ac_header_preproc=yes 8504 else 8505 $as_echo "$as_me: failed program was:" >&5 8506 sed 's/^/| /' conftest.$ac_ext >&5 8507 8508 ac_header_preproc=no 8509 fi 8510 8511 rm -f conftest.err conftest.$ac_ext 8512 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8513 $as_echo "$ac_header_preproc" >&6; } 8514 8515 # So? What about this header? 8516 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8517 yes:no: ) 8518 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8519 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8520 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8521 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8522 ac_header_preproc=yes 8523 ;; 8524 no:yes:* ) 8525 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8526 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8527 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8528 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8529 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8530 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8531 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8532 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8533 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8534 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8535 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8536 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8537 ( cat <<\_ASBOX 8538 ## ----------------------------------- ## 8539 ## Report this to rappture@nanohub.org ## 8540 ## ----------------------------------- ## 8541 _ASBOX 8542 ) | sed "s/^/$as_me: WARNING: /" >&2 8543 ;; 8544 esac 8545 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8546 $as_echo_n "checking for $ac_header... " >&6; } 8547 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8548 $as_echo_n "(cached) " >&6 8549 else 8550 eval "$as_ac_Header=\$ac_header_preproc" 8551 fi 8552 ac_res=`eval 'as_val=${'$as_ac_Header'} 8553 $as_echo "$as_val"'` 8554 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8555 $as_echo "$ac_res" >&6; } 8556 8557 fi 8558 as_val=`eval 'as_val=${'$as_ac_Header'} 8559 $as_echo "$as_val"'` 8560 if test "x$as_val" = x""yes; then 5307 8561 cat >>confdefs.h <<_ACEOF 5308 #define HAVE_ERRNO_H15309 _ACEOF 5310 5311 else 5312 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: C headers missing ?" >&58562 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8563 _ACEOF 8564 8565 else 8566 { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 5313 8567 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5314 8568 fi … … 5316 8570 done 5317 8571 8572 5318 8573 for ac_header in limits.h 5319 do : 5320 ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 5321 if test "x$ac_cv_header_limits_h" = xyes; then : 8574 do 8575 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8576 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8577 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8578 $as_echo_n "checking for $ac_header... " >&6; } 8579 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8580 $as_echo_n "(cached) " >&6 8581 fi 8582 ac_res=`eval 'as_val=${'$as_ac_Header'} 8583 $as_echo "$as_val"'` 8584 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8585 $as_echo "$ac_res" >&6; } 8586 else 8587 # Is the header compilable? 8588 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8589 $as_echo_n "checking $ac_header usability... " >&6; } 8590 cat >conftest.$ac_ext <<_ACEOF 8591 /* confdefs.h. */ 8592 _ACEOF 8593 cat confdefs.h >>conftest.$ac_ext 8594 cat >>conftest.$ac_ext <<_ACEOF 8595 /* end confdefs.h. */ 8596 $ac_includes_default 8597 #include <$ac_header> 8598 _ACEOF 8599 rm -f conftest.$ac_objext 8600 if { (ac_try="$ac_compile" 8601 case "(($ac_try" in 8602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8603 *) ac_try_echo=$ac_try;; 8604 esac 8605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8606 $as_echo "$ac_try_echo") >&5 8607 (eval "$ac_compile") 2>conftest.er1 8608 ac_status=$? 8609 grep -v '^ *+' conftest.er1 >conftest.err 8610 rm -f conftest.er1 8611 cat conftest.err >&5 8612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8613 (exit $ac_status); } && { 8614 test -z "$ac_cxx_werror_flag" || 8615 test ! -s conftest.err 8616 } && test -s conftest.$ac_objext; then 8617 ac_header_compiler=yes 8618 else 8619 $as_echo "$as_me: failed program was:" >&5 8620 sed 's/^/| /' conftest.$ac_ext >&5 8621 8622 ac_header_compiler=no 8623 fi 8624 8625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8626 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8627 $as_echo "$ac_header_compiler" >&6; } 8628 8629 # Is the header present? 8630 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8631 $as_echo_n "checking $ac_header presence... " >&6; } 8632 cat >conftest.$ac_ext <<_ACEOF 8633 /* confdefs.h. */ 8634 _ACEOF 8635 cat confdefs.h >>conftest.$ac_ext 8636 cat >>conftest.$ac_ext <<_ACEOF 8637 /* end confdefs.h. */ 8638 #include <$ac_header> 8639 _ACEOF 8640 if { (ac_try="$ac_cpp conftest.$ac_ext" 8641 case "(($ac_try" in 8642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8643 *) ac_try_echo=$ac_try;; 8644 esac 8645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8646 $as_echo "$ac_try_echo") >&5 8647 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8648 ac_status=$? 8649 grep -v '^ *+' conftest.er1 >conftest.err 8650 rm -f conftest.er1 8651 cat conftest.err >&5 8652 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8653 (exit $ac_status); } >/dev/null && { 8654 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8655 test ! -s conftest.err 8656 }; then 8657 ac_header_preproc=yes 8658 else 8659 $as_echo "$as_me: failed program was:" >&5 8660 sed 's/^/| /' conftest.$ac_ext >&5 8661 8662 ac_header_preproc=no 8663 fi 8664 8665 rm -f conftest.err conftest.$ac_ext 8666 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8667 $as_echo "$ac_header_preproc" >&6; } 8668 8669 # So? What about this header? 8670 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8671 yes:no: ) 8672 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8673 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8674 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8675 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8676 ac_header_preproc=yes 8677 ;; 8678 no:yes:* ) 8679 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8680 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8681 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8682 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8683 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8684 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8685 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8686 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8687 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8688 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8689 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8690 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8691 ( cat <<\_ASBOX 8692 ## ----------------------------------- ## 8693 ## Report this to rappture@nanohub.org ## 8694 ## ----------------------------------- ## 8695 _ASBOX 8696 ) | sed "s/^/$as_me: WARNING: /" >&2 8697 ;; 8698 esac 8699 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8700 $as_echo_n "checking for $ac_header... " >&6; } 8701 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8702 $as_echo_n "(cached) " >&6 8703 else 8704 eval "$as_ac_Header=\$ac_header_preproc" 8705 fi 8706 ac_res=`eval 'as_val=${'$as_ac_Header'} 8707 $as_echo "$as_val"'` 8708 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8709 $as_echo "$ac_res" >&6; } 8710 8711 fi 8712 as_val=`eval 'as_val=${'$as_ac_Header'} 8713 $as_echo "$as_val"'` 8714 if test "x$as_val" = x""yes; then 5322 8715 cat >>confdefs.h <<_ACEOF 5323 #define HAVE_LIMITS_H15324 _ACEOF 5325 5326 else 5327 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: C headers missing ?" >&58716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8717 _ACEOF 8718 8719 else 8720 { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 5328 8721 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5329 8722 fi … … 5331 8724 done 5332 8725 8726 5333 8727 for ac_header in string.h 5334 do : 5335 ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 5336 if test "x$ac_cv_header_string_h" = xyes; then : 8728 do 8729 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8730 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8731 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8732 $as_echo_n "checking for $ac_header... " >&6; } 8733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8734 $as_echo_n "(cached) " >&6 8735 fi 8736 ac_res=`eval 'as_val=${'$as_ac_Header'} 8737 $as_echo "$as_val"'` 8738 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8739 $as_echo "$ac_res" >&6; } 8740 else 8741 # Is the header compilable? 8742 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8743 $as_echo_n "checking $ac_header usability... " >&6; } 8744 cat >conftest.$ac_ext <<_ACEOF 8745 /* confdefs.h. */ 8746 _ACEOF 8747 cat confdefs.h >>conftest.$ac_ext 8748 cat >>conftest.$ac_ext <<_ACEOF 8749 /* end confdefs.h. */ 8750 $ac_includes_default 8751 #include <$ac_header> 8752 _ACEOF 8753 rm -f conftest.$ac_objext 8754 if { (ac_try="$ac_compile" 8755 case "(($ac_try" in 8756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8757 *) ac_try_echo=$ac_try;; 8758 esac 8759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8760 $as_echo "$ac_try_echo") >&5 8761 (eval "$ac_compile") 2>conftest.er1 8762 ac_status=$? 8763 grep -v '^ *+' conftest.er1 >conftest.err 8764 rm -f conftest.er1 8765 cat conftest.err >&5 8766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8767 (exit $ac_status); } && { 8768 test -z "$ac_cxx_werror_flag" || 8769 test ! -s conftest.err 8770 } && test -s conftest.$ac_objext; then 8771 ac_header_compiler=yes 8772 else 8773 $as_echo "$as_me: failed program was:" >&5 8774 sed 's/^/| /' conftest.$ac_ext >&5 8775 8776 ac_header_compiler=no 8777 fi 8778 8779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8780 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8781 $as_echo "$ac_header_compiler" >&6; } 8782 8783 # Is the header present? 8784 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8785 $as_echo_n "checking $ac_header presence... " >&6; } 8786 cat >conftest.$ac_ext <<_ACEOF 8787 /* confdefs.h. */ 8788 _ACEOF 8789 cat confdefs.h >>conftest.$ac_ext 8790 cat >>conftest.$ac_ext <<_ACEOF 8791 /* end confdefs.h. */ 8792 #include <$ac_header> 8793 _ACEOF 8794 if { (ac_try="$ac_cpp conftest.$ac_ext" 8795 case "(($ac_try" in 8796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8797 *) ac_try_echo=$ac_try;; 8798 esac 8799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8800 $as_echo "$ac_try_echo") >&5 8801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8802 ac_status=$? 8803 grep -v '^ *+' conftest.er1 >conftest.err 8804 rm -f conftest.er1 8805 cat conftest.err >&5 8806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8807 (exit $ac_status); } >/dev/null && { 8808 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8809 test ! -s conftest.err 8810 }; then 8811 ac_header_preproc=yes 8812 else 8813 $as_echo "$as_me: failed program was:" >&5 8814 sed 's/^/| /' conftest.$ac_ext >&5 8815 8816 ac_header_preproc=no 8817 fi 8818 8819 rm -f conftest.err conftest.$ac_ext 8820 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8821 $as_echo "$ac_header_preproc" >&6; } 8822 8823 # So? What about this header? 8824 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8825 yes:no: ) 8826 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8827 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8828 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8829 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8830 ac_header_preproc=yes 8831 ;; 8832 no:yes:* ) 8833 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8834 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8835 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8836 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8837 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8838 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8839 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8840 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8841 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8842 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8843 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8844 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8845 ( cat <<\_ASBOX 8846 ## ----------------------------------- ## 8847 ## Report this to rappture@nanohub.org ## 8848 ## ----------------------------------- ## 8849 _ASBOX 8850 ) | sed "s/^/$as_me: WARNING: /" >&2 8851 ;; 8852 esac 8853 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8854 $as_echo_n "checking for $ac_header... " >&6; } 8855 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8856 $as_echo_n "(cached) " >&6 8857 else 8858 eval "$as_ac_Header=\$ac_header_preproc" 8859 fi 8860 ac_res=`eval 'as_val=${'$as_ac_Header'} 8861 $as_echo "$as_val"'` 8862 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8863 $as_echo "$ac_res" >&6; } 8864 8865 fi 8866 as_val=`eval 'as_val=${'$as_ac_Header'} 8867 $as_echo "$as_val"'` 8868 if test "x$as_val" = x""yes; then 5337 8869 cat >>confdefs.h <<_ACEOF 5338 #define HAVE_STRING_H15339 _ACEOF 5340 5341 else 5342 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: C headers missing ?" >&58870 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8871 _ACEOF 8872 8873 else 8874 { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 5343 8875 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5344 8876 fi … … 5346 8878 done 5347 8879 8880 5348 8881 for ac_header in stdlib.h 5349 do : 5350 ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5351 if test "x$ac_cv_header_stdlib_h" = xyes; then : 8882 do 8883 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8884 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8885 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8886 $as_echo_n "checking for $ac_header... " >&6; } 8887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8888 $as_echo_n "(cached) " >&6 8889 fi 8890 ac_res=`eval 'as_val=${'$as_ac_Header'} 8891 $as_echo "$as_val"'` 8892 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8893 $as_echo "$ac_res" >&6; } 8894 else 8895 # Is the header compilable? 8896 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8897 $as_echo_n "checking $ac_header usability... " >&6; } 8898 cat >conftest.$ac_ext <<_ACEOF 8899 /* confdefs.h. */ 8900 _ACEOF 8901 cat confdefs.h >>conftest.$ac_ext 8902 cat >>conftest.$ac_ext <<_ACEOF 8903 /* end confdefs.h. */ 8904 $ac_includes_default 8905 #include <$ac_header> 8906 _ACEOF 8907 rm -f conftest.$ac_objext 8908 if { (ac_try="$ac_compile" 8909 case "(($ac_try" in 8910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8911 *) ac_try_echo=$ac_try;; 8912 esac 8913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8914 $as_echo "$ac_try_echo") >&5 8915 (eval "$ac_compile") 2>conftest.er1 8916 ac_status=$? 8917 grep -v '^ *+' conftest.er1 >conftest.err 8918 rm -f conftest.er1 8919 cat conftest.err >&5 8920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8921 (exit $ac_status); } && { 8922 test -z "$ac_cxx_werror_flag" || 8923 test ! -s conftest.err 8924 } && test -s conftest.$ac_objext; then 8925 ac_header_compiler=yes 8926 else 8927 $as_echo "$as_me: failed program was:" >&5 8928 sed 's/^/| /' conftest.$ac_ext >&5 8929 8930 ac_header_compiler=no 8931 fi 8932 8933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8934 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8935 $as_echo "$ac_header_compiler" >&6; } 8936 8937 # Is the header present? 8938 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8939 $as_echo_n "checking $ac_header presence... " >&6; } 8940 cat >conftest.$ac_ext <<_ACEOF 8941 /* confdefs.h. */ 8942 _ACEOF 8943 cat confdefs.h >>conftest.$ac_ext 8944 cat >>conftest.$ac_ext <<_ACEOF 8945 /* end confdefs.h. */ 8946 #include <$ac_header> 8947 _ACEOF 8948 if { (ac_try="$ac_cpp conftest.$ac_ext" 8949 case "(($ac_try" in 8950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8951 *) ac_try_echo=$ac_try;; 8952 esac 8953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8954 $as_echo "$ac_try_echo") >&5 8955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8956 ac_status=$? 8957 grep -v '^ *+' conftest.er1 >conftest.err 8958 rm -f conftest.er1 8959 cat conftest.err >&5 8960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8961 (exit $ac_status); } >/dev/null && { 8962 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8963 test ! -s conftest.err 8964 }; then 8965 ac_header_preproc=yes 8966 else 8967 $as_echo "$as_me: failed program was:" >&5 8968 sed 's/^/| /' conftest.$ac_ext >&5 8969 8970 ac_header_preproc=no 8971 fi 8972 8973 rm -f conftest.err conftest.$ac_ext 8974 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8975 $as_echo "$ac_header_preproc" >&6; } 8976 8977 # So? What about this header? 8978 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8979 yes:no: ) 8980 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8981 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8982 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8983 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8984 ac_header_preproc=yes 8985 ;; 8986 no:yes:* ) 8987 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8988 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8989 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8990 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8991 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8992 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8993 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8994 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8995 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8996 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8997 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8998 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8999 ( cat <<\_ASBOX 9000 ## ----------------------------------- ## 9001 ## Report this to rappture@nanohub.org ## 9002 ## ----------------------------------- ## 9003 _ASBOX 9004 ) | sed "s/^/$as_me: WARNING: /" >&2 9005 ;; 9006 esac 9007 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9008 $as_echo_n "checking for $ac_header... " >&6; } 9009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9010 $as_echo_n "(cached) " >&6 9011 else 9012 eval "$as_ac_Header=\$ac_header_preproc" 9013 fi 9014 ac_res=`eval 'as_val=${'$as_ac_Header'} 9015 $as_echo "$as_val"'` 9016 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9017 $as_echo "$ac_res" >&6; } 9018 9019 fi 9020 as_val=`eval 'as_val=${'$as_ac_Header'} 9021 $as_echo "$as_val"'` 9022 if test "x$as_val" = x""yes; then 5352 9023 cat >>confdefs.h <<_ACEOF 5353 #define HAVE_STDLIB_H15354 _ACEOF 5355 5356 else 5357 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: C headers missing ?" >&59024 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9025 _ACEOF 9026 9027 else 9028 { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 5358 9029 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5359 9030 fi … … 5361 9032 done 5362 9033 9034 5363 9035 for ac_header in stddef.h 5364 do : 5365 ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 5366 if test "x$ac_cv_header_stddef_h" = xyes; then : 9036 do 9037 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9038 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9039 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9040 $as_echo_n "checking for $ac_header... " >&6; } 9041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9042 $as_echo_n "(cached) " >&6 9043 fi 9044 ac_res=`eval 'as_val=${'$as_ac_Header'} 9045 $as_echo "$as_val"'` 9046 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9047 $as_echo "$ac_res" >&6; } 9048 else 9049 # Is the header compilable? 9050 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9051 $as_echo_n "checking $ac_header usability... " >&6; } 9052 cat >conftest.$ac_ext <<_ACEOF 9053 /* confdefs.h. */ 9054 _ACEOF 9055 cat confdefs.h >>conftest.$ac_ext 9056 cat >>conftest.$ac_ext <<_ACEOF 9057 /* end confdefs.h. */ 9058 $ac_includes_default 9059 #include <$ac_header> 9060 _ACEOF 9061 rm -f conftest.$ac_objext 9062 if { (ac_try="$ac_compile" 9063 case "(($ac_try" in 9064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9065 *) ac_try_echo=$ac_try;; 9066 esac 9067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9068 $as_echo "$ac_try_echo") >&5 9069 (eval "$ac_compile") 2>conftest.er1 9070 ac_status=$? 9071 grep -v '^ *+' conftest.er1 >conftest.err 9072 rm -f conftest.er1 9073 cat conftest.err >&5 9074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9075 (exit $ac_status); } && { 9076 test -z "$ac_cxx_werror_flag" || 9077 test ! -s conftest.err 9078 } && test -s conftest.$ac_objext; then 9079 ac_header_compiler=yes 9080 else 9081 $as_echo "$as_me: failed program was:" >&5 9082 sed 's/^/| /' conftest.$ac_ext >&5 9083 9084 ac_header_compiler=no 9085 fi 9086 9087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9088 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9089 $as_echo "$ac_header_compiler" >&6; } 9090 9091 # Is the header present? 9092 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9093 $as_echo_n "checking $ac_header presence... " >&6; } 9094 cat >conftest.$ac_ext <<_ACEOF 9095 /* confdefs.h. */ 9096 _ACEOF 9097 cat confdefs.h >>conftest.$ac_ext 9098 cat >>conftest.$ac_ext <<_ACEOF 9099 /* end confdefs.h. */ 9100 #include <$ac_header> 9101 _ACEOF 9102 if { (ac_try="$ac_cpp conftest.$ac_ext" 9103 case "(($ac_try" in 9104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9105 *) ac_try_echo=$ac_try;; 9106 esac 9107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9108 $as_echo "$ac_try_echo") >&5 9109 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9110 ac_status=$? 9111 grep -v '^ *+' conftest.er1 >conftest.err 9112 rm -f conftest.er1 9113 cat conftest.err >&5 9114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9115 (exit $ac_status); } >/dev/null && { 9116 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9117 test ! -s conftest.err 9118 }; then 9119 ac_header_preproc=yes 9120 else 9121 $as_echo "$as_me: failed program was:" >&5 9122 sed 's/^/| /' conftest.$ac_ext >&5 9123 9124 ac_header_preproc=no 9125 fi 9126 9127 rm -f conftest.err conftest.$ac_ext 9128 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9129 $as_echo "$ac_header_preproc" >&6; } 9130 9131 # So? What about this header? 9132 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9133 yes:no: ) 9134 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9135 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9136 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9137 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9138 ac_header_preproc=yes 9139 ;; 9140 no:yes:* ) 9141 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9142 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9143 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9144 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9145 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9146 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9147 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9148 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9149 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9150 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9151 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9152 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9153 ( cat <<\_ASBOX 9154 ## ----------------------------------- ## 9155 ## Report this to rappture@nanohub.org ## 9156 ## ----------------------------------- ## 9157 _ASBOX 9158 ) | sed "s/^/$as_me: WARNING: /" >&2 9159 ;; 9160 esac 9161 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9162 $as_echo_n "checking for $ac_header... " >&6; } 9163 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9164 $as_echo_n "(cached) " >&6 9165 else 9166 eval "$as_ac_Header=\$ac_header_preproc" 9167 fi 9168 ac_res=`eval 'as_val=${'$as_ac_Header'} 9169 $as_echo "$as_val"'` 9170 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9171 $as_echo "$ac_res" >&6; } 9172 9173 fi 9174 as_val=`eval 'as_val=${'$as_ac_Header'} 9175 $as_echo "$as_val"'` 9176 if test "x$as_val" = x""yes; then 5367 9177 cat >>confdefs.h <<_ACEOF 5368 #define HAVE_STDDEF_H15369 _ACEOF 5370 5371 else 5372 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: C headers missing ?" >&59178 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9179 _ACEOF 9180 9181 else 9182 { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 5373 9183 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5374 9184 fi … … 5376 9186 done 5377 9187 9188 5378 9189 for ac_header in float.h 5379 do : 5380 ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" 5381 if test "x$ac_cv_header_float_h" = xyes; then : 9190 do 9191 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9192 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9193 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9194 $as_echo_n "checking for $ac_header... " >&6; } 9195 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9196 $as_echo_n "(cached) " >&6 9197 fi 9198 ac_res=`eval 'as_val=${'$as_ac_Header'} 9199 $as_echo "$as_val"'` 9200 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9201 $as_echo "$ac_res" >&6; } 9202 else 9203 # Is the header compilable? 9204 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9205 $as_echo_n "checking $ac_header usability... " >&6; } 9206 cat >conftest.$ac_ext <<_ACEOF 9207 /* confdefs.h. */ 9208 _ACEOF 9209 cat confdefs.h >>conftest.$ac_ext 9210 cat >>conftest.$ac_ext <<_ACEOF 9211 /* end confdefs.h. */ 9212 $ac_includes_default 9213 #include <$ac_header> 9214 _ACEOF 9215 rm -f conftest.$ac_objext 9216 if { (ac_try="$ac_compile" 9217 case "(($ac_try" in 9218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9219 *) ac_try_echo=$ac_try;; 9220 esac 9221 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9222 $as_echo "$ac_try_echo") >&5 9223 (eval "$ac_compile") 2>conftest.er1 9224 ac_status=$? 9225 grep -v '^ *+' conftest.er1 >conftest.err 9226 rm -f conftest.er1 9227 cat conftest.err >&5 9228 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9229 (exit $ac_status); } && { 9230 test -z "$ac_cxx_werror_flag" || 9231 test ! -s conftest.err 9232 } && test -s conftest.$ac_objext; then 9233 ac_header_compiler=yes 9234 else 9235 $as_echo "$as_me: failed program was:" >&5 9236 sed 's/^/| /' conftest.$ac_ext >&5 9237 9238 ac_header_compiler=no 9239 fi 9240 9241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9242 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9243 $as_echo "$ac_header_compiler" >&6; } 9244 9245 # Is the header present? 9246 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9247 $as_echo_n "checking $ac_header presence... " >&6; } 9248 cat >conftest.$ac_ext <<_ACEOF 9249 /* confdefs.h. */ 9250 _ACEOF 9251 cat confdefs.h >>conftest.$ac_ext 9252 cat >>conftest.$ac_ext <<_ACEOF 9253 /* end confdefs.h. */ 9254 #include <$ac_header> 9255 _ACEOF 9256 if { (ac_try="$ac_cpp conftest.$ac_ext" 9257 case "(($ac_try" in 9258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9259 *) ac_try_echo=$ac_try;; 9260 esac 9261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9262 $as_echo "$ac_try_echo") >&5 9263 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9264 ac_status=$? 9265 grep -v '^ *+' conftest.er1 >conftest.err 9266 rm -f conftest.er1 9267 cat conftest.err >&5 9268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9269 (exit $ac_status); } >/dev/null && { 9270 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9271 test ! -s conftest.err 9272 }; then 9273 ac_header_preproc=yes 9274 else 9275 $as_echo "$as_me: failed program was:" >&5 9276 sed 's/^/| /' conftest.$ac_ext >&5 9277 9278 ac_header_preproc=no 9279 fi 9280 9281 rm -f conftest.err conftest.$ac_ext 9282 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9283 $as_echo "$ac_header_preproc" >&6; } 9284 9285 # So? What about this header? 9286 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9287 yes:no: ) 9288 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9289 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9290 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9291 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9292 ac_header_preproc=yes 9293 ;; 9294 no:yes:* ) 9295 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9296 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9298 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9299 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9300 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9301 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9302 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9304 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9305 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9306 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9307 ( cat <<\_ASBOX 9308 ## ----------------------------------- ## 9309 ## Report this to rappture@nanohub.org ## 9310 ## ----------------------------------- ## 9311 _ASBOX 9312 ) | sed "s/^/$as_me: WARNING: /" >&2 9313 ;; 9314 esac 9315 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9316 $as_echo_n "checking for $ac_header... " >&6; } 9317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9318 $as_echo_n "(cached) " >&6 9319 else 9320 eval "$as_ac_Header=\$ac_header_preproc" 9321 fi 9322 ac_res=`eval 'as_val=${'$as_ac_Header'} 9323 $as_echo "$as_val"'` 9324 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9325 $as_echo "$ac_res" >&6; } 9326 9327 fi 9328 as_val=`eval 'as_val=${'$as_ac_Header'} 9329 $as_echo "$as_val"'` 9330 if test "x$as_val" = x""yes; then 5382 9331 cat >>confdefs.h <<_ACEOF 5383 #define HAVE_FLOAT_H15384 _ACEOF 5385 5386 else 5387 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: C headers missing ?" >&59332 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9333 _ACEOF 9334 9335 else 9336 { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 5388 9337 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5389 9338 fi … … 5391 9340 done 5392 9341 9342 5393 9343 for ac_header in math.h 5394 do : 5395 ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" 5396 if test "x$ac_cv_header_math_h" = xyes; then : 9344 do 9345 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9346 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9347 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9348 $as_echo_n "checking for $ac_header... " >&6; } 9349 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9350 $as_echo_n "(cached) " >&6 9351 fi 9352 ac_res=`eval 'as_val=${'$as_ac_Header'} 9353 $as_echo "$as_val"'` 9354 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9355 $as_echo "$ac_res" >&6; } 9356 else 9357 # Is the header compilable? 9358 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9359 $as_echo_n "checking $ac_header usability... " >&6; } 9360 cat >conftest.$ac_ext <<_ACEOF 9361 /* confdefs.h. */ 9362 _ACEOF 9363 cat confdefs.h >>conftest.$ac_ext 9364 cat >>conftest.$ac_ext <<_ACEOF 9365 /* end confdefs.h. */ 9366 $ac_includes_default 9367 #include <$ac_header> 9368 _ACEOF 9369 rm -f conftest.$ac_objext 9370 if { (ac_try="$ac_compile" 9371 case "(($ac_try" in 9372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9373 *) ac_try_echo=$ac_try;; 9374 esac 9375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9376 $as_echo "$ac_try_echo") >&5 9377 (eval "$ac_compile") 2>conftest.er1 9378 ac_status=$? 9379 grep -v '^ *+' conftest.er1 >conftest.err 9380 rm -f conftest.er1 9381 cat conftest.err >&5 9382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9383 (exit $ac_status); } && { 9384 test -z "$ac_cxx_werror_flag" || 9385 test ! -s conftest.err 9386 } && test -s conftest.$ac_objext; then 9387 ac_header_compiler=yes 9388 else 9389 $as_echo "$as_me: failed program was:" >&5 9390 sed 's/^/| /' conftest.$ac_ext >&5 9391 9392 ac_header_compiler=no 9393 fi 9394 9395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9396 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9397 $as_echo "$ac_header_compiler" >&6; } 9398 9399 # Is the header present? 9400 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9401 $as_echo_n "checking $ac_header presence... " >&6; } 9402 cat >conftest.$ac_ext <<_ACEOF 9403 /* confdefs.h. */ 9404 _ACEOF 9405 cat confdefs.h >>conftest.$ac_ext 9406 cat >>conftest.$ac_ext <<_ACEOF 9407 /* end confdefs.h. */ 9408 #include <$ac_header> 9409 _ACEOF 9410 if { (ac_try="$ac_cpp conftest.$ac_ext" 9411 case "(($ac_try" in 9412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9413 *) ac_try_echo=$ac_try;; 9414 esac 9415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9416 $as_echo "$ac_try_echo") >&5 9417 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9418 ac_status=$? 9419 grep -v '^ *+' conftest.er1 >conftest.err 9420 rm -f conftest.er1 9421 cat conftest.err >&5 9422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9423 (exit $ac_status); } >/dev/null && { 9424 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9425 test ! -s conftest.err 9426 }; then 9427 ac_header_preproc=yes 9428 else 9429 $as_echo "$as_me: failed program was:" >&5 9430 sed 's/^/| /' conftest.$ac_ext >&5 9431 9432 ac_header_preproc=no 9433 fi 9434 9435 rm -f conftest.err conftest.$ac_ext 9436 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9437 $as_echo "$ac_header_preproc" >&6; } 9438 9439 # So? What about this header? 9440 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9441 yes:no: ) 9442 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9443 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9444 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9445 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9446 ac_header_preproc=yes 9447 ;; 9448 no:yes:* ) 9449 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9450 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9451 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9452 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9453 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9454 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9455 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9456 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9457 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9458 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9459 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9460 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9461 ( cat <<\_ASBOX 9462 ## ----------------------------------- ## 9463 ## Report this to rappture@nanohub.org ## 9464 ## ----------------------------------- ## 9465 _ASBOX 9466 ) | sed "s/^/$as_me: WARNING: /" >&2 9467 ;; 9468 esac 9469 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9470 $as_echo_n "checking for $ac_header... " >&6; } 9471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9472 $as_echo_n "(cached) " >&6 9473 else 9474 eval "$as_ac_Header=\$ac_header_preproc" 9475 fi 9476 ac_res=`eval 'as_val=${'$as_ac_Header'} 9477 $as_echo "$as_val"'` 9478 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9479 $as_echo "$ac_res" >&6; } 9480 9481 fi 9482 as_val=`eval 'as_val=${'$as_ac_Header'} 9483 $as_echo "$as_val"'` 9484 if test "x$as_val" = x""yes; then 5397 9485 cat >>confdefs.h <<_ACEOF 5398 #define HAVE_MATH_H15399 _ACEOF 5400 5401 else 5402 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: C headers missing ?" >&59486 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9487 _ACEOF 9488 9489 else 9490 { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 5403 9491 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5404 9492 fi … … 5406 9494 done 5407 9495 9496 5408 9497 for ac_header in malloc.h 5409 do : 5410 ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 5411 if test "x$ac_cv_header_malloc_h" = xyes; then : 9498 do 9499 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9501 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9502 $as_echo_n "checking for $ac_header... " >&6; } 9503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9504 $as_echo_n "(cached) " >&6 9505 fi 9506 ac_res=`eval 'as_val=${'$as_ac_Header'} 9507 $as_echo "$as_val"'` 9508 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9509 $as_echo "$ac_res" >&6; } 9510 else 9511 # Is the header compilable? 9512 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9513 $as_echo_n "checking $ac_header usability... " >&6; } 9514 cat >conftest.$ac_ext <<_ACEOF 9515 /* confdefs.h. */ 9516 _ACEOF 9517 cat confdefs.h >>conftest.$ac_ext 9518 cat >>conftest.$ac_ext <<_ACEOF 9519 /* end confdefs.h. */ 9520 $ac_includes_default 9521 #include <$ac_header> 9522 _ACEOF 9523 rm -f conftest.$ac_objext 9524 if { (ac_try="$ac_compile" 9525 case "(($ac_try" in 9526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9527 *) ac_try_echo=$ac_try;; 9528 esac 9529 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9530 $as_echo "$ac_try_echo") >&5 9531 (eval "$ac_compile") 2>conftest.er1 9532 ac_status=$? 9533 grep -v '^ *+' conftest.er1 >conftest.err 9534 rm -f conftest.er1 9535 cat conftest.err >&5 9536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9537 (exit $ac_status); } && { 9538 test -z "$ac_cxx_werror_flag" || 9539 test ! -s conftest.err 9540 } && test -s conftest.$ac_objext; then 9541 ac_header_compiler=yes 9542 else 9543 $as_echo "$as_me: failed program was:" >&5 9544 sed 's/^/| /' conftest.$ac_ext >&5 9545 9546 ac_header_compiler=no 9547 fi 9548 9549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9550 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9551 $as_echo "$ac_header_compiler" >&6; } 9552 9553 # Is the header present? 9554 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9555 $as_echo_n "checking $ac_header presence... " >&6; } 9556 cat >conftest.$ac_ext <<_ACEOF 9557 /* confdefs.h. */ 9558 _ACEOF 9559 cat confdefs.h >>conftest.$ac_ext 9560 cat >>conftest.$ac_ext <<_ACEOF 9561 /* end confdefs.h. */ 9562 #include <$ac_header> 9563 _ACEOF 9564 if { (ac_try="$ac_cpp conftest.$ac_ext" 9565 case "(($ac_try" in 9566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9567 *) ac_try_echo=$ac_try;; 9568 esac 9569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9570 $as_echo "$ac_try_echo") >&5 9571 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9572 ac_status=$? 9573 grep -v '^ *+' conftest.er1 >conftest.err 9574 rm -f conftest.er1 9575 cat conftest.err >&5 9576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9577 (exit $ac_status); } >/dev/null && { 9578 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9579 test ! -s conftest.err 9580 }; then 9581 ac_header_preproc=yes 9582 else 9583 $as_echo "$as_me: failed program was:" >&5 9584 sed 's/^/| /' conftest.$ac_ext >&5 9585 9586 ac_header_preproc=no 9587 fi 9588 9589 rm -f conftest.err conftest.$ac_ext 9590 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9591 $as_echo "$ac_header_preproc" >&6; } 9592 9593 # So? What about this header? 9594 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9595 yes:no: ) 9596 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9597 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9598 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9599 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9600 ac_header_preproc=yes 9601 ;; 9602 no:yes:* ) 9603 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9604 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9605 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9606 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9607 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9608 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9609 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9610 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9611 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9612 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9613 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9614 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9615 ( cat <<\_ASBOX 9616 ## ----------------------------------- ## 9617 ## Report this to rappture@nanohub.org ## 9618 ## ----------------------------------- ## 9619 _ASBOX 9620 ) | sed "s/^/$as_me: WARNING: /" >&2 9621 ;; 9622 esac 9623 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9624 $as_echo_n "checking for $ac_header... " >&6; } 9625 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9626 $as_echo_n "(cached) " >&6 9627 else 9628 eval "$as_ac_Header=\$ac_header_preproc" 9629 fi 9630 ac_res=`eval 'as_val=${'$as_ac_Header'} 9631 $as_echo "$as_val"'` 9632 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9633 $as_echo "$ac_res" >&6; } 9634 9635 fi 9636 as_val=`eval 'as_val=${'$as_ac_Header'} 9637 $as_echo "$as_val"'` 9638 if test "x$as_val" = x""yes; then 5412 9639 cat >>confdefs.h <<_ACEOF 5413 #define HAVE_MALLOC_H15414 _ACEOF 5415 5416 else 5417 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: C headers missing ?" >&59640 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9641 _ACEOF 9642 9643 else 9644 { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 5418 9645 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5419 9646 fi … … 5421 9648 done 5422 9649 9650 5423 9651 for ac_header in memory.h 5424 do : 5425 ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default" 5426 if test "x$ac_cv_header_memory_h" = xyes; then : 9652 do 9653 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9654 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9655 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9656 $as_echo_n "checking for $ac_header... " >&6; } 9657 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9658 $as_echo_n "(cached) " >&6 9659 fi 9660 ac_res=`eval 'as_val=${'$as_ac_Header'} 9661 $as_echo "$as_val"'` 9662 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9663 $as_echo "$ac_res" >&6; } 9664 else 9665 # Is the header compilable? 9666 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9667 $as_echo_n "checking $ac_header usability... " >&6; } 9668 cat >conftest.$ac_ext <<_ACEOF 9669 /* confdefs.h. */ 9670 _ACEOF 9671 cat confdefs.h >>conftest.$ac_ext 9672 cat >>conftest.$ac_ext <<_ACEOF 9673 /* end confdefs.h. */ 9674 $ac_includes_default 9675 #include <$ac_header> 9676 _ACEOF 9677 rm -f conftest.$ac_objext 9678 if { (ac_try="$ac_compile" 9679 case "(($ac_try" in 9680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9681 *) ac_try_echo=$ac_try;; 9682 esac 9683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9684 $as_echo "$ac_try_echo") >&5 9685 (eval "$ac_compile") 2>conftest.er1 9686 ac_status=$? 9687 grep -v '^ *+' conftest.er1 >conftest.err 9688 rm -f conftest.er1 9689 cat conftest.err >&5 9690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9691 (exit $ac_status); } && { 9692 test -z "$ac_cxx_werror_flag" || 9693 test ! -s conftest.err 9694 } && test -s conftest.$ac_objext; then 9695 ac_header_compiler=yes 9696 else 9697 $as_echo "$as_me: failed program was:" >&5 9698 sed 's/^/| /' conftest.$ac_ext >&5 9699 9700 ac_header_compiler=no 9701 fi 9702 9703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9704 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9705 $as_echo "$ac_header_compiler" >&6; } 9706 9707 # Is the header present? 9708 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9709 $as_echo_n "checking $ac_header presence... " >&6; } 9710 cat >conftest.$ac_ext <<_ACEOF 9711 /* confdefs.h. */ 9712 _ACEOF 9713 cat confdefs.h >>conftest.$ac_ext 9714 cat >>conftest.$ac_ext <<_ACEOF 9715 /* end confdefs.h. */ 9716 #include <$ac_header> 9717 _ACEOF 9718 if { (ac_try="$ac_cpp conftest.$ac_ext" 9719 case "(($ac_try" in 9720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9721 *) ac_try_echo=$ac_try;; 9722 esac 9723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9724 $as_echo "$ac_try_echo") >&5 9725 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9726 ac_status=$? 9727 grep -v '^ *+' conftest.er1 >conftest.err 9728 rm -f conftest.er1 9729 cat conftest.err >&5 9730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9731 (exit $ac_status); } >/dev/null && { 9732 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9733 test ! -s conftest.err 9734 }; then 9735 ac_header_preproc=yes 9736 else 9737 $as_echo "$as_me: failed program was:" >&5 9738 sed 's/^/| /' conftest.$ac_ext >&5 9739 9740 ac_header_preproc=no 9741 fi 9742 9743 rm -f conftest.err conftest.$ac_ext 9744 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9745 $as_echo "$ac_header_preproc" >&6; } 9746 9747 # So? What about this header? 9748 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9749 yes:no: ) 9750 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9751 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9752 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9753 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9754 ac_header_preproc=yes 9755 ;; 9756 no:yes:* ) 9757 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9758 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9759 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9760 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9761 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9762 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9763 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9764 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9765 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9766 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9767 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9768 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9769 ( cat <<\_ASBOX 9770 ## ----------------------------------- ## 9771 ## Report this to rappture@nanohub.org ## 9772 ## ----------------------------------- ## 9773 _ASBOX 9774 ) | sed "s/^/$as_me: WARNING: /" >&2 9775 ;; 9776 esac 9777 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9778 $as_echo_n "checking for $ac_header... " >&6; } 9779 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9780 $as_echo_n "(cached) " >&6 9781 else 9782 eval "$as_ac_Header=\$ac_header_preproc" 9783 fi 9784 ac_res=`eval 'as_val=${'$as_ac_Header'} 9785 $as_echo "$as_val"'` 9786 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9787 $as_echo "$ac_res" >&6; } 9788 9789 fi 9790 as_val=`eval 'as_val=${'$as_ac_Header'} 9791 $as_echo "$as_val"'` 9792 if test "x$as_val" = x""yes; then 5427 9793 cat >>confdefs.h <<_ACEOF 5428 #define HAVE_MEMORY_H15429 _ACEOF 5430 5431 else 5432 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: C headers missing ?" >&59794 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9795 _ACEOF 9796 9797 else 9798 { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 5433 9799 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5434 9800 fi … … 5436 9802 done 5437 9803 9804 5438 9805 for ac_header in unistd.h 5439 do : 5440 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 5441 if test "x$ac_cv_header_unistd_h" = xyes; then : 9806 do 9807 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9808 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9809 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9810 $as_echo_n "checking for $ac_header... " >&6; } 9811 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9812 $as_echo_n "(cached) " >&6 9813 fi 9814 ac_res=`eval 'as_val=${'$as_ac_Header'} 9815 $as_echo "$as_val"'` 9816 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9817 $as_echo "$ac_res" >&6; } 9818 else 9819 # Is the header compilable? 9820 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9821 $as_echo_n "checking $ac_header usability... " >&6; } 9822 cat >conftest.$ac_ext <<_ACEOF 9823 /* confdefs.h. */ 9824 _ACEOF 9825 cat confdefs.h >>conftest.$ac_ext 9826 cat >>conftest.$ac_ext <<_ACEOF 9827 /* end confdefs.h. */ 9828 $ac_includes_default 9829 #include <$ac_header> 9830 _ACEOF 9831 rm -f conftest.$ac_objext 9832 if { (ac_try="$ac_compile" 9833 case "(($ac_try" in 9834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9835 *) ac_try_echo=$ac_try;; 9836 esac 9837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9838 $as_echo "$ac_try_echo") >&5 9839 (eval "$ac_compile") 2>conftest.er1 9840 ac_status=$? 9841 grep -v '^ *+' conftest.er1 >conftest.err 9842 rm -f conftest.er1 9843 cat conftest.err >&5 9844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9845 (exit $ac_status); } && { 9846 test -z "$ac_cxx_werror_flag" || 9847 test ! -s conftest.err 9848 } && test -s conftest.$ac_objext; then 9849 ac_header_compiler=yes 9850 else 9851 $as_echo "$as_me: failed program was:" >&5 9852 sed 's/^/| /' conftest.$ac_ext >&5 9853 9854 ac_header_compiler=no 9855 fi 9856 9857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9858 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9859 $as_echo "$ac_header_compiler" >&6; } 9860 9861 # Is the header present? 9862 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9863 $as_echo_n "checking $ac_header presence... " >&6; } 9864 cat >conftest.$ac_ext <<_ACEOF 9865 /* confdefs.h. */ 9866 _ACEOF 9867 cat confdefs.h >>conftest.$ac_ext 9868 cat >>conftest.$ac_ext <<_ACEOF 9869 /* end confdefs.h. */ 9870 #include <$ac_header> 9871 _ACEOF 9872 if { (ac_try="$ac_cpp conftest.$ac_ext" 9873 case "(($ac_try" in 9874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9875 *) ac_try_echo=$ac_try;; 9876 esac 9877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9878 $as_echo "$ac_try_echo") >&5 9879 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9880 ac_status=$? 9881 grep -v '^ *+' conftest.er1 >conftest.err 9882 rm -f conftest.er1 9883 cat conftest.err >&5 9884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9885 (exit $ac_status); } >/dev/null && { 9886 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9887 test ! -s conftest.err 9888 }; then 9889 ac_header_preproc=yes 9890 else 9891 $as_echo "$as_me: failed program was:" >&5 9892 sed 's/^/| /' conftest.$ac_ext >&5 9893 9894 ac_header_preproc=no 9895 fi 9896 9897 rm -f conftest.err conftest.$ac_ext 9898 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9899 $as_echo "$ac_header_preproc" >&6; } 9900 9901 # So? What about this header? 9902 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9903 yes:no: ) 9904 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9905 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9906 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9907 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9908 ac_header_preproc=yes 9909 ;; 9910 no:yes:* ) 9911 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9912 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9913 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9914 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9915 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9916 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9917 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9918 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9919 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9920 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9921 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9922 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9923 ( cat <<\_ASBOX 9924 ## ----------------------------------- ## 9925 ## Report this to rappture@nanohub.org ## 9926 ## ----------------------------------- ## 9927 _ASBOX 9928 ) | sed "s/^/$as_me: WARNING: /" >&2 9929 ;; 9930 esac 9931 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9932 $as_echo_n "checking for $ac_header... " >&6; } 9933 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9934 $as_echo_n "(cached) " >&6 9935 else 9936 eval "$as_ac_Header=\$ac_header_preproc" 9937 fi 9938 ac_res=`eval 'as_val=${'$as_ac_Header'} 9939 $as_echo "$as_val"'` 9940 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9941 $as_echo "$ac_res" >&6; } 9942 9943 fi 9944 as_val=`eval 'as_val=${'$as_ac_Header'} 9945 $as_echo "$as_val"'` 9946 if test "x$as_val" = x""yes; then 5442 9947 cat >>confdefs.h <<_ACEOF 5443 #define HAVE_UNISTD_H15444 _ACEOF 5445 5446 else 5447 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: C headers missing ?" >&59948 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9949 _ACEOF 9950 9951 else 9952 { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 5448 9953 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5449 9954 fi … … 5452 9957 5453 9958 9959 5454 9960 for ac_header in inttypes.h 5455 do : 5456 ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 5457 if test "x$ac_cv_header_inttypes_h" = xyes; then : 9961 do 9962 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9963 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9964 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9965 $as_echo_n "checking for $ac_header... " >&6; } 9966 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9967 $as_echo_n "(cached) " >&6 9968 fi 9969 ac_res=`eval 'as_val=${'$as_ac_Header'} 9970 $as_echo "$as_val"'` 9971 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9972 $as_echo "$ac_res" >&6; } 9973 else 9974 # Is the header compilable? 9975 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9976 $as_echo_n "checking $ac_header usability... " >&6; } 9977 cat >conftest.$ac_ext <<_ACEOF 9978 /* confdefs.h. */ 9979 _ACEOF 9980 cat confdefs.h >>conftest.$ac_ext 9981 cat >>conftest.$ac_ext <<_ACEOF 9982 /* end confdefs.h. */ 9983 $ac_includes_default 9984 #include <$ac_header> 9985 _ACEOF 9986 rm -f conftest.$ac_objext 9987 if { (ac_try="$ac_compile" 9988 case "(($ac_try" in 9989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9990 *) ac_try_echo=$ac_try;; 9991 esac 9992 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9993 $as_echo "$ac_try_echo") >&5 9994 (eval "$ac_compile") 2>conftest.er1 9995 ac_status=$? 9996 grep -v '^ *+' conftest.er1 >conftest.err 9997 rm -f conftest.er1 9998 cat conftest.err >&5 9999 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10000 (exit $ac_status); } && { 10001 test -z "$ac_cxx_werror_flag" || 10002 test ! -s conftest.err 10003 } && test -s conftest.$ac_objext; then 10004 ac_header_compiler=yes 10005 else 10006 $as_echo "$as_me: failed program was:" >&5 10007 sed 's/^/| /' conftest.$ac_ext >&5 10008 10009 ac_header_compiler=no 10010 fi 10011 10012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10013 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10014 $as_echo "$ac_header_compiler" >&6; } 10015 10016 # Is the header present? 10017 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 10018 $as_echo_n "checking $ac_header presence... " >&6; } 10019 cat >conftest.$ac_ext <<_ACEOF 10020 /* confdefs.h. */ 10021 _ACEOF 10022 cat confdefs.h >>conftest.$ac_ext 10023 cat >>conftest.$ac_ext <<_ACEOF 10024 /* end confdefs.h. */ 10025 #include <$ac_header> 10026 _ACEOF 10027 if { (ac_try="$ac_cpp conftest.$ac_ext" 10028 case "(($ac_try" in 10029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10030 *) ac_try_echo=$ac_try;; 10031 esac 10032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10033 $as_echo "$ac_try_echo") >&5 10034 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10035 ac_status=$? 10036 grep -v '^ *+' conftest.er1 >conftest.err 10037 rm -f conftest.er1 10038 cat conftest.err >&5 10039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10040 (exit $ac_status); } >/dev/null && { 10041 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10042 test ! -s conftest.err 10043 }; then 10044 ac_header_preproc=yes 10045 else 10046 $as_echo "$as_me: failed program was:" >&5 10047 sed 's/^/| /' conftest.$ac_ext >&5 10048 10049 ac_header_preproc=no 10050 fi 10051 10052 rm -f conftest.err conftest.$ac_ext 10053 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10054 $as_echo "$ac_header_preproc" >&6; } 10055 10056 # So? What about this header? 10057 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10058 yes:no: ) 10059 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10060 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 10061 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 10062 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10063 ac_header_preproc=yes 10064 ;; 10065 no:yes:* ) 10066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 10067 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 10068 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 10069 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 10070 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 10071 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 10072 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 10073 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 10074 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 10075 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 10076 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 10077 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10078 ( cat <<\_ASBOX 10079 ## ----------------------------------- ## 10080 ## Report this to rappture@nanohub.org ## 10081 ## ----------------------------------- ## 10082 _ASBOX 10083 ) | sed "s/^/$as_me: WARNING: /" >&2 10084 ;; 10085 esac 10086 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 10087 $as_echo_n "checking for $ac_header... " >&6; } 10088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10089 $as_echo_n "(cached) " >&6 10090 else 10091 eval "$as_ac_Header=\$ac_header_preproc" 10092 fi 10093 ac_res=`eval 'as_val=${'$as_ac_Header'} 10094 $as_echo "$as_val"'` 10095 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 10096 $as_echo "$ac_res" >&6; } 10097 10098 fi 10099 as_val=`eval 'as_val=${'$as_ac_Header'} 10100 $as_echo "$as_val"'` 10101 if test "x$as_val" = x""yes; then 5458 10102 cat >>confdefs.h <<_ACEOF 5459 #define HAVE_INTTYPES_H15460 _ACEOF 5461 5462 else 5463 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: C headers missing ?" >&510103 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10104 _ACEOF 10105 10106 else 10107 { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 5464 10108 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5465 10109 fi … … 5478 10122 # Step 0.a: Enable 64 bit support? 5479 10123 5480 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if 64bit support is requested" >&510124 { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5 5481 10125 $as_echo_n "checking if 64bit support is requested... " >&6; } 5482 10126 # Check whether --enable-64bit was given. 5483 if test "${enable_64bit+set}" = set; then :10127 if test "${enable_64bit+set}" = set; then 5484 10128 enableval=$enable_64bit; do64bit=$enableval 5485 10129 else … … 5487 10131 fi 5488 10132 5489 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $do64bit" >&510133 { $as_echo "$as_me:$LINENO: result: $do64bit" >&5 5490 10134 $as_echo "$do64bit" >&6; } 5491 10135 5492 10136 # Step 0.b: Enable Solaris 64 bit VIS support? 5493 10137 5494 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&510138 { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5 5495 10139 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 5496 10140 # Check whether --enable-64bit-vis was given. 5497 if test "${enable_64bit_vis+set}" = set; then :10141 if test "${enable_64bit_vis+set}" = set; then 5498 10142 enableval=$enable_64bit_vis; do64bitVIS=$enableval 5499 10143 else … … 5501 10145 fi 5502 10146 5503 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $do64bitVIS" >&510147 { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5 5504 10148 $as_echo "$do64bitVIS" >&6; } 5505 10149 … … 5513 10157 5514 10158 5515 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking system version" >&510159 { $as_echo "$as_me:$LINENO: checking system version" >&5 5516 10160 $as_echo_n "checking system version... " >&6; } 5517 if ${tcl_cv_sys_version+:} false; then :10161 if test "${tcl_cv_sys_version+set}" = set; then 5518 10162 $as_echo_n "(cached) " >&6 5519 10163 else … … 5524 10168 tcl_cv_sys_version=`uname -s`-`uname -r` 5525 10169 if test "$?" -ne 0 ; then 5526 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: can't find uname command" >&510170 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5 5527 10171 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 5528 10172 tcl_cv_sys_version=unknown … … 5541 10185 5542 10186 fi 5543 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&510187 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5 5544 10188 $as_echo "$tcl_cv_sys_version" >&6; } 5545 10189 system=$tcl_cv_sys_version … … 5549 10193 # Linux can use either -ldl or -ldld for dynamic loading. 5550 10194 5551 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for dlopen in -ldl" >&510195 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 5552 10196 $as_echo_n "checking for dlopen in -ldl... " >&6; } 5553 if ${ac_cv_lib_dl_dlopen+:} false; then :10197 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 5554 10198 $as_echo_n "(cached) " >&6 5555 10199 else 5556 10200 ac_check_lib_save_LIBS=$LIBS 5557 10201 LIBS="-ldl $LIBS" 5558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10202 cat >conftest.$ac_ext <<_ACEOF 10203 /* confdefs.h. */ 10204 _ACEOF 10205 cat confdefs.h >>conftest.$ac_ext 10206 cat >>conftest.$ac_ext <<_ACEOF 5559 10207 /* end confdefs.h. */ 5560 10208 … … 5574 10222 } 5575 10223 _ACEOF 5576 if ac_fn_cxx_try_link "$LINENO"; then : 10224 rm -f conftest.$ac_objext conftest$ac_exeext 10225 if { (ac_try="$ac_link" 10226 case "(($ac_try" in 10227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10228 *) ac_try_echo=$ac_try;; 10229 esac 10230 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10231 $as_echo "$ac_try_echo") >&5 10232 (eval "$ac_link") 2>conftest.er1 10233 ac_status=$? 10234 grep -v '^ *+' conftest.er1 >conftest.err 10235 rm -f conftest.er1 10236 cat conftest.err >&5 10237 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10238 (exit $ac_status); } && { 10239 test -z "$ac_cxx_werror_flag" || 10240 test ! -s conftest.err 10241 } && test -s conftest$ac_exeext && { 10242 test "$cross_compiling" = yes || 10243 $as_test_x conftest$ac_exeext 10244 }; then 5577 10245 ac_cv_lib_dl_dlopen=yes 5578 10246 else 5579 ac_cv_lib_dl_dlopen=no 5580 fi 5581 rm -f core conftest.err conftest.$ac_objext \ 5582 conftest$ac_exeext conftest.$ac_ext 10247 $as_echo "$as_me: failed program was:" >&5 10248 sed 's/^/| /' conftest.$ac_ext >&5 10249 10250 ac_cv_lib_dl_dlopen=no 10251 fi 10252 10253 rm -rf conftest.dSYM 10254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10255 conftest$ac_exeext conftest.$ac_ext 5583 10256 LIBS=$ac_check_lib_save_LIBS 5584 10257 fi 5585 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&510258 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 5586 10259 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 5587 if test "x$ac_cv_lib_dl_dlopen" = x yes; then :10260 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 5588 10261 have_dl=yes 5589 10262 else … … 5617 10290 # Extract the first word of "ar", so it can be a program name with args. 5618 10291 set dummy ar; ac_word=$2 5619 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&510292 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5620 10293 $as_echo_n "checking for $ac_word... " >&6; } 5621 if ${ac_cv_prog_AR+:} false; then :10294 if test "${ac_cv_prog_AR+set}" = set; then 5622 10295 $as_echo_n "(cached) " >&6 5623 10296 else … … 5630 10303 IFS=$as_save_IFS 5631 10304 test -z "$as_dir" && as_dir=. 5632 5633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then10305 for ac_exec_ext in '' $ac_executable_extensions; do 10306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5634 10307 ac_cv_prog_AR="ar" 5635 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&510308 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5636 10309 break 2 5637 10310 fi 5638 10311 done 5639 10312 done 5640 10313 IFS=$as_save_IFS 5641 10314 … … 5644 10317 AR=$ac_cv_prog_AR 5645 10318 if test -n "$AR"; then 5646 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $AR" >&510319 { $as_echo "$as_me:$LINENO: result: $AR" >&5 5647 10320 $as_echo "$AR" >&6; } 5648 10321 else 5649 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&510322 { $as_echo "$as_me:$LINENO: result: no" >&5 5650 10323 $as_echo "no" >&6; } 5651 10324 fi … … 5653 10326 5654 10327 if test "${AR}" = "" ; then 5655 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 10328 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 10329 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 10330 { (exit 1); exit 1; }; } 5656 10331 fi 5657 10332 STLIB_LD='${AR} cr' … … 5671 10346 ;; 5672 10347 esac 5673 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&510348 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5 5674 10349 $as_echo "Using $CC for compiling with threads" >&6; } 5675 10350 fi … … 5687 10362 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 5688 10363 if test "$GCC" = "yes" ; then 5689 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&510364 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 5690 10365 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 5691 10366 else … … 5742 10417 # known GMT value. 5743 10418 5744 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&510419 { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5 5745 10420 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 5746 if ${ac_cv_lib_bsd_gettimeofday+:} false; then :10421 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 5747 10422 $as_echo_n "(cached) " >&6 5748 10423 else 5749 10424 ac_check_lib_save_LIBS=$LIBS 5750 10425 LIBS="-lbsd $LIBS" 5751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10426 cat >conftest.$ac_ext <<_ACEOF 10427 /* confdefs.h. */ 10428 _ACEOF 10429 cat confdefs.h >>conftest.$ac_ext 10430 cat >>conftest.$ac_ext <<_ACEOF 5752 10431 /* end confdefs.h. */ 5753 10432 … … 5767 10446 } 5768 10447 _ACEOF 5769 if ac_fn_cxx_try_link "$LINENO"; then : 10448 rm -f conftest.$ac_objext conftest$ac_exeext 10449 if { (ac_try="$ac_link" 10450 case "(($ac_try" in 10451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10452 *) ac_try_echo=$ac_try;; 10453 esac 10454 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10455 $as_echo "$ac_try_echo") >&5 10456 (eval "$ac_link") 2>conftest.er1 10457 ac_status=$? 10458 grep -v '^ *+' conftest.er1 >conftest.err 10459 rm -f conftest.er1 10460 cat conftest.err >&5 10461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10462 (exit $ac_status); } && { 10463 test -z "$ac_cxx_werror_flag" || 10464 test ! -s conftest.err 10465 } && test -s conftest$ac_exeext && { 10466 test "$cross_compiling" = yes || 10467 $as_test_x conftest$ac_exeext 10468 }; then 5770 10469 ac_cv_lib_bsd_gettimeofday=yes 5771 10470 else 5772 ac_cv_lib_bsd_gettimeofday=no 5773 fi 5774 rm -f core conftest.err conftest.$ac_objext \ 5775 conftest$ac_exeext conftest.$ac_ext 10471 $as_echo "$as_me: failed program was:" >&5 10472 sed 's/^/| /' conftest.$ac_ext >&5 10473 10474 ac_cv_lib_bsd_gettimeofday=no 10475 fi 10476 10477 rm -rf conftest.dSYM 10478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10479 conftest$ac_exeext conftest.$ac_ext 5776 10480 LIBS=$ac_check_lib_save_LIBS 5777 10481 fi 5778 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&510482 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5 5779 10483 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 5780 if test "x$ac_cv_lib_bsd_gettimeofday" = x yes; then :10484 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then 5781 10485 libbsd=yes 5782 10486 else … … 5786 10490 if test $libbsd = yes; then 5787 10491 MATH_LIBS="$MATH_LIBS -lbsd" 5788 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 10492 cat >>confdefs.h <<\_ACEOF 10493 #define USE_DELTA_FOR_TZ 1 10494 _ACEOF 5789 10495 5790 10496 fi … … 5803 10509 # is always linked to, for compatibility. 5804 10510 #----------------------------------------------------------- 5805 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&510511 { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5 5806 10512 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 5807 if ${ac_cv_lib_bind_inet_ntoa+:} false; then :10513 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then 5808 10514 $as_echo_n "(cached) " >&6 5809 10515 else 5810 10516 ac_check_lib_save_LIBS=$LIBS 5811 10517 LIBS="-lbind $LIBS" 5812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10518 cat >conftest.$ac_ext <<_ACEOF 10519 /* confdefs.h. */ 10520 _ACEOF 10521 cat confdefs.h >>conftest.$ac_ext 10522 cat >>conftest.$ac_ext <<_ACEOF 5813 10523 /* end confdefs.h. */ 5814 10524 … … 5828 10538 } 5829 10539 _ACEOF 5830 if ac_fn_cxx_try_link "$LINENO"; then : 10540 rm -f conftest.$ac_objext conftest$ac_exeext 10541 if { (ac_try="$ac_link" 10542 case "(($ac_try" in 10543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10544 *) ac_try_echo=$ac_try;; 10545 esac 10546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10547 $as_echo "$ac_try_echo") >&5 10548 (eval "$ac_link") 2>conftest.er1 10549 ac_status=$? 10550 grep -v '^ *+' conftest.er1 >conftest.err 10551 rm -f conftest.er1 10552 cat conftest.err >&5 10553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10554 (exit $ac_status); } && { 10555 test -z "$ac_cxx_werror_flag" || 10556 test ! -s conftest.err 10557 } && test -s conftest$ac_exeext && { 10558 test "$cross_compiling" = yes || 10559 $as_test_x conftest$ac_exeext 10560 }; then 5831 10561 ac_cv_lib_bind_inet_ntoa=yes 5832 10562 else 5833 ac_cv_lib_bind_inet_ntoa=no 5834 fi 5835 rm -f core conftest.err conftest.$ac_objext \ 5836 conftest$ac_exeext conftest.$ac_ext 10563 $as_echo "$as_me: failed program was:" >&5 10564 sed 's/^/| /' conftest.$ac_ext >&5 10565 10566 ac_cv_lib_bind_inet_ntoa=no 10567 fi 10568 10569 rm -rf conftest.dSYM 10570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10571 conftest$ac_exeext conftest.$ac_ext 5837 10572 LIBS=$ac_check_lib_save_LIBS 5838 10573 fi 5839 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&510574 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5 5840 10575 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 5841 if test "x$ac_cv_lib_bind_inet_ntoa" = x yes; then :10576 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then 5842 10577 LIBS="$LIBS -lbind -lsocket" 5843 10578 fi … … 5877 10612 HP-UX-*.11.*) 5878 10613 # Use updated header definitions where possible 5879 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 10614 cat >>confdefs.h <<\_ACEOF 10615 #define _XOPEN_SOURCE 1 10616 _ACEOF 5880 10617 # Use the XOPEN network library 5881 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 10618 cat >>confdefs.h <<\_ACEOF 10619 #define _XOPEN_SOURCE_EXTENDED 1 10620 _ACEOF 5882 10621 # Use the XOPEN network library 5883 10622 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 5888 10627 SHLIB_SUFFIX=".sl" 5889 10628 fi 5890 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for shl_load in -ldld" >&510629 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 5891 10630 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5892 if ${ac_cv_lib_dld_shl_load+:} false; then :10631 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 5893 10632 $as_echo_n "(cached) " >&6 5894 10633 else 5895 10634 ac_check_lib_save_LIBS=$LIBS 5896 10635 LIBS="-ldld $LIBS" 5897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10636 cat >conftest.$ac_ext <<_ACEOF 10637 /* confdefs.h. */ 10638 _ACEOF 10639 cat confdefs.h >>conftest.$ac_ext 10640 cat >>conftest.$ac_ext <<_ACEOF 5898 10641 /* end confdefs.h. */ 5899 10642 … … 5913 10656 } 5914 10657 _ACEOF 5915 if ac_fn_cxx_try_link "$LINENO"; then : 10658 rm -f conftest.$ac_objext conftest$ac_exeext 10659 if { (ac_try="$ac_link" 10660 case "(($ac_try" in 10661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10662 *) ac_try_echo=$ac_try;; 10663 esac 10664 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10665 $as_echo "$ac_try_echo") >&5 10666 (eval "$ac_link") 2>conftest.er1 10667 ac_status=$? 10668 grep -v '^ *+' conftest.er1 >conftest.err 10669 rm -f conftest.er1 10670 cat conftest.err >&5 10671 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10672 (exit $ac_status); } && { 10673 test -z "$ac_cxx_werror_flag" || 10674 test ! -s conftest.err 10675 } && test -s conftest$ac_exeext && { 10676 test "$cross_compiling" = yes || 10677 $as_test_x conftest$ac_exeext 10678 }; then 5916 10679 ac_cv_lib_dld_shl_load=yes 5917 10680 else 5918 ac_cv_lib_dld_shl_load=no 5919 fi 5920 rm -f core conftest.err conftest.$ac_objext \ 5921 conftest$ac_exeext conftest.$ac_ext 10681 $as_echo "$as_me: failed program was:" >&5 10682 sed 's/^/| /' conftest.$ac_ext >&5 10683 10684 ac_cv_lib_dld_shl_load=no 10685 fi 10686 10687 rm -rf conftest.dSYM 10688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10689 conftest$ac_exeext conftest.$ac_ext 5922 10690 LIBS=$ac_check_lib_save_LIBS 5923 10691 fi 5924 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&510692 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 5925 10693 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5926 if test "x$ac_cv_lib_dld_shl_load" = x yes; then :10694 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 5927 10695 tcl_ok=yes 5928 10696 else … … 5964 10732 ;; 5965 10733 *) 5966 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&510734 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 5967 10735 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 5968 10736 ;; … … 5977 10745 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 5978 10746 SHLIB_SUFFIX=".sl" 5979 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for shl_load in -ldld" >&510747 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 5980 10748 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5981 if ${ac_cv_lib_dld_shl_load+:} false; then :10749 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 5982 10750 $as_echo_n "(cached) " >&6 5983 10751 else 5984 10752 ac_check_lib_save_LIBS=$LIBS 5985 10753 LIBS="-ldld $LIBS" 5986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10754 cat >conftest.$ac_ext <<_ACEOF 10755 /* confdefs.h. */ 10756 _ACEOF 10757 cat confdefs.h >>conftest.$ac_ext 10758 cat >>conftest.$ac_ext <<_ACEOF 5987 10759 /* end confdefs.h. */ 5988 10760 … … 6002 10774 } 6003 10775 _ACEOF 6004 if ac_fn_cxx_try_link "$LINENO"; then : 10776 rm -f conftest.$ac_objext conftest$ac_exeext 10777 if { (ac_try="$ac_link" 10778 case "(($ac_try" in 10779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10780 *) ac_try_echo=$ac_try;; 10781 esac 10782 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10783 $as_echo "$ac_try_echo") >&5 10784 (eval "$ac_link") 2>conftest.er1 10785 ac_status=$? 10786 grep -v '^ *+' conftest.er1 >conftest.err 10787 rm -f conftest.er1 10788 cat conftest.err >&5 10789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10790 (exit $ac_status); } && { 10791 test -z "$ac_cxx_werror_flag" || 10792 test ! -s conftest.err 10793 } && test -s conftest$ac_exeext && { 10794 test "$cross_compiling" = yes || 10795 $as_test_x conftest$ac_exeext 10796 }; then 6005 10797 ac_cv_lib_dld_shl_load=yes 6006 10798 else 6007 ac_cv_lib_dld_shl_load=no 6008 fi 6009 rm -f core conftest.err conftest.$ac_objext \ 6010 conftest$ac_exeext conftest.$ac_ext 10799 $as_echo "$as_me: failed program was:" >&5 10800 sed 's/^/| /' conftest.$ac_ext >&5 10801 10802 ac_cv_lib_dld_shl_load=no 10803 fi 10804 10805 rm -rf conftest.dSYM 10806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10807 conftest$ac_exeext conftest.$ac_ext 6011 10808 LIBS=$ac_check_lib_save_LIBS 6012 10809 fi 6013 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&510810 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 6014 10811 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 6015 if test "x$ac_cv_lib_dld_shl_load" = x yes; then :10812 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 6016 10813 tcl_ok=yes 6017 10814 else … … 6092 10889 if test "$do64bit" = "yes" ; then 6093 10890 if test "$GCC" = "yes" ; then 6094 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&510891 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5 6095 10892 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 6096 10893 else … … 6121 10918 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 6122 10919 else 6123 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6124 if test "x$ac_cv_header_dld_h" = xyes; then : 10920 if test "${ac_cv_header_dld_h+set}" = set; then 10921 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 10922 $as_echo_n "checking for dld.h... " >&6; } 10923 if test "${ac_cv_header_dld_h+set}" = set; then 10924 $as_echo_n "(cached) " >&6 10925 fi 10926 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10927 $as_echo "$ac_cv_header_dld_h" >&6; } 10928 else 10929 # Is the header compilable? 10930 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 10931 $as_echo_n "checking dld.h usability... " >&6; } 10932 cat >conftest.$ac_ext <<_ACEOF 10933 /* confdefs.h. */ 10934 _ACEOF 10935 cat confdefs.h >>conftest.$ac_ext 10936 cat >>conftest.$ac_ext <<_ACEOF 10937 /* end confdefs.h. */ 10938 $ac_includes_default 10939 #include <dld.h> 10940 _ACEOF 10941 rm -f conftest.$ac_objext 10942 if { (ac_try="$ac_compile" 10943 case "(($ac_try" in 10944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10945 *) ac_try_echo=$ac_try;; 10946 esac 10947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10948 $as_echo "$ac_try_echo") >&5 10949 (eval "$ac_compile") 2>conftest.er1 10950 ac_status=$? 10951 grep -v '^ *+' conftest.er1 >conftest.err 10952 rm -f conftest.er1 10953 cat conftest.err >&5 10954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10955 (exit $ac_status); } && { 10956 test -z "$ac_cxx_werror_flag" || 10957 test ! -s conftest.err 10958 } && test -s conftest.$ac_objext; then 10959 ac_header_compiler=yes 10960 else 10961 $as_echo "$as_me: failed program was:" >&5 10962 sed 's/^/| /' conftest.$ac_ext >&5 10963 10964 ac_header_compiler=no 10965 fi 10966 10967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10968 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10969 $as_echo "$ac_header_compiler" >&6; } 10970 10971 # Is the header present? 10972 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 10973 $as_echo_n "checking dld.h presence... " >&6; } 10974 cat >conftest.$ac_ext <<_ACEOF 10975 /* confdefs.h. */ 10976 _ACEOF 10977 cat confdefs.h >>conftest.$ac_ext 10978 cat >>conftest.$ac_ext <<_ACEOF 10979 /* end confdefs.h. */ 10980 #include <dld.h> 10981 _ACEOF 10982 if { (ac_try="$ac_cpp conftest.$ac_ext" 10983 case "(($ac_try" in 10984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10985 *) ac_try_echo=$ac_try;; 10986 esac 10987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10988 $as_echo "$ac_try_echo") >&5 10989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10990 ac_status=$? 10991 grep -v '^ *+' conftest.er1 >conftest.err 10992 rm -f conftest.er1 10993 cat conftest.err >&5 10994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10995 (exit $ac_status); } >/dev/null && { 10996 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10997 test ! -s conftest.err 10998 }; then 10999 ac_header_preproc=yes 11000 else 11001 $as_echo "$as_me: failed program was:" >&5 11002 sed 's/^/| /' conftest.$ac_ext >&5 11003 11004 ac_header_preproc=no 11005 fi 11006 11007 rm -f conftest.err conftest.$ac_ext 11008 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11009 $as_echo "$ac_header_preproc" >&6; } 11010 11011 # So? What about this header? 11012 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11013 yes:no: ) 11014 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 11015 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11016 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 11017 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 11018 ac_header_preproc=yes 11019 ;; 11020 no:yes:* ) 11021 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 11022 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 11023 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 11024 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 11025 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 11026 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 11027 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 11028 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 11029 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 11030 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 11031 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 11032 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 11033 ( cat <<\_ASBOX 11034 ## ----------------------------------- ## 11035 ## Report this to rappture@nanohub.org ## 11036 ## ----------------------------------- ## 11037 _ASBOX 11038 ) | sed "s/^/$as_me: WARNING: /" >&2 11039 ;; 11040 esac 11041 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 11042 $as_echo_n "checking for dld.h... " >&6; } 11043 if test "${ac_cv_header_dld_h+set}" = set; then 11044 $as_echo_n "(cached) " >&6 11045 else 11046 ac_cv_header_dld_h=$ac_header_preproc 11047 fi 11048 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 11049 $as_echo "$ac_cv_header_dld_h" >&6; } 11050 11051 fi 11052 if test "x$ac_cv_header_dld_h" = x""yes; then 6125 11053 6126 11054 SHLIB_LD="ld -shared" … … 6137 11065 fi 6138 11066 if test $do64bit = yes; then 6139 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&511067 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5 6140 11068 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 6141 if ${tcl_cv_cc_m64+:} false; then :11069 if test "${tcl_cv_cc_m64+set}" = set; then 6142 11070 $as_echo_n "(cached) " >&6 6143 11071 else … … 6145 11073 hold_cflags=$CFLAGS 6146 11074 CFLAGS="$CFLAGS -m64" 6147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11075 cat >conftest.$ac_ext <<_ACEOF 11076 /* confdefs.h. */ 11077 _ACEOF 11078 cat confdefs.h >>conftest.$ac_ext 11079 cat >>conftest.$ac_ext <<_ACEOF 6148 11080 /* end confdefs.h. */ 6149 11081 … … 6156 11088 } 6157 11089 _ACEOF 6158 if ac_fn_cxx_try_link "$LINENO"; then : 11090 rm -f conftest.$ac_objext conftest$ac_exeext 11091 if { (ac_try="$ac_link" 11092 case "(($ac_try" in 11093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11094 *) ac_try_echo=$ac_try;; 11095 esac 11096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11097 $as_echo "$ac_try_echo") >&5 11098 (eval "$ac_link") 2>conftest.er1 11099 ac_status=$? 11100 grep -v '^ *+' conftest.er1 >conftest.err 11101 rm -f conftest.er1 11102 cat conftest.err >&5 11103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11104 (exit $ac_status); } && { 11105 test -z "$ac_cxx_werror_flag" || 11106 test ! -s conftest.err 11107 } && test -s conftest$ac_exeext && { 11108 test "$cross_compiling" = yes || 11109 $as_test_x conftest$ac_exeext 11110 }; then 6159 11111 tcl_cv_cc_m64=yes 6160 11112 else 6161 tcl_cv_cc_m64=no 6162 fi 6163 rm -f core conftest.err conftest.$ac_objext \ 6164 conftest$ac_exeext conftest.$ac_ext 11113 $as_echo "$as_me: failed program was:" >&5 11114 sed 's/^/| /' conftest.$ac_ext >&5 11115 11116 tcl_cv_cc_m64=no 11117 fi 11118 11119 rm -rf conftest.dSYM 11120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11121 conftest$ac_exeext conftest.$ac_ext 6165 11122 CFLAGS=$hold_cflags 6166 11123 fi 6167 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&511124 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5 6168 11125 $as_echo "$tcl_cv_cc_m64" >&6; } 6169 11126 if test $tcl_cv_cc_m64 = yes; then … … 6185 11142 6186 11143 # XIM peeking works under XFree86. 6187 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 11144 cat >>confdefs.h <<\_ACEOF 11145 #define PEEK_XCLOSEIM 1 11146 _ACEOF 6188 11147 6189 11148 … … 6202 11161 LD_SEARCH_FLAGS="" 6203 11162 else 6204 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6205 if test "x$ac_cv_header_dld_h" = xyes; then : 11163 if test "${ac_cv_header_dld_h+set}" = set; then 11164 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 11165 $as_echo_n "checking for dld.h... " >&6; } 11166 if test "${ac_cv_header_dld_h+set}" = set; then 11167 $as_echo_n "(cached) " >&6 11168 fi 11169 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 11170 $as_echo "$ac_cv_header_dld_h" >&6; } 11171 else 11172 # Is the header compilable? 11173 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 11174 $as_echo_n "checking dld.h usability... " >&6; } 11175 cat >conftest.$ac_ext <<_ACEOF 11176 /* confdefs.h. */ 11177 _ACEOF 11178 cat confdefs.h >>conftest.$ac_ext 11179 cat >>conftest.$ac_ext <<_ACEOF 11180 /* end confdefs.h. */ 11181 $ac_includes_default 11182 #include <dld.h> 11183 _ACEOF 11184 rm -f conftest.$ac_objext 11185 if { (ac_try="$ac_compile" 11186 case "(($ac_try" in 11187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11188 *) ac_try_echo=$ac_try;; 11189 esac 11190 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11191 $as_echo "$ac_try_echo") >&5 11192 (eval "$ac_compile") 2>conftest.er1 11193 ac_status=$? 11194 grep -v '^ *+' conftest.er1 >conftest.err 11195 rm -f conftest.er1 11196 cat conftest.err >&5 11197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11198 (exit $ac_status); } && { 11199 test -z "$ac_cxx_werror_flag" || 11200 test ! -s conftest.err 11201 } && test -s conftest.$ac_objext; then 11202 ac_header_compiler=yes 11203 else 11204 $as_echo "$as_me: failed program was:" >&5 11205 sed 's/^/| /' conftest.$ac_ext >&5 11206 11207 ac_header_compiler=no 11208 fi 11209 11210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11211 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11212 $as_echo "$ac_header_compiler" >&6; } 11213 11214 # Is the header present? 11215 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 11216 $as_echo_n "checking dld.h presence... " >&6; } 11217 cat >conftest.$ac_ext <<_ACEOF 11218 /* confdefs.h. */ 11219 _ACEOF 11220 cat confdefs.h >>conftest.$ac_ext 11221 cat >>conftest.$ac_ext <<_ACEOF 11222 /* end confdefs.h. */ 11223 #include <dld.h> 11224 _ACEOF 11225 if { (ac_try="$ac_cpp conftest.$ac_ext" 11226 case "(($ac_try" in 11227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11228 *) ac_try_echo=$ac_try;; 11229 esac 11230 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11231 $as_echo "$ac_try_echo") >&5 11232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11233 ac_status=$? 11234 grep -v '^ *+' conftest.er1 >conftest.err 11235 rm -f conftest.er1 11236 cat conftest.err >&5 11237 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11238 (exit $ac_status); } >/dev/null && { 11239 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11240 test ! -s conftest.err 11241 }; then 11242 ac_header_preproc=yes 11243 else 11244 $as_echo "$as_me: failed program was:" >&5 11245 sed 's/^/| /' conftest.$ac_ext >&5 11246 11247 ac_header_preproc=no 11248 fi 11249 11250 rm -f conftest.err conftest.$ac_ext 11251 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11252 $as_echo "$ac_header_preproc" >&6; } 11253 11254 # So? What about this header? 11255 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11256 yes:no: ) 11257 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 11258 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11259 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 11260 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 11261 ac_header_preproc=yes 11262 ;; 11263 no:yes:* ) 11264 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 11265 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 11266 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 11267 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 11268 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 11269 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 11270 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 11271 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 11272 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 11273 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 11274 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 11275 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 11276 ( cat <<\_ASBOX 11277 ## ----------------------------------- ## 11278 ## Report this to rappture@nanohub.org ## 11279 ## ----------------------------------- ## 11280 _ASBOX 11281 ) | sed "s/^/$as_me: WARNING: /" >&2 11282 ;; 11283 esac 11284 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 11285 $as_echo_n "checking for dld.h... " >&6; } 11286 if test "${ac_cv_header_dld_h+set}" = set; then 11287 $as_echo_n "(cached) " >&6 11288 else 11289 ac_cv_header_dld_h=$ac_header_preproc 11290 fi 11291 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 11292 $as_echo "$ac_cv_header_dld_h" >&6; } 11293 11294 fi 11295 if test "x$ac_cv_header_dld_h" = x""yes; then 6206 11296 6207 11297 SHLIB_LD="ld -shared" … … 6253 11343 NetBSD-*|FreeBSD-[1-2].*) 6254 11344 # Not available on all versions: check for include file. 6255 ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 6256 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 11345 if test "${ac_cv_header_dlfcn_h+set}" = set; then 11346 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 11347 $as_echo_n "checking for dlfcn.h... " >&6; } 11348 if test "${ac_cv_header_dlfcn_h+set}" = set; then 11349 $as_echo_n "(cached) " >&6 11350 fi 11351 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 11352 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 11353 else 11354 # Is the header compilable? 11355 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 11356 $as_echo_n "checking dlfcn.h usability... " >&6; } 11357 cat >conftest.$ac_ext <<_ACEOF 11358 /* confdefs.h. */ 11359 _ACEOF 11360 cat confdefs.h >>conftest.$ac_ext 11361 cat >>conftest.$ac_ext <<_ACEOF 11362 /* end confdefs.h. */ 11363 $ac_includes_default 11364 #include <dlfcn.h> 11365 _ACEOF 11366 rm -f conftest.$ac_objext 11367 if { (ac_try="$ac_compile" 11368 case "(($ac_try" in 11369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11370 *) ac_try_echo=$ac_try;; 11371 esac 11372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11373 $as_echo "$ac_try_echo") >&5 11374 (eval "$ac_compile") 2>conftest.er1 11375 ac_status=$? 11376 grep -v '^ *+' conftest.er1 >conftest.err 11377 rm -f conftest.er1 11378 cat conftest.err >&5 11379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11380 (exit $ac_status); } && { 11381 test -z "$ac_cxx_werror_flag" || 11382 test ! -s conftest.err 11383 } && test -s conftest.$ac_objext; then 11384 ac_header_compiler=yes 11385 else 11386 $as_echo "$as_me: failed program was:" >&5 11387 sed 's/^/| /' conftest.$ac_ext >&5 11388 11389 ac_header_compiler=no 11390 fi 11391 11392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11393 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11394 $as_echo "$ac_header_compiler" >&6; } 11395 11396 # Is the header present? 11397 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 11398 $as_echo_n "checking dlfcn.h presence... " >&6; } 11399 cat >conftest.$ac_ext <<_ACEOF 11400 /* confdefs.h. */ 11401 _ACEOF 11402 cat confdefs.h >>conftest.$ac_ext 11403 cat >>conftest.$ac_ext <<_ACEOF 11404 /* end confdefs.h. */ 11405 #include <dlfcn.h> 11406 _ACEOF 11407 if { (ac_try="$ac_cpp conftest.$ac_ext" 11408 case "(($ac_try" in 11409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11410 *) ac_try_echo=$ac_try;; 11411 esac 11412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11413 $as_echo "$ac_try_echo") >&5 11414 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11415 ac_status=$? 11416 grep -v '^ *+' conftest.er1 >conftest.err 11417 rm -f conftest.er1 11418 cat conftest.err >&5 11419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11420 (exit $ac_status); } >/dev/null && { 11421 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11422 test ! -s conftest.err 11423 }; then 11424 ac_header_preproc=yes 11425 else 11426 $as_echo "$as_me: failed program was:" >&5 11427 sed 's/^/| /' conftest.$ac_ext >&5 11428 11429 ac_header_preproc=no 11430 fi 11431 11432 rm -f conftest.err conftest.$ac_ext 11433 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11434 $as_echo "$ac_header_preproc" >&6; } 11435 11436 # So? What about this header? 11437 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11438 yes:no: ) 11439 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 11440 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11441 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 11442 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 11443 ac_header_preproc=yes 11444 ;; 11445 no:yes:* ) 11446 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 11447 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 11448 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 11449 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 11450 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 11451 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 11452 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 11453 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 11454 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 11455 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 11456 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 11457 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 11458 ( cat <<\_ASBOX 11459 ## ----------------------------------- ## 11460 ## Report this to rappture@nanohub.org ## 11461 ## ----------------------------------- ## 11462 _ASBOX 11463 ) | sed "s/^/$as_me: WARNING: /" >&2 11464 ;; 11465 esac 11466 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 11467 $as_echo_n "checking for dlfcn.h... " >&6; } 11468 if test "${ac_cv_header_dlfcn_h+set}" = set; then 11469 $as_echo_n "(cached) " >&6 11470 else 11471 ac_cv_header_dlfcn_h=$ac_header_preproc 11472 fi 11473 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 11474 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 11475 11476 fi 11477 if test "x$ac_cv_header_dlfcn_h" = x""yes; then 6257 11478 6258 11479 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 6265 11486 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 6266 11487 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 6267 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ELF" >&511488 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 6268 11489 $as_echo_n "checking for ELF... " >&6; } 6269 if ${tcl_cv_ld_elf+:} false; then :11490 if test "${tcl_cv_ld_elf+set}" = set; then 6270 11491 $as_echo_n "(cached) " >&6 6271 11492 else 6272 11493 6273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11494 cat >conftest.$ac_ext <<_ACEOF 11495 /* confdefs.h. */ 11496 _ACEOF 11497 cat confdefs.h >>conftest.$ac_ext 11498 cat >>conftest.$ac_ext <<_ACEOF 6274 11499 /* end confdefs.h. */ 6275 11500 … … 6280 11505 _ACEOF 6281 11506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6282 $EGREP "yes" >/dev/null 2>&1; then :11507 $EGREP "yes" >/dev/null 2>&1; then 6283 11508 tcl_cv_ld_elf=yes 6284 11509 else … … 6288 11513 6289 11514 fi 6290 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&511515 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 6291 11516 $as_echo "$tcl_cv_ld_elf" >&6; } 6292 11517 if test $tcl_cv_ld_elf = yes; then … … 6347 11572 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 6348 11573 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 6349 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ELF" >&511574 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 6350 11575 $as_echo_n "checking for ELF... " >&6; } 6351 if ${tcl_cv_ld_elf+:} false; then :11576 if test "${tcl_cv_ld_elf+set}" = set; then 6352 11577 $as_echo_n "(cached) " >&6 6353 11578 else 6354 11579 6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11580 cat >conftest.$ac_ext <<_ACEOF 11581 /* confdefs.h. */ 11582 _ACEOF 11583 cat confdefs.h >>conftest.$ac_ext 11584 cat >>conftest.$ac_ext <<_ACEOF 6356 11585 /* end confdefs.h. */ 6357 11586 … … 6362 11591 _ACEOF 6363 11592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6364 $EGREP "yes" >/dev/null 2>&1; then :11593 $EGREP "yes" >/dev/null 2>&1; then 6365 11594 tcl_cv_ld_elf=yes 6366 11595 else … … 6370 11599 6371 11600 fi 6372 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&511601 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 6373 11602 $as_echo "$tcl_cv_ld_elf" >&6; } 6374 11603 if test $tcl_cv_ld_elf = yes; then … … 6425 11654 case `arch` in 6426 11655 ppc) 6427 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&511656 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5 6428 11657 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 6429 if ${tcl_cv_cc_arch_ppc64+:} false; then :11658 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then 6430 11659 $as_echo_n "(cached) " >&6 6431 11660 else … … 6433 11662 hold_cflags=$CFLAGS 6434 11663 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 6435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11664 cat >conftest.$ac_ext <<_ACEOF 11665 /* confdefs.h. */ 11666 _ACEOF 11667 cat confdefs.h >>conftest.$ac_ext 11668 cat >>conftest.$ac_ext <<_ACEOF 6436 11669 /* end confdefs.h. */ 6437 11670 … … 6444 11677 } 6445 11678 _ACEOF 6446 if ac_fn_cxx_try_link "$LINENO"; then : 11679 rm -f conftest.$ac_objext conftest$ac_exeext 11680 if { (ac_try="$ac_link" 11681 case "(($ac_try" in 11682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11683 *) ac_try_echo=$ac_try;; 11684 esac 11685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11686 $as_echo "$ac_try_echo") >&5 11687 (eval "$ac_link") 2>conftest.er1 11688 ac_status=$? 11689 grep -v '^ *+' conftest.er1 >conftest.err 11690 rm -f conftest.er1 11691 cat conftest.err >&5 11692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11693 (exit $ac_status); } && { 11694 test -z "$ac_cxx_werror_flag" || 11695 test ! -s conftest.err 11696 } && test -s conftest$ac_exeext && { 11697 test "$cross_compiling" = yes || 11698 $as_test_x conftest$ac_exeext 11699 }; then 6447 11700 tcl_cv_cc_arch_ppc64=yes 6448 11701 else 6449 tcl_cv_cc_arch_ppc64=no 6450 fi 6451 rm -f core conftest.err conftest.$ac_objext \ 6452 conftest$ac_exeext conftest.$ac_ext 11702 $as_echo "$as_me: failed program was:" >&5 11703 sed 's/^/| /' conftest.$ac_ext >&5 11704 11705 tcl_cv_cc_arch_ppc64=no 11706 fi 11707 11708 rm -rf conftest.dSYM 11709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11710 conftest$ac_exeext conftest.$ac_ext 6453 11711 CFLAGS=$hold_cflags 6454 11712 fi 6455 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&511713 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5 6456 11714 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 6457 11715 if test $tcl_cv_cc_arch_ppc64 = yes; then … … 6460 11718 fi;; 6461 11719 i386) 6462 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&511720 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5 6463 11721 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 6464 if ${tcl_cv_cc_arch_x86_64+:} false; then :11722 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then 6465 11723 $as_echo_n "(cached) " >&6 6466 11724 else … … 6468 11726 hold_cflags=$CFLAGS 6469 11727 CFLAGS="$CFLAGS -arch x86_64" 6470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11728 cat >conftest.$ac_ext <<_ACEOF 11729 /* confdefs.h. */ 11730 _ACEOF 11731 cat confdefs.h >>conftest.$ac_ext 11732 cat >>conftest.$ac_ext <<_ACEOF 6471 11733 /* end confdefs.h. */ 6472 11734 … … 6479 11741 } 6480 11742 _ACEOF 6481 if ac_fn_cxx_try_link "$LINENO"; then : 11743 rm -f conftest.$ac_objext conftest$ac_exeext 11744 if { (ac_try="$ac_link" 11745 case "(($ac_try" in 11746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11747 *) ac_try_echo=$ac_try;; 11748 esac 11749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11750 $as_echo "$ac_try_echo") >&5 11751 (eval "$ac_link") 2>conftest.er1 11752 ac_status=$? 11753 grep -v '^ *+' conftest.er1 >conftest.err 11754 rm -f conftest.er1 11755 cat conftest.err >&5 11756 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11757 (exit $ac_status); } && { 11758 test -z "$ac_cxx_werror_flag" || 11759 test ! -s conftest.err 11760 } && test -s conftest$ac_exeext && { 11761 test "$cross_compiling" = yes || 11762 $as_test_x conftest$ac_exeext 11763 }; then 6482 11764 tcl_cv_cc_arch_x86_64=yes 6483 11765 else 6484 tcl_cv_cc_arch_x86_64=no 6485 fi 6486 rm -f core conftest.err conftest.$ac_objext \ 6487 conftest$ac_exeext conftest.$ac_ext 11766 $as_echo "$as_me: failed program was:" >&5 11767 sed 's/^/| /' conftest.$ac_ext >&5 11768 11769 tcl_cv_cc_arch_x86_64=no 11770 fi 11771 11772 rm -rf conftest.dSYM 11773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11774 conftest$ac_exeext conftest.$ac_ext 6488 11775 CFLAGS=$hold_cflags 6489 11776 fi 6490 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&511777 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5 6491 11778 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 6492 11779 if test $tcl_cv_cc_arch_x86_64 = yes; then … … 6495 11782 fi;; 6496 11783 *) 6497 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&511784 { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 6498 11785 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 6499 11786 esac … … 6505 11792 fi 6506 11793 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 6507 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&511794 { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5 6508 11795 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 6509 if ${tcl_cv_ld_single_module+:} false; then :11796 if test "${tcl_cv_ld_single_module+set}" = set; then 6510 11797 $as_echo_n "(cached) " >&6 6511 11798 else … … 6513 11800 hold_ldflags=$LDFLAGS 6514 11801 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 6515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11802 cat >conftest.$ac_ext <<_ACEOF 11803 /* confdefs.h. */ 11804 _ACEOF 11805 cat confdefs.h >>conftest.$ac_ext 11806 cat >>conftest.$ac_ext <<_ACEOF 6516 11807 /* end confdefs.h. */ 6517 11808 … … 6524 11815 } 6525 11816 _ACEOF 6526 if ac_fn_cxx_try_link "$LINENO"; then : 11817 rm -f conftest.$ac_objext conftest$ac_exeext 11818 if { (ac_try="$ac_link" 11819 case "(($ac_try" in 11820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11821 *) ac_try_echo=$ac_try;; 11822 esac 11823 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11824 $as_echo "$ac_try_echo") >&5 11825 (eval "$ac_link") 2>conftest.er1 11826 ac_status=$? 11827 grep -v '^ *+' conftest.er1 >conftest.err 11828 rm -f conftest.er1 11829 cat conftest.err >&5 11830 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11831 (exit $ac_status); } && { 11832 test -z "$ac_cxx_werror_flag" || 11833 test ! -s conftest.err 11834 } && test -s conftest$ac_exeext && { 11835 test "$cross_compiling" = yes || 11836 $as_test_x conftest$ac_exeext 11837 }; then 6527 11838 tcl_cv_ld_single_module=yes 6528 11839 else 6529 tcl_cv_ld_single_module=no 6530 fi 6531 rm -f core conftest.err conftest.$ac_objext \ 6532 conftest$ac_exeext conftest.$ac_ext 11840 $as_echo "$as_me: failed program was:" >&5 11841 sed 's/^/| /' conftest.$ac_ext >&5 11842 11843 tcl_cv_ld_single_module=no 11844 fi 11845 11846 rm -rf conftest.dSYM 11847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11848 conftest$ac_exeext conftest.$ac_ext 6533 11849 LDFLAGS=$hold_ldflags 6534 11850 fi 6535 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&511851 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5 6536 11852 $as_echo "$tcl_cv_ld_single_module" >&6; } 6537 11853 if test $tcl_cv_ld_single_module = yes; then … … 6547 11863 LDFLAGS="$LDFLAGS -prebind" 6548 11864 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 6549 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&511865 { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5 6550 11866 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 6551 if ${tcl_cv_ld_search_paths_first+:} false; then :11867 if test "${tcl_cv_ld_search_paths_first+set}" = set; then 6552 11868 $as_echo_n "(cached) " >&6 6553 11869 else … … 6555 11871 hold_ldflags=$LDFLAGS 6556 11872 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 6557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11873 cat >conftest.$ac_ext <<_ACEOF 11874 /* confdefs.h. */ 11875 _ACEOF 11876 cat confdefs.h >>conftest.$ac_ext 11877 cat >>conftest.$ac_ext <<_ACEOF 6558 11878 /* end confdefs.h. */ 6559 11879 … … 6566 11886 } 6567 11887 _ACEOF 6568 if ac_fn_cxx_try_link "$LINENO"; then : 11888 rm -f conftest.$ac_objext conftest$ac_exeext 11889 if { (ac_try="$ac_link" 11890 case "(($ac_try" in 11891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11892 *) ac_try_echo=$ac_try;; 11893 esac 11894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11895 $as_echo "$ac_try_echo") >&5 11896 (eval "$ac_link") 2>conftest.er1 11897 ac_status=$? 11898 grep -v '^ *+' conftest.er1 >conftest.err 11899 rm -f conftest.er1 11900 cat conftest.err >&5 11901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11902 (exit $ac_status); } && { 11903 test -z "$ac_cxx_werror_flag" || 11904 test ! -s conftest.err 11905 } && test -s conftest$ac_exeext && { 11906 test "$cross_compiling" = yes || 11907 $as_test_x conftest$ac_exeext 11908 }; then 6569 11909 tcl_cv_ld_search_paths_first=yes 6570 11910 else 6571 tcl_cv_ld_search_paths_first=no 6572 fi 6573 rm -f core conftest.err conftest.$ac_objext \ 6574 conftest$ac_exeext conftest.$ac_ext 11911 $as_echo "$as_me: failed program was:" >&5 11912 sed 's/^/| /' conftest.$ac_ext >&5 11913 11914 tcl_cv_ld_search_paths_first=no 11915 fi 11916 11917 rm -rf conftest.dSYM 11918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11919 conftest$ac_exeext conftest.$ac_ext 6575 11920 LDFLAGS=$hold_ldflags 6576 11921 fi 6577 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&511922 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5 6578 11923 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 6579 11924 if test $tcl_cv_ld_search_paths_first = yes; then … … 6585 11930 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 6586 11931 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 6587 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether to use CoreFoundation" >&511932 { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5 6588 11933 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 6589 11934 # Check whether --enable-corefoundation was given. 6590 if test "${enable_corefoundation+set}" = set; then :11935 if test "${enable_corefoundation+set}" = set; then 6591 11936 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 6592 11937 else … … 6594 11939 fi 6595 11940 6596 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_corefoundation" >&511941 { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5 6597 11942 $as_echo "$tcl_corefoundation" >&6; } 6598 11943 if test $tcl_corefoundation = yes; then 6599 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for CoreFoundation.framework" >&511944 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5 6600 11945 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 6601 if ${tcl_cv_lib_corefoundation+:} false; then :11946 if test "${tcl_cv_lib_corefoundation+set}" = set; then 6602 11947 $as_echo_n "(cached) " >&6 6603 11948 else … … 6611 11956 done; fi 6612 11957 LIBS="$LIBS -framework CoreFoundation" 6613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11958 cat >conftest.$ac_ext <<_ACEOF 11959 /* confdefs.h. */ 11960 _ACEOF 11961 cat confdefs.h >>conftest.$ac_ext 11962 cat >>conftest.$ac_ext <<_ACEOF 6614 11963 /* end confdefs.h. */ 6615 11964 #include <CoreFoundation/CoreFoundation.h> … … 6622 11971 } 6623 11972 _ACEOF 6624 if ac_fn_cxx_try_link "$LINENO"; then : 11973 rm -f conftest.$ac_objext conftest$ac_exeext 11974 if { (ac_try="$ac_link" 11975 case "(($ac_try" in 11976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11977 *) ac_try_echo=$ac_try;; 11978 esac 11979 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11980 $as_echo "$ac_try_echo") >&5 11981 (eval "$ac_link") 2>conftest.er1 11982 ac_status=$? 11983 grep -v '^ *+' conftest.er1 >conftest.err 11984 rm -f conftest.er1 11985 cat conftest.err >&5 11986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11987 (exit $ac_status); } && { 11988 test -z "$ac_cxx_werror_flag" || 11989 test ! -s conftest.err 11990 } && test -s conftest$ac_exeext && { 11991 test "$cross_compiling" = yes || 11992 $as_test_x conftest$ac_exeext 11993 }; then 6625 11994 tcl_cv_lib_corefoundation=yes 6626 11995 else 6627 tcl_cv_lib_corefoundation=no 6628 fi 6629 rm -f core conftest.err conftest.$ac_objext \ 6630 conftest$ac_exeext conftest.$ac_ext 11996 $as_echo "$as_me: failed program was:" >&5 11997 sed 's/^/| /' conftest.$ac_ext >&5 11998 11999 tcl_cv_lib_corefoundation=no 12000 fi 12001 12002 rm -rf conftest.dSYM 12003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12004 conftest$ac_exeext conftest.$ac_ext 6631 12005 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 6632 12006 eval $v'="$hold_'$v'"' 6633 12007 done; fi; LIBS=$hold_libs 6634 12008 fi 6635 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&512009 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5 6636 12010 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 6637 12011 if test $tcl_cv_lib_corefoundation = yes; then 6638 12012 LIBS="$LIBS -framework CoreFoundation" 6639 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 12013 cat >>confdefs.h <<\_ACEOF 12014 #define HAVE_COREFOUNDATION 1 12015 _ACEOF 6640 12016 6641 12017 else … … 6643 12019 fi 6644 12020 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 6645 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&512021 { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5 6646 12022 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 6647 if ${tcl_cv_lib_corefoundation_64+:} false; then :12023 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then 6648 12024 $as_echo_n "(cached) " >&6 6649 12025 else … … 6652 12028 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 6653 12029 done 6654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12030 cat >conftest.$ac_ext <<_ACEOF 12031 /* confdefs.h. */ 12032 _ACEOF 12033 cat confdefs.h >>conftest.$ac_ext 12034 cat >>conftest.$ac_ext <<_ACEOF 6655 12035 /* end confdefs.h. */ 6656 12036 #include <CoreFoundation/CoreFoundation.h> … … 6663 12043 } 6664 12044 _ACEOF 6665 if ac_fn_cxx_try_link "$LINENO"; then : 12045 rm -f conftest.$ac_objext conftest$ac_exeext 12046 if { (ac_try="$ac_link" 12047 case "(($ac_try" in 12048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12049 *) ac_try_echo=$ac_try;; 12050 esac 12051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12052 $as_echo "$ac_try_echo") >&5 12053 (eval "$ac_link") 2>conftest.er1 12054 ac_status=$? 12055 grep -v '^ *+' conftest.er1 >conftest.err 12056 rm -f conftest.er1 12057 cat conftest.err >&5 12058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12059 (exit $ac_status); } && { 12060 test -z "$ac_cxx_werror_flag" || 12061 test ! -s conftest.err 12062 } && test -s conftest$ac_exeext && { 12063 test "$cross_compiling" = yes || 12064 $as_test_x conftest$ac_exeext 12065 }; then 6666 12066 tcl_cv_lib_corefoundation_64=yes 6667 12067 else 6668 tcl_cv_lib_corefoundation_64=no 6669 fi 6670 rm -f core conftest.err conftest.$ac_objext \ 6671 conftest$ac_exeext conftest.$ac_ext 12068 $as_echo "$as_me: failed program was:" >&5 12069 sed 's/^/| /' conftest.$ac_ext >&5 12070 12071 tcl_cv_lib_corefoundation_64=no 12072 fi 12073 12074 rm -rf conftest.dSYM 12075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12076 conftest$ac_exeext conftest.$ac_ext 6672 12077 for v in CFLAGS CPPFLAGS LDFLAGS; do 6673 12078 eval $v'="$hold_'$v'"' 6674 12079 done 6675 12080 fi 6676 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&512081 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5 6677 12082 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 6678 12083 if test $tcl_cv_lib_corefoundation_64 = no; then 6679 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 12084 cat >>confdefs.h <<\_ACEOF 12085 #define NO_COREFOUNDATION_64 1 12086 _ACEOF 6680 12087 6681 12088 fi 6682 12089 fi 6683 12090 fi 6684 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 12091 cat >>confdefs.h <<\_ACEOF 12092 #define MAC_OSX_TCL 1 12093 _ACEOF 6685 12094 6686 12095 ;; … … 6697 12106 OS/390-*) 6698 12107 CFLAGS_OPTIMIZE="" # Optimizer is buggy 6699 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 12108 cat >>confdefs.h <<\_ACEOF 12109 #define _OE_SOCKETS 1 12110 _ACEOF 6700 12111 # needed in sys/socket.h 6701 12112 ;; … … 6838 12249 # won't define thread-safe library routines. 6839 12250 6840 $as_echo "#define _REENTRANT 1" >>confdefs.h 6841 6842 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 12251 cat >>confdefs.h <<\_ACEOF 12252 #define _REENTRANT 1 12253 _ACEOF 12254 12255 cat >>confdefs.h <<\_ACEOF 12256 #define _POSIX_PTHREAD_SEMANTICS 1 12257 _ACEOF 6843 12258 6844 12259 … … 6866 12281 # won't define thread-safe library routines. 6867 12282 6868 $as_echo "#define _REENTRANT 1" >>confdefs.h 6869 6870 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 12283 cat >>confdefs.h <<\_ACEOF 12284 #define _REENTRANT 1 12285 _ACEOF 12286 12287 cat >>confdefs.h <<\_ACEOF 12288 #define _POSIX_PTHREAD_SEMANTICS 1 12289 _ACEOF 6871 12290 6872 12291 … … 6879 12298 if test "$GCC" = "yes" ; then 6880 12299 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 6881 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&512300 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 6882 12301 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 6883 12302 else … … 6901 12320 elif test "$arch" = "amd64 i386" ; then 6902 12321 if test "$GCC" = "yes" ; then 6903 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&512322 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 6904 12323 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 6905 12324 else … … 6909 12328 fi 6910 12329 else 6911 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&512330 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5 6912 12331 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 6913 12332 fi … … 6968 12387 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 6969 12388 # that don't grok the -Bexport option. Test that it does. 6970 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&512389 { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5 6971 12390 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 6972 if ${tcl_cv_ld_Bexport+:} false; then :12391 if test "${tcl_cv_ld_Bexport+set}" = set; then 6973 12392 $as_echo_n "(cached) " >&6 6974 12393 else … … 6976 12395 hold_ldflags=$LDFLAGS 6977 12396 LDFLAGS="$LDFLAGS -Wl,-Bexport" 6978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12397 cat >conftest.$ac_ext <<_ACEOF 12398 /* confdefs.h. */ 12399 _ACEOF 12400 cat confdefs.h >>conftest.$ac_ext 12401 cat >>conftest.$ac_ext <<_ACEOF 6979 12402 /* end confdefs.h. */ 6980 12403 … … 6987 12410 } 6988 12411 _ACEOF 6989 if ac_fn_cxx_try_link "$LINENO"; then : 12412 rm -f conftest.$ac_objext conftest$ac_exeext 12413 if { (ac_try="$ac_link" 12414 case "(($ac_try" in 12415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12416 *) ac_try_echo=$ac_try;; 12417 esac 12418 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12419 $as_echo "$ac_try_echo") >&5 12420 (eval "$ac_link") 2>conftest.er1 12421 ac_status=$? 12422 grep -v '^ *+' conftest.er1 >conftest.err 12423 rm -f conftest.er1 12424 cat conftest.err >&5 12425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12426 (exit $ac_status); } && { 12427 test -z "$ac_cxx_werror_flag" || 12428 test ! -s conftest.err 12429 } && test -s conftest$ac_exeext && { 12430 test "$cross_compiling" = yes || 12431 $as_test_x conftest$ac_exeext 12432 }; then 6990 12433 tcl_cv_ld_Bexport=yes 6991 12434 else 6992 tcl_cv_ld_Bexport=no 6993 fi 6994 rm -f core conftest.err conftest.$ac_objext \ 6995 conftest$ac_exeext conftest.$ac_ext 12435 $as_echo "$as_me: failed program was:" >&5 12436 sed 's/^/| /' conftest.$ac_ext >&5 12437 12438 tcl_cv_ld_Bexport=no 12439 fi 12440 12441 rm -rf conftest.dSYM 12442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12443 conftest$ac_exeext conftest.$ac_ext 6996 12444 LDFLAGS=$hold_ldflags 6997 12445 fi 6998 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&512446 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5 6999 12447 $as_echo "$tcl_cv_ld_Bexport" >&6; } 7000 12448 if test $tcl_cv_ld_Bexport = yes; then … … 7007 12455 7008 12456 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 7009 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&512457 { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 7010 12458 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 7011 12459 fi … … 7034 12482 7035 12483 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 7036 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking sys/exec.h" >&512484 { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5 7037 12485 $as_echo_n "checking sys/exec.h... " >&6; } 7038 if ${tcl_cv_sysexec_h+:} false; then :12486 if test "${tcl_cv_sysexec_h+set}" = set; then 7039 12487 $as_echo_n "(cached) " >&6 7040 12488 else 7041 12489 7042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12490 cat >conftest.$ac_ext <<_ACEOF 12491 /* confdefs.h. */ 12492 _ACEOF 12493 cat confdefs.h >>conftest.$ac_ext 12494 cat >>conftest.$ac_ext <<_ACEOF 7043 12495 /* end confdefs.h. */ 7044 12496 #include <sys/exec.h> … … 7062 12514 } 7063 12515 _ACEOF 7064 if ac_fn_cxx_try_compile "$LINENO"; then : 12516 rm -f conftest.$ac_objext 12517 if { (ac_try="$ac_compile" 12518 case "(($ac_try" in 12519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12520 *) ac_try_echo=$ac_try;; 12521 esac 12522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12523 $as_echo "$ac_try_echo") >&5 12524 (eval "$ac_compile") 2>conftest.er1 12525 ac_status=$? 12526 grep -v '^ *+' conftest.er1 >conftest.err 12527 rm -f conftest.er1 12528 cat conftest.err >&5 12529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12530 (exit $ac_status); } && { 12531 test -z "$ac_cxx_werror_flag" || 12532 test ! -s conftest.err 12533 } && test -s conftest.$ac_objext; then 7065 12534 tcl_cv_sysexec_h=usable 7066 12535 else 7067 tcl_cv_sysexec_h=unusable 7068 fi 12536 $as_echo "$as_me: failed program was:" >&5 12537 sed 's/^/| /' conftest.$ac_ext >&5 12538 12539 tcl_cv_sysexec_h=unusable 12540 fi 12541 7069 12542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7070 12543 fi 7071 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&512544 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5 7072 12545 $as_echo "$tcl_cv_sysexec_h" >&6; } 7073 12546 if test $tcl_cv_sysexec_h = usable; then 7074 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 12547 cat >>confdefs.h <<\_ACEOF 12548 #define USE_SYS_EXEC_H 1 12549 _ACEOF 7075 12550 7076 12551 else 7077 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking a.out.h" >&512552 { $as_echo "$as_me:$LINENO: checking a.out.h" >&5 7078 12553 $as_echo_n "checking a.out.h... " >&6; } 7079 if ${tcl_cv_aout_h+:} false; then :12554 if test "${tcl_cv_aout_h+set}" = set; then 7080 12555 $as_echo_n "(cached) " >&6 7081 12556 else 7082 12557 7083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12558 cat >conftest.$ac_ext <<_ACEOF 12559 /* confdefs.h. */ 12560 _ACEOF 12561 cat confdefs.h >>conftest.$ac_ext 12562 cat >>conftest.$ac_ext <<_ACEOF 7084 12563 /* end confdefs.h. */ 7085 12564 #include <a.out.h> … … 7103 12582 } 7104 12583 _ACEOF 7105 if ac_fn_cxx_try_compile "$LINENO"; then : 12584 rm -f conftest.$ac_objext 12585 if { (ac_try="$ac_compile" 12586 case "(($ac_try" in 12587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12588 *) ac_try_echo=$ac_try;; 12589 esac 12590 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12591 $as_echo "$ac_try_echo") >&5 12592 (eval "$ac_compile") 2>conftest.er1 12593 ac_status=$? 12594 grep -v '^ *+' conftest.er1 >conftest.err 12595 rm -f conftest.er1 12596 cat conftest.err >&5 12597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12598 (exit $ac_status); } && { 12599 test -z "$ac_cxx_werror_flag" || 12600 test ! -s conftest.err 12601 } && test -s conftest.$ac_objext; then 7106 12602 tcl_cv_aout_h=usable 7107 12603 else 7108 tcl_cv_aout_h=unusable 7109 fi 12604 $as_echo "$as_me: failed program was:" >&5 12605 sed 's/^/| /' conftest.$ac_ext >&5 12606 12607 tcl_cv_aout_h=unusable 12608 fi 12609 7110 12610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7111 12611 fi 7112 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&512612 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5 7113 12613 $as_echo "$tcl_cv_aout_h" >&6; } 7114 12614 if test $tcl_cv_aout_h = usable; then 7115 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 12615 cat >>confdefs.h <<\_ACEOF 12616 #define USE_A_OUT_H 1 12617 _ACEOF 7116 12618 7117 12619 else 7118 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking sys/exec_aout.h" >&512620 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 7119 12621 $as_echo_n "checking sys/exec_aout.h... " >&6; } 7120 if ${tcl_cv_sysexecaout_h+:} false; then :12622 if test "${tcl_cv_sysexecaout_h+set}" = set; then 7121 12623 $as_echo_n "(cached) " >&6 7122 12624 else 7123 12625 7124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12626 cat >conftest.$ac_ext <<_ACEOF 12627 /* confdefs.h. */ 12628 _ACEOF 12629 cat confdefs.h >>conftest.$ac_ext 12630 cat >>conftest.$ac_ext <<_ACEOF 7125 12631 /* end confdefs.h. */ 7126 12632 #include <sys/exec_aout.h> … … 7144 12650 } 7145 12651 _ACEOF 7146 if ac_fn_cxx_try_compile "$LINENO"; then : 12652 rm -f conftest.$ac_objext 12653 if { (ac_try="$ac_compile" 12654 case "(($ac_try" in 12655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12656 *) ac_try_echo=$ac_try;; 12657 esac 12658 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12659 $as_echo "$ac_try_echo") >&5 12660 (eval "$ac_compile") 2>conftest.er1 12661 ac_status=$? 12662 grep -v '^ *+' conftest.er1 >conftest.err 12663 rm -f conftest.er1 12664 cat conftest.err >&5 12665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12666 (exit $ac_status); } && { 12667 test -z "$ac_cxx_werror_flag" || 12668 test ! -s conftest.err 12669 } && test -s conftest.$ac_objext; then 7147 12670 tcl_cv_sysexecaout_h=usable 7148 12671 else 7149 tcl_cv_sysexecaout_h=unusable 7150 fi 12672 $as_echo "$as_me: failed program was:" >&5 12673 sed 's/^/| /' conftest.$ac_ext >&5 12674 12675 tcl_cv_sysexecaout_h=unusable 12676 fi 12677 7151 12678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7152 12679 fi 7153 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&512680 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5 7154 12681 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 7155 12682 if test $tcl_cv_sysexecaout_h = usable; then 7156 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 12683 cat >>confdefs.h <<\_ACEOF 12684 #define USE_SYS_EXEC_AOUT_H 1 12685 _ACEOF 7157 12686 7158 12687 else … … 7166 12695 7167 12696 # Check whether --enable-load was given. 7168 if test "${enable_load+set}" = set; then :12697 if test "${enable_load+set}" = set; then 7169 12698 enableval=$enable_load; tcl_ok=$enableval 7170 12699 else … … 7299 12828 done 7300 12829 if test "x${make_command}" = "x" ; then 7301 as_fn_error $? "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5 12830 { { $as_echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5 12831 $as_echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;} 12832 { (exit 1); exit 1; }; } 7302 12833 fi 7303 12834 7304 12835 # Check whether --enable-gui was given. 7305 if test "${enable_gui+set}" = set; then :12836 if test "${enable_gui+set}" = set; then 7306 12837 enableval=$enable_gui; 7307 12838 else … … 7328 12859 7329 12860 # Check whether --with-ffmpeg was given. 7330 if test "${with_ffmpeg+set}" = set; then :12861 if test "${with_ffmpeg+set}" = set; then 7331 12862 withval=$with_ffmpeg; 7332 12863 else … … 7337 12868 7338 12869 # Check whether --with-tclsh was given. 7339 if test "${with_tclsh+set}" = set; then :12870 if test "${with_tclsh+set}" = set; then 7340 12871 withval=$with_tclsh; 7341 12872 else … … 7350 12881 # Extract the first word of "${tclsh}", so it can be a program name with args. 7351 12882 set dummy ${tclsh}; ac_word=$2 7352 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&512883 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7353 12884 $as_echo_n "checking for $ac_word... " >&6; } 7354 if ${ac_cv_path_TCLSH+:} false; then :12885 if test "${ac_cv_path_TCLSH+set}" = set; then 7355 12886 $as_echo_n "(cached) " >&6 7356 12887 else … … 7366 12897 IFS=$as_save_IFS 7367 12898 test -z "$as_dir" && as_dir=. 7368 7369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then12899 for ac_exec_ext in '' $ac_executable_extensions; do 12900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7370 12901 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 7371 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512902 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7372 12903 break 2 7373 12904 fi 7374 12905 done 7375 12906 done 7376 12907 IFS=$as_save_IFS 7377 12908 … … 7381 12912 TCLSH=$ac_cv_path_TCLSH 7382 12913 if test -n "$TCLSH"; then 7383 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $TCLSH" >&512914 { $as_echo "$as_me:$LINENO: result: $TCLSH" >&5 7384 12915 $as_echo "$TCLSH" >&6; } 7385 12916 else 7386 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&512917 { $as_echo "$as_me:$LINENO: result: no" >&5 7387 12918 $as_echo "no" >&6; } 7388 12919 fi … … 7392 12923 # Extract the first word of "${tclsh}", so it can be a program name with args. 7393 12924 set dummy ${tclsh}; ac_word=$2 7394 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&512925 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7395 12926 $as_echo_n "checking for $ac_word... " >&6; } 7396 if ${ac_cv_path_TCLSH+:} false; then :12927 if test "${ac_cv_path_TCLSH+set}" = set; then 7397 12928 $as_echo_n "(cached) " >&6 7398 12929 else … … 7408 12939 IFS=$as_save_IFS 7409 12940 test -z "$as_dir" && as_dir=. 7410 7411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then12941 for ac_exec_ext in '' $ac_executable_extensions; do 12942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7412 12943 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 7413 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512944 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7414 12945 break 2 7415 12946 fi 7416 12947 done 7417 12948 done 7418 12949 IFS=$as_save_IFS 7419 12950 … … 7423 12954 TCLSH=$ac_cv_path_TCLSH 7424 12955 if test -n "$TCLSH"; then 7425 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $TCLSH" >&512956 { $as_echo "$as_me:$LINENO: result: $TCLSH" >&5 7426 12957 $as_echo "$TCLSH" >&6; } 7427 12958 else 7428 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&512959 { $as_echo "$as_me:$LINENO: result: no" >&5 7429 12960 $as_echo "no" >&6; } 7430 12961 fi … … 7433 12964 fi 7434 12965 if test "x${TCLSH}" = "x" ; then 7435 as_fn_error $? "can't find tclsh" "$LINENO" 5 12966 { { $as_echo "$as_me:$LINENO: error: can't find tclsh" >&5 12967 $as_echo "$as_me: error: can't find tclsh" >&2;} 12968 { (exit 1); exit 1; }; } 7436 12969 fi 7437 12970 fi … … 7442 12975 7443 12976 # Check whether --with-vtk was given. 7444 if test "${with_vtk+set}" = set; then :12977 if test "${with_vtk+set}" = set; then 7445 12978 withval=$with_vtk; 7446 12979 else … … 7449 12982 7450 12983 7451 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for vtk" >&512984 { $as_echo "$as_me:$LINENO: checking for vtk" >&5 7452 12985 $as_echo_n "checking for vtk... " >&6; } 7453 12986 VTKDIR="" … … 7473 13006 fi 7474 13007 fi 7475 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $VTKDIR" >&513008 { $as_echo "$as_me:$LINENO: result: $VTKDIR" >&5 7476 13009 $as_echo "$VTKDIR" >&6; } 7477 13010 … … 7479 13012 7480 13013 # Check whether --with-matlab was given. 7481 if test "${with_matlab+set}" = set; then :13014 if test "${with_matlab+set}" = set; then 7482 13015 withval=$with_matlab; 7483 13016 else … … 7495 13028 # Extract the first word of "matlab", so it can be a program name with args. 7496 13029 set dummy matlab; ac_word=$2 7497 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&513030 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7498 13031 $as_echo_n "checking for $ac_word... " >&6; } 7499 if ${ac_cv_path_MATLAB+:} false; then :13032 if test "${ac_cv_path_MATLAB+set}" = set; then 7500 13033 $as_echo_n "(cached) " >&6 7501 13034 else … … 7510 13043 IFS=$as_save_IFS 7511 13044 test -z "$as_dir" && as_dir=. 7512 7513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then13045 for ac_exec_ext in '' $ac_executable_extensions; do 13046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7514 13047 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 7515 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&513048 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7516 13049 break 2 7517 13050 fi 7518 13051 done 7519 13052 done 7520 13053 IFS=$as_save_IFS 7521 13054 … … 7525 13058 MATLAB=$ac_cv_path_MATLAB 7526 13059 if test -n "$MATLAB"; then 7527 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $MATLAB" >&513060 { $as_echo "$as_me:$LINENO: result: $MATLAB" >&5 7528 13061 $as_echo "$MATLAB" >&6; } 7529 13062 else 7530 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&513063 { $as_echo "$as_me:$LINENO: result: no" >&5 7531 13064 $as_echo "no" >&6; } 7532 13065 fi … … 7536 13069 # Extract the first word of "matlab", so it can be a program name with args. 7537 13070 set dummy matlab; ac_word=$2 7538 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&513071 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7539 13072 $as_echo_n "checking for $ac_word... " >&6; } 7540 if ${ac_cv_path_MATLAB+:} false; then :13073 if test "${ac_cv_path_MATLAB+set}" = set; then 7541 13074 $as_echo_n "(cached) " >&6 7542 13075 else … … 7552 13085 IFS=$as_save_IFS 7553 13086 test -z "$as_dir" && as_dir=. 7554 7555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then13087 for ac_exec_ext in '' $ac_executable_extensions; do 13088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7556 13089 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 7557 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&513090 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7558 13091 break 2 7559 13092 fi 7560 13093 done 7561 13094 done 7562 13095 IFS=$as_save_IFS 7563 13096 … … 7567 13100 MATLAB=$ac_cv_path_MATLAB 7568 13101 if test -n "$MATLAB"; then 7569 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $MATLAB" >&513102 { $as_echo "$as_me:$LINENO: result: $MATLAB" >&5 7570 13103 $as_echo "$MATLAB" >&6; } 7571 13104 else 7572 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&513105 { $as_echo "$as_me:$LINENO: result: no" >&5 7573 13106 $as_echo "no" >&6; } 7574 13107 fi … … 7587 13120 # Extract the first word of "mex", so it can be a program name with args. 7588 13121 set dummy mex; ac_word=$2 7589 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&513122 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7590 13123 $as_echo_n "checking for $ac_word... " >&6; } 7591 if ${ac_cv_path_MEX+:} false; then :13124 if test "${ac_cv_path_MEX+set}" = set; then 7592 13125 $as_echo_n "(cached) " >&6 7593 13126 else … … 7602 13135 IFS=$as_save_IFS 7603 13136 test -z "$as_dir" && as_dir=. 7604 7605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then13137 for ac_exec_ext in '' $ac_executable_extensions; do 13138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7606 13139 ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext" 7607 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&513140 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7608 13141 break 2 7609 13142 fi 7610 13143 done 7611 13144 done 7612 13145 IFS=$as_save_IFS 7613 13146 … … 7617 13150 MEX=$ac_cv_path_MEX 7618 13151 if test -n "$MEX"; then 7619 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $MEX" >&513152 { $as_echo "$as_me:$LINENO: result: $MEX" >&5 7620 13153 $as_echo "$MEX" >&6; } 7621 13154 else 7622 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&513155 { $as_echo "$as_me:$LINENO: result: no" >&5 7623 13156 $as_echo "no" >&6; } 7624 13157 fi … … 7627 13160 # Extract the first word of "mexext", so it can be a program name with args. 7628 13161 set dummy mexext; ac_word=$2 7629 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&513162 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7630 13163 $as_echo_n "checking for $ac_word... " >&6; } 7631 if ${ac_cv_path_MEXEXT+:} false; then :13164 if test "${ac_cv_path_MEXEXT+set}" = set; then 7632 13165 $as_echo_n "(cached) " >&6 7633 13166 else … … 7642 13175 IFS=$as_save_IFS 7643 13176 test -z "$as_dir" && as_dir=. 7644 7645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then13177 for ac_exec_ext in '' $ac_executable_extensions; do 13178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7646 13179 ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext" 7647 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&513180 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7648 13181 break 2 7649 13182 fi 7650 13183 done 7651 13184 done 7652 13185 IFS=$as_save_IFS 7653 13186 … … 7657 13190 MEXEXT=$ac_cv_path_MEXEXT 7658 13191 if test -n "$MEXEXT"; then 7659 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $MEXEXT" >&513192 { $as_echo "$as_me:$LINENO: result: $MEXEXT" >&5 7660 13193 $as_echo "$MEXEXT" >&6; } 7661 13194 else 7662 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&513195 { $as_echo "$as_me:$LINENO: result: no" >&5 7663 13196 $as_echo "no" >&6; } 7664 13197 fi … … 7667 13200 7668 13201 # Run "mexext" to get the expected module extension for this platform. 7669 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for mex extension" >&513202 { $as_echo "$as_me:$LINENO: checking for mex extension" >&5 7670 13203 $as_echo_n "checking for mex extension... " >&6; } 7671 13204 if test "x$MEXEXT" != "x" ; then … … 7674 13207 MEXEXT="mexglx" 7675 13208 fi 7676 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $MEXEXT" >&513209 { $as_echo "$as_me:$LINENO: result: $MEXEXT" >&5 7677 13210 $as_echo "$MEXEXT" >&6; } 7678 13211 # Extract the first word of "mcc", so it can be a program name with args. 7679 13212 set dummy mcc; ac_word=$2 7680 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&513213 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7681 13214 $as_echo_n "checking for $ac_word... " >&6; } 7682 if ${ac_cv_path_MCC+:} false; then :13215 if test "${ac_cv_path_MCC+set}" = set; then 7683 13216 $as_echo_n "(cached) " >&6 7684 13217 else … … 7693 13226 IFS=$as_save_IFS 7694 13227 test -z "$as_dir" && as_dir=. 7695 7696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then13228 for ac_exec_ext in '' $ac_executable_extensions; do 13229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7697 13230 ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext" 7698 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&513231 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7699 13232 break 2 7700 13233 fi 7701 13234 done 7702 13235 done 7703 13236 IFS=$as_save_IFS 7704 13237 … … 7708 13241 MCC=$ac_cv_path_MCC 7709 13242 if test -n "$MCC"; then 7710 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $MCC" >&513243 { $as_echo "$as_me:$LINENO: result: $MCC" >&5 7711 13244 $as_echo "$MCC" >&6; } 7712 13245 else 7713 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&513246 { $as_echo "$as_me:$LINENO: result: no" >&5 7714 13247 $as_echo "no" >&6; } 7715 13248 fi 7716 13249 7717 13250 7718 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for mcc extension" >&513251 { $as_echo "$as_me:$LINENO: checking for mcc extension" >&5 7719 13252 $as_echo_n "checking for mcc extension... " >&6; } 7720 13253 fi … … 7723 13256 7724 13257 # Check whether --with-octave was given. 7725 if test "${with_octave+set}" = set; then :13258 if test "${with_octave+set}" = set; then 7726 13259 withval=$with_octave; 7727 13260 else … … 7740 13273 # Extract the first word of "octave", so it can be a program name with args. 7741 13274 set dummy octave; ac_word=$2 7742 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&513275 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7743 13276 $as_echo_n "checking for $ac_word... " >&6; } 7744 if ${ac_cv_path_OCTAVE+:} false; then :13277 if test "${ac_cv_path_OCTAVE+set}" = set; then 7745 13278 $as_echo_n "(cached) " >&6 7746 13279 else … … 7755 13288 IFS=$as_save_IFS 7756 13289 test -z "$as_dir" && as_dir=. 7757 7758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then13290 for ac_exec_ext in '' $ac_executable_extensions; do 13291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7759 13292 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 7760 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&513293 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7761 13294 break 2 7762 13295 fi 7763 13296 done 7764 13297 done 7765 13298 IFS=$as_save_IFS 7766 13299 … … 7770 13303 OCTAVE=$ac_cv_path_OCTAVE 7771 13304 if test -n "$OCTAVE"; then 7772 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $OCTAVE" >&513305 { $as_echo "$as_me:$LINENO: result: $OCTAVE" >&5 7773 13306 $as_echo "$OCTAVE" >&6; } 7774 13307 else 7775 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&513308 { $as_echo "$as_me:$LINENO: result: no" >&5 7776 13309 $as_echo "no" >&6; } 7777 13310 fi … … 7780 13313 # Extract the first word of "mkoctfile", so it can be a program name with args. 7781 13314 set dummy mkoctfile; ac_word=$2 7782 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&513315 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7783 13316 $as_echo_n "checking for $ac_word... " >&6; } 7784 if ${ac_cv_path_MKOCTFILE+:} false; then :13317 if test "${ac_cv_path_MKOCTFILE+set}" = set; then 7785 13318 $as_echo_n "(cached) " >&6 7786 13319 else … … 7795 13328 IFS=$as_save_IFS 7796 13329 test -z "$as_dir" && as_dir=. 7797 7798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then13330 for ac_exec_ext in '' $ac_executable_extensions; do 13331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7799 13332 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 7800 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&513333 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7801 13334 break 2 7802 13335 fi 7803 13336 done 7804 13337 done 7805 13338 IFS=$as_save_IFS 7806 13339 … … 7810 13343 MKOCTFILE=$ac_cv_path_MKOCTFILE 7811 13344 if test -n "$MKOCTFILE"; then 7812 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $MKOCTFILE" >&513345 { $as_echo "$as_me:$LINENO: result: $MKOCTFILE" >&5 7813 13346 $as_echo "$MKOCTFILE" >&6; } 7814 13347 else 7815 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&513348 { $as_echo "$as_me:$LINENO: result: no" >&5 7816 13349 $as_echo "no" >&6; } 7817 13350 fi … … 7856 13389 7857 13390 # Check whether --with-mkoctfile3 was given. 7858 if test "${with_mkoctfile3+set}" = set; then :13391 if test "${with_mkoctfile3+set}" = set; then 7859 13392 withval=$with_mkoctfile3; 7860 13393 else … … 7867 13400 # Extract the first word of "mkoctfile", so it can be a program name with args. 7868 13401 set dummy mkoctfile; ac_word=$2 7869 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&513402 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7870 13403 $as_echo_n "checking for $ac_word... " >&6; } 7871 if ${ac_cv_path_mkoctfile3+:} false; then :13404 if test "${ac_cv_path_mkoctfile3+set}" = set; then 7872 13405 $as_echo_n "(cached) " >&6 7873 13406 else … … 7882 13415 IFS=$as_save_IFS 7883 13416 test -z "$as_dir" && as_dir=. 7884 7885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then13417 for ac_exec_ext in '' $ac_executable_extensions; do 13418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7886 13419 ac_cv_path_mkoctfile3="$as_dir/$ac_word$ac_exec_ext" 7887 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&513420 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7888 13421 break 2 7889 13422 fi 7890 13423 done 7891 13424 done 7892 13425 IFS=$as_save_IFS 7893 13426 … … 7897 13430 mkoctfile3=$ac_cv_path_mkoctfile3 7898 13431 if test -n "$mkoctfile3"; then 7899 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $mkoctfile3" >&513432 { $as_echo "$as_me:$LINENO: result: $mkoctfile3" >&5 7900 13433 $as_echo "$mkoctfile3" >&6; } 7901 13434 else 7902 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&513435 { $as_echo "$as_me:$LINENO: result: no" >&5 7903 13436 $as_echo "no" >&6; } 7904 13437 fi … … 7916 13449 7917 13450 # Check whether --with-mkoctfile2 was given. 7918 if test "${with_mkoctfile2+set}" = set; then :13451 if test "${with_mkoctfile2+set}" = set; then 7919 13452 withval=$with_mkoctfile2; 7920 13453 else … … 7927 13460 # Extract the first word of "mkoctfile", so it can be a program name with args. 7928 13461 set dummy mkoctfile; ac_word=$2 7929 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&513462 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7930 13463 $as_echo_n "checking for $ac_word... " >&6; } 7931 if ${ac_cv_path_mkoctfile2+:} false; then :13464 if test "${ac_cv_path_mkoctfile2+set}" = set; then 7932 13465 $as_echo_n "(cached) " >&6 7933 13466 else … … 7942 13475 IFS=$as_save_IFS 7943 13476 test -z "$as_dir" && as_dir=. 7944 7945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then13477 for ac_exec_ext in '' $ac_executable_extensions; do 13478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7946 13479 ac_cv_path_mkoctfile2="$as_dir/$ac_word$ac_exec_ext" 7947 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&513480 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7948 13481 break 2 7949 13482 fi 7950 13483 done 7951 13484 done 7952 13485 IFS=$as_save_IFS 7953 13486 … … 7957 13490 mkoctfile2=$ac_cv_path_mkoctfile2 7958 13491 if test -n "$mkoctfile2"; then 7959 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $mkoctfile2" >&513492 { $as_echo "$as_me:$LINENO: result: $mkoctfile2" >&5 7960 13493 $as_echo "$mkoctfile2" >&6; } 7961 13494 else 7962 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&513495 { $as_echo "$as_me:$LINENO: result: no" >&5 7963 13496 $as_echo "no" >&6; } 7964 13497 fi … … 7977 13510 7978 13511 # Check whether --with-perl was given. 7979 if test "${with_perl+set}" = set; then :13512 if test "${with_perl+set}" = set; then 7980 13513 withval=$with_perl; 7981 13514 else … … 8000 13533 # Extract the first word of "perl", so it can be a program name with args. 8001 13534 set dummy perl; ac_word=$2 8002 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&513535 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8003 13536 $as_echo_n "checking for $ac_word... " >&6; } 8004 if ${ac_cv_path_PERL+:} false; then :13537 if test "${ac_cv_path_PERL+set}" = set; then 8005 13538 $as_echo_n "(cached) " >&6 8006 13539 else … … 8016 13549 IFS=$as_save_IFS 8017 13550 test -z "$as_dir" && as_dir=. 8018 8019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then13551 for ac_exec_ext in '' $ac_executable_extensions; do 13552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8020 13553 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 8021 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&513554 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8022 13555 break 2 8023 13556 fi 8024 13557 done 8025 13558 done 8026 13559 IFS=$as_save_IFS 8027 13560 … … 8031 13564 PERL=$ac_cv_path_PERL 8032 13565 if test -n "$PERL"; then 8033 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PERL" >&513566 { $as_echo "$as_me:$LINENO: result: $PERL" >&5 8034 13567 $as_echo "$PERL" >&6; } 8035 13568 else 8036 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&513569 { $as_echo "$as_me:$LINENO: result: no" >&5 8037 13570 $as_echo "no" >&6; } 8038 13571 fi … … 8041 13574 # Extract the first word of "xsubpp", so it can be a program name with args. 8042 13575 set dummy xsubpp; ac_word=$2 8043 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&513576 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8044 13577 $as_echo_n "checking for $ac_word... " >&6; } 8045 if ${ac_cv_path_XSUBPP+:} false; then :13578 if test "${ac_cv_path_XSUBPP+set}" = set; then 8046 13579 $as_echo_n "(cached) " >&6 8047 13580 else … … 8057 13590 IFS=$as_save_IFS 8058 13591 test -z "$as_dir" && as_dir=. 8059 8060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then13592 for ac_exec_ext in '' $ac_executable_extensions; do 13593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8061 13594 ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext" 8062 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&513595 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8063 13596 break 2 8064 13597 fi 8065 13598 done 8066 13599 done 8067 13600 IFS=$as_save_IFS 8068 13601 … … 8072 13605 XSUBPP=$ac_cv_path_XSUBPP 8073 13606 if test -n "$XSUBPP"; then 8074 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $XSUBPP" >&513607 { $as_echo "$as_me:$LINENO: result: $XSUBPP" >&5 8075 13608 $as_echo "$XSUBPP" >&6; } 8076 13609 else 8077 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&513610 { $as_echo "$as_me:$LINENO: result: no" >&5 8078 13611 $as_echo "no" >&6; } 8079 13612 fi … … 8083 13616 # Extract the first word of "perl", so it can be a program name with args. 8084 13617 set dummy perl; ac_word=$2 8085 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&513618 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8086 13619 $as_echo_n "checking for $ac_word... " >&6; } 8087 if ${ac_cv_path_PERL+:} false; then :13620 if test "${ac_cv_path_PERL+set}" = set; then 8088 13621 $as_echo_n "(cached) " >&6 8089 13622 else … … 8098 13631 IFS=$as_save_IFS 8099 13632 test -z "$as_dir" && as_dir=. 8100 8101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then13633 for ac_exec_ext in '' $ac_executable_extensions; do 13634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8102 13635 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 8103 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&513636 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8104 13637 break 2 8105 13638 fi 8106 13639 done 8107 13640 done 8108 13641 IFS=$as_save_IFS 8109 13642 … … 8113 13646 PERL=$ac_cv_path_PERL 8114 13647 if test -n "$PERL"; then 8115 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PERL" >&513648 { $as_echo "$as_me:$LINENO: result: $PERL" >&5 8116 13649 $as_echo "$PERL" >&6; } 8117 13650 else 8118 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&513651 { $as_echo "$as_me:$LINENO: result: no" >&5 8119 13652 $as_echo "no" >&6; } 8120 13653 fi … … 8123 13656 # Extract the first word of "xsubpp", so it can be a program name with args. 8124 13657 set dummy xsubpp; ac_word=$2 8125 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&513658 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8126 13659 $as_echo_n "checking for $ac_word... " >&6; } 8127 if ${ac_cv_path_XSUBPP+:} false; then :13660 if test "${ac_cv_path_XSUBPP+set}" = set; then 8128 13661 $as_echo_n "(cached) " >&6 8129 13662 else … … 8138 13671 IFS=$as_save_IFS 8139 13672 test -z "$as_dir" && as_dir=. 8140 8141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then13673 for ac_exec_ext in '' $ac_executable_extensions; do 13674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8142 13675 ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext" 8143 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&513676 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8144 13677 break 2 8145 13678 fi 8146 13679 done 8147 13680 done 8148 13681 IFS=$as_save_IFS 8149 13682 … … 8153 13686 XSUBPP=$ac_cv_path_XSUBPP 8154 13687 if test -n "$XSUBPP"; then 8155 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $XSUBPP" >&513688 { $as_echo "$as_me:$LINENO: result: $XSUBPP" >&5 8156 13689 $as_echo "$XSUBPP" >&6; } 8157 13690 else 8158 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&513691 { $as_echo "$as_me:$LINENO: result: no" >&5 8159 13692 $as_echo "no" >&6; } 8160 13693 fi … … 8194 13727 8195 13728 # Check whether --with-python was given. 8196 if test "${with_python+set}" = set; then :13729 if test "${with_python+set}" = set; then 8197 13730 withval=$with_python; 8198 13731 else … … 8205 13738 # 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. 8206 13739 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 8207 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&513740 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8208 13741 $as_echo_n "checking for $ac_word... " >&6; } 8209 if ${ac_cv_path_PYTHON+:} false; then :13742 if test "${ac_cv_path_PYTHON+set}" = set; then 8210 13743 $as_echo_n "(cached) " >&6 8211 13744 else … … 8220 13753 IFS=$as_save_IFS 8221 13754 test -z "$as_dir" && as_dir=. 8222 8223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then13755 for ac_exec_ext in '' $ac_executable_extensions; do 13756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8224 13757 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 8225 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&513758 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8226 13759 break 2 8227 13760 fi 8228 13761 done 8229 13762 done 8230 13763 IFS=$as_save_IFS 8231 13764 … … 8235 13768 PYTHON=$ac_cv_path_PYTHON 8236 13769 if test -n "$PYTHON"; then 8237 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON" >&513770 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5 8238 13771 $as_echo "$PYTHON" >&6; } 8239 13772 else 8240 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&513773 { $as_echo "$as_me:$LINENO: result: no" >&5 8241 13774 $as_echo "no" >&6; } 8242 13775 fi … … 8246 13779 # Extract the first word of "python", so it can be a program name with args. 8247 13780 set dummy python; ac_word=$2 8248 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&513781 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8249 13782 $as_echo_n "checking for $ac_word... " >&6; } 8250 if ${ac_cv_path_PYTHON+:} false; then :13783 if test "${ac_cv_path_PYTHON+set}" = set; then 8251 13784 $as_echo_n "(cached) " >&6 8252 13785 else … … 8262 13795 IFS=$as_save_IFS 8263 13796 test -z "$as_dir" && as_dir=. 8264 8265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then13797 for ac_exec_ext in '' $ac_executable_extensions; do 13798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8266 13799 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 8267 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&513800 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8268 13801 break 2 8269 13802 fi 8270 13803 done 8271 13804 done 8272 13805 IFS=$as_save_IFS 8273 13806 … … 8277 13810 PYTHON=$ac_cv_path_PYTHON 8278 13811 if test -n "$PYTHON"; then 8279 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON" >&513812 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5 8280 13813 $as_echo "$PYTHON" >&6; } 8281 13814 else 8282 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&513815 { $as_echo "$as_me:$LINENO: result: no" >&5 8283 13816 $as_echo "no" >&6; } 8284 13817 fi … … 8286 13819 8287 13820 fi 8288 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for Python version" >&513821 { $as_echo "$as_me:$LINENO: checking for Python version" >&5 8289 13822 $as_echo_n "checking for Python version... " >&6; } 8290 13823 if test "x${PYTHON}" != "x"; then 8291 13824 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 8292 13825 fi 8293 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON_VERSION" >&513826 { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5 8294 13827 $as_echo "$PYTHON_VERSION" >&6; } 8295 13828 fi … … 8297 13830 if test "x${PYTHON_VERSION}" != "x"; then 8298 13831 PYTHON_INCLUDES=$incdir 8299 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for Python distutils" >&513832 { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5 8300 13833 $as_echo_n "checking for Python distutils... " >&6; } 8301 13834 PYTHON_DISTUTILS="" … … 8305 13838 PYTHON_DISTUTILS="yes" 8306 13839 fi 8307 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&513840 { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5 8308 13841 $as_echo "$PYTHON_DISTUTILS" >&6; } 8309 13842 if test "${PYTHON_DISTUTILS}" = "yes" ; then … … 8312 13845 # Check for Python include path 8313 13846 # 8314 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking path to Python headers" >&513847 { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5 8315 13848 $as_echo_n "checking path to Python headers... " >&6; } 8316 13849 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 8317 13850 print distutils.sysconfig.get_python_inc();"` 8318 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&513851 { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5 8319 13852 $as_echo "$PYTHON_INCDIR" >&6; } 8320 13853 # … … 8329 13862 save_CPPFLAGS=$CPPFLAGS 8330 13863 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 8331 for ac_header in Python.h 8332 do : 8333 ac_fn_cxx_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 8334 if test "x$ac_cv_header_Python_h" = xyes; then : 13864 13865 for ac_header in Python.h 13866 do 13867 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13868 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13869 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13870 $as_echo_n "checking for $ac_header... " >&6; } 13871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13872 $as_echo_n "(cached) " >&6 13873 fi 13874 ac_res=`eval 'as_val=${'$as_ac_Header'} 13875 $as_echo "$as_val"'` 13876 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13877 $as_echo "$ac_res" >&6; } 13878 else 13879 # Is the header compilable? 13880 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 13881 $as_echo_n "checking $ac_header usability... " >&6; } 13882 cat >conftest.$ac_ext <<_ACEOF 13883 /* confdefs.h. */ 13884 _ACEOF 13885 cat confdefs.h >>conftest.$ac_ext 13886 cat >>conftest.$ac_ext <<_ACEOF 13887 /* end confdefs.h. */ 13888 $ac_includes_default 13889 #include <$ac_header> 13890 _ACEOF 13891 rm -f conftest.$ac_objext 13892 if { (ac_try="$ac_compile" 13893 case "(($ac_try" in 13894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13895 *) ac_try_echo=$ac_try;; 13896 esac 13897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13898 $as_echo "$ac_try_echo") >&5 13899 (eval "$ac_compile") 2>conftest.er1 13900 ac_status=$? 13901 grep -v '^ *+' conftest.er1 >conftest.err 13902 rm -f conftest.er1 13903 cat conftest.err >&5 13904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13905 (exit $ac_status); } && { 13906 test -z "$ac_cxx_werror_flag" || 13907 test ! -s conftest.err 13908 } && test -s conftest.$ac_objext; then 13909 ac_header_compiler=yes 13910 else 13911 $as_echo "$as_me: failed program was:" >&5 13912 sed 's/^/| /' conftest.$ac_ext >&5 13913 13914 ac_header_compiler=no 13915 fi 13916 13917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13918 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13919 $as_echo "$ac_header_compiler" >&6; } 13920 13921 # Is the header present? 13922 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 13923 $as_echo_n "checking $ac_header presence... " >&6; } 13924 cat >conftest.$ac_ext <<_ACEOF 13925 /* confdefs.h. */ 13926 _ACEOF 13927 cat confdefs.h >>conftest.$ac_ext 13928 cat >>conftest.$ac_ext <<_ACEOF 13929 /* end confdefs.h. */ 13930 #include <$ac_header> 13931 _ACEOF 13932 if { (ac_try="$ac_cpp conftest.$ac_ext" 13933 case "(($ac_try" in 13934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13935 *) ac_try_echo=$ac_try;; 13936 esac 13937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13938 $as_echo "$ac_try_echo") >&5 13939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13940 ac_status=$? 13941 grep -v '^ *+' conftest.er1 >conftest.err 13942 rm -f conftest.er1 13943 cat conftest.err >&5 13944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13945 (exit $ac_status); } >/dev/null && { 13946 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 13947 test ! -s conftest.err 13948 }; then 13949 ac_header_preproc=yes 13950 else 13951 $as_echo "$as_me: failed program was:" >&5 13952 sed 's/^/| /' conftest.$ac_ext >&5 13953 13954 ac_header_preproc=no 13955 fi 13956 13957 rm -f conftest.err conftest.$ac_ext 13958 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13959 $as_echo "$ac_header_preproc" >&6; } 13960 13961 # So? What about this header? 13962 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 13963 yes:no: ) 13964 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 13965 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 13966 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 13967 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 13968 ac_header_preproc=yes 13969 ;; 13970 no:yes:* ) 13971 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 13972 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 13973 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 13974 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 13975 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 13976 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 13977 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 13978 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 13979 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 13980 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 13981 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 13982 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 13983 ( cat <<\_ASBOX 13984 ## ----------------------------------- ## 13985 ## Report this to rappture@nanohub.org ## 13986 ## ----------------------------------- ## 13987 _ASBOX 13988 ) | sed "s/^/$as_me: WARNING: /" >&2 13989 ;; 13990 esac 13991 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13992 $as_echo_n "checking for $ac_header... " >&6; } 13993 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13994 $as_echo_n "(cached) " >&6 13995 else 13996 eval "$as_ac_Header=\$ac_header_preproc" 13997 fi 13998 ac_res=`eval 'as_val=${'$as_ac_Header'} 13999 $as_echo "$as_val"'` 14000 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14001 $as_echo "$ac_res" >&6; } 14002 14003 fi 14004 as_val=`eval 'as_val=${'$as_ac_Header'} 14005 $as_echo "$as_val"'` 14006 if test "x$as_val" = x""yes; then 8335 14007 cat >>confdefs.h <<_ACEOF 8336 #define HAVE_PYTHON_H114008 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8337 14009 _ACEOF 8338 14010 found=yes … … 8353 14025 8354 14026 # Check whether --with-java was given. 8355 if test "${with_java+set}" = set; then :14027 if test "${with_java+set}" = set; then 8356 14028 withval=$with_java; 8357 14029 else … … 8368 14040 # Extract the first word of "java", so it can be a program name with args. 8369 14041 set dummy java; ac_word=$2 8370 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&514042 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8371 14043 $as_echo_n "checking for $ac_word... " >&6; } 8372 if ${ac_cv_path_JAVA+:} false; then :14044 if test "${ac_cv_path_JAVA+set}" = set; then 8373 14045 $as_echo_n "(cached) " >&6 8374 14046 else … … 8383 14055 IFS=$as_save_IFS 8384 14056 test -z "$as_dir" && as_dir=. 8385 8386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then14057 for ac_exec_ext in '' $ac_executable_extensions; do 14058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8387 14059 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 8388 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&514060 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8389 14061 break 2 8390 14062 fi 8391 14063 done 8392 14064 done 8393 14065 IFS=$as_save_IFS 8394 14066 … … 8398 14070 JAVA=$ac_cv_path_JAVA 8399 14071 if test -n "$JAVA"; then 8400 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVA" >&514072 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 8401 14073 $as_echo "$JAVA" >&6; } 8402 14074 else 8403 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&514075 { $as_echo "$as_me:$LINENO: result: no" >&5 8404 14076 $as_echo "no" >&6; } 8405 14077 fi … … 8408 14080 # Extract the first word of "javac", so it can be a program name with args. 8409 14081 set dummy javac; ac_word=$2 8410 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&514082 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8411 14083 $as_echo_n "checking for $ac_word... " >&6; } 8412 if ${ac_cv_path_JAVAC+:} false; then :14084 if test "${ac_cv_path_JAVAC+set}" = set; then 8413 14085 $as_echo_n "(cached) " >&6 8414 14086 else … … 8423 14095 IFS=$as_save_IFS 8424 14096 test -z "$as_dir" && as_dir=. 8425 8426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then14097 for ac_exec_ext in '' $ac_executable_extensions; do 14098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8427 14099 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 8428 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&514100 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8429 14101 break 2 8430 14102 fi 8431 14103 done 8432 14104 done 8433 14105 IFS=$as_save_IFS 8434 14106 … … 8438 14110 JAVAC=$ac_cv_path_JAVAC 8439 14111 if test -n "$JAVAC"; then 8440 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&514112 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 8441 14113 $as_echo "$JAVAC" >&6; } 8442 14114 else 8443 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&514115 { $as_echo "$as_me:$LINENO: result: no" >&5 8444 14116 $as_echo "no" >&6; } 8445 14117 fi … … 8448 14120 # Extract the first word of "javah", so it can be a program name with args. 8449 14121 set dummy javah; ac_word=$2 8450 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&514122 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8451 14123 $as_echo_n "checking for $ac_word... " >&6; } 8452 if ${ac_cv_path_JAVAH+:} false; then :14124 if test "${ac_cv_path_JAVAH+set}" = set; then 8453 14125 $as_echo_n "(cached) " >&6 8454 14126 else … … 8463 14135 IFS=$as_save_IFS 8464 14136 test -z "$as_dir" && as_dir=. 8465 8466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then14137 for ac_exec_ext in '' $ac_executable_extensions; do 14138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8467 14139 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 8468 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&514140 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8469 14141 break 2 8470 14142 fi 8471 14143 done 8472 14144 done 8473 14145 IFS=$as_save_IFS 8474 14146 … … 8478 14150 JAVAH=$ac_cv_path_JAVAH 8479 14151 if test -n "$JAVAH"; then 8480 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAH" >&514152 { $as_echo "$as_me:$LINENO: result: $JAVAH" >&5 8481 14153 $as_echo "$JAVAH" >&6; } 8482 14154 else 8483 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&514155 { $as_echo "$as_me:$LINENO: result: no" >&5 8484 14156 $as_echo "no" >&6; } 8485 14157 fi … … 8489 14161 # Extract the first word of "java", so it can be a program name with args. 8490 14162 set dummy java; ac_word=$2 8491 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&514163 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8492 14164 $as_echo_n "checking for $ac_word... " >&6; } 8493 if ${ac_cv_path_JAVA+:} false; then :14165 if test "${ac_cv_path_JAVA+set}" = set; then 8494 14166 $as_echo_n "(cached) " >&6 8495 14167 else … … 8505 14177 IFS=$as_save_IFS 8506 14178 test -z "$as_dir" && as_dir=. 8507 8508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then14179 for ac_exec_ext in '' $ac_executable_extensions; do 14180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8509 14181 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 8510 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&514182 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8511 14183 break 2 8512 14184 fi 8513 14185 done 8514 14186 done 8515 14187 IFS=$as_save_IFS 8516 14188 … … 8520 14192 JAVA=$ac_cv_path_JAVA 8521 14193 if test -n "$JAVA"; then 8522 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVA" >&514194 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 8523 14195 $as_echo "$JAVA" >&6; } 8524 14196 else 8525 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&514197 { $as_echo "$as_me:$LINENO: result: no" >&5 8526 14198 $as_echo "no" >&6; } 8527 14199 fi … … 8530 14202 # Extract the first word of "javac", so it can be a program name with args. 8531 14203 set dummy javac; ac_word=$2 8532 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&514204 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8533 14205 $as_echo_n "checking for $ac_word... " >&6; } 8534 if ${ac_cv_path_JAVAC+:} false; then :14206 if test "${ac_cv_path_JAVAC+set}" = set; then 8535 14207 $as_echo_n "(cached) " >&6 8536 14208 else … … 8546 14218 IFS=$as_save_IFS 8547 14219 test -z "$as_dir" && as_dir=. 8548 8549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then14220 for ac_exec_ext in '' $ac_executable_extensions; do 14221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8550 14222 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 8551 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&514223 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8552 14224 break 2 8553 14225 fi 8554 14226 done 8555 14227 done 8556 14228 IFS=$as_save_IFS 8557 14229 … … 8561 14233 JAVAC=$ac_cv_path_JAVAC 8562 14234 if test -n "$JAVAC"; then 8563 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&514235 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 8564 14236 $as_echo "$JAVAC" >&6; } 8565 14237 else 8566 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&514238 { $as_echo "$as_me:$LINENO: result: no" >&5 8567 14239 $as_echo "no" >&6; } 8568 14240 fi … … 8571 14243 # Extract the first word of "javah", so it can be a program name with args. 8572 14244 set dummy javah; ac_word=$2 8573 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&514245 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8574 14246 $as_echo_n "checking for $ac_word... " >&6; } 8575 if ${ac_cv_path_JAVAH+:} false; then :14247 if test "${ac_cv_path_JAVAH+set}" = set; then 8576 14248 $as_echo_n "(cached) " >&6 8577 14249 else … … 8587 14259 IFS=$as_save_IFS 8588 14260 test -z "$as_dir" && as_dir=. 8589 8590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then14261 for ac_exec_ext in '' $ac_executable_extensions; do 14262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8591 14263 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 8592 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&514264 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8593 14265 break 2 8594 14266 fi 8595 14267 done 8596 14268 done 8597 14269 IFS=$as_save_IFS 8598 14270 … … 8602 14274 JAVAH=$ac_cv_path_JAVAH 8603 14275 if test -n "$JAVAH"; then 8604 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAH" >&514276 { $as_echo "$as_me:$LINENO: result: $JAVAH" >&5 8605 14277 $as_echo "$JAVAH" >&6; } 8606 14278 else 8607 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&514279 { $as_echo "$as_me:$LINENO: result: no" >&5 8608 14280 $as_echo "no" >&6; } 8609 14281 fi … … 8649 14321 8650 14322 # Check whether --with-R was given. 8651 if test "${with_R+set}" = set; then :14323 if test "${with_R+set}" = set; then 8652 14324 withval=$with_R; 8653 14325 else … … 8661 14333 # Extract the first word of "R", so it can be a program name with args. 8662 14334 set dummy R; ac_word=$2 8663 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&514335 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8664 14336 $as_echo_n "checking for $ac_word... " >&6; } 8665 if ${ac_cv_path_R+:} false; then :14337 if test "${ac_cv_path_R+set}" = set; then 8666 14338 $as_echo_n "(cached) " >&6 8667 14339 else … … 8676 14348 IFS=$as_save_IFS 8677 14349 test -z "$as_dir" && as_dir=. 8678 8679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then14350 for ac_exec_ext in '' $ac_executable_extensions; do 14351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8680 14352 ac_cv_path_R="$as_dir/$ac_word$ac_exec_ext" 8681 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&514353 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8682 14354 break 2 8683 14355 fi 8684 14356 done 8685 14357 done 8686 14358 IFS=$as_save_IFS 8687 14359 … … 8691 14363 R=$ac_cv_path_R 8692 14364 if test -n "$R"; then 8693 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $R" >&514365 { $as_echo "$as_me:$LINENO: result: $R" >&5 8694 14366 $as_echo "$R" >&6; } 8695 14367 else 8696 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&514368 { $as_echo "$as_me:$LINENO: result: no" >&5 8697 14369 $as_echo "no" >&6; } 8698 14370 fi … … 8702 14374 # Extract the first word of "R", so it can be a program name with args. 8703 14375 set dummy R; ac_word=$2 8704 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&514376 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8705 14377 $as_echo_n "checking for $ac_word... " >&6; } 8706 if ${ac_cv_path_R+:} false; then :14378 if test "${ac_cv_path_R+set}" = set; then 8707 14379 $as_echo_n "(cached) " >&6 8708 14380 else … … 8718 14390 IFS=$as_save_IFS 8719 14391 test -z "$as_dir" && as_dir=. 8720 8721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then14392 for ac_exec_ext in '' $ac_executable_extensions; do 14393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8722 14394 ac_cv_path_R="$as_dir/$ac_word$ac_exec_ext" 8723 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&514395 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8724 14396 break 2 8725 14397 fi 8726 14398 done 8727 14399 done 8728 14400 IFS=$as_save_IFS 8729 14401 … … 8733 14405 R=$ac_cv_path_R 8734 14406 if test -n "$R"; then 8735 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $R" >&514407 { $as_echo "$as_me:$LINENO: result: $R" >&5 8736 14408 $as_echo "$R" >&6; } 8737 14409 else 8738 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&514410 { $as_echo "$as_me:$LINENO: result: no" >&5 8739 14411 $as_echo "no" >&6; } 8740 14412 fi … … 8747 14419 # Make sure we can run config.sub. 8748 14420 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 8749 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 8750 8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 14421 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 14422 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 14423 { (exit 1); exit 1; }; } 14424 14425 { $as_echo "$as_me:$LINENO: checking build system type" >&5 8752 14426 $as_echo_n "checking build system type... " >&6; } 8753 if ${ac_cv_build+:} false; then :14427 if test "${ac_cv_build+set}" = set; then 8754 14428 $as_echo_n "(cached) " >&6 8755 14429 else … … 8758 14432 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 8759 14433 test "x$ac_build_alias" = x && 8760 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 14434 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 14435 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 14436 { (exit 1); exit 1; }; } 8761 14437 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 8762 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 8763 8764 fi 8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 14438 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 14439 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 14440 { (exit 1); exit 1; }; } 14441 14442 fi 14443 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 8766 14444 $as_echo "$ac_cv_build" >&6; } 8767 14445 case $ac_cv_build in 8768 14446 *-*-*) ;; 8769 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 14447 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 14448 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 14449 { (exit 1); exit 1; }; };; 8770 14450 esac 8771 14451 build=$ac_cv_build … … 8783 14463 8784 14464 8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&58786 $as_echo_n "checking host system type... " >&6; }8787 if ${ac_cv_host+:} false; then :8788 $as_echo_n "(cached) " >&68789 else8790 if test "x$host_alias" = x; then8791 ac_cv_host=$ac_cv_build8792 else8793 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||8794 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 58795 fi8796 8797 fi8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&58799 $as_echo "$ac_cv_host" >&6; }8800 case $ac_cv_host in8801 *-*-*) ;;8802 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;8803 esac8804 host=$ac_cv_host8805 ac_save_IFS=$IFS; IFS='-'8806 set x $ac_cv_host8807 shift8808 host_cpu=$18809 host_vendor=$28810 shift; shift8811 # Remember, the first character of IFS is used to create $*,8812 # except with old shells:8813 host_os=$*8814 IFS=$ac_save_IFS8815 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac8816 8817 8818 14465 8819 14466 8820 14467 8821 14468 # Check whether --with-ruby was given. 8822 if test "${with_ruby+set}" = set; then :14469 if test "${with_ruby+set}" = set; then 8823 14470 withval=$with_ruby; RUBY=$withval 8824 14471 else … … 8828 14475 8829 14476 # Check whether --with-ruby_sitelibdir was given. 8830 if test "${with_ruby_sitelibdir+set}" = set; then :14477 if test "${with_ruby_sitelibdir+set}" = set; then 8831 14478 withval=$with_ruby_sitelibdir; ruby_sitelibdir=$withval 8832 14479 else … … 8915 14562 CPPFLAGS="${CPPFLAGS} ${RUBY_CPPFLAGS}" 8916 14563 CXXFLAGS="${CPPFLAGS}" 14564 8917 14565 for ac_header in ruby.h 8918 do : 8919 ac_fn_cxx_check_header_mongrel "$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default" 8920 if test "x$ac_cv_header_ruby_h" = xyes; then : 14566 do 14567 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14568 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 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 fi 14574 ac_res=`eval 'as_val=${'$as_ac_Header'} 14575 $as_echo "$as_val"'` 14576 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14577 $as_echo "$ac_res" >&6; } 14578 else 14579 # Is the header compilable? 14580 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 14581 $as_echo_n "checking $ac_header usability... " >&6; } 14582 cat >conftest.$ac_ext <<_ACEOF 14583 /* confdefs.h. */ 14584 _ACEOF 14585 cat confdefs.h >>conftest.$ac_ext 14586 cat >>conftest.$ac_ext <<_ACEOF 14587 /* end confdefs.h. */ 14588 $ac_includes_default 14589 #include <$ac_header> 14590 _ACEOF 14591 rm -f conftest.$ac_objext 14592 if { (ac_try="$ac_compile" 14593 case "(($ac_try" in 14594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14595 *) ac_try_echo=$ac_try;; 14596 esac 14597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14598 $as_echo "$ac_try_echo") >&5 14599 (eval "$ac_compile") 2>conftest.er1 14600 ac_status=$? 14601 grep -v '^ *+' conftest.er1 >conftest.err 14602 rm -f conftest.er1 14603 cat conftest.err >&5 14604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14605 (exit $ac_status); } && { 14606 test -z "$ac_cxx_werror_flag" || 14607 test ! -s conftest.err 14608 } && test -s conftest.$ac_objext; then 14609 ac_header_compiler=yes 14610 else 14611 $as_echo "$as_me: failed program was:" >&5 14612 sed 's/^/| /' conftest.$ac_ext >&5 14613 14614 ac_header_compiler=no 14615 fi 14616 14617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14618 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14619 $as_echo "$ac_header_compiler" >&6; } 14620 14621 # Is the header present? 14622 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 14623 $as_echo_n "checking $ac_header presence... " >&6; } 14624 cat >conftest.$ac_ext <<_ACEOF 14625 /* confdefs.h. */ 14626 _ACEOF 14627 cat confdefs.h >>conftest.$ac_ext 14628 cat >>conftest.$ac_ext <<_ACEOF 14629 /* end confdefs.h. */ 14630 #include <$ac_header> 14631 _ACEOF 14632 if { (ac_try="$ac_cpp conftest.$ac_ext" 14633 case "(($ac_try" in 14634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14635 *) ac_try_echo=$ac_try;; 14636 esac 14637 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14638 $as_echo "$ac_try_echo") >&5 14639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14640 ac_status=$? 14641 grep -v '^ *+' conftest.er1 >conftest.err 14642 rm -f conftest.er1 14643 cat conftest.err >&5 14644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14645 (exit $ac_status); } >/dev/null && { 14646 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 14647 test ! -s conftest.err 14648 }; then 14649 ac_header_preproc=yes 14650 else 14651 $as_echo "$as_me: failed program was:" >&5 14652 sed 's/^/| /' conftest.$ac_ext >&5 14653 14654 ac_header_preproc=no 14655 fi 14656 14657 rm -f conftest.err conftest.$ac_ext 14658 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14659 $as_echo "$ac_header_preproc" >&6; } 14660 14661 # So? What about this header? 14662 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 14663 yes:no: ) 14664 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 14665 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 14666 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 14667 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 14668 ac_header_preproc=yes 14669 ;; 14670 no:yes:* ) 14671 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 14672 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 14673 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 14674 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 14675 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 14676 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 14677 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 14678 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 14679 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 14680 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 14681 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 14682 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 14683 ( cat <<\_ASBOX 14684 ## ----------------------------------- ## 14685 ## Report this to rappture@nanohub.org ## 14686 ## ----------------------------------- ## 14687 _ASBOX 14688 ) | sed "s/^/$as_me: WARNING: /" >&2 14689 ;; 14690 esac 14691 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 14692 $as_echo_n "checking for $ac_header... " >&6; } 14693 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14694 $as_echo_n "(cached) " >&6 14695 else 14696 eval "$as_ac_Header=\$ac_header_preproc" 14697 fi 14698 ac_res=`eval 'as_val=${'$as_ac_Header'} 14699 $as_echo "$as_val"'` 14700 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14701 $as_echo "$ac_res" >&6; } 14702 14703 fi 14704 as_val=`eval 'as_val=${'$as_ac_Header'} 14705 $as_echo "$as_val"'` 14706 if test "x$as_val" = x""yes; then 8921 14707 cat >>confdefs.h <<_ACEOF 8922 #define HAVE_RUBY_H114708 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8923 14709 _ACEOF 8924 14710 … … 8930 14716 8931 14717 14718 8932 14719 for ac_header in node.h 8933 do : 8934 ac_fn_cxx_check_header_compile "$LINENO" "node.h" "ac_cv_header_node_h" " 14720 do 14721 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14722 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 14723 $as_echo_n "checking for $ac_header... " >&6; } 14724 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14725 $as_echo_n "(cached) " >&6 14726 else 14727 cat >conftest.$ac_ext <<_ACEOF 14728 /* confdefs.h. */ 14729 _ACEOF 14730 cat confdefs.h >>conftest.$ac_ext 14731 cat >>conftest.$ac_ext <<_ACEOF 14732 /* end confdefs.h. */ 14733 8935 14734 #include <ruby.h> 8936 14735 8937 " 8938 if test "x$ac_cv_header_node_h" = xyes; then : 14736 14737 #include <$ac_header> 14738 _ACEOF 14739 rm -f conftest.$ac_objext 14740 if { (ac_try="$ac_compile" 14741 case "(($ac_try" in 14742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14743 *) ac_try_echo=$ac_try;; 14744 esac 14745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14746 $as_echo "$ac_try_echo") >&5 14747 (eval "$ac_compile") 2>conftest.er1 14748 ac_status=$? 14749 grep -v '^ *+' conftest.er1 >conftest.err 14750 rm -f conftest.er1 14751 cat conftest.err >&5 14752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14753 (exit $ac_status); } && { 14754 test -z "$ac_cxx_werror_flag" || 14755 test ! -s conftest.err 14756 } && test -s conftest.$ac_objext; then 14757 eval "$as_ac_Header=yes" 14758 else 14759 $as_echo "$as_me: failed program was:" >&5 14760 sed 's/^/| /' conftest.$ac_ext >&5 14761 14762 eval "$as_ac_Header=no" 14763 fi 14764 14765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14766 fi 14767 ac_res=`eval 'as_val=${'$as_ac_Header'} 14768 $as_echo "$as_val"'` 14769 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14770 $as_echo "$ac_res" >&6; } 14771 as_val=`eval 'as_val=${'$as_ac_Header'} 14772 $as_echo "$as_val"'` 14773 if test "x$as_val" = x""yes; then 8939 14774 cat >>confdefs.h <<_ACEOF 8940 #define HAVE_NODE_H114775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8941 14776 _ACEOF 8942 14777 … … 8945 14780 done 8946 14781 14782 8947 14783 for ac_header in ruby/node.h 8948 do : 8949 ac_fn_cxx_check_header_compile "$LINENO" "ruby/node.h" "ac_cv_header_ruby_node_h" " 14784 do 14785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14786 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 14787 $as_echo_n "checking for $ac_header... " >&6; } 14788 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14789 $as_echo_n "(cached) " >&6 14790 else 14791 cat >conftest.$ac_ext <<_ACEOF 14792 /* confdefs.h. */ 14793 _ACEOF 14794 cat confdefs.h >>conftest.$ac_ext 14795 cat >>conftest.$ac_ext <<_ACEOF 14796 /* end confdefs.h. */ 14797 8950 14798 #include <ruby.h> 8951 14799 8952 " 8953 if test "x$ac_cv_header_ruby_node_h" = xyes; then : 14800 14801 #include <$ac_header> 14802 _ACEOF 14803 rm -f conftest.$ac_objext 14804 if { (ac_try="$ac_compile" 14805 case "(($ac_try" in 14806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14807 *) ac_try_echo=$ac_try;; 14808 esac 14809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14810 $as_echo "$ac_try_echo") >&5 14811 (eval "$ac_compile") 2>conftest.er1 14812 ac_status=$? 14813 grep -v '^ *+' conftest.er1 >conftest.err 14814 rm -f conftest.er1 14815 cat conftest.err >&5 14816 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14817 (exit $ac_status); } && { 14818 test -z "$ac_cxx_werror_flag" || 14819 test ! -s conftest.err 14820 } && test -s conftest.$ac_objext; then 14821 eval "$as_ac_Header=yes" 14822 else 14823 $as_echo "$as_me: failed program was:" >&5 14824 sed 's/^/| /' conftest.$ac_ext >&5 14825 14826 eval "$as_ac_Header=no" 14827 fi 14828 14829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14830 fi 14831 ac_res=`eval 'as_val=${'$as_ac_Header'} 14832 $as_echo "$as_val"'` 14833 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14834 $as_echo "$ac_res" >&6; } 14835 as_val=`eval 'as_val=${'$as_ac_Header'} 14836 $as_echo "$as_val"'` 14837 if test "x$as_val" = x""yes; then 8954 14838 cat >>confdefs.h <<_ACEOF 8955 #define HAVE_RUBY_NODE_H 1 8956 _ACEOF 8957 8958 $as_echo "#define REALLY_HAVE_RUBY_NODE_H /**/" >>confdefs.h 14839 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 14840 _ACEOF 14841 14842 cat >>confdefs.h <<\_ACEOF 14843 #define REALLY_HAVE_RUBY_NODE_H /**/ 14844 _ACEOF 8959 14845 8960 14846 fi … … 8962 14848 done 8963 14849 14850 8964 14851 for ac_header in version.h 8965 do : 8966 ac_fn_cxx_check_header_compile "$LINENO" "version.h" "ac_cv_header_version_h" " 14852 do 14853 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14854 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 14855 $as_echo_n "checking for $ac_header... " >&6; } 14856 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14857 $as_echo_n "(cached) " >&6 14858 else 14859 cat >conftest.$ac_ext <<_ACEOF 14860 /* confdefs.h. */ 14861 _ACEOF 14862 cat confdefs.h >>conftest.$ac_ext 14863 cat >>conftest.$ac_ext <<_ACEOF 14864 /* end confdefs.h. */ 14865 8967 14866 #include <ruby.h> 8968 14867 8969 " 8970 if test "x$ac_cv_header_version_h" = xyes; then : 14868 14869 #include <$ac_header> 14870 _ACEOF 14871 rm -f conftest.$ac_objext 14872 if { (ac_try="$ac_compile" 14873 case "(($ac_try" in 14874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14875 *) ac_try_echo=$ac_try;; 14876 esac 14877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14878 $as_echo "$ac_try_echo") >&5 14879 (eval "$ac_compile") 2>conftest.er1 14880 ac_status=$? 14881 grep -v '^ *+' conftest.er1 >conftest.err 14882 rm -f conftest.er1 14883 cat conftest.err >&5 14884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14885 (exit $ac_status); } && { 14886 test -z "$ac_cxx_werror_flag" || 14887 test ! -s conftest.err 14888 } && test -s conftest.$ac_objext; then 14889 eval "$as_ac_Header=yes" 14890 else 14891 $as_echo "$as_me: failed program was:" >&5 14892 sed 's/^/| /' conftest.$ac_ext >&5 14893 14894 eval "$as_ac_Header=no" 14895 fi 14896 14897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14898 fi 14899 ac_res=`eval 'as_val=${'$as_ac_Header'} 14900 $as_echo "$as_val"'` 14901 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14902 $as_echo "$ac_res" >&6; } 14903 as_val=`eval 'as_val=${'$as_ac_Header'} 14904 $as_echo "$as_val"'` 14905 if test "x$as_val" = x""yes; then 8971 14906 cat >>confdefs.h <<_ACEOF 8972 #define HAVE_VERSION_H114907 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8973 14908 _ACEOF 8974 14909 … … 8977 14912 done 8978 14913 14914 8979 14915 for ac_header in env.h 8980 do : 8981 ac_fn_cxx_check_header_compile "$LINENO" "env.h" "ac_cv_header_env_h" " 14916 do 14917 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14918 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 14919 $as_echo_n "checking for $ac_header... " >&6; } 14920 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14921 $as_echo_n "(cached) " >&6 14922 else 14923 cat >conftest.$ac_ext <<_ACEOF 14924 /* confdefs.h. */ 14925 _ACEOF 14926 cat confdefs.h >>conftest.$ac_ext 14927 cat >>conftest.$ac_ext <<_ACEOF 14928 /* end confdefs.h. */ 14929 8982 14930 #include <ruby.h> 8983 14931 8984 " 8985 if test "x$ac_cv_header_env_h" = xyes; then : 14932 14933 #include <$ac_header> 14934 _ACEOF 14935 rm -f conftest.$ac_objext 14936 if { (ac_try="$ac_compile" 14937 case "(($ac_try" in 14938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14939 *) ac_try_echo=$ac_try;; 14940 esac 14941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14942 $as_echo "$ac_try_echo") >&5 14943 (eval "$ac_compile") 2>conftest.er1 14944 ac_status=$? 14945 grep -v '^ *+' conftest.er1 >conftest.err 14946 rm -f conftest.er1 14947 cat conftest.err >&5 14948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14949 (exit $ac_status); } && { 14950 test -z "$ac_cxx_werror_flag" || 14951 test ! -s conftest.err 14952 } && test -s conftest.$ac_objext; then 14953 eval "$as_ac_Header=yes" 14954 else 14955 $as_echo "$as_me: failed program was:" >&5 14956 sed 's/^/| /' conftest.$ac_ext >&5 14957 14958 eval "$as_ac_Header=no" 14959 fi 14960 14961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14962 fi 14963 ac_res=`eval 'as_val=${'$as_ac_Header'} 14964 $as_echo "$as_val"'` 14965 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14966 $as_echo "$ac_res" >&6; } 14967 as_val=`eval 'as_val=${'$as_ac_Header'} 14968 $as_echo "$as_val"'` 14969 if test "x$as_val" = x""yes; then 8986 14970 cat >>confdefs.h <<_ACEOF 8987 #define HAVE_ENV_H114971 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8988 14972 _ACEOF 8989 14973 … … 8994 14978 8995 14979 CPPFLAGS="${CPPFLAGS_save}" 14980 14981 { $as_echo "$as_me:$LINENO: checking host system type" >&5 14982 $as_echo_n "checking host system type... " >&6; } 14983 if test "${ac_cv_host+set}" = set; then 14984 $as_echo_n "(cached) " >&6 14985 else 14986 if test "x$host_alias" = x; then 14987 ac_cv_host=$ac_cv_build 14988 else 14989 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 14990 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 14991 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 14992 { (exit 1); exit 1; }; } 14993 fi 14994 14995 fi 14996 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 14997 $as_echo "$ac_cv_host" >&6; } 14998 case $ac_cv_host in 14999 *-*-*) ;; 15000 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 15001 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 15002 { (exit 1); exit 1; }; };; 15003 esac 15004 host=$ac_cv_host 15005 ac_save_IFS=$IFS; IFS='-' 15006 set x $ac_cv_host 15007 shift 15008 host_cpu=$1 15009 host_vendor=$2 15010 shift; shift 15011 # Remember, the first character of IFS is used to create $*, 15012 # except with old shells: 15013 host_os=$* 15014 IFS=$ac_save_IFS 15015 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 8996 15016 8997 15017 … … 9018 15038 9019 15039 9020 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to build libraries" >&515040 { $as_echo "$as_me:$LINENO: checking how to build libraries" >&5 9021 15041 $as_echo_n "checking how to build libraries... " >&6; } 9022 15042 # Check whether --enable-shared was given. 9023 if test "${enable_shared+set}" = set; then :15043 if test "${enable_shared+set}" = set; then 9024 15044 enableval=$enable_shared; tcl_ok=$enableval 9025 15045 else … … 9036 15056 9037 15057 if test "$tcl_ok" = "yes" ; then 9038 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: shared" >&515058 { $as_echo "$as_me:$LINENO: result: shared" >&5 9039 15059 $as_echo "shared" >&6; } 9040 15060 SHARED_BUILD=1 9041 15061 else 9042 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: static" >&515062 { $as_echo "$as_me:$LINENO: result: static" >&5 9043 15063 $as_echo "static" >&6; } 9044 15064 SHARED_BUILD=0 9045 $as_echo "#define STATIC_BUILD 1" >>confdefs.h 15065 cat >>confdefs.h <<\_ACEOF 15066 #define STATIC_BUILD 1 15067 _ACEOF 9046 15068 9047 15069 fi … … 9068 15090 # ----------------------------------------------------------------------- 9069 15091 9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 15092 15093 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 9071 15094 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 9072 if ${ac_cv_c_bigendian+:} false; then :15095 if test "${ac_cv_c_bigendian+set}" = set; then 9073 15096 $as_echo_n "(cached) " >&6 9074 15097 else 9075 15098 ac_cv_c_bigendian=unknown 9076 15099 # See if we're dealing with a universal compiler. 9077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15100 cat >conftest.$ac_ext <<_ACEOF 15101 /* confdefs.h. */ 15102 _ACEOF 15103 cat confdefs.h >>conftest.$ac_ext 15104 cat >>conftest.$ac_ext <<_ACEOF 9078 15105 /* end confdefs.h. */ 9079 15106 #ifndef __APPLE_CC__ … … 9083 15110 9084 15111 _ACEOF 9085 if ac_fn_cxx_try_compile "$LINENO"; then : 15112 rm -f conftest.$ac_objext 15113 if { (ac_try="$ac_compile" 15114 case "(($ac_try" in 15115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15116 *) ac_try_echo=$ac_try;; 15117 esac 15118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15119 $as_echo "$ac_try_echo") >&5 15120 (eval "$ac_compile") 2>conftest.er1 15121 ac_status=$? 15122 grep -v '^ *+' conftest.er1 >conftest.err 15123 rm -f conftest.er1 15124 cat conftest.err >&5 15125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15126 (exit $ac_status); } && { 15127 test -z "$ac_cxx_werror_flag" || 15128 test ! -s conftest.err 15129 } && test -s conftest.$ac_objext; then 9086 15130 9087 15131 # Check for potential -arch flags. It is not universal unless 9088 # there are at least two -arch flags with different values. 9089 ac_arch= 9090 ac_prev= 9091 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 9092 if test -n "$ac_prev"; then 9093 case $ac_word in 9094 i?86 | x86_64 | ppc | ppc64) 9095 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 9096 ac_arch=$ac_word 9097 else 9098 ac_cv_c_bigendian=universal 9099 break 9100 fi 9101 ;; 9102 esac 9103 ac_prev= 9104 elif test "x$ac_word" = "x-arch"; then 9105 ac_prev=arch 9106 fi 9107 done 9108 fi 15132 # there are some -arch flags. Note that *ppc* also matches 15133 # ppc64. This check is also rather less than ideal. 15134 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 15135 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 15136 esac 15137 else 15138 $as_echo "$as_me: failed program was:" >&5 15139 sed 's/^/| /' conftest.$ac_ext >&5 15140 15141 15142 fi 15143 9109 15144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9110 15145 if test $ac_cv_c_bigendian = unknown; then 9111 15146 # See if sys/param.h defines the BYTE_ORDER macro. 9112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15147 cat >conftest.$ac_ext <<_ACEOF 15148 /* confdefs.h. */ 15149 _ACEOF 15150 cat confdefs.h >>conftest.$ac_ext 15151 cat >>conftest.$ac_ext <<_ACEOF 9113 15152 /* end confdefs.h. */ 9114 15153 #include <sys/types.h> … … 9128 15167 } 9129 15168 _ACEOF 9130 if ac_fn_cxx_try_compile "$LINENO"; then : 15169 rm -f conftest.$ac_objext 15170 if { (ac_try="$ac_compile" 15171 case "(($ac_try" in 15172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15173 *) ac_try_echo=$ac_try;; 15174 esac 15175 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15176 $as_echo "$ac_try_echo") >&5 15177 (eval "$ac_compile") 2>conftest.er1 15178 ac_status=$? 15179 grep -v '^ *+' conftest.er1 >conftest.err 15180 rm -f conftest.er1 15181 cat conftest.err >&5 15182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15183 (exit $ac_status); } && { 15184 test -z "$ac_cxx_werror_flag" || 15185 test ! -s conftest.err 15186 } && test -s conftest.$ac_objext; then 9131 15187 # It does; now see whether it defined to BIG_ENDIAN or not. 9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15188 cat >conftest.$ac_ext <<_ACEOF 15189 /* confdefs.h. */ 15190 _ACEOF 15191 cat confdefs.h >>conftest.$ac_ext 15192 cat >>conftest.$ac_ext <<_ACEOF 9133 15193 /* end confdefs.h. */ 9134 15194 #include <sys/types.h> … … 9146 15206 } 9147 15207 _ACEOF 9148 if ac_fn_cxx_try_compile "$LINENO"; then : 15208 rm -f conftest.$ac_objext 15209 if { (ac_try="$ac_compile" 15210 case "(($ac_try" in 15211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15212 *) ac_try_echo=$ac_try;; 15213 esac 15214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15215 $as_echo "$ac_try_echo") >&5 15216 (eval "$ac_compile") 2>conftest.er1 15217 ac_status=$? 15218 grep -v '^ *+' conftest.er1 >conftest.err 15219 rm -f conftest.er1 15220 cat conftest.err >&5 15221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15222 (exit $ac_status); } && { 15223 test -z "$ac_cxx_werror_flag" || 15224 test ! -s conftest.err 15225 } && test -s conftest.$ac_objext; then 9149 15226 ac_cv_c_bigendian=yes 9150 15227 else 9151 ac_cv_c_bigendian=no 9152 fi 15228 $as_echo "$as_me: failed program was:" >&5 15229 sed 's/^/| /' conftest.$ac_ext >&5 15230 15231 ac_cv_c_bigendian=no 15232 fi 15233 9153 15234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9154 fi 15235 else 15236 $as_echo "$as_me: failed program was:" >&5 15237 sed 's/^/| /' conftest.$ac_ext >&5 15238 15239 15240 fi 15241 9155 15242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9156 15243 fi 9157 15244 if test $ac_cv_c_bigendian = unknown; then 9158 15245 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 9159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15246 cat >conftest.$ac_ext <<_ACEOF 15247 /* confdefs.h. */ 15248 _ACEOF 15249 cat confdefs.h >>conftest.$ac_ext 15250 cat >>conftest.$ac_ext <<_ACEOF 9160 15251 /* end confdefs.h. */ 9161 15252 #include <limits.h> … … 9172 15263 } 9173 15264 _ACEOF 9174 if ac_fn_cxx_try_compile "$LINENO"; then : 15265 rm -f conftest.$ac_objext 15266 if { (ac_try="$ac_compile" 15267 case "(($ac_try" in 15268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15269 *) ac_try_echo=$ac_try;; 15270 esac 15271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15272 $as_echo "$ac_try_echo") >&5 15273 (eval "$ac_compile") 2>conftest.er1 15274 ac_status=$? 15275 grep -v '^ *+' conftest.er1 >conftest.err 15276 rm -f conftest.er1 15277 cat conftest.err >&5 15278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15279 (exit $ac_status); } && { 15280 test -z "$ac_cxx_werror_flag" || 15281 test ! -s conftest.err 15282 } && test -s conftest.$ac_objext; then 9175 15283 # It does; now see whether it defined to _BIG_ENDIAN or not. 9176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15284 cat >conftest.$ac_ext <<_ACEOF 15285 /* confdefs.h. */ 15286 _ACEOF 15287 cat confdefs.h >>conftest.$ac_ext 15288 cat >>conftest.$ac_ext <<_ACEOF 9177 15289 /* end confdefs.h. */ 9178 15290 #include <limits.h> … … 9189 15301 } 9190 15302 _ACEOF 9191 if ac_fn_cxx_try_compile "$LINENO"; then : 15303 rm -f conftest.$ac_objext 15304 if { (ac_try="$ac_compile" 15305 case "(($ac_try" in 15306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15307 *) ac_try_echo=$ac_try;; 15308 esac 15309 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15310 $as_echo "$ac_try_echo") >&5 15311 (eval "$ac_compile") 2>conftest.er1 15312 ac_status=$? 15313 grep -v '^ *+' conftest.er1 >conftest.err 15314 rm -f conftest.er1 15315 cat conftest.err >&5 15316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15317 (exit $ac_status); } && { 15318 test -z "$ac_cxx_werror_flag" || 15319 test ! -s conftest.err 15320 } && test -s conftest.$ac_objext; then 9192 15321 ac_cv_c_bigendian=yes 9193 15322 else 9194 ac_cv_c_bigendian=no 9195 fi 15323 $as_echo "$as_me: failed program was:" >&5 15324 sed 's/^/| /' conftest.$ac_ext >&5 15325 15326 ac_cv_c_bigendian=no 15327 fi 15328 9196 15329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9197 fi 15330 else 15331 $as_echo "$as_me: failed program was:" >&5 15332 sed 's/^/| /' conftest.$ac_ext >&5 15333 15334 15335 fi 15336 9198 15337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9199 15338 fi 9200 15339 if test $ac_cv_c_bigendian = unknown; then 9201 15340 # Compile a test program. 9202 if test "$cross_compiling" = yes; then :15341 if test "$cross_compiling" = yes; then 9203 15342 # Try to guess by grepping values from an object file. 9204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15343 cat >conftest.$ac_ext <<_ACEOF 15344 /* confdefs.h. */ 15345 _ACEOF 15346 cat confdefs.h >>conftest.$ac_ext 15347 cat >>conftest.$ac_ext <<_ACEOF 9205 15348 /* end confdefs.h. */ 9206 15349 short int ascii_mm[] = … … 9228 15371 } 9229 15372 _ACEOF 9230 if ac_fn_cxx_try_compile "$LINENO"; then : 15373 rm -f conftest.$ac_objext 15374 if { (ac_try="$ac_compile" 15375 case "(($ac_try" in 15376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15377 *) ac_try_echo=$ac_try;; 15378 esac 15379 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15380 $as_echo "$ac_try_echo") >&5 15381 (eval "$ac_compile") 2>conftest.er1 15382 ac_status=$? 15383 grep -v '^ *+' conftest.er1 >conftest.err 15384 rm -f conftest.er1 15385 cat conftest.err >&5 15386 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15387 (exit $ac_status); } && { 15388 test -z "$ac_cxx_werror_flag" || 15389 test ! -s conftest.err 15390 } && test -s conftest.$ac_objext; then 9231 15391 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 9232 15392 ac_cv_c_bigendian=yes … … 9240 15400 fi 9241 15401 fi 9242 fi 15402 else 15403 $as_echo "$as_me: failed program was:" >&5 15404 sed 's/^/| /' conftest.$ac_ext >&5 15405 15406 15407 fi 15408 9243 15409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9244 15410 else 9245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15411 cat >conftest.$ac_ext <<_ACEOF 15412 /* confdefs.h. */ 15413 _ACEOF 15414 cat confdefs.h >>conftest.$ac_ext 15415 cat >>conftest.$ac_ext <<_ACEOF 9246 15416 /* end confdefs.h. */ 9247 15417 $ac_includes_default … … 9263 15433 } 9264 15434 _ACEOF 9265 if ac_fn_cxx_try_run "$LINENO"; then : 15435 rm -f conftest$ac_exeext 15436 if { (ac_try="$ac_link" 15437 case "(($ac_try" in 15438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15439 *) ac_try_echo=$ac_try;; 15440 esac 15441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15442 $as_echo "$ac_try_echo") >&5 15443 (eval "$ac_link") 2>&5 15444 ac_status=$? 15445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15446 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15447 { (case "(($ac_try" in 15448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15449 *) ac_try_echo=$ac_try;; 15450 esac 15451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15452 $as_echo "$ac_try_echo") >&5 15453 (eval "$ac_try") 2>&5 15454 ac_status=$? 15455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15456 (exit $ac_status); }; }; then 9266 15457 ac_cv_c_bigendian=no 9267 15458 else 9268 ac_cv_c_bigendian=yes 9269 fi 9270 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9271 conftest.$ac_objext conftest.beam conftest.$ac_ext 9272 fi 15459 $as_echo "$as_me: program exited with status $ac_status" >&5 15460 $as_echo "$as_me: failed program was:" >&5 15461 sed 's/^/| /' conftest.$ac_ext >&5 15462 15463 ( exit $ac_status ) 15464 ac_cv_c_bigendian=yes 15465 fi 15466 rm -rf conftest.dSYM 15467 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15468 fi 15469 9273 15470 9274 15471 fi 9275 15472 fi 9276 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&515473 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 9277 15474 $as_echo "$ac_cv_c_bigendian" >&6; } 9278 15475 case $ac_cv_c_bigendian in #( 9279 15476 yes) 9280 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 15477 cat >>confdefs.h <<\_ACEOF 15478 #define WORDS_BIGENDIAN 1 15479 _ACEOF 9281 15480 ;; #( 9282 15481 no) … … 9284 15483 universal) 9285 15484 9286 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 15485 cat >>confdefs.h <<\_ACEOF 15486 #define AC_APPLE_UNIVERSAL_BUILD 1 15487 _ACEOF 9287 15488 9288 15489 ;; #( 9289 15490 *) 9290 as_fn_error $? "unknown endianness 9291 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 15491 { { $as_echo "$as_me:$LINENO: error: unknown endianness 15492 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 15493 $as_echo "$as_me: error: unknown endianness 15494 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 15495 { (exit 1); exit 1; }; } ;; 9292 15496 esac 9293 15497 … … 9296 15500 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 9297 15501 # This bug is HP SR number 8606223364. 9298 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of int" >&515502 { $as_echo "$as_me:$LINENO: checking size of int" >&5 9299 15503 $as_echo_n "checking size of int... " >&6; } 9300 if ${ac_cv_sizeof_int+:} false; then :15504 if test "${ac_cv_sizeof_int+set}" = set; then 9301 15505 $as_echo_n "(cached) " >&6 9302 15506 else 9303 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 9304 9305 else 9306 if test "$ac_cv_type_int" = yes; then 9307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15507 if test "$cross_compiling" = yes; then 15508 # Depending upon the size, compute the lo and hi bounds. 15509 cat >conftest.$ac_ext <<_ACEOF 15510 /* confdefs.h. */ 15511 _ACEOF 15512 cat confdefs.h >>conftest.$ac_ext 15513 cat >>conftest.$ac_ext <<_ACEOF 15514 /* end confdefs.h. */ 15515 $ac_includes_default 15516 int 15517 main () 15518 { 15519 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)]; 15520 test_array [0] = 0 15521 15522 ; 15523 return 0; 15524 } 15525 _ACEOF 15526 rm -f conftest.$ac_objext 15527 if { (ac_try="$ac_compile" 15528 case "(($ac_try" in 15529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15530 *) ac_try_echo=$ac_try;; 15531 esac 15532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15533 $as_echo "$ac_try_echo") >&5 15534 (eval "$ac_compile") 2>conftest.er1 15535 ac_status=$? 15536 grep -v '^ *+' conftest.er1 >conftest.err 15537 rm -f conftest.er1 15538 cat conftest.err >&5 15539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15540 (exit $ac_status); } && { 15541 test -z "$ac_cxx_werror_flag" || 15542 test ! -s conftest.err 15543 } && test -s conftest.$ac_objext; then 15544 ac_lo=0 ac_mid=0 15545 while :; do 15546 cat >conftest.$ac_ext <<_ACEOF 15547 /* confdefs.h. */ 15548 _ACEOF 15549 cat confdefs.h >>conftest.$ac_ext 15550 cat >>conftest.$ac_ext <<_ACEOF 15551 /* end confdefs.h. */ 15552 $ac_includes_default 15553 int 15554 main () 15555 { 15556 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 15557 test_array [0] = 0 15558 15559 ; 15560 return 0; 15561 } 15562 _ACEOF 15563 rm -f conftest.$ac_objext 15564 if { (ac_try="$ac_compile" 15565 case "(($ac_try" in 15566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15567 *) ac_try_echo=$ac_try;; 15568 esac 15569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15570 $as_echo "$ac_try_echo") >&5 15571 (eval "$ac_compile") 2>conftest.er1 15572 ac_status=$? 15573 grep -v '^ *+' conftest.er1 >conftest.err 15574 rm -f conftest.er1 15575 cat conftest.err >&5 15576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15577 (exit $ac_status); } && { 15578 test -z "$ac_cxx_werror_flag" || 15579 test ! -s conftest.err 15580 } && test -s conftest.$ac_objext; then 15581 ac_hi=$ac_mid; break 15582 else 15583 $as_echo "$as_me: failed program was:" >&5 15584 sed 's/^/| /' conftest.$ac_ext >&5 15585 15586 ac_lo=`expr $ac_mid + 1` 15587 if test $ac_lo -le $ac_mid; then 15588 ac_lo= ac_hi= 15589 break 15590 fi 15591 ac_mid=`expr 2 '*' $ac_mid + 1` 15592 fi 15593 15594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15595 done 15596 else 15597 $as_echo "$as_me: failed program was:" >&5 15598 sed 's/^/| /' conftest.$ac_ext >&5 15599 15600 cat >conftest.$ac_ext <<_ACEOF 15601 /* confdefs.h. */ 15602 _ACEOF 15603 cat confdefs.h >>conftest.$ac_ext 15604 cat >>conftest.$ac_ext <<_ACEOF 15605 /* end confdefs.h. */ 15606 $ac_includes_default 15607 int 15608 main () 15609 { 15610 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)]; 15611 test_array [0] = 0 15612 15613 ; 15614 return 0; 15615 } 15616 _ACEOF 15617 rm -f conftest.$ac_objext 15618 if { (ac_try="$ac_compile" 15619 case "(($ac_try" in 15620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15621 *) ac_try_echo=$ac_try;; 15622 esac 15623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15624 $as_echo "$ac_try_echo") >&5 15625 (eval "$ac_compile") 2>conftest.er1 15626 ac_status=$? 15627 grep -v '^ *+' conftest.er1 >conftest.err 15628 rm -f conftest.er1 15629 cat conftest.err >&5 15630 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15631 (exit $ac_status); } && { 15632 test -z "$ac_cxx_werror_flag" || 15633 test ! -s conftest.err 15634 } && test -s conftest.$ac_objext; then 15635 ac_hi=-1 ac_mid=-1 15636 while :; do 15637 cat >conftest.$ac_ext <<_ACEOF 15638 /* confdefs.h. */ 15639 _ACEOF 15640 cat confdefs.h >>conftest.$ac_ext 15641 cat >>conftest.$ac_ext <<_ACEOF 15642 /* end confdefs.h. */ 15643 $ac_includes_default 15644 int 15645 main () 15646 { 15647 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)]; 15648 test_array [0] = 0 15649 15650 ; 15651 return 0; 15652 } 15653 _ACEOF 15654 rm -f conftest.$ac_objext 15655 if { (ac_try="$ac_compile" 15656 case "(($ac_try" in 15657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15658 *) ac_try_echo=$ac_try;; 15659 esac 15660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15661 $as_echo "$ac_try_echo") >&5 15662 (eval "$ac_compile") 2>conftest.er1 15663 ac_status=$? 15664 grep -v '^ *+' conftest.er1 >conftest.err 15665 rm -f conftest.er1 15666 cat conftest.err >&5 15667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15668 (exit $ac_status); } && { 15669 test -z "$ac_cxx_werror_flag" || 15670 test ! -s conftest.err 15671 } && test -s conftest.$ac_objext; then 15672 ac_lo=$ac_mid; break 15673 else 15674 $as_echo "$as_me: failed program was:" >&5 15675 sed 's/^/| /' conftest.$ac_ext >&5 15676 15677 ac_hi=`expr '(' $ac_mid ')' - 1` 15678 if test $ac_mid -le $ac_hi; then 15679 ac_lo= ac_hi= 15680 break 15681 fi 15682 ac_mid=`expr 2 '*' $ac_mid` 15683 fi 15684 15685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15686 done 15687 else 15688 $as_echo "$as_me: failed program was:" >&5 15689 sed 's/^/| /' conftest.$ac_ext >&5 15690 15691 ac_lo= ac_hi= 15692 fi 15693 15694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15695 fi 15696 15697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15698 # Binary search between lo and hi bounds. 15699 while test "x$ac_lo" != "x$ac_hi"; do 15700 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15701 cat >conftest.$ac_ext <<_ACEOF 15702 /* confdefs.h. */ 15703 _ACEOF 15704 cat confdefs.h >>conftest.$ac_ext 15705 cat >>conftest.$ac_ext <<_ACEOF 15706 /* end confdefs.h. */ 15707 $ac_includes_default 15708 int 15709 main () 15710 { 15711 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 15712 test_array [0] = 0 15713 15714 ; 15715 return 0; 15716 } 15717 _ACEOF 15718 rm -f conftest.$ac_objext 15719 if { (ac_try="$ac_compile" 15720 case "(($ac_try" in 15721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15722 *) ac_try_echo=$ac_try;; 15723 esac 15724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15725 $as_echo "$ac_try_echo") >&5 15726 (eval "$ac_compile") 2>conftest.er1 15727 ac_status=$? 15728 grep -v '^ *+' conftest.er1 >conftest.err 15729 rm -f conftest.er1 15730 cat conftest.err >&5 15731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15732 (exit $ac_status); } && { 15733 test -z "$ac_cxx_werror_flag" || 15734 test ! -s conftest.err 15735 } && test -s conftest.$ac_objext; then 15736 ac_hi=$ac_mid 15737 else 15738 $as_echo "$as_me: failed program was:" >&5 15739 sed 's/^/| /' conftest.$ac_ext >&5 15740 15741 ac_lo=`expr '(' $ac_mid ')' + 1` 15742 fi 15743 15744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15745 done 15746 case $ac_lo in 15747 ?*) ac_cv_sizeof_int=$ac_lo;; 15748 '') if test "$ac_cv_type_int" = yes; then 15749 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9308 15750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9309 as_fn_error 77 "cannot compute sizeof (int) 9310 See \`config.log' for more details" "$LINENO" 5; } 15751 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 15752 See \`config.log' for more details." >&5 15753 $as_echo "$as_me: error: cannot compute sizeof (int) 15754 See \`config.log' for more details." >&2;} 15755 { (exit 77); exit 77; }; }; } 15756 else 15757 ac_cv_sizeof_int=0 15758 fi ;; 15759 esac 15760 else 15761 cat >conftest.$ac_ext <<_ACEOF 15762 /* confdefs.h. */ 15763 _ACEOF 15764 cat confdefs.h >>conftest.$ac_ext 15765 cat >>conftest.$ac_ext <<_ACEOF 15766 /* end confdefs.h. */ 15767 $ac_includes_default 15768 static long int longval () { return (long int) (sizeof (int)); } 15769 static unsigned long int ulongval () { return (long int) (sizeof (int)); } 15770 #include <stdio.h> 15771 #include <stdlib.h> 15772 int 15773 main () 15774 { 15775 15776 FILE *f = fopen ("conftest.val", "w"); 15777 if (! f) 15778 return 1; 15779 if (((long int) (sizeof (int))) < 0) 15780 { 15781 long int i = longval (); 15782 if (i != ((long int) (sizeof (int)))) 15783 return 1; 15784 fprintf (f, "%ld", i); 15785 } 15786 else 15787 { 15788 unsigned long int i = ulongval (); 15789 if (i != ((long int) (sizeof (int)))) 15790 return 1; 15791 fprintf (f, "%lu", i); 15792 } 15793 /* Do not output a trailing newline, as this causes \r\n confusion 15794 on some platforms. */ 15795 return ferror (f) || fclose (f) != 0; 15796 15797 ; 15798 return 0; 15799 } 15800 _ACEOF 15801 rm -f conftest$ac_exeext 15802 if { (ac_try="$ac_link" 15803 case "(($ac_try" in 15804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15805 *) ac_try_echo=$ac_try;; 15806 esac 15807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15808 $as_echo "$ac_try_echo") >&5 15809 (eval "$ac_link") 2>&5 15810 ac_status=$? 15811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15812 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15813 { (case "(($ac_try" in 15814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15815 *) ac_try_echo=$ac_try;; 15816 esac 15817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15818 $as_echo "$ac_try_echo") >&5 15819 (eval "$ac_try") 2>&5 15820 ac_status=$? 15821 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15822 (exit $ac_status); }; }; then 15823 ac_cv_sizeof_int=`cat conftest.val` 15824 else 15825 $as_echo "$as_me: program exited with status $ac_status" >&5 15826 $as_echo "$as_me: failed program was:" >&5 15827 sed 's/^/| /' conftest.$ac_ext >&5 15828 15829 ( exit $ac_status ) 15830 if test "$ac_cv_type_int" = yes; then 15831 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 15832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15833 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 15834 See \`config.log' for more details." >&5 15835 $as_echo "$as_me: error: cannot compute sizeof (int) 15836 See \`config.log' for more details." >&2;} 15837 { (exit 77); exit 77; }; }; } 9311 15838 else 9312 15839 ac_cv_sizeof_int=0 9313 15840 fi 9314 15841 fi 9315 9316 fi 9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 15842 rm -rf conftest.dSYM 15843 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15844 fi 15845 rm -f conftest.val 15846 fi 15847 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 9318 15848 $as_echo "$ac_cv_sizeof_int" >&6; } 9319 15849 … … 9329 15859 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 9330 15860 # This bug is HP SR number 8606223364. 9331 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of long" >&515861 { $as_echo "$as_me:$LINENO: checking size of long" >&5 9332 15862 $as_echo_n "checking size of long... " >&6; } 9333 if ${ac_cv_sizeof_long+:} false; then :15863 if test "${ac_cv_sizeof_long+set}" = set; then 9334 15864 $as_echo_n "(cached) " >&6 9335 15865 else 9336 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 9337 9338 else 9339 if test "$ac_cv_type_long" = yes; then 9340 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15866 if test "$cross_compiling" = yes; then 15867 # Depending upon the size, compute the lo and hi bounds. 15868 cat >conftest.$ac_ext <<_ACEOF 15869 /* confdefs.h. */ 15870 _ACEOF 15871 cat confdefs.h >>conftest.$ac_ext 15872 cat >>conftest.$ac_ext <<_ACEOF 15873 /* end confdefs.h. */ 15874 $ac_includes_default 15875 int 15876 main () 15877 { 15878 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)]; 15879 test_array [0] = 0 15880 15881 ; 15882 return 0; 15883 } 15884 _ACEOF 15885 rm -f conftest.$ac_objext 15886 if { (ac_try="$ac_compile" 15887 case "(($ac_try" in 15888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15889 *) ac_try_echo=$ac_try;; 15890 esac 15891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15892 $as_echo "$ac_try_echo") >&5 15893 (eval "$ac_compile") 2>conftest.er1 15894 ac_status=$? 15895 grep -v '^ *+' conftest.er1 >conftest.err 15896 rm -f conftest.er1 15897 cat conftest.err >&5 15898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15899 (exit $ac_status); } && { 15900 test -z "$ac_cxx_werror_flag" || 15901 test ! -s conftest.err 15902 } && test -s conftest.$ac_objext; then 15903 ac_lo=0 ac_mid=0 15904 while :; do 15905 cat >conftest.$ac_ext <<_ACEOF 15906 /* confdefs.h. */ 15907 _ACEOF 15908 cat confdefs.h >>conftest.$ac_ext 15909 cat >>conftest.$ac_ext <<_ACEOF 15910 /* end confdefs.h. */ 15911 $ac_includes_default 15912 int 15913 main () 15914 { 15915 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 15916 test_array [0] = 0 15917 15918 ; 15919 return 0; 15920 } 15921 _ACEOF 15922 rm -f conftest.$ac_objext 15923 if { (ac_try="$ac_compile" 15924 case "(($ac_try" in 15925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15926 *) ac_try_echo=$ac_try;; 15927 esac 15928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15929 $as_echo "$ac_try_echo") >&5 15930 (eval "$ac_compile") 2>conftest.er1 15931 ac_status=$? 15932 grep -v '^ *+' conftest.er1 >conftest.err 15933 rm -f conftest.er1 15934 cat conftest.err >&5 15935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15936 (exit $ac_status); } && { 15937 test -z "$ac_cxx_werror_flag" || 15938 test ! -s conftest.err 15939 } && test -s conftest.$ac_objext; then 15940 ac_hi=$ac_mid; break 15941 else 15942 $as_echo "$as_me: failed program was:" >&5 15943 sed 's/^/| /' conftest.$ac_ext >&5 15944 15945 ac_lo=`expr $ac_mid + 1` 15946 if test $ac_lo -le $ac_mid; then 15947 ac_lo= ac_hi= 15948 break 15949 fi 15950 ac_mid=`expr 2 '*' $ac_mid + 1` 15951 fi 15952 15953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15954 done 15955 else 15956 $as_echo "$as_me: failed program was:" >&5 15957 sed 's/^/| /' conftest.$ac_ext >&5 15958 15959 cat >conftest.$ac_ext <<_ACEOF 15960 /* confdefs.h. */ 15961 _ACEOF 15962 cat confdefs.h >>conftest.$ac_ext 15963 cat >>conftest.$ac_ext <<_ACEOF 15964 /* end confdefs.h. */ 15965 $ac_includes_default 15966 int 15967 main () 15968 { 15969 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)]; 15970 test_array [0] = 0 15971 15972 ; 15973 return 0; 15974 } 15975 _ACEOF 15976 rm -f conftest.$ac_objext 15977 if { (ac_try="$ac_compile" 15978 case "(($ac_try" in 15979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15980 *) ac_try_echo=$ac_try;; 15981 esac 15982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15983 $as_echo "$ac_try_echo") >&5 15984 (eval "$ac_compile") 2>conftest.er1 15985 ac_status=$? 15986 grep -v '^ *+' conftest.er1 >conftest.err 15987 rm -f conftest.er1 15988 cat conftest.err >&5 15989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15990 (exit $ac_status); } && { 15991 test -z "$ac_cxx_werror_flag" || 15992 test ! -s conftest.err 15993 } && test -s conftest.$ac_objext; then 15994 ac_hi=-1 ac_mid=-1 15995 while :; do 15996 cat >conftest.$ac_ext <<_ACEOF 15997 /* confdefs.h. */ 15998 _ACEOF 15999 cat confdefs.h >>conftest.$ac_ext 16000 cat >>conftest.$ac_ext <<_ACEOF 16001 /* end confdefs.h. */ 16002 $ac_includes_default 16003 int 16004 main () 16005 { 16006 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)]; 16007 test_array [0] = 0 16008 16009 ; 16010 return 0; 16011 } 16012 _ACEOF 16013 rm -f conftest.$ac_objext 16014 if { (ac_try="$ac_compile" 16015 case "(($ac_try" in 16016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16017 *) ac_try_echo=$ac_try;; 16018 esac 16019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16020 $as_echo "$ac_try_echo") >&5 16021 (eval "$ac_compile") 2>conftest.er1 16022 ac_status=$? 16023 grep -v '^ *+' conftest.er1 >conftest.err 16024 rm -f conftest.er1 16025 cat conftest.err >&5 16026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16027 (exit $ac_status); } && { 16028 test -z "$ac_cxx_werror_flag" || 16029 test ! -s conftest.err 16030 } && test -s conftest.$ac_objext; then 16031 ac_lo=$ac_mid; break 16032 else 16033 $as_echo "$as_me: failed program was:" >&5 16034 sed 's/^/| /' conftest.$ac_ext >&5 16035 16036 ac_hi=`expr '(' $ac_mid ')' - 1` 16037 if test $ac_mid -le $ac_hi; then 16038 ac_lo= ac_hi= 16039 break 16040 fi 16041 ac_mid=`expr 2 '*' $ac_mid` 16042 fi 16043 16044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16045 done 16046 else 16047 $as_echo "$as_me: failed program was:" >&5 16048 sed 's/^/| /' conftest.$ac_ext >&5 16049 16050 ac_lo= ac_hi= 16051 fi 16052 16053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16054 fi 16055 16056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16057 # Binary search between lo and hi bounds. 16058 while test "x$ac_lo" != "x$ac_hi"; do 16059 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 16060 cat >conftest.$ac_ext <<_ACEOF 16061 /* confdefs.h. */ 16062 _ACEOF 16063 cat confdefs.h >>conftest.$ac_ext 16064 cat >>conftest.$ac_ext <<_ACEOF 16065 /* end confdefs.h. */ 16066 $ac_includes_default 16067 int 16068 main () 16069 { 16070 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 16071 test_array [0] = 0 16072 16073 ; 16074 return 0; 16075 } 16076 _ACEOF 16077 rm -f conftest.$ac_objext 16078 if { (ac_try="$ac_compile" 16079 case "(($ac_try" in 16080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16081 *) ac_try_echo=$ac_try;; 16082 esac 16083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16084 $as_echo "$ac_try_echo") >&5 16085 (eval "$ac_compile") 2>conftest.er1 16086 ac_status=$? 16087 grep -v '^ *+' conftest.er1 >conftest.err 16088 rm -f conftest.er1 16089 cat conftest.err >&5 16090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16091 (exit $ac_status); } && { 16092 test -z "$ac_cxx_werror_flag" || 16093 test ! -s conftest.err 16094 } && test -s conftest.$ac_objext; then 16095 ac_hi=$ac_mid 16096 else 16097 $as_echo "$as_me: failed program was:" >&5 16098 sed 's/^/| /' conftest.$ac_ext >&5 16099 16100 ac_lo=`expr '(' $ac_mid ')' + 1` 16101 fi 16102 16103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16104 done 16105 case $ac_lo in 16106 ?*) ac_cv_sizeof_long=$ac_lo;; 16107 '') if test "$ac_cv_type_long" = yes; then 16108 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9341 16109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9342 as_fn_error 77 "cannot compute sizeof (long) 9343 See \`config.log' for more details" "$LINENO" 5; } 16110 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 16111 See \`config.log' for more details." >&5 16112 $as_echo "$as_me: error: cannot compute sizeof (long) 16113 See \`config.log' for more details." >&2;} 16114 { (exit 77); exit 77; }; }; } 16115 else 16116 ac_cv_sizeof_long=0 16117 fi ;; 16118 esac 16119 else 16120 cat >conftest.$ac_ext <<_ACEOF 16121 /* confdefs.h. */ 16122 _ACEOF 16123 cat confdefs.h >>conftest.$ac_ext 16124 cat >>conftest.$ac_ext <<_ACEOF 16125 /* end confdefs.h. */ 16126 $ac_includes_default 16127 static long int longval () { return (long int) (sizeof (long)); } 16128 static unsigned long int ulongval () { return (long int) (sizeof (long)); } 16129 #include <stdio.h> 16130 #include <stdlib.h> 16131 int 16132 main () 16133 { 16134 16135 FILE *f = fopen ("conftest.val", "w"); 16136 if (! f) 16137 return 1; 16138 if (((long int) (sizeof (long))) < 0) 16139 { 16140 long int i = longval (); 16141 if (i != ((long int) (sizeof (long)))) 16142 return 1; 16143 fprintf (f, "%ld", i); 16144 } 16145 else 16146 { 16147 unsigned long int i = ulongval (); 16148 if (i != ((long int) (sizeof (long)))) 16149 return 1; 16150 fprintf (f, "%lu", i); 16151 } 16152 /* Do not output a trailing newline, as this causes \r\n confusion 16153 on some platforms. */ 16154 return ferror (f) || fclose (f) != 0; 16155 16156 ; 16157 return 0; 16158 } 16159 _ACEOF 16160 rm -f conftest$ac_exeext 16161 if { (ac_try="$ac_link" 16162 case "(($ac_try" in 16163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16164 *) ac_try_echo=$ac_try;; 16165 esac 16166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16167 $as_echo "$ac_try_echo") >&5 16168 (eval "$ac_link") 2>&5 16169 ac_status=$? 16170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16172 { (case "(($ac_try" in 16173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16174 *) ac_try_echo=$ac_try;; 16175 esac 16176 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16177 $as_echo "$ac_try_echo") >&5 16178 (eval "$ac_try") 2>&5 16179 ac_status=$? 16180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16181 (exit $ac_status); }; }; then 16182 ac_cv_sizeof_long=`cat conftest.val` 16183 else 16184 $as_echo "$as_me: program exited with status $ac_status" >&5 16185 $as_echo "$as_me: failed program was:" >&5 16186 sed 's/^/| /' conftest.$ac_ext >&5 16187 16188 ( exit $ac_status ) 16189 if test "$ac_cv_type_long" = yes; then 16190 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 16191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16192 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 16193 See \`config.log' for more details." >&5 16194 $as_echo "$as_me: error: cannot compute sizeof (long) 16195 See \`config.log' for more details." >&2;} 16196 { (exit 77); exit 77; }; }; } 9344 16197 else 9345 16198 ac_cv_sizeof_long=0 9346 16199 fi 9347 16200 fi 9348 9349 fi 9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 16201 rm -rf conftest.dSYM 16202 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16203 fi 16204 rm -f conftest.val 16205 fi 16206 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 9351 16207 $as_echo "$ac_cv_sizeof_long" >&6; } 9352 16208 … … 9362 16218 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 9363 16219 # This bug is HP SR number 8606223364. 9364 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of long long" >&516220 { $as_echo "$as_me:$LINENO: checking size of long long" >&5 9365 16221 $as_echo_n "checking size of long long... " >&6; } 9366 if ${ac_cv_sizeof_long_long+:} false; then :16222 if test "${ac_cv_sizeof_long_long+set}" = set; then 9367 16223 $as_echo_n "(cached) " >&6 9368 16224 else 9369 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 9370 9371 else 9372 if test "$ac_cv_type_long_long" = yes; then 9373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16225 if test "$cross_compiling" = yes; then 16226 # Depending upon the size, compute the lo and hi bounds. 16227 cat >conftest.$ac_ext <<_ACEOF 16228 /* confdefs.h. */ 16229 _ACEOF 16230 cat confdefs.h >>conftest.$ac_ext 16231 cat >>conftest.$ac_ext <<_ACEOF 16232 /* end confdefs.h. */ 16233 $ac_includes_default 16234 int 16235 main () 16236 { 16237 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)]; 16238 test_array [0] = 0 16239 16240 ; 16241 return 0; 16242 } 16243 _ACEOF 16244 rm -f conftest.$ac_objext 16245 if { (ac_try="$ac_compile" 16246 case "(($ac_try" in 16247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16248 *) ac_try_echo=$ac_try;; 16249 esac 16250 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16251 $as_echo "$ac_try_echo") >&5 16252 (eval "$ac_compile") 2>conftest.er1 16253 ac_status=$? 16254 grep -v '^ *+' conftest.er1 >conftest.err 16255 rm -f conftest.er1 16256 cat conftest.err >&5 16257 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16258 (exit $ac_status); } && { 16259 test -z "$ac_cxx_werror_flag" || 16260 test ! -s conftest.err 16261 } && test -s conftest.$ac_objext; then 16262 ac_lo=0 ac_mid=0 16263 while :; do 16264 cat >conftest.$ac_ext <<_ACEOF 16265 /* confdefs.h. */ 16266 _ACEOF 16267 cat confdefs.h >>conftest.$ac_ext 16268 cat >>conftest.$ac_ext <<_ACEOF 16269 /* end confdefs.h. */ 16270 $ac_includes_default 16271 int 16272 main () 16273 { 16274 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 16275 test_array [0] = 0 16276 16277 ; 16278 return 0; 16279 } 16280 _ACEOF 16281 rm -f conftest.$ac_objext 16282 if { (ac_try="$ac_compile" 16283 case "(($ac_try" in 16284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16285 *) ac_try_echo=$ac_try;; 16286 esac 16287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16288 $as_echo "$ac_try_echo") >&5 16289 (eval "$ac_compile") 2>conftest.er1 16290 ac_status=$? 16291 grep -v '^ *+' conftest.er1 >conftest.err 16292 rm -f conftest.er1 16293 cat conftest.err >&5 16294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16295 (exit $ac_status); } && { 16296 test -z "$ac_cxx_werror_flag" || 16297 test ! -s conftest.err 16298 } && test -s conftest.$ac_objext; then 16299 ac_hi=$ac_mid; break 16300 else 16301 $as_echo "$as_me: failed program was:" >&5 16302 sed 's/^/| /' conftest.$ac_ext >&5 16303 16304 ac_lo=`expr $ac_mid + 1` 16305 if test $ac_lo -le $ac_mid; then 16306 ac_lo= ac_hi= 16307 break 16308 fi 16309 ac_mid=`expr 2 '*' $ac_mid + 1` 16310 fi 16311 16312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16313 done 16314 else 16315 $as_echo "$as_me: failed program was:" >&5 16316 sed 's/^/| /' conftest.$ac_ext >&5 16317 16318 cat >conftest.$ac_ext <<_ACEOF 16319 /* confdefs.h. */ 16320 _ACEOF 16321 cat confdefs.h >>conftest.$ac_ext 16322 cat >>conftest.$ac_ext <<_ACEOF 16323 /* end confdefs.h. */ 16324 $ac_includes_default 16325 int 16326 main () 16327 { 16328 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)]; 16329 test_array [0] = 0 16330 16331 ; 16332 return 0; 16333 } 16334 _ACEOF 16335 rm -f conftest.$ac_objext 16336 if { (ac_try="$ac_compile" 16337 case "(($ac_try" in 16338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16339 *) ac_try_echo=$ac_try;; 16340 esac 16341 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16342 $as_echo "$ac_try_echo") >&5 16343 (eval "$ac_compile") 2>conftest.er1 16344 ac_status=$? 16345 grep -v '^ *+' conftest.er1 >conftest.err 16346 rm -f conftest.er1 16347 cat conftest.err >&5 16348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16349 (exit $ac_status); } && { 16350 test -z "$ac_cxx_werror_flag" || 16351 test ! -s conftest.err 16352 } && test -s conftest.$ac_objext; then 16353 ac_hi=-1 ac_mid=-1 16354 while :; do 16355 cat >conftest.$ac_ext <<_ACEOF 16356 /* confdefs.h. */ 16357 _ACEOF 16358 cat confdefs.h >>conftest.$ac_ext 16359 cat >>conftest.$ac_ext <<_ACEOF 16360 /* end confdefs.h. */ 16361 $ac_includes_default 16362 int 16363 main () 16364 { 16365 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)]; 16366 test_array [0] = 0 16367 16368 ; 16369 return 0; 16370 } 16371 _ACEOF 16372 rm -f conftest.$ac_objext 16373 if { (ac_try="$ac_compile" 16374 case "(($ac_try" in 16375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16376 *) ac_try_echo=$ac_try;; 16377 esac 16378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16379 $as_echo "$ac_try_echo") >&5 16380 (eval "$ac_compile") 2>conftest.er1 16381 ac_status=$? 16382 grep -v '^ *+' conftest.er1 >conftest.err 16383 rm -f conftest.er1 16384 cat conftest.err >&5 16385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16386 (exit $ac_status); } && { 16387 test -z "$ac_cxx_werror_flag" || 16388 test ! -s conftest.err 16389 } && test -s conftest.$ac_objext; then 16390 ac_lo=$ac_mid; break 16391 else 16392 $as_echo "$as_me: failed program was:" >&5 16393 sed 's/^/| /' conftest.$ac_ext >&5 16394 16395 ac_hi=`expr '(' $ac_mid ')' - 1` 16396 if test $ac_mid -le $ac_hi; then 16397 ac_lo= ac_hi= 16398 break 16399 fi 16400 ac_mid=`expr 2 '*' $ac_mid` 16401 fi 16402 16403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16404 done 16405 else 16406 $as_echo "$as_me: failed program was:" >&5 16407 sed 's/^/| /' conftest.$ac_ext >&5 16408 16409 ac_lo= ac_hi= 16410 fi 16411 16412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16413 fi 16414 16415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16416 # Binary search between lo and hi bounds. 16417 while test "x$ac_lo" != "x$ac_hi"; do 16418 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 16419 cat >conftest.$ac_ext <<_ACEOF 16420 /* confdefs.h. */ 16421 _ACEOF 16422 cat confdefs.h >>conftest.$ac_ext 16423 cat >>conftest.$ac_ext <<_ACEOF 16424 /* end confdefs.h. */ 16425 $ac_includes_default 16426 int 16427 main () 16428 { 16429 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 16430 test_array [0] = 0 16431 16432 ; 16433 return 0; 16434 } 16435 _ACEOF 16436 rm -f conftest.$ac_objext 16437 if { (ac_try="$ac_compile" 16438 case "(($ac_try" in 16439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16440 *) ac_try_echo=$ac_try;; 16441 esac 16442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16443 $as_echo "$ac_try_echo") >&5 16444 (eval "$ac_compile") 2>conftest.er1 16445 ac_status=$? 16446 grep -v '^ *+' conftest.er1 >conftest.err 16447 rm -f conftest.er1 16448 cat conftest.err >&5 16449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16450 (exit $ac_status); } && { 16451 test -z "$ac_cxx_werror_flag" || 16452 test ! -s conftest.err 16453 } && test -s conftest.$ac_objext; then 16454 ac_hi=$ac_mid 16455 else 16456 $as_echo "$as_me: failed program was:" >&5 16457 sed 's/^/| /' conftest.$ac_ext >&5 16458 16459 ac_lo=`expr '(' $ac_mid ')' + 1` 16460 fi 16461 16462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16463 done 16464 case $ac_lo in 16465 ?*) ac_cv_sizeof_long_long=$ac_lo;; 16466 '') if test "$ac_cv_type_long_long" = yes; then 16467 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9374 16468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9375 as_fn_error 77 "cannot compute sizeof (long long) 9376 See \`config.log' for more details" "$LINENO" 5; } 16469 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 16470 See \`config.log' for more details." >&5 16471 $as_echo "$as_me: error: cannot compute sizeof (long long) 16472 See \`config.log' for more details." >&2;} 16473 { (exit 77); exit 77; }; }; } 16474 else 16475 ac_cv_sizeof_long_long=0 16476 fi ;; 16477 esac 16478 else 16479 cat >conftest.$ac_ext <<_ACEOF 16480 /* confdefs.h. */ 16481 _ACEOF 16482 cat confdefs.h >>conftest.$ac_ext 16483 cat >>conftest.$ac_ext <<_ACEOF 16484 /* end confdefs.h. */ 16485 $ac_includes_default 16486 static long int longval () { return (long int) (sizeof (long long)); } 16487 static unsigned long int ulongval () { return (long int) (sizeof (long long)); } 16488 #include <stdio.h> 16489 #include <stdlib.h> 16490 int 16491 main () 16492 { 16493 16494 FILE *f = fopen ("conftest.val", "w"); 16495 if (! f) 16496 return 1; 16497 if (((long int) (sizeof (long long))) < 0) 16498 { 16499 long int i = longval (); 16500 if (i != ((long int) (sizeof (long long)))) 16501 return 1; 16502 fprintf (f, "%ld", i); 16503 } 16504 else 16505 { 16506 unsigned long int i = ulongval (); 16507 if (i != ((long int) (sizeof (long long)))) 16508 return 1; 16509 fprintf (f, "%lu", i); 16510 } 16511 /* Do not output a trailing newline, as this causes \r\n confusion 16512 on some platforms. */ 16513 return ferror (f) || fclose (f) != 0; 16514 16515 ; 16516 return 0; 16517 } 16518 _ACEOF 16519 rm -f conftest$ac_exeext 16520 if { (ac_try="$ac_link" 16521 case "(($ac_try" in 16522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16523 *) ac_try_echo=$ac_try;; 16524 esac 16525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16526 $as_echo "$ac_try_echo") >&5 16527 (eval "$ac_link") 2>&5 16528 ac_status=$? 16529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16531 { (case "(($ac_try" in 16532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16533 *) ac_try_echo=$ac_try;; 16534 esac 16535 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16536 $as_echo "$ac_try_echo") >&5 16537 (eval "$ac_try") 2>&5 16538 ac_status=$? 16539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16540 (exit $ac_status); }; }; then 16541 ac_cv_sizeof_long_long=`cat conftest.val` 16542 else 16543 $as_echo "$as_me: program exited with status $ac_status" >&5 16544 $as_echo "$as_me: failed program was:" >&5 16545 sed 's/^/| /' conftest.$ac_ext >&5 16546 16547 ( exit $ac_status ) 16548 if test "$ac_cv_type_long_long" = yes; then 16549 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 16550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16551 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 16552 See \`config.log' for more details." >&5 16553 $as_echo "$as_me: error: cannot compute sizeof (long long) 16554 See \`config.log' for more details." >&2;} 16555 { (exit 77); exit 77; }; }; } 9377 16556 else 9378 16557 ac_cv_sizeof_long_long=0 9379 16558 fi 9380 16559 fi 9381 9382 fi 9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 16560 rm -rf conftest.dSYM 16561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16562 fi 16563 rm -f conftest.val 16564 fi 16565 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 9384 16566 $as_echo "$ac_cv_sizeof_long_long" >&6; } 9385 16567 … … 9395 16577 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 9396 16578 # This bug is HP SR number 8606223364. 9397 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of void *" >&516579 { $as_echo "$as_me:$LINENO: checking size of void *" >&5 9398 16580 $as_echo_n "checking size of void *... " >&6; } 9399 if ${ac_cv_sizeof_void_p+:} false; then :16581 if test "${ac_cv_sizeof_void_p+set}" = set; then 9400 16582 $as_echo_n "(cached) " >&6 9401 16583 else 9402 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 9403 9404 else 9405 if test "$ac_cv_type_void_p" = yes; then 9406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16584 if test "$cross_compiling" = yes; then 16585 # Depending upon the size, compute the lo and hi bounds. 16586 cat >conftest.$ac_ext <<_ACEOF 16587 /* confdefs.h. */ 16588 _ACEOF 16589 cat confdefs.h >>conftest.$ac_ext 16590 cat >>conftest.$ac_ext <<_ACEOF 16591 /* end confdefs.h. */ 16592 $ac_includes_default 16593 int 16594 main () 16595 { 16596 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)]; 16597 test_array [0] = 0 16598 16599 ; 16600 return 0; 16601 } 16602 _ACEOF 16603 rm -f conftest.$ac_objext 16604 if { (ac_try="$ac_compile" 16605 case "(($ac_try" in 16606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16607 *) ac_try_echo=$ac_try;; 16608 esac 16609 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16610 $as_echo "$ac_try_echo") >&5 16611 (eval "$ac_compile") 2>conftest.er1 16612 ac_status=$? 16613 grep -v '^ *+' conftest.er1 >conftest.err 16614 rm -f conftest.er1 16615 cat conftest.err >&5 16616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16617 (exit $ac_status); } && { 16618 test -z "$ac_cxx_werror_flag" || 16619 test ! -s conftest.err 16620 } && test -s conftest.$ac_objext; then 16621 ac_lo=0 ac_mid=0 16622 while :; do 16623 cat >conftest.$ac_ext <<_ACEOF 16624 /* confdefs.h. */ 16625 _ACEOF 16626 cat confdefs.h >>conftest.$ac_ext 16627 cat >>conftest.$ac_ext <<_ACEOF 16628 /* end confdefs.h. */ 16629 $ac_includes_default 16630 int 16631 main () 16632 { 16633 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 16634 test_array [0] = 0 16635 16636 ; 16637 return 0; 16638 } 16639 _ACEOF 16640 rm -f conftest.$ac_objext 16641 if { (ac_try="$ac_compile" 16642 case "(($ac_try" in 16643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16644 *) ac_try_echo=$ac_try;; 16645 esac 16646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16647 $as_echo "$ac_try_echo") >&5 16648 (eval "$ac_compile") 2>conftest.er1 16649 ac_status=$? 16650 grep -v '^ *+' conftest.er1 >conftest.err 16651 rm -f conftest.er1 16652 cat conftest.err >&5 16653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16654 (exit $ac_status); } && { 16655 test -z "$ac_cxx_werror_flag" || 16656 test ! -s conftest.err 16657 } && test -s conftest.$ac_objext; then 16658 ac_hi=$ac_mid; break 16659 else 16660 $as_echo "$as_me: failed program was:" >&5 16661 sed 's/^/| /' conftest.$ac_ext >&5 16662 16663 ac_lo=`expr $ac_mid + 1` 16664 if test $ac_lo -le $ac_mid; then 16665 ac_lo= ac_hi= 16666 break 16667 fi 16668 ac_mid=`expr 2 '*' $ac_mid + 1` 16669 fi 16670 16671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16672 done 16673 else 16674 $as_echo "$as_me: failed program was:" >&5 16675 sed 's/^/| /' conftest.$ac_ext >&5 16676 16677 cat >conftest.$ac_ext <<_ACEOF 16678 /* confdefs.h. */ 16679 _ACEOF 16680 cat confdefs.h >>conftest.$ac_ext 16681 cat >>conftest.$ac_ext <<_ACEOF 16682 /* end confdefs.h. */ 16683 $ac_includes_default 16684 int 16685 main () 16686 { 16687 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)]; 16688 test_array [0] = 0 16689 16690 ; 16691 return 0; 16692 } 16693 _ACEOF 16694 rm -f conftest.$ac_objext 16695 if { (ac_try="$ac_compile" 16696 case "(($ac_try" in 16697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16698 *) ac_try_echo=$ac_try;; 16699 esac 16700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16701 $as_echo "$ac_try_echo") >&5 16702 (eval "$ac_compile") 2>conftest.er1 16703 ac_status=$? 16704 grep -v '^ *+' conftest.er1 >conftest.err 16705 rm -f conftest.er1 16706 cat conftest.err >&5 16707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16708 (exit $ac_status); } && { 16709 test -z "$ac_cxx_werror_flag" || 16710 test ! -s conftest.err 16711 } && test -s conftest.$ac_objext; then 16712 ac_hi=-1 ac_mid=-1 16713 while :; do 16714 cat >conftest.$ac_ext <<_ACEOF 16715 /* confdefs.h. */ 16716 _ACEOF 16717 cat confdefs.h >>conftest.$ac_ext 16718 cat >>conftest.$ac_ext <<_ACEOF 16719 /* end confdefs.h. */ 16720 $ac_includes_default 16721 int 16722 main () 16723 { 16724 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)]; 16725 test_array [0] = 0 16726 16727 ; 16728 return 0; 16729 } 16730 _ACEOF 16731 rm -f conftest.$ac_objext 16732 if { (ac_try="$ac_compile" 16733 case "(($ac_try" in 16734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16735 *) ac_try_echo=$ac_try;; 16736 esac 16737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16738 $as_echo "$ac_try_echo") >&5 16739 (eval "$ac_compile") 2>conftest.er1 16740 ac_status=$? 16741 grep -v '^ *+' conftest.er1 >conftest.err 16742 rm -f conftest.er1 16743 cat conftest.err >&5 16744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16745 (exit $ac_status); } && { 16746 test -z "$ac_cxx_werror_flag" || 16747 test ! -s conftest.err 16748 } && test -s conftest.$ac_objext; then 16749 ac_lo=$ac_mid; break 16750 else 16751 $as_echo "$as_me: failed program was:" >&5 16752 sed 's/^/| /' conftest.$ac_ext >&5 16753 16754 ac_hi=`expr '(' $ac_mid ')' - 1` 16755 if test $ac_mid -le $ac_hi; then 16756 ac_lo= ac_hi= 16757 break 16758 fi 16759 ac_mid=`expr 2 '*' $ac_mid` 16760 fi 16761 16762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16763 done 16764 else 16765 $as_echo "$as_me: failed program was:" >&5 16766 sed 's/^/| /' conftest.$ac_ext >&5 16767 16768 ac_lo= ac_hi= 16769 fi 16770 16771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16772 fi 16773 16774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16775 # Binary search between lo and hi bounds. 16776 while test "x$ac_lo" != "x$ac_hi"; do 16777 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 16778 cat >conftest.$ac_ext <<_ACEOF 16779 /* confdefs.h. */ 16780 _ACEOF 16781 cat confdefs.h >>conftest.$ac_ext 16782 cat >>conftest.$ac_ext <<_ACEOF 16783 /* end confdefs.h. */ 16784 $ac_includes_default 16785 int 16786 main () 16787 { 16788 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 16789 test_array [0] = 0 16790 16791 ; 16792 return 0; 16793 } 16794 _ACEOF 16795 rm -f conftest.$ac_objext 16796 if { (ac_try="$ac_compile" 16797 case "(($ac_try" in 16798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16799 *) ac_try_echo=$ac_try;; 16800 esac 16801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16802 $as_echo "$ac_try_echo") >&5 16803 (eval "$ac_compile") 2>conftest.er1 16804 ac_status=$? 16805 grep -v '^ *+' conftest.er1 >conftest.err 16806 rm -f conftest.er1 16807 cat conftest.err >&5 16808 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16809 (exit $ac_status); } && { 16810 test -z "$ac_cxx_werror_flag" || 16811 test ! -s conftest.err 16812 } && test -s conftest.$ac_objext; then 16813 ac_hi=$ac_mid 16814 else 16815 $as_echo "$as_me: failed program was:" >&5 16816 sed 's/^/| /' conftest.$ac_ext >&5 16817 16818 ac_lo=`expr '(' $ac_mid ')' + 1` 16819 fi 16820 16821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16822 done 16823 case $ac_lo in 16824 ?*) ac_cv_sizeof_void_p=$ac_lo;; 16825 '') if test "$ac_cv_type_void_p" = yes; then 16826 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9407 16827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9408 as_fn_error 77 "cannot compute sizeof (void *) 9409 See \`config.log' for more details" "$LINENO" 5; } 16828 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 16829 See \`config.log' for more details." >&5 16830 $as_echo "$as_me: error: cannot compute sizeof (void *) 16831 See \`config.log' for more details." >&2;} 16832 { (exit 77); exit 77; }; }; } 16833 else 16834 ac_cv_sizeof_void_p=0 16835 fi ;; 16836 esac 16837 else 16838 cat >conftest.$ac_ext <<_ACEOF 16839 /* confdefs.h. */ 16840 _ACEOF 16841 cat confdefs.h >>conftest.$ac_ext 16842 cat >>conftest.$ac_ext <<_ACEOF 16843 /* end confdefs.h. */ 16844 $ac_includes_default 16845 static long int longval () { return (long int) (sizeof (void *)); } 16846 static unsigned long int ulongval () { return (long int) (sizeof (void *)); } 16847 #include <stdio.h> 16848 #include <stdlib.h> 16849 int 16850 main () 16851 { 16852 16853 FILE *f = fopen ("conftest.val", "w"); 16854 if (! f) 16855 return 1; 16856 if (((long int) (sizeof (void *))) < 0) 16857 { 16858 long int i = longval (); 16859 if (i != ((long int) (sizeof (void *)))) 16860 return 1; 16861 fprintf (f, "%ld", i); 16862 } 16863 else 16864 { 16865 unsigned long int i = ulongval (); 16866 if (i != ((long int) (sizeof (void *)))) 16867 return 1; 16868 fprintf (f, "%lu", i); 16869 } 16870 /* Do not output a trailing newline, as this causes \r\n confusion 16871 on some platforms. */ 16872 return ferror (f) || fclose (f) != 0; 16873 16874 ; 16875 return 0; 16876 } 16877 _ACEOF 16878 rm -f conftest$ac_exeext 16879 if { (ac_try="$ac_link" 16880 case "(($ac_try" in 16881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16882 *) ac_try_echo=$ac_try;; 16883 esac 16884 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16885 $as_echo "$ac_try_echo") >&5 16886 (eval "$ac_link") 2>&5 16887 ac_status=$? 16888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16889 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16890 { (case "(($ac_try" in 16891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16892 *) ac_try_echo=$ac_try;; 16893 esac 16894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16895 $as_echo "$ac_try_echo") >&5 16896 (eval "$ac_try") 2>&5 16897 ac_status=$? 16898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16899 (exit $ac_status); }; }; then 16900 ac_cv_sizeof_void_p=`cat conftest.val` 16901 else 16902 $as_echo "$as_me: program exited with status $ac_status" >&5 16903 $as_echo "$as_me: failed program was:" >&5 16904 sed 's/^/| /' conftest.$ac_ext >&5 16905 16906 ( exit $ac_status ) 16907 if test "$ac_cv_type_void_p" = yes; then 16908 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 16909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16910 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 16911 See \`config.log' for more details." >&5 16912 $as_echo "$as_me: error: cannot compute sizeof (void *) 16913 See \`config.log' for more details." >&2;} 16914 { (exit 77); exit 77; }; }; } 9410 16915 else 9411 16916 ac_cv_sizeof_void_p=0 9412 16917 fi 9413 16918 fi 9414 9415 fi 9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 16919 rm -rf conftest.dSYM 16920 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16921 fi 16922 rm -f conftest.val 16923 fi 16924 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 9417 16925 $as_echo "$ac_cv_sizeof_void_p" >&6; } 9418 16926 … … 9437 16945 9438 16946 9439 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for build with symbols" >&516947 { $as_echo "$as_me:$LINENO: checking for build with symbols" >&5 9440 16948 $as_echo_n "checking for build with symbols... " >&6; } 9441 16949 # Check whether --enable-symbols was given. 9442 if test "${enable_symbols+set}" = set; then :16950 if test "${enable_symbols+set}" = set; then 9443 16951 enableval=$enable_symbols; tcl_ok=$enableval 9444 16952 else … … 9451 16959 LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)' 9452 16960 DBGX="" 9453 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&516961 { $as_echo "$as_me:$LINENO: result: no" >&5 9454 16962 $as_echo "no" >&6; } 9455 16963 else … … 9458 16966 DBGX=g 9459 16967 if test "$tcl_ok" = "yes"; then 9460 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes (standard debugging)" >&516968 { $as_echo "$as_me:$LINENO: result: yes (standard debugging)" >&5 9461 16969 $as_echo "yes (standard debugging)" >&6; } 9462 16970 fi … … 9466 16974 9467 16975 if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then 9468 $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h 16976 cat >>confdefs.h <<\_ACEOF 16977 #define TCL_MEM_DEBUG 1 16978 _ACEOF 9469 16979 9470 16980 fi 9471 16981 9472 16982 if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then 9473 $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h 9474 9475 $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h 16983 cat >>confdefs.h <<\_ACEOF 16984 #define TCL_COMPILE_DEBUG 1 16985 _ACEOF 16986 16987 cat >>confdefs.h <<\_ACEOF 16988 #define TCL_COMPILE_STATS 1 16989 _ACEOF 9476 16990 9477 16991 fi … … 9479 16993 if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then 9480 16994 if test "$tcl_ok" = "all"; then 9481 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: enabled symbols mem compile debugging" >&516995 { $as_echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&5 9482 16996 $as_echo "enabled symbols mem compile debugging" >&6; } 9483 16997 else 9484 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&516998 { $as_echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5 9485 16999 $as_echo "enabled $tcl_ok debugging" >&6; } 9486 17000 fi … … 9493 17007 #-------------------------------------------------------------------- 9494 17008 if test "${with_ffmpeg}" != "no" ; then 9495 if test "${with_ tclsh}" = "yes" ; then17009 if test "${with_ffmpeg}" = "yes" ; then 9496 17010 # Extract the first word of "ffmpeg", so it can be a program name with args. 9497 17011 set dummy ffmpeg; ac_word=$2 9498 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&517012 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 9499 17013 $as_echo_n "checking for $ac_word... " >&6; } 9500 if ${ac_cv_path_FFMPEG+:} false; then :17014 if test "${ac_cv_path_FFMPEG+set}" = set; then 9501 17015 $as_echo_n "(cached) " >&6 9502 17016 else … … 9511 17025 IFS=$as_save_IFS 9512 17026 test -z "$as_dir" && as_dir=. 9513 9514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then17027 for ac_exec_ext in '' $ac_executable_extensions; do 17028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9515 17029 ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext" 9516 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&517030 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 9517 17031 break 2 9518 17032 fi 9519 17033 done 9520 17034 done 9521 17035 IFS=$as_save_IFS 9522 17036 … … 9526 17040 FFMPEG=$ac_cv_path_FFMPEG 9527 17041 if test -n "$FFMPEG"; then 9528 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $FFMPEG" >&517042 { $as_echo "$as_me:$LINENO: result: $FFMPEG" >&5 9529 17043 $as_echo "$FFMPEG" >&6; } 9530 17044 else 9531 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&517045 { $as_echo "$as_me:$LINENO: result: no" >&5 9532 17046 $as_echo "no" >&6; } 9533 17047 fi … … 9537 17051 # Extract the first word of "ffmpeg", so it can be a program name with args. 9538 17052 set dummy ffmpeg; ac_word=$2 9539 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&517053 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 9540 17054 $as_echo_n "checking for $ac_word... " >&6; } 9541 if ${ac_cv_path_FFMPEG+:} false; then :17055 if test "${ac_cv_path_FFMPEG+set}" = set; then 9542 17056 $as_echo_n "(cached) " >&6 9543 17057 else … … 9553 17067 IFS=$as_save_IFS 9554 17068 test -z "$as_dir" && as_dir=. 9555 9556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then17069 for ac_exec_ext in '' $ac_executable_extensions; do 17070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9557 17071 ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext" 9558 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&517072 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 9559 17073 break 2 9560 17074 fi 9561 17075 done 9562 17076 done 9563 17077 IFS=$as_save_IFS 9564 17078 … … 9568 17082 FFMPEG=$ac_cv_path_FFMPEG 9569 17083 if test -n "$FFMPEG"; then 9570 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $FFMPEG" >&517084 { $as_echo "$as_me:$LINENO: result: $FFMPEG" >&5 9571 17085 $as_echo "$FFMPEG" >&6; } 9572 17086 else 9573 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&517087 { $as_echo "$as_me:$LINENO: result: no" >&5 9574 17088 $as_echo "no" >&6; } 9575 17089 fi … … 9579 17093 if test "${FFMPEG}x" != "x" ; then 9580 17094 9581 $as_echo "#define HAVE_FFMPEG 1" >>confdefs.h 17095 cat >>confdefs.h <<\_ACEOF 17096 #define HAVE_FFMPEG 1 17097 _ACEOF 9582 17098 9583 17099 fi 9584 17100 fi 9585 17101 9586 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 9587 do : 9588 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9589 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h libavutil/mathematics.h ffmpeg/swscale.h libswscale/swscale.h 17112 do 17113 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 17114 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 17115 $as_echo_n "checking for $ac_header... " >&6; } 17116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17117 $as_echo_n "(cached) " >&6 17118 else 17119 cat >conftest.$ac_ext <<_ACEOF 17120 /* confdefs.h. */ 17121 _ACEOF 17122 cat confdefs.h >>conftest.$ac_ext 17123 cat >>conftest.$ac_ext <<_ACEOF 17124 /* end confdefs.h. */ 17125 9590 17126 #define __STDC_CONSTANT_MACROS 1 9591 17127 9592 " 9593 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 17128 17129 #include <$ac_header> 17130 _ACEOF 17131 rm -f conftest.$ac_objext 17132 if { (ac_try="$ac_compile" 17133 case "(($ac_try" in 17134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17135 *) ac_try_echo=$ac_try;; 17136 esac 17137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17138 $as_echo "$ac_try_echo") >&5 17139 (eval "$ac_compile") 2>conftest.er1 17140 ac_status=$? 17141 grep -v '^ *+' conftest.er1 >conftest.err 17142 rm -f conftest.er1 17143 cat conftest.err >&5 17144 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17145 (exit $ac_status); } && { 17146 test -z "$ac_cxx_werror_flag" || 17147 test ! -s conftest.err 17148 } && test -s conftest.$ac_objext; then 17149 eval "$as_ac_Header=yes" 17150 else 17151 $as_echo "$as_me: failed program was:" >&5 17152 sed 's/^/| /' conftest.$ac_ext >&5 17153 17154 eval "$as_ac_Header=no" 17155 fi 17156 17157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17158 fi 17159 ac_res=`eval 'as_val=${'$as_ac_Header'} 17160 $as_echo "$as_val"'` 17161 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17162 $as_echo "$ac_res" >&6; } 17163 as_val=`eval 'as_val=${'$as_ac_Header'} 17164 $as_echo "$as_val"'` 17165 if test "x$as_val" = x""yes; then 9594 17166 cat >>confdefs.h <<_ACEOF 9595 17167 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 9613 17185 HAVE_FFMPEG_LIBS="yes" 9614 17186 9615 $as_echo "#define BUILD_with_ffmpeg 1" >>confdefs.h 17187 cat >>confdefs.h <<\_ACEOF 17188 #define BUILD_with_ffmpeg 1 17189 _ACEOF 9616 17190 9617 17191 fi 9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavcodec" >&5 17192 17193 { $as_echo "$as_me:$LINENO: checking for main in -lavcodec" >&5 9619 17194 $as_echo_n "checking for main in -lavcodec... " >&6; } 9620 if ${ac_cv_lib_avcodec_main+:} false; then :17195 if test "${ac_cv_lib_avcodec_main+set}" = set; then 9621 17196 $as_echo_n "(cached) " >&6 9622 17197 else 9623 17198 ac_check_lib_save_LIBS=$LIBS 9624 17199 LIBS="-lavcodec $LIBS" 9625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17200 cat >conftest.$ac_ext <<_ACEOF 17201 /* confdefs.h. */ 17202 _ACEOF 17203 cat confdefs.h >>conftest.$ac_ext 17204 cat >>conftest.$ac_ext <<_ACEOF 9626 17205 /* end confdefs.h. */ 9627 17206 … … 9635 17214 } 9636 17215 _ACEOF 9637 if ac_fn_cxx_try_link "$LINENO"; then : 17216 rm -f conftest.$ac_objext conftest$ac_exeext 17217 if { (ac_try="$ac_link" 17218 case "(($ac_try" in 17219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17220 *) ac_try_echo=$ac_try;; 17221 esac 17222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17223 $as_echo "$ac_try_echo") >&5 17224 (eval "$ac_link") 2>conftest.er1 17225 ac_status=$? 17226 grep -v '^ *+' conftest.er1 >conftest.err 17227 rm -f conftest.er1 17228 cat conftest.err >&5 17229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17230 (exit $ac_status); } && { 17231 test -z "$ac_cxx_werror_flag" || 17232 test ! -s conftest.err 17233 } && test -s conftest$ac_exeext && { 17234 test "$cross_compiling" = yes || 17235 $as_test_x conftest$ac_exeext 17236 }; then 9638 17237 ac_cv_lib_avcodec_main=yes 9639 17238 else 9640 ac_cv_lib_avcodec_main=no 9641 fi 9642 rm -f core conftest.err conftest.$ac_objext \ 9643 conftest$ac_exeext conftest.$ac_ext 17239 $as_echo "$as_me: failed program was:" >&5 17240 sed 's/^/| /' conftest.$ac_ext >&5 17241 17242 ac_cv_lib_avcodec_main=no 17243 fi 17244 17245 rm -rf conftest.dSYM 17246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17247 conftest$ac_exeext conftest.$ac_ext 9644 17248 LIBS=$ac_check_lib_save_LIBS 9645 17249 fi 9646 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_main" >&517250 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_main" >&5 9647 17251 $as_echo "$ac_cv_lib_avcodec_main" >&6; } 9648 if test "x$ac_cv_lib_avcodec_main" = x yes; then :17252 if test "x$ac_cv_lib_avcodec_main" = x""yes; then 9649 17253 cat >>confdefs.h <<_ACEOF 9650 17254 #define HAVE_LIBAVCODEC 1 … … 9654 17258 9655 17259 else 9656 as_fn_error $? "librappture requires libavcodec" "$LINENO" 5 9657 fi 9658 9659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavutil" >&5 17260 { { $as_echo "$as_me:$LINENO: error: librappture requires libavcodec" >&5 17261 $as_echo "$as_me: error: librappture requires libavcodec" >&2;} 17262 { (exit 1); exit 1; }; } 17263 fi 17264 17265 17266 { $as_echo "$as_me:$LINENO: checking for main in -lavutil" >&5 9660 17267 $as_echo_n "checking for main in -lavutil... " >&6; } 9661 if ${ac_cv_lib_avutil_main+:} false; then :17268 if test "${ac_cv_lib_avutil_main+set}" = set; then 9662 17269 $as_echo_n "(cached) " >&6 9663 17270 else 9664 17271 ac_check_lib_save_LIBS=$LIBS 9665 17272 LIBS="-lavutil $LIBS" 9666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17273 cat >conftest.$ac_ext <<_ACEOF 17274 /* confdefs.h. */ 17275 _ACEOF 17276 cat confdefs.h >>conftest.$ac_ext 17277 cat >>conftest.$ac_ext <<_ACEOF 9667 17278 /* end confdefs.h. */ 9668 17279 … … 9676 17287 } 9677 17288 _ACEOF 9678 if ac_fn_cxx_try_link "$LINENO"; then : 17289 rm -f conftest.$ac_objext conftest$ac_exeext 17290 if { (ac_try="$ac_link" 17291 case "(($ac_try" in 17292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17293 *) ac_try_echo=$ac_try;; 17294 esac 17295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17296 $as_echo "$ac_try_echo") >&5 17297 (eval "$ac_link") 2>conftest.er1 17298 ac_status=$? 17299 grep -v '^ *+' conftest.er1 >conftest.err 17300 rm -f conftest.er1 17301 cat conftest.err >&5 17302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17303 (exit $ac_status); } && { 17304 test -z "$ac_cxx_werror_flag" || 17305 test ! -s conftest.err 17306 } && test -s conftest$ac_exeext && { 17307 test "$cross_compiling" = yes || 17308 $as_test_x conftest$ac_exeext 17309 }; then 9679 17310 ac_cv_lib_avutil_main=yes 9680 17311 else 9681 ac_cv_lib_avutil_main=no 9682 fi 9683 rm -f core conftest.err conftest.$ac_objext \ 9684 conftest$ac_exeext conftest.$ac_ext 17312 $as_echo "$as_me: failed program was:" >&5 17313 sed 's/^/| /' conftest.$ac_ext >&5 17314 17315 ac_cv_lib_avutil_main=no 17316 fi 17317 17318 rm -rf conftest.dSYM 17319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17320 conftest$ac_exeext conftest.$ac_ext 9685 17321 LIBS=$ac_check_lib_save_LIBS 9686 17322 fi 9687 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avutil_main" >&517323 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_main" >&5 9688 17324 $as_echo "$ac_cv_lib_avutil_main" >&6; } 9689 if test "x$ac_cv_lib_avutil_main" = x yes; then :17325 if test "x$ac_cv_lib_avutil_main" = x""yes; then 9690 17326 cat >>confdefs.h <<_ACEOF 9691 17327 #define HAVE_LIBAVUTIL 1 … … 9695 17331 9696 17332 else 9697 as_fn_error $? "librappture requires libavutil" "$LINENO" 5 9698 fi 9699 9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavformat" >&5 17333 { { $as_echo "$as_me:$LINENO: error: librappture requires libavutil" >&5 17334 $as_echo "$as_me: error: librappture requires libavutil" >&2;} 17335 { (exit 1); exit 1; }; } 17336 fi 17337 17338 17339 { $as_echo "$as_me:$LINENO: checking for main in -lavformat" >&5 9701 17340 $as_echo_n "checking for main in -lavformat... " >&6; } 9702 if ${ac_cv_lib_avformat_main+:} false; then :17341 if test "${ac_cv_lib_avformat_main+set}" = set; then 9703 17342 $as_echo_n "(cached) " >&6 9704 17343 else 9705 17344 ac_check_lib_save_LIBS=$LIBS 9706 17345 LIBS="-lavformat $LIBS" 9707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17346 cat >conftest.$ac_ext <<_ACEOF 17347 /* confdefs.h. */ 17348 _ACEOF 17349 cat confdefs.h >>conftest.$ac_ext 17350 cat >>conftest.$ac_ext <<_ACEOF 9708 17351 /* end confdefs.h. */ 9709 17352 … … 9717 17360 } 9718 17361 _ACEOF 9719 if ac_fn_cxx_try_link "$LINENO"; then : 17362 rm -f conftest.$ac_objext conftest$ac_exeext 17363 if { (ac_try="$ac_link" 17364 case "(($ac_try" in 17365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17366 *) ac_try_echo=$ac_try;; 17367 esac 17368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17369 $as_echo "$ac_try_echo") >&5 17370 (eval "$ac_link") 2>conftest.er1 17371 ac_status=$? 17372 grep -v '^ *+' conftest.er1 >conftest.err 17373 rm -f conftest.er1 17374 cat conftest.err >&5 17375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17376 (exit $ac_status); } && { 17377 test -z "$ac_cxx_werror_flag" || 17378 test ! -s conftest.err 17379 } && test -s conftest$ac_exeext && { 17380 test "$cross_compiling" = yes || 17381 $as_test_x conftest$ac_exeext 17382 }; then 9720 17383 ac_cv_lib_avformat_main=yes 9721 17384 else 9722 ac_cv_lib_avformat_main=no 9723 fi 9724 rm -f core conftest.err conftest.$ac_objext \ 9725 conftest$ac_exeext conftest.$ac_ext 17385 $as_echo "$as_me: failed program was:" >&5 17386 sed 's/^/| /' conftest.$ac_ext >&5 17387 17388 ac_cv_lib_avformat_main=no 17389 fi 17390 17391 rm -rf conftest.dSYM 17392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17393 conftest$ac_exeext conftest.$ac_ext 9726 17394 LIBS=$ac_check_lib_save_LIBS 9727 17395 fi 9728 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avformat_main" >&517396 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_main" >&5 9729 17397 $as_echo "$ac_cv_lib_avformat_main" >&6; } 9730 if test "x$ac_cv_lib_avformat_main" = x yes; then :17398 if test "x$ac_cv_lib_avformat_main" = x""yes; then 9731 17399 cat >>confdefs.h <<_ACEOF 9732 17400 #define HAVE_LIBAVFORMAT 1 … … 9736 17404 9737 17405 else 9738 as_fn_error $? "librappture requires libavformat" "$LINENO" 5 9739 fi 9740 9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lswscale" >&5 17406 { { $as_echo "$as_me:$LINENO: error: librappture requires libavformat" >&5 17407 $as_echo "$as_me: error: librappture requires libavformat" >&2;} 17408 { (exit 1); exit 1; }; } 17409 fi 17410 17411 17412 { $as_echo "$as_me:$LINENO: checking for main in -lswscale" >&5 9742 17413 $as_echo_n "checking for main in -lswscale... " >&6; } 9743 if ${ac_cv_lib_swscale_main+:} false; then :17414 if test "${ac_cv_lib_swscale_main+set}" = set; then 9744 17415 $as_echo_n "(cached) " >&6 9745 17416 else 9746 17417 ac_check_lib_save_LIBS=$LIBS 9747 17418 LIBS="-lswscale $LIBS" 9748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17419 cat >conftest.$ac_ext <<_ACEOF 17420 /* confdefs.h. */ 17421 _ACEOF 17422 cat confdefs.h >>conftest.$ac_ext 17423 cat >>conftest.$ac_ext <<_ACEOF 9749 17424 /* end confdefs.h. */ 9750 17425 … … 9758 17433 } 9759 17434 _ACEOF 9760 if ac_fn_cxx_try_link "$LINENO"; then : 17435 rm -f conftest.$ac_objext conftest$ac_exeext 17436 if { (ac_try="$ac_link" 17437 case "(($ac_try" in 17438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17439 *) ac_try_echo=$ac_try;; 17440 esac 17441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17442 $as_echo "$ac_try_echo") >&5 17443 (eval "$ac_link") 2>conftest.er1 17444 ac_status=$? 17445 grep -v '^ *+' conftest.er1 >conftest.err 17446 rm -f conftest.er1 17447 cat conftest.err >&5 17448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17449 (exit $ac_status); } && { 17450 test -z "$ac_cxx_werror_flag" || 17451 test ! -s conftest.err 17452 } && test -s conftest$ac_exeext && { 17453 test "$cross_compiling" = yes || 17454 $as_test_x conftest$ac_exeext 17455 }; then 9761 17456 ac_cv_lib_swscale_main=yes 9762 17457 else 9763 ac_cv_lib_swscale_main=no 9764 fi 9765 rm -f core conftest.err conftest.$ac_objext \ 9766 conftest$ac_exeext conftest.$ac_ext 17458 $as_echo "$as_me: failed program was:" >&5 17459 sed 's/^/| /' conftest.$ac_ext >&5 17460 17461 ac_cv_lib_swscale_main=no 17462 fi 17463 17464 rm -rf conftest.dSYM 17465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17466 conftest$ac_exeext conftest.$ac_ext 9767 17467 LIBS=$ac_check_lib_save_LIBS 9768 17468 fi 9769 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_swscale_main" >&517469 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_main" >&5 9770 17470 $as_echo "$ac_cv_lib_swscale_main" >&6; } 9771 if test "x$ac_cv_lib_swscale_main" = x yes; then :17471 if test "x$ac_cv_lib_swscale_main" = x""yes; then 9772 17472 cat >>confdefs.h <<_ACEOF 9773 17473 #define HAVE_LIBSWSCALE 1 … … 9778 17478 fi 9779 17479 9780 for ac_func in av_find_stream_info 9781 do : 9782 ac_fn_cxx_check_func "$LINENO" "av_find_stream_info" "ac_cv_func_av_find_stream_info" 9783 if test "x$ac_cv_func_av_find_stream_info" = xyes; then : 17480 17481 for ac_func in av_find_stream_info 17482 do 17483 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17484 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17485 $as_echo_n "checking for $ac_func... " >&6; } 17486 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17487 $as_echo_n "(cached) " >&6 17488 else 17489 cat >conftest.$ac_ext <<_ACEOF 17490 /* confdefs.h. */ 17491 _ACEOF 17492 cat confdefs.h >>conftest.$ac_ext 17493 cat >>conftest.$ac_ext <<_ACEOF 17494 /* end confdefs.h. */ 17495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17496 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17497 #define $ac_func innocuous_$ac_func 17498 17499 /* System header to define __stub macros and hopefully few prototypes, 17500 which can conflict with char $ac_func (); below. 17501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17502 <limits.h> exists even on freestanding compilers. */ 17503 17504 #ifdef __STDC__ 17505 # include <limits.h> 17506 #else 17507 # include <assert.h> 17508 #endif 17509 17510 #undef $ac_func 17511 17512 /* Override any GCC internal prototype to avoid an error. 17513 Use char because int might match the return type of a GCC 17514 builtin and then its argument prototype would still apply. */ 17515 #ifdef __cplusplus 17516 extern "C" 17517 #endif 17518 char $ac_func (); 17519 /* The GNU C library defines this for functions which it implements 17520 to always fail with ENOSYS. Some functions are actually named 17521 something starting with __ and the normal name is an alias. */ 17522 #if defined __stub_$ac_func || defined __stub___$ac_func 17523 choke me 17524 #endif 17525 17526 int 17527 main () 17528 { 17529 return $ac_func (); 17530 ; 17531 return 0; 17532 } 17533 _ACEOF 17534 rm -f conftest.$ac_objext conftest$ac_exeext 17535 if { (ac_try="$ac_link" 17536 case "(($ac_try" in 17537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17538 *) ac_try_echo=$ac_try;; 17539 esac 17540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17541 $as_echo "$ac_try_echo") >&5 17542 (eval "$ac_link") 2>conftest.er1 17543 ac_status=$? 17544 grep -v '^ *+' conftest.er1 >conftest.err 17545 rm -f conftest.er1 17546 cat conftest.err >&5 17547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17548 (exit $ac_status); } && { 17549 test -z "$ac_cxx_werror_flag" || 17550 test ! -s conftest.err 17551 } && test -s conftest$ac_exeext && { 17552 test "$cross_compiling" = yes || 17553 $as_test_x conftest$ac_exeext 17554 }; then 17555 eval "$as_ac_var=yes" 17556 else 17557 $as_echo "$as_me: failed program was:" >&5 17558 sed 's/^/| /' conftest.$ac_ext >&5 17559 17560 eval "$as_ac_var=no" 17561 fi 17562 17563 rm -rf conftest.dSYM 17564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17565 conftest$ac_exeext conftest.$ac_ext 17566 fi 17567 ac_res=`eval 'as_val=${'$as_ac_var'} 17568 $as_echo "$as_val"'` 17569 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17570 $as_echo "$ac_res" >&6; } 17571 as_val=`eval 'as_val=${'$as_ac_var'} 17572 $as_echo "$as_val"'` 17573 if test "x$as_val" = x""yes; then 9784 17574 cat >>confdefs.h <<_ACEOF 9785 #define HAVE_AV_FIND_STREAM_INFO117575 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9786 17576 _ACEOF 9787 17577 … … 9789 17579 done 9790 17580 9791 for ac_func in av_open_input_file 9792 do : 9793 ac_fn_cxx_check_func "$LINENO" "av_open_input_file" "ac_cv_func_av_open_input_file" 9794 if test "x$ac_cv_func_av_open_input_file" = xyes; then : 17581 17582 for ac_func in av_open_input_file 17583 do 17584 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17585 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17586 $as_echo_n "checking for $ac_func... " >&6; } 17587 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17588 $as_echo_n "(cached) " >&6 17589 else 17590 cat >conftest.$ac_ext <<_ACEOF 17591 /* confdefs.h. */ 17592 _ACEOF 17593 cat confdefs.h >>conftest.$ac_ext 17594 cat >>conftest.$ac_ext <<_ACEOF 17595 /* end confdefs.h. */ 17596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17597 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17598 #define $ac_func innocuous_$ac_func 17599 17600 /* System header to define __stub macros and hopefully few prototypes, 17601 which can conflict with char $ac_func (); below. 17602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17603 <limits.h> exists even on freestanding compilers. */ 17604 17605 #ifdef __STDC__ 17606 # include <limits.h> 17607 #else 17608 # include <assert.h> 17609 #endif 17610 17611 #undef $ac_func 17612 17613 /* Override any GCC internal prototype to avoid an error. 17614 Use char because int might match the return type of a GCC 17615 builtin and then its argument prototype would still apply. */ 17616 #ifdef __cplusplus 17617 extern "C" 17618 #endif 17619 char $ac_func (); 17620 /* The GNU C library defines this for functions which it implements 17621 to always fail with ENOSYS. Some functions are actually named 17622 something starting with __ and the normal name is an alias. */ 17623 #if defined __stub_$ac_func || defined __stub___$ac_func 17624 choke me 17625 #endif 17626 17627 int 17628 main () 17629 { 17630 return $ac_func (); 17631 ; 17632 return 0; 17633 } 17634 _ACEOF 17635 rm -f conftest.$ac_objext conftest$ac_exeext 17636 if { (ac_try="$ac_link" 17637 case "(($ac_try" in 17638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17639 *) ac_try_echo=$ac_try;; 17640 esac 17641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17642 $as_echo "$ac_try_echo") >&5 17643 (eval "$ac_link") 2>conftest.er1 17644 ac_status=$? 17645 grep -v '^ *+' conftest.er1 >conftest.err 17646 rm -f conftest.er1 17647 cat conftest.err >&5 17648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17649 (exit $ac_status); } && { 17650 test -z "$ac_cxx_werror_flag" || 17651 test ! -s conftest.err 17652 } && test -s conftest$ac_exeext && { 17653 test "$cross_compiling" = yes || 17654 $as_test_x conftest$ac_exeext 17655 }; then 17656 eval "$as_ac_var=yes" 17657 else 17658 $as_echo "$as_me: failed program was:" >&5 17659 sed 's/^/| /' conftest.$ac_ext >&5 17660 17661 eval "$as_ac_var=no" 17662 fi 17663 17664 rm -rf conftest.dSYM 17665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17666 conftest$ac_exeext conftest.$ac_ext 17667 fi 17668 ac_res=`eval 'as_val=${'$as_ac_var'} 17669 $as_echo "$as_val"'` 17670 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17671 $as_echo "$ac_res" >&6; } 17672 as_val=`eval 'as_val=${'$as_ac_var'} 17673 $as_echo "$as_val"'` 17674 if test "x$as_val" = x""yes; then 9795 17675 cat >>confdefs.h <<_ACEOF 9796 #define HAVE_AV_OPEN_INPUT_FILE117676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9797 17677 _ACEOF 9798 17678 … … 9800 17680 done 9801 17681 9802 for ac_func in avcodec_decode_video 9803 do : 9804 ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video" "ac_cv_func_avcodec_decode_video" 9805 if test "x$ac_cv_func_avcodec_decode_video" = xyes; then : 17682 17683 for ac_func in avcodec_decode_video 17684 do 17685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17686 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17687 $as_echo_n "checking for $ac_func... " >&6; } 17688 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17689 $as_echo_n "(cached) " >&6 17690 else 17691 cat >conftest.$ac_ext <<_ACEOF 17692 /* confdefs.h. */ 17693 _ACEOF 17694 cat confdefs.h >>conftest.$ac_ext 17695 cat >>conftest.$ac_ext <<_ACEOF 17696 /* end confdefs.h. */ 17697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17698 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17699 #define $ac_func innocuous_$ac_func 17700 17701 /* System header to define __stub macros and hopefully few prototypes, 17702 which can conflict with char $ac_func (); below. 17703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17704 <limits.h> exists even on freestanding compilers. */ 17705 17706 #ifdef __STDC__ 17707 # include <limits.h> 17708 #else 17709 # include <assert.h> 17710 #endif 17711 17712 #undef $ac_func 17713 17714 /* Override any GCC internal prototype to avoid an error. 17715 Use char because int might match the return type of a GCC 17716 builtin and then its argument prototype would still apply. */ 17717 #ifdef __cplusplus 17718 extern "C" 17719 #endif 17720 char $ac_func (); 17721 /* The GNU C library defines this for functions which it implements 17722 to always fail with ENOSYS. Some functions are actually named 17723 something starting with __ and the normal name is an alias. */ 17724 #if defined __stub_$ac_func || defined __stub___$ac_func 17725 choke me 17726 #endif 17727 17728 int 17729 main () 17730 { 17731 return $ac_func (); 17732 ; 17733 return 0; 17734 } 17735 _ACEOF 17736 rm -f conftest.$ac_objext conftest$ac_exeext 17737 if { (ac_try="$ac_link" 17738 case "(($ac_try" in 17739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17740 *) ac_try_echo=$ac_try;; 17741 esac 17742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17743 $as_echo "$ac_try_echo") >&5 17744 (eval "$ac_link") 2>conftest.er1 17745 ac_status=$? 17746 grep -v '^ *+' conftest.er1 >conftest.err 17747 rm -f conftest.er1 17748 cat conftest.err >&5 17749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17750 (exit $ac_status); } && { 17751 test -z "$ac_cxx_werror_flag" || 17752 test ! -s conftest.err 17753 } && test -s conftest$ac_exeext && { 17754 test "$cross_compiling" = yes || 17755 $as_test_x conftest$ac_exeext 17756 }; then 17757 eval "$as_ac_var=yes" 17758 else 17759 $as_echo "$as_me: failed program was:" >&5 17760 sed 's/^/| /' conftest.$ac_ext >&5 17761 17762 eval "$as_ac_var=no" 17763 fi 17764 17765 rm -rf conftest.dSYM 17766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17767 conftest$ac_exeext conftest.$ac_ext 17768 fi 17769 ac_res=`eval 'as_val=${'$as_ac_var'} 17770 $as_echo "$as_val"'` 17771 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17772 $as_echo "$ac_res" >&6; } 17773 as_val=`eval 'as_val=${'$as_ac_var'} 17774 $as_echo "$as_val"'` 17775 if test "x$as_val" = x""yes; then 9806 17776 cat >>confdefs.h <<_ACEOF 9807 #define HAVE_AVCODEC_DECODE_VIDEO117777 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9808 17778 _ACEOF 9809 17779 … … 9811 17781 done 9812 17782 9813 for ac_func in avcodec_decode_video2 9814 do : 9815 ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video2" "ac_cv_func_avcodec_decode_video2" 9816 if test "x$ac_cv_func_avcodec_decode_video2" = xyes; then : 17783 17784 for ac_func in avcodec_decode_video2 17785 do 17786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17787 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17788 $as_echo_n "checking for $ac_func... " >&6; } 17789 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17790 $as_echo_n "(cached) " >&6 17791 else 17792 cat >conftest.$ac_ext <<_ACEOF 17793 /* confdefs.h. */ 17794 _ACEOF 17795 cat confdefs.h >>conftest.$ac_ext 17796 cat >>conftest.$ac_ext <<_ACEOF 17797 /* end confdefs.h. */ 17798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17799 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17800 #define $ac_func innocuous_$ac_func 17801 17802 /* System header to define __stub macros and hopefully few prototypes, 17803 which can conflict with char $ac_func (); below. 17804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17805 <limits.h> exists even on freestanding compilers. */ 17806 17807 #ifdef __STDC__ 17808 # include <limits.h> 17809 #else 17810 # include <assert.h> 17811 #endif 17812 17813 #undef $ac_func 17814 17815 /* Override any GCC internal prototype to avoid an error. 17816 Use char because int might match the return type of a GCC 17817 builtin and then its argument prototype would still apply. */ 17818 #ifdef __cplusplus 17819 extern "C" 17820 #endif 17821 char $ac_func (); 17822 /* The GNU C library defines this for functions which it implements 17823 to always fail with ENOSYS. Some functions are actually named 17824 something starting with __ and the normal name is an alias. */ 17825 #if defined __stub_$ac_func || defined __stub___$ac_func 17826 choke me 17827 #endif 17828 17829 int 17830 main () 17831 { 17832 return $ac_func (); 17833 ; 17834 return 0; 17835 } 17836 _ACEOF 17837 rm -f conftest.$ac_objext conftest$ac_exeext 17838 if { (ac_try="$ac_link" 17839 case "(($ac_try" in 17840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17841 *) ac_try_echo=$ac_try;; 17842 esac 17843 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17844 $as_echo "$ac_try_echo") >&5 17845 (eval "$ac_link") 2>conftest.er1 17846 ac_status=$? 17847 grep -v '^ *+' conftest.er1 >conftest.err 17848 rm -f conftest.er1 17849 cat conftest.err >&5 17850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17851 (exit $ac_status); } && { 17852 test -z "$ac_cxx_werror_flag" || 17853 test ! -s conftest.err 17854 } && test -s conftest$ac_exeext && { 17855 test "$cross_compiling" = yes || 17856 $as_test_x conftest$ac_exeext 17857 }; then 17858 eval "$as_ac_var=yes" 17859 else 17860 $as_echo "$as_me: failed program was:" >&5 17861 sed 's/^/| /' conftest.$ac_ext >&5 17862 17863 eval "$as_ac_var=no" 17864 fi 17865 17866 rm -rf conftest.dSYM 17867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17868 conftest$ac_exeext conftest.$ac_ext 17869 fi 17870 ac_res=`eval 'as_val=${'$as_ac_var'} 17871 $as_echo "$as_val"'` 17872 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17873 $as_echo "$ac_res" >&6; } 17874 as_val=`eval 'as_val=${'$as_ac_var'} 17875 $as_echo "$as_val"'` 17876 if test "x$as_val" = x""yes; then 9817 17877 cat >>confdefs.h <<_ACEOF 9818 #define HAVE_AVCODEC_DECODE_VIDEO2117878 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9819 17879 _ACEOF 9820 17880 … … 9822 17882 done 9823 17883 9824 for ac_func in avcodec_open 9825 do : 9826 ac_fn_cxx_check_func "$LINENO" "avcodec_open" "ac_cv_func_avcodec_open" 9827 if test "x$ac_cv_func_avcodec_open" = xyes; then : 17884 17885 for ac_func in avcodec_open 17886 do 17887 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17888 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17889 $as_echo_n "checking for $ac_func... " >&6; } 17890 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17891 $as_echo_n "(cached) " >&6 17892 else 17893 cat >conftest.$ac_ext <<_ACEOF 17894 /* confdefs.h. */ 17895 _ACEOF 17896 cat confdefs.h >>conftest.$ac_ext 17897 cat >>conftest.$ac_ext <<_ACEOF 17898 /* end confdefs.h. */ 17899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17900 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17901 #define $ac_func innocuous_$ac_func 17902 17903 /* System header to define __stub macros and hopefully few prototypes, 17904 which can conflict with char $ac_func (); below. 17905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17906 <limits.h> exists even on freestanding compilers. */ 17907 17908 #ifdef __STDC__ 17909 # include <limits.h> 17910 #else 17911 # include <assert.h> 17912 #endif 17913 17914 #undef $ac_func 17915 17916 /* Override any GCC internal prototype to avoid an error. 17917 Use char because int might match the return type of a GCC 17918 builtin and then its argument prototype would still apply. */ 17919 #ifdef __cplusplus 17920 extern "C" 17921 #endif 17922 char $ac_func (); 17923 /* The GNU C library defines this for functions which it implements 17924 to always fail with ENOSYS. Some functions are actually named 17925 something starting with __ and the normal name is an alias. */ 17926 #if defined __stub_$ac_func || defined __stub___$ac_func 17927 choke me 17928 #endif 17929 17930 int 17931 main () 17932 { 17933 return $ac_func (); 17934 ; 17935 return 0; 17936 } 17937 _ACEOF 17938 rm -f conftest.$ac_objext conftest$ac_exeext 17939 if { (ac_try="$ac_link" 17940 case "(($ac_try" in 17941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17942 *) ac_try_echo=$ac_try;; 17943 esac 17944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17945 $as_echo "$ac_try_echo") >&5 17946 (eval "$ac_link") 2>conftest.er1 17947 ac_status=$? 17948 grep -v '^ *+' conftest.er1 >conftest.err 17949 rm -f conftest.er1 17950 cat conftest.err >&5 17951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17952 (exit $ac_status); } && { 17953 test -z "$ac_cxx_werror_flag" || 17954 test ! -s conftest.err 17955 } && test -s conftest$ac_exeext && { 17956 test "$cross_compiling" = yes || 17957 $as_test_x conftest$ac_exeext 17958 }; then 17959 eval "$as_ac_var=yes" 17960 else 17961 $as_echo "$as_me: failed program was:" >&5 17962 sed 's/^/| /' conftest.$ac_ext >&5 17963 17964 eval "$as_ac_var=no" 17965 fi 17966 17967 rm -rf conftest.dSYM 17968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17969 conftest$ac_exeext conftest.$ac_ext 17970 fi 17971 ac_res=`eval 'as_val=${'$as_ac_var'} 17972 $as_echo "$as_val"'` 17973 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17974 $as_echo "$ac_res" >&6; } 17975 as_val=`eval 'as_val=${'$as_ac_var'} 17976 $as_echo "$as_val"'` 17977 if test "x$as_val" = x""yes; then 9828 17978 cat >>confdefs.h <<_ACEOF 9829 #define HAVE_AVCODEC_OPEN117979 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9830 17980 _ACEOF 9831 17981 … … 9833 17983 done 9834 17984 9835 for ac_func in avcodec_open2 9836 do : 9837 ac_fn_cxx_check_func "$LINENO" "avcodec_open2" "ac_cv_func_avcodec_open2" 9838 if test "x$ac_cv_func_avcodec_open2" = xyes; then : 17985 17986 for ac_func in avcodec_open2 17987 do 17988 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17989 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17990 $as_echo_n "checking for $ac_func... " >&6; } 17991 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17992 $as_echo_n "(cached) " >&6 17993 else 17994 cat >conftest.$ac_ext <<_ACEOF 17995 /* confdefs.h. */ 17996 _ACEOF 17997 cat confdefs.h >>conftest.$ac_ext 17998 cat >>conftest.$ac_ext <<_ACEOF 17999 /* end confdefs.h. */ 18000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18001 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18002 #define $ac_func innocuous_$ac_func 18003 18004 /* System header to define __stub macros and hopefully few prototypes, 18005 which can conflict with char $ac_func (); below. 18006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18007 <limits.h> exists even on freestanding compilers. */ 18008 18009 #ifdef __STDC__ 18010 # include <limits.h> 18011 #else 18012 # include <assert.h> 18013 #endif 18014 18015 #undef $ac_func 18016 18017 /* Override any GCC internal prototype to avoid an error. 18018 Use char because int might match the return type of a GCC 18019 builtin and then its argument prototype would still apply. */ 18020 #ifdef __cplusplus 18021 extern "C" 18022 #endif 18023 char $ac_func (); 18024 /* The GNU C library defines this for functions which it implements 18025 to always fail with ENOSYS. Some functions are actually named 18026 something starting with __ and the normal name is an alias. */ 18027 #if defined __stub_$ac_func || defined __stub___$ac_func 18028 choke me 18029 #endif 18030 18031 int 18032 main () 18033 { 18034 return $ac_func (); 18035 ; 18036 return 0; 18037 } 18038 _ACEOF 18039 rm -f conftest.$ac_objext conftest$ac_exeext 18040 if { (ac_try="$ac_link" 18041 case "(($ac_try" in 18042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18043 *) ac_try_echo=$ac_try;; 18044 esac 18045 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18046 $as_echo "$ac_try_echo") >&5 18047 (eval "$ac_link") 2>conftest.er1 18048 ac_status=$? 18049 grep -v '^ *+' conftest.er1 >conftest.err 18050 rm -f conftest.er1 18051 cat conftest.err >&5 18052 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18053 (exit $ac_status); } && { 18054 test -z "$ac_cxx_werror_flag" || 18055 test ! -s conftest.err 18056 } && test -s conftest$ac_exeext && { 18057 test "$cross_compiling" = yes || 18058 $as_test_x conftest$ac_exeext 18059 }; then 18060 eval "$as_ac_var=yes" 18061 else 18062 $as_echo "$as_me: failed program was:" >&5 18063 sed 's/^/| /' conftest.$ac_ext >&5 18064 18065 eval "$as_ac_var=no" 18066 fi 18067 18068 rm -rf conftest.dSYM 18069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18070 conftest$ac_exeext conftest.$ac_ext 18071 fi 18072 ac_res=`eval 'as_val=${'$as_ac_var'} 18073 $as_echo "$as_val"'` 18074 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18075 $as_echo "$ac_res" >&6; } 18076 as_val=`eval 'as_val=${'$as_ac_var'} 18077 $as_echo "$as_val"'` 18078 if test "x$as_val" = x""yes; then 9839 18079 cat >>confdefs.h <<_ACEOF 9840 #define HAVE_AVCODEC_OPEN2118080 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9841 18081 _ACEOF 9842 18082 … … 9844 18084 done 9845 18085 9846 for ac_func in avformat_find_stream_info 9847 do : 9848 ac_fn_cxx_check_func "$LINENO" "avformat_find_stream_info" "ac_cv_func_avformat_find_stream_info" 9849 if test "x$ac_cv_func_avformat_find_stream_info" = xyes; then : 18086 18087 for ac_func in avformat_find_stream_info 18088 do 18089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18090 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18091 $as_echo_n "checking for $ac_func... " >&6; } 18092 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18093 $as_echo_n "(cached) " >&6 18094 else 18095 cat >conftest.$ac_ext <<_ACEOF 18096 /* confdefs.h. */ 18097 _ACEOF 18098 cat confdefs.h >>conftest.$ac_ext 18099 cat >>conftest.$ac_ext <<_ACEOF 18100 /* end confdefs.h. */ 18101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18102 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18103 #define $ac_func innocuous_$ac_func 18104 18105 /* System header to define __stub macros and hopefully few prototypes, 18106 which can conflict with char $ac_func (); below. 18107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18108 <limits.h> exists even on freestanding compilers. */ 18109 18110 #ifdef __STDC__ 18111 # include <limits.h> 18112 #else 18113 # include <assert.h> 18114 #endif 18115 18116 #undef $ac_func 18117 18118 /* Override any GCC internal prototype to avoid an error. 18119 Use char because int might match the return type of a GCC 18120 builtin and then its argument prototype would still apply. */ 18121 #ifdef __cplusplus 18122 extern "C" 18123 #endif 18124 char $ac_func (); 18125 /* The GNU C library defines this for functions which it implements 18126 to always fail with ENOSYS. Some functions are actually named 18127 something starting with __ and the normal name is an alias. */ 18128 #if defined __stub_$ac_func || defined __stub___$ac_func 18129 choke me 18130 #endif 18131 18132 int 18133 main () 18134 { 18135 return $ac_func (); 18136 ; 18137 return 0; 18138 } 18139 _ACEOF 18140 rm -f conftest.$ac_objext conftest$ac_exeext 18141 if { (ac_try="$ac_link" 18142 case "(($ac_try" in 18143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18144 *) ac_try_echo=$ac_try;; 18145 esac 18146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18147 $as_echo "$ac_try_echo") >&5 18148 (eval "$ac_link") 2>conftest.er1 18149 ac_status=$? 18150 grep -v '^ *+' conftest.er1 >conftest.err 18151 rm -f conftest.er1 18152 cat conftest.err >&5 18153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18154 (exit $ac_status); } && { 18155 test -z "$ac_cxx_werror_flag" || 18156 test ! -s conftest.err 18157 } && test -s conftest$ac_exeext && { 18158 test "$cross_compiling" = yes || 18159 $as_test_x conftest$ac_exeext 18160 }; then 18161 eval "$as_ac_var=yes" 18162 else 18163 $as_echo "$as_me: failed program was:" >&5 18164 sed 's/^/| /' conftest.$ac_ext >&5 18165 18166 eval "$as_ac_var=no" 18167 fi 18168 18169 rm -rf conftest.dSYM 18170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18171 conftest$ac_exeext conftest.$ac_ext 18172 fi 18173 ac_res=`eval 'as_val=${'$as_ac_var'} 18174 $as_echo "$as_val"'` 18175 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18176 $as_echo "$ac_res" >&6; } 18177 as_val=`eval 'as_val=${'$as_ac_var'} 18178 $as_echo "$as_val"'` 18179 if test "x$as_val" = x""yes; then 9850 18180 cat >>confdefs.h <<_ACEOF 9851 #define HAVE_AVFORMAT_FIND_STREAM_INFO118181 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9852 18182 _ACEOF 9853 18183 … … 9855 18185 done 9856 18186 9857 for ac_func in avformat_open_input 9858 do : 9859 ac_fn_cxx_check_func "$LINENO" "avformat_open_input" "ac_cv_func_avformat_open_input" 9860 if test "x$ac_cv_func_avformat_open_input" = xyes; then : 18187 18188 for ac_func in avformat_open_input 18189 do 18190 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18191 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18192 $as_echo_n "checking for $ac_func... " >&6; } 18193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18194 $as_echo_n "(cached) " >&6 18195 else 18196 cat >conftest.$ac_ext <<_ACEOF 18197 /* confdefs.h. */ 18198 _ACEOF 18199 cat confdefs.h >>conftest.$ac_ext 18200 cat >>conftest.$ac_ext <<_ACEOF 18201 /* end confdefs.h. */ 18202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18203 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18204 #define $ac_func innocuous_$ac_func 18205 18206 /* System header to define __stub macros and hopefully few prototypes, 18207 which can conflict with char $ac_func (); below. 18208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18209 <limits.h> exists even on freestanding compilers. */ 18210 18211 #ifdef __STDC__ 18212 # include <limits.h> 18213 #else 18214 # include <assert.h> 18215 #endif 18216 18217 #undef $ac_func 18218 18219 /* Override any GCC internal prototype to avoid an error. 18220 Use char because int might match the return type of a GCC 18221 builtin and then its argument prototype would still apply. */ 18222 #ifdef __cplusplus 18223 extern "C" 18224 #endif 18225 char $ac_func (); 18226 /* The GNU C library defines this for functions which it implements 18227 to always fail with ENOSYS. Some functions are actually named 18228 something starting with __ and the normal name is an alias. */ 18229 #if defined __stub_$ac_func || defined __stub___$ac_func 18230 choke me 18231 #endif 18232 18233 int 18234 main () 18235 { 18236 return $ac_func (); 18237 ; 18238 return 0; 18239 } 18240 _ACEOF 18241 rm -f conftest.$ac_objext conftest$ac_exeext 18242 if { (ac_try="$ac_link" 18243 case "(($ac_try" in 18244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18245 *) ac_try_echo=$ac_try;; 18246 esac 18247 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18248 $as_echo "$ac_try_echo") >&5 18249 (eval "$ac_link") 2>conftest.er1 18250 ac_status=$? 18251 grep -v '^ *+' conftest.er1 >conftest.err 18252 rm -f conftest.er1 18253 cat conftest.err >&5 18254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18255 (exit $ac_status); } && { 18256 test -z "$ac_cxx_werror_flag" || 18257 test ! -s conftest.err 18258 } && test -s conftest$ac_exeext && { 18259 test "$cross_compiling" = yes || 18260 $as_test_x conftest$ac_exeext 18261 }; then 18262 eval "$as_ac_var=yes" 18263 else 18264 $as_echo "$as_me: failed program was:" >&5 18265 sed 's/^/| /' conftest.$ac_ext >&5 18266 18267 eval "$as_ac_var=no" 18268 fi 18269 18270 rm -rf conftest.dSYM 18271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18272 conftest$ac_exeext conftest.$ac_ext 18273 fi 18274 ac_res=`eval 'as_val=${'$as_ac_var'} 18275 $as_echo "$as_val"'` 18276 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18277 $as_echo "$ac_res" >&6; } 18278 as_val=`eval 'as_val=${'$as_ac_var'} 18279 $as_echo "$as_val"'` 18280 if test "x$as_val" = x""yes; then 9861 18281 cat >>confdefs.h <<_ACEOF 9862 #define HAVE_AVFORMAT_OPEN_INPUT118282 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9863 18283 _ACEOF 9864 18284 … … 9866 18286 done 9867 18287 9868 for ac_func in avio_close 9869 do : 9870 ac_fn_cxx_check_func "$LINENO" "avio_close" "ac_cv_func_avio_close" 9871 if test "x$ac_cv_func_avio_close" = xyes; then : 18288 18289 for ac_func in avio_close 18290 do 18291 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18292 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18293 $as_echo_n "checking for $ac_func... " >&6; } 18294 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18295 $as_echo_n "(cached) " >&6 18296 else 18297 cat >conftest.$ac_ext <<_ACEOF 18298 /* confdefs.h. */ 18299 _ACEOF 18300 cat confdefs.h >>conftest.$ac_ext 18301 cat >>conftest.$ac_ext <<_ACEOF 18302 /* end confdefs.h. */ 18303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18304 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18305 #define $ac_func innocuous_$ac_func 18306 18307 /* System header to define __stub macros and hopefully few prototypes, 18308 which can conflict with char $ac_func (); below. 18309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18310 <limits.h> exists even on freestanding compilers. */ 18311 18312 #ifdef __STDC__ 18313 # include <limits.h> 18314 #else 18315 # include <assert.h> 18316 #endif 18317 18318 #undef $ac_func 18319 18320 /* Override any GCC internal prototype to avoid an error. 18321 Use char because int might match the return type of a GCC 18322 builtin and then its argument prototype would still apply. */ 18323 #ifdef __cplusplus 18324 extern "C" 18325 #endif 18326 char $ac_func (); 18327 /* The GNU C library defines this for functions which it implements 18328 to always fail with ENOSYS. Some functions are actually named 18329 something starting with __ and the normal name is an alias. */ 18330 #if defined __stub_$ac_func || defined __stub___$ac_func 18331 choke me 18332 #endif 18333 18334 int 18335 main () 18336 { 18337 return $ac_func (); 18338 ; 18339 return 0; 18340 } 18341 _ACEOF 18342 rm -f conftest.$ac_objext conftest$ac_exeext 18343 if { (ac_try="$ac_link" 18344 case "(($ac_try" in 18345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18346 *) ac_try_echo=$ac_try;; 18347 esac 18348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18349 $as_echo "$ac_try_echo") >&5 18350 (eval "$ac_link") 2>conftest.er1 18351 ac_status=$? 18352 grep -v '^ *+' conftest.er1 >conftest.err 18353 rm -f conftest.er1 18354 cat conftest.err >&5 18355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18356 (exit $ac_status); } && { 18357 test -z "$ac_cxx_werror_flag" || 18358 test ! -s conftest.err 18359 } && test -s conftest$ac_exeext && { 18360 test "$cross_compiling" = yes || 18361 $as_test_x conftest$ac_exeext 18362 }; then 18363 eval "$as_ac_var=yes" 18364 else 18365 $as_echo "$as_me: failed program was:" >&5 18366 sed 's/^/| /' conftest.$ac_ext >&5 18367 18368 eval "$as_ac_var=no" 18369 fi 18370 18371 rm -rf conftest.dSYM 18372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18373 conftest$ac_exeext conftest.$ac_ext 18374 fi 18375 ac_res=`eval 'as_val=${'$as_ac_var'} 18376 $as_echo "$as_val"'` 18377 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18378 $as_echo "$ac_res" >&6; } 18379 as_val=`eval 'as_val=${'$as_ac_var'} 18380 $as_echo "$as_val"'` 18381 if test "x$as_val" = x""yes; then 9872 18382 cat >>confdefs.h <<_ACEOF 9873 #define HAVE_AVIO_CLOSE118383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9874 18384 _ACEOF 9875 18385 … … 9877 18387 done 9878 18388 9879 for ac_func in img_convert 9880 do : 9881 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 9882 if test "x$ac_cv_func_img_convert" = xyes; then : 18389 18390 for ac_func in img_convert 18391 do 18392 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18393 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18394 $as_echo_n "checking for $ac_func... " >&6; } 18395 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18396 $as_echo_n "(cached) " >&6 18397 else 18398 cat >conftest.$ac_ext <<_ACEOF 18399 /* confdefs.h. */ 18400 _ACEOF 18401 cat confdefs.h >>conftest.$ac_ext 18402 cat >>conftest.$ac_ext <<_ACEOF 18403 /* end confdefs.h. */ 18404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18405 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18406 #define $ac_func innocuous_$ac_func 18407 18408 /* System header to define __stub macros and hopefully few prototypes, 18409 which can conflict with char $ac_func (); below. 18410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18411 <limits.h> exists even on freestanding compilers. */ 18412 18413 #ifdef __STDC__ 18414 # include <limits.h> 18415 #else 18416 # include <assert.h> 18417 #endif 18418 18419 #undef $ac_func 18420 18421 /* Override any GCC internal prototype to avoid an error. 18422 Use char because int might match the return type of a GCC 18423 builtin and then its argument prototype would still apply. */ 18424 #ifdef __cplusplus 18425 extern "C" 18426 #endif 18427 char $ac_func (); 18428 /* The GNU C library defines this for functions which it implements 18429 to always fail with ENOSYS. Some functions are actually named 18430 something starting with __ and the normal name is an alias. */ 18431 #if defined __stub_$ac_func || defined __stub___$ac_func 18432 choke me 18433 #endif 18434 18435 int 18436 main () 18437 { 18438 return $ac_func (); 18439 ; 18440 return 0; 18441 } 18442 _ACEOF 18443 rm -f conftest.$ac_objext conftest$ac_exeext 18444 if { (ac_try="$ac_link" 18445 case "(($ac_try" in 18446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18447 *) ac_try_echo=$ac_try;; 18448 esac 18449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18450 $as_echo "$ac_try_echo") >&5 18451 (eval "$ac_link") 2>conftest.er1 18452 ac_status=$? 18453 grep -v '^ *+' conftest.er1 >conftest.err 18454 rm -f conftest.er1 18455 cat conftest.err >&5 18456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18457 (exit $ac_status); } && { 18458 test -z "$ac_cxx_werror_flag" || 18459 test ! -s conftest.err 18460 } && test -s conftest$ac_exeext && { 18461 test "$cross_compiling" = yes || 18462 $as_test_x conftest$ac_exeext 18463 }; then 18464 eval "$as_ac_var=yes" 18465 else 18466 $as_echo "$as_me: failed program was:" >&5 18467 sed 's/^/| /' conftest.$ac_ext >&5 18468 18469 eval "$as_ac_var=no" 18470 fi 18471 18472 rm -rf conftest.dSYM 18473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18474 conftest$ac_exeext conftest.$ac_ext 18475 fi 18476 ac_res=`eval 'as_val=${'$as_ac_var'} 18477 $as_echo "$as_val"'` 18478 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18479 $as_echo "$ac_res" >&6; } 18480 as_val=`eval 'as_val=${'$as_ac_var'} 18481 $as_echo "$as_val"'` 18482 if test "x$as_val" = x""yes; then 9883 18483 cat >>confdefs.h <<_ACEOF 9884 #define HAVE_IMG_CONVERT118484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9885 18485 _ACEOF 9886 18486 … … 9888 18488 done 9889 18489 9890 for ac_func in sws_getCachedContext 9891 do : 9892 ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext" 9893 if test "x$ac_cv_func_sws_getCachedContext" = xyes; then : 18490 18491 for ac_func in sws_getCachedContext 18492 do 18493 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18494 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18495 $as_echo_n "checking for $ac_func... " >&6; } 18496 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18497 $as_echo_n "(cached) " >&6 18498 else 18499 cat >conftest.$ac_ext <<_ACEOF 18500 /* confdefs.h. */ 18501 _ACEOF 18502 cat confdefs.h >>conftest.$ac_ext 18503 cat >>conftest.$ac_ext <<_ACEOF 18504 /* end confdefs.h. */ 18505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18506 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18507 #define $ac_func innocuous_$ac_func 18508 18509 /* System header to define __stub macros and hopefully few prototypes, 18510 which can conflict with char $ac_func (); below. 18511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18512 <limits.h> exists even on freestanding compilers. */ 18513 18514 #ifdef __STDC__ 18515 # include <limits.h> 18516 #else 18517 # include <assert.h> 18518 #endif 18519 18520 #undef $ac_func 18521 18522 /* Override any GCC internal prototype to avoid an error. 18523 Use char because int might match the return type of a GCC 18524 builtin and then its argument prototype would still apply. */ 18525 #ifdef __cplusplus 18526 extern "C" 18527 #endif 18528 char $ac_func (); 18529 /* The GNU C library defines this for functions which it implements 18530 to always fail with ENOSYS. Some functions are actually named 18531 something starting with __ and the normal name is an alias. */ 18532 #if defined __stub_$ac_func || defined __stub___$ac_func 18533 choke me 18534 #endif 18535 18536 int 18537 main () 18538 { 18539 return $ac_func (); 18540 ; 18541 return 0; 18542 } 18543 _ACEOF 18544 rm -f conftest.$ac_objext conftest$ac_exeext 18545 if { (ac_try="$ac_link" 18546 case "(($ac_try" in 18547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18548 *) ac_try_echo=$ac_try;; 18549 esac 18550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18551 $as_echo "$ac_try_echo") >&5 18552 (eval "$ac_link") 2>conftest.er1 18553 ac_status=$? 18554 grep -v '^ *+' conftest.er1 >conftest.err 18555 rm -f conftest.er1 18556 cat conftest.err >&5 18557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18558 (exit $ac_status); } && { 18559 test -z "$ac_cxx_werror_flag" || 18560 test ! -s conftest.err 18561 } && test -s conftest$ac_exeext && { 18562 test "$cross_compiling" = yes || 18563 $as_test_x conftest$ac_exeext 18564 }; then 18565 eval "$as_ac_var=yes" 18566 else 18567 $as_echo "$as_me: failed program was:" >&5 18568 sed 's/^/| /' conftest.$ac_ext >&5 18569 18570 eval "$as_ac_var=no" 18571 fi 18572 18573 rm -rf conftest.dSYM 18574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18575 conftest$ac_exeext conftest.$ac_ext 18576 fi 18577 ac_res=`eval 'as_val=${'$as_ac_var'} 18578 $as_echo "$as_val"'` 18579 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18580 $as_echo "$ac_res" >&6; } 18581 as_val=`eval 'as_val=${'$as_ac_var'} 18582 $as_echo "$as_val"'` 18583 if test "x$as_val" = x""yes; then 9894 18584 cat >>confdefs.h <<_ACEOF 9895 #define HAVE_SWS_GETCACHEDCONTEXT118585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9896 18586 _ACEOF 9897 18587 … … 9899 18589 done 9900 18590 9901 for ac_func in sws_scale 9902 do : 9903 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale" 9904 if test "x$ac_cv_func_sws_scale" = xyes; then : 18591 18592 for ac_func in sws_scale 18593 do 18594 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18595 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18596 $as_echo_n "checking for $ac_func... " >&6; } 18597 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18598 $as_echo_n "(cached) " >&6 18599 else 18600 cat >conftest.$ac_ext <<_ACEOF 18601 /* confdefs.h. */ 18602 _ACEOF 18603 cat confdefs.h >>conftest.$ac_ext 18604 cat >>conftest.$ac_ext <<_ACEOF 18605 /* end confdefs.h. */ 18606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18607 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18608 #define $ac_func innocuous_$ac_func 18609 18610 /* System header to define __stub macros and hopefully few prototypes, 18611 which can conflict with char $ac_func (); below. 18612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18613 <limits.h> exists even on freestanding compilers. */ 18614 18615 #ifdef __STDC__ 18616 # include <limits.h> 18617 #else 18618 # include <assert.h> 18619 #endif 18620 18621 #undef $ac_func 18622 18623 /* Override any GCC internal prototype to avoid an error. 18624 Use char because int might match the return type of a GCC 18625 builtin and then its argument prototype would still apply. */ 18626 #ifdef __cplusplus 18627 extern "C" 18628 #endif 18629 char $ac_func (); 18630 /* The GNU C library defines this for functions which it implements 18631 to always fail with ENOSYS. Some functions are actually named 18632 something starting with __ and the normal name is an alias. */ 18633 #if defined __stub_$ac_func || defined __stub___$ac_func 18634 choke me 18635 #endif 18636 18637 int 18638 main () 18639 { 18640 return $ac_func (); 18641 ; 18642 return 0; 18643 } 18644 _ACEOF 18645 rm -f conftest.$ac_objext conftest$ac_exeext 18646 if { (ac_try="$ac_link" 18647 case "(($ac_try" in 18648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18649 *) ac_try_echo=$ac_try;; 18650 esac 18651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18652 $as_echo "$ac_try_echo") >&5 18653 (eval "$ac_link") 2>conftest.er1 18654 ac_status=$? 18655 grep -v '^ *+' conftest.er1 >conftest.err 18656 rm -f conftest.er1 18657 cat conftest.err >&5 18658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18659 (exit $ac_status); } && { 18660 test -z "$ac_cxx_werror_flag" || 18661 test ! -s conftest.err 18662 } && test -s conftest$ac_exeext && { 18663 test "$cross_compiling" = yes || 18664 $as_test_x conftest$ac_exeext 18665 }; then 18666 eval "$as_ac_var=yes" 18667 else 18668 $as_echo "$as_me: failed program was:" >&5 18669 sed 's/^/| /' conftest.$ac_ext >&5 18670 18671 eval "$as_ac_var=no" 18672 fi 18673 18674 rm -rf conftest.dSYM 18675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18676 conftest$ac_exeext conftest.$ac_ext 18677 fi 18678 ac_res=`eval 'as_val=${'$as_ac_var'} 18679 $as_echo "$as_val"'` 18680 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18681 $as_echo "$ac_res" >&6; } 18682 as_val=`eval 'as_val=${'$as_ac_var'} 18683 $as_echo "$as_val"'` 18684 if test "x$as_val" = x""yes; then 9905 18685 cat >>confdefs.h <<_ACEOF 9906 #define HAVE_SWS_SCALE118686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9907 18687 _ACEOF 9908 18688 … … 9910 18690 done 9911 18691 9912 for ac_func in url_close 9913 do : 9914 ac_fn_cxx_check_func "$LINENO" "url_close" "ac_cv_func_url_close" 9915 if test "x$ac_cv_func_url_close" = xyes; then : 18692 18693 for ac_func in url_close 18694 do 18695 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18696 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18697 $as_echo_n "checking for $ac_func... " >&6; } 18698 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18699 $as_echo_n "(cached) " >&6 18700 else 18701 cat >conftest.$ac_ext <<_ACEOF 18702 /* confdefs.h. */ 18703 _ACEOF 18704 cat confdefs.h >>conftest.$ac_ext 18705 cat >>conftest.$ac_ext <<_ACEOF 18706 /* end confdefs.h. */ 18707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18708 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18709 #define $ac_func innocuous_$ac_func 18710 18711 /* System header to define __stub macros and hopefully few prototypes, 18712 which can conflict with char $ac_func (); below. 18713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18714 <limits.h> exists even on freestanding compilers. */ 18715 18716 #ifdef __STDC__ 18717 # include <limits.h> 18718 #else 18719 # include <assert.h> 18720 #endif 18721 18722 #undef $ac_func 18723 18724 /* Override any GCC internal prototype to avoid an error. 18725 Use char because int might match the return type of a GCC 18726 builtin and then its argument prototype would still apply. */ 18727 #ifdef __cplusplus 18728 extern "C" 18729 #endif 18730 char $ac_func (); 18731 /* The GNU C library defines this for functions which it implements 18732 to always fail with ENOSYS. Some functions are actually named 18733 something starting with __ and the normal name is an alias. */ 18734 #if defined __stub_$ac_func || defined __stub___$ac_func 18735 choke me 18736 #endif 18737 18738 int 18739 main () 18740 { 18741 return $ac_func (); 18742 ; 18743 return 0; 18744 } 18745 _ACEOF 18746 rm -f conftest.$ac_objext conftest$ac_exeext 18747 if { (ac_try="$ac_link" 18748 case "(($ac_try" in 18749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18750 *) ac_try_echo=$ac_try;; 18751 esac 18752 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18753 $as_echo "$ac_try_echo") >&5 18754 (eval "$ac_link") 2>conftest.er1 18755 ac_status=$? 18756 grep -v '^ *+' conftest.er1 >conftest.err 18757 rm -f conftest.er1 18758 cat conftest.err >&5 18759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18760 (exit $ac_status); } && { 18761 test -z "$ac_cxx_werror_flag" || 18762 test ! -s conftest.err 18763 } && test -s conftest$ac_exeext && { 18764 test "$cross_compiling" = yes || 18765 $as_test_x conftest$ac_exeext 18766 }; then 18767 eval "$as_ac_var=yes" 18768 else 18769 $as_echo "$as_me: failed program was:" >&5 18770 sed 's/^/| /' conftest.$ac_ext >&5 18771 18772 eval "$as_ac_var=no" 18773 fi 18774 18775 rm -rf conftest.dSYM 18776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18777 conftest$ac_exeext conftest.$ac_ext 18778 fi 18779 ac_res=`eval 'as_val=${'$as_ac_var'} 18780 $as_echo "$as_val"'` 18781 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18782 $as_echo "$ac_res" >&6; } 18783 as_val=`eval 'as_val=${'$as_ac_var'} 18784 $as_echo "$as_val"'` 18785 if test "x$as_val" = x""yes; then 9916 18786 cat >>confdefs.h <<_ACEOF 9917 #define HAVE_URL_CLOSE118787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9918 18788 _ACEOF 9919 18789 … … 9921 18791 done 9922 18792 9923 for ac_func in av_close_input_file 9924 do : 9925 ac_fn_cxx_check_func "$LINENO" "av_close_input_file" "ac_cv_func_av_close_input_file" 9926 if test "x$ac_cv_func_av_close_input_file" = xyes; then : 18793 18794 for ac_func in av_close_input_file 18795 do 18796 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18797 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18798 $as_echo_n "checking for $ac_func... " >&6; } 18799 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18800 $as_echo_n "(cached) " >&6 18801 else 18802 cat >conftest.$ac_ext <<_ACEOF 18803 /* confdefs.h. */ 18804 _ACEOF 18805 cat confdefs.h >>conftest.$ac_ext 18806 cat >>conftest.$ac_ext <<_ACEOF 18807 /* end confdefs.h. */ 18808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18809 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18810 #define $ac_func innocuous_$ac_func 18811 18812 /* System header to define __stub macros and hopefully few prototypes, 18813 which can conflict with char $ac_func (); below. 18814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18815 <limits.h> exists even on freestanding compilers. */ 18816 18817 #ifdef __STDC__ 18818 # include <limits.h> 18819 #else 18820 # include <assert.h> 18821 #endif 18822 18823 #undef $ac_func 18824 18825 /* Override any GCC internal prototype to avoid an error. 18826 Use char because int might match the return type of a GCC 18827 builtin and then its argument prototype would still apply. */ 18828 #ifdef __cplusplus 18829 extern "C" 18830 #endif 18831 char $ac_func (); 18832 /* The GNU C library defines this for functions which it implements 18833 to always fail with ENOSYS. Some functions are actually named 18834 something starting with __ and the normal name is an alias. */ 18835 #if defined __stub_$ac_func || defined __stub___$ac_func 18836 choke me 18837 #endif 18838 18839 int 18840 main () 18841 { 18842 return $ac_func (); 18843 ; 18844 return 0; 18845 } 18846 _ACEOF 18847 rm -f conftest.$ac_objext conftest$ac_exeext 18848 if { (ac_try="$ac_link" 18849 case "(($ac_try" in 18850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18851 *) ac_try_echo=$ac_try;; 18852 esac 18853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18854 $as_echo "$ac_try_echo") >&5 18855 (eval "$ac_link") 2>conftest.er1 18856 ac_status=$? 18857 grep -v '^ *+' conftest.er1 >conftest.err 18858 rm -f conftest.er1 18859 cat conftest.err >&5 18860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18861 (exit $ac_status); } && { 18862 test -z "$ac_cxx_werror_flag" || 18863 test ! -s conftest.err 18864 } && test -s conftest$ac_exeext && { 18865 test "$cross_compiling" = yes || 18866 $as_test_x conftest$ac_exeext 18867 }; then 18868 eval "$as_ac_var=yes" 18869 else 18870 $as_echo "$as_me: failed program was:" >&5 18871 sed 's/^/| /' conftest.$ac_ext >&5 18872 18873 eval "$as_ac_var=no" 18874 fi 18875 18876 rm -rf conftest.dSYM 18877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18878 conftest$ac_exeext conftest.$ac_ext 18879 fi 18880 ac_res=`eval 'as_val=${'$as_ac_var'} 18881 $as_echo "$as_val"'` 18882 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18883 $as_echo "$ac_res" >&6; } 18884 as_val=`eval 'as_val=${'$as_ac_var'} 18885 $as_echo "$as_val"'` 18886 if test "x$as_val" = x""yes; then 9927 18887 cat >>confdefs.h <<_ACEOF 9928 #define HAVE_AV_CLOSE_INPUT_FILE118888 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9929 18889 _ACEOF 9930 18890 … … 9932 18892 done 9933 18893 9934 for ac_func in avformat_close_input 9935 do : 9936 ac_fn_cxx_check_func "$LINENO" "avformat_close_input" "ac_cv_func_avformat_close_input" 9937 if test "x$ac_cv_func_avformat_close_input" = xyes; then : 18894 18895 for ac_func in avformat_close_input 18896 do 18897 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18898 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18899 $as_echo_n "checking for $ac_func... " >&6; } 18900 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18901 $as_echo_n "(cached) " >&6 18902 else 18903 cat >conftest.$ac_ext <<_ACEOF 18904 /* confdefs.h. */ 18905 _ACEOF 18906 cat confdefs.h >>conftest.$ac_ext 18907 cat >>conftest.$ac_ext <<_ACEOF 18908 /* end confdefs.h. */ 18909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18910 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18911 #define $ac_func innocuous_$ac_func 18912 18913 /* System header to define __stub macros and hopefully few prototypes, 18914 which can conflict with char $ac_func (); below. 18915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18916 <limits.h> exists even on freestanding compilers. */ 18917 18918 #ifdef __STDC__ 18919 # include <limits.h> 18920 #else 18921 # include <assert.h> 18922 #endif 18923 18924 #undef $ac_func 18925 18926 /* Override any GCC internal prototype to avoid an error. 18927 Use char because int might match the return type of a GCC 18928 builtin and then its argument prototype would still apply. */ 18929 #ifdef __cplusplus 18930 extern "C" 18931 #endif 18932 char $ac_func (); 18933 /* The GNU C library defines this for functions which it implements 18934 to always fail with ENOSYS. Some functions are actually named 18935 something starting with __ and the normal name is an alias. */ 18936 #if defined __stub_$ac_func || defined __stub___$ac_func 18937 choke me 18938 #endif 18939 18940 int 18941 main () 18942 { 18943 return $ac_func (); 18944 ; 18945 return 0; 18946 } 18947 _ACEOF 18948 rm -f conftest.$ac_objext conftest$ac_exeext 18949 if { (ac_try="$ac_link" 18950 case "(($ac_try" in 18951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18952 *) ac_try_echo=$ac_try;; 18953 esac 18954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18955 $as_echo "$ac_try_echo") >&5 18956 (eval "$ac_link") 2>conftest.er1 18957 ac_status=$? 18958 grep -v '^ *+' conftest.er1 >conftest.err 18959 rm -f conftest.er1 18960 cat conftest.err >&5 18961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18962 (exit $ac_status); } && { 18963 test -z "$ac_cxx_werror_flag" || 18964 test ! -s conftest.err 18965 } && test -s conftest$ac_exeext && { 18966 test "$cross_compiling" = yes || 18967 $as_test_x conftest$ac_exeext 18968 }; then 18969 eval "$as_ac_var=yes" 18970 else 18971 $as_echo "$as_me: failed program was:" >&5 18972 sed 's/^/| /' conftest.$ac_ext >&5 18973 18974 eval "$as_ac_var=no" 18975 fi 18976 18977 rm -rf conftest.dSYM 18978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18979 conftest$ac_exeext conftest.$ac_ext 18980 fi 18981 ac_res=`eval 'as_val=${'$as_ac_var'} 18982 $as_echo "$as_val"'` 18983 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18984 $as_echo "$ac_res" >&6; } 18985 as_val=`eval 'as_val=${'$as_ac_var'} 18986 $as_echo "$as_val"'` 18987 if test "x$as_val" = x""yes; then 9938 18988 cat >>confdefs.h <<_ACEOF 9939 #define HAVE_AVFORMAT_CLOSE_INPUT118989 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9940 18990 _ACEOF 9941 18991 … … 9944 18994 9945 18995 9946 ac_fn_cxx_check_func "$LINENO" "avcodec_find_decoder" "ac_cv_func_avcodec_find_decoder" 9947 if test "x$ac_cv_func_avcodec_find_decoder" = xyes; then : 9948 9949 else 9950 as_fn_error $? "oops! no av_codec_find_decoder ?!?" "$LINENO" 5 9951 fi 9952 9953 ac_fn_cxx_check_func "$LINENO" "avcodec_alloc_frame" "ac_cv_func_avcodec_alloc_frame" 9954 if test "x$ac_cv_func_avcodec_alloc_frame" = xyes; then : 9955 9956 else 9957 as_fn_error $? "oops! no avcode_alloc_frame ?!?" "$LINENO" 5 9958 fi 9959 9960 ac_fn_cxx_check_func "$LINENO" "av_rescale_q" "ac_cv_func_av_rescale_q" 9961 if test "x$ac_cv_func_av_rescale_q" = xyes; then : 9962 9963 else 9964 as_fn_error $? "oops! no av_rescale_q ?!?" "$LINENO" 5 9965 fi 9966 9967 ac_fn_cxx_check_func "$LINENO" "av_read_frame" "ac_cv_func_av_read_frame" 9968 if test "x$ac_cv_func_av_read_frame" = xyes; then : 9969 9970 else 9971 as_fn_error $? "oops! av_read_frame ?!?" "$LINENO" 5 9972 fi 9973 9974 ac_fn_cxx_check_func "$LINENO" "av_free" "ac_cv_func_av_free" 9975 if test "x$ac_cv_func_av_free" = xyes; then : 9976 9977 else 9978 as_fn_error $? "oops! no av_frame ?!?" "$LINENO" 5 9979 fi 9980 9981 ac_fn_cxx_check_func "$LINENO" "avcodec_default_release_buffer" "ac_cv_func_avcodec_default_release_buffer" 9982 if test "x$ac_cv_func_avcodec_default_release_buffer" = xyes; then : 9983 9984 else 9985 as_fn_error $? "oops! no avcode_default_release_buffer ?!?" "$LINENO" 5 9986 fi 9987 9988 ac_fn_cxx_check_func "$LINENO" "avpicture_get_size" "ac_cv_func_avpicture_get_size" 9989 if test "x$ac_cv_func_avpicture_get_size" = xyes; then : 9990 9991 else 9992 as_fn_error $? "oops! no avpicture_get_size ?!?" "$LINENO" 5 9993 fi 9994 9995 ac_fn_cxx_check_func "$LINENO" "avpicture_fill" "ac_cv_func_avpicture_fill" 9996 if test "x$ac_cv_func_avpicture_fill" = xyes; then : 9997 9998 else 9999 as_fn_error $? "oops! no avpicture_fill ?!?" "$LINENO" 5 10000 fi 10001 10002 for ac_func in sws_getCachedContext 10003 do : 10004 ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext" 10005 if test "x$ac_cv_func_sws_getCachedContext" = xyes; then : 18996 { $as_echo "$as_me:$LINENO: checking for avcodec_find_decoder" >&5 18997 $as_echo_n "checking for avcodec_find_decoder... " >&6; } 18998 if test "${ac_cv_func_avcodec_find_decoder+set}" = set; then 18999 $as_echo_n "(cached) " >&6 19000 else 19001 cat >conftest.$ac_ext <<_ACEOF 19002 /* confdefs.h. */ 19003 _ACEOF 19004 cat confdefs.h >>conftest.$ac_ext 19005 cat >>conftest.$ac_ext <<_ACEOF 19006 /* end confdefs.h. */ 19007 /* Define avcodec_find_decoder to an innocuous variant, in case <limits.h> declares avcodec_find_decoder. 19008 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19009 #define avcodec_find_decoder innocuous_avcodec_find_decoder 19010 19011 /* System header to define __stub macros and hopefully few prototypes, 19012 which can conflict with char avcodec_find_decoder (); below. 19013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19014 <limits.h> exists even on freestanding compilers. */ 19015 19016 #ifdef __STDC__ 19017 # include <limits.h> 19018 #else 19019 # include <assert.h> 19020 #endif 19021 19022 #undef avcodec_find_decoder 19023 19024 /* Override any GCC internal prototype to avoid an error. 19025 Use char because int might match the return type of a GCC 19026 builtin and then its argument prototype would still apply. */ 19027 #ifdef __cplusplus 19028 extern "C" 19029 #endif 19030 char avcodec_find_decoder (); 19031 /* The GNU C library defines this for functions which it implements 19032 to always fail with ENOSYS. Some functions are actually named 19033 something starting with __ and the normal name is an alias. */ 19034 #if defined __stub_avcodec_find_decoder || defined __stub___avcodec_find_decoder 19035 choke me 19036 #endif 19037 19038 int 19039 main () 19040 { 19041 return avcodec_find_decoder (); 19042 ; 19043 return 0; 19044 } 19045 _ACEOF 19046 rm -f conftest.$ac_objext conftest$ac_exeext 19047 if { (ac_try="$ac_link" 19048 case "(($ac_try" in 19049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19050 *) ac_try_echo=$ac_try;; 19051 esac 19052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19053 $as_echo "$ac_try_echo") >&5 19054 (eval "$ac_link") 2>conftest.er1 19055 ac_status=$? 19056 grep -v '^ *+' conftest.er1 >conftest.err 19057 rm -f conftest.er1 19058 cat conftest.err >&5 19059 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19060 (exit $ac_status); } && { 19061 test -z "$ac_cxx_werror_flag" || 19062 test ! -s conftest.err 19063 } && test -s conftest$ac_exeext && { 19064 test "$cross_compiling" = yes || 19065 $as_test_x conftest$ac_exeext 19066 }; then 19067 ac_cv_func_avcodec_find_decoder=yes 19068 else 19069 $as_echo "$as_me: failed program was:" >&5 19070 sed 's/^/| /' conftest.$ac_ext >&5 19071 19072 ac_cv_func_avcodec_find_decoder=no 19073 fi 19074 19075 rm -rf conftest.dSYM 19076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19077 conftest$ac_exeext conftest.$ac_ext 19078 fi 19079 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_find_decoder" >&5 19080 $as_echo "$ac_cv_func_avcodec_find_decoder" >&6; } 19081 if test "x$ac_cv_func_avcodec_find_decoder" = x""yes; then 19082 : 19083 else 19084 { { $as_echo "$as_me:$LINENO: error: oops! no av_codec_find_decoder ?!?" >&5 19085 $as_echo "$as_me: error: oops! no av_codec_find_decoder ?!?" >&2;} 19086 { (exit 1); exit 1; }; } 19087 fi 19088 19089 { $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame" >&5 19090 $as_echo_n "checking for avcodec_alloc_frame... " >&6; } 19091 if test "${ac_cv_func_avcodec_alloc_frame+set}" = set; then 19092 $as_echo_n "(cached) " >&6 19093 else 19094 cat >conftest.$ac_ext <<_ACEOF 19095 /* confdefs.h. */ 19096 _ACEOF 19097 cat confdefs.h >>conftest.$ac_ext 19098 cat >>conftest.$ac_ext <<_ACEOF 19099 /* end confdefs.h. */ 19100 /* Define avcodec_alloc_frame to an innocuous variant, in case <limits.h> declares avcodec_alloc_frame. 19101 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19102 #define avcodec_alloc_frame innocuous_avcodec_alloc_frame 19103 19104 /* System header to define __stub macros and hopefully few prototypes, 19105 which can conflict with char avcodec_alloc_frame (); below. 19106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19107 <limits.h> exists even on freestanding compilers. */ 19108 19109 #ifdef __STDC__ 19110 # include <limits.h> 19111 #else 19112 # include <assert.h> 19113 #endif 19114 19115 #undef avcodec_alloc_frame 19116 19117 /* Override any GCC internal prototype to avoid an error. 19118 Use char because int might match the return type of a GCC 19119 builtin and then its argument prototype would still apply. */ 19120 #ifdef __cplusplus 19121 extern "C" 19122 #endif 19123 char avcodec_alloc_frame (); 19124 /* The GNU C library defines this for functions which it implements 19125 to always fail with ENOSYS. Some functions are actually named 19126 something starting with __ and the normal name is an alias. */ 19127 #if defined __stub_avcodec_alloc_frame || defined __stub___avcodec_alloc_frame 19128 choke me 19129 #endif 19130 19131 int 19132 main () 19133 { 19134 return avcodec_alloc_frame (); 19135 ; 19136 return 0; 19137 } 19138 _ACEOF 19139 rm -f conftest.$ac_objext conftest$ac_exeext 19140 if { (ac_try="$ac_link" 19141 case "(($ac_try" in 19142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19143 *) ac_try_echo=$ac_try;; 19144 esac 19145 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19146 $as_echo "$ac_try_echo") >&5 19147 (eval "$ac_link") 2>conftest.er1 19148 ac_status=$? 19149 grep -v '^ *+' conftest.er1 >conftest.err 19150 rm -f conftest.er1 19151 cat conftest.err >&5 19152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19153 (exit $ac_status); } && { 19154 test -z "$ac_cxx_werror_flag" || 19155 test ! -s conftest.err 19156 } && test -s conftest$ac_exeext && { 19157 test "$cross_compiling" = yes || 19158 $as_test_x conftest$ac_exeext 19159 }; then 19160 ac_cv_func_avcodec_alloc_frame=yes 19161 else 19162 $as_echo "$as_me: failed program was:" >&5 19163 sed 's/^/| /' conftest.$ac_ext >&5 19164 19165 ac_cv_func_avcodec_alloc_frame=no 19166 fi 19167 19168 rm -rf conftest.dSYM 19169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19170 conftest$ac_exeext conftest.$ac_ext 19171 fi 19172 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_alloc_frame" >&5 19173 $as_echo "$ac_cv_func_avcodec_alloc_frame" >&6; } 19174 if test "x$ac_cv_func_avcodec_alloc_frame" = x""yes; then 19175 : 19176 else 19177 { { $as_echo "$as_me:$LINENO: error: oops! no avcode_alloc_frame ?!?" >&5 19178 $as_echo "$as_me: error: oops! no avcode_alloc_frame ?!?" >&2;} 19179 { (exit 1); exit 1; }; } 19180 fi 19181 19182 { $as_echo "$as_me:$LINENO: checking for av_rescale_q" >&5 19183 $as_echo_n "checking for av_rescale_q... " >&6; } 19184 if test "${ac_cv_func_av_rescale_q+set}" = set; then 19185 $as_echo_n "(cached) " >&6 19186 else 19187 cat >conftest.$ac_ext <<_ACEOF 19188 /* confdefs.h. */ 19189 _ACEOF 19190 cat confdefs.h >>conftest.$ac_ext 19191 cat >>conftest.$ac_ext <<_ACEOF 19192 /* end confdefs.h. */ 19193 /* Define av_rescale_q to an innocuous variant, in case <limits.h> declares av_rescale_q. 19194 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19195 #define av_rescale_q innocuous_av_rescale_q 19196 19197 /* System header to define __stub macros and hopefully few prototypes, 19198 which can conflict with char av_rescale_q (); below. 19199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19200 <limits.h> exists even on freestanding compilers. */ 19201 19202 #ifdef __STDC__ 19203 # include <limits.h> 19204 #else 19205 # include <assert.h> 19206 #endif 19207 19208 #undef av_rescale_q 19209 19210 /* Override any GCC internal prototype to avoid an error. 19211 Use char because int might match the return type of a GCC 19212 builtin and then its argument prototype would still apply. */ 19213 #ifdef __cplusplus 19214 extern "C" 19215 #endif 19216 char av_rescale_q (); 19217 /* The GNU C library defines this for functions which it implements 19218 to always fail with ENOSYS. Some functions are actually named 19219 something starting with __ and the normal name is an alias. */ 19220 #if defined __stub_av_rescale_q || defined __stub___av_rescale_q 19221 choke me 19222 #endif 19223 19224 int 19225 main () 19226 { 19227 return av_rescale_q (); 19228 ; 19229 return 0; 19230 } 19231 _ACEOF 19232 rm -f conftest.$ac_objext conftest$ac_exeext 19233 if { (ac_try="$ac_link" 19234 case "(($ac_try" in 19235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19236 *) ac_try_echo=$ac_try;; 19237 esac 19238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19239 $as_echo "$ac_try_echo") >&5 19240 (eval "$ac_link") 2>conftest.er1 19241 ac_status=$? 19242 grep -v '^ *+' conftest.er1 >conftest.err 19243 rm -f conftest.er1 19244 cat conftest.err >&5 19245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19246 (exit $ac_status); } && { 19247 test -z "$ac_cxx_werror_flag" || 19248 test ! -s conftest.err 19249 } && test -s conftest$ac_exeext && { 19250 test "$cross_compiling" = yes || 19251 $as_test_x conftest$ac_exeext 19252 }; then 19253 ac_cv_func_av_rescale_q=yes 19254 else 19255 $as_echo "$as_me: failed program was:" >&5 19256 sed 's/^/| /' conftest.$ac_ext >&5 19257 19258 ac_cv_func_av_rescale_q=no 19259 fi 19260 19261 rm -rf conftest.dSYM 19262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19263 conftest$ac_exeext conftest.$ac_ext 19264 fi 19265 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_rescale_q" >&5 19266 $as_echo "$ac_cv_func_av_rescale_q" >&6; } 19267 if test "x$ac_cv_func_av_rescale_q" = x""yes; then 19268 : 19269 else 19270 { { $as_echo "$as_me:$LINENO: error: oops! no av_rescale_q ?!?" >&5 19271 $as_echo "$as_me: error: oops! no av_rescale_q ?!?" >&2;} 19272 { (exit 1); exit 1; }; } 19273 fi 19274 19275 { $as_echo "$as_me:$LINENO: checking for av_read_frame" >&5 19276 $as_echo_n "checking for av_read_frame... " >&6; } 19277 if test "${ac_cv_func_av_read_frame+set}" = set; then 19278 $as_echo_n "(cached) " >&6 19279 else 19280 cat >conftest.$ac_ext <<_ACEOF 19281 /* confdefs.h. */ 19282 _ACEOF 19283 cat confdefs.h >>conftest.$ac_ext 19284 cat >>conftest.$ac_ext <<_ACEOF 19285 /* end confdefs.h. */ 19286 /* Define av_read_frame to an innocuous variant, in case <limits.h> declares av_read_frame. 19287 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19288 #define av_read_frame innocuous_av_read_frame 19289 19290 /* System header to define __stub macros and hopefully few prototypes, 19291 which can conflict with char av_read_frame (); below. 19292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19293 <limits.h> exists even on freestanding compilers. */ 19294 19295 #ifdef __STDC__ 19296 # include <limits.h> 19297 #else 19298 # include <assert.h> 19299 #endif 19300 19301 #undef av_read_frame 19302 19303 /* Override any GCC internal prototype to avoid an error. 19304 Use char because int might match the return type of a GCC 19305 builtin and then its argument prototype would still apply. */ 19306 #ifdef __cplusplus 19307 extern "C" 19308 #endif 19309 char av_read_frame (); 19310 /* The GNU C library defines this for functions which it implements 19311 to always fail with ENOSYS. Some functions are actually named 19312 something starting with __ and the normal name is an alias. */ 19313 #if defined __stub_av_read_frame || defined __stub___av_read_frame 19314 choke me 19315 #endif 19316 19317 int 19318 main () 19319 { 19320 return av_read_frame (); 19321 ; 19322 return 0; 19323 } 19324 _ACEOF 19325 rm -f conftest.$ac_objext conftest$ac_exeext 19326 if { (ac_try="$ac_link" 19327 case "(($ac_try" in 19328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19329 *) ac_try_echo=$ac_try;; 19330 esac 19331 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19332 $as_echo "$ac_try_echo") >&5 19333 (eval "$ac_link") 2>conftest.er1 19334 ac_status=$? 19335 grep -v '^ *+' conftest.er1 >conftest.err 19336 rm -f conftest.er1 19337 cat conftest.err >&5 19338 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19339 (exit $ac_status); } && { 19340 test -z "$ac_cxx_werror_flag" || 19341 test ! -s conftest.err 19342 } && test -s conftest$ac_exeext && { 19343 test "$cross_compiling" = yes || 19344 $as_test_x conftest$ac_exeext 19345 }; then 19346 ac_cv_func_av_read_frame=yes 19347 else 19348 $as_echo "$as_me: failed program was:" >&5 19349 sed 's/^/| /' conftest.$ac_ext >&5 19350 19351 ac_cv_func_av_read_frame=no 19352 fi 19353 19354 rm -rf conftest.dSYM 19355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19356 conftest$ac_exeext conftest.$ac_ext 19357 fi 19358 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_read_frame" >&5 19359 $as_echo "$ac_cv_func_av_read_frame" >&6; } 19360 if test "x$ac_cv_func_av_read_frame" = x""yes; then 19361 : 19362 else 19363 { { $as_echo "$as_me:$LINENO: error: oops! av_read_frame ?!?" >&5 19364 $as_echo "$as_me: error: oops! av_read_frame ?!?" >&2;} 19365 { (exit 1); exit 1; }; } 19366 fi 19367 19368 { $as_echo "$as_me:$LINENO: checking for av_free" >&5 19369 $as_echo_n "checking for av_free... " >&6; } 19370 if test "${ac_cv_func_av_free+set}" = set; then 19371 $as_echo_n "(cached) " >&6 19372 else 19373 cat >conftest.$ac_ext <<_ACEOF 19374 /* confdefs.h. */ 19375 _ACEOF 19376 cat confdefs.h >>conftest.$ac_ext 19377 cat >>conftest.$ac_ext <<_ACEOF 19378 /* end confdefs.h. */ 19379 /* Define av_free to an innocuous variant, in case <limits.h> declares av_free. 19380 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19381 #define av_free innocuous_av_free 19382 19383 /* System header to define __stub macros and hopefully few prototypes, 19384 which can conflict with char av_free (); below. 19385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19386 <limits.h> exists even on freestanding compilers. */ 19387 19388 #ifdef __STDC__ 19389 # include <limits.h> 19390 #else 19391 # include <assert.h> 19392 #endif 19393 19394 #undef av_free 19395 19396 /* Override any GCC internal prototype to avoid an error. 19397 Use char because int might match the return type of a GCC 19398 builtin and then its argument prototype would still apply. */ 19399 #ifdef __cplusplus 19400 extern "C" 19401 #endif 19402 char av_free (); 19403 /* The GNU C library defines this for functions which it implements 19404 to always fail with ENOSYS. Some functions are actually named 19405 something starting with __ and the normal name is an alias. */ 19406 #if defined __stub_av_free || defined __stub___av_free 19407 choke me 19408 #endif 19409 19410 int 19411 main () 19412 { 19413 return av_free (); 19414 ; 19415 return 0; 19416 } 19417 _ACEOF 19418 rm -f conftest.$ac_objext conftest$ac_exeext 19419 if { (ac_try="$ac_link" 19420 case "(($ac_try" in 19421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19422 *) ac_try_echo=$ac_try;; 19423 esac 19424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19425 $as_echo "$ac_try_echo") >&5 19426 (eval "$ac_link") 2>conftest.er1 19427 ac_status=$? 19428 grep -v '^ *+' conftest.er1 >conftest.err 19429 rm -f conftest.er1 19430 cat conftest.err >&5 19431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19432 (exit $ac_status); } && { 19433 test -z "$ac_cxx_werror_flag" || 19434 test ! -s conftest.err 19435 } && test -s conftest$ac_exeext && { 19436 test "$cross_compiling" = yes || 19437 $as_test_x conftest$ac_exeext 19438 }; then 19439 ac_cv_func_av_free=yes 19440 else 19441 $as_echo "$as_me: failed program was:" >&5 19442 sed 's/^/| /' conftest.$ac_ext >&5 19443 19444 ac_cv_func_av_free=no 19445 fi 19446 19447 rm -rf conftest.dSYM 19448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19449 conftest$ac_exeext conftest.$ac_ext 19450 fi 19451 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_free" >&5 19452 $as_echo "$ac_cv_func_av_free" >&6; } 19453 if test "x$ac_cv_func_av_free" = x""yes; then 19454 : 19455 else 19456 { { $as_echo "$as_me:$LINENO: error: oops! no av_frame ?!?" >&5 19457 $as_echo "$as_me: error: oops! no av_frame ?!?" >&2;} 19458 { (exit 1); exit 1; }; } 19459 fi 19460 19461 { $as_echo "$as_me:$LINENO: checking for avcodec_default_release_buffer" >&5 19462 $as_echo_n "checking for avcodec_default_release_buffer... " >&6; } 19463 if test "${ac_cv_func_avcodec_default_release_buffer+set}" = set; then 19464 $as_echo_n "(cached) " >&6 19465 else 19466 cat >conftest.$ac_ext <<_ACEOF 19467 /* confdefs.h. */ 19468 _ACEOF 19469 cat confdefs.h >>conftest.$ac_ext 19470 cat >>conftest.$ac_ext <<_ACEOF 19471 /* end confdefs.h. */ 19472 /* Define avcodec_default_release_buffer to an innocuous variant, in case <limits.h> declares avcodec_default_release_buffer. 19473 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19474 #define avcodec_default_release_buffer innocuous_avcodec_default_release_buffer 19475 19476 /* System header to define __stub macros and hopefully few prototypes, 19477 which can conflict with char avcodec_default_release_buffer (); below. 19478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19479 <limits.h> exists even on freestanding compilers. */ 19480 19481 #ifdef __STDC__ 19482 # include <limits.h> 19483 #else 19484 # include <assert.h> 19485 #endif 19486 19487 #undef avcodec_default_release_buffer 19488 19489 /* Override any GCC internal prototype to avoid an error. 19490 Use char because int might match the return type of a GCC 19491 builtin and then its argument prototype would still apply. */ 19492 #ifdef __cplusplus 19493 extern "C" 19494 #endif 19495 char avcodec_default_release_buffer (); 19496 /* The GNU C library defines this for functions which it implements 19497 to always fail with ENOSYS. Some functions are actually named 19498 something starting with __ and the normal name is an alias. */ 19499 #if defined __stub_avcodec_default_release_buffer || defined __stub___avcodec_default_release_buffer 19500 choke me 19501 #endif 19502 19503 int 19504 main () 19505 { 19506 return avcodec_default_release_buffer (); 19507 ; 19508 return 0; 19509 } 19510 _ACEOF 19511 rm -f conftest.$ac_objext conftest$ac_exeext 19512 if { (ac_try="$ac_link" 19513 case "(($ac_try" in 19514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19515 *) ac_try_echo=$ac_try;; 19516 esac 19517 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19518 $as_echo "$ac_try_echo") >&5 19519 (eval "$ac_link") 2>conftest.er1 19520 ac_status=$? 19521 grep -v '^ *+' conftest.er1 >conftest.err 19522 rm -f conftest.er1 19523 cat conftest.err >&5 19524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19525 (exit $ac_status); } && { 19526 test -z "$ac_cxx_werror_flag" || 19527 test ! -s conftest.err 19528 } && test -s conftest$ac_exeext && { 19529 test "$cross_compiling" = yes || 19530 $as_test_x conftest$ac_exeext 19531 }; then 19532 ac_cv_func_avcodec_default_release_buffer=yes 19533 else 19534 $as_echo "$as_me: failed program was:" >&5 19535 sed 's/^/| /' conftest.$ac_ext >&5 19536 19537 ac_cv_func_avcodec_default_release_buffer=no 19538 fi 19539 19540 rm -rf conftest.dSYM 19541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19542 conftest$ac_exeext conftest.$ac_ext 19543 fi 19544 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_default_release_buffer" >&5 19545 $as_echo "$ac_cv_func_avcodec_default_release_buffer" >&6; } 19546 if test "x$ac_cv_func_avcodec_default_release_buffer" = x""yes; then 19547 : 19548 else 19549 { { $as_echo "$as_me:$LINENO: error: oops! no avcode_default_release_buffer ?!?" >&5 19550 $as_echo "$as_me: error: oops! no avcode_default_release_buffer ?!?" >&2;} 19551 { (exit 1); exit 1; }; } 19552 fi 19553 19554 { $as_echo "$as_me:$LINENO: checking for avpicture_get_size" >&5 19555 $as_echo_n "checking for avpicture_get_size... " >&6; } 19556 if test "${ac_cv_func_avpicture_get_size+set}" = set; then 19557 $as_echo_n "(cached) " >&6 19558 else 19559 cat >conftest.$ac_ext <<_ACEOF 19560 /* confdefs.h. */ 19561 _ACEOF 19562 cat confdefs.h >>conftest.$ac_ext 19563 cat >>conftest.$ac_ext <<_ACEOF 19564 /* end confdefs.h. */ 19565 /* Define avpicture_get_size to an innocuous variant, in case <limits.h> declares avpicture_get_size. 19566 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19567 #define avpicture_get_size innocuous_avpicture_get_size 19568 19569 /* System header to define __stub macros and hopefully few prototypes, 19570 which can conflict with char avpicture_get_size (); below. 19571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19572 <limits.h> exists even on freestanding compilers. */ 19573 19574 #ifdef __STDC__ 19575 # include <limits.h> 19576 #else 19577 # include <assert.h> 19578 #endif 19579 19580 #undef avpicture_get_size 19581 19582 /* Override any GCC internal prototype to avoid an error. 19583 Use char because int might match the return type of a GCC 19584 builtin and then its argument prototype would still apply. */ 19585 #ifdef __cplusplus 19586 extern "C" 19587 #endif 19588 char avpicture_get_size (); 19589 /* The GNU C library defines this for functions which it implements 19590 to always fail with ENOSYS. Some functions are actually named 19591 something starting with __ and the normal name is an alias. */ 19592 #if defined __stub_avpicture_get_size || defined __stub___avpicture_get_size 19593 choke me 19594 #endif 19595 19596 int 19597 main () 19598 { 19599 return avpicture_get_size (); 19600 ; 19601 return 0; 19602 } 19603 _ACEOF 19604 rm -f conftest.$ac_objext conftest$ac_exeext 19605 if { (ac_try="$ac_link" 19606 case "(($ac_try" in 19607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19608 *) ac_try_echo=$ac_try;; 19609 esac 19610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19611 $as_echo "$ac_try_echo") >&5 19612 (eval "$ac_link") 2>conftest.er1 19613 ac_status=$? 19614 grep -v '^ *+' conftest.er1 >conftest.err 19615 rm -f conftest.er1 19616 cat conftest.err >&5 19617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19618 (exit $ac_status); } && { 19619 test -z "$ac_cxx_werror_flag" || 19620 test ! -s conftest.err 19621 } && test -s conftest$ac_exeext && { 19622 test "$cross_compiling" = yes || 19623 $as_test_x conftest$ac_exeext 19624 }; then 19625 ac_cv_func_avpicture_get_size=yes 19626 else 19627 $as_echo "$as_me: failed program was:" >&5 19628 sed 's/^/| /' conftest.$ac_ext >&5 19629 19630 ac_cv_func_avpicture_get_size=no 19631 fi 19632 19633 rm -rf conftest.dSYM 19634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19635 conftest$ac_exeext conftest.$ac_ext 19636 fi 19637 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avpicture_get_size" >&5 19638 $as_echo "$ac_cv_func_avpicture_get_size" >&6; } 19639 if test "x$ac_cv_func_avpicture_get_size" = x""yes; then 19640 : 19641 else 19642 { { $as_echo "$as_me:$LINENO: error: oops! no avpicture_get_size ?!?" >&5 19643 $as_echo "$as_me: error: oops! no avpicture_get_size ?!?" >&2;} 19644 { (exit 1); exit 1; }; } 19645 fi 19646 19647 { $as_echo "$as_me:$LINENO: checking for avpicture_fill" >&5 19648 $as_echo_n "checking for avpicture_fill... " >&6; } 19649 if test "${ac_cv_func_avpicture_fill+set}" = set; then 19650 $as_echo_n "(cached) " >&6 19651 else 19652 cat >conftest.$ac_ext <<_ACEOF 19653 /* confdefs.h. */ 19654 _ACEOF 19655 cat confdefs.h >>conftest.$ac_ext 19656 cat >>conftest.$ac_ext <<_ACEOF 19657 /* end confdefs.h. */ 19658 /* Define avpicture_fill to an innocuous variant, in case <limits.h> declares avpicture_fill. 19659 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19660 #define avpicture_fill innocuous_avpicture_fill 19661 19662 /* System header to define __stub macros and hopefully few prototypes, 19663 which can conflict with char avpicture_fill (); below. 19664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19665 <limits.h> exists even on freestanding compilers. */ 19666 19667 #ifdef __STDC__ 19668 # include <limits.h> 19669 #else 19670 # include <assert.h> 19671 #endif 19672 19673 #undef avpicture_fill 19674 19675 /* Override any GCC internal prototype to avoid an error. 19676 Use char because int might match the return type of a GCC 19677 builtin and then its argument prototype would still apply. */ 19678 #ifdef __cplusplus 19679 extern "C" 19680 #endif 19681 char avpicture_fill (); 19682 /* The GNU C library defines this for functions which it implements 19683 to always fail with ENOSYS. Some functions are actually named 19684 something starting with __ and the normal name is an alias. */ 19685 #if defined __stub_avpicture_fill || defined __stub___avpicture_fill 19686 choke me 19687 #endif 19688 19689 int 19690 main () 19691 { 19692 return avpicture_fill (); 19693 ; 19694 return 0; 19695 } 19696 _ACEOF 19697 rm -f conftest.$ac_objext conftest$ac_exeext 19698 if { (ac_try="$ac_link" 19699 case "(($ac_try" in 19700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19701 *) ac_try_echo=$ac_try;; 19702 esac 19703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19704 $as_echo "$ac_try_echo") >&5 19705 (eval "$ac_link") 2>conftest.er1 19706 ac_status=$? 19707 grep -v '^ *+' conftest.er1 >conftest.err 19708 rm -f conftest.er1 19709 cat conftest.err >&5 19710 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19711 (exit $ac_status); } && { 19712 test -z "$ac_cxx_werror_flag" || 19713 test ! -s conftest.err 19714 } && test -s conftest$ac_exeext && { 19715 test "$cross_compiling" = yes || 19716 $as_test_x conftest$ac_exeext 19717 }; then 19718 ac_cv_func_avpicture_fill=yes 19719 else 19720 $as_echo "$as_me: failed program was:" >&5 19721 sed 's/^/| /' conftest.$ac_ext >&5 19722 19723 ac_cv_func_avpicture_fill=no 19724 fi 19725 19726 rm -rf conftest.dSYM 19727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19728 conftest$ac_exeext conftest.$ac_ext 19729 fi 19730 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avpicture_fill" >&5 19731 $as_echo "$ac_cv_func_avpicture_fill" >&6; } 19732 if test "x$ac_cv_func_avpicture_fill" = x""yes; then 19733 : 19734 else 19735 { { $as_echo "$as_me:$LINENO: error: oops! no avpicture_fill ?!?" >&5 19736 $as_echo "$as_me: error: oops! no avpicture_fill ?!?" >&2;} 19737 { (exit 1); exit 1; }; } 19738 fi 19739 19740 19741 for ac_func in sws_getCachedContext 19742 do 19743 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19744 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19745 $as_echo_n "checking for $ac_func... " >&6; } 19746 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19747 $as_echo_n "(cached) " >&6 19748 else 19749 cat >conftest.$ac_ext <<_ACEOF 19750 /* confdefs.h. */ 19751 _ACEOF 19752 cat confdefs.h >>conftest.$ac_ext 19753 cat >>conftest.$ac_ext <<_ACEOF 19754 /* end confdefs.h. */ 19755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 19756 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19757 #define $ac_func innocuous_$ac_func 19758 19759 /* System header to define __stub macros and hopefully few prototypes, 19760 which can conflict with char $ac_func (); below. 19761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19762 <limits.h> exists even on freestanding compilers. */ 19763 19764 #ifdef __STDC__ 19765 # include <limits.h> 19766 #else 19767 # include <assert.h> 19768 #endif 19769 19770 #undef $ac_func 19771 19772 /* Override any GCC internal prototype to avoid an error. 19773 Use char because int might match the return type of a GCC 19774 builtin and then its argument prototype would still apply. */ 19775 #ifdef __cplusplus 19776 extern "C" 19777 #endif 19778 char $ac_func (); 19779 /* The GNU C library defines this for functions which it implements 19780 to always fail with ENOSYS. Some functions are actually named 19781 something starting with __ and the normal name is an alias. */ 19782 #if defined __stub_$ac_func || defined __stub___$ac_func 19783 choke me 19784 #endif 19785 19786 int 19787 main () 19788 { 19789 return $ac_func (); 19790 ; 19791 return 0; 19792 } 19793 _ACEOF 19794 rm -f conftest.$ac_objext conftest$ac_exeext 19795 if { (ac_try="$ac_link" 19796 case "(($ac_try" in 19797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19798 *) ac_try_echo=$ac_try;; 19799 esac 19800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19801 $as_echo "$ac_try_echo") >&5 19802 (eval "$ac_link") 2>conftest.er1 19803 ac_status=$? 19804 grep -v '^ *+' conftest.er1 >conftest.err 19805 rm -f conftest.er1 19806 cat conftest.err >&5 19807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19808 (exit $ac_status); } && { 19809 test -z "$ac_cxx_werror_flag" || 19810 test ! -s conftest.err 19811 } && test -s conftest$ac_exeext && { 19812 test "$cross_compiling" = yes || 19813 $as_test_x conftest$ac_exeext 19814 }; then 19815 eval "$as_ac_var=yes" 19816 else 19817 $as_echo "$as_me: failed program was:" >&5 19818 sed 's/^/| /' conftest.$ac_ext >&5 19819 19820 eval "$as_ac_var=no" 19821 fi 19822 19823 rm -rf conftest.dSYM 19824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19825 conftest$ac_exeext conftest.$ac_ext 19826 fi 19827 ac_res=`eval 'as_val=${'$as_ac_var'} 19828 $as_echo "$as_val"'` 19829 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19830 $as_echo "$ac_res" >&6; } 19831 as_val=`eval 'as_val=${'$as_ac_var'} 19832 $as_echo "$as_val"'` 19833 if test "x$as_val" = x""yes; then 10006 19834 cat >>confdefs.h <<_ACEOF 10007 #define HAVE_SWS_GETCACHEDCONTEXT119835 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 10008 19836 _ACEOF 10009 19837 … … 10011 19839 done 10012 19840 10013 for ac_func in img_convert 10014 do : 10015 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 10016 if test "x$ac_cv_func_img_convert" = xyes; then : 19841 19842 for ac_func in img_convert 19843 do 19844 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19845 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19846 $as_echo_n "checking for $ac_func... " >&6; } 19847 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19848 $as_echo_n "(cached) " >&6 19849 else 19850 cat >conftest.$ac_ext <<_ACEOF 19851 /* confdefs.h. */ 19852 _ACEOF 19853 cat confdefs.h >>conftest.$ac_ext 19854 cat >>conftest.$ac_ext <<_ACEOF 19855 /* end confdefs.h. */ 19856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 19857 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19858 #define $ac_func innocuous_$ac_func 19859 19860 /* System header to define __stub macros and hopefully few prototypes, 19861 which can conflict with char $ac_func (); below. 19862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19863 <limits.h> exists even on freestanding compilers. */ 19864 19865 #ifdef __STDC__ 19866 # include <limits.h> 19867 #else 19868 # include <assert.h> 19869 #endif 19870 19871 #undef $ac_func 19872 19873 /* Override any GCC internal prototype to avoid an error. 19874 Use char because int might match the return type of a GCC 19875 builtin and then its argument prototype would still apply. */ 19876 #ifdef __cplusplus 19877 extern "C" 19878 #endif 19879 char $ac_func (); 19880 /* The GNU C library defines this for functions which it implements 19881 to always fail with ENOSYS. Some functions are actually named 19882 something starting with __ and the normal name is an alias. */ 19883 #if defined __stub_$ac_func || defined __stub___$ac_func 19884 choke me 19885 #endif 19886 19887 int 19888 main () 19889 { 19890 return $ac_func (); 19891 ; 19892 return 0; 19893 } 19894 _ACEOF 19895 rm -f conftest.$ac_objext conftest$ac_exeext 19896 if { (ac_try="$ac_link" 19897 case "(($ac_try" in 19898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19899 *) ac_try_echo=$ac_try;; 19900 esac 19901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19902 $as_echo "$ac_try_echo") >&5 19903 (eval "$ac_link") 2>conftest.er1 19904 ac_status=$? 19905 grep -v '^ *+' conftest.er1 >conftest.err 19906 rm -f conftest.er1 19907 cat conftest.err >&5 19908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19909 (exit $ac_status); } && { 19910 test -z "$ac_cxx_werror_flag" || 19911 test ! -s conftest.err 19912 } && test -s conftest$ac_exeext && { 19913 test "$cross_compiling" = yes || 19914 $as_test_x conftest$ac_exeext 19915 }; then 19916 eval "$as_ac_var=yes" 19917 else 19918 $as_echo "$as_me: failed program was:" >&5 19919 sed 's/^/| /' conftest.$ac_ext >&5 19920 19921 eval "$as_ac_var=no" 19922 fi 19923 19924 rm -rf conftest.dSYM 19925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19926 conftest$ac_exeext conftest.$ac_ext 19927 fi 19928 ac_res=`eval 'as_val=${'$as_ac_var'} 19929 $as_echo "$as_val"'` 19930 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19931 $as_echo "$ac_res" >&6; } 19932 as_val=`eval 'as_val=${'$as_ac_var'} 19933 $as_echo "$as_val"'` 19934 if test "x$as_val" = x""yes; then 10017 19935 cat >>confdefs.h <<_ACEOF 10018 #define HAVE_IMG_CONVERT119936 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 10019 19937 _ACEOF 10020 19938 … … 10022 19940 done 10023 19941 10024 for ac_func in sws_scale 10025 do : 10026 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale" 10027 if test "x$ac_cv_func_sws_scale" = xyes; then : 19942 19943 for ac_func in sws_scale 19944 do 19945 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19946 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19947 $as_echo_n "checking for $ac_func... " >&6; } 19948 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19949 $as_echo_n "(cached) " >&6 19950 else 19951 cat >conftest.$ac_ext <<_ACEOF 19952 /* confdefs.h. */ 19953 _ACEOF 19954 cat confdefs.h >>conftest.$ac_ext 19955 cat >>conftest.$ac_ext <<_ACEOF 19956 /* end confdefs.h. */ 19957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 19958 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19959 #define $ac_func innocuous_$ac_func 19960 19961 /* System header to define __stub macros and hopefully few prototypes, 19962 which can conflict with char $ac_func (); below. 19963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19964 <limits.h> exists even on freestanding compilers. */ 19965 19966 #ifdef __STDC__ 19967 # include <limits.h> 19968 #else 19969 # include <assert.h> 19970 #endif 19971 19972 #undef $ac_func 19973 19974 /* Override any GCC internal prototype to avoid an error. 19975 Use char because int might match the return type of a GCC 19976 builtin and then its argument prototype would still apply. */ 19977 #ifdef __cplusplus 19978 extern "C" 19979 #endif 19980 char $ac_func (); 19981 /* The GNU C library defines this for functions which it implements 19982 to always fail with ENOSYS. Some functions are actually named 19983 something starting with __ and the normal name is an alias. */ 19984 #if defined __stub_$ac_func || defined __stub___$ac_func 19985 choke me 19986 #endif 19987 19988 int 19989 main () 19990 { 19991 return $ac_func (); 19992 ; 19993 return 0; 19994 } 19995 _ACEOF 19996 rm -f conftest.$ac_objext conftest$ac_exeext 19997 if { (ac_try="$ac_link" 19998 case "(($ac_try" in 19999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20000 *) ac_try_echo=$ac_try;; 20001 esac 20002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20003 $as_echo "$ac_try_echo") >&5 20004 (eval "$ac_link") 2>conftest.er1 20005 ac_status=$? 20006 grep -v '^ *+' conftest.er1 >conftest.err 20007 rm -f conftest.er1 20008 cat conftest.err >&5 20009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20010 (exit $ac_status); } && { 20011 test -z "$ac_cxx_werror_flag" || 20012 test ! -s conftest.err 20013 } && test -s conftest$ac_exeext && { 20014 test "$cross_compiling" = yes || 20015 $as_test_x conftest$ac_exeext 20016 }; then 20017 eval "$as_ac_var=yes" 20018 else 20019 $as_echo "$as_me: failed program was:" >&5 20020 sed 's/^/| /' conftest.$ac_ext >&5 20021 20022 eval "$as_ac_var=no" 20023 fi 20024 20025 rm -rf conftest.dSYM 20026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20027 conftest$ac_exeext conftest.$ac_ext 20028 fi 20029 ac_res=`eval 'as_val=${'$as_ac_var'} 20030 $as_echo "$as_val"'` 20031 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 20032 $as_echo "$ac_res" >&6; } 20033 as_val=`eval 'as_val=${'$as_ac_var'} 20034 $as_echo "$as_val"'` 20035 if test "x$as_val" = x""yes; then 10028 20036 cat >>confdefs.h <<_ACEOF 10029 #define HAVE_SWS_SCALE120037 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 10030 20038 _ACEOF 10031 20039 … … 10033 20041 done 10034 20042 10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20043 cat >conftest.$ac_ext <<_ACEOF 20044 /* confdefs.h. */ 20045 _ACEOF 20046 cat confdefs.h >>conftest.$ac_ext 20047 cat >>conftest.$ac_ext <<_ACEOF 10036 20048 /* end confdefs.h. */ 10037 20049 … … 10054 20066 } 10055 20067 _ACEOF 10056 if ac_fn_cxx_try_compile "$LINENO"; then : 20068 rm -f conftest.$ac_objext 20069 if { (ac_try="$ac_compile" 20070 case "(($ac_try" in 20071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20072 *) ac_try_echo=$ac_try;; 20073 esac 20074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20075 $as_echo "$ac_try_echo") >&5 20076 (eval "$ac_compile") 2>conftest.er1 20077 ac_status=$? 20078 grep -v '^ *+' conftest.er1 >conftest.err 20079 rm -f conftest.er1 20080 cat conftest.err >&5 20081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20082 (exit $ac_status); } && { 20083 test -z "$ac_cxx_werror_flag" || 20084 test ! -s conftest.err 20085 } && test -s conftest.$ac_objext; then 10057 20086 ac_avmedia_type_video="yes" 10058 20087 else 10059 ac_avmedia_type_video="no" 10060 fi 20088 $as_echo "$as_me: failed program was:" >&5 20089 sed 's/^/| /' conftest.$ac_ext >&5 20090 20091 ac_avmedia_type_video="no" 20092 fi 20093 10061 20094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10062 20095 if test "$ac_avmedia_type_video" == "yes" ; then 10063 20096 10064 $as_echo "#define HAVE_AVMEDIA_TYPE_VIDEO 1" >>confdefs.h 20097 cat >>confdefs.h <<\_ACEOF 20098 #define HAVE_AVMEDIA_TYPE_VIDEO 1 20099 _ACEOF 10065 20100 10066 20101 fi … … 10189 20224 *${as_nl}*) 10190 20225 case $ac_var in #( 10191 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&520226 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 10192 20227 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 10193 20228 esac … … 10195 20230 _ | IFS | as_nl) ;; #( 10196 20231 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 10197 *) { eval $ac_var=; unset $ac_var;};;20232 *) $as_unset $ac_var ;; 10198 20233 esac ;; 10199 20234 esac … … 10203 20238 case $as_nl`(ac_space=' '; set) 2>&1` in #( 10204 20239 *${as_nl}ac_space=\ *) 10205 # `set' does not quote correctly, so add quotes :double-quote10206 # substitution turns \\\\ into \\, and sed turns \\ into \ .20240 # `set' does not quote correctly, so add quotes (double-quote 20241 # substitution turns \\\\ into \\, and sed turns \\ into \). 10207 20242 sed -n \ 10208 20243 "s/'/'\\\\''/g; … … 10226 20261 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 10227 20262 if test -w "$cache_file"; then 10228 if test "x$cache_file" != "x/dev/null"; then10229 { $as_echo "$as_me:$ {as_lineno-$LINENO}: updating cache $cache_file" >&520263 test "x$cache_file" != "x/dev/null" && 20264 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 10230 20265 $as_echo "$as_me: updating cache $cache_file" >&6;} 10231 if test ! -f "$cache_file" || test -h "$cache_file"; then 10232 cat confcache >"$cache_file" 10233 else 10234 case $cache_file in #( 10235 */* | ?:*) 10236 mv -f confcache "$cache_file"$$ && 10237 mv -f "$cache_file"$$ "$cache_file" ;; #( 10238 *) 10239 mv -f confcache "$cache_file" ;; 10240 esac 10241 fi 10242 fi 20266 cat confcache >$cache_file 10243 20267 else 10244 { $as_echo "$as_me:$ {as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&520268 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 10245 20269 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 10246 20270 fi … … 10256 20280 ac_libobjs= 10257 20281 ac_ltlibobjs= 10258 U=10259 20282 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 10260 20283 # 1. Remove the extension, and $U if already installed. … … 10263 20286 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 10264 20287 # will be set to the directory where LIBOBJS objects are built. 10265 a s_fn_append ac_libobjs "\${LIBOBJDIR}$ac_i\$U.$ac_objext"10266 a s_fn_append ac_ltlibobjs "\${LIBOBJDIR}$ac_i"'$U.lo'20288 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 20289 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 10267 20290 done 10268 20291 LIBOBJS=$ac_libobjs … … 10273 20296 10274 20297 10275 : "${CONFIG_STATUS=./config.status}"20298 : ${CONFIG_STATUS=./config.status} 10276 20299 ac_write_fail=0 10277 20300 ac_clean_files_save=$ac_clean_files 10278 20301 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 10279 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $CONFIG_STATUS" >&520302 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 10280 20303 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 10281 as_write_fail=0 10282 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 20304 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10283 20305 #! $SHELL 10284 20306 # Generated by $as_me. … … 10290 20312 ac_cs_recheck=false 10291 20313 ac_cs_silent=false 10292 10293 20314 SHELL=\${CONFIG_SHELL-$SHELL} 10294 export SHELL 10295 _ASEOF 10296 cat >>$CONFIG_STATUS <<\_A SEOF || as_write_fail=110297 ## -------------------- ##10298 ## M4sh Initialization. ##10299 ## -------------------- ##20315 _ACEOF 20316 20317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20318 ## --------------------- ## 20319 ## M4sh Initialization. ## 20320 ## --------------------- ## 10300 20321 10301 20322 # Be more Bourne compatible 10302 20323 DUALCASE=1; export DUALCASE # for MKS sh 10303 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :20324 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 10304 20325 emulate sh 10305 20326 NULLCMD=: … … 10309 20330 setopt NO_GLOB_SUBST 10310 20331 else 10311 case `(set -o) 2>/dev/null` in #( 10312 *posix*) : 10313 set -o posix ;; #( 10314 *) : 10315 ;; 10316 esac 10317 fi 10318 20332 case `(set -o) 2>/dev/null` in 20333 *posix*) set -o posix ;; 20334 esac 20335 20336 fi 20337 20338 20339 20340 20341 # PATH needs CR 20342 # Avoid depending upon Character Ranges. 20343 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 20344 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 20345 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 20346 as_cr_digits='0123456789' 20347 as_cr_alnum=$as_cr_Letters$as_cr_digits 10319 20348 10320 20349 as_nl=' … … 10325 20354 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 10326 20355 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 10327 # Prefer a ksh shell builtin over an external printf program on Solaris, 10328 # but without wasting forks for bash or zsh. 10329 if test -z "$BASH_VERSION$ZSH_VERSION" \ 10330 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 10331 as_echo='print -r --' 10332 as_echo_n='print -rn --' 10333 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 20356 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 10334 20357 as_echo='printf %s\n' 10335 20358 as_echo_n='printf %s' … … 10342 20365 as_echo_n_body='eval 10343 20366 arg=$1; 10344 case $arg in #(20367 case $arg in 10345 20368 *"$as_nl"*) 10346 20369 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 10365 20388 fi 10366 20389 20390 # Support unset when possible. 20391 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 20392 as_unset=unset 20393 else 20394 as_unset=false 20395 fi 20396 10367 20397 10368 20398 # IFS … … 10374 20404 10375 20405 # Find who we are. Look in the path if we contain no directory separator. 10376 as_myself= 10377 case $0 in #(( 20406 case $0 in 10378 20407 *[\\/]* ) as_myself=$0 ;; 10379 20408 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 10382 20411 IFS=$as_save_IFS 10383 20412 test -z "$as_dir" && as_dir=. 10384 10385 20413 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 20414 done 10386 20415 IFS=$as_save_IFS 10387 20416 … … 10395 20424 if test ! -f "$as_myself"; then 10396 20425 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 10397 exit 1 10398 fi 10399 10400 # Unset variables that we do not need and which cause bugs (e.g. in 10401 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 10402 # suppresses any "Segmentation fault" message there. '((' could 10403 # trigger a bug in pdksh 5.2.14. 10404 for as_var in BASH_ENV ENV MAIL MAILPATH 10405 do eval test x\${$as_var+set} = xset \ 10406 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 20426 { (exit 1); exit 1; } 20427 fi 20428 20429 # Work around bugs in pre-3.0 UWIN ksh. 20430 for as_var in ENV MAIL MAILPATH 20431 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 10407 20432 done 10408 20433 PS1='$ ' … … 10416 20441 export LANGUAGE 10417 20442 10418 # CDPATH. 10419 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 10420 10421 10422 # as_fn_error STATUS ERROR [LINENO LOG_FD] 10423 # ---------------------------------------- 10424 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 10425 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 10426 # script with STATUS, using 1 if that was 0. 10427 as_fn_error () 10428 { 10429 as_status=$1; test $as_status -eq 0 && as_status=1 10430 if test "$4"; then 10431 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 10432 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 10433 fi 10434 $as_echo "$as_me: error: $2" >&2 10435 as_fn_exit $as_status 10436 } # as_fn_error 10437 10438 10439 # as_fn_set_status STATUS 10440 # ----------------------- 10441 # Set $? to STATUS, without forking. 10442 as_fn_set_status () 10443 { 10444 return $1 10445 } # as_fn_set_status 10446 10447 # as_fn_exit STATUS 10448 # ----------------- 10449 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 10450 as_fn_exit () 10451 { 10452 set +e 10453 as_fn_set_status $1 10454 exit $1 10455 } # as_fn_exit 10456 10457 # as_fn_unset VAR 10458 # --------------- 10459 # Portably unset VAR. 10460 as_fn_unset () 10461 { 10462 { eval $1=; unset $1;} 10463 } 10464 as_unset=as_fn_unset 10465 # as_fn_append VAR VALUE 10466 # ---------------------- 10467 # Append the text in VALUE to the end of the definition contained in VAR. Take 10468 # advantage of any shell optimizations that allow amortized linear growth over 10469 # repeated appends, instead of the typical quadratic growth present in naive 10470 # implementations. 10471 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 10472 eval 'as_fn_append () 10473 { 10474 eval $1+=\$2 10475 }' 10476 else 10477 as_fn_append () 10478 { 10479 eval $1=\$$1\$2 10480 } 10481 fi # as_fn_append 10482 10483 # as_fn_arith ARG... 10484 # ------------------ 10485 # Perform arithmetic evaluation on the ARGs, and store the result in the 10486 # global $as_val. Take advantage of shells that can avoid forks. The arguments 10487 # must be portable across $(()) and expr. 10488 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 10489 eval 'as_fn_arith () 10490 { 10491 as_val=$(( $* )) 10492 }' 10493 else 10494 as_fn_arith () 10495 { 10496 as_val=`expr "$@" || test $? -eq 1` 10497 } 10498 fi # as_fn_arith 10499 10500 20443 # Required to use basename. 10501 20444 if expr a : '\(a\)' >/dev/null 2>&1 && 10502 20445 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 10512 20455 fi 10513 20456 10514 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 10515 as_dirname=dirname 10516 else 10517 as_dirname=false 10518 fi 10519 20457 20458 # Name of the executable. 10520 20459 as_me=`$as_basename -- "$0" || 10521 20460 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 10537 20476 s/.*/./; q'` 10538 20477 10539 # Avoid depending upon Character Ranges. 10540 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 10541 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 10542 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 10543 as_cr_digits='0123456789' 10544 as_cr_alnum=$as_cr_Letters$as_cr_digits 20478 # CDPATH. 20479 $as_unset CDPATH 20480 20481 20482 20483 as_lineno_1=$LINENO 20484 as_lineno_2=$LINENO 20485 test "x$as_lineno_1" != "x$as_lineno_2" && 20486 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 20487 20488 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 20489 # uniformly replaced by the line number. The first 'sed' inserts a 20490 # line-number line after each line using $LINENO; the second 'sed' 20491 # does the real work. The second script uses 'N' to pair each 20492 # line-number line with the line containing $LINENO, and appends 20493 # trailing '-' during substitution so that $LINENO is not a special 20494 # case at line end. 20495 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 20496 # scripts with optimization help from Paolo Bonzini. Blame Lee 20497 # E. McMahon (1931-1989) for sed's syntax. :-) 20498 sed -n ' 20499 p 20500 /[$]LINENO/= 20501 ' <$as_myself | 20502 sed ' 20503 s/[$]LINENO.*/&-/ 20504 t lineno 20505 b 20506 :lineno 20507 N 20508 :loop 20509 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 20510 t loop 20511 s/-\n.*// 20512 ' >$as_me.lineno && 20513 chmod +x "$as_me.lineno" || 20514 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 20515 { (exit 1); exit 1; }; } 20516 20517 # Don't try to exec as it changes $[0], causing all sort of problems 20518 # (the dirname of $[0] is not the place where we might find the 20519 # original and so on. Autoconf is especially sensitive to this). 20520 . "./$as_me.lineno" 20521 # Exit status is that of the last command. 20522 exit 20523 } 20524 20525 20526 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 20527 as_dirname=dirname 20528 else 20529 as_dirname=false 20530 fi 10545 20531 10546 20532 ECHO_C= ECHO_N= ECHO_T= 10547 case `echo -n x` in #(((((20533 case `echo -n x` in 10548 20534 -n*) 10549 case `echo 'x y\c'` in20535 case `echo 'x\c'` in 10550 20536 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 10551 xy) ECHO_C='\c';; 10552 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 10553 ECHO_T=' ';; 20537 *) ECHO_C='\c';; 10554 20538 esac;; 10555 20539 *) 10556 20540 ECHO_N='-n';; 10557 20541 esac 20542 if expr a : '\(a\)' >/dev/null 2>&1 && 20543 test "X`expr 00001 : '.*\(...\)'`" = X001; then 20544 as_expr=expr 20545 else 20546 as_expr=false 20547 fi 10558 20548 10559 20549 rm -f conf$$ conf$$.exe conf$$.file … … 10570 20560 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 10571 20561 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 10572 # In both cases, we have to default to `cp -p R'.20562 # In both cases, we have to default to `cp -p'. 10573 20563 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10574 as_ln_s='cp -p R'20564 as_ln_s='cp -p' 10575 20565 elif ln conf$$.file conf$$ 2>/dev/null; then 10576 20566 as_ln_s=ln 10577 20567 else 10578 as_ln_s='cp -p R'20568 as_ln_s='cp -p' 10579 20569 fi 10580 20570 else 10581 as_ln_s='cp -p R'20571 as_ln_s='cp -p' 10582 20572 fi 10583 20573 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 10584 20574 rmdir conf$$.dir 2>/dev/null 10585 20575 10586 10587 # as_fn_mkdir_p10588 # -------------10589 # Create "$as_dir" as a directory, including parents if necessary.10590 as_fn_mkdir_p ()10591 {10592 10593 case $as_dir in #(10594 -*) as_dir=./$as_dir;;10595 esac10596 test -d "$as_dir" || eval $as_mkdir_p || {10597 as_dirs=10598 while :; do10599 case $as_dir in #(10600 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(10601 *) as_qdir=$as_dir;;10602 esac10603 as_dirs="'$as_qdir' $as_dirs"10604 as_dir=`$as_dirname -- "$as_dir" ||10605 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \10606 X"$as_dir" : 'X\(//\)[^/]' \| \10607 X"$as_dir" : 'X\(//\)$' \| \10608 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||10609 $as_echo X"$as_dir" |10610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{10611 s//\1/10612 q10613 }10614 /^X\(\/\/\)[^/].*/{10615 s//\1/10616 q10617 }10618 /^X\(\/\/\)$/{10619 s//\1/10620 q10621 }10622 /^X\(\/\).*/{10623 s//\1/10624 q10625 }10626 s/.*/./; q'`10627 test -d "$as_dir" && break10628 done10629 test -z "$as_dirs" || eval "mkdir $as_dirs"10630 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"10631 10632 10633 } # as_fn_mkdir_p10634 20576 if mkdir -p . 2>/dev/null; then 10635 as_mkdir_p= 'mkdir -p "$as_dir"'20577 as_mkdir_p=: 10636 20578 else 10637 20579 test -d ./-p && rmdir ./-p … … 10639 20581 fi 10640 20582 10641 10642 # as_fn_executable_p FILE 10643 # ----------------------- 10644 # Test if FILE is an executable regular file. 10645 as_fn_executable_p () 10646 { 10647 test -f "$1" && test -x "$1" 10648 } # as_fn_executable_p 10649 as_test_x='test -x' 10650 as_executable_p=as_fn_executable_p 20583 if test -x / >/dev/null 2>&1; then 20584 as_test_x='test -x' 20585 else 20586 if ls -dL / >/dev/null 2>&1; then 20587 as_ls_L_option=L 20588 else 20589 as_ls_L_option= 20590 fi 20591 as_test_x=' 20592 eval sh -c '\'' 20593 if test -d "$1"; then 20594 test -d "$1/."; 20595 else 20596 case $1 in 20597 -*)set "./$1";; 20598 esac; 20599 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 20600 ???[sx]*):;;*)false;;esac;fi 20601 '\'' sh 20602 ' 20603 fi 20604 as_executable_p=$as_test_x 10651 20605 10652 20606 # Sed expression to map a string onto a valid CPP name. … … 10658 20612 10659 20613 exec 6>&1 10660 ## ----------------------------------- ## 10661 ## Main body of $CONFIG_STATUS script. ## 10662 ## ----------------------------------- ## 10663 _ASEOF 10664 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 10665 10666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10667 # Save the log message, to keep $0 and so on meaningful, and to 20614 20615 # Save the log message, to keep $[0] and so on meaningful, and to 10668 20616 # report actual input values of CONFIG_FILES etc. instead of their 10669 20617 # values after options handling. 10670 20618 ac_log=" 10671 20619 This file was extended by Rappture $as_me 1.4, which was 10672 generated by GNU Autoconf 2.6 9. Invocation command line was20620 generated by GNU Autoconf 2.63. Invocation command line was 10673 20621 10674 20622 CONFIG_FILES = $CONFIG_FILES … … 10701 20649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10702 20650 ac_cs_usage="\ 10703 \`$as_me' instantiates files and other configuration actions 10704 from templates according to the current configuration. Unless the files 10705 and actions are specified as TAGs, all are instantiated by default. 10706 10707 Usage: $0 [OPTION]... [TAG]... 20651 \`$as_me' instantiates files from templates according to the 20652 current configuration. 20653 20654 Usage: $0 [OPTION]... [FILE]... 10708 20655 10709 20656 -h, --help print this help, then exit 10710 20657 -V, --version print version number and configuration settings, then exit 10711 --config print configuration, then exit10712 20658 -q, --quiet, --silent 10713 20659 do not print progress messages … … 10725 20671 $config_headers 10726 20672 10727 Report bugs to < rappture@nanohub.org>."20673 Report bugs to <bug-autoconf@gnu.org>." 10728 20674 10729 20675 _ACEOF 10730 20676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10731 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"10732 20677 ac_cs_version="\\ 10733 20678 Rappture config.status 1.4 10734 configured by $0, generated by GNU Autoconf 2.6 9,10735 with options \\" \$ac_cs_config\\"10736 10737 Copyright (C) 20 12Free Software Foundation, Inc.20679 configured by $0, generated by GNU Autoconf 2.63, 20680 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 20681 20682 Copyright (C) 2008 Free Software Foundation, Inc. 10738 20683 This config.status script is free software; the Free Software Foundation 10739 20684 gives unlimited permission to copy, distribute and modify it." … … 10752 20697 do 10753 20698 case $1 in 10754 --*= ?*)20699 --*=*) 10755 20700 ac_option=`expr "X$1" : 'X\([^=]*\)='` 10756 20701 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 10757 ac_shift=:10758 ;;10759 --*=)10760 ac_option=`expr "X$1" : 'X\([^=]*\)='`10761 ac_optarg=10762 20702 ac_shift=: 10763 20703 ;; … … 10775 20715 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 10776 20716 $as_echo "$ac_cs_version"; exit ;; 10777 --config | --confi | --conf | --con | --co | --c )10778 $as_echo "$ac_cs_config"; exit ;;10779 20717 --debug | --debu | --deb | --de | --d | -d ) 10780 20718 debug=: ;; … … 10783 20721 case $ac_optarg in 10784 20722 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10785 '') as_fn_error $? "missing file argument" ;;10786 20723 esac 10787 as_fn_append CONFIG_FILES "'$ac_optarg'"20724 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 10788 20725 ac_need_defaults=false;; 10789 20726 --header | --heade | --head | --hea ) … … 10792 20729 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10793 20730 esac 10794 as_fn_append CONFIG_HEADERS "'$ac_optarg'"20731 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 10795 20732 ac_need_defaults=false;; 10796 20733 --he | --h) 10797 20734 # Conflict between --help and --header 10798 as_fn_error $? "ambiguous option: \`$1' 10799 Try \`$0 --help' for more information.";; 20735 { $as_echo "$as_me: error: ambiguous option: $1 20736 Try \`$0 --help' for more information." >&2 20737 { (exit 1); exit 1; }; };; 10800 20738 --help | --hel | -h ) 10801 20739 $as_echo "$ac_cs_usage"; exit ;; … … 10805 20743 10806 20744 # This is an error. 10807 -*) as_fn_error $? "unrecognized option: \`$1' 10808 Try \`$0 --help' for more information." ;; 10809 10810 *) as_fn_append ac_config_targets " $1" 20745 -*) { $as_echo "$as_me: error: unrecognized option: $1 20746 Try \`$0 --help' for more information." >&2 20747 { (exit 1); exit 1; }; } ;; 20748 20749 *) ac_config_targets="$ac_config_targets $1" 10811 20750 ac_need_defaults=false ;; 10812 20751 … … 10825 20764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10826 20765 if \$ac_cs_recheck; then 10827 set X $SHELL'$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion20766 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 10828 20767 shift 10829 20768 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 … … 10985 20924 "oldtest/src/Makefile") CONFIG_FILES="$CONFIG_FILES oldtest/src/Makefile" ;; 10986 20925 10987 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 20926 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 20927 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 20928 { (exit 1); exit 1; }; };; 10988 20929 esac 10989 20930 done … … 11007 20948 $debug || 11008 20949 { 11009 tmp= ac_tmp=20950 tmp= 11010 20951 trap 'exit_status=$? 11011 : "${ac_tmp:=$tmp}" 11012 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 20952 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 11013 20953 ' 0 11014 trap ' as_fn_exit 1' 1 2 13 1520954 trap '{ (exit 1); exit 1; }' 1 2 13 15 11015 20955 } 11016 20956 # Create a (secure) tmp directory for tmp files. … … 11018 20958 { 11019 20959 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 11020 test - d "$tmp"20960 test -n "$tmp" && test -d "$tmp" 11021 20961 } || 11022 20962 { 11023 20963 tmp=./conf$$-$RANDOM 11024 20964 (umask 077 && mkdir "$tmp") 11025 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 11026 ac_tmp=$tmp 20965 } || 20966 { 20967 $as_echo "$as_me: cannot create a temporary directory in ." >&2 20968 { (exit 1); exit 1; } 20969 } 11027 20970 11028 20971 # Set up the scripts for CONFIG_FILES section. … … 11032 20975 11033 20976 11034 ac_cr=`echo X | tr X '\015'` 11035 # On cygwin, bash can eat \r inside `` if the user requested igncr. 11036 # But we know of no other shell where ac_cr would be empty at this 11037 # point, so we can use a bashism as a fallback. 11038 if test "x$ac_cr" = x; then 11039 eval ac_cr=\$\'\\r\' 11040 fi 20977 ac_cr=' 20978 ' 11041 20979 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 11042 20980 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then … … 11046 20984 fi 11047 20985 11048 echo 'BEGIN {' >"$ ac_tmp/subs1.awk" &&20986 echo 'BEGIN {' >"$tmp/subs1.awk" && 11049 20987 _ACEOF 11050 20988 … … 11055 20993 echo "_ACEOF" 11056 20994 } >conf$$subs.sh || 11057 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 11058 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 20995 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 20996 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 20997 { (exit 1); exit 1; }; } 20998 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 11059 20999 ac_delim='%!_!# ' 11060 21000 for ac_last_try in false false false false false :; do 11061 21001 . ./conf$$subs.sh || 11062 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 21002 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 21003 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 21004 { (exit 1); exit 1; }; } 11063 21005 11064 21006 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 11066 21008 break 11067 21009 elif $ac_last_try; then 11068 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 21010 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 21011 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 21012 { (exit 1); exit 1; }; } 11069 21013 else 11070 21014 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 11074 21018 11075 21019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11076 cat >>"\$ ac_tmp/subs1.awk" <<\\_ACAWK &&21020 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 11077 21021 _ACEOF 11078 21022 sed -n ' … … 11088 21032 :nl 11089 21033 h 11090 s/\(.\{148\}\). .*/\1/21034 s/\(.\{148\}\).*/\1/ 11091 21035 t more1 11092 21036 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 11102 21046 :delim 11103 21047 h 11104 s/\(.\{148\}\). .*/\1/21048 s/\(.\{148\}\).*/\1/ 11105 21049 t more2 11106 21050 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 11122 21066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11123 21067 _ACAWK 11124 cat >>"\$ ac_tmp/subs1.awk" <<_ACAWK &&21068 cat >>"\$tmp/subs1.awk" <<_ACAWK && 11125 21069 for (key in S) S_is_set[key] = 1 11126 21070 FS = "" … … 11154 21098 else 11155 21099 cat 11156 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 11157 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 11158 _ACEOF 11159 11160 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 11161 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 21100 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 21101 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 21102 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 21103 { (exit 1); exit 1; }; } 21104 _ACEOF 21105 21106 # VPATH may cause trouble with some makes, so we remove $(srcdir), 21107 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 11162 21108 # trailing colons and then remove the whole line if VPATH becomes empty 11163 21109 # (actually we leave an empty line to preserve line numbers). 11164 21110 if test "x$srcdir" = x.; then 11165 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 11166 h 11167 s/// 11168 s/^/:/ 11169 s/[ ]*$/:/ 11170 s/:\$(srcdir):/:/g 11171 s/:\${srcdir}:/:/g 11172 s/:@srcdir@:/:/g 11173 s/^:*// 21111 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 21112 s/:*\$(srcdir):*/:/ 21113 s/:*\${srcdir}:*/:/ 21114 s/:*@srcdir@:*/:/ 21115 s/^\([^=]*=[ ]*\):*/\1/ 11174 21116 s/:*$// 11175 x11176 s/\(=[ ]*\).*/\1/11177 G11178 s/\n//11179 21117 s/^[^=]*=[ ]*$// 11180 21118 }' … … 11188 21126 # This happens for instance with `./config.status Makefile'. 11189 21127 if test -n "$CONFIG_HEADERS"; then 11190 cat >"$ ac_tmp/defines.awk" <<\_ACAWK ||21128 cat >"$tmp/defines.awk" <<\_ACAWK || 11191 21129 BEGIN { 11192 21130 _ACEOF … … 11200 21138 ac_delim='%!_!# ' 11201 21139 for ac_last_try in false false :; do 11202 ac_t t=`sed -n "/$ac_delim/p" confdefs.h`11203 if test -z "$ac_t t"; then21140 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 21141 if test -z "$ac_t"; then 11204 21142 break 11205 21143 elif $ac_last_try; then 11206 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 21144 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 21145 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 21146 { (exit 1); exit 1; }; } 11207 21147 else 11208 21148 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 11289 21229 _ACEOF 11290 21230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11291 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 21231 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 21232 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 21233 { (exit 1); exit 1; }; } 11292 21234 fi # test -n "$CONFIG_HEADERS" 11293 21235 … … 11302 21244 case $ac_mode$ac_tag in 11303 21245 :[FHL]*:*);; 11304 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 21246 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 21247 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 21248 { (exit 1); exit 1; }; };; 11305 21249 :[FH]-) ac_tag=-:-;; 11306 21250 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 11321 21265 do 11322 21266 case $ac_f in 11323 -) ac_f="$ ac_tmp/stdin";;21267 -) ac_f="$tmp/stdin";; 11324 21268 *) # Look for the file first in the build tree, then in the source tree 11325 21269 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 11330 21274 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 11331 21275 esac || 11332 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 21276 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 21277 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 21278 { (exit 1); exit 1; }; };; 11333 21279 esac 11334 21280 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 11335 a s_fn_append ac_file_inputs "'$ac_f'"21281 ac_file_inputs="$ac_file_inputs '$ac_f'" 11336 21282 done 11337 21283 … … 11344 21290 if test x"$ac_file" != x-; then 11345 21291 configure_input="$ac_file. $configure_input" 11346 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $ac_file" >&521292 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 11347 21293 $as_echo "$as_me: creating $ac_file" >&6;} 11348 21294 fi … … 11356 21302 11357 21303 case $ac_tag in 11358 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 11359 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 21304 *:-:* | *:-) cat >"$tmp/stdin" \ 21305 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 21306 $as_echo "$as_me: error: could not create $ac_file" >&2;} 21307 { (exit 1); exit 1; }; } ;; 11360 21308 esac 11361 21309 ;; … … 11385 21333 } 11386 21334 s/.*/./; q'` 11387 as_dir="$ac_dir"; as_fn_mkdir_p 21335 { as_dir="$ac_dir" 21336 case $as_dir in #( 21337 -*) as_dir=./$as_dir;; 21338 esac 21339 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 21340 as_dirs= 21341 while :; do 21342 case $as_dir in #( 21343 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 21344 *) as_qdir=$as_dir;; 21345 esac 21346 as_dirs="'$as_qdir' $as_dirs" 21347 as_dir=`$as_dirname -- "$as_dir" || 21348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21349 X"$as_dir" : 'X\(//\)[^/]' \| \ 21350 X"$as_dir" : 'X\(//\)$' \| \ 21351 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 21352 $as_echo X"$as_dir" | 21353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 21354 s//\1/ 21355 q 21356 } 21357 /^X\(\/\/\)[^/].*/{ 21358 s//\1/ 21359 q 21360 } 21361 /^X\(\/\/\)$/{ 21362 s//\1/ 21363 q 21364 } 21365 /^X\(\/\).*/{ 21366 s//\1/ 21367 q 21368 } 21369 s/.*/./; q'` 21370 test -d "$as_dir" && break 21371 done 21372 test -z "$as_dirs" || eval "mkdir $as_dirs" 21373 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 21374 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 21375 { (exit 1); exit 1; }; }; } 11388 21376 ac_builddir=. 11389 21377 … … 11442 21430 # FIXME: This hack should be removed a few years after 2.60. 11443 21431 ac_datarootdir_hack=; ac_datarootdir_seen= 21432 11444 21433 ac_sed_dataroot=' 11445 21434 /datarootdir/ { … … 11451 21440 /@infodir@/p 11452 21441 /@localedir@/p 11453 /@mandir@/p' 21442 /@mandir@/p 21443 ' 11454 21444 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 11455 21445 *datarootdir*) ac_datarootdir_seen=yes;; 11456 21446 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 11457 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&521447 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 11458 21448 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 11459 21449 _ACEOF … … 11465 21455 s&@localedir@&$localedir&g 11466 21456 s&@mandir@&$mandir&g 11467 s&\\\${datarootdir}&$datarootdir&g' ;;21457 s&\\\${datarootdir}&$datarootdir&g' ;; 11468 21458 esac 11469 21459 _ACEOF … … 11493 21483 $ac_datarootdir_hack 11494 21484 " 11495 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 11496 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 21485 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 21486 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 21487 $as_echo "$as_me: error: could not create $ac_file" >&2;} 21488 { (exit 1); exit 1; }; } 11497 21489 11498 21490 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 11499 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 11500 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 11501 "$ac_tmp/out"`; test -z "$ac_out"; } && 11502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11503 which seems to be undefined. Please make sure it is defined" >&5 21491 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 21492 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 21493 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 21494 which seems to be undefined. Please make sure it is defined." >&5 11504 21495 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11505 which seems to be undefined. Please make sure it is defined " >&2;}11506 11507 rm -f "$ ac_tmp/stdin"21496 which seems to be undefined. Please make sure it is defined." >&2;} 21497 21498 rm -f "$tmp/stdin" 11508 21499 case $ac_file in 11509 -) cat "$ ac_tmp/out" && rm -f "$ac_tmp/out";;11510 *) rm -f "$ac_file" && mv "$ ac_tmp/out" "$ac_file";;21500 -) cat "$tmp/out" && rm -f "$tmp/out";; 21501 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 11511 21502 esac \ 11512 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 21503 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 21504 $as_echo "$as_me: error: could not create $ac_file" >&2;} 21505 { (exit 1); exit 1; }; } 11513 21506 ;; 11514 21507 :H) … … 11519 21512 { 11520 21513 $as_echo "/* $configure_input */" \ 11521 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 11522 } >"$ac_tmp/config.h" \ 11523 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11524 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 11525 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 21514 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 21515 } >"$tmp/config.h" \ 21516 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 21517 $as_echo "$as_me: error: could not create $ac_file" >&2;} 21518 { (exit 1); exit 1; }; } 21519 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 21520 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 11526 21521 $as_echo "$as_me: $ac_file is unchanged" >&6;} 11527 21522 else 11528 21523 rm -f "$ac_file" 11529 mv "$ac_tmp/config.h" "$ac_file" \ 11530 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 21524 mv "$tmp/config.h" "$ac_file" \ 21525 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 21526 $as_echo "$as_me: error: could not create $ac_file" >&2;} 21527 { (exit 1); exit 1; }; } 11531 21528 fi 11532 21529 else 11533 21530 $as_echo "/* $configure_input */" \ 11534 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 11535 || as_fn_error $? "could not create -" "$LINENO" 5 21531 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 21532 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 21533 $as_echo "$as_me: error: could not create -" >&2;} 21534 { (exit 1); exit 1; }; } 11536 21535 fi 11537 21536 ;; … … 11543 21542 11544 21543 11545 as_fn_exit 0 11546 _ACEOF 21544 { (exit 0); exit 0; } 21545 _ACEOF 21546 chmod +x $CONFIG_STATUS 11547 21547 ac_clean_files=$ac_clean_files_save 11548 21548 11549 21549 test $ac_write_fail = 0 || 11550 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 21550 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 21551 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 21552 { (exit 1); exit 1; }; } 11551 21553 11552 21554 … … 11569 21571 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 11570 21572 # would make configure fail if this is the last instruction. 11571 $ac_cs_success || as_fn_exit 121573 $ac_cs_success || { (exit 1); exit 1; } 11572 21574 fi 11573 21575 … … 11613 21615 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 11614 21616 esac 11615 a s_fn_append ac_sub_configure_args "'$ac_arg'" ;;21617 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; 11616 21618 esac 11617 21619 done … … 11642 21644 11643 21645 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 11644 $as_echo "$as_me:$ {as_lineno-$LINENO}: $ac_msg" >&521646 $as_echo "$as_me:$LINENO: $ac_msg" >&5 11645 21647 $as_echo "$ac_msg" >&6 11646 as_dir="$ac_dir"; as_fn_mkdir_p 21648 { as_dir="$ac_dir" 21649 case $as_dir in #( 21650 -*) as_dir=./$as_dir;; 21651 esac 21652 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 21653 as_dirs= 21654 while :; do 21655 case $as_dir in #( 21656 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 21657 *) as_qdir=$as_dir;; 21658 esac 21659 as_dirs="'$as_qdir' $as_dirs" 21660 as_dir=`$as_dirname -- "$as_dir" || 21661 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21662 X"$as_dir" : 'X\(//\)[^/]' \| \ 21663 X"$as_dir" : 'X\(//\)$' \| \ 21664 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 21665 $as_echo X"$as_dir" | 21666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 21667 s//\1/ 21668 q 21669 } 21670 /^X\(\/\/\)[^/].*/{ 21671 s//\1/ 21672 q 21673 } 21674 /^X\(\/\/\)$/{ 21675 s//\1/ 21676 q 21677 } 21678 /^X\(\/\).*/{ 21679 s//\1/ 21680 q 21681 } 21682 s/.*/./; q'` 21683 test -d "$as_dir" && break 21684 done 21685 test -z "$as_dirs" || eval "mkdir $as_dirs" 21686 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 21687 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 21688 { (exit 1); exit 1; }; }; } 11647 21689 ac_builddir=. 11648 21690 … … 11691 21733 ac_sub_configure=$ac_aux_dir/configure 11692 21734 else 11693 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&521735 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 11694 21736 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 11695 21737 ac_sub_configure= … … 11705 21747 esac 11706 21748 11707 { $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" >&521749 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 11708 21750 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 11709 21751 # The eval makes quoting arguments work. 11710 21752 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 11711 21753 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 11712 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 21754 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 21755 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 21756 { (exit 1); exit 1; }; } 11713 21757 fi 11714 21758 … … 11717 21761 fi 11718 21762 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 11719 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&521763 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 11720 21764 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 11721 21765 fi -
trunk/configure.in
r3733 r3931 261 261 #-------------------------------------------------------------------- 262 262 if test "${with_ffmpeg}" != "no" ; then 263 if test "${with_ tclsh}" = "yes" ; then263 if test "${with_ffmpeg}" = "yes" ; then 264 264 AC_PATH_PROG(FFMPEG, ffmpeg, [], $PATH) 265 265 else … … 271 271 fi 272 272 273 AC_CHECK_HEADERS([ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h ffmpeg/swscale.h libswscale/swscale.h],,,[273 AC_CHECK_HEADERS([ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h libavutil/mathematics.h ffmpeg/swscale.h libswscale/swscale.h],,,[ 274 274 #define __STDC_CONSTANT_MACROS 1 275 275 ]) -
trunk/src/core/config.h.in
r3717 r3931 130 130 #undef HAVE_LIBAVUTIL_AVUTIL_H 131 131 132 /* Define to 1 if you have the <libavutil/mathematics.h> header file. */ 133 #undef HAVE_LIBAVUTIL_MATHEMATICS_H 134 132 135 /* Define to 1 if you have the `ncurses' library (-lncurses). */ 133 136 #undef HAVE_LIBNCURSES … … 237 240 /* Define to the one symbol short name of this package. */ 238 241 #undef PACKAGE_TARNAME 239 240 /* Define to the home page for this package. */241 #undef PACKAGE_URL242 242 243 243 /* Define to the version of this package. */ -
trunk/video/RpVideo.c
r3929 r3931 43 43 #ifdef HAVE_LIBAVUTIL_AVUTIL_H 44 44 # include <libavutil/avutil.h> 45 #endif 46 47 #ifdef HAVE_LIBAVUTIL_MATHEMATICS_H 48 # include <libavutil/mathematics.h> /* for av_rescale_q and av_gcd */ 45 49 #endif 46 50
Note: See TracChangeset
for help on using the changeset viewer.