Changeset 3601
- Timestamp:
- Apr 1, 2013, 2:04:12 PM (12 years ago)
- Location:
- branches/1.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/configure
r3472 r3601 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 3for Rappture 1.2.3 # Generated by GNU Autoconf 2.69 for Rappture 1.2. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 7 # 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 # 10 # 9 11 # This configure script is free software; the Free Software Foundation 10 12 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. 13 ## -------------------- -##13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 14 16 15 17 # Be more Bourne compatible 16 18 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 20 emulate sh 19 21 NULLCMD=: … … 23 25 setopt NO_GLOB_SUBST 24 26 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 27 32 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 33 fi 34 41 35 42 36 as_nl=' … … 47 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 50 as_echo='printf %s\n' 51 51 as_echo_n='printf %s' … … 58 58 as_echo_n_body='eval 59 59 arg=$1; 60 case $arg in 60 case $arg in #( 61 61 *"$as_nl"*) 62 62 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 81 81 fi 82 82 83 # Support unset when possible.84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then85 as_unset=unset86 else87 as_unset=false88 fi89 90 83 91 84 # IFS … … 97 90 98 91 # Find who we are. Look in the path if we contain no directory separator. 99 case $0 in 92 as_myself= 93 case $0 in #(( 100 94 *[\\/]* ) as_myself=$0 ;; 101 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 104 98 IFS=$as_save_IFS 105 99 test -z "$as_dir" && as_dir=. 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break107 done100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 108 102 IFS=$as_save_IFS 109 103 … … 117 111 if test ! -f "$as_myself"; then 118 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 { (exit 1); exit 1; } 120 fi 121 122 # Work around bugs in pre-3.0 UWIN ksh. 123 for as_var in ENV MAIL MAILPATH 124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 113 exit 1 114 fi 115 116 # Unset variables that we do not need and which cause bugs (e.g. in 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 # suppresses any "Segmentation fault" message there. '((' could 119 # trigger a bug in pdksh 5.2.14. 120 for as_var in BASH_ENV ENV MAIL MAILPATH 121 do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125 123 done 126 124 PS1='$ ' … … 134 132 export LANGUAGE 135 133 136 # Required to use basename. 134 # CDPATH. 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 # Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142 # neutralization value for shells without unset; and this also 143 # works around shells that cannot unset nonexistent variables. 144 # Preserve -v and -x to the replacement shell. 145 BASH_ENV=/dev/null 146 ENV=/dev/null 147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148 case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153 esac 154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 # Admittedly, this is quite paranoid, since all the known shells bail 156 # out after a failed `exec'. 157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162 if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170 else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176 esac 177 fi 178 " 179 as_required="as_fn_return () { (exit \$1); } 180 as_fn_success () { as_fn_return 0; } 181 as_fn_failure () { as_fn_return 1; } 182 as_fn_ret_success () { return 0; } 183 as_fn_ret_failure () { return 1; } 184 185 exitcode=0 186 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192 else 193 exitcode=1; echo positional parameters were not saved. 194 fi 195 test x\$exitcode = x0 || exit 1 196 test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204 else 205 as_have_required=no 206 fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209 else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211 as_found=false 212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213 do 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227 fi 228 fi 229 done;; 230 esac 231 as_found=false 232 done 233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236 fi; } 237 IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243 # neutralization value for shells without unset; and this also 244 # works around shells that cannot unset nonexistent variables. 245 # Preserve -v and -x to the replacement shell. 246 BASH_ENV=/dev/null 247 ENV=/dev/null 248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249 case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254 esac 255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256 # Admittedly, this is quite paranoid, since all the known shells bail 257 # out after a failed `exec'. 258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259 exit 255 260 fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and 270 $0: rappture@nanohub.org about your system, including any 271 $0: error possibly output before this message. Then install 272 $0: a modern shell, or manually run the script under such a 273 $0: shell if you do have one." 274 fi 275 exit 1 276 fi 277 fi 278 fi 279 SHELL=${CONFIG_SHELL-/bin/sh} 280 export SHELL 281 # Unset more variables known to interfere with behavior of common tools. 282 CLICOLOR_FORCE= GREP_OPTIONS= 283 unset CLICOLOR_FORCE GREP_OPTIONS 284 285 ## --------------------- ## 286 ## M4sh Shell Functions. ## 287 ## --------------------- ## 288 # as_fn_unset VAR 289 # --------------- 290 # Portably unset VAR. 291 as_fn_unset () 292 { 293 { eval $1=; unset $1;} 294 } 295 as_unset=as_fn_unset 296 297 # as_fn_set_status STATUS 298 # ----------------------- 299 # Set $? to STATUS, without forking. 300 as_fn_set_status () 301 { 302 return $1 303 } # as_fn_set_status 304 305 # as_fn_exit STATUS 306 # ----------------- 307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 308 as_fn_exit () 309 { 310 set +e 311 as_fn_set_status $1 312 exit $1 313 } # as_fn_exit 314 315 # as_fn_mkdir_p 316 # ------------- 317 # Create "$as_dir" as a directory, including parents if necessary. 318 as_fn_mkdir_p () 319 { 320 321 case $as_dir in #( 322 -*) as_dir=./$as_dir;; 323 esac 324 test -d "$as_dir" || eval $as_mkdir_p || { 325 as_dirs= 326 while :; do 327 case $as_dir in #( 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 329 *) as_qdir=$as_dir;; 330 esac 331 as_dirs="'$as_qdir' $as_dirs" 332 as_dir=`$as_dirname -- "$as_dir" || 333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 334 X"$as_dir" : 'X\(//\)[^/]' \| \ 335 X"$as_dir" : 'X\(//\)$' \| \ 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 337 $as_echo X"$as_dir" | 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)[^/].*/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\/\)$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\).*/{ 351 s//\1/ 352 q 353 } 354 s/.*/./; q'` 355 test -d "$as_dir" && break 356 done 357 test -z "$as_dirs" || eval "mkdir $as_dirs" 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 359 360 361 } # as_fn_mkdir_p 362 363 # as_fn_executable_p FILE 364 # ----------------------- 365 # Test if FILE is an executable regular file. 366 as_fn_executable_p () 367 { 368 test -f "$1" && test -x "$1" 369 } # as_fn_executable_p 370 # as_fn_append VAR VALUE 371 # ---------------------- 372 # Append the text in VALUE to the end of the definition contained in VAR. Take 373 # advantage of any shell optimizations that allow amortized linear growth over 374 # repeated appends, instead of the typical quadratic growth present in naive 375 # implementations. 376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 377 eval 'as_fn_append () 378 { 379 eval $1+=\$2 380 }' 381 else 382 as_fn_append () 383 { 384 eval $1=\$$1\$2 385 } 386 fi # as_fn_append 387 388 # as_fn_arith ARG... 389 # ------------------ 390 # Perform arithmetic evaluation on the ARGs, and store the result in the 391 # global $as_val. Take advantage of shells that can avoid forks. The arguments 392 # must be portable across $(()) and expr. 393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 394 eval 'as_fn_arith () 395 { 396 as_val=$(( $* )) 397 }' 398 else 399 as_fn_arith () 400 { 401 as_val=`expr "$@" || test $? -eq 1` 402 } 403 fi # as_fn_arith 404 405 406 # as_fn_error STATUS ERROR [LINENO LOG_FD] 407 # ---------------------------------------- 408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 410 # script with STATUS, using 1 if that was 0. 411 as_fn_error () 412 { 413 as_status=$1; test $as_status -eq 0 && as_status=1 414 if test "$4"; then 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 417 fi 418 $as_echo "$as_me: error: $2" >&2 419 as_fn_exit $as_status 420 } # as_fn_error 421 137 422 if expr a : '\(a\)' >/dev/null 2>&1 && 138 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 148 433 fi 149 434 150 151 # Name of the executable. 435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 436 as_dirname=dirname 437 else 438 as_dirname=false 439 fi 440 152 441 as_me=`$as_basename -- "$0" || 153 442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 169 458 s/.*/./; q'` 170 459 171 # CDPATH. 172 $as_unset CDPATH 173 174 175 if test "x$CONFIG_SHELL" = x; then 176 if (eval ":") 2>/dev/null; then 177 as_have_required=yes 178 else 179 as_have_required=no 180 fi 181 182 if test $as_have_required = yes && (eval ": 183 (as_func_return () { 184 (exit \$1) 185 } 186 as_func_success () { 187 as_func_return 0 188 } 189 as_func_failure () { 190 as_func_return 1 191 } 192 as_func_ret_success () { 193 return 0 194 } 195 as_func_ret_failure () { 196 return 1 197 } 198 199 exitcode=0 200 if as_func_success; then 201 : 202 else 203 exitcode=1 204 echo as_func_success failed. 205 fi 206 207 if as_func_failure; then 208 exitcode=1 209 echo as_func_failure succeeded. 210 fi 211 212 if as_func_ret_success; then 213 : 214 else 215 exitcode=1 216 echo as_func_ret_success failed. 217 fi 218 219 if as_func_ret_failure; then 220 exitcode=1 221 echo as_func_ret_failure succeeded. 222 fi 223 224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225 : 226 else 227 exitcode=1 228 echo positional parameters were not saved. 229 fi 230 231 test \$exitcode = 0) || { (exit 1); exit 1; } 232 233 ( 234 as_lineno_1=\$LINENO 235 as_lineno_2=\$LINENO 236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238 ") 2> /dev/null; then 239 : 240 else 241 as_candidate_shells= 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244 do 245 IFS=$as_save_IFS 246 test -z "$as_dir" && as_dir=. 247 case $as_dir in 248 /*) 249 for as_base in sh bash ksh sh5; do 250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251 done;; 252 esac 253 done 254 IFS=$as_save_IFS 255 256 257 for as_shell in $as_candidate_shells $SHELL; do 258 # Try only shells that exist, to save several forks. 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260 { ("$as_shell") 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 _ASEOF 278 }; then 279 CONFIG_SHELL=$as_shell 280 as_have_required=yes 281 if { "$as_shell" 2> /dev/null <<\_ASEOF 282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283 emulate sh 284 NULLCMD=: 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286 # is contrary to our usage. Disable this feature. 287 alias -g '${1+"$@"}'='"$@"' 288 setopt NO_GLOB_SUBST 289 else 290 case `(set -o) 2>/dev/null` in 291 *posix*) set -o posix ;; 292 esac 293 294 fi 295 296 297 : 298 (as_func_return () { 299 (exit $1) 300 } 301 as_func_success () { 302 as_func_return 0 303 } 304 as_func_failure () { 305 as_func_return 1 306 } 307 as_func_ret_success () { 308 return 0 309 } 310 as_func_ret_failure () { 311 return 1 312 } 313 314 exitcode=0 315 if as_func_success; then 316 : 317 else 318 exitcode=1 319 echo as_func_success failed. 320 fi 321 322 if as_func_failure; then 323 exitcode=1 324 echo as_func_failure succeeded. 325 fi 326 327 if as_func_ret_success; then 328 : 329 else 330 exitcode=1 331 echo as_func_ret_success failed. 332 fi 333 334 if as_func_ret_failure; then 335 exitcode=1 336 echo as_func_ret_failure succeeded. 337 fi 338 339 if ( set x; as_func_ret_success y && test x = "$1" ); then 340 : 341 else 342 exitcode=1 343 echo positional parameters were not saved. 344 fi 345 346 test $exitcode = 0) || { (exit 1); exit 1; } 347 348 ( 349 as_lineno_1=$LINENO 350 as_lineno_2=$LINENO 351 test "x$as_lineno_1" != "x$as_lineno_2" && 352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353 354 _ASEOF 355 }; then 356 break 357 fi 358 359 fi 360 361 done 362 363 if test "x$CONFIG_SHELL" != x; then 364 for as_var in BASH_ENV ENV 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369 fi 370 371 372 if test $as_have_required = no; then 373 echo This script requires a shell more modern than all the 374 echo shells that I found on your system. Please install a 375 echo modern shell, or manually run the script under such a 376 echo shell if you do have one. 377 { (exit 1); exit 1; } 378 fi 379 380 381 fi 382 383 fi 384 385 386 387 (eval "as_func_return () { 388 (exit \$1) 389 } 390 as_func_success () { 391 as_func_return 0 392 } 393 as_func_failure () { 394 as_func_return 1 395 } 396 as_func_ret_success () { 397 return 0 398 } 399 as_func_ret_failure () { 400 return 1 401 } 402 403 exitcode=0 404 if as_func_success; then 405 : 406 else 407 exitcode=1 408 echo as_func_success failed. 409 fi 410 411 if as_func_failure; then 412 exitcode=1 413 echo as_func_failure succeeded. 414 fi 415 416 if as_func_ret_success; then 417 : 418 else 419 exitcode=1 420 echo as_func_ret_success failed. 421 fi 422 423 if as_func_ret_failure; then 424 exitcode=1 425 echo as_func_ret_failure succeeded. 426 fi 427 428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429 : 430 else 431 exitcode=1 432 echo positional parameters were not saved. 433 fi 434 435 test \$exitcode = 0") || { 436 echo No shell found that supports shell functions. 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 441 } 442 443 444 445 as_lineno_1=$LINENO 446 as_lineno_2=$LINENO 447 test "x$as_lineno_1" != "x$as_lineno_2" && 448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449 450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451 # uniformly replaced by the line number. The first 'sed' inserts a 452 # line-number line after each line using $LINENO; the second 'sed' 453 # does the real work. The second script uses 'N' to pair each 454 # line-number line with the line containing $LINENO, and appends 455 # trailing '-' during substitution so that $LINENO is not a special 456 # case at line end. 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458 # scripts with optimization help from Paolo Bonzini. Blame Lee 459 # E. McMahon (1931-1989) for sed's syntax. :-) 460 # Avoid depending upon Character Ranges. 461 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 464 as_cr_digits='0123456789' 465 as_cr_alnum=$as_cr_Letters$as_cr_digits 466 467 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 460 473 sed -n ' 461 474 p … … 474 487 ' >$as_me.lineno && 475 488 chmod +x "$as_me.lineno" || 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 478 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 490 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 492 # already done that, so ensure we don't try to do so again and fall 493 # in an infinite loop. This has already happened in practice. 494 _as_can_reexec=no; export _as_can_reexec 479 495 # Don't try to exec as it changes $[0], causing all sort of problems 480 496 # (the dirname of $[0] is not the place where we might find the … … 485 501 } 486 502 487 488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then489 as_dirname=dirname490 else491 as_dirname=false492 fi493 494 503 ECHO_C= ECHO_N= ECHO_T= 495 case `echo -n x` in 504 case `echo -n x` in #((((( 496 505 -n*) 497 case `echo 'x \c'` in506 case `echo 'xy\c'` in 498 507 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499 *) ECHO_C='\c';; 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 500 511 esac;; 501 512 *) 502 513 ECHO_N='-n';; 503 514 esac 504 if expr a : '\(a\)' >/dev/null 2>&1 &&505 test "X`expr 00001 : '.*\(...\)'`" = X001; then506 as_expr=expr507 else508 as_expr=false509 fi510 515 511 516 rm -f conf$$ conf$$.exe conf$$.file … … 522 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 523 528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 524 # In both cases, we have to default to `cp -p '.529 # In both cases, we have to default to `cp -pR'. 525 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 526 as_ln_s='cp -p '531 as_ln_s='cp -pR' 527 532 elif ln conf$$.file conf$$ 2>/dev/null; then 528 533 as_ln_s=ln 529 534 else 530 as_ln_s='cp -p '535 as_ln_s='cp -pR' 531 536 fi 532 537 else 533 as_ln_s='cp -p '538 as_ln_s='cp -pR' 534 539 fi 535 540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 537 542 538 543 if mkdir -p . 2>/dev/null; then 539 as_mkdir_p= :544 as_mkdir_p='mkdir -p "$as_dir"' 540 545 else 541 546 test -d ./-p && rmdir ./-p … … 543 548 fi 544 549 545 if test -x / >/dev/null 2>&1; then 546 as_test_x='test -x' 547 else 548 if ls -dL / >/dev/null 2>&1; then 549 as_ls_L_option=L 550 else 551 as_ls_L_option= 552 fi 553 as_test_x=' 554 eval sh -c '\'' 555 if test -d "$1"; then 556 test -d "$1/."; 557 else 558 case $1 in 559 -*)set "./$1";; 560 esac; 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 562 ???[sx]*):;;*)false;;esac;fi 563 '\'' sh 564 ' 565 fi 566 as_executable_p=$as_test_x 550 as_test_x='test -x' 551 as_executable_p=as_fn_executable_p 567 552 568 553 # Sed expression to map a string onto a valid CPP name. … … 573 558 574 559 575 576 exec 7<&0 </dev/null6>&1560 test -n "$DJDIR" || exec 7<&0 </dev/null 561 exec 6>&1 577 562 578 563 # Name of the host. 579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 580 565 # so uname gets run too. 581 566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 592 577 MFLAGS= 593 578 MAKEFLAGS= 594 SHELL=${CONFIG_SHELL-/bin/sh}595 579 596 580 # Identity of this package. … … 600 584 PACKAGE_STRING='Rappture 1.2' 601 585 PACKAGE_BUGREPORT='rappture@nanohub.org' 586 PACKAGE_URL='' 602 587 603 588 # Factoring default headers for most tests. … … 699 684 HAVE_FFMPEG_LIBS 700 685 ENABLE_GUI 686 FFMPEG 701 687 LDFLAGS_DEFAULT 702 688 CFLAGS_DEFAULT 703 RUBY_EXTRA_LIBS 704 RUBY_SITE_PKG 689 host_os 690 host_vendor 691 host_cpu 692 host 693 build_os 694 build_vendor 695 build_cpu 696 build 697 HAVE_RUBY_H 698 RUBY_SITELIBDIR 699 RUBY_LIBRUBYARG_STATIC 700 RUBY_LIBRUBYARG 701 RUBY_LIBS 705 702 RUBY_LDFLAGS 703 RUBY_CXXFLAGS 704 RUBY_CFLAGS 706 705 RUBY_CPPFLAGS 707 AWK 708 RUBY_VERSION 709 SED 706 RUBY_VERSION_CODE 710 707 RUBY 711 708 R … … 802 799 prefix 803 800 exec_prefix 801 PACKAGE_URL 804 802 PACKAGE_BUGREPORT 805 803 PACKAGE_STRING … … 830 828 with_R 831 829 with_ruby 830 with_ruby_sitelibdir 832 831 enable_shared 833 832 enable_symbols … … 910 909 911 910 case $ac_option in 912 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 913 *) ac_optarg=yes ;; 911 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 912 *=) ac_optarg= ;; 913 *) ac_optarg=yes ;; 914 914 esac 915 915 … … 956 956 # Reject names that are not valid shell variable names. 957 957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 958 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 959 { (exit 1); exit 1; }; } 958 as_fn_error $? "invalid feature name: $ac_useropt" 960 959 ac_useropt_orig=$ac_useropt 961 960 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 983 982 # Reject names that are not valid shell variable names. 984 983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 985 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 986 { (exit 1); exit 1; }; } 984 as_fn_error $? "invalid feature name: $ac_useropt" 987 985 ac_useropt_orig=$ac_useropt 988 986 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1188 1186 # Reject names that are not valid shell variable names. 1189 1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1190 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1191 { (exit 1); exit 1; }; } 1188 as_fn_error $? "invalid package name: $ac_useropt" 1192 1189 ac_useropt_orig=$ac_useropt 1193 1190 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1205 1202 # Reject names that are not valid shell variable names. 1206 1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1207 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1208 { (exit 1); exit 1; }; } 1204 as_fn_error $? "invalid package name: $ac_useropt" 1209 1205 ac_useropt_orig=$ac_useropt 1210 1206 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1236 1232 x_libraries=$ac_optarg ;; 1237 1233 1238 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1239 Try \`$0 --help' for more information." >&2 1240 { (exit 1); exit 1; }; } 1234 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1235 Try \`$0 --help' for more information" 1241 1236 ;; 1242 1237 … … 1244 1239 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1245 1240 # Reject names that are not valid shell variable names. 1246 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1247 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1248 { (exit 1); exit 1; }; } 1241 case $ac_envvar in #( 1242 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1243 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1244 esac 1249 1245 eval $ac_envvar=\$ac_optarg 1250 1246 export $ac_envvar ;; … … 1255 1251 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1256 1252 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1257 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1253 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1258 1254 ;; 1259 1255 … … 1263 1259 if test -n "$ac_prev"; then 1264 1260 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1265 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1266 { (exit 1); exit 1; }; } 1261 as_fn_error $? "missing argument to $ac_option" 1267 1262 fi 1268 1263 … … 1270 1265 case $enable_option_checking in 1271 1266 no) ;; 1272 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1273 { (exit 1); exit 1; }; } ;; 1267 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1274 1268 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1275 1269 esac … … 1294 1288 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1295 1289 esac 1296 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1297 { (exit 1); exit 1; }; } 1290 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1298 1291 done 1299 1292 … … 1309 1302 if test "x$build_alias" = x; then 1310 1303 cross_compiling=maybe 1311 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1312 If a cross compiler is detected then cross compile mode will be used." >&21313 1304 elif test "x$build_alias" != "x$host_alias"; then 1314 1305 cross_compiling=yes … … 1325 1316 ac_ls_di=`ls -di .` && 1326 1317 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1327 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1328 { (exit 1); exit 1; }; } 1318 as_fn_error $? "working directory cannot be determined" 1329 1319 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1330 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1331 { (exit 1); exit 1; }; } 1320 as_fn_error $? "pwd does not report name of working directory" 1332 1321 1333 1322 … … 1368 1357 if test ! -r "$srcdir/$ac_unique_file"; then 1369 1358 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1370 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1371 { (exit 1); exit 1; }; } 1359 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1372 1360 fi 1373 1361 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1374 1362 ac_abs_confdir=`( 1375 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1376 { (exit 1); exit 1; }; } 1363 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1377 1364 pwd)` 1378 1365 # When building in place, set srcdir=. … … 1414 1401 --help=recursive display the short help of all the included packages 1415 1402 -V, --version display version information and exit 1416 -q, --quiet, --silent do not print \`checking ...' messages1403 -q, --quiet, --silent do not print \`checking ...' messages 1417 1404 --cache-file=FILE cache test results in FILE [disabled] 1418 1405 -C, --config-cache alias for \`--cache-file=config.cache' … … 1456 1443 1457 1444 cat <<\_ACEOF 1445 1446 System types: 1447 --build=BUILD configure for building on BUILD [guessed] 1448 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1458 1449 _ACEOF 1459 1450 fi … … 1494 1485 --with-java=DIR location of java [default=yes] 1495 1486 --with-R=DIR location of R interpreter [default=yes] 1496 --with-ruby=DIR location of ruby [default=yes] 1487 --with-ruby=PATH path to the ruby interpreter [[ruby]] 1488 --with-ruby-sitelibdir=PATH 1489 path to install ruby scripts [[auto-detect]] 1497 1490 1498 1491 Some influential environment variables: … … 1502 1495 nonstandard directory <lib dir> 1503 1496 LIBS libraries to pass to the linker, e.g. -l<library> 1504 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1497 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1505 1498 you have headers in a nonstandard directory <include dir> 1506 1499 CXX C++ compiler command … … 1578 1571 cat <<\_ACEOF 1579 1572 Rappture configure 1.2 1580 generated by GNU Autoconf 2.63 1581 1582 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1583 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1573 generated by GNU Autoconf 2.69 1574 1575 Copyright (C) 2012 Free Software Foundation, Inc. 1584 1576 This configure script is free software; the Free Software Foundation 1585 1577 gives unlimited permission to copy, distribute and modify it. … … 1587 1579 exit 1588 1580 fi 1581 1582 ## ------------------------ ## 1583 ## Autoconf initialization. ## 1584 ## ------------------------ ## 1585 1586 # ac_fn_c_try_compile LINENO 1587 # -------------------------- 1588 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1589 ac_fn_c_try_compile () 1590 { 1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1592 rm -f conftest.$ac_objext 1593 if { { ac_try="$ac_compile" 1594 case "(($ac_try" in 1595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1596 *) ac_try_echo=$ac_try;; 1597 esac 1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1599 $as_echo "$ac_try_echo"; } >&5 1600 (eval "$ac_compile") 2>conftest.err 1601 ac_status=$? 1602 if test -s conftest.err; then 1603 grep -v '^ *+' conftest.err >conftest.er1 1604 cat conftest.er1 >&5 1605 mv -f conftest.er1 conftest.err 1606 fi 1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1608 test $ac_status = 0; } && { 1609 test -z "$ac_c_werror_flag" || 1610 test ! -s conftest.err 1611 } && test -s conftest.$ac_objext; then : 1612 ac_retval=0 1613 else 1614 $as_echo "$as_me: failed program was:" >&5 1615 sed 's/^/| /' conftest.$ac_ext >&5 1616 1617 ac_retval=1 1618 fi 1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1620 as_fn_set_status $ac_retval 1621 1622 } # ac_fn_c_try_compile 1623 1624 # ac_fn_cxx_try_compile LINENO 1625 # ---------------------------- 1626 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1627 ac_fn_cxx_try_compile () 1628 { 1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1630 rm -f conftest.$ac_objext 1631 if { { ac_try="$ac_compile" 1632 case "(($ac_try" in 1633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1634 *) ac_try_echo=$ac_try;; 1635 esac 1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1637 $as_echo "$ac_try_echo"; } >&5 1638 (eval "$ac_compile") 2>conftest.err 1639 ac_status=$? 1640 if test -s conftest.err; then 1641 grep -v '^ *+' conftest.err >conftest.er1 1642 cat conftest.er1 >&5 1643 mv -f conftest.er1 conftest.err 1644 fi 1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1646 test $ac_status = 0; } && { 1647 test -z "$ac_cxx_werror_flag" || 1648 test ! -s conftest.err 1649 } && test -s conftest.$ac_objext; then : 1650 ac_retval=0 1651 else 1652 $as_echo "$as_me: failed program was:" >&5 1653 sed 's/^/| /' conftest.$ac_ext >&5 1654 1655 ac_retval=1 1656 fi 1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1658 as_fn_set_status $ac_retval 1659 1660 } # ac_fn_cxx_try_compile 1661 1662 # ac_fn_f77_try_compile LINENO 1663 # ---------------------------- 1664 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1665 ac_fn_f77_try_compile () 1666 { 1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1668 rm -f conftest.$ac_objext 1669 if { { ac_try="$ac_compile" 1670 case "(($ac_try" in 1671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1672 *) ac_try_echo=$ac_try;; 1673 esac 1674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1675 $as_echo "$ac_try_echo"; } >&5 1676 (eval "$ac_compile") 2>conftest.err 1677 ac_status=$? 1678 if test -s conftest.err; then 1679 grep -v '^ *+' conftest.err >conftest.er1 1680 cat conftest.er1 >&5 1681 mv -f conftest.er1 conftest.err 1682 fi 1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1684 test $ac_status = 0; } && { 1685 test -z "$ac_f77_werror_flag" || 1686 test ! -s conftest.err 1687 } && test -s conftest.$ac_objext; then : 1688 ac_retval=0 1689 else 1690 $as_echo "$as_me: failed program was:" >&5 1691 sed 's/^/| /' conftest.$ac_ext >&5 1692 1693 ac_retval=1 1694 fi 1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1696 as_fn_set_status $ac_retval 1697 1698 } # ac_fn_f77_try_compile 1699 1700 # ac_fn_c_try_cpp LINENO 1701 # ---------------------- 1702 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1703 ac_fn_c_try_cpp () 1704 { 1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1706 if { { ac_try="$ac_cpp conftest.$ac_ext" 1707 case "(($ac_try" in 1708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1709 *) ac_try_echo=$ac_try;; 1710 esac 1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1712 $as_echo "$ac_try_echo"; } >&5 1713 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1714 ac_status=$? 1715 if test -s conftest.err; then 1716 grep -v '^ *+' conftest.err >conftest.er1 1717 cat conftest.er1 >&5 1718 mv -f conftest.er1 conftest.err 1719 fi 1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1721 test $ac_status = 0; } > conftest.i && { 1722 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1723 test ! -s conftest.err 1724 }; then : 1725 ac_retval=0 1726 else 1727 $as_echo "$as_me: failed program was:" >&5 1728 sed 's/^/| /' conftest.$ac_ext >&5 1729 1730 ac_retval=1 1731 fi 1732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1733 as_fn_set_status $ac_retval 1734 1735 } # ac_fn_c_try_cpp 1736 1737 # ac_fn_c_try_run LINENO 1738 # ---------------------- 1739 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1740 # that executables *can* be run. 1741 ac_fn_c_try_run () 1742 { 1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1744 if { { ac_try="$ac_link" 1745 case "(($ac_try" in 1746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1747 *) ac_try_echo=$ac_try;; 1748 esac 1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1750 $as_echo "$ac_try_echo"; } >&5 1751 (eval "$ac_link") 2>&5 1752 ac_status=$? 1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1754 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1755 { { case "(($ac_try" in 1756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1757 *) ac_try_echo=$ac_try;; 1758 esac 1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1760 $as_echo "$ac_try_echo"; } >&5 1761 (eval "$ac_try") 2>&5 1762 ac_status=$? 1763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1764 test $ac_status = 0; }; }; then : 1765 ac_retval=0 1766 else 1767 $as_echo "$as_me: program exited with status $ac_status" >&5 1768 $as_echo "$as_me: failed program was:" >&5 1769 sed 's/^/| /' conftest.$ac_ext >&5 1770 1771 ac_retval=$ac_status 1772 fi 1773 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1775 as_fn_set_status $ac_retval 1776 1777 } # ac_fn_c_try_run 1778 1779 # ac_fn_c_try_link LINENO 1780 # ----------------------- 1781 # Try to link conftest.$ac_ext, and return whether this succeeded. 1782 ac_fn_c_try_link () 1783 { 1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1785 rm -f conftest.$ac_objext conftest$ac_exeext 1786 if { { ac_try="$ac_link" 1787 case "(($ac_try" in 1788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1789 *) ac_try_echo=$ac_try;; 1790 esac 1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1792 $as_echo "$ac_try_echo"; } >&5 1793 (eval "$ac_link") 2>conftest.err 1794 ac_status=$? 1795 if test -s conftest.err; then 1796 grep -v '^ *+' conftest.err >conftest.er1 1797 cat conftest.er1 >&5 1798 mv -f conftest.er1 conftest.err 1799 fi 1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1801 test $ac_status = 0; } && { 1802 test -z "$ac_c_werror_flag" || 1803 test ! -s conftest.err 1804 } && test -s conftest$ac_exeext && { 1805 test "$cross_compiling" = yes || 1806 test -x conftest$ac_exeext 1807 }; then : 1808 ac_retval=0 1809 else 1810 $as_echo "$as_me: failed program was:" >&5 1811 sed 's/^/| /' conftest.$ac_ext >&5 1812 1813 ac_retval=1 1814 fi 1815 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1816 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1817 # interfere with the next link command; also delete a directory that is 1818 # left behind by Apple's compiler. We do this before executing the actions. 1819 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1821 as_fn_set_status $ac_retval 1822 1823 } # ac_fn_c_try_link 1824 1825 # ac_fn_c_check_func LINENO FUNC VAR 1826 # ---------------------------------- 1827 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1828 ac_fn_c_check_func () 1829 { 1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1832 $as_echo_n "checking for $2... " >&6; } 1833 if eval \${$3+:} false; then : 1834 $as_echo_n "(cached) " >&6 1835 else 1836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1837 /* end confdefs.h. */ 1838 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1839 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1840 #define $2 innocuous_$2 1841 1842 /* System header to define __stub macros and hopefully few prototypes, 1843 which can conflict with char $2 (); below. 1844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1845 <limits.h> exists even on freestanding compilers. */ 1846 1847 #ifdef __STDC__ 1848 # include <limits.h> 1849 #else 1850 # include <assert.h> 1851 #endif 1852 1853 #undef $2 1854 1855 /* Override any GCC internal prototype to avoid an error. 1856 Use char because int might match the return type of a GCC 1857 builtin and then its argument prototype would still apply. */ 1858 #ifdef __cplusplus 1859 extern "C" 1860 #endif 1861 char $2 (); 1862 /* The GNU C library defines this for functions which it implements 1863 to always fail with ENOSYS. Some functions are actually named 1864 something starting with __ and the normal name is an alias. */ 1865 #if defined __stub_$2 || defined __stub___$2 1866 choke me 1867 #endif 1868 1869 int 1870 main () 1871 { 1872 return $2 (); 1873 ; 1874 return 0; 1875 } 1876 _ACEOF 1877 if ac_fn_c_try_link "$LINENO"; then : 1878 eval "$3=yes" 1879 else 1880 eval "$3=no" 1881 fi 1882 rm -f core conftest.err conftest.$ac_objext \ 1883 conftest$ac_exeext conftest.$ac_ext 1884 fi 1885 eval ac_res=\$$3 1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1887 $as_echo "$ac_res" >&6; } 1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1889 1890 } # ac_fn_c_check_func 1891 1892 # ac_fn_cxx_try_link LINENO 1893 # ------------------------- 1894 # Try to link conftest.$ac_ext, and return whether this succeeded. 1895 ac_fn_cxx_try_link () 1896 { 1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1898 rm -f conftest.$ac_objext conftest$ac_exeext 1899 if { { ac_try="$ac_link" 1900 case "(($ac_try" in 1901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1902 *) ac_try_echo=$ac_try;; 1903 esac 1904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1905 $as_echo "$ac_try_echo"; } >&5 1906 (eval "$ac_link") 2>conftest.err 1907 ac_status=$? 1908 if test -s conftest.err; then 1909 grep -v '^ *+' conftest.err >conftest.er1 1910 cat conftest.er1 >&5 1911 mv -f conftest.er1 conftest.err 1912 fi 1913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1914 test $ac_status = 0; } && { 1915 test -z "$ac_cxx_werror_flag" || 1916 test ! -s conftest.err 1917 } && test -s conftest$ac_exeext && { 1918 test "$cross_compiling" = yes || 1919 test -x conftest$ac_exeext 1920 }; then : 1921 ac_retval=0 1922 else 1923 $as_echo "$as_me: failed program was:" >&5 1924 sed 's/^/| /' conftest.$ac_ext >&5 1925 1926 ac_retval=1 1927 fi 1928 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1929 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1930 # interfere with the next link command; also delete a directory that is 1931 # left behind by Apple's compiler. We do this before executing the actions. 1932 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1934 as_fn_set_status $ac_retval 1935 1936 } # ac_fn_cxx_try_link 1937 1938 # ac_fn_cxx_check_func LINENO FUNC VAR 1939 # ------------------------------------ 1940 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1941 ac_fn_cxx_check_func () 1942 { 1943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1945 $as_echo_n "checking for $2... " >&6; } 1946 if eval \${$3+:} false; then : 1947 $as_echo_n "(cached) " >&6 1948 else 1949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1950 /* end confdefs.h. */ 1951 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1952 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1953 #define $2 innocuous_$2 1954 1955 /* System header to define __stub macros and hopefully few prototypes, 1956 which can conflict with char $2 (); below. 1957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1958 <limits.h> exists even on freestanding compilers. */ 1959 1960 #ifdef __STDC__ 1961 # include <limits.h> 1962 #else 1963 # include <assert.h> 1964 #endif 1965 1966 #undef $2 1967 1968 /* Override any GCC internal prototype to avoid an error. 1969 Use char because int might match the return type of a GCC 1970 builtin and then its argument prototype would still apply. */ 1971 #ifdef __cplusplus 1972 extern "C" 1973 #endif 1974 char $2 (); 1975 /* The GNU C library defines this for functions which it implements 1976 to always fail with ENOSYS. Some functions are actually named 1977 something starting with __ and the normal name is an alias. */ 1978 #if defined __stub_$2 || defined __stub___$2 1979 choke me 1980 #endif 1981 1982 int 1983 main () 1984 { 1985 return $2 (); 1986 ; 1987 return 0; 1988 } 1989 _ACEOF 1990 if ac_fn_cxx_try_link "$LINENO"; then : 1991 eval "$3=yes" 1992 else 1993 eval "$3=no" 1994 fi 1995 rm -f core conftest.err conftest.$ac_objext \ 1996 conftest$ac_exeext conftest.$ac_ext 1997 fi 1998 eval ac_res=\$$3 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2000 $as_echo "$ac_res" >&6; } 2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2002 2003 } # ac_fn_cxx_check_func 2004 2005 # ac_fn_cxx_try_cpp LINENO 2006 # ------------------------ 2007 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2008 ac_fn_cxx_try_cpp () 2009 { 2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2011 if { { ac_try="$ac_cpp conftest.$ac_ext" 2012 case "(($ac_try" in 2013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2014 *) ac_try_echo=$ac_try;; 2015 esac 2016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2017 $as_echo "$ac_try_echo"; } >&5 2018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2019 ac_status=$? 2020 if test -s conftest.err; then 2021 grep -v '^ *+' conftest.err >conftest.er1 2022 cat conftest.er1 >&5 2023 mv -f conftest.er1 conftest.err 2024 fi 2025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2026 test $ac_status = 0; } > conftest.i && { 2027 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2028 test ! -s conftest.err 2029 }; then : 2030 ac_retval=0 2031 else 2032 $as_echo "$as_me: failed program was:" >&5 2033 sed 's/^/| /' conftest.$ac_ext >&5 2034 2035 ac_retval=1 2036 fi 2037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2038 as_fn_set_status $ac_retval 2039 2040 } # ac_fn_cxx_try_cpp 2041 2042 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 2043 # --------------------------------------------------------- 2044 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 2045 # the include files in INCLUDES and setting the cache variable VAR 2046 # accordingly. 2047 ac_fn_cxx_check_header_mongrel () 2048 { 2049 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2050 if eval \${$3+:} false; then : 2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2052 $as_echo_n "checking for $2... " >&6; } 2053 if eval \${$3+:} false; then : 2054 $as_echo_n "(cached) " >&6 2055 fi 2056 eval ac_res=\$$3 2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2058 $as_echo "$ac_res" >&6; } 2059 else 2060 # Is the header compilable? 2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2062 $as_echo_n "checking $2 usability... " >&6; } 2063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2064 /* end confdefs.h. */ 2065 $4 2066 #include <$2> 2067 _ACEOF 2068 if ac_fn_cxx_try_compile "$LINENO"; then : 2069 ac_header_compiler=yes 2070 else 2071 ac_header_compiler=no 2072 fi 2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2075 $as_echo "$ac_header_compiler" >&6; } 2076 2077 # Is the header present? 2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2079 $as_echo_n "checking $2 presence... " >&6; } 2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2081 /* end confdefs.h. */ 2082 #include <$2> 2083 _ACEOF 2084 if ac_fn_cxx_try_cpp "$LINENO"; then : 2085 ac_header_preproc=yes 2086 else 2087 ac_header_preproc=no 2088 fi 2089 rm -f conftest.err conftest.i conftest.$ac_ext 2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2091 $as_echo "$ac_header_preproc" >&6; } 2092 2093 # So? What about this header? 2094 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2095 yes:no: ) 2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2097 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2099 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2100 ;; 2101 no:yes:* ) 2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2103 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2105 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2107 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2109 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2111 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2112 ( $as_echo "## ----------------------------------- ## 2113 ## Report this to rappture@nanohub.org ## 2114 ## ----------------------------------- ##" 2115 ) | sed "s/^/$as_me: WARNING: /" >&2 2116 ;; 2117 esac 2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2119 $as_echo_n "checking for $2... " >&6; } 2120 if eval \${$3+:} false; then : 2121 $as_echo_n "(cached) " >&6 2122 else 2123 eval "$3=\$ac_header_compiler" 2124 fi 2125 eval ac_res=\$$3 2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2127 $as_echo "$ac_res" >&6; } 2128 fi 2129 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2130 2131 } # ac_fn_cxx_check_header_mongrel 2132 2133 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2134 # --------------------------------------------------------- 2135 # Tests whether HEADER exists and can be compiled using the include files in 2136 # INCLUDES, setting the cache variable VAR accordingly. 2137 ac_fn_cxx_check_header_compile () 2138 { 2139 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2141 $as_echo_n "checking for $2... " >&6; } 2142 if eval \${$3+:} false; then : 2143 $as_echo_n "(cached) " >&6 2144 else 2145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2146 /* end confdefs.h. */ 2147 $4 2148 #include <$2> 2149 _ACEOF 2150 if ac_fn_cxx_try_compile "$LINENO"; then : 2151 eval "$3=yes" 2152 else 2153 eval "$3=no" 2154 fi 2155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2156 fi 2157 eval ac_res=\$$3 2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2159 $as_echo "$ac_res" >&6; } 2160 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2161 2162 } # ac_fn_cxx_check_header_compile 2163 2164 # ac_fn_cxx_try_run LINENO 2165 # ------------------------ 2166 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2167 # that executables *can* be run. 2168 ac_fn_cxx_try_run () 2169 { 2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2171 if { { ac_try="$ac_link" 2172 case "(($ac_try" in 2173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2174 *) ac_try_echo=$ac_try;; 2175 esac 2176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2177 $as_echo "$ac_try_echo"; } >&5 2178 (eval "$ac_link") 2>&5 2179 ac_status=$? 2180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2181 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2182 { { case "(($ac_try" in 2183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2184 *) ac_try_echo=$ac_try;; 2185 esac 2186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2187 $as_echo "$ac_try_echo"; } >&5 2188 (eval "$ac_try") 2>&5 2189 ac_status=$? 2190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2191 test $ac_status = 0; }; }; then : 2192 ac_retval=0 2193 else 2194 $as_echo "$as_me: program exited with status $ac_status" >&5 2195 $as_echo "$as_me: failed program was:" >&5 2196 sed 's/^/| /' conftest.$ac_ext >&5 2197 2198 ac_retval=$ac_status 2199 fi 2200 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2201 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2202 as_fn_set_status $ac_retval 2203 2204 } # ac_fn_cxx_try_run 2205 2206 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 2207 # ---------------------------------------------- 2208 # Tries to find the compile-time value of EXPR in a program that includes 2209 # INCLUDES, setting VAR accordingly. Returns whether the value could be 2210 # computed 2211 ac_fn_cxx_compute_int () 2212 { 2213 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2214 if test "$cross_compiling" = yes; then 2215 # Depending upon the size, compute the lo and hi bounds. 2216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2217 /* end confdefs.h. */ 2218 $4 2219 int 2220 main () 2221 { 2222 static int test_array [1 - 2 * !(($2) >= 0)]; 2223 test_array [0] = 0; 2224 return test_array [0]; 2225 2226 ; 2227 return 0; 2228 } 2229 _ACEOF 2230 if ac_fn_cxx_try_compile "$LINENO"; then : 2231 ac_lo=0 ac_mid=0 2232 while :; do 2233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2234 /* end confdefs.h. */ 2235 $4 2236 int 2237 main () 2238 { 2239 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2240 test_array [0] = 0; 2241 return test_array [0]; 2242 2243 ; 2244 return 0; 2245 } 2246 _ACEOF 2247 if ac_fn_cxx_try_compile "$LINENO"; then : 2248 ac_hi=$ac_mid; break 2249 else 2250 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2251 if test $ac_lo -le $ac_mid; then 2252 ac_lo= ac_hi= 2253 break 2254 fi 2255 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2256 fi 2257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2258 done 2259 else 2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2261 /* end confdefs.h. */ 2262 $4 2263 int 2264 main () 2265 { 2266 static int test_array [1 - 2 * !(($2) < 0)]; 2267 test_array [0] = 0; 2268 return test_array [0]; 2269 2270 ; 2271 return 0; 2272 } 2273 _ACEOF 2274 if ac_fn_cxx_try_compile "$LINENO"; then : 2275 ac_hi=-1 ac_mid=-1 2276 while :; do 2277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2278 /* end confdefs.h. */ 2279 $4 2280 int 2281 main () 2282 { 2283 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2284 test_array [0] = 0; 2285 return test_array [0]; 2286 2287 ; 2288 return 0; 2289 } 2290 _ACEOF 2291 if ac_fn_cxx_try_compile "$LINENO"; then : 2292 ac_lo=$ac_mid; break 2293 else 2294 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2295 if test $ac_mid -le $ac_hi; then 2296 ac_lo= ac_hi= 2297 break 2298 fi 2299 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2300 fi 2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2302 done 2303 else 2304 ac_lo= ac_hi= 2305 fi 2306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2307 fi 2308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2309 # Binary search between lo and hi bounds. 2310 while test "x$ac_lo" != "x$ac_hi"; do 2311 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2313 /* end confdefs.h. */ 2314 $4 2315 int 2316 main () 2317 { 2318 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2319 test_array [0] = 0; 2320 return test_array [0]; 2321 2322 ; 2323 return 0; 2324 } 2325 _ACEOF 2326 if ac_fn_cxx_try_compile "$LINENO"; then : 2327 ac_hi=$ac_mid 2328 else 2329 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2330 fi 2331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2332 done 2333 case $ac_lo in #(( 2334 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2335 '') ac_retval=1 ;; 2336 esac 2337 else 2338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2339 /* end confdefs.h. */ 2340 $4 2341 static long int longval () { return $2; } 2342 static unsigned long int ulongval () { return $2; } 2343 #include <stdio.h> 2344 #include <stdlib.h> 2345 int 2346 main () 2347 { 2348 2349 FILE *f = fopen ("conftest.val", "w"); 2350 if (! f) 2351 return 1; 2352 if (($2) < 0) 2353 { 2354 long int i = longval (); 2355 if (i != ($2)) 2356 return 1; 2357 fprintf (f, "%ld", i); 2358 } 2359 else 2360 { 2361 unsigned long int i = ulongval (); 2362 if (i != ($2)) 2363 return 1; 2364 fprintf (f, "%lu", i); 2365 } 2366 /* Do not output a trailing newline, as this causes \r\n confusion 2367 on some platforms. */ 2368 return ferror (f) || fclose (f) != 0; 2369 2370 ; 2371 return 0; 2372 } 2373 _ACEOF 2374 if ac_fn_cxx_try_run "$LINENO"; then : 2375 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2376 else 2377 ac_retval=1 2378 fi 2379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2380 conftest.$ac_objext conftest.beam conftest.$ac_ext 2381 rm -f conftest.val 2382 2383 fi 2384 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2385 as_fn_set_status $ac_retval 2386 2387 } # ac_fn_cxx_compute_int 1589 2388 cat >config.log <<_ACEOF 1590 2389 This file contains any messages produced by compilers while … … 1592 2391 1593 2392 It was created by Rappture $as_me 1.2, which was 1594 generated by GNU Autoconf 2.6 3. Invocation command line was2393 generated by GNU Autoconf 2.69. Invocation command line was 1595 2394 1596 2395 $ $0 $@ … … 1628 2427 IFS=$as_save_IFS 1629 2428 test -z "$as_dir" && as_dir=. 1630 $as_echo "PATH: $as_dir"1631 done2429 $as_echo "PATH: $as_dir" 2430 done 1632 2431 IFS=$as_save_IFS 1633 2432 … … 1666 2465 esac 1667 2466 case $ac_pass in 1668 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2467 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1669 2468 2) 1670 a c_configure_args1="$ac_configure_args1'$ac_arg'"2469 as_fn_append ac_configure_args1 " '$ac_arg'" 1671 2470 if test $ac_must_keep_next = true; then 1672 2471 ac_must_keep_next=false # Got value, back to normal. … … 1684 2483 esac 1685 2484 fi 1686 a c_configure_args="$ac_configure_args'$ac_arg'"2485 as_fn_append ac_configure_args " '$ac_arg'" 1687 2486 ;; 1688 2487 esac 1689 2488 done 1690 2489 done 1691 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1692 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2490 { ac_configure_args0=; unset ac_configure_args0;} 2491 { ac_configure_args1=; unset ac_configure_args1;} 1693 2492 1694 2493 # When interrupted or exit'd, cleanup temporary files, and complete … … 1702 2501 echo 1703 2502 1704 cat <<\_ASBOX 1705 ## ---------------- ## 2503 $as_echo "## ---------------- ## 1706 2504 ## Cache variables. ## 1707 ## ---------------- ## 1708 _ASBOX 2505 ## ---------------- ##" 1709 2506 echo 1710 2507 # The following way of writing the cache mishandles newlines in values, … … 1715 2512 *${as_nl}*) 1716 2513 case $ac_var in #( 1717 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&52514 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1718 2515 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1719 2516 esac … … 1721 2518 _ | IFS | as_nl) ;; #( 1722 2519 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1723 *) $as_unset $ac_var;;2520 *) { eval $ac_var=; unset $ac_var;} ;; 1724 2521 esac ;; 1725 2522 esac … … 1740 2537 echo 1741 2538 1742 cat <<\_ASBOX 1743 ## ----------------- ## 2539 $as_echo "## ----------------- ## 1744 2540 ## Output variables. ## 1745 ## ----------------- ## 1746 _ASBOX 2541 ## ----------------- ##" 1747 2542 echo 1748 2543 for ac_var in $ac_subst_vars … … 1757 2552 1758 2553 if test -n "$ac_subst_files"; then 1759 cat <<\_ASBOX 1760 ## ------------------- ## 2554 $as_echo "## ------------------- ## 1761 2555 ## File substitutions. ## 1762 ## ------------------- ## 1763 _ASBOX 2556 ## ------------------- ##" 1764 2557 echo 1765 2558 for ac_var in $ac_subst_files … … 1775 2568 1776 2569 if test -s confdefs.h; then 1777 cat <<\_ASBOX 1778 ## ----------- ## 2570 $as_echo "## ----------- ## 1779 2571 ## confdefs.h. ## 1780 ## ----------- ## 1781 _ASBOX 2572 ## ----------- ##" 1782 2573 echo 1783 2574 cat confdefs.h … … 1793 2584 ' 0 1794 2585 for ac_signal in 1 2 13 15; do 1795 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2586 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1796 2587 done 1797 2588 ac_signal=0 … … 1800 2591 rm -f -r conftest* confdefs.h 1801 2592 2593 $as_echo "/* confdefs.h */" > confdefs.h 2594 1802 2595 # Predefined preprocessor variables. 1803 2596 … … 1806 2599 _ACEOF 1807 2600 1808 1809 2601 cat >>confdefs.h <<_ACEOF 1810 2602 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1811 2603 _ACEOF 1812 2604 1813 1814 2605 cat >>confdefs.h <<_ACEOF 1815 2606 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1816 2607 _ACEOF 1817 2608 1818 1819 2609 cat >>confdefs.h <<_ACEOF 1820 2610 #define PACKAGE_STRING "$PACKAGE_STRING" 1821 2611 _ACEOF 1822 2612 1823 1824 2613 cat >>confdefs.h <<_ACEOF 1825 2614 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2615 _ACEOF 2616 2617 cat >>confdefs.h <<_ACEOF 2618 #define PACKAGE_URL "$PACKAGE_URL" 1826 2619 _ACEOF 1827 2620 … … 1832 2625 ac_site_file2=NONE 1833 2626 if test -n "$CONFIG_SITE"; then 1834 ac_site_file1=$CONFIG_SITE 2627 # We do not want a PATH search for config.site. 2628 case $CONFIG_SITE in #(( 2629 -*) ac_site_file1=./$CONFIG_SITE;; 2630 */*) ac_site_file1=$CONFIG_SITE;; 2631 *) ac_site_file1=./$CONFIG_SITE;; 2632 esac 1835 2633 elif test "x$prefix" != xNONE; then 1836 2634 ac_site_file1=$prefix/share/config.site … … 1843 2641 do 1844 2642 test "x$ac_site_file" = xNONE && continue 1845 if test -r "$ac_site_file"; then1846 { $as_echo "$as_me:$ LINENO: loading site script $ac_site_file" >&52643 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2644 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1847 2645 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1848 2646 sed 's/^/| /' "$ac_site_file" >&5 1849 . "$ac_site_file" 2647 . "$ac_site_file" \ 2648 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2650 as_fn_error $? "failed to load site script $ac_site_file 2651 See \`config.log' for more details" "$LINENO" 5; } 1850 2652 fi 1851 2653 done 1852 2654 1853 2655 if test -r "$cache_file"; then 1854 # Some versions of bash will fail to source /dev/null (special 1855 # files actually), so we avoid doing that.1856 if test -f "$cache_file"; then1857 { $as_echo "$as_me:$ LINENO: loading cache $cache_file" >&52656 # Some versions of bash will fail to source /dev/null (special files 2657 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2658 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2659 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1858 2660 $as_echo "$as_me: loading cache $cache_file" >&6;} 1859 2661 case $cache_file in … … 1863 2665 fi 1864 2666 else 1865 { $as_echo "$as_me:$ LINENO: creating cache $cache_file" >&52667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1866 2668 $as_echo "$as_me: creating cache $cache_file" >&6;} 1867 2669 >$cache_file … … 1878 2680 case $ac_old_set,$ac_new_set in 1879 2681 set,) 1880 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52682 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1881 2683 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1882 2684 ac_cache_corrupted=: ;; 1883 2685 ,set) 1884 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was not set in the previous run" >&52686 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1885 2687 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1886 2688 ac_cache_corrupted=: ;; … … 1892 2694 ac_new_val_w=`echo x $ac_new_val` 1893 2695 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1894 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' has changed since the previous run:" >&52696 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1895 2697 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1896 2698 ac_cache_corrupted=: 1897 2699 else 1898 { $as_echo "$as_me:$ LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52700 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1899 2701 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1900 2702 eval $ac_var=\$ac_old_val 1901 2703 fi 1902 { $as_echo "$as_me:$ LINENO: former value: \`$ac_old_val'" >&52704 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1903 2705 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1904 { $as_echo "$as_me:$ LINENO: current value: \`$ac_new_val'" >&52706 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1905 2707 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1906 2708 fi;; … … 1914 2716 case " $ac_configure_args " in 1915 2717 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1916 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2718 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1917 2719 esac 1918 2720 fi 1919 2721 done 1920 2722 if $ac_cache_corrupted; then 1921 { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52723 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1922 2724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1923 { $as_echo "$as_me:$ LINENO: error: changes in the environment can compromise the build" >&52725 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1924 2726 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1925 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1926 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1927 { (exit 1); exit 1; }; } 1928 fi 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 2727 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2728 fi 2729 ## -------------------- ## 2730 ## Main body of script. ## 2731 ## -------------------- ## 1953 2732 1954 2733 ac_ext=c … … 1976 2755 done 1977 2756 if test -z "$ac_aux_dir"; then 1978 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1979 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1980 { (exit 1); exit 1; }; } 2757 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1981 2758 fi 1982 2759 … … 2006 2783 2007 2784 # Check whether --with-install was given. 2008 if test "${with_install+set}" = set; then 2785 if test "${with_install+set}" = set; then : 2009 2786 withval=$with_install; 2010 2787 else … … 2041 2818 # ./install, which can be erroneously created by make from ./install.sh. 2042 2819 # Reject install programs that cannot install multiple files. 2043 { $as_echo "$as_me:$ LINENO: checking for a BSD-compatible install" >&52820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2044 2821 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2045 2822 if test -z "$INSTALL"; then 2046 if test "${ac_cv_path_install+set}" = set; then2823 if ${ac_cv_path_install+:} false; then : 2047 2824 $as_echo_n "(cached) " >&6 2048 2825 else … … 2052 2829 IFS=$as_save_IFS 2053 2830 test -z "$as_dir" && as_dir=. 2054 # Account for people who put trailing slashes in PATH elements.2055 case $as_dir/ in 2056 ./ | .// | / cC/* | \2831 # Account for people who put trailing slashes in PATH elements. 2832 case $as_dir/ in #(( 2833 ./ | .// | /[cC]/* | \ 2057 2834 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2058 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2835 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2059 2836 /usr/ucb/* ) ;; 2060 2837 *) … … 2064 2841 for ac_prog in ginstall scoinst install; do 2065 2842 for ac_exec_ext in '' $ac_executable_extensions; do 2066 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2843 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2067 2844 if test $ac_prog = install && 2068 2845 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 2093 2870 esac 2094 2871 2095 done2872 done 2096 2873 IFS=$as_save_IFS 2097 2874 … … 2109 2886 fi 2110 2887 fi 2111 { $as_echo "$as_me:$ LINENO: result: $INSTALL" >&52888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2112 2889 $as_echo "$INSTALL" >&6; } 2113 2890 … … 2120 2897 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2121 2898 2122 # Find a good install program. We prefer a C program (faster),2123 # so one script is as good as another. But avoid the broken or2124 # incompatible versions:2125 # SysV /etc/install, /usr/sbin/install2126 # SunOS /usr/etc/install2127 # IRIX /sbin/install2128 # AIX /bin/install2129 # AmigaOS /C/install, which installs bootblocks on floppy discs2130 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag2131 # AFS /usr/afsws/bin/install, which mishandles nonexistent args2132 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"2133 # OS/2's system install, which has a completely different semantic2134 # ./install, which can be erroneously created by make from ./install.sh.2135 # Reject install programs that cannot install multiple files.2136 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&52137 $as_echo_n "checking for a BSD-compatible install... " >&6; }2138 if test -z "$INSTALL"; then2139 if test "${ac_cv_path_install+set}" = set; then2140 $as_echo_n "(cached) " >&62141 else2142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2143 for as_dir in $PATH2144 do2145 IFS=$as_save_IFS2146 test -z "$as_dir" && as_dir=.2147 # Account for people who put trailing slashes in PATH elements.2148 case $as_dir/ in2149 ./ | .// | /cC/* | \2150 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \2151 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2152 /usr/ucb/* ) ;;2153 *)2154 # OSF1 and SCO ODT 3.0 have their own names for install.2155 # Don't use installbsd from OSF since it installs stuff as root2156 # by default.2157 for ac_prog in ginstall scoinst install; do2158 for ac_exec_ext in '' $ac_executable_extensions; do2159 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2160 if test $ac_prog = install &&2161 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2162 # AIX install. It has an incompatible calling convention.2163 :2164 elif test $ac_prog = install &&2165 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2166 # program-specific install script used by HP pwplus--don't use.2167 :2168 else2169 rm -rf conftest.one conftest.two conftest.dir2170 echo one > conftest.one2171 echo two > conftest.two2172 mkdir conftest.dir2173 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&2174 test -s conftest.one && test -s conftest.two &&2175 test -s conftest.dir/conftest.one &&2176 test -s conftest.dir/conftest.two2177 then2178 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2179 break 32180 fi2181 fi2182 fi2183 done2184 done2185 ;;2186 esac2187 2188 done2189 IFS=$as_save_IFS2190 2191 rm -rf conftest.one conftest.two conftest.dir2192 2193 fi2194 if test "${ac_cv_path_install+set}" = set; then2195 INSTALL=$ac_cv_path_install2196 else2197 # As a last resort, use the slow shell script. Don't cache a2198 # value for INSTALL within a source directory, because that will2199 # break other packages using the cache if that directory is2200 # removed, or if the value is a relative name.2201 INSTALL=$ac_install_sh2202 fi2203 fi2204 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&52205 $as_echo "$INSTALL" >&6; }2206 2207 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.2208 # It thinks the first close brace ends the variable substitution.2209 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'2210 2211 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'2212 2213 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'2214 2899 2215 2900 if test -n "$ac_tool_prefix"; then 2216 2901 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2217 2902 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2218 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2219 2904 $as_echo_n "checking for $ac_word... " >&6; } 2220 if test "${ac_cv_prog_RANLIB+set}" = set; then2905 if ${ac_cv_prog_RANLIB+:} false; then : 2221 2906 $as_echo_n "(cached) " >&6 2222 2907 else … … 2229 2914 IFS=$as_save_IFS 2230 2915 test -z "$as_dir" && as_dir=. 2231 for ac_exec_ext in '' $ac_executable_extensions; do2232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2916 for ac_exec_ext in '' $ac_executable_extensions; do 2917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2233 2918 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2234 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2235 2920 break 2 2236 2921 fi 2237 2922 done 2238 done2923 done 2239 2924 IFS=$as_save_IFS 2240 2925 … … 2243 2928 RANLIB=$ac_cv_prog_RANLIB 2244 2929 if test -n "$RANLIB"; then 2245 { $as_echo "$as_me:$ LINENO: result: $RANLIB" >&52930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 2246 2931 $as_echo "$RANLIB" >&6; } 2247 2932 else 2248 { $as_echo "$as_me:$ LINENO: result: no" >&52933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2249 2934 $as_echo "no" >&6; } 2250 2935 fi … … 2256 2941 # Extract the first word of "ranlib", so it can be a program name with args. 2257 2942 set dummy ranlib; ac_word=$2 2258 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2259 2944 $as_echo_n "checking for $ac_word... " >&6; } 2260 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then2945 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 2261 2946 $as_echo_n "(cached) " >&6 2262 2947 else … … 2269 2954 IFS=$as_save_IFS 2270 2955 test -z "$as_dir" && as_dir=. 2271 for ac_exec_ext in '' $ac_executable_extensions; do2272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2956 for ac_exec_ext in '' $ac_executable_extensions; do 2957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2273 2958 ac_cv_prog_ac_ct_RANLIB="ranlib" 2274 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2275 2960 break 2 2276 2961 fi 2277 2962 done 2278 done2963 done 2279 2964 IFS=$as_save_IFS 2280 2965 … … 2283 2968 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2284 2969 if test -n "$ac_ct_RANLIB"; then 2285 { $as_echo "$as_me:$ LINENO: result: $ac_ct_RANLIB" >&52970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 2286 2971 $as_echo "$ac_ct_RANLIB" >&6; } 2287 2972 else 2288 { $as_echo "$as_me:$ LINENO: result: no" >&52973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2289 2974 $as_echo "no" >&6; } 2290 2975 fi … … 2295 2980 case $cross_compiling:$ac_tool_warned in 2296 2981 yes:) 2297 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2298 2983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2299 2984 ac_tool_warned=yes ;; … … 2305 2990 fi 2306 2991 2307 { $as_echo "$as_me:$ LINENO: checking whether ln -s works" >&52992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 2308 2993 $as_echo_n "checking whether ln -s works... " >&6; } 2309 2994 LN_S=$as_ln_s 2310 2995 if test "$LN_S" = "ln -s"; then 2311 { $as_echo "$as_me:$ LINENO: result: yes" >&52996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2312 2997 $as_echo "yes" >&6; } 2313 2998 else 2314 { $as_echo "$as_me:$ LINENO: result: no, using $LN_S" >&52999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 2315 3000 $as_echo "no, using $LN_S" >&6; } 2316 3001 fi 2317 3002 2318 { $as_echo "$as_me:$ LINENO: checking for a thread-safe mkdir -p" >&53003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2319 3004 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2320 3005 if test -z "$MKDIR_P"; then 2321 if test "${ac_cv_path_mkdir+set}" = set; then3006 if ${ac_cv_path_mkdir+:} false; then : 2322 3007 $as_echo_n "(cached) " >&6 2323 3008 else … … 2327 3012 IFS=$as_save_IFS 2328 3013 test -z "$as_dir" && as_dir=. 2329 for ac_prog in mkdir gmkdir; do3014 for ac_prog in mkdir gmkdir; do 2330 3015 for ac_exec_ext in '' $ac_executable_extensions; do 2331 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }|| continue3016 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2332 3017 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2333 3018 'mkdir (GNU coreutils) '* | \ … … 2339 3024 done 2340 3025 done 2341 done3026 done 2342 3027 IFS=$as_save_IFS 2343 3028 2344 3029 fi 2345 3030 3031 test -d ./--version && rmdir ./--version 2346 3032 if test "${ac_cv_path_mkdir+set}" = set; then 2347 3033 MKDIR_P="$ac_cv_path_mkdir -p" … … 2351 3037 # break other packages using the cache if that directory is 2352 3038 # removed, or if the value is a relative name. 2353 test -d ./--version && rmdir ./--version2354 3039 MKDIR_P="$ac_install_sh -d" 2355 3040 fi 2356 3041 fi 2357 { $as_echo "$as_me:$ LINENO: result: $MKDIR_P" >&53042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2358 3043 $as_echo "$MKDIR_P" >&6; } 2359 3044 2360 { $as_echo "$as_me:$ LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&53045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2361 3046 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2362 3047 set x ${MAKE-make} 2363 3048 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2364 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then3049 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2365 3050 $as_echo_n "(cached) " >&6 2366 3051 else … … 2370 3055 @echo '@@@%%%=$(MAKE)=@@@%%%' 2371 3056 _ACEOF 2372 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.3057 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2373 3058 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2374 3059 *@@@%%%=?*=@@@%%%*) … … 2380 3065 fi 2381 3066 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2382 { $as_echo "$as_me:$ LINENO: result: yes" >&53067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2383 3068 $as_echo "yes" >&6; } 2384 3069 SET_MAKE= 2385 3070 else 2386 { $as_echo "$as_me:$ LINENO: result: no" >&53071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2387 3072 $as_echo "no" >&6; } 2388 3073 SET_MAKE="MAKE=${MAKE-make}" … … 2399 3084 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2400 3085 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2401 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2402 3087 $as_echo_n "checking for $ac_word... " >&6; } 2403 if test "${ac_cv_prog_CC+set}" = set; then3088 if ${ac_cv_prog_CC+:} false; then : 2404 3089 $as_echo_n "(cached) " >&6 2405 3090 else … … 2412 3097 IFS=$as_save_IFS 2413 3098 test -z "$as_dir" && as_dir=. 2414 for ac_exec_ext in '' $ac_executable_extensions; do2415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3099 for ac_exec_ext in '' $ac_executable_extensions; do 3100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2416 3101 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2417 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2418 3103 break 2 2419 3104 fi 2420 3105 done 2421 done3106 done 2422 3107 IFS=$as_save_IFS 2423 3108 … … 2426 3111 CC=$ac_cv_prog_CC 2427 3112 if test -n "$CC"; then 2428 { $as_echo "$as_me:$ LINENO: result: $CC" >&53113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2429 3114 $as_echo "$CC" >&6; } 2430 3115 else 2431 { $as_echo "$as_me:$ LINENO: result: no" >&53116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2432 3117 $as_echo "no" >&6; } 2433 3118 fi … … 2439 3124 # Extract the first word of "gcc", so it can be a program name with args. 2440 3125 set dummy gcc; ac_word=$2 2441 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2442 3127 $as_echo_n "checking for $ac_word... " >&6; } 2443 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then3128 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2444 3129 $as_echo_n "(cached) " >&6 2445 3130 else … … 2452 3137 IFS=$as_save_IFS 2453 3138 test -z "$as_dir" && as_dir=. 2454 for ac_exec_ext in '' $ac_executable_extensions; do2455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3139 for ac_exec_ext in '' $ac_executable_extensions; do 3140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2456 3141 ac_cv_prog_ac_ct_CC="gcc" 2457 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2458 3143 break 2 2459 3144 fi 2460 3145 done 2461 done3146 done 2462 3147 IFS=$as_save_IFS 2463 3148 … … 2466 3151 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2467 3152 if test -n "$ac_ct_CC"; then 2468 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&53153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2469 3154 $as_echo "$ac_ct_CC" >&6; } 2470 3155 else 2471 { $as_echo "$as_me:$ LINENO: result: no" >&53156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2472 3157 $as_echo "no" >&6; } 2473 3158 fi … … 2478 3163 case $cross_compiling:$ac_tool_warned in 2479 3164 yes:) 2480 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2481 3166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2482 3167 ac_tool_warned=yes ;; … … 2492 3177 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2493 3178 set dummy ${ac_tool_prefix}cc; ac_word=$2 2494 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2495 3180 $as_echo_n "checking for $ac_word... " >&6; } 2496 if test "${ac_cv_prog_CC+set}" = set; then3181 if ${ac_cv_prog_CC+:} false; then : 2497 3182 $as_echo_n "(cached) " >&6 2498 3183 else … … 2505 3190 IFS=$as_save_IFS 2506 3191 test -z "$as_dir" && as_dir=. 2507 for ac_exec_ext in '' $ac_executable_extensions; do2508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3192 for ac_exec_ext in '' $ac_executable_extensions; do 3193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2509 3194 ac_cv_prog_CC="${ac_tool_prefix}cc" 2510 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2511 3196 break 2 2512 3197 fi 2513 3198 done 2514 done3199 done 2515 3200 IFS=$as_save_IFS 2516 3201 … … 2519 3204 CC=$ac_cv_prog_CC 2520 3205 if test -n "$CC"; then 2521 { $as_echo "$as_me:$ LINENO: result: $CC" >&53206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2522 3207 $as_echo "$CC" >&6; } 2523 3208 else 2524 { $as_echo "$as_me:$ LINENO: result: no" >&53209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2525 3210 $as_echo "no" >&6; } 2526 3211 fi … … 2532 3217 # Extract the first word of "cc", so it can be a program name with args. 2533 3218 set dummy cc; ac_word=$2 2534 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2535 3220 $as_echo_n "checking for $ac_word... " >&6; } 2536 if test "${ac_cv_prog_CC+set}" = set; then3221 if ${ac_cv_prog_CC+:} false; then : 2537 3222 $as_echo_n "(cached) " >&6 2538 3223 else … … 2546 3231 IFS=$as_save_IFS 2547 3232 test -z "$as_dir" && as_dir=. 2548 for ac_exec_ext in '' $ac_executable_extensions; do2549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3233 for ac_exec_ext in '' $ac_executable_extensions; do 3234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2550 3235 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2551 3236 ac_prog_rejected=yes … … 2553 3238 fi 2554 3239 ac_cv_prog_CC="cc" 2555 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2556 3241 break 2 2557 3242 fi 2558 3243 done 2559 done3244 done 2560 3245 IFS=$as_save_IFS 2561 3246 … … 2576 3261 CC=$ac_cv_prog_CC 2577 3262 if test -n "$CC"; then 2578 { $as_echo "$as_me:$ LINENO: result: $CC" >&53263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2579 3264 $as_echo "$CC" >&6; } 2580 3265 else 2581 { $as_echo "$as_me:$ LINENO: result: no" >&53266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2582 3267 $as_echo "no" >&6; } 2583 3268 fi … … 2591 3276 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2592 3277 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2593 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2594 3279 $as_echo_n "checking for $ac_word... " >&6; } 2595 if test "${ac_cv_prog_CC+set}" = set; then3280 if ${ac_cv_prog_CC+:} false; then : 2596 3281 $as_echo_n "(cached) " >&6 2597 3282 else … … 2604 3289 IFS=$as_save_IFS 2605 3290 test -z "$as_dir" && as_dir=. 2606 for ac_exec_ext in '' $ac_executable_extensions; do2607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3291 for ac_exec_ext in '' $ac_executable_extensions; do 3292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2608 3293 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2609 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2610 3295 break 2 2611 3296 fi 2612 3297 done 2613 done3298 done 2614 3299 IFS=$as_save_IFS 2615 3300 … … 2618 3303 CC=$ac_cv_prog_CC 2619 3304 if test -n "$CC"; then 2620 { $as_echo "$as_me:$ LINENO: result: $CC" >&53305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2621 3306 $as_echo "$CC" >&6; } 2622 3307 else 2623 { $as_echo "$as_me:$ LINENO: result: no" >&53308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2624 3309 $as_echo "no" >&6; } 2625 3310 fi … … 2635 3320 # Extract the first word of "$ac_prog", so it can be a program name with args. 2636 3321 set dummy $ac_prog; ac_word=$2 2637 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2638 3323 $as_echo_n "checking for $ac_word... " >&6; } 2639 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then3324 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2640 3325 $as_echo_n "(cached) " >&6 2641 3326 else … … 2648 3333 IFS=$as_save_IFS 2649 3334 test -z "$as_dir" && as_dir=. 2650 for ac_exec_ext in '' $ac_executable_extensions; do2651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3335 for ac_exec_ext in '' $ac_executable_extensions; do 3336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2652 3337 ac_cv_prog_ac_ct_CC="$ac_prog" 2653 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2654 3339 break 2 2655 3340 fi 2656 3341 done 2657 done3342 done 2658 3343 IFS=$as_save_IFS 2659 3344 … … 2662 3347 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2663 3348 if test -n "$ac_ct_CC"; then 2664 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&53349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2665 3350 $as_echo "$ac_ct_CC" >&6; } 2666 3351 else 2667 { $as_echo "$as_me:$ LINENO: result: no" >&53352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2668 3353 $as_echo "no" >&6; } 2669 3354 fi … … 2678 3363 case $cross_compiling:$ac_tool_warned in 2679 3364 yes:) 2680 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2681 3366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2682 3367 ac_tool_warned=yes ;; … … 2689 3374 2690 3375 2691 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53376 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2692 3377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2693 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2694 See \`config.log' for more details." >&5 2695 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2696 See \`config.log' for more details." >&2;} 2697 { (exit 1); exit 1; }; }; } 3378 as_fn_error $? "no acceptable C compiler found in \$PATH 3379 See \`config.log' for more details" "$LINENO" 5; } 2698 3380 2699 3381 # Provide some information about the compiler. 2700 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&53382 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2701 3383 set X $ac_compile 2702 3384 ac_compiler=$2 2703 { (ac_try="$ac_compiler --version >&5" 3385 for ac_option in --version -v -V -qversion; do 3386 { { ac_try="$ac_compiler $ac_option >&5" 2704 3387 case "(($ac_try" in 2705 3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2706 3389 *) ac_try_echo=$ac_try;; 2707 3390 esac 2708 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2709 $as_echo "$ac_try_echo" )>&52710 (eval "$ac_compiler --version >&5") 2>&53391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3392 $as_echo "$ac_try_echo"; } >&5 3393 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2711 3394 ac_status=$? 2712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2713 (exit $ac_status); } 2714 { (ac_try="$ac_compiler -v >&5" 2715 case "(($ac_try" in 2716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2717 *) ac_try_echo=$ac_try;; 2718 esac 2719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2720 $as_echo "$ac_try_echo") >&5 2721 (eval "$ac_compiler -v >&5") 2>&5 2722 ac_status=$? 2723 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2724 (exit $ac_status); } 2725 { (ac_try="$ac_compiler -V >&5" 2726 case "(($ac_try" in 2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2728 *) ac_try_echo=$ac_try;; 2729 esac 2730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2731 $as_echo "$ac_try_echo") >&5 2732 (eval "$ac_compiler -V >&5") 2>&5 2733 ac_status=$? 2734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2735 (exit $ac_status); } 2736 2737 cat >conftest.$ac_ext <<_ACEOF 2738 /* confdefs.h. */ 2739 _ACEOF 2740 cat confdefs.h >>conftest.$ac_ext 2741 cat >>conftest.$ac_ext <<_ACEOF 3395 if test -s conftest.err; then 3396 sed '10a\ 3397 ... rest of stderr output deleted ... 3398 10q' conftest.err >conftest.er1 3399 cat conftest.er1 >&5 3400 fi 3401 rm -f conftest.er1 conftest.err 3402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3403 test $ac_status = 0; } 3404 done 3405 3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2742 3407 /* end confdefs.h. */ 2743 3408 … … 2755 3420 # It will help us diagnose broken compilers, and finding out an intuition 2756 3421 # of exeext. 2757 { $as_echo "$as_me:$ LINENO: checking for C compiler default output file name" >&52758 $as_echo_n "checking for C compiler default output file name... " >&6; }3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3423 $as_echo_n "checking whether the C compiler works... " >&6; } 2759 3424 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2760 3425 … … 2772 3437 rm -f $ac_rmfiles 2773 3438 2774 if { (ac_try="$ac_link_default"3439 if { { ac_try="$ac_link_default" 2775 3440 case "(($ac_try" in 2776 3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2777 3442 *) ac_try_echo=$ac_try;; 2778 3443 esac 2779 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2780 $as_echo "$ac_try_echo" )>&53444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3445 $as_echo "$ac_try_echo"; } >&5 2781 3446 (eval "$ac_link_default") 2>&5 2782 3447 ac_status=$? 2783 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52784 (exit $ac_status); }; then3448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3449 test $ac_status = 0; }; then : 2785 3450 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2786 3451 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2799 3464 break;; 2800 3465 *.* ) 2801 3466 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2802 3467 then :; else 2803 3468 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2818 3483 ac_file='' 2819 3484 fi 2820 2821 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3485 if test -z "$ac_file"; then : 3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3487 $as_echo "no" >&6; } 3488 $as_echo "$as_me: failed program was:" >&5 3489 sed 's/^/| /' conftest.$ac_ext >&5 3490 3491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3493 as_fn_error 77 "C compiler cannot create executables 3494 See \`config.log' for more details" "$LINENO" 5; } 3495 else 3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3497 $as_echo "yes" >&6; } 3498 fi 3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3500 $as_echo_n "checking for C compiler default output file name... " >&6; } 3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2822 3502 $as_echo "$ac_file" >&6; } 2823 if test -z "$ac_file"; then2824 $as_echo "$as_me: failed program was:" >&52825 sed 's/^/| /' conftest.$ac_ext >&52826 2827 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2829 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables2830 See \`config.log' for more details." >&52831 $as_echo "$as_me: error: C compiler cannot create executables2832 See \`config.log' for more details." >&2;}2833 { (exit 77); exit 77; }; }; }2834 fi2835 2836 3503 ac_exeext=$ac_cv_exeext 2837 2838 # Check that the compiler produces executables we can run. If not, either2839 # the compiler is broken, or we cross compile.2840 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&52841 $as_echo_n "checking whether the C compiler works... " >&6; }2842 # FIXME: These cross compiler hacks should be removed for Autoconf 3.02843 # If not cross compiling, check that we can run a simple program.2844 if test "$cross_compiling" != yes; then2845 if { ac_try='./$ac_file'2846 { (case "(($ac_try" in2847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2848 *) ac_try_echo=$ac_try;;2849 esac2850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""2851 $as_echo "$ac_try_echo") >&52852 (eval "$ac_try") 2>&52853 ac_status=$?2854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52855 (exit $ac_status); }; }; then2856 cross_compiling=no2857 else2858 if test "$cross_compiling" = maybe; then2859 cross_compiling=yes2860 else2861 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2863 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.2864 If you meant to cross compile, use \`--host'.2865 See \`config.log' for more details." >&52866 $as_echo "$as_me: error: cannot run C compiled programs.2867 If you meant to cross compile, use \`--host'.2868 See \`config.log' for more details." >&2;}2869 { (exit 1); exit 1; }; }; }2870 fi2871 fi2872 fi2873 { $as_echo "$as_me:$LINENO: result: yes" >&52874 $as_echo "yes" >&6; }2875 3504 2876 3505 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2877 3506 ac_clean_files=$ac_clean_files_save 2878 # Check that the compiler produces executables we can run. If not, either 2879 # the compiler is broken, or we cross compile. 2880 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2881 $as_echo_n "checking whether we are cross compiling... " >&6; } 2882 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2883 $as_echo "$cross_compiling" >&6; } 2884 2885 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2886 3508 $as_echo_n "checking for suffix of executables... " >&6; } 2887 if { (ac_try="$ac_link"3509 if { { ac_try="$ac_link" 2888 3510 case "(($ac_try" in 2889 3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2890 3512 *) ac_try_echo=$ac_try;; 2891 3513 esac 2892 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2893 $as_echo "$ac_try_echo" )>&53514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3515 $as_echo "$ac_try_echo"; } >&5 2894 3516 (eval "$ac_link") 2>&5 2895 3517 ac_status=$? 2896 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52897 (exit $ac_status); }; then3518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3519 test $ac_status = 0; }; then : 2898 3520 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2899 3521 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2910 3532 done 2911 3533 else 2912 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2913 3535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2914 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2915 See \`config.log' for more details." >&5 2916 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2917 See \`config.log' for more details." >&2;} 2918 { (exit 1); exit 1; }; }; } 2919 fi 2920 2921 rm -f conftest$ac_cv_exeext 2922 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3536 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3537 See \`config.log' for more details" "$LINENO" 5; } 3538 fi 3539 rm -f conftest conftest$ac_cv_exeext 3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2923 3541 $as_echo "$ac_cv_exeext" >&6; } 2924 3542 … … 2926 3544 EXEEXT=$ac_cv_exeext 2927 3545 ac_exeext=$EXEEXT 2928 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2929 $as_echo_n "checking for suffix of object files... " >&6; } 2930 if test "${ac_cv_objext+set}" = set; then 2931 $as_echo_n "(cached) " >&6 2932 else 2933 cat >conftest.$ac_ext <<_ACEOF 2934 /* confdefs.h. */ 2935 _ACEOF 2936 cat confdefs.h >>conftest.$ac_ext 2937 cat >>conftest.$ac_ext <<_ACEOF 3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2938 3547 /* end confdefs.h. */ 2939 3548 #include <stdio.h> 2940 3549 int 2941 3550 main () 2942 3551 { 3552 FILE *f = fopen ("conftest.out", "w"); 3553 return ferror (f) || fclose (f) != 0; 2943 3554 2944 3555 ; … … 2946 3557 } 2947 3558 _ACEOF 2948 rm -f conftest.o conftest.obj 2949 if { (ac_try="$ac_compile" 3559 ac_clean_files="$ac_clean_files conftest.out" 3560 # Check that the compiler produces executables we can run. If not, either 3561 # the compiler is broken, or we cross compile. 3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3563 $as_echo_n "checking whether we are cross compiling... " >&6; } 3564 if test "$cross_compiling" != yes; then 3565 { { ac_try="$ac_link" 2950 3566 case "(($ac_try" in 2951 3567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2952 3568 *) ac_try_echo=$ac_try;; 2953 3569 esac 2954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2955 $as_echo "$ac_try_echo") >&5 3570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3571 $as_echo "$ac_try_echo"; } >&5 3572 (eval "$ac_link") 2>&5 3573 ac_status=$? 3574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3575 test $ac_status = 0; } 3576 if { ac_try='./conftest$ac_cv_exeext' 3577 { { case "(($ac_try" in 3578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3579 *) ac_try_echo=$ac_try;; 3580 esac 3581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3582 $as_echo "$ac_try_echo"; } >&5 3583 (eval "$ac_try") 2>&5 3584 ac_status=$? 3585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3586 test $ac_status = 0; }; }; then 3587 cross_compiling=no 3588 else 3589 if test "$cross_compiling" = maybe; then 3590 cross_compiling=yes 3591 else 3592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3594 as_fn_error $? "cannot run C compiled programs. 3595 If you meant to cross compile, use \`--host'. 3596 See \`config.log' for more details" "$LINENO" 5; } 3597 fi 3598 fi 3599 fi 3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3601 $as_echo "$cross_compiling" >&6; } 3602 3603 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3604 ac_clean_files=$ac_clean_files_save 3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3606 $as_echo_n "checking for suffix of object files... " >&6; } 3607 if ${ac_cv_objext+:} false; then : 3608 $as_echo_n "(cached) " >&6 3609 else 3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3611 /* end confdefs.h. */ 3612 3613 int 3614 main () 3615 { 3616 3617 ; 3618 return 0; 3619 } 3620 _ACEOF 3621 rm -f conftest.o conftest.obj 3622 if { { ac_try="$ac_compile" 3623 case "(($ac_try" in 3624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3625 *) ac_try_echo=$ac_try;; 3626 esac 3627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3628 $as_echo "$ac_try_echo"; } >&5 2956 3629 (eval "$ac_compile") 2>&5 2957 3630 ac_status=$? 2958 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52959 (exit $ac_status); }; then3631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3632 test $ac_status = 0; }; then : 2960 3633 for ac_file in conftest.o conftest.obj conftest.*; do 2961 3634 test -f "$ac_file" || continue; … … 2970 3643 sed 's/^/| /' conftest.$ac_ext >&5 2971 3644 2972 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2973 3646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2974 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2975 See \`config.log' for more details." >&5 2976 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2977 See \`config.log' for more details." >&2;} 2978 { (exit 1); exit 1; }; }; } 2979 fi 2980 3647 as_fn_error $? "cannot compute suffix of object files: cannot compile 3648 See \`config.log' for more details" "$LINENO" 5; } 3649 fi 2981 3650 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2982 3651 fi 2983 { $as_echo "$as_me:$ LINENO: result: $ac_cv_objext" >&53652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2984 3653 $as_echo "$ac_cv_objext" >&6; } 2985 3654 OBJEXT=$ac_cv_objext 2986 3655 ac_objext=$OBJEXT 2987 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU C compiler" >&53656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2988 3657 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2989 if test "${ac_cv_c_compiler_gnu+set}" = set; then3658 if ${ac_cv_c_compiler_gnu+:} false; then : 2990 3659 $as_echo_n "(cached) " >&6 2991 3660 else 2992 cat >conftest.$ac_ext <<_ACEOF 2993 /* confdefs.h. */ 2994 _ACEOF 2995 cat confdefs.h >>conftest.$ac_ext 2996 cat >>conftest.$ac_ext <<_ACEOF 3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2997 3662 /* end confdefs.h. */ 2998 3663 … … 3008 3673 } 3009 3674 _ACEOF 3010 rm -f conftest.$ac_objext 3011 if { (ac_try="$ac_compile" 3012 case "(($ac_try" in 3013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3014 *) ac_try_echo=$ac_try;; 3015 esac 3016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3017 $as_echo "$ac_try_echo") >&5 3018 (eval "$ac_compile") 2>conftest.er1 3019 ac_status=$? 3020 grep -v '^ *+' conftest.er1 >conftest.err 3021 rm -f conftest.er1 3022 cat conftest.err >&5 3023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3024 (exit $ac_status); } && { 3025 test -z "$ac_c_werror_flag" || 3026 test ! -s conftest.err 3027 } && test -s conftest.$ac_objext; then 3675 if ac_fn_c_try_compile "$LINENO"; then : 3028 3676 ac_compiler_gnu=yes 3029 3677 else 3030 $as_echo "$as_me: failed program was:" >&5 3031 sed 's/^/| /' conftest.$ac_ext >&5 3032 3033 ac_compiler_gnu=no 3034 fi 3035 3678 ac_compiler_gnu=no 3679 fi 3036 3680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3037 3681 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3038 3682 3039 3683 fi 3040 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&53684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3041 3685 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3042 3686 if test $ac_compiler_gnu = yes; then … … 3047 3691 ac_test_CFLAGS=${CFLAGS+set} 3048 3692 ac_save_CFLAGS=$CFLAGS 3049 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&53693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3050 3694 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3051 if test "${ac_cv_prog_cc_g+set}" = set; then3695 if ${ac_cv_prog_cc_g+:} false; then : 3052 3696 $as_echo_n "(cached) " >&6 3053 3697 else … … 3056 3700 ac_cv_prog_cc_g=no 3057 3701 CFLAGS="-g" 3058 cat >conftest.$ac_ext <<_ACEOF 3059 /* confdefs.h. */ 3060 _ACEOF 3061 cat confdefs.h >>conftest.$ac_ext 3062 cat >>conftest.$ac_ext <<_ACEOF 3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3063 3703 /* end confdefs.h. */ 3064 3704 … … 3071 3711 } 3072 3712 _ACEOF 3073 rm -f conftest.$ac_objext 3074 if { (ac_try="$ac_compile" 3075 case "(($ac_try" in 3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3077 *) ac_try_echo=$ac_try;; 3078 esac 3079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3080 $as_echo "$ac_try_echo") >&5 3081 (eval "$ac_compile") 2>conftest.er1 3082 ac_status=$? 3083 grep -v '^ *+' conftest.er1 >conftest.err 3084 rm -f conftest.er1 3085 cat conftest.err >&5 3086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3087 (exit $ac_status); } && { 3088 test -z "$ac_c_werror_flag" || 3089 test ! -s conftest.err 3090 } && test -s conftest.$ac_objext; then 3713 if ac_fn_c_try_compile "$LINENO"; then : 3091 3714 ac_cv_prog_cc_g=yes 3092 3715 else 3093 $as_echo "$as_me: failed program was:" >&5 3094 sed 's/^/| /' conftest.$ac_ext >&5 3095 3096 CFLAGS="" 3097 cat >conftest.$ac_ext <<_ACEOF 3098 /* confdefs.h. */ 3099 _ACEOF 3100 cat confdefs.h >>conftest.$ac_ext 3101 cat >>conftest.$ac_ext <<_ACEOF 3716 CFLAGS="" 3717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3102 3718 /* end confdefs.h. */ 3103 3719 … … 3110 3726 } 3111 3727 _ACEOF 3112 rm -f conftest.$ac_objext 3113 if { (ac_try="$ac_compile" 3114 case "(($ac_try" in 3115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3116 *) ac_try_echo=$ac_try;; 3117 esac 3118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3119 $as_echo "$ac_try_echo") >&5 3120 (eval "$ac_compile") 2>conftest.er1 3121 ac_status=$? 3122 grep -v '^ *+' conftest.er1 >conftest.err 3123 rm -f conftest.er1 3124 cat conftest.err >&5 3125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3126 (exit $ac_status); } && { 3127 test -z "$ac_c_werror_flag" || 3128 test ! -s conftest.err 3129 } && test -s conftest.$ac_objext; then 3130 : 3131 else 3132 $as_echo "$as_me: failed program was:" >&5 3133 sed 's/^/| /' conftest.$ac_ext >&5 3134 3135 ac_c_werror_flag=$ac_save_c_werror_flag 3728 if ac_fn_c_try_compile "$LINENO"; then : 3729 3730 else 3731 ac_c_werror_flag=$ac_save_c_werror_flag 3136 3732 CFLAGS="-g" 3137 cat >conftest.$ac_ext <<_ACEOF 3138 /* confdefs.h. */ 3139 _ACEOF 3140 cat confdefs.h >>conftest.$ac_ext 3141 cat >>conftest.$ac_ext <<_ACEOF 3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3142 3734 /* end confdefs.h. */ 3143 3735 … … 3150 3742 } 3151 3743 _ACEOF 3152 rm -f conftest.$ac_objext 3153 if { (ac_try="$ac_compile" 3154 case "(($ac_try" in 3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3156 *) ac_try_echo=$ac_try;; 3157 esac 3158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3159 $as_echo "$ac_try_echo") >&5 3160 (eval "$ac_compile") 2>conftest.er1 3161 ac_status=$? 3162 grep -v '^ *+' conftest.er1 >conftest.err 3163 rm -f conftest.er1 3164 cat conftest.err >&5 3165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3166 (exit $ac_status); } && { 3167 test -z "$ac_c_werror_flag" || 3168 test ! -s conftest.err 3169 } && test -s conftest.$ac_objext; then 3744 if ac_fn_c_try_compile "$LINENO"; then : 3170 3745 ac_cv_prog_cc_g=yes 3171 else 3172 $as_echo "$as_me: failed program was:" >&5 3173 sed 's/^/| /' conftest.$ac_ext >&5 3174 3175 3176 fi 3177 3746 fi 3178 3747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3179 3748 fi 3180 3181 3749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3182 3750 fi 3183 3184 3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3185 3752 ac_c_werror_flag=$ac_save_c_werror_flag 3186 3753 fi 3187 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&53754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3188 3755 $as_echo "$ac_cv_prog_cc_g" >&6; } 3189 3756 if test "$ac_test_CFLAGS" = set; then … … 3202 3769 fi 3203 3770 fi 3204 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&53771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3205 3772 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3206 if test "${ac_cv_prog_cc_c89+set}" = set; then3773 if ${ac_cv_prog_cc_c89+:} false; then : 3207 3774 $as_echo_n "(cached) " >&6 3208 3775 else 3209 3776 ac_cv_prog_cc_c89=no 3210 3777 ac_save_CC=$CC 3211 cat >conftest.$ac_ext <<_ACEOF 3212 /* confdefs.h. */ 3213 _ACEOF 3214 cat confdefs.h >>conftest.$ac_ext 3215 cat >>conftest.$ac_ext <<_ACEOF 3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3216 3779 /* end confdefs.h. */ 3217 3780 #include <stdarg.h> 3218 3781 #include <stdio.h> 3219 #include <sys/types.h> 3220 #include <sys/stat.h> 3782 struct stat; 3221 3783 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3222 3784 struct buf { int x; }; … … 3270 3832 do 3271 3833 CC="$ac_save_CC $ac_arg" 3272 rm -f conftest.$ac_objext 3273 if { (ac_try="$ac_compile" 3274 case "(($ac_try" in 3275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3276 *) ac_try_echo=$ac_try;; 3277 esac 3278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3279 $as_echo "$ac_try_echo") >&5 3280 (eval "$ac_compile") 2>conftest.er1 3281 ac_status=$? 3282 grep -v '^ *+' conftest.er1 >conftest.err 3283 rm -f conftest.er1 3284 cat conftest.err >&5 3285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3286 (exit $ac_status); } && { 3287 test -z "$ac_c_werror_flag" || 3288 test ! -s conftest.err 3289 } && test -s conftest.$ac_objext; then 3834 if ac_fn_c_try_compile "$LINENO"; then : 3290 3835 ac_cv_prog_cc_c89=$ac_arg 3291 else 3292 $as_echo "$as_me: failed program was:" >&5 3293 sed 's/^/| /' conftest.$ac_ext >&5 3294 3295 3296 fi 3297 3836 fi 3298 3837 rm -f core conftest.err conftest.$ac_objext 3299 3838 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3306 3845 case "x$ac_cv_prog_cc_c89" in 3307 3846 x) 3308 { $as_echo "$as_me:$ LINENO: result: none needed" >&53847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3309 3848 $as_echo "none needed" >&6; } ;; 3310 3849 xno) 3311 { $as_echo "$as_me:$ LINENO: result: unsupported" >&53850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3312 3851 $as_echo "unsupported" >&6; } ;; 3313 3852 *) 3314 3853 CC="$CC $ac_cv_prog_cc_c89" 3315 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&53854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3316 3855 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3317 3856 esac 3318 3857 if test "x$ac_cv_prog_cc_c89" != xno; then : 3858 3859 fi 3319 3860 3320 3861 ac_ext=c … … 3338 3879 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3339 3880 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3340 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3341 3882 $as_echo_n "checking for $ac_word... " >&6; } 3342 if test "${ac_cv_prog_CXX+set}" = set; then3883 if ${ac_cv_prog_CXX+:} false; then : 3343 3884 $as_echo_n "(cached) " >&6 3344 3885 else … … 3351 3892 IFS=$as_save_IFS 3352 3893 test -z "$as_dir" && as_dir=. 3353 for ac_exec_ext in '' $ac_executable_extensions; do3354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3894 for ac_exec_ext in '' $ac_executable_extensions; do 3895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3355 3896 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3356 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3357 3898 break 2 3358 3899 fi 3359 3900 done 3360 done3901 done 3361 3902 IFS=$as_save_IFS 3362 3903 … … 3365 3906 CXX=$ac_cv_prog_CXX 3366 3907 if test -n "$CXX"; then 3367 { $as_echo "$as_me:$ LINENO: result: $CXX" >&53908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3368 3909 $as_echo "$CXX" >&6; } 3369 3910 else 3370 { $as_echo "$as_me:$ LINENO: result: no" >&53911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3371 3912 $as_echo "no" >&6; } 3372 3913 fi … … 3382 3923 # Extract the first word of "$ac_prog", so it can be a program name with args. 3383 3924 set dummy $ac_prog; ac_word=$2 3384 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3385 3926 $as_echo_n "checking for $ac_word... " >&6; } 3386 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then3927 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3387 3928 $as_echo_n "(cached) " >&6 3388 3929 else … … 3395 3936 IFS=$as_save_IFS 3396 3937 test -z "$as_dir" && as_dir=. 3397 for ac_exec_ext in '' $ac_executable_extensions; do3398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3938 for ac_exec_ext in '' $ac_executable_extensions; do 3939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3399 3940 ac_cv_prog_ac_ct_CXX="$ac_prog" 3400 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3401 3942 break 2 3402 3943 fi 3403 3944 done 3404 done3945 done 3405 3946 IFS=$as_save_IFS 3406 3947 … … 3409 3950 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3410 3951 if test -n "$ac_ct_CXX"; then 3411 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&53952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3412 3953 $as_echo "$ac_ct_CXX" >&6; } 3413 3954 else 3414 { $as_echo "$as_me:$ LINENO: result: no" >&53955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3415 3956 $as_echo "no" >&6; } 3416 3957 fi … … 3425 3966 case $cross_compiling:$ac_tool_warned in 3426 3967 yes:) 3427 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3428 3969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3429 3970 ac_tool_warned=yes ;; … … 3436 3977 fi 3437 3978 # Provide some information about the compiler. 3438 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&53979 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3439 3980 set X $ac_compile 3440 3981 ac_compiler=$2 3441 { (ac_try="$ac_compiler --version >&5" 3982 for ac_option in --version -v -V -qversion; do 3983 { { ac_try="$ac_compiler $ac_option >&5" 3442 3984 case "(($ac_try" in 3443 3985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3444 3986 *) ac_try_echo=$ac_try;; 3445 3987 esac 3446 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""3447 $as_echo "$ac_try_echo" )>&53448 (eval "$ac_compiler --version >&5") 2>&53988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3989 $as_echo "$ac_try_echo"; } >&5 3990 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3449 3991 ac_status=$? 3450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3451 (exit $ac_status); } 3452 { (ac_try="$ac_compiler -v >&5" 3453 case "(($ac_try" in 3454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3455 *) ac_try_echo=$ac_try;; 3456 esac 3457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3458 $as_echo "$ac_try_echo") >&5 3459 (eval "$ac_compiler -v >&5") 2>&5 3460 ac_status=$? 3461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3462 (exit $ac_status); } 3463 { (ac_try="$ac_compiler -V >&5" 3464 case "(($ac_try" in 3465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3466 *) ac_try_echo=$ac_try;; 3467 esac 3468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3469 $as_echo "$ac_try_echo") >&5 3470 (eval "$ac_compiler -V >&5") 2>&5 3471 ac_status=$? 3472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3473 (exit $ac_status); } 3474 3475 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3992 if test -s conftest.err; then 3993 sed '10a\ 3994 ... rest of stderr output deleted ... 3995 10q' conftest.err >conftest.er1 3996 cat conftest.er1 >&5 3997 fi 3998 rm -f conftest.er1 conftest.err 3999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4000 test $ac_status = 0; } 4001 done 4002 4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3476 4004 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3477 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then4005 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3478 4006 $as_echo_n "(cached) " >&6 3479 4007 else 3480 cat >conftest.$ac_ext <<_ACEOF 3481 /* confdefs.h. */ 3482 _ACEOF 3483 cat confdefs.h >>conftest.$ac_ext 3484 cat >>conftest.$ac_ext <<_ACEOF 4008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3485 4009 /* end confdefs.h. */ 3486 4010 … … 3496 4020 } 3497 4021 _ACEOF 3498 rm -f conftest.$ac_objext 3499 if { (ac_try="$ac_compile" 3500 case "(($ac_try" in 3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3502 *) ac_try_echo=$ac_try;; 3503 esac 3504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3505 $as_echo "$ac_try_echo") >&5 3506 (eval "$ac_compile") 2>conftest.er1 3507 ac_status=$? 3508 grep -v '^ *+' conftest.er1 >conftest.err 3509 rm -f conftest.er1 3510 cat conftest.err >&5 3511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3512 (exit $ac_status); } && { 3513 test -z "$ac_cxx_werror_flag" || 3514 test ! -s conftest.err 3515 } && test -s conftest.$ac_objext; then 4022 if ac_fn_cxx_try_compile "$LINENO"; then : 3516 4023 ac_compiler_gnu=yes 3517 4024 else 3518 $as_echo "$as_me: failed program was:" >&5 3519 sed 's/^/| /' conftest.$ac_ext >&5 3520 3521 ac_compiler_gnu=no 3522 fi 3523 4025 ac_compiler_gnu=no 4026 fi 3524 4027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3525 4028 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3526 4029 3527 4030 fi 3528 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&54031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3529 4032 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3530 4033 if test $ac_compiler_gnu = yes; then … … 3535 4038 ac_test_CXXFLAGS=${CXXFLAGS+set} 3536 4039 ac_save_CXXFLAGS=$CXXFLAGS 3537 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&54040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3538 4041 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3539 if test "${ac_cv_prog_cxx_g+set}" = set; then4042 if ${ac_cv_prog_cxx_g+:} false; then : 3540 4043 $as_echo_n "(cached) " >&6 3541 4044 else … … 3544 4047 ac_cv_prog_cxx_g=no 3545 4048 CXXFLAGS="-g" 3546 cat >conftest.$ac_ext <<_ACEOF 3547 /* confdefs.h. */ 3548 _ACEOF 3549 cat confdefs.h >>conftest.$ac_ext 3550 cat >>conftest.$ac_ext <<_ACEOF 4049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3551 4050 /* end confdefs.h. */ 3552 4051 … … 3559 4058 } 3560 4059 _ACEOF 3561 rm -f conftest.$ac_objext 3562 if { (ac_try="$ac_compile" 3563 case "(($ac_try" in 3564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3565 *) ac_try_echo=$ac_try;; 3566 esac 3567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3568 $as_echo "$ac_try_echo") >&5 3569 (eval "$ac_compile") 2>conftest.er1 3570 ac_status=$? 3571 grep -v '^ *+' conftest.er1 >conftest.err 3572 rm -f conftest.er1 3573 cat conftest.err >&5 3574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3575 (exit $ac_status); } && { 3576 test -z "$ac_cxx_werror_flag" || 3577 test ! -s conftest.err 3578 } && test -s conftest.$ac_objext; then 4060 if ac_fn_cxx_try_compile "$LINENO"; then : 3579 4061 ac_cv_prog_cxx_g=yes 3580 4062 else 3581 $as_echo "$as_me: failed program was:" >&5 3582 sed 's/^/| /' conftest.$ac_ext >&5 3583 3584 CXXFLAGS="" 3585 cat >conftest.$ac_ext <<_ACEOF 3586 /* confdefs.h. */ 3587 _ACEOF 3588 cat confdefs.h >>conftest.$ac_ext 3589 cat >>conftest.$ac_ext <<_ACEOF 4063 CXXFLAGS="" 4064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3590 4065 /* end confdefs.h. */ 3591 4066 … … 3598 4073 } 3599 4074 _ACEOF 3600 rm -f conftest.$ac_objext 3601 if { (ac_try="$ac_compile" 3602 case "(($ac_try" in 3603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3604 *) ac_try_echo=$ac_try;; 3605 esac 3606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3607 $as_echo "$ac_try_echo") >&5 3608 (eval "$ac_compile") 2>conftest.er1 3609 ac_status=$? 3610 grep -v '^ *+' conftest.er1 >conftest.err 3611 rm -f conftest.er1 3612 cat conftest.err >&5 3613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3614 (exit $ac_status); } && { 3615 test -z "$ac_cxx_werror_flag" || 3616 test ! -s conftest.err 3617 } && test -s conftest.$ac_objext; then 3618 : 3619 else 3620 $as_echo "$as_me: failed program was:" >&5 3621 sed 's/^/| /' conftest.$ac_ext >&5 3622 3623 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4075 if ac_fn_cxx_try_compile "$LINENO"; then : 4076 4077 else 4078 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3624 4079 CXXFLAGS="-g" 3625 cat >conftest.$ac_ext <<_ACEOF 3626 /* confdefs.h. */ 3627 _ACEOF 3628 cat confdefs.h >>conftest.$ac_ext 3629 cat >>conftest.$ac_ext <<_ACEOF 4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3630 4081 /* end confdefs.h. */ 3631 4082 … … 3638 4089 } 3639 4090 _ACEOF 3640 rm -f conftest.$ac_objext 3641 if { (ac_try="$ac_compile" 3642 case "(($ac_try" in 3643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3644 *) ac_try_echo=$ac_try;; 3645 esac 3646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3647 $as_echo "$ac_try_echo") >&5 3648 (eval "$ac_compile") 2>conftest.er1 3649 ac_status=$? 3650 grep -v '^ *+' conftest.er1 >conftest.err 3651 rm -f conftest.er1 3652 cat conftest.err >&5 3653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3654 (exit $ac_status); } && { 3655 test -z "$ac_cxx_werror_flag" || 3656 test ! -s conftest.err 3657 } && test -s conftest.$ac_objext; then 4091 if ac_fn_cxx_try_compile "$LINENO"; then : 3658 4092 ac_cv_prog_cxx_g=yes 3659 else 3660 $as_echo "$as_me: failed program was:" >&5 3661 sed 's/^/| /' conftest.$ac_ext >&5 3662 3663 3664 fi 3665 4093 fi 3666 4094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3667 4095 fi 3668 3669 4096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3670 4097 fi 3671 3672 4098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3673 4099 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3674 4100 fi 3675 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&54101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3676 4102 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3677 4103 if test "$ac_test_CXXFLAGS" = set; then … … 3706 4132 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3707 4133 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3708 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3709 4135 $as_echo_n "checking for $ac_word... " >&6; } 3710 if test "${ac_cv_prog_F77+set}" = set; then4136 if ${ac_cv_prog_F77+:} false; then : 3711 4137 $as_echo_n "(cached) " >&6 3712 4138 else … … 3719 4145 IFS=$as_save_IFS 3720 4146 test -z "$as_dir" && as_dir=. 3721 for ac_exec_ext in '' $ac_executable_extensions; do3722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4147 for ac_exec_ext in '' $ac_executable_extensions; do 4148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3723 4149 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 3724 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3725 4151 break 2 3726 4152 fi 3727 4153 done 3728 done4154 done 3729 4155 IFS=$as_save_IFS 3730 4156 … … 3733 4159 F77=$ac_cv_prog_F77 3734 4160 if test -n "$F77"; then 3735 { $as_echo "$as_me:$ LINENO: result: $F77" >&54161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 3736 4162 $as_echo "$F77" >&6; } 3737 4163 else 3738 { $as_echo "$as_me:$ LINENO: result: no" >&54164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3739 4165 $as_echo "no" >&6; } 3740 4166 fi … … 3750 4176 # Extract the first word of "$ac_prog", so it can be a program name with args. 3751 4177 set dummy $ac_prog; ac_word=$2 3752 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3753 4179 $as_echo_n "checking for $ac_word... " >&6; } 3754 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then4180 if ${ac_cv_prog_ac_ct_F77+:} false; then : 3755 4181 $as_echo_n "(cached) " >&6 3756 4182 else … … 3763 4189 IFS=$as_save_IFS 3764 4190 test -z "$as_dir" && as_dir=. 3765 for ac_exec_ext in '' $ac_executable_extensions; do3766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4191 for ac_exec_ext in '' $ac_executable_extensions; do 4192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3767 4193 ac_cv_prog_ac_ct_F77="$ac_prog" 3768 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3769 4195 break 2 3770 4196 fi 3771 4197 done 3772 done4198 done 3773 4199 IFS=$as_save_IFS 3774 4200 … … 3777 4203 ac_ct_F77=$ac_cv_prog_ac_ct_F77 3778 4204 if test -n "$ac_ct_F77"; then 3779 { $as_echo "$as_me:$ LINENO: result: $ac_ct_F77" >&54205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 3780 4206 $as_echo "$ac_ct_F77" >&6; } 3781 4207 else 3782 { $as_echo "$as_me:$ LINENO: result: no" >&54208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3783 4209 $as_echo "no" >&6; } 3784 4210 fi … … 3793 4219 case $cross_compiling:$ac_tool_warned in 3794 4220 yes:) 3795 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&54221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3796 4222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3797 4223 ac_tool_warned=yes ;; … … 3803 4229 3804 4230 # Provide some information about the compiler. 3805 $as_echo "$as_me:$ LINENO: checking for Fortran 77 compiler version" >&54231 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 3806 4232 set X $ac_compile 3807 4233 ac_compiler=$2 3808 { (ac_try="$ac_compiler --version >&5" 4234 for ac_option in --version -v -V -qversion; do 4235 { { ac_try="$ac_compiler $ac_option >&5" 3809 4236 case "(($ac_try" in 3810 4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3811 4238 *) ac_try_echo=$ac_try;; 3812 4239 esac 3813 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""3814 $as_echo "$ac_try_echo" )>&53815 (eval "$ac_compiler --version >&5") 2>&54240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4241 $as_echo "$ac_try_echo"; } >&5 4242 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3816 4243 ac_status=$? 3817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3818 (exit $ac_status); } 3819 { (ac_try="$ac_compiler -v >&5" 3820 case "(($ac_try" in 3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3822 *) ac_try_echo=$ac_try;; 3823 esac 3824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3825 $as_echo "$ac_try_echo") >&5 3826 (eval "$ac_compiler -v >&5") 2>&5 3827 ac_status=$? 3828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3829 (exit $ac_status); } 3830 { (ac_try="$ac_compiler -V >&5" 3831 case "(($ac_try" in 3832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3833 *) ac_try_echo=$ac_try;; 3834 esac 3835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3836 $as_echo "$ac_try_echo") >&5 3837 (eval "$ac_compiler -V >&5") 2>&5 3838 ac_status=$? 3839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3840 (exit $ac_status); } 4244 if test -s conftest.err; then 4245 sed '10a\ 4246 ... rest of stderr output deleted ... 4247 10q' conftest.err >conftest.er1 4248 cat conftest.er1 >&5 4249 fi 4250 rm -f conftest.er1 conftest.err 4251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4252 test $ac_status = 0; } 4253 done 3841 4254 rm -f a.out 3842 4255 … … 3845 4258 ac_save_ext=$ac_ext 3846 4259 ac_ext=F 3847 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU Fortran 77 compiler" >&54260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 3848 4261 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 3849 if test "${ac_cv_f77_compiler_gnu+set}" = set; then4262 if ${ac_cv_f77_compiler_gnu+:} false; then : 3850 4263 $as_echo_n "(cached) " >&6 3851 4264 else 3852 cat > conftest.$ac_ext <<_ACEOF4265 cat > conftest.$ac_ext <<_ACEOF 3853 4266 program main 3854 4267 #ifndef __GNUC__ … … 3858 4271 end 3859 4272 _ACEOF 3860 rm -f conftest.$ac_objext 3861 if { (ac_try="$ac_compile" 3862 case "(($ac_try" in 3863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3864 *) ac_try_echo=$ac_try;; 3865 esac 3866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3867 $as_echo "$ac_try_echo") >&5 3868 (eval "$ac_compile") 2>conftest.er1 3869 ac_status=$? 3870 grep -v '^ *+' conftest.er1 >conftest.err 3871 rm -f conftest.er1 3872 cat conftest.err >&5 3873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3874 (exit $ac_status); } && { 3875 test -z "$ac_f77_werror_flag" || 3876 test ! -s conftest.err 3877 } && test -s conftest.$ac_objext; then 4273 if ac_fn_f77_try_compile "$LINENO"; then : 3878 4274 ac_compiler_gnu=yes 3879 4275 else 3880 $as_echo "$as_me: failed program was:" >&5 3881 sed 's/^/| /' conftest.$ac_ext >&5 3882 3883 ac_compiler_gnu=no 3884 fi 3885 4276 ac_compiler_gnu=no 4277 fi 3886 4278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3887 4279 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 3888 4280 3889 4281 fi 3890 { $as_echo "$as_me:$ LINENO: result: $ac_cv_f77_compiler_gnu" >&54282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 3891 4283 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 3892 4284 ac_ext=$ac_save_ext … … 3894 4286 ac_save_FFLAGS=$FFLAGS 3895 4287 FFLAGS= 3896 { $as_echo "$as_me:$ LINENO: checking whether $F77 accepts -g" >&54288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 3897 4289 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 3898 if test "${ac_cv_prog_f77_g+set}" = set; then4290 if ${ac_cv_prog_f77_g+:} false; then : 3899 4291 $as_echo_n "(cached) " >&6 3900 4292 else 3901 4293 FFLAGS=-g 3902 cat > conftest.$ac_ext <<_ACEOF4294 cat > conftest.$ac_ext <<_ACEOF 3903 4295 program main 3904 4296 3905 4297 end 3906 4298 _ACEOF 3907 rm -f conftest.$ac_objext 3908 if { (ac_try="$ac_compile" 3909 case "(($ac_try" in 3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3911 *) ac_try_echo=$ac_try;; 3912 esac 3913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3914 $as_echo "$ac_try_echo") >&5 3915 (eval "$ac_compile") 2>conftest.er1 3916 ac_status=$? 3917 grep -v '^ *+' conftest.er1 >conftest.err 3918 rm -f conftest.er1 3919 cat conftest.err >&5 3920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3921 (exit $ac_status); } && { 3922 test -z "$ac_f77_werror_flag" || 3923 test ! -s conftest.err 3924 } && test -s conftest.$ac_objext; then 4299 if ac_fn_f77_try_compile "$LINENO"; then : 3925 4300 ac_cv_prog_f77_g=yes 3926 4301 else 3927 $as_echo "$as_me: failed program was:" >&5 3928 sed 's/^/| /' conftest.$ac_ext >&5 3929 3930 ac_cv_prog_f77_g=no 3931 fi 3932 4302 ac_cv_prog_f77_g=no 4303 fi 3933 4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3934 4305 3935 4306 fi 3936 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_f77_g" >&54307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 3937 4308 $as_echo "$ac_cv_prog_f77_g" >&6; } 3938 4309 if test "$ac_test_FFLAGS" = set; then … … 3977 4348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3978 4349 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3979 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&54350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3980 4351 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3981 4352 # On Suns, sometimes $CPP names a directory. … … 3984 4355 fi 3985 4356 if test -z "$CPP"; then 3986 if test "${ac_cv_prog_CPP+set}" = set; then4357 if ${ac_cv_prog_CPP+:} false; then : 3987 4358 $as_echo_n "(cached) " >&6 3988 4359 else … … 3999 4370 # On the NeXT, cc -E runs the code through the compiler's parser, 4000 4371 # not just through cpp. "Syntax error" is here to catch this case. 4001 cat >conftest.$ac_ext <<_ACEOF 4002 /* confdefs.h. */ 4003 _ACEOF 4004 cat confdefs.h >>conftest.$ac_ext 4005 cat >>conftest.$ac_ext <<_ACEOF 4372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4006 4373 /* end confdefs.h. */ 4007 4374 #ifdef __STDC__ … … 4012 4379 Syntax error 4013 4380 _ACEOF 4014 if { (ac_try="$ac_cpp conftest.$ac_ext" 4015 case "(($ac_try" in 4016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4017 *) ac_try_echo=$ac_try;; 4018 esac 4019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4020 $as_echo "$ac_try_echo") >&5 4021 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4022 ac_status=$? 4023 grep -v '^ *+' conftest.er1 >conftest.err 4024 rm -f conftest.er1 4025 cat conftest.err >&5 4026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4027 (exit $ac_status); } >/dev/null && { 4028 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4029 test ! -s conftest.err 4030 }; then 4031 : 4032 else 4033 $as_echo "$as_me: failed program was:" >&5 4034 sed 's/^/| /' conftest.$ac_ext >&5 4035 4381 if ac_fn_c_try_cpp "$LINENO"; then : 4382 4383 else 4036 4384 # Broken: fails on valid input. 4037 4385 continue 4038 4386 fi 4039 4040 rm -f conftest.err conftest.$ac_ext 4387 rm -f conftest.err conftest.i conftest.$ac_ext 4041 4388 4042 4389 # OK, works on sane cases. Now check whether nonexistent headers 4043 4390 # can be detected and how. 4044 cat >conftest.$ac_ext <<_ACEOF 4045 /* confdefs.h. */ 4046 _ACEOF 4047 cat confdefs.h >>conftest.$ac_ext 4048 cat >>conftest.$ac_ext <<_ACEOF 4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4049 4392 /* end confdefs.h. */ 4050 4393 #include <ac_nonexistent.h> 4051 4394 _ACEOF 4052 if { (ac_try="$ac_cpp conftest.$ac_ext" 4053 case "(($ac_try" in 4054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4055 *) ac_try_echo=$ac_try;; 4056 esac 4057 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4058 $as_echo "$ac_try_echo") >&5 4059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4060 ac_status=$? 4061 grep -v '^ *+' conftest.er1 >conftest.err 4062 rm -f conftest.er1 4063 cat conftest.err >&5 4064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4065 (exit $ac_status); } >/dev/null && { 4066 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4067 test ! -s conftest.err 4068 }; then 4395 if ac_fn_c_try_cpp "$LINENO"; then : 4069 4396 # Broken: success on invalid input. 4070 4397 continue 4071 4398 else 4072 $as_echo "$as_me: failed program was:" >&54073 sed 's/^/| /' conftest.$ac_ext >&54074 4075 4399 # Passes both tests. 4076 4400 ac_preproc_ok=: 4077 4401 break 4078 4402 fi 4079 4080 rm -f conftest.err conftest.$ac_ext 4403 rm -f conftest.err conftest.i conftest.$ac_ext 4081 4404 4082 4405 done 4083 4406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4084 rm -f conftest. err conftest.$ac_ext4085 if $ac_preproc_ok; then 4407 rm -f conftest.i conftest.err conftest.$ac_ext 4408 if $ac_preproc_ok; then : 4086 4409 break 4087 4410 fi … … 4095 4418 ac_cv_prog_CPP=$CPP 4096 4419 fi 4097 { $as_echo "$as_me:$ LINENO: result: $CPP" >&54420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4098 4421 $as_echo "$CPP" >&6; } 4099 4422 ac_preproc_ok=false … … 4106 4429 # On the NeXT, cc -E runs the code through the compiler's parser, 4107 4430 # not just through cpp. "Syntax error" is here to catch this case. 4108 cat >conftest.$ac_ext <<_ACEOF 4109 /* confdefs.h. */ 4110 _ACEOF 4111 cat confdefs.h >>conftest.$ac_ext 4112 cat >>conftest.$ac_ext <<_ACEOF 4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4113 4432 /* end confdefs.h. */ 4114 4433 #ifdef __STDC__ … … 4119 4438 Syntax error 4120 4439 _ACEOF 4121 if { (ac_try="$ac_cpp conftest.$ac_ext" 4122 case "(($ac_try" in 4123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4124 *) ac_try_echo=$ac_try;; 4125 esac 4126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4127 $as_echo "$ac_try_echo") >&5 4128 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4129 ac_status=$? 4130 grep -v '^ *+' conftest.er1 >conftest.err 4131 rm -f conftest.er1 4132 cat conftest.err >&5 4133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4134 (exit $ac_status); } >/dev/null && { 4135 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4136 test ! -s conftest.err 4137 }; then 4138 : 4139 else 4140 $as_echo "$as_me: failed program was:" >&5 4141 sed 's/^/| /' conftest.$ac_ext >&5 4142 4440 if ac_fn_c_try_cpp "$LINENO"; then : 4441 4442 else 4143 4443 # Broken: fails on valid input. 4144 4444 continue 4145 4445 fi 4146 4147 rm -f conftest.err conftest.$ac_ext 4446 rm -f conftest.err conftest.i conftest.$ac_ext 4148 4447 4149 4448 # OK, works on sane cases. Now check whether nonexistent headers 4150 4449 # can be detected and how. 4151 cat >conftest.$ac_ext <<_ACEOF 4152 /* confdefs.h. */ 4153 _ACEOF 4154 cat confdefs.h >>conftest.$ac_ext 4155 cat >>conftest.$ac_ext <<_ACEOF 4450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4156 4451 /* end confdefs.h. */ 4157 4452 #include <ac_nonexistent.h> 4158 4453 _ACEOF 4159 if { (ac_try="$ac_cpp conftest.$ac_ext" 4160 case "(($ac_try" in 4161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4162 *) ac_try_echo=$ac_try;; 4163 esac 4164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4165 $as_echo "$ac_try_echo") >&5 4166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4167 ac_status=$? 4168 grep -v '^ *+' conftest.er1 >conftest.err 4169 rm -f conftest.er1 4170 cat conftest.err >&5 4171 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4172 (exit $ac_status); } >/dev/null && { 4173 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4174 test ! -s conftest.err 4175 }; then 4454 if ac_fn_c_try_cpp "$LINENO"; then : 4176 4455 # Broken: success on invalid input. 4177 4456 continue 4178 4457 else 4179 $as_echo "$as_me: failed program was:" >&54180 sed 's/^/| /' conftest.$ac_ext >&54181 4182 4458 # Passes both tests. 4183 4459 ac_preproc_ok=: 4184 4460 break 4185 4461 fi 4186 4187 rm -f conftest.err conftest.$ac_ext 4462 rm -f conftest.err conftest.i conftest.$ac_ext 4188 4463 4189 4464 done 4190 4465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4191 rm -f conftest. err conftest.$ac_ext4192 if $ac_preproc_ok; then 4193 : 4194 else 4195 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&54466 rm -f conftest.i conftest.err conftest.$ac_ext 4467 if $ac_preproc_ok; then : 4468 4469 else 4470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4196 4471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4197 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4198 See \`config.log' for more details." >&5 4199 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4200 See \`config.log' for more details." >&2;} 4201 { (exit 1); exit 1; }; }; } 4472 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4473 See \`config.log' for more details" "$LINENO" 5; } 4202 4474 fi 4203 4475 … … 4209 4481 4210 4482 4211 { $as_echo "$as_me:$ LINENO: checking for grep that handles long lines and -e" >&54483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4212 4484 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4213 if test "${ac_cv_path_GREP+set}" = set; then4485 if ${ac_cv_path_GREP+:} false; then : 4214 4486 $as_echo_n "(cached) " >&6 4215 4487 else … … 4222 4494 IFS=$as_save_IFS 4223 4495 test -z "$as_dir" && as_dir=. 4224 for ac_prog in grep ggrep; do4496 for ac_prog in grep ggrep; do 4225 4497 for ac_exec_ext in '' $ac_executable_extensions; do 4226 4498 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4227 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; }|| continue4499 as_fn_executable_p "$ac_path_GREP" || continue 4228 4500 # Check for GNU ac_path_GREP and select it if it is found. 4229 4501 # Check for GNU $ac_path_GREP … … 4242 4514 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4243 4515 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4244 a c_count=`expr $ac_count + 1`4516 as_fn_arith $ac_count + 1 && ac_count=$as_val 4245 4517 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4246 4518 # Best one so far, save it but keep looking for a better one … … 4257 4529 done 4258 4530 done 4259 done4531 done 4260 4532 IFS=$as_save_IFS 4261 4533 if test -z "$ac_cv_path_GREP"; then 4262 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4263 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4264 { (exit 1); exit 1; }; } 4534 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4265 4535 fi 4266 4536 else … … 4269 4539 4270 4540 fi 4271 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_GREP" >&54541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4272 4542 $as_echo "$ac_cv_path_GREP" >&6; } 4273 4543 GREP="$ac_cv_path_GREP" 4274 4544 4275 4545 4276 { $as_echo "$as_me:$ LINENO: checking for egrep" >&54546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4277 4547 $as_echo_n "checking for egrep... " >&6; } 4278 if test "${ac_cv_path_EGREP+set}" = set; then4548 if ${ac_cv_path_EGREP+:} false; then : 4279 4549 $as_echo_n "(cached) " >&6 4280 4550 else … … 4290 4560 IFS=$as_save_IFS 4291 4561 test -z "$as_dir" && as_dir=. 4292 for ac_prog in egrep; do4562 for ac_prog in egrep; do 4293 4563 for ac_exec_ext in '' $ac_executable_extensions; do 4294 4564 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4295 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; }|| continue4565 as_fn_executable_p "$ac_path_EGREP" || continue 4296 4566 # Check for GNU ac_path_EGREP and select it if it is found. 4297 4567 # Check for GNU $ac_path_EGREP … … 4310 4580 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4311 4581 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4312 a c_count=`expr $ac_count + 1`4582 as_fn_arith $ac_count + 1 && ac_count=$as_val 4313 4583 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4314 4584 # Best one so far, save it but keep looking for a better one … … 4325 4595 done 4326 4596 done 4327 done4597 done 4328 4598 IFS=$as_save_IFS 4329 4599 if test -z "$ac_cv_path_EGREP"; then 4330 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4331 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4332 { (exit 1); exit 1; }; } 4600 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4333 4601 fi 4334 4602 else … … 4338 4606 fi 4339 4607 fi 4340 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_EGREP" >&54608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4341 4609 $as_echo "$ac_cv_path_EGREP" >&6; } 4342 4610 EGREP="$ac_cv_path_EGREP" 4343 4611 4344 4612 4345 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&54613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4346 4614 $as_echo_n "checking for ANSI C header files... " >&6; } 4347 if test "${ac_cv_header_stdc+set}" = set; then4615 if ${ac_cv_header_stdc+:} false; then : 4348 4616 $as_echo_n "(cached) " >&6 4349 4617 else 4350 cat >conftest.$ac_ext <<_ACEOF 4351 /* confdefs.h. */ 4352 _ACEOF 4353 cat confdefs.h >>conftest.$ac_ext 4354 cat >>conftest.$ac_ext <<_ACEOF 4618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4355 4619 /* end confdefs.h. */ 4356 4620 #include <stdlib.h> … … 4367 4631 } 4368 4632 _ACEOF 4369 rm -f conftest.$ac_objext 4370 if { (ac_try="$ac_compile" 4371 case "(($ac_try" in 4372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4373 *) ac_try_echo=$ac_try;; 4374 esac 4375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4376 $as_echo "$ac_try_echo") >&5 4377 (eval "$ac_compile") 2>conftest.er1 4378 ac_status=$? 4379 grep -v '^ *+' conftest.er1 >conftest.err 4380 rm -f conftest.er1 4381 cat conftest.err >&5 4382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4383 (exit $ac_status); } && { 4384 test -z "$ac_c_werror_flag" || 4385 test ! -s conftest.err 4386 } && test -s conftest.$ac_objext; then 4633 if ac_fn_c_try_compile "$LINENO"; then : 4387 4634 ac_cv_header_stdc=yes 4388 4635 else 4389 $as_echo "$as_me: failed program was:" >&5 4390 sed 's/^/| /' conftest.$ac_ext >&5 4391 4392 ac_cv_header_stdc=no 4393 fi 4394 4636 ac_cv_header_stdc=no 4637 fi 4395 4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4396 4639 4397 4640 if test $ac_cv_header_stdc = yes; then 4398 4641 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4399 cat >conftest.$ac_ext <<_ACEOF 4400 /* confdefs.h. */ 4401 _ACEOF 4402 cat confdefs.h >>conftest.$ac_ext 4403 cat >>conftest.$ac_ext <<_ACEOF 4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4404 4643 /* end confdefs.h. */ 4405 4644 #include <string.h> … … 4407 4646 _ACEOF 4408 4647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4409 $EGREP "memchr" >/dev/null 2>&1; then 4410 : 4648 $EGREP "memchr" >/dev/null 2>&1; then : 4649 4411 4650 else 4412 4651 ac_cv_header_stdc=no … … 4418 4657 if test $ac_cv_header_stdc = yes; then 4419 4658 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4420 cat >conftest.$ac_ext <<_ACEOF 4421 /* confdefs.h. */ 4422 _ACEOF 4423 cat confdefs.h >>conftest.$ac_ext 4424 cat >>conftest.$ac_ext <<_ACEOF 4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4425 4660 /* end confdefs.h. */ 4426 4661 #include <stdlib.h> … … 4428 4663 _ACEOF 4429 4664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4430 $EGREP "free" >/dev/null 2>&1; then 4431 : 4665 $EGREP "free" >/dev/null 2>&1; then : 4666 4432 4667 else 4433 4668 ac_cv_header_stdc=no … … 4439 4674 if test $ac_cv_header_stdc = yes; then 4440 4675 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4441 if test "$cross_compiling" = yes; then 4676 if test "$cross_compiling" = yes; then : 4442 4677 : 4443 4678 else 4444 cat >conftest.$ac_ext <<_ACEOF 4445 /* confdefs.h. */ 4446 _ACEOF 4447 cat confdefs.h >>conftest.$ac_ext 4448 cat >>conftest.$ac_ext <<_ACEOF 4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4449 4680 /* end confdefs.h. */ 4450 4681 #include <ctype.h> … … 4473 4704 } 4474 4705 _ACEOF 4475 rm -f conftest$ac_exeext 4476 if { (ac_try="$ac_link" 4477 case "(($ac_try" in 4478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4479 *) ac_try_echo=$ac_try;; 4480 esac 4481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4482 $as_echo "$ac_try_echo") >&5 4483 (eval "$ac_link") 2>&5 4484 ac_status=$? 4485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4486 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4487 { (case "(($ac_try" in 4488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4489 *) ac_try_echo=$ac_try;; 4490 esac 4491 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4492 $as_echo "$ac_try_echo") >&5 4493 (eval "$ac_try") 2>&5 4494 ac_status=$? 4495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4496 (exit $ac_status); }; }; then 4497 : 4498 else 4499 $as_echo "$as_me: program exited with status $ac_status" >&5 4500 $as_echo "$as_me: failed program was:" >&5 4501 sed 's/^/| /' conftest.$ac_ext >&5 4502 4503 ( exit $ac_status ) 4504 ac_cv_header_stdc=no 4505 fi 4506 rm -rf conftest.dSYM 4507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4508 fi 4509 4510 4511 fi 4512 fi 4513 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4706 if ac_fn_c_try_run "$LINENO"; then : 4707 4708 else 4709 ac_cv_header_stdc=no 4710 fi 4711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4712 conftest.$ac_objext conftest.beam conftest.$ac_ext 4713 fi 4714 4715 fi 4716 fi 4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4514 4718 $as_echo "$ac_cv_header_stdc" >&6; } 4515 4719 if test $ac_cv_header_stdc = yes; then 4516 4720 4517 cat >>confdefs.h <<\_ACEOF 4518 #define STDC_HEADERS 1 4519 _ACEOF 4520 4521 fi 4522 4523 { $as_echo "$as_me:$LINENO: checking for atol" >&5 4524 $as_echo_n "checking for atol... " >&6; } 4525 if test "${ac_cv_func_atol+set}" = set; then 4526 $as_echo_n "(cached) " >&6 4527 else 4528 cat >conftest.$ac_ext <<_ACEOF 4529 /* confdefs.h. */ 4530 _ACEOF 4531 cat confdefs.h >>conftest.$ac_ext 4532 cat >>conftest.$ac_ext <<_ACEOF 4533 /* end confdefs.h. */ 4534 /* Define atol to an innocuous variant, in case <limits.h> declares atol. 4535 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4536 #define atol innocuous_atol 4537 4538 /* System header to define __stub macros and hopefully few prototypes, 4539 which can conflict with char atol (); below. 4540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4541 <limits.h> exists even on freestanding compilers. */ 4542 4543 #ifdef __STDC__ 4544 # include <limits.h> 4545 #else 4546 # include <assert.h> 4547 #endif 4548 4549 #undef atol 4550 4551 /* Override any GCC internal prototype to avoid an error. 4552 Use char because int might match the return type of a GCC 4553 builtin and then its argument prototype would still apply. */ 4554 #ifdef __cplusplus 4555 extern "C" 4556 #endif 4557 char atol (); 4558 /* The GNU C library defines this for functions which it implements 4559 to always fail with ENOSYS. Some functions are actually named 4560 something starting with __ and the normal name is an alias. */ 4561 #if defined __stub_atol || defined __stub___atol 4562 choke me 4563 #endif 4564 4565 int 4566 main () 4567 { 4568 return atol (); 4569 ; 4570 return 0; 4571 } 4572 _ACEOF 4573 rm -f conftest.$ac_objext conftest$ac_exeext 4574 if { (ac_try="$ac_link" 4575 case "(($ac_try" in 4576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4577 *) ac_try_echo=$ac_try;; 4578 esac 4579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4580 $as_echo "$ac_try_echo") >&5 4581 (eval "$ac_link") 2>conftest.er1 4582 ac_status=$? 4583 grep -v '^ *+' conftest.er1 >conftest.err 4584 rm -f conftest.er1 4585 cat conftest.err >&5 4586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4587 (exit $ac_status); } && { 4588 test -z "$ac_c_werror_flag" || 4589 test ! -s conftest.err 4590 } && test -s conftest$ac_exeext && { 4591 test "$cross_compiling" = yes || 4592 $as_test_x conftest$ac_exeext 4593 }; then 4594 ac_cv_func_atol=yes 4595 else 4596 $as_echo "$as_me: failed program was:" >&5 4597 sed 's/^/| /' conftest.$ac_ext >&5 4598 4599 ac_cv_func_atol=no 4600 fi 4601 4602 rm -rf conftest.dSYM 4603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4604 conftest$ac_exeext conftest.$ac_ext 4605 fi 4606 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 4607 $as_echo "$ac_cv_func_atol" >&6; } 4608 if test "x$ac_cv_func_atol" = x""yes; then 4609 : 4610 else 4611 { { $as_echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5 4612 $as_echo "$as_me: error: oops! no atol ?!?" >&2;} 4613 { (exit 1); exit 1; }; } 4721 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4722 4723 fi 4724 4725 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol" 4726 if test "x$ac_cv_func_atol" = xyes; then : 4727 4728 else 4729 as_fn_error $? "oops! no atol ?!?" "$LINENO" 5 4614 4730 fi 4615 4731 … … 4623 4739 4624 4740 4625 4626 4741 for ac_func in sysinfo 4627 do 4628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4629 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 4630 $as_echo_n "checking for $ac_func... " >&6; } 4631 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4632 $as_echo_n "(cached) " >&6 4633 else 4634 cat >conftest.$ac_ext <<_ACEOF 4635 /* confdefs.h. */ 4636 _ACEOF 4637 cat confdefs.h >>conftest.$ac_ext 4638 cat >>conftest.$ac_ext <<_ACEOF 4639 /* end confdefs.h. */ 4640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4641 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4642 #define $ac_func innocuous_$ac_func 4643 4644 /* System header to define __stub macros and hopefully few prototypes, 4645 which can conflict with char $ac_func (); below. 4646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4647 <limits.h> exists even on freestanding compilers. */ 4648 4649 #ifdef __STDC__ 4650 # include <limits.h> 4651 #else 4652 # include <assert.h> 4653 #endif 4654 4655 #undef $ac_func 4656 4657 /* Override any GCC internal prototype to avoid an error. 4658 Use char because int might match the return type of a GCC 4659 builtin and then its argument prototype would still apply. */ 4660 #ifdef __cplusplus 4661 extern "C" 4662 #endif 4663 char $ac_func (); 4664 /* The GNU C library defines this for functions which it implements 4665 to always fail with ENOSYS. Some functions are actually named 4666 something starting with __ and the normal name is an alias. */ 4667 #if defined __stub_$ac_func || defined __stub___$ac_func 4668 choke me 4669 #endif 4670 4671 int 4672 main () 4673 { 4674 return $ac_func (); 4675 ; 4676 return 0; 4677 } 4678 _ACEOF 4679 rm -f conftest.$ac_objext conftest$ac_exeext 4680 if { (ac_try="$ac_link" 4681 case "(($ac_try" in 4682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4683 *) ac_try_echo=$ac_try;; 4684 esac 4685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4686 $as_echo "$ac_try_echo") >&5 4687 (eval "$ac_link") 2>conftest.er1 4688 ac_status=$? 4689 grep -v '^ *+' conftest.er1 >conftest.err 4690 rm -f conftest.er1 4691 cat conftest.err >&5 4692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4693 (exit $ac_status); } && { 4694 test -z "$ac_cxx_werror_flag" || 4695 test ! -s conftest.err 4696 } && test -s conftest$ac_exeext && { 4697 test "$cross_compiling" = yes || 4698 $as_test_x conftest$ac_exeext 4699 }; then 4700 eval "$as_ac_var=yes" 4701 else 4702 $as_echo "$as_me: failed program was:" >&5 4703 sed 's/^/| /' conftest.$ac_ext >&5 4704 4705 eval "$as_ac_var=no" 4706 fi 4707 4708 rm -rf conftest.dSYM 4709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4710 conftest$ac_exeext conftest.$ac_ext 4711 fi 4712 ac_res=`eval 'as_val=${'$as_ac_var'} 4713 $as_echo "$as_val"'` 4714 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4715 $as_echo "$ac_res" >&6; } 4716 as_val=`eval 'as_val=${'$as_ac_var'} 4717 $as_echo "$as_val"'` 4718 if test "x$as_val" = x""yes; then 4742 do : 4743 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" 4744 if test "x$ac_cv_func_sysinfo" = xyes; then : 4719 4745 cat >>confdefs.h <<_ACEOF 4720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 4721 _ACEOF 4722 4723 fi 4724 done 4725 4726 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4737 inttypes.h stdint.h unistd.h 4738 do 4739 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4740 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4741 $as_echo_n "checking for $ac_header... " >&6; } 4742 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4743 $as_echo_n "(cached) " >&6 4744 else 4745 cat >conftest.$ac_ext <<_ACEOF 4746 /* confdefs.h. */ 4747 _ACEOF 4748 cat confdefs.h >>conftest.$ac_ext 4749 cat >>conftest.$ac_ext <<_ACEOF 4750 /* end confdefs.h. */ 4751 $ac_includes_default 4752 4753 #include <$ac_header> 4754 _ACEOF 4755 rm -f conftest.$ac_objext 4756 if { (ac_try="$ac_compile" 4757 case "(($ac_try" in 4758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4759 *) ac_try_echo=$ac_try;; 4760 esac 4761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4762 $as_echo "$ac_try_echo") >&5 4763 (eval "$ac_compile") 2>conftest.er1 4764 ac_status=$? 4765 grep -v '^ *+' conftest.er1 >conftest.err 4766 rm -f conftest.er1 4767 cat conftest.err >&5 4768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4769 (exit $ac_status); } && { 4770 test -z "$ac_cxx_werror_flag" || 4771 test ! -s conftest.err 4772 } && test -s conftest.$ac_objext; then 4773 eval "$as_ac_Header=yes" 4774 else 4775 $as_echo "$as_me: failed program was:" >&5 4776 sed 's/^/| /' conftest.$ac_ext >&5 4777 4778 eval "$as_ac_Header=no" 4779 fi 4780 4781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4782 fi 4783 ac_res=`eval 'as_val=${'$as_ac_Header'} 4784 $as_echo "$as_val"'` 4785 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4786 $as_echo "$ac_res" >&6; } 4787 as_val=`eval 'as_val=${'$as_ac_Header'} 4788 $as_echo "$as_val"'` 4789 if test "x$as_val" = x""yes; then 4790 cat >>confdefs.h <<_ACEOF 4791 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4792 _ACEOF 4793 4794 fi 4795 4796 done 4797 4746 #define HAVE_SYSINFO 1 4747 _ACEOF 4748 4749 fi 4750 done 4798 4751 4799 4752 ac_ext=cpp … … 4802 4755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4803 4756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4804 { $as_echo "$as_me:$ LINENO: checking how to run the C++ preprocessor" >&54757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 4805 4758 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4806 4759 if test -z "$CXXCPP"; then 4807 if test "${ac_cv_prog_CXXCPP+set}" = set; then4760 if ${ac_cv_prog_CXXCPP+:} false; then : 4808 4761 $as_echo_n "(cached) " >&6 4809 4762 else … … 4820 4773 # On the NeXT, cc -E runs the code through the compiler's parser, 4821 4774 # not just through cpp. "Syntax error" is here to catch this case. 4822 cat >conftest.$ac_ext <<_ACEOF 4823 /* confdefs.h. */ 4824 _ACEOF 4825 cat confdefs.h >>conftest.$ac_ext 4826 cat >>conftest.$ac_ext <<_ACEOF 4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4827 4776 /* end confdefs.h. */ 4828 4777 #ifdef __STDC__ … … 4833 4782 Syntax error 4834 4783 _ACEOF 4835 if { (ac_try="$ac_cpp conftest.$ac_ext" 4836 case "(($ac_try" in 4837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4838 *) ac_try_echo=$ac_try;; 4839 esac 4840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4841 $as_echo "$ac_try_echo") >&5 4842 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4843 ac_status=$? 4844 grep -v '^ *+' conftest.er1 >conftest.err 4845 rm -f conftest.er1 4846 cat conftest.err >&5 4847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4848 (exit $ac_status); } >/dev/null && { 4849 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4850 test ! -s conftest.err 4851 }; then 4852 : 4853 else 4854 $as_echo "$as_me: failed program was:" >&5 4855 sed 's/^/| /' conftest.$ac_ext >&5 4856 4784 if ac_fn_cxx_try_cpp "$LINENO"; then : 4785 4786 else 4857 4787 # Broken: fails on valid input. 4858 4788 continue 4859 4789 fi 4860 4861 rm -f conftest.err conftest.$ac_ext 4790 rm -f conftest.err conftest.i conftest.$ac_ext 4862 4791 4863 4792 # OK, works on sane cases. Now check whether nonexistent headers 4864 4793 # can be detected and how. 4865 cat >conftest.$ac_ext <<_ACEOF 4866 /* confdefs.h. */ 4867 _ACEOF 4868 cat confdefs.h >>conftest.$ac_ext 4869 cat >>conftest.$ac_ext <<_ACEOF 4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4870 4795 /* end confdefs.h. */ 4871 4796 #include <ac_nonexistent.h> 4872 4797 _ACEOF 4873 if { (ac_try="$ac_cpp conftest.$ac_ext" 4874 case "(($ac_try" in 4875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4876 *) ac_try_echo=$ac_try;; 4877 esac 4878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4879 $as_echo "$ac_try_echo") >&5 4880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4881 ac_status=$? 4882 grep -v '^ *+' conftest.er1 >conftest.err 4883 rm -f conftest.er1 4884 cat conftest.err >&5 4885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4886 (exit $ac_status); } >/dev/null && { 4887 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4888 test ! -s conftest.err 4889 }; then 4798 if ac_fn_cxx_try_cpp "$LINENO"; then : 4890 4799 # Broken: success on invalid input. 4891 4800 continue 4892 4801 else 4893 $as_echo "$as_me: failed program was:" >&54894 sed 's/^/| /' conftest.$ac_ext >&54895 4896 4802 # Passes both tests. 4897 4803 ac_preproc_ok=: 4898 4804 break 4899 4805 fi 4900 4901 rm -f conftest.err conftest.$ac_ext 4806 rm -f conftest.err conftest.i conftest.$ac_ext 4902 4807 4903 4808 done 4904 4809 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4905 rm -f conftest. err conftest.$ac_ext4906 if $ac_preproc_ok; then 4810 rm -f conftest.i conftest.err conftest.$ac_ext 4811 if $ac_preproc_ok; then : 4907 4812 break 4908 4813 fi … … 4916 4821 ac_cv_prog_CXXCPP=$CXXCPP 4917 4822 fi 4918 { $as_echo "$as_me:$ LINENO: result: $CXXCPP" >&54823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 4919 4824 $as_echo "$CXXCPP" >&6; } 4920 4825 ac_preproc_ok=false … … 4927 4832 # On the NeXT, cc -E runs the code through the compiler's parser, 4928 4833 # not just through cpp. "Syntax error" is here to catch this case. 4929 cat >conftest.$ac_ext <<_ACEOF 4930 /* confdefs.h. */ 4931 _ACEOF 4932 cat confdefs.h >>conftest.$ac_ext 4933 cat >>conftest.$ac_ext <<_ACEOF 4834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4934 4835 /* end confdefs.h. */ 4935 4836 #ifdef __STDC__ … … 4940 4841 Syntax error 4941 4842 _ACEOF 4942 if { (ac_try="$ac_cpp conftest.$ac_ext" 4943 case "(($ac_try" in 4944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4945 *) ac_try_echo=$ac_try;; 4946 esac 4947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4948 $as_echo "$ac_try_echo") >&5 4949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4950 ac_status=$? 4951 grep -v '^ *+' conftest.er1 >conftest.err 4952 rm -f conftest.er1 4953 cat conftest.err >&5 4954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4955 (exit $ac_status); } >/dev/null && { 4956 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4957 test ! -s conftest.err 4958 }; then 4959 : 4960 else 4961 $as_echo "$as_me: failed program was:" >&5 4962 sed 's/^/| /' conftest.$ac_ext >&5 4963 4843 if ac_fn_cxx_try_cpp "$LINENO"; then : 4844 4845 else 4964 4846 # Broken: fails on valid input. 4965 4847 continue 4966 4848 fi 4967 4968 rm -f conftest.err conftest.$ac_ext 4849 rm -f conftest.err conftest.i conftest.$ac_ext 4969 4850 4970 4851 # OK, works on sane cases. Now check whether nonexistent headers 4971 4852 # can be detected and how. 4972 cat >conftest.$ac_ext <<_ACEOF 4973 /* confdefs.h. */ 4974 _ACEOF 4975 cat confdefs.h >>conftest.$ac_ext 4976 cat >>conftest.$ac_ext <<_ACEOF 4853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4977 4854 /* end confdefs.h. */ 4978 4855 #include <ac_nonexistent.h> 4979 4856 _ACEOF 4980 if { (ac_try="$ac_cpp conftest.$ac_ext" 4981 case "(($ac_try" in 4982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4983 *) ac_try_echo=$ac_try;; 4984 esac 4985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4986 $as_echo "$ac_try_echo") >&5 4987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4988 ac_status=$? 4989 grep -v '^ *+' conftest.er1 >conftest.err 4990 rm -f conftest.er1 4991 cat conftest.err >&5 4992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4993 (exit $ac_status); } >/dev/null && { 4994 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4995 test ! -s conftest.err 4996 }; then 4857 if ac_fn_cxx_try_cpp "$LINENO"; then : 4997 4858 # Broken: success on invalid input. 4998 4859 continue 4999 4860 else 5000 $as_echo "$as_me: failed program was:" >&55001 sed 's/^/| /' conftest.$ac_ext >&55002 5003 4861 # Passes both tests. 5004 4862 ac_preproc_ok=: 5005 4863 break 5006 4864 fi 5007 5008 rm -f conftest.err conftest.$ac_ext 4865 rm -f conftest.err conftest.i conftest.$ac_ext 5009 4866 5010 4867 done 5011 4868 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5012 rm -f conftest. err conftest.$ac_ext5013 if $ac_preproc_ok; then 5014 : 5015 else 5016 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&54869 rm -f conftest.i conftest.err conftest.$ac_ext 4870 if $ac_preproc_ok; then : 4871 4872 else 4873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5017 4874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5018 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 5019 See \`config.log' for more details." >&5 5020 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 5021 See \`config.log' for more details." >&2;} 5022 { (exit 1); exit 1; }; }; } 4875 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 4876 See \`config.log' for more details" "$LINENO" 5; } 5023 4877 fi 5024 4878 … … 5030 4884 5031 4885 5032 5033 for ac_header in sys/sysinfo.h 5034 do 5035 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5036 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5037 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5038 $as_echo_n "checking for $ac_header... " >&6; } 5039 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5040 $as_echo_n "(cached) " >&6 5041 fi 5042 ac_res=`eval 'as_val=${'$as_ac_Header'} 5043 $as_echo "$as_val"'` 5044 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5045 $as_echo "$ac_res" >&6; } 5046 else 5047 # Is the header compilable? 5048 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5049 $as_echo_n "checking $ac_header usability... " >&6; } 5050 cat >conftest.$ac_ext <<_ACEOF 5051 /* confdefs.h. */ 5052 _ACEOF 5053 cat confdefs.h >>conftest.$ac_ext 5054 cat >>conftest.$ac_ext <<_ACEOF 5055 /* end confdefs.h. */ 5056 $ac_includes_default 5057 #include <$ac_header> 5058 _ACEOF 5059 rm -f conftest.$ac_objext 5060 if { (ac_try="$ac_compile" 5061 case "(($ac_try" in 5062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5063 *) ac_try_echo=$ac_try;; 5064 esac 5065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5066 $as_echo "$ac_try_echo") >&5 5067 (eval "$ac_compile") 2>conftest.er1 5068 ac_status=$? 5069 grep -v '^ *+' conftest.er1 >conftest.err 5070 rm -f conftest.er1 5071 cat conftest.err >&5 5072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5073 (exit $ac_status); } && { 5074 test -z "$ac_cxx_werror_flag" || 5075 test ! -s conftest.err 5076 } && test -s conftest.$ac_objext; then 5077 ac_header_compiler=yes 5078 else 5079 $as_echo "$as_me: failed program was:" >&5 5080 sed 's/^/| /' conftest.$ac_ext >&5 5081 5082 ac_header_compiler=no 5083 fi 5084 5085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5086 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5087 $as_echo "$ac_header_compiler" >&6; } 5088 5089 # Is the header present? 5090 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5091 $as_echo_n "checking $ac_header presence... " >&6; } 5092 cat >conftest.$ac_ext <<_ACEOF 5093 /* confdefs.h. */ 5094 _ACEOF 5095 cat confdefs.h >>conftest.$ac_ext 5096 cat >>conftest.$ac_ext <<_ACEOF 5097 /* end confdefs.h. */ 5098 #include <$ac_header> 5099 _ACEOF 5100 if { (ac_try="$ac_cpp conftest.$ac_ext" 5101 case "(($ac_try" in 5102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5103 *) ac_try_echo=$ac_try;; 5104 esac 5105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5106 $as_echo "$ac_try_echo") >&5 5107 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5108 ac_status=$? 5109 grep -v '^ *+' conftest.er1 >conftest.err 5110 rm -f conftest.er1 5111 cat conftest.err >&5 5112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5113 (exit $ac_status); } >/dev/null && { 5114 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5115 test ! -s conftest.err 5116 }; then 5117 ac_header_preproc=yes 5118 else 5119 $as_echo "$as_me: failed program was:" >&5 5120 sed 's/^/| /' conftest.$ac_ext >&5 5121 5122 ac_header_preproc=no 5123 fi 5124 5125 rm -f conftest.err conftest.$ac_ext 5126 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5127 $as_echo "$ac_header_preproc" >&6; } 5128 5129 # So? What about this header? 5130 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5131 yes:no: ) 5132 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5133 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5134 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5135 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5136 ac_header_preproc=yes 5137 ;; 5138 no:yes:* ) 5139 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5140 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5141 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5142 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5143 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5144 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5145 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5146 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5147 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5148 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5149 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5150 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5151 ( cat <<\_ASBOX 5152 ## ----------------------------------- ## 5153 ## Report this to rappture@nanohub.org ## 5154 ## ----------------------------------- ## 5155 _ASBOX 5156 ) | sed "s/^/$as_me: WARNING: /" >&2 5157 ;; 5158 esac 5159 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5160 $as_echo_n "checking for $ac_header... " >&6; } 5161 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5162 $as_echo_n "(cached) " >&6 5163 else 5164 eval "$as_ac_Header=\$ac_header_preproc" 5165 fi 5166 ac_res=`eval 'as_val=${'$as_ac_Header'} 5167 $as_echo "$as_val"'` 5168 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5169 $as_echo "$ac_res" >&6; } 5170 5171 fi 5172 as_val=`eval 'as_val=${'$as_ac_Header'} 5173 $as_echo "$as_val"'` 5174 if test "x$as_val" = x""yes; then 4886 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4887 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4888 inttypes.h stdint.h unistd.h 4889 do : 4890 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4891 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4892 " 4893 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5175 4894 cat >>confdefs.h <<_ACEOF 5176 4895 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 5182 4901 5183 4902 5184 5185 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 4903 for ac_header in sys/sysinfo.h 4904 do : 4905 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" 4906 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then : 4907 cat >>confdefs.h <<_ACEOF 4908 #define HAVE_SYS_SYSINFO_H 1 4909 _ACEOF 4910 4911 fi 4912 4913 done 4914 4915 4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 5186 4917 $as_echo_n "checking for main in -lm... " >&6; } 5187 if test "${ac_cv_lib_m_main+set}" = set; then4918 if ${ac_cv_lib_m_main+:} false; then : 5188 4919 $as_echo_n "(cached) " >&6 5189 4920 else 5190 4921 ac_check_lib_save_LIBS=$LIBS 5191 4922 LIBS="-lm $LIBS" 5192 cat >conftest.$ac_ext <<_ACEOF 5193 /* confdefs.h. */ 5194 _ACEOF 5195 cat confdefs.h >>conftest.$ac_ext 5196 cat >>conftest.$ac_ext <<_ACEOF 4923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5197 4924 /* end confdefs.h. */ 5198 4925 … … 5206 4933 } 5207 4934 _ACEOF 5208 rm -f conftest.$ac_objext conftest$ac_exeext 5209 if { (ac_try="$ac_link" 5210 case "(($ac_try" in 5211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5212 *) ac_try_echo=$ac_try;; 5213 esac 5214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5215 $as_echo "$ac_try_echo") >&5 5216 (eval "$ac_link") 2>conftest.er1 5217 ac_status=$? 5218 grep -v '^ *+' conftest.er1 >conftest.err 5219 rm -f conftest.er1 5220 cat conftest.err >&5 5221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5222 (exit $ac_status); } && { 5223 test -z "$ac_cxx_werror_flag" || 5224 test ! -s conftest.err 5225 } && test -s conftest$ac_exeext && { 5226 test "$cross_compiling" = yes || 5227 $as_test_x conftest$ac_exeext 5228 }; then 4935 if ac_fn_cxx_try_link "$LINENO"; then : 5229 4936 ac_cv_lib_m_main=yes 5230 4937 else 5231 $as_echo "$as_me: failed program was:" >&5 5232 sed 's/^/| /' conftest.$ac_ext >&5 5233 5234 ac_cv_lib_m_main=no 5235 fi 5236 5237 rm -rf conftest.dSYM 5238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5239 conftest$ac_exeext conftest.$ac_ext 4938 ac_cv_lib_m_main=no 4939 fi 4940 rm -f core conftest.err conftest.$ac_objext \ 4941 conftest$ac_exeext conftest.$ac_ext 5240 4942 LIBS=$ac_check_lib_save_LIBS 5241 4943 fi 5242 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_m_main" >&54944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 5243 4945 $as_echo "$ac_cv_lib_m_main" >&6; } 5244 if test "x$ac_cv_lib_m_main" = x ""yes; then4946 if test "x$ac_cv_lib_m_main" = xyes; then : 5245 4947 cat >>confdefs.h <<_ACEOF 5246 4948 #define HAVE_LIBM 1 … … 5250 4952 5251 4953 else 5252 { { $as_echo "$as_me:$LINENO: error: librappture requires libm" >&5 5253 $as_echo "$as_me: error: librappture requires libm" >&2;} 5254 { (exit 1); exit 1; }; } 5255 fi 5256 5257 5258 5259 { $as_echo "$as_me:$LINENO: checking for clrtoeol in -lncurses" >&5 4954 as_fn_error $? "librappture requires libm" "$LINENO" 5 4955 fi 4956 4957 4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clrtoeol in -lncurses" >&5 5260 4959 $as_echo_n "checking for clrtoeol in -lncurses... " >&6; } 5261 if test "${ac_cv_lib_ncurses_clrtoeol+set}" = set; then4960 if ${ac_cv_lib_ncurses_clrtoeol+:} false; then : 5262 4961 $as_echo_n "(cached) " >&6 5263 4962 else 5264 4963 ac_check_lib_save_LIBS=$LIBS 5265 4964 LIBS="-lncurses $LIBS" 5266 cat >conftest.$ac_ext <<_ACEOF 5267 /* confdefs.h. */ 5268 _ACEOF 5269 cat confdefs.h >>conftest.$ac_ext 5270 cat >>conftest.$ac_ext <<_ACEOF 4965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5271 4966 /* end confdefs.h. */ 5272 4967 … … 5286 4981 } 5287 4982 _ACEOF 5288 rm -f conftest.$ac_objext conftest$ac_exeext 5289 if { (ac_try="$ac_link" 5290 case "(($ac_try" in 5291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5292 *) ac_try_echo=$ac_try;; 5293 esac 5294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5295 $as_echo "$ac_try_echo") >&5 5296 (eval "$ac_link") 2>conftest.er1 5297 ac_status=$? 5298 grep -v '^ *+' conftest.er1 >conftest.err 5299 rm -f conftest.er1 5300 cat conftest.err >&5 5301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5302 (exit $ac_status); } && { 5303 test -z "$ac_cxx_werror_flag" || 5304 test ! -s conftest.err 5305 } && test -s conftest$ac_exeext && { 5306 test "$cross_compiling" = yes || 5307 $as_test_x conftest$ac_exeext 5308 }; then 4983 if ac_fn_cxx_try_link "$LINENO"; then : 5309 4984 ac_cv_lib_ncurses_clrtoeol=yes 5310 4985 else 5311 $as_echo "$as_me: failed program was:" >&5 5312 sed 's/^/| /' conftest.$ac_ext >&5 5313 5314 ac_cv_lib_ncurses_clrtoeol=no 5315 fi 5316 5317 rm -rf conftest.dSYM 5318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5319 conftest$ac_exeext conftest.$ac_ext 4986 ac_cv_lib_ncurses_clrtoeol=no 4987 fi 4988 rm -f core conftest.err conftest.$ac_objext \ 4989 conftest$ac_exeext conftest.$ac_ext 5320 4990 LIBS=$ac_check_lib_save_LIBS 5321 4991 fi 5322 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_ncurses_clrtoeol" >&54992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_clrtoeol" >&5 5323 4993 $as_echo "$ac_cv_lib_ncurses_clrtoeol" >&6; } 5324 if test "x$ac_cv_lib_ncurses_clrtoeol" = x ""yes; then4994 if test "x$ac_cv_lib_ncurses_clrtoeol" = xyes; then : 5325 4995 cat >>confdefs.h <<_ACEOF 5326 4996 #define HAVE_LIBNCURSES 1 … … 5330 5000 5331 5001 else 5332 { { $as_echo "$as_me:$LINENO: error: ncurses library missing?" >&5 5333 $as_echo "$as_me: error: ncurses library missing?" >&2;} 5334 { (exit 1); exit 1; }; } 5335 fi 5336 5002 as_fn_error $? "ncurses library missing?" "$LINENO" 5 5003 fi 5337 5004 5338 5005 for ac_header in ncurses.h 5339 do 5340 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5341 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5342 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5343 $as_echo_n "checking for $ac_header... " >&6; } 5344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5345 $as_echo_n "(cached) " >&6 5346 fi 5347 ac_res=`eval 'as_val=${'$as_ac_Header'} 5348 $as_echo "$as_val"'` 5349 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5350 $as_echo "$ac_res" >&6; } 5351 else 5352 # Is the header compilable? 5353 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5354 $as_echo_n "checking $ac_header usability... " >&6; } 5355 cat >conftest.$ac_ext <<_ACEOF 5356 /* confdefs.h. */ 5357 _ACEOF 5358 cat confdefs.h >>conftest.$ac_ext 5359 cat >>conftest.$ac_ext <<_ACEOF 5360 /* end confdefs.h. */ 5361 $ac_includes_default 5362 #include <$ac_header> 5363 _ACEOF 5364 rm -f conftest.$ac_objext 5365 if { (ac_try="$ac_compile" 5366 case "(($ac_try" in 5367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5368 *) ac_try_echo=$ac_try;; 5369 esac 5370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5371 $as_echo "$ac_try_echo") >&5 5372 (eval "$ac_compile") 2>conftest.er1 5373 ac_status=$? 5374 grep -v '^ *+' conftest.er1 >conftest.err 5375 rm -f conftest.er1 5376 cat conftest.err >&5 5377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5378 (exit $ac_status); } && { 5379 test -z "$ac_cxx_werror_flag" || 5380 test ! -s conftest.err 5381 } && test -s conftest.$ac_objext; then 5382 ac_header_compiler=yes 5383 else 5384 $as_echo "$as_me: failed program was:" >&5 5385 sed 's/^/| /' conftest.$ac_ext >&5 5386 5387 ac_header_compiler=no 5388 fi 5389 5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5391 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5392 $as_echo "$ac_header_compiler" >&6; } 5393 5394 # Is the header present? 5395 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5396 $as_echo_n "checking $ac_header presence... " >&6; } 5397 cat >conftest.$ac_ext <<_ACEOF 5398 /* confdefs.h. */ 5399 _ACEOF 5400 cat confdefs.h >>conftest.$ac_ext 5401 cat >>conftest.$ac_ext <<_ACEOF 5402 /* end confdefs.h. */ 5403 #include <$ac_header> 5404 _ACEOF 5405 if { (ac_try="$ac_cpp conftest.$ac_ext" 5406 case "(($ac_try" in 5407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5408 *) ac_try_echo=$ac_try;; 5409 esac 5410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5411 $as_echo "$ac_try_echo") >&5 5412 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5413 ac_status=$? 5414 grep -v '^ *+' conftest.er1 >conftest.err 5415 rm -f conftest.er1 5416 cat conftest.err >&5 5417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5418 (exit $ac_status); } >/dev/null && { 5419 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5420 test ! -s conftest.err 5421 }; then 5422 ac_header_preproc=yes 5423 else 5424 $as_echo "$as_me: failed program was:" >&5 5425 sed 's/^/| /' conftest.$ac_ext >&5 5426 5427 ac_header_preproc=no 5428 fi 5429 5430 rm -f conftest.err conftest.$ac_ext 5431 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5432 $as_echo "$ac_header_preproc" >&6; } 5433 5434 # So? What about this header? 5435 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5436 yes:no: ) 5437 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5438 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5439 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5440 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5441 ac_header_preproc=yes 5442 ;; 5443 no:yes:* ) 5444 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5445 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5446 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5447 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5449 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5450 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5451 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5452 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5453 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5455 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5456 ( cat <<\_ASBOX 5457 ## ----------------------------------- ## 5458 ## Report this to rappture@nanohub.org ## 5459 ## ----------------------------------- ## 5460 _ASBOX 5461 ) | sed "s/^/$as_me: WARNING: /" >&2 5462 ;; 5463 esac 5464 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5465 $as_echo_n "checking for $ac_header... " >&6; } 5466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5467 $as_echo_n "(cached) " >&6 5468 else 5469 eval "$as_ac_Header=\$ac_header_preproc" 5470 fi 5471 ac_res=`eval 'as_val=${'$as_ac_Header'} 5472 $as_echo "$as_val"'` 5473 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5474 $as_echo "$ac_res" >&6; } 5475 5476 fi 5477 as_val=`eval 'as_val=${'$as_ac_Header'} 5478 $as_echo "$as_val"'` 5479 if test "x$as_val" = x""yes; then 5006 do : 5007 ac_fn_cxx_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default" 5008 if test "x$ac_cv_header_ncurses_h" = xyes; then : 5480 5009 cat >>confdefs.h <<_ACEOF 5481 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`15482 _ACEOF 5483 5484 else 5485 { $as_echo "$as_me:$ LINENO: WARNING: ncurses headers missing ?" >&55010 #define HAVE_NCURSES_H 1 5011 _ACEOF 5012 5013 else 5014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncurses headers missing ?" >&5 5486 5015 $as_echo "$as_me: WARNING: ncurses headers missing ?" >&2;} 5487 5016 fi … … 5490 5019 5491 5020 5492 5493 { $as_echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 5494 5022 $as_echo_n "checking for main in -lstdc++... " >&6; } 5495 if test "${ac_cv_lib_stdcpp_main+set}" = set; then5023 if ${ac_cv_lib_stdcpp_main+:} false; then : 5496 5024 $as_echo_n "(cached) " >&6 5497 5025 else 5498 5026 ac_check_lib_save_LIBS=$LIBS 5499 5027 LIBS="-lstdc++ $LIBS" 5500 cat >conftest.$ac_ext <<_ACEOF 5501 /* confdefs.h. */ 5502 _ACEOF 5503 cat confdefs.h >>conftest.$ac_ext 5504 cat >>conftest.$ac_ext <<_ACEOF 5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5505 5029 /* end confdefs.h. */ 5506 5030 … … 5514 5038 } 5515 5039 _ACEOF 5516 rm -f conftest.$ac_objext conftest$ac_exeext 5517 if { (ac_try="$ac_link" 5518 case "(($ac_try" in 5519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5520 *) ac_try_echo=$ac_try;; 5521 esac 5522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5523 $as_echo "$ac_try_echo") >&5 5524 (eval "$ac_link") 2>conftest.er1 5525 ac_status=$? 5526 grep -v '^ *+' conftest.er1 >conftest.err 5527 rm -f conftest.er1 5528 cat conftest.err >&5 5529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5530 (exit $ac_status); } && { 5531 test -z "$ac_cxx_werror_flag" || 5532 test ! -s conftest.err 5533 } && test -s conftest$ac_exeext && { 5534 test "$cross_compiling" = yes || 5535 $as_test_x conftest$ac_exeext 5536 }; then 5040 if ac_fn_cxx_try_link "$LINENO"; then : 5537 5041 ac_cv_lib_stdcpp_main=yes 5538 5042 else 5539 $as_echo "$as_me: failed program was:" >&5 5540 sed 's/^/| /' conftest.$ac_ext >&5 5541 5542 ac_cv_lib_stdcpp_main=no 5543 fi 5544 5545 rm -rf conftest.dSYM 5546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5547 conftest$ac_exeext conftest.$ac_ext 5043 ac_cv_lib_stdcpp_main=no 5044 fi 5045 rm -f core conftest.err conftest.$ac_objext \ 5046 conftest$ac_exeext conftest.$ac_ext 5548 5047 LIBS=$ac_check_lib_save_LIBS 5549 5048 fi 5550 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_stdcpp_main" >&55049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5 5551 5050 $as_echo "$ac_cv_lib_stdcpp_main" >&6; } 5552 if test "x$ac_cv_lib_stdcpp_main" = x ""yes; then5051 if test "x$ac_cv_lib_stdcpp_main" = xyes; then : 5553 5052 cat >>confdefs.h <<_ACEOF 5554 5053 #define HAVE_LIBSTDC__ 1 … … 5558 5057 5559 5058 else 5560 { { $as_echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5 5561 $as_echo "$as_me: error: librappture requires libstdc++" >&2;} 5562 { (exit 1); exit 1; }; } 5563 fi 5564 5059 as_fn_error $? "librappture requires libstdc++" "$LINENO" 5 5060 fi 5565 5061 5566 5062 for ac_header in algorithm 5567 do 5568 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5569 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5570 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5571 $as_echo_n "checking for $ac_header... " >&6; } 5572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5573 $as_echo_n "(cached) " >&6 5574 fi 5575 ac_res=`eval 'as_val=${'$as_ac_Header'} 5576 $as_echo "$as_val"'` 5577 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5578 $as_echo "$ac_res" >&6; } 5579 else 5580 # Is the header compilable? 5581 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5582 $as_echo_n "checking $ac_header usability... " >&6; } 5583 cat >conftest.$ac_ext <<_ACEOF 5584 /* confdefs.h. */ 5585 _ACEOF 5586 cat confdefs.h >>conftest.$ac_ext 5587 cat >>conftest.$ac_ext <<_ACEOF 5588 /* end confdefs.h. */ 5589 $ac_includes_default 5590 #include <$ac_header> 5591 _ACEOF 5592 rm -f conftest.$ac_objext 5593 if { (ac_try="$ac_compile" 5594 case "(($ac_try" in 5595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5596 *) ac_try_echo=$ac_try;; 5597 esac 5598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5599 $as_echo "$ac_try_echo") >&5 5600 (eval "$ac_compile") 2>conftest.er1 5601 ac_status=$? 5602 grep -v '^ *+' conftest.er1 >conftest.err 5603 rm -f conftest.er1 5604 cat conftest.err >&5 5605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5606 (exit $ac_status); } && { 5607 test -z "$ac_cxx_werror_flag" || 5608 test ! -s conftest.err 5609 } && test -s conftest.$ac_objext; then 5610 ac_header_compiler=yes 5611 else 5612 $as_echo "$as_me: failed program was:" >&5 5613 sed 's/^/| /' conftest.$ac_ext >&5 5614 5615 ac_header_compiler=no 5616 fi 5617 5618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5619 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5620 $as_echo "$ac_header_compiler" >&6; } 5621 5622 # Is the header present? 5623 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5624 $as_echo_n "checking $ac_header presence... " >&6; } 5625 cat >conftest.$ac_ext <<_ACEOF 5626 /* confdefs.h. */ 5627 _ACEOF 5628 cat confdefs.h >>conftest.$ac_ext 5629 cat >>conftest.$ac_ext <<_ACEOF 5630 /* end confdefs.h. */ 5631 #include <$ac_header> 5632 _ACEOF 5633 if { (ac_try="$ac_cpp conftest.$ac_ext" 5634 case "(($ac_try" in 5635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5636 *) ac_try_echo=$ac_try;; 5637 esac 5638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5639 $as_echo "$ac_try_echo") >&5 5640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5641 ac_status=$? 5642 grep -v '^ *+' conftest.er1 >conftest.err 5643 rm -f conftest.er1 5644 cat conftest.err >&5 5645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5646 (exit $ac_status); } >/dev/null && { 5647 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5648 test ! -s conftest.err 5649 }; then 5650 ac_header_preproc=yes 5651 else 5652 $as_echo "$as_me: failed program was:" >&5 5653 sed 's/^/| /' conftest.$ac_ext >&5 5654 5655 ac_header_preproc=no 5656 fi 5657 5658 rm -f conftest.err conftest.$ac_ext 5659 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5660 $as_echo "$ac_header_preproc" >&6; } 5661 5662 # So? What about this header? 5663 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5664 yes:no: ) 5665 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5666 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5667 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5668 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5669 ac_header_preproc=yes 5670 ;; 5671 no:yes:* ) 5672 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5673 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5674 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5675 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5676 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5677 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5678 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5679 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5680 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5681 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5682 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5683 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5684 ( cat <<\_ASBOX 5685 ## ----------------------------------- ## 5686 ## Report this to rappture@nanohub.org ## 5687 ## ----------------------------------- ## 5688 _ASBOX 5689 ) | sed "s/^/$as_me: WARNING: /" >&2 5690 ;; 5691 esac 5692 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5693 $as_echo_n "checking for $ac_header... " >&6; } 5694 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5695 $as_echo_n "(cached) " >&6 5696 else 5697 eval "$as_ac_Header=\$ac_header_preproc" 5698 fi 5699 ac_res=`eval 'as_val=${'$as_ac_Header'} 5700 $as_echo "$as_val"'` 5701 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5702 $as_echo "$ac_res" >&6; } 5703 5704 fi 5705 as_val=`eval 'as_val=${'$as_ac_Header'} 5706 $as_echo "$as_val"'` 5707 if test "x$as_val" = x""yes; then 5063 do : 5064 ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default" 5065 if test "x$ac_cv_header_algorithm" = xyes; then : 5708 5066 cat >>confdefs.h <<_ACEOF 5709 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`15710 _ACEOF 5711 5712 else 5713 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55067 #define HAVE_ALGORITHM 1 5068 _ACEOF 5069 5070 else 5071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5714 5072 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5715 5073 fi … … 5717 5075 done 5718 5076 5719 5720 5077 for ac_header in cctype 5721 do 5722 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5723 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5724 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5725 $as_echo_n "checking for $ac_header... " >&6; } 5726 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5727 $as_echo_n "(cached) " >&6 5728 fi 5729 ac_res=`eval 'as_val=${'$as_ac_Header'} 5730 $as_echo "$as_val"'` 5731 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5732 $as_echo "$ac_res" >&6; } 5733 else 5734 # Is the header compilable? 5735 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5736 $as_echo_n "checking $ac_header usability... " >&6; } 5737 cat >conftest.$ac_ext <<_ACEOF 5738 /* confdefs.h. */ 5739 _ACEOF 5740 cat confdefs.h >>conftest.$ac_ext 5741 cat >>conftest.$ac_ext <<_ACEOF 5742 /* end confdefs.h. */ 5743 $ac_includes_default 5744 #include <$ac_header> 5745 _ACEOF 5746 rm -f conftest.$ac_objext 5747 if { (ac_try="$ac_compile" 5748 case "(($ac_try" in 5749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5750 *) ac_try_echo=$ac_try;; 5751 esac 5752 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5753 $as_echo "$ac_try_echo") >&5 5754 (eval "$ac_compile") 2>conftest.er1 5755 ac_status=$? 5756 grep -v '^ *+' conftest.er1 >conftest.err 5757 rm -f conftest.er1 5758 cat conftest.err >&5 5759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5760 (exit $ac_status); } && { 5761 test -z "$ac_cxx_werror_flag" || 5762 test ! -s conftest.err 5763 } && test -s conftest.$ac_objext; then 5764 ac_header_compiler=yes 5765 else 5766 $as_echo "$as_me: failed program was:" >&5 5767 sed 's/^/| /' conftest.$ac_ext >&5 5768 5769 ac_header_compiler=no 5770 fi 5771 5772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5773 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5774 $as_echo "$ac_header_compiler" >&6; } 5775 5776 # Is the header present? 5777 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5778 $as_echo_n "checking $ac_header presence... " >&6; } 5779 cat >conftest.$ac_ext <<_ACEOF 5780 /* confdefs.h. */ 5781 _ACEOF 5782 cat confdefs.h >>conftest.$ac_ext 5783 cat >>conftest.$ac_ext <<_ACEOF 5784 /* end confdefs.h. */ 5785 #include <$ac_header> 5786 _ACEOF 5787 if { (ac_try="$ac_cpp conftest.$ac_ext" 5788 case "(($ac_try" in 5789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5790 *) ac_try_echo=$ac_try;; 5791 esac 5792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5793 $as_echo "$ac_try_echo") >&5 5794 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5795 ac_status=$? 5796 grep -v '^ *+' conftest.er1 >conftest.err 5797 rm -f conftest.er1 5798 cat conftest.err >&5 5799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5800 (exit $ac_status); } >/dev/null && { 5801 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5802 test ! -s conftest.err 5803 }; then 5804 ac_header_preproc=yes 5805 else 5806 $as_echo "$as_me: failed program was:" >&5 5807 sed 's/^/| /' conftest.$ac_ext >&5 5808 5809 ac_header_preproc=no 5810 fi 5811 5812 rm -f conftest.err conftest.$ac_ext 5813 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5814 $as_echo "$ac_header_preproc" >&6; } 5815 5816 # So? What about this header? 5817 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5818 yes:no: ) 5819 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5820 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5821 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5822 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5823 ac_header_preproc=yes 5824 ;; 5825 no:yes:* ) 5826 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5827 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5828 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5829 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5830 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5831 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5832 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5833 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5834 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5835 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5836 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5837 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5838 ( cat <<\_ASBOX 5839 ## ----------------------------------- ## 5840 ## Report this to rappture@nanohub.org ## 5841 ## ----------------------------------- ## 5842 _ASBOX 5843 ) | sed "s/^/$as_me: WARNING: /" >&2 5844 ;; 5845 esac 5846 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5847 $as_echo_n "checking for $ac_header... " >&6; } 5848 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5849 $as_echo_n "(cached) " >&6 5850 else 5851 eval "$as_ac_Header=\$ac_header_preproc" 5852 fi 5853 ac_res=`eval 'as_val=${'$as_ac_Header'} 5854 $as_echo "$as_val"'` 5855 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5856 $as_echo "$ac_res" >&6; } 5857 5858 fi 5859 as_val=`eval 'as_val=${'$as_ac_Header'} 5860 $as_echo "$as_val"'` 5861 if test "x$as_val" = x""yes; then 5078 do : 5079 ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default" 5080 if test "x$ac_cv_header_cctype" = xyes; then : 5862 5081 cat >>confdefs.h <<_ACEOF 5863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`15864 _ACEOF 5865 5866 else 5867 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55082 #define HAVE_CCTYPE 1 5083 _ACEOF 5084 5085 else 5086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5868 5087 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5869 5088 fi … … 5871 5090 done 5872 5091 5873 5874 5092 for ac_header in cfloat 5875 do 5876 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5878 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5879 $as_echo_n "checking for $ac_header... " >&6; } 5880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5881 $as_echo_n "(cached) " >&6 5882 fi 5883 ac_res=`eval 'as_val=${'$as_ac_Header'} 5884 $as_echo "$as_val"'` 5885 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5886 $as_echo "$ac_res" >&6; } 5887 else 5888 # Is the header compilable? 5889 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5890 $as_echo_n "checking $ac_header usability... " >&6; } 5891 cat >conftest.$ac_ext <<_ACEOF 5892 /* confdefs.h. */ 5893 _ACEOF 5894 cat confdefs.h >>conftest.$ac_ext 5895 cat >>conftest.$ac_ext <<_ACEOF 5896 /* end confdefs.h. */ 5897 $ac_includes_default 5898 #include <$ac_header> 5899 _ACEOF 5900 rm -f conftest.$ac_objext 5901 if { (ac_try="$ac_compile" 5902 case "(($ac_try" in 5903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5904 *) ac_try_echo=$ac_try;; 5905 esac 5906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5907 $as_echo "$ac_try_echo") >&5 5908 (eval "$ac_compile") 2>conftest.er1 5909 ac_status=$? 5910 grep -v '^ *+' conftest.er1 >conftest.err 5911 rm -f conftest.er1 5912 cat conftest.err >&5 5913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5914 (exit $ac_status); } && { 5915 test -z "$ac_cxx_werror_flag" || 5916 test ! -s conftest.err 5917 } && test -s conftest.$ac_objext; then 5918 ac_header_compiler=yes 5919 else 5920 $as_echo "$as_me: failed program was:" >&5 5921 sed 's/^/| /' conftest.$ac_ext >&5 5922 5923 ac_header_compiler=no 5924 fi 5925 5926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5927 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5928 $as_echo "$ac_header_compiler" >&6; } 5929 5930 # Is the header present? 5931 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5932 $as_echo_n "checking $ac_header presence... " >&6; } 5933 cat >conftest.$ac_ext <<_ACEOF 5934 /* confdefs.h. */ 5935 _ACEOF 5936 cat confdefs.h >>conftest.$ac_ext 5937 cat >>conftest.$ac_ext <<_ACEOF 5938 /* end confdefs.h. */ 5939 #include <$ac_header> 5940 _ACEOF 5941 if { (ac_try="$ac_cpp conftest.$ac_ext" 5942 case "(($ac_try" in 5943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5944 *) ac_try_echo=$ac_try;; 5945 esac 5946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5947 $as_echo "$ac_try_echo") >&5 5948 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5949 ac_status=$? 5950 grep -v '^ *+' conftest.er1 >conftest.err 5951 rm -f conftest.er1 5952 cat conftest.err >&5 5953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5954 (exit $ac_status); } >/dev/null && { 5955 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5956 test ! -s conftest.err 5957 }; then 5958 ac_header_preproc=yes 5959 else 5960 $as_echo "$as_me: failed program was:" >&5 5961 sed 's/^/| /' conftest.$ac_ext >&5 5962 5963 ac_header_preproc=no 5964 fi 5965 5966 rm -f conftest.err conftest.$ac_ext 5967 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5968 $as_echo "$ac_header_preproc" >&6; } 5969 5970 # So? What about this header? 5971 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5972 yes:no: ) 5973 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5974 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5975 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5976 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5977 ac_header_preproc=yes 5978 ;; 5979 no:yes:* ) 5980 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5981 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5982 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5983 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5984 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5985 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5986 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5987 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5988 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5989 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5990 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5991 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5992 ( cat <<\_ASBOX 5993 ## ----------------------------------- ## 5994 ## Report this to rappture@nanohub.org ## 5995 ## ----------------------------------- ## 5996 _ASBOX 5997 ) | sed "s/^/$as_me: WARNING: /" >&2 5998 ;; 5999 esac 6000 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6001 $as_echo_n "checking for $ac_header... " >&6; } 6002 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6003 $as_echo_n "(cached) " >&6 6004 else 6005 eval "$as_ac_Header=\$ac_header_preproc" 6006 fi 6007 ac_res=`eval 'as_val=${'$as_ac_Header'} 6008 $as_echo "$as_val"'` 6009 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6010 $as_echo "$ac_res" >&6; } 6011 6012 fi 6013 as_val=`eval 'as_val=${'$as_ac_Header'} 6014 $as_echo "$as_val"'` 6015 if test "x$as_val" = x""yes; then 5093 do : 5094 ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default" 5095 if test "x$ac_cv_header_cfloat" = xyes; then : 6016 5096 cat >>confdefs.h <<_ACEOF 6017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`16018 _ACEOF 6019 6020 else 6021 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55097 #define HAVE_CFLOAT 1 5098 _ACEOF 5099 5100 else 5101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 6022 5102 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6023 5103 fi … … 6025 5105 done 6026 5106 6027 6028 5107 for ac_header in cmath 6029 do 6030 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6032 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6033 $as_echo_n "checking for $ac_header... " >&6; } 6034 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6035 $as_echo_n "(cached) " >&6 6036 fi 6037 ac_res=`eval 'as_val=${'$as_ac_Header'} 6038 $as_echo "$as_val"'` 6039 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6040 $as_echo "$ac_res" >&6; } 6041 else 6042 # Is the header compilable? 6043 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6044 $as_echo_n "checking $ac_header usability... " >&6; } 6045 cat >conftest.$ac_ext <<_ACEOF 6046 /* confdefs.h. */ 6047 _ACEOF 6048 cat confdefs.h >>conftest.$ac_ext 6049 cat >>conftest.$ac_ext <<_ACEOF 6050 /* end confdefs.h. */ 6051 $ac_includes_default 6052 #include <$ac_header> 6053 _ACEOF 6054 rm -f conftest.$ac_objext 6055 if { (ac_try="$ac_compile" 6056 case "(($ac_try" in 6057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6058 *) ac_try_echo=$ac_try;; 6059 esac 6060 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6061 $as_echo "$ac_try_echo") >&5 6062 (eval "$ac_compile") 2>conftest.er1 6063 ac_status=$? 6064 grep -v '^ *+' conftest.er1 >conftest.err 6065 rm -f conftest.er1 6066 cat conftest.err >&5 6067 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6068 (exit $ac_status); } && { 6069 test -z "$ac_cxx_werror_flag" || 6070 test ! -s conftest.err 6071 } && test -s conftest.$ac_objext; then 6072 ac_header_compiler=yes 6073 else 6074 $as_echo "$as_me: failed program was:" >&5 6075 sed 's/^/| /' conftest.$ac_ext >&5 6076 6077 ac_header_compiler=no 6078 fi 6079 6080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6081 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6082 $as_echo "$ac_header_compiler" >&6; } 6083 6084 # Is the header present? 6085 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6086 $as_echo_n "checking $ac_header presence... " >&6; } 6087 cat >conftest.$ac_ext <<_ACEOF 6088 /* confdefs.h. */ 6089 _ACEOF 6090 cat confdefs.h >>conftest.$ac_ext 6091 cat >>conftest.$ac_ext <<_ACEOF 6092 /* end confdefs.h. */ 6093 #include <$ac_header> 6094 _ACEOF 6095 if { (ac_try="$ac_cpp conftest.$ac_ext" 6096 case "(($ac_try" in 6097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6098 *) ac_try_echo=$ac_try;; 6099 esac 6100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6101 $as_echo "$ac_try_echo") >&5 6102 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6103 ac_status=$? 6104 grep -v '^ *+' conftest.er1 >conftest.err 6105 rm -f conftest.er1 6106 cat conftest.err >&5 6107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6108 (exit $ac_status); } >/dev/null && { 6109 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6110 test ! -s conftest.err 6111 }; then 6112 ac_header_preproc=yes 6113 else 6114 $as_echo "$as_me: failed program was:" >&5 6115 sed 's/^/| /' conftest.$ac_ext >&5 6116 6117 ac_header_preproc=no 6118 fi 6119 6120 rm -f conftest.err conftest.$ac_ext 6121 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6122 $as_echo "$ac_header_preproc" >&6; } 6123 6124 # So? What about this header? 6125 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6126 yes:no: ) 6127 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6128 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6129 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6130 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6131 ac_header_preproc=yes 6132 ;; 6133 no:yes:* ) 6134 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6135 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6136 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6137 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6138 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6139 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6140 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6141 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6142 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6143 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6144 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6145 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6146 ( cat <<\_ASBOX 6147 ## ----------------------------------- ## 6148 ## Report this to rappture@nanohub.org ## 6149 ## ----------------------------------- ## 6150 _ASBOX 6151 ) | sed "s/^/$as_me: WARNING: /" >&2 6152 ;; 6153 esac 6154 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6155 $as_echo_n "checking for $ac_header... " >&6; } 6156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6157 $as_echo_n "(cached) " >&6 6158 else 6159 eval "$as_ac_Header=\$ac_header_preproc" 6160 fi 6161 ac_res=`eval 'as_val=${'$as_ac_Header'} 6162 $as_echo "$as_val"'` 6163 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6164 $as_echo "$ac_res" >&6; } 6165 6166 fi 6167 as_val=`eval 'as_val=${'$as_ac_Header'} 6168 $as_echo "$as_val"'` 6169 if test "x$as_val" = x""yes; then 5108 do : 5109 ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default" 5110 if test "x$ac_cv_header_cmath" = xyes; then : 6170 5111 cat >>confdefs.h <<_ACEOF 6171 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`16172 _ACEOF 6173 6174 else 6175 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55112 #define HAVE_CMATH 1 5113 _ACEOF 5114 5115 else 5116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 6176 5117 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6177 5118 fi … … 6179 5120 done 6180 5121 6181 6182 5122 for ac_header in cstdio 6183 do 6184 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6185 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6186 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6187 $as_echo_n "checking for $ac_header... " >&6; } 6188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6189 $as_echo_n "(cached) " >&6 6190 fi 6191 ac_res=`eval 'as_val=${'$as_ac_Header'} 6192 $as_echo "$as_val"'` 6193 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6194 $as_echo "$ac_res" >&6; } 6195 else 6196 # Is the header compilable? 6197 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6198 $as_echo_n "checking $ac_header usability... " >&6; } 6199 cat >conftest.$ac_ext <<_ACEOF 6200 /* confdefs.h. */ 6201 _ACEOF 6202 cat confdefs.h >>conftest.$ac_ext 6203 cat >>conftest.$ac_ext <<_ACEOF 6204 /* end confdefs.h. */ 6205 $ac_includes_default 6206 #include <$ac_header> 6207 _ACEOF 6208 rm -f conftest.$ac_objext 6209 if { (ac_try="$ac_compile" 6210 case "(($ac_try" in 6211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6212 *) ac_try_echo=$ac_try;; 6213 esac 6214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6215 $as_echo "$ac_try_echo") >&5 6216 (eval "$ac_compile") 2>conftest.er1 6217 ac_status=$? 6218 grep -v '^ *+' conftest.er1 >conftest.err 6219 rm -f conftest.er1 6220 cat conftest.err >&5 6221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6222 (exit $ac_status); } && { 6223 test -z "$ac_cxx_werror_flag" || 6224 test ! -s conftest.err 6225 } && test -s conftest.$ac_objext; then 6226 ac_header_compiler=yes 6227 else 6228 $as_echo "$as_me: failed program was:" >&5 6229 sed 's/^/| /' conftest.$ac_ext >&5 6230 6231 ac_header_compiler=no 6232 fi 6233 6234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6235 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6236 $as_echo "$ac_header_compiler" >&6; } 6237 6238 # Is the header present? 6239 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6240 $as_echo_n "checking $ac_header presence... " >&6; } 6241 cat >conftest.$ac_ext <<_ACEOF 6242 /* confdefs.h. */ 6243 _ACEOF 6244 cat confdefs.h >>conftest.$ac_ext 6245 cat >>conftest.$ac_ext <<_ACEOF 6246 /* end confdefs.h. */ 6247 #include <$ac_header> 6248 _ACEOF 6249 if { (ac_try="$ac_cpp conftest.$ac_ext" 6250 case "(($ac_try" in 6251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6252 *) ac_try_echo=$ac_try;; 6253 esac 6254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6255 $as_echo "$ac_try_echo") >&5 6256 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6257 ac_status=$? 6258 grep -v '^ *+' conftest.er1 >conftest.err 6259 rm -f conftest.er1 6260 cat conftest.err >&5 6261 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6262 (exit $ac_status); } >/dev/null && { 6263 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6264 test ! -s conftest.err 6265 }; then 6266 ac_header_preproc=yes 6267 else 6268 $as_echo "$as_me: failed program was:" >&5 6269 sed 's/^/| /' conftest.$ac_ext >&5 6270 6271 ac_header_preproc=no 6272 fi 6273 6274 rm -f conftest.err conftest.$ac_ext 6275 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6276 $as_echo "$ac_header_preproc" >&6; } 6277 6278 # So? What about this header? 6279 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6280 yes:no: ) 6281 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6282 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6283 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6284 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6285 ac_header_preproc=yes 6286 ;; 6287 no:yes:* ) 6288 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6289 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6290 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6291 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6292 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6293 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6294 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6295 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6296 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6297 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6298 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6299 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6300 ( cat <<\_ASBOX 6301 ## ----------------------------------- ## 6302 ## Report this to rappture@nanohub.org ## 6303 ## ----------------------------------- ## 6304 _ASBOX 6305 ) | sed "s/^/$as_me: WARNING: /" >&2 6306 ;; 6307 esac 6308 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6309 $as_echo_n "checking for $ac_header... " >&6; } 6310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6311 $as_echo_n "(cached) " >&6 6312 else 6313 eval "$as_ac_Header=\$ac_header_preproc" 6314 fi 6315 ac_res=`eval 'as_val=${'$as_ac_Header'} 6316 $as_echo "$as_val"'` 6317 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6318 $as_echo "$ac_res" >&6; } 6319 6320 fi 6321 as_val=`eval 'as_val=${'$as_ac_Header'} 6322 $as_echo "$as_val"'` 6323 if test "x$as_val" = x""yes; then 5123 do : 5124 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default" 5125 if test "x$ac_cv_header_cstdio" = xyes; then : 6324 5126 cat >>confdefs.h <<_ACEOF 6325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`16326 _ACEOF 6327 6328 else 6329 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55127 #define HAVE_CSTDIO 1 5128 _ACEOF 5129 5130 else 5131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 6330 5132 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6331 5133 fi … … 6333 5135 done 6334 5136 6335 6336 5137 for ac_header in cstdlib 6337 do 6338 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6339 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6340 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6341 $as_echo_n "checking for $ac_header... " >&6; } 6342 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6343 $as_echo_n "(cached) " >&6 6344 fi 6345 ac_res=`eval 'as_val=${'$as_ac_Header'} 6346 $as_echo "$as_val"'` 6347 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6348 $as_echo "$ac_res" >&6; } 6349 else 6350 # Is the header compilable? 6351 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6352 $as_echo_n "checking $ac_header usability... " >&6; } 6353 cat >conftest.$ac_ext <<_ACEOF 6354 /* confdefs.h. */ 6355 _ACEOF 6356 cat confdefs.h >>conftest.$ac_ext 6357 cat >>conftest.$ac_ext <<_ACEOF 6358 /* end confdefs.h. */ 6359 $ac_includes_default 6360 #include <$ac_header> 6361 _ACEOF 6362 rm -f conftest.$ac_objext 6363 if { (ac_try="$ac_compile" 6364 case "(($ac_try" in 6365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6366 *) ac_try_echo=$ac_try;; 6367 esac 6368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6369 $as_echo "$ac_try_echo") >&5 6370 (eval "$ac_compile") 2>conftest.er1 6371 ac_status=$? 6372 grep -v '^ *+' conftest.er1 >conftest.err 6373 rm -f conftest.er1 6374 cat conftest.err >&5 6375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6376 (exit $ac_status); } && { 6377 test -z "$ac_cxx_werror_flag" || 6378 test ! -s conftest.err 6379 } && test -s conftest.$ac_objext; then 6380 ac_header_compiler=yes 6381 else 6382 $as_echo "$as_me: failed program was:" >&5 6383 sed 's/^/| /' conftest.$ac_ext >&5 6384 6385 ac_header_compiler=no 6386 fi 6387 6388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6389 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6390 $as_echo "$ac_header_compiler" >&6; } 6391 6392 # Is the header present? 6393 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6394 $as_echo_n "checking $ac_header presence... " >&6; } 6395 cat >conftest.$ac_ext <<_ACEOF 6396 /* confdefs.h. */ 6397 _ACEOF 6398 cat confdefs.h >>conftest.$ac_ext 6399 cat >>conftest.$ac_ext <<_ACEOF 6400 /* end confdefs.h. */ 6401 #include <$ac_header> 6402 _ACEOF 6403 if { (ac_try="$ac_cpp conftest.$ac_ext" 6404 case "(($ac_try" in 6405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6406 *) ac_try_echo=$ac_try;; 6407 esac 6408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6409 $as_echo "$ac_try_echo") >&5 6410 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6411 ac_status=$? 6412 grep -v '^ *+' conftest.er1 >conftest.err 6413 rm -f conftest.er1 6414 cat conftest.err >&5 6415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6416 (exit $ac_status); } >/dev/null && { 6417 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6418 test ! -s conftest.err 6419 }; then 6420 ac_header_preproc=yes 6421 else 6422 $as_echo "$as_me: failed program was:" >&5 6423 sed 's/^/| /' conftest.$ac_ext >&5 6424 6425 ac_header_preproc=no 6426 fi 6427 6428 rm -f conftest.err conftest.$ac_ext 6429 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6430 $as_echo "$ac_header_preproc" >&6; } 6431 6432 # So? What about this header? 6433 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6434 yes:no: ) 6435 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6436 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6437 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6438 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6439 ac_header_preproc=yes 6440 ;; 6441 no:yes:* ) 6442 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6443 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6444 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6445 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6446 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6447 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6449 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6450 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6451 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6452 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6453 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6454 ( cat <<\_ASBOX 6455 ## ----------------------------------- ## 6456 ## Report this to rappture@nanohub.org ## 6457 ## ----------------------------------- ## 6458 _ASBOX 6459 ) | sed "s/^/$as_me: WARNING: /" >&2 6460 ;; 6461 esac 6462 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6463 $as_echo_n "checking for $ac_header... " >&6; } 6464 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6465 $as_echo_n "(cached) " >&6 6466 else 6467 eval "$as_ac_Header=\$ac_header_preproc" 6468 fi 6469 ac_res=`eval 'as_val=${'$as_ac_Header'} 6470 $as_echo "$as_val"'` 6471 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6472 $as_echo "$ac_res" >&6; } 6473 6474 fi 6475 as_val=`eval 'as_val=${'$as_ac_Header'} 6476 $as_echo "$as_val"'` 6477 if test "x$as_val" = x""yes; then 5138 do : 5139 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default" 5140 if test "x$ac_cv_header_cstdlib" = xyes; then : 6478 5141 cat >>confdefs.h <<_ACEOF 6479 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`16480 _ACEOF 6481 6482 else 6483 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55142 #define HAVE_CSTDLIB 1 5143 _ACEOF 5144 5145 else 5146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 6484 5147 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6485 5148 fi … … 6487 5150 done 6488 5151 6489 6490 5152 for ac_header in cstring 6491 do 6492 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6494 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6495 $as_echo_n "checking for $ac_header... " >&6; } 6496 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6497 $as_echo_n "(cached) " >&6 6498 fi 6499 ac_res=`eval 'as_val=${'$as_ac_Header'} 6500 $as_echo "$as_val"'` 6501 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6502 $as_echo "$ac_res" >&6; } 6503 else 6504 # Is the header compilable? 6505 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6506 $as_echo_n "checking $ac_header usability... " >&6; } 6507 cat >conftest.$ac_ext <<_ACEOF 6508 /* confdefs.h. */ 6509 _ACEOF 6510 cat confdefs.h >>conftest.$ac_ext 6511 cat >>conftest.$ac_ext <<_ACEOF 6512 /* end confdefs.h. */ 6513 $ac_includes_default 6514 #include <$ac_header> 6515 _ACEOF 6516 rm -f conftest.$ac_objext 6517 if { (ac_try="$ac_compile" 6518 case "(($ac_try" in 6519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6520 *) ac_try_echo=$ac_try;; 6521 esac 6522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6523 $as_echo "$ac_try_echo") >&5 6524 (eval "$ac_compile") 2>conftest.er1 6525 ac_status=$? 6526 grep -v '^ *+' conftest.er1 >conftest.err 6527 rm -f conftest.er1 6528 cat conftest.err >&5 6529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6530 (exit $ac_status); } && { 6531 test -z "$ac_cxx_werror_flag" || 6532 test ! -s conftest.err 6533 } && test -s conftest.$ac_objext; then 6534 ac_header_compiler=yes 6535 else 6536 $as_echo "$as_me: failed program was:" >&5 6537 sed 's/^/| /' conftest.$ac_ext >&5 6538 6539 ac_header_compiler=no 6540 fi 6541 6542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6543 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6544 $as_echo "$ac_header_compiler" >&6; } 6545 6546 # Is the header present? 6547 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6548 $as_echo_n "checking $ac_header presence... " >&6; } 6549 cat >conftest.$ac_ext <<_ACEOF 6550 /* confdefs.h. */ 6551 _ACEOF 6552 cat confdefs.h >>conftest.$ac_ext 6553 cat >>conftest.$ac_ext <<_ACEOF 6554 /* end confdefs.h. */ 6555 #include <$ac_header> 6556 _ACEOF 6557 if { (ac_try="$ac_cpp conftest.$ac_ext" 6558 case "(($ac_try" in 6559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6560 *) ac_try_echo=$ac_try;; 6561 esac 6562 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6563 $as_echo "$ac_try_echo") >&5 6564 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6565 ac_status=$? 6566 grep -v '^ *+' conftest.er1 >conftest.err 6567 rm -f conftest.er1 6568 cat conftest.err >&5 6569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6570 (exit $ac_status); } >/dev/null && { 6571 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6572 test ! -s conftest.err 6573 }; then 6574 ac_header_preproc=yes 6575 else 6576 $as_echo "$as_me: failed program was:" >&5 6577 sed 's/^/| /' conftest.$ac_ext >&5 6578 6579 ac_header_preproc=no 6580 fi 6581 6582 rm -f conftest.err conftest.$ac_ext 6583 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6584 $as_echo "$ac_header_preproc" >&6; } 6585 6586 # So? What about this header? 6587 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6588 yes:no: ) 6589 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6590 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6591 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6592 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6593 ac_header_preproc=yes 6594 ;; 6595 no:yes:* ) 6596 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6597 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6598 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6599 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6600 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6601 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6602 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6603 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6604 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6605 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6606 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6607 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6608 ( cat <<\_ASBOX 6609 ## ----------------------------------- ## 6610 ## Report this to rappture@nanohub.org ## 6611 ## ----------------------------------- ## 6612 _ASBOX 6613 ) | sed "s/^/$as_me: WARNING: /" >&2 6614 ;; 6615 esac 6616 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6617 $as_echo_n "checking for $ac_header... " >&6; } 6618 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6619 $as_echo_n "(cached) " >&6 6620 else 6621 eval "$as_ac_Header=\$ac_header_preproc" 6622 fi 6623 ac_res=`eval 'as_val=${'$as_ac_Header'} 6624 $as_echo "$as_val"'` 6625 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6626 $as_echo "$ac_res" >&6; } 6627 6628 fi 6629 as_val=`eval 'as_val=${'$as_ac_Header'} 6630 $as_echo "$as_val"'` 6631 if test "x$as_val" = x""yes; then 5153 do : 5154 ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default" 5155 if test "x$ac_cv_header_cstring" = xyes; then : 6632 5156 cat >>confdefs.h <<_ACEOF 6633 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`16634 _ACEOF 6635 6636 else 6637 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55157 #define HAVE_CSTRING 1 5158 _ACEOF 5159 5160 else 5161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 6638 5162 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6639 5163 fi … … 6641 5165 done 6642 5166 6643 6644 5167 for ac_header in fstream 6645 do 6646 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6647 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6648 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6649 $as_echo_n "checking for $ac_header... " >&6; } 6650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6651 $as_echo_n "(cached) " >&6 6652 fi 6653 ac_res=`eval 'as_val=${'$as_ac_Header'} 6654 $as_echo "$as_val"'` 6655 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6656 $as_echo "$ac_res" >&6; } 6657 else 6658 # Is the header compilable? 6659 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6660 $as_echo_n "checking $ac_header usability... " >&6; } 6661 cat >conftest.$ac_ext <<_ACEOF 6662 /* confdefs.h. */ 6663 _ACEOF 6664 cat confdefs.h >>conftest.$ac_ext 6665 cat >>conftest.$ac_ext <<_ACEOF 6666 /* end confdefs.h. */ 6667 $ac_includes_default 6668 #include <$ac_header> 6669 _ACEOF 6670 rm -f conftest.$ac_objext 6671 if { (ac_try="$ac_compile" 6672 case "(($ac_try" in 6673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6674 *) ac_try_echo=$ac_try;; 6675 esac 6676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6677 $as_echo "$ac_try_echo") >&5 6678 (eval "$ac_compile") 2>conftest.er1 6679 ac_status=$? 6680 grep -v '^ *+' conftest.er1 >conftest.err 6681 rm -f conftest.er1 6682 cat conftest.err >&5 6683 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6684 (exit $ac_status); } && { 6685 test -z "$ac_cxx_werror_flag" || 6686 test ! -s conftest.err 6687 } && test -s conftest.$ac_objext; then 6688 ac_header_compiler=yes 6689 else 6690 $as_echo "$as_me: failed program was:" >&5 6691 sed 's/^/| /' conftest.$ac_ext >&5 6692 6693 ac_header_compiler=no 6694 fi 6695 6696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6697 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6698 $as_echo "$ac_header_compiler" >&6; } 6699 6700 # Is the header present? 6701 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6702 $as_echo_n "checking $ac_header presence... " >&6; } 6703 cat >conftest.$ac_ext <<_ACEOF 6704 /* confdefs.h. */ 6705 _ACEOF 6706 cat confdefs.h >>conftest.$ac_ext 6707 cat >>conftest.$ac_ext <<_ACEOF 6708 /* end confdefs.h. */ 6709 #include <$ac_header> 6710 _ACEOF 6711 if { (ac_try="$ac_cpp conftest.$ac_ext" 6712 case "(($ac_try" in 6713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6714 *) ac_try_echo=$ac_try;; 6715 esac 6716 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6717 $as_echo "$ac_try_echo") >&5 6718 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6719 ac_status=$? 6720 grep -v '^ *+' conftest.er1 >conftest.err 6721 rm -f conftest.er1 6722 cat conftest.err >&5 6723 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6724 (exit $ac_status); } >/dev/null && { 6725 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6726 test ! -s conftest.err 6727 }; then 6728 ac_header_preproc=yes 6729 else 6730 $as_echo "$as_me: failed program was:" >&5 6731 sed 's/^/| /' conftest.$ac_ext >&5 6732 6733 ac_header_preproc=no 6734 fi 6735 6736 rm -f conftest.err conftest.$ac_ext 6737 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6738 $as_echo "$ac_header_preproc" >&6; } 6739 6740 # So? What about this header? 6741 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6742 yes:no: ) 6743 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6744 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6745 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6746 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6747 ac_header_preproc=yes 6748 ;; 6749 no:yes:* ) 6750 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6751 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6752 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6753 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6754 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6755 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6756 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6757 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6758 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6759 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6760 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6761 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6762 ( cat <<\_ASBOX 6763 ## ----------------------------------- ## 6764 ## Report this to rappture@nanohub.org ## 6765 ## ----------------------------------- ## 6766 _ASBOX 6767 ) | sed "s/^/$as_me: WARNING: /" >&2 6768 ;; 6769 esac 6770 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6771 $as_echo_n "checking for $ac_header... " >&6; } 6772 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6773 $as_echo_n "(cached) " >&6 6774 else 6775 eval "$as_ac_Header=\$ac_header_preproc" 6776 fi 6777 ac_res=`eval 'as_val=${'$as_ac_Header'} 6778 $as_echo "$as_val"'` 6779 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6780 $as_echo "$ac_res" >&6; } 6781 6782 fi 6783 as_val=`eval 'as_val=${'$as_ac_Header'} 6784 $as_echo "$as_val"'` 6785 if test "x$as_val" = x""yes; then 5168 do : 5169 ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default" 5170 if test "x$ac_cv_header_fstream" = xyes; then : 6786 5171 cat >>confdefs.h <<_ACEOF 6787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`16788 _ACEOF 6789 6790 else 6791 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55172 #define HAVE_FSTREAM 1 5173 _ACEOF 5174 5175 else 5176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 6792 5177 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6793 5178 fi … … 6795 5180 done 6796 5181 6797 6798 5182 for ac_header in list 6799 do 6800 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6801 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6802 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6803 $as_echo_n "checking for $ac_header... " >&6; } 6804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6805 $as_echo_n "(cached) " >&6 6806 fi 6807 ac_res=`eval 'as_val=${'$as_ac_Header'} 6808 $as_echo "$as_val"'` 6809 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6810 $as_echo "$ac_res" >&6; } 6811 else 6812 # Is the header compilable? 6813 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6814 $as_echo_n "checking $ac_header usability... " >&6; } 6815 cat >conftest.$ac_ext <<_ACEOF 6816 /* confdefs.h. */ 6817 _ACEOF 6818 cat confdefs.h >>conftest.$ac_ext 6819 cat >>conftest.$ac_ext <<_ACEOF 6820 /* end confdefs.h. */ 6821 $ac_includes_default 6822 #include <$ac_header> 6823 _ACEOF 6824 rm -f conftest.$ac_objext 6825 if { (ac_try="$ac_compile" 6826 case "(($ac_try" in 6827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6828 *) ac_try_echo=$ac_try;; 6829 esac 6830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6831 $as_echo "$ac_try_echo") >&5 6832 (eval "$ac_compile") 2>conftest.er1 6833 ac_status=$? 6834 grep -v '^ *+' conftest.er1 >conftest.err 6835 rm -f conftest.er1 6836 cat conftest.err >&5 6837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6838 (exit $ac_status); } && { 6839 test -z "$ac_cxx_werror_flag" || 6840 test ! -s conftest.err 6841 } && test -s conftest.$ac_objext; then 6842 ac_header_compiler=yes 6843 else 6844 $as_echo "$as_me: failed program was:" >&5 6845 sed 's/^/| /' conftest.$ac_ext >&5 6846 6847 ac_header_compiler=no 6848 fi 6849 6850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6851 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6852 $as_echo "$ac_header_compiler" >&6; } 6853 6854 # Is the header present? 6855 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6856 $as_echo_n "checking $ac_header presence... " >&6; } 6857 cat >conftest.$ac_ext <<_ACEOF 6858 /* confdefs.h. */ 6859 _ACEOF 6860 cat confdefs.h >>conftest.$ac_ext 6861 cat >>conftest.$ac_ext <<_ACEOF 6862 /* end confdefs.h. */ 6863 #include <$ac_header> 6864 _ACEOF 6865 if { (ac_try="$ac_cpp conftest.$ac_ext" 6866 case "(($ac_try" in 6867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6868 *) ac_try_echo=$ac_try;; 6869 esac 6870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6871 $as_echo "$ac_try_echo") >&5 6872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6873 ac_status=$? 6874 grep -v '^ *+' conftest.er1 >conftest.err 6875 rm -f conftest.er1 6876 cat conftest.err >&5 6877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6878 (exit $ac_status); } >/dev/null && { 6879 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6880 test ! -s conftest.err 6881 }; then 6882 ac_header_preproc=yes 6883 else 6884 $as_echo "$as_me: failed program was:" >&5 6885 sed 's/^/| /' conftest.$ac_ext >&5 6886 6887 ac_header_preproc=no 6888 fi 6889 6890 rm -f conftest.err conftest.$ac_ext 6891 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6892 $as_echo "$ac_header_preproc" >&6; } 6893 6894 # So? What about this header? 6895 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6896 yes:no: ) 6897 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6898 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6899 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6900 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6901 ac_header_preproc=yes 6902 ;; 6903 no:yes:* ) 6904 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6905 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6906 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6907 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6908 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6909 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6910 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6911 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6912 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6913 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6914 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6915 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6916 ( cat <<\_ASBOX 6917 ## ----------------------------------- ## 6918 ## Report this to rappture@nanohub.org ## 6919 ## ----------------------------------- ## 6920 _ASBOX 6921 ) | sed "s/^/$as_me: WARNING: /" >&2 6922 ;; 6923 esac 6924 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6925 $as_echo_n "checking for $ac_header... " >&6; } 6926 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6927 $as_echo_n "(cached) " >&6 6928 else 6929 eval "$as_ac_Header=\$ac_header_preproc" 6930 fi 6931 ac_res=`eval 'as_val=${'$as_ac_Header'} 6932 $as_echo "$as_val"'` 6933 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6934 $as_echo "$ac_res" >&6; } 6935 6936 fi 6937 as_val=`eval 'as_val=${'$as_ac_Header'} 6938 $as_echo "$as_val"'` 6939 if test "x$as_val" = x""yes; then 5183 do : 5184 ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default" 5185 if test "x$ac_cv_header_list" = xyes; then : 6940 5186 cat >>confdefs.h <<_ACEOF 6941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`16942 _ACEOF 6943 6944 else 6945 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55187 #define HAVE_LIST 1 5188 _ACEOF 5189 5190 else 5191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 6946 5192 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6947 5193 fi … … 6949 5195 done 6950 5196 6951 6952 5197 for ac_header in iostream 6953 do 6954 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6956 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6957 $as_echo_n "checking for $ac_header... " >&6; } 6958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6959 $as_echo_n "(cached) " >&6 6960 fi 6961 ac_res=`eval 'as_val=${'$as_ac_Header'} 6962 $as_echo "$as_val"'` 6963 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6964 $as_echo "$ac_res" >&6; } 6965 else 6966 # Is the header compilable? 6967 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6968 $as_echo_n "checking $ac_header usability... " >&6; } 6969 cat >conftest.$ac_ext <<_ACEOF 6970 /* confdefs.h. */ 6971 _ACEOF 6972 cat confdefs.h >>conftest.$ac_ext 6973 cat >>conftest.$ac_ext <<_ACEOF 6974 /* end confdefs.h. */ 6975 $ac_includes_default 6976 #include <$ac_header> 6977 _ACEOF 6978 rm -f conftest.$ac_objext 6979 if { (ac_try="$ac_compile" 6980 case "(($ac_try" in 6981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6982 *) ac_try_echo=$ac_try;; 6983 esac 6984 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6985 $as_echo "$ac_try_echo") >&5 6986 (eval "$ac_compile") 2>conftest.er1 6987 ac_status=$? 6988 grep -v '^ *+' conftest.er1 >conftest.err 6989 rm -f conftest.er1 6990 cat conftest.err >&5 6991 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6992 (exit $ac_status); } && { 6993 test -z "$ac_cxx_werror_flag" || 6994 test ! -s conftest.err 6995 } && test -s conftest.$ac_objext; then 6996 ac_header_compiler=yes 6997 else 6998 $as_echo "$as_me: failed program was:" >&5 6999 sed 's/^/| /' conftest.$ac_ext >&5 7000 7001 ac_header_compiler=no 7002 fi 7003 7004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7005 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7006 $as_echo "$ac_header_compiler" >&6; } 7007 7008 # Is the header present? 7009 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7010 $as_echo_n "checking $ac_header presence... " >&6; } 7011 cat >conftest.$ac_ext <<_ACEOF 7012 /* confdefs.h. */ 7013 _ACEOF 7014 cat confdefs.h >>conftest.$ac_ext 7015 cat >>conftest.$ac_ext <<_ACEOF 7016 /* end confdefs.h. */ 7017 #include <$ac_header> 7018 _ACEOF 7019 if { (ac_try="$ac_cpp conftest.$ac_ext" 7020 case "(($ac_try" in 7021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7022 *) ac_try_echo=$ac_try;; 7023 esac 7024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7025 $as_echo "$ac_try_echo") >&5 7026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7027 ac_status=$? 7028 grep -v '^ *+' conftest.er1 >conftest.err 7029 rm -f conftest.er1 7030 cat conftest.err >&5 7031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7032 (exit $ac_status); } >/dev/null && { 7033 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7034 test ! -s conftest.err 7035 }; then 7036 ac_header_preproc=yes 7037 else 7038 $as_echo "$as_me: failed program was:" >&5 7039 sed 's/^/| /' conftest.$ac_ext >&5 7040 7041 ac_header_preproc=no 7042 fi 7043 7044 rm -f conftest.err conftest.$ac_ext 7045 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7046 $as_echo "$ac_header_preproc" >&6; } 7047 7048 # So? What about this header? 7049 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7050 yes:no: ) 7051 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7052 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7053 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7054 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7055 ac_header_preproc=yes 7056 ;; 7057 no:yes:* ) 7058 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7059 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7060 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7061 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7062 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7063 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7064 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7065 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7067 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7068 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7069 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7070 ( cat <<\_ASBOX 7071 ## ----------------------------------- ## 7072 ## Report this to rappture@nanohub.org ## 7073 ## ----------------------------------- ## 7074 _ASBOX 7075 ) | sed "s/^/$as_me: WARNING: /" >&2 7076 ;; 7077 esac 7078 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7079 $as_echo_n "checking for $ac_header... " >&6; } 7080 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7081 $as_echo_n "(cached) " >&6 7082 else 7083 eval "$as_ac_Header=\$ac_header_preproc" 7084 fi 7085 ac_res=`eval 'as_val=${'$as_ac_Header'} 7086 $as_echo "$as_val"'` 7087 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7088 $as_echo "$ac_res" >&6; } 7089 7090 fi 7091 as_val=`eval 'as_val=${'$as_ac_Header'} 7092 $as_echo "$as_val"'` 7093 if test "x$as_val" = x""yes; then 5198 do : 5199 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default" 5200 if test "x$ac_cv_header_iostream" = xyes; then : 7094 5201 cat >>confdefs.h <<_ACEOF 7095 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`17096 _ACEOF 7097 7098 else 7099 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55202 #define HAVE_IOSTREAM 1 5203 _ACEOF 5204 5205 else 5206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 7100 5207 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7101 5208 fi … … 7103 5210 done 7104 5211 7105 7106 5212 for ac_header in iterator 7107 do 7108 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7110 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7111 $as_echo_n "checking for $ac_header... " >&6; } 7112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7113 $as_echo_n "(cached) " >&6 7114 fi 7115 ac_res=`eval 'as_val=${'$as_ac_Header'} 7116 $as_echo "$as_val"'` 7117 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7118 $as_echo "$ac_res" >&6; } 7119 else 7120 # Is the header compilable? 7121 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7122 $as_echo_n "checking $ac_header usability... " >&6; } 7123 cat >conftest.$ac_ext <<_ACEOF 7124 /* confdefs.h. */ 7125 _ACEOF 7126 cat confdefs.h >>conftest.$ac_ext 7127 cat >>conftest.$ac_ext <<_ACEOF 7128 /* end confdefs.h. */ 7129 $ac_includes_default 7130 #include <$ac_header> 7131 _ACEOF 7132 rm -f conftest.$ac_objext 7133 if { (ac_try="$ac_compile" 7134 case "(($ac_try" in 7135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7136 *) ac_try_echo=$ac_try;; 7137 esac 7138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7139 $as_echo "$ac_try_echo") >&5 7140 (eval "$ac_compile") 2>conftest.er1 7141 ac_status=$? 7142 grep -v '^ *+' conftest.er1 >conftest.err 7143 rm -f conftest.er1 7144 cat conftest.err >&5 7145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7146 (exit $ac_status); } && { 7147 test -z "$ac_cxx_werror_flag" || 7148 test ! -s conftest.err 7149 } && test -s conftest.$ac_objext; then 7150 ac_header_compiler=yes 7151 else 7152 $as_echo "$as_me: failed program was:" >&5 7153 sed 's/^/| /' conftest.$ac_ext >&5 7154 7155 ac_header_compiler=no 7156 fi 7157 7158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7159 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7160 $as_echo "$ac_header_compiler" >&6; } 7161 7162 # Is the header present? 7163 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7164 $as_echo_n "checking $ac_header presence... " >&6; } 7165 cat >conftest.$ac_ext <<_ACEOF 7166 /* confdefs.h. */ 7167 _ACEOF 7168 cat confdefs.h >>conftest.$ac_ext 7169 cat >>conftest.$ac_ext <<_ACEOF 7170 /* end confdefs.h. */ 7171 #include <$ac_header> 7172 _ACEOF 7173 if { (ac_try="$ac_cpp conftest.$ac_ext" 7174 case "(($ac_try" in 7175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7176 *) ac_try_echo=$ac_try;; 7177 esac 7178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7179 $as_echo "$ac_try_echo") >&5 7180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7181 ac_status=$? 7182 grep -v '^ *+' conftest.er1 >conftest.err 7183 rm -f conftest.er1 7184 cat conftest.err >&5 7185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7186 (exit $ac_status); } >/dev/null && { 7187 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7188 test ! -s conftest.err 7189 }; then 7190 ac_header_preproc=yes 7191 else 7192 $as_echo "$as_me: failed program was:" >&5 7193 sed 's/^/| /' conftest.$ac_ext >&5 7194 7195 ac_header_preproc=no 7196 fi 7197 7198 rm -f conftest.err conftest.$ac_ext 7199 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7200 $as_echo "$ac_header_preproc" >&6; } 7201 7202 # So? What about this header? 7203 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7204 yes:no: ) 7205 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7206 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7207 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7208 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7209 ac_header_preproc=yes 7210 ;; 7211 no:yes:* ) 7212 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7213 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7214 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7215 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7216 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7217 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7218 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7219 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7220 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7221 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7222 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7223 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7224 ( cat <<\_ASBOX 7225 ## ----------------------------------- ## 7226 ## Report this to rappture@nanohub.org ## 7227 ## ----------------------------------- ## 7228 _ASBOX 7229 ) | sed "s/^/$as_me: WARNING: /" >&2 7230 ;; 7231 esac 7232 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7233 $as_echo_n "checking for $ac_header... " >&6; } 7234 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7235 $as_echo_n "(cached) " >&6 7236 else 7237 eval "$as_ac_Header=\$ac_header_preproc" 7238 fi 7239 ac_res=`eval 'as_val=${'$as_ac_Header'} 7240 $as_echo "$as_val"'` 7241 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7242 $as_echo "$ac_res" >&6; } 7243 7244 fi 7245 as_val=`eval 'as_val=${'$as_ac_Header'} 7246 $as_echo "$as_val"'` 7247 if test "x$as_val" = x""yes; then 5213 do : 5214 ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default" 5215 if test "x$ac_cv_header_iterator" = xyes; then : 7248 5216 cat >>confdefs.h <<_ACEOF 7249 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`17250 _ACEOF 7251 7252 else 7253 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55217 #define HAVE_ITERATOR 1 5218 _ACEOF 5219 5220 else 5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 7254 5222 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7255 5223 fi … … 7257 5225 done 7258 5226 7259 7260 5227 for ac_header in sstream 7261 do 7262 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7263 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7264 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7265 $as_echo_n "checking for $ac_header... " >&6; } 7266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7267 $as_echo_n "(cached) " >&6 7268 fi 7269 ac_res=`eval 'as_val=${'$as_ac_Header'} 7270 $as_echo "$as_val"'` 7271 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7272 $as_echo "$ac_res" >&6; } 7273 else 7274 # Is the header compilable? 7275 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7276 $as_echo_n "checking $ac_header usability... " >&6; } 7277 cat >conftest.$ac_ext <<_ACEOF 7278 /* confdefs.h. */ 7279 _ACEOF 7280 cat confdefs.h >>conftest.$ac_ext 7281 cat >>conftest.$ac_ext <<_ACEOF 7282 /* end confdefs.h. */ 7283 $ac_includes_default 7284 #include <$ac_header> 7285 _ACEOF 7286 rm -f conftest.$ac_objext 7287 if { (ac_try="$ac_compile" 7288 case "(($ac_try" in 7289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7290 *) ac_try_echo=$ac_try;; 7291 esac 7292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7293 $as_echo "$ac_try_echo") >&5 7294 (eval "$ac_compile") 2>conftest.er1 7295 ac_status=$? 7296 grep -v '^ *+' conftest.er1 >conftest.err 7297 rm -f conftest.er1 7298 cat conftest.err >&5 7299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7300 (exit $ac_status); } && { 7301 test -z "$ac_cxx_werror_flag" || 7302 test ! -s conftest.err 7303 } && test -s conftest.$ac_objext; then 7304 ac_header_compiler=yes 7305 else 7306 $as_echo "$as_me: failed program was:" >&5 7307 sed 's/^/| /' conftest.$ac_ext >&5 7308 7309 ac_header_compiler=no 7310 fi 7311 7312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7313 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7314 $as_echo "$ac_header_compiler" >&6; } 7315 7316 # Is the header present? 7317 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7318 $as_echo_n "checking $ac_header presence... " >&6; } 7319 cat >conftest.$ac_ext <<_ACEOF 7320 /* confdefs.h. */ 7321 _ACEOF 7322 cat confdefs.h >>conftest.$ac_ext 7323 cat >>conftest.$ac_ext <<_ACEOF 7324 /* end confdefs.h. */ 7325 #include <$ac_header> 7326 _ACEOF 7327 if { (ac_try="$ac_cpp conftest.$ac_ext" 7328 case "(($ac_try" in 7329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7330 *) ac_try_echo=$ac_try;; 7331 esac 7332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7333 $as_echo "$ac_try_echo") >&5 7334 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7335 ac_status=$? 7336 grep -v '^ *+' conftest.er1 >conftest.err 7337 rm -f conftest.er1 7338 cat conftest.err >&5 7339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7340 (exit $ac_status); } >/dev/null && { 7341 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7342 test ! -s conftest.err 7343 }; then 7344 ac_header_preproc=yes 7345 else 7346 $as_echo "$as_me: failed program was:" >&5 7347 sed 's/^/| /' conftest.$ac_ext >&5 7348 7349 ac_header_preproc=no 7350 fi 7351 7352 rm -f conftest.err conftest.$ac_ext 7353 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7354 $as_echo "$ac_header_preproc" >&6; } 7355 7356 # So? What about this header? 7357 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7358 yes:no: ) 7359 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7360 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7361 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7362 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7363 ac_header_preproc=yes 7364 ;; 7365 no:yes:* ) 7366 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7367 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7368 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7369 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7370 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7371 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7372 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7373 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7374 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7375 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7376 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7377 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7378 ( cat <<\_ASBOX 7379 ## ----------------------------------- ## 7380 ## Report this to rappture@nanohub.org ## 7381 ## ----------------------------------- ## 7382 _ASBOX 7383 ) | sed "s/^/$as_me: WARNING: /" >&2 7384 ;; 7385 esac 7386 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7387 $as_echo_n "checking for $ac_header... " >&6; } 7388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7389 $as_echo_n "(cached) " >&6 7390 else 7391 eval "$as_ac_Header=\$ac_header_preproc" 7392 fi 7393 ac_res=`eval 'as_val=${'$as_ac_Header'} 7394 $as_echo "$as_val"'` 7395 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7396 $as_echo "$ac_res" >&6; } 7397 7398 fi 7399 as_val=`eval 'as_val=${'$as_ac_Header'} 7400 $as_echo "$as_val"'` 7401 if test "x$as_val" = x""yes; then 5228 do : 5229 ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default" 5230 if test "x$ac_cv_header_sstream" = xyes; then : 7402 5231 cat >>confdefs.h <<_ACEOF 7403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`17404 _ACEOF 7405 7406 else 7407 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55232 #define HAVE_SSTREAM 1 5233 _ACEOF 5234 5235 else 5236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 7408 5237 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7409 5238 fi … … 7411 5240 done 7412 5241 7413 7414 5242 for ac_header in stack 7415 do 7416 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7417 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7418 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7419 $as_echo_n "checking for $ac_header... " >&6; } 7420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7421 $as_echo_n "(cached) " >&6 7422 fi 7423 ac_res=`eval 'as_val=${'$as_ac_Header'} 7424 $as_echo "$as_val"'` 7425 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7426 $as_echo "$ac_res" >&6; } 7427 else 7428 # Is the header compilable? 7429 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7430 $as_echo_n "checking $ac_header usability... " >&6; } 7431 cat >conftest.$ac_ext <<_ACEOF 7432 /* confdefs.h. */ 7433 _ACEOF 7434 cat confdefs.h >>conftest.$ac_ext 7435 cat >>conftest.$ac_ext <<_ACEOF 7436 /* end confdefs.h. */ 7437 $ac_includes_default 7438 #include <$ac_header> 7439 _ACEOF 7440 rm -f conftest.$ac_objext 7441 if { (ac_try="$ac_compile" 7442 case "(($ac_try" in 7443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7444 *) ac_try_echo=$ac_try;; 7445 esac 7446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7447 $as_echo "$ac_try_echo") >&5 7448 (eval "$ac_compile") 2>conftest.er1 7449 ac_status=$? 7450 grep -v '^ *+' conftest.er1 >conftest.err 7451 rm -f conftest.er1 7452 cat conftest.err >&5 7453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7454 (exit $ac_status); } && { 7455 test -z "$ac_cxx_werror_flag" || 7456 test ! -s conftest.err 7457 } && test -s conftest.$ac_objext; then 7458 ac_header_compiler=yes 7459 else 7460 $as_echo "$as_me: failed program was:" >&5 7461 sed 's/^/| /' conftest.$ac_ext >&5 7462 7463 ac_header_compiler=no 7464 fi 7465 7466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7467 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7468 $as_echo "$ac_header_compiler" >&6; } 7469 7470 # Is the header present? 7471 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7472 $as_echo_n "checking $ac_header presence... " >&6; } 7473 cat >conftest.$ac_ext <<_ACEOF 7474 /* confdefs.h. */ 7475 _ACEOF 7476 cat confdefs.h >>conftest.$ac_ext 7477 cat >>conftest.$ac_ext <<_ACEOF 7478 /* end confdefs.h. */ 7479 #include <$ac_header> 7480 _ACEOF 7481 if { (ac_try="$ac_cpp conftest.$ac_ext" 7482 case "(($ac_try" in 7483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7484 *) ac_try_echo=$ac_try;; 7485 esac 7486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7487 $as_echo "$ac_try_echo") >&5 7488 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7489 ac_status=$? 7490 grep -v '^ *+' conftest.er1 >conftest.err 7491 rm -f conftest.er1 7492 cat conftest.err >&5 7493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7494 (exit $ac_status); } >/dev/null && { 7495 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7496 test ! -s conftest.err 7497 }; then 7498 ac_header_preproc=yes 7499 else 7500 $as_echo "$as_me: failed program was:" >&5 7501 sed 's/^/| /' conftest.$ac_ext >&5 7502 7503 ac_header_preproc=no 7504 fi 7505 7506 rm -f conftest.err conftest.$ac_ext 7507 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7508 $as_echo "$ac_header_preproc" >&6; } 7509 7510 # So? What about this header? 7511 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7512 yes:no: ) 7513 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7514 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7515 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7516 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7517 ac_header_preproc=yes 7518 ;; 7519 no:yes:* ) 7520 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7521 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7522 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7523 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7524 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7525 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7526 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7527 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7528 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7529 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7530 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7531 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7532 ( cat <<\_ASBOX 7533 ## ----------------------------------- ## 7534 ## Report this to rappture@nanohub.org ## 7535 ## ----------------------------------- ## 7536 _ASBOX 7537 ) | sed "s/^/$as_me: WARNING: /" >&2 7538 ;; 7539 esac 7540 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7541 $as_echo_n "checking for $ac_header... " >&6; } 7542 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7543 $as_echo_n "(cached) " >&6 7544 else 7545 eval "$as_ac_Header=\$ac_header_preproc" 7546 fi 7547 ac_res=`eval 'as_val=${'$as_ac_Header'} 7548 $as_echo "$as_val"'` 7549 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7550 $as_echo "$ac_res" >&6; } 7551 7552 fi 7553 as_val=`eval 'as_val=${'$as_ac_Header'} 7554 $as_echo "$as_val"'` 7555 if test "x$as_val" = x""yes; then 5243 do : 5244 ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default" 5245 if test "x$ac_cv_header_stack" = xyes; then : 7556 5246 cat >>confdefs.h <<_ACEOF 7557 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`17558 _ACEOF 7559 7560 else 7561 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55247 #define HAVE_STACK 1 5248 _ACEOF 5249 5250 else 5251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 7562 5252 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7563 5253 fi … … 7565 5255 done 7566 5256 7567 7568 5257 for ac_header in string 7569 do 7570 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7571 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7572 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7573 $as_echo_n "checking for $ac_header... " >&6; } 7574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7575 $as_echo_n "(cached) " >&6 7576 fi 7577 ac_res=`eval 'as_val=${'$as_ac_Header'} 7578 $as_echo "$as_val"'` 7579 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7580 $as_echo "$ac_res" >&6; } 7581 else 7582 # Is the header compilable? 7583 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7584 $as_echo_n "checking $ac_header usability... " >&6; } 7585 cat >conftest.$ac_ext <<_ACEOF 7586 /* confdefs.h. */ 7587 _ACEOF 7588 cat confdefs.h >>conftest.$ac_ext 7589 cat >>conftest.$ac_ext <<_ACEOF 7590 /* end confdefs.h. */ 7591 $ac_includes_default 7592 #include <$ac_header> 7593 _ACEOF 7594 rm -f conftest.$ac_objext 7595 if { (ac_try="$ac_compile" 7596 case "(($ac_try" in 7597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7598 *) ac_try_echo=$ac_try;; 7599 esac 7600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7601 $as_echo "$ac_try_echo") >&5 7602 (eval "$ac_compile") 2>conftest.er1 7603 ac_status=$? 7604 grep -v '^ *+' conftest.er1 >conftest.err 7605 rm -f conftest.er1 7606 cat conftest.err >&5 7607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7608 (exit $ac_status); } && { 7609 test -z "$ac_cxx_werror_flag" || 7610 test ! -s conftest.err 7611 } && test -s conftest.$ac_objext; then 7612 ac_header_compiler=yes 7613 else 7614 $as_echo "$as_me: failed program was:" >&5 7615 sed 's/^/| /' conftest.$ac_ext >&5 7616 7617 ac_header_compiler=no 7618 fi 7619 7620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7621 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7622 $as_echo "$ac_header_compiler" >&6; } 7623 7624 # Is the header present? 7625 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7626 $as_echo_n "checking $ac_header presence... " >&6; } 7627 cat >conftest.$ac_ext <<_ACEOF 7628 /* confdefs.h. */ 7629 _ACEOF 7630 cat confdefs.h >>conftest.$ac_ext 7631 cat >>conftest.$ac_ext <<_ACEOF 7632 /* end confdefs.h. */ 7633 #include <$ac_header> 7634 _ACEOF 7635 if { (ac_try="$ac_cpp conftest.$ac_ext" 7636 case "(($ac_try" in 7637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7638 *) ac_try_echo=$ac_try;; 7639 esac 7640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7641 $as_echo "$ac_try_echo") >&5 7642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7643 ac_status=$? 7644 grep -v '^ *+' conftest.er1 >conftest.err 7645 rm -f conftest.er1 7646 cat conftest.err >&5 7647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7648 (exit $ac_status); } >/dev/null && { 7649 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7650 test ! -s conftest.err 7651 }; then 7652 ac_header_preproc=yes 7653 else 7654 $as_echo "$as_me: failed program was:" >&5 7655 sed 's/^/| /' conftest.$ac_ext >&5 7656 7657 ac_header_preproc=no 7658 fi 7659 7660 rm -f conftest.err conftest.$ac_ext 7661 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7662 $as_echo "$ac_header_preproc" >&6; } 7663 7664 # So? What about this header? 7665 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7666 yes:no: ) 7667 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7668 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7669 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7670 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7671 ac_header_preproc=yes 7672 ;; 7673 no:yes:* ) 7674 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7675 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7676 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7677 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7678 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7679 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7680 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7681 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7682 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7683 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7684 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7685 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7686 ( cat <<\_ASBOX 7687 ## ----------------------------------- ## 7688 ## Report this to rappture@nanohub.org ## 7689 ## ----------------------------------- ## 7690 _ASBOX 7691 ) | sed "s/^/$as_me: WARNING: /" >&2 7692 ;; 7693 esac 7694 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7695 $as_echo_n "checking for $ac_header... " >&6; } 7696 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7697 $as_echo_n "(cached) " >&6 7698 else 7699 eval "$as_ac_Header=\$ac_header_preproc" 7700 fi 7701 ac_res=`eval 'as_val=${'$as_ac_Header'} 7702 $as_echo "$as_val"'` 7703 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7704 $as_echo "$ac_res" >&6; } 7705 7706 fi 7707 as_val=`eval 'as_val=${'$as_ac_Header'} 7708 $as_echo "$as_val"'` 7709 if test "x$as_val" = x""yes; then 5258 do : 5259 ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default" 5260 if test "x$ac_cv_header_string" = xyes; then : 7710 5261 cat >>confdefs.h <<_ACEOF 7711 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`17712 _ACEOF 7713 7714 else 7715 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55262 #define HAVE_STRING 1 5263 _ACEOF 5264 5265 else 5266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 7716 5267 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7717 5268 fi … … 7719 5270 done 7720 5271 7721 7722 5272 for ac_header in vector 7723 do 7724 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7725 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7726 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7727 $as_echo_n "checking for $ac_header... " >&6; } 7728 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7729 $as_echo_n "(cached) " >&6 7730 fi 7731 ac_res=`eval 'as_val=${'$as_ac_Header'} 7732 $as_echo "$as_val"'` 7733 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7734 $as_echo "$ac_res" >&6; } 7735 else 7736 # Is the header compilable? 7737 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7738 $as_echo_n "checking $ac_header usability... " >&6; } 7739 cat >conftest.$ac_ext <<_ACEOF 7740 /* confdefs.h. */ 7741 _ACEOF 7742 cat confdefs.h >>conftest.$ac_ext 7743 cat >>conftest.$ac_ext <<_ACEOF 7744 /* end confdefs.h. */ 7745 $ac_includes_default 7746 #include <$ac_header> 7747 _ACEOF 7748 rm -f conftest.$ac_objext 7749 if { (ac_try="$ac_compile" 7750 case "(($ac_try" in 7751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7752 *) ac_try_echo=$ac_try;; 7753 esac 7754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7755 $as_echo "$ac_try_echo") >&5 7756 (eval "$ac_compile") 2>conftest.er1 7757 ac_status=$? 7758 grep -v '^ *+' conftest.er1 >conftest.err 7759 rm -f conftest.er1 7760 cat conftest.err >&5 7761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7762 (exit $ac_status); } && { 7763 test -z "$ac_cxx_werror_flag" || 7764 test ! -s conftest.err 7765 } && test -s conftest.$ac_objext; then 7766 ac_header_compiler=yes 7767 else 7768 $as_echo "$as_me: failed program was:" >&5 7769 sed 's/^/| /' conftest.$ac_ext >&5 7770 7771 ac_header_compiler=no 7772 fi 7773 7774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7775 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7776 $as_echo "$ac_header_compiler" >&6; } 7777 7778 # Is the header present? 7779 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7780 $as_echo_n "checking $ac_header presence... " >&6; } 7781 cat >conftest.$ac_ext <<_ACEOF 7782 /* confdefs.h. */ 7783 _ACEOF 7784 cat confdefs.h >>conftest.$ac_ext 7785 cat >>conftest.$ac_ext <<_ACEOF 7786 /* end confdefs.h. */ 7787 #include <$ac_header> 7788 _ACEOF 7789 if { (ac_try="$ac_cpp conftest.$ac_ext" 7790 case "(($ac_try" in 7791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7792 *) ac_try_echo=$ac_try;; 7793 esac 7794 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7795 $as_echo "$ac_try_echo") >&5 7796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7797 ac_status=$? 7798 grep -v '^ *+' conftest.er1 >conftest.err 7799 rm -f conftest.er1 7800 cat conftest.err >&5 7801 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7802 (exit $ac_status); } >/dev/null && { 7803 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7804 test ! -s conftest.err 7805 }; then 7806 ac_header_preproc=yes 7807 else 7808 $as_echo "$as_me: failed program was:" >&5 7809 sed 's/^/| /' conftest.$ac_ext >&5 7810 7811 ac_header_preproc=no 7812 fi 7813 7814 rm -f conftest.err conftest.$ac_ext 7815 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7816 $as_echo "$ac_header_preproc" >&6; } 7817 7818 # So? What about this header? 7819 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7820 yes:no: ) 7821 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7822 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7823 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7824 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7825 ac_header_preproc=yes 7826 ;; 7827 no:yes:* ) 7828 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7829 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7830 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7831 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7832 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7833 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7834 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7835 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7836 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7837 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7838 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7839 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7840 ( cat <<\_ASBOX 7841 ## ----------------------------------- ## 7842 ## Report this to rappture@nanohub.org ## 7843 ## ----------------------------------- ## 7844 _ASBOX 7845 ) | sed "s/^/$as_me: WARNING: /" >&2 7846 ;; 7847 esac 7848 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7849 $as_echo_n "checking for $ac_header... " >&6; } 7850 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7851 $as_echo_n "(cached) " >&6 7852 else 7853 eval "$as_ac_Header=\$ac_header_preproc" 7854 fi 7855 ac_res=`eval 'as_val=${'$as_ac_Header'} 7856 $as_echo "$as_val"'` 7857 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7858 $as_echo "$ac_res" >&6; } 7859 7860 fi 7861 as_val=`eval 'as_val=${'$as_ac_Header'} 7862 $as_echo "$as_val"'` 7863 if test "x$as_val" = x""yes; then 5273 do : 5274 ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default" 5275 if test "x$ac_cv_header_vector" = xyes; then : 7864 5276 cat >>confdefs.h <<_ACEOF 7865 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`17866 _ACEOF 7867 7868 else 7869 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55277 #define HAVE_VECTOR 1 5278 _ACEOF 5279 5280 else 5281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 7870 5282 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7871 5283 fi … … 7874 5286 7875 5287 7876 7877 5288 for ac_header in assert.h 7878 do 7879 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7881 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7882 $as_echo_n "checking for $ac_header... " >&6; } 7883 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7884 $as_echo_n "(cached) " >&6 7885 fi 7886 ac_res=`eval 'as_val=${'$as_ac_Header'} 7887 $as_echo "$as_val"'` 7888 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7889 $as_echo "$ac_res" >&6; } 7890 else 7891 # Is the header compilable? 7892 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7893 $as_echo_n "checking $ac_header usability... " >&6; } 7894 cat >conftest.$ac_ext <<_ACEOF 7895 /* confdefs.h. */ 7896 _ACEOF 7897 cat confdefs.h >>conftest.$ac_ext 7898 cat >>conftest.$ac_ext <<_ACEOF 7899 /* end confdefs.h. */ 7900 $ac_includes_default 7901 #include <$ac_header> 7902 _ACEOF 7903 rm -f conftest.$ac_objext 7904 if { (ac_try="$ac_compile" 7905 case "(($ac_try" in 7906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7907 *) ac_try_echo=$ac_try;; 7908 esac 7909 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7910 $as_echo "$ac_try_echo") >&5 7911 (eval "$ac_compile") 2>conftest.er1 7912 ac_status=$? 7913 grep -v '^ *+' conftest.er1 >conftest.err 7914 rm -f conftest.er1 7915 cat conftest.err >&5 7916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7917 (exit $ac_status); } && { 7918 test -z "$ac_cxx_werror_flag" || 7919 test ! -s conftest.err 7920 } && test -s conftest.$ac_objext; then 7921 ac_header_compiler=yes 7922 else 7923 $as_echo "$as_me: failed program was:" >&5 7924 sed 's/^/| /' conftest.$ac_ext >&5 7925 7926 ac_header_compiler=no 7927 fi 7928 7929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7930 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7931 $as_echo "$ac_header_compiler" >&6; } 7932 7933 # Is the header present? 7934 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7935 $as_echo_n "checking $ac_header presence... " >&6; } 7936 cat >conftest.$ac_ext <<_ACEOF 7937 /* confdefs.h. */ 7938 _ACEOF 7939 cat confdefs.h >>conftest.$ac_ext 7940 cat >>conftest.$ac_ext <<_ACEOF 7941 /* end confdefs.h. */ 7942 #include <$ac_header> 7943 _ACEOF 7944 if { (ac_try="$ac_cpp conftest.$ac_ext" 7945 case "(($ac_try" in 7946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7947 *) ac_try_echo=$ac_try;; 7948 esac 7949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7950 $as_echo "$ac_try_echo") >&5 7951 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7952 ac_status=$? 7953 grep -v '^ *+' conftest.er1 >conftest.err 7954 rm -f conftest.er1 7955 cat conftest.err >&5 7956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7957 (exit $ac_status); } >/dev/null && { 7958 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7959 test ! -s conftest.err 7960 }; then 7961 ac_header_preproc=yes 7962 else 7963 $as_echo "$as_me: failed program was:" >&5 7964 sed 's/^/| /' conftest.$ac_ext >&5 7965 7966 ac_header_preproc=no 7967 fi 7968 7969 rm -f conftest.err conftest.$ac_ext 7970 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7971 $as_echo "$ac_header_preproc" >&6; } 7972 7973 # So? What about this header? 7974 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7975 yes:no: ) 7976 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7977 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7978 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7979 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7980 ac_header_preproc=yes 7981 ;; 7982 no:yes:* ) 7983 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7984 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7985 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7986 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7987 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7988 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7989 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7990 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7991 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7992 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7993 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7994 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7995 ( cat <<\_ASBOX 7996 ## ----------------------------------- ## 7997 ## Report this to rappture@nanohub.org ## 7998 ## ----------------------------------- ## 7999 _ASBOX 8000 ) | sed "s/^/$as_me: WARNING: /" >&2 8001 ;; 8002 esac 8003 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8004 $as_echo_n "checking for $ac_header... " >&6; } 8005 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8006 $as_echo_n "(cached) " >&6 8007 else 8008 eval "$as_ac_Header=\$ac_header_preproc" 8009 fi 8010 ac_res=`eval 'as_val=${'$as_ac_Header'} 8011 $as_echo "$as_val"'` 8012 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8013 $as_echo "$ac_res" >&6; } 8014 8015 fi 8016 as_val=`eval 'as_val=${'$as_ac_Header'} 8017 $as_echo "$as_val"'` 8018 if test "x$as_val" = x""yes; then 5289 do : 5290 ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 5291 if test "x$ac_cv_header_assert_h" = xyes; then : 8019 5292 cat >>confdefs.h <<_ACEOF 8020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18021 _ACEOF 8022 8023 else 8024 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55293 #define HAVE_ASSERT_H 1 5294 _ACEOF 5295 5296 else 5297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 8025 5298 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8026 5299 fi … … 8028 5301 done 8029 5302 8030 8031 5303 for ac_header in ctype.h 8032 do 8033 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8034 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8035 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8036 $as_echo_n "checking for $ac_header... " >&6; } 8037 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8038 $as_echo_n "(cached) " >&6 8039 fi 8040 ac_res=`eval 'as_val=${'$as_ac_Header'} 8041 $as_echo "$as_val"'` 8042 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8043 $as_echo "$ac_res" >&6; } 8044 else 8045 # Is the header compilable? 8046 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8047 $as_echo_n "checking $ac_header usability... " >&6; } 8048 cat >conftest.$ac_ext <<_ACEOF 8049 /* confdefs.h. */ 8050 _ACEOF 8051 cat confdefs.h >>conftest.$ac_ext 8052 cat >>conftest.$ac_ext <<_ACEOF 8053 /* end confdefs.h. */ 8054 $ac_includes_default 8055 #include <$ac_header> 8056 _ACEOF 8057 rm -f conftest.$ac_objext 8058 if { (ac_try="$ac_compile" 8059 case "(($ac_try" in 8060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8061 *) ac_try_echo=$ac_try;; 8062 esac 8063 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8064 $as_echo "$ac_try_echo") >&5 8065 (eval "$ac_compile") 2>conftest.er1 8066 ac_status=$? 8067 grep -v '^ *+' conftest.er1 >conftest.err 8068 rm -f conftest.er1 8069 cat conftest.err >&5 8070 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8071 (exit $ac_status); } && { 8072 test -z "$ac_cxx_werror_flag" || 8073 test ! -s conftest.err 8074 } && test -s conftest.$ac_objext; then 8075 ac_header_compiler=yes 8076 else 8077 $as_echo "$as_me: failed program was:" >&5 8078 sed 's/^/| /' conftest.$ac_ext >&5 8079 8080 ac_header_compiler=no 8081 fi 8082 8083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8084 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8085 $as_echo "$ac_header_compiler" >&6; } 8086 8087 # Is the header present? 8088 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8089 $as_echo_n "checking $ac_header presence... " >&6; } 8090 cat >conftest.$ac_ext <<_ACEOF 8091 /* confdefs.h. */ 8092 _ACEOF 8093 cat confdefs.h >>conftest.$ac_ext 8094 cat >>conftest.$ac_ext <<_ACEOF 8095 /* end confdefs.h. */ 8096 #include <$ac_header> 8097 _ACEOF 8098 if { (ac_try="$ac_cpp conftest.$ac_ext" 8099 case "(($ac_try" in 8100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8101 *) ac_try_echo=$ac_try;; 8102 esac 8103 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8104 $as_echo "$ac_try_echo") >&5 8105 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8106 ac_status=$? 8107 grep -v '^ *+' conftest.er1 >conftest.err 8108 rm -f conftest.er1 8109 cat conftest.err >&5 8110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8111 (exit $ac_status); } >/dev/null && { 8112 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8113 test ! -s conftest.err 8114 }; then 8115 ac_header_preproc=yes 8116 else 8117 $as_echo "$as_me: failed program was:" >&5 8118 sed 's/^/| /' conftest.$ac_ext >&5 8119 8120 ac_header_preproc=no 8121 fi 8122 8123 rm -f conftest.err conftest.$ac_ext 8124 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8125 $as_echo "$ac_header_preproc" >&6; } 8126 8127 # So? What about this header? 8128 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8129 yes:no: ) 8130 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8131 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8132 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8133 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8134 ac_header_preproc=yes 8135 ;; 8136 no:yes:* ) 8137 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8138 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8139 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8140 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8141 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8142 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8143 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8144 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8145 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8146 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8147 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8148 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8149 ( cat <<\_ASBOX 8150 ## ----------------------------------- ## 8151 ## Report this to rappture@nanohub.org ## 8152 ## ----------------------------------- ## 8153 _ASBOX 8154 ) | sed "s/^/$as_me: WARNING: /" >&2 8155 ;; 8156 esac 8157 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8158 $as_echo_n "checking for $ac_header... " >&6; } 8159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8160 $as_echo_n "(cached) " >&6 8161 else 8162 eval "$as_ac_Header=\$ac_header_preproc" 8163 fi 8164 ac_res=`eval 'as_val=${'$as_ac_Header'} 8165 $as_echo "$as_val"'` 8166 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8167 $as_echo "$ac_res" >&6; } 8168 8169 fi 8170 as_val=`eval 'as_val=${'$as_ac_Header'} 8171 $as_echo "$as_val"'` 8172 if test "x$as_val" = x""yes; then 5304 do : 5305 ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 5306 if test "x$ac_cv_header_ctype_h" = xyes; then : 8173 5307 cat >>confdefs.h <<_ACEOF 8174 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18175 _ACEOF 8176 8177 else 8178 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55308 #define HAVE_CTYPE_H 1 5309 _ACEOF 5310 5311 else 5312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 8179 5313 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8180 5314 fi … … 8182 5316 done 8183 5317 8184 8185 5318 for ac_header in errno.h 8186 do 8187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8189 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8190 $as_echo_n "checking for $ac_header... " >&6; } 8191 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8192 $as_echo_n "(cached) " >&6 8193 fi 8194 ac_res=`eval 'as_val=${'$as_ac_Header'} 8195 $as_echo "$as_val"'` 8196 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8197 $as_echo "$ac_res" >&6; } 8198 else 8199 # Is the header compilable? 8200 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8201 $as_echo_n "checking $ac_header usability... " >&6; } 8202 cat >conftest.$ac_ext <<_ACEOF 8203 /* confdefs.h. */ 8204 _ACEOF 8205 cat confdefs.h >>conftest.$ac_ext 8206 cat >>conftest.$ac_ext <<_ACEOF 8207 /* end confdefs.h. */ 8208 $ac_includes_default 8209 #include <$ac_header> 8210 _ACEOF 8211 rm -f conftest.$ac_objext 8212 if { (ac_try="$ac_compile" 8213 case "(($ac_try" in 8214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8215 *) ac_try_echo=$ac_try;; 8216 esac 8217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8218 $as_echo "$ac_try_echo") >&5 8219 (eval "$ac_compile") 2>conftest.er1 8220 ac_status=$? 8221 grep -v '^ *+' conftest.er1 >conftest.err 8222 rm -f conftest.er1 8223 cat conftest.err >&5 8224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8225 (exit $ac_status); } && { 8226 test -z "$ac_cxx_werror_flag" || 8227 test ! -s conftest.err 8228 } && test -s conftest.$ac_objext; then 8229 ac_header_compiler=yes 8230 else 8231 $as_echo "$as_me: failed program was:" >&5 8232 sed 's/^/| /' conftest.$ac_ext >&5 8233 8234 ac_header_compiler=no 8235 fi 8236 8237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8238 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8239 $as_echo "$ac_header_compiler" >&6; } 8240 8241 # Is the header present? 8242 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8243 $as_echo_n "checking $ac_header presence... " >&6; } 8244 cat >conftest.$ac_ext <<_ACEOF 8245 /* confdefs.h. */ 8246 _ACEOF 8247 cat confdefs.h >>conftest.$ac_ext 8248 cat >>conftest.$ac_ext <<_ACEOF 8249 /* end confdefs.h. */ 8250 #include <$ac_header> 8251 _ACEOF 8252 if { (ac_try="$ac_cpp conftest.$ac_ext" 8253 case "(($ac_try" in 8254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8255 *) ac_try_echo=$ac_try;; 8256 esac 8257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8258 $as_echo "$ac_try_echo") >&5 8259 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8260 ac_status=$? 8261 grep -v '^ *+' conftest.er1 >conftest.err 8262 rm -f conftest.er1 8263 cat conftest.err >&5 8264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8265 (exit $ac_status); } >/dev/null && { 8266 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8267 test ! -s conftest.err 8268 }; then 8269 ac_header_preproc=yes 8270 else 8271 $as_echo "$as_me: failed program was:" >&5 8272 sed 's/^/| /' conftest.$ac_ext >&5 8273 8274 ac_header_preproc=no 8275 fi 8276 8277 rm -f conftest.err conftest.$ac_ext 8278 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8279 $as_echo "$ac_header_preproc" >&6; } 8280 8281 # So? What about this header? 8282 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8283 yes:no: ) 8284 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8285 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8286 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8287 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8288 ac_header_preproc=yes 8289 ;; 8290 no:yes:* ) 8291 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8292 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8293 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8294 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8295 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8296 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8298 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8299 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8300 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8301 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8302 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8303 ( cat <<\_ASBOX 8304 ## ----------------------------------- ## 8305 ## Report this to rappture@nanohub.org ## 8306 ## ----------------------------------- ## 8307 _ASBOX 8308 ) | sed "s/^/$as_me: WARNING: /" >&2 8309 ;; 8310 esac 8311 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8312 $as_echo_n "checking for $ac_header... " >&6; } 8313 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8314 $as_echo_n "(cached) " >&6 8315 else 8316 eval "$as_ac_Header=\$ac_header_preproc" 8317 fi 8318 ac_res=`eval 'as_val=${'$as_ac_Header'} 8319 $as_echo "$as_val"'` 8320 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8321 $as_echo "$ac_res" >&6; } 8322 8323 fi 8324 as_val=`eval 'as_val=${'$as_ac_Header'} 8325 $as_echo "$as_val"'` 8326 if test "x$as_val" = x""yes; then 5319 do : 5320 ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 5321 if test "x$ac_cv_header_errno_h" = xyes; then : 8327 5322 cat >>confdefs.h <<_ACEOF 8328 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18329 _ACEOF 8330 8331 else 8332 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55323 #define HAVE_ERRNO_H 1 5324 _ACEOF 5325 5326 else 5327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 8333 5328 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8334 5329 fi … … 8336 5331 done 8337 5332 8338 8339 5333 for ac_header in limits.h 8340 do 8341 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8342 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8343 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8344 $as_echo_n "checking for $ac_header... " >&6; } 8345 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8346 $as_echo_n "(cached) " >&6 8347 fi 8348 ac_res=`eval 'as_val=${'$as_ac_Header'} 8349 $as_echo "$as_val"'` 8350 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8351 $as_echo "$ac_res" >&6; } 8352 else 8353 # Is the header compilable? 8354 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8355 $as_echo_n "checking $ac_header usability... " >&6; } 8356 cat >conftest.$ac_ext <<_ACEOF 8357 /* confdefs.h. */ 8358 _ACEOF 8359 cat confdefs.h >>conftest.$ac_ext 8360 cat >>conftest.$ac_ext <<_ACEOF 8361 /* end confdefs.h. */ 8362 $ac_includes_default 8363 #include <$ac_header> 8364 _ACEOF 8365 rm -f conftest.$ac_objext 8366 if { (ac_try="$ac_compile" 8367 case "(($ac_try" in 8368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8369 *) ac_try_echo=$ac_try;; 8370 esac 8371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8372 $as_echo "$ac_try_echo") >&5 8373 (eval "$ac_compile") 2>conftest.er1 8374 ac_status=$? 8375 grep -v '^ *+' conftest.er1 >conftest.err 8376 rm -f conftest.er1 8377 cat conftest.err >&5 8378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8379 (exit $ac_status); } && { 8380 test -z "$ac_cxx_werror_flag" || 8381 test ! -s conftest.err 8382 } && test -s conftest.$ac_objext; then 8383 ac_header_compiler=yes 8384 else 8385 $as_echo "$as_me: failed program was:" >&5 8386 sed 's/^/| /' conftest.$ac_ext >&5 8387 8388 ac_header_compiler=no 8389 fi 8390 8391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8392 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8393 $as_echo "$ac_header_compiler" >&6; } 8394 8395 # Is the header present? 8396 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8397 $as_echo_n "checking $ac_header presence... " >&6; } 8398 cat >conftest.$ac_ext <<_ACEOF 8399 /* confdefs.h. */ 8400 _ACEOF 8401 cat confdefs.h >>conftest.$ac_ext 8402 cat >>conftest.$ac_ext <<_ACEOF 8403 /* end confdefs.h. */ 8404 #include <$ac_header> 8405 _ACEOF 8406 if { (ac_try="$ac_cpp conftest.$ac_ext" 8407 case "(($ac_try" in 8408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8409 *) ac_try_echo=$ac_try;; 8410 esac 8411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8412 $as_echo "$ac_try_echo") >&5 8413 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8414 ac_status=$? 8415 grep -v '^ *+' conftest.er1 >conftest.err 8416 rm -f conftest.er1 8417 cat conftest.err >&5 8418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8419 (exit $ac_status); } >/dev/null && { 8420 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8421 test ! -s conftest.err 8422 }; then 8423 ac_header_preproc=yes 8424 else 8425 $as_echo "$as_me: failed program was:" >&5 8426 sed 's/^/| /' conftest.$ac_ext >&5 8427 8428 ac_header_preproc=no 8429 fi 8430 8431 rm -f conftest.err conftest.$ac_ext 8432 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8433 $as_echo "$ac_header_preproc" >&6; } 8434 8435 # So? What about this header? 8436 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8437 yes:no: ) 8438 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8439 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8440 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8441 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8442 ac_header_preproc=yes 8443 ;; 8444 no:yes:* ) 8445 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8446 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8447 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8448 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8449 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8450 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8451 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8452 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8453 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8454 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8455 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8456 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8457 ( cat <<\_ASBOX 8458 ## ----------------------------------- ## 8459 ## Report this to rappture@nanohub.org ## 8460 ## ----------------------------------- ## 8461 _ASBOX 8462 ) | sed "s/^/$as_me: WARNING: /" >&2 8463 ;; 8464 esac 8465 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8466 $as_echo_n "checking for $ac_header... " >&6; } 8467 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8468 $as_echo_n "(cached) " >&6 8469 else 8470 eval "$as_ac_Header=\$ac_header_preproc" 8471 fi 8472 ac_res=`eval 'as_val=${'$as_ac_Header'} 8473 $as_echo "$as_val"'` 8474 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8475 $as_echo "$ac_res" >&6; } 8476 8477 fi 8478 as_val=`eval 'as_val=${'$as_ac_Header'} 8479 $as_echo "$as_val"'` 8480 if test "x$as_val" = x""yes; then 5334 do : 5335 ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 5336 if test "x$ac_cv_header_limits_h" = xyes; then : 8481 5337 cat >>confdefs.h <<_ACEOF 8482 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18483 _ACEOF 8484 8485 else 8486 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55338 #define HAVE_LIMITS_H 1 5339 _ACEOF 5340 5341 else 5342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 8487 5343 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8488 5344 fi … … 8490 5346 done 8491 5347 8492 8493 5348 for ac_header in string.h 8494 do 8495 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8496 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8497 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8498 $as_echo_n "checking for $ac_header... " >&6; } 8499 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8500 $as_echo_n "(cached) " >&6 8501 fi 8502 ac_res=`eval 'as_val=${'$as_ac_Header'} 8503 $as_echo "$as_val"'` 8504 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8505 $as_echo "$ac_res" >&6; } 8506 else 8507 # Is the header compilable? 8508 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8509 $as_echo_n "checking $ac_header usability... " >&6; } 8510 cat >conftest.$ac_ext <<_ACEOF 8511 /* confdefs.h. */ 8512 _ACEOF 8513 cat confdefs.h >>conftest.$ac_ext 8514 cat >>conftest.$ac_ext <<_ACEOF 8515 /* end confdefs.h. */ 8516 $ac_includes_default 8517 #include <$ac_header> 8518 _ACEOF 8519 rm -f conftest.$ac_objext 8520 if { (ac_try="$ac_compile" 8521 case "(($ac_try" in 8522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8523 *) ac_try_echo=$ac_try;; 8524 esac 8525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8526 $as_echo "$ac_try_echo") >&5 8527 (eval "$ac_compile") 2>conftest.er1 8528 ac_status=$? 8529 grep -v '^ *+' conftest.er1 >conftest.err 8530 rm -f conftest.er1 8531 cat conftest.err >&5 8532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8533 (exit $ac_status); } && { 8534 test -z "$ac_cxx_werror_flag" || 8535 test ! -s conftest.err 8536 } && test -s conftest.$ac_objext; then 8537 ac_header_compiler=yes 8538 else 8539 $as_echo "$as_me: failed program was:" >&5 8540 sed 's/^/| /' conftest.$ac_ext >&5 8541 8542 ac_header_compiler=no 8543 fi 8544 8545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8546 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8547 $as_echo "$ac_header_compiler" >&6; } 8548 8549 # Is the header present? 8550 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8551 $as_echo_n "checking $ac_header presence... " >&6; } 8552 cat >conftest.$ac_ext <<_ACEOF 8553 /* confdefs.h. */ 8554 _ACEOF 8555 cat confdefs.h >>conftest.$ac_ext 8556 cat >>conftest.$ac_ext <<_ACEOF 8557 /* end confdefs.h. */ 8558 #include <$ac_header> 8559 _ACEOF 8560 if { (ac_try="$ac_cpp conftest.$ac_ext" 8561 case "(($ac_try" in 8562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8563 *) ac_try_echo=$ac_try;; 8564 esac 8565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8566 $as_echo "$ac_try_echo") >&5 8567 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8568 ac_status=$? 8569 grep -v '^ *+' conftest.er1 >conftest.err 8570 rm -f conftest.er1 8571 cat conftest.err >&5 8572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8573 (exit $ac_status); } >/dev/null && { 8574 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8575 test ! -s conftest.err 8576 }; then 8577 ac_header_preproc=yes 8578 else 8579 $as_echo "$as_me: failed program was:" >&5 8580 sed 's/^/| /' conftest.$ac_ext >&5 8581 8582 ac_header_preproc=no 8583 fi 8584 8585 rm -f conftest.err conftest.$ac_ext 8586 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8587 $as_echo "$ac_header_preproc" >&6; } 8588 8589 # So? What about this header? 8590 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8591 yes:no: ) 8592 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8593 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8594 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8595 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8596 ac_header_preproc=yes 8597 ;; 8598 no:yes:* ) 8599 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8600 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8601 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8602 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8603 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8604 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8605 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8606 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8607 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8608 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8609 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8610 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8611 ( cat <<\_ASBOX 8612 ## ----------------------------------- ## 8613 ## Report this to rappture@nanohub.org ## 8614 ## ----------------------------------- ## 8615 _ASBOX 8616 ) | sed "s/^/$as_me: WARNING: /" >&2 8617 ;; 8618 esac 8619 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8620 $as_echo_n "checking for $ac_header... " >&6; } 8621 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8622 $as_echo_n "(cached) " >&6 8623 else 8624 eval "$as_ac_Header=\$ac_header_preproc" 8625 fi 8626 ac_res=`eval 'as_val=${'$as_ac_Header'} 8627 $as_echo "$as_val"'` 8628 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8629 $as_echo "$ac_res" >&6; } 8630 8631 fi 8632 as_val=`eval 'as_val=${'$as_ac_Header'} 8633 $as_echo "$as_val"'` 8634 if test "x$as_val" = x""yes; then 5349 do : 5350 ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 5351 if test "x$ac_cv_header_string_h" = xyes; then : 8635 5352 cat >>confdefs.h <<_ACEOF 8636 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18637 _ACEOF 8638 8639 else 8640 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55353 #define HAVE_STRING_H 1 5354 _ACEOF 5355 5356 else 5357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 8641 5358 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8642 5359 fi … … 8644 5361 done 8645 5362 8646 8647 5363 for ac_header in stdlib.h 8648 do 8649 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8651 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8652 $as_echo_n "checking for $ac_header... " >&6; } 8653 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8654 $as_echo_n "(cached) " >&6 8655 fi 8656 ac_res=`eval 'as_val=${'$as_ac_Header'} 8657 $as_echo "$as_val"'` 8658 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8659 $as_echo "$ac_res" >&6; } 8660 else 8661 # Is the header compilable? 8662 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8663 $as_echo_n "checking $ac_header usability... " >&6; } 8664 cat >conftest.$ac_ext <<_ACEOF 8665 /* confdefs.h. */ 8666 _ACEOF 8667 cat confdefs.h >>conftest.$ac_ext 8668 cat >>conftest.$ac_ext <<_ACEOF 8669 /* end confdefs.h. */ 8670 $ac_includes_default 8671 #include <$ac_header> 8672 _ACEOF 8673 rm -f conftest.$ac_objext 8674 if { (ac_try="$ac_compile" 8675 case "(($ac_try" in 8676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8677 *) ac_try_echo=$ac_try;; 8678 esac 8679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8680 $as_echo "$ac_try_echo") >&5 8681 (eval "$ac_compile") 2>conftest.er1 8682 ac_status=$? 8683 grep -v '^ *+' conftest.er1 >conftest.err 8684 rm -f conftest.er1 8685 cat conftest.err >&5 8686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8687 (exit $ac_status); } && { 8688 test -z "$ac_cxx_werror_flag" || 8689 test ! -s conftest.err 8690 } && test -s conftest.$ac_objext; then 8691 ac_header_compiler=yes 8692 else 8693 $as_echo "$as_me: failed program was:" >&5 8694 sed 's/^/| /' conftest.$ac_ext >&5 8695 8696 ac_header_compiler=no 8697 fi 8698 8699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8700 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8701 $as_echo "$ac_header_compiler" >&6; } 8702 8703 # Is the header present? 8704 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8705 $as_echo_n "checking $ac_header presence... " >&6; } 8706 cat >conftest.$ac_ext <<_ACEOF 8707 /* confdefs.h. */ 8708 _ACEOF 8709 cat confdefs.h >>conftest.$ac_ext 8710 cat >>conftest.$ac_ext <<_ACEOF 8711 /* end confdefs.h. */ 8712 #include <$ac_header> 8713 _ACEOF 8714 if { (ac_try="$ac_cpp conftest.$ac_ext" 8715 case "(($ac_try" in 8716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8717 *) ac_try_echo=$ac_try;; 8718 esac 8719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8720 $as_echo "$ac_try_echo") >&5 8721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8722 ac_status=$? 8723 grep -v '^ *+' conftest.er1 >conftest.err 8724 rm -f conftest.er1 8725 cat conftest.err >&5 8726 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8727 (exit $ac_status); } >/dev/null && { 8728 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8729 test ! -s conftest.err 8730 }; then 8731 ac_header_preproc=yes 8732 else 8733 $as_echo "$as_me: failed program was:" >&5 8734 sed 's/^/| /' conftest.$ac_ext >&5 8735 8736 ac_header_preproc=no 8737 fi 8738 8739 rm -f conftest.err conftest.$ac_ext 8740 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8741 $as_echo "$ac_header_preproc" >&6; } 8742 8743 # So? What about this header? 8744 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8745 yes:no: ) 8746 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8747 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8748 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8749 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8750 ac_header_preproc=yes 8751 ;; 8752 no:yes:* ) 8753 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8754 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8755 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8756 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8757 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8758 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8759 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8760 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8761 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8762 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8763 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8764 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8765 ( cat <<\_ASBOX 8766 ## ----------------------------------- ## 8767 ## Report this to rappture@nanohub.org ## 8768 ## ----------------------------------- ## 8769 _ASBOX 8770 ) | sed "s/^/$as_me: WARNING: /" >&2 8771 ;; 8772 esac 8773 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8774 $as_echo_n "checking for $ac_header... " >&6; } 8775 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8776 $as_echo_n "(cached) " >&6 8777 else 8778 eval "$as_ac_Header=\$ac_header_preproc" 8779 fi 8780 ac_res=`eval 'as_val=${'$as_ac_Header'} 8781 $as_echo "$as_val"'` 8782 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8783 $as_echo "$ac_res" >&6; } 8784 8785 fi 8786 as_val=`eval 'as_val=${'$as_ac_Header'} 8787 $as_echo "$as_val"'` 8788 if test "x$as_val" = x""yes; then 5364 do : 5365 ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5366 if test "x$ac_cv_header_stdlib_h" = xyes; then : 8789 5367 cat >>confdefs.h <<_ACEOF 8790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18791 _ACEOF 8792 8793 else 8794 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55368 #define HAVE_STDLIB_H 1 5369 _ACEOF 5370 5371 else 5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 8795 5373 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8796 5374 fi … … 8798 5376 done 8799 5377 8800 8801 5378 for ac_header in stddef.h 8802 do 8803 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8805 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8806 $as_echo_n "checking for $ac_header... " >&6; } 8807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8808 $as_echo_n "(cached) " >&6 8809 fi 8810 ac_res=`eval 'as_val=${'$as_ac_Header'} 8811 $as_echo "$as_val"'` 8812 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8813 $as_echo "$ac_res" >&6; } 8814 else 8815 # Is the header compilable? 8816 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8817 $as_echo_n "checking $ac_header usability... " >&6; } 8818 cat >conftest.$ac_ext <<_ACEOF 8819 /* confdefs.h. */ 8820 _ACEOF 8821 cat confdefs.h >>conftest.$ac_ext 8822 cat >>conftest.$ac_ext <<_ACEOF 8823 /* end confdefs.h. */ 8824 $ac_includes_default 8825 #include <$ac_header> 8826 _ACEOF 8827 rm -f conftest.$ac_objext 8828 if { (ac_try="$ac_compile" 8829 case "(($ac_try" in 8830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8831 *) ac_try_echo=$ac_try;; 8832 esac 8833 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8834 $as_echo "$ac_try_echo") >&5 8835 (eval "$ac_compile") 2>conftest.er1 8836 ac_status=$? 8837 grep -v '^ *+' conftest.er1 >conftest.err 8838 rm -f conftest.er1 8839 cat conftest.err >&5 8840 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8841 (exit $ac_status); } && { 8842 test -z "$ac_cxx_werror_flag" || 8843 test ! -s conftest.err 8844 } && test -s conftest.$ac_objext; then 8845 ac_header_compiler=yes 8846 else 8847 $as_echo "$as_me: failed program was:" >&5 8848 sed 's/^/| /' conftest.$ac_ext >&5 8849 8850 ac_header_compiler=no 8851 fi 8852 8853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8854 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8855 $as_echo "$ac_header_compiler" >&6; } 8856 8857 # Is the header present? 8858 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8859 $as_echo_n "checking $ac_header presence... " >&6; } 8860 cat >conftest.$ac_ext <<_ACEOF 8861 /* confdefs.h. */ 8862 _ACEOF 8863 cat confdefs.h >>conftest.$ac_ext 8864 cat >>conftest.$ac_ext <<_ACEOF 8865 /* end confdefs.h. */ 8866 #include <$ac_header> 8867 _ACEOF 8868 if { (ac_try="$ac_cpp conftest.$ac_ext" 8869 case "(($ac_try" in 8870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8871 *) ac_try_echo=$ac_try;; 8872 esac 8873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8874 $as_echo "$ac_try_echo") >&5 8875 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8876 ac_status=$? 8877 grep -v '^ *+' conftest.er1 >conftest.err 8878 rm -f conftest.er1 8879 cat conftest.err >&5 8880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8881 (exit $ac_status); } >/dev/null && { 8882 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8883 test ! -s conftest.err 8884 }; then 8885 ac_header_preproc=yes 8886 else 8887 $as_echo "$as_me: failed program was:" >&5 8888 sed 's/^/| /' conftest.$ac_ext >&5 8889 8890 ac_header_preproc=no 8891 fi 8892 8893 rm -f conftest.err conftest.$ac_ext 8894 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8895 $as_echo "$ac_header_preproc" >&6; } 8896 8897 # So? What about this header? 8898 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8899 yes:no: ) 8900 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8901 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8902 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8903 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8904 ac_header_preproc=yes 8905 ;; 8906 no:yes:* ) 8907 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8908 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8909 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8910 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8911 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8912 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8913 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8914 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8915 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8916 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8917 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8918 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8919 ( cat <<\_ASBOX 8920 ## ----------------------------------- ## 8921 ## Report this to rappture@nanohub.org ## 8922 ## ----------------------------------- ## 8923 _ASBOX 8924 ) | sed "s/^/$as_me: WARNING: /" >&2 8925 ;; 8926 esac 8927 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8928 $as_echo_n "checking for $ac_header... " >&6; } 8929 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8930 $as_echo_n "(cached) " >&6 8931 else 8932 eval "$as_ac_Header=\$ac_header_preproc" 8933 fi 8934 ac_res=`eval 'as_val=${'$as_ac_Header'} 8935 $as_echo "$as_val"'` 8936 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8937 $as_echo "$ac_res" >&6; } 8938 8939 fi 8940 as_val=`eval 'as_val=${'$as_ac_Header'} 8941 $as_echo "$as_val"'` 8942 if test "x$as_val" = x""yes; then 5379 do : 5380 ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 5381 if test "x$ac_cv_header_stddef_h" = xyes; then : 8943 5382 cat >>confdefs.h <<_ACEOF 8944 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18945 _ACEOF 8946 8947 else 8948 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55383 #define HAVE_STDDEF_H 1 5384 _ACEOF 5385 5386 else 5387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 8949 5388 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8950 5389 fi … … 8952 5391 done 8953 5392 8954 8955 5393 for ac_header in float.h 8956 do 8957 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8959 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8960 $as_echo_n "checking for $ac_header... " >&6; } 8961 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8962 $as_echo_n "(cached) " >&6 8963 fi 8964 ac_res=`eval 'as_val=${'$as_ac_Header'} 8965 $as_echo "$as_val"'` 8966 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8967 $as_echo "$ac_res" >&6; } 8968 else 8969 # Is the header compilable? 8970 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8971 $as_echo_n "checking $ac_header usability... " >&6; } 8972 cat >conftest.$ac_ext <<_ACEOF 8973 /* confdefs.h. */ 8974 _ACEOF 8975 cat confdefs.h >>conftest.$ac_ext 8976 cat >>conftest.$ac_ext <<_ACEOF 8977 /* end confdefs.h. */ 8978 $ac_includes_default 8979 #include <$ac_header> 8980 _ACEOF 8981 rm -f conftest.$ac_objext 8982 if { (ac_try="$ac_compile" 8983 case "(($ac_try" in 8984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8985 *) ac_try_echo=$ac_try;; 8986 esac 8987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8988 $as_echo "$ac_try_echo") >&5 8989 (eval "$ac_compile") 2>conftest.er1 8990 ac_status=$? 8991 grep -v '^ *+' conftest.er1 >conftest.err 8992 rm -f conftest.er1 8993 cat conftest.err >&5 8994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8995 (exit $ac_status); } && { 8996 test -z "$ac_cxx_werror_flag" || 8997 test ! -s conftest.err 8998 } && test -s conftest.$ac_objext; then 8999 ac_header_compiler=yes 9000 else 9001 $as_echo "$as_me: failed program was:" >&5 9002 sed 's/^/| /' conftest.$ac_ext >&5 9003 9004 ac_header_compiler=no 9005 fi 9006 9007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9008 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9009 $as_echo "$ac_header_compiler" >&6; } 9010 9011 # Is the header present? 9012 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9013 $as_echo_n "checking $ac_header presence... " >&6; } 9014 cat >conftest.$ac_ext <<_ACEOF 9015 /* confdefs.h. */ 9016 _ACEOF 9017 cat confdefs.h >>conftest.$ac_ext 9018 cat >>conftest.$ac_ext <<_ACEOF 9019 /* end confdefs.h. */ 9020 #include <$ac_header> 9021 _ACEOF 9022 if { (ac_try="$ac_cpp conftest.$ac_ext" 9023 case "(($ac_try" in 9024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9025 *) ac_try_echo=$ac_try;; 9026 esac 9027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9028 $as_echo "$ac_try_echo") >&5 9029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9030 ac_status=$? 9031 grep -v '^ *+' conftest.er1 >conftest.err 9032 rm -f conftest.er1 9033 cat conftest.err >&5 9034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9035 (exit $ac_status); } >/dev/null && { 9036 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9037 test ! -s conftest.err 9038 }; then 9039 ac_header_preproc=yes 9040 else 9041 $as_echo "$as_me: failed program was:" >&5 9042 sed 's/^/| /' conftest.$ac_ext >&5 9043 9044 ac_header_preproc=no 9045 fi 9046 9047 rm -f conftest.err conftest.$ac_ext 9048 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9049 $as_echo "$ac_header_preproc" >&6; } 9050 9051 # So? What about this header? 9052 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9053 yes:no: ) 9054 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9055 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9056 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9057 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9058 ac_header_preproc=yes 9059 ;; 9060 no:yes:* ) 9061 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9062 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9063 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9064 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9065 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9066 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9067 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9068 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9069 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9070 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9071 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9072 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9073 ( cat <<\_ASBOX 9074 ## ----------------------------------- ## 9075 ## Report this to rappture@nanohub.org ## 9076 ## ----------------------------------- ## 9077 _ASBOX 9078 ) | sed "s/^/$as_me: WARNING: /" >&2 9079 ;; 9080 esac 9081 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9082 $as_echo_n "checking for $ac_header... " >&6; } 9083 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9084 $as_echo_n "(cached) " >&6 9085 else 9086 eval "$as_ac_Header=\$ac_header_preproc" 9087 fi 9088 ac_res=`eval 'as_val=${'$as_ac_Header'} 9089 $as_echo "$as_val"'` 9090 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9091 $as_echo "$ac_res" >&6; } 9092 9093 fi 9094 as_val=`eval 'as_val=${'$as_ac_Header'} 9095 $as_echo "$as_val"'` 9096 if test "x$as_val" = x""yes; then 5394 do : 5395 ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" 5396 if test "x$ac_cv_header_float_h" = xyes; then : 9097 5397 cat >>confdefs.h <<_ACEOF 9098 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`19099 _ACEOF 9100 9101 else 9102 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55398 #define HAVE_FLOAT_H 1 5399 _ACEOF 5400 5401 else 5402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 9103 5403 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9104 5404 fi … … 9106 5406 done 9107 5407 9108 9109 5408 for ac_header in math.h 9110 do 9111 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9113 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9114 $as_echo_n "checking for $ac_header... " >&6; } 9115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9116 $as_echo_n "(cached) " >&6 9117 fi 9118 ac_res=`eval 'as_val=${'$as_ac_Header'} 9119 $as_echo "$as_val"'` 9120 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9121 $as_echo "$ac_res" >&6; } 9122 else 9123 # Is the header compilable? 9124 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9125 $as_echo_n "checking $ac_header usability... " >&6; } 9126 cat >conftest.$ac_ext <<_ACEOF 9127 /* confdefs.h. */ 9128 _ACEOF 9129 cat confdefs.h >>conftest.$ac_ext 9130 cat >>conftest.$ac_ext <<_ACEOF 9131 /* end confdefs.h. */ 9132 $ac_includes_default 9133 #include <$ac_header> 9134 _ACEOF 9135 rm -f conftest.$ac_objext 9136 if { (ac_try="$ac_compile" 9137 case "(($ac_try" in 9138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9139 *) ac_try_echo=$ac_try;; 9140 esac 9141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9142 $as_echo "$ac_try_echo") >&5 9143 (eval "$ac_compile") 2>conftest.er1 9144 ac_status=$? 9145 grep -v '^ *+' conftest.er1 >conftest.err 9146 rm -f conftest.er1 9147 cat conftest.err >&5 9148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9149 (exit $ac_status); } && { 9150 test -z "$ac_cxx_werror_flag" || 9151 test ! -s conftest.err 9152 } && test -s conftest.$ac_objext; then 9153 ac_header_compiler=yes 9154 else 9155 $as_echo "$as_me: failed program was:" >&5 9156 sed 's/^/| /' conftest.$ac_ext >&5 9157 9158 ac_header_compiler=no 9159 fi 9160 9161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9162 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9163 $as_echo "$ac_header_compiler" >&6; } 9164 9165 # Is the header present? 9166 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9167 $as_echo_n "checking $ac_header presence... " >&6; } 9168 cat >conftest.$ac_ext <<_ACEOF 9169 /* confdefs.h. */ 9170 _ACEOF 9171 cat confdefs.h >>conftest.$ac_ext 9172 cat >>conftest.$ac_ext <<_ACEOF 9173 /* end confdefs.h. */ 9174 #include <$ac_header> 9175 _ACEOF 9176 if { (ac_try="$ac_cpp conftest.$ac_ext" 9177 case "(($ac_try" in 9178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9179 *) ac_try_echo=$ac_try;; 9180 esac 9181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9182 $as_echo "$ac_try_echo") >&5 9183 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9184 ac_status=$? 9185 grep -v '^ *+' conftest.er1 >conftest.err 9186 rm -f conftest.er1 9187 cat conftest.err >&5 9188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9189 (exit $ac_status); } >/dev/null && { 9190 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9191 test ! -s conftest.err 9192 }; then 9193 ac_header_preproc=yes 9194 else 9195 $as_echo "$as_me: failed program was:" >&5 9196 sed 's/^/| /' conftest.$ac_ext >&5 9197 9198 ac_header_preproc=no 9199 fi 9200 9201 rm -f conftest.err conftest.$ac_ext 9202 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9203 $as_echo "$ac_header_preproc" >&6; } 9204 9205 # So? What about this header? 9206 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9207 yes:no: ) 9208 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9209 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9210 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9211 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9212 ac_header_preproc=yes 9213 ;; 9214 no:yes:* ) 9215 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9216 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9217 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9218 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9219 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9220 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9221 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9222 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9223 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9224 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9225 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9226 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9227 ( cat <<\_ASBOX 9228 ## ----------------------------------- ## 9229 ## Report this to rappture@nanohub.org ## 9230 ## ----------------------------------- ## 9231 _ASBOX 9232 ) | sed "s/^/$as_me: WARNING: /" >&2 9233 ;; 9234 esac 9235 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9236 $as_echo_n "checking for $ac_header... " >&6; } 9237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9238 $as_echo_n "(cached) " >&6 9239 else 9240 eval "$as_ac_Header=\$ac_header_preproc" 9241 fi 9242 ac_res=`eval 'as_val=${'$as_ac_Header'} 9243 $as_echo "$as_val"'` 9244 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9245 $as_echo "$ac_res" >&6; } 9246 9247 fi 9248 as_val=`eval 'as_val=${'$as_ac_Header'} 9249 $as_echo "$as_val"'` 9250 if test "x$as_val" = x""yes; then 5409 do : 5410 ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" 5411 if test "x$ac_cv_header_math_h" = xyes; then : 9251 5412 cat >>confdefs.h <<_ACEOF 9252 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`19253 _ACEOF 9254 9255 else 9256 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55413 #define HAVE_MATH_H 1 5414 _ACEOF 5415 5416 else 5417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 9257 5418 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9258 5419 fi … … 9260 5421 done 9261 5422 9262 9263 5423 for ac_header in malloc.h 9264 do 9265 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9267 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9268 $as_echo_n "checking for $ac_header... " >&6; } 9269 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9270 $as_echo_n "(cached) " >&6 9271 fi 9272 ac_res=`eval 'as_val=${'$as_ac_Header'} 9273 $as_echo "$as_val"'` 9274 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9275 $as_echo "$ac_res" >&6; } 9276 else 9277 # Is the header compilable? 9278 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9279 $as_echo_n "checking $ac_header usability... " >&6; } 9280 cat >conftest.$ac_ext <<_ACEOF 9281 /* confdefs.h. */ 9282 _ACEOF 9283 cat confdefs.h >>conftest.$ac_ext 9284 cat >>conftest.$ac_ext <<_ACEOF 9285 /* end confdefs.h. */ 9286 $ac_includes_default 9287 #include <$ac_header> 9288 _ACEOF 9289 rm -f conftest.$ac_objext 9290 if { (ac_try="$ac_compile" 9291 case "(($ac_try" in 9292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9293 *) ac_try_echo=$ac_try;; 9294 esac 9295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9296 $as_echo "$ac_try_echo") >&5 9297 (eval "$ac_compile") 2>conftest.er1 9298 ac_status=$? 9299 grep -v '^ *+' conftest.er1 >conftest.err 9300 rm -f conftest.er1 9301 cat conftest.err >&5 9302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9303 (exit $ac_status); } && { 9304 test -z "$ac_cxx_werror_flag" || 9305 test ! -s conftest.err 9306 } && test -s conftest.$ac_objext; then 9307 ac_header_compiler=yes 9308 else 9309 $as_echo "$as_me: failed program was:" >&5 9310 sed 's/^/| /' conftest.$ac_ext >&5 9311 9312 ac_header_compiler=no 9313 fi 9314 9315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9316 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9317 $as_echo "$ac_header_compiler" >&6; } 9318 9319 # Is the header present? 9320 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9321 $as_echo_n "checking $ac_header presence... " >&6; } 9322 cat >conftest.$ac_ext <<_ACEOF 9323 /* confdefs.h. */ 9324 _ACEOF 9325 cat confdefs.h >>conftest.$ac_ext 9326 cat >>conftest.$ac_ext <<_ACEOF 9327 /* end confdefs.h. */ 9328 #include <$ac_header> 9329 _ACEOF 9330 if { (ac_try="$ac_cpp conftest.$ac_ext" 9331 case "(($ac_try" in 9332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9333 *) ac_try_echo=$ac_try;; 9334 esac 9335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9336 $as_echo "$ac_try_echo") >&5 9337 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9338 ac_status=$? 9339 grep -v '^ *+' conftest.er1 >conftest.err 9340 rm -f conftest.er1 9341 cat conftest.err >&5 9342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9343 (exit $ac_status); } >/dev/null && { 9344 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9345 test ! -s conftest.err 9346 }; then 9347 ac_header_preproc=yes 9348 else 9349 $as_echo "$as_me: failed program was:" >&5 9350 sed 's/^/| /' conftest.$ac_ext >&5 9351 9352 ac_header_preproc=no 9353 fi 9354 9355 rm -f conftest.err conftest.$ac_ext 9356 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9357 $as_echo "$ac_header_preproc" >&6; } 9358 9359 # So? What about this header? 9360 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9361 yes:no: ) 9362 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9363 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9364 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9365 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9366 ac_header_preproc=yes 9367 ;; 9368 no:yes:* ) 9369 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9370 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9371 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9372 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9373 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9374 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9375 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9376 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9377 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9378 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9379 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9380 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9381 ( cat <<\_ASBOX 9382 ## ----------------------------------- ## 9383 ## Report this to rappture@nanohub.org ## 9384 ## ----------------------------------- ## 9385 _ASBOX 9386 ) | sed "s/^/$as_me: WARNING: /" >&2 9387 ;; 9388 esac 9389 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9390 $as_echo_n "checking for $ac_header... " >&6; } 9391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9392 $as_echo_n "(cached) " >&6 9393 else 9394 eval "$as_ac_Header=\$ac_header_preproc" 9395 fi 9396 ac_res=`eval 'as_val=${'$as_ac_Header'} 9397 $as_echo "$as_val"'` 9398 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9399 $as_echo "$ac_res" >&6; } 9400 9401 fi 9402 as_val=`eval 'as_val=${'$as_ac_Header'} 9403 $as_echo "$as_val"'` 9404 if test "x$as_val" = x""yes; then 5424 do : 5425 ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 5426 if test "x$ac_cv_header_malloc_h" = xyes; then : 9405 5427 cat >>confdefs.h <<_ACEOF 9406 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`19407 _ACEOF 9408 9409 else 9410 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55428 #define HAVE_MALLOC_H 1 5429 _ACEOF 5430 5431 else 5432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 9411 5433 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9412 5434 fi … … 9414 5436 done 9415 5437 9416 9417 5438 for ac_header in memory.h 9418 do 9419 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9421 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9422 $as_echo_n "checking for $ac_header... " >&6; } 9423 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9424 $as_echo_n "(cached) " >&6 9425 fi 9426 ac_res=`eval 'as_val=${'$as_ac_Header'} 9427 $as_echo "$as_val"'` 9428 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9429 $as_echo "$ac_res" >&6; } 9430 else 9431 # Is the header compilable? 9432 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9433 $as_echo_n "checking $ac_header usability... " >&6; } 9434 cat >conftest.$ac_ext <<_ACEOF 9435 /* confdefs.h. */ 9436 _ACEOF 9437 cat confdefs.h >>conftest.$ac_ext 9438 cat >>conftest.$ac_ext <<_ACEOF 9439 /* end confdefs.h. */ 9440 $ac_includes_default 9441 #include <$ac_header> 9442 _ACEOF 9443 rm -f conftest.$ac_objext 9444 if { (ac_try="$ac_compile" 9445 case "(($ac_try" in 9446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9447 *) ac_try_echo=$ac_try;; 9448 esac 9449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9450 $as_echo "$ac_try_echo") >&5 9451 (eval "$ac_compile") 2>conftest.er1 9452 ac_status=$? 9453 grep -v '^ *+' conftest.er1 >conftest.err 9454 rm -f conftest.er1 9455 cat conftest.err >&5 9456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9457 (exit $ac_status); } && { 9458 test -z "$ac_cxx_werror_flag" || 9459 test ! -s conftest.err 9460 } && test -s conftest.$ac_objext; then 9461 ac_header_compiler=yes 9462 else 9463 $as_echo "$as_me: failed program was:" >&5 9464 sed 's/^/| /' conftest.$ac_ext >&5 9465 9466 ac_header_compiler=no 9467 fi 9468 9469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9470 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9471 $as_echo "$ac_header_compiler" >&6; } 9472 9473 # Is the header present? 9474 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9475 $as_echo_n "checking $ac_header presence... " >&6; } 9476 cat >conftest.$ac_ext <<_ACEOF 9477 /* confdefs.h. */ 9478 _ACEOF 9479 cat confdefs.h >>conftest.$ac_ext 9480 cat >>conftest.$ac_ext <<_ACEOF 9481 /* end confdefs.h. */ 9482 #include <$ac_header> 9483 _ACEOF 9484 if { (ac_try="$ac_cpp conftest.$ac_ext" 9485 case "(($ac_try" in 9486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9487 *) ac_try_echo=$ac_try;; 9488 esac 9489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9490 $as_echo "$ac_try_echo") >&5 9491 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9492 ac_status=$? 9493 grep -v '^ *+' conftest.er1 >conftest.err 9494 rm -f conftest.er1 9495 cat conftest.err >&5 9496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9497 (exit $ac_status); } >/dev/null && { 9498 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9499 test ! -s conftest.err 9500 }; then 9501 ac_header_preproc=yes 9502 else 9503 $as_echo "$as_me: failed program was:" >&5 9504 sed 's/^/| /' conftest.$ac_ext >&5 9505 9506 ac_header_preproc=no 9507 fi 9508 9509 rm -f conftest.err conftest.$ac_ext 9510 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9511 $as_echo "$ac_header_preproc" >&6; } 9512 9513 # So? What about this header? 9514 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9515 yes:no: ) 9516 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9517 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9518 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9519 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9520 ac_header_preproc=yes 9521 ;; 9522 no:yes:* ) 9523 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9524 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9525 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9526 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9527 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9528 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9529 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9530 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9531 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9532 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9533 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9534 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9535 ( cat <<\_ASBOX 9536 ## ----------------------------------- ## 9537 ## Report this to rappture@nanohub.org ## 9538 ## ----------------------------------- ## 9539 _ASBOX 9540 ) | sed "s/^/$as_me: WARNING: /" >&2 9541 ;; 9542 esac 9543 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9544 $as_echo_n "checking for $ac_header... " >&6; } 9545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9546 $as_echo_n "(cached) " >&6 9547 else 9548 eval "$as_ac_Header=\$ac_header_preproc" 9549 fi 9550 ac_res=`eval 'as_val=${'$as_ac_Header'} 9551 $as_echo "$as_val"'` 9552 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9553 $as_echo "$ac_res" >&6; } 9554 9555 fi 9556 as_val=`eval 'as_val=${'$as_ac_Header'} 9557 $as_echo "$as_val"'` 9558 if test "x$as_val" = x""yes; then 5439 do : 5440 ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default" 5441 if test "x$ac_cv_header_memory_h" = xyes; then : 9559 5442 cat >>confdefs.h <<_ACEOF 9560 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`19561 _ACEOF 9562 9563 else 9564 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55443 #define HAVE_MEMORY_H 1 5444 _ACEOF 5445 5446 else 5447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 9565 5448 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9566 5449 fi … … 9568 5451 done 9569 5452 9570 9571 5453 for ac_header in unistd.h 9572 do 9573 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9575 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9576 $as_echo_n "checking for $ac_header... " >&6; } 9577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9578 $as_echo_n "(cached) " >&6 9579 fi 9580 ac_res=`eval 'as_val=${'$as_ac_Header'} 9581 $as_echo "$as_val"'` 9582 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9583 $as_echo "$ac_res" >&6; } 9584 else 9585 # Is the header compilable? 9586 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9587 $as_echo_n "checking $ac_header usability... " >&6; } 9588 cat >conftest.$ac_ext <<_ACEOF 9589 /* confdefs.h. */ 9590 _ACEOF 9591 cat confdefs.h >>conftest.$ac_ext 9592 cat >>conftest.$ac_ext <<_ACEOF 9593 /* end confdefs.h. */ 9594 $ac_includes_default 9595 #include <$ac_header> 9596 _ACEOF 9597 rm -f conftest.$ac_objext 9598 if { (ac_try="$ac_compile" 9599 case "(($ac_try" in 9600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9601 *) ac_try_echo=$ac_try;; 9602 esac 9603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9604 $as_echo "$ac_try_echo") >&5 9605 (eval "$ac_compile") 2>conftest.er1 9606 ac_status=$? 9607 grep -v '^ *+' conftest.er1 >conftest.err 9608 rm -f conftest.er1 9609 cat conftest.err >&5 9610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9611 (exit $ac_status); } && { 9612 test -z "$ac_cxx_werror_flag" || 9613 test ! -s conftest.err 9614 } && test -s conftest.$ac_objext; then 9615 ac_header_compiler=yes 9616 else 9617 $as_echo "$as_me: failed program was:" >&5 9618 sed 's/^/| /' conftest.$ac_ext >&5 9619 9620 ac_header_compiler=no 9621 fi 9622 9623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9624 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9625 $as_echo "$ac_header_compiler" >&6; } 9626 9627 # Is the header present? 9628 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9629 $as_echo_n "checking $ac_header presence... " >&6; } 9630 cat >conftest.$ac_ext <<_ACEOF 9631 /* confdefs.h. */ 9632 _ACEOF 9633 cat confdefs.h >>conftest.$ac_ext 9634 cat >>conftest.$ac_ext <<_ACEOF 9635 /* end confdefs.h. */ 9636 #include <$ac_header> 9637 _ACEOF 9638 if { (ac_try="$ac_cpp conftest.$ac_ext" 9639 case "(($ac_try" in 9640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9641 *) ac_try_echo=$ac_try;; 9642 esac 9643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9644 $as_echo "$ac_try_echo") >&5 9645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9646 ac_status=$? 9647 grep -v '^ *+' conftest.er1 >conftest.err 9648 rm -f conftest.er1 9649 cat conftest.err >&5 9650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9651 (exit $ac_status); } >/dev/null && { 9652 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9653 test ! -s conftest.err 9654 }; then 9655 ac_header_preproc=yes 9656 else 9657 $as_echo "$as_me: failed program was:" >&5 9658 sed 's/^/| /' conftest.$ac_ext >&5 9659 9660 ac_header_preproc=no 9661 fi 9662 9663 rm -f conftest.err conftest.$ac_ext 9664 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9665 $as_echo "$ac_header_preproc" >&6; } 9666 9667 # So? What about this header? 9668 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9669 yes:no: ) 9670 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9671 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9672 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9673 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9674 ac_header_preproc=yes 9675 ;; 9676 no:yes:* ) 9677 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9678 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9679 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9680 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9681 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9682 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9683 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9684 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9685 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9686 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9687 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9688 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9689 ( cat <<\_ASBOX 9690 ## ----------------------------------- ## 9691 ## Report this to rappture@nanohub.org ## 9692 ## ----------------------------------- ## 9693 _ASBOX 9694 ) | sed "s/^/$as_me: WARNING: /" >&2 9695 ;; 9696 esac 9697 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9698 $as_echo_n "checking for $ac_header... " >&6; } 9699 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9700 $as_echo_n "(cached) " >&6 9701 else 9702 eval "$as_ac_Header=\$ac_header_preproc" 9703 fi 9704 ac_res=`eval 'as_val=${'$as_ac_Header'} 9705 $as_echo "$as_val"'` 9706 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9707 $as_echo "$ac_res" >&6; } 9708 9709 fi 9710 as_val=`eval 'as_val=${'$as_ac_Header'} 9711 $as_echo "$as_val"'` 9712 if test "x$as_val" = x""yes; then 5454 do : 5455 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 5456 if test "x$ac_cv_header_unistd_h" = xyes; then : 9713 5457 cat >>confdefs.h <<_ACEOF 9714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`19715 _ACEOF 9716 9717 else 9718 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55458 #define HAVE_UNISTD_H 1 5459 _ACEOF 5460 5461 else 5462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 9719 5463 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9720 5464 fi … … 9723 5467 9724 5468 9725 9726 5469 for ac_header in inttypes.h 9727 do 9728 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9730 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9731 $as_echo_n "checking for $ac_header... " >&6; } 9732 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9733 $as_echo_n "(cached) " >&6 9734 fi 9735 ac_res=`eval 'as_val=${'$as_ac_Header'} 9736 $as_echo "$as_val"'` 9737 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9738 $as_echo "$ac_res" >&6; } 9739 else 9740 # Is the header compilable? 9741 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9742 $as_echo_n "checking $ac_header usability... " >&6; } 9743 cat >conftest.$ac_ext <<_ACEOF 9744 /* confdefs.h. */ 9745 _ACEOF 9746 cat confdefs.h >>conftest.$ac_ext 9747 cat >>conftest.$ac_ext <<_ACEOF 9748 /* end confdefs.h. */ 9749 $ac_includes_default 9750 #include <$ac_header> 9751 _ACEOF 9752 rm -f conftest.$ac_objext 9753 if { (ac_try="$ac_compile" 9754 case "(($ac_try" in 9755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9756 *) ac_try_echo=$ac_try;; 9757 esac 9758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9759 $as_echo "$ac_try_echo") >&5 9760 (eval "$ac_compile") 2>conftest.er1 9761 ac_status=$? 9762 grep -v '^ *+' conftest.er1 >conftest.err 9763 rm -f conftest.er1 9764 cat conftest.err >&5 9765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9766 (exit $ac_status); } && { 9767 test -z "$ac_cxx_werror_flag" || 9768 test ! -s conftest.err 9769 } && test -s conftest.$ac_objext; then 9770 ac_header_compiler=yes 9771 else 9772 $as_echo "$as_me: failed program was:" >&5 9773 sed 's/^/| /' conftest.$ac_ext >&5 9774 9775 ac_header_compiler=no 9776 fi 9777 9778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9779 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9780 $as_echo "$ac_header_compiler" >&6; } 9781 9782 # Is the header present? 9783 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9784 $as_echo_n "checking $ac_header presence... " >&6; } 9785 cat >conftest.$ac_ext <<_ACEOF 9786 /* confdefs.h. */ 9787 _ACEOF 9788 cat confdefs.h >>conftest.$ac_ext 9789 cat >>conftest.$ac_ext <<_ACEOF 9790 /* end confdefs.h. */ 9791 #include <$ac_header> 9792 _ACEOF 9793 if { (ac_try="$ac_cpp conftest.$ac_ext" 9794 case "(($ac_try" in 9795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9796 *) ac_try_echo=$ac_try;; 9797 esac 9798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9799 $as_echo "$ac_try_echo") >&5 9800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9801 ac_status=$? 9802 grep -v '^ *+' conftest.er1 >conftest.err 9803 rm -f conftest.er1 9804 cat conftest.err >&5 9805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9806 (exit $ac_status); } >/dev/null && { 9807 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9808 test ! -s conftest.err 9809 }; then 9810 ac_header_preproc=yes 9811 else 9812 $as_echo "$as_me: failed program was:" >&5 9813 sed 's/^/| /' conftest.$ac_ext >&5 9814 9815 ac_header_preproc=no 9816 fi 9817 9818 rm -f conftest.err conftest.$ac_ext 9819 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9820 $as_echo "$ac_header_preproc" >&6; } 9821 9822 # So? What about this header? 9823 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9824 yes:no: ) 9825 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9826 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9827 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9828 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9829 ac_header_preproc=yes 9830 ;; 9831 no:yes:* ) 9832 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9833 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9834 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9835 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9836 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9837 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9838 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9839 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9840 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9841 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9842 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9843 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9844 ( cat <<\_ASBOX 9845 ## ----------------------------------- ## 9846 ## Report this to rappture@nanohub.org ## 9847 ## ----------------------------------- ## 9848 _ASBOX 9849 ) | sed "s/^/$as_me: WARNING: /" >&2 9850 ;; 9851 esac 9852 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9853 $as_echo_n "checking for $ac_header... " >&6; } 9854 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9855 $as_echo_n "(cached) " >&6 9856 else 9857 eval "$as_ac_Header=\$ac_header_preproc" 9858 fi 9859 ac_res=`eval 'as_val=${'$as_ac_Header'} 9860 $as_echo "$as_val"'` 9861 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9862 $as_echo "$ac_res" >&6; } 9863 9864 fi 9865 as_val=`eval 'as_val=${'$as_ac_Header'} 9866 $as_echo "$as_val"'` 9867 if test "x$as_val" = x""yes; then 5470 do : 5471 ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 5472 if test "x$ac_cv_header_inttypes_h" = xyes; then : 9868 5473 cat >>confdefs.h <<_ACEOF 9869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`19870 _ACEOF 9871 9872 else 9873 { $as_echo "$as_me:$ LINENO: WARNING: C headers missing ?" >&55474 #define HAVE_INTTYPES_H 1 5475 _ACEOF 5476 5477 else 5478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 9874 5479 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9875 5480 fi … … 9888 5493 # Step 0.a: Enable 64 bit support? 9889 5494 9890 { $as_echo "$as_me:$ LINENO: checking if 64bit support is requested" >&55495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 9891 5496 $as_echo_n "checking if 64bit support is requested... " >&6; } 9892 5497 # Check whether --enable-64bit was given. 9893 if test "${enable_64bit+set}" = set; then 5498 if test "${enable_64bit+set}" = set; then : 9894 5499 enableval=$enable_64bit; do64bit=$enableval 9895 5500 else … … 9897 5502 fi 9898 5503 9899 { $as_echo "$as_me:$ LINENO: result: $do64bit" >&55504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 9900 5505 $as_echo "$do64bit" >&6; } 9901 5506 9902 5507 # Step 0.b: Enable Solaris 64 bit VIS support? 9903 5508 9904 { $as_echo "$as_me:$ LINENO: checking if 64bit Sparc VIS support is requested" >&55509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 9905 5510 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 9906 5511 # Check whether --enable-64bit-vis was given. 9907 if test "${enable_64bit_vis+set}" = set; then 5512 if test "${enable_64bit_vis+set}" = set; then : 9908 5513 enableval=$enable_64bit_vis; do64bitVIS=$enableval 9909 5514 else … … 9911 5516 fi 9912 5517 9913 { $as_echo "$as_me:$ LINENO: result: $do64bitVIS" >&55518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 9914 5519 $as_echo "$do64bitVIS" >&6; } 9915 5520 … … 9923 5528 9924 5529 9925 { $as_echo "$as_me:$ LINENO: checking system version" >&55530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 9926 5531 $as_echo_n "checking system version... " >&6; } 9927 if test "${tcl_cv_sys_version+set}" = set; then5532 if ${tcl_cv_sys_version+:} false; then : 9928 5533 $as_echo_n "(cached) " >&6 9929 5534 else … … 9934 5539 tcl_cv_sys_version=`uname -s`-`uname -r` 9935 5540 if test "$?" -ne 0 ; then 9936 { $as_echo "$as_me:$ LINENO: WARNING: can't find uname command" >&55541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 9937 5542 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 9938 5543 tcl_cv_sys_version=unknown … … 9951 5556 9952 5557 fi 9953 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sys_version" >&55558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 9954 5559 $as_echo "$tcl_cv_sys_version" >&6; } 9955 5560 system=$tcl_cv_sys_version … … 9959 5564 # Linux can use either -ldl or -ldld for dynamic loading. 9960 5565 9961 { $as_echo "$as_me:$ LINENO: checking for dlopen in -ldl" >&55566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 9962 5567 $as_echo_n "checking for dlopen in -ldl... " >&6; } 9963 if test "${ac_cv_lib_dl_dlopen+set}" = set; then5568 if ${ac_cv_lib_dl_dlopen+:} false; then : 9964 5569 $as_echo_n "(cached) " >&6 9965 5570 else 9966 5571 ac_check_lib_save_LIBS=$LIBS 9967 5572 LIBS="-ldl $LIBS" 9968 cat >conftest.$ac_ext <<_ACEOF 9969 /* confdefs.h. */ 9970 _ACEOF 9971 cat confdefs.h >>conftest.$ac_ext 9972 cat >>conftest.$ac_ext <<_ACEOF 5573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9973 5574 /* end confdefs.h. */ 9974 5575 … … 9988 5589 } 9989 5590 _ACEOF 9990 rm -f conftest.$ac_objext conftest$ac_exeext 9991 if { (ac_try="$ac_link" 9992 case "(($ac_try" in 9993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9994 *) ac_try_echo=$ac_try;; 9995 esac 9996 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9997 $as_echo "$ac_try_echo") >&5 9998 (eval "$ac_link") 2>conftest.er1 9999 ac_status=$? 10000 grep -v '^ *+' conftest.er1 >conftest.err 10001 rm -f conftest.er1 10002 cat conftest.err >&5 10003 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10004 (exit $ac_status); } && { 10005 test -z "$ac_cxx_werror_flag" || 10006 test ! -s conftest.err 10007 } && test -s conftest$ac_exeext && { 10008 test "$cross_compiling" = yes || 10009 $as_test_x conftest$ac_exeext 10010 }; then 5591 if ac_fn_cxx_try_link "$LINENO"; then : 10011 5592 ac_cv_lib_dl_dlopen=yes 10012 5593 else 10013 $as_echo "$as_me: failed program was:" >&5 10014 sed 's/^/| /' conftest.$ac_ext >&5 10015 10016 ac_cv_lib_dl_dlopen=no 10017 fi 10018 10019 rm -rf conftest.dSYM 10020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10021 conftest$ac_exeext conftest.$ac_ext 5594 ac_cv_lib_dl_dlopen=no 5595 fi 5596 rm -f core conftest.err conftest.$ac_objext \ 5597 conftest$ac_exeext conftest.$ac_ext 10022 5598 LIBS=$ac_check_lib_save_LIBS 10023 5599 fi 10024 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dl_dlopen" >&55600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10025 5601 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10026 if test "x$ac_cv_lib_dl_dlopen" = x ""yes; then5602 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10027 5603 have_dl=yes 10028 5604 else … … 10056 5632 # Extract the first word of "ar", so it can be a program name with args. 10057 5633 set dummy ar; ac_word=$2 10058 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&55634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10059 5635 $as_echo_n "checking for $ac_word... " >&6; } 10060 if test "${ac_cv_prog_AR+set}" = set; then5636 if ${ac_cv_prog_AR+:} false; then : 10061 5637 $as_echo_n "(cached) " >&6 10062 5638 else … … 10069 5645 IFS=$as_save_IFS 10070 5646 test -z "$as_dir" && as_dir=. 10071 for ac_exec_ext in '' $ac_executable_extensions; do10072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5647 for ac_exec_ext in '' $ac_executable_extensions; do 5648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10073 5649 ac_cv_prog_AR="ar" 10074 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10075 5651 break 2 10076 5652 fi 10077 5653 done 10078 done5654 done 10079 5655 IFS=$as_save_IFS 10080 5656 … … 10083 5659 AR=$ac_cv_prog_AR 10084 5660 if test -n "$AR"; then 10085 { $as_echo "$as_me:$ LINENO: result: $AR" >&55661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 10086 5662 $as_echo "$AR" >&6; } 10087 5663 else 10088 { $as_echo "$as_me:$ LINENO: result: no" >&55664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10089 5665 $as_echo "no" >&6; } 10090 5666 fi … … 10092 5668 10093 5669 if test "${AR}" = "" ; then 10094 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 10095 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 10096 { (exit 1); exit 1; }; } 5670 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 10097 5671 fi 10098 5672 STLIB_LD='${AR} cr' … … 10112 5686 ;; 10113 5687 esac 10114 { $as_echo "$as_me:$ LINENO: result: Using $CC for compiling with threads" >&55688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 10115 5689 $as_echo "Using $CC for compiling with threads" >&6; } 10116 5690 fi … … 10128 5702 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 10129 5703 if test "$GCC" = "yes" ; then 10130 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&55704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 10131 5705 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 10132 5706 else … … 10183 5757 # known GMT value. 10184 5758 10185 { $as_echo "$as_me:$ LINENO: checking for gettimeofday in -lbsd" >&55759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 10186 5760 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 10187 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then5761 if ${ac_cv_lib_bsd_gettimeofday+:} false; then : 10188 5762 $as_echo_n "(cached) " >&6 10189 5763 else 10190 5764 ac_check_lib_save_LIBS=$LIBS 10191 5765 LIBS="-lbsd $LIBS" 10192 cat >conftest.$ac_ext <<_ACEOF 10193 /* confdefs.h. */ 10194 _ACEOF 10195 cat confdefs.h >>conftest.$ac_ext 10196 cat >>conftest.$ac_ext <<_ACEOF 5766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10197 5767 /* end confdefs.h. */ 10198 5768 … … 10212 5782 } 10213 5783 _ACEOF 10214 rm -f conftest.$ac_objext conftest$ac_exeext 10215 if { (ac_try="$ac_link" 10216 case "(($ac_try" in 10217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10218 *) ac_try_echo=$ac_try;; 10219 esac 10220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10221 $as_echo "$ac_try_echo") >&5 10222 (eval "$ac_link") 2>conftest.er1 10223 ac_status=$? 10224 grep -v '^ *+' conftest.er1 >conftest.err 10225 rm -f conftest.er1 10226 cat conftest.err >&5 10227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10228 (exit $ac_status); } && { 10229 test -z "$ac_cxx_werror_flag" || 10230 test ! -s conftest.err 10231 } && test -s conftest$ac_exeext && { 10232 test "$cross_compiling" = yes || 10233 $as_test_x conftest$ac_exeext 10234 }; then 5784 if ac_fn_cxx_try_link "$LINENO"; then : 10235 5785 ac_cv_lib_bsd_gettimeofday=yes 10236 5786 else 10237 $as_echo "$as_me: failed program was:" >&5 10238 sed 's/^/| /' conftest.$ac_ext >&5 10239 10240 ac_cv_lib_bsd_gettimeofday=no 10241 fi 10242 10243 rm -rf conftest.dSYM 10244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10245 conftest$ac_exeext conftest.$ac_ext 5787 ac_cv_lib_bsd_gettimeofday=no 5788 fi 5789 rm -f core conftest.err conftest.$ac_objext \ 5790 conftest$ac_exeext conftest.$ac_ext 10246 5791 LIBS=$ac_check_lib_save_LIBS 10247 5792 fi 10248 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&55793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 10249 5794 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 10250 if test "x$ac_cv_lib_bsd_gettimeofday" = x ""yes; then5795 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then : 10251 5796 libbsd=yes 10252 5797 else … … 10256 5801 if test $libbsd = yes; then 10257 5802 MATH_LIBS="$MATH_LIBS -lbsd" 10258 cat >>confdefs.h <<\_ACEOF 10259 #define USE_DELTA_FOR_TZ 1 10260 _ACEOF 5803 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 10261 5804 10262 5805 fi … … 10275 5818 # is always linked to, for compatibility. 10276 5819 #----------------------------------------------------------- 10277 { $as_echo "$as_me:$ LINENO: checking for inet_ntoa in -lbind" >&55820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 10278 5821 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 10279 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then5822 if ${ac_cv_lib_bind_inet_ntoa+:} false; then : 10280 5823 $as_echo_n "(cached) " >&6 10281 5824 else 10282 5825 ac_check_lib_save_LIBS=$LIBS 10283 5826 LIBS="-lbind $LIBS" 10284 cat >conftest.$ac_ext <<_ACEOF 10285 /* confdefs.h. */ 10286 _ACEOF 10287 cat confdefs.h >>conftest.$ac_ext 10288 cat >>conftest.$ac_ext <<_ACEOF 5827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10289 5828 /* end confdefs.h. */ 10290 5829 … … 10304 5843 } 10305 5844 _ACEOF 10306 rm -f conftest.$ac_objext conftest$ac_exeext 10307 if { (ac_try="$ac_link" 10308 case "(($ac_try" in 10309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10310 *) ac_try_echo=$ac_try;; 10311 esac 10312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10313 $as_echo "$ac_try_echo") >&5 10314 (eval "$ac_link") 2>conftest.er1 10315 ac_status=$? 10316 grep -v '^ *+' conftest.er1 >conftest.err 10317 rm -f conftest.er1 10318 cat conftest.err >&5 10319 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10320 (exit $ac_status); } && { 10321 test -z "$ac_cxx_werror_flag" || 10322 test ! -s conftest.err 10323 } && test -s conftest$ac_exeext && { 10324 test "$cross_compiling" = yes || 10325 $as_test_x conftest$ac_exeext 10326 }; then 5845 if ac_fn_cxx_try_link "$LINENO"; then : 10327 5846 ac_cv_lib_bind_inet_ntoa=yes 10328 5847 else 10329 $as_echo "$as_me: failed program was:" >&5 10330 sed 's/^/| /' conftest.$ac_ext >&5 10331 10332 ac_cv_lib_bind_inet_ntoa=no 10333 fi 10334 10335 rm -rf conftest.dSYM 10336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10337 conftest$ac_exeext conftest.$ac_ext 5848 ac_cv_lib_bind_inet_ntoa=no 5849 fi 5850 rm -f core conftest.err conftest.$ac_objext \ 5851 conftest$ac_exeext conftest.$ac_ext 10338 5852 LIBS=$ac_check_lib_save_LIBS 10339 5853 fi 10340 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&55854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 10341 5855 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 10342 if test "x$ac_cv_lib_bind_inet_ntoa" = x ""yes; then5856 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then : 10343 5857 LIBS="$LIBS -lbind -lsocket" 10344 5858 fi … … 10378 5892 HP-UX-*.11.*) 10379 5893 # Use updated header definitions where possible 10380 cat >>confdefs.h <<\_ACEOF 10381 #define _XOPEN_SOURCE 1 10382 _ACEOF 5894 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 10383 5895 # Use the XOPEN network library 10384 cat >>confdefs.h <<\_ACEOF 10385 #define _XOPEN_SOURCE_EXTENDED 1 10386 _ACEOF 5896 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 10387 5897 # Use the XOPEN network library 10388 5898 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 10393 5903 SHLIB_SUFFIX=".sl" 10394 5904 fi 10395 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&55905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10396 5906 $as_echo_n "checking for shl_load in -ldld... " >&6; } 10397 if test "${ac_cv_lib_dld_shl_load+set}" = set; then5907 if ${ac_cv_lib_dld_shl_load+:} false; then : 10398 5908 $as_echo_n "(cached) " >&6 10399 5909 else 10400 5910 ac_check_lib_save_LIBS=$LIBS 10401 5911 LIBS="-ldld $LIBS" 10402 cat >conftest.$ac_ext <<_ACEOF 10403 /* confdefs.h. */ 10404 _ACEOF 10405 cat confdefs.h >>conftest.$ac_ext 10406 cat >>conftest.$ac_ext <<_ACEOF 5912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10407 5913 /* end confdefs.h. */ 10408 5914 … … 10422 5928 } 10423 5929 _ACEOF 10424 rm -f conftest.$ac_objext conftest$ac_exeext 10425 if { (ac_try="$ac_link" 10426 case "(($ac_try" in 10427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10428 *) ac_try_echo=$ac_try;; 10429 esac 10430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10431 $as_echo "$ac_try_echo") >&5 10432 (eval "$ac_link") 2>conftest.er1 10433 ac_status=$? 10434 grep -v '^ *+' conftest.er1 >conftest.err 10435 rm -f conftest.er1 10436 cat conftest.err >&5 10437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10438 (exit $ac_status); } && { 10439 test -z "$ac_cxx_werror_flag" || 10440 test ! -s conftest.err 10441 } && test -s conftest$ac_exeext && { 10442 test "$cross_compiling" = yes || 10443 $as_test_x conftest$ac_exeext 10444 }; then 5930 if ac_fn_cxx_try_link "$LINENO"; then : 10445 5931 ac_cv_lib_dld_shl_load=yes 10446 5932 else 10447 $as_echo "$as_me: failed program was:" >&5 10448 sed 's/^/| /' conftest.$ac_ext >&5 10449 10450 ac_cv_lib_dld_shl_load=no 10451 fi 10452 10453 rm -rf conftest.dSYM 10454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10455 conftest$ac_exeext conftest.$ac_ext 5933 ac_cv_lib_dld_shl_load=no 5934 fi 5935 rm -f core conftest.err conftest.$ac_objext \ 5936 conftest$ac_exeext conftest.$ac_ext 10456 5937 LIBS=$ac_check_lib_save_LIBS 10457 5938 fi 10458 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&55939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10459 5940 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10460 if test "x$ac_cv_lib_dld_shl_load" = x ""yes; then5941 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 10461 5942 tcl_ok=yes 10462 5943 else … … 10498 5979 ;; 10499 5980 *) 10500 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&55981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 10501 5982 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 10502 5983 ;; … … 10511 5992 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 10512 5993 SHLIB_SUFFIX=".sl" 10513 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&55994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10514 5995 $as_echo_n "checking for shl_load in -ldld... " >&6; } 10515 if test "${ac_cv_lib_dld_shl_load+set}" = set; then5996 if ${ac_cv_lib_dld_shl_load+:} false; then : 10516 5997 $as_echo_n "(cached) " >&6 10517 5998 else 10518 5999 ac_check_lib_save_LIBS=$LIBS 10519 6000 LIBS="-ldld $LIBS" 10520 cat >conftest.$ac_ext <<_ACEOF 10521 /* confdefs.h. */ 10522 _ACEOF 10523 cat confdefs.h >>conftest.$ac_ext 10524 cat >>conftest.$ac_ext <<_ACEOF 6001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10525 6002 /* end confdefs.h. */ 10526 6003 … … 10540 6017 } 10541 6018 _ACEOF 10542 rm -f conftest.$ac_objext conftest$ac_exeext 10543 if { (ac_try="$ac_link" 10544 case "(($ac_try" in 10545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10546 *) ac_try_echo=$ac_try;; 10547 esac 10548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10549 $as_echo "$ac_try_echo") >&5 10550 (eval "$ac_link") 2>conftest.er1 10551 ac_status=$? 10552 grep -v '^ *+' conftest.er1 >conftest.err 10553 rm -f conftest.er1 10554 cat conftest.err >&5 10555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10556 (exit $ac_status); } && { 10557 test -z "$ac_cxx_werror_flag" || 10558 test ! -s conftest.err 10559 } && test -s conftest$ac_exeext && { 10560 test "$cross_compiling" = yes || 10561 $as_test_x conftest$ac_exeext 10562 }; then 6019 if ac_fn_cxx_try_link "$LINENO"; then : 10563 6020 ac_cv_lib_dld_shl_load=yes 10564 6021 else 10565 $as_echo "$as_me: failed program was:" >&5 10566 sed 's/^/| /' conftest.$ac_ext >&5 10567 10568 ac_cv_lib_dld_shl_load=no 10569 fi 10570 10571 rm -rf conftest.dSYM 10572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10573 conftest$ac_exeext conftest.$ac_ext 6022 ac_cv_lib_dld_shl_load=no 6023 fi 6024 rm -f core conftest.err conftest.$ac_objext \ 6025 conftest$ac_exeext conftest.$ac_ext 10574 6026 LIBS=$ac_check_lib_save_LIBS 10575 6027 fi 10576 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&56028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10577 6029 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10578 if test "x$ac_cv_lib_dld_shl_load" = x ""yes; then6030 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 10579 6031 tcl_ok=yes 10580 6032 else … … 10655 6107 if test "$do64bit" = "yes" ; then 10656 6108 if test "$GCC" = "yes" ; then 10657 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported by gcc" >&56109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 10658 6110 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 10659 6111 else … … 10684 6136 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10685 6137 else 10686 if test "${ac_cv_header_dld_h+set}" = set; then 10687 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 10688 $as_echo_n "checking for dld.h... " >&6; } 10689 if test "${ac_cv_header_dld_h+set}" = set; then 10690 $as_echo_n "(cached) " >&6 10691 fi 10692 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10693 $as_echo "$ac_cv_header_dld_h" >&6; } 10694 else 10695 # Is the header compilable? 10696 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 10697 $as_echo_n "checking dld.h usability... " >&6; } 10698 cat >conftest.$ac_ext <<_ACEOF 10699 /* confdefs.h. */ 10700 _ACEOF 10701 cat confdefs.h >>conftest.$ac_ext 10702 cat >>conftest.$ac_ext <<_ACEOF 10703 /* end confdefs.h. */ 10704 $ac_includes_default 10705 #include <dld.h> 10706 _ACEOF 10707 rm -f conftest.$ac_objext 10708 if { (ac_try="$ac_compile" 10709 case "(($ac_try" in 10710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10711 *) ac_try_echo=$ac_try;; 10712 esac 10713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10714 $as_echo "$ac_try_echo") >&5 10715 (eval "$ac_compile") 2>conftest.er1 10716 ac_status=$? 10717 grep -v '^ *+' conftest.er1 >conftest.err 10718 rm -f conftest.er1 10719 cat conftest.err >&5 10720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10721 (exit $ac_status); } && { 10722 test -z "$ac_cxx_werror_flag" || 10723 test ! -s conftest.err 10724 } && test -s conftest.$ac_objext; then 10725 ac_header_compiler=yes 10726 else 10727 $as_echo "$as_me: failed program was:" >&5 10728 sed 's/^/| /' conftest.$ac_ext >&5 10729 10730 ac_header_compiler=no 10731 fi 10732 10733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10734 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10735 $as_echo "$ac_header_compiler" >&6; } 10736 10737 # Is the header present? 10738 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 10739 $as_echo_n "checking dld.h presence... " >&6; } 10740 cat >conftest.$ac_ext <<_ACEOF 10741 /* confdefs.h. */ 10742 _ACEOF 10743 cat confdefs.h >>conftest.$ac_ext 10744 cat >>conftest.$ac_ext <<_ACEOF 10745 /* end confdefs.h. */ 10746 #include <dld.h> 10747 _ACEOF 10748 if { (ac_try="$ac_cpp conftest.$ac_ext" 10749 case "(($ac_try" in 10750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10751 *) ac_try_echo=$ac_try;; 10752 esac 10753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10754 $as_echo "$ac_try_echo") >&5 10755 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10756 ac_status=$? 10757 grep -v '^ *+' conftest.er1 >conftest.err 10758 rm -f conftest.er1 10759 cat conftest.err >&5 10760 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10761 (exit $ac_status); } >/dev/null && { 10762 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10763 test ! -s conftest.err 10764 }; then 10765 ac_header_preproc=yes 10766 else 10767 $as_echo "$as_me: failed program was:" >&5 10768 sed 's/^/| /' conftest.$ac_ext >&5 10769 10770 ac_header_preproc=no 10771 fi 10772 10773 rm -f conftest.err conftest.$ac_ext 10774 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10775 $as_echo "$ac_header_preproc" >&6; } 10776 10777 # So? What about this header? 10778 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10779 yes:no: ) 10780 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10781 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10782 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10783 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10784 ac_header_preproc=yes 10785 ;; 10786 no:yes:* ) 10787 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10788 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10789 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10790 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10791 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10792 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10793 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10794 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10795 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10796 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10797 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10798 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10799 ( cat <<\_ASBOX 10800 ## ----------------------------------- ## 10801 ## Report this to rappture@nanohub.org ## 10802 ## ----------------------------------- ## 10803 _ASBOX 10804 ) | sed "s/^/$as_me: WARNING: /" >&2 10805 ;; 10806 esac 10807 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 10808 $as_echo_n "checking for dld.h... " >&6; } 10809 if test "${ac_cv_header_dld_h+set}" = set; then 10810 $as_echo_n "(cached) " >&6 10811 else 10812 ac_cv_header_dld_h=$ac_header_preproc 10813 fi 10814 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10815 $as_echo "$ac_cv_header_dld_h" >&6; } 10816 10817 fi 10818 if test "x$ac_cv_header_dld_h" = x""yes; then 6138 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6139 if test "x$ac_cv_header_dld_h" = xyes; then : 10819 6140 10820 6141 SHLIB_LD="ld -shared" … … 10831 6152 fi 10832 6153 if test $do64bit = yes; then 10833 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -m64 flag" >&56154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 10834 6155 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 10835 if test "${tcl_cv_cc_m64+set}" = set; then6156 if ${tcl_cv_cc_m64+:} false; then : 10836 6157 $as_echo_n "(cached) " >&6 10837 6158 else … … 10839 6160 hold_cflags=$CFLAGS 10840 6161 CFLAGS="$CFLAGS -m64" 10841 cat >conftest.$ac_ext <<_ACEOF 10842 /* confdefs.h. */ 10843 _ACEOF 10844 cat confdefs.h >>conftest.$ac_ext 10845 cat >>conftest.$ac_ext <<_ACEOF 6162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10846 6163 /* end confdefs.h. */ 10847 6164 … … 10854 6171 } 10855 6172 _ACEOF 10856 rm -f conftest.$ac_objext conftest$ac_exeext 10857 if { (ac_try="$ac_link" 10858 case "(($ac_try" in 10859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10860 *) ac_try_echo=$ac_try;; 10861 esac 10862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10863 $as_echo "$ac_try_echo") >&5 10864 (eval "$ac_link") 2>conftest.er1 10865 ac_status=$? 10866 grep -v '^ *+' conftest.er1 >conftest.err 10867 rm -f conftest.er1 10868 cat conftest.err >&5 10869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10870 (exit $ac_status); } && { 10871 test -z "$ac_cxx_werror_flag" || 10872 test ! -s conftest.err 10873 } && test -s conftest$ac_exeext && { 10874 test "$cross_compiling" = yes || 10875 $as_test_x conftest$ac_exeext 10876 }; then 6173 if ac_fn_cxx_try_link "$LINENO"; then : 10877 6174 tcl_cv_cc_m64=yes 10878 6175 else 10879 $as_echo "$as_me: failed program was:" >&5 10880 sed 's/^/| /' conftest.$ac_ext >&5 10881 10882 tcl_cv_cc_m64=no 10883 fi 10884 10885 rm -rf conftest.dSYM 10886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10887 conftest$ac_exeext conftest.$ac_ext 6176 tcl_cv_cc_m64=no 6177 fi 6178 rm -f core conftest.err conftest.$ac_objext \ 6179 conftest$ac_exeext conftest.$ac_ext 10888 6180 CFLAGS=$hold_cflags 10889 6181 fi 10890 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_m64" >&56182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 10891 6183 $as_echo "$tcl_cv_cc_m64" >&6; } 10892 6184 if test $tcl_cv_cc_m64 = yes; then … … 10908 6200 10909 6201 # XIM peeking works under XFree86. 10910 cat >>confdefs.h <<\_ACEOF 10911 #define PEEK_XCLOSEIM 1 10912 _ACEOF 6202 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 10913 6203 10914 6204 … … 10927 6217 LD_SEARCH_FLAGS="" 10928 6218 else 10929 if test "${ac_cv_header_dld_h+set}" = set; then 10930 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 10931 $as_echo_n "checking for dld.h... " >&6; } 10932 if test "${ac_cv_header_dld_h+set}" = set; then 10933 $as_echo_n "(cached) " >&6 10934 fi 10935 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10936 $as_echo "$ac_cv_header_dld_h" >&6; } 10937 else 10938 # Is the header compilable? 10939 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 10940 $as_echo_n "checking dld.h usability... " >&6; } 10941 cat >conftest.$ac_ext <<_ACEOF 10942 /* confdefs.h. */ 10943 _ACEOF 10944 cat confdefs.h >>conftest.$ac_ext 10945 cat >>conftest.$ac_ext <<_ACEOF 10946 /* end confdefs.h. */ 10947 $ac_includes_default 10948 #include <dld.h> 10949 _ACEOF 10950 rm -f conftest.$ac_objext 10951 if { (ac_try="$ac_compile" 10952 case "(($ac_try" in 10953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10954 *) ac_try_echo=$ac_try;; 10955 esac 10956 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10957 $as_echo "$ac_try_echo") >&5 10958 (eval "$ac_compile") 2>conftest.er1 10959 ac_status=$? 10960 grep -v '^ *+' conftest.er1 >conftest.err 10961 rm -f conftest.er1 10962 cat conftest.err >&5 10963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10964 (exit $ac_status); } && { 10965 test -z "$ac_cxx_werror_flag" || 10966 test ! -s conftest.err 10967 } && test -s conftest.$ac_objext; then 10968 ac_header_compiler=yes 10969 else 10970 $as_echo "$as_me: failed program was:" >&5 10971 sed 's/^/| /' conftest.$ac_ext >&5 10972 10973 ac_header_compiler=no 10974 fi 10975 10976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10977 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10978 $as_echo "$ac_header_compiler" >&6; } 10979 10980 # Is the header present? 10981 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 10982 $as_echo_n "checking dld.h presence... " >&6; } 10983 cat >conftest.$ac_ext <<_ACEOF 10984 /* confdefs.h. */ 10985 _ACEOF 10986 cat confdefs.h >>conftest.$ac_ext 10987 cat >>conftest.$ac_ext <<_ACEOF 10988 /* end confdefs.h. */ 10989 #include <dld.h> 10990 _ACEOF 10991 if { (ac_try="$ac_cpp conftest.$ac_ext" 10992 case "(($ac_try" in 10993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10994 *) ac_try_echo=$ac_try;; 10995 esac 10996 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10997 $as_echo "$ac_try_echo") >&5 10998 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10999 ac_status=$? 11000 grep -v '^ *+' conftest.er1 >conftest.err 11001 rm -f conftest.er1 11002 cat conftest.err >&5 11003 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11004 (exit $ac_status); } >/dev/null && { 11005 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11006 test ! -s conftest.err 11007 }; then 11008 ac_header_preproc=yes 11009 else 11010 $as_echo "$as_me: failed program was:" >&5 11011 sed 's/^/| /' conftest.$ac_ext >&5 11012 11013 ac_header_preproc=no 11014 fi 11015 11016 rm -f conftest.err conftest.$ac_ext 11017 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11018 $as_echo "$ac_header_preproc" >&6; } 11019 11020 # So? What about this header? 11021 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11022 yes:no: ) 11023 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 11024 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11025 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 11026 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 11027 ac_header_preproc=yes 11028 ;; 11029 no:yes:* ) 11030 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 11031 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 11032 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 11033 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 11034 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 11035 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 11036 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 11037 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 11038 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 11039 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 11040 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 11041 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 11042 ( cat <<\_ASBOX 11043 ## ----------------------------------- ## 11044 ## Report this to rappture@nanohub.org ## 11045 ## ----------------------------------- ## 11046 _ASBOX 11047 ) | sed "s/^/$as_me: WARNING: /" >&2 11048 ;; 11049 esac 11050 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 11051 $as_echo_n "checking for dld.h... " >&6; } 11052 if test "${ac_cv_header_dld_h+set}" = set; then 11053 $as_echo_n "(cached) " >&6 11054 else 11055 ac_cv_header_dld_h=$ac_header_preproc 11056 fi 11057 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 11058 $as_echo "$ac_cv_header_dld_h" >&6; } 11059 11060 fi 11061 if test "x$ac_cv_header_dld_h" = x""yes; then 6219 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6220 if test "x$ac_cv_header_dld_h" = xyes; then : 11062 6221 11063 6222 SHLIB_LD="ld -shared" … … 11109 6268 NetBSD-*|FreeBSD-[1-2].*) 11110 6269 # Not available on all versions: check for include file. 11111 if test "${ac_cv_header_dlfcn_h+set}" = set; then 11112 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 11113 $as_echo_n "checking for dlfcn.h... " >&6; } 11114 if test "${ac_cv_header_dlfcn_h+set}" = set; then 11115 $as_echo_n "(cached) " >&6 11116 fi 11117 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 11118 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 11119 else 11120 # Is the header compilable? 11121 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 11122 $as_echo_n "checking dlfcn.h usability... " >&6; } 11123 cat >conftest.$ac_ext <<_ACEOF 11124 /* confdefs.h. */ 11125 _ACEOF 11126 cat confdefs.h >>conftest.$ac_ext 11127 cat >>conftest.$ac_ext <<_ACEOF 11128 /* end confdefs.h. */ 11129 $ac_includes_default 11130 #include <dlfcn.h> 11131 _ACEOF 11132 rm -f conftest.$ac_objext 11133 if { (ac_try="$ac_compile" 11134 case "(($ac_try" in 11135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11136 *) ac_try_echo=$ac_try;; 11137 esac 11138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11139 $as_echo "$ac_try_echo") >&5 11140 (eval "$ac_compile") 2>conftest.er1 11141 ac_status=$? 11142 grep -v '^ *+' conftest.er1 >conftest.err 11143 rm -f conftest.er1 11144 cat conftest.err >&5 11145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11146 (exit $ac_status); } && { 11147 test -z "$ac_cxx_werror_flag" || 11148 test ! -s conftest.err 11149 } && test -s conftest.$ac_objext; then 11150 ac_header_compiler=yes 11151 else 11152 $as_echo "$as_me: failed program was:" >&5 11153 sed 's/^/| /' conftest.$ac_ext >&5 11154 11155 ac_header_compiler=no 11156 fi 11157 11158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11159 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11160 $as_echo "$ac_header_compiler" >&6; } 11161 11162 # Is the header present? 11163 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 11164 $as_echo_n "checking dlfcn.h presence... " >&6; } 11165 cat >conftest.$ac_ext <<_ACEOF 11166 /* confdefs.h. */ 11167 _ACEOF 11168 cat confdefs.h >>conftest.$ac_ext 11169 cat >>conftest.$ac_ext <<_ACEOF 11170 /* end confdefs.h. */ 11171 #include <dlfcn.h> 11172 _ACEOF 11173 if { (ac_try="$ac_cpp conftest.$ac_ext" 11174 case "(($ac_try" in 11175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11176 *) ac_try_echo=$ac_try;; 11177 esac 11178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11179 $as_echo "$ac_try_echo") >&5 11180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11181 ac_status=$? 11182 grep -v '^ *+' conftest.er1 >conftest.err 11183 rm -f conftest.er1 11184 cat conftest.err >&5 11185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11186 (exit $ac_status); } >/dev/null && { 11187 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11188 test ! -s conftest.err 11189 }; then 11190 ac_header_preproc=yes 11191 else 11192 $as_echo "$as_me: failed program was:" >&5 11193 sed 's/^/| /' conftest.$ac_ext >&5 11194 11195 ac_header_preproc=no 11196 fi 11197 11198 rm -f conftest.err conftest.$ac_ext 11199 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11200 $as_echo "$ac_header_preproc" >&6; } 11201 11202 # So? What about this header? 11203 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11204 yes:no: ) 11205 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 11206 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11207 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 11208 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 11209 ac_header_preproc=yes 11210 ;; 11211 no:yes:* ) 11212 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 11213 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 11214 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 11215 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 11216 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 11217 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 11218 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 11219 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 11220 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 11221 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 11222 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 11223 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 11224 ( cat <<\_ASBOX 11225 ## ----------------------------------- ## 11226 ## Report this to rappture@nanohub.org ## 11227 ## ----------------------------------- ## 11228 _ASBOX 11229 ) | sed "s/^/$as_me: WARNING: /" >&2 11230 ;; 11231 esac 11232 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 11233 $as_echo_n "checking for dlfcn.h... " >&6; } 11234 if test "${ac_cv_header_dlfcn_h+set}" = set; then 11235 $as_echo_n "(cached) " >&6 11236 else 11237 ac_cv_header_dlfcn_h=$ac_header_preproc 11238 fi 11239 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 11240 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 11241 11242 fi 11243 if test "x$ac_cv_header_dlfcn_h" = x""yes; then 6270 ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 6271 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 11244 6272 11245 6273 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 11252 6280 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 11253 6281 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 11254 { $as_echo "$as_me:$ LINENO: checking for ELF" >&56282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 11255 6283 $as_echo_n "checking for ELF... " >&6; } 11256 if test "${tcl_cv_ld_elf+set}" = set; then6284 if ${tcl_cv_ld_elf+:} false; then : 11257 6285 $as_echo_n "(cached) " >&6 11258 6286 else 11259 6287 11260 cat >conftest.$ac_ext <<_ACEOF 11261 /* confdefs.h. */ 11262 _ACEOF 11263 cat confdefs.h >>conftest.$ac_ext 11264 cat >>conftest.$ac_ext <<_ACEOF 6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11265 6289 /* end confdefs.h. */ 11266 6290 … … 11271 6295 _ACEOF 11272 6296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11273 $EGREP "yes" >/dev/null 2>&1; then 6297 $EGREP "yes" >/dev/null 2>&1; then : 11274 6298 tcl_cv_ld_elf=yes 11275 6299 else … … 11279 6303 11280 6304 fi 11281 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&56305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 11282 6306 $as_echo "$tcl_cv_ld_elf" >&6; } 11283 6307 if test $tcl_cv_ld_elf = yes; then … … 11338 6362 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 11339 6363 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 11340 { $as_echo "$as_me:$ LINENO: checking for ELF" >&56364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 11341 6365 $as_echo_n "checking for ELF... " >&6; } 11342 if test "${tcl_cv_ld_elf+set}" = set; then6366 if ${tcl_cv_ld_elf+:} false; then : 11343 6367 $as_echo_n "(cached) " >&6 11344 6368 else 11345 6369 11346 cat >conftest.$ac_ext <<_ACEOF 11347 /* confdefs.h. */ 11348 _ACEOF 11349 cat confdefs.h >>conftest.$ac_ext 11350 cat >>conftest.$ac_ext <<_ACEOF 6370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11351 6371 /* end confdefs.h. */ 11352 6372 … … 11357 6377 _ACEOF 11358 6378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11359 $EGREP "yes" >/dev/null 2>&1; then 6379 $EGREP "yes" >/dev/null 2>&1; then : 11360 6380 tcl_cv_ld_elf=yes 11361 6381 else … … 11365 6385 11366 6386 fi 11367 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&56387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 11368 6388 $as_echo "$tcl_cv_ld_elf" >&6; } 11369 6389 if test $tcl_cv_ld_elf = yes; then … … 11420 6440 case `arch` in 11421 6441 ppc) 11422 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -arch ppc64 flag" >&56442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 11423 6443 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 11424 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then6444 if ${tcl_cv_cc_arch_ppc64+:} false; then : 11425 6445 $as_echo_n "(cached) " >&6 11426 6446 else … … 11428 6448 hold_cflags=$CFLAGS 11429 6449 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 11430 cat >conftest.$ac_ext <<_ACEOF 11431 /* confdefs.h. */ 11432 _ACEOF 11433 cat confdefs.h >>conftest.$ac_ext 11434 cat >>conftest.$ac_ext <<_ACEOF 6450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11435 6451 /* end confdefs.h. */ 11436 6452 … … 11443 6459 } 11444 6460 _ACEOF 11445 rm -f conftest.$ac_objext conftest$ac_exeext 11446 if { (ac_try="$ac_link" 11447 case "(($ac_try" in 11448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11449 *) ac_try_echo=$ac_try;; 11450 esac 11451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11452 $as_echo "$ac_try_echo") >&5 11453 (eval "$ac_link") 2>conftest.er1 11454 ac_status=$? 11455 grep -v '^ *+' conftest.er1 >conftest.err 11456 rm -f conftest.er1 11457 cat conftest.err >&5 11458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11459 (exit $ac_status); } && { 11460 test -z "$ac_cxx_werror_flag" || 11461 test ! -s conftest.err 11462 } && test -s conftest$ac_exeext && { 11463 test "$cross_compiling" = yes || 11464 $as_test_x conftest$ac_exeext 11465 }; then 6461 if ac_fn_cxx_try_link "$LINENO"; then : 11466 6462 tcl_cv_cc_arch_ppc64=yes 11467 6463 else 11468 $as_echo "$as_me: failed program was:" >&5 11469 sed 's/^/| /' conftest.$ac_ext >&5 11470 11471 tcl_cv_cc_arch_ppc64=no 11472 fi 11473 11474 rm -rf conftest.dSYM 11475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11476 conftest$ac_exeext conftest.$ac_ext 6464 tcl_cv_cc_arch_ppc64=no 6465 fi 6466 rm -f core conftest.err conftest.$ac_objext \ 6467 conftest$ac_exeext conftest.$ac_ext 11477 6468 CFLAGS=$hold_cflags 11478 6469 fi 11479 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_arch_ppc64" >&56470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 11480 6471 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 11481 6472 if test $tcl_cv_cc_arch_ppc64 = yes; then … … 11484 6475 fi;; 11485 6476 i386) 11486 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -arch x86_64 flag" >&56477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 11487 6478 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 11488 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then6479 if ${tcl_cv_cc_arch_x86_64+:} false; then : 11489 6480 $as_echo_n "(cached) " >&6 11490 6481 else … … 11492 6483 hold_cflags=$CFLAGS 11493 6484 CFLAGS="$CFLAGS -arch x86_64" 11494 cat >conftest.$ac_ext <<_ACEOF 11495 /* confdefs.h. */ 11496 _ACEOF 11497 cat confdefs.h >>conftest.$ac_ext 11498 cat >>conftest.$ac_ext <<_ACEOF 6485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11499 6486 /* end confdefs.h. */ 11500 6487 … … 11507 6494 } 11508 6495 _ACEOF 11509 rm -f conftest.$ac_objext conftest$ac_exeext 11510 if { (ac_try="$ac_link" 11511 case "(($ac_try" in 11512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11513 *) ac_try_echo=$ac_try;; 11514 esac 11515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11516 $as_echo "$ac_try_echo") >&5 11517 (eval "$ac_link") 2>conftest.er1 11518 ac_status=$? 11519 grep -v '^ *+' conftest.er1 >conftest.err 11520 rm -f conftest.er1 11521 cat conftest.err >&5 11522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11523 (exit $ac_status); } && { 11524 test -z "$ac_cxx_werror_flag" || 11525 test ! -s conftest.err 11526 } && test -s conftest$ac_exeext && { 11527 test "$cross_compiling" = yes || 11528 $as_test_x conftest$ac_exeext 11529 }; then 6496 if ac_fn_cxx_try_link "$LINENO"; then : 11530 6497 tcl_cv_cc_arch_x86_64=yes 11531 6498 else 11532 $as_echo "$as_me: failed program was:" >&5 11533 sed 's/^/| /' conftest.$ac_ext >&5 11534 11535 tcl_cv_cc_arch_x86_64=no 11536 fi 11537 11538 rm -rf conftest.dSYM 11539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11540 conftest$ac_exeext conftest.$ac_ext 6499 tcl_cv_cc_arch_x86_64=no 6500 fi 6501 rm -f core conftest.err conftest.$ac_objext \ 6502 conftest$ac_exeext conftest.$ac_ext 11541 6503 CFLAGS=$hold_cflags 11542 6504 fi 11543 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_arch_x86_64" >&56505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 11544 6506 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 11545 6507 if test $tcl_cv_cc_arch_x86_64 = yes; then … … 11548 6510 fi;; 11549 6511 *) 11550 { $as_echo "$as_me:$ LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&56512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 11551 6513 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 11552 6514 esac … … 11558 6520 fi 11559 6521 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 11560 { $as_echo "$as_me:$ LINENO: checking if ld accepts -single_module flag" >&56522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 11561 6523 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 11562 if test "${tcl_cv_ld_single_module+set}" = set; then6524 if ${tcl_cv_ld_single_module+:} false; then : 11563 6525 $as_echo_n "(cached) " >&6 11564 6526 else … … 11566 6528 hold_ldflags=$LDFLAGS 11567 6529 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 11568 cat >conftest.$ac_ext <<_ACEOF 11569 /* confdefs.h. */ 11570 _ACEOF 11571 cat confdefs.h >>conftest.$ac_ext 11572 cat >>conftest.$ac_ext <<_ACEOF 6530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11573 6531 /* end confdefs.h. */ 11574 6532 … … 11581 6539 } 11582 6540 _ACEOF 11583 rm -f conftest.$ac_objext conftest$ac_exeext 11584 if { (ac_try="$ac_link" 11585 case "(($ac_try" in 11586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11587 *) ac_try_echo=$ac_try;; 11588 esac 11589 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11590 $as_echo "$ac_try_echo") >&5 11591 (eval "$ac_link") 2>conftest.er1 11592 ac_status=$? 11593 grep -v '^ *+' conftest.er1 >conftest.err 11594 rm -f conftest.er1 11595 cat conftest.err >&5 11596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11597 (exit $ac_status); } && { 11598 test -z "$ac_cxx_werror_flag" || 11599 test ! -s conftest.err 11600 } && test -s conftest$ac_exeext && { 11601 test "$cross_compiling" = yes || 11602 $as_test_x conftest$ac_exeext 11603 }; then 6541 if ac_fn_cxx_try_link "$LINENO"; then : 11604 6542 tcl_cv_ld_single_module=yes 11605 6543 else 11606 $as_echo "$as_me: failed program was:" >&5 11607 sed 's/^/| /' conftest.$ac_ext >&5 11608 11609 tcl_cv_ld_single_module=no 11610 fi 11611 11612 rm -rf conftest.dSYM 11613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11614 conftest$ac_exeext conftest.$ac_ext 6544 tcl_cv_ld_single_module=no 6545 fi 6546 rm -f core conftest.err conftest.$ac_objext \ 6547 conftest$ac_exeext conftest.$ac_ext 11615 6548 LDFLAGS=$hold_ldflags 11616 6549 fi 11617 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_single_module" >&56550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 11618 6551 $as_echo "$tcl_cv_ld_single_module" >&6; } 11619 6552 if test $tcl_cv_ld_single_module = yes; then … … 11629 6562 LDFLAGS="$LDFLAGS -prebind" 11630 6563 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 11631 { $as_echo "$as_me:$ LINENO: checking if ld accepts -search_paths_first flag" >&56564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 11632 6565 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 11633 if test "${tcl_cv_ld_search_paths_first+set}" = set; then6566 if ${tcl_cv_ld_search_paths_first+:} false; then : 11634 6567 $as_echo_n "(cached) " >&6 11635 6568 else … … 11637 6570 hold_ldflags=$LDFLAGS 11638 6571 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 11639 cat >conftest.$ac_ext <<_ACEOF 11640 /* confdefs.h. */ 11641 _ACEOF 11642 cat confdefs.h >>conftest.$ac_ext 11643 cat >>conftest.$ac_ext <<_ACEOF 6572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11644 6573 /* end confdefs.h. */ 11645 6574 … … 11652 6581 } 11653 6582 _ACEOF 11654 rm -f conftest.$ac_objext conftest$ac_exeext 11655 if { (ac_try="$ac_link" 11656 case "(($ac_try" in 11657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11658 *) ac_try_echo=$ac_try;; 11659 esac 11660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11661 $as_echo "$ac_try_echo") >&5 11662 (eval "$ac_link") 2>conftest.er1 11663 ac_status=$? 11664 grep -v '^ *+' conftest.er1 >conftest.err 11665 rm -f conftest.er1 11666 cat conftest.err >&5 11667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11668 (exit $ac_status); } && { 11669 test -z "$ac_cxx_werror_flag" || 11670 test ! -s conftest.err 11671 } && test -s conftest$ac_exeext && { 11672 test "$cross_compiling" = yes || 11673 $as_test_x conftest$ac_exeext 11674 }; then 6583 if ac_fn_cxx_try_link "$LINENO"; then : 11675 6584 tcl_cv_ld_search_paths_first=yes 11676 6585 else 11677 $as_echo "$as_me: failed program was:" >&5 11678 sed 's/^/| /' conftest.$ac_ext >&5 11679 11680 tcl_cv_ld_search_paths_first=no 11681 fi 11682 11683 rm -rf conftest.dSYM 11684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11685 conftest$ac_exeext conftest.$ac_ext 6586 tcl_cv_ld_search_paths_first=no 6587 fi 6588 rm -f core conftest.err conftest.$ac_objext \ 6589 conftest$ac_exeext conftest.$ac_ext 11686 6590 LDFLAGS=$hold_ldflags 11687 6591 fi 11688 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_search_paths_first" >&56592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 11689 6593 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 11690 6594 if test $tcl_cv_ld_search_paths_first = yes; then … … 11696 6600 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 11697 6601 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 11698 { $as_echo "$as_me:$ LINENO: checking whether to use CoreFoundation" >&56602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5 11699 6603 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 11700 6604 # Check whether --enable-corefoundation was given. 11701 if test "${enable_corefoundation+set}" = set; then 6605 if test "${enable_corefoundation+set}" = set; then : 11702 6606 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 11703 6607 else … … 11705 6609 fi 11706 6610 11707 { $as_echo "$as_me:$ LINENO: result: $tcl_corefoundation" >&56611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5 11708 6612 $as_echo "$tcl_corefoundation" >&6; } 11709 6613 if test $tcl_corefoundation = yes; then 11710 { $as_echo "$as_me:$ LINENO: checking for CoreFoundation.framework" >&56614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 11711 6615 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 11712 if test "${tcl_cv_lib_corefoundation+set}" = set; then6616 if ${tcl_cv_lib_corefoundation+:} false; then : 11713 6617 $as_echo_n "(cached) " >&6 11714 6618 else … … 11722 6626 done; fi 11723 6627 LIBS="$LIBS -framework CoreFoundation" 11724 cat >conftest.$ac_ext <<_ACEOF 11725 /* confdefs.h. */ 11726 _ACEOF 11727 cat confdefs.h >>conftest.$ac_ext 11728 cat >>conftest.$ac_ext <<_ACEOF 6628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11729 6629 /* end confdefs.h. */ 11730 6630 #include <CoreFoundation/CoreFoundation.h> … … 11737 6637 } 11738 6638 _ACEOF 11739 rm -f conftest.$ac_objext conftest$ac_exeext 11740 if { (ac_try="$ac_link" 11741 case "(($ac_try" in 11742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11743 *) ac_try_echo=$ac_try;; 11744 esac 11745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11746 $as_echo "$ac_try_echo") >&5 11747 (eval "$ac_link") 2>conftest.er1 11748 ac_status=$? 11749 grep -v '^ *+' conftest.er1 >conftest.err 11750 rm -f conftest.er1 11751 cat conftest.err >&5 11752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11753 (exit $ac_status); } && { 11754 test -z "$ac_cxx_werror_flag" || 11755 test ! -s conftest.err 11756 } && test -s conftest$ac_exeext && { 11757 test "$cross_compiling" = yes || 11758 $as_test_x conftest$ac_exeext 11759 }; then 6639 if ac_fn_cxx_try_link "$LINENO"; then : 11760 6640 tcl_cv_lib_corefoundation=yes 11761 6641 else 11762 $as_echo "$as_me: failed program was:" >&5 11763 sed 's/^/| /' conftest.$ac_ext >&5 11764 11765 tcl_cv_lib_corefoundation=no 11766 fi 11767 11768 rm -rf conftest.dSYM 11769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11770 conftest$ac_exeext conftest.$ac_ext 6642 tcl_cv_lib_corefoundation=no 6643 fi 6644 rm -f core conftest.err conftest.$ac_objext \ 6645 conftest$ac_exeext conftest.$ac_ext 11771 6646 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 11772 6647 eval $v'="$hold_'$v'"' 11773 6648 done; fi; LIBS=$hold_libs 11774 6649 fi 11775 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_lib_corefoundation" >&56650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5 11776 6651 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 11777 6652 if test $tcl_cv_lib_corefoundation = yes; then 11778 6653 LIBS="$LIBS -framework CoreFoundation" 11779 cat >>confdefs.h <<\_ACEOF 11780 #define HAVE_COREFOUNDATION 1 11781 _ACEOF 6654 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 11782 6655 11783 6656 else … … 11785 6658 fi 11786 6659 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 11787 { $as_echo "$as_me:$ LINENO: checking for 64-bit CoreFoundation" >&56660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 11788 6661 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 11789 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then6662 if ${tcl_cv_lib_corefoundation_64+:} false; then : 11790 6663 $as_echo_n "(cached) " >&6 11791 6664 else … … 11794 6667 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 11795 6668 done 11796 cat >conftest.$ac_ext <<_ACEOF 11797 /* confdefs.h. */ 11798 _ACEOF 11799 cat confdefs.h >>conftest.$ac_ext 11800 cat >>conftest.$ac_ext <<_ACEOF 6669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11801 6670 /* end confdefs.h. */ 11802 6671 #include <CoreFoundation/CoreFoundation.h> … … 11809 6678 } 11810 6679 _ACEOF 11811 rm -f conftest.$ac_objext conftest$ac_exeext 11812 if { (ac_try="$ac_link" 11813 case "(($ac_try" in 11814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11815 *) ac_try_echo=$ac_try;; 11816 esac 11817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11818 $as_echo "$ac_try_echo") >&5 11819 (eval "$ac_link") 2>conftest.er1 11820 ac_status=$? 11821 grep -v '^ *+' conftest.er1 >conftest.err 11822 rm -f conftest.er1 11823 cat conftest.err >&5 11824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11825 (exit $ac_status); } && { 11826 test -z "$ac_cxx_werror_flag" || 11827 test ! -s conftest.err 11828 } && test -s conftest$ac_exeext && { 11829 test "$cross_compiling" = yes || 11830 $as_test_x conftest$ac_exeext 11831 }; then 6680 if ac_fn_cxx_try_link "$LINENO"; then : 11832 6681 tcl_cv_lib_corefoundation_64=yes 11833 6682 else 11834 $as_echo "$as_me: failed program was:" >&5 11835 sed 's/^/| /' conftest.$ac_ext >&5 11836 11837 tcl_cv_lib_corefoundation_64=no 11838 fi 11839 11840 rm -rf conftest.dSYM 11841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11842 conftest$ac_exeext conftest.$ac_ext 6683 tcl_cv_lib_corefoundation_64=no 6684 fi 6685 rm -f core conftest.err conftest.$ac_objext \ 6686 conftest$ac_exeext conftest.$ac_ext 11843 6687 for v in CFLAGS CPPFLAGS LDFLAGS; do 11844 6688 eval $v'="$hold_'$v'"' 11845 6689 done 11846 6690 fi 11847 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_lib_corefoundation_64" >&56691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5 11848 6692 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 11849 6693 if test $tcl_cv_lib_corefoundation_64 = no; then 11850 cat >>confdefs.h <<\_ACEOF 11851 #define NO_COREFOUNDATION_64 1 11852 _ACEOF 6694 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 11853 6695 11854 6696 fi 11855 6697 fi 11856 6698 fi 11857 cat >>confdefs.h <<\_ACEOF 11858 #define MAC_OSX_TCL 1 11859 _ACEOF 6699 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 11860 6700 11861 6701 ;; … … 11872 6712 OS/390-*) 11873 6713 CFLAGS_OPTIMIZE="" # Optimizer is buggy 11874 cat >>confdefs.h <<\_ACEOF 11875 #define _OE_SOCKETS 1 11876 _ACEOF 6714 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 11877 6715 # needed in sys/socket.h 11878 6716 ;; … … 12015 6853 # won't define thread-safe library routines. 12016 6854 12017 cat >>confdefs.h <<\_ACEOF 12018 #define _REENTRANT 1 12019 _ACEOF 12020 12021 cat >>confdefs.h <<\_ACEOF 12022 #define _POSIX_PTHREAD_SEMANTICS 1 12023 _ACEOF 6855 $as_echo "#define _REENTRANT 1" >>confdefs.h 6856 6857 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 12024 6858 12025 6859 … … 12047 6881 # won't define thread-safe library routines. 12048 6882 12049 cat >>confdefs.h <<\_ACEOF 12050 #define _REENTRANT 1 12051 _ACEOF 12052 12053 cat >>confdefs.h <<\_ACEOF 12054 #define _POSIX_PTHREAD_SEMANTICS 1 12055 _ACEOF 6883 $as_echo "#define _REENTRANT 1" >>confdefs.h 6884 6885 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 12056 6886 12057 6887 … … 12064 6894 if test "$GCC" = "yes" ; then 12065 6895 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 12066 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&56896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 12067 6897 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 12068 6898 else … … 12086 6916 elif test "$arch" = "amd64 i386" ; then 12087 6917 if test "$GCC" = "yes" ; then 12088 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&56918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 12089 6919 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 12090 6920 else … … 12094 6924 fi 12095 6925 else 12096 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported for $arch" >&56926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 12097 6927 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 12098 6928 fi … … 12153 6983 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 12154 6984 # that don't grok the -Bexport option. Test that it does. 12155 { $as_echo "$as_me:$ LINENO: checking for ld accepts -Bexport flag" >&56985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 12156 6986 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 12157 if test "${tcl_cv_ld_Bexport+set}" = set; then6987 if ${tcl_cv_ld_Bexport+:} false; then : 12158 6988 $as_echo_n "(cached) " >&6 12159 6989 else … … 12161 6991 hold_ldflags=$LDFLAGS 12162 6992 LDFLAGS="$LDFLAGS -Wl,-Bexport" 12163 cat >conftest.$ac_ext <<_ACEOF 12164 /* confdefs.h. */ 12165 _ACEOF 12166 cat confdefs.h >>conftest.$ac_ext 12167 cat >>conftest.$ac_ext <<_ACEOF 6993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12168 6994 /* end confdefs.h. */ 12169 6995 … … 12176 7002 } 12177 7003 _ACEOF 12178 rm -f conftest.$ac_objext conftest$ac_exeext 12179 if { (ac_try="$ac_link" 12180 case "(($ac_try" in 12181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12182 *) ac_try_echo=$ac_try;; 12183 esac 12184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12185 $as_echo "$ac_try_echo") >&5 12186 (eval "$ac_link") 2>conftest.er1 12187 ac_status=$? 12188 grep -v '^ *+' conftest.er1 >conftest.err 12189 rm -f conftest.er1 12190 cat conftest.err >&5 12191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12192 (exit $ac_status); } && { 12193 test -z "$ac_cxx_werror_flag" || 12194 test ! -s conftest.err 12195 } && test -s conftest$ac_exeext && { 12196 test "$cross_compiling" = yes || 12197 $as_test_x conftest$ac_exeext 12198 }; then 7004 if ac_fn_cxx_try_link "$LINENO"; then : 12199 7005 tcl_cv_ld_Bexport=yes 12200 7006 else 12201 $as_echo "$as_me: failed program was:" >&5 12202 sed 's/^/| /' conftest.$ac_ext >&5 12203 12204 tcl_cv_ld_Bexport=no 12205 fi 12206 12207 rm -rf conftest.dSYM 12208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12209 conftest$ac_exeext conftest.$ac_ext 7007 tcl_cv_ld_Bexport=no 7008 fi 7009 rm -f core conftest.err conftest.$ac_objext \ 7010 conftest$ac_exeext conftest.$ac_ext 12210 7011 LDFLAGS=$hold_ldflags 12211 7012 fi 12212 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_Bexport" >&57013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 12213 7014 $as_echo "$tcl_cv_ld_Bexport" >&6; } 12214 7015 if test $tcl_cv_ld_Bexport = yes; then … … 12221 7022 12222 7023 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 12223 { $as_echo "$as_me:$ LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&57024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 12224 7025 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 12225 7026 fi … … 12248 7049 12249 7050 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 12250 { $as_echo "$as_me:$ LINENO: checking sys/exec.h" >&57051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 12251 7052 $as_echo_n "checking sys/exec.h... " >&6; } 12252 if test "${tcl_cv_sysexec_h+set}" = set; then7053 if ${tcl_cv_sysexec_h+:} false; then : 12253 7054 $as_echo_n "(cached) " >&6 12254 7055 else 12255 7056 12256 cat >conftest.$ac_ext <<_ACEOF 12257 /* confdefs.h. */ 12258 _ACEOF 12259 cat confdefs.h >>conftest.$ac_ext 12260 cat >>conftest.$ac_ext <<_ACEOF 7057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12261 7058 /* end confdefs.h. */ 12262 7059 #include <sys/exec.h> … … 12280 7077 } 12281 7078 _ACEOF 12282 rm -f conftest.$ac_objext 12283 if { (ac_try="$ac_compile" 12284 case "(($ac_try" in 12285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12286 *) ac_try_echo=$ac_try;; 12287 esac 12288 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12289 $as_echo "$ac_try_echo") >&5 12290 (eval "$ac_compile") 2>conftest.er1 12291 ac_status=$? 12292 grep -v '^ *+' conftest.er1 >conftest.err 12293 rm -f conftest.er1 12294 cat conftest.err >&5 12295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12296 (exit $ac_status); } && { 12297 test -z "$ac_cxx_werror_flag" || 12298 test ! -s conftest.err 12299 } && test -s conftest.$ac_objext; then 7079 if ac_fn_cxx_try_compile "$LINENO"; then : 12300 7080 tcl_cv_sysexec_h=usable 12301 7081 else 12302 $as_echo "$as_me: failed program was:" >&5 12303 sed 's/^/| /' conftest.$ac_ext >&5 12304 12305 tcl_cv_sysexec_h=unusable 12306 fi 12307 7082 tcl_cv_sysexec_h=unusable 7083 fi 12308 7084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12309 7085 fi 12310 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sysexec_h" >&57086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5 12311 7087 $as_echo "$tcl_cv_sysexec_h" >&6; } 12312 7088 if test $tcl_cv_sysexec_h = usable; then 12313 cat >>confdefs.h <<\_ACEOF 12314 #define USE_SYS_EXEC_H 1 12315 _ACEOF 7089 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 12316 7090 12317 7091 else 12318 { $as_echo "$as_me:$ LINENO: checking a.out.h" >&57092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 12319 7093 $as_echo_n "checking a.out.h... " >&6; } 12320 if test "${tcl_cv_aout_h+set}" = set; then7094 if ${tcl_cv_aout_h+:} false; then : 12321 7095 $as_echo_n "(cached) " >&6 12322 7096 else 12323 7097 12324 cat >conftest.$ac_ext <<_ACEOF 12325 /* confdefs.h. */ 12326 _ACEOF 12327 cat confdefs.h >>conftest.$ac_ext 12328 cat >>conftest.$ac_ext <<_ACEOF 7098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12329 7099 /* end confdefs.h. */ 12330 7100 #include <a.out.h> … … 12348 7118 } 12349 7119 _ACEOF 12350 rm -f conftest.$ac_objext 12351 if { (ac_try="$ac_compile" 12352 case "(($ac_try" in 12353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12354 *) ac_try_echo=$ac_try;; 12355 esac 12356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12357 $as_echo "$ac_try_echo") >&5 12358 (eval "$ac_compile") 2>conftest.er1 12359 ac_status=$? 12360 grep -v '^ *+' conftest.er1 >conftest.err 12361 rm -f conftest.er1 12362 cat conftest.err >&5 12363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12364 (exit $ac_status); } && { 12365 test -z "$ac_cxx_werror_flag" || 12366 test ! -s conftest.err 12367 } && test -s conftest.$ac_objext; then 7120 if ac_fn_cxx_try_compile "$LINENO"; then : 12368 7121 tcl_cv_aout_h=usable 12369 7122 else 12370 $as_echo "$as_me: failed program was:" >&5 12371 sed 's/^/| /' conftest.$ac_ext >&5 12372 12373 tcl_cv_aout_h=unusable 12374 fi 12375 7123 tcl_cv_aout_h=unusable 7124 fi 12376 7125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12377 7126 fi 12378 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_aout_h" >&57127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5 12379 7128 $as_echo "$tcl_cv_aout_h" >&6; } 12380 7129 if test $tcl_cv_aout_h = usable; then 12381 cat >>confdefs.h <<\_ACEOF 12382 #define USE_A_OUT_H 1 12383 _ACEOF 7130 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 12384 7131 12385 7132 else 12386 { $as_echo "$as_me:$ LINENO: checking sys/exec_aout.h" >&57133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 12387 7134 $as_echo_n "checking sys/exec_aout.h... " >&6; } 12388 if test "${tcl_cv_sysexecaout_h+set}" = set; then7135 if ${tcl_cv_sysexecaout_h+:} false; then : 12389 7136 $as_echo_n "(cached) " >&6 12390 7137 else 12391 7138 12392 cat >conftest.$ac_ext <<_ACEOF 12393 /* confdefs.h. */ 12394 _ACEOF 12395 cat confdefs.h >>conftest.$ac_ext 12396 cat >>conftest.$ac_ext <<_ACEOF 7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12397 7140 /* end confdefs.h. */ 12398 7141 #include <sys/exec_aout.h> … … 12416 7159 } 12417 7160 _ACEOF 12418 rm -f conftest.$ac_objext 12419 if { (ac_try="$ac_compile" 12420 case "(($ac_try" in 12421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12422 *) ac_try_echo=$ac_try;; 12423 esac 12424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12425 $as_echo "$ac_try_echo") >&5 12426 (eval "$ac_compile") 2>conftest.er1 12427 ac_status=$? 12428 grep -v '^ *+' conftest.er1 >conftest.err 12429 rm -f conftest.er1 12430 cat conftest.err >&5 12431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12432 (exit $ac_status); } && { 12433 test -z "$ac_cxx_werror_flag" || 12434 test ! -s conftest.err 12435 } && test -s conftest.$ac_objext; then 7161 if ac_fn_cxx_try_compile "$LINENO"; then : 12436 7162 tcl_cv_sysexecaout_h=usable 12437 7163 else 12438 $as_echo "$as_me: failed program was:" >&5 12439 sed 's/^/| /' conftest.$ac_ext >&5 12440 12441 tcl_cv_sysexecaout_h=unusable 12442 fi 12443 7164 tcl_cv_sysexecaout_h=unusable 7165 fi 12444 7166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12445 7167 fi 12446 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sysexecaout_h" >&57168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5 12447 7169 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 12448 7170 if test $tcl_cv_sysexecaout_h = usable; then 12449 cat >>confdefs.h <<\_ACEOF 12450 #define USE_SYS_EXEC_AOUT_H 1 12451 _ACEOF 7171 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 12452 7172 12453 7173 else … … 12461 7181 12462 7182 # Check whether --enable-load was given. 12463 if test "${enable_load+set}" = set; then 7183 if test "${enable_load+set}" = set; then : 12464 7184 enableval=$enable_load; tcl_ok=$enableval 12465 7185 else … … 12592 7312 done 12593 7313 if test "x${make_command}" = "x" ; then 12594 { { $as_echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5 12595 $as_echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;} 12596 { (exit 1); exit 1; }; } 7314 as_fn_error $? "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5 12597 7315 fi 12598 7316 12599 7317 # Check whether --enable-gui was given. 12600 if test "${enable_gui+set}" = set; then 7318 if test "${enable_gui+set}" = set; then : 12601 7319 enableval=$enable_gui; 12602 7320 else … … 12623 7341 12624 7342 # Check whether --with-ffmpeg was given. 12625 if test "${with_ffmpeg+set}" = set; then 7343 if test "${with_ffmpeg+set}" = set; then : 12626 7344 withval=$with_ffmpeg; 12627 7345 else … … 12632 7350 12633 7351 # Check whether --with-tclsh was given. 12634 if test "${with_tclsh+set}" = set; then 7352 if test "${with_tclsh+set}" = set; then : 12635 7353 withval=$with_tclsh; 12636 7354 else … … 12645 7363 # Extract the first word of "${tclsh}", so it can be a program name with args. 12646 7364 set dummy ${tclsh}; ac_word=$2 12647 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12648 7366 $as_echo_n "checking for $ac_word... " >&6; } 12649 if test "${ac_cv_path_TCLSH+set}" = set; then7367 if ${ac_cv_path_TCLSH+:} false; then : 12650 7368 $as_echo_n "(cached) " >&6 12651 7369 else … … 12661 7379 IFS=$as_save_IFS 12662 7380 test -z "$as_dir" && as_dir=. 12663 for ac_exec_ext in '' $ac_executable_extensions; do12664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7381 for ac_exec_ext in '' $ac_executable_extensions; do 7382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12665 7383 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 12666 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12667 7385 break 2 12668 7386 fi 12669 7387 done 12670 done7388 done 12671 7389 IFS=$as_save_IFS 12672 7390 … … 12676 7394 TCLSH=$ac_cv_path_TCLSH 12677 7395 if test -n "$TCLSH"; then 12678 { $as_echo "$as_me:$ LINENO: result: $TCLSH" >&57396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 12679 7397 $as_echo "$TCLSH" >&6; } 12680 7398 else 12681 { $as_echo "$as_me:$ LINENO: result: no" >&57399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12682 7400 $as_echo "no" >&6; } 12683 7401 fi … … 12687 7405 # Extract the first word of "${tclsh}", so it can be a program name with args. 12688 7406 set dummy ${tclsh}; ac_word=$2 12689 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12690 7408 $as_echo_n "checking for $ac_word... " >&6; } 12691 if test "${ac_cv_path_TCLSH+set}" = set; then7409 if ${ac_cv_path_TCLSH+:} false; then : 12692 7410 $as_echo_n "(cached) " >&6 12693 7411 else … … 12703 7421 IFS=$as_save_IFS 12704 7422 test -z "$as_dir" && as_dir=. 12705 for ac_exec_ext in '' $ac_executable_extensions; do12706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7423 for ac_exec_ext in '' $ac_executable_extensions; do 7424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12707 7425 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 12708 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12709 7427 break 2 12710 7428 fi 12711 7429 done 12712 done7430 done 12713 7431 IFS=$as_save_IFS 12714 7432 … … 12718 7436 TCLSH=$ac_cv_path_TCLSH 12719 7437 if test -n "$TCLSH"; then 12720 { $as_echo "$as_me:$ LINENO: result: $TCLSH" >&57438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 12721 7439 $as_echo "$TCLSH" >&6; } 12722 7440 else 12723 { $as_echo "$as_me:$ LINENO: result: no" >&57441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12724 7442 $as_echo "no" >&6; } 12725 7443 fi … … 12728 7446 fi 12729 7447 if test "x${TCLSH}" = "x" ; then 12730 { { $as_echo "$as_me:$LINENO: error: can't find tclsh" >&5 12731 $as_echo "$as_me: error: can't find tclsh" >&2;} 12732 { (exit 1); exit 1; }; } 7448 as_fn_error $? "can't find tclsh" "$LINENO" 5 12733 7449 fi 12734 7450 fi … … 12739 7455 12740 7456 # Check whether --with-vtk was given. 12741 if test "${with_vtk+set}" = set; then 7457 if test "${with_vtk+set}" = set; then : 12742 7458 withval=$with_vtk; 12743 7459 else … … 12746 7462 12747 7463 12748 { $as_echo "$as_me:$ LINENO: checking for vtk" >&57464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtk" >&5 12749 7465 $as_echo_n "checking for vtk... " >&6; } 12750 7466 VTKDIR="" … … 12770 7486 fi 12771 7487 fi 12772 { $as_echo "$as_me:$ LINENO: result: $VTKDIR" >&57488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTKDIR" >&5 12773 7489 $as_echo "$VTKDIR" >&6; } 12774 7490 … … 12776 7492 12777 7493 # Check whether --with-matlab was given. 12778 if test "${with_matlab+set}" = set; then 7494 if test "${with_matlab+set}" = set; then : 12779 7495 withval=$with_matlab; 12780 7496 else … … 12792 7508 # Extract the first word of "matlab", so it can be a program name with args. 12793 7509 set dummy matlab; ac_word=$2 12794 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12795 7511 $as_echo_n "checking for $ac_word... " >&6; } 12796 if test "${ac_cv_path_MATLAB+set}" = set; then7512 if ${ac_cv_path_MATLAB+:} false; then : 12797 7513 $as_echo_n "(cached) " >&6 12798 7514 else … … 12807 7523 IFS=$as_save_IFS 12808 7524 test -z "$as_dir" && as_dir=. 12809 for ac_exec_ext in '' $ac_executable_extensions; do12810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7525 for ac_exec_ext in '' $ac_executable_extensions; do 7526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12811 7527 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12812 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12813 7529 break 2 12814 7530 fi 12815 7531 done 12816 done7532 done 12817 7533 IFS=$as_save_IFS 12818 7534 … … 12822 7538 MATLAB=$ac_cv_path_MATLAB 12823 7539 if test -n "$MATLAB"; then 12824 { $as_echo "$as_me:$ LINENO: result: $MATLAB" >&57540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 12825 7541 $as_echo "$MATLAB" >&6; } 12826 7542 else 12827 { $as_echo "$as_me:$ LINENO: result: no" >&57543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12828 7544 $as_echo "no" >&6; } 12829 7545 fi … … 12833 7549 # Extract the first word of "matlab", so it can be a program name with args. 12834 7550 set dummy matlab; ac_word=$2 12835 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12836 7552 $as_echo_n "checking for $ac_word... " >&6; } 12837 if test "${ac_cv_path_MATLAB+set}" = set; then7553 if ${ac_cv_path_MATLAB+:} false; then : 12838 7554 $as_echo_n "(cached) " >&6 12839 7555 else … … 12849 7565 IFS=$as_save_IFS 12850 7566 test -z "$as_dir" && as_dir=. 12851 for ac_exec_ext in '' $ac_executable_extensions; do12852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7567 for ac_exec_ext in '' $ac_executable_extensions; do 7568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12853 7569 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12854 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12855 7571 break 2 12856 7572 fi 12857 7573 done 12858 done7574 done 12859 7575 IFS=$as_save_IFS 12860 7576 … … 12864 7580 MATLAB=$ac_cv_path_MATLAB 12865 7581 if test -n "$MATLAB"; then 12866 { $as_echo "$as_me:$ LINENO: result: $MATLAB" >&57582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 12867 7583 $as_echo "$MATLAB" >&6; } 12868 7584 else 12869 { $as_echo "$as_me:$ LINENO: result: no" >&57585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12870 7586 $as_echo "no" >&6; } 12871 7587 fi … … 12884 7600 # Extract the first word of "mex", so it can be a program name with args. 12885 7601 set dummy mex; ac_word=$2 12886 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12887 7603 $as_echo_n "checking for $ac_word... " >&6; } 12888 if test "${ac_cv_path_MEX+set}" = set; then7604 if ${ac_cv_path_MEX+:} false; then : 12889 7605 $as_echo_n "(cached) " >&6 12890 7606 else … … 12899 7615 IFS=$as_save_IFS 12900 7616 test -z "$as_dir" && as_dir=. 12901 for ac_exec_ext in '' $ac_executable_extensions; do12902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7617 for ac_exec_ext in '' $ac_executable_extensions; do 7618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12903 7619 ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext" 12904 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12905 7621 break 2 12906 7622 fi 12907 7623 done 12908 done7624 done 12909 7625 IFS=$as_save_IFS 12910 7626 … … 12914 7630 MEX=$ac_cv_path_MEX 12915 7631 if test -n "$MEX"; then 12916 { $as_echo "$as_me:$ LINENO: result: $MEX" >&57632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&5 12917 7633 $as_echo "$MEX" >&6; } 12918 7634 else 12919 { $as_echo "$as_me:$ LINENO: result: no" >&57635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12920 7636 $as_echo "no" >&6; } 12921 7637 fi … … 12924 7640 # Extract the first word of "mexext", so it can be a program name with args. 12925 7641 set dummy mexext; ac_word=$2 12926 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12927 7643 $as_echo_n "checking for $ac_word... " >&6; } 12928 if test "${ac_cv_path_MEXEXT+set}" = set; then7644 if ${ac_cv_path_MEXEXT+:} false; then : 12929 7645 $as_echo_n "(cached) " >&6 12930 7646 else … … 12939 7655 IFS=$as_save_IFS 12940 7656 test -z "$as_dir" && as_dir=. 12941 for ac_exec_ext in '' $ac_executable_extensions; do12942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7657 for ac_exec_ext in '' $ac_executable_extensions; do 7658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12943 7659 ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext" 12944 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12945 7661 break 2 12946 7662 fi 12947 7663 done 12948 done7664 done 12949 7665 IFS=$as_save_IFS 12950 7666 … … 12954 7670 MEXEXT=$ac_cv_path_MEXEXT 12955 7671 if test -n "$MEXEXT"; then 12956 { $as_echo "$as_me:$ LINENO: result: $MEXEXT" >&57672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 12957 7673 $as_echo "$MEXEXT" >&6; } 12958 7674 else 12959 { $as_echo "$as_me:$ LINENO: result: no" >&57675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12960 7676 $as_echo "no" >&6; } 12961 7677 fi … … 12964 7680 12965 7681 # Run "mexext" to get the expected module extension for this platform. 12966 { $as_echo "$as_me:$ LINENO: checking for mex extension" >&57682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&5 12967 7683 $as_echo_n "checking for mex extension... " >&6; } 12968 7684 if test "x$MEXEXT" != "x" ; then … … 12971 7687 MEXEXT="mexglx" 12972 7688 fi 12973 { $as_echo "$as_me:$ LINENO: result: $MEXEXT" >&57689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 12974 7690 $as_echo "$MEXEXT" >&6; } 12975 7691 # Extract the first word of "mcc", so it can be a program name with args. 12976 7692 set dummy mcc; ac_word=$2 12977 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12978 7694 $as_echo_n "checking for $ac_word... " >&6; } 12979 if test "${ac_cv_path_MCC+set}" = set; then7695 if ${ac_cv_path_MCC+:} false; then : 12980 7696 $as_echo_n "(cached) " >&6 12981 7697 else … … 12990 7706 IFS=$as_save_IFS 12991 7707 test -z "$as_dir" && as_dir=. 12992 for ac_exec_ext in '' $ac_executable_extensions; do12993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7708 for ac_exec_ext in '' $ac_executable_extensions; do 7709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12994 7710 ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext" 12995 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12996 7712 break 2 12997 7713 fi 12998 7714 done 12999 done7715 done 13000 7716 IFS=$as_save_IFS 13001 7717 … … 13005 7721 MCC=$ac_cv_path_MCC 13006 7722 if test -n "$MCC"; then 13007 { $as_echo "$as_me:$ LINENO: result: $MCC" >&57723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&5 13008 7724 $as_echo "$MCC" >&6; } 13009 7725 else 13010 { $as_echo "$as_me:$ LINENO: result: no" >&57726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13011 7727 $as_echo "no" >&6; } 13012 7728 fi 13013 7729 13014 7730 13015 { $as_echo "$as_me:$ LINENO: checking for mcc extension" >&57731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&5 13016 7732 $as_echo_n "checking for mcc extension... " >&6; } 13017 7733 fi … … 13020 7736 13021 7737 # Check whether --with-octave was given. 13022 if test "${with_octave+set}" = set; then 7738 if test "${with_octave+set}" = set; then : 13023 7739 withval=$with_octave; 13024 7740 else … … 13037 7753 # Extract the first word of "octave", so it can be a program name with args. 13038 7754 set dummy octave; ac_word=$2 13039 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13040 7756 $as_echo_n "checking for $ac_word... " >&6; } 13041 if test "${ac_cv_path_OCTAVE+set}" = set; then7757 if ${ac_cv_path_OCTAVE+:} false; then : 13042 7758 $as_echo_n "(cached) " >&6 13043 7759 else … … 13052 7768 IFS=$as_save_IFS 13053 7769 test -z "$as_dir" && as_dir=. 13054 for ac_exec_ext in '' $ac_executable_extensions; do13055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7770 for ac_exec_ext in '' $ac_executable_extensions; do 7771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13056 7772 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 13057 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13058 7774 break 2 13059 7775 fi 13060 7776 done 13061 done7777 done 13062 7778 IFS=$as_save_IFS 13063 7779 … … 13067 7783 OCTAVE=$ac_cv_path_OCTAVE 13068 7784 if test -n "$OCTAVE"; then 13069 { $as_echo "$as_me:$ LINENO: result: $OCTAVE" >&57785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5 13070 7786 $as_echo "$OCTAVE" >&6; } 13071 7787 else 13072 { $as_echo "$as_me:$ LINENO: result: no" >&57788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13073 7789 $as_echo "no" >&6; } 13074 7790 fi … … 13077 7793 # Extract the first word of "mkoctfile", so it can be a program name with args. 13078 7794 set dummy mkoctfile; ac_word=$2 13079 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13080 7796 $as_echo_n "checking for $ac_word... " >&6; } 13081 if test "${ac_cv_path_MKOCTFILE+set}" = set; then7797 if ${ac_cv_path_MKOCTFILE+:} false; then : 13082 7798 $as_echo_n "(cached) " >&6 13083 7799 else … … 13092 7808 IFS=$as_save_IFS 13093 7809 test -z "$as_dir" && as_dir=. 13094 for ac_exec_ext in '' $ac_executable_extensions; do13095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7810 for ac_exec_ext in '' $ac_executable_extensions; do 7811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13096 7812 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 13097 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13098 7814 break 2 13099 7815 fi 13100 7816 done 13101 done7817 done 13102 7818 IFS=$as_save_IFS 13103 7819 … … 13107 7823 MKOCTFILE=$ac_cv_path_MKOCTFILE 13108 7824 if test -n "$MKOCTFILE"; then 13109 { $as_echo "$as_me:$ LINENO: result: $MKOCTFILE" >&57825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5 13110 7826 $as_echo "$MKOCTFILE" >&6; } 13111 7827 else 13112 { $as_echo "$as_me:$ LINENO: result: no" >&57828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13113 7829 $as_echo "no" >&6; } 13114 7830 fi … … 13153 7869 13154 7870 # Check whether --with-mkoctfile3 was given. 13155 if test "${with_mkoctfile3+set}" = set; then 7871 if test "${with_mkoctfile3+set}" = set; then : 13156 7872 withval=$with_mkoctfile3; 13157 7873 else … … 13164 7880 # Extract the first word of "mkoctfile", so it can be a program name with args. 13165 7881 set dummy mkoctfile; ac_word=$2 13166 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13167 7883 $as_echo_n "checking for $ac_word... " >&6; } 13168 if test "${ac_cv_path_mkoctfile3+set}" = set; then7884 if ${ac_cv_path_mkoctfile3+:} false; then : 13169 7885 $as_echo_n "(cached) " >&6 13170 7886 else … … 13179 7895 IFS=$as_save_IFS 13180 7896 test -z "$as_dir" && as_dir=. 13181 for ac_exec_ext in '' $ac_executable_extensions; do13182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7897 for ac_exec_ext in '' $ac_executable_extensions; do 7898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13183 7899 ac_cv_path_mkoctfile3="$as_dir/$ac_word$ac_exec_ext" 13184 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13185 7901 break 2 13186 7902 fi 13187 7903 done 13188 done7904 done 13189 7905 IFS=$as_save_IFS 13190 7906 … … 13194 7910 mkoctfile3=$ac_cv_path_mkoctfile3 13195 7911 if test -n "$mkoctfile3"; then 13196 { $as_echo "$as_me:$ LINENO: result: $mkoctfile3" >&57912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile3" >&5 13197 7913 $as_echo "$mkoctfile3" >&6; } 13198 7914 else 13199 { $as_echo "$as_me:$ LINENO: result: no" >&57915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13200 7916 $as_echo "no" >&6; } 13201 7917 fi … … 13213 7929 13214 7930 # Check whether --with-mkoctfile2 was given. 13215 if test "${with_mkoctfile2+set}" = set; then 7931 if test "${with_mkoctfile2+set}" = set; then : 13216 7932 withval=$with_mkoctfile2; 13217 7933 else … … 13224 7940 # Extract the first word of "mkoctfile", so it can be a program name with args. 13225 7941 set dummy mkoctfile; ac_word=$2 13226 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13227 7943 $as_echo_n "checking for $ac_word... " >&6; } 13228 if test "${ac_cv_path_mkoctfile2+set}" = set; then7944 if ${ac_cv_path_mkoctfile2+:} false; then : 13229 7945 $as_echo_n "(cached) " >&6 13230 7946 else … … 13239 7955 IFS=$as_save_IFS 13240 7956 test -z "$as_dir" && as_dir=. 13241 for ac_exec_ext in '' $ac_executable_extensions; do13242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7957 for ac_exec_ext in '' $ac_executable_extensions; do 7958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13243 7959 ac_cv_path_mkoctfile2="$as_dir/$ac_word$ac_exec_ext" 13244 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13245 7961 break 2 13246 7962 fi 13247 7963 done 13248 done7964 done 13249 7965 IFS=$as_save_IFS 13250 7966 … … 13254 7970 mkoctfile2=$ac_cv_path_mkoctfile2 13255 7971 if test -n "$mkoctfile2"; then 13256 { $as_echo "$as_me:$ LINENO: result: $mkoctfile2" >&57972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile2" >&5 13257 7973 $as_echo "$mkoctfile2" >&6; } 13258 7974 else 13259 { $as_echo "$as_me:$ LINENO: result: no" >&57975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13260 7976 $as_echo "no" >&6; } 13261 7977 fi … … 13274 7990 13275 7991 # Check whether --with-perl was given. 13276 if test "${with_perl+set}" = set; then 7992 if test "${with_perl+set}" = set; then : 13277 7993 withval=$with_perl; 13278 7994 else … … 13297 8013 # Extract the first word of "perl", so it can be a program name with args. 13298 8014 set dummy perl; ac_word=$2 13299 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13300 8016 $as_echo_n "checking for $ac_word... " >&6; } 13301 if test "${ac_cv_path_PERL+set}" = set; then8017 if ${ac_cv_path_PERL+:} false; then : 13302 8018 $as_echo_n "(cached) " >&6 13303 8019 else … … 13313 8029 IFS=$as_save_IFS 13314 8030 test -z "$as_dir" && as_dir=. 13315 for ac_exec_ext in '' $ac_executable_extensions; do13316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8031 for ac_exec_ext in '' $ac_executable_extensions; do 8032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13317 8033 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 13318 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13319 8035 break 2 13320 8036 fi 13321 8037 done 13322 done8038 done 13323 8039 IFS=$as_save_IFS 13324 8040 … … 13328 8044 PERL=$ac_cv_path_PERL 13329 8045 if test -n "$PERL"; then 13330 { $as_echo "$as_me:$ LINENO: result: $PERL" >&58046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 13331 8047 $as_echo "$PERL" >&6; } 13332 8048 else 13333 { $as_echo "$as_me:$ LINENO: result: no" >&58049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13334 8050 $as_echo "no" >&6; } 13335 8051 fi … … 13338 8054 # Extract the first word of "xsubpp", so it can be a program name with args. 13339 8055 set dummy xsubpp; ac_word=$2 13340 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13341 8057 $as_echo_n "checking for $ac_word... " >&6; } 13342 if test "${ac_cv_path_XSUBPP+set}" = set; then8058 if ${ac_cv_path_XSUBPP+:} false; then : 13343 8059 $as_echo_n "(cached) " >&6 13344 8060 else … … 13354 8070 IFS=$as_save_IFS 13355 8071 test -z "$as_dir" && as_dir=. 13356 for ac_exec_ext in '' $ac_executable_extensions; do13357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8072 for ac_exec_ext in '' $ac_executable_extensions; do 8073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13358 8074 ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext" 13359 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13360 8076 break 2 13361 8077 fi 13362 8078 done 13363 done8079 done 13364 8080 IFS=$as_save_IFS 13365 8081 … … 13369 8085 XSUBPP=$ac_cv_path_XSUBPP 13370 8086 if test -n "$XSUBPP"; then 13371 { $as_echo "$as_me:$ LINENO: result: $XSUBPP" >&58087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&5 13372 8088 $as_echo "$XSUBPP" >&6; } 13373 8089 else 13374 { $as_echo "$as_me:$ LINENO: result: no" >&58090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13375 8091 $as_echo "no" >&6; } 13376 8092 fi … … 13380 8096 # Extract the first word of "perl", so it can be a program name with args. 13381 8097 set dummy perl; ac_word=$2 13382 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13383 8099 $as_echo_n "checking for $ac_word... " >&6; } 13384 if test "${ac_cv_path_PERL+set}" = set; then8100 if ${ac_cv_path_PERL+:} false; then : 13385 8101 $as_echo_n "(cached) " >&6 13386 8102 else … … 13395 8111 IFS=$as_save_IFS 13396 8112 test -z "$as_dir" && as_dir=. 13397 for ac_exec_ext in '' $ac_executable_extensions; do13398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8113 for ac_exec_ext in '' $ac_executable_extensions; do 8114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13399 8115 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 13400 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13401 8117 break 2 13402 8118 fi 13403 8119 done 13404 done8120 done 13405 8121 IFS=$as_save_IFS 13406 8122 … … 13410 8126 PERL=$ac_cv_path_PERL 13411 8127 if test -n "$PERL"; then 13412 { $as_echo "$as_me:$ LINENO: result: $PERL" >&58128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 13413 8129 $as_echo "$PERL" >&6; } 13414 8130 else 13415 { $as_echo "$as_me:$ LINENO: result: no" >&58131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13416 8132 $as_echo "no" >&6; } 13417 8133 fi … … 13420 8136 # Extract the first word of "xsubpp", so it can be a program name with args. 13421 8137 set dummy xsubpp; ac_word=$2 13422 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13423 8139 $as_echo_n "checking for $ac_word... " >&6; } 13424 if test "${ac_cv_path_XSUBPP+set}" = set; then8140 if ${ac_cv_path_XSUBPP+:} false; then : 13425 8141 $as_echo_n "(cached) " >&6 13426 8142 else … … 13435 8151 IFS=$as_save_IFS 13436 8152 test -z "$as_dir" && as_dir=. 13437 for ac_exec_ext in '' $ac_executable_extensions; do13438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8153 for ac_exec_ext in '' $ac_executable_extensions; do 8154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13439 8155 ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext" 13440 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13441 8157 break 2 13442 8158 fi 13443 8159 done 13444 done8160 done 13445 8161 IFS=$as_save_IFS 13446 8162 … … 13450 8166 XSUBPP=$ac_cv_path_XSUBPP 13451 8167 if test -n "$XSUBPP"; then 13452 { $as_echo "$as_me:$ LINENO: result: $XSUBPP" >&58168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&5 13453 8169 $as_echo "$XSUBPP" >&6; } 13454 8170 else 13455 { $as_echo "$as_me:$ LINENO: result: no" >&58171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13456 8172 $as_echo "no" >&6; } 13457 8173 fi … … 13491 8207 13492 8208 # Check whether --with-python was given. 13493 if test "${with_python+set}" = set; then 8209 if test "${with_python+set}" = set; then : 13494 8210 withval=$with_python; 13495 8211 else … … 13502 8218 # 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. 13503 8219 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 13504 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13505 8221 $as_echo_n "checking for $ac_word... " >&6; } 13506 if test "${ac_cv_path_PYTHON+set}" = set; then8222 if ${ac_cv_path_PYTHON+:} false; then : 13507 8223 $as_echo_n "(cached) " >&6 13508 8224 else … … 13517 8233 IFS=$as_save_IFS 13518 8234 test -z "$as_dir" && as_dir=. 13519 for ac_exec_ext in '' $ac_executable_extensions; do13520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8235 for ac_exec_ext in '' $ac_executable_extensions; do 8236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13521 8237 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 13522 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13523 8239 break 2 13524 8240 fi 13525 8241 done 13526 done8242 done 13527 8243 IFS=$as_save_IFS 13528 8244 … … 13532 8248 PYTHON=$ac_cv_path_PYTHON 13533 8249 if test -n "$PYTHON"; then 13534 { $as_echo "$as_me:$ LINENO: result: $PYTHON" >&58250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 13535 8251 $as_echo "$PYTHON" >&6; } 13536 8252 else 13537 { $as_echo "$as_me:$ LINENO: result: no" >&58253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13538 8254 $as_echo "no" >&6; } 13539 8255 fi … … 13543 8259 # Extract the first word of "python", so it can be a program name with args. 13544 8260 set dummy python; ac_word=$2 13545 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13546 8262 $as_echo_n "checking for $ac_word... " >&6; } 13547 if test "${ac_cv_path_PYTHON+set}" = set; then8263 if ${ac_cv_path_PYTHON+:} false; then : 13548 8264 $as_echo_n "(cached) " >&6 13549 8265 else … … 13559 8275 IFS=$as_save_IFS 13560 8276 test -z "$as_dir" && as_dir=. 13561 for ac_exec_ext in '' $ac_executable_extensions; do13562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8277 for ac_exec_ext in '' $ac_executable_extensions; do 8278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13563 8279 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 13564 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13565 8281 break 2 13566 8282 fi 13567 8283 done 13568 done8284 done 13569 8285 IFS=$as_save_IFS 13570 8286 … … 13574 8290 PYTHON=$ac_cv_path_PYTHON 13575 8291 if test -n "$PYTHON"; then 13576 { $as_echo "$as_me:$ LINENO: result: $PYTHON" >&58292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 13577 8293 $as_echo "$PYTHON" >&6; } 13578 8294 else 13579 { $as_echo "$as_me:$ LINENO: result: no" >&58295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13580 8296 $as_echo "no" >&6; } 13581 8297 fi … … 13583 8299 13584 8300 fi 13585 { $as_echo "$as_me:$ LINENO: checking for Python version" >&58301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5 13586 8302 $as_echo_n "checking for Python version... " >&6; } 13587 8303 if test "x${PYTHON}" != "x"; then 13588 8304 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 13589 8305 fi 13590 { $as_echo "$as_me:$ LINENO: result: $PYTHON_VERSION" >&58306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5 13591 8307 $as_echo "$PYTHON_VERSION" >&6; } 13592 8308 fi … … 13594 8310 if test "x${PYTHON_VERSION}" != "x"; then 13595 8311 PYTHON_INCLUDES=$incdir 13596 { $as_echo "$as_me:$ LINENO: checking for Python distutils" >&58312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5 13597 8313 $as_echo_n "checking for Python distutils... " >&6; } 13598 8314 PYTHON_DISTUTILS="" … … 13602 8318 PYTHON_DISTUTILS="yes" 13603 8319 fi 13604 { $as_echo "$as_me:$ LINENO: result: $PYTHON_DISTUTILS" >&58320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5 13605 8321 $as_echo "$PYTHON_DISTUTILS" >&6; } 13606 8322 if test "${PYTHON_DISTUTILS}" = "yes" ; then … … 13609 8325 # Check for Python include path 13610 8326 # 13611 { $as_echo "$as_me:$ LINENO: checking path to Python headers" >&58327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5 13612 8328 $as_echo_n "checking path to Python headers... " >&6; } 13613 8329 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 13614 8330 print distutils.sysconfig.get_python_inc();"` 13615 { $as_echo "$as_me:$ LINENO: result: $PYTHON_INCDIR" >&58331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5 13616 8332 $as_echo "$PYTHON_INCDIR" >&6; } 13617 8333 # … … 13626 8342 save_CPPFLAGS=$CPPFLAGS 13627 8343 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 13628 13629 for ac_header in Python.h 13630 do 13631 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13633 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13634 $as_echo_n "checking for $ac_header... " >&6; } 13635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13636 $as_echo_n "(cached) " >&6 13637 fi 13638 ac_res=`eval 'as_val=${'$as_ac_Header'} 13639 $as_echo "$as_val"'` 13640 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13641 $as_echo "$ac_res" >&6; } 13642 else 13643 # Is the header compilable? 13644 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 13645 $as_echo_n "checking $ac_header usability... " >&6; } 13646 cat >conftest.$ac_ext <<_ACEOF 13647 /* confdefs.h. */ 13648 _ACEOF 13649 cat confdefs.h >>conftest.$ac_ext 13650 cat >>conftest.$ac_ext <<_ACEOF 13651 /* end confdefs.h. */ 13652 $ac_includes_default 13653 #include <$ac_header> 13654 _ACEOF 13655 rm -f conftest.$ac_objext 13656 if { (ac_try="$ac_compile" 13657 case "(($ac_try" in 13658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13659 *) ac_try_echo=$ac_try;; 13660 esac 13661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13662 $as_echo "$ac_try_echo") >&5 13663 (eval "$ac_compile") 2>conftest.er1 13664 ac_status=$? 13665 grep -v '^ *+' conftest.er1 >conftest.err 13666 rm -f conftest.er1 13667 cat conftest.err >&5 13668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13669 (exit $ac_status); } && { 13670 test -z "$ac_cxx_werror_flag" || 13671 test ! -s conftest.err 13672 } && test -s conftest.$ac_objext; then 13673 ac_header_compiler=yes 13674 else 13675 $as_echo "$as_me: failed program was:" >&5 13676 sed 's/^/| /' conftest.$ac_ext >&5 13677 13678 ac_header_compiler=no 13679 fi 13680 13681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13682 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13683 $as_echo "$ac_header_compiler" >&6; } 13684 13685 # Is the header present? 13686 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 13687 $as_echo_n "checking $ac_header presence... " >&6; } 13688 cat >conftest.$ac_ext <<_ACEOF 13689 /* confdefs.h. */ 13690 _ACEOF 13691 cat confdefs.h >>conftest.$ac_ext 13692 cat >>conftest.$ac_ext <<_ACEOF 13693 /* end confdefs.h. */ 13694 #include <$ac_header> 13695 _ACEOF 13696 if { (ac_try="$ac_cpp conftest.$ac_ext" 13697 case "(($ac_try" in 13698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13699 *) ac_try_echo=$ac_try;; 13700 esac 13701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13702 $as_echo "$ac_try_echo") >&5 13703 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13704 ac_status=$? 13705 grep -v '^ *+' conftest.er1 >conftest.err 13706 rm -f conftest.er1 13707 cat conftest.err >&5 13708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13709 (exit $ac_status); } >/dev/null && { 13710 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 13711 test ! -s conftest.err 13712 }; then 13713 ac_header_preproc=yes 13714 else 13715 $as_echo "$as_me: failed program was:" >&5 13716 sed 's/^/| /' conftest.$ac_ext >&5 13717 13718 ac_header_preproc=no 13719 fi 13720 13721 rm -f conftest.err conftest.$ac_ext 13722 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13723 $as_echo "$ac_header_preproc" >&6; } 13724 13725 # So? What about this header? 13726 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 13727 yes:no: ) 13728 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 13729 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 13730 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 13731 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 13732 ac_header_preproc=yes 13733 ;; 13734 no:yes:* ) 13735 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 13736 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 13737 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 13738 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 13739 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 13740 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 13741 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 13742 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 13743 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 13744 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 13745 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 13746 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 13747 ( cat <<\_ASBOX 13748 ## ----------------------------------- ## 13749 ## Report this to rappture@nanohub.org ## 13750 ## ----------------------------------- ## 13751 _ASBOX 13752 ) | sed "s/^/$as_me: WARNING: /" >&2 13753 ;; 13754 esac 13755 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13756 $as_echo_n "checking for $ac_header... " >&6; } 13757 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13758 $as_echo_n "(cached) " >&6 13759 else 13760 eval "$as_ac_Header=\$ac_header_preproc" 13761 fi 13762 ac_res=`eval 'as_val=${'$as_ac_Header'} 13763 $as_echo "$as_val"'` 13764 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13765 $as_echo "$ac_res" >&6; } 13766 13767 fi 13768 as_val=`eval 'as_val=${'$as_ac_Header'} 13769 $as_echo "$as_val"'` 13770 if test "x$as_val" = x""yes; then 8344 for ac_header in Python.h 8345 do : 8346 ac_fn_cxx_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 8347 if test "x$ac_cv_header_Python_h" = xyes; then : 13771 8348 cat >>confdefs.h <<_ACEOF 13772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`18349 #define HAVE_PYTHON_H 1 13773 8350 _ACEOF 13774 8351 found=yes … … 13789 8366 13790 8367 # Check whether --with-java was given. 13791 if test "${with_java+set}" = set; then 8368 if test "${with_java+set}" = set; then : 13792 8369 withval=$with_java; 13793 8370 else … … 13804 8381 # Extract the first word of "java", so it can be a program name with args. 13805 8382 set dummy java; ac_word=$2 13806 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13807 8384 $as_echo_n "checking for $ac_word... " >&6; } 13808 if test "${ac_cv_path_JAVA+set}" = set; then8385 if ${ac_cv_path_JAVA+:} false; then : 13809 8386 $as_echo_n "(cached) " >&6 13810 8387 else … … 13819 8396 IFS=$as_save_IFS 13820 8397 test -z "$as_dir" && as_dir=. 13821 for ac_exec_ext in '' $ac_executable_extensions; do13822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8398 for ac_exec_ext in '' $ac_executable_extensions; do 8399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13823 8400 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 13824 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13825 8402 break 2 13826 8403 fi 13827 8404 done 13828 done8405 done 13829 8406 IFS=$as_save_IFS 13830 8407 … … 13834 8411 JAVA=$ac_cv_path_JAVA 13835 8412 if test -n "$JAVA"; then 13836 { $as_echo "$as_me:$ LINENO: result: $JAVA" >&58413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 13837 8414 $as_echo "$JAVA" >&6; } 13838 8415 else 13839 { $as_echo "$as_me:$ LINENO: result: no" >&58416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13840 8417 $as_echo "no" >&6; } 13841 8418 fi … … 13844 8421 # Extract the first word of "javac", so it can be a program name with args. 13845 8422 set dummy javac; ac_word=$2 13846 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13847 8424 $as_echo_n "checking for $ac_word... " >&6; } 13848 if test "${ac_cv_path_JAVAC+set}" = set; then8425 if ${ac_cv_path_JAVAC+:} false; then : 13849 8426 $as_echo_n "(cached) " >&6 13850 8427 else … … 13859 8436 IFS=$as_save_IFS 13860 8437 test -z "$as_dir" && as_dir=. 13861 for ac_exec_ext in '' $ac_executable_extensions; do13862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8438 for ac_exec_ext in '' $ac_executable_extensions; do 8439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13863 8440 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 13864 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13865 8442 break 2 13866 8443 fi 13867 8444 done 13868 done8445 done 13869 8446 IFS=$as_save_IFS 13870 8447 … … 13874 8451 JAVAC=$ac_cv_path_JAVAC 13875 8452 if test -n "$JAVAC"; then 13876 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&58453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 13877 8454 $as_echo "$JAVAC" >&6; } 13878 8455 else 13879 { $as_echo "$as_me:$ LINENO: result: no" >&58456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13880 8457 $as_echo "no" >&6; } 13881 8458 fi … … 13884 8461 # Extract the first word of "javah", so it can be a program name with args. 13885 8462 set dummy javah; ac_word=$2 13886 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13887 8464 $as_echo_n "checking for $ac_word... " >&6; } 13888 if test "${ac_cv_path_JAVAH+set}" = set; then8465 if ${ac_cv_path_JAVAH+:} false; then : 13889 8466 $as_echo_n "(cached) " >&6 13890 8467 else … … 13899 8476 IFS=$as_save_IFS 13900 8477 test -z "$as_dir" && as_dir=. 13901 for ac_exec_ext in '' $ac_executable_extensions; do13902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8478 for ac_exec_ext in '' $ac_executable_extensions; do 8479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13903 8480 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 13904 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13905 8482 break 2 13906 8483 fi 13907 8484 done 13908 done8485 done 13909 8486 IFS=$as_save_IFS 13910 8487 … … 13914 8491 JAVAH=$ac_cv_path_JAVAH 13915 8492 if test -n "$JAVAH"; then 13916 { $as_echo "$as_me:$ LINENO: result: $JAVAH" >&58493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 13917 8494 $as_echo "$JAVAH" >&6; } 13918 8495 else 13919 { $as_echo "$as_me:$ LINENO: result: no" >&58496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13920 8497 $as_echo "no" >&6; } 13921 8498 fi … … 13925 8502 # Extract the first word of "java", so it can be a program name with args. 13926 8503 set dummy java; ac_word=$2 13927 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13928 8505 $as_echo_n "checking for $ac_word... " >&6; } 13929 if test "${ac_cv_path_JAVA+set}" = set; then8506 if ${ac_cv_path_JAVA+:} false; then : 13930 8507 $as_echo_n "(cached) " >&6 13931 8508 else … … 13941 8518 IFS=$as_save_IFS 13942 8519 test -z "$as_dir" && as_dir=. 13943 for ac_exec_ext in '' $ac_executable_extensions; do13944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8520 for ac_exec_ext in '' $ac_executable_extensions; do 8521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13945 8522 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 13946 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13947 8524 break 2 13948 8525 fi 13949 8526 done 13950 done8527 done 13951 8528 IFS=$as_save_IFS 13952 8529 … … 13956 8533 JAVA=$ac_cv_path_JAVA 13957 8534 if test -n "$JAVA"; then 13958 { $as_echo "$as_me:$ LINENO: result: $JAVA" >&58535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 13959 8536 $as_echo "$JAVA" >&6; } 13960 8537 else 13961 { $as_echo "$as_me:$ LINENO: result: no" >&58538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13962 8539 $as_echo "no" >&6; } 13963 8540 fi … … 13966 8543 # Extract the first word of "javac", so it can be a program name with args. 13967 8544 set dummy javac; ac_word=$2 13968 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13969 8546 $as_echo_n "checking for $ac_word... " >&6; } 13970 if test "${ac_cv_path_JAVAC+set}" = set; then8547 if ${ac_cv_path_JAVAC+:} false; then : 13971 8548 $as_echo_n "(cached) " >&6 13972 8549 else … … 13982 8559 IFS=$as_save_IFS 13983 8560 test -z "$as_dir" && as_dir=. 13984 for ac_exec_ext in '' $ac_executable_extensions; do13985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8561 for ac_exec_ext in '' $ac_executable_extensions; do 8562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13986 8563 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 13987 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13988 8565 break 2 13989 8566 fi 13990 8567 done 13991 done8568 done 13992 8569 IFS=$as_save_IFS 13993 8570 … … 13997 8574 JAVAC=$ac_cv_path_JAVAC 13998 8575 if test -n "$JAVAC"; then 13999 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&58576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 14000 8577 $as_echo "$JAVAC" >&6; } 14001 8578 else 14002 { $as_echo "$as_me:$ LINENO: result: no" >&58579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14003 8580 $as_echo "no" >&6; } 14004 8581 fi … … 14007 8584 # Extract the first word of "javah", so it can be a program name with args. 14008 8585 set dummy javah; ac_word=$2 14009 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14010 8587 $as_echo_n "checking for $ac_word... " >&6; } 14011 if test "${ac_cv_path_JAVAH+set}" = set; then8588 if ${ac_cv_path_JAVAH+:} false; then : 14012 8589 $as_echo_n "(cached) " >&6 14013 8590 else … … 14023 8600 IFS=$as_save_IFS 14024 8601 test -z "$as_dir" && as_dir=. 14025 for ac_exec_ext in '' $ac_executable_extensions; do14026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8602 for ac_exec_ext in '' $ac_executable_extensions; do 8603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14027 8604 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 14028 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14029 8606 break 2 14030 8607 fi 14031 8608 done 14032 done8609 done 14033 8610 IFS=$as_save_IFS 14034 8611 … … 14038 8615 JAVAH=$ac_cv_path_JAVAH 14039 8616 if test -n "$JAVAH"; then 14040 { $as_echo "$as_me:$ LINENO: result: $JAVAH" >&58617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 14041 8618 $as_echo "$JAVAH" >&6; } 14042 8619 else 14043 { $as_echo "$as_me:$ LINENO: result: no" >&58620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14044 8621 $as_echo "no" >&6; } 14045 8622 fi … … 14085 8662 14086 8663 # Check whether --with-R was given. 14087 if test "${with_R+set}" = set; then 8664 if test "${with_R+set}" = set; then : 14088 8665 withval=$with_R; 14089 8666 else … … 14097 8674 # Extract the first word of "R", so it can be a program name with args. 14098 8675 set dummy R; ac_word=$2 14099 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14100 8677 $as_echo_n "checking for $ac_word... " >&6; } 14101 if test "${ac_cv_path_R+set}" = set; then8678 if ${ac_cv_path_R+:} false; then : 14102 8679 $as_echo_n "(cached) " >&6 14103 8680 else … … 14112 8689 IFS=$as_save_IFS 14113 8690 test -z "$as_dir" && as_dir=. 14114 for ac_exec_ext in '' $ac_executable_extensions; do14115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8691 for ac_exec_ext in '' $ac_executable_extensions; do 8692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14116 8693 ac_cv_path_R="$as_dir/$ac_word$ac_exec_ext" 14117 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14118 8695 break 2 14119 8696 fi 14120 8697 done 14121 done8698 done 14122 8699 IFS=$as_save_IFS 14123 8700 … … 14127 8704 R=$ac_cv_path_R 14128 8705 if test -n "$R"; then 14129 { $as_echo "$as_me:$ LINENO: result: $R" >&58706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&5 14130 8707 $as_echo "$R" >&6; } 14131 8708 else 14132 { $as_echo "$as_me:$ LINENO: result: no" >&58709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14133 8710 $as_echo "no" >&6; } 14134 8711 fi … … 14138 8715 # Extract the first word of "R", so it can be a program name with args. 14139 8716 set dummy R; ac_word=$2 14140 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&58717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14141 8718 $as_echo_n "checking for $ac_word... " >&6; } 14142 if test "${ac_cv_path_R+set}" = set; then8719 if ${ac_cv_path_R+:} false; then : 14143 8720 $as_echo_n "(cached) " >&6 14144 8721 else … … 14154 8731 IFS=$as_save_IFS 14155 8732 test -z "$as_dir" && as_dir=. 14156 for ac_exec_ext in '' $ac_executable_extensions; do14157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8733 for ac_exec_ext in '' $ac_executable_extensions; do 8734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14158 8735 ac_cv_path_R="$as_dir/$ac_word$ac_exec_ext" 14159 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14160 8737 break 2 14161 8738 fi 14162 8739 done 14163 done8740 done 14164 8741 IFS=$as_save_IFS 14165 8742 … … 14169 8746 R=$ac_cv_path_R 14170 8747 if test -n "$R"; then 14171 { $as_echo "$as_me:$ LINENO: result: $R" >&58748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&5 14172 8749 $as_echo "$R" >&6; } 14173 8750 else 14174 { $as_echo "$as_me:$ LINENO: result: no" >&58751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14175 8752 $as_echo "no" >&6; } 14176 8753 fi … … 14181 8758 14182 8759 14183 14184 RUBY="" 14185 RUBY_DEV_PKG="no" 8760 # Make sure we can run config.sub. 8761 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 8762 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 8763 8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 8765 $as_echo_n "checking build system type... " >&6; } 8766 if ${ac_cv_build+:} false; then : 8767 $as_echo_n "(cached) " >&6 8768 else 8769 ac_build_alias=$build_alias 8770 test "x$ac_build_alias" = x && 8771 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 8772 test "x$ac_build_alias" = x && 8773 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 8774 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 8775 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 8776 8777 fi 8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 8779 $as_echo "$ac_cv_build" >&6; } 8780 case $ac_cv_build in 8781 *-*-*) ;; 8782 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 8783 esac 8784 build=$ac_cv_build 8785 ac_save_IFS=$IFS; IFS='-' 8786 set x $ac_cv_build 8787 shift 8788 build_cpu=$1 8789 build_vendor=$2 8790 shift; shift 8791 # Remember, the first character of IFS is used to create $*, 8792 # except with old shells: 8793 build_os=$* 8794 IFS=$ac_save_IFS 8795 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 8796 8797 8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 8799 $as_echo_n "checking host system type... " >&6; } 8800 if ${ac_cv_host+:} false; then : 8801 $as_echo_n "(cached) " >&6 8802 else 8803 if test "x$host_alias" = x; then 8804 ac_cv_host=$ac_cv_build 8805 else 8806 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 8807 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 8808 fi 8809 8810 fi 8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 8812 $as_echo "$ac_cv_host" >&6; } 8813 case $ac_cv_host in 8814 *-*-*) ;; 8815 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 8816 esac 8817 host=$ac_cv_host 8818 ac_save_IFS=$IFS; IFS='-' 8819 set x $ac_cv_host 8820 shift 8821 host_cpu=$1 8822 host_vendor=$2 8823 shift; shift 8824 # Remember, the first character of IFS is used to create $*, 8825 # except with old shells: 8826 host_os=$* 8827 IFS=$ac_save_IFS 8828 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 8829 8830 8831 14186 8832 14187 8833 14188 8834 # Check whether --with-ruby was given. 14189 if test "${with_ruby+set}" = set; then 14190 withval=$with_ruby; 14191 else 14192 with_ruby="yes" 14193 fi 14194 14195 14196 if test "${with_ruby}" != "no" ; then 14197 if test "${with_ruby}" = "yes" ; then 14198 # Extract the first word of "ruby", so it can be a program name with args. 14199 set dummy ruby; ac_word=$2 14200 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 14201 $as_echo_n "checking for $ac_word... " >&6; } 14202 if test "${ac_cv_path_RUBY+set}" = set; then 14203 $as_echo_n "(cached) " >&6 14204 else 14205 case $RUBY in 14206 [\\/]* | ?:[\\/]*) 14207 ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path. 14208 ;; 14209 *) 14210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14211 for as_dir in $PATH 14212 do 14213 IFS=$as_save_IFS 14214 test -z "$as_dir" && as_dir=. 14215 for ac_exec_ext in '' $ac_executable_extensions; do 14216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 14217 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 14218 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 14219 break 2 8835 if test "${with_ruby+set}" = set; then : 8836 withval=$with_ruby; RUBY=$withval 8837 else 8838 RUBY=ruby 8839 fi 8840 8841 8842 # Check whether --with-ruby_sitelibdir was given. 8843 if test "${with_ruby_sitelibdir+set}" = set; then : 8844 withval=$with_ruby_sitelibdir; ruby_sitelibdir=$withval 8845 else 8846 ruby_sitelibdir=NONE 8847 fi 8848 8849 8850 8851 8852 RUBY_VERSION_CODE=`$RUBY -e "puts RUBY_VERSION.gsub(/\./, '')"` 8853 8854 8855 RUBY_CONFIG_SO_NAME=` 8856 $RUBY -rrbconfig -e "puts(Config::CONFIG['RUBY_SO_NAME'] || '')"` 8857 RUBY_CONFIG_ARCHDIR=` 8858 $RUBY -rrbconfig -e "puts(Config::CONFIG['archdir'] || '')"` 8859 RUBY_CONFIG_ARCH=` 8860 $RUBY -rrbconfig -e "puts(Config::CONFIG['arch'] || '')"` 8861 RUBY_CONFIG_LIBDIR=` 8862 $RUBY -rrbconfig -e "puts(Config::CONFIG['libdir'] || '')"` 8863 RUBY_CONFIG_BINDIR=` 8864 $RUBY -rrbconfig -e "puts(Config::CONFIG['bindir'] || '')"` 8865 RUBY_CONFIG_RUBYHDRDIR=` 8866 $RUBY -rrbconfig -e "puts(Config::CONFIG['rubyhdrdir'] || '')"` 8867 RUBY_CONFIG_CFLAGS=` 8868 $RUBY -rrbconfig -e "puts(Config::CONFIG['CFLAGS'] || '')"` 8869 RUBY_CONFIG_LIBS=` 8870 $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBS'] || '')"` 8871 RUBY_CONFIG_DLDLIBS=` 8872 $RUBY -rrbconfig -e "puts(Config::CONFIG['DLDLIBS'] || '')"` 8873 RUBY_CONFIG_LDFLAGS=` 8874 $RUBY -rrbconfig -e "puts(Config::CONFIG['LDFLAGS'] || '')"` 8875 RUBY_CONFIG_LIBRUBYARG=` 8876 $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBRUBYARG'] || '')"` 8877 RUBY_CONFIG_LIBRUBYARG_STATIC=` 8878 $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBRUBYARG_STATIC'] || '')"` 8879 RUBY_CONFIG_CCDLFLAGS=` 8880 $RUBY -rrbconfig -e "puts(Config::CONFIG['CCDLFLAGS'] || '')"` 8881 8882 if test "x${RUBY_CONFIG_RUBYHDRDIR}x" != "xx"; then 8883 # 1.9 8884 RUBY_CPPFLAGS="-I${RUBY_CONFIG_RUBYHDRDIR}" 8885 RUBY_CPPFLAGS="${RUBY_CPPFLAGS} -I${RUBY_CONFIG_RUBYHDRDIR}/${RUBY_CONFIG_ARCH}" 8886 else 8887 # 1.8 8888 RUBY_CPPFLAGS="-I${RUBY_CONFIG_ARCHDIR}" 8889 fi 8890 8891 8892 RUBY_CFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}" 8893 8894 8895 RUBY_CXXFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}" 8896 8897 8898 RUBY_LDFLAGS="-L${RUBY_CONFIG_ARCHDIR} -L${RUBY_CONFIG_LIBDIR} ${RUBY_CONFIG_LDFLAGS}" 8899 8900 8901 RUBY_LIBS="${RUBY_CONFIG_LIBS} ${RUBY_CONFIG_DLDLIBS}" 8902 8903 8904 RUBY_LIBRUBYARG="${RUBY_CONFIG_LIBRUBYARG}" 8905 8906 8907 RUBY_LIBRUBYARG_STATIC="${RUBY_CONFIG_LIBRUBYARG_STATIC}" 8908 8909 8910 if test "x${ruby_sitelibdir}x" != "xNONEx" 8911 then 8912 RUBY_SITELIBDIR="${ruby_sitelibdir}" 8913 else 8914 if test "x${prefix}x" = "xNONEx" 8915 then 8916 RUBY_SITELIBDIR=` 8917 $RUBY -rrbconfig -e "puts(Config::CONFIG['sitelibdir'] || '')"` 8918 else 8919 sitelibdir_no_prefix=`$RUBY -rrbconfig \ 8920 -e "include Config; \ 8921 puts CONFIG['sitelibdir'].sub(CONFIG['prefix'], '')"` 8922 RUBY_SITELIBDIR="${prefix}/${sitelibdir_no_prefix}" 14220 8923 fi 14221 done 14222 done 14223 IFS=$as_save_IFS 14224 14225 ;; 8924 fi 8925 8926 8927 CPPFLAGS_save="${CPPFLAGS}" 8928 CPPFLAGS="${CPPFLAGS} ${RUBY_CPPFLAGS}" 8929 CXXFLAGS="${CPPFLAGS}" 8930 for ac_header in ruby.h 8931 do : 8932 ac_fn_cxx_check_header_mongrel "$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default" 8933 if test "x$ac_cv_header_ruby_h" = xyes; then : 8934 cat >>confdefs.h <<_ACEOF 8935 #define HAVE_RUBY_H 1 8936 _ACEOF 8937 8938 fi 8939 8940 done 8941 8942 HAVE_RUBY_H=${ac_cv_header_ruby_h} 8943 8944 8945 for ac_header in node.h 8946 do : 8947 ac_fn_cxx_check_header_compile "$LINENO" "node.h" "ac_cv_header_node_h" " 8948 #include <ruby.h> 8949 8950 " 8951 if test "x$ac_cv_header_node_h" = xyes; then : 8952 cat >>confdefs.h <<_ACEOF 8953 #define HAVE_NODE_H 1 8954 _ACEOF 8955 8956 fi 8957 8958 done 8959 8960 for ac_header in ruby/node.h 8961 do : 8962 ac_fn_cxx_check_header_compile "$LINENO" "ruby/node.h" "ac_cv_header_ruby_node_h" " 8963 #include <ruby.h> 8964 8965 " 8966 if test "x$ac_cv_header_ruby_node_h" = xyes; then : 8967 cat >>confdefs.h <<_ACEOF 8968 #define HAVE_RUBY_NODE_H 1 8969 _ACEOF 8970 8971 $as_echo "#define REALLY_HAVE_RUBY_NODE_H /**/" >>confdefs.h 8972 8973 fi 8974 8975 done 8976 8977 for ac_header in version.h 8978 do : 8979 ac_fn_cxx_check_header_compile "$LINENO" "version.h" "ac_cv_header_version_h" " 8980 #include <ruby.h> 8981 8982 " 8983 if test "x$ac_cv_header_version_h" = xyes; then : 8984 cat >>confdefs.h <<_ACEOF 8985 #define HAVE_VERSION_H 1 8986 _ACEOF 8987 8988 fi 8989 8990 done 8991 8992 for ac_header in env.h 8993 do : 8994 ac_fn_cxx_check_header_compile "$LINENO" "env.h" "ac_cv_header_env_h" " 8995 #include <ruby.h> 8996 8997 " 8998 if test "x$ac_cv_header_env_h" = xyes; then : 8999 cat >>confdefs.h <<_ACEOF 9000 #define HAVE_ENV_H 1 9001 _ACEOF 9002 9003 fi 9004 9005 done 9006 9007 9008 CPPFLAGS="${CPPFLAGS_save}" 9009 9010 9011 case $host_os in 9012 *mingw32* ) MINGW32=yes;; 9013 * ) MINGW32=no;; 14226 9014 esac 14227 fi 14228 RUBY=$ac_cv_path_RUBY 14229 if test -n "$RUBY"; then 14230 { $as_echo "$as_me:$LINENO: result: $RUBY" >&5 14231 $as_echo "$RUBY" >&6; } 14232 else 14233 { $as_echo "$as_me:$LINENO: result: no" >&5 14234 $as_echo "no" >&6; } 14235 fi 14236 14237 14238 else 14239 # Extract the first word of "ruby", so it can be a program name with args. 14240 set dummy ruby; ac_word=$2 14241 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 14242 $as_echo_n "checking for $ac_word... " >&6; } 14243 if test "${ac_cv_path_RUBY+set}" = set; then 14244 $as_echo_n "(cached) " >&6 14245 else 14246 case $RUBY in 14247 [\\/]* | ?:[\\/]*) 14248 ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path. 14249 ;; 14250 *) 14251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14252 as_dummy="${with_ruby}/bin:${with_ruby}" 14253 for as_dir in $as_dummy 14254 do 14255 IFS=$as_save_IFS 14256 test -z "$as_dir" && as_dir=. 14257 for ac_exec_ext in '' $ac_executable_extensions; do 14258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 14259 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 14260 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 14261 break 2 14262 fi 14263 done 14264 done 14265 IFS=$as_save_IFS 14266 14267 ;; 14268 esac 14269 fi 14270 RUBY=$ac_cv_path_RUBY 14271 if test -n "$RUBY"; then 14272 { $as_echo "$as_me:$LINENO: result: $RUBY" >&5 14273 $as_echo "$RUBY" >&6; } 14274 else 14275 { $as_echo "$as_me:$LINENO: result: no" >&5 14276 $as_echo "no" >&6; } 14277 fi 14278 14279 14280 fi 14281 fi 14282 14283 RUBY_VERSION_RV= 14284 RUBY_PLATFORM= 14285 if test "x${RUBY}" != "x" ; then 14286 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 14287 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 14288 if test "${ac_cv_path_SED+set}" = set; then 14289 $as_echo_n "(cached) " >&6 14290 else 14291 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 14292 for ac_i in 1 2 3 4 5 6 7; do 14293 ac_script="$ac_script$as_nl$ac_script" 14294 done 14295 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 14296 $as_unset ac_script || ac_script= 14297 if test -z "$SED"; then 14298 ac_path_SED_found=false 14299 # Loop through the user's path and test for each of PROGNAME-LIST 14300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14301 for as_dir in $PATH 14302 do 14303 IFS=$as_save_IFS 14304 test -z "$as_dir" && as_dir=. 14305 for ac_prog in sed gsed; do 14306 for ac_exec_ext in '' $ac_executable_extensions; do 14307 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 14308 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 14309 # Check for GNU ac_path_SED and select it if it is found. 14310 # Check for GNU $ac_path_SED 14311 case `"$ac_path_SED" --version 2>&1` in 14312 *GNU*) 14313 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 14314 *) 14315 ac_count=0 14316 $as_echo_n 0123456789 >"conftest.in" 14317 while : 14318 do 14319 cat "conftest.in" "conftest.in" >"conftest.tmp" 14320 mv "conftest.tmp" "conftest.in" 14321 cp "conftest.in" "conftest.nl" 14322 $as_echo '' >> "conftest.nl" 14323 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 14324 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 14325 ac_count=`expr $ac_count + 1` 14326 if test $ac_count -gt ${ac_path_SED_max-0}; then 14327 # Best one so far, save it but keep looking for a better one 14328 ac_cv_path_SED="$ac_path_SED" 14329 ac_path_SED_max=$ac_count 14330 fi 14331 # 10*(2^10) chars as input seems more than enough 14332 test $ac_count -gt 10 && break 14333 done 14334 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 14335 esac 14336 14337 $ac_path_SED_found && break 3 14338 done 14339 done 14340 done 14341 IFS=$as_save_IFS 14342 if test -z "$ac_cv_path_SED"; then 14343 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 14344 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} 14345 { (exit 1); exit 1; }; } 14346 fi 14347 else 14348 ac_cv_path_SED=$SED 14349 fi 14350 14351 fi 14352 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 14353 $as_echo "$ac_cv_path_SED" >&6; } 14354 SED="$ac_cv_path_SED" 14355 rm -f conftest.sed 14356 14357 14358 14359 14360 14361 if test -n "$RUBY"; then 14362 14363 ax_ruby_version="" 14364 14365 { $as_echo "$as_me:$LINENO: checking for ruby version" >&5 14366 $as_echo_n "checking for ruby version... " >&6; } 14367 14368 ruby_version=`$RUBY --version 2>&1 | $GREP "^ruby " | $SED -e 's/^.* \([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'` 14369 14370 { $as_echo "$as_me:$LINENO: result: $ruby_version" >&5 14371 $as_echo "$ruby_version" >&6; } 14372 14373 RUBY_VERSION=$ruby_version 14374 14375 14376 14377 for ac_prog in gawk mawk nawk awk 14378 do 14379 # Extract the first word of "$ac_prog", so it can be a program name with args. 14380 set dummy $ac_prog; ac_word=$2 14381 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 14382 $as_echo_n "checking for $ac_word... " >&6; } 14383 if test "${ac_cv_prog_AWK+set}" = set; then 14384 $as_echo_n "(cached) " >&6 14385 else 14386 if test -n "$AWK"; then 14387 ac_cv_prog_AWK="$AWK" # Let the user override the test. 14388 else 14389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14390 for as_dir in $PATH 14391 do 14392 IFS=$as_save_IFS 14393 test -z "$as_dir" && as_dir=. 14394 for ac_exec_ext in '' $ac_executable_extensions; do 14395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 14396 ac_cv_prog_AWK="$ac_prog" 14397 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 14398 break 2 14399 fi 14400 done 14401 done 14402 IFS=$as_save_IFS 14403 14404 fi 14405 fi 14406 AWK=$ac_cv_prog_AWK 14407 if test -n "$AWK"; then 14408 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 14409 $as_echo "$AWK" >&6; } 14410 else 14411 { $as_echo "$as_me:$LINENO: result: no" >&5 14412 $as_echo "no" >&6; } 14413 fi 14414 14415 14416 test -n "$AWK" && break 14417 done 14418 14419 14420 # Used to indicate true or false condition 14421 ax_compare_version=false 14422 14423 # Convert the two version strings to be compared into a format that 14424 # allows a simple string comparison. The end result is that a version 14425 # string of the form 1.12.5-r617 will be converted to the form 14426 # 0001001200050617. In other words, each number is zero padded to four 14427 # digits, and non digits are removed. 14428 14429 ax_compare_version_A=`echo "$ax_ruby_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \ 14430 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \ 14431 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \ 14432 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \ 14433 -e 's/[^0-9]//g'` 14434 14435 14436 ax_compare_version_B=`echo "$ruby_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \ 14437 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \ 14438 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \ 14439 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \ 14440 -e 's/[^0-9]//g'` 14441 14442 14443 ax_compare_version=`echo "x$ax_compare_version_A 14444 x$ax_compare_version_B" | sed 's/^ *//' | sort | sed "s/x${ax_compare_version_A}/true/;s/x${ax_compare_version_B}/false/;1q"` 14445 14446 14447 14448 if test "$ax_compare_version" = "true" ; then 14449 14450 : 14451 14452 14453 else 14454 : 14455 14456 14457 fi 14458 14459 14460 else 14461 14462 { $as_echo "$as_me:$LINENO: WARNING: could not find the ruby interpreter" >&5 14463 $as_echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 14464 14465 14466 fi 14467 14468 14469 RUBY_VERSION_RV=`echo ${RUBY_VERSION} | cut -d'.' -f1-2` 14470 RUBY_PLATFORM=`ruby -e 'puts RUBY_PLATFORM'` 14471 ac_mkmf_result=`${RUBY} -r mkmf -e ";" 2>&1` 14472 if test -z "$ac_mkmf_result"; then 14473 HAVE_RUBY_DEVEL="yes" 14474 14475 # 14476 # Check for Ruby include path 14477 # 14478 { $as_echo "$as_me:$LINENO: checking for Ruby include path" >&5 14479 $as_echo_n "checking for Ruby include path... " >&6; } 14480 if test -z "$RUBY_CPPFLAGS"; then 14481 ruby_path=`$RUBY -rmkmf -e 'print Config::CONFIG["archdir"]'` 14482 if test -n "${ruby_path}"; then 14483 ruby_path="-I$ruby_path" 14484 fi 14485 RUBY_CPPFLAGS=$ruby_path 14486 fi 14487 { $as_echo "$as_me:$LINENO: result: $RUBY_CPPFLAGS" >&5 14488 $as_echo "$RUBY_CPPFLAGS" >&6; } 14489 14490 14491 # 14492 # Check for Ruby library path 14493 # 14494 { $as_echo "$as_me:$LINENO: checking for Ruby library path" >&5 14495 $as_echo_n "checking for Ruby library path... " >&6; } 14496 if test -z "$RUBY_LDFLAGS"; then 14497 RUBY_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG["LIBRUBYARG_SHARED"]'` 14498 fi 14499 { $as_echo "$as_me:$LINENO: result: $RUBY_LDFLAGS" >&5 14500 $as_echo "$RUBY_LDFLAGS" >&6; } 14501 14502 14503 # 14504 # Check for site packages 14505 # 14506 { $as_echo "$as_me:$LINENO: checking for Ruby site-packages path" >&5 14507 $as_echo_n "checking for Ruby site-packages path... " >&6; } 14508 if test -z "$RUBY_SITE_PKG"; then 14509 RUBY_SITE_PKG=`$RUBY -rmkmf -e 'print Config::CONFIG["sitearchdir"]'` 14510 fi 14511 { $as_echo "$as_me:$LINENO: result: $RUBY_SITE_PKG" >&5 14512 $as_echo "$RUBY_SITE_PKG" >&6; } 14513 14514 14515 # 14516 # libraries which must be linked in when embedding 14517 # 14518 { $as_echo "$as_me:$LINENO: checking ruby extra libraries" >&5 14519 $as_echo_n "checking ruby extra libraries... " >&6; } 14520 if test -z "$RUBY_EXTRA_LIBS"; then 14521 RUBY_EXTRA_LIBS=`$RUBY -rmkmf -e 'print Config::CONFIG["SOLIBS"]'` 14522 fi 14523 { $as_echo "$as_me:$LINENO: result: $RUBY_EXTRA_LIBS" >&5 14524 $as_echo "$RUBY_EXTRA_LIBS" >&6; } 14525 14526 14527 # 14528 # linking flags needed when embedding 14529 # (is it even needed for Ruby?) 14530 # 14531 # AC_MSG_CHECKING(ruby extra linking flags) 14532 # if test -z "$RUBY_EXTRA_LDFLAGS"; then 14533 # RUBY_EXTRA_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG[["LINKFORSHARED"]]'` 14534 # fi 14535 # AC_MSG_RESULT([$RUBY_EXTRA_LDFLAGS]) 14536 # AC_SUBST(RUBY_EXTRA_LDFLAGS) 14537 14538 # this flags breaks ruby.h, and is sometimes defined by KDE m4 macros 14539 CFLAGS="`echo "$CFLAGS" | sed -e 's/-std=iso9899:1990//g;'`" 14540 # 14541 # final check to see if everything compiles alright 14542 # 14543 { $as_echo "$as_me:$LINENO: checking consistency of all components of ruby development environment" >&5 14544 $as_echo_n "checking consistency of all components of ruby development environment... " >&6; } 14545 ac_ext=c 14546 ac_cpp='$CPP $CPPFLAGS' 14547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14549 ac_compiler_gnu=$ac_cv_c_compiler_gnu 14550 14551 # save current global flags 14552 ac_save_LIBS="$LIBS" 14553 LIBS="$ac_save_LIBS $RUBY_LDFLAGS" 14554 ac_save_CPPFLAGS="$CPPFLAGS" 14555 CPPFLAGS="$ac_save_CPPFLAGS $RUBY_CPPFLAGS" 14556 cat >conftest.$ac_ext <<_ACEOF 14557 /* confdefs.h. */ 14558 _ACEOF 14559 cat confdefs.h >>conftest.$ac_ext 14560 cat >>conftest.$ac_ext <<_ACEOF 14561 /* end confdefs.h. */ 14562 14563 #include <ruby.h> 14564 14565 int 14566 main () 14567 { 14568 14569 ruby_init(); 14570 14571 ; 14572 return 0; 14573 } 14574 _ACEOF 14575 rm -f conftest.$ac_objext conftest$ac_exeext 14576 if { (ac_try="$ac_link" 14577 case "(($ac_try" in 14578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14579 *) ac_try_echo=$ac_try;; 14580 esac 14581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14582 $as_echo "$ac_try_echo") >&5 14583 (eval "$ac_link") 2>conftest.er1 14584 ac_status=$? 14585 grep -v '^ *+' conftest.er1 >conftest.err 14586 rm -f conftest.er1 14587 cat conftest.err >&5 14588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14589 (exit $ac_status); } && { 14590 test -z "$ac_c_werror_flag" || 14591 test ! -s conftest.err 14592 } && test -s conftest$ac_exeext && { 14593 test "$cross_compiling" = yes || 14594 $as_test_x conftest$ac_exeext 14595 }; then 14596 rubyexists=yes 14597 else 14598 $as_echo "$as_me: failed program was:" >&5 14599 sed 's/^/| /' conftest.$ac_ext >&5 14600 14601 rubyexists=no 14602 fi 14603 14604 rm -rf conftest.dSYM 14605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14606 conftest$ac_exeext conftest.$ac_ext 14607 14608 { $as_echo "$as_me:$LINENO: result: $rubyexists" >&5 14609 $as_echo "$rubyexists" >&6; } 14610 14611 if test "$rubyexists" = "no"; then 14612 HAVE_RUBY_DEVEL="no" 14613 fi 14614 ac_ext=cpp 14615 ac_cpp='$CXXCPP $CPPFLAGS' 14616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 14619 14620 # turn back to default flags 14621 CPPFLAGS="$ac_save_CPPFLAGS" 14622 LIBS="$ac_save_LIBS" 14623 14624 # 14625 # all done! 14626 # 14627 14628 fi 14629 fi 9015 9016 9017 if test x"${MINGW32}"x = xyesx; then 9018 9019 RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%oldnames.lib%-lmoldname%"` 9020 RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%user32.lib%-luser32%"` 9021 RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%advapi32.lib%-ladvapi32%"` 9022 RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%ws2_32.lib%-lws2_32%"` 9023 RUBY_LIBRUBYARG=`echo ${RUBY_LIBRUBYARG} | sed -e "s%\(msvcrt-ruby.*\).lib%${RUBY_CONFIG_BINDIR}/\1.dll%"` 9024 RUBY_LIBRUBYARG_STATIC=`echo ${RUBY_LIBRUBYARG_STATIC} | sed -e "s%\(msvcrt-ruby.*\).lib%${RUBY_CONFIG_LIBDIR}/\1.lib%"` 9025 9026 fi 9027 14630 9028 14631 9029 … … 14633 9031 14634 9032 14635 { $as_echo "$as_me:$ LINENO: checking how to build libraries" >&59033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5 14636 9034 $as_echo_n "checking how to build libraries... " >&6; } 14637 9035 # Check whether --enable-shared was given. 14638 if test "${enable_shared+set}" = set; then 9036 if test "${enable_shared+set}" = set; then : 14639 9037 enableval=$enable_shared; tcl_ok=$enableval 14640 9038 else … … 14651 9049 14652 9050 if test "$tcl_ok" = "yes" ; then 14653 { $as_echo "$as_me:$ LINENO: result: shared" >&59051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 14654 9052 $as_echo "shared" >&6; } 14655 9053 SHARED_BUILD=1 14656 9054 else 14657 { $as_echo "$as_me:$ LINENO: result: static" >&59055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 14658 9056 $as_echo "static" >&6; } 14659 9057 SHARED_BUILD=0 14660 cat >>confdefs.h <<\_ACEOF 14661 #define STATIC_BUILD 1 14662 _ACEOF 9058 $as_echo "#define STATIC_BUILD 1" >>confdefs.h 14663 9059 14664 9060 fi … … 14685 9081 # ----------------------------------------------------------------------- 14686 9082 14687 14688 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 14689 9084 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 14690 if test "${ac_cv_c_bigendian+set}" = set; then9085 if ${ac_cv_c_bigendian+:} false; then : 14691 9086 $as_echo_n "(cached) " >&6 14692 9087 else 14693 9088 ac_cv_c_bigendian=unknown 14694 9089 # See if we're dealing with a universal compiler. 14695 cat >conftest.$ac_ext <<_ACEOF 14696 /* confdefs.h. */ 14697 _ACEOF 14698 cat confdefs.h >>conftest.$ac_ext 14699 cat >>conftest.$ac_ext <<_ACEOF 9090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14700 9091 /* end confdefs.h. */ 14701 9092 #ifndef __APPLE_CC__ … … 14705 9096 14706 9097 _ACEOF 14707 rm -f conftest.$ac_objext 14708 if { (ac_try="$ac_compile" 14709 case "(($ac_try" in 14710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14711 *) ac_try_echo=$ac_try;; 14712 esac 14713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14714 $as_echo "$ac_try_echo") >&5 14715 (eval "$ac_compile") 2>conftest.er1 14716 ac_status=$? 14717 grep -v '^ *+' conftest.er1 >conftest.err 14718 rm -f conftest.er1 14719 cat conftest.err >&5 14720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14721 (exit $ac_status); } && { 14722 test -z "$ac_cxx_werror_flag" || 14723 test ! -s conftest.err 14724 } && test -s conftest.$ac_objext; then 9098 if ac_fn_cxx_try_compile "$LINENO"; then : 14725 9099 14726 9100 # Check for potential -arch flags. It is not universal unless 14727 # there are some -arch flags. Note that *ppc* also matches 14728 # ppc64. This check is also rather less than ideal. 14729 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 14730 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 14731 esac 14732 else 14733 $as_echo "$as_me: failed program was:" >&5 14734 sed 's/^/| /' conftest.$ac_ext >&5 14735 14736 14737 fi 14738 9101 # there are at least two -arch flags with different values. 9102 ac_arch= 9103 ac_prev= 9104 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 9105 if test -n "$ac_prev"; then 9106 case $ac_word in 9107 i?86 | x86_64 | ppc | ppc64) 9108 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 9109 ac_arch=$ac_word 9110 else 9111 ac_cv_c_bigendian=universal 9112 break 9113 fi 9114 ;; 9115 esac 9116 ac_prev= 9117 elif test "x$ac_word" = "x-arch"; then 9118 ac_prev=arch 9119 fi 9120 done 9121 fi 14739 9122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14740 9123 if test $ac_cv_c_bigendian = unknown; then 14741 9124 # See if sys/param.h defines the BYTE_ORDER macro. 14742 cat >conftest.$ac_ext <<_ACEOF 14743 /* confdefs.h. */ 14744 _ACEOF 14745 cat confdefs.h >>conftest.$ac_ext 14746 cat >>conftest.$ac_ext <<_ACEOF 9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14747 9126 /* end confdefs.h. */ 14748 9127 #include <sys/types.h> … … 14762 9141 } 14763 9142 _ACEOF 14764 rm -f conftest.$ac_objext 14765 if { (ac_try="$ac_compile" 14766 case "(($ac_try" in 14767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14768 *) ac_try_echo=$ac_try;; 14769 esac 14770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14771 $as_echo "$ac_try_echo") >&5 14772 (eval "$ac_compile") 2>conftest.er1 14773 ac_status=$? 14774 grep -v '^ *+' conftest.er1 >conftest.err 14775 rm -f conftest.er1 14776 cat conftest.err >&5 14777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14778 (exit $ac_status); } && { 14779 test -z "$ac_cxx_werror_flag" || 14780 test ! -s conftest.err 14781 } && test -s conftest.$ac_objext; then 9143 if ac_fn_cxx_try_compile "$LINENO"; then : 14782 9144 # It does; now see whether it defined to BIG_ENDIAN or not. 14783 cat >conftest.$ac_ext <<_ACEOF 14784 /* confdefs.h. */ 14785 _ACEOF 14786 cat confdefs.h >>conftest.$ac_ext 14787 cat >>conftest.$ac_ext <<_ACEOF 9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14788 9146 /* end confdefs.h. */ 14789 9147 #include <sys/types.h> … … 14801 9159 } 14802 9160 _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 9161 if ac_fn_cxx_try_compile "$LINENO"; then : 14821 9162 ac_cv_c_bigendian=yes 14822 9163 else 14823 $as_echo "$as_me: failed program was:" >&5 14824 sed 's/^/| /' conftest.$ac_ext >&5 14825 14826 ac_cv_c_bigendian=no 14827 fi 14828 9164 ac_cv_c_bigendian=no 9165 fi 14829 9166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14830 else 14831 $as_echo "$as_me: failed program was:" >&5 14832 sed 's/^/| /' conftest.$ac_ext >&5 14833 14834 14835 fi 14836 9167 fi 14837 9168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14838 9169 fi 14839 9170 if test $ac_cv_c_bigendian = unknown; then 14840 9171 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 14841 cat >conftest.$ac_ext <<_ACEOF 14842 /* confdefs.h. */ 14843 _ACEOF 14844 cat confdefs.h >>conftest.$ac_ext 14845 cat >>conftest.$ac_ext <<_ACEOF 9172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14846 9173 /* end confdefs.h. */ 14847 9174 #include <limits.h> … … 14858 9185 } 14859 9186 _ACEOF 14860 rm -f conftest.$ac_objext 14861 if { (ac_try="$ac_compile" 14862 case "(($ac_try" in 14863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14864 *) ac_try_echo=$ac_try;; 14865 esac 14866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14867 $as_echo "$ac_try_echo") >&5 14868 (eval "$ac_compile") 2>conftest.er1 14869 ac_status=$? 14870 grep -v '^ *+' conftest.er1 >conftest.err 14871 rm -f conftest.er1 14872 cat conftest.err >&5 14873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14874 (exit $ac_status); } && { 14875 test -z "$ac_cxx_werror_flag" || 14876 test ! -s conftest.err 14877 } && test -s conftest.$ac_objext; then 9187 if ac_fn_cxx_try_compile "$LINENO"; then : 14878 9188 # It does; now see whether it defined to _BIG_ENDIAN or not. 14879 cat >conftest.$ac_ext <<_ACEOF 14880 /* confdefs.h. */ 14881 _ACEOF 14882 cat confdefs.h >>conftest.$ac_ext 14883 cat >>conftest.$ac_ext <<_ACEOF 9189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14884 9190 /* end confdefs.h. */ 14885 9191 #include <limits.h> … … 14896 9202 } 14897 9203 _ACEOF 14898 rm -f conftest.$ac_objext 14899 if { (ac_try="$ac_compile" 14900 case "(($ac_try" in 14901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14902 *) ac_try_echo=$ac_try;; 14903 esac 14904 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14905 $as_echo "$ac_try_echo") >&5 14906 (eval "$ac_compile") 2>conftest.er1 14907 ac_status=$? 14908 grep -v '^ *+' conftest.er1 >conftest.err 14909 rm -f conftest.er1 14910 cat conftest.err >&5 14911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14912 (exit $ac_status); } && { 14913 test -z "$ac_cxx_werror_flag" || 14914 test ! -s conftest.err 14915 } && test -s conftest.$ac_objext; then 9204 if ac_fn_cxx_try_compile "$LINENO"; then : 14916 9205 ac_cv_c_bigendian=yes 14917 9206 else 14918 $as_echo "$as_me: failed program was:" >&5 14919 sed 's/^/| /' conftest.$ac_ext >&5 14920 14921 ac_cv_c_bigendian=no 14922 fi 14923 9207 ac_cv_c_bigendian=no 9208 fi 14924 9209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14925 else 14926 $as_echo "$as_me: failed program was:" >&5 14927 sed 's/^/| /' conftest.$ac_ext >&5 14928 14929 14930 fi 14931 9210 fi 14932 9211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14933 9212 fi 14934 9213 if test $ac_cv_c_bigendian = unknown; then 14935 9214 # Compile a test program. 14936 if test "$cross_compiling" = yes; then 9215 if test "$cross_compiling" = yes; then : 14937 9216 # Try to guess by grepping values from an object file. 14938 cat >conftest.$ac_ext <<_ACEOF 14939 /* confdefs.h. */ 14940 _ACEOF 14941 cat confdefs.h >>conftest.$ac_ext 14942 cat >>conftest.$ac_ext <<_ACEOF 9217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14943 9218 /* end confdefs.h. */ 14944 9219 short int ascii_mm[] = … … 14966 9241 } 14967 9242 _ACEOF 14968 rm -f conftest.$ac_objext 14969 if { (ac_try="$ac_compile" 14970 case "(($ac_try" in 14971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14972 *) ac_try_echo=$ac_try;; 14973 esac 14974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14975 $as_echo "$ac_try_echo") >&5 14976 (eval "$ac_compile") 2>conftest.er1 14977 ac_status=$? 14978 grep -v '^ *+' conftest.er1 >conftest.err 14979 rm -f conftest.er1 14980 cat conftest.err >&5 14981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14982 (exit $ac_status); } && { 14983 test -z "$ac_cxx_werror_flag" || 14984 test ! -s conftest.err 14985 } && test -s conftest.$ac_objext; then 9243 if ac_fn_cxx_try_compile "$LINENO"; then : 14986 9244 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 14987 9245 ac_cv_c_bigendian=yes … … 14995 9253 fi 14996 9254 fi 14997 else 14998 $as_echo "$as_me: failed program was:" >&5 14999 sed 's/^/| /' conftest.$ac_ext >&5 15000 15001 15002 fi 15003 9255 fi 15004 9256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15005 9257 else 15006 cat >conftest.$ac_ext <<_ACEOF 15007 /* confdefs.h. */ 15008 _ACEOF 15009 cat confdefs.h >>conftest.$ac_ext 15010 cat >>conftest.$ac_ext <<_ACEOF 9258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15011 9259 /* end confdefs.h. */ 15012 9260 $ac_includes_default … … 15028 9276 } 15029 9277 _ACEOF 15030 rm -f conftest$ac_exeext 15031 if { (ac_try="$ac_link" 15032 case "(($ac_try" in 15033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15034 *) ac_try_echo=$ac_try;; 15035 esac 15036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15037 $as_echo "$ac_try_echo") >&5 15038 (eval "$ac_link") 2>&5 15039 ac_status=$? 15040 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15041 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15042 { (case "(($ac_try" in 15043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15044 *) ac_try_echo=$ac_try;; 15045 esac 15046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15047 $as_echo "$ac_try_echo") >&5 15048 (eval "$ac_try") 2>&5 15049 ac_status=$? 15050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15051 (exit $ac_status); }; }; then 9278 if ac_fn_cxx_try_run "$LINENO"; then : 15052 9279 ac_cv_c_bigendian=no 15053 9280 else 15054 $as_echo "$as_me: program exited with status $ac_status" >&5 15055 $as_echo "$as_me: failed program was:" >&5 15056 sed 's/^/| /' conftest.$ac_ext >&5 15057 15058 ( exit $ac_status ) 15059 ac_cv_c_bigendian=yes 15060 fi 15061 rm -rf conftest.dSYM 15062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15063 fi 15064 9281 ac_cv_c_bigendian=yes 9282 fi 9283 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9284 conftest.$ac_objext conftest.beam conftest.$ac_ext 9285 fi 15065 9286 15066 9287 fi 15067 9288 fi 15068 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_bigendian" >&59289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 15069 9290 $as_echo "$ac_cv_c_bigendian" >&6; } 15070 9291 case $ac_cv_c_bigendian in #( 15071 9292 yes) 15072 cat >>confdefs.h <<\_ACEOF 15073 #define WORDS_BIGENDIAN 1 15074 _ACEOF 9293 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 15075 9294 ;; #( 15076 9295 no) … … 15078 9297 universal) 15079 9298 15080 cat >>confdefs.h <<\_ACEOF 15081 #define AC_APPLE_UNIVERSAL_BUILD 1 15082 _ACEOF 9299 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 15083 9300 15084 9301 ;; #( 15085 9302 *) 15086 { { $as_echo "$as_me:$LINENO: error: unknown endianness 15087 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 15088 $as_echo "$as_me: error: unknown endianness 15089 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 15090 { (exit 1); exit 1; }; } ;; 9303 as_fn_error $? "unknown endianness 9304 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 15091 9305 esac 15092 9306 … … 15095 9309 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15096 9310 # This bug is HP SR number 8606223364. 15097 { $as_echo "$as_me:$ LINENO: checking size of int" >&59311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 15098 9312 $as_echo_n "checking size of int... " >&6; } 15099 if test "${ac_cv_sizeof_int+set}" = set; then9313 if ${ac_cv_sizeof_int+:} false; then : 15100 9314 $as_echo_n "(cached) " >&6 15101 9315 else 15102 if test "$cross_compiling" = yes; then 15103 # Depending upon the size, compute the lo and hi bounds. 15104 cat >conftest.$ac_ext <<_ACEOF 15105 /* confdefs.h. */ 15106 _ACEOF 15107 cat confdefs.h >>conftest.$ac_ext 15108 cat >>conftest.$ac_ext <<_ACEOF 15109 /* end confdefs.h. */ 15110 $ac_includes_default 15111 int 15112 main () 15113 { 15114 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)]; 15115 test_array [0] = 0 15116 15117 ; 15118 return 0; 15119 } 15120 _ACEOF 15121 rm -f conftest.$ac_objext 15122 if { (ac_try="$ac_compile" 15123 case "(($ac_try" in 15124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15125 *) ac_try_echo=$ac_try;; 15126 esac 15127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15128 $as_echo "$ac_try_echo") >&5 15129 (eval "$ac_compile") 2>conftest.er1 15130 ac_status=$? 15131 grep -v '^ *+' conftest.er1 >conftest.err 15132 rm -f conftest.er1 15133 cat conftest.err >&5 15134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15135 (exit $ac_status); } && { 15136 test -z "$ac_cxx_werror_flag" || 15137 test ! -s conftest.err 15138 } && test -s conftest.$ac_objext; then 15139 ac_lo=0 ac_mid=0 15140 while :; do 15141 cat >conftest.$ac_ext <<_ACEOF 15142 /* confdefs.h. */ 15143 _ACEOF 15144 cat confdefs.h >>conftest.$ac_ext 15145 cat >>conftest.$ac_ext <<_ACEOF 15146 /* end confdefs.h. */ 15147 $ac_includes_default 15148 int 15149 main () 15150 { 15151 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 15152 test_array [0] = 0 15153 15154 ; 15155 return 0; 15156 } 15157 _ACEOF 15158 rm -f conftest.$ac_objext 15159 if { (ac_try="$ac_compile" 15160 case "(($ac_try" in 15161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15162 *) ac_try_echo=$ac_try;; 15163 esac 15164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15165 $as_echo "$ac_try_echo") >&5 15166 (eval "$ac_compile") 2>conftest.er1 15167 ac_status=$? 15168 grep -v '^ *+' conftest.er1 >conftest.err 15169 rm -f conftest.er1 15170 cat conftest.err >&5 15171 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15172 (exit $ac_status); } && { 15173 test -z "$ac_cxx_werror_flag" || 15174 test ! -s conftest.err 15175 } && test -s conftest.$ac_objext; then 15176 ac_hi=$ac_mid; break 15177 else 15178 $as_echo "$as_me: failed program was:" >&5 15179 sed 's/^/| /' conftest.$ac_ext >&5 15180 15181 ac_lo=`expr $ac_mid + 1` 15182 if test $ac_lo -le $ac_mid; then 15183 ac_lo= ac_hi= 15184 break 15185 fi 15186 ac_mid=`expr 2 '*' $ac_mid + 1` 15187 fi 15188 15189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15190 done 15191 else 15192 $as_echo "$as_me: failed program was:" >&5 15193 sed 's/^/| /' conftest.$ac_ext >&5 15194 15195 cat >conftest.$ac_ext <<_ACEOF 15196 /* confdefs.h. */ 15197 _ACEOF 15198 cat confdefs.h >>conftest.$ac_ext 15199 cat >>conftest.$ac_ext <<_ACEOF 15200 /* end confdefs.h. */ 15201 $ac_includes_default 15202 int 15203 main () 15204 { 15205 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)]; 15206 test_array [0] = 0 15207 15208 ; 15209 return 0; 15210 } 15211 _ACEOF 15212 rm -f conftest.$ac_objext 15213 if { (ac_try="$ac_compile" 15214 case "(($ac_try" in 15215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15216 *) ac_try_echo=$ac_try;; 15217 esac 15218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15219 $as_echo "$ac_try_echo") >&5 15220 (eval "$ac_compile") 2>conftest.er1 15221 ac_status=$? 15222 grep -v '^ *+' conftest.er1 >conftest.err 15223 rm -f conftest.er1 15224 cat conftest.err >&5 15225 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15226 (exit $ac_status); } && { 15227 test -z "$ac_cxx_werror_flag" || 15228 test ! -s conftest.err 15229 } && test -s conftest.$ac_objext; then 15230 ac_hi=-1 ac_mid=-1 15231 while :; do 15232 cat >conftest.$ac_ext <<_ACEOF 15233 /* confdefs.h. */ 15234 _ACEOF 15235 cat confdefs.h >>conftest.$ac_ext 15236 cat >>conftest.$ac_ext <<_ACEOF 15237 /* end confdefs.h. */ 15238 $ac_includes_default 15239 int 15240 main () 15241 { 15242 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)]; 15243 test_array [0] = 0 15244 15245 ; 15246 return 0; 15247 } 15248 _ACEOF 15249 rm -f conftest.$ac_objext 15250 if { (ac_try="$ac_compile" 15251 case "(($ac_try" in 15252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15253 *) ac_try_echo=$ac_try;; 15254 esac 15255 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15256 $as_echo "$ac_try_echo") >&5 15257 (eval "$ac_compile") 2>conftest.er1 15258 ac_status=$? 15259 grep -v '^ *+' conftest.er1 >conftest.err 15260 rm -f conftest.er1 15261 cat conftest.err >&5 15262 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15263 (exit $ac_status); } && { 15264 test -z "$ac_cxx_werror_flag" || 15265 test ! -s conftest.err 15266 } && test -s conftest.$ac_objext; then 15267 ac_lo=$ac_mid; break 15268 else 15269 $as_echo "$as_me: failed program was:" >&5 15270 sed 's/^/| /' conftest.$ac_ext >&5 15271 15272 ac_hi=`expr '(' $ac_mid ')' - 1` 15273 if test $ac_mid -le $ac_hi; then 15274 ac_lo= ac_hi= 15275 break 15276 fi 15277 ac_mid=`expr 2 '*' $ac_mid` 15278 fi 15279 15280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15281 done 15282 else 15283 $as_echo "$as_me: failed program was:" >&5 15284 sed 's/^/| /' conftest.$ac_ext >&5 15285 15286 ac_lo= ac_hi= 15287 fi 15288 15289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15290 fi 15291 15292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15293 # Binary search between lo and hi bounds. 15294 while test "x$ac_lo" != "x$ac_hi"; do 15295 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15296 cat >conftest.$ac_ext <<_ACEOF 15297 /* confdefs.h. */ 15298 _ACEOF 15299 cat confdefs.h >>conftest.$ac_ext 15300 cat >>conftest.$ac_ext <<_ACEOF 15301 /* end confdefs.h. */ 15302 $ac_includes_default 15303 int 15304 main () 15305 { 15306 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 15307 test_array [0] = 0 15308 15309 ; 15310 return 0; 15311 } 15312 _ACEOF 15313 rm -f conftest.$ac_objext 15314 if { (ac_try="$ac_compile" 15315 case "(($ac_try" in 15316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15317 *) ac_try_echo=$ac_try;; 15318 esac 15319 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15320 $as_echo "$ac_try_echo") >&5 15321 (eval "$ac_compile") 2>conftest.er1 15322 ac_status=$? 15323 grep -v '^ *+' conftest.er1 >conftest.err 15324 rm -f conftest.er1 15325 cat conftest.err >&5 15326 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15327 (exit $ac_status); } && { 15328 test -z "$ac_cxx_werror_flag" || 15329 test ! -s conftest.err 15330 } && test -s conftest.$ac_objext; then 15331 ac_hi=$ac_mid 15332 else 15333 $as_echo "$as_me: failed program was:" >&5 15334 sed 's/^/| /' conftest.$ac_ext >&5 15335 15336 ac_lo=`expr '(' $ac_mid ')' + 1` 15337 fi 15338 15339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15340 done 15341 case $ac_lo in 15342 ?*) ac_cv_sizeof_int=$ac_lo;; 15343 '') if test "$ac_cv_type_int" = yes; then 15344 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9316 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 9317 9318 else 9319 if test "$ac_cv_type_int" = yes; then 9320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15345 9321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15346 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 15347 See \`config.log' for more details." >&5 15348 $as_echo "$as_me: error: cannot compute sizeof (int) 15349 See \`config.log' for more details." >&2;} 15350 { (exit 77); exit 77; }; }; } 15351 else 15352 ac_cv_sizeof_int=0 15353 fi ;; 15354 esac 15355 else 15356 cat >conftest.$ac_ext <<_ACEOF 15357 /* confdefs.h. */ 15358 _ACEOF 15359 cat confdefs.h >>conftest.$ac_ext 15360 cat >>conftest.$ac_ext <<_ACEOF 15361 /* end confdefs.h. */ 15362 $ac_includes_default 15363 static long int longval () { return (long int) (sizeof (int)); } 15364 static unsigned long int ulongval () { return (long int) (sizeof (int)); } 15365 #include <stdio.h> 15366 #include <stdlib.h> 15367 int 15368 main () 15369 { 15370 15371 FILE *f = fopen ("conftest.val", "w"); 15372 if (! f) 15373 return 1; 15374 if (((long int) (sizeof (int))) < 0) 15375 { 15376 long int i = longval (); 15377 if (i != ((long int) (sizeof (int)))) 15378 return 1; 15379 fprintf (f, "%ld", i); 15380 } 15381 else 15382 { 15383 unsigned long int i = ulongval (); 15384 if (i != ((long int) (sizeof (int)))) 15385 return 1; 15386 fprintf (f, "%lu", i); 15387 } 15388 /* Do not output a trailing newline, as this causes \r\n confusion 15389 on some platforms. */ 15390 return ferror (f) || fclose (f) != 0; 15391 15392 ; 15393 return 0; 15394 } 15395 _ACEOF 15396 rm -f conftest$ac_exeext 15397 if { (ac_try="$ac_link" 15398 case "(($ac_try" in 15399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15400 *) ac_try_echo=$ac_try;; 15401 esac 15402 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15403 $as_echo "$ac_try_echo") >&5 15404 (eval "$ac_link") 2>&5 15405 ac_status=$? 15406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15407 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15408 { (case "(($ac_try" in 15409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15410 *) ac_try_echo=$ac_try;; 15411 esac 15412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15413 $as_echo "$ac_try_echo") >&5 15414 (eval "$ac_try") 2>&5 15415 ac_status=$? 15416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15417 (exit $ac_status); }; }; then 15418 ac_cv_sizeof_int=`cat conftest.val` 15419 else 15420 $as_echo "$as_me: program exited with status $ac_status" >&5 15421 $as_echo "$as_me: failed program was:" >&5 15422 sed 's/^/| /' conftest.$ac_ext >&5 15423 15424 ( exit $ac_status ) 15425 if test "$ac_cv_type_int" = yes; then 15426 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 15427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15428 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 15429 See \`config.log' for more details." >&5 15430 $as_echo "$as_me: error: cannot compute sizeof (int) 15431 See \`config.log' for more details." >&2;} 15432 { (exit 77); exit 77; }; }; } 9322 as_fn_error 77 "cannot compute sizeof (int) 9323 See \`config.log' for more details" "$LINENO" 5; } 15433 9324 else 15434 9325 ac_cv_sizeof_int=0 15435 9326 fi 15436 9327 fi 15437 rm -rf conftest.dSYM 15438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15439 fi 15440 rm -f conftest.val 15441 fi 15442 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 9328 9329 fi 9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 15443 9331 $as_echo "$ac_cv_sizeof_int" >&6; } 15444 9332 … … 15454 9342 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15455 9343 # This bug is HP SR number 8606223364. 15456 { $as_echo "$as_me:$ LINENO: checking size of long" >&59344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 15457 9345 $as_echo_n "checking size of long... " >&6; } 15458 if test "${ac_cv_sizeof_long+set}" = set; then9346 if ${ac_cv_sizeof_long+:} false; then : 15459 9347 $as_echo_n "(cached) " >&6 15460 9348 else 15461 if test "$cross_compiling" = yes; then 15462 # Depending upon the size, compute the lo and hi bounds. 15463 cat >conftest.$ac_ext <<_ACEOF 15464 /* confdefs.h. */ 15465 _ACEOF 15466 cat confdefs.h >>conftest.$ac_ext 15467 cat >>conftest.$ac_ext <<_ACEOF 15468 /* end confdefs.h. */ 15469 $ac_includes_default 15470 int 15471 main () 15472 { 15473 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)]; 15474 test_array [0] = 0 15475 15476 ; 15477 return 0; 15478 } 15479 _ACEOF 15480 rm -f conftest.$ac_objext 15481 if { (ac_try="$ac_compile" 15482 case "(($ac_try" in 15483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15484 *) ac_try_echo=$ac_try;; 15485 esac 15486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15487 $as_echo "$ac_try_echo") >&5 15488 (eval "$ac_compile") 2>conftest.er1 15489 ac_status=$? 15490 grep -v '^ *+' conftest.er1 >conftest.err 15491 rm -f conftest.er1 15492 cat conftest.err >&5 15493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15494 (exit $ac_status); } && { 15495 test -z "$ac_cxx_werror_flag" || 15496 test ! -s conftest.err 15497 } && test -s conftest.$ac_objext; then 15498 ac_lo=0 ac_mid=0 15499 while :; do 15500 cat >conftest.$ac_ext <<_ACEOF 15501 /* confdefs.h. */ 15502 _ACEOF 15503 cat confdefs.h >>conftest.$ac_ext 15504 cat >>conftest.$ac_ext <<_ACEOF 15505 /* end confdefs.h. */ 15506 $ac_includes_default 15507 int 15508 main () 15509 { 15510 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 15511 test_array [0] = 0 15512 15513 ; 15514 return 0; 15515 } 15516 _ACEOF 15517 rm -f conftest.$ac_objext 15518 if { (ac_try="$ac_compile" 15519 case "(($ac_try" in 15520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15521 *) ac_try_echo=$ac_try;; 15522 esac 15523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15524 $as_echo "$ac_try_echo") >&5 15525 (eval "$ac_compile") 2>conftest.er1 15526 ac_status=$? 15527 grep -v '^ *+' conftest.er1 >conftest.err 15528 rm -f conftest.er1 15529 cat conftest.err >&5 15530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15531 (exit $ac_status); } && { 15532 test -z "$ac_cxx_werror_flag" || 15533 test ! -s conftest.err 15534 } && test -s conftest.$ac_objext; then 15535 ac_hi=$ac_mid; break 15536 else 15537 $as_echo "$as_me: failed program was:" >&5 15538 sed 's/^/| /' conftest.$ac_ext >&5 15539 15540 ac_lo=`expr $ac_mid + 1` 15541 if test $ac_lo -le $ac_mid; then 15542 ac_lo= ac_hi= 15543 break 15544 fi 15545 ac_mid=`expr 2 '*' $ac_mid + 1` 15546 fi 15547 15548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15549 done 15550 else 15551 $as_echo "$as_me: failed program was:" >&5 15552 sed 's/^/| /' conftest.$ac_ext >&5 15553 15554 cat >conftest.$ac_ext <<_ACEOF 15555 /* confdefs.h. */ 15556 _ACEOF 15557 cat confdefs.h >>conftest.$ac_ext 15558 cat >>conftest.$ac_ext <<_ACEOF 15559 /* end confdefs.h. */ 15560 $ac_includes_default 15561 int 15562 main () 15563 { 15564 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)]; 15565 test_array [0] = 0 15566 15567 ; 15568 return 0; 15569 } 15570 _ACEOF 15571 rm -f conftest.$ac_objext 15572 if { (ac_try="$ac_compile" 15573 case "(($ac_try" in 15574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15575 *) ac_try_echo=$ac_try;; 15576 esac 15577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15578 $as_echo "$ac_try_echo") >&5 15579 (eval "$ac_compile") 2>conftest.er1 15580 ac_status=$? 15581 grep -v '^ *+' conftest.er1 >conftest.err 15582 rm -f conftest.er1 15583 cat conftest.err >&5 15584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15585 (exit $ac_status); } && { 15586 test -z "$ac_cxx_werror_flag" || 15587 test ! -s conftest.err 15588 } && test -s conftest.$ac_objext; then 15589 ac_hi=-1 ac_mid=-1 15590 while :; do 15591 cat >conftest.$ac_ext <<_ACEOF 15592 /* confdefs.h. */ 15593 _ACEOF 15594 cat confdefs.h >>conftest.$ac_ext 15595 cat >>conftest.$ac_ext <<_ACEOF 15596 /* end confdefs.h. */ 15597 $ac_includes_default 15598 int 15599 main () 15600 { 15601 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)]; 15602 test_array [0] = 0 15603 15604 ; 15605 return 0; 15606 } 15607 _ACEOF 15608 rm -f conftest.$ac_objext 15609 if { (ac_try="$ac_compile" 15610 case "(($ac_try" in 15611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15612 *) ac_try_echo=$ac_try;; 15613 esac 15614 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15615 $as_echo "$ac_try_echo") >&5 15616 (eval "$ac_compile") 2>conftest.er1 15617 ac_status=$? 15618 grep -v '^ *+' conftest.er1 >conftest.err 15619 rm -f conftest.er1 15620 cat conftest.err >&5 15621 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15622 (exit $ac_status); } && { 15623 test -z "$ac_cxx_werror_flag" || 15624 test ! -s conftest.err 15625 } && test -s conftest.$ac_objext; then 15626 ac_lo=$ac_mid; break 15627 else 15628 $as_echo "$as_me: failed program was:" >&5 15629 sed 's/^/| /' conftest.$ac_ext >&5 15630 15631 ac_hi=`expr '(' $ac_mid ')' - 1` 15632 if test $ac_mid -le $ac_hi; then 15633 ac_lo= ac_hi= 15634 break 15635 fi 15636 ac_mid=`expr 2 '*' $ac_mid` 15637 fi 15638 15639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15640 done 15641 else 15642 $as_echo "$as_me: failed program was:" >&5 15643 sed 's/^/| /' conftest.$ac_ext >&5 15644 15645 ac_lo= ac_hi= 15646 fi 15647 15648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15649 fi 15650 15651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15652 # Binary search between lo and hi bounds. 15653 while test "x$ac_lo" != "x$ac_hi"; do 15654 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15655 cat >conftest.$ac_ext <<_ACEOF 15656 /* confdefs.h. */ 15657 _ACEOF 15658 cat confdefs.h >>conftest.$ac_ext 15659 cat >>conftest.$ac_ext <<_ACEOF 15660 /* end confdefs.h. */ 15661 $ac_includes_default 15662 int 15663 main () 15664 { 15665 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 15666 test_array [0] = 0 15667 15668 ; 15669 return 0; 15670 } 15671 _ACEOF 15672 rm -f conftest.$ac_objext 15673 if { (ac_try="$ac_compile" 15674 case "(($ac_try" in 15675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15676 *) ac_try_echo=$ac_try;; 15677 esac 15678 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15679 $as_echo "$ac_try_echo") >&5 15680 (eval "$ac_compile") 2>conftest.er1 15681 ac_status=$? 15682 grep -v '^ *+' conftest.er1 >conftest.err 15683 rm -f conftest.er1 15684 cat conftest.err >&5 15685 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15686 (exit $ac_status); } && { 15687 test -z "$ac_cxx_werror_flag" || 15688 test ! -s conftest.err 15689 } && test -s conftest.$ac_objext; then 15690 ac_hi=$ac_mid 15691 else 15692 $as_echo "$as_me: failed program was:" >&5 15693 sed 's/^/| /' conftest.$ac_ext >&5 15694 15695 ac_lo=`expr '(' $ac_mid ')' + 1` 15696 fi 15697 15698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15699 done 15700 case $ac_lo in 15701 ?*) ac_cv_sizeof_long=$ac_lo;; 15702 '') if test "$ac_cv_type_long" = yes; then 15703 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9349 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 9350 9351 else 9352 if test "$ac_cv_type_long" = yes; then 9353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15704 9354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15705 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 15706 See \`config.log' for more details." >&5 15707 $as_echo "$as_me: error: cannot compute sizeof (long) 15708 See \`config.log' for more details." >&2;} 15709 { (exit 77); exit 77; }; }; } 15710 else 15711 ac_cv_sizeof_long=0 15712 fi ;; 15713 esac 15714 else 15715 cat >conftest.$ac_ext <<_ACEOF 15716 /* confdefs.h. */ 15717 _ACEOF 15718 cat confdefs.h >>conftest.$ac_ext 15719 cat >>conftest.$ac_ext <<_ACEOF 15720 /* end confdefs.h. */ 15721 $ac_includes_default 15722 static long int longval () { return (long int) (sizeof (long)); } 15723 static unsigned long int ulongval () { return (long int) (sizeof (long)); } 15724 #include <stdio.h> 15725 #include <stdlib.h> 15726 int 15727 main () 15728 { 15729 15730 FILE *f = fopen ("conftest.val", "w"); 15731 if (! f) 15732 return 1; 15733 if (((long int) (sizeof (long))) < 0) 15734 { 15735 long int i = longval (); 15736 if (i != ((long int) (sizeof (long)))) 15737 return 1; 15738 fprintf (f, "%ld", i); 15739 } 15740 else 15741 { 15742 unsigned long int i = ulongval (); 15743 if (i != ((long int) (sizeof (long)))) 15744 return 1; 15745 fprintf (f, "%lu", i); 15746 } 15747 /* Do not output a trailing newline, as this causes \r\n confusion 15748 on some platforms. */ 15749 return ferror (f) || fclose (f) != 0; 15750 15751 ; 15752 return 0; 15753 } 15754 _ACEOF 15755 rm -f conftest$ac_exeext 15756 if { (ac_try="$ac_link" 15757 case "(($ac_try" in 15758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15759 *) ac_try_echo=$ac_try;; 15760 esac 15761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15762 $as_echo "$ac_try_echo") >&5 15763 (eval "$ac_link") 2>&5 15764 ac_status=$? 15765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15766 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15767 { (case "(($ac_try" in 15768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15769 *) ac_try_echo=$ac_try;; 15770 esac 15771 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15772 $as_echo "$ac_try_echo") >&5 15773 (eval "$ac_try") 2>&5 15774 ac_status=$? 15775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15776 (exit $ac_status); }; }; then 15777 ac_cv_sizeof_long=`cat conftest.val` 15778 else 15779 $as_echo "$as_me: program exited with status $ac_status" >&5 15780 $as_echo "$as_me: failed program was:" >&5 15781 sed 's/^/| /' conftest.$ac_ext >&5 15782 15783 ( exit $ac_status ) 15784 if test "$ac_cv_type_long" = yes; then 15785 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 15786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15787 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 15788 See \`config.log' for more details." >&5 15789 $as_echo "$as_me: error: cannot compute sizeof (long) 15790 See \`config.log' for more details." >&2;} 15791 { (exit 77); exit 77; }; }; } 9355 as_fn_error 77 "cannot compute sizeof (long) 9356 See \`config.log' for more details" "$LINENO" 5; } 15792 9357 else 15793 9358 ac_cv_sizeof_long=0 15794 9359 fi 15795 9360 fi 15796 rm -rf conftest.dSYM 15797 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15798 fi 15799 rm -f conftest.val 15800 fi 15801 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 9361 9362 fi 9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 15802 9364 $as_echo "$ac_cv_sizeof_long" >&6; } 15803 9365 … … 15813 9375 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15814 9376 # This bug is HP SR number 8606223364. 15815 { $as_echo "$as_me:$ LINENO: checking size of long long" >&59377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 15816 9378 $as_echo_n "checking size of long long... " >&6; } 15817 if test "${ac_cv_sizeof_long_long+set}" = set; then9379 if ${ac_cv_sizeof_long_long+:} false; then : 15818 9380 $as_echo_n "(cached) " >&6 15819 9381 else 15820 if test "$cross_compiling" = yes; then 15821 # Depending upon the size, compute the lo and hi bounds. 15822 cat >conftest.$ac_ext <<_ACEOF 15823 /* confdefs.h. */ 15824 _ACEOF 15825 cat confdefs.h >>conftest.$ac_ext 15826 cat >>conftest.$ac_ext <<_ACEOF 15827 /* end confdefs.h. */ 15828 $ac_includes_default 15829 int 15830 main () 15831 { 15832 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)]; 15833 test_array [0] = 0 15834 15835 ; 15836 return 0; 15837 } 15838 _ACEOF 15839 rm -f conftest.$ac_objext 15840 if { (ac_try="$ac_compile" 15841 case "(($ac_try" in 15842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15843 *) ac_try_echo=$ac_try;; 15844 esac 15845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15846 $as_echo "$ac_try_echo") >&5 15847 (eval "$ac_compile") 2>conftest.er1 15848 ac_status=$? 15849 grep -v '^ *+' conftest.er1 >conftest.err 15850 rm -f conftest.er1 15851 cat conftest.err >&5 15852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15853 (exit $ac_status); } && { 15854 test -z "$ac_cxx_werror_flag" || 15855 test ! -s conftest.err 15856 } && test -s conftest.$ac_objext; then 15857 ac_lo=0 ac_mid=0 15858 while :; do 15859 cat >conftest.$ac_ext <<_ACEOF 15860 /* confdefs.h. */ 15861 _ACEOF 15862 cat confdefs.h >>conftest.$ac_ext 15863 cat >>conftest.$ac_ext <<_ACEOF 15864 /* end confdefs.h. */ 15865 $ac_includes_default 15866 int 15867 main () 15868 { 15869 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 15870 test_array [0] = 0 15871 15872 ; 15873 return 0; 15874 } 15875 _ACEOF 15876 rm -f conftest.$ac_objext 15877 if { (ac_try="$ac_compile" 15878 case "(($ac_try" in 15879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15880 *) ac_try_echo=$ac_try;; 15881 esac 15882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15883 $as_echo "$ac_try_echo") >&5 15884 (eval "$ac_compile") 2>conftest.er1 15885 ac_status=$? 15886 grep -v '^ *+' conftest.er1 >conftest.err 15887 rm -f conftest.er1 15888 cat conftest.err >&5 15889 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15890 (exit $ac_status); } && { 15891 test -z "$ac_cxx_werror_flag" || 15892 test ! -s conftest.err 15893 } && test -s conftest.$ac_objext; then 15894 ac_hi=$ac_mid; break 15895 else 15896 $as_echo "$as_me: failed program was:" >&5 15897 sed 's/^/| /' conftest.$ac_ext >&5 15898 15899 ac_lo=`expr $ac_mid + 1` 15900 if test $ac_lo -le $ac_mid; then 15901 ac_lo= ac_hi= 15902 break 15903 fi 15904 ac_mid=`expr 2 '*' $ac_mid + 1` 15905 fi 15906 15907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15908 done 15909 else 15910 $as_echo "$as_me: failed program was:" >&5 15911 sed 's/^/| /' conftest.$ac_ext >&5 15912 15913 cat >conftest.$ac_ext <<_ACEOF 15914 /* confdefs.h. */ 15915 _ACEOF 15916 cat confdefs.h >>conftest.$ac_ext 15917 cat >>conftest.$ac_ext <<_ACEOF 15918 /* end confdefs.h. */ 15919 $ac_includes_default 15920 int 15921 main () 15922 { 15923 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)]; 15924 test_array [0] = 0 15925 15926 ; 15927 return 0; 15928 } 15929 _ACEOF 15930 rm -f conftest.$ac_objext 15931 if { (ac_try="$ac_compile" 15932 case "(($ac_try" in 15933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15934 *) ac_try_echo=$ac_try;; 15935 esac 15936 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15937 $as_echo "$ac_try_echo") >&5 15938 (eval "$ac_compile") 2>conftest.er1 15939 ac_status=$? 15940 grep -v '^ *+' conftest.er1 >conftest.err 15941 rm -f conftest.er1 15942 cat conftest.err >&5 15943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15944 (exit $ac_status); } && { 15945 test -z "$ac_cxx_werror_flag" || 15946 test ! -s conftest.err 15947 } && test -s conftest.$ac_objext; then 15948 ac_hi=-1 ac_mid=-1 15949 while :; do 15950 cat >conftest.$ac_ext <<_ACEOF 15951 /* confdefs.h. */ 15952 _ACEOF 15953 cat confdefs.h >>conftest.$ac_ext 15954 cat >>conftest.$ac_ext <<_ACEOF 15955 /* end confdefs.h. */ 15956 $ac_includes_default 15957 int 15958 main () 15959 { 15960 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)]; 15961 test_array [0] = 0 15962 15963 ; 15964 return 0; 15965 } 15966 _ACEOF 15967 rm -f conftest.$ac_objext 15968 if { (ac_try="$ac_compile" 15969 case "(($ac_try" in 15970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15971 *) ac_try_echo=$ac_try;; 15972 esac 15973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15974 $as_echo "$ac_try_echo") >&5 15975 (eval "$ac_compile") 2>conftest.er1 15976 ac_status=$? 15977 grep -v '^ *+' conftest.er1 >conftest.err 15978 rm -f conftest.er1 15979 cat conftest.err >&5 15980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15981 (exit $ac_status); } && { 15982 test -z "$ac_cxx_werror_flag" || 15983 test ! -s conftest.err 15984 } && test -s conftest.$ac_objext; then 15985 ac_lo=$ac_mid; break 15986 else 15987 $as_echo "$as_me: failed program was:" >&5 15988 sed 's/^/| /' conftest.$ac_ext >&5 15989 15990 ac_hi=`expr '(' $ac_mid ')' - 1` 15991 if test $ac_mid -le $ac_hi; then 15992 ac_lo= ac_hi= 15993 break 15994 fi 15995 ac_mid=`expr 2 '*' $ac_mid` 15996 fi 15997 15998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15999 done 16000 else 16001 $as_echo "$as_me: failed program was:" >&5 16002 sed 's/^/| /' conftest.$ac_ext >&5 16003 16004 ac_lo= ac_hi= 16005 fi 16006 16007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16008 fi 16009 16010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16011 # Binary search between lo and hi bounds. 16012 while test "x$ac_lo" != "x$ac_hi"; do 16013 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 16014 cat >conftest.$ac_ext <<_ACEOF 16015 /* confdefs.h. */ 16016 _ACEOF 16017 cat confdefs.h >>conftest.$ac_ext 16018 cat >>conftest.$ac_ext <<_ACEOF 16019 /* end confdefs.h. */ 16020 $ac_includes_default 16021 int 16022 main () 16023 { 16024 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 16025 test_array [0] = 0 16026 16027 ; 16028 return 0; 16029 } 16030 _ACEOF 16031 rm -f conftest.$ac_objext 16032 if { (ac_try="$ac_compile" 16033 case "(($ac_try" in 16034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16035 *) ac_try_echo=$ac_try;; 16036 esac 16037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16038 $as_echo "$ac_try_echo") >&5 16039 (eval "$ac_compile") 2>conftest.er1 16040 ac_status=$? 16041 grep -v '^ *+' conftest.er1 >conftest.err 16042 rm -f conftest.er1 16043 cat conftest.err >&5 16044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16045 (exit $ac_status); } && { 16046 test -z "$ac_cxx_werror_flag" || 16047 test ! -s conftest.err 16048 } && test -s conftest.$ac_objext; then 16049 ac_hi=$ac_mid 16050 else 16051 $as_echo "$as_me: failed program was:" >&5 16052 sed 's/^/| /' conftest.$ac_ext >&5 16053 16054 ac_lo=`expr '(' $ac_mid ')' + 1` 16055 fi 16056 16057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16058 done 16059 case $ac_lo in 16060 ?*) ac_cv_sizeof_long_long=$ac_lo;; 16061 '') if test "$ac_cv_type_long_long" = yes; then 16062 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9382 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 9383 9384 else 9385 if test "$ac_cv_type_long_long" = yes; then 9386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16063 9387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16064 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 16065 See \`config.log' for more details." >&5 16066 $as_echo "$as_me: error: cannot compute sizeof (long long) 16067 See \`config.log' for more details." >&2;} 16068 { (exit 77); exit 77; }; }; } 16069 else 16070 ac_cv_sizeof_long_long=0 16071 fi ;; 16072 esac 16073 else 16074 cat >conftest.$ac_ext <<_ACEOF 16075 /* confdefs.h. */ 16076 _ACEOF 16077 cat confdefs.h >>conftest.$ac_ext 16078 cat >>conftest.$ac_ext <<_ACEOF 16079 /* end confdefs.h. */ 16080 $ac_includes_default 16081 static long int longval () { return (long int) (sizeof (long long)); } 16082 static unsigned long int ulongval () { return (long int) (sizeof (long long)); } 16083 #include <stdio.h> 16084 #include <stdlib.h> 16085 int 16086 main () 16087 { 16088 16089 FILE *f = fopen ("conftest.val", "w"); 16090 if (! f) 16091 return 1; 16092 if (((long int) (sizeof (long long))) < 0) 16093 { 16094 long int i = longval (); 16095 if (i != ((long int) (sizeof (long long)))) 16096 return 1; 16097 fprintf (f, "%ld", i); 16098 } 16099 else 16100 { 16101 unsigned long int i = ulongval (); 16102 if (i != ((long int) (sizeof (long long)))) 16103 return 1; 16104 fprintf (f, "%lu", i); 16105 } 16106 /* Do not output a trailing newline, as this causes \r\n confusion 16107 on some platforms. */ 16108 return ferror (f) || fclose (f) != 0; 16109 16110 ; 16111 return 0; 16112 } 16113 _ACEOF 16114 rm -f conftest$ac_exeext 16115 if { (ac_try="$ac_link" 16116 case "(($ac_try" in 16117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16118 *) ac_try_echo=$ac_try;; 16119 esac 16120 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16121 $as_echo "$ac_try_echo") >&5 16122 (eval "$ac_link") 2>&5 16123 ac_status=$? 16124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16125 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16126 { (case "(($ac_try" in 16127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16128 *) ac_try_echo=$ac_try;; 16129 esac 16130 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16131 $as_echo "$ac_try_echo") >&5 16132 (eval "$ac_try") 2>&5 16133 ac_status=$? 16134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16135 (exit $ac_status); }; }; then 16136 ac_cv_sizeof_long_long=`cat conftest.val` 16137 else 16138 $as_echo "$as_me: program exited with status $ac_status" >&5 16139 $as_echo "$as_me: failed program was:" >&5 16140 sed 's/^/| /' conftest.$ac_ext >&5 16141 16142 ( exit $ac_status ) 16143 if test "$ac_cv_type_long_long" = yes; then 16144 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 16145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16146 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 16147 See \`config.log' for more details." >&5 16148 $as_echo "$as_me: error: cannot compute sizeof (long long) 16149 See \`config.log' for more details." >&2;} 16150 { (exit 77); exit 77; }; }; } 9388 as_fn_error 77 "cannot compute sizeof (long long) 9389 See \`config.log' for more details" "$LINENO" 5; } 16151 9390 else 16152 9391 ac_cv_sizeof_long_long=0 16153 9392 fi 16154 9393 fi 16155 rm -rf conftest.dSYM 16156 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16157 fi 16158 rm -f conftest.val 16159 fi 16160 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 9394 9395 fi 9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 16161 9397 $as_echo "$ac_cv_sizeof_long_long" >&6; } 16162 9398 … … 16172 9408 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 16173 9409 # This bug is HP SR number 8606223364. 16174 { $as_echo "$as_me:$ LINENO: checking size of void *" >&59410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 16175 9411 $as_echo_n "checking size of void *... " >&6; } 16176 if test "${ac_cv_sizeof_void_p+set}" = set; then9412 if ${ac_cv_sizeof_void_p+:} false; then : 16177 9413 $as_echo_n "(cached) " >&6 16178 9414 else 16179 if test "$cross_compiling" = yes; then 16180 # Depending upon the size, compute the lo and hi bounds. 16181 cat >conftest.$ac_ext <<_ACEOF 16182 /* confdefs.h. */ 16183 _ACEOF 16184 cat confdefs.h >>conftest.$ac_ext 16185 cat >>conftest.$ac_ext <<_ACEOF 16186 /* end confdefs.h. */ 16187 $ac_includes_default 16188 int 16189 main () 16190 { 16191 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)]; 16192 test_array [0] = 0 16193 16194 ; 16195 return 0; 16196 } 16197 _ACEOF 16198 rm -f conftest.$ac_objext 16199 if { (ac_try="$ac_compile" 16200 case "(($ac_try" in 16201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16202 *) ac_try_echo=$ac_try;; 16203 esac 16204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16205 $as_echo "$ac_try_echo") >&5 16206 (eval "$ac_compile") 2>conftest.er1 16207 ac_status=$? 16208 grep -v '^ *+' conftest.er1 >conftest.err 16209 rm -f conftest.er1 16210 cat conftest.err >&5 16211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16212 (exit $ac_status); } && { 16213 test -z "$ac_cxx_werror_flag" || 16214 test ! -s conftest.err 16215 } && test -s conftest.$ac_objext; then 16216 ac_lo=0 ac_mid=0 16217 while :; do 16218 cat >conftest.$ac_ext <<_ACEOF 16219 /* confdefs.h. */ 16220 _ACEOF 16221 cat confdefs.h >>conftest.$ac_ext 16222 cat >>conftest.$ac_ext <<_ACEOF 16223 /* end confdefs.h. */ 16224 $ac_includes_default 16225 int 16226 main () 16227 { 16228 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 16229 test_array [0] = 0 16230 16231 ; 16232 return 0; 16233 } 16234 _ACEOF 16235 rm -f conftest.$ac_objext 16236 if { (ac_try="$ac_compile" 16237 case "(($ac_try" in 16238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16239 *) ac_try_echo=$ac_try;; 16240 esac 16241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16242 $as_echo "$ac_try_echo") >&5 16243 (eval "$ac_compile") 2>conftest.er1 16244 ac_status=$? 16245 grep -v '^ *+' conftest.er1 >conftest.err 16246 rm -f conftest.er1 16247 cat conftest.err >&5 16248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16249 (exit $ac_status); } && { 16250 test -z "$ac_cxx_werror_flag" || 16251 test ! -s conftest.err 16252 } && test -s conftest.$ac_objext; then 16253 ac_hi=$ac_mid; break 16254 else 16255 $as_echo "$as_me: failed program was:" >&5 16256 sed 's/^/| /' conftest.$ac_ext >&5 16257 16258 ac_lo=`expr $ac_mid + 1` 16259 if test $ac_lo -le $ac_mid; then 16260 ac_lo= ac_hi= 16261 break 16262 fi 16263 ac_mid=`expr 2 '*' $ac_mid + 1` 16264 fi 16265 16266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16267 done 16268 else 16269 $as_echo "$as_me: failed program was:" >&5 16270 sed 's/^/| /' conftest.$ac_ext >&5 16271 16272 cat >conftest.$ac_ext <<_ACEOF 16273 /* confdefs.h. */ 16274 _ACEOF 16275 cat confdefs.h >>conftest.$ac_ext 16276 cat >>conftest.$ac_ext <<_ACEOF 16277 /* end confdefs.h. */ 16278 $ac_includes_default 16279 int 16280 main () 16281 { 16282 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)]; 16283 test_array [0] = 0 16284 16285 ; 16286 return 0; 16287 } 16288 _ACEOF 16289 rm -f conftest.$ac_objext 16290 if { (ac_try="$ac_compile" 16291 case "(($ac_try" in 16292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16293 *) ac_try_echo=$ac_try;; 16294 esac 16295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16296 $as_echo "$ac_try_echo") >&5 16297 (eval "$ac_compile") 2>conftest.er1 16298 ac_status=$? 16299 grep -v '^ *+' conftest.er1 >conftest.err 16300 rm -f conftest.er1 16301 cat conftest.err >&5 16302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16303 (exit $ac_status); } && { 16304 test -z "$ac_cxx_werror_flag" || 16305 test ! -s conftest.err 16306 } && test -s conftest.$ac_objext; then 16307 ac_hi=-1 ac_mid=-1 16308 while :; do 16309 cat >conftest.$ac_ext <<_ACEOF 16310 /* confdefs.h. */ 16311 _ACEOF 16312 cat confdefs.h >>conftest.$ac_ext 16313 cat >>conftest.$ac_ext <<_ACEOF 16314 /* end confdefs.h. */ 16315 $ac_includes_default 16316 int 16317 main () 16318 { 16319 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)]; 16320 test_array [0] = 0 16321 16322 ; 16323 return 0; 16324 } 16325 _ACEOF 16326 rm -f conftest.$ac_objext 16327 if { (ac_try="$ac_compile" 16328 case "(($ac_try" in 16329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16330 *) ac_try_echo=$ac_try;; 16331 esac 16332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16333 $as_echo "$ac_try_echo") >&5 16334 (eval "$ac_compile") 2>conftest.er1 16335 ac_status=$? 16336 grep -v '^ *+' conftest.er1 >conftest.err 16337 rm -f conftest.er1 16338 cat conftest.err >&5 16339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16340 (exit $ac_status); } && { 16341 test -z "$ac_cxx_werror_flag" || 16342 test ! -s conftest.err 16343 } && test -s conftest.$ac_objext; then 16344 ac_lo=$ac_mid; break 16345 else 16346 $as_echo "$as_me: failed program was:" >&5 16347 sed 's/^/| /' conftest.$ac_ext >&5 16348 16349 ac_hi=`expr '(' $ac_mid ')' - 1` 16350 if test $ac_mid -le $ac_hi; then 16351 ac_lo= ac_hi= 16352 break 16353 fi 16354 ac_mid=`expr 2 '*' $ac_mid` 16355 fi 16356 16357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16358 done 16359 else 16360 $as_echo "$as_me: failed program was:" >&5 16361 sed 's/^/| /' conftest.$ac_ext >&5 16362 16363 ac_lo= ac_hi= 16364 fi 16365 16366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16367 fi 16368 16369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16370 # Binary search between lo and hi bounds. 16371 while test "x$ac_lo" != "x$ac_hi"; do 16372 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 16373 cat >conftest.$ac_ext <<_ACEOF 16374 /* confdefs.h. */ 16375 _ACEOF 16376 cat confdefs.h >>conftest.$ac_ext 16377 cat >>conftest.$ac_ext <<_ACEOF 16378 /* end confdefs.h. */ 16379 $ac_includes_default 16380 int 16381 main () 16382 { 16383 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 16384 test_array [0] = 0 16385 16386 ; 16387 return 0; 16388 } 16389 _ACEOF 16390 rm -f conftest.$ac_objext 16391 if { (ac_try="$ac_compile" 16392 case "(($ac_try" in 16393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16394 *) ac_try_echo=$ac_try;; 16395 esac 16396 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16397 $as_echo "$ac_try_echo") >&5 16398 (eval "$ac_compile") 2>conftest.er1 16399 ac_status=$? 16400 grep -v '^ *+' conftest.er1 >conftest.err 16401 rm -f conftest.er1 16402 cat conftest.err >&5 16403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16404 (exit $ac_status); } && { 16405 test -z "$ac_cxx_werror_flag" || 16406 test ! -s conftest.err 16407 } && test -s conftest.$ac_objext; then 16408 ac_hi=$ac_mid 16409 else 16410 $as_echo "$as_me: failed program was:" >&5 16411 sed 's/^/| /' conftest.$ac_ext >&5 16412 16413 ac_lo=`expr '(' $ac_mid ')' + 1` 16414 fi 16415 16416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16417 done 16418 case $ac_lo in 16419 ?*) ac_cv_sizeof_void_p=$ac_lo;; 16420 '') if test "$ac_cv_type_void_p" = yes; then 16421 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9415 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 9416 9417 else 9418 if test "$ac_cv_type_void_p" = yes; then 9419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16422 9420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16423 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 16424 See \`config.log' for more details." >&5 16425 $as_echo "$as_me: error: cannot compute sizeof (void *) 16426 See \`config.log' for more details." >&2;} 16427 { (exit 77); exit 77; }; }; } 16428 else 16429 ac_cv_sizeof_void_p=0 16430 fi ;; 16431 esac 16432 else 16433 cat >conftest.$ac_ext <<_ACEOF 16434 /* confdefs.h. */ 16435 _ACEOF 16436 cat confdefs.h >>conftest.$ac_ext 16437 cat >>conftest.$ac_ext <<_ACEOF 16438 /* end confdefs.h. */ 16439 $ac_includes_default 16440 static long int longval () { return (long int) (sizeof (void *)); } 16441 static unsigned long int ulongval () { return (long int) (sizeof (void *)); } 16442 #include <stdio.h> 16443 #include <stdlib.h> 16444 int 16445 main () 16446 { 16447 16448 FILE *f = fopen ("conftest.val", "w"); 16449 if (! f) 16450 return 1; 16451 if (((long int) (sizeof (void *))) < 0) 16452 { 16453 long int i = longval (); 16454 if (i != ((long int) (sizeof (void *)))) 16455 return 1; 16456 fprintf (f, "%ld", i); 16457 } 16458 else 16459 { 16460 unsigned long int i = ulongval (); 16461 if (i != ((long int) (sizeof (void *)))) 16462 return 1; 16463 fprintf (f, "%lu", i); 16464 } 16465 /* Do not output a trailing newline, as this causes \r\n confusion 16466 on some platforms. */ 16467 return ferror (f) || fclose (f) != 0; 16468 16469 ; 16470 return 0; 16471 } 16472 _ACEOF 16473 rm -f conftest$ac_exeext 16474 if { (ac_try="$ac_link" 16475 case "(($ac_try" in 16476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16477 *) ac_try_echo=$ac_try;; 16478 esac 16479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16480 $as_echo "$ac_try_echo") >&5 16481 (eval "$ac_link") 2>&5 16482 ac_status=$? 16483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16484 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16485 { (case "(($ac_try" in 16486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16487 *) ac_try_echo=$ac_try;; 16488 esac 16489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16490 $as_echo "$ac_try_echo") >&5 16491 (eval "$ac_try") 2>&5 16492 ac_status=$? 16493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16494 (exit $ac_status); }; }; then 16495 ac_cv_sizeof_void_p=`cat conftest.val` 16496 else 16497 $as_echo "$as_me: program exited with status $ac_status" >&5 16498 $as_echo "$as_me: failed program was:" >&5 16499 sed 's/^/| /' conftest.$ac_ext >&5 16500 16501 ( exit $ac_status ) 16502 if test "$ac_cv_type_void_p" = yes; then 16503 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 16504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16505 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 16506 See \`config.log' for more details." >&5 16507 $as_echo "$as_me: error: cannot compute sizeof (void *) 16508 See \`config.log' for more details." >&2;} 16509 { (exit 77); exit 77; }; }; } 9421 as_fn_error 77 "cannot compute sizeof (void *) 9422 See \`config.log' for more details" "$LINENO" 5; } 16510 9423 else 16511 9424 ac_cv_sizeof_void_p=0 16512 9425 fi 16513 9426 fi 16514 rm -rf conftest.dSYM 16515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16516 fi 16517 rm -f conftest.val 16518 fi 16519 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 9427 9428 fi 9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 16520 9430 $as_echo "$ac_cv_sizeof_void_p" >&6; } 16521 9431 … … 16540 9450 16541 9451 16542 { $as_echo "$as_me:$ LINENO: checking for build with symbols" >&59452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5 16543 9453 $as_echo_n "checking for build with symbols... " >&6; } 16544 9454 # Check whether --enable-symbols was given. 16545 if test "${enable_symbols+set}" = set; then 9455 if test "${enable_symbols+set}" = set; then : 16546 9456 enableval=$enable_symbols; tcl_ok=$enableval 16547 9457 else … … 16554 9464 LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)' 16555 9465 DBGX="" 16556 { $as_echo "$as_me:$ LINENO: result: no" >&59466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16557 9467 $as_echo "no" >&6; } 16558 9468 else … … 16561 9471 DBGX=g 16562 9472 if test "$tcl_ok" = "yes"; then 16563 { $as_echo "$as_me:$ LINENO: result: yes (standard debugging)" >&59473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5 16564 9474 $as_echo "yes (standard debugging)" >&6; } 16565 9475 fi … … 16569 9479 16570 9480 if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then 16571 cat >>confdefs.h <<\_ACEOF 16572 #define TCL_MEM_DEBUG 1 16573 _ACEOF 9481 $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h 16574 9482 16575 9483 fi 16576 9484 16577 9485 if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then 16578 cat >>confdefs.h <<\_ACEOF 16579 #define TCL_COMPILE_DEBUG 1 16580 _ACEOF 16581 16582 cat >>confdefs.h <<\_ACEOF 16583 #define TCL_COMPILE_STATS 1 16584 _ACEOF 9486 $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h 9487 9488 $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h 16585 9489 16586 9490 fi … … 16588 9492 if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then 16589 9493 if test "$tcl_ok" = "all"; then 16590 { $as_echo "$as_me:$ LINENO: result: enabled symbols mem compile debugging" >&59494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem compile debugging" >&5 16591 9495 $as_echo "enabled symbols mem compile debugging" >&6; } 16592 9496 else 16593 { $as_echo "$as_me:$ LINENO: result: enabled $tcl_ok debugging" >&59497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5 16594 9498 $as_echo "enabled $tcl_ok debugging" >&6; } 16595 9499 fi … … 16601 9505 # search for ffmpeg libraries libavcodec, libavformat, libswscale 16602 9506 #-------------------------------------------------------------------- 16603 16604 16605 16606 16607 16608 16609 16610 9507 if test "${with_ffmpeg}" != "no" ; then 9508 if test "${with_tclsh}" = "yes" ; then 9509 # Extract the first word of "ffmpeg", so it can be a program name with args. 9510 set dummy ffmpeg; ac_word=$2 9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9512 $as_echo_n "checking for $ac_word... " >&6; } 9513 if ${ac_cv_path_FFMPEG+:} false; then : 9514 $as_echo_n "(cached) " >&6 9515 else 9516 case $FFMPEG in 9517 [\\/]* | ?:[\\/]*) 9518 ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path. 9519 ;; 9520 *) 9521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9522 for as_dir in $PATH 9523 do 9524 IFS=$as_save_IFS 9525 test -z "$as_dir" && as_dir=. 9526 for ac_exec_ext in '' $ac_executable_extensions; do 9527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9528 ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext" 9529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9530 break 2 9531 fi 9532 done 9533 done 9534 IFS=$as_save_IFS 9535 9536 ;; 9537 esac 9538 fi 9539 FFMPEG=$ac_cv_path_FFMPEG 9540 if test -n "$FFMPEG"; then 9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5 9542 $as_echo "$FFMPEG" >&6; } 9543 else 9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9545 $as_echo "no" >&6; } 9546 fi 9547 9548 9549 else 9550 # Extract the first word of "ffmpeg", so it can be a program name with args. 9551 set dummy ffmpeg; ac_word=$2 9552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9553 $as_echo_n "checking for $ac_word... " >&6; } 9554 if ${ac_cv_path_FFMPEG+:} false; then : 9555 $as_echo_n "(cached) " >&6 9556 else 9557 case $FFMPEG in 9558 [\\/]* | ?:[\\/]*) 9559 ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path. 9560 ;; 9561 *) 9562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9563 as_dummy="${with_ffmpeg}/bin:${with_ffmpeg}" 9564 for as_dir in $as_dummy 9565 do 9566 IFS=$as_save_IFS 9567 test -z "$as_dir" && as_dir=. 9568 for ac_exec_ext in '' $ac_executable_extensions; do 9569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9570 ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext" 9571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9572 break 2 9573 fi 9574 done 9575 done 9576 IFS=$as_save_IFS 9577 9578 ;; 9579 esac 9580 fi 9581 FFMPEG=$ac_cv_path_FFMPEG 9582 if test -n "$FFMPEG"; then 9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5 9584 $as_echo "$FFMPEG" >&6; } 9585 else 9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9587 $as_echo "no" >&6; } 9588 fi 9589 9590 9591 fi 9592 if text "${FFMPEG}x" != "x" ; then 9593 9594 $as_echo "#define HAVE_FFMPEG 1" >>confdefs.h 9595 9596 fi 9597 fi 16611 9598 16612 9599 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 16613 do 16614 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16615 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16616 $as_echo_n "checking for $ac_header... " >&6; } 16617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16618 $as_echo_n "(cached) " >&6 16619 else 16620 cat >conftest.$ac_ext <<_ACEOF 16621 /* confdefs.h. */ 16622 _ACEOF 16623 cat confdefs.h >>conftest.$ac_ext 16624 cat >>conftest.$ac_ext <<_ACEOF 16625 /* end confdefs.h. */ 16626 9600 do : 9601 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9602 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " 16627 9603 #define __STDC_CONSTANT_MACROS 1 16628 9604 16629 16630 #include <$ac_header> 16631 _ACEOF 16632 rm -f conftest.$ac_objext 16633 if { (ac_try="$ac_compile" 16634 case "(($ac_try" in 16635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16636 *) ac_try_echo=$ac_try;; 16637 esac 16638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16639 $as_echo "$ac_try_echo") >&5 16640 (eval "$ac_compile") 2>conftest.er1 16641 ac_status=$? 16642 grep -v '^ *+' conftest.er1 >conftest.err 16643 rm -f conftest.er1 16644 cat conftest.err >&5 16645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16646 (exit $ac_status); } && { 16647 test -z "$ac_cxx_werror_flag" || 16648 test ! -s conftest.err 16649 } && test -s conftest.$ac_objext; then 16650 eval "$as_ac_Header=yes" 16651 else 16652 $as_echo "$as_me: failed program was:" >&5 16653 sed 's/^/| /' conftest.$ac_ext >&5 16654 16655 eval "$as_ac_Header=no" 16656 fi 16657 16658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16659 fi 16660 ac_res=`eval 'as_val=${'$as_ac_Header'} 16661 $as_echo "$as_val"'` 16662 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16663 $as_echo "$ac_res" >&6; } 16664 as_val=`eval 'as_val=${'$as_ac_Header'} 16665 $as_echo "$as_val"'` 16666 if test "x$as_val" = x""yes; then 9605 " 9606 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 16667 9607 cat >>confdefs.h <<_ACEOF 16668 9608 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 16686 9626 HAVE_FFMPEG_LIBS="yes" 16687 9627 16688 cat >>confdefs.h <<\_ACEOF 16689 #define BUILD_with_ffmpeg 1 16690 _ACEOF 9628 $as_echo "#define BUILD_with_ffmpeg 1" >>confdefs.h 16691 9629 16692 9630 fi 16693 16694 { $as_echo "$as_me:$LINENO: checking for main in -lavcodec" >&5 9631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavcodec" >&5 16695 9632 $as_echo_n "checking for main in -lavcodec... " >&6; } 16696 if test "${ac_cv_lib_avcodec_main+set}" = set; then9633 if ${ac_cv_lib_avcodec_main+:} false; then : 16697 9634 $as_echo_n "(cached) " >&6 16698 9635 else 16699 9636 ac_check_lib_save_LIBS=$LIBS 16700 9637 LIBS="-lavcodec $LIBS" 16701 cat >conftest.$ac_ext <<_ACEOF 16702 /* confdefs.h. */ 16703 _ACEOF 16704 cat confdefs.h >>conftest.$ac_ext 16705 cat >>conftest.$ac_ext <<_ACEOF 9638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16706 9639 /* end confdefs.h. */ 16707 9640 … … 16715 9648 } 16716 9649 _ACEOF 16717 rm -f conftest.$ac_objext conftest$ac_exeext 16718 if { (ac_try="$ac_link" 16719 case "(($ac_try" in 16720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16721 *) ac_try_echo=$ac_try;; 16722 esac 16723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16724 $as_echo "$ac_try_echo") >&5 16725 (eval "$ac_link") 2>conftest.er1 16726 ac_status=$? 16727 grep -v '^ *+' conftest.er1 >conftest.err 16728 rm -f conftest.er1 16729 cat conftest.err >&5 16730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16731 (exit $ac_status); } && { 16732 test -z "$ac_cxx_werror_flag" || 16733 test ! -s conftest.err 16734 } && test -s conftest$ac_exeext && { 16735 test "$cross_compiling" = yes || 16736 $as_test_x conftest$ac_exeext 16737 }; then 9650 if ac_fn_cxx_try_link "$LINENO"; then : 16738 9651 ac_cv_lib_avcodec_main=yes 16739 9652 else 16740 $as_echo "$as_me: failed program was:" >&5 16741 sed 's/^/| /' conftest.$ac_ext >&5 16742 16743 ac_cv_lib_avcodec_main=no 16744 fi 16745 16746 rm -rf conftest.dSYM 16747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16748 conftest$ac_exeext conftest.$ac_ext 9653 ac_cv_lib_avcodec_main=no 9654 fi 9655 rm -f core conftest.err conftest.$ac_objext \ 9656 conftest$ac_exeext conftest.$ac_ext 16749 9657 LIBS=$ac_check_lib_save_LIBS 16750 9658 fi 16751 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_avcodec_main" >&59659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_main" >&5 16752 9660 $as_echo "$ac_cv_lib_avcodec_main" >&6; } 16753 if test "x$ac_cv_lib_avcodec_main" = x ""yes; then9661 if test "x$ac_cv_lib_avcodec_main" = xyes; then : 16754 9662 cat >>confdefs.h <<_ACEOF 16755 9663 #define HAVE_LIBAVCODEC 1 … … 16759 9667 16760 9668 else 16761 { { $as_echo "$as_me:$LINENO: error: librappture requires libavcodec" >&5 16762 $as_echo "$as_me: error: librappture requires libavcodec" >&2;} 16763 { (exit 1); exit 1; }; } 16764 fi 16765 16766 16767 { $as_echo "$as_me:$LINENO: checking for main in -lavutil" >&5 9669 as_fn_error $? "librappture requires libavcodec" "$LINENO" 5 9670 fi 9671 9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavutil" >&5 16768 9673 $as_echo_n "checking for main in -lavutil... " >&6; } 16769 if test "${ac_cv_lib_avutil_main+set}" = set; then9674 if ${ac_cv_lib_avutil_main+:} false; then : 16770 9675 $as_echo_n "(cached) " >&6 16771 9676 else 16772 9677 ac_check_lib_save_LIBS=$LIBS 16773 9678 LIBS="-lavutil $LIBS" 16774 cat >conftest.$ac_ext <<_ACEOF 16775 /* confdefs.h. */ 16776 _ACEOF 16777 cat confdefs.h >>conftest.$ac_ext 16778 cat >>conftest.$ac_ext <<_ACEOF 9679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16779 9680 /* end confdefs.h. */ 16780 9681 … … 16788 9689 } 16789 9690 _ACEOF 16790 rm -f conftest.$ac_objext conftest$ac_exeext 16791 if { (ac_try="$ac_link" 16792 case "(($ac_try" in 16793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16794 *) ac_try_echo=$ac_try;; 16795 esac 16796 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16797 $as_echo "$ac_try_echo") >&5 16798 (eval "$ac_link") 2>conftest.er1 16799 ac_status=$? 16800 grep -v '^ *+' conftest.er1 >conftest.err 16801 rm -f conftest.er1 16802 cat conftest.err >&5 16803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16804 (exit $ac_status); } && { 16805 test -z "$ac_cxx_werror_flag" || 16806 test ! -s conftest.err 16807 } && test -s conftest$ac_exeext && { 16808 test "$cross_compiling" = yes || 16809 $as_test_x conftest$ac_exeext 16810 }; then 9691 if ac_fn_cxx_try_link "$LINENO"; then : 16811 9692 ac_cv_lib_avutil_main=yes 16812 9693 else 16813 $as_echo "$as_me: failed program was:" >&5 16814 sed 's/^/| /' conftest.$ac_ext >&5 16815 16816 ac_cv_lib_avutil_main=no 16817 fi 16818 16819 rm -rf conftest.dSYM 16820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16821 conftest$ac_exeext conftest.$ac_ext 9694 ac_cv_lib_avutil_main=no 9695 fi 9696 rm -f core conftest.err conftest.$ac_objext \ 9697 conftest$ac_exeext conftest.$ac_ext 16822 9698 LIBS=$ac_check_lib_save_LIBS 16823 9699 fi 16824 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_avutil_main" >&59700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_main" >&5 16825 9701 $as_echo "$ac_cv_lib_avutil_main" >&6; } 16826 if test "x$ac_cv_lib_avutil_main" = x ""yes; then9702 if test "x$ac_cv_lib_avutil_main" = xyes; then : 16827 9703 cat >>confdefs.h <<_ACEOF 16828 9704 #define HAVE_LIBAVUTIL 1 … … 16832 9708 16833 9709 else 16834 { { $as_echo "$as_me:$LINENO: error: librappture requires libavutil" >&5 16835 $as_echo "$as_me: error: librappture requires libavutil" >&2;} 16836 { (exit 1); exit 1; }; } 16837 fi 16838 16839 16840 { $as_echo "$as_me:$LINENO: checking for main in -lavformat" >&5 9710 as_fn_error $? "librappture requires libavutil" "$LINENO" 5 9711 fi 9712 9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavformat" >&5 16841 9714 $as_echo_n "checking for main in -lavformat... " >&6; } 16842 if test "${ac_cv_lib_avformat_main+set}" = set; then9715 if ${ac_cv_lib_avformat_main+:} false; then : 16843 9716 $as_echo_n "(cached) " >&6 16844 9717 else 16845 9718 ac_check_lib_save_LIBS=$LIBS 16846 9719 LIBS="-lavformat $LIBS" 16847 cat >conftest.$ac_ext <<_ACEOF 16848 /* confdefs.h. */ 16849 _ACEOF 16850 cat confdefs.h >>conftest.$ac_ext 16851 cat >>conftest.$ac_ext <<_ACEOF 9720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16852 9721 /* end confdefs.h. */ 16853 9722 … … 16861 9730 } 16862 9731 _ACEOF 16863 rm -f conftest.$ac_objext conftest$ac_exeext 16864 if { (ac_try="$ac_link" 16865 case "(($ac_try" in 16866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16867 *) ac_try_echo=$ac_try;; 16868 esac 16869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16870 $as_echo "$ac_try_echo") >&5 16871 (eval "$ac_link") 2>conftest.er1 16872 ac_status=$? 16873 grep -v '^ *+' conftest.er1 >conftest.err 16874 rm -f conftest.er1 16875 cat conftest.err >&5 16876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16877 (exit $ac_status); } && { 16878 test -z "$ac_cxx_werror_flag" || 16879 test ! -s conftest.err 16880 } && test -s conftest$ac_exeext && { 16881 test "$cross_compiling" = yes || 16882 $as_test_x conftest$ac_exeext 16883 }; then 9732 if ac_fn_cxx_try_link "$LINENO"; then : 16884 9733 ac_cv_lib_avformat_main=yes 16885 9734 else 16886 $as_echo "$as_me: failed program was:" >&5 16887 sed 's/^/| /' conftest.$ac_ext >&5 16888 16889 ac_cv_lib_avformat_main=no 16890 fi 16891 16892 rm -rf conftest.dSYM 16893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16894 conftest$ac_exeext conftest.$ac_ext 9735 ac_cv_lib_avformat_main=no 9736 fi 9737 rm -f core conftest.err conftest.$ac_objext \ 9738 conftest$ac_exeext conftest.$ac_ext 16895 9739 LIBS=$ac_check_lib_save_LIBS 16896 9740 fi 16897 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_avformat_main" >&59741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_main" >&5 16898 9742 $as_echo "$ac_cv_lib_avformat_main" >&6; } 16899 if test "x$ac_cv_lib_avformat_main" = x ""yes; then9743 if test "x$ac_cv_lib_avformat_main" = xyes; then : 16900 9744 cat >>confdefs.h <<_ACEOF 16901 9745 #define HAVE_LIBAVFORMAT 1 … … 16905 9749 16906 9750 else 16907 { { $as_echo "$as_me:$LINENO: error: librappture requires libavformat" >&5 16908 $as_echo "$as_me: error: librappture requires libavformat" >&2;} 16909 { (exit 1); exit 1; }; } 16910 fi 16911 16912 16913 { $as_echo "$as_me:$LINENO: checking for main in -lswscale" >&5 9751 as_fn_error $? "librappture requires libavformat" "$LINENO" 5 9752 fi 9753 9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lswscale" >&5 16914 9755 $as_echo_n "checking for main in -lswscale... " >&6; } 16915 if test "${ac_cv_lib_swscale_main+set}" = set; then9756 if ${ac_cv_lib_swscale_main+:} false; then : 16916 9757 $as_echo_n "(cached) " >&6 16917 9758 else 16918 9759 ac_check_lib_save_LIBS=$LIBS 16919 9760 LIBS="-lswscale $LIBS" 16920 cat >conftest.$ac_ext <<_ACEOF 16921 /* confdefs.h. */ 16922 _ACEOF 16923 cat confdefs.h >>conftest.$ac_ext 16924 cat >>conftest.$ac_ext <<_ACEOF 9761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16925 9762 /* end confdefs.h. */ 16926 9763 … … 16934 9771 } 16935 9772 _ACEOF 16936 rm -f conftest.$ac_objext conftest$ac_exeext 16937 if { (ac_try="$ac_link" 16938 case "(($ac_try" in 16939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16940 *) ac_try_echo=$ac_try;; 16941 esac 16942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16943 $as_echo "$ac_try_echo") >&5 16944 (eval "$ac_link") 2>conftest.er1 16945 ac_status=$? 16946 grep -v '^ *+' conftest.er1 >conftest.err 16947 rm -f conftest.er1 16948 cat conftest.err >&5 16949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16950 (exit $ac_status); } && { 16951 test -z "$ac_cxx_werror_flag" || 16952 test ! -s conftest.err 16953 } && test -s conftest$ac_exeext && { 16954 test "$cross_compiling" = yes || 16955 $as_test_x conftest$ac_exeext 16956 }; then 9773 if ac_fn_cxx_try_link "$LINENO"; then : 16957 9774 ac_cv_lib_swscale_main=yes 16958 9775 else 16959 $as_echo "$as_me: failed program was:" >&5 16960 sed 's/^/| /' conftest.$ac_ext >&5 16961 16962 ac_cv_lib_swscale_main=no 16963 fi 16964 16965 rm -rf conftest.dSYM 16966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16967 conftest$ac_exeext conftest.$ac_ext 9776 ac_cv_lib_swscale_main=no 9777 fi 9778 rm -f core conftest.err conftest.$ac_objext \ 9779 conftest$ac_exeext conftest.$ac_ext 16968 9780 LIBS=$ac_check_lib_save_LIBS 16969 9781 fi 16970 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_swscale_main" >&59782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_main" >&5 16971 9783 $as_echo "$ac_cv_lib_swscale_main" >&6; } 16972 if test "x$ac_cv_lib_swscale_main" = x ""yes; then9784 if test "x$ac_cv_lib_swscale_main" = xyes; then : 16973 9785 cat >>confdefs.h <<_ACEOF 16974 9786 #define HAVE_LIBSWSCALE 1 … … 16979 9791 fi 16980 9792 16981 16982 for ac_func in av_find_stream_info 16983 do 16984 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16985 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 16986 $as_echo_n "checking for $ac_func... " >&6; } 16987 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16988 $as_echo_n "(cached) " >&6 16989 else 16990 cat >conftest.$ac_ext <<_ACEOF 16991 /* confdefs.h. */ 16992 _ACEOF 16993 cat confdefs.h >>conftest.$ac_ext 16994 cat >>conftest.$ac_ext <<_ACEOF 16995 /* end confdefs.h. */ 16996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16997 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16998 #define $ac_func innocuous_$ac_func 16999 17000 /* System header to define __stub macros and hopefully few prototypes, 17001 which can conflict with char $ac_func (); below. 17002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17003 <limits.h> exists even on freestanding compilers. */ 17004 17005 #ifdef __STDC__ 17006 # include <limits.h> 17007 #else 17008 # include <assert.h> 17009 #endif 17010 17011 #undef $ac_func 17012 17013 /* Override any GCC internal prototype to avoid an error. 17014 Use char because int might match the return type of a GCC 17015 builtin and then its argument prototype would still apply. */ 17016 #ifdef __cplusplus 17017 extern "C" 17018 #endif 17019 char $ac_func (); 17020 /* The GNU C library defines this for functions which it implements 17021 to always fail with ENOSYS. Some functions are actually named 17022 something starting with __ and the normal name is an alias. */ 17023 #if defined __stub_$ac_func || defined __stub___$ac_func 17024 choke me 17025 #endif 17026 17027 int 17028 main () 17029 { 17030 return $ac_func (); 17031 ; 17032 return 0; 17033 } 17034 _ACEOF 17035 rm -f conftest.$ac_objext conftest$ac_exeext 17036 if { (ac_try="$ac_link" 17037 case "(($ac_try" in 17038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17039 *) ac_try_echo=$ac_try;; 17040 esac 17041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17042 $as_echo "$ac_try_echo") >&5 17043 (eval "$ac_link") 2>conftest.er1 17044 ac_status=$? 17045 grep -v '^ *+' conftest.er1 >conftest.err 17046 rm -f conftest.er1 17047 cat conftest.err >&5 17048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17049 (exit $ac_status); } && { 17050 test -z "$ac_cxx_werror_flag" || 17051 test ! -s conftest.err 17052 } && test -s conftest$ac_exeext && { 17053 test "$cross_compiling" = yes || 17054 $as_test_x conftest$ac_exeext 17055 }; then 17056 eval "$as_ac_var=yes" 17057 else 17058 $as_echo "$as_me: failed program was:" >&5 17059 sed 's/^/| /' conftest.$ac_ext >&5 17060 17061 eval "$as_ac_var=no" 17062 fi 17063 17064 rm -rf conftest.dSYM 17065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17066 conftest$ac_exeext conftest.$ac_ext 17067 fi 17068 ac_res=`eval 'as_val=${'$as_ac_var'} 17069 $as_echo "$as_val"'` 17070 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17071 $as_echo "$ac_res" >&6; } 17072 as_val=`eval 'as_val=${'$as_ac_var'} 17073 $as_echo "$as_val"'` 17074 if test "x$as_val" = x""yes; then 9793 for ac_func in av_find_stream_info 9794 do : 9795 ac_fn_cxx_check_func "$LINENO" "av_find_stream_info" "ac_cv_func_av_find_stream_info" 9796 if test "x$ac_cv_func_av_find_stream_info" = xyes; then : 17075 9797 cat >>confdefs.h <<_ACEOF 17076 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17077 _ACEOF 17078 17079 fi 17080 done 17081 17082 17083 for ac_func in av_open_input_file 17084 do 17085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17086 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17087 $as_echo_n "checking for $ac_func... " >&6; } 17088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17089 $as_echo_n "(cached) " >&6 17090 else 17091 cat >conftest.$ac_ext <<_ACEOF 17092 /* confdefs.h. */ 17093 _ACEOF 17094 cat confdefs.h >>conftest.$ac_ext 17095 cat >>conftest.$ac_ext <<_ACEOF 17096 /* end confdefs.h. */ 17097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17098 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17099 #define $ac_func innocuous_$ac_func 17100 17101 /* System header to define __stub macros and hopefully few prototypes, 17102 which can conflict with char $ac_func (); below. 17103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17104 <limits.h> exists even on freestanding compilers. */ 17105 17106 #ifdef __STDC__ 17107 # include <limits.h> 17108 #else 17109 # include <assert.h> 17110 #endif 17111 17112 #undef $ac_func 17113 17114 /* Override any GCC internal prototype to avoid an error. 17115 Use char because int might match the return type of a GCC 17116 builtin and then its argument prototype would still apply. */ 17117 #ifdef __cplusplus 17118 extern "C" 17119 #endif 17120 char $ac_func (); 17121 /* The GNU C library defines this for functions which it implements 17122 to always fail with ENOSYS. Some functions are actually named 17123 something starting with __ and the normal name is an alias. */ 17124 #if defined __stub_$ac_func || defined __stub___$ac_func 17125 choke me 17126 #endif 17127 17128 int 17129 main () 17130 { 17131 return $ac_func (); 17132 ; 17133 return 0; 17134 } 17135 _ACEOF 17136 rm -f conftest.$ac_objext conftest$ac_exeext 17137 if { (ac_try="$ac_link" 17138 case "(($ac_try" in 17139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17140 *) ac_try_echo=$ac_try;; 17141 esac 17142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17143 $as_echo "$ac_try_echo") >&5 17144 (eval "$ac_link") 2>conftest.er1 17145 ac_status=$? 17146 grep -v '^ *+' conftest.er1 >conftest.err 17147 rm -f conftest.er1 17148 cat conftest.err >&5 17149 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17150 (exit $ac_status); } && { 17151 test -z "$ac_cxx_werror_flag" || 17152 test ! -s conftest.err 17153 } && test -s conftest$ac_exeext && { 17154 test "$cross_compiling" = yes || 17155 $as_test_x conftest$ac_exeext 17156 }; then 17157 eval "$as_ac_var=yes" 17158 else 17159 $as_echo "$as_me: failed program was:" >&5 17160 sed 's/^/| /' conftest.$ac_ext >&5 17161 17162 eval "$as_ac_var=no" 17163 fi 17164 17165 rm -rf conftest.dSYM 17166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17167 conftest$ac_exeext conftest.$ac_ext 17168 fi 17169 ac_res=`eval 'as_val=${'$as_ac_var'} 17170 $as_echo "$as_val"'` 17171 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17172 $as_echo "$ac_res" >&6; } 17173 as_val=`eval 'as_val=${'$as_ac_var'} 17174 $as_echo "$as_val"'` 17175 if test "x$as_val" = x""yes; then 9798 #define HAVE_AV_FIND_STREAM_INFO 1 9799 _ACEOF 9800 9801 fi 9802 done 9803 9804 for ac_func in av_open_input_file 9805 do : 9806 ac_fn_cxx_check_func "$LINENO" "av_open_input_file" "ac_cv_func_av_open_input_file" 9807 if test "x$ac_cv_func_av_open_input_file" = xyes; then : 17176 9808 cat >>confdefs.h <<_ACEOF 17177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17178 _ACEOF 17179 17180 fi 17181 done 17182 17183 17184 for ac_func in avcodec_decode_video 17185 do 17186 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17187 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17188 $as_echo_n "checking for $ac_func... " >&6; } 17189 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17190 $as_echo_n "(cached) " >&6 17191 else 17192 cat >conftest.$ac_ext <<_ACEOF 17193 /* confdefs.h. */ 17194 _ACEOF 17195 cat confdefs.h >>conftest.$ac_ext 17196 cat >>conftest.$ac_ext <<_ACEOF 17197 /* end confdefs.h. */ 17198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17199 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17200 #define $ac_func innocuous_$ac_func 17201 17202 /* System header to define __stub macros and hopefully few prototypes, 17203 which can conflict with char $ac_func (); below. 17204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17205 <limits.h> exists even on freestanding compilers. */ 17206 17207 #ifdef __STDC__ 17208 # include <limits.h> 17209 #else 17210 # include <assert.h> 17211 #endif 17212 17213 #undef $ac_func 17214 17215 /* Override any GCC internal prototype to avoid an error. 17216 Use char because int might match the return type of a GCC 17217 builtin and then its argument prototype would still apply. */ 17218 #ifdef __cplusplus 17219 extern "C" 17220 #endif 17221 char $ac_func (); 17222 /* The GNU C library defines this for functions which it implements 17223 to always fail with ENOSYS. Some functions are actually named 17224 something starting with __ and the normal name is an alias. */ 17225 #if defined __stub_$ac_func || defined __stub___$ac_func 17226 choke me 17227 #endif 17228 17229 int 17230 main () 17231 { 17232 return $ac_func (); 17233 ; 17234 return 0; 17235 } 17236 _ACEOF 17237 rm -f conftest.$ac_objext conftest$ac_exeext 17238 if { (ac_try="$ac_link" 17239 case "(($ac_try" in 17240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17241 *) ac_try_echo=$ac_try;; 17242 esac 17243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17244 $as_echo "$ac_try_echo") >&5 17245 (eval "$ac_link") 2>conftest.er1 17246 ac_status=$? 17247 grep -v '^ *+' conftest.er1 >conftest.err 17248 rm -f conftest.er1 17249 cat conftest.err >&5 17250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17251 (exit $ac_status); } && { 17252 test -z "$ac_cxx_werror_flag" || 17253 test ! -s conftest.err 17254 } && test -s conftest$ac_exeext && { 17255 test "$cross_compiling" = yes || 17256 $as_test_x conftest$ac_exeext 17257 }; then 17258 eval "$as_ac_var=yes" 17259 else 17260 $as_echo "$as_me: failed program was:" >&5 17261 sed 's/^/| /' conftest.$ac_ext >&5 17262 17263 eval "$as_ac_var=no" 17264 fi 17265 17266 rm -rf conftest.dSYM 17267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17268 conftest$ac_exeext conftest.$ac_ext 17269 fi 17270 ac_res=`eval 'as_val=${'$as_ac_var'} 17271 $as_echo "$as_val"'` 17272 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17273 $as_echo "$ac_res" >&6; } 17274 as_val=`eval 'as_val=${'$as_ac_var'} 17275 $as_echo "$as_val"'` 17276 if test "x$as_val" = x""yes; then 9809 #define HAVE_AV_OPEN_INPUT_FILE 1 9810 _ACEOF 9811 9812 fi 9813 done 9814 9815 for ac_func in avcodec_decode_video 9816 do : 9817 ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video" "ac_cv_func_avcodec_decode_video" 9818 if test "x$ac_cv_func_avcodec_decode_video" = xyes; then : 17277 9819 cat >>confdefs.h <<_ACEOF 17278 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17279 _ACEOF 17280 17281 fi 17282 done 17283 17284 17285 for ac_func in avcodec_decode_video2 17286 do 17287 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17288 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17289 $as_echo_n "checking for $ac_func... " >&6; } 17290 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17291 $as_echo_n "(cached) " >&6 17292 else 17293 cat >conftest.$ac_ext <<_ACEOF 17294 /* confdefs.h. */ 17295 _ACEOF 17296 cat confdefs.h >>conftest.$ac_ext 17297 cat >>conftest.$ac_ext <<_ACEOF 17298 /* end confdefs.h. */ 17299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17300 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17301 #define $ac_func innocuous_$ac_func 17302 17303 /* System header to define __stub macros and hopefully few prototypes, 17304 which can conflict with char $ac_func (); below. 17305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17306 <limits.h> exists even on freestanding compilers. */ 17307 17308 #ifdef __STDC__ 17309 # include <limits.h> 17310 #else 17311 # include <assert.h> 17312 #endif 17313 17314 #undef $ac_func 17315 17316 /* Override any GCC internal prototype to avoid an error. 17317 Use char because int might match the return type of a GCC 17318 builtin and then its argument prototype would still apply. */ 17319 #ifdef __cplusplus 17320 extern "C" 17321 #endif 17322 char $ac_func (); 17323 /* The GNU C library defines this for functions which it implements 17324 to always fail with ENOSYS. Some functions are actually named 17325 something starting with __ and the normal name is an alias. */ 17326 #if defined __stub_$ac_func || defined __stub___$ac_func 17327 choke me 17328 #endif 17329 17330 int 17331 main () 17332 { 17333 return $ac_func (); 17334 ; 17335 return 0; 17336 } 17337 _ACEOF 17338 rm -f conftest.$ac_objext conftest$ac_exeext 17339 if { (ac_try="$ac_link" 17340 case "(($ac_try" in 17341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17342 *) ac_try_echo=$ac_try;; 17343 esac 17344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17345 $as_echo "$ac_try_echo") >&5 17346 (eval "$ac_link") 2>conftest.er1 17347 ac_status=$? 17348 grep -v '^ *+' conftest.er1 >conftest.err 17349 rm -f conftest.er1 17350 cat conftest.err >&5 17351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17352 (exit $ac_status); } && { 17353 test -z "$ac_cxx_werror_flag" || 17354 test ! -s conftest.err 17355 } && test -s conftest$ac_exeext && { 17356 test "$cross_compiling" = yes || 17357 $as_test_x conftest$ac_exeext 17358 }; then 17359 eval "$as_ac_var=yes" 17360 else 17361 $as_echo "$as_me: failed program was:" >&5 17362 sed 's/^/| /' conftest.$ac_ext >&5 17363 17364 eval "$as_ac_var=no" 17365 fi 17366 17367 rm -rf conftest.dSYM 17368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17369 conftest$ac_exeext conftest.$ac_ext 17370 fi 17371 ac_res=`eval 'as_val=${'$as_ac_var'} 17372 $as_echo "$as_val"'` 17373 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17374 $as_echo "$ac_res" >&6; } 17375 as_val=`eval 'as_val=${'$as_ac_var'} 17376 $as_echo "$as_val"'` 17377 if test "x$as_val" = x""yes; then 9820 #define HAVE_AVCODEC_DECODE_VIDEO 1 9821 _ACEOF 9822 9823 fi 9824 done 9825 9826 for ac_func in avcodec_decode_video2 9827 do : 9828 ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video2" "ac_cv_func_avcodec_decode_video2" 9829 if test "x$ac_cv_func_avcodec_decode_video2" = xyes; then : 17378 9830 cat >>confdefs.h <<_ACEOF 17379 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17380 _ACEOF 17381 17382 fi 17383 done 17384 17385 17386 for ac_func in avcodec_open 17387 do 17388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17389 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17390 $as_echo_n "checking for $ac_func... " >&6; } 17391 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17392 $as_echo_n "(cached) " >&6 17393 else 17394 cat >conftest.$ac_ext <<_ACEOF 17395 /* confdefs.h. */ 17396 _ACEOF 17397 cat confdefs.h >>conftest.$ac_ext 17398 cat >>conftest.$ac_ext <<_ACEOF 17399 /* end confdefs.h. */ 17400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17401 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17402 #define $ac_func innocuous_$ac_func 17403 17404 /* System header to define __stub macros and hopefully few prototypes, 17405 which can conflict with char $ac_func (); below. 17406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17407 <limits.h> exists even on freestanding compilers. */ 17408 17409 #ifdef __STDC__ 17410 # include <limits.h> 17411 #else 17412 # include <assert.h> 17413 #endif 17414 17415 #undef $ac_func 17416 17417 /* Override any GCC internal prototype to avoid an error. 17418 Use char because int might match the return type of a GCC 17419 builtin and then its argument prototype would still apply. */ 17420 #ifdef __cplusplus 17421 extern "C" 17422 #endif 17423 char $ac_func (); 17424 /* The GNU C library defines this for functions which it implements 17425 to always fail with ENOSYS. Some functions are actually named 17426 something starting with __ and the normal name is an alias. */ 17427 #if defined __stub_$ac_func || defined __stub___$ac_func 17428 choke me 17429 #endif 17430 17431 int 17432 main () 17433 { 17434 return $ac_func (); 17435 ; 17436 return 0; 17437 } 17438 _ACEOF 17439 rm -f conftest.$ac_objext conftest$ac_exeext 17440 if { (ac_try="$ac_link" 17441 case "(($ac_try" in 17442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17443 *) ac_try_echo=$ac_try;; 17444 esac 17445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17446 $as_echo "$ac_try_echo") >&5 17447 (eval "$ac_link") 2>conftest.er1 17448 ac_status=$? 17449 grep -v '^ *+' conftest.er1 >conftest.err 17450 rm -f conftest.er1 17451 cat conftest.err >&5 17452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17453 (exit $ac_status); } && { 17454 test -z "$ac_cxx_werror_flag" || 17455 test ! -s conftest.err 17456 } && test -s conftest$ac_exeext && { 17457 test "$cross_compiling" = yes || 17458 $as_test_x conftest$ac_exeext 17459 }; then 17460 eval "$as_ac_var=yes" 17461 else 17462 $as_echo "$as_me: failed program was:" >&5 17463 sed 's/^/| /' conftest.$ac_ext >&5 17464 17465 eval "$as_ac_var=no" 17466 fi 17467 17468 rm -rf conftest.dSYM 17469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17470 conftest$ac_exeext conftest.$ac_ext 17471 fi 17472 ac_res=`eval 'as_val=${'$as_ac_var'} 17473 $as_echo "$as_val"'` 17474 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17475 $as_echo "$ac_res" >&6; } 17476 as_val=`eval 'as_val=${'$as_ac_var'} 17477 $as_echo "$as_val"'` 17478 if test "x$as_val" = x""yes; then 9831 #define HAVE_AVCODEC_DECODE_VIDEO2 1 9832 _ACEOF 9833 9834 fi 9835 done 9836 9837 for ac_func in avcodec_open 9838 do : 9839 ac_fn_cxx_check_func "$LINENO" "avcodec_open" "ac_cv_func_avcodec_open" 9840 if test "x$ac_cv_func_avcodec_open" = xyes; then : 17479 9841 cat >>confdefs.h <<_ACEOF 17480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17481 _ACEOF 17482 17483 fi 17484 done 17485 17486 17487 for ac_func in avcodec_open2 17488 do 17489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17490 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17491 $as_echo_n "checking for $ac_func... " >&6; } 17492 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17493 $as_echo_n "(cached) " >&6 17494 else 17495 cat >conftest.$ac_ext <<_ACEOF 17496 /* confdefs.h. */ 17497 _ACEOF 17498 cat confdefs.h >>conftest.$ac_ext 17499 cat >>conftest.$ac_ext <<_ACEOF 17500 /* end confdefs.h. */ 17501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17502 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17503 #define $ac_func innocuous_$ac_func 17504 17505 /* System header to define __stub macros and hopefully few prototypes, 17506 which can conflict with char $ac_func (); below. 17507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17508 <limits.h> exists even on freestanding compilers. */ 17509 17510 #ifdef __STDC__ 17511 # include <limits.h> 17512 #else 17513 # include <assert.h> 17514 #endif 17515 17516 #undef $ac_func 17517 17518 /* Override any GCC internal prototype to avoid an error. 17519 Use char because int might match the return type of a GCC 17520 builtin and then its argument prototype would still apply. */ 17521 #ifdef __cplusplus 17522 extern "C" 17523 #endif 17524 char $ac_func (); 17525 /* The GNU C library defines this for functions which it implements 17526 to always fail with ENOSYS. Some functions are actually named 17527 something starting with __ and the normal name is an alias. */ 17528 #if defined __stub_$ac_func || defined __stub___$ac_func 17529 choke me 17530 #endif 17531 17532 int 17533 main () 17534 { 17535 return $ac_func (); 17536 ; 17537 return 0; 17538 } 17539 _ACEOF 17540 rm -f conftest.$ac_objext conftest$ac_exeext 17541 if { (ac_try="$ac_link" 17542 case "(($ac_try" in 17543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17544 *) ac_try_echo=$ac_try;; 17545 esac 17546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17547 $as_echo "$ac_try_echo") >&5 17548 (eval "$ac_link") 2>conftest.er1 17549 ac_status=$? 17550 grep -v '^ *+' conftest.er1 >conftest.err 17551 rm -f conftest.er1 17552 cat conftest.err >&5 17553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17554 (exit $ac_status); } && { 17555 test -z "$ac_cxx_werror_flag" || 17556 test ! -s conftest.err 17557 } && test -s conftest$ac_exeext && { 17558 test "$cross_compiling" = yes || 17559 $as_test_x conftest$ac_exeext 17560 }; then 17561 eval "$as_ac_var=yes" 17562 else 17563 $as_echo "$as_me: failed program was:" >&5 17564 sed 's/^/| /' conftest.$ac_ext >&5 17565 17566 eval "$as_ac_var=no" 17567 fi 17568 17569 rm -rf conftest.dSYM 17570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17571 conftest$ac_exeext conftest.$ac_ext 17572 fi 17573 ac_res=`eval 'as_val=${'$as_ac_var'} 17574 $as_echo "$as_val"'` 17575 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17576 $as_echo "$ac_res" >&6; } 17577 as_val=`eval 'as_val=${'$as_ac_var'} 17578 $as_echo "$as_val"'` 17579 if test "x$as_val" = x""yes; then 9842 #define HAVE_AVCODEC_OPEN 1 9843 _ACEOF 9844 9845 fi 9846 done 9847 9848 for ac_func in avcodec_open2 9849 do : 9850 ac_fn_cxx_check_func "$LINENO" "avcodec_open2" "ac_cv_func_avcodec_open2" 9851 if test "x$ac_cv_func_avcodec_open2" = xyes; then : 17580 9852 cat >>confdefs.h <<_ACEOF 17581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17582 _ACEOF 17583 17584 fi 17585 done 17586 17587 17588 for ac_func in avformat_find_stream_info 17589 do 17590 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17591 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17592 $as_echo_n "checking for $ac_func... " >&6; } 17593 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17594 $as_echo_n "(cached) " >&6 17595 else 17596 cat >conftest.$ac_ext <<_ACEOF 17597 /* confdefs.h. */ 17598 _ACEOF 17599 cat confdefs.h >>conftest.$ac_ext 17600 cat >>conftest.$ac_ext <<_ACEOF 17601 /* end confdefs.h. */ 17602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17603 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17604 #define $ac_func innocuous_$ac_func 17605 17606 /* System header to define __stub macros and hopefully few prototypes, 17607 which can conflict with char $ac_func (); below. 17608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17609 <limits.h> exists even on freestanding compilers. */ 17610 17611 #ifdef __STDC__ 17612 # include <limits.h> 17613 #else 17614 # include <assert.h> 17615 #endif 17616 17617 #undef $ac_func 17618 17619 /* Override any GCC internal prototype to avoid an error. 17620 Use char because int might match the return type of a GCC 17621 builtin and then its argument prototype would still apply. */ 17622 #ifdef __cplusplus 17623 extern "C" 17624 #endif 17625 char $ac_func (); 17626 /* The GNU C library defines this for functions which it implements 17627 to always fail with ENOSYS. Some functions are actually named 17628 something starting with __ and the normal name is an alias. */ 17629 #if defined __stub_$ac_func || defined __stub___$ac_func 17630 choke me 17631 #endif 17632 17633 int 17634 main () 17635 { 17636 return $ac_func (); 17637 ; 17638 return 0; 17639 } 17640 _ACEOF 17641 rm -f conftest.$ac_objext conftest$ac_exeext 17642 if { (ac_try="$ac_link" 17643 case "(($ac_try" in 17644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17645 *) ac_try_echo=$ac_try;; 17646 esac 17647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17648 $as_echo "$ac_try_echo") >&5 17649 (eval "$ac_link") 2>conftest.er1 17650 ac_status=$? 17651 grep -v '^ *+' conftest.er1 >conftest.err 17652 rm -f conftest.er1 17653 cat conftest.err >&5 17654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17655 (exit $ac_status); } && { 17656 test -z "$ac_cxx_werror_flag" || 17657 test ! -s conftest.err 17658 } && test -s conftest$ac_exeext && { 17659 test "$cross_compiling" = yes || 17660 $as_test_x conftest$ac_exeext 17661 }; then 17662 eval "$as_ac_var=yes" 17663 else 17664 $as_echo "$as_me: failed program was:" >&5 17665 sed 's/^/| /' conftest.$ac_ext >&5 17666 17667 eval "$as_ac_var=no" 17668 fi 17669 17670 rm -rf conftest.dSYM 17671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17672 conftest$ac_exeext conftest.$ac_ext 17673 fi 17674 ac_res=`eval 'as_val=${'$as_ac_var'} 17675 $as_echo "$as_val"'` 17676 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17677 $as_echo "$ac_res" >&6; } 17678 as_val=`eval 'as_val=${'$as_ac_var'} 17679 $as_echo "$as_val"'` 17680 if test "x$as_val" = x""yes; then 9853 #define HAVE_AVCODEC_OPEN2 1 9854 _ACEOF 9855 9856 fi 9857 done 9858 9859 for ac_func in avformat_find_stream_info 9860 do : 9861 ac_fn_cxx_check_func "$LINENO" "avformat_find_stream_info" "ac_cv_func_avformat_find_stream_info" 9862 if test "x$ac_cv_func_avformat_find_stream_info" = xyes; then : 17681 9863 cat >>confdefs.h <<_ACEOF 17682 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17683 _ACEOF 17684 17685 fi 17686 done 17687 17688 17689 for ac_func in avformat_open_input 17690 do 17691 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17692 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17693 $as_echo_n "checking for $ac_func... " >&6; } 17694 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17695 $as_echo_n "(cached) " >&6 17696 else 17697 cat >conftest.$ac_ext <<_ACEOF 17698 /* confdefs.h. */ 17699 _ACEOF 17700 cat confdefs.h >>conftest.$ac_ext 17701 cat >>conftest.$ac_ext <<_ACEOF 17702 /* end confdefs.h. */ 17703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17704 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17705 #define $ac_func innocuous_$ac_func 17706 17707 /* System header to define __stub macros and hopefully few prototypes, 17708 which can conflict with char $ac_func (); below. 17709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17710 <limits.h> exists even on freestanding compilers. */ 17711 17712 #ifdef __STDC__ 17713 # include <limits.h> 17714 #else 17715 # include <assert.h> 17716 #endif 17717 17718 #undef $ac_func 17719 17720 /* Override any GCC internal prototype to avoid an error. 17721 Use char because int might match the return type of a GCC 17722 builtin and then its argument prototype would still apply. */ 17723 #ifdef __cplusplus 17724 extern "C" 17725 #endif 17726 char $ac_func (); 17727 /* The GNU C library defines this for functions which it implements 17728 to always fail with ENOSYS. Some functions are actually named 17729 something starting with __ and the normal name is an alias. */ 17730 #if defined __stub_$ac_func || defined __stub___$ac_func 17731 choke me 17732 #endif 17733 17734 int 17735 main () 17736 { 17737 return $ac_func (); 17738 ; 17739 return 0; 17740 } 17741 _ACEOF 17742 rm -f conftest.$ac_objext conftest$ac_exeext 17743 if { (ac_try="$ac_link" 17744 case "(($ac_try" in 17745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17746 *) ac_try_echo=$ac_try;; 17747 esac 17748 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17749 $as_echo "$ac_try_echo") >&5 17750 (eval "$ac_link") 2>conftest.er1 17751 ac_status=$? 17752 grep -v '^ *+' conftest.er1 >conftest.err 17753 rm -f conftest.er1 17754 cat conftest.err >&5 17755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17756 (exit $ac_status); } && { 17757 test -z "$ac_cxx_werror_flag" || 17758 test ! -s conftest.err 17759 } && test -s conftest$ac_exeext && { 17760 test "$cross_compiling" = yes || 17761 $as_test_x conftest$ac_exeext 17762 }; then 17763 eval "$as_ac_var=yes" 17764 else 17765 $as_echo "$as_me: failed program was:" >&5 17766 sed 's/^/| /' conftest.$ac_ext >&5 17767 17768 eval "$as_ac_var=no" 17769 fi 17770 17771 rm -rf conftest.dSYM 17772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17773 conftest$ac_exeext conftest.$ac_ext 17774 fi 17775 ac_res=`eval 'as_val=${'$as_ac_var'} 17776 $as_echo "$as_val"'` 17777 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17778 $as_echo "$ac_res" >&6; } 17779 as_val=`eval 'as_val=${'$as_ac_var'} 17780 $as_echo "$as_val"'` 17781 if test "x$as_val" = x""yes; then 9864 #define HAVE_AVFORMAT_FIND_STREAM_INFO 1 9865 _ACEOF 9866 9867 fi 9868 done 9869 9870 for ac_func in avformat_open_input 9871 do : 9872 ac_fn_cxx_check_func "$LINENO" "avformat_open_input" "ac_cv_func_avformat_open_input" 9873 if test "x$ac_cv_func_avformat_open_input" = xyes; then : 17782 9874 cat >>confdefs.h <<_ACEOF 17783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17784 _ACEOF 17785 17786 fi 17787 done 17788 17789 17790 for ac_func in avio_close 17791 do 17792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17793 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17794 $as_echo_n "checking for $ac_func... " >&6; } 17795 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17796 $as_echo_n "(cached) " >&6 17797 else 17798 cat >conftest.$ac_ext <<_ACEOF 17799 /* confdefs.h. */ 17800 _ACEOF 17801 cat confdefs.h >>conftest.$ac_ext 17802 cat >>conftest.$ac_ext <<_ACEOF 17803 /* end confdefs.h. */ 17804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17805 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17806 #define $ac_func innocuous_$ac_func 17807 17808 /* System header to define __stub macros and hopefully few prototypes, 17809 which can conflict with char $ac_func (); below. 17810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17811 <limits.h> exists even on freestanding compilers. */ 17812 17813 #ifdef __STDC__ 17814 # include <limits.h> 17815 #else 17816 # include <assert.h> 17817 #endif 17818 17819 #undef $ac_func 17820 17821 /* Override any GCC internal prototype to avoid an error. 17822 Use char because int might match the return type of a GCC 17823 builtin and then its argument prototype would still apply. */ 17824 #ifdef __cplusplus 17825 extern "C" 17826 #endif 17827 char $ac_func (); 17828 /* The GNU C library defines this for functions which it implements 17829 to always fail with ENOSYS. Some functions are actually named 17830 something starting with __ and the normal name is an alias. */ 17831 #if defined __stub_$ac_func || defined __stub___$ac_func 17832 choke me 17833 #endif 17834 17835 int 17836 main () 17837 { 17838 return $ac_func (); 17839 ; 17840 return 0; 17841 } 17842 _ACEOF 17843 rm -f conftest.$ac_objext conftest$ac_exeext 17844 if { (ac_try="$ac_link" 17845 case "(($ac_try" in 17846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17847 *) ac_try_echo=$ac_try;; 17848 esac 17849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17850 $as_echo "$ac_try_echo") >&5 17851 (eval "$ac_link") 2>conftest.er1 17852 ac_status=$? 17853 grep -v '^ *+' conftest.er1 >conftest.err 17854 rm -f conftest.er1 17855 cat conftest.err >&5 17856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17857 (exit $ac_status); } && { 17858 test -z "$ac_cxx_werror_flag" || 17859 test ! -s conftest.err 17860 } && test -s conftest$ac_exeext && { 17861 test "$cross_compiling" = yes || 17862 $as_test_x conftest$ac_exeext 17863 }; then 17864 eval "$as_ac_var=yes" 17865 else 17866 $as_echo "$as_me: failed program was:" >&5 17867 sed 's/^/| /' conftest.$ac_ext >&5 17868 17869 eval "$as_ac_var=no" 17870 fi 17871 17872 rm -rf conftest.dSYM 17873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17874 conftest$ac_exeext conftest.$ac_ext 17875 fi 17876 ac_res=`eval 'as_val=${'$as_ac_var'} 17877 $as_echo "$as_val"'` 17878 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17879 $as_echo "$ac_res" >&6; } 17880 as_val=`eval 'as_val=${'$as_ac_var'} 17881 $as_echo "$as_val"'` 17882 if test "x$as_val" = x""yes; then 9875 #define HAVE_AVFORMAT_OPEN_INPUT 1 9876 _ACEOF 9877 9878 fi 9879 done 9880 9881 for ac_func in avio_close 9882 do : 9883 ac_fn_cxx_check_func "$LINENO" "avio_close" "ac_cv_func_avio_close" 9884 if test "x$ac_cv_func_avio_close" = xyes; then : 17883 9885 cat >>confdefs.h <<_ACEOF 17884 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17885 _ACEOF 17886 17887 fi 17888 done 17889 17890 17891 for ac_func in img_convert 17892 do 17893 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17894 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17895 $as_echo_n "checking for $ac_func... " >&6; } 17896 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17897 $as_echo_n "(cached) " >&6 17898 else 17899 cat >conftest.$ac_ext <<_ACEOF 17900 /* confdefs.h. */ 17901 _ACEOF 17902 cat confdefs.h >>conftest.$ac_ext 17903 cat >>conftest.$ac_ext <<_ACEOF 17904 /* end confdefs.h. */ 17905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17906 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17907 #define $ac_func innocuous_$ac_func 17908 17909 /* System header to define __stub macros and hopefully few prototypes, 17910 which can conflict with char $ac_func (); below. 17911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17912 <limits.h> exists even on freestanding compilers. */ 17913 17914 #ifdef __STDC__ 17915 # include <limits.h> 17916 #else 17917 # include <assert.h> 17918 #endif 17919 17920 #undef $ac_func 17921 17922 /* Override any GCC internal prototype to avoid an error. 17923 Use char because int might match the return type of a GCC 17924 builtin and then its argument prototype would still apply. */ 17925 #ifdef __cplusplus 17926 extern "C" 17927 #endif 17928 char $ac_func (); 17929 /* The GNU C library defines this for functions which it implements 17930 to always fail with ENOSYS. Some functions are actually named 17931 something starting with __ and the normal name is an alias. */ 17932 #if defined __stub_$ac_func || defined __stub___$ac_func 17933 choke me 17934 #endif 17935 17936 int 17937 main () 17938 { 17939 return $ac_func (); 17940 ; 17941 return 0; 17942 } 17943 _ACEOF 17944 rm -f conftest.$ac_objext conftest$ac_exeext 17945 if { (ac_try="$ac_link" 17946 case "(($ac_try" in 17947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17948 *) ac_try_echo=$ac_try;; 17949 esac 17950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17951 $as_echo "$ac_try_echo") >&5 17952 (eval "$ac_link") 2>conftest.er1 17953 ac_status=$? 17954 grep -v '^ *+' conftest.er1 >conftest.err 17955 rm -f conftest.er1 17956 cat conftest.err >&5 17957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17958 (exit $ac_status); } && { 17959 test -z "$ac_cxx_werror_flag" || 17960 test ! -s conftest.err 17961 } && test -s conftest$ac_exeext && { 17962 test "$cross_compiling" = yes || 17963 $as_test_x conftest$ac_exeext 17964 }; then 17965 eval "$as_ac_var=yes" 17966 else 17967 $as_echo "$as_me: failed program was:" >&5 17968 sed 's/^/| /' conftest.$ac_ext >&5 17969 17970 eval "$as_ac_var=no" 17971 fi 17972 17973 rm -rf conftest.dSYM 17974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17975 conftest$ac_exeext conftest.$ac_ext 17976 fi 17977 ac_res=`eval 'as_val=${'$as_ac_var'} 17978 $as_echo "$as_val"'` 17979 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17980 $as_echo "$ac_res" >&6; } 17981 as_val=`eval 'as_val=${'$as_ac_var'} 17982 $as_echo "$as_val"'` 17983 if test "x$as_val" = x""yes; then 9886 #define HAVE_AVIO_CLOSE 1 9887 _ACEOF 9888 9889 fi 9890 done 9891 9892 for ac_func in img_convert 9893 do : 9894 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 9895 if test "x$ac_cv_func_img_convert" = xyes; then : 17984 9896 cat >>confdefs.h <<_ACEOF 17985 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17986 _ACEOF 17987 17988 fi 17989 done 17990 17991 17992 for ac_func in sws_getCachedContext 17993 do 17994 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17995 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17996 $as_echo_n "checking for $ac_func... " >&6; } 17997 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17998 $as_echo_n "(cached) " >&6 17999 else 18000 cat >conftest.$ac_ext <<_ACEOF 18001 /* confdefs.h. */ 18002 _ACEOF 18003 cat confdefs.h >>conftest.$ac_ext 18004 cat >>conftest.$ac_ext <<_ACEOF 18005 /* end confdefs.h. */ 18006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18007 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18008 #define $ac_func innocuous_$ac_func 18009 18010 /* System header to define __stub macros and hopefully few prototypes, 18011 which can conflict with char $ac_func (); below. 18012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18013 <limits.h> exists even on freestanding compilers. */ 18014 18015 #ifdef __STDC__ 18016 # include <limits.h> 18017 #else 18018 # include <assert.h> 18019 #endif 18020 18021 #undef $ac_func 18022 18023 /* Override any GCC internal prototype to avoid an error. 18024 Use char because int might match the return type of a GCC 18025 builtin and then its argument prototype would still apply. */ 18026 #ifdef __cplusplus 18027 extern "C" 18028 #endif 18029 char $ac_func (); 18030 /* The GNU C library defines this for functions which it implements 18031 to always fail with ENOSYS. Some functions are actually named 18032 something starting with __ and the normal name is an alias. */ 18033 #if defined __stub_$ac_func || defined __stub___$ac_func 18034 choke me 18035 #endif 18036 18037 int 18038 main () 18039 { 18040 return $ac_func (); 18041 ; 18042 return 0; 18043 } 18044 _ACEOF 18045 rm -f conftest.$ac_objext conftest$ac_exeext 18046 if { (ac_try="$ac_link" 18047 case "(($ac_try" in 18048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18049 *) ac_try_echo=$ac_try;; 18050 esac 18051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18052 $as_echo "$ac_try_echo") >&5 18053 (eval "$ac_link") 2>conftest.er1 18054 ac_status=$? 18055 grep -v '^ *+' conftest.er1 >conftest.err 18056 rm -f conftest.er1 18057 cat conftest.err >&5 18058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18059 (exit $ac_status); } && { 18060 test -z "$ac_cxx_werror_flag" || 18061 test ! -s conftest.err 18062 } && test -s conftest$ac_exeext && { 18063 test "$cross_compiling" = yes || 18064 $as_test_x conftest$ac_exeext 18065 }; then 18066 eval "$as_ac_var=yes" 18067 else 18068 $as_echo "$as_me: failed program was:" >&5 18069 sed 's/^/| /' conftest.$ac_ext >&5 18070 18071 eval "$as_ac_var=no" 18072 fi 18073 18074 rm -rf conftest.dSYM 18075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18076 conftest$ac_exeext conftest.$ac_ext 18077 fi 18078 ac_res=`eval 'as_val=${'$as_ac_var'} 18079 $as_echo "$as_val"'` 18080 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18081 $as_echo "$ac_res" >&6; } 18082 as_val=`eval 'as_val=${'$as_ac_var'} 18083 $as_echo "$as_val"'` 18084 if test "x$as_val" = x""yes; then 9897 #define HAVE_IMG_CONVERT 1 9898 _ACEOF 9899 9900 fi 9901 done 9902 9903 for ac_func in sws_getCachedContext 9904 do : 9905 ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext" 9906 if test "x$ac_cv_func_sws_getCachedContext" = xyes; then : 18085 9907 cat >>confdefs.h <<_ACEOF 18086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18087 _ACEOF 18088 18089 fi 18090 done 18091 18092 18093 for ac_func in sws_scale 18094 do 18095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18096 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18097 $as_echo_n "checking for $ac_func... " >&6; } 18098 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18099 $as_echo_n "(cached) " >&6 18100 else 18101 cat >conftest.$ac_ext <<_ACEOF 18102 /* confdefs.h. */ 18103 _ACEOF 18104 cat confdefs.h >>conftest.$ac_ext 18105 cat >>conftest.$ac_ext <<_ACEOF 18106 /* end confdefs.h. */ 18107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18108 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18109 #define $ac_func innocuous_$ac_func 18110 18111 /* System header to define __stub macros and hopefully few prototypes, 18112 which can conflict with char $ac_func (); below. 18113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18114 <limits.h> exists even on freestanding compilers. */ 18115 18116 #ifdef __STDC__ 18117 # include <limits.h> 18118 #else 18119 # include <assert.h> 18120 #endif 18121 18122 #undef $ac_func 18123 18124 /* Override any GCC internal prototype to avoid an error. 18125 Use char because int might match the return type of a GCC 18126 builtin and then its argument prototype would still apply. */ 18127 #ifdef __cplusplus 18128 extern "C" 18129 #endif 18130 char $ac_func (); 18131 /* The GNU C library defines this for functions which it implements 18132 to always fail with ENOSYS. Some functions are actually named 18133 something starting with __ and the normal name is an alias. */ 18134 #if defined __stub_$ac_func || defined __stub___$ac_func 18135 choke me 18136 #endif 18137 18138 int 18139 main () 18140 { 18141 return $ac_func (); 18142 ; 18143 return 0; 18144 } 18145 _ACEOF 18146 rm -f conftest.$ac_objext conftest$ac_exeext 18147 if { (ac_try="$ac_link" 18148 case "(($ac_try" in 18149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18150 *) ac_try_echo=$ac_try;; 18151 esac 18152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18153 $as_echo "$ac_try_echo") >&5 18154 (eval "$ac_link") 2>conftest.er1 18155 ac_status=$? 18156 grep -v '^ *+' conftest.er1 >conftest.err 18157 rm -f conftest.er1 18158 cat conftest.err >&5 18159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18160 (exit $ac_status); } && { 18161 test -z "$ac_cxx_werror_flag" || 18162 test ! -s conftest.err 18163 } && test -s conftest$ac_exeext && { 18164 test "$cross_compiling" = yes || 18165 $as_test_x conftest$ac_exeext 18166 }; then 18167 eval "$as_ac_var=yes" 18168 else 18169 $as_echo "$as_me: failed program was:" >&5 18170 sed 's/^/| /' conftest.$ac_ext >&5 18171 18172 eval "$as_ac_var=no" 18173 fi 18174 18175 rm -rf conftest.dSYM 18176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18177 conftest$ac_exeext conftest.$ac_ext 18178 fi 18179 ac_res=`eval 'as_val=${'$as_ac_var'} 18180 $as_echo "$as_val"'` 18181 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18182 $as_echo "$ac_res" >&6; } 18183 as_val=`eval 'as_val=${'$as_ac_var'} 18184 $as_echo "$as_val"'` 18185 if test "x$as_val" = x""yes; then 9908 #define HAVE_SWS_GETCACHEDCONTEXT 1 9909 _ACEOF 9910 9911 fi 9912 done 9913 9914 for ac_func in sws_scale 9915 do : 9916 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale" 9917 if test "x$ac_cv_func_sws_scale" = xyes; then : 18186 9918 cat >>confdefs.h <<_ACEOF 18187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18188 _ACEOF 18189 18190 fi 18191 done 18192 18193 18194 for ac_func in url_close 18195 do 18196 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18197 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18198 $as_echo_n "checking for $ac_func... " >&6; } 18199 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18200 $as_echo_n "(cached) " >&6 18201 else 18202 cat >conftest.$ac_ext <<_ACEOF 18203 /* confdefs.h. */ 18204 _ACEOF 18205 cat confdefs.h >>conftest.$ac_ext 18206 cat >>conftest.$ac_ext <<_ACEOF 18207 /* end confdefs.h. */ 18208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18209 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18210 #define $ac_func innocuous_$ac_func 18211 18212 /* System header to define __stub macros and hopefully few prototypes, 18213 which can conflict with char $ac_func (); below. 18214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18215 <limits.h> exists even on freestanding compilers. */ 18216 18217 #ifdef __STDC__ 18218 # include <limits.h> 18219 #else 18220 # include <assert.h> 18221 #endif 18222 18223 #undef $ac_func 18224 18225 /* Override any GCC internal prototype to avoid an error. 18226 Use char because int might match the return type of a GCC 18227 builtin and then its argument prototype would still apply. */ 18228 #ifdef __cplusplus 18229 extern "C" 18230 #endif 18231 char $ac_func (); 18232 /* The GNU C library defines this for functions which it implements 18233 to always fail with ENOSYS. Some functions are actually named 18234 something starting with __ and the normal name is an alias. */ 18235 #if defined __stub_$ac_func || defined __stub___$ac_func 18236 choke me 18237 #endif 18238 18239 int 18240 main () 18241 { 18242 return $ac_func (); 18243 ; 18244 return 0; 18245 } 18246 _ACEOF 18247 rm -f conftest.$ac_objext conftest$ac_exeext 18248 if { (ac_try="$ac_link" 18249 case "(($ac_try" in 18250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18251 *) ac_try_echo=$ac_try;; 18252 esac 18253 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18254 $as_echo "$ac_try_echo") >&5 18255 (eval "$ac_link") 2>conftest.er1 18256 ac_status=$? 18257 grep -v '^ *+' conftest.er1 >conftest.err 18258 rm -f conftest.er1 18259 cat conftest.err >&5 18260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18261 (exit $ac_status); } && { 18262 test -z "$ac_cxx_werror_flag" || 18263 test ! -s conftest.err 18264 } && test -s conftest$ac_exeext && { 18265 test "$cross_compiling" = yes || 18266 $as_test_x conftest$ac_exeext 18267 }; then 18268 eval "$as_ac_var=yes" 18269 else 18270 $as_echo "$as_me: failed program was:" >&5 18271 sed 's/^/| /' conftest.$ac_ext >&5 18272 18273 eval "$as_ac_var=no" 18274 fi 18275 18276 rm -rf conftest.dSYM 18277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18278 conftest$ac_exeext conftest.$ac_ext 18279 fi 18280 ac_res=`eval 'as_val=${'$as_ac_var'} 18281 $as_echo "$as_val"'` 18282 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18283 $as_echo "$ac_res" >&6; } 18284 as_val=`eval 'as_val=${'$as_ac_var'} 18285 $as_echo "$as_val"'` 18286 if test "x$as_val" = x""yes; then 9919 #define HAVE_SWS_SCALE 1 9920 _ACEOF 9921 9922 fi 9923 done 9924 9925 for ac_func in url_close 9926 do : 9927 ac_fn_cxx_check_func "$LINENO" "url_close" "ac_cv_func_url_close" 9928 if test "x$ac_cv_func_url_close" = xyes; then : 18287 9929 cat >>confdefs.h <<_ACEOF 18288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18289 _ACEOF 18290 18291 fi 18292 done 18293 18294 18295 for ac_func in av_close_input_file 18296 do 18297 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18298 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18299 $as_echo_n "checking for $ac_func... " >&6; } 18300 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18301 $as_echo_n "(cached) " >&6 18302 else 18303 cat >conftest.$ac_ext <<_ACEOF 18304 /* confdefs.h. */ 18305 _ACEOF 18306 cat confdefs.h >>conftest.$ac_ext 18307 cat >>conftest.$ac_ext <<_ACEOF 18308 /* end confdefs.h. */ 18309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18310 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18311 #define $ac_func innocuous_$ac_func 18312 18313 /* System header to define __stub macros and hopefully few prototypes, 18314 which can conflict with char $ac_func (); below. 18315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18316 <limits.h> exists even on freestanding compilers. */ 18317 18318 #ifdef __STDC__ 18319 # include <limits.h> 18320 #else 18321 # include <assert.h> 18322 #endif 18323 18324 #undef $ac_func 18325 18326 /* Override any GCC internal prototype to avoid an error. 18327 Use char because int might match the return type of a GCC 18328 builtin and then its argument prototype would still apply. */ 18329 #ifdef __cplusplus 18330 extern "C" 18331 #endif 18332 char $ac_func (); 18333 /* The GNU C library defines this for functions which it implements 18334 to always fail with ENOSYS. Some functions are actually named 18335 something starting with __ and the normal name is an alias. */ 18336 #if defined __stub_$ac_func || defined __stub___$ac_func 18337 choke me 18338 #endif 18339 18340 int 18341 main () 18342 { 18343 return $ac_func (); 18344 ; 18345 return 0; 18346 } 18347 _ACEOF 18348 rm -f conftest.$ac_objext conftest$ac_exeext 18349 if { (ac_try="$ac_link" 18350 case "(($ac_try" in 18351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18352 *) ac_try_echo=$ac_try;; 18353 esac 18354 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18355 $as_echo "$ac_try_echo") >&5 18356 (eval "$ac_link") 2>conftest.er1 18357 ac_status=$? 18358 grep -v '^ *+' conftest.er1 >conftest.err 18359 rm -f conftest.er1 18360 cat conftest.err >&5 18361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18362 (exit $ac_status); } && { 18363 test -z "$ac_cxx_werror_flag" || 18364 test ! -s conftest.err 18365 } && test -s conftest$ac_exeext && { 18366 test "$cross_compiling" = yes || 18367 $as_test_x conftest$ac_exeext 18368 }; then 18369 eval "$as_ac_var=yes" 18370 else 18371 $as_echo "$as_me: failed program was:" >&5 18372 sed 's/^/| /' conftest.$ac_ext >&5 18373 18374 eval "$as_ac_var=no" 18375 fi 18376 18377 rm -rf conftest.dSYM 18378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18379 conftest$ac_exeext conftest.$ac_ext 18380 fi 18381 ac_res=`eval 'as_val=${'$as_ac_var'} 18382 $as_echo "$as_val"'` 18383 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18384 $as_echo "$ac_res" >&6; } 18385 as_val=`eval 'as_val=${'$as_ac_var'} 18386 $as_echo "$as_val"'` 18387 if test "x$as_val" = x""yes; then 9930 #define HAVE_URL_CLOSE 1 9931 _ACEOF 9932 9933 fi 9934 done 9935 9936 for ac_func in av_close_input_file 9937 do : 9938 ac_fn_cxx_check_func "$LINENO" "av_close_input_file" "ac_cv_func_av_close_input_file" 9939 if test "x$ac_cv_func_av_close_input_file" = xyes; then : 18388 9940 cat >>confdefs.h <<_ACEOF 18389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18390 _ACEOF 18391 18392 fi 18393 done 18394 18395 18396 for ac_func in avformat_close_input 18397 do 18398 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18399 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18400 $as_echo_n "checking for $ac_func... " >&6; } 18401 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18402 $as_echo_n "(cached) " >&6 18403 else 18404 cat >conftest.$ac_ext <<_ACEOF 18405 /* confdefs.h. */ 18406 _ACEOF 18407 cat confdefs.h >>conftest.$ac_ext 18408 cat >>conftest.$ac_ext <<_ACEOF 18409 /* end confdefs.h. */ 18410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18411 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18412 #define $ac_func innocuous_$ac_func 18413 18414 /* System header to define __stub macros and hopefully few prototypes, 18415 which can conflict with char $ac_func (); below. 18416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18417 <limits.h> exists even on freestanding compilers. */ 18418 18419 #ifdef __STDC__ 18420 # include <limits.h> 18421 #else 18422 # include <assert.h> 18423 #endif 18424 18425 #undef $ac_func 18426 18427 /* Override any GCC internal prototype to avoid an error. 18428 Use char because int might match the return type of a GCC 18429 builtin and then its argument prototype would still apply. */ 18430 #ifdef __cplusplus 18431 extern "C" 18432 #endif 18433 char $ac_func (); 18434 /* The GNU C library defines this for functions which it implements 18435 to always fail with ENOSYS. Some functions are actually named 18436 something starting with __ and the normal name is an alias. */ 18437 #if defined __stub_$ac_func || defined __stub___$ac_func 18438 choke me 18439 #endif 18440 18441 int 18442 main () 18443 { 18444 return $ac_func (); 18445 ; 18446 return 0; 18447 } 18448 _ACEOF 18449 rm -f conftest.$ac_objext conftest$ac_exeext 18450 if { (ac_try="$ac_link" 18451 case "(($ac_try" in 18452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18453 *) ac_try_echo=$ac_try;; 18454 esac 18455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18456 $as_echo "$ac_try_echo") >&5 18457 (eval "$ac_link") 2>conftest.er1 18458 ac_status=$? 18459 grep -v '^ *+' conftest.er1 >conftest.err 18460 rm -f conftest.er1 18461 cat conftest.err >&5 18462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18463 (exit $ac_status); } && { 18464 test -z "$ac_cxx_werror_flag" || 18465 test ! -s conftest.err 18466 } && test -s conftest$ac_exeext && { 18467 test "$cross_compiling" = yes || 18468 $as_test_x conftest$ac_exeext 18469 }; then 18470 eval "$as_ac_var=yes" 18471 else 18472 $as_echo "$as_me: failed program was:" >&5 18473 sed 's/^/| /' conftest.$ac_ext >&5 18474 18475 eval "$as_ac_var=no" 18476 fi 18477 18478 rm -rf conftest.dSYM 18479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18480 conftest$ac_exeext conftest.$ac_ext 18481 fi 18482 ac_res=`eval 'as_val=${'$as_ac_var'} 18483 $as_echo "$as_val"'` 18484 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18485 $as_echo "$ac_res" >&6; } 18486 as_val=`eval 'as_val=${'$as_ac_var'} 18487 $as_echo "$as_val"'` 18488 if test "x$as_val" = x""yes; then 9941 #define HAVE_AV_CLOSE_INPUT_FILE 1 9942 _ACEOF 9943 9944 fi 9945 done 9946 9947 for ac_func in avformat_close_input 9948 do : 9949 ac_fn_cxx_check_func "$LINENO" "avformat_close_input" "ac_cv_func_avformat_close_input" 9950 if test "x$ac_cv_func_avformat_close_input" = xyes; then : 18489 9951 cat >>confdefs.h <<_ACEOF 18490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18491 _ACEOF 18492 18493 fi 18494 done 18495 18496 18497 { $as_echo "$as_me:$LINENO: checking for avcodec_find_decoder" >&5 18498 $as_echo_n "checking for avcodec_find_decoder... " >&6; } 18499 if test "${ac_cv_func_avcodec_find_decoder+set}" = set; then 18500 $as_echo_n "(cached) " >&6 18501 else 18502 cat >conftest.$ac_ext <<_ACEOF 18503 /* confdefs.h. */ 18504 _ACEOF 18505 cat confdefs.h >>conftest.$ac_ext 18506 cat >>conftest.$ac_ext <<_ACEOF 18507 /* end confdefs.h. */ 18508 /* Define avcodec_find_decoder to an innocuous variant, in case <limits.h> declares avcodec_find_decoder. 18509 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18510 #define avcodec_find_decoder innocuous_avcodec_find_decoder 18511 18512 /* System header to define __stub macros and hopefully few prototypes, 18513 which can conflict with char avcodec_find_decoder (); below. 18514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18515 <limits.h> exists even on freestanding compilers. */ 18516 18517 #ifdef __STDC__ 18518 # include <limits.h> 18519 #else 18520 # include <assert.h> 18521 #endif 18522 18523 #undef avcodec_find_decoder 18524 18525 /* Override any GCC internal prototype to avoid an error. 18526 Use char because int might match the return type of a GCC 18527 builtin and then its argument prototype would still apply. */ 18528 #ifdef __cplusplus 18529 extern "C" 18530 #endif 18531 char avcodec_find_decoder (); 18532 /* The GNU C library defines this for functions which it implements 18533 to always fail with ENOSYS. Some functions are actually named 18534 something starting with __ and the normal name is an alias. */ 18535 #if defined __stub_avcodec_find_decoder || defined __stub___avcodec_find_decoder 18536 choke me 18537 #endif 18538 18539 int 18540 main () 18541 { 18542 return avcodec_find_decoder (); 18543 ; 18544 return 0; 18545 } 18546 _ACEOF 18547 rm -f conftest.$ac_objext conftest$ac_exeext 18548 if { (ac_try="$ac_link" 18549 case "(($ac_try" in 18550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18551 *) ac_try_echo=$ac_try;; 18552 esac 18553 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18554 $as_echo "$ac_try_echo") >&5 18555 (eval "$ac_link") 2>conftest.er1 18556 ac_status=$? 18557 grep -v '^ *+' conftest.er1 >conftest.err 18558 rm -f conftest.er1 18559 cat conftest.err >&5 18560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18561 (exit $ac_status); } && { 18562 test -z "$ac_cxx_werror_flag" || 18563 test ! -s conftest.err 18564 } && test -s conftest$ac_exeext && { 18565 test "$cross_compiling" = yes || 18566 $as_test_x conftest$ac_exeext 18567 }; then 18568 ac_cv_func_avcodec_find_decoder=yes 18569 else 18570 $as_echo "$as_me: failed program was:" >&5 18571 sed 's/^/| /' conftest.$ac_ext >&5 18572 18573 ac_cv_func_avcodec_find_decoder=no 18574 fi 18575 18576 rm -rf conftest.dSYM 18577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18578 conftest$ac_exeext conftest.$ac_ext 18579 fi 18580 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_find_decoder" >&5 18581 $as_echo "$ac_cv_func_avcodec_find_decoder" >&6; } 18582 if test "x$ac_cv_func_avcodec_find_decoder" = x""yes; then 18583 : 18584 else 18585 { { $as_echo "$as_me:$LINENO: error: oops! no av_codec_find_decoder ?!?" >&5 18586 $as_echo "$as_me: error: oops! no av_codec_find_decoder ?!?" >&2;} 18587 { (exit 1); exit 1; }; } 18588 fi 18589 18590 { $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame" >&5 18591 $as_echo_n "checking for avcodec_alloc_frame... " >&6; } 18592 if test "${ac_cv_func_avcodec_alloc_frame+set}" = set; then 18593 $as_echo_n "(cached) " >&6 18594 else 18595 cat >conftest.$ac_ext <<_ACEOF 18596 /* confdefs.h. */ 18597 _ACEOF 18598 cat confdefs.h >>conftest.$ac_ext 18599 cat >>conftest.$ac_ext <<_ACEOF 18600 /* end confdefs.h. */ 18601 /* Define avcodec_alloc_frame to an innocuous variant, in case <limits.h> declares avcodec_alloc_frame. 18602 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18603 #define avcodec_alloc_frame innocuous_avcodec_alloc_frame 18604 18605 /* System header to define __stub macros and hopefully few prototypes, 18606 which can conflict with char avcodec_alloc_frame (); below. 18607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18608 <limits.h> exists even on freestanding compilers. */ 18609 18610 #ifdef __STDC__ 18611 # include <limits.h> 18612 #else 18613 # include <assert.h> 18614 #endif 18615 18616 #undef avcodec_alloc_frame 18617 18618 /* Override any GCC internal prototype to avoid an error. 18619 Use char because int might match the return type of a GCC 18620 builtin and then its argument prototype would still apply. */ 18621 #ifdef __cplusplus 18622 extern "C" 18623 #endif 18624 char avcodec_alloc_frame (); 18625 /* The GNU C library defines this for functions which it implements 18626 to always fail with ENOSYS. Some functions are actually named 18627 something starting with __ and the normal name is an alias. */ 18628 #if defined __stub_avcodec_alloc_frame || defined __stub___avcodec_alloc_frame 18629 choke me 18630 #endif 18631 18632 int 18633 main () 18634 { 18635 return avcodec_alloc_frame (); 18636 ; 18637 return 0; 18638 } 18639 _ACEOF 18640 rm -f conftest.$ac_objext conftest$ac_exeext 18641 if { (ac_try="$ac_link" 18642 case "(($ac_try" in 18643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18644 *) ac_try_echo=$ac_try;; 18645 esac 18646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18647 $as_echo "$ac_try_echo") >&5 18648 (eval "$ac_link") 2>conftest.er1 18649 ac_status=$? 18650 grep -v '^ *+' conftest.er1 >conftest.err 18651 rm -f conftest.er1 18652 cat conftest.err >&5 18653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18654 (exit $ac_status); } && { 18655 test -z "$ac_cxx_werror_flag" || 18656 test ! -s conftest.err 18657 } && test -s conftest$ac_exeext && { 18658 test "$cross_compiling" = yes || 18659 $as_test_x conftest$ac_exeext 18660 }; then 18661 ac_cv_func_avcodec_alloc_frame=yes 18662 else 18663 $as_echo "$as_me: failed program was:" >&5 18664 sed 's/^/| /' conftest.$ac_ext >&5 18665 18666 ac_cv_func_avcodec_alloc_frame=no 18667 fi 18668 18669 rm -rf conftest.dSYM 18670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18671 conftest$ac_exeext conftest.$ac_ext 18672 fi 18673 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_alloc_frame" >&5 18674 $as_echo "$ac_cv_func_avcodec_alloc_frame" >&6; } 18675 if test "x$ac_cv_func_avcodec_alloc_frame" = x""yes; then 18676 : 18677 else 18678 { { $as_echo "$as_me:$LINENO: error: oops! no avcode_alloc_frame ?!?" >&5 18679 $as_echo "$as_me: error: oops! no avcode_alloc_frame ?!?" >&2;} 18680 { (exit 1); exit 1; }; } 18681 fi 18682 18683 { $as_echo "$as_me:$LINENO: checking for av_rescale_q" >&5 18684 $as_echo_n "checking for av_rescale_q... " >&6; } 18685 if test "${ac_cv_func_av_rescale_q+set}" = set; then 18686 $as_echo_n "(cached) " >&6 18687 else 18688 cat >conftest.$ac_ext <<_ACEOF 18689 /* confdefs.h. */ 18690 _ACEOF 18691 cat confdefs.h >>conftest.$ac_ext 18692 cat >>conftest.$ac_ext <<_ACEOF 18693 /* end confdefs.h. */ 18694 /* Define av_rescale_q to an innocuous variant, in case <limits.h> declares av_rescale_q. 18695 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18696 #define av_rescale_q innocuous_av_rescale_q 18697 18698 /* System header to define __stub macros and hopefully few prototypes, 18699 which can conflict with char av_rescale_q (); below. 18700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18701 <limits.h> exists even on freestanding compilers. */ 18702 18703 #ifdef __STDC__ 18704 # include <limits.h> 18705 #else 18706 # include <assert.h> 18707 #endif 18708 18709 #undef av_rescale_q 18710 18711 /* Override any GCC internal prototype to avoid an error. 18712 Use char because int might match the return type of a GCC 18713 builtin and then its argument prototype would still apply. */ 18714 #ifdef __cplusplus 18715 extern "C" 18716 #endif 18717 char av_rescale_q (); 18718 /* The GNU C library defines this for functions which it implements 18719 to always fail with ENOSYS. Some functions are actually named 18720 something starting with __ and the normal name is an alias. */ 18721 #if defined __stub_av_rescale_q || defined __stub___av_rescale_q 18722 choke me 18723 #endif 18724 18725 int 18726 main () 18727 { 18728 return av_rescale_q (); 18729 ; 18730 return 0; 18731 } 18732 _ACEOF 18733 rm -f conftest.$ac_objext conftest$ac_exeext 18734 if { (ac_try="$ac_link" 18735 case "(($ac_try" in 18736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18737 *) ac_try_echo=$ac_try;; 18738 esac 18739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18740 $as_echo "$ac_try_echo") >&5 18741 (eval "$ac_link") 2>conftest.er1 18742 ac_status=$? 18743 grep -v '^ *+' conftest.er1 >conftest.err 18744 rm -f conftest.er1 18745 cat conftest.err >&5 18746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18747 (exit $ac_status); } && { 18748 test -z "$ac_cxx_werror_flag" || 18749 test ! -s conftest.err 18750 } && test -s conftest$ac_exeext && { 18751 test "$cross_compiling" = yes || 18752 $as_test_x conftest$ac_exeext 18753 }; then 18754 ac_cv_func_av_rescale_q=yes 18755 else 18756 $as_echo "$as_me: failed program was:" >&5 18757 sed 's/^/| /' conftest.$ac_ext >&5 18758 18759 ac_cv_func_av_rescale_q=no 18760 fi 18761 18762 rm -rf conftest.dSYM 18763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18764 conftest$ac_exeext conftest.$ac_ext 18765 fi 18766 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_rescale_q" >&5 18767 $as_echo "$ac_cv_func_av_rescale_q" >&6; } 18768 if test "x$ac_cv_func_av_rescale_q" = x""yes; then 18769 : 18770 else 18771 { { $as_echo "$as_me:$LINENO: error: oops! no av_rescale_q ?!?" >&5 18772 $as_echo "$as_me: error: oops! no av_rescale_q ?!?" >&2;} 18773 { (exit 1); exit 1; }; } 18774 fi 18775 18776 { $as_echo "$as_me:$LINENO: checking for av_read_frame" >&5 18777 $as_echo_n "checking for av_read_frame... " >&6; } 18778 if test "${ac_cv_func_av_read_frame+set}" = set; then 18779 $as_echo_n "(cached) " >&6 18780 else 18781 cat >conftest.$ac_ext <<_ACEOF 18782 /* confdefs.h. */ 18783 _ACEOF 18784 cat confdefs.h >>conftest.$ac_ext 18785 cat >>conftest.$ac_ext <<_ACEOF 18786 /* end confdefs.h. */ 18787 /* Define av_read_frame to an innocuous variant, in case <limits.h> declares av_read_frame. 18788 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18789 #define av_read_frame innocuous_av_read_frame 18790 18791 /* System header to define __stub macros and hopefully few prototypes, 18792 which can conflict with char av_read_frame (); below. 18793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18794 <limits.h> exists even on freestanding compilers. */ 18795 18796 #ifdef __STDC__ 18797 # include <limits.h> 18798 #else 18799 # include <assert.h> 18800 #endif 18801 18802 #undef av_read_frame 18803 18804 /* Override any GCC internal prototype to avoid an error. 18805 Use char because int might match the return type of a GCC 18806 builtin and then its argument prototype would still apply. */ 18807 #ifdef __cplusplus 18808 extern "C" 18809 #endif 18810 char av_read_frame (); 18811 /* The GNU C library defines this for functions which it implements 18812 to always fail with ENOSYS. Some functions are actually named 18813 something starting with __ and the normal name is an alias. */ 18814 #if defined __stub_av_read_frame || defined __stub___av_read_frame 18815 choke me 18816 #endif 18817 18818 int 18819 main () 18820 { 18821 return av_read_frame (); 18822 ; 18823 return 0; 18824 } 18825 _ACEOF 18826 rm -f conftest.$ac_objext conftest$ac_exeext 18827 if { (ac_try="$ac_link" 18828 case "(($ac_try" in 18829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18830 *) ac_try_echo=$ac_try;; 18831 esac 18832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18833 $as_echo "$ac_try_echo") >&5 18834 (eval "$ac_link") 2>conftest.er1 18835 ac_status=$? 18836 grep -v '^ *+' conftest.er1 >conftest.err 18837 rm -f conftest.er1 18838 cat conftest.err >&5 18839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18840 (exit $ac_status); } && { 18841 test -z "$ac_cxx_werror_flag" || 18842 test ! -s conftest.err 18843 } && test -s conftest$ac_exeext && { 18844 test "$cross_compiling" = yes || 18845 $as_test_x conftest$ac_exeext 18846 }; then 18847 ac_cv_func_av_read_frame=yes 18848 else 18849 $as_echo "$as_me: failed program was:" >&5 18850 sed 's/^/| /' conftest.$ac_ext >&5 18851 18852 ac_cv_func_av_read_frame=no 18853 fi 18854 18855 rm -rf conftest.dSYM 18856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18857 conftest$ac_exeext conftest.$ac_ext 18858 fi 18859 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_read_frame" >&5 18860 $as_echo "$ac_cv_func_av_read_frame" >&6; } 18861 if test "x$ac_cv_func_av_read_frame" = x""yes; then 18862 : 18863 else 18864 { { $as_echo "$as_me:$LINENO: error: oops! av_read_frame ?!?" >&5 18865 $as_echo "$as_me: error: oops! av_read_frame ?!?" >&2;} 18866 { (exit 1); exit 1; }; } 18867 fi 18868 18869 { $as_echo "$as_me:$LINENO: checking for av_free" >&5 18870 $as_echo_n "checking for av_free... " >&6; } 18871 if test "${ac_cv_func_av_free+set}" = set; then 18872 $as_echo_n "(cached) " >&6 18873 else 18874 cat >conftest.$ac_ext <<_ACEOF 18875 /* confdefs.h. */ 18876 _ACEOF 18877 cat confdefs.h >>conftest.$ac_ext 18878 cat >>conftest.$ac_ext <<_ACEOF 18879 /* end confdefs.h. */ 18880 /* Define av_free to an innocuous variant, in case <limits.h> declares av_free. 18881 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18882 #define av_free innocuous_av_free 18883 18884 /* System header to define __stub macros and hopefully few prototypes, 18885 which can conflict with char av_free (); below. 18886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18887 <limits.h> exists even on freestanding compilers. */ 18888 18889 #ifdef __STDC__ 18890 # include <limits.h> 18891 #else 18892 # include <assert.h> 18893 #endif 18894 18895 #undef av_free 18896 18897 /* Override any GCC internal prototype to avoid an error. 18898 Use char because int might match the return type of a GCC 18899 builtin and then its argument prototype would still apply. */ 18900 #ifdef __cplusplus 18901 extern "C" 18902 #endif 18903 char av_free (); 18904 /* The GNU C library defines this for functions which it implements 18905 to always fail with ENOSYS. Some functions are actually named 18906 something starting with __ and the normal name is an alias. */ 18907 #if defined __stub_av_free || defined __stub___av_free 18908 choke me 18909 #endif 18910 18911 int 18912 main () 18913 { 18914 return av_free (); 18915 ; 18916 return 0; 18917 } 18918 _ACEOF 18919 rm -f conftest.$ac_objext conftest$ac_exeext 18920 if { (ac_try="$ac_link" 18921 case "(($ac_try" in 18922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18923 *) ac_try_echo=$ac_try;; 18924 esac 18925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18926 $as_echo "$ac_try_echo") >&5 18927 (eval "$ac_link") 2>conftest.er1 18928 ac_status=$? 18929 grep -v '^ *+' conftest.er1 >conftest.err 18930 rm -f conftest.er1 18931 cat conftest.err >&5 18932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18933 (exit $ac_status); } && { 18934 test -z "$ac_cxx_werror_flag" || 18935 test ! -s conftest.err 18936 } && test -s conftest$ac_exeext && { 18937 test "$cross_compiling" = yes || 18938 $as_test_x conftest$ac_exeext 18939 }; then 18940 ac_cv_func_av_free=yes 18941 else 18942 $as_echo "$as_me: failed program was:" >&5 18943 sed 's/^/| /' conftest.$ac_ext >&5 18944 18945 ac_cv_func_av_free=no 18946 fi 18947 18948 rm -rf conftest.dSYM 18949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18950 conftest$ac_exeext conftest.$ac_ext 18951 fi 18952 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_free" >&5 18953 $as_echo "$ac_cv_func_av_free" >&6; } 18954 if test "x$ac_cv_func_av_free" = x""yes; then 18955 : 18956 else 18957 { { $as_echo "$as_me:$LINENO: error: oops! no av_frame ?!?" >&5 18958 $as_echo "$as_me: error: oops! no av_frame ?!?" >&2;} 18959 { (exit 1); exit 1; }; } 18960 fi 18961 18962 { $as_echo "$as_me:$LINENO: checking for avcodec_default_release_buffer" >&5 18963 $as_echo_n "checking for avcodec_default_release_buffer... " >&6; } 18964 if test "${ac_cv_func_avcodec_default_release_buffer+set}" = set; then 18965 $as_echo_n "(cached) " >&6 18966 else 18967 cat >conftest.$ac_ext <<_ACEOF 18968 /* confdefs.h. */ 18969 _ACEOF 18970 cat confdefs.h >>conftest.$ac_ext 18971 cat >>conftest.$ac_ext <<_ACEOF 18972 /* end confdefs.h. */ 18973 /* Define avcodec_default_release_buffer to an innocuous variant, in case <limits.h> declares avcodec_default_release_buffer. 18974 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18975 #define avcodec_default_release_buffer innocuous_avcodec_default_release_buffer 18976 18977 /* System header to define __stub macros and hopefully few prototypes, 18978 which can conflict with char avcodec_default_release_buffer (); below. 18979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18980 <limits.h> exists even on freestanding compilers. */ 18981 18982 #ifdef __STDC__ 18983 # include <limits.h> 18984 #else 18985 # include <assert.h> 18986 #endif 18987 18988 #undef avcodec_default_release_buffer 18989 18990 /* Override any GCC internal prototype to avoid an error. 18991 Use char because int might match the return type of a GCC 18992 builtin and then its argument prototype would still apply. */ 18993 #ifdef __cplusplus 18994 extern "C" 18995 #endif 18996 char avcodec_default_release_buffer (); 18997 /* The GNU C library defines this for functions which it implements 18998 to always fail with ENOSYS. Some functions are actually named 18999 something starting with __ and the normal name is an alias. */ 19000 #if defined __stub_avcodec_default_release_buffer || defined __stub___avcodec_default_release_buffer 19001 choke me 19002 #endif 19003 19004 int 19005 main () 19006 { 19007 return avcodec_default_release_buffer (); 19008 ; 19009 return 0; 19010 } 19011 _ACEOF 19012 rm -f conftest.$ac_objext conftest$ac_exeext 19013 if { (ac_try="$ac_link" 19014 case "(($ac_try" in 19015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19016 *) ac_try_echo=$ac_try;; 19017 esac 19018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19019 $as_echo "$ac_try_echo") >&5 19020 (eval "$ac_link") 2>conftest.er1 19021 ac_status=$? 19022 grep -v '^ *+' conftest.er1 >conftest.err 19023 rm -f conftest.er1 19024 cat conftest.err >&5 19025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19026 (exit $ac_status); } && { 19027 test -z "$ac_cxx_werror_flag" || 19028 test ! -s conftest.err 19029 } && test -s conftest$ac_exeext && { 19030 test "$cross_compiling" = yes || 19031 $as_test_x conftest$ac_exeext 19032 }; then 19033 ac_cv_func_avcodec_default_release_buffer=yes 19034 else 19035 $as_echo "$as_me: failed program was:" >&5 19036 sed 's/^/| /' conftest.$ac_ext >&5 19037 19038 ac_cv_func_avcodec_default_release_buffer=no 19039 fi 19040 19041 rm -rf conftest.dSYM 19042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19043 conftest$ac_exeext conftest.$ac_ext 19044 fi 19045 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_default_release_buffer" >&5 19046 $as_echo "$ac_cv_func_avcodec_default_release_buffer" >&6; } 19047 if test "x$ac_cv_func_avcodec_default_release_buffer" = x""yes; then 19048 : 19049 else 19050 { { $as_echo "$as_me:$LINENO: error: oops! no avcode_default_release_buffer ?!?" >&5 19051 $as_echo "$as_me: error: oops! no avcode_default_release_buffer ?!?" >&2;} 19052 { (exit 1); exit 1; }; } 19053 fi 19054 19055 { $as_echo "$as_me:$LINENO: checking for avpicture_get_size" >&5 19056 $as_echo_n "checking for avpicture_get_size... " >&6; } 19057 if test "${ac_cv_func_avpicture_get_size+set}" = set; then 19058 $as_echo_n "(cached) " >&6 19059 else 19060 cat >conftest.$ac_ext <<_ACEOF 19061 /* confdefs.h. */ 19062 _ACEOF 19063 cat confdefs.h >>conftest.$ac_ext 19064 cat >>conftest.$ac_ext <<_ACEOF 19065 /* end confdefs.h. */ 19066 /* Define avpicture_get_size to an innocuous variant, in case <limits.h> declares avpicture_get_size. 19067 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19068 #define avpicture_get_size innocuous_avpicture_get_size 19069 19070 /* System header to define __stub macros and hopefully few prototypes, 19071 which can conflict with char avpicture_get_size (); below. 19072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19073 <limits.h> exists even on freestanding compilers. */ 19074 19075 #ifdef __STDC__ 19076 # include <limits.h> 19077 #else 19078 # include <assert.h> 19079 #endif 19080 19081 #undef avpicture_get_size 19082 19083 /* Override any GCC internal prototype to avoid an error. 19084 Use char because int might match the return type of a GCC 19085 builtin and then its argument prototype would still apply. */ 19086 #ifdef __cplusplus 19087 extern "C" 19088 #endif 19089 char avpicture_get_size (); 19090 /* The GNU C library defines this for functions which it implements 19091 to always fail with ENOSYS. Some functions are actually named 19092 something starting with __ and the normal name is an alias. */ 19093 #if defined __stub_avpicture_get_size || defined __stub___avpicture_get_size 19094 choke me 19095 #endif 19096 19097 int 19098 main () 19099 { 19100 return avpicture_get_size (); 19101 ; 19102 return 0; 19103 } 19104 _ACEOF 19105 rm -f conftest.$ac_objext conftest$ac_exeext 19106 if { (ac_try="$ac_link" 19107 case "(($ac_try" in 19108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19109 *) ac_try_echo=$ac_try;; 19110 esac 19111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19112 $as_echo "$ac_try_echo") >&5 19113 (eval "$ac_link") 2>conftest.er1 19114 ac_status=$? 19115 grep -v '^ *+' conftest.er1 >conftest.err 19116 rm -f conftest.er1 19117 cat conftest.err >&5 19118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19119 (exit $ac_status); } && { 19120 test -z "$ac_cxx_werror_flag" || 19121 test ! -s conftest.err 19122 } && test -s conftest$ac_exeext && { 19123 test "$cross_compiling" = yes || 19124 $as_test_x conftest$ac_exeext 19125 }; then 19126 ac_cv_func_avpicture_get_size=yes 19127 else 19128 $as_echo "$as_me: failed program was:" >&5 19129 sed 's/^/| /' conftest.$ac_ext >&5 19130 19131 ac_cv_func_avpicture_get_size=no 19132 fi 19133 19134 rm -rf conftest.dSYM 19135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19136 conftest$ac_exeext conftest.$ac_ext 19137 fi 19138 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avpicture_get_size" >&5 19139 $as_echo "$ac_cv_func_avpicture_get_size" >&6; } 19140 if test "x$ac_cv_func_avpicture_get_size" = x""yes; then 19141 : 19142 else 19143 { { $as_echo "$as_me:$LINENO: error: oops! no avpicture_get_size ?!?" >&5 19144 $as_echo "$as_me: error: oops! no avpicture_get_size ?!?" >&2;} 19145 { (exit 1); exit 1; }; } 19146 fi 19147 19148 { $as_echo "$as_me:$LINENO: checking for avpicture_fill" >&5 19149 $as_echo_n "checking for avpicture_fill... " >&6; } 19150 if test "${ac_cv_func_avpicture_fill+set}" = set; then 19151 $as_echo_n "(cached) " >&6 19152 else 19153 cat >conftest.$ac_ext <<_ACEOF 19154 /* confdefs.h. */ 19155 _ACEOF 19156 cat confdefs.h >>conftest.$ac_ext 19157 cat >>conftest.$ac_ext <<_ACEOF 19158 /* end confdefs.h. */ 19159 /* Define avpicture_fill to an innocuous variant, in case <limits.h> declares avpicture_fill. 19160 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19161 #define avpicture_fill innocuous_avpicture_fill 19162 19163 /* System header to define __stub macros and hopefully few prototypes, 19164 which can conflict with char avpicture_fill (); below. 19165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19166 <limits.h> exists even on freestanding compilers. */ 19167 19168 #ifdef __STDC__ 19169 # include <limits.h> 19170 #else 19171 # include <assert.h> 19172 #endif 19173 19174 #undef avpicture_fill 19175 19176 /* Override any GCC internal prototype to avoid an error. 19177 Use char because int might match the return type of a GCC 19178 builtin and then its argument prototype would still apply. */ 19179 #ifdef __cplusplus 19180 extern "C" 19181 #endif 19182 char avpicture_fill (); 19183 /* The GNU C library defines this for functions which it implements 19184 to always fail with ENOSYS. Some functions are actually named 19185 something starting with __ and the normal name is an alias. */ 19186 #if defined __stub_avpicture_fill || defined __stub___avpicture_fill 19187 choke me 19188 #endif 19189 19190 int 19191 main () 19192 { 19193 return avpicture_fill (); 19194 ; 19195 return 0; 19196 } 19197 _ACEOF 19198 rm -f conftest.$ac_objext conftest$ac_exeext 19199 if { (ac_try="$ac_link" 19200 case "(($ac_try" in 19201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19202 *) ac_try_echo=$ac_try;; 19203 esac 19204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19205 $as_echo "$ac_try_echo") >&5 19206 (eval "$ac_link") 2>conftest.er1 19207 ac_status=$? 19208 grep -v '^ *+' conftest.er1 >conftest.err 19209 rm -f conftest.er1 19210 cat conftest.err >&5 19211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19212 (exit $ac_status); } && { 19213 test -z "$ac_cxx_werror_flag" || 19214 test ! -s conftest.err 19215 } && test -s conftest$ac_exeext && { 19216 test "$cross_compiling" = yes || 19217 $as_test_x conftest$ac_exeext 19218 }; then 19219 ac_cv_func_avpicture_fill=yes 19220 else 19221 $as_echo "$as_me: failed program was:" >&5 19222 sed 's/^/| /' conftest.$ac_ext >&5 19223 19224 ac_cv_func_avpicture_fill=no 19225 fi 19226 19227 rm -rf conftest.dSYM 19228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19229 conftest$ac_exeext conftest.$ac_ext 19230 fi 19231 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avpicture_fill" >&5 19232 $as_echo "$ac_cv_func_avpicture_fill" >&6; } 19233 if test "x$ac_cv_func_avpicture_fill" = x""yes; then 19234 : 19235 else 19236 { { $as_echo "$as_me:$LINENO: error: oops! no avpicture_fill ?!?" >&5 19237 $as_echo "$as_me: error: oops! no avpicture_fill ?!?" >&2;} 19238 { (exit 1); exit 1; }; } 19239 fi 19240 19241 19242 for ac_func in sws_getCachedContext 19243 do 19244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19245 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19246 $as_echo_n "checking for $ac_func... " >&6; } 19247 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19248 $as_echo_n "(cached) " >&6 19249 else 19250 cat >conftest.$ac_ext <<_ACEOF 19251 /* confdefs.h. */ 19252 _ACEOF 19253 cat confdefs.h >>conftest.$ac_ext 19254 cat >>conftest.$ac_ext <<_ACEOF 19255 /* end confdefs.h. */ 19256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 19257 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19258 #define $ac_func innocuous_$ac_func 19259 19260 /* System header to define __stub macros and hopefully few prototypes, 19261 which can conflict with char $ac_func (); below. 19262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19263 <limits.h> exists even on freestanding compilers. */ 19264 19265 #ifdef __STDC__ 19266 # include <limits.h> 19267 #else 19268 # include <assert.h> 19269 #endif 19270 19271 #undef $ac_func 19272 19273 /* Override any GCC internal prototype to avoid an error. 19274 Use char because int might match the return type of a GCC 19275 builtin and then its argument prototype would still apply. */ 19276 #ifdef __cplusplus 19277 extern "C" 19278 #endif 19279 char $ac_func (); 19280 /* The GNU C library defines this for functions which it implements 19281 to always fail with ENOSYS. Some functions are actually named 19282 something starting with __ and the normal name is an alias. */ 19283 #if defined __stub_$ac_func || defined __stub___$ac_func 19284 choke me 19285 #endif 19286 19287 int 19288 main () 19289 { 19290 return $ac_func (); 19291 ; 19292 return 0; 19293 } 19294 _ACEOF 19295 rm -f conftest.$ac_objext conftest$ac_exeext 19296 if { (ac_try="$ac_link" 19297 case "(($ac_try" in 19298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19299 *) ac_try_echo=$ac_try;; 19300 esac 19301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19302 $as_echo "$ac_try_echo") >&5 19303 (eval "$ac_link") 2>conftest.er1 19304 ac_status=$? 19305 grep -v '^ *+' conftest.er1 >conftest.err 19306 rm -f conftest.er1 19307 cat conftest.err >&5 19308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19309 (exit $ac_status); } && { 19310 test -z "$ac_cxx_werror_flag" || 19311 test ! -s conftest.err 19312 } && test -s conftest$ac_exeext && { 19313 test "$cross_compiling" = yes || 19314 $as_test_x conftest$ac_exeext 19315 }; then 19316 eval "$as_ac_var=yes" 19317 else 19318 $as_echo "$as_me: failed program was:" >&5 19319 sed 's/^/| /' conftest.$ac_ext >&5 19320 19321 eval "$as_ac_var=no" 19322 fi 19323 19324 rm -rf conftest.dSYM 19325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19326 conftest$ac_exeext conftest.$ac_ext 19327 fi 19328 ac_res=`eval 'as_val=${'$as_ac_var'} 19329 $as_echo "$as_val"'` 19330 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19331 $as_echo "$ac_res" >&6; } 19332 as_val=`eval 'as_val=${'$as_ac_var'} 19333 $as_echo "$as_val"'` 19334 if test "x$as_val" = x""yes; then 9952 #define HAVE_AVFORMAT_CLOSE_INPUT 1 9953 _ACEOF 9954 9955 fi 9956 done 9957 9958 9959 ac_fn_cxx_check_func "$LINENO" "avcodec_find_decoder" "ac_cv_func_avcodec_find_decoder" 9960 if test "x$ac_cv_func_avcodec_find_decoder" = xyes; then : 9961 9962 else 9963 as_fn_error $? "oops! no av_codec_find_decoder ?!?" "$LINENO" 5 9964 fi 9965 9966 ac_fn_cxx_check_func "$LINENO" "avcodec_alloc_frame" "ac_cv_func_avcodec_alloc_frame" 9967 if test "x$ac_cv_func_avcodec_alloc_frame" = xyes; then : 9968 9969 else 9970 as_fn_error $? "oops! no avcode_alloc_frame ?!?" "$LINENO" 5 9971 fi 9972 9973 ac_fn_cxx_check_func "$LINENO" "av_rescale_q" "ac_cv_func_av_rescale_q" 9974 if test "x$ac_cv_func_av_rescale_q" = xyes; then : 9975 9976 else 9977 as_fn_error $? "oops! no av_rescale_q ?!?" "$LINENO" 5 9978 fi 9979 9980 ac_fn_cxx_check_func "$LINENO" "av_read_frame" "ac_cv_func_av_read_frame" 9981 if test "x$ac_cv_func_av_read_frame" = xyes; then : 9982 9983 else 9984 as_fn_error $? "oops! av_read_frame ?!?" "$LINENO" 5 9985 fi 9986 9987 ac_fn_cxx_check_func "$LINENO" "av_free" "ac_cv_func_av_free" 9988 if test "x$ac_cv_func_av_free" = xyes; then : 9989 9990 else 9991 as_fn_error $? "oops! no av_frame ?!?" "$LINENO" 5 9992 fi 9993 9994 ac_fn_cxx_check_func "$LINENO" "avcodec_default_release_buffer" "ac_cv_func_avcodec_default_release_buffer" 9995 if test "x$ac_cv_func_avcodec_default_release_buffer" = xyes; then : 9996 9997 else 9998 as_fn_error $? "oops! no avcode_default_release_buffer ?!?" "$LINENO" 5 9999 fi 10000 10001 ac_fn_cxx_check_func "$LINENO" "avpicture_get_size" "ac_cv_func_avpicture_get_size" 10002 if test "x$ac_cv_func_avpicture_get_size" = xyes; then : 10003 10004 else 10005 as_fn_error $? "oops! no avpicture_get_size ?!?" "$LINENO" 5 10006 fi 10007 10008 ac_fn_cxx_check_func "$LINENO" "avpicture_fill" "ac_cv_func_avpicture_fill" 10009 if test "x$ac_cv_func_avpicture_fill" = xyes; then : 10010 10011 else 10012 as_fn_error $? "oops! no avpicture_fill ?!?" "$LINENO" 5 10013 fi 10014 10015 for ac_func in sws_getCachedContext 10016 do : 10017 ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext" 10018 if test "x$ac_cv_func_sws_getCachedContext" = xyes; then : 19335 10019 cat >>confdefs.h <<_ACEOF 19336 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19337 _ACEOF 19338 19339 fi 19340 done 19341 19342 19343 for ac_func in img_convert 19344 do 19345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19346 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19347 $as_echo_n "checking for $ac_func... " >&6; } 19348 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19349 $as_echo_n "(cached) " >&6 19350 else 19351 cat >conftest.$ac_ext <<_ACEOF 19352 /* confdefs.h. */ 19353 _ACEOF 19354 cat confdefs.h >>conftest.$ac_ext 19355 cat >>conftest.$ac_ext <<_ACEOF 19356 /* end confdefs.h. */ 19357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 19358 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19359 #define $ac_func innocuous_$ac_func 19360 19361 /* System header to define __stub macros and hopefully few prototypes, 19362 which can conflict with char $ac_func (); below. 19363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19364 <limits.h> exists even on freestanding compilers. */ 19365 19366 #ifdef __STDC__ 19367 # include <limits.h> 19368 #else 19369 # include <assert.h> 19370 #endif 19371 19372 #undef $ac_func 19373 19374 /* Override any GCC internal prototype to avoid an error. 19375 Use char because int might match the return type of a GCC 19376 builtin and then its argument prototype would still apply. */ 19377 #ifdef __cplusplus 19378 extern "C" 19379 #endif 19380 char $ac_func (); 19381 /* The GNU C library defines this for functions which it implements 19382 to always fail with ENOSYS. Some functions are actually named 19383 something starting with __ and the normal name is an alias. */ 19384 #if defined __stub_$ac_func || defined __stub___$ac_func 19385 choke me 19386 #endif 19387 19388 int 19389 main () 19390 { 19391 return $ac_func (); 19392 ; 19393 return 0; 19394 } 19395 _ACEOF 19396 rm -f conftest.$ac_objext conftest$ac_exeext 19397 if { (ac_try="$ac_link" 19398 case "(($ac_try" in 19399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19400 *) ac_try_echo=$ac_try;; 19401 esac 19402 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19403 $as_echo "$ac_try_echo") >&5 19404 (eval "$ac_link") 2>conftest.er1 19405 ac_status=$? 19406 grep -v '^ *+' conftest.er1 >conftest.err 19407 rm -f conftest.er1 19408 cat conftest.err >&5 19409 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19410 (exit $ac_status); } && { 19411 test -z "$ac_cxx_werror_flag" || 19412 test ! -s conftest.err 19413 } && test -s conftest$ac_exeext && { 19414 test "$cross_compiling" = yes || 19415 $as_test_x conftest$ac_exeext 19416 }; then 19417 eval "$as_ac_var=yes" 19418 else 19419 $as_echo "$as_me: failed program was:" >&5 19420 sed 's/^/| /' conftest.$ac_ext >&5 19421 19422 eval "$as_ac_var=no" 19423 fi 19424 19425 rm -rf conftest.dSYM 19426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19427 conftest$ac_exeext conftest.$ac_ext 19428 fi 19429 ac_res=`eval 'as_val=${'$as_ac_var'} 19430 $as_echo "$as_val"'` 19431 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19432 $as_echo "$ac_res" >&6; } 19433 as_val=`eval 'as_val=${'$as_ac_var'} 19434 $as_echo "$as_val"'` 19435 if test "x$as_val" = x""yes; then 10020 #define HAVE_SWS_GETCACHEDCONTEXT 1 10021 _ACEOF 10022 10023 fi 10024 done 10025 10026 for ac_func in img_convert 10027 do : 10028 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 10029 if test "x$ac_cv_func_img_convert" = xyes; then : 19436 10030 cat >>confdefs.h <<_ACEOF 19437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19438 _ACEOF 19439 19440 fi 19441 done 19442 19443 19444 for ac_func in sws_scale 19445 do 19446 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19447 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19448 $as_echo_n "checking for $ac_func... " >&6; } 19449 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19450 $as_echo_n "(cached) " >&6 19451 else 19452 cat >conftest.$ac_ext <<_ACEOF 19453 /* confdefs.h. */ 19454 _ACEOF 19455 cat confdefs.h >>conftest.$ac_ext 19456 cat >>conftest.$ac_ext <<_ACEOF 19457 /* end confdefs.h. */ 19458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 19459 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19460 #define $ac_func innocuous_$ac_func 19461 19462 /* System header to define __stub macros and hopefully few prototypes, 19463 which can conflict with char $ac_func (); below. 19464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19465 <limits.h> exists even on freestanding compilers. */ 19466 19467 #ifdef __STDC__ 19468 # include <limits.h> 19469 #else 19470 # include <assert.h> 19471 #endif 19472 19473 #undef $ac_func 19474 19475 /* Override any GCC internal prototype to avoid an error. 19476 Use char because int might match the return type of a GCC 19477 builtin and then its argument prototype would still apply. */ 19478 #ifdef __cplusplus 19479 extern "C" 19480 #endif 19481 char $ac_func (); 19482 /* The GNU C library defines this for functions which it implements 19483 to always fail with ENOSYS. Some functions are actually named 19484 something starting with __ and the normal name is an alias. */ 19485 #if defined __stub_$ac_func || defined __stub___$ac_func 19486 choke me 19487 #endif 19488 19489 int 19490 main () 19491 { 19492 return $ac_func (); 19493 ; 19494 return 0; 19495 } 19496 _ACEOF 19497 rm -f conftest.$ac_objext conftest$ac_exeext 19498 if { (ac_try="$ac_link" 19499 case "(($ac_try" in 19500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19501 *) ac_try_echo=$ac_try;; 19502 esac 19503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19504 $as_echo "$ac_try_echo") >&5 19505 (eval "$ac_link") 2>conftest.er1 19506 ac_status=$? 19507 grep -v '^ *+' conftest.er1 >conftest.err 19508 rm -f conftest.er1 19509 cat conftest.err >&5 19510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19511 (exit $ac_status); } && { 19512 test -z "$ac_cxx_werror_flag" || 19513 test ! -s conftest.err 19514 } && test -s conftest$ac_exeext && { 19515 test "$cross_compiling" = yes || 19516 $as_test_x conftest$ac_exeext 19517 }; then 19518 eval "$as_ac_var=yes" 19519 else 19520 $as_echo "$as_me: failed program was:" >&5 19521 sed 's/^/| /' conftest.$ac_ext >&5 19522 19523 eval "$as_ac_var=no" 19524 fi 19525 19526 rm -rf conftest.dSYM 19527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19528 conftest$ac_exeext conftest.$ac_ext 19529 fi 19530 ac_res=`eval 'as_val=${'$as_ac_var'} 19531 $as_echo "$as_val"'` 19532 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19533 $as_echo "$ac_res" >&6; } 19534 as_val=`eval 'as_val=${'$as_ac_var'} 19535 $as_echo "$as_val"'` 19536 if test "x$as_val" = x""yes; then 10031 #define HAVE_IMG_CONVERT 1 10032 _ACEOF 10033 10034 fi 10035 done 10036 10037 for ac_func in sws_scale 10038 do : 10039 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale" 10040 if test "x$ac_cv_func_sws_scale" = xyes; then : 19537 10041 cat >>confdefs.h <<_ACEOF 19538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19539 _ACEOF 19540 19541 fi 19542 done 19543 19544 cat >conftest.$ac_ext <<_ACEOF 19545 /* confdefs.h. */ 19546 _ACEOF 19547 cat confdefs.h >>conftest.$ac_ext 19548 cat >>conftest.$ac_ext <<_ACEOF 10042 #define HAVE_SWS_SCALE 1 10043 _ACEOF 10044 10045 fi 10046 done 10047 10048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19549 10049 /* end confdefs.h. */ 19550 10050 … … 19567 10067 } 19568 10068 _ACEOF 19569 rm -f conftest.$ac_objext 19570 if { (ac_try="$ac_compile" 19571 case "(($ac_try" in 19572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19573 *) ac_try_echo=$ac_try;; 19574 esac 19575 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19576 $as_echo "$ac_try_echo") >&5 19577 (eval "$ac_compile") 2>conftest.er1 19578 ac_status=$? 19579 grep -v '^ *+' conftest.er1 >conftest.err 19580 rm -f conftest.er1 19581 cat conftest.err >&5 19582 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19583 (exit $ac_status); } && { 19584 test -z "$ac_cxx_werror_flag" || 19585 test ! -s conftest.err 19586 } && test -s conftest.$ac_objext; then 10069 if ac_fn_cxx_try_compile "$LINENO"; then : 19587 10070 ac_avmedia_type_video="yes" 19588 10071 else 19589 $as_echo "$as_me: failed program was:" >&5 19590 sed 's/^/| /' conftest.$ac_ext >&5 19591 19592 ac_avmedia_type_video="no" 19593 fi 19594 10072 ac_avmedia_type_video="no" 10073 fi 19595 10074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19596 10075 if test "$ac_avmedia_type_video" == "yes" ; then 19597 10076 19598 cat >>confdefs.h <<\_ACEOF 19599 #define HAVE_AVMEDIA_TYPE_VIDEO 1 19600 _ACEOF 10077 $as_echo "#define HAVE_AVMEDIA_TYPE_VIDEO 1" >>confdefs.h 19601 10078 19602 10079 fi 19603 10080 fi 10081 19604 10082 19605 10083 … … 19723 10201 *${as_nl}*) 19724 10202 case $ac_var in #( 19725 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&510203 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 19726 10204 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 19727 10205 esac … … 19729 10207 _ | IFS | as_nl) ;; #( 19730 10208 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 19731 *) $as_unset $ac_var;;10209 *) { eval $ac_var=; unset $ac_var;} ;; 19732 10210 esac ;; 19733 10211 esac … … 19737 10215 case $as_nl`(ac_space=' '; set) 2>&1` in #( 19738 10216 *${as_nl}ac_space=\ *) 19739 # `set' does not quote correctly, so add quotes (double-quote19740 # substitution turns \\\\ into \\, and sed turns \\ into \ ).10217 # `set' does not quote correctly, so add quotes: double-quote 10218 # substitution turns \\\\ into \\, and sed turns \\ into \. 19741 10219 sed -n \ 19742 10220 "s/'/'\\\\''/g; … … 19760 10238 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 19761 10239 if test -w "$cache_file"; then 19762 test "x$cache_file" != "x/dev/null" &&19763 { $as_echo "$as_me:$ LINENO: updating cache $cache_file" >&510240 if test "x$cache_file" != "x/dev/null"; then 10241 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 19764 10242 $as_echo "$as_me: updating cache $cache_file" >&6;} 19765 cat confcache >$cache_file 10243 if test ! -f "$cache_file" || test -h "$cache_file"; then 10244 cat confcache >"$cache_file" 10245 else 10246 case $cache_file in #( 10247 */* | ?:*) 10248 mv -f confcache "$cache_file"$$ && 10249 mv -f "$cache_file"$$ "$cache_file" ;; #( 10250 *) 10251 mv -f confcache "$cache_file" ;; 10252 esac 10253 fi 10254 fi 19766 10255 else 19767 { $as_echo "$as_me:$ LINENO: not updating unwritable cache $cache_file" >&510256 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 19768 10257 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 19769 10258 fi … … 19779 10268 ac_libobjs= 19780 10269 ac_ltlibobjs= 10270 U= 19781 10271 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 19782 10272 # 1. Remove the extension, and $U if already installed. … … 19785 10275 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 19786 10276 # will be set to the directory where LIBOBJS objects are built. 19787 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"19788 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'10277 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 10278 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 19789 10279 done 19790 10280 LIBOBJS=$ac_libobjs … … 19795 10285 19796 10286 19797 : ${CONFIG_STATUS=./config.status}10287 : "${CONFIG_STATUS=./config.status}" 19798 10288 ac_write_fail=0 19799 10289 ac_clean_files_save=$ac_clean_files 19800 10290 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 19801 { $as_echo "$as_me:$ LINENO: creating $CONFIG_STATUS" >&510291 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 19802 10292 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 19803 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10293 as_write_fail=0 10294 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 19804 10295 #! $SHELL 19805 10296 # Generated by $as_me. … … 19811 10302 ac_cs_recheck=false 19812 10303 ac_cs_silent=false 10304 19813 10305 SHELL=\${CONFIG_SHELL-$SHELL} 19814 _ACEOF 19815 19816 cat >>$CONFIG_STATUS <<\_A CEOF || ac_write_fail=119817 ## -------------------- -##19818 ## M4sh Initialization. 19819 ## -------------------- -##10306 export SHELL 10307 _ASEOF 10308 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 10309 ## -------------------- ## 10310 ## M4sh Initialization. ## 10311 ## -------------------- ## 19820 10312 19821 10313 # Be more Bourne compatible 19822 10314 DUALCASE=1; export DUALCASE # for MKS sh 19823 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 10315 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 19824 10316 emulate sh 19825 10317 NULLCMD=: … … 19829 10321 setopt NO_GLOB_SUBST 19830 10322 else 19831 case `(set -o) 2>/dev/null` in 19832 *posix*) set -o posix ;; 10323 case `(set -o) 2>/dev/null` in #( 10324 *posix*) : 10325 set -o posix ;; #( 10326 *) : 10327 ;; 19833 10328 esac 19834 19835 fi 19836 19837 19838 19839 19840 # PATH needs CR 19841 # Avoid depending upon Character Ranges. 19842 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 19843 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 19844 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 19845 as_cr_digits='0123456789' 19846 as_cr_alnum=$as_cr_Letters$as_cr_digits 10329 fi 10330 19847 10331 19848 10332 as_nl=' … … 19853 10337 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 19854 10338 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 19855 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 10339 # Prefer a ksh shell builtin over an external printf program on Solaris, 10340 # but without wasting forks for bash or zsh. 10341 if test -z "$BASH_VERSION$ZSH_VERSION" \ 10342 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 10343 as_echo='print -r --' 10344 as_echo_n='print -rn --' 10345 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 19856 10346 as_echo='printf %s\n' 19857 10347 as_echo_n='printf %s' … … 19864 10354 as_echo_n_body='eval 19865 10355 arg=$1; 19866 case $arg in 10356 case $arg in #( 19867 10357 *"$as_nl"*) 19868 10358 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 19887 10377 fi 19888 10378 19889 # Support unset when possible.19890 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then19891 as_unset=unset19892 else19893 as_unset=false19894 fi19895 19896 10379 19897 10380 # IFS … … 19903 10386 19904 10387 # Find who we are. Look in the path if we contain no directory separator. 19905 case $0 in 10388 as_myself= 10389 case $0 in #(( 19906 10390 *[\\/]* ) as_myself=$0 ;; 19907 10391 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 19910 10394 IFS=$as_save_IFS 19911 10395 test -z "$as_dir" && as_dir=. 19912 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break19913 done10396 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 10397 done 19914 10398 IFS=$as_save_IFS 19915 10399 … … 19923 10407 if test ! -f "$as_myself"; then 19924 10408 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 19925 { (exit 1); exit 1; } 19926 fi 19927 19928 # Work around bugs in pre-3.0 UWIN ksh. 19929 for as_var in ENV MAIL MAILPATH 19930 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 10409 exit 1 10410 fi 10411 10412 # Unset variables that we do not need and which cause bugs (e.g. in 10413 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 10414 # suppresses any "Segmentation fault" message there. '((' could 10415 # trigger a bug in pdksh 5.2.14. 10416 for as_var in BASH_ENV ENV MAIL MAILPATH 10417 do eval test x\${$as_var+set} = xset \ 10418 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 19931 10419 done 19932 10420 PS1='$ ' … … 19940 10428 export LANGUAGE 19941 10429 19942 # Required to use basename. 10430 # CDPATH. 10431 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 10432 10433 10434 # as_fn_error STATUS ERROR [LINENO LOG_FD] 10435 # ---------------------------------------- 10436 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 10437 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 10438 # script with STATUS, using 1 if that was 0. 10439 as_fn_error () 10440 { 10441 as_status=$1; test $as_status -eq 0 && as_status=1 10442 if test "$4"; then 10443 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 10444 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 10445 fi 10446 $as_echo "$as_me: error: $2" >&2 10447 as_fn_exit $as_status 10448 } # as_fn_error 10449 10450 10451 # as_fn_set_status STATUS 10452 # ----------------------- 10453 # Set $? to STATUS, without forking. 10454 as_fn_set_status () 10455 { 10456 return $1 10457 } # as_fn_set_status 10458 10459 # as_fn_exit STATUS 10460 # ----------------- 10461 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 10462 as_fn_exit () 10463 { 10464 set +e 10465 as_fn_set_status $1 10466 exit $1 10467 } # as_fn_exit 10468 10469 # as_fn_unset VAR 10470 # --------------- 10471 # Portably unset VAR. 10472 as_fn_unset () 10473 { 10474 { eval $1=; unset $1;} 10475 } 10476 as_unset=as_fn_unset 10477 # as_fn_append VAR VALUE 10478 # ---------------------- 10479 # Append the text in VALUE to the end of the definition contained in VAR. Take 10480 # advantage of any shell optimizations that allow amortized linear growth over 10481 # repeated appends, instead of the typical quadratic growth present in naive 10482 # implementations. 10483 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 10484 eval 'as_fn_append () 10485 { 10486 eval $1+=\$2 10487 }' 10488 else 10489 as_fn_append () 10490 { 10491 eval $1=\$$1\$2 10492 } 10493 fi # as_fn_append 10494 10495 # as_fn_arith ARG... 10496 # ------------------ 10497 # Perform arithmetic evaluation on the ARGs, and store the result in the 10498 # global $as_val. Take advantage of shells that can avoid forks. The arguments 10499 # must be portable across $(()) and expr. 10500 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 10501 eval 'as_fn_arith () 10502 { 10503 as_val=$(( $* )) 10504 }' 10505 else 10506 as_fn_arith () 10507 { 10508 as_val=`expr "$@" || test $? -eq 1` 10509 } 10510 fi # as_fn_arith 10511 10512 19943 10513 if expr a : '\(a\)' >/dev/null 2>&1 && 19944 10514 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 19954 10524 fi 19955 10525 19956 19957 # Name of the executable. 10526 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 10527 as_dirname=dirname 10528 else 10529 as_dirname=false 10530 fi 10531 19958 10532 as_me=`$as_basename -- "$0" || 19959 10533 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 19975 10549 s/.*/./; q'` 19976 10550 19977 # CDPATH. 19978 $as_unset CDPATH 19979 19980 19981 19982 as_lineno_1=$LINENO 19983 as_lineno_2=$LINENO 19984 test "x$as_lineno_1" != "x$as_lineno_2" && 19985 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 19986 19987 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 19988 # uniformly replaced by the line number. The first 'sed' inserts a 19989 # line-number line after each line using $LINENO; the second 'sed' 19990 # does the real work. The second script uses 'N' to pair each 19991 # line-number line with the line containing $LINENO, and appends 19992 # trailing '-' during substitution so that $LINENO is not a special 19993 # case at line end. 19994 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 19995 # scripts with optimization help from Paolo Bonzini. Blame Lee 19996 # E. McMahon (1931-1989) for sed's syntax. :-) 19997 sed -n ' 19998 p 19999 /[$]LINENO/= 20000 ' <$as_myself | 20001 sed ' 20002 s/[$]LINENO.*/&-/ 20003 t lineno 20004 b 20005 :lineno 20006 N 20007 :loop 20008 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 20009 t loop 20010 s/-\n.*// 20011 ' >$as_me.lineno && 20012 chmod +x "$as_me.lineno" || 20013 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 20014 { (exit 1); exit 1; }; } 20015 20016 # Don't try to exec as it changes $[0], causing all sort of problems 20017 # (the dirname of $[0] is not the place where we might find the 20018 # original and so on. Autoconf is especially sensitive to this). 20019 . "./$as_me.lineno" 20020 # Exit status is that of the last command. 20021 exit 20022 } 20023 20024 20025 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 20026 as_dirname=dirname 20027 else 20028 as_dirname=false 20029 fi 10551 # Avoid depending upon Character Ranges. 10552 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 10553 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 10554 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 10555 as_cr_digits='0123456789' 10556 as_cr_alnum=$as_cr_Letters$as_cr_digits 20030 10557 20031 10558 ECHO_C= ECHO_N= ECHO_T= 20032 case `echo -n x` in 10559 case `echo -n x` in #((((( 20033 10560 -n*) 20034 case `echo 'x \c'` in10561 case `echo 'xy\c'` in 20035 10562 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 20036 *) ECHO_C='\c';; 10563 xy) ECHO_C='\c';; 10564 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 10565 ECHO_T=' ';; 20037 10566 esac;; 20038 10567 *) 20039 10568 ECHO_N='-n';; 20040 10569 esac 20041 if expr a : '\(a\)' >/dev/null 2>&1 &&20042 test "X`expr 00001 : '.*\(...\)'`" = X001; then20043 as_expr=expr20044 else20045 as_expr=false20046 fi20047 10570 20048 10571 rm -f conf$$ conf$$.exe conf$$.file … … 20059 10582 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 20060 10583 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 20061 # In both cases, we have to default to `cp -p '.10584 # In both cases, we have to default to `cp -pR'. 20062 10585 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 20063 as_ln_s='cp -p '10586 as_ln_s='cp -pR' 20064 10587 elif ln conf$$.file conf$$ 2>/dev/null; then 20065 10588 as_ln_s=ln 20066 10589 else 20067 as_ln_s='cp -p '10590 as_ln_s='cp -pR' 20068 10591 fi 20069 10592 else 20070 as_ln_s='cp -p '10593 as_ln_s='cp -pR' 20071 10594 fi 20072 10595 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 20073 10596 rmdir conf$$.dir 2>/dev/null 20074 10597 10598 10599 # as_fn_mkdir_p 10600 # ------------- 10601 # Create "$as_dir" as a directory, including parents if necessary. 10602 as_fn_mkdir_p () 10603 { 10604 10605 case $as_dir in #( 10606 -*) as_dir=./$as_dir;; 10607 esac 10608 test -d "$as_dir" || eval $as_mkdir_p || { 10609 as_dirs= 10610 while :; do 10611 case $as_dir in #( 10612 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10613 *) as_qdir=$as_dir;; 10614 esac 10615 as_dirs="'$as_qdir' $as_dirs" 10616 as_dir=`$as_dirname -- "$as_dir" || 10617 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10618 X"$as_dir" : 'X\(//\)[^/]' \| \ 10619 X"$as_dir" : 'X\(//\)$' \| \ 10620 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10621 $as_echo X"$as_dir" | 10622 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10623 s//\1/ 10624 q 10625 } 10626 /^X\(\/\/\)[^/].*/{ 10627 s//\1/ 10628 q 10629 } 10630 /^X\(\/\/\)$/{ 10631 s//\1/ 10632 q 10633 } 10634 /^X\(\/\).*/{ 10635 s//\1/ 10636 q 10637 } 10638 s/.*/./; q'` 10639 test -d "$as_dir" && break 10640 done 10641 test -z "$as_dirs" || eval "mkdir $as_dirs" 10642 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 10643 10644 10645 } # as_fn_mkdir_p 20075 10646 if mkdir -p . 2>/dev/null; then 20076 as_mkdir_p= :10647 as_mkdir_p='mkdir -p "$as_dir"' 20077 10648 else 20078 10649 test -d ./-p && rmdir ./-p … … 20080 10651 fi 20081 10652 20082 if test -x / >/dev/null 2>&1; then 20083 as_test_x='test -x' 20084 else 20085 if ls -dL / >/dev/null 2>&1; then 20086 as_ls_L_option=L 20087 else 20088 as_ls_L_option= 20089 fi 20090 as_test_x=' 20091 eval sh -c '\'' 20092 if test -d "$1"; then 20093 test -d "$1/."; 20094 else 20095 case $1 in 20096 -*)set "./$1";; 20097 esac; 20098 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 20099 ???[sx]*):;;*)false;;esac;fi 20100 '\'' sh 20101 ' 20102 fi 20103 as_executable_p=$as_test_x 10653 10654 # as_fn_executable_p FILE 10655 # ----------------------- 10656 # Test if FILE is an executable regular file. 10657 as_fn_executable_p () 10658 { 10659 test -f "$1" && test -x "$1" 10660 } # as_fn_executable_p 10661 as_test_x='test -x' 10662 as_executable_p=as_fn_executable_p 20104 10663 20105 10664 # Sed expression to map a string onto a valid CPP name. … … 20111 10670 20112 10671 exec 6>&1 20113 20114 # Save the log message, to keep $[0] and so on meaningful, and to 10672 ## ----------------------------------- ## 10673 ## Main body of $CONFIG_STATUS script. ## 10674 ## ----------------------------------- ## 10675 _ASEOF 10676 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 10677 10678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10679 # Save the log message, to keep $0 and so on meaningful, and to 20115 10680 # report actual input values of CONFIG_FILES etc. instead of their 20116 10681 # values after options handling. 20117 10682 ac_log=" 20118 10683 This file was extended by Rappture $as_me 1.2, which was 20119 generated by GNU Autoconf 2.6 3. Invocation command line was10684 generated by GNU Autoconf 2.69. Invocation command line was 20120 10685 20121 10686 CONFIG_FILES = $CONFIG_FILES … … 20148 10713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20149 10714 ac_cs_usage="\ 20150 \`$as_me' instantiates files from templates according to the 20151 current configuration. 20152 20153 Usage: $0 [OPTION]... [FILE]... 10715 \`$as_me' instantiates files and other configuration actions 10716 from templates according to the current configuration. Unless the files 10717 and actions are specified as TAGs, all are instantiated by default. 10718 10719 Usage: $0 [OPTION]... [TAG]... 20154 10720 20155 10721 -h, --help print this help, then exit 20156 10722 -V, --version print version number and configuration settings, then exit 10723 --config print configuration, then exit 20157 10724 -q, --quiet, --silent 20158 10725 do not print progress messages … … 20170 10737 $config_headers 20171 10738 20172 Report bugs to < bug-autoconf@gnu.org>."10739 Report bugs to <rappture@nanohub.org>." 20173 10740 20174 10741 _ACEOF 20175 10742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10743 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 20176 10744 ac_cs_version="\\ 20177 10745 Rappture config.status 1.2 20178 configured by $0, generated by GNU Autoconf 2.6 3,20179 with options \\" `$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"20180 20181 Copyright (C) 20 08Free Software Foundation, Inc.10746 configured by $0, generated by GNU Autoconf 2.69, 10747 with options \\"\$ac_cs_config\\" 10748 10749 Copyright (C) 2012 Free Software Foundation, Inc. 20182 10750 This config.status script is free software; the Free Software Foundation 20183 10751 gives unlimited permission to copy, distribute and modify it." … … 20187 10755 INSTALL='$INSTALL' 20188 10756 MKDIR_P='$MKDIR_P' 20189 AWK='$AWK'20190 10757 test -n "\$AWK" || AWK=awk 20191 10758 _ACEOF … … 20197 10764 do 20198 10765 case $1 in 20199 --*= *)10766 --*=?*) 20200 10767 ac_option=`expr "X$1" : 'X\([^=]*\)='` 20201 10768 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 10769 ac_shift=: 10770 ;; 10771 --*=) 10772 ac_option=`expr "X$1" : 'X\([^=]*\)='` 10773 ac_optarg= 20202 10774 ac_shift=: 20203 10775 ;; … … 20215 10787 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 20216 10788 $as_echo "$ac_cs_version"; exit ;; 10789 --config | --confi | --conf | --con | --co | --c ) 10790 $as_echo "$ac_cs_config"; exit ;; 20217 10791 --debug | --debu | --deb | --de | --d | -d ) 20218 10792 debug=: ;; … … 20221 10795 case $ac_optarg in 20222 10796 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10797 '') as_fn_error $? "missing file argument" ;; 20223 10798 esac 20224 CONFIG_FILES="$CONFIG_FILES'$ac_optarg'"10799 as_fn_append CONFIG_FILES " '$ac_optarg'" 20225 10800 ac_need_defaults=false;; 20226 10801 --header | --heade | --head | --hea ) … … 20229 10804 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 20230 10805 esac 20231 CONFIG_HEADERS="$CONFIG_HEADERS'$ac_optarg'"10806 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 20232 10807 ac_need_defaults=false;; 20233 10808 --he | --h) 20234 10809 # Conflict between --help and --header 20235 { $as_echo "$as_me: error: ambiguous option: $1 20236 Try \`$0 --help' for more information." >&2 20237 { (exit 1); exit 1; }; };; 10810 as_fn_error $? "ambiguous option: \`$1' 10811 Try \`$0 --help' for more information.";; 20238 10812 --help | --hel | -h ) 20239 10813 $as_echo "$ac_cs_usage"; exit ;; … … 20243 10817 20244 10818 # This is an error. 20245 -*) { $as_echo "$as_me: error: unrecognized option: $1 20246 Try \`$0 --help' for more information." >&2 20247 { (exit 1); exit 1; }; } ;; 20248 20249 *) ac_config_targets="$ac_config_targets $1" 10819 -*) as_fn_error $? "unrecognized option: \`$1' 10820 Try \`$0 --help' for more information." ;; 10821 10822 *) as_fn_append ac_config_targets " $1" 20250 10823 ac_need_defaults=false ;; 20251 10824 … … 20264 10837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20265 10838 if \$ac_cs_recheck; then 20266 set X '$SHELL''$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion10839 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 20267 10840 shift 20268 10841 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 … … 20427 11000 "oldtest/src/Makefile") CONFIG_FILES="$CONFIG_FILES oldtest/src/Makefile" ;; 20428 11001 20429 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 20430 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 20431 { (exit 1); exit 1; }; };; 11002 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 20432 11003 esac 20433 11004 done … … 20451 11022 $debug || 20452 11023 { 20453 tmp= 11024 tmp= ac_tmp= 20454 11025 trap 'exit_status=$? 20455 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 11026 : "${ac_tmp:=$tmp}" 11027 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 20456 11028 ' 0 20457 trap ' { (exit 1); exit 1; }' 1 2 13 1511029 trap 'as_fn_exit 1' 1 2 13 15 20458 11030 } 20459 11031 # Create a (secure) tmp directory for tmp files. … … 20461 11033 { 20462 11034 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 20463 test - n "$tmp" && test -d "$tmp"11035 test -d "$tmp" 20464 11036 } || 20465 11037 { 20466 11038 tmp=./conf$$-$RANDOM 20467 11039 (umask 077 && mkdir "$tmp") 20468 } || 20469 { 20470 $as_echo "$as_me: cannot create a temporary directory in ." >&2 20471 { (exit 1); exit 1; } 20472 } 11040 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 11041 ac_tmp=$tmp 20473 11042 20474 11043 # Set up the scripts for CONFIG_FILES section. … … 20478 11047 20479 11048 20480 ac_cr=' 20481 ' 11049 ac_cr=`echo X | tr X '\015'` 11050 # On cygwin, bash can eat \r inside `` if the user requested igncr. 11051 # But we know of no other shell where ac_cr would be empty at this 11052 # point, so we can use a bashism as a fallback. 11053 if test "x$ac_cr" = x; then 11054 eval ac_cr=\$\'\\r\' 11055 fi 20482 11056 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 20483 11057 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then … … 20487 11061 fi 20488 11062 20489 echo 'BEGIN {' >"$ tmp/subs1.awk" &&11063 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 20490 11064 _ACEOF 20491 11065 … … 20496 11070 echo "_ACEOF" 20497 11071 } >conf$$subs.sh || 20498 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 20499 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 20500 { (exit 1); exit 1; }; } 20501 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 11072 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 11073 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 20502 11074 ac_delim='%!_!# ' 20503 11075 for ac_last_try in false false false false false :; do 20504 11076 . ./conf$$subs.sh || 20505 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 20506 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 20507 { (exit 1); exit 1; }; } 11077 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 20508 11078 20509 11079 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 20511 11081 break 20512 11082 elif $ac_last_try; then 20513 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 20514 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 20515 { (exit 1); exit 1; }; } 11083 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 20516 11084 else 20517 11085 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 20521 11089 20522 11090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20523 cat >>"\$ tmp/subs1.awk" <<\\_ACAWK &&11091 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 20524 11092 _ACEOF 20525 11093 sed -n ' … … 20535 11103 :nl 20536 11104 h 20537 s/\(.\{148\}\). */\1/11105 s/\(.\{148\}\)..*/\1/ 20538 11106 t more1 20539 11107 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 20549 11117 :delim 20550 11118 h 20551 s/\(.\{148\}\). */\1/11119 s/\(.\{148\}\)..*/\1/ 20552 11120 t more2 20553 11121 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 20569 11137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20570 11138 _ACAWK 20571 cat >>"\$ tmp/subs1.awk" <<_ACAWK &&11139 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 20572 11140 for (key in S) S_is_set[key] = 1 20573 11141 FS = "" … … 20601 11169 else 20602 11170 cat 20603 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 20604 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 20605 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 20606 { (exit 1); exit 1; }; } 20607 _ACEOF 20608 20609 # VPATH may cause trouble with some makes, so we remove $(srcdir), 20610 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 11171 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 11172 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 11173 _ACEOF 11174 11175 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 11176 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 20611 11177 # trailing colons and then remove the whole line if VPATH becomes empty 20612 11178 # (actually we leave an empty line to preserve line numbers). 20613 11179 if test "x$srcdir" = x.; then 20614 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 20615 s/:*\$(srcdir):*/:/ 20616 s/:*\${srcdir}:*/:/ 20617 s/:*@srcdir@:*/:/ 20618 s/^\([^=]*=[ ]*\):*/\1/ 11180 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 11181 h 11182 s/// 11183 s/^/:/ 11184 s/[ ]*$/:/ 11185 s/:\$(srcdir):/:/g 11186 s/:\${srcdir}:/:/g 11187 s/:@srcdir@:/:/g 11188 s/^:*// 20619 11189 s/:*$// 11190 x 11191 s/\(=[ ]*\).*/\1/ 11192 G 11193 s/\n// 20620 11194 s/^[^=]*=[ ]*$// 20621 11195 }' … … 20629 11203 # This happens for instance with `./config.status Makefile'. 20630 11204 if test -n "$CONFIG_HEADERS"; then 20631 cat >"$ tmp/defines.awk" <<\_ACAWK ||11205 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 20632 11206 BEGIN { 20633 11207 _ACEOF … … 20641 11215 ac_delim='%!_!# ' 20642 11216 for ac_last_try in false false :; do 20643 ac_t =`sed -n "/$ac_delim/p" confdefs.h`20644 if test -z "$ac_t "; then11217 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 11218 if test -z "$ac_tt"; then 20645 11219 break 20646 11220 elif $ac_last_try; then 20647 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 20648 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 20649 { (exit 1); exit 1; }; } 11221 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 20650 11222 else 20651 11223 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 20732 11304 _ACEOF 20733 11305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20734 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 20735 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 20736 { (exit 1); exit 1; }; } 11306 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 20737 11307 fi # test -n "$CONFIG_HEADERS" 20738 11308 … … 20747 11317 case $ac_mode$ac_tag in 20748 11318 :[FHL]*:*);; 20749 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 20750 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 20751 { (exit 1); exit 1; }; };; 11319 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 20752 11320 :[FH]-) ac_tag=-:-;; 20753 11321 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 20768 11336 do 20769 11337 case $ac_f in 20770 -) ac_f="$ tmp/stdin";;11338 -) ac_f="$ac_tmp/stdin";; 20771 11339 *) # Look for the file first in the build tree, then in the source tree 20772 11340 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 20777 11345 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 20778 11346 esac || 20779 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 20780 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 20781 { (exit 1); exit 1; }; };; 11347 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 20782 11348 esac 20783 11349 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 20784 a c_file_inputs="$ac_file_inputs'$ac_f'"11350 as_fn_append ac_file_inputs " '$ac_f'" 20785 11351 done 20786 11352 … … 20793 11359 if test x"$ac_file" != x-; then 20794 11360 configure_input="$ac_file. $configure_input" 20795 { $as_echo "$as_me:$ LINENO: creating $ac_file" >&511361 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 20796 11362 $as_echo "$as_me: creating $ac_file" >&6;} 20797 11363 fi … … 20805 11371 20806 11372 case $ac_tag in 20807 *:-:* | *:-) cat >"$tmp/stdin" \ 20808 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 20809 $as_echo "$as_me: error: could not create $ac_file" >&2;} 20810 { (exit 1); exit 1; }; } ;; 11373 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 11374 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 20811 11375 esac 20812 11376 ;; … … 20836 11400 } 20837 11401 s/.*/./; q'` 20838 { as_dir="$ac_dir" 20839 case $as_dir in #( 20840 -*) as_dir=./$as_dir;; 20841 esac 20842 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 20843 as_dirs= 20844 while :; do 20845 case $as_dir in #( 20846 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 20847 *) as_qdir=$as_dir;; 20848 esac 20849 as_dirs="'$as_qdir' $as_dirs" 20850 as_dir=`$as_dirname -- "$as_dir" || 20851 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20852 X"$as_dir" : 'X\(//\)[^/]' \| \ 20853 X"$as_dir" : 'X\(//\)$' \| \ 20854 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 20855 $as_echo X"$as_dir" | 20856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20857 s//\1/ 20858 q 20859 } 20860 /^X\(\/\/\)[^/].*/{ 20861 s//\1/ 20862 q 20863 } 20864 /^X\(\/\/\)$/{ 20865 s//\1/ 20866 q 20867 } 20868 /^X\(\/\).*/{ 20869 s//\1/ 20870 q 20871 } 20872 s/.*/./; q'` 20873 test -d "$as_dir" && break 20874 done 20875 test -z "$as_dirs" || eval "mkdir $as_dirs" 20876 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 20877 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 20878 { (exit 1); exit 1; }; }; } 11402 as_dir="$ac_dir"; as_fn_mkdir_p 20879 11403 ac_builddir=. 20880 11404 … … 20933 11457 # FIXME: This hack should be removed a few years after 2.60. 20934 11458 ac_datarootdir_hack=; ac_datarootdir_seen= 20935 20936 11459 ac_sed_dataroot=' 20937 11460 /datarootdir/ { … … 20943 11466 /@infodir@/p 20944 11467 /@localedir@/p 20945 /@mandir@/p 20946 ' 11468 /@mandir@/p' 20947 11469 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 20948 11470 *datarootdir*) ac_datarootdir_seen=yes;; 20949 11471 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 20950 { $as_echo "$as_me:$ LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&511472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 20951 11473 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 20952 11474 _ACEOF … … 20958 11480 s&@localedir@&$localedir&g 20959 11481 s&@mandir@&$mandir&g 20960 11482 s&\\\${datarootdir}&$datarootdir&g' ;; 20961 11483 esac 20962 11484 _ACEOF … … 20986 11508 $ac_datarootdir_hack 20987 11509 " 20988 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 20989 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 20990 $as_echo "$as_me: error: could not create $ac_file" >&2;} 20991 { (exit 1); exit 1; }; } 11510 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 11511 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20992 11512 20993 11513 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 20994 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 20995 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 20996 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20997 which seems to be undefined. Please make sure it is defined." >&5 11514 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 11515 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 11516 "$ac_tmp/out"`; test -z "$ac_out"; } && 11517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11518 which seems to be undefined. Please make sure it is defined" >&5 20998 11519 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20999 which seems to be undefined. Please make sure it is defined ." >&2;}21000 21001 rm -f "$ tmp/stdin"11520 which seems to be undefined. Please make sure it is defined" >&2;} 11521 11522 rm -f "$ac_tmp/stdin" 21002 11523 case $ac_file in 21003 -) cat "$ tmp/out" && rm -f "$tmp/out";;21004 *) rm -f "$ac_file" && mv "$ tmp/out" "$ac_file";;11524 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 11525 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 21005 11526 esac \ 21006 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 21007 $as_echo "$as_me: error: could not create $ac_file" >&2;} 21008 { (exit 1); exit 1; }; } 11527 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 21009 11528 ;; 21010 11529 :H) … … 21015 11534 { 21016 11535 $as_echo "/* $configure_input */" \ 21017 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 21018 } >"$tmp/config.h" \ 21019 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 21020 $as_echo "$as_me: error: could not create $ac_file" >&2;} 21021 { (exit 1); exit 1; }; } 21022 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 21023 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 11536 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 11537 } >"$ac_tmp/config.h" \ 11538 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11539 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 11540 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 21024 11541 $as_echo "$as_me: $ac_file is unchanged" >&6;} 21025 11542 else 21026 11543 rm -f "$ac_file" 21027 mv "$tmp/config.h" "$ac_file" \ 21028 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 21029 $as_echo "$as_me: error: could not create $ac_file" >&2;} 21030 { (exit 1); exit 1; }; } 11544 mv "$ac_tmp/config.h" "$ac_file" \ 11545 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 21031 11546 fi 21032 11547 else 21033 11548 $as_echo "/* $configure_input */" \ 21034 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 21035 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 21036 $as_echo "$as_me: error: could not create -" >&2;} 21037 { (exit 1); exit 1; }; } 11549 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 11550 || as_fn_error $? "could not create -" "$LINENO" 5 21038 11551 fi 21039 11552 ;; … … 21045 11558 21046 11559 21047 { (exit 0); exit 0; } 21048 _ACEOF 21049 chmod +x $CONFIG_STATUS 11560 as_fn_exit 0 11561 _ACEOF 21050 11562 ac_clean_files=$ac_clean_files_save 21051 11563 21052 11564 test $ac_write_fail = 0 || 21053 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 21054 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 21055 { (exit 1); exit 1; }; } 11565 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 21056 11566 21057 11567 … … 21074 11584 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 21075 11585 # would make configure fail if this is the last instruction. 21076 $ac_cs_success || { (exit 1); exit 1; }11586 $ac_cs_success || as_fn_exit 1 21077 11587 fi 21078 11588 … … 21118 11628 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 21119 11629 esac 21120 a c_sub_configure_args="$ac_sub_configure_args'$ac_arg'" ;;11630 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 21121 11631 esac 21122 11632 done … … 21147 11657 21148 11658 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 21149 $as_echo "$as_me:$ LINENO: $ac_msg" >&511659 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 21150 11660 $as_echo "$ac_msg" >&6 21151 { as_dir="$ac_dir" 21152 case $as_dir in #( 21153 -*) as_dir=./$as_dir;; 21154 esac 21155 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 21156 as_dirs= 21157 while :; do 21158 case $as_dir in #( 21159 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 21160 *) as_qdir=$as_dir;; 21161 esac 21162 as_dirs="'$as_qdir' $as_dirs" 21163 as_dir=`$as_dirname -- "$as_dir" || 21164 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21165 X"$as_dir" : 'X\(//\)[^/]' \| \ 21166 X"$as_dir" : 'X\(//\)$' \| \ 21167 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 21168 $as_echo X"$as_dir" | 21169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 21170 s//\1/ 21171 q 21172 } 21173 /^X\(\/\/\)[^/].*/{ 21174 s//\1/ 21175 q 21176 } 21177 /^X\(\/\/\)$/{ 21178 s//\1/ 21179 q 21180 } 21181 /^X\(\/\).*/{ 21182 s//\1/ 21183 q 21184 } 21185 s/.*/./; q'` 21186 test -d "$as_dir" && break 21187 done 21188 test -z "$as_dirs" || eval "mkdir $as_dirs" 21189 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 21190 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 21191 { (exit 1); exit 1; }; }; } 11661 as_dir="$ac_dir"; as_fn_mkdir_p 21192 11662 ac_builddir=. 21193 11663 … … 21236 11706 ac_sub_configure=$ac_aux_dir/configure 21237 11707 else 21238 { $as_echo "$as_me:$ LINENO: WARNING: no configuration information is in $ac_dir" >&511708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 21239 11709 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 21240 11710 ac_sub_configure= … … 21250 11720 esac 21251 11721 21252 { $as_echo "$as_me:$ LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&511722 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 21253 11723 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 21254 11724 # The eval makes quoting arguments work. 21255 11725 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 21256 11726 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 21257 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 21258 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 21259 { (exit 1); exit 1; }; } 11727 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 21260 11728 fi 21261 11729 … … 21264 11732 fi 21265 11733 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 21266 { $as_echo "$as_me:$ LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&511734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 21267 11735 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 21268 11736 fi -
branches/1.2/configure.in
r3570 r3601 207 207 RP_LANG_JAVA 208 208 RP_LANG_R 209 210 RUBY="" 211 RUBY_DEV_PKG="no" 212 213 AC_ARG_WITH( 214 [ruby], 215 [AS_HELP_STRING([--with-ruby=DIR], [location of ruby @<:@default=yes@:>@])], 216 [], 217 [with_ruby="yes"]) 218 219 if test "${with_ruby}" != "no" ; then 220 if test "${with_ruby}" = "yes" ; then 221 AC_PATH_PROG(RUBY, ruby) 222 else 223 AC_PATH_PROG(RUBY, ruby, [], [${with_ruby}/bin:${with_ruby}]) 224 fi 225 fi 226 227 RUBY_VERSION_RV= 228 RUBY_PLATFORM= 229 if test "x${RUBY}" != "x" ; then 230 AX_PROG_RUBY_VERSION 231 RUBY_VERSION_RV=`echo ${RUBY_VERSION} | cut -d'.' -f1-2` 232 RUBY_PLATFORM=`ruby -e 'puts RUBY_PLATFORM'` 233 ac_mkmf_result=`${RUBY} -r mkmf -e ";" 2>&1` 234 if test -z "$ac_mkmf_result"; then 235 HAVE_RUBY_DEVEL="yes" 236 AX_RUBY_DEV_FLAGS([${RUBY}]) 237 fi 238 fi 239 209 RP_LANG_RUBY 240 210 241 211 RP_BASE=`pwd` -
branches/1.2/src/core/config.h.in
r3373 r3601 70 70 #undef HAVE_CTYPE_H 71 71 72 /* Define to 1 if you have the <env.h> header file. */ 73 #undef HAVE_ENV_H 74 72 75 /* Define to 1 if you have the <errno.h> header file. */ 73 76 #undef HAVE_ERRNO_H 74 77 78 /* Render servers can use ffmpeg */ 79 #undef HAVE_FFMPEG 80 75 81 /* Define to 1 if you have the <ffmpeg/avcodec.h> header file. */ 76 82 #undef HAVE_FFMPEG_AVCODEC_H … … 154 160 #undef HAVE_NCURSES_H 155 161 162 /* Define to 1 if you have the <node.h> header file. */ 163 #undef HAVE_NODE_H 164 156 165 /* Define to 1 if you have the <Python.h> header file. */ 157 166 #undef HAVE_PYTHON_H 158 167 168 /* Define to 1 if you have the <ruby.h> header file. */ 169 #undef HAVE_RUBY_H 170 171 /* Define to 1 if you have the <ruby/node.h> header file. */ 172 #undef HAVE_RUBY_NODE_H 173 159 174 /* Define to 1 if you have the <sstream> header file. */ 160 175 #undef HAVE_SSTREAM … … 208 223 #undef HAVE_VECTOR 209 224 225 /* Define to 1 if you have the <version.h> header file. */ 226 #undef HAVE_VERSION_H 227 210 228 /* Define to the address where bug reports for this package should be sent. */ 211 229 #undef PACKAGE_BUGREPORT … … 225 243 /* Define to the version of this package. */ 226 244 #undef PACKAGE_VERSION 245 246 /* Define this macro to use ruby/node.h */ 247 #undef REALLY_HAVE_RUBY_NODE_H 227 248 228 249 /* The size of `int', as computed by sizeof. */
Note: See TracChangeset
for help on using the changeset viewer.