Changeset 3362 for trunk/packages/vizservers/configure
- Timestamp:
- Feb 26, 2013, 1:34:35 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:mergeinfo
set to
/branches/nanovis2 merged eligible
-
Property
svn:mergeinfo
set to
-
trunk/packages/vizservers/configure
r3335 r3362 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 9for vizservers 0.1.3 # Generated by GNU Autoconf 2.63 for vizservers 0.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 # 10 # 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 11 9 # This configure script is free software; the Free Software Foundation 12 10 # gives unlimited permission to copy, distribute and modify it. 13 ## -------------------- ##14 ## M4sh Initialization. ##15 ## -------------------- ##11 ## --------------------- ## 12 ## M4sh Initialization. ## 13 ## --------------------- ## 16 14 17 15 # Be more Bourne compatible 18 16 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 20 18 emulate sh 21 19 NULLCMD=: … … 25 23 setopt NO_GLOB_SUBST 26 24 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 35 41 36 42 as_nl=' … … 41 47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 50 as_echo='printf %s\n' 51 51 as_echo_n='printf %s' … … 58 58 as_echo_n_body='eval 59 59 arg=$1; 60 case $arg in #(60 case $arg in 61 61 *"$as_nl"*) 62 62 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 81 81 fi 82 82 83 # Support unset when possible. 84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 85 as_unset=unset 86 else 87 as_unset=false 88 fi 89 83 90 84 91 # IFS … … 90 97 91 98 # Find who we are. Look in the path if we contain no directory separator. 92 as_myself= 93 case $0 in #(( 99 case $0 in 94 100 *[\\/]* ) as_myself=$0 ;; 95 101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 98 104 IFS=$as_save_IFS 99 105 test -z "$as_dir" && as_dir=. 100 101 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 107 done 102 108 IFS=$as_save_IFS 103 109 … … 111 117 if test ! -f "$as_myself"; then 112 118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114 fi 115 116 # Unset variables that we do not need and which cause bugs (e.g. in 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 # suppresses any "Segmentation fault" message there. '((' could 119 # trigger a bug in pdksh 5.2.14. 120 for as_var in BASH_ENV ENV MAIL MAILPATH 121 do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 119 { (exit 1); exit 1; } 120 fi 121 122 # Work around bugs in pre-3.0 UWIN ksh. 123 for as_var in ENV MAIL MAILPATH 124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 125 done 124 126 PS1='$ ' … … 132 134 export LANGUAGE 133 135 134 # CDPATH. 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 # Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142 # neutralization value for shells without unset; and this also 143 # works around shells that cannot unset nonexistent variables. 144 # Preserve -v and -x to the replacement shell. 145 BASH_ENV=/dev/null 146 ENV=/dev/null 147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148 case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153 esac 154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 # Admittedly, this is quite paranoid, since all the known shells bail 156 # out after a failed `exec'. 157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162 if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170 else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176 esac 177 fi 178 " 179 as_required="as_fn_return () { (exit \$1); } 180 as_fn_success () { as_fn_return 0; } 181 as_fn_failure () { as_fn_return 1; } 182 as_fn_ret_success () { return 0; } 183 as_fn_ret_failure () { return 1; } 184 185 exitcode=0 186 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192 else 193 exitcode=1; echo positional parameters were not saved. 194 fi 195 test x\$exitcode = x0 || exit 1 196 test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204 else 205 as_have_required=no 206 fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209 else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211 as_found=false 212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213 do 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227 fi 228 fi 229 done;; 230 esac 231 as_found=false 232 done 233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236 fi; } 237 IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243 # neutralization value for shells without unset; and this also 244 # works around shells that cannot unset nonexistent variables. 245 # Preserve -v and -x to the replacement shell. 246 BASH_ENV=/dev/null 247 ENV=/dev/null 248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249 case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254 esac 255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256 # Admittedly, this is quite paranoid, since all the known shells bail 257 # out after a failed `exec'. 258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259 exit 255 260 fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and 270 $0: rappture@nanohub.org about your system, including any 271 $0: error possibly output before this message. Then install 272 $0: a modern shell, or manually run the script under such a 273 $0: shell if you do have one." 274 fi 275 exit 1 276 fi 277 fi 278 fi 279 SHELL=${CONFIG_SHELL-/bin/sh} 280 export SHELL 281 # Unset more variables known to interfere with behavior of common tools. 282 CLICOLOR_FORCE= GREP_OPTIONS= 283 unset CLICOLOR_FORCE GREP_OPTIONS 284 285 ## --------------------- ## 286 ## M4sh Shell Functions. ## 287 ## --------------------- ## 288 # as_fn_unset VAR 289 # --------------- 290 # Portably unset VAR. 291 as_fn_unset () 292 { 293 { eval $1=; unset $1;} 294 } 295 as_unset=as_fn_unset 296 297 # as_fn_set_status STATUS 298 # ----------------------- 299 # Set $? to STATUS, without forking. 300 as_fn_set_status () 301 { 302 return $1 303 } # as_fn_set_status 304 305 # as_fn_exit STATUS 306 # ----------------- 307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 308 as_fn_exit () 309 { 310 set +e 311 as_fn_set_status $1 312 exit $1 313 } # as_fn_exit 314 315 # as_fn_mkdir_p 316 # ------------- 317 # Create "$as_dir" as a directory, including parents if necessary. 318 as_fn_mkdir_p () 319 { 320 321 case $as_dir in #( 322 -*) as_dir=./$as_dir;; 323 esac 324 test -d "$as_dir" || eval $as_mkdir_p || { 325 as_dirs= 326 while :; do 327 case $as_dir in #( 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 329 *) as_qdir=$as_dir;; 330 esac 331 as_dirs="'$as_qdir' $as_dirs" 332 as_dir=`$as_dirname -- "$as_dir" || 333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 334 X"$as_dir" : 'X\(//\)[^/]' \| \ 335 X"$as_dir" : 'X\(//\)$' \| \ 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 337 $as_echo X"$as_dir" | 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)[^/].*/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\/\)$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\).*/{ 351 s//\1/ 352 q 353 } 354 s/.*/./; q'` 355 test -d "$as_dir" && break 356 done 357 test -z "$as_dirs" || eval "mkdir $as_dirs" 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 359 360 361 } # as_fn_mkdir_p 362 363 # as_fn_executable_p FILE 364 # ----------------------- 365 # Test if FILE is an executable regular file. 366 as_fn_executable_p () 367 { 368 test -f "$1" && test -x "$1" 369 } # as_fn_executable_p 370 # as_fn_append VAR VALUE 371 # ---------------------- 372 # Append the text in VALUE to the end of the definition contained in VAR. Take 373 # advantage of any shell optimizations that allow amortized linear growth over 374 # repeated appends, instead of the typical quadratic growth present in naive 375 # implementations. 376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 377 eval 'as_fn_append () 378 { 379 eval $1+=\$2 380 }' 381 else 382 as_fn_append () 383 { 384 eval $1=\$$1\$2 385 } 386 fi # as_fn_append 387 388 # as_fn_arith ARG... 389 # ------------------ 390 # Perform arithmetic evaluation on the ARGs, and store the result in the 391 # global $as_val. Take advantage of shells that can avoid forks. The arguments 392 # must be portable across $(()) and expr. 393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 394 eval 'as_fn_arith () 395 { 396 as_val=$(( $* )) 397 }' 398 else 399 as_fn_arith () 400 { 401 as_val=`expr "$@" || test $? -eq 1` 402 } 403 fi # as_fn_arith 404 405 406 # as_fn_error STATUS ERROR [LINENO LOG_FD] 407 # ---------------------------------------- 408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 410 # script with STATUS, using 1 if that was 0. 411 as_fn_error () 412 { 413 as_status=$1; test $as_status -eq 0 && as_status=1 414 if test "$4"; then 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 417 fi 418 $as_echo "$as_me: error: $2" >&2 419 as_fn_exit $as_status 420 } # as_fn_error 421 136 # Required to use basename. 422 137 if expr a : '\(a\)' >/dev/null 2>&1 && 423 138 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 433 148 fi 434 149 435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 436 as_dirname=dirname 437 else 438 as_dirname=false 439 fi 440 150 151 # Name of the executable. 441 152 as_me=`$as_basename -- "$0" || 442 153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 458 169 s/.*/./; q'` 459 170 460 # Avoid depending upon Character Ranges. 461 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 464 as_cr_digits='0123456789' 465 as_cr_alnum=$as_cr_Letters$as_cr_digits 466 467 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 171 # CDPATH. 172 $as_unset CDPATH 173 174 175 if test "x$CONFIG_SHELL" = x; then 176 if (eval ":") 2>/dev/null; then 177 as_have_required=yes 178 else 179 as_have_required=no 180 fi 181 182 if test $as_have_required = yes && (eval ": 183 (as_func_return () { 184 (exit \$1) 185 } 186 as_func_success () { 187 as_func_return 0 188 } 189 as_func_failure () { 190 as_func_return 1 191 } 192 as_func_ret_success () { 193 return 0 194 } 195 as_func_ret_failure () { 196 return 1 197 } 198 199 exitcode=0 200 if as_func_success; then 201 : 202 else 203 exitcode=1 204 echo as_func_success failed. 205 fi 206 207 if as_func_failure; then 208 exitcode=1 209 echo as_func_failure succeeded. 210 fi 211 212 if as_func_ret_success; then 213 : 214 else 215 exitcode=1 216 echo as_func_ret_success failed. 217 fi 218 219 if as_func_ret_failure; then 220 exitcode=1 221 echo as_func_ret_failure succeeded. 222 fi 223 224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225 : 226 else 227 exitcode=1 228 echo positional parameters were not saved. 229 fi 230 231 test \$exitcode = 0) || { (exit 1); exit 1; } 232 233 ( 234 as_lineno_1=\$LINENO 235 as_lineno_2=\$LINENO 236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238 ") 2> /dev/null; then 239 : 240 else 241 as_candidate_shells= 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244 do 245 IFS=$as_save_IFS 246 test -z "$as_dir" && as_dir=. 247 case $as_dir in 248 /*) 249 for as_base in sh bash ksh sh5; do 250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251 done;; 252 esac 253 done 254 IFS=$as_save_IFS 255 256 257 for as_shell in $as_candidate_shells $SHELL; do 258 # Try only shells that exist, to save several forks. 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260 { ("$as_shell") 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 _ASEOF 278 }; then 279 CONFIG_SHELL=$as_shell 280 as_have_required=yes 281 if { "$as_shell" 2> /dev/null <<\_ASEOF 282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283 emulate sh 284 NULLCMD=: 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286 # is contrary to our usage. Disable this feature. 287 alias -g '${1+"$@"}'='"$@"' 288 setopt NO_GLOB_SUBST 289 else 290 case `(set -o) 2>/dev/null` in 291 *posix*) set -o posix ;; 292 esac 293 294 fi 295 296 297 : 298 (as_func_return () { 299 (exit $1) 300 } 301 as_func_success () { 302 as_func_return 0 303 } 304 as_func_failure () { 305 as_func_return 1 306 } 307 as_func_ret_success () { 308 return 0 309 } 310 as_func_ret_failure () { 311 return 1 312 } 313 314 exitcode=0 315 if as_func_success; then 316 : 317 else 318 exitcode=1 319 echo as_func_success failed. 320 fi 321 322 if as_func_failure; then 323 exitcode=1 324 echo as_func_failure succeeded. 325 fi 326 327 if as_func_ret_success; then 328 : 329 else 330 exitcode=1 331 echo as_func_ret_success failed. 332 fi 333 334 if as_func_ret_failure; then 335 exitcode=1 336 echo as_func_ret_failure succeeded. 337 fi 338 339 if ( set x; as_func_ret_success y && test x = "$1" ); then 340 : 341 else 342 exitcode=1 343 echo positional parameters were not saved. 344 fi 345 346 test $exitcode = 0) || { (exit 1); exit 1; } 347 348 ( 349 as_lineno_1=$LINENO 350 as_lineno_2=$LINENO 351 test "x$as_lineno_1" != "x$as_lineno_2" && 352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353 354 _ASEOF 355 }; then 356 break 357 fi 358 359 fi 360 361 done 362 363 if test "x$CONFIG_SHELL" != x; then 364 for as_var in BASH_ENV ENV 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369 fi 370 371 372 if test $as_have_required = no; then 373 echo This script requires a shell more modern than all the 374 echo shells that I found on your system. Please install a 375 echo modern shell, or manually run the script under such a 376 echo shell if you do have one. 377 { (exit 1); exit 1; } 378 fi 379 380 381 fi 382 383 fi 384 385 386 387 (eval "as_func_return () { 388 (exit \$1) 389 } 390 as_func_success () { 391 as_func_return 0 392 } 393 as_func_failure () { 394 as_func_return 1 395 } 396 as_func_ret_success () { 397 return 0 398 } 399 as_func_ret_failure () { 400 return 1 401 } 402 403 exitcode=0 404 if as_func_success; then 405 : 406 else 407 exitcode=1 408 echo as_func_success failed. 409 fi 410 411 if as_func_failure; then 412 exitcode=1 413 echo as_func_failure succeeded. 414 fi 415 416 if as_func_ret_success; then 417 : 418 else 419 exitcode=1 420 echo as_func_ret_success failed. 421 fi 422 423 if as_func_ret_failure; then 424 exitcode=1 425 echo as_func_ret_failure succeeded. 426 fi 427 428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429 : 430 else 431 exitcode=1 432 echo positional parameters were not saved. 433 fi 434 435 test \$exitcode = 0") || { 436 echo No shell found that supports shell functions. 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 441 } 442 443 444 445 as_lineno_1=$LINENO 446 as_lineno_2=$LINENO 447 test "x$as_lineno_1" != "x$as_lineno_2" && 448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449 450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451 # uniformly replaced by the line number. The first 'sed' inserts a 452 # line-number line after each line using $LINENO; the second 'sed' 453 # does the real work. The second script uses 'N' to pair each 454 # line-number line with the line containing $LINENO, and appends 455 # trailing '-' during substitution so that $LINENO is not a special 456 # case at line end. 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458 # scripts with optimization help from Paolo Bonzini. Blame Lee 459 # E. McMahon (1931-1989) for sed's syntax. :-) 473 460 sed -n ' 474 461 p … … 487 474 ' >$as_me.lineno && 488 475 chmod +x "$as_me.lineno" || 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 490 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 492 # already done that, so ensure we don't try to do so again and fall 493 # in an infinite loop. This has already happened in practice. 494 _as_can_reexec=no; export _as_can_reexec 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 478 495 479 # Don't try to exec as it changes $[0], causing all sort of problems 496 480 # (the dirname of $[0] is not the place where we might find the … … 501 485 } 502 486 487 488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 489 as_dirname=dirname 490 else 491 as_dirname=false 492 fi 493 503 494 ECHO_C= ECHO_N= ECHO_T= 504 case `echo -n x` in #(((((495 case `echo -n x` in 505 496 -n*) 506 case `echo 'x y\c'` in497 case `echo 'x\c'` in 507 498 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 499 *) ECHO_C='\c';; 511 500 esac;; 512 501 *) 513 502 ECHO_N='-n';; 514 503 esac 504 if expr a : '\(a\)' >/dev/null 2>&1 && 505 test "X`expr 00001 : '.*\(...\)'`" = X001; then 506 as_expr=expr 507 else 508 as_expr=false 509 fi 515 510 516 511 rm -f conf$$ conf$$.exe conf$$.file … … 527 522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 528 523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 529 # In both cases, we have to default to `cp -p R'.524 # In both cases, we have to default to `cp -p'. 530 525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 531 as_ln_s='cp -p R'526 as_ln_s='cp -p' 532 527 elif ln conf$$.file conf$$ 2>/dev/null; then 533 528 as_ln_s=ln 534 529 else 535 as_ln_s='cp -p R'530 as_ln_s='cp -p' 536 531 fi 537 532 else 538 as_ln_s='cp -p R'533 as_ln_s='cp -p' 539 534 fi 540 535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 542 537 543 538 if mkdir -p . 2>/dev/null; then 544 as_mkdir_p= 'mkdir -p "$as_dir"'539 as_mkdir_p=: 545 540 else 546 541 test -d ./-p && rmdir ./-p … … 548 543 fi 549 544 550 as_test_x='test -x' 551 as_executable_p=as_fn_executable_p 545 if test -x / >/dev/null 2>&1; then 546 as_test_x='test -x' 547 else 548 if ls -dL / >/dev/null 2>&1; then 549 as_ls_L_option=L 550 else 551 as_ls_L_option= 552 fi 553 as_test_x=' 554 eval sh -c '\'' 555 if test -d "$1"; then 556 test -d "$1/."; 557 else 558 case $1 in 559 -*)set "./$1";; 560 esac; 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 562 ???[sx]*):;;*)false;;esac;fi 563 '\'' sh 564 ' 565 fi 566 as_executable_p=$as_test_x 552 567 553 568 # Sed expression to map a string onto a valid CPP name. … … 558 573 559 574 560 test -n "$DJDIR" || exec 7<&0 </dev/null 561 exec 6>&1575 576 exec 7<&0 </dev/null 6>&1 562 577 563 578 # Name of the host. 564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 565 580 # so uname gets run too. 566 581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 577 592 MFLAGS= 578 593 MAKEFLAGS= 594 SHELL=${CONFIG_SHELL-/bin/sh} 579 595 580 596 # Identity of this package. … … 584 600 PACKAGE_STRING='vizservers 0.1' 585 601 PACKAGE_BUGREPORT='rappture@nanohub.org' 586 PACKAGE_URL=''587 602 588 603 # Factoring default headers for most tests. … … 721 736 prefix 722 737 exec_prefix 723 PACKAGE_URL724 738 PACKAGE_BUGREPORT 725 739 PACKAGE_STRING … … 820 834 821 835 case $ac_option in 822 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 823 *=) ac_optarg= ;; 824 *) ac_optarg=yes ;; 836 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 837 *) ac_optarg=yes ;; 825 838 esac 826 839 … … 867 880 # Reject names that are not valid shell variable names. 868 881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 869 as_fn_error $? "invalid feature name: $ac_useropt" 882 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 883 { (exit 1); exit 1; }; } 870 884 ac_useropt_orig=$ac_useropt 871 885 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 893 907 # Reject names that are not valid shell variable names. 894 908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 895 as_fn_error $? "invalid feature name: $ac_useropt" 909 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 910 { (exit 1); exit 1; }; } 896 911 ac_useropt_orig=$ac_useropt 897 912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1097 1112 # Reject names that are not valid shell variable names. 1098 1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1099 as_fn_error $? "invalid package name: $ac_useropt" 1114 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1115 { (exit 1); exit 1; }; } 1100 1116 ac_useropt_orig=$ac_useropt 1101 1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1113 1129 # Reject names that are not valid shell variable names. 1114 1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1115 as_fn_error $? "invalid package name: $ac_useropt" 1131 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1132 { (exit 1); exit 1; }; } 1116 1133 ac_useropt_orig=$ac_useropt 1117 1134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1143 1160 x_libraries=$ac_optarg ;; 1144 1161 1145 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1146 Try \`$0 --help' for more information" 1162 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1163 Try \`$0 --help' for more information." >&2 1164 { (exit 1); exit 1; }; } 1147 1165 ;; 1148 1166 … … 1150 1168 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1151 1169 # Reject names that are not valid shell variable names. 1152 case $ac_envvar in #( 1153 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1154 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1155 esac 1170 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1171 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1172 { (exit 1); exit 1; }; } 1156 1173 eval $ac_envvar=\$ac_optarg 1157 1174 export $ac_envvar ;; … … 1162 1179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1163 1180 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1164 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"1181 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1165 1182 ;; 1166 1183 … … 1170 1187 if test -n "$ac_prev"; then 1171 1188 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1172 as_fn_error $? "missing argument to $ac_option" 1189 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1190 { (exit 1); exit 1; }; } 1173 1191 fi 1174 1192 … … 1176 1194 case $enable_option_checking in 1177 1195 no) ;; 1178 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1196 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1197 { (exit 1); exit 1; }; } ;; 1179 1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1180 1199 esac … … 1199 1218 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1200 1219 esac 1201 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1220 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1221 { (exit 1); exit 1; }; } 1202 1222 done 1203 1223 … … 1213 1233 if test "x$build_alias" = x; then 1214 1234 cross_compiling=maybe 1235 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1236 If a cross compiler is detected then cross compile mode will be used." >&2 1215 1237 elif test "x$build_alias" != "x$host_alias"; then 1216 1238 cross_compiling=yes … … 1227 1249 ac_ls_di=`ls -di .` && 1228 1250 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1229 as_fn_error $? "working directory cannot be determined" 1251 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1252 { (exit 1); exit 1; }; } 1230 1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1231 as_fn_error $? "pwd does not report name of working directory" 1254 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1255 { (exit 1); exit 1; }; } 1232 1256 1233 1257 … … 1268 1292 if test ! -r "$srcdir/$ac_unique_file"; then 1269 1293 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1270 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1294 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1295 { (exit 1); exit 1; }; } 1271 1296 fi 1272 1297 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1273 1298 ac_abs_confdir=`( 1274 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1299 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1300 { (exit 1); exit 1; }; } 1275 1301 pwd)` 1276 1302 # When building in place, set srcdir=. … … 1312 1338 --help=recursive display the short help of all the included packages 1313 1339 -V, --version display version information and exit 1314 -q, --quiet, --silent do not print \`checking 1340 -q, --quiet, --silent do not print \`checking...' messages 1315 1341 --cache-file=FILE cache test results in FILE [disabled] 1316 1342 -C, --config-cache alias for \`--cache-file=config.cache' … … 1395 1421 nonstandard directory <lib dir> 1396 1422 LIBS libraries to pass to the linker, e.g. -l<library> 1397 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1423 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1398 1424 you have headers in a nonstandard directory <include dir> 1399 1425 CPP C preprocessor … … 1470 1496 cat <<\_ACEOF 1471 1497 vizservers configure 0.1 1472 generated by GNU Autoconf 2.69 1473 1474 Copyright (C) 2012 Free Software Foundation, Inc. 1498 generated by GNU Autoconf 2.63 1499 1500 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1501 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1475 1502 This configure script is free software; the Free Software Foundation 1476 1503 gives unlimited permission to copy, distribute and modify it. … … 1478 1505 exit 1479 1506 fi 1480 1481 ## ------------------------ ##1482 ## Autoconf initialization. ##1483 ## ------------------------ ##1484 1485 # ac_fn_c_try_compile LINENO1486 # --------------------------1487 # Try to compile conftest.$ac_ext, and return whether this succeeded.1488 ac_fn_c_try_compile ()1489 {1490 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1491 rm -f conftest.$ac_objext1492 if { { ac_try="$ac_compile"1493 case "(($ac_try" in1494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1495 *) ac_try_echo=$ac_try;;1496 esac1497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1498 $as_echo "$ac_try_echo"; } >&51499 (eval "$ac_compile") 2>conftest.err1500 ac_status=$?1501 if test -s conftest.err; then1502 grep -v '^ *+' conftest.err >conftest.er11503 cat conftest.er1 >&51504 mv -f conftest.er1 conftest.err1505 fi1506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51507 test $ac_status = 0; } && {1508 test -z "$ac_c_werror_flag" ||1509 test ! -s conftest.err1510 } && test -s conftest.$ac_objext; then :1511 ac_retval=01512 else1513 $as_echo "$as_me: failed program was:" >&51514 sed 's/^/| /' conftest.$ac_ext >&51515 1516 ac_retval=11517 fi1518 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1519 as_fn_set_status $ac_retval1520 1521 } # ac_fn_c_try_compile1522 1523 # ac_fn_c_try_cpp LINENO1524 # ----------------------1525 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1526 ac_fn_c_try_cpp ()1527 {1528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1529 if { { ac_try="$ac_cpp conftest.$ac_ext"1530 case "(($ac_try" in1531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1532 *) ac_try_echo=$ac_try;;1533 esac1534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1535 $as_echo "$ac_try_echo"; } >&51536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1537 ac_status=$?1538 if test -s conftest.err; then1539 grep -v '^ *+' conftest.err >conftest.er11540 cat conftest.er1 >&51541 mv -f conftest.er1 conftest.err1542 fi1543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51544 test $ac_status = 0; } > conftest.i && {1545 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1546 test ! -s conftest.err1547 }; then :1548 ac_retval=01549 else1550 $as_echo "$as_me: failed program was:" >&51551 sed 's/^/| /' conftest.$ac_ext >&51552 1553 ac_retval=11554 fi1555 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1556 as_fn_set_status $ac_retval1557 1558 } # ac_fn_c_try_cpp1559 1560 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1561 # -------------------------------------------------------1562 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1563 # the include files in INCLUDES and setting the cache variable VAR1564 # accordingly.1565 ac_fn_c_check_header_mongrel ()1566 {1567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1568 if eval \${$3+:} false; then :1569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51570 $as_echo_n "checking for $2... " >&6; }1571 if eval \${$3+:} false; then :1572 $as_echo_n "(cached) " >&61573 fi1574 eval ac_res=\$$31575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51576 $as_echo "$ac_res" >&6; }1577 else1578 # Is the header compilable?1579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51580 $as_echo_n "checking $2 usability... " >&6; }1581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1582 /* end confdefs.h. */1583 $41584 #include <$2>1585 _ACEOF1586 if ac_fn_c_try_compile "$LINENO"; then :1587 ac_header_compiler=yes1588 else1589 ac_header_compiler=no1590 fi1591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51593 $as_echo "$ac_header_compiler" >&6; }1594 1595 # Is the header present?1596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51597 $as_echo_n "checking $2 presence... " >&6; }1598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1599 /* end confdefs.h. */1600 #include <$2>1601 _ACEOF1602 if ac_fn_c_try_cpp "$LINENO"; then :1603 ac_header_preproc=yes1604 else1605 ac_header_preproc=no1606 fi1607 rm -f conftest.err conftest.i conftest.$ac_ext1608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51609 $as_echo "$ac_header_preproc" >&6; }1610 1611 # So? What about this header?1612 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((1613 yes:no: )1614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&51615 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}1616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51617 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1618 ;;1619 no:yes:* )1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&51621 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}1622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&51623 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&51625 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&51627 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51629 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1630 ( $as_echo "## ----------------------------------- ##1631 ## Report this to rappture@nanohub.org ##1632 ## ----------------------------------- ##"1633 ) | sed "s/^/$as_me: WARNING: /" >&21634 ;;1635 esac1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51637 $as_echo_n "checking for $2... " >&6; }1638 if eval \${$3+:} false; then :1639 $as_echo_n "(cached) " >&61640 else1641 eval "$3=\$ac_header_compiler"1642 fi1643 eval ac_res=\$$31644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51645 $as_echo "$ac_res" >&6; }1646 fi1647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1648 1649 } # ac_fn_c_check_header_mongrel1650 1651 # ac_fn_c_try_run LINENO1652 # ----------------------1653 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1654 # that executables *can* be run.1655 ac_fn_c_try_run ()1656 {1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1658 if { { ac_try="$ac_link"1659 case "(($ac_try" in1660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1661 *) ac_try_echo=$ac_try;;1662 esac1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1664 $as_echo "$ac_try_echo"; } >&51665 (eval "$ac_link") 2>&51666 ac_status=$?1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51668 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1669 { { case "(($ac_try" in1670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1671 *) ac_try_echo=$ac_try;;1672 esac1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1674 $as_echo "$ac_try_echo"; } >&51675 (eval "$ac_try") 2>&51676 ac_status=$?1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51678 test $ac_status = 0; }; }; then :1679 ac_retval=01680 else1681 $as_echo "$as_me: program exited with status $ac_status" >&51682 $as_echo "$as_me: failed program was:" >&51683 sed 's/^/| /' conftest.$ac_ext >&51684 1685 ac_retval=$ac_status1686 fi1687 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1689 as_fn_set_status $ac_retval1690 1691 } # ac_fn_c_try_run1692 1693 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1694 # -------------------------------------------------------1695 # Tests whether HEADER exists and can be compiled using the include files in1696 # INCLUDES, setting the cache variable VAR accordingly.1697 ac_fn_c_check_header_compile ()1698 {1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51701 $as_echo_n "checking for $2... " >&6; }1702 if eval \${$3+:} false; then :1703 $as_echo_n "(cached) " >&61704 else1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1706 /* end confdefs.h. */1707 $41708 #include <$2>1709 _ACEOF1710 if ac_fn_c_try_compile "$LINENO"; then :1711 eval "$3=yes"1712 else1713 eval "$3=no"1714 fi1715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1716 fi1717 eval ac_res=\$$31718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51719 $as_echo "$ac_res" >&6; }1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1721 1722 } # ac_fn_c_check_header_compile1723 1724 # ac_fn_c_try_link LINENO1725 # -----------------------1726 # Try to link conftest.$ac_ext, and return whether this succeeded.1727 ac_fn_c_try_link ()1728 {1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1730 rm -f conftest.$ac_objext conftest$ac_exeext1731 if { { ac_try="$ac_link"1732 case "(($ac_try" in1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1734 *) ac_try_echo=$ac_try;;1735 esac1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1737 $as_echo "$ac_try_echo"; } >&51738 (eval "$ac_link") 2>conftest.err1739 ac_status=$?1740 if test -s conftest.err; then1741 grep -v '^ *+' conftest.err >conftest.er11742 cat conftest.er1 >&51743 mv -f conftest.er1 conftest.err1744 fi1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51746 test $ac_status = 0; } && {1747 test -z "$ac_c_werror_flag" ||1748 test ! -s conftest.err1749 } && test -s conftest$ac_exeext && {1750 test "$cross_compiling" = yes ||1751 test -x conftest$ac_exeext1752 }; then :1753 ac_retval=01754 else1755 $as_echo "$as_me: failed program was:" >&51756 sed 's/^/| /' conftest.$ac_ext >&51757 1758 ac_retval=11759 fi1760 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1761 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1762 # interfere with the next link command; also delete a directory that is1763 # left behind by Apple's compiler. We do this before executing the actions.1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1766 as_fn_set_status $ac_retval1767 1768 } # ac_fn_c_try_link1769 1770 # ac_fn_cxx_try_compile LINENO1771 # ----------------------------1772 # Try to compile conftest.$ac_ext, and return whether this succeeded.1773 ac_fn_cxx_try_compile ()1774 {1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1776 rm -f conftest.$ac_objext1777 if { { ac_try="$ac_compile"1778 case "(($ac_try" in1779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1780 *) ac_try_echo=$ac_try;;1781 esac1782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1783 $as_echo "$ac_try_echo"; } >&51784 (eval "$ac_compile") 2>conftest.err1785 ac_status=$?1786 if test -s conftest.err; then1787 grep -v '^ *+' conftest.err >conftest.er11788 cat conftest.er1 >&51789 mv -f conftest.er1 conftest.err1790 fi1791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51792 test $ac_status = 0; } && {1793 test -z "$ac_cxx_werror_flag" ||1794 test ! -s conftest.err1795 } && test -s conftest.$ac_objext; then :1796 ac_retval=01797 else1798 $as_echo "$as_me: failed program was:" >&51799 sed 's/^/| /' conftest.$ac_ext >&51800 1801 ac_retval=11802 fi1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1804 as_fn_set_status $ac_retval1805 1806 } # ac_fn_cxx_try_compile1807 1808 # ac_fn_cxx_try_cpp LINENO1809 # ------------------------1810 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1811 ac_fn_cxx_try_cpp ()1812 {1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1814 if { { ac_try="$ac_cpp conftest.$ac_ext"1815 case "(($ac_try" in1816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1817 *) ac_try_echo=$ac_try;;1818 esac1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1820 $as_echo "$ac_try_echo"; } >&51821 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1822 ac_status=$?1823 if test -s conftest.err; then1824 grep -v '^ *+' conftest.err >conftest.er11825 cat conftest.er1 >&51826 mv -f conftest.er1 conftest.err1827 fi1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51829 test $ac_status = 0; } > conftest.i && {1830 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||1831 test ! -s conftest.err1832 }; then :1833 ac_retval=01834 else1835 $as_echo "$as_me: failed program was:" >&51836 sed 's/^/| /' conftest.$ac_ext >&51837 1838 ac_retval=11839 fi1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1841 as_fn_set_status $ac_retval1842 1843 } # ac_fn_cxx_try_cpp1844 1845 # ac_fn_cxx_try_run LINENO1846 # ------------------------1847 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1848 # that executables *can* be run.1849 ac_fn_cxx_try_run ()1850 {1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1852 if { { ac_try="$ac_link"1853 case "(($ac_try" in1854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1855 *) ac_try_echo=$ac_try;;1856 esac1857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1858 $as_echo "$ac_try_echo"; } >&51859 (eval "$ac_link") 2>&51860 ac_status=$?1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51862 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1863 { { case "(($ac_try" in1864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1865 *) ac_try_echo=$ac_try;;1866 esac1867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1868 $as_echo "$ac_try_echo"; } >&51869 (eval "$ac_try") 2>&51870 ac_status=$?1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51872 test $ac_status = 0; }; }; then :1873 ac_retval=01874 else1875 $as_echo "$as_me: program exited with status $ac_status" >&51876 $as_echo "$as_me: failed program was:" >&51877 sed 's/^/| /' conftest.$ac_ext >&51878 1879 ac_retval=$ac_status1880 fi1881 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1883 as_fn_set_status $ac_retval1884 1885 } # ac_fn_cxx_try_run1886 1887 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES1888 # ----------------------------------------------1889 # Tries to find the compile-time value of EXPR in a program that includes1890 # INCLUDES, setting VAR accordingly. Returns whether the value could be1891 # computed1892 ac_fn_cxx_compute_int ()1893 {1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1895 if test "$cross_compiling" = yes; then1896 # Depending upon the size, compute the lo and hi bounds.1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1898 /* end confdefs.h. */1899 $41900 int1901 main ()1902 {1903 static int test_array [1 - 2 * !(($2) >= 0)];1904 test_array [0] = 0;1905 return test_array [0];1906 1907 ;1908 return 0;1909 }1910 _ACEOF1911 if ac_fn_cxx_try_compile "$LINENO"; then :1912 ac_lo=0 ac_mid=01913 while :; do1914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1915 /* end confdefs.h. */1916 $41917 int1918 main ()1919 {1920 static int test_array [1 - 2 * !(($2) <= $ac_mid)];1921 test_array [0] = 0;1922 return test_array [0];1923 1924 ;1925 return 0;1926 }1927 _ACEOF1928 if ac_fn_cxx_try_compile "$LINENO"; then :1929 ac_hi=$ac_mid; break1930 else1931 as_fn_arith $ac_mid + 1 && ac_lo=$as_val1932 if test $ac_lo -le $ac_mid; then1933 ac_lo= ac_hi=1934 break1935 fi1936 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val1937 fi1938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1939 done1940 else1941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1942 /* end confdefs.h. */1943 $41944 int1945 main ()1946 {1947 static int test_array [1 - 2 * !(($2) < 0)];1948 test_array [0] = 0;1949 return test_array [0];1950 1951 ;1952 return 0;1953 }1954 _ACEOF1955 if ac_fn_cxx_try_compile "$LINENO"; then :1956 ac_hi=-1 ac_mid=-11957 while :; do1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1959 /* end confdefs.h. */1960 $41961 int1962 main ()1963 {1964 static int test_array [1 - 2 * !(($2) >= $ac_mid)];1965 test_array [0] = 0;1966 return test_array [0];1967 1968 ;1969 return 0;1970 }1971 _ACEOF1972 if ac_fn_cxx_try_compile "$LINENO"; then :1973 ac_lo=$ac_mid; break1974 else1975 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val1976 if test $ac_mid -le $ac_hi; then1977 ac_lo= ac_hi=1978 break1979 fi1980 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val1981 fi1982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1983 done1984 else1985 ac_lo= ac_hi=1986 fi1987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1988 fi1989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1990 # Binary search between lo and hi bounds.1991 while test "x$ac_lo" != "x$ac_hi"; do1992 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val1993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1994 /* end confdefs.h. */1995 $41996 int1997 main ()1998 {1999 static int test_array [1 - 2 * !(($2) <= $ac_mid)];2000 test_array [0] = 0;2001 return test_array [0];2002 2003 ;2004 return 0;2005 }2006 _ACEOF2007 if ac_fn_cxx_try_compile "$LINENO"; then :2008 ac_hi=$ac_mid2009 else2010 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val2011 fi2012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2013 done2014 case $ac_lo in #((2015 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;2016 '') ac_retval=1 ;;2017 esac2018 else2019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2020 /* end confdefs.h. */2021 $42022 static long int longval () { return $2; }2023 static unsigned long int ulongval () { return $2; }2024 #include <stdio.h>2025 #include <stdlib.h>2026 int2027 main ()2028 {2029 2030 FILE *f = fopen ("conftest.val", "w");2031 if (! f)2032 return 1;2033 if (($2) < 0)2034 {2035 long int i = longval ();2036 if (i != ($2))2037 return 1;2038 fprintf (f, "%ld", i);2039 }2040 else2041 {2042 unsigned long int i = ulongval ();2043 if (i != ($2))2044 return 1;2045 fprintf (f, "%lu", i);2046 }2047 /* Do not output a trailing newline, as this causes \r\n confusion2048 on some platforms. */2049 return ferror (f) || fclose (f) != 0;2050 2051 ;2052 return 0;2053 }2054 _ACEOF2055 if ac_fn_cxx_try_run "$LINENO"; then :2056 echo >>conftest.val; read $3 <conftest.val; ac_retval=02057 else2058 ac_retval=12059 fi2060 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \2061 conftest.$ac_objext conftest.beam conftest.$ac_ext2062 rm -f conftest.val2063 2064 fi2065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2066 as_fn_set_status $ac_retval2067 2068 } # ac_fn_cxx_compute_int2069 2070 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES2071 # ---------------------------------------------------------2072 # Tests whether HEADER exists, giving a warning if it cannot be compiled using2073 # the include files in INCLUDES and setting the cache variable VAR2074 # accordingly.2075 ac_fn_cxx_check_header_mongrel ()2076 {2077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2078 if eval \${$3+:} false; then :2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52080 $as_echo_n "checking for $2... " >&6; }2081 if eval \${$3+:} false; then :2082 $as_echo_n "(cached) " >&62083 fi2084 eval ac_res=\$$32085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52086 $as_echo "$ac_res" >&6; }2087 else2088 # Is the header compilable?2089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&52090 $as_echo_n "checking $2 usability... " >&6; }2091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2092 /* end confdefs.h. */2093 $42094 #include <$2>2095 _ACEOF2096 if ac_fn_cxx_try_compile "$LINENO"; then :2097 ac_header_compiler=yes2098 else2099 ac_header_compiler=no2100 fi2101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&52103 $as_echo "$ac_header_compiler" >&6; }2104 2105 # Is the header present?2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&52107 $as_echo_n "checking $2 presence... " >&6; }2108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2109 /* end confdefs.h. */2110 #include <$2>2111 _ACEOF2112 if ac_fn_cxx_try_cpp "$LINENO"; then :2113 ac_header_preproc=yes2114 else2115 ac_header_preproc=no2116 fi2117 rm -f conftest.err conftest.i conftest.$ac_ext2118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&52119 $as_echo "$ac_header_preproc" >&6; }2120 2121 # So? What about this header?2122 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((2123 yes:no: )2124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&52125 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52127 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2128 ;;2129 no:yes:* )2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&52131 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&52133 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}2134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&52135 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&52137 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52139 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2140 ( $as_echo "## ----------------------------------- ##2141 ## Report this to rappture@nanohub.org ##2142 ## ----------------------------------- ##"2143 ) | sed "s/^/$as_me: WARNING: /" >&22144 ;;2145 esac2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52147 $as_echo_n "checking for $2... " >&6; }2148 if eval \${$3+:} false; then :2149 $as_echo_n "(cached) " >&62150 else2151 eval "$3=\$ac_header_compiler"2152 fi2153 eval ac_res=\$$32154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52155 $as_echo "$ac_res" >&6; }2156 fi2157 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2158 2159 } # ac_fn_cxx_check_header_mongrel2160 2161 # ac_fn_cxx_try_link LINENO2162 # -------------------------2163 # Try to link conftest.$ac_ext, and return whether this succeeded.2164 ac_fn_cxx_try_link ()2165 {2166 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2167 rm -f conftest.$ac_objext conftest$ac_exeext2168 if { { ac_try="$ac_link"2169 case "(($ac_try" in2170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2171 *) ac_try_echo=$ac_try;;2172 esac2173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2174 $as_echo "$ac_try_echo"; } >&52175 (eval "$ac_link") 2>conftest.err2176 ac_status=$?2177 if test -s conftest.err; then2178 grep -v '^ *+' conftest.err >conftest.er12179 cat conftest.er1 >&52180 mv -f conftest.er1 conftest.err2181 fi2182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52183 test $ac_status = 0; } && {2184 test -z "$ac_cxx_werror_flag" ||2185 test ! -s conftest.err2186 } && test -s conftest$ac_exeext && {2187 test "$cross_compiling" = yes ||2188 test -x conftest$ac_exeext2189 }; then :2190 ac_retval=02191 else2192 $as_echo "$as_me: failed program was:" >&52193 sed 's/^/| /' conftest.$ac_ext >&52194 2195 ac_retval=12196 fi2197 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information2198 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would2199 # interfere with the next link command; also delete a directory that is2200 # left behind by Apple's compiler. We do this before executing the actions.2201 rm -rf conftest.dSYM conftest_ipa8_conftest.oo2202 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2203 as_fn_set_status $ac_retval2204 2205 } # ac_fn_cxx_try_link2206 2207 # ac_fn_cxx_check_func LINENO FUNC VAR2208 # ------------------------------------2209 # Tests whether FUNC exists, setting the cache variable VAR accordingly2210 ac_fn_cxx_check_func ()2211 {2212 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52214 $as_echo_n "checking for $2... " >&6; }2215 if eval \${$3+:} false; then :2216 $as_echo_n "(cached) " >&62217 else2218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2219 /* end confdefs.h. */2220 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.2221 For example, HP-UX 11i <limits.h> declares gettimeofday. */2222 #define $2 innocuous_$22223 2224 /* System header to define __stub macros and hopefully few prototypes,2225 which can conflict with char $2 (); below.2226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since2227 <limits.h> exists even on freestanding compilers. */2228 2229 #ifdef __STDC__2230 # include <limits.h>2231 #else2232 # include <assert.h>2233 #endif2234 2235 #undef $22236 2237 /* Override any GCC internal prototype to avoid an error.2238 Use char because int might match the return type of a GCC2239 builtin and then its argument prototype would still apply. */2240 #ifdef __cplusplus2241 extern "C"2242 #endif2243 char $2 ();2244 /* The GNU C library defines this for functions which it implements2245 to always fail with ENOSYS. Some functions are actually named2246 something starting with __ and the normal name is an alias. */2247 #if defined __stub_$2 || defined __stub___$22248 choke me2249 #endif2250 2251 int2252 main ()2253 {2254 return $2 ();2255 ;2256 return 0;2257 }2258 _ACEOF2259 if ac_fn_cxx_try_link "$LINENO"; then :2260 eval "$3=yes"2261 else2262 eval "$3=no"2263 fi2264 rm -f core conftest.err conftest.$ac_objext \2265 conftest$ac_exeext conftest.$ac_ext2266 fi2267 eval ac_res=\$$32268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52269 $as_echo "$ac_res" >&6; }2270 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2271 2272 } # ac_fn_cxx_check_func2273 2274 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES2275 # ---------------------------------------------------------2276 # Tests whether HEADER exists and can be compiled using the include files in2277 # INCLUDES, setting the cache variable VAR accordingly.2278 ac_fn_cxx_check_header_compile ()2279 {2280 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52282 $as_echo_n "checking for $2... " >&6; }2283 if eval \${$3+:} false; then :2284 $as_echo_n "(cached) " >&62285 else2286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2287 /* end confdefs.h. */2288 $42289 #include <$2>2290 _ACEOF2291 if ac_fn_cxx_try_compile "$LINENO"; then :2292 eval "$3=yes"2293 else2294 eval "$3=no"2295 fi2296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2297 fi2298 eval ac_res=\$$32299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52300 $as_echo "$ac_res" >&6; }2301 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2302 2303 } # ac_fn_cxx_check_header_compile2304 1507 cat >config.log <<_ACEOF 2305 1508 This file contains any messages produced by compilers while … … 2307 1510 2308 1511 It was created by vizservers $as_me 0.1, which was 2309 generated by GNU Autoconf 2.6 9. Invocation command line was1512 generated by GNU Autoconf 2.63. Invocation command line was 2310 1513 2311 1514 $ $0 $@ … … 2343 1546 IFS=$as_save_IFS 2344 1547 test -z "$as_dir" && as_dir=. 2345 2346 1548 $as_echo "PATH: $as_dir" 1549 done 2347 1550 IFS=$as_save_IFS 2348 1551 … … 2381 1584 esac 2382 1585 case $ac_pass in 2383 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1586 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2384 1587 2) 2385 a s_fn_append ac_configure_args1 "'$ac_arg'"1588 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2386 1589 if test $ac_must_keep_next = true; then 2387 1590 ac_must_keep_next=false # Got value, back to normal. … … 2399 1602 esac 2400 1603 fi 2401 a s_fn_append ac_configure_args "'$ac_arg'"1604 ac_configure_args="$ac_configure_args '$ac_arg'" 2402 1605 ;; 2403 1606 esac 2404 1607 done 2405 1608 done 2406 { ac_configure_args0=; unset ac_configure_args0;}2407 { ac_configure_args1=; unset ac_configure_args1;}1609 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1610 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2408 1611 2409 1612 # When interrupted or exit'd, cleanup temporary files, and complete … … 2417 1620 echo 2418 1621 2419 $as_echo "## ---------------- ## 1622 cat <<\_ASBOX 1623 ## ---------------- ## 2420 1624 ## Cache variables. ## 2421 ## ---------------- ##" 1625 ## ---------------- ## 1626 _ASBOX 2422 1627 echo 2423 1628 # The following way of writing the cache mishandles newlines in values, … … 2428 1633 *${as_nl}*) 2429 1634 case $ac_var in #( 2430 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&51635 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 2431 1636 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2432 1637 esac … … 2434 1639 _ | IFS | as_nl) ;; #( 2435 1640 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2436 *) { eval $ac_var=; unset $ac_var;};;1641 *) $as_unset $ac_var ;; 2437 1642 esac ;; 2438 1643 esac … … 2453 1658 echo 2454 1659 2455 $as_echo "## ----------------- ## 1660 cat <<\_ASBOX 1661 ## ----------------- ## 2456 1662 ## Output variables. ## 2457 ## ----------------- ##" 1663 ## ----------------- ## 1664 _ASBOX 2458 1665 echo 2459 1666 for ac_var in $ac_subst_vars … … 2468 1675 2469 1676 if test -n "$ac_subst_files"; then 2470 $as_echo "## ------------------- ## 1677 cat <<\_ASBOX 1678 ## ------------------- ## 2471 1679 ## File substitutions. ## 2472 ## ------------------- ##" 1680 ## ------------------- ## 1681 _ASBOX 2473 1682 echo 2474 1683 for ac_var in $ac_subst_files … … 2484 1693 2485 1694 if test -s confdefs.h; then 2486 $as_echo "## ----------- ## 1695 cat <<\_ASBOX 1696 ## ----------- ## 2487 1697 ## confdefs.h. ## 2488 ## ----------- ##" 1698 ## ----------- ## 1699 _ASBOX 2489 1700 echo 2490 1701 cat confdefs.h … … 2500 1711 ' 0 2501 1712 for ac_signal in 1 2 13 15; do 2502 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1713 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2503 1714 done 2504 1715 ac_signal=0 … … 2507 1718 rm -f -r conftest* confdefs.h 2508 1719 2509 $as_echo "/* confdefs.h */" > confdefs.h2510 2511 1720 # Predefined preprocessor variables. 2512 1721 … … 2515 1724 _ACEOF 2516 1725 1726 2517 1727 cat >>confdefs.h <<_ACEOF 2518 1728 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2519 1729 _ACEOF 2520 1730 1731 2521 1732 cat >>confdefs.h <<_ACEOF 2522 1733 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2523 1734 _ACEOF 2524 1735 1736 2525 1737 cat >>confdefs.h <<_ACEOF 2526 1738 #define PACKAGE_STRING "$PACKAGE_STRING" 2527 1739 _ACEOF 2528 1740 1741 2529 1742 cat >>confdefs.h <<_ACEOF 2530 1743 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2531 _ACEOF2532 2533 cat >>confdefs.h <<_ACEOF2534 #define PACKAGE_URL "$PACKAGE_URL"2535 1744 _ACEOF 2536 1745 … … 2541 1750 ac_site_file2=NONE 2542 1751 if test -n "$CONFIG_SITE"; then 2543 # We do not want a PATH search for config.site. 2544 case $CONFIG_SITE in #(( 2545 -*) ac_site_file1=./$CONFIG_SITE;; 2546 */*) ac_site_file1=$CONFIG_SITE;; 2547 *) ac_site_file1=./$CONFIG_SITE;; 2548 esac 1752 ac_site_file1=$CONFIG_SITE 2549 1753 elif test "x$prefix" != xNONE; then 2550 1754 ac_site_file1=$prefix/share/config.site … … 2557 1761 do 2558 1762 test "x$ac_site_file" = xNONE && continue 2559 if test /dev/null != "$ac_site_file" && test-r "$ac_site_file"; then2560 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading site script $ac_site_file" >&51763 if test -r "$ac_site_file"; then 1764 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2561 1765 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2562 1766 sed 's/^/| /' "$ac_site_file" >&5 2563 . "$ac_site_file" \ 2564 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2566 as_fn_error $? "failed to load site script $ac_site_file 2567 See \`config.log' for more details" "$LINENO" 5; } 1767 . "$ac_site_file" 2568 1768 fi 2569 1769 done 2570 1770 2571 1771 if test -r "$cache_file"; then 2572 # Some versions of bash will fail to source /dev/null (special files2573 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2574 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2575 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading cache $cache_file" >&51772 # Some versions of bash will fail to source /dev/null (special 1773 # files actually), so we avoid doing that. 1774 if test -f "$cache_file"; then 1775 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2576 1776 $as_echo "$as_me: loading cache $cache_file" >&6;} 2577 1777 case $cache_file in … … 2581 1781 fi 2582 1782 else 2583 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating cache $cache_file" >&51783 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2584 1784 $as_echo "$as_me: creating cache $cache_file" >&6;} 2585 1785 >$cache_file … … 2596 1796 case $ac_old_set,$ac_new_set in 2597 1797 set,) 2598 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51798 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2599 1799 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2600 1800 ac_cache_corrupted=: ;; 2601 1801 ,set) 2602 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&51802 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2603 1803 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2604 1804 ac_cache_corrupted=: ;; … … 2610 1810 ac_new_val_w=`echo x $ac_new_val` 2611 1811 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2612 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&51812 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2613 1813 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2614 1814 ac_cache_corrupted=: 2615 1815 else 2616 { $as_echo "$as_me:$ {as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&51816 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2617 1817 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2618 1818 eval $ac_var=\$ac_old_val 2619 1819 fi 2620 { $as_echo "$as_me:$ {as_lineno-$LINENO}: former value: \`$ac_old_val'" >&51820 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2621 1821 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2622 { $as_echo "$as_me:$ {as_lineno-$LINENO}: current value: \`$ac_new_val'" >&51822 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2623 1823 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2624 1824 fi;; … … 2632 1832 case " $ac_configure_args " in 2633 1833 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2634 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1834 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2635 1835 esac 2636 1836 fi 2637 1837 done 2638 1838 if $ac_cache_corrupted; then 2639 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&51839 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2640 1840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2641 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&51841 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2642 1842 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2643 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2644 fi 2645 ## -------------------- ## 2646 ## Main body of script. ## 2647 ## -------------------- ## 1843 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1844 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1845 { (exit 1); exit 1; }; } 1846 fi 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 2648 1871 2649 1872 ac_ext=c … … 2671 1894 done 2672 1895 if test -z "$ac_aux_dir"; then 2673 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1896 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1897 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1898 { (exit 1); exit 1; }; } 2674 1899 fi 2675 1900 … … 2688 1913 2689 1914 # Check whether --with-tcllib was given. 2690 if test "${with_tcllib+set}" = set; then :1915 if test "${with_tcllib+set}" = set; then 2691 1916 withval=$with_tcllib; with_tcllib=$withval 2692 1917 else … … 2697 1922 2698 1923 # Check whether --with-rappture was given. 2699 if test "${with_rappture+set}" = set; then :1924 if test "${with_rappture+set}" = set; then 2700 1925 withval=$with_rappture; with_rappture=$withval 2701 1926 else … … 2706 1931 2707 1932 # Check whether --with-vtk-includes was given. 2708 if test "${with_vtk_includes+set}" = set; then :1933 if test "${with_vtk_includes+set}" = set; then 2709 1934 withval=$with_vtk_includes; with_vtk_includes=$withval 2710 1935 else … … 2715 1940 2716 1941 # Check whether --with-vtk-libs was given. 2717 if test "${with_vtk_libs+set}" = set; then :1942 if test "${with_vtk_libs+set}" = set; then 2718 1943 withval=$with_vtk_libs; with_vtk_libs=$withval 2719 1944 else … … 2724 1949 2725 1950 # Check whether --with-vtk was given. 2726 if test "${with_vtk+set}" = set; then :1951 if test "${with_vtk+set}" = set; then 2727 1952 withval=$with_vtk; with_vtk=$withval 2728 1953 else … … 2739 1964 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2740 1965 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2741 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&51966 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2742 1967 $as_echo_n "checking for $ac_word... " >&6; } 2743 if ${ac_cv_prog_CC+:} false; then :1968 if test "${ac_cv_prog_CC+set}" = set; then 2744 1969 $as_echo_n "(cached) " >&6 2745 1970 else … … 2752 1977 IFS=$as_save_IFS 2753 1978 test -z "$as_dir" && as_dir=. 2754 2755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1979 for ac_exec_ext in '' $ac_executable_extensions; do 1980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2756 1981 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2757 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51982 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2758 1983 break 2 2759 1984 fi 2760 1985 done 2761 1986 done 2762 1987 IFS=$as_save_IFS 2763 1988 … … 2766 1991 CC=$ac_cv_prog_CC 2767 1992 if test -n "$CC"; then 2768 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&51993 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2769 1994 $as_echo "$CC" >&6; } 2770 1995 else 2771 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&51996 { $as_echo "$as_me:$LINENO: result: no" >&5 2772 1997 $as_echo "no" >&6; } 2773 1998 fi … … 2779 2004 # Extract the first word of "gcc", so it can be a program name with args. 2780 2005 set dummy gcc; ac_word=$2 2781 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52006 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2782 2007 $as_echo_n "checking for $ac_word... " >&6; } 2783 if ${ac_cv_prog_ac_ct_CC+:} false; then :2008 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2784 2009 $as_echo_n "(cached) " >&6 2785 2010 else … … 2792 2017 IFS=$as_save_IFS 2793 2018 test -z "$as_dir" && as_dir=. 2794 2795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2019 for ac_exec_ext in '' $ac_executable_extensions; do 2020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2796 2021 ac_cv_prog_ac_ct_CC="gcc" 2797 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52022 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2798 2023 break 2 2799 2024 fi 2800 2025 done 2801 2026 done 2802 2027 IFS=$as_save_IFS 2803 2028 … … 2806 2031 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2807 2032 if test -n "$ac_ct_CC"; then 2808 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52033 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2809 2034 $as_echo "$ac_ct_CC" >&6; } 2810 2035 else 2811 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52036 { $as_echo "$as_me:$LINENO: result: no" >&5 2812 2037 $as_echo "no" >&6; } 2813 2038 fi … … 2818 2043 case $cross_compiling:$ac_tool_warned in 2819 2044 yes:) 2820 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52045 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2821 2046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2822 2047 ac_tool_warned=yes ;; … … 2832 2057 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2833 2058 set dummy ${ac_tool_prefix}cc; ac_word=$2 2834 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52059 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2835 2060 $as_echo_n "checking for $ac_word... " >&6; } 2836 if ${ac_cv_prog_CC+:} false; then :2061 if test "${ac_cv_prog_CC+set}" = set; then 2837 2062 $as_echo_n "(cached) " >&6 2838 2063 else … … 2845 2070 IFS=$as_save_IFS 2846 2071 test -z "$as_dir" && as_dir=. 2847 2848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2072 for ac_exec_ext in '' $ac_executable_extensions; do 2073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2849 2074 ac_cv_prog_CC="${ac_tool_prefix}cc" 2850 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52075 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2851 2076 break 2 2852 2077 fi 2853 2078 done 2854 2079 done 2855 2080 IFS=$as_save_IFS 2856 2081 … … 2859 2084 CC=$ac_cv_prog_CC 2860 2085 if test -n "$CC"; then 2861 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52086 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2862 2087 $as_echo "$CC" >&6; } 2863 2088 else 2864 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52089 { $as_echo "$as_me:$LINENO: result: no" >&5 2865 2090 $as_echo "no" >&6; } 2866 2091 fi … … 2872 2097 # Extract the first word of "cc", so it can be a program name with args. 2873 2098 set dummy cc; ac_word=$2 2874 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52099 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2875 2100 $as_echo_n "checking for $ac_word... " >&6; } 2876 if ${ac_cv_prog_CC+:} false; then :2101 if test "${ac_cv_prog_CC+set}" = set; then 2877 2102 $as_echo_n "(cached) " >&6 2878 2103 else … … 2886 2111 IFS=$as_save_IFS 2887 2112 test -z "$as_dir" && as_dir=. 2888 2889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2113 for ac_exec_ext in '' $ac_executable_extensions; do 2114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2890 2115 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2891 2116 ac_prog_rejected=yes … … 2893 2118 fi 2894 2119 ac_cv_prog_CC="cc" 2895 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52120 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2896 2121 break 2 2897 2122 fi 2898 2123 done 2899 2124 done 2900 2125 IFS=$as_save_IFS 2901 2126 … … 2916 2141 CC=$ac_cv_prog_CC 2917 2142 if test -n "$CC"; then 2918 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52143 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2919 2144 $as_echo "$CC" >&6; } 2920 2145 else 2921 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52146 { $as_echo "$as_me:$LINENO: result: no" >&5 2922 2147 $as_echo "no" >&6; } 2923 2148 fi … … 2931 2156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2932 2157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2933 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52158 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2934 2159 $as_echo_n "checking for $ac_word... " >&6; } 2935 if ${ac_cv_prog_CC+:} false; then :2160 if test "${ac_cv_prog_CC+set}" = set; then 2936 2161 $as_echo_n "(cached) " >&6 2937 2162 else … … 2944 2169 IFS=$as_save_IFS 2945 2170 test -z "$as_dir" && as_dir=. 2946 2947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2171 for ac_exec_ext in '' $ac_executable_extensions; do 2172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2948 2173 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2949 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52174 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2950 2175 break 2 2951 2176 fi 2952 2177 done 2953 2178 done 2954 2179 IFS=$as_save_IFS 2955 2180 … … 2958 2183 CC=$ac_cv_prog_CC 2959 2184 if test -n "$CC"; then 2960 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52185 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2961 2186 $as_echo "$CC" >&6; } 2962 2187 else 2963 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52188 { $as_echo "$as_me:$LINENO: result: no" >&5 2964 2189 $as_echo "no" >&6; } 2965 2190 fi … … 2975 2200 # Extract the first word of "$ac_prog", so it can be a program name with args. 2976 2201 set dummy $ac_prog; ac_word=$2 2977 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52202 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2978 2203 $as_echo_n "checking for $ac_word... " >&6; } 2979 if ${ac_cv_prog_ac_ct_CC+:} false; then :2204 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2980 2205 $as_echo_n "(cached) " >&6 2981 2206 else … … 2988 2213 IFS=$as_save_IFS 2989 2214 test -z "$as_dir" && as_dir=. 2990 2991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2215 for ac_exec_ext in '' $ac_executable_extensions; do 2216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2992 2217 ac_cv_prog_ac_ct_CC="$ac_prog" 2993 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52218 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2994 2219 break 2 2995 2220 fi 2996 2221 done 2997 2222 done 2998 2223 IFS=$as_save_IFS 2999 2224 … … 3002 2227 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3003 2228 if test -n "$ac_ct_CC"; then 3004 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52229 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3005 2230 $as_echo "$ac_ct_CC" >&6; } 3006 2231 else 3007 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52232 { $as_echo "$as_me:$LINENO: result: no" >&5 3008 2233 $as_echo "no" >&6; } 3009 2234 fi … … 3018 2243 case $cross_compiling:$ac_tool_warned in 3019 2244 yes:) 3020 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52245 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3021 2246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3022 2247 ac_tool_warned=yes ;; … … 3029 2254 3030 2255 3031 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52256 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3032 2257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3033 as_fn_error $? "no acceptable C compiler found in \$PATH 3034 See \`config.log' for more details" "$LINENO" 5; } 2258 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2259 See \`config.log' for more details." >&5 2260 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2261 See \`config.log' for more details." >&2;} 2262 { (exit 1); exit 1; }; }; } 3035 2263 3036 2264 # Provide some information about the compiler. 3037 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&52265 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3038 2266 set X $ac_compile 3039 2267 ac_compiler=$2 3040 for ac_option in --version -v -V -qversion; do 3041 { { ac_try="$ac_compiler $ac_option >&5" 2268 { (ac_try="$ac_compiler --version >&5" 3042 2269 case "(($ac_try" in 3043 2270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3044 2271 *) ac_try_echo=$ac_try;; 3045 2272 esac 3046 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3047 $as_echo "$ac_try_echo" ; }>&53048 (eval "$ac_compiler $ac_option >&5") 2>conftest.err2273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2274 $as_echo "$ac_try_echo") >&5 2275 (eval "$ac_compiler --version >&5") 2>&5 3049 2276 ac_status=$? 3050 if test -s conftest.err; then 3051 sed '10a\ 3052 ... rest of stderr output deleted ... 3053 10q' conftest.err >conftest.er1 3054 cat conftest.er1 >&5 3055 fi 3056 rm -f conftest.er1 conftest.err 3057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3058 test $ac_status = 0; } 3059 done 3060 3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2278 (exit $ac_status); } 2279 { (ac_try="$ac_compiler -v >&5" 2280 case "(($ac_try" in 2281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2282 *) ac_try_echo=$ac_try;; 2283 esac 2284 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2285 $as_echo "$ac_try_echo") >&5 2286 (eval "$ac_compiler -v >&5") 2>&5 2287 ac_status=$? 2288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2289 (exit $ac_status); } 2290 { (ac_try="$ac_compiler -V >&5" 2291 case "(($ac_try" in 2292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2293 *) ac_try_echo=$ac_try;; 2294 esac 2295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2296 $as_echo "$ac_try_echo") >&5 2297 (eval "$ac_compiler -V >&5") 2>&5 2298 ac_status=$? 2299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2300 (exit $ac_status); } 2301 2302 cat >conftest.$ac_ext <<_ACEOF 2303 /* confdefs.h. */ 2304 _ACEOF 2305 cat confdefs.h >>conftest.$ac_ext 2306 cat >>conftest.$ac_ext <<_ACEOF 3062 2307 /* end confdefs.h. */ 3063 2308 … … 3075 2320 # It will help us diagnose broken compilers, and finding out an intuition 3076 2321 # of exeext. 3077 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether the C compiler works" >&53078 $as_echo_n "checking whether the C compiler works... " >&6; }2322 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2323 $as_echo_n "checking for C compiler default output file name... " >&6; } 3079 2324 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3080 2325 … … 3092 2337 rm -f $ac_rmfiles 3093 2338 3094 if { {ac_try="$ac_link_default"2339 if { (ac_try="$ac_link_default" 3095 2340 case "(($ac_try" in 3096 2341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3097 2342 *) ac_try_echo=$ac_try;; 3098 2343 esac 3099 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3100 $as_echo "$ac_try_echo" ; }>&52344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2345 $as_echo "$ac_try_echo") >&5 3101 2346 (eval "$ac_link_default") 2>&5 3102 2347 ac_status=$? 3103 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53104 test $ac_status = 0; }; then :2348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2349 (exit $ac_status); }; then 3105 2350 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3106 2351 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 3119 2364 break;; 3120 2365 *.* ) 3121 2366 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3122 2367 then :; else 3123 2368 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 3138 2383 ac_file='' 3139 2384 fi 3140 if test -z "$ac_file"; then : 3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3142 $as_echo "no" >&6; } 3143 $as_echo "$as_me: failed program was:" >&5 2385 2386 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2387 $as_echo "$ac_file" >&6; } 2388 if test -z "$ac_file"; then 2389 $as_echo "$as_me: failed program was:" >&5 3144 2390 sed 's/^/| /' conftest.$ac_ext >&5 3145 2391 3146 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52392 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3147 2393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3148 as_fn_error 77 "C compiler cannot create executables 3149 See \`config.log' for more details" "$LINENO" 5; } 3150 else 3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2394 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2395 See \`config.log' for more details." >&5 2396 $as_echo "$as_me: error: C compiler cannot create executables 2397 See \`config.log' for more details." >&2;} 2398 { (exit 77); exit 77; }; }; } 2399 fi 2400 2401 ac_exeext=$ac_cv_exeext 2402 2403 # Check that the compiler produces executables we can run. If not, either 2404 # the compiler is broken, or we cross compile. 2405 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2406 $as_echo_n "checking whether the C compiler works... " >&6; } 2407 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2408 # If not cross compiling, check that we can run a simple program. 2409 if test "$cross_compiling" != yes; then 2410 if { ac_try='./$ac_file' 2411 { (case "(($ac_try" in 2412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2413 *) ac_try_echo=$ac_try;; 2414 esac 2415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2416 $as_echo "$ac_try_echo") >&5 2417 (eval "$ac_try") 2>&5 2418 ac_status=$? 2419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2420 (exit $ac_status); }; }; then 2421 cross_compiling=no 2422 else 2423 if test "$cross_compiling" = maybe; then 2424 cross_compiling=yes 2425 else 2426 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2428 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2429 If you meant to cross compile, use \`--host'. 2430 See \`config.log' for more details." >&5 2431 $as_echo "$as_me: error: cannot run C compiled programs. 2432 If you meant to cross compile, use \`--host'. 2433 See \`config.log' for more details." >&2;} 2434 { (exit 1); exit 1; }; }; } 2435 fi 2436 fi 2437 fi 2438 { $as_echo "$as_me:$LINENO: result: yes" >&5 3152 2439 $as_echo "yes" >&6; } 3153 fi3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&53155 $as_echo_n "checking for C compiler default output file name... " >&6; }3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&53157 $as_echo "$ac_file" >&6; }3158 ac_exeext=$ac_cv_exeext3159 2440 3160 2441 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3161 2442 ac_clean_files=$ac_clean_files_save 3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2443 # Check that the compiler produces executables we can run. If not, either 2444 # the compiler is broken, or we cross compile. 2445 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2446 $as_echo_n "checking whether we are cross compiling... " >&6; } 2447 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2448 $as_echo "$cross_compiling" >&6; } 2449 2450 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3163 2451 $as_echo_n "checking for suffix of executables... " >&6; } 3164 if { {ac_try="$ac_link"2452 if { (ac_try="$ac_link" 3165 2453 case "(($ac_try" in 3166 2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3167 2455 *) ac_try_echo=$ac_try;; 3168 2456 esac 3169 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3170 $as_echo "$ac_try_echo" ; }>&52457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2458 $as_echo "$ac_try_echo") >&5 3171 2459 (eval "$ac_link") 2>&5 3172 2460 ac_status=$? 3173 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53174 test $ac_status = 0; }; then :2461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2462 (exit $ac_status); }; then 3175 2463 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3176 2464 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 3187 2475 done 3188 2476 else 3189 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52477 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3190 2478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3191 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3192 See \`config.log' for more details" "$LINENO" 5; } 3193 fi 3194 rm -f conftest conftest$ac_cv_exeext 3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2479 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2480 See \`config.log' for more details." >&5 2481 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2482 See \`config.log' for more details." >&2;} 2483 { (exit 1); exit 1; }; }; } 2484 fi 2485 2486 rm -f conftest$ac_cv_exeext 2487 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3196 2488 $as_echo "$ac_cv_exeext" >&6; } 3197 2489 … … 3199 2491 EXEEXT=$ac_cv_exeext 3200 2492 ac_exeext=$EXEEXT 3201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2493 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2494 $as_echo_n "checking for suffix of object files... " >&6; } 2495 if test "${ac_cv_objext+set}" = set; then 2496 $as_echo_n "(cached) " >&6 2497 else 2498 cat >conftest.$ac_ext <<_ACEOF 2499 /* confdefs.h. */ 2500 _ACEOF 2501 cat confdefs.h >>conftest.$ac_ext 2502 cat >>conftest.$ac_ext <<_ACEOF 3202 2503 /* end confdefs.h. */ 3203 #include <stdio.h> 2504 3204 2505 int 3205 2506 main () 3206 2507 { 3207 FILE *f = fopen ("conftest.out", "w");3208 return ferror (f) || fclose (f) != 0;3209 2508 3210 2509 ; … … 3212 2511 } 3213 2512 _ACEOF 3214 ac_clean_files="$ac_clean_files conftest.out" 3215 # Check that the compiler produces executables we can run. If not, either 3216 # the compiler is broken, or we cross compile. 3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3218 $as_echo_n "checking whether we are cross compiling... " >&6; } 3219 if test "$cross_compiling" != yes; then 3220 { { ac_try="$ac_link" 2513 rm -f conftest.o conftest.obj 2514 if { (ac_try="$ac_compile" 3221 2515 case "(($ac_try" in 3222 2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3223 2517 *) ac_try_echo=$ac_try;; 3224 2518 esac 3225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3226 $as_echo "$ac_try_echo"; } >&5 3227 (eval "$ac_link") 2>&5 3228 ac_status=$? 3229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3230 test $ac_status = 0; } 3231 if { ac_try='./conftest$ac_cv_exeext' 3232 { { case "(($ac_try" in 3233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3234 *) ac_try_echo=$ac_try;; 3235 esac 3236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3237 $as_echo "$ac_try_echo"; } >&5 3238 (eval "$ac_try") 2>&5 3239 ac_status=$? 3240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3241 test $ac_status = 0; }; }; then 3242 cross_compiling=no 3243 else 3244 if test "$cross_compiling" = maybe; then 3245 cross_compiling=yes 3246 else 3247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3249 as_fn_error $? "cannot run C compiled programs. 3250 If you meant to cross compile, use \`--host'. 3251 See \`config.log' for more details" "$LINENO" 5; } 3252 fi 3253 fi 3254 fi 3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3256 $as_echo "$cross_compiling" >&6; } 3257 3258 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3259 ac_clean_files=$ac_clean_files_save 3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3261 $as_echo_n "checking for suffix of object files... " >&6; } 3262 if ${ac_cv_objext+:} false; then : 3263 $as_echo_n "(cached) " >&6 3264 else 3265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3266 /* end confdefs.h. */ 3267 3268 int 3269 main () 3270 { 3271 3272 ; 3273 return 0; 3274 } 3275 _ACEOF 3276 rm -f conftest.o conftest.obj 3277 if { { ac_try="$ac_compile" 3278 case "(($ac_try" in 3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3280 *) ac_try_echo=$ac_try;; 3281 esac 3282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3283 $as_echo "$ac_try_echo"; } >&5 2519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2520 $as_echo "$ac_try_echo") >&5 3284 2521 (eval "$ac_compile") 2>&5 3285 2522 ac_status=$? 3286 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53287 test $ac_status = 0; }; then :2523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2524 (exit $ac_status); }; then 3288 2525 for ac_file in conftest.o conftest.obj conftest.*; do 3289 2526 test -f "$ac_file" || continue; … … 3298 2535 sed 's/^/| /' conftest.$ac_ext >&5 3299 2536 3300 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52537 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3301 2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3302 as_fn_error $? "cannot compute suffix of object files: cannot compile 3303 See \`config.log' for more details" "$LINENO" 5; } 3304 fi 2539 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2540 See \`config.log' for more details." >&5 2541 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2542 See \`config.log' for more details." >&2;} 2543 { (exit 1); exit 1; }; }; } 2544 fi 2545 3305 2546 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3306 2547 fi 3307 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_objext" >&52548 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3308 2549 $as_echo "$ac_cv_objext" >&6; } 3309 2550 OBJEXT=$ac_cv_objext 3310 2551 ac_objext=$OBJEXT 3311 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&52552 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3312 2553 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3313 if ${ac_cv_c_compiler_gnu+:} false; then :2554 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3314 2555 $as_echo_n "(cached) " >&6 3315 2556 else 3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2557 cat >conftest.$ac_ext <<_ACEOF 2558 /* confdefs.h. */ 2559 _ACEOF 2560 cat confdefs.h >>conftest.$ac_ext 2561 cat >>conftest.$ac_ext <<_ACEOF 3317 2562 /* end confdefs.h. */ 3318 2563 … … 3328 2573 } 3329 2574 _ACEOF 3330 if ac_fn_c_try_compile "$LINENO"; then : 2575 rm -f conftest.$ac_objext 2576 if { (ac_try="$ac_compile" 2577 case "(($ac_try" in 2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2579 *) ac_try_echo=$ac_try;; 2580 esac 2581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2582 $as_echo "$ac_try_echo") >&5 2583 (eval "$ac_compile") 2>conftest.er1 2584 ac_status=$? 2585 grep -v '^ *+' conftest.er1 >conftest.err 2586 rm -f conftest.er1 2587 cat conftest.err >&5 2588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2589 (exit $ac_status); } && { 2590 test -z "$ac_c_werror_flag" || 2591 test ! -s conftest.err 2592 } && test -s conftest.$ac_objext; then 3331 2593 ac_compiler_gnu=yes 3332 2594 else 3333 ac_compiler_gnu=no 3334 fi 2595 $as_echo "$as_me: failed program was:" >&5 2596 sed 's/^/| /' conftest.$ac_ext >&5 2597 2598 ac_compiler_gnu=no 2599 fi 2600 3335 2601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3336 2602 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3337 2603 3338 2604 fi 3339 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&52605 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3340 2606 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3341 2607 if test $ac_compiler_gnu = yes; then … … 3346 2612 ac_test_CFLAGS=${CFLAGS+set} 3347 2613 ac_save_CFLAGS=$CFLAGS 3348 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&52614 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3349 2615 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3350 if ${ac_cv_prog_cc_g+:} false; then :2616 if test "${ac_cv_prog_cc_g+set}" = set; then 3351 2617 $as_echo_n "(cached) " >&6 3352 2618 else … … 3355 2621 ac_cv_prog_cc_g=no 3356 2622 CFLAGS="-g" 3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2623 cat >conftest.$ac_ext <<_ACEOF 2624 /* confdefs.h. */ 2625 _ACEOF 2626 cat confdefs.h >>conftest.$ac_ext 2627 cat >>conftest.$ac_ext <<_ACEOF 3358 2628 /* end confdefs.h. */ 3359 2629 … … 3366 2636 } 3367 2637 _ACEOF 3368 if ac_fn_c_try_compile "$LINENO"; then : 2638 rm -f conftest.$ac_objext 2639 if { (ac_try="$ac_compile" 2640 case "(($ac_try" in 2641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2642 *) ac_try_echo=$ac_try;; 2643 esac 2644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2645 $as_echo "$ac_try_echo") >&5 2646 (eval "$ac_compile") 2>conftest.er1 2647 ac_status=$? 2648 grep -v '^ *+' conftest.er1 >conftest.err 2649 rm -f conftest.er1 2650 cat conftest.err >&5 2651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2652 (exit $ac_status); } && { 2653 test -z "$ac_c_werror_flag" || 2654 test ! -s conftest.err 2655 } && test -s conftest.$ac_objext; then 3369 2656 ac_cv_prog_cc_g=yes 3370 2657 else 3371 CFLAGS="" 3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2658 $as_echo "$as_me: failed program was:" >&5 2659 sed 's/^/| /' conftest.$ac_ext >&5 2660 2661 CFLAGS="" 2662 cat >conftest.$ac_ext <<_ACEOF 2663 /* confdefs.h. */ 2664 _ACEOF 2665 cat confdefs.h >>conftest.$ac_ext 2666 cat >>conftest.$ac_ext <<_ACEOF 3373 2667 /* end confdefs.h. */ 3374 2668 … … 3381 2675 } 3382 2676 _ACEOF 3383 if ac_fn_c_try_compile "$LINENO"; then : 3384 3385 else 3386 ac_c_werror_flag=$ac_save_c_werror_flag 2677 rm -f conftest.$ac_objext 2678 if { (ac_try="$ac_compile" 2679 case "(($ac_try" in 2680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2681 *) ac_try_echo=$ac_try;; 2682 esac 2683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2684 $as_echo "$ac_try_echo") >&5 2685 (eval "$ac_compile") 2>conftest.er1 2686 ac_status=$? 2687 grep -v '^ *+' conftest.er1 >conftest.err 2688 rm -f conftest.er1 2689 cat conftest.err >&5 2690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2691 (exit $ac_status); } && { 2692 test -z "$ac_c_werror_flag" || 2693 test ! -s conftest.err 2694 } && test -s conftest.$ac_objext; then 2695 : 2696 else 2697 $as_echo "$as_me: failed program was:" >&5 2698 sed 's/^/| /' conftest.$ac_ext >&5 2699 2700 ac_c_werror_flag=$ac_save_c_werror_flag 3387 2701 CFLAGS="-g" 3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2702 cat >conftest.$ac_ext <<_ACEOF 2703 /* confdefs.h. */ 2704 _ACEOF 2705 cat confdefs.h >>conftest.$ac_ext 2706 cat >>conftest.$ac_ext <<_ACEOF 3389 2707 /* end confdefs.h. */ 3390 2708 … … 3397 2715 } 3398 2716 _ACEOF 3399 if ac_fn_c_try_compile "$LINENO"; then : 2717 rm -f conftest.$ac_objext 2718 if { (ac_try="$ac_compile" 2719 case "(($ac_try" in 2720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2721 *) ac_try_echo=$ac_try;; 2722 esac 2723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2724 $as_echo "$ac_try_echo") >&5 2725 (eval "$ac_compile") 2>conftest.er1 2726 ac_status=$? 2727 grep -v '^ *+' conftest.er1 >conftest.err 2728 rm -f conftest.er1 2729 cat conftest.err >&5 2730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2731 (exit $ac_status); } && { 2732 test -z "$ac_c_werror_flag" || 2733 test ! -s conftest.err 2734 } && test -s conftest.$ac_objext; then 3400 2735 ac_cv_prog_cc_g=yes 3401 fi 2736 else 2737 $as_echo "$as_me: failed program was:" >&5 2738 sed 's/^/| /' conftest.$ac_ext >&5 2739 2740 2741 fi 2742 3402 2743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3403 2744 fi 2745 3404 2746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3405 2747 fi 2748 3406 2749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3407 2750 ac_c_werror_flag=$ac_save_c_werror_flag 3408 2751 fi 3409 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&52752 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3410 2753 $as_echo "$ac_cv_prog_cc_g" >&6; } 3411 2754 if test "$ac_test_CFLAGS" = set; then … … 3424 2767 fi 3425 2768 fi 3426 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&52769 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3427 2770 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3428 if ${ac_cv_prog_cc_c89+:} false; then :2771 if test "${ac_cv_prog_cc_c89+set}" = set; then 3429 2772 $as_echo_n "(cached) " >&6 3430 2773 else 3431 2774 ac_cv_prog_cc_c89=no 3432 2775 ac_save_CC=$CC 3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2776 cat >conftest.$ac_ext <<_ACEOF 2777 /* confdefs.h. */ 2778 _ACEOF 2779 cat confdefs.h >>conftest.$ac_ext 2780 cat >>conftest.$ac_ext <<_ACEOF 3434 2781 /* end confdefs.h. */ 3435 2782 #include <stdarg.h> 3436 2783 #include <stdio.h> 3437 struct stat; 2784 #include <sys/types.h> 2785 #include <sys/stat.h> 3438 2786 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3439 2787 struct buf { int x; }; … … 3487 2835 do 3488 2836 CC="$ac_save_CC $ac_arg" 3489 if ac_fn_c_try_compile "$LINENO"; then : 2837 rm -f conftest.$ac_objext 2838 if { (ac_try="$ac_compile" 2839 case "(($ac_try" in 2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2841 *) ac_try_echo=$ac_try;; 2842 esac 2843 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2844 $as_echo "$ac_try_echo") >&5 2845 (eval "$ac_compile") 2>conftest.er1 2846 ac_status=$? 2847 grep -v '^ *+' conftest.er1 >conftest.err 2848 rm -f conftest.er1 2849 cat conftest.err >&5 2850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2851 (exit $ac_status); } && { 2852 test -z "$ac_c_werror_flag" || 2853 test ! -s conftest.err 2854 } && test -s conftest.$ac_objext; then 3490 2855 ac_cv_prog_cc_c89=$ac_arg 3491 fi 2856 else 2857 $as_echo "$as_me: failed program was:" >&5 2858 sed 's/^/| /' conftest.$ac_ext >&5 2859 2860 2861 fi 2862 3492 2863 rm -f core conftest.err conftest.$ac_objext 3493 2864 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3500 2871 case "x$ac_cv_prog_cc_c89" in 3501 2872 x) 3502 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&52873 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3503 2874 $as_echo "none needed" >&6; } ;; 3504 2875 xno) 3505 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&52876 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3506 2877 $as_echo "unsupported" >&6; } ;; 3507 2878 *) 3508 2879 CC="$CC $ac_cv_prog_cc_c89" 3509 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&52880 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3510 2881 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3511 2882 esac 3512 if test "x$ac_cv_prog_cc_c89" != xno; then : 3513 3514 fi 2883 3515 2884 3516 2885 ac_ext=c … … 3526 2895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3527 2896 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3528 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&52897 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3529 2898 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3530 2899 # On Suns, sometimes $CPP names a directory. … … 3533 2902 fi 3534 2903 if test -z "$CPP"; then 3535 if ${ac_cv_prog_CPP+:} false; then :2904 if test "${ac_cv_prog_CPP+set}" = set; then 3536 2905 $as_echo_n "(cached) " >&6 3537 2906 else … … 3548 2917 # On the NeXT, cc -E runs the code through the compiler's parser, 3549 2918 # not just through cpp. "Syntax error" is here to catch this case. 3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2919 cat >conftest.$ac_ext <<_ACEOF 2920 /* confdefs.h. */ 2921 _ACEOF 2922 cat confdefs.h >>conftest.$ac_ext 2923 cat >>conftest.$ac_ext <<_ACEOF 3551 2924 /* end confdefs.h. */ 3552 2925 #ifdef __STDC__ … … 3557 2930 Syntax error 3558 2931 _ACEOF 3559 if ac_fn_c_try_cpp "$LINENO"; then : 3560 3561 else 2932 if { (ac_try="$ac_cpp conftest.$ac_ext" 2933 case "(($ac_try" in 2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2935 *) ac_try_echo=$ac_try;; 2936 esac 2937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2938 $as_echo "$ac_try_echo") >&5 2939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2940 ac_status=$? 2941 grep -v '^ *+' conftest.er1 >conftest.err 2942 rm -f conftest.er1 2943 cat conftest.err >&5 2944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2945 (exit $ac_status); } >/dev/null && { 2946 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2947 test ! -s conftest.err 2948 }; then 2949 : 2950 else 2951 $as_echo "$as_me: failed program was:" >&5 2952 sed 's/^/| /' conftest.$ac_ext >&5 2953 3562 2954 # Broken: fails on valid input. 3563 2955 continue 3564 2956 fi 3565 rm -f conftest.err conftest.i conftest.$ac_ext 2957 2958 rm -f conftest.err conftest.$ac_ext 3566 2959 3567 2960 # OK, works on sane cases. Now check whether nonexistent headers 3568 2961 # can be detected and how. 3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2962 cat >conftest.$ac_ext <<_ACEOF 2963 /* confdefs.h. */ 2964 _ACEOF 2965 cat confdefs.h >>conftest.$ac_ext 2966 cat >>conftest.$ac_ext <<_ACEOF 3570 2967 /* end confdefs.h. */ 3571 2968 #include <ac_nonexistent.h> 3572 2969 _ACEOF 3573 if ac_fn_c_try_cpp "$LINENO"; then : 2970 if { (ac_try="$ac_cpp conftest.$ac_ext" 2971 case "(($ac_try" in 2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2973 *) ac_try_echo=$ac_try;; 2974 esac 2975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2976 $as_echo "$ac_try_echo") >&5 2977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2978 ac_status=$? 2979 grep -v '^ *+' conftest.er1 >conftest.err 2980 rm -f conftest.er1 2981 cat conftest.err >&5 2982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2983 (exit $ac_status); } >/dev/null && { 2984 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2985 test ! -s conftest.err 2986 }; then 3574 2987 # Broken: success on invalid input. 3575 2988 continue 3576 2989 else 2990 $as_echo "$as_me: failed program was:" >&5 2991 sed 's/^/| /' conftest.$ac_ext >&5 2992 3577 2993 # Passes both tests. 3578 2994 ac_preproc_ok=: 3579 2995 break 3580 2996 fi 3581 rm -f conftest.err conftest.i conftest.$ac_ext 2997 2998 rm -f conftest.err conftest.$ac_ext 3582 2999 3583 3000 done 3584 3001 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3585 rm -f conftest. i conftest.err conftest.$ac_ext3586 if $ac_preproc_ok; then :3002 rm -f conftest.err conftest.$ac_ext 3003 if $ac_preproc_ok; then 3587 3004 break 3588 3005 fi … … 3596 3013 ac_cv_prog_CPP=$CPP 3597 3014 fi 3598 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&53015 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 3599 3016 $as_echo "$CPP" >&6; } 3600 3017 ac_preproc_ok=false … … 3607 3024 # On the NeXT, cc -E runs the code through the compiler's parser, 3608 3025 # not just through cpp. "Syntax error" is here to catch this case. 3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3026 cat >conftest.$ac_ext <<_ACEOF 3027 /* confdefs.h. */ 3028 _ACEOF 3029 cat confdefs.h >>conftest.$ac_ext 3030 cat >>conftest.$ac_ext <<_ACEOF 3610 3031 /* end confdefs.h. */ 3611 3032 #ifdef __STDC__ … … 3616 3037 Syntax error 3617 3038 _ACEOF 3618 if ac_fn_c_try_cpp "$LINENO"; then : 3619 3620 else 3039 if { (ac_try="$ac_cpp conftest.$ac_ext" 3040 case "(($ac_try" in 3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3042 *) ac_try_echo=$ac_try;; 3043 esac 3044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3045 $as_echo "$ac_try_echo") >&5 3046 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3047 ac_status=$? 3048 grep -v '^ *+' conftest.er1 >conftest.err 3049 rm -f conftest.er1 3050 cat conftest.err >&5 3051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3052 (exit $ac_status); } >/dev/null && { 3053 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3054 test ! -s conftest.err 3055 }; then 3056 : 3057 else 3058 $as_echo "$as_me: failed program was:" >&5 3059 sed 's/^/| /' conftest.$ac_ext >&5 3060 3621 3061 # Broken: fails on valid input. 3622 3062 continue 3623 3063 fi 3624 rm -f conftest.err conftest.i conftest.$ac_ext 3064 3065 rm -f conftest.err conftest.$ac_ext 3625 3066 3626 3067 # OK, works on sane cases. Now check whether nonexistent headers 3627 3068 # can be detected and how. 3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3069 cat >conftest.$ac_ext <<_ACEOF 3070 /* confdefs.h. */ 3071 _ACEOF 3072 cat confdefs.h >>conftest.$ac_ext 3073 cat >>conftest.$ac_ext <<_ACEOF 3629 3074 /* end confdefs.h. */ 3630 3075 #include <ac_nonexistent.h> 3631 3076 _ACEOF 3632 if ac_fn_c_try_cpp "$LINENO"; then : 3077 if { (ac_try="$ac_cpp conftest.$ac_ext" 3078 case "(($ac_try" in 3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3080 *) ac_try_echo=$ac_try;; 3081 esac 3082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3083 $as_echo "$ac_try_echo") >&5 3084 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3085 ac_status=$? 3086 grep -v '^ *+' conftest.er1 >conftest.err 3087 rm -f conftest.er1 3088 cat conftest.err >&5 3089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3090 (exit $ac_status); } >/dev/null && { 3091 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3092 test ! -s conftest.err 3093 }; then 3633 3094 # Broken: success on invalid input. 3634 3095 continue 3635 3096 else 3097 $as_echo "$as_me: failed program was:" >&5 3098 sed 's/^/| /' conftest.$ac_ext >&5 3099 3636 3100 # Passes both tests. 3637 3101 ac_preproc_ok=: 3638 3102 break 3639 3103 fi 3640 rm -f conftest.err conftest.i conftest.$ac_ext 3104 3105 rm -f conftest.err conftest.$ac_ext 3641 3106 3642 3107 done 3643 3108 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3644 rm -f conftest. i conftest.err conftest.$ac_ext3645 if $ac_preproc_ok; then :3646 3647 else 3648 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53109 rm -f conftest.err conftest.$ac_ext 3110 if $ac_preproc_ok; then 3111 : 3112 else 3113 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3649 3114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3650 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3651 See \`config.log' for more details" "$LINENO" 5; } 3115 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3116 See \`config.log' for more details." >&5 3117 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3118 See \`config.log' for more details." >&2;} 3119 { (exit 1); exit 1; }; }; } 3652 3120 fi 3653 3121 … … 3659 3127 3660 3128 3661 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&53129 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3662 3130 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3663 if ${ac_cv_path_GREP+:} false; then :3131 if test "${ac_cv_path_GREP+set}" = set; then 3664 3132 $as_echo_n "(cached) " >&6 3665 3133 else … … 3672 3140 IFS=$as_save_IFS 3673 3141 test -z "$as_dir" && as_dir=. 3674 3142 for ac_prog in grep ggrep; do 3675 3143 for ac_exec_ext in '' $ac_executable_extensions; do 3676 3144 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3677 as_fn_executable_p "$ac_path_GREP"|| continue3145 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3678 3146 # Check for GNU ac_path_GREP and select it if it is found. 3679 3147 # Check for GNU $ac_path_GREP … … 3692 3160 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3693 3161 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3694 a s_fn_arith $ac_count + 1 && ac_count=$as_val3162 ac_count=`expr $ac_count + 1` 3695 3163 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3696 3164 # Best one so far, save it but keep looking for a better one … … 3707 3175 done 3708 3176 done 3709 3177 done 3710 3178 IFS=$as_save_IFS 3711 3179 if test -z "$ac_cv_path_GREP"; then 3712 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3180 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3181 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3182 { (exit 1); exit 1; }; } 3713 3183 fi 3714 3184 else … … 3717 3187 3718 3188 fi 3719 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&53189 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3720 3190 $as_echo "$ac_cv_path_GREP" >&6; } 3721 3191 GREP="$ac_cv_path_GREP" 3722 3192 3723 3193 3724 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for egrep" >&53194 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 3725 3195 $as_echo_n "checking for egrep... " >&6; } 3726 if ${ac_cv_path_EGREP+:} false; then :3196 if test "${ac_cv_path_EGREP+set}" = set; then 3727 3197 $as_echo_n "(cached) " >&6 3728 3198 else … … 3738 3208 IFS=$as_save_IFS 3739 3209 test -z "$as_dir" && as_dir=. 3740 3210 for ac_prog in egrep; do 3741 3211 for ac_exec_ext in '' $ac_executable_extensions; do 3742 3212 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3743 as_fn_executable_p "$ac_path_EGREP"|| continue3213 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3744 3214 # Check for GNU ac_path_EGREP and select it if it is found. 3745 3215 # Check for GNU $ac_path_EGREP … … 3758 3228 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3759 3229 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3760 a s_fn_arith $ac_count + 1 && ac_count=$as_val3230 ac_count=`expr $ac_count + 1` 3761 3231 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3762 3232 # Best one so far, save it but keep looking for a better one … … 3773 3243 done 3774 3244 done 3775 3245 done 3776 3246 IFS=$as_save_IFS 3777 3247 if test -z "$ac_cv_path_EGREP"; then 3778 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3248 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3249 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3250 { (exit 1); exit 1; }; } 3779 3251 fi 3780 3252 else … … 3784 3256 fi 3785 3257 fi 3786 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&53258 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3787 3259 $as_echo "$ac_cv_path_EGREP" >&6; } 3788 3260 EGREP="$ac_cv_path_EGREP" 3789 3261 3790 3262 3791 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ANSI C header files" >&53263 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3792 3264 $as_echo_n "checking for ANSI C header files... " >&6; } 3793 if ${ac_cv_header_stdc+:} false; then :3265 if test "${ac_cv_header_stdc+set}" = set; then 3794 3266 $as_echo_n "(cached) " >&6 3795 3267 else 3796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3268 cat >conftest.$ac_ext <<_ACEOF 3269 /* confdefs.h. */ 3270 _ACEOF 3271 cat confdefs.h >>conftest.$ac_ext 3272 cat >>conftest.$ac_ext <<_ACEOF 3797 3273 /* end confdefs.h. */ 3798 3274 #include <stdlib.h> … … 3809 3285 } 3810 3286 _ACEOF 3811 if ac_fn_c_try_compile "$LINENO"; then : 3287 rm -f conftest.$ac_objext 3288 if { (ac_try="$ac_compile" 3289 case "(($ac_try" in 3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3291 *) ac_try_echo=$ac_try;; 3292 esac 3293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3294 $as_echo "$ac_try_echo") >&5 3295 (eval "$ac_compile") 2>conftest.er1 3296 ac_status=$? 3297 grep -v '^ *+' conftest.er1 >conftest.err 3298 rm -f conftest.er1 3299 cat conftest.err >&5 3300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3301 (exit $ac_status); } && { 3302 test -z "$ac_c_werror_flag" || 3303 test ! -s conftest.err 3304 } && test -s conftest.$ac_objext; then 3812 3305 ac_cv_header_stdc=yes 3813 3306 else 3814 ac_cv_header_stdc=no 3815 fi 3307 $as_echo "$as_me: failed program was:" >&5 3308 sed 's/^/| /' conftest.$ac_ext >&5 3309 3310 ac_cv_header_stdc=no 3311 fi 3312 3816 3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3817 3314 3818 3315 if test $ac_cv_header_stdc = yes; then 3819 3316 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3317 cat >conftest.$ac_ext <<_ACEOF 3318 /* confdefs.h. */ 3319 _ACEOF 3320 cat confdefs.h >>conftest.$ac_ext 3321 cat >>conftest.$ac_ext <<_ACEOF 3821 3322 /* end confdefs.h. */ 3822 3323 #include <string.h> … … 3824 3325 _ACEOF 3825 3326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3826 $EGREP "memchr" >/dev/null 2>&1; then :3827 3327 $EGREP "memchr" >/dev/null 2>&1; then 3328 : 3828 3329 else 3829 3330 ac_cv_header_stdc=no … … 3835 3336 if test $ac_cv_header_stdc = yes; then 3836 3337 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3338 cat >conftest.$ac_ext <<_ACEOF 3339 /* confdefs.h. */ 3340 _ACEOF 3341 cat confdefs.h >>conftest.$ac_ext 3342 cat >>conftest.$ac_ext <<_ACEOF 3838 3343 /* end confdefs.h. */ 3839 3344 #include <stdlib.h> … … 3841 3346 _ACEOF 3842 3347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3843 $EGREP "free" >/dev/null 2>&1; then :3844 3348 $EGREP "free" >/dev/null 2>&1; then 3349 : 3845 3350 else 3846 3351 ac_cv_header_stdc=no … … 3852 3357 if test $ac_cv_header_stdc = yes; then 3853 3358 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3854 if test "$cross_compiling" = yes; then :3359 if test "$cross_compiling" = yes; then 3855 3360 : 3856 3361 else 3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3362 cat >conftest.$ac_ext <<_ACEOF 3363 /* confdefs.h. */ 3364 _ACEOF 3365 cat confdefs.h >>conftest.$ac_ext 3366 cat >>conftest.$ac_ext <<_ACEOF 3858 3367 /* end confdefs.h. */ 3859 3368 #include <ctype.h> … … 3882 3391 } 3883 3392 _ACEOF 3884 if ac_fn_c_try_run "$LINENO"; then : 3885 3886 else 3887 ac_cv_header_stdc=no 3888 fi 3889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3890 conftest.$ac_objext conftest.beam conftest.$ac_ext 3891 fi 3892 3893 fi 3894 fi 3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3393 rm -f conftest$ac_exeext 3394 if { (ac_try="$ac_link" 3395 case "(($ac_try" in 3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3397 *) ac_try_echo=$ac_try;; 3398 esac 3399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3400 $as_echo "$ac_try_echo") >&5 3401 (eval "$ac_link") 2>&5 3402 ac_status=$? 3403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3404 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3405 { (case "(($ac_try" in 3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3407 *) ac_try_echo=$ac_try;; 3408 esac 3409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3410 $as_echo "$ac_try_echo") >&5 3411 (eval "$ac_try") 2>&5 3412 ac_status=$? 3413 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3414 (exit $ac_status); }; }; then 3415 : 3416 else 3417 $as_echo "$as_me: program exited with status $ac_status" >&5 3418 $as_echo "$as_me: failed program was:" >&5 3419 sed 's/^/| /' conftest.$ac_ext >&5 3420 3421 ( exit $ac_status ) 3422 ac_cv_header_stdc=no 3423 fi 3424 rm -rf conftest.dSYM 3425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3426 fi 3427 3428 3429 fi 3430 fi 3431 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3896 3432 $as_echo "$ac_cv_header_stdc" >&6; } 3897 3433 if test $ac_cv_header_stdc = yes; then 3898 3434 3899 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3435 cat >>confdefs.h <<\_ACEOF 3436 #define STDC_HEADERS 1 3437 _ACEOF 3900 3438 3901 3439 fi 3902 3440 3903 3441 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3442 3443 3444 3445 3446 3447 3448 3449 3450 3904 3451 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3905 3452 inttypes.h stdint.h unistd.h 3906 do : 3907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3908 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3909 " 3910 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3453 do 3454 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3455 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3456 $as_echo_n "checking for $ac_header... " >&6; } 3457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3458 $as_echo_n "(cached) " >&6 3459 else 3460 cat >conftest.$ac_ext <<_ACEOF 3461 /* confdefs.h. */ 3462 _ACEOF 3463 cat confdefs.h >>conftest.$ac_ext 3464 cat >>conftest.$ac_ext <<_ACEOF 3465 /* end confdefs.h. */ 3466 $ac_includes_default 3467 3468 #include <$ac_header> 3469 _ACEOF 3470 rm -f conftest.$ac_objext 3471 if { (ac_try="$ac_compile" 3472 case "(($ac_try" in 3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3474 *) ac_try_echo=$ac_try;; 3475 esac 3476 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3477 $as_echo "$ac_try_echo") >&5 3478 (eval "$ac_compile") 2>conftest.er1 3479 ac_status=$? 3480 grep -v '^ *+' conftest.er1 >conftest.err 3481 rm -f conftest.er1 3482 cat conftest.err >&5 3483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3484 (exit $ac_status); } && { 3485 test -z "$ac_c_werror_flag" || 3486 test ! -s conftest.err 3487 } && test -s conftest.$ac_objext; then 3488 eval "$as_ac_Header=yes" 3489 else 3490 $as_echo "$as_me: failed program was:" >&5 3491 sed 's/^/| /' conftest.$ac_ext >&5 3492 3493 eval "$as_ac_Header=no" 3494 fi 3495 3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3497 fi 3498 ac_res=`eval 'as_val=${'$as_ac_Header'} 3499 $as_echo "$as_val"'` 3500 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3501 $as_echo "$ac_res" >&6; } 3502 as_val=`eval 'as_val=${'$as_ac_Header'} 3503 $as_echo "$as_val"'` 3504 if test "x$as_val" = x""yes; then 3911 3505 cat >>confdefs.h <<_ACEOF 3912 3506 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 3933 3527 3934 3528 # Check whether --with-python was given. 3935 if test "${with_python+set}" = set; then :3529 if test "${with_python+set}" = set; then 3936 3530 withval=$with_python; 3937 3531 else … … 3944 3538 # 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. 3945 3539 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 3946 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53540 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3947 3541 $as_echo_n "checking for $ac_word... " >&6; } 3948 if ${ac_cv_path_PYTHON+:} false; then :3542 if test "${ac_cv_path_PYTHON+set}" = set; then 3949 3543 $as_echo_n "(cached) " >&6 3950 3544 else … … 3959 3553 IFS=$as_save_IFS 3960 3554 test -z "$as_dir" && as_dir=. 3961 3962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3555 for ac_exec_ext in '' $ac_executable_extensions; do 3556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3963 3557 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3964 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53558 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3965 3559 break 2 3966 3560 fi 3967 3561 done 3968 3562 done 3969 3563 IFS=$as_save_IFS 3970 3564 … … 3974 3568 PYTHON=$ac_cv_path_PYTHON 3975 3569 if test -n "$PYTHON"; then 3976 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON" >&53570 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5 3977 3571 $as_echo "$PYTHON" >&6; } 3978 3572 else 3979 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53573 { $as_echo "$as_me:$LINENO: result: no" >&5 3980 3574 $as_echo "no" >&6; } 3981 3575 fi … … 3985 3579 # Extract the first word of "python", so it can be a program name with args. 3986 3580 set dummy python; ac_word=$2 3987 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53581 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3988 3582 $as_echo_n "checking for $ac_word... " >&6; } 3989 if ${ac_cv_path_PYTHON+:} false; then :3583 if test "${ac_cv_path_PYTHON+set}" = set; then 3990 3584 $as_echo_n "(cached) " >&6 3991 3585 else … … 4001 3595 IFS=$as_save_IFS 4002 3596 test -z "$as_dir" && as_dir=. 4003 4004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3597 for ac_exec_ext in '' $ac_executable_extensions; do 3598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4005 3599 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 4006 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53600 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4007 3601 break 2 4008 3602 fi 4009 3603 done 4010 3604 done 4011 3605 IFS=$as_save_IFS 4012 3606 … … 4016 3610 PYTHON=$ac_cv_path_PYTHON 4017 3611 if test -n "$PYTHON"; then 4018 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON" >&53612 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5 4019 3613 $as_echo "$PYTHON" >&6; } 4020 3614 else 4021 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53615 { $as_echo "$as_me:$LINENO: result: no" >&5 4022 3616 $as_echo "no" >&6; } 4023 3617 fi … … 4025 3619 4026 3620 fi 4027 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for Python version" >&53621 { $as_echo "$as_me:$LINENO: checking for Python version" >&5 4028 3622 $as_echo_n "checking for Python version... " >&6; } 4029 3623 if test "x${PYTHON}" != "x"; then 4030 3624 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 4031 3625 fi 4032 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON_VERSION" >&53626 { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5 4033 3627 $as_echo "$PYTHON_VERSION" >&6; } 4034 3628 fi … … 4036 3630 if test "x${PYTHON_VERSION}" != "x"; then 4037 3631 PYTHON_INCLUDES=$incdir 4038 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for Python distutils" >&53632 { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5 4039 3633 $as_echo_n "checking for Python distutils... " >&6; } 4040 3634 PYTHON_DISTUTILS="" … … 4044 3638 PYTHON_DISTUTILS="yes" 4045 3639 fi 4046 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&53640 { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5 4047 3641 $as_echo "$PYTHON_DISTUTILS" >&6; } 4048 3642 if test "${PYTHON_DISTUTILS}" = "yes" ; then … … 4051 3645 # Check for Python include path 4052 3646 # 4053 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking path to Python headers" >&53647 { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5 4054 3648 $as_echo_n "checking path to Python headers... " >&6; } 4055 3649 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 4056 3650 print distutils.sysconfig.get_python_inc();"` 4057 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&53651 { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5 4058 3652 $as_echo "$PYTHON_INCDIR" >&6; } 4059 3653 # … … 4068 3662 save_CPPFLAGS=$CPPFLAGS 4069 3663 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 4070 for ac_header in Python.h 4071 do : 4072 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 4073 if test "x$ac_cv_header_Python_h" = xyes; then : 3664 3665 for ac_header in Python.h 3666 do 3667 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3668 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3669 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3670 $as_echo_n "checking for $ac_header... " >&6; } 3671 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3672 $as_echo_n "(cached) " >&6 3673 fi 3674 ac_res=`eval 'as_val=${'$as_ac_Header'} 3675 $as_echo "$as_val"'` 3676 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3677 $as_echo "$ac_res" >&6; } 3678 else 3679 # Is the header compilable? 3680 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 3681 $as_echo_n "checking $ac_header usability... " >&6; } 3682 cat >conftest.$ac_ext <<_ACEOF 3683 /* confdefs.h. */ 3684 _ACEOF 3685 cat confdefs.h >>conftest.$ac_ext 3686 cat >>conftest.$ac_ext <<_ACEOF 3687 /* end confdefs.h. */ 3688 $ac_includes_default 3689 #include <$ac_header> 3690 _ACEOF 3691 rm -f conftest.$ac_objext 3692 if { (ac_try="$ac_compile" 3693 case "(($ac_try" in 3694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3695 *) ac_try_echo=$ac_try;; 3696 esac 3697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3698 $as_echo "$ac_try_echo") >&5 3699 (eval "$ac_compile") 2>conftest.er1 3700 ac_status=$? 3701 grep -v '^ *+' conftest.er1 >conftest.err 3702 rm -f conftest.er1 3703 cat conftest.err >&5 3704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3705 (exit $ac_status); } && { 3706 test -z "$ac_c_werror_flag" || 3707 test ! -s conftest.err 3708 } && test -s conftest.$ac_objext; then 3709 ac_header_compiler=yes 3710 else 3711 $as_echo "$as_me: failed program was:" >&5 3712 sed 's/^/| /' conftest.$ac_ext >&5 3713 3714 ac_header_compiler=no 3715 fi 3716 3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3718 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3719 $as_echo "$ac_header_compiler" >&6; } 3720 3721 # Is the header present? 3722 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 3723 $as_echo_n "checking $ac_header presence... " >&6; } 3724 cat >conftest.$ac_ext <<_ACEOF 3725 /* confdefs.h. */ 3726 _ACEOF 3727 cat confdefs.h >>conftest.$ac_ext 3728 cat >>conftest.$ac_ext <<_ACEOF 3729 /* end confdefs.h. */ 3730 #include <$ac_header> 3731 _ACEOF 3732 if { (ac_try="$ac_cpp conftest.$ac_ext" 3733 case "(($ac_try" in 3734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3735 *) ac_try_echo=$ac_try;; 3736 esac 3737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3738 $as_echo "$ac_try_echo") >&5 3739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3740 ac_status=$? 3741 grep -v '^ *+' conftest.er1 >conftest.err 3742 rm -f conftest.er1 3743 cat conftest.err >&5 3744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3745 (exit $ac_status); } >/dev/null && { 3746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3747 test ! -s conftest.err 3748 }; then 3749 ac_header_preproc=yes 3750 else 3751 $as_echo "$as_me: failed program was:" >&5 3752 sed 's/^/| /' conftest.$ac_ext >&5 3753 3754 ac_header_preproc=no 3755 fi 3756 3757 rm -f conftest.err conftest.$ac_ext 3758 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3759 $as_echo "$ac_header_preproc" >&6; } 3760 3761 # So? What about this header? 3762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3763 yes:no: ) 3764 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3765 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3766 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3767 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3768 ac_header_preproc=yes 3769 ;; 3770 no:yes:* ) 3771 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3772 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3773 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3774 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3775 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3776 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3777 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3778 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3779 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3780 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3781 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3782 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3783 ( cat <<\_ASBOX 3784 ## ----------------------------------- ## 3785 ## Report this to rappture@nanohub.org ## 3786 ## ----------------------------------- ## 3787 _ASBOX 3788 ) | sed "s/^/$as_me: WARNING: /" >&2 3789 ;; 3790 esac 3791 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3792 $as_echo_n "checking for $ac_header... " >&6; } 3793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3794 $as_echo_n "(cached) " >&6 3795 else 3796 eval "$as_ac_Header=\$ac_header_preproc" 3797 fi 3798 ac_res=`eval 'as_val=${'$as_ac_Header'} 3799 $as_echo "$as_val"'` 3800 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3801 $as_echo "$ac_res" >&6; } 3802 3803 fi 3804 as_val=`eval 'as_val=${'$as_ac_Header'} 3805 $as_echo "$as_val"'` 3806 if test "x$as_val" = x""yes; then 4074 3807 cat >>confdefs.h <<_ACEOF 4075 #define HAVE_PYTHON_H13808 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4076 3809 _ACEOF 4077 3810 found=yes … … 4117 3850 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4118 3851 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4119 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53852 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4120 3853 $as_echo_n "checking for $ac_word... " >&6; } 4121 if ${ac_cv_prog_RANLIB+:} false; then :3854 if test "${ac_cv_prog_RANLIB+set}" = set; then 4122 3855 $as_echo_n "(cached) " >&6 4123 3856 else … … 4130 3863 IFS=$as_save_IFS 4131 3864 test -z "$as_dir" && as_dir=. 4132 4133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3865 for ac_exec_ext in '' $ac_executable_extensions; do 3866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4134 3867 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4135 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53868 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4136 3869 break 2 4137 3870 fi 4138 3871 done 4139 3872 done 4140 3873 IFS=$as_save_IFS 4141 3874 … … 4144 3877 RANLIB=$ac_cv_prog_RANLIB 4145 3878 if test -n "$RANLIB"; then 4146 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&53879 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 4147 3880 $as_echo "$RANLIB" >&6; } 4148 3881 else 4149 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53882 { $as_echo "$as_me:$LINENO: result: no" >&5 4150 3883 $as_echo "no" >&6; } 4151 3884 fi … … 4157 3890 # Extract the first word of "ranlib", so it can be a program name with args. 4158 3891 set dummy ranlib; ac_word=$2 4159 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53892 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4160 3893 $as_echo_n "checking for $ac_word... " >&6; } 4161 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :3894 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 4162 3895 $as_echo_n "(cached) " >&6 4163 3896 else … … 4170 3903 IFS=$as_save_IFS 4171 3904 test -z "$as_dir" && as_dir=. 4172 4173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3905 for ac_exec_ext in '' $ac_executable_extensions; do 3906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4174 3907 ac_cv_prog_ac_ct_RANLIB="ranlib" 4175 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53908 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4176 3909 break 2 4177 3910 fi 4178 3911 done 4179 3912 done 4180 3913 IFS=$as_save_IFS 4181 3914 … … 4184 3917 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4185 3918 if test -n "$ac_ct_RANLIB"; then 4186 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&53919 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4187 3920 $as_echo "$ac_ct_RANLIB" >&6; } 4188 3921 else 4189 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53922 { $as_echo "$as_me:$LINENO: result: no" >&5 4190 3923 $as_echo "no" >&6; } 4191 3924 fi … … 4196 3929 case $cross_compiling:$ac_tool_warned in 4197 3930 yes:) 4198 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&53931 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4199 3932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4200 3933 ac_tool_warned=yes ;; … … 4210 3943 # Step 0.a: Enable 64 bit support? 4211 3944 4212 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if 64bit support is requested" >&53945 { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5 4213 3946 $as_echo_n "checking if 64bit support is requested... " >&6; } 4214 3947 # Check whether --enable-64bit was given. 4215 if test "${enable_64bit+set}" = set; then :3948 if test "${enable_64bit+set}" = set; then 4216 3949 enableval=$enable_64bit; do64bit=$enableval 4217 3950 else … … 4219 3952 fi 4220 3953 4221 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $do64bit" >&53954 { $as_echo "$as_me:$LINENO: result: $do64bit" >&5 4222 3955 $as_echo "$do64bit" >&6; } 4223 3956 4224 3957 # Step 0.b: Enable Solaris 64 bit VIS support? 4225 3958 4226 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&53959 { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5 4227 3960 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 4228 3961 # Check whether --enable-64bit-vis was given. 4229 if test "${enable_64bit_vis+set}" = set; then :3962 if test "${enable_64bit_vis+set}" = set; then 4230 3963 enableval=$enable_64bit_vis; do64bitVIS=$enableval 4231 3964 else … … 4233 3966 fi 4234 3967 4235 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $do64bitVIS" >&53968 { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5 4236 3969 $as_echo "$do64bitVIS" >&6; } 4237 3970 … … 4245 3978 4246 3979 4247 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking system version" >&53980 { $as_echo "$as_me:$LINENO: checking system version" >&5 4248 3981 $as_echo_n "checking system version... " >&6; } 4249 if ${tcl_cv_sys_version+:} false; then :3982 if test "${tcl_cv_sys_version+set}" = set; then 4250 3983 $as_echo_n "(cached) " >&6 4251 3984 else … … 4256 3989 tcl_cv_sys_version=`uname -s`-`uname -r` 4257 3990 if test "$?" -ne 0 ; then 4258 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: can't find uname command" >&53991 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5 4259 3992 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 4260 3993 tcl_cv_sys_version=unknown … … 4273 4006 4274 4007 fi 4275 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&54008 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5 4276 4009 $as_echo "$tcl_cv_sys_version" >&6; } 4277 4010 system=$tcl_cv_sys_version … … 4281 4014 # Linux can use either -ldl or -ldld for dynamic loading. 4282 4015 4283 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for dlopen in -ldl" >&54016 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 4284 4017 $as_echo_n "checking for dlopen in -ldl... " >&6; } 4285 if ${ac_cv_lib_dl_dlopen+:} false; then :4018 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 4286 4019 $as_echo_n "(cached) " >&6 4287 4020 else 4288 4021 ac_check_lib_save_LIBS=$LIBS 4289 4022 LIBS="-ldl $LIBS" 4290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4023 cat >conftest.$ac_ext <<_ACEOF 4024 /* confdefs.h. */ 4025 _ACEOF 4026 cat confdefs.h >>conftest.$ac_ext 4027 cat >>conftest.$ac_ext <<_ACEOF 4291 4028 /* end confdefs.h. */ 4292 4029 … … 4306 4043 } 4307 4044 _ACEOF 4308 if ac_fn_c_try_link "$LINENO"; then : 4045 rm -f conftest.$ac_objext conftest$ac_exeext 4046 if { (ac_try="$ac_link" 4047 case "(($ac_try" in 4048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4049 *) ac_try_echo=$ac_try;; 4050 esac 4051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4052 $as_echo "$ac_try_echo") >&5 4053 (eval "$ac_link") 2>conftest.er1 4054 ac_status=$? 4055 grep -v '^ *+' conftest.er1 >conftest.err 4056 rm -f conftest.er1 4057 cat conftest.err >&5 4058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4059 (exit $ac_status); } && { 4060 test -z "$ac_c_werror_flag" || 4061 test ! -s conftest.err 4062 } && test -s conftest$ac_exeext && { 4063 test "$cross_compiling" = yes || 4064 $as_test_x conftest$ac_exeext 4065 }; then 4309 4066 ac_cv_lib_dl_dlopen=yes 4310 4067 else 4311 ac_cv_lib_dl_dlopen=no 4312 fi 4313 rm -f core conftest.err conftest.$ac_objext \ 4314 conftest$ac_exeext conftest.$ac_ext 4068 $as_echo "$as_me: failed program was:" >&5 4069 sed 's/^/| /' conftest.$ac_ext >&5 4070 4071 ac_cv_lib_dl_dlopen=no 4072 fi 4073 4074 rm -rf conftest.dSYM 4075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4076 conftest$ac_exeext conftest.$ac_ext 4315 4077 LIBS=$ac_check_lib_save_LIBS 4316 4078 fi 4317 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&54079 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 4318 4080 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 4319 if test "x$ac_cv_lib_dl_dlopen" = x yes; then :4081 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 4320 4082 have_dl=yes 4321 4083 else … … 4349 4111 # Extract the first word of "ar", so it can be a program name with args. 4350 4112 set dummy ar; ac_word=$2 4351 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&54113 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4352 4114 $as_echo_n "checking for $ac_word... " >&6; } 4353 if ${ac_cv_prog_AR+:} false; then :4115 if test "${ac_cv_prog_AR+set}" = set; then 4354 4116 $as_echo_n "(cached) " >&6 4355 4117 else … … 4362 4124 IFS=$as_save_IFS 4363 4125 test -z "$as_dir" && as_dir=. 4364 4365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4126 for ac_exec_ext in '' $ac_executable_extensions; do 4127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4366 4128 ac_cv_prog_AR="ar" 4367 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&54129 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4368 4130 break 2 4369 4131 fi 4370 4132 done 4371 4133 done 4372 4134 IFS=$as_save_IFS 4373 4135 … … 4376 4138 AR=$ac_cv_prog_AR 4377 4139 if test -n "$AR"; then 4378 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $AR" >&54140 { $as_echo "$as_me:$LINENO: result: $AR" >&5 4379 4141 $as_echo "$AR" >&6; } 4380 4142 else 4381 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&54143 { $as_echo "$as_me:$LINENO: result: no" >&5 4382 4144 $as_echo "no" >&6; } 4383 4145 fi … … 4385 4147 4386 4148 if test "${AR}" = "" ; then 4387 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 4149 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 4150 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 4151 { (exit 1); exit 1; }; } 4388 4152 fi 4389 4153 STLIB_LD='${AR} cr' … … 4403 4167 ;; 4404 4168 esac 4405 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&54169 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5 4406 4170 $as_echo "Using $CC for compiling with threads" >&6; } 4407 4171 fi … … 4419 4183 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 4420 4184 if test "$GCC" = "yes" ; then 4421 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&54185 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 4422 4186 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4423 4187 else … … 4474 4238 # known GMT value. 4475 4239 4476 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&54240 { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5 4477 4241 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 4478 if ${ac_cv_lib_bsd_gettimeofday+:} false; then :4242 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 4479 4243 $as_echo_n "(cached) " >&6 4480 4244 else 4481 4245 ac_check_lib_save_LIBS=$LIBS 4482 4246 LIBS="-lbsd $LIBS" 4483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4247 cat >conftest.$ac_ext <<_ACEOF 4248 /* confdefs.h. */ 4249 _ACEOF 4250 cat confdefs.h >>conftest.$ac_ext 4251 cat >>conftest.$ac_ext <<_ACEOF 4484 4252 /* end confdefs.h. */ 4485 4253 … … 4499 4267 } 4500 4268 _ACEOF 4501 if ac_fn_c_try_link "$LINENO"; then : 4269 rm -f conftest.$ac_objext conftest$ac_exeext 4270 if { (ac_try="$ac_link" 4271 case "(($ac_try" in 4272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4273 *) ac_try_echo=$ac_try;; 4274 esac 4275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4276 $as_echo "$ac_try_echo") >&5 4277 (eval "$ac_link") 2>conftest.er1 4278 ac_status=$? 4279 grep -v '^ *+' conftest.er1 >conftest.err 4280 rm -f conftest.er1 4281 cat conftest.err >&5 4282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4283 (exit $ac_status); } && { 4284 test -z "$ac_c_werror_flag" || 4285 test ! -s conftest.err 4286 } && test -s conftest$ac_exeext && { 4287 test "$cross_compiling" = yes || 4288 $as_test_x conftest$ac_exeext 4289 }; then 4502 4290 ac_cv_lib_bsd_gettimeofday=yes 4503 4291 else 4504 ac_cv_lib_bsd_gettimeofday=no 4505 fi 4506 rm -f core conftest.err conftest.$ac_objext \ 4507 conftest$ac_exeext conftest.$ac_ext 4292 $as_echo "$as_me: failed program was:" >&5 4293 sed 's/^/| /' conftest.$ac_ext >&5 4294 4295 ac_cv_lib_bsd_gettimeofday=no 4296 fi 4297 4298 rm -rf conftest.dSYM 4299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4300 conftest$ac_exeext conftest.$ac_ext 4508 4301 LIBS=$ac_check_lib_save_LIBS 4509 4302 fi 4510 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&54303 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5 4511 4304 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 4512 if test "x$ac_cv_lib_bsd_gettimeofday" = x yes; then :4305 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then 4513 4306 libbsd=yes 4514 4307 else … … 4518 4311 if test $libbsd = yes; then 4519 4312 MATH_LIBS="$MATH_LIBS -lbsd" 4520 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 4313 cat >>confdefs.h <<\_ACEOF 4314 #define USE_DELTA_FOR_TZ 1 4315 _ACEOF 4521 4316 4522 4317 fi … … 4535 4330 # is always linked to, for compatibility. 4536 4331 #----------------------------------------------------------- 4537 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&54332 { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5 4538 4333 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 4539 if ${ac_cv_lib_bind_inet_ntoa+:} false; then :4334 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then 4540 4335 $as_echo_n "(cached) " >&6 4541 4336 else 4542 4337 ac_check_lib_save_LIBS=$LIBS 4543 4338 LIBS="-lbind $LIBS" 4544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4339 cat >conftest.$ac_ext <<_ACEOF 4340 /* confdefs.h. */ 4341 _ACEOF 4342 cat confdefs.h >>conftest.$ac_ext 4343 cat >>conftest.$ac_ext <<_ACEOF 4545 4344 /* end confdefs.h. */ 4546 4345 … … 4560 4359 } 4561 4360 _ACEOF 4562 if ac_fn_c_try_link "$LINENO"; then : 4361 rm -f conftest.$ac_objext conftest$ac_exeext 4362 if { (ac_try="$ac_link" 4363 case "(($ac_try" in 4364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4365 *) ac_try_echo=$ac_try;; 4366 esac 4367 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4368 $as_echo "$ac_try_echo") >&5 4369 (eval "$ac_link") 2>conftest.er1 4370 ac_status=$? 4371 grep -v '^ *+' conftest.er1 >conftest.err 4372 rm -f conftest.er1 4373 cat conftest.err >&5 4374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4375 (exit $ac_status); } && { 4376 test -z "$ac_c_werror_flag" || 4377 test ! -s conftest.err 4378 } && test -s conftest$ac_exeext && { 4379 test "$cross_compiling" = yes || 4380 $as_test_x conftest$ac_exeext 4381 }; then 4563 4382 ac_cv_lib_bind_inet_ntoa=yes 4564 4383 else 4565 ac_cv_lib_bind_inet_ntoa=no 4566 fi 4567 rm -f core conftest.err conftest.$ac_objext \ 4568 conftest$ac_exeext conftest.$ac_ext 4384 $as_echo "$as_me: failed program was:" >&5 4385 sed 's/^/| /' conftest.$ac_ext >&5 4386 4387 ac_cv_lib_bind_inet_ntoa=no 4388 fi 4389 4390 rm -rf conftest.dSYM 4391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4392 conftest$ac_exeext conftest.$ac_ext 4569 4393 LIBS=$ac_check_lib_save_LIBS 4570 4394 fi 4571 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&54395 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5 4572 4396 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 4573 if test "x$ac_cv_lib_bind_inet_ntoa" = x yes; then :4397 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then 4574 4398 LIBS="$LIBS -lbind -lsocket" 4575 4399 fi … … 4609 4433 HP-UX-*.11.*) 4610 4434 # Use updated header definitions where possible 4611 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 4435 cat >>confdefs.h <<\_ACEOF 4436 #define _XOPEN_SOURCE 1 4437 _ACEOF 4612 4438 # Use the XOPEN network library 4613 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 4439 cat >>confdefs.h <<\_ACEOF 4440 #define _XOPEN_SOURCE_EXTENDED 1 4441 _ACEOF 4614 4442 # Use the XOPEN network library 4615 4443 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 4620 4448 SHLIB_SUFFIX=".sl" 4621 4449 fi 4622 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for shl_load in -ldld" >&54450 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 4623 4451 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4624 if ${ac_cv_lib_dld_shl_load+:} false; then :4452 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4625 4453 $as_echo_n "(cached) " >&6 4626 4454 else 4627 4455 ac_check_lib_save_LIBS=$LIBS 4628 4456 LIBS="-ldld $LIBS" 4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4457 cat >conftest.$ac_ext <<_ACEOF 4458 /* confdefs.h. */ 4459 _ACEOF 4460 cat confdefs.h >>conftest.$ac_ext 4461 cat >>conftest.$ac_ext <<_ACEOF 4630 4462 /* end confdefs.h. */ 4631 4463 … … 4645 4477 } 4646 4478 _ACEOF 4647 if ac_fn_c_try_link "$LINENO"; then : 4479 rm -f conftest.$ac_objext conftest$ac_exeext 4480 if { (ac_try="$ac_link" 4481 case "(($ac_try" in 4482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4483 *) ac_try_echo=$ac_try;; 4484 esac 4485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4486 $as_echo "$ac_try_echo") >&5 4487 (eval "$ac_link") 2>conftest.er1 4488 ac_status=$? 4489 grep -v '^ *+' conftest.er1 >conftest.err 4490 rm -f conftest.er1 4491 cat conftest.err >&5 4492 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4493 (exit $ac_status); } && { 4494 test -z "$ac_c_werror_flag" || 4495 test ! -s conftest.err 4496 } && test -s conftest$ac_exeext && { 4497 test "$cross_compiling" = yes || 4498 $as_test_x conftest$ac_exeext 4499 }; then 4648 4500 ac_cv_lib_dld_shl_load=yes 4649 4501 else 4650 ac_cv_lib_dld_shl_load=no 4651 fi 4652 rm -f core conftest.err conftest.$ac_objext \ 4653 conftest$ac_exeext conftest.$ac_ext 4502 $as_echo "$as_me: failed program was:" >&5 4503 sed 's/^/| /' conftest.$ac_ext >&5 4504 4505 ac_cv_lib_dld_shl_load=no 4506 fi 4507 4508 rm -rf conftest.dSYM 4509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4510 conftest$ac_exeext conftest.$ac_ext 4654 4511 LIBS=$ac_check_lib_save_LIBS 4655 4512 fi 4656 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&54513 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 4657 4514 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4658 if test "x$ac_cv_lib_dld_shl_load" = x yes; then :4515 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 4659 4516 tcl_ok=yes 4660 4517 else … … 4696 4553 ;; 4697 4554 *) 4698 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&54555 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 4699 4556 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4700 4557 ;; … … 4709 4566 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 4710 4567 SHLIB_SUFFIX=".sl" 4711 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for shl_load in -ldld" >&54568 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 4712 4569 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4713 if ${ac_cv_lib_dld_shl_load+:} false; then :4570 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4714 4571 $as_echo_n "(cached) " >&6 4715 4572 else 4716 4573 ac_check_lib_save_LIBS=$LIBS 4717 4574 LIBS="-ldld $LIBS" 4718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4575 cat >conftest.$ac_ext <<_ACEOF 4576 /* confdefs.h. */ 4577 _ACEOF 4578 cat confdefs.h >>conftest.$ac_ext 4579 cat >>conftest.$ac_ext <<_ACEOF 4719 4580 /* end confdefs.h. */ 4720 4581 … … 4734 4595 } 4735 4596 _ACEOF 4736 if ac_fn_c_try_link "$LINENO"; then : 4597 rm -f conftest.$ac_objext conftest$ac_exeext 4598 if { (ac_try="$ac_link" 4599 case "(($ac_try" in 4600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4601 *) ac_try_echo=$ac_try;; 4602 esac 4603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4604 $as_echo "$ac_try_echo") >&5 4605 (eval "$ac_link") 2>conftest.er1 4606 ac_status=$? 4607 grep -v '^ *+' conftest.er1 >conftest.err 4608 rm -f conftest.er1 4609 cat conftest.err >&5 4610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4611 (exit $ac_status); } && { 4612 test -z "$ac_c_werror_flag" || 4613 test ! -s conftest.err 4614 } && test -s conftest$ac_exeext && { 4615 test "$cross_compiling" = yes || 4616 $as_test_x conftest$ac_exeext 4617 }; then 4737 4618 ac_cv_lib_dld_shl_load=yes 4738 4619 else 4739 ac_cv_lib_dld_shl_load=no 4740 fi 4741 rm -f core conftest.err conftest.$ac_objext \ 4742 conftest$ac_exeext conftest.$ac_ext 4620 $as_echo "$as_me: failed program was:" >&5 4621 sed 's/^/| /' conftest.$ac_ext >&5 4622 4623 ac_cv_lib_dld_shl_load=no 4624 fi 4625 4626 rm -rf conftest.dSYM 4627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4628 conftest$ac_exeext conftest.$ac_ext 4743 4629 LIBS=$ac_check_lib_save_LIBS 4744 4630 fi 4745 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&54631 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 4746 4632 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4747 if test "x$ac_cv_lib_dld_shl_load" = x yes; then :4633 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 4748 4634 tcl_ok=yes 4749 4635 else … … 4824 4710 if test "$do64bit" = "yes" ; then 4825 4711 if test "$GCC" = "yes" ; then 4826 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&54712 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5 4827 4713 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 4828 4714 else … … 4853 4739 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4854 4740 else 4855 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4856 if test "x$ac_cv_header_dld_h" = xyes; then : 4741 if test "${ac_cv_header_dld_h+set}" = set; then 4742 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4743 $as_echo_n "checking for dld.h... " >&6; } 4744 if test "${ac_cv_header_dld_h+set}" = set; then 4745 $as_echo_n "(cached) " >&6 4746 fi 4747 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4748 $as_echo "$ac_cv_header_dld_h" >&6; } 4749 else 4750 # Is the header compilable? 4751 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4752 $as_echo_n "checking dld.h usability... " >&6; } 4753 cat >conftest.$ac_ext <<_ACEOF 4754 /* confdefs.h. */ 4755 _ACEOF 4756 cat confdefs.h >>conftest.$ac_ext 4757 cat >>conftest.$ac_ext <<_ACEOF 4758 /* end confdefs.h. */ 4759 $ac_includes_default 4760 #include <dld.h> 4761 _ACEOF 4762 rm -f conftest.$ac_objext 4763 if { (ac_try="$ac_compile" 4764 case "(($ac_try" in 4765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4766 *) ac_try_echo=$ac_try;; 4767 esac 4768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4769 $as_echo "$ac_try_echo") >&5 4770 (eval "$ac_compile") 2>conftest.er1 4771 ac_status=$? 4772 grep -v '^ *+' conftest.er1 >conftest.err 4773 rm -f conftest.er1 4774 cat conftest.err >&5 4775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4776 (exit $ac_status); } && { 4777 test -z "$ac_c_werror_flag" || 4778 test ! -s conftest.err 4779 } && test -s conftest.$ac_objext; then 4780 ac_header_compiler=yes 4781 else 4782 $as_echo "$as_me: failed program was:" >&5 4783 sed 's/^/| /' conftest.$ac_ext >&5 4784 4785 ac_header_compiler=no 4786 fi 4787 4788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4789 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4790 $as_echo "$ac_header_compiler" >&6; } 4791 4792 # Is the header present? 4793 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4794 $as_echo_n "checking dld.h presence... " >&6; } 4795 cat >conftest.$ac_ext <<_ACEOF 4796 /* confdefs.h. */ 4797 _ACEOF 4798 cat confdefs.h >>conftest.$ac_ext 4799 cat >>conftest.$ac_ext <<_ACEOF 4800 /* end confdefs.h. */ 4801 #include <dld.h> 4802 _ACEOF 4803 if { (ac_try="$ac_cpp conftest.$ac_ext" 4804 case "(($ac_try" in 4805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4806 *) ac_try_echo=$ac_try;; 4807 esac 4808 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4809 $as_echo "$ac_try_echo") >&5 4810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4811 ac_status=$? 4812 grep -v '^ *+' conftest.er1 >conftest.err 4813 rm -f conftest.er1 4814 cat conftest.err >&5 4815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4816 (exit $ac_status); } >/dev/null && { 4817 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4818 test ! -s conftest.err 4819 }; then 4820 ac_header_preproc=yes 4821 else 4822 $as_echo "$as_me: failed program was:" >&5 4823 sed 's/^/| /' conftest.$ac_ext >&5 4824 4825 ac_header_preproc=no 4826 fi 4827 4828 rm -f conftest.err conftest.$ac_ext 4829 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4830 $as_echo "$ac_header_preproc" >&6; } 4831 4832 # So? What about this header? 4833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4834 yes:no: ) 4835 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4836 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4837 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4838 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4839 ac_header_preproc=yes 4840 ;; 4841 no:yes:* ) 4842 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4843 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4844 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4845 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4846 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4847 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4848 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4849 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4850 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4851 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4852 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4853 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4854 ( cat <<\_ASBOX 4855 ## ----------------------------------- ## 4856 ## Report this to rappture@nanohub.org ## 4857 ## ----------------------------------- ## 4858 _ASBOX 4859 ) | sed "s/^/$as_me: WARNING: /" >&2 4860 ;; 4861 esac 4862 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4863 $as_echo_n "checking for dld.h... " >&6; } 4864 if test "${ac_cv_header_dld_h+set}" = set; then 4865 $as_echo_n "(cached) " >&6 4866 else 4867 ac_cv_header_dld_h=$ac_header_preproc 4868 fi 4869 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4870 $as_echo "$ac_cv_header_dld_h" >&6; } 4871 4872 fi 4873 if test "x$ac_cv_header_dld_h" = x""yes; then 4857 4874 4858 4875 SHLIB_LD="ld -shared" … … 4869 4886 fi 4870 4887 if test $do64bit = yes; then 4871 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&54888 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5 4872 4889 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 4873 if ${tcl_cv_cc_m64+:} false; then :4890 if test "${tcl_cv_cc_m64+set}" = set; then 4874 4891 $as_echo_n "(cached) " >&6 4875 4892 else … … 4877 4894 hold_cflags=$CFLAGS 4878 4895 CFLAGS="$CFLAGS -m64" 4879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4896 cat >conftest.$ac_ext <<_ACEOF 4897 /* confdefs.h. */ 4898 _ACEOF 4899 cat confdefs.h >>conftest.$ac_ext 4900 cat >>conftest.$ac_ext <<_ACEOF 4880 4901 /* end confdefs.h. */ 4881 4902 … … 4888 4909 } 4889 4910 _ACEOF 4890 if ac_fn_c_try_link "$LINENO"; then : 4911 rm -f conftest.$ac_objext conftest$ac_exeext 4912 if { (ac_try="$ac_link" 4913 case "(($ac_try" in 4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4915 *) ac_try_echo=$ac_try;; 4916 esac 4917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4918 $as_echo "$ac_try_echo") >&5 4919 (eval "$ac_link") 2>conftest.er1 4920 ac_status=$? 4921 grep -v '^ *+' conftest.er1 >conftest.err 4922 rm -f conftest.er1 4923 cat conftest.err >&5 4924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4925 (exit $ac_status); } && { 4926 test -z "$ac_c_werror_flag" || 4927 test ! -s conftest.err 4928 } && test -s conftest$ac_exeext && { 4929 test "$cross_compiling" = yes || 4930 $as_test_x conftest$ac_exeext 4931 }; then 4891 4932 tcl_cv_cc_m64=yes 4892 4933 else 4893 tcl_cv_cc_m64=no 4894 fi 4895 rm -f core conftest.err conftest.$ac_objext \ 4896 conftest$ac_exeext conftest.$ac_ext 4934 $as_echo "$as_me: failed program was:" >&5 4935 sed 's/^/| /' conftest.$ac_ext >&5 4936 4937 tcl_cv_cc_m64=no 4938 fi 4939 4940 rm -rf conftest.dSYM 4941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4942 conftest$ac_exeext conftest.$ac_ext 4897 4943 CFLAGS=$hold_cflags 4898 4944 fi 4899 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&54945 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5 4900 4946 $as_echo "$tcl_cv_cc_m64" >&6; } 4901 4947 if test $tcl_cv_cc_m64 = yes; then … … 4917 4963 4918 4964 # XIM peeking works under XFree86. 4919 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 4965 cat >>confdefs.h <<\_ACEOF 4966 #define PEEK_XCLOSEIM 1 4967 _ACEOF 4920 4968 4921 4969 … … 4934 4982 LD_SEARCH_FLAGS="" 4935 4983 else 4936 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4937 if test "x$ac_cv_header_dld_h" = xyes; then : 4984 if test "${ac_cv_header_dld_h+set}" = set; then 4985 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4986 $as_echo_n "checking for dld.h... " >&6; } 4987 if test "${ac_cv_header_dld_h+set}" = set; then 4988 $as_echo_n "(cached) " >&6 4989 fi 4990 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4991 $as_echo "$ac_cv_header_dld_h" >&6; } 4992 else 4993 # Is the header compilable? 4994 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4995 $as_echo_n "checking dld.h usability... " >&6; } 4996 cat >conftest.$ac_ext <<_ACEOF 4997 /* confdefs.h. */ 4998 _ACEOF 4999 cat confdefs.h >>conftest.$ac_ext 5000 cat >>conftest.$ac_ext <<_ACEOF 5001 /* end confdefs.h. */ 5002 $ac_includes_default 5003 #include <dld.h> 5004 _ACEOF 5005 rm -f conftest.$ac_objext 5006 if { (ac_try="$ac_compile" 5007 case "(($ac_try" in 5008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5009 *) ac_try_echo=$ac_try;; 5010 esac 5011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5012 $as_echo "$ac_try_echo") >&5 5013 (eval "$ac_compile") 2>conftest.er1 5014 ac_status=$? 5015 grep -v '^ *+' conftest.er1 >conftest.err 5016 rm -f conftest.er1 5017 cat conftest.err >&5 5018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5019 (exit $ac_status); } && { 5020 test -z "$ac_c_werror_flag" || 5021 test ! -s conftest.err 5022 } && test -s conftest.$ac_objext; then 5023 ac_header_compiler=yes 5024 else 5025 $as_echo "$as_me: failed program was:" >&5 5026 sed 's/^/| /' conftest.$ac_ext >&5 5027 5028 ac_header_compiler=no 5029 fi 5030 5031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5032 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5033 $as_echo "$ac_header_compiler" >&6; } 5034 5035 # Is the header present? 5036 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 5037 $as_echo_n "checking dld.h presence... " >&6; } 5038 cat >conftest.$ac_ext <<_ACEOF 5039 /* confdefs.h. */ 5040 _ACEOF 5041 cat confdefs.h >>conftest.$ac_ext 5042 cat >>conftest.$ac_ext <<_ACEOF 5043 /* end confdefs.h. */ 5044 #include <dld.h> 5045 _ACEOF 5046 if { (ac_try="$ac_cpp conftest.$ac_ext" 5047 case "(($ac_try" in 5048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5049 *) ac_try_echo=$ac_try;; 5050 esac 5051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5052 $as_echo "$ac_try_echo") >&5 5053 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5054 ac_status=$? 5055 grep -v '^ *+' conftest.er1 >conftest.err 5056 rm -f conftest.er1 5057 cat conftest.err >&5 5058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5059 (exit $ac_status); } >/dev/null && { 5060 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5061 test ! -s conftest.err 5062 }; then 5063 ac_header_preproc=yes 5064 else 5065 $as_echo "$as_me: failed program was:" >&5 5066 sed 's/^/| /' conftest.$ac_ext >&5 5067 5068 ac_header_preproc=no 5069 fi 5070 5071 rm -f conftest.err conftest.$ac_ext 5072 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5073 $as_echo "$ac_header_preproc" >&6; } 5074 5075 # So? What about this header? 5076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5077 yes:no: ) 5078 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 5079 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5080 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 5081 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 5082 ac_header_preproc=yes 5083 ;; 5084 no:yes:* ) 5085 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 5086 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 5087 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 5088 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 5089 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 5090 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 5091 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 5092 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 5093 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 5094 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 5095 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 5096 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 5097 ( cat <<\_ASBOX 5098 ## ----------------------------------- ## 5099 ## Report this to rappture@nanohub.org ## 5100 ## ----------------------------------- ## 5101 _ASBOX 5102 ) | sed "s/^/$as_me: WARNING: /" >&2 5103 ;; 5104 esac 5105 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 5106 $as_echo_n "checking for dld.h... " >&6; } 5107 if test "${ac_cv_header_dld_h+set}" = set; then 5108 $as_echo_n "(cached) " >&6 5109 else 5110 ac_cv_header_dld_h=$ac_header_preproc 5111 fi 5112 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 5113 $as_echo "$ac_cv_header_dld_h" >&6; } 5114 5115 fi 5116 if test "x$ac_cv_header_dld_h" = x""yes; then 4938 5117 4939 5118 SHLIB_LD="ld -shared" … … 4985 5164 NetBSD-*|FreeBSD-[1-2].*) 4986 5165 # Not available on all versions: check for include file. 4987 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 4988 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 5166 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5167 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 5168 $as_echo_n "checking for dlfcn.h... " >&6; } 5169 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5170 $as_echo_n "(cached) " >&6 5171 fi 5172 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 5173 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 5174 else 5175 # Is the header compilable? 5176 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 5177 $as_echo_n "checking dlfcn.h usability... " >&6; } 5178 cat >conftest.$ac_ext <<_ACEOF 5179 /* confdefs.h. */ 5180 _ACEOF 5181 cat confdefs.h >>conftest.$ac_ext 5182 cat >>conftest.$ac_ext <<_ACEOF 5183 /* end confdefs.h. */ 5184 $ac_includes_default 5185 #include <dlfcn.h> 5186 _ACEOF 5187 rm -f conftest.$ac_objext 5188 if { (ac_try="$ac_compile" 5189 case "(($ac_try" in 5190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5191 *) ac_try_echo=$ac_try;; 5192 esac 5193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5194 $as_echo "$ac_try_echo") >&5 5195 (eval "$ac_compile") 2>conftest.er1 5196 ac_status=$? 5197 grep -v '^ *+' conftest.er1 >conftest.err 5198 rm -f conftest.er1 5199 cat conftest.err >&5 5200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5201 (exit $ac_status); } && { 5202 test -z "$ac_c_werror_flag" || 5203 test ! -s conftest.err 5204 } && test -s conftest.$ac_objext; then 5205 ac_header_compiler=yes 5206 else 5207 $as_echo "$as_me: failed program was:" >&5 5208 sed 's/^/| /' conftest.$ac_ext >&5 5209 5210 ac_header_compiler=no 5211 fi 5212 5213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5214 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5215 $as_echo "$ac_header_compiler" >&6; } 5216 5217 # Is the header present? 5218 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 5219 $as_echo_n "checking dlfcn.h presence... " >&6; } 5220 cat >conftest.$ac_ext <<_ACEOF 5221 /* confdefs.h. */ 5222 _ACEOF 5223 cat confdefs.h >>conftest.$ac_ext 5224 cat >>conftest.$ac_ext <<_ACEOF 5225 /* end confdefs.h. */ 5226 #include <dlfcn.h> 5227 _ACEOF 5228 if { (ac_try="$ac_cpp conftest.$ac_ext" 5229 case "(($ac_try" in 5230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5231 *) ac_try_echo=$ac_try;; 5232 esac 5233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5234 $as_echo "$ac_try_echo") >&5 5235 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5236 ac_status=$? 5237 grep -v '^ *+' conftest.er1 >conftest.err 5238 rm -f conftest.er1 5239 cat conftest.err >&5 5240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5241 (exit $ac_status); } >/dev/null && { 5242 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5243 test ! -s conftest.err 5244 }; then 5245 ac_header_preproc=yes 5246 else 5247 $as_echo "$as_me: failed program was:" >&5 5248 sed 's/^/| /' conftest.$ac_ext >&5 5249 5250 ac_header_preproc=no 5251 fi 5252 5253 rm -f conftest.err conftest.$ac_ext 5254 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5255 $as_echo "$ac_header_preproc" >&6; } 5256 5257 # So? What about this header? 5258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5259 yes:no: ) 5260 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 5261 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5262 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 5263 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 5264 ac_header_preproc=yes 5265 ;; 5266 no:yes:* ) 5267 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 5268 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 5269 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 5270 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 5271 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 5272 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 5273 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 5274 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 5275 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 5276 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 5277 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 5278 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 5279 ( cat <<\_ASBOX 5280 ## ----------------------------------- ## 5281 ## Report this to rappture@nanohub.org ## 5282 ## ----------------------------------- ## 5283 _ASBOX 5284 ) | sed "s/^/$as_me: WARNING: /" >&2 5285 ;; 5286 esac 5287 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 5288 $as_echo_n "checking for dlfcn.h... " >&6; } 5289 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5290 $as_echo_n "(cached) " >&6 5291 else 5292 ac_cv_header_dlfcn_h=$ac_header_preproc 5293 fi 5294 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 5295 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 5296 5297 fi 5298 if test "x$ac_cv_header_dlfcn_h" = x""yes; then 4989 5299 4990 5300 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 4997 5307 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4998 5308 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 4999 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ELF" >&55309 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 5000 5310 $as_echo_n "checking for ELF... " >&6; } 5001 if ${tcl_cv_ld_elf+:} false; then :5311 if test "${tcl_cv_ld_elf+set}" = set; then 5002 5312 $as_echo_n "(cached) " >&6 5003 5313 else 5004 5314 5005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5315 cat >conftest.$ac_ext <<_ACEOF 5316 /* confdefs.h. */ 5317 _ACEOF 5318 cat confdefs.h >>conftest.$ac_ext 5319 cat >>conftest.$ac_ext <<_ACEOF 5006 5320 /* end confdefs.h. */ 5007 5321 … … 5012 5326 _ACEOF 5013 5327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5014 $EGREP "yes" >/dev/null 2>&1; then :5328 $EGREP "yes" >/dev/null 2>&1; then 5015 5329 tcl_cv_ld_elf=yes 5016 5330 else … … 5020 5334 5021 5335 fi 5022 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&55336 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 5023 5337 $as_echo "$tcl_cv_ld_elf" >&6; } 5024 5338 if test $tcl_cv_ld_elf = yes; then … … 5079 5393 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5080 5394 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 5081 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ELF" >&55395 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 5082 5396 $as_echo_n "checking for ELF... " >&6; } 5083 if ${tcl_cv_ld_elf+:} false; then :5397 if test "${tcl_cv_ld_elf+set}" = set; then 5084 5398 $as_echo_n "(cached) " >&6 5085 5399 else 5086 5400 5087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5401 cat >conftest.$ac_ext <<_ACEOF 5402 /* confdefs.h. */ 5403 _ACEOF 5404 cat confdefs.h >>conftest.$ac_ext 5405 cat >>conftest.$ac_ext <<_ACEOF 5088 5406 /* end confdefs.h. */ 5089 5407 … … 5094 5412 _ACEOF 5095 5413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5096 $EGREP "yes" >/dev/null 2>&1; then :5414 $EGREP "yes" >/dev/null 2>&1; then 5097 5415 tcl_cv_ld_elf=yes 5098 5416 else … … 5102 5420 5103 5421 fi 5104 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&55422 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 5105 5423 $as_echo "$tcl_cv_ld_elf" >&6; } 5106 5424 if test $tcl_cv_ld_elf = yes; then … … 5157 5475 case `arch` in 5158 5476 ppc) 5159 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&55477 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5 5160 5478 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 5161 if ${tcl_cv_cc_arch_ppc64+:} false; then :5479 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then 5162 5480 $as_echo_n "(cached) " >&6 5163 5481 else … … 5165 5483 hold_cflags=$CFLAGS 5166 5484 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 5167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5485 cat >conftest.$ac_ext <<_ACEOF 5486 /* confdefs.h. */ 5487 _ACEOF 5488 cat confdefs.h >>conftest.$ac_ext 5489 cat >>conftest.$ac_ext <<_ACEOF 5168 5490 /* end confdefs.h. */ 5169 5491 … … 5176 5498 } 5177 5499 _ACEOF 5178 if ac_fn_c_try_link "$LINENO"; then : 5500 rm -f conftest.$ac_objext conftest$ac_exeext 5501 if { (ac_try="$ac_link" 5502 case "(($ac_try" in 5503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5504 *) ac_try_echo=$ac_try;; 5505 esac 5506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5507 $as_echo "$ac_try_echo") >&5 5508 (eval "$ac_link") 2>conftest.er1 5509 ac_status=$? 5510 grep -v '^ *+' conftest.er1 >conftest.err 5511 rm -f conftest.er1 5512 cat conftest.err >&5 5513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5514 (exit $ac_status); } && { 5515 test -z "$ac_c_werror_flag" || 5516 test ! -s conftest.err 5517 } && test -s conftest$ac_exeext && { 5518 test "$cross_compiling" = yes || 5519 $as_test_x conftest$ac_exeext 5520 }; then 5179 5521 tcl_cv_cc_arch_ppc64=yes 5180 5522 else 5181 tcl_cv_cc_arch_ppc64=no 5182 fi 5183 rm -f core conftest.err conftest.$ac_objext \ 5184 conftest$ac_exeext conftest.$ac_ext 5523 $as_echo "$as_me: failed program was:" >&5 5524 sed 's/^/| /' conftest.$ac_ext >&5 5525 5526 tcl_cv_cc_arch_ppc64=no 5527 fi 5528 5529 rm -rf conftest.dSYM 5530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5531 conftest$ac_exeext conftest.$ac_ext 5185 5532 CFLAGS=$hold_cflags 5186 5533 fi 5187 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&55534 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5 5188 5535 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 5189 5536 if test $tcl_cv_cc_arch_ppc64 = yes; then … … 5192 5539 fi;; 5193 5540 i386) 5194 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&55541 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5 5195 5542 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 5196 if ${tcl_cv_cc_arch_x86_64+:} false; then :5543 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then 5197 5544 $as_echo_n "(cached) " >&6 5198 5545 else … … 5200 5547 hold_cflags=$CFLAGS 5201 5548 CFLAGS="$CFLAGS -arch x86_64" 5202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5549 cat >conftest.$ac_ext <<_ACEOF 5550 /* confdefs.h. */ 5551 _ACEOF 5552 cat confdefs.h >>conftest.$ac_ext 5553 cat >>conftest.$ac_ext <<_ACEOF 5203 5554 /* end confdefs.h. */ 5204 5555 … … 5211 5562 } 5212 5563 _ACEOF 5213 if ac_fn_c_try_link "$LINENO"; then : 5564 rm -f conftest.$ac_objext conftest$ac_exeext 5565 if { (ac_try="$ac_link" 5566 case "(($ac_try" in 5567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5568 *) ac_try_echo=$ac_try;; 5569 esac 5570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5571 $as_echo "$ac_try_echo") >&5 5572 (eval "$ac_link") 2>conftest.er1 5573 ac_status=$? 5574 grep -v '^ *+' conftest.er1 >conftest.err 5575 rm -f conftest.er1 5576 cat conftest.err >&5 5577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5578 (exit $ac_status); } && { 5579 test -z "$ac_c_werror_flag" || 5580 test ! -s conftest.err 5581 } && test -s conftest$ac_exeext && { 5582 test "$cross_compiling" = yes || 5583 $as_test_x conftest$ac_exeext 5584 }; then 5214 5585 tcl_cv_cc_arch_x86_64=yes 5215 5586 else 5216 tcl_cv_cc_arch_x86_64=no 5217 fi 5218 rm -f core conftest.err conftest.$ac_objext \ 5219 conftest$ac_exeext conftest.$ac_ext 5587 $as_echo "$as_me: failed program was:" >&5 5588 sed 's/^/| /' conftest.$ac_ext >&5 5589 5590 tcl_cv_cc_arch_x86_64=no 5591 fi 5592 5593 rm -rf conftest.dSYM 5594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5595 conftest$ac_exeext conftest.$ac_ext 5220 5596 CFLAGS=$hold_cflags 5221 5597 fi 5222 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&55598 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5 5223 5599 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 5224 5600 if test $tcl_cv_cc_arch_x86_64 = yes; then … … 5227 5603 fi;; 5228 5604 *) 5229 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&55605 { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 5230 5606 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 5231 5607 esac … … 5237 5613 fi 5238 5614 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 5239 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&55615 { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5 5240 5616 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 5241 if ${tcl_cv_ld_single_module+:} false; then :5617 if test "${tcl_cv_ld_single_module+set}" = set; then 5242 5618 $as_echo_n "(cached) " >&6 5243 5619 else … … 5245 5621 hold_ldflags=$LDFLAGS 5246 5622 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 5247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5623 cat >conftest.$ac_ext <<_ACEOF 5624 /* confdefs.h. */ 5625 _ACEOF 5626 cat confdefs.h >>conftest.$ac_ext 5627 cat >>conftest.$ac_ext <<_ACEOF 5248 5628 /* end confdefs.h. */ 5249 5629 … … 5256 5636 } 5257 5637 _ACEOF 5258 if ac_fn_c_try_link "$LINENO"; then : 5638 rm -f conftest.$ac_objext conftest$ac_exeext 5639 if { (ac_try="$ac_link" 5640 case "(($ac_try" in 5641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5642 *) ac_try_echo=$ac_try;; 5643 esac 5644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5645 $as_echo "$ac_try_echo") >&5 5646 (eval "$ac_link") 2>conftest.er1 5647 ac_status=$? 5648 grep -v '^ *+' conftest.er1 >conftest.err 5649 rm -f conftest.er1 5650 cat conftest.err >&5 5651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5652 (exit $ac_status); } && { 5653 test -z "$ac_c_werror_flag" || 5654 test ! -s conftest.err 5655 } && test -s conftest$ac_exeext && { 5656 test "$cross_compiling" = yes || 5657 $as_test_x conftest$ac_exeext 5658 }; then 5259 5659 tcl_cv_ld_single_module=yes 5260 5660 else 5261 tcl_cv_ld_single_module=no 5262 fi 5263 rm -f core conftest.err conftest.$ac_objext \ 5264 conftest$ac_exeext conftest.$ac_ext 5661 $as_echo "$as_me: failed program was:" >&5 5662 sed 's/^/| /' conftest.$ac_ext >&5 5663 5664 tcl_cv_ld_single_module=no 5665 fi 5666 5667 rm -rf conftest.dSYM 5668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5669 conftest$ac_exeext conftest.$ac_ext 5265 5670 LDFLAGS=$hold_ldflags 5266 5671 fi 5267 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&55672 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5 5268 5673 $as_echo "$tcl_cv_ld_single_module" >&6; } 5269 5674 if test $tcl_cv_ld_single_module = yes; then … … 5279 5684 LDFLAGS="$LDFLAGS -prebind" 5280 5685 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 5281 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&55686 { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5 5282 5687 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 5283 if ${tcl_cv_ld_search_paths_first+:} false; then :5688 if test "${tcl_cv_ld_search_paths_first+set}" = set; then 5284 5689 $as_echo_n "(cached) " >&6 5285 5690 else … … 5287 5692 hold_ldflags=$LDFLAGS 5288 5693 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5694 cat >conftest.$ac_ext <<_ACEOF 5695 /* confdefs.h. */ 5696 _ACEOF 5697 cat confdefs.h >>conftest.$ac_ext 5698 cat >>conftest.$ac_ext <<_ACEOF 5290 5699 /* end confdefs.h. */ 5291 5700 … … 5298 5707 } 5299 5708 _ACEOF 5300 if ac_fn_c_try_link "$LINENO"; then : 5709 rm -f conftest.$ac_objext conftest$ac_exeext 5710 if { (ac_try="$ac_link" 5711 case "(($ac_try" in 5712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5713 *) ac_try_echo=$ac_try;; 5714 esac 5715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5716 $as_echo "$ac_try_echo") >&5 5717 (eval "$ac_link") 2>conftest.er1 5718 ac_status=$? 5719 grep -v '^ *+' conftest.er1 >conftest.err 5720 rm -f conftest.er1 5721 cat conftest.err >&5 5722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5723 (exit $ac_status); } && { 5724 test -z "$ac_c_werror_flag" || 5725 test ! -s conftest.err 5726 } && test -s conftest$ac_exeext && { 5727 test "$cross_compiling" = yes || 5728 $as_test_x conftest$ac_exeext 5729 }; then 5301 5730 tcl_cv_ld_search_paths_first=yes 5302 5731 else 5303 tcl_cv_ld_search_paths_first=no 5304 fi 5305 rm -f core conftest.err conftest.$ac_objext \ 5306 conftest$ac_exeext conftest.$ac_ext 5732 $as_echo "$as_me: failed program was:" >&5 5733 sed 's/^/| /' conftest.$ac_ext >&5 5734 5735 tcl_cv_ld_search_paths_first=no 5736 fi 5737 5738 rm -rf conftest.dSYM 5739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5740 conftest$ac_exeext conftest.$ac_ext 5307 5741 LDFLAGS=$hold_ldflags 5308 5742 fi 5309 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&55743 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5 5310 5744 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 5311 5745 if test $tcl_cv_ld_search_paths_first = yes; then … … 5317 5751 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 5318 5752 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 5319 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether to use CoreFoundation" >&55753 { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5 5320 5754 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 5321 5755 # Check whether --enable-corefoundation was given. 5322 if test "${enable_corefoundation+set}" = set; then :5756 if test "${enable_corefoundation+set}" = set; then 5323 5757 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 5324 5758 else … … 5326 5760 fi 5327 5761 5328 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_corefoundation" >&55762 { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5 5329 5763 $as_echo "$tcl_corefoundation" >&6; } 5330 5764 if test $tcl_corefoundation = yes; then 5331 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for CoreFoundation.framework" >&55765 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5 5332 5766 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 5333 if ${tcl_cv_lib_corefoundation+:} false; then :5767 if test "${tcl_cv_lib_corefoundation+set}" = set; then 5334 5768 $as_echo_n "(cached) " >&6 5335 5769 else … … 5343 5777 done; fi 5344 5778 LIBS="$LIBS -framework CoreFoundation" 5345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5779 cat >conftest.$ac_ext <<_ACEOF 5780 /* confdefs.h. */ 5781 _ACEOF 5782 cat confdefs.h >>conftest.$ac_ext 5783 cat >>conftest.$ac_ext <<_ACEOF 5346 5784 /* end confdefs.h. */ 5347 5785 #include <CoreFoundation/CoreFoundation.h> … … 5354 5792 } 5355 5793 _ACEOF 5356 if ac_fn_c_try_link "$LINENO"; then : 5794 rm -f conftest.$ac_objext conftest$ac_exeext 5795 if { (ac_try="$ac_link" 5796 case "(($ac_try" in 5797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5798 *) ac_try_echo=$ac_try;; 5799 esac 5800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5801 $as_echo "$ac_try_echo") >&5 5802 (eval "$ac_link") 2>conftest.er1 5803 ac_status=$? 5804 grep -v '^ *+' conftest.er1 >conftest.err 5805 rm -f conftest.er1 5806 cat conftest.err >&5 5807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5808 (exit $ac_status); } && { 5809 test -z "$ac_c_werror_flag" || 5810 test ! -s conftest.err 5811 } && test -s conftest$ac_exeext && { 5812 test "$cross_compiling" = yes || 5813 $as_test_x conftest$ac_exeext 5814 }; then 5357 5815 tcl_cv_lib_corefoundation=yes 5358 5816 else 5359 tcl_cv_lib_corefoundation=no 5360 fi 5361 rm -f core conftest.err conftest.$ac_objext \ 5362 conftest$ac_exeext conftest.$ac_ext 5817 $as_echo "$as_me: failed program was:" >&5 5818 sed 's/^/| /' conftest.$ac_ext >&5 5819 5820 tcl_cv_lib_corefoundation=no 5821 fi 5822 5823 rm -rf conftest.dSYM 5824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5825 conftest$ac_exeext conftest.$ac_ext 5363 5826 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 5364 5827 eval $v'="$hold_'$v'"' 5365 5828 done; fi; LIBS=$hold_libs 5366 5829 fi 5367 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&55830 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5 5368 5831 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 5369 5832 if test $tcl_cv_lib_corefoundation = yes; then 5370 5833 LIBS="$LIBS -framework CoreFoundation" 5371 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 5834 cat >>confdefs.h <<\_ACEOF 5835 #define HAVE_COREFOUNDATION 1 5836 _ACEOF 5372 5837 5373 5838 else … … 5375 5840 fi 5376 5841 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 5377 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&55842 { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5 5378 5843 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 5379 if ${tcl_cv_lib_corefoundation_64+:} false; then :5844 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then 5380 5845 $as_echo_n "(cached) " >&6 5381 5846 else … … 5384 5849 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 5385 5850 done 5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5851 cat >conftest.$ac_ext <<_ACEOF 5852 /* confdefs.h. */ 5853 _ACEOF 5854 cat confdefs.h >>conftest.$ac_ext 5855 cat >>conftest.$ac_ext <<_ACEOF 5387 5856 /* end confdefs.h. */ 5388 5857 #include <CoreFoundation/CoreFoundation.h> … … 5395 5864 } 5396 5865 _ACEOF 5397 if ac_fn_c_try_link "$LINENO"; then : 5866 rm -f conftest.$ac_objext conftest$ac_exeext 5867 if { (ac_try="$ac_link" 5868 case "(($ac_try" in 5869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5870 *) ac_try_echo=$ac_try;; 5871 esac 5872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5873 $as_echo "$ac_try_echo") >&5 5874 (eval "$ac_link") 2>conftest.er1 5875 ac_status=$? 5876 grep -v '^ *+' conftest.er1 >conftest.err 5877 rm -f conftest.er1 5878 cat conftest.err >&5 5879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5880 (exit $ac_status); } && { 5881 test -z "$ac_c_werror_flag" || 5882 test ! -s conftest.err 5883 } && test -s conftest$ac_exeext && { 5884 test "$cross_compiling" = yes || 5885 $as_test_x conftest$ac_exeext 5886 }; then 5398 5887 tcl_cv_lib_corefoundation_64=yes 5399 5888 else 5400 tcl_cv_lib_corefoundation_64=no 5401 fi 5402 rm -f core conftest.err conftest.$ac_objext \ 5403 conftest$ac_exeext conftest.$ac_ext 5889 $as_echo "$as_me: failed program was:" >&5 5890 sed 's/^/| /' conftest.$ac_ext >&5 5891 5892 tcl_cv_lib_corefoundation_64=no 5893 fi 5894 5895 rm -rf conftest.dSYM 5896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5897 conftest$ac_exeext conftest.$ac_ext 5404 5898 for v in CFLAGS CPPFLAGS LDFLAGS; do 5405 5899 eval $v'="$hold_'$v'"' 5406 5900 done 5407 5901 fi 5408 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&55902 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5 5409 5903 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 5410 5904 if test $tcl_cv_lib_corefoundation_64 = no; then 5411 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 5905 cat >>confdefs.h <<\_ACEOF 5906 #define NO_COREFOUNDATION_64 1 5907 _ACEOF 5412 5908 5413 5909 fi 5414 5910 fi 5415 5911 fi 5416 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 5912 cat >>confdefs.h <<\_ACEOF 5913 #define MAC_OSX_TCL 1 5914 _ACEOF 5417 5915 5418 5916 ;; … … 5429 5927 OS/390-*) 5430 5928 CFLAGS_OPTIMIZE="" # Optimizer is buggy 5431 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 5929 cat >>confdefs.h <<\_ACEOF 5930 #define _OE_SOCKETS 1 5931 _ACEOF 5432 5932 # needed in sys/socket.h 5433 5933 ;; … … 5570 6070 # won't define thread-safe library routines. 5571 6071 5572 $as_echo "#define _REENTRANT 1" >>confdefs.h 5573 5574 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 6072 cat >>confdefs.h <<\_ACEOF 6073 #define _REENTRANT 1 6074 _ACEOF 6075 6076 cat >>confdefs.h <<\_ACEOF 6077 #define _POSIX_PTHREAD_SEMANTICS 1 6078 _ACEOF 5575 6079 5576 6080 … … 5598 6102 # won't define thread-safe library routines. 5599 6103 5600 $as_echo "#define _REENTRANT 1" >>confdefs.h 5601 5602 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 6104 cat >>confdefs.h <<\_ACEOF 6105 #define _REENTRANT 1 6106 _ACEOF 6107 6108 cat >>confdefs.h <<\_ACEOF 6109 #define _POSIX_PTHREAD_SEMANTICS 1 6110 _ACEOF 5603 6111 5604 6112 … … 5611 6119 if test "$GCC" = "yes" ; then 5612 6120 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 5613 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&56121 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 5614 6122 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 5615 6123 else … … 5633 6141 elif test "$arch" = "amd64 i386" ; then 5634 6142 if test "$GCC" = "yes" ; then 5635 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&56143 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 5636 6144 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 5637 6145 else … … 5641 6149 fi 5642 6150 else 5643 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&56151 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5 5644 6152 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 5645 6153 fi … … 5700 6208 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 5701 6209 # that don't grok the -Bexport option. Test that it does. 5702 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&56210 { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5 5703 6211 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 5704 if ${tcl_cv_ld_Bexport+:} false; then :6212 if test "${tcl_cv_ld_Bexport+set}" = set; then 5705 6213 $as_echo_n "(cached) " >&6 5706 6214 else … … 5708 6216 hold_ldflags=$LDFLAGS 5709 6217 LDFLAGS="$LDFLAGS -Wl,-Bexport" 5710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6218 cat >conftest.$ac_ext <<_ACEOF 6219 /* confdefs.h. */ 6220 _ACEOF 6221 cat confdefs.h >>conftest.$ac_ext 6222 cat >>conftest.$ac_ext <<_ACEOF 5711 6223 /* end confdefs.h. */ 5712 6224 … … 5719 6231 } 5720 6232 _ACEOF 5721 if ac_fn_c_try_link "$LINENO"; then : 6233 rm -f conftest.$ac_objext conftest$ac_exeext 6234 if { (ac_try="$ac_link" 6235 case "(($ac_try" in 6236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6237 *) ac_try_echo=$ac_try;; 6238 esac 6239 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6240 $as_echo "$ac_try_echo") >&5 6241 (eval "$ac_link") 2>conftest.er1 6242 ac_status=$? 6243 grep -v '^ *+' conftest.er1 >conftest.err 6244 rm -f conftest.er1 6245 cat conftest.err >&5 6246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6247 (exit $ac_status); } && { 6248 test -z "$ac_c_werror_flag" || 6249 test ! -s conftest.err 6250 } && test -s conftest$ac_exeext && { 6251 test "$cross_compiling" = yes || 6252 $as_test_x conftest$ac_exeext 6253 }; then 5722 6254 tcl_cv_ld_Bexport=yes 5723 6255 else 5724 tcl_cv_ld_Bexport=no 5725 fi 5726 rm -f core conftest.err conftest.$ac_objext \ 5727 conftest$ac_exeext conftest.$ac_ext 6256 $as_echo "$as_me: failed program was:" >&5 6257 sed 's/^/| /' conftest.$ac_ext >&5 6258 6259 tcl_cv_ld_Bexport=no 6260 fi 6261 6262 rm -rf conftest.dSYM 6263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6264 conftest$ac_exeext conftest.$ac_ext 5728 6265 LDFLAGS=$hold_ldflags 5729 6266 fi 5730 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&56267 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5 5731 6268 $as_echo "$tcl_cv_ld_Bexport" >&6; } 5732 6269 if test $tcl_cv_ld_Bexport = yes; then … … 5739 6276 5740 6277 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 5741 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&56278 { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 5742 6279 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 5743 6280 fi … … 5766 6303 5767 6304 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 5768 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking sys/exec.h" >&56305 { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5 5769 6306 $as_echo_n "checking sys/exec.h... " >&6; } 5770 if ${tcl_cv_sysexec_h+:} false; then :6307 if test "${tcl_cv_sysexec_h+set}" = set; then 5771 6308 $as_echo_n "(cached) " >&6 5772 6309 else 5773 6310 5774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6311 cat >conftest.$ac_ext <<_ACEOF 6312 /* confdefs.h. */ 6313 _ACEOF 6314 cat confdefs.h >>conftest.$ac_ext 6315 cat >>conftest.$ac_ext <<_ACEOF 5775 6316 /* end confdefs.h. */ 5776 6317 #include <sys/exec.h> … … 5794 6335 } 5795 6336 _ACEOF 5796 if ac_fn_c_try_compile "$LINENO"; then : 6337 rm -f conftest.$ac_objext 6338 if { (ac_try="$ac_compile" 6339 case "(($ac_try" in 6340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6341 *) ac_try_echo=$ac_try;; 6342 esac 6343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6344 $as_echo "$ac_try_echo") >&5 6345 (eval "$ac_compile") 2>conftest.er1 6346 ac_status=$? 6347 grep -v '^ *+' conftest.er1 >conftest.err 6348 rm -f conftest.er1 6349 cat conftest.err >&5 6350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6351 (exit $ac_status); } && { 6352 test -z "$ac_c_werror_flag" || 6353 test ! -s conftest.err 6354 } && test -s conftest.$ac_objext; then 5797 6355 tcl_cv_sysexec_h=usable 5798 6356 else 5799 tcl_cv_sysexec_h=unusable 5800 fi 6357 $as_echo "$as_me: failed program was:" >&5 6358 sed 's/^/| /' conftest.$ac_ext >&5 6359 6360 tcl_cv_sysexec_h=unusable 6361 fi 6362 5801 6363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5802 6364 fi 5803 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&56365 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5 5804 6366 $as_echo "$tcl_cv_sysexec_h" >&6; } 5805 6367 if test $tcl_cv_sysexec_h = usable; then 5806 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 6368 cat >>confdefs.h <<\_ACEOF 6369 #define USE_SYS_EXEC_H 1 6370 _ACEOF 5807 6371 5808 6372 else 5809 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking a.out.h" >&56373 { $as_echo "$as_me:$LINENO: checking a.out.h" >&5 5810 6374 $as_echo_n "checking a.out.h... " >&6; } 5811 if ${tcl_cv_aout_h+:} false; then :6375 if test "${tcl_cv_aout_h+set}" = set; then 5812 6376 $as_echo_n "(cached) " >&6 5813 6377 else 5814 6378 5815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6379 cat >conftest.$ac_ext <<_ACEOF 6380 /* confdefs.h. */ 6381 _ACEOF 6382 cat confdefs.h >>conftest.$ac_ext 6383 cat >>conftest.$ac_ext <<_ACEOF 5816 6384 /* end confdefs.h. */ 5817 6385 #include <a.out.h> … … 5835 6403 } 5836 6404 _ACEOF 5837 if ac_fn_c_try_compile "$LINENO"; then : 6405 rm -f conftest.$ac_objext 6406 if { (ac_try="$ac_compile" 6407 case "(($ac_try" in 6408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6409 *) ac_try_echo=$ac_try;; 6410 esac 6411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6412 $as_echo "$ac_try_echo") >&5 6413 (eval "$ac_compile") 2>conftest.er1 6414 ac_status=$? 6415 grep -v '^ *+' conftest.er1 >conftest.err 6416 rm -f conftest.er1 6417 cat conftest.err >&5 6418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6419 (exit $ac_status); } && { 6420 test -z "$ac_c_werror_flag" || 6421 test ! -s conftest.err 6422 } && test -s conftest.$ac_objext; then 5838 6423 tcl_cv_aout_h=usable 5839 6424 else 5840 tcl_cv_aout_h=unusable 5841 fi 6425 $as_echo "$as_me: failed program was:" >&5 6426 sed 's/^/| /' conftest.$ac_ext >&5 6427 6428 tcl_cv_aout_h=unusable 6429 fi 6430 5842 6431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5843 6432 fi 5844 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&56433 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5 5845 6434 $as_echo "$tcl_cv_aout_h" >&6; } 5846 6435 if test $tcl_cv_aout_h = usable; then 5847 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 6436 cat >>confdefs.h <<\_ACEOF 6437 #define USE_A_OUT_H 1 6438 _ACEOF 5848 6439 5849 6440 else 5850 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking sys/exec_aout.h" >&56441 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 5851 6442 $as_echo_n "checking sys/exec_aout.h... " >&6; } 5852 if ${tcl_cv_sysexecaout_h+:} false; then :6443 if test "${tcl_cv_sysexecaout_h+set}" = set; then 5853 6444 $as_echo_n "(cached) " >&6 5854 6445 else 5855 6446 5856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6447 cat >conftest.$ac_ext <<_ACEOF 6448 /* confdefs.h. */ 6449 _ACEOF 6450 cat confdefs.h >>conftest.$ac_ext 6451 cat >>conftest.$ac_ext <<_ACEOF 5857 6452 /* end confdefs.h. */ 5858 6453 #include <sys/exec_aout.h> … … 5876 6471 } 5877 6472 _ACEOF 5878 if ac_fn_c_try_compile "$LINENO"; then : 6473 rm -f conftest.$ac_objext 6474 if { (ac_try="$ac_compile" 6475 case "(($ac_try" in 6476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6477 *) ac_try_echo=$ac_try;; 6478 esac 6479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6480 $as_echo "$ac_try_echo") >&5 6481 (eval "$ac_compile") 2>conftest.er1 6482 ac_status=$? 6483 grep -v '^ *+' conftest.er1 >conftest.err 6484 rm -f conftest.er1 6485 cat conftest.err >&5 6486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6487 (exit $ac_status); } && { 6488 test -z "$ac_c_werror_flag" || 6489 test ! -s conftest.err 6490 } && test -s conftest.$ac_objext; then 5879 6491 tcl_cv_sysexecaout_h=usable 5880 6492 else 5881 tcl_cv_sysexecaout_h=unusable 5882 fi 6493 $as_echo "$as_me: failed program was:" >&5 6494 sed 's/^/| /' conftest.$ac_ext >&5 6495 6496 tcl_cv_sysexecaout_h=unusable 6497 fi 6498 5883 6499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5884 6500 fi 5885 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&56501 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5 5886 6502 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 5887 6503 if test $tcl_cv_sysexecaout_h = usable; then 5888 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 6504 cat >>confdefs.h <<\_ACEOF 6505 #define USE_SYS_EXEC_AOUT_H 1 6506 _ACEOF 5889 6507 5890 6508 else … … 5898 6516 5899 6517 # Check whether --enable-load was given. 5900 if test "${enable_load+set}" = set; then :6518 if test "${enable_load+set}" = set; then 5901 6519 enableval=$enable_load; tcl_ok=$enableval 5902 6520 else … … 6021 6639 6022 6640 6023 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for X" >&56641 { $as_echo "$as_me:$LINENO: checking for X" >&5 6024 6642 $as_echo_n "checking for X... " >&6; } 6025 6643 6026 6644 6027 6645 # Check whether --with-x was given. 6028 if test "${with_x+set}" = set; then :6646 if test "${with_x+set}" = set; then 6029 6647 withval=$with_x; 6030 6648 fi … … 6036 6654 else 6037 6655 case $x_includes,$x_libraries in #( 6038 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 6039 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 6656 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5 6657 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;} 6658 { (exit 1); exit 1; }; };; #( 6659 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 6040 6660 $as_echo_n "(cached) " >&6 6041 6661 else … … 6054 6674 _ACEOF 6055 6675 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 6056 # GNU make sometimes prints "make[1]: Entering 6676 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 6057 6677 for ac_var in incroot usrlibdir libdir; do 6058 6678 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" … … 6085 6705 ac_x_header_dirs=' 6086 6706 /usr/X11/include 6087 /usr/X11R7/include6088 6707 /usr/X11R6/include 6089 6708 /usr/X11R5/include … … 6091 6710 6092 6711 /usr/include/X11 6093 /usr/include/X11R76094 6712 /usr/include/X11R6 6095 6713 /usr/include/X11R5 … … 6097 6715 6098 6716 /usr/local/X11/include 6099 /usr/local/X11R7/include6100 6717 /usr/local/X11R6/include 6101 6718 /usr/local/X11R5/include … … 6103 6720 6104 6721 /usr/local/include/X11 6105 /usr/local/include/X11R76106 6722 /usr/local/include/X11R6 6107 6723 /usr/local/include/X11R5 … … 6125 6741 # Guess where to find include files, by looking for Xlib.h. 6126 6742 # First, try using that file with no special directory specified. 6127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6743 cat >conftest.$ac_ext <<_ACEOF 6744 /* confdefs.h. */ 6745 _ACEOF 6746 cat confdefs.h >>conftest.$ac_ext 6747 cat >>conftest.$ac_ext <<_ACEOF 6128 6748 /* end confdefs.h. */ 6129 6749 #include <X11/Xlib.h> 6130 6750 _ACEOF 6131 if ac_fn_c_try_cpp "$LINENO"; then : 6751 if { (ac_try="$ac_cpp conftest.$ac_ext" 6752 case "(($ac_try" in 6753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6754 *) ac_try_echo=$ac_try;; 6755 esac 6756 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6757 $as_echo "$ac_try_echo") >&5 6758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6759 ac_status=$? 6760 grep -v '^ *+' conftest.er1 >conftest.err 6761 rm -f conftest.er1 6762 cat conftest.err >&5 6763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6764 (exit $ac_status); } >/dev/null && { 6765 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6766 test ! -s conftest.err 6767 }; then 6132 6768 # We can compile using X headers with no special include directory. 6133 6769 ac_x_includes= 6134 6770 else 6771 $as_echo "$as_me: failed program was:" >&5 6772 sed 's/^/| /' conftest.$ac_ext >&5 6773 6135 6774 for ac_dir in $ac_x_header_dirs; do 6136 6775 if test -r "$ac_dir/X11/Xlib.h"; then … … 6140 6779 done 6141 6780 fi 6142 rm -f conftest.err conftest.i conftest.$ac_ext 6781 6782 rm -f conftest.err conftest.$ac_ext 6143 6783 fi # $ac_x_includes = no 6144 6784 … … 6149 6789 ac_save_LIBS=$LIBS 6150 6790 LIBS="-lX11 $LIBS" 6151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6791 cat >conftest.$ac_ext <<_ACEOF 6792 /* confdefs.h. */ 6793 _ACEOF 6794 cat confdefs.h >>conftest.$ac_ext 6795 cat >>conftest.$ac_ext <<_ACEOF 6152 6796 /* end confdefs.h. */ 6153 6797 #include <X11/Xlib.h> … … 6160 6804 } 6161 6805 _ACEOF 6162 if ac_fn_c_try_link "$LINENO"; then : 6806 rm -f conftest.$ac_objext conftest$ac_exeext 6807 if { (ac_try="$ac_link" 6808 case "(($ac_try" in 6809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6810 *) ac_try_echo=$ac_try;; 6811 esac 6812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6813 $as_echo "$ac_try_echo") >&5 6814 (eval "$ac_link") 2>conftest.er1 6815 ac_status=$? 6816 grep -v '^ *+' conftest.er1 >conftest.err 6817 rm -f conftest.er1 6818 cat conftest.err >&5 6819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6820 (exit $ac_status); } && { 6821 test -z "$ac_c_werror_flag" || 6822 test ! -s conftest.err 6823 } && test -s conftest$ac_exeext && { 6824 test "$cross_compiling" = yes || 6825 $as_test_x conftest$ac_exeext 6826 }; then 6163 6827 LIBS=$ac_save_LIBS 6164 6828 # We can link X programs with no special library path. 6165 6829 ac_x_libraries= 6166 6830 else 6167 LIBS=$ac_save_LIBS 6831 $as_echo "$as_me: failed program was:" >&5 6832 sed 's/^/| /' conftest.$ac_ext >&5 6833 6834 LIBS=$ac_save_LIBS 6168 6835 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 6169 6836 do … … 6177 6844 done 6178 6845 fi 6179 rm -f core conftest.err conftest.$ac_objext \ 6180 conftest$ac_exeext conftest.$ac_ext 6846 6847 rm -rf conftest.dSYM 6848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6849 conftest$ac_exeext conftest.$ac_ext 6181 6850 fi # $ac_x_libraries = no 6182 6851 … … 6199 6868 6200 6869 if test "$have_x" != yes; then 6201 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $have_x" >&56870 { $as_echo "$as_me:$LINENO: result: $have_x" >&5 6202 6871 $as_echo "$have_x" >&6; } 6203 6872 no_x=yes … … 6210 6879 ac_x_includes='$x_includes'\ 6211 6880 ac_x_libraries='$x_libraries'" 6212 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&56881 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 6213 6882 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } 6214 6883 fi … … 6229 6898 # ./install, which can be erroneously created by make from ./install.sh. 6230 6899 # Reject install programs that cannot install multiple files. 6231 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a BSD-compatible install" >&56900 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6232 6901 $as_echo_n "checking for a BSD-compatible install... " >&6; } 6233 6902 if test -z "$INSTALL"; then 6234 if ${ac_cv_path_install+:} false; then :6903 if test "${ac_cv_path_install+set}" = set; then 6235 6904 $as_echo_n "(cached) " >&6 6236 6905 else … … 6240 6909 IFS=$as_save_IFS 6241 6910 test -z "$as_dir" && as_dir=. 6242 6243 case $as_dir/ in #((6244 ./ | .// | / [cC]/* | \6911 # Account for people who put trailing slashes in PATH elements. 6912 case $as_dir/ in 6913 ./ | .// | /cC/* | \ 6245 6914 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6246 ?: [\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \6915 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 6247 6916 /usr/ucb/* ) ;; 6248 6917 *) … … 6252 6921 for ac_prog in ginstall scoinst install; do 6253 6922 for ac_exec_ext in '' $ac_executable_extensions; do 6254 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then6923 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 6255 6924 if test $ac_prog = install && 6256 6925 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 6281 6950 esac 6282 6951 6283 6952 done 6284 6953 IFS=$as_save_IFS 6285 6954 … … 6297 6966 fi 6298 6967 fi 6299 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $INSTALL" >&56968 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 6300 6969 $as_echo "$INSTALL" >&6; } 6301 6970 … … 6311 6980 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6312 6981 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6313 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56982 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6314 6983 $as_echo_n "checking for $ac_word... " >&6; } 6315 if ${ac_cv_prog_RANLIB+:} false; then :6984 if test "${ac_cv_prog_RANLIB+set}" = set; then 6316 6985 $as_echo_n "(cached) " >&6 6317 6986 else … … 6324 6993 IFS=$as_save_IFS 6325 6994 test -z "$as_dir" && as_dir=. 6326 6327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6995 for ac_exec_ext in '' $ac_executable_extensions; do 6996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6328 6997 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6329 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56998 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6330 6999 break 2 6331 7000 fi 6332 7001 done 6333 7002 done 6334 7003 IFS=$as_save_IFS 6335 7004 … … 6338 7007 RANLIB=$ac_cv_prog_RANLIB 6339 7008 if test -n "$RANLIB"; then 6340 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&57009 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 6341 7010 $as_echo "$RANLIB" >&6; } 6342 7011 else 6343 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57012 { $as_echo "$as_me:$LINENO: result: no" >&5 6344 7013 $as_echo "no" >&6; } 6345 7014 fi … … 6351 7020 # Extract the first word of "ranlib", so it can be a program name with args. 6352 7021 set dummy ranlib; ac_word=$2 6353 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57022 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6354 7023 $as_echo_n "checking for $ac_word... " >&6; } 6355 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :7024 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 6356 7025 $as_echo_n "(cached) " >&6 6357 7026 else … … 6364 7033 IFS=$as_save_IFS 6365 7034 test -z "$as_dir" && as_dir=. 6366 6367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7035 for ac_exec_ext in '' $ac_executable_extensions; do 7036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6368 7037 ac_cv_prog_ac_ct_RANLIB="ranlib" 6369 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57038 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6370 7039 break 2 6371 7040 fi 6372 7041 done 6373 7042 done 6374 7043 IFS=$as_save_IFS 6375 7044 … … 6378 7047 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6379 7048 if test -n "$ac_ct_RANLIB"; then 6380 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&57049 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 6381 7050 $as_echo "$ac_ct_RANLIB" >&6; } 6382 7051 else 6383 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57052 { $as_echo "$as_me:$LINENO: result: no" >&5 6384 7053 $as_echo "no" >&6; } 6385 7054 fi … … 6390 7059 case $cross_compiling:$ac_tool_warned in 6391 7060 yes:) 6392 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57061 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6393 7062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6394 7063 ac_tool_warned=yes ;; … … 6400 7069 fi 6401 7070 6402 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether ln -s works" >&57071 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 6403 7072 $as_echo_n "checking whether ln -s works... " >&6; } 6404 7073 LN_S=$as_ln_s 6405 7074 if test "$LN_S" = "ln -s"; then 6406 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&57075 { $as_echo "$as_me:$LINENO: result: yes" >&5 6407 7076 $as_echo "yes" >&6; } 6408 7077 else 6409 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no, using $LN_S" >&57078 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 6410 7079 $as_echo "no, using $LN_S" >&6; } 6411 7080 fi 6412 7081 6413 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&57082 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 6414 7083 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 6415 7084 if test -z "$MKDIR_P"; then 6416 if ${ac_cv_path_mkdir+:} false; then :7085 if test "${ac_cv_path_mkdir+set}" = set; then 6417 7086 $as_echo_n "(cached) " >&6 6418 7087 else … … 6422 7091 IFS=$as_save_IFS 6423 7092 test -z "$as_dir" && as_dir=. 6424 7093 for ac_prog in mkdir gmkdir; do 6425 7094 for ac_exec_ext in '' $ac_executable_extensions; do 6426 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"|| continue7095 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 6427 7096 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 6428 7097 'mkdir (GNU coreutils) '* | \ … … 6434 7103 done 6435 7104 done 6436 7105 done 6437 7106 IFS=$as_save_IFS 6438 7107 6439 7108 fi 6440 7109 6441 test -d ./--version && rmdir ./--version6442 7110 if test "${ac_cv_path_mkdir+set}" = set; then 6443 7111 MKDIR_P="$ac_cv_path_mkdir -p" … … 6447 7115 # break other packages using the cache if that directory is 6448 7116 # removed, or if the value is a relative name. 7117 test -d ./--version && rmdir ./--version 6449 7118 MKDIR_P="$ac_install_sh -d" 6450 7119 fi 6451 7120 fi 6452 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $MKDIR_P" >&57121 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 6453 7122 $as_echo "$MKDIR_P" >&6; } 6454 7123 … … 6462 7131 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 6463 7132 set dummy ${ac_tool_prefix}gcc; ac_word=$2 6464 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57133 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6465 7134 $as_echo_n "checking for $ac_word... " >&6; } 6466 if ${ac_cv_prog_CC+:} false; then :7135 if test "${ac_cv_prog_CC+set}" = set; then 6467 7136 $as_echo_n "(cached) " >&6 6468 7137 else … … 6475 7144 IFS=$as_save_IFS 6476 7145 test -z "$as_dir" && as_dir=. 6477 6478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7146 for ac_exec_ext in '' $ac_executable_extensions; do 7147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6479 7148 ac_cv_prog_CC="${ac_tool_prefix}gcc" 6480 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57149 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6481 7150 break 2 6482 7151 fi 6483 7152 done 6484 7153 done 6485 7154 IFS=$as_save_IFS 6486 7155 … … 6489 7158 CC=$ac_cv_prog_CC 6490 7159 if test -n "$CC"; then 6491 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&57160 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6492 7161 $as_echo "$CC" >&6; } 6493 7162 else 6494 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57163 { $as_echo "$as_me:$LINENO: result: no" >&5 6495 7164 $as_echo "no" >&6; } 6496 7165 fi … … 6502 7171 # Extract the first word of "gcc", so it can be a program name with args. 6503 7172 set dummy gcc; ac_word=$2 6504 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57173 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6505 7174 $as_echo_n "checking for $ac_word... " >&6; } 6506 if ${ac_cv_prog_ac_ct_CC+:} false; then :7175 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6507 7176 $as_echo_n "(cached) " >&6 6508 7177 else … … 6515 7184 IFS=$as_save_IFS 6516 7185 test -z "$as_dir" && as_dir=. 6517 6518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7186 for ac_exec_ext in '' $ac_executable_extensions; do 7187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6519 7188 ac_cv_prog_ac_ct_CC="gcc" 6520 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57189 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6521 7190 break 2 6522 7191 fi 6523 7192 done 6524 7193 done 6525 7194 IFS=$as_save_IFS 6526 7195 … … 6529 7198 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6530 7199 if test -n "$ac_ct_CC"; then 6531 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&57200 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 6532 7201 $as_echo "$ac_ct_CC" >&6; } 6533 7202 else 6534 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57203 { $as_echo "$as_me:$LINENO: result: no" >&5 6535 7204 $as_echo "no" >&6; } 6536 7205 fi … … 6541 7210 case $cross_compiling:$ac_tool_warned in 6542 7211 yes:) 6543 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57212 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6544 7213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6545 7214 ac_tool_warned=yes ;; … … 6555 7224 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 6556 7225 set dummy ${ac_tool_prefix}cc; ac_word=$2 6557 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57226 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6558 7227 $as_echo_n "checking for $ac_word... " >&6; } 6559 if ${ac_cv_prog_CC+:} false; then :7228 if test "${ac_cv_prog_CC+set}" = set; then 6560 7229 $as_echo_n "(cached) " >&6 6561 7230 else … … 6568 7237 IFS=$as_save_IFS 6569 7238 test -z "$as_dir" && as_dir=. 6570 6571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7239 for ac_exec_ext in '' $ac_executable_extensions; do 7240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6572 7241 ac_cv_prog_CC="${ac_tool_prefix}cc" 6573 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57242 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6574 7243 break 2 6575 7244 fi 6576 7245 done 6577 7246 done 6578 7247 IFS=$as_save_IFS 6579 7248 … … 6582 7251 CC=$ac_cv_prog_CC 6583 7252 if test -n "$CC"; then 6584 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&57253 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6585 7254 $as_echo "$CC" >&6; } 6586 7255 else 6587 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57256 { $as_echo "$as_me:$LINENO: result: no" >&5 6588 7257 $as_echo "no" >&6; } 6589 7258 fi … … 6595 7264 # Extract the first word of "cc", so it can be a program name with args. 6596 7265 set dummy cc; ac_word=$2 6597 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57266 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6598 7267 $as_echo_n "checking for $ac_word... " >&6; } 6599 if ${ac_cv_prog_CC+:} false; then :7268 if test "${ac_cv_prog_CC+set}" = set; then 6600 7269 $as_echo_n "(cached) " >&6 6601 7270 else … … 6609 7278 IFS=$as_save_IFS 6610 7279 test -z "$as_dir" && as_dir=. 6611 6612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7280 for ac_exec_ext in '' $ac_executable_extensions; do 7281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6613 7282 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 6614 7283 ac_prog_rejected=yes … … 6616 7285 fi 6617 7286 ac_cv_prog_CC="cc" 6618 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57287 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6619 7288 break 2 6620 7289 fi 6621 7290 done 6622 7291 done 6623 7292 IFS=$as_save_IFS 6624 7293 … … 6639 7308 CC=$ac_cv_prog_CC 6640 7309 if test -n "$CC"; then 6641 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&57310 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6642 7311 $as_echo "$CC" >&6; } 6643 7312 else 6644 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57313 { $as_echo "$as_me:$LINENO: result: no" >&5 6645 7314 $as_echo "no" >&6; } 6646 7315 fi … … 6654 7323 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6655 7324 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6656 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57325 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6657 7326 $as_echo_n "checking for $ac_word... " >&6; } 6658 if ${ac_cv_prog_CC+:} false; then :7327 if test "${ac_cv_prog_CC+set}" = set; then 6659 7328 $as_echo_n "(cached) " >&6 6660 7329 else … … 6667 7336 IFS=$as_save_IFS 6668 7337 test -z "$as_dir" && as_dir=. 6669 6670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7338 for ac_exec_ext in '' $ac_executable_extensions; do 7339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6671 7340 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 6672 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57341 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6673 7342 break 2 6674 7343 fi 6675 7344 done 6676 7345 done 6677 7346 IFS=$as_save_IFS 6678 7347 … … 6681 7350 CC=$ac_cv_prog_CC 6682 7351 if test -n "$CC"; then 6683 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&57352 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6684 7353 $as_echo "$CC" >&6; } 6685 7354 else 6686 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57355 { $as_echo "$as_me:$LINENO: result: no" >&5 6687 7356 $as_echo "no" >&6; } 6688 7357 fi … … 6698 7367 # Extract the first word of "$ac_prog", so it can be a program name with args. 6699 7368 set dummy $ac_prog; ac_word=$2 6700 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57369 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6701 7370 $as_echo_n "checking for $ac_word... " >&6; } 6702 if ${ac_cv_prog_ac_ct_CC+:} false; then :7371 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6703 7372 $as_echo_n "(cached) " >&6 6704 7373 else … … 6711 7380 IFS=$as_save_IFS 6712 7381 test -z "$as_dir" && as_dir=. 6713 6714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7382 for ac_exec_ext in '' $ac_executable_extensions; do 7383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6715 7384 ac_cv_prog_ac_ct_CC="$ac_prog" 6716 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57385 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6717 7386 break 2 6718 7387 fi 6719 7388 done 6720 7389 done 6721 7390 IFS=$as_save_IFS 6722 7391 … … 6725 7394 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6726 7395 if test -n "$ac_ct_CC"; then 6727 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&57396 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 6728 7397 $as_echo "$ac_ct_CC" >&6; } 6729 7398 else 6730 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57399 { $as_echo "$as_me:$LINENO: result: no" >&5 6731 7400 $as_echo "no" >&6; } 6732 7401 fi … … 6741 7410 case $cross_compiling:$ac_tool_warned in 6742 7411 yes:) 6743 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57412 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6744 7413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6745 7414 ac_tool_warned=yes ;; … … 6752 7421 6753 7422 6754 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&57423 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 6755 7424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6756 as_fn_error $? "no acceptable C compiler found in \$PATH 6757 See \`config.log' for more details" "$LINENO" 5; } 7425 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 7426 See \`config.log' for more details." >&5 7427 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 7428 See \`config.log' for more details." >&2;} 7429 { (exit 1); exit 1; }; }; } 6758 7430 6759 7431 # Provide some information about the compiler. 6760 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&57432 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 6761 7433 set X $ac_compile 6762 7434 ac_compiler=$2 6763 for ac_option in --version -v -V -qversion; do 6764 { { ac_try="$ac_compiler $ac_option >&5" 7435 { (ac_try="$ac_compiler --version >&5" 6765 7436 case "(($ac_try" in 6766 7437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6767 7438 *) ac_try_echo=$ac_try;; 6768 7439 esac 6769 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""6770 $as_echo "$ac_try_echo" ; }>&56771 (eval "$ac_compiler $ac_option >&5") 2>conftest.err7440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7441 $as_echo "$ac_try_echo") >&5 7442 (eval "$ac_compiler --version >&5") 2>&5 6772 7443 ac_status=$? 6773 if test -s conftest.err; then 6774 sed '10a\ 6775 ... rest of stderr output deleted ... 6776 10q' conftest.err >conftest.er1 6777 cat conftest.er1 >&5 6778 fi 6779 rm -f conftest.er1 conftest.err 6780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6781 test $ac_status = 0; } 6782 done 6783 6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 7444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7445 (exit $ac_status); } 7446 { (ac_try="$ac_compiler -v >&5" 7447 case "(($ac_try" in 7448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7449 *) ac_try_echo=$ac_try;; 7450 esac 7451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7452 $as_echo "$ac_try_echo") >&5 7453 (eval "$ac_compiler -v >&5") 2>&5 7454 ac_status=$? 7455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7456 (exit $ac_status); } 7457 { (ac_try="$ac_compiler -V >&5" 7458 case "(($ac_try" in 7459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7460 *) ac_try_echo=$ac_try;; 7461 esac 7462 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7463 $as_echo "$ac_try_echo") >&5 7464 (eval "$ac_compiler -V >&5") 2>&5 7465 ac_status=$? 7466 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7467 (exit $ac_status); } 7468 7469 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 6785 7470 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 6786 if ${ac_cv_c_compiler_gnu+:} false; then :7471 if test "${ac_cv_c_compiler_gnu+set}" = set; then 6787 7472 $as_echo_n "(cached) " >&6 6788 7473 else 6789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7474 cat >conftest.$ac_ext <<_ACEOF 7475 /* confdefs.h. */ 7476 _ACEOF 7477 cat confdefs.h >>conftest.$ac_ext 7478 cat >>conftest.$ac_ext <<_ACEOF 6790 7479 /* end confdefs.h. */ 6791 7480 … … 6801 7490 } 6802 7491 _ACEOF 6803 if ac_fn_c_try_compile "$LINENO"; then : 7492 rm -f conftest.$ac_objext 7493 if { (ac_try="$ac_compile" 7494 case "(($ac_try" in 7495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7496 *) ac_try_echo=$ac_try;; 7497 esac 7498 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7499 $as_echo "$ac_try_echo") >&5 7500 (eval "$ac_compile") 2>conftest.er1 7501 ac_status=$? 7502 grep -v '^ *+' conftest.er1 >conftest.err 7503 rm -f conftest.er1 7504 cat conftest.err >&5 7505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7506 (exit $ac_status); } && { 7507 test -z "$ac_c_werror_flag" || 7508 test ! -s conftest.err 7509 } && test -s conftest.$ac_objext; then 6804 7510 ac_compiler_gnu=yes 6805 7511 else 6806 ac_compiler_gnu=no 6807 fi 7512 $as_echo "$as_me: failed program was:" >&5 7513 sed 's/^/| /' conftest.$ac_ext >&5 7514 7515 ac_compiler_gnu=no 7516 fi 7517 6808 7518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6809 7519 ac_cv_c_compiler_gnu=$ac_compiler_gnu 6810 7520 6811 7521 fi 6812 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&57522 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 6813 7523 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 6814 7524 if test $ac_compiler_gnu = yes; then … … 6819 7529 ac_test_CFLAGS=${CFLAGS+set} 6820 7530 ac_save_CFLAGS=$CFLAGS 6821 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&57531 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 6822 7532 $as_echo_n "checking whether $CC accepts -g... " >&6; } 6823 if ${ac_cv_prog_cc_g+:} false; then :7533 if test "${ac_cv_prog_cc_g+set}" = set; then 6824 7534 $as_echo_n "(cached) " >&6 6825 7535 else … … 6828 7538 ac_cv_prog_cc_g=no 6829 7539 CFLAGS="-g" 6830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7540 cat >conftest.$ac_ext <<_ACEOF 7541 /* confdefs.h. */ 7542 _ACEOF 7543 cat confdefs.h >>conftest.$ac_ext 7544 cat >>conftest.$ac_ext <<_ACEOF 6831 7545 /* end confdefs.h. */ 6832 7546 … … 6839 7553 } 6840 7554 _ACEOF 6841 if ac_fn_c_try_compile "$LINENO"; then : 7555 rm -f conftest.$ac_objext 7556 if { (ac_try="$ac_compile" 7557 case "(($ac_try" in 7558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7559 *) ac_try_echo=$ac_try;; 7560 esac 7561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7562 $as_echo "$ac_try_echo") >&5 7563 (eval "$ac_compile") 2>conftest.er1 7564 ac_status=$? 7565 grep -v '^ *+' conftest.er1 >conftest.err 7566 rm -f conftest.er1 7567 cat conftest.err >&5 7568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7569 (exit $ac_status); } && { 7570 test -z "$ac_c_werror_flag" || 7571 test ! -s conftest.err 7572 } && test -s conftest.$ac_objext; then 6842 7573 ac_cv_prog_cc_g=yes 6843 7574 else 6844 CFLAGS="" 6845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7575 $as_echo "$as_me: failed program was:" >&5 7576 sed 's/^/| /' conftest.$ac_ext >&5 7577 7578 CFLAGS="" 7579 cat >conftest.$ac_ext <<_ACEOF 7580 /* confdefs.h. */ 7581 _ACEOF 7582 cat confdefs.h >>conftest.$ac_ext 7583 cat >>conftest.$ac_ext <<_ACEOF 6846 7584 /* end confdefs.h. */ 6847 7585 … … 6854 7592 } 6855 7593 _ACEOF 6856 if ac_fn_c_try_compile "$LINENO"; then : 6857 6858 else 6859 ac_c_werror_flag=$ac_save_c_werror_flag 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_c_werror_flag" || 7610 test ! -s conftest.err 7611 } && test -s conftest.$ac_objext; then 7612 : 7613 else 7614 $as_echo "$as_me: failed program was:" >&5 7615 sed 's/^/| /' conftest.$ac_ext >&5 7616 7617 ac_c_werror_flag=$ac_save_c_werror_flag 6860 7618 CFLAGS="-g" 6861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7619 cat >conftest.$ac_ext <<_ACEOF 7620 /* confdefs.h. */ 7621 _ACEOF 7622 cat confdefs.h >>conftest.$ac_ext 7623 cat >>conftest.$ac_ext <<_ACEOF 6862 7624 /* end confdefs.h. */ 6863 7625 … … 6870 7632 } 6871 7633 _ACEOF 6872 if ac_fn_c_try_compile "$LINENO"; then : 7634 rm -f conftest.$ac_objext 7635 if { (ac_try="$ac_compile" 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_compile") 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); } && { 7649 test -z "$ac_c_werror_flag" || 7650 test ! -s conftest.err 7651 } && test -s conftest.$ac_objext; then 6873 7652 ac_cv_prog_cc_g=yes 6874 fi 7653 else 7654 $as_echo "$as_me: failed program was:" >&5 7655 sed 's/^/| /' conftest.$ac_ext >&5 7656 7657 7658 fi 7659 6875 7660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6876 7661 fi 7662 6877 7663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6878 7664 fi 7665 6879 7666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6880 7667 ac_c_werror_flag=$ac_save_c_werror_flag 6881 7668 fi 6882 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&57669 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 6883 7670 $as_echo "$ac_cv_prog_cc_g" >&6; } 6884 7671 if test "$ac_test_CFLAGS" = set; then … … 6897 7684 fi 6898 7685 fi 6899 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&57686 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 6900 7687 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 6901 if ${ac_cv_prog_cc_c89+:} false; then :7688 if test "${ac_cv_prog_cc_c89+set}" = set; then 6902 7689 $as_echo_n "(cached) " >&6 6903 7690 else 6904 7691 ac_cv_prog_cc_c89=no 6905 7692 ac_save_CC=$CC 6906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7693 cat >conftest.$ac_ext <<_ACEOF 7694 /* confdefs.h. */ 7695 _ACEOF 7696 cat confdefs.h >>conftest.$ac_ext 7697 cat >>conftest.$ac_ext <<_ACEOF 6907 7698 /* end confdefs.h. */ 6908 7699 #include <stdarg.h> 6909 7700 #include <stdio.h> 6910 struct stat; 7701 #include <sys/types.h> 7702 #include <sys/stat.h> 6911 7703 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 6912 7704 struct buf { int x; }; … … 6960 7752 do 6961 7753 CC="$ac_save_CC $ac_arg" 6962 if ac_fn_c_try_compile "$LINENO"; then : 7754 rm -f conftest.$ac_objext 7755 if { (ac_try="$ac_compile" 7756 case "(($ac_try" in 7757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7758 *) ac_try_echo=$ac_try;; 7759 esac 7760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7761 $as_echo "$ac_try_echo") >&5 7762 (eval "$ac_compile") 2>conftest.er1 7763 ac_status=$? 7764 grep -v '^ *+' conftest.er1 >conftest.err 7765 rm -f conftest.er1 7766 cat conftest.err >&5 7767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7768 (exit $ac_status); } && { 7769 test -z "$ac_c_werror_flag" || 7770 test ! -s conftest.err 7771 } && test -s conftest.$ac_objext; then 6963 7772 ac_cv_prog_cc_c89=$ac_arg 6964 fi 7773 else 7774 $as_echo "$as_me: failed program was:" >&5 7775 sed 's/^/| /' conftest.$ac_ext >&5 7776 7777 7778 fi 7779 6965 7780 rm -f core conftest.err conftest.$ac_objext 6966 7781 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 6973 7788 case "x$ac_cv_prog_cc_c89" in 6974 7789 x) 6975 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&57790 { $as_echo "$as_me:$LINENO: result: none needed" >&5 6976 7791 $as_echo "none needed" >&6; } ;; 6977 7792 xno) 6978 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&57793 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 6979 7794 $as_echo "unsupported" >&6; } ;; 6980 7795 *) 6981 7796 CC="$CC $ac_cv_prog_cc_c89" 6982 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&57797 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 6983 7798 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 6984 7799 esac 6985 if test "x$ac_cv_prog_cc_c89" != xno; then : 6986 6987 fi 7800 6988 7801 6989 7802 ac_ext=c … … 6998 7811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6999 7812 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7000 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&57813 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 7001 7814 $as_echo_n "checking how to run the C preprocessor... " >&6; } 7002 7815 # On Suns, sometimes $CPP names a directory. … … 7005 7818 fi 7006 7819 if test -z "$CPP"; then 7007 if ${ac_cv_prog_CPP+:} false; then :7820 if test "${ac_cv_prog_CPP+set}" = set; then 7008 7821 $as_echo_n "(cached) " >&6 7009 7822 else … … 7020 7833 # On the NeXT, cc -E runs the code through the compiler's parser, 7021 7834 # not just through cpp. "Syntax error" is here to catch this case. 7022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7835 cat >conftest.$ac_ext <<_ACEOF 7836 /* confdefs.h. */ 7837 _ACEOF 7838 cat confdefs.h >>conftest.$ac_ext 7839 cat >>conftest.$ac_ext <<_ACEOF 7023 7840 /* end confdefs.h. */ 7024 7841 #ifdef __STDC__ … … 7029 7846 Syntax error 7030 7847 _ACEOF 7031 if ac_fn_c_try_cpp "$LINENO"; then : 7032 7033 else 7848 if { (ac_try="$ac_cpp conftest.$ac_ext" 7849 case "(($ac_try" in 7850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7851 *) ac_try_echo=$ac_try;; 7852 esac 7853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7854 $as_echo "$ac_try_echo") >&5 7855 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7856 ac_status=$? 7857 grep -v '^ *+' conftest.er1 >conftest.err 7858 rm -f conftest.er1 7859 cat conftest.err >&5 7860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7861 (exit $ac_status); } >/dev/null && { 7862 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7863 test ! -s conftest.err 7864 }; then 7865 : 7866 else 7867 $as_echo "$as_me: failed program was:" >&5 7868 sed 's/^/| /' conftest.$ac_ext >&5 7869 7034 7870 # Broken: fails on valid input. 7035 7871 continue 7036 7872 fi 7037 rm -f conftest.err conftest.i conftest.$ac_ext 7873 7874 rm -f conftest.err conftest.$ac_ext 7038 7875 7039 7876 # OK, works on sane cases. Now check whether nonexistent headers 7040 7877 # can be detected and how. 7041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7878 cat >conftest.$ac_ext <<_ACEOF 7879 /* confdefs.h. */ 7880 _ACEOF 7881 cat confdefs.h >>conftest.$ac_ext 7882 cat >>conftest.$ac_ext <<_ACEOF 7042 7883 /* end confdefs.h. */ 7043 7884 #include <ac_nonexistent.h> 7044 7885 _ACEOF 7045 if ac_fn_c_try_cpp "$LINENO"; then : 7886 if { (ac_try="$ac_cpp conftest.$ac_ext" 7887 case "(($ac_try" in 7888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7889 *) ac_try_echo=$ac_try;; 7890 esac 7891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7892 $as_echo "$ac_try_echo") >&5 7893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7894 ac_status=$? 7895 grep -v '^ *+' conftest.er1 >conftest.err 7896 rm -f conftest.er1 7897 cat conftest.err >&5 7898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7899 (exit $ac_status); } >/dev/null && { 7900 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7901 test ! -s conftest.err 7902 }; then 7046 7903 # Broken: success on invalid input. 7047 7904 continue 7048 7905 else 7906 $as_echo "$as_me: failed program was:" >&5 7907 sed 's/^/| /' conftest.$ac_ext >&5 7908 7049 7909 # Passes both tests. 7050 7910 ac_preproc_ok=: 7051 7911 break 7052 7912 fi 7053 rm -f conftest.err conftest.i conftest.$ac_ext 7913 7914 rm -f conftest.err conftest.$ac_ext 7054 7915 7055 7916 done 7056 7917 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7057 rm -f conftest. i conftest.err conftest.$ac_ext7058 if $ac_preproc_ok; then :7918 rm -f conftest.err conftest.$ac_ext 7919 if $ac_preproc_ok; then 7059 7920 break 7060 7921 fi … … 7068 7929 ac_cv_prog_CPP=$CPP 7069 7930 fi 7070 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&57931 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 7071 7932 $as_echo "$CPP" >&6; } 7072 7933 ac_preproc_ok=false … … 7079 7940 # On the NeXT, cc -E runs the code through the compiler's parser, 7080 7941 # not just through cpp. "Syntax error" is here to catch this case. 7081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7942 cat >conftest.$ac_ext <<_ACEOF 7943 /* confdefs.h. */ 7944 _ACEOF 7945 cat confdefs.h >>conftest.$ac_ext 7946 cat >>conftest.$ac_ext <<_ACEOF 7082 7947 /* end confdefs.h. */ 7083 7948 #ifdef __STDC__ … … 7088 7953 Syntax error 7089 7954 _ACEOF 7090 if ac_fn_c_try_cpp "$LINENO"; then : 7091 7092 else 7955 if { (ac_try="$ac_cpp conftest.$ac_ext" 7956 case "(($ac_try" in 7957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7958 *) ac_try_echo=$ac_try;; 7959 esac 7960 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7961 $as_echo "$ac_try_echo") >&5 7962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7963 ac_status=$? 7964 grep -v '^ *+' conftest.er1 >conftest.err 7965 rm -f conftest.er1 7966 cat conftest.err >&5 7967 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7968 (exit $ac_status); } >/dev/null && { 7969 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7970 test ! -s conftest.err 7971 }; then 7972 : 7973 else 7974 $as_echo "$as_me: failed program was:" >&5 7975 sed 's/^/| /' conftest.$ac_ext >&5 7976 7093 7977 # Broken: fails on valid input. 7094 7978 continue 7095 7979 fi 7096 rm -f conftest.err conftest.i conftest.$ac_ext 7980 7981 rm -f conftest.err conftest.$ac_ext 7097 7982 7098 7983 # OK, works on sane cases. Now check whether nonexistent headers 7099 7984 # can be detected and how. 7100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7985 cat >conftest.$ac_ext <<_ACEOF 7986 /* confdefs.h. */ 7987 _ACEOF 7988 cat confdefs.h >>conftest.$ac_ext 7989 cat >>conftest.$ac_ext <<_ACEOF 7101 7990 /* end confdefs.h. */ 7102 7991 #include <ac_nonexistent.h> 7103 7992 _ACEOF 7104 if ac_fn_c_try_cpp "$LINENO"; then : 7993 if { (ac_try="$ac_cpp conftest.$ac_ext" 7994 case "(($ac_try" in 7995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7996 *) ac_try_echo=$ac_try;; 7997 esac 7998 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7999 $as_echo "$ac_try_echo") >&5 8000 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8001 ac_status=$? 8002 grep -v '^ *+' conftest.er1 >conftest.err 8003 rm -f conftest.er1 8004 cat conftest.err >&5 8005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8006 (exit $ac_status); } >/dev/null && { 8007 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8008 test ! -s conftest.err 8009 }; then 7105 8010 # Broken: success on invalid input. 7106 8011 continue 7107 8012 else 8013 $as_echo "$as_me: failed program was:" >&5 8014 sed 's/^/| /' conftest.$ac_ext >&5 8015 7108 8016 # Passes both tests. 7109 8017 ac_preproc_ok=: 7110 8018 break 7111 8019 fi 7112 rm -f conftest.err conftest.i conftest.$ac_ext 8020 8021 rm -f conftest.err conftest.$ac_ext 7113 8022 7114 8023 done 7115 8024 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7116 rm -f conftest. i conftest.err conftest.$ac_ext7117 if $ac_preproc_ok; then :7118 7119 else 7120 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&58025 rm -f conftest.err conftest.$ac_ext 8026 if $ac_preproc_ok; then 8027 : 8028 else 8029 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7121 8030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7122 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7123 See \`config.log' for more details" "$LINENO" 5; } 8031 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 8032 See \`config.log' for more details." >&5 8033 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 8034 See \`config.log' for more details." >&2;} 8035 { (exit 1); exit 1; }; }; } 7124 8036 fi 7125 8037 … … 7144 8056 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7145 8057 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7146 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58058 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7147 8059 $as_echo_n "checking for $ac_word... " >&6; } 7148 if ${ac_cv_prog_CXX+:} false; then :8060 if test "${ac_cv_prog_CXX+set}" = set; then 7149 8061 $as_echo_n "(cached) " >&6 7150 8062 else … … 7157 8069 IFS=$as_save_IFS 7158 8070 test -z "$as_dir" && as_dir=. 7159 7160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8071 for ac_exec_ext in '' $ac_executable_extensions; do 8072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7161 8073 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 7162 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58074 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7163 8075 break 2 7164 8076 fi 7165 8077 done 7166 8078 done 7167 8079 IFS=$as_save_IFS 7168 8080 … … 7171 8083 CXX=$ac_cv_prog_CXX 7172 8084 if test -n "$CXX"; then 7173 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXX" >&58085 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 7174 8086 $as_echo "$CXX" >&6; } 7175 8087 else 7176 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58088 { $as_echo "$as_me:$LINENO: result: no" >&5 7177 8089 $as_echo "no" >&6; } 7178 8090 fi … … 7188 8100 # Extract the first word of "$ac_prog", so it can be a program name with args. 7189 8101 set dummy $ac_prog; ac_word=$2 7190 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58102 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7191 8103 $as_echo_n "checking for $ac_word... " >&6; } 7192 if ${ac_cv_prog_ac_ct_CXX+:} false; then :8104 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 7193 8105 $as_echo_n "(cached) " >&6 7194 8106 else … … 7201 8113 IFS=$as_save_IFS 7202 8114 test -z "$as_dir" && as_dir=. 7203 7204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8115 for ac_exec_ext in '' $ac_executable_extensions; do 8116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7205 8117 ac_cv_prog_ac_ct_CXX="$ac_prog" 7206 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58118 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7207 8119 break 2 7208 8120 fi 7209 8121 done 7210 8122 done 7211 8123 IFS=$as_save_IFS 7212 8124 … … 7215 8127 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7216 8128 if test -n "$ac_ct_CXX"; then 7217 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CXX" >&58129 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 7218 8130 $as_echo "$ac_ct_CXX" >&6; } 7219 8131 else 7220 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58132 { $as_echo "$as_me:$LINENO: result: no" >&5 7221 8133 $as_echo "no" >&6; } 7222 8134 fi … … 7231 8143 case $cross_compiling:$ac_tool_warned in 7232 8144 yes:) 7233 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&58145 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7234 8146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7235 8147 ac_tool_warned=yes ;; … … 7242 8154 fi 7243 8155 # Provide some information about the compiler. 7244 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C++ compiler version" >&58156 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7245 8157 set X $ac_compile 7246 8158 ac_compiler=$2 7247 for ac_option in --version -v -V -qversion; do 7248 { { ac_try="$ac_compiler $ac_option >&5" 8159 { (ac_try="$ac_compiler --version >&5" 7249 8160 case "(($ac_try" in 7250 8161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7251 8162 *) ac_try_echo=$ac_try;; 7252 8163 esac 7253 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""7254 $as_echo "$ac_try_echo" ; }>&57255 (eval "$ac_compiler $ac_option >&5") 2>conftest.err8164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8165 $as_echo "$ac_try_echo") >&5 8166 (eval "$ac_compiler --version >&5") 2>&5 7256 8167 ac_status=$? 7257 if test -s conftest.err; then 7258 sed '10a\ 7259 ... rest of stderr output deleted ... 7260 10q' conftest.err >conftest.er1 7261 cat conftest.er1 >&5 7262 fi 7263 rm -f conftest.er1 conftest.err 7264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7265 test $ac_status = 0; } 7266 done 7267 7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8169 (exit $ac_status); } 8170 { (ac_try="$ac_compiler -v >&5" 8171 case "(($ac_try" in 8172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8173 *) ac_try_echo=$ac_try;; 8174 esac 8175 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8176 $as_echo "$ac_try_echo") >&5 8177 (eval "$ac_compiler -v >&5") 2>&5 8178 ac_status=$? 8179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8180 (exit $ac_status); } 8181 { (ac_try="$ac_compiler -V >&5" 8182 case "(($ac_try" in 8183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8184 *) ac_try_echo=$ac_try;; 8185 esac 8186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8187 $as_echo "$ac_try_echo") >&5 8188 (eval "$ac_compiler -V >&5") 2>&5 8189 ac_status=$? 8190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8191 (exit $ac_status); } 8192 8193 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7269 8194 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7270 if ${ac_cv_cxx_compiler_gnu+:} false; then :8195 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 7271 8196 $as_echo_n "(cached) " >&6 7272 8197 else 7273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8198 cat >conftest.$ac_ext <<_ACEOF 8199 /* confdefs.h. */ 8200 _ACEOF 8201 cat confdefs.h >>conftest.$ac_ext 8202 cat >>conftest.$ac_ext <<_ACEOF 7274 8203 /* end confdefs.h. */ 7275 8204 … … 7285 8214 } 7286 8215 _ACEOF 7287 if ac_fn_cxx_try_compile "$LINENO"; then : 8216 rm -f conftest.$ac_objext 8217 if { (ac_try="$ac_compile" 8218 case "(($ac_try" in 8219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8220 *) ac_try_echo=$ac_try;; 8221 esac 8222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8223 $as_echo "$ac_try_echo") >&5 8224 (eval "$ac_compile") 2>conftest.er1 8225 ac_status=$? 8226 grep -v '^ *+' conftest.er1 >conftest.err 8227 rm -f conftest.er1 8228 cat conftest.err >&5 8229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8230 (exit $ac_status); } && { 8231 test -z "$ac_cxx_werror_flag" || 8232 test ! -s conftest.err 8233 } && test -s conftest.$ac_objext; then 7288 8234 ac_compiler_gnu=yes 7289 8235 else 7290 ac_compiler_gnu=no 7291 fi 8236 $as_echo "$as_me: failed program was:" >&5 8237 sed 's/^/| /' conftest.$ac_ext >&5 8238 8239 ac_compiler_gnu=no 8240 fi 8241 7292 8242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7293 8243 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 7294 8244 7295 8245 fi 7296 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&58246 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 7297 8247 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 7298 8248 if test $ac_compiler_gnu = yes; then … … 7303 8253 ac_test_CXXFLAGS=${CXXFLAGS+set} 7304 8254 ac_save_CXXFLAGS=$CXXFLAGS 7305 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CXX accepts -g" >&58255 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 7306 8256 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 7307 if ${ac_cv_prog_cxx_g+:} false; then :8257 if test "${ac_cv_prog_cxx_g+set}" = set; then 7308 8258 $as_echo_n "(cached) " >&6 7309 8259 else … … 7312 8262 ac_cv_prog_cxx_g=no 7313 8263 CXXFLAGS="-g" 7314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8264 cat >conftest.$ac_ext <<_ACEOF 8265 /* confdefs.h. */ 8266 _ACEOF 8267 cat confdefs.h >>conftest.$ac_ext 8268 cat >>conftest.$ac_ext <<_ACEOF 7315 8269 /* end confdefs.h. */ 7316 8270 … … 7323 8277 } 7324 8278 _ACEOF 7325 if ac_fn_cxx_try_compile "$LINENO"; then : 8279 rm -f conftest.$ac_objext 8280 if { (ac_try="$ac_compile" 8281 case "(($ac_try" in 8282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8283 *) ac_try_echo=$ac_try;; 8284 esac 8285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8286 $as_echo "$ac_try_echo") >&5 8287 (eval "$ac_compile") 2>conftest.er1 8288 ac_status=$? 8289 grep -v '^ *+' conftest.er1 >conftest.err 8290 rm -f conftest.er1 8291 cat conftest.err >&5 8292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8293 (exit $ac_status); } && { 8294 test -z "$ac_cxx_werror_flag" || 8295 test ! -s conftest.err 8296 } && test -s conftest.$ac_objext; then 7326 8297 ac_cv_prog_cxx_g=yes 7327 8298 else 7328 CXXFLAGS="" 7329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8299 $as_echo "$as_me: failed program was:" >&5 8300 sed 's/^/| /' conftest.$ac_ext >&5 8301 8302 CXXFLAGS="" 8303 cat >conftest.$ac_ext <<_ACEOF 8304 /* confdefs.h. */ 8305 _ACEOF 8306 cat confdefs.h >>conftest.$ac_ext 8307 cat >>conftest.$ac_ext <<_ACEOF 7330 8308 /* end confdefs.h. */ 7331 8309 … … 7338 8316 } 7339 8317 _ACEOF 7340 if ac_fn_cxx_try_compile "$LINENO"; then : 7341 7342 else 7343 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8318 rm -f conftest.$ac_objext 8319 if { (ac_try="$ac_compile" 8320 case "(($ac_try" in 8321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8322 *) ac_try_echo=$ac_try;; 8323 esac 8324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8325 $as_echo "$ac_try_echo") >&5 8326 (eval "$ac_compile") 2>conftest.er1 8327 ac_status=$? 8328 grep -v '^ *+' conftest.er1 >conftest.err 8329 rm -f conftest.er1 8330 cat conftest.err >&5 8331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8332 (exit $ac_status); } && { 8333 test -z "$ac_cxx_werror_flag" || 8334 test ! -s conftest.err 8335 } && test -s conftest.$ac_objext; then 8336 : 8337 else 8338 $as_echo "$as_me: failed program was:" >&5 8339 sed 's/^/| /' conftest.$ac_ext >&5 8340 8341 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7344 8342 CXXFLAGS="-g" 7345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8343 cat >conftest.$ac_ext <<_ACEOF 8344 /* confdefs.h. */ 8345 _ACEOF 8346 cat confdefs.h >>conftest.$ac_ext 8347 cat >>conftest.$ac_ext <<_ACEOF 7346 8348 /* end confdefs.h. */ 7347 8349 … … 7354 8356 } 7355 8357 _ACEOF 7356 if ac_fn_cxx_try_compile "$LINENO"; then : 8358 rm -f conftest.$ac_objext 8359 if { (ac_try="$ac_compile" 8360 case "(($ac_try" in 8361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8362 *) ac_try_echo=$ac_try;; 8363 esac 8364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8365 $as_echo "$ac_try_echo") >&5 8366 (eval "$ac_compile") 2>conftest.er1 8367 ac_status=$? 8368 grep -v '^ *+' conftest.er1 >conftest.err 8369 rm -f conftest.er1 8370 cat conftest.err >&5 8371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8372 (exit $ac_status); } && { 8373 test -z "$ac_cxx_werror_flag" || 8374 test ! -s conftest.err 8375 } && test -s conftest.$ac_objext; then 7357 8376 ac_cv_prog_cxx_g=yes 7358 fi 8377 else 8378 $as_echo "$as_me: failed program was:" >&5 8379 sed 's/^/| /' conftest.$ac_ext >&5 8380 8381 8382 fi 8383 7359 8384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7360 8385 fi 8386 7361 8387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7362 8388 fi 8389 7363 8390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7364 8391 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7365 8392 fi 7366 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&58393 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 7367 8394 $as_echo "$ac_cv_prog_cxx_g" >&6; } 7368 8395 if test "$ac_test_CXXFLAGS" = set; then … … 7392 8419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7393 8420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7394 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&58421 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 7395 8422 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 7396 8423 if test -z "$CXXCPP"; then 7397 if ${ac_cv_prog_CXXCPP+:} false; then :8424 if test "${ac_cv_prog_CXXCPP+set}" = set; then 7398 8425 $as_echo_n "(cached) " >&6 7399 8426 else … … 7410 8437 # On the NeXT, cc -E runs the code through the compiler's parser, 7411 8438 # not just through cpp. "Syntax error" is here to catch this case. 7412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8439 cat >conftest.$ac_ext <<_ACEOF 8440 /* confdefs.h. */ 8441 _ACEOF 8442 cat confdefs.h >>conftest.$ac_ext 8443 cat >>conftest.$ac_ext <<_ACEOF 7413 8444 /* end confdefs.h. */ 7414 8445 #ifdef __STDC__ … … 7419 8450 Syntax error 7420 8451 _ACEOF 7421 if ac_fn_cxx_try_cpp "$LINENO"; then : 7422 7423 else 8452 if { (ac_try="$ac_cpp conftest.$ac_ext" 8453 case "(($ac_try" in 8454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8455 *) ac_try_echo=$ac_try;; 8456 esac 8457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8458 $as_echo "$ac_try_echo") >&5 8459 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8460 ac_status=$? 8461 grep -v '^ *+' conftest.er1 >conftest.err 8462 rm -f conftest.er1 8463 cat conftest.err >&5 8464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8465 (exit $ac_status); } >/dev/null && { 8466 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8467 test ! -s conftest.err 8468 }; then 8469 : 8470 else 8471 $as_echo "$as_me: failed program was:" >&5 8472 sed 's/^/| /' conftest.$ac_ext >&5 8473 7424 8474 # Broken: fails on valid input. 7425 8475 continue 7426 8476 fi 7427 rm -f conftest.err conftest.i conftest.$ac_ext 8477 8478 rm -f conftest.err conftest.$ac_ext 7428 8479 7429 8480 # OK, works on sane cases. Now check whether nonexistent headers 7430 8481 # can be detected and how. 7431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8482 cat >conftest.$ac_ext <<_ACEOF 8483 /* confdefs.h. */ 8484 _ACEOF 8485 cat confdefs.h >>conftest.$ac_ext 8486 cat >>conftest.$ac_ext <<_ACEOF 7432 8487 /* end confdefs.h. */ 7433 8488 #include <ac_nonexistent.h> 7434 8489 _ACEOF 7435 if ac_fn_cxx_try_cpp "$LINENO"; then : 8490 if { (ac_try="$ac_cpp conftest.$ac_ext" 8491 case "(($ac_try" in 8492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8493 *) ac_try_echo=$ac_try;; 8494 esac 8495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8496 $as_echo "$ac_try_echo") >&5 8497 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8498 ac_status=$? 8499 grep -v '^ *+' conftest.er1 >conftest.err 8500 rm -f conftest.er1 8501 cat conftest.err >&5 8502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8503 (exit $ac_status); } >/dev/null && { 8504 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8505 test ! -s conftest.err 8506 }; then 7436 8507 # Broken: success on invalid input. 7437 8508 continue 7438 8509 else 8510 $as_echo "$as_me: failed program was:" >&5 8511 sed 's/^/| /' conftest.$ac_ext >&5 8512 7439 8513 # Passes both tests. 7440 8514 ac_preproc_ok=: 7441 8515 break 7442 8516 fi 7443 rm -f conftest.err conftest.i conftest.$ac_ext 8517 8518 rm -f conftest.err conftest.$ac_ext 7444 8519 7445 8520 done 7446 8521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7447 rm -f conftest. i conftest.err conftest.$ac_ext7448 if $ac_preproc_ok; then :8522 rm -f conftest.err conftest.$ac_ext 8523 if $ac_preproc_ok; then 7449 8524 break 7450 8525 fi … … 7458 8533 ac_cv_prog_CXXCPP=$CXXCPP 7459 8534 fi 7460 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXXCPP" >&58535 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 7461 8536 $as_echo "$CXXCPP" >&6; } 7462 8537 ac_preproc_ok=false … … 7469 8544 # On the NeXT, cc -E runs the code through the compiler's parser, 7470 8545 # not just through cpp. "Syntax error" is here to catch this case. 7471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8546 cat >conftest.$ac_ext <<_ACEOF 8547 /* confdefs.h. */ 8548 _ACEOF 8549 cat confdefs.h >>conftest.$ac_ext 8550 cat >>conftest.$ac_ext <<_ACEOF 7472 8551 /* end confdefs.h. */ 7473 8552 #ifdef __STDC__ … … 7478 8557 Syntax error 7479 8558 _ACEOF 7480 if ac_fn_cxx_try_cpp "$LINENO"; then : 7481 7482 else 8559 if { (ac_try="$ac_cpp conftest.$ac_ext" 8560 case "(($ac_try" in 8561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8562 *) ac_try_echo=$ac_try;; 8563 esac 8564 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8565 $as_echo "$ac_try_echo") >&5 8566 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8567 ac_status=$? 8568 grep -v '^ *+' conftest.er1 >conftest.err 8569 rm -f conftest.er1 8570 cat conftest.err >&5 8571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8572 (exit $ac_status); } >/dev/null && { 8573 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8574 test ! -s conftest.err 8575 }; then 8576 : 8577 else 8578 $as_echo "$as_me: failed program was:" >&5 8579 sed 's/^/| /' conftest.$ac_ext >&5 8580 7483 8581 # Broken: fails on valid input. 7484 8582 continue 7485 8583 fi 7486 rm -f conftest.err conftest.i conftest.$ac_ext 8584 8585 rm -f conftest.err conftest.$ac_ext 7487 8586 7488 8587 # OK, works on sane cases. Now check whether nonexistent headers 7489 8588 # can be detected and how. 7490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8589 cat >conftest.$ac_ext <<_ACEOF 8590 /* confdefs.h. */ 8591 _ACEOF 8592 cat confdefs.h >>conftest.$ac_ext 8593 cat >>conftest.$ac_ext <<_ACEOF 7491 8594 /* end confdefs.h. */ 7492 8595 #include <ac_nonexistent.h> 7493 8596 _ACEOF 7494 if ac_fn_cxx_try_cpp "$LINENO"; then : 8597 if { (ac_try="$ac_cpp conftest.$ac_ext" 8598 case "(($ac_try" in 8599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8600 *) ac_try_echo=$ac_try;; 8601 esac 8602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8603 $as_echo "$ac_try_echo") >&5 8604 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8605 ac_status=$? 8606 grep -v '^ *+' conftest.er1 >conftest.err 8607 rm -f conftest.er1 8608 cat conftest.err >&5 8609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8610 (exit $ac_status); } >/dev/null && { 8611 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8612 test ! -s conftest.err 8613 }; then 7495 8614 # Broken: success on invalid input. 7496 8615 continue 7497 8616 else 8617 $as_echo "$as_me: failed program was:" >&5 8618 sed 's/^/| /' conftest.$ac_ext >&5 8619 7498 8620 # Passes both tests. 7499 8621 ac_preproc_ok=: 7500 8622 break 7501 8623 fi 7502 rm -f conftest.err conftest.i conftest.$ac_ext 8624 8625 rm -f conftest.err conftest.$ac_ext 7503 8626 7504 8627 done 7505 8628 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7506 rm -f conftest. i conftest.err conftest.$ac_ext7507 if $ac_preproc_ok; then :7508 7509 else 7510 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&58629 rm -f conftest.err conftest.$ac_ext 8630 if $ac_preproc_ok; then 8631 : 8632 else 8633 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7511 8634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7512 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 7513 See \`config.log' for more details" "$LINENO" 5; } 8635 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8636 See \`config.log' for more details." >&5 8637 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8638 See \`config.log' for more details." >&2;} 8639 { (exit 1); exit 1; }; }; } 7514 8640 fi 7515 8641 … … 7534 8660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7535 8661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7536 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58662 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7537 8663 $as_echo_n "checking for $ac_word... " >&6; } 7538 if ${ac_cv_prog_CXX+:} false; then :8664 if test "${ac_cv_prog_CXX+set}" = set; then 7539 8665 $as_echo_n "(cached) " >&6 7540 8666 else … … 7547 8673 IFS=$as_save_IFS 7548 8674 test -z "$as_dir" && as_dir=. 7549 7550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8675 for ac_exec_ext in '' $ac_executable_extensions; do 8676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7551 8677 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 7552 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58678 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7553 8679 break 2 7554 8680 fi 7555 8681 done 7556 8682 done 7557 8683 IFS=$as_save_IFS 7558 8684 … … 7561 8687 CXX=$ac_cv_prog_CXX 7562 8688 if test -n "$CXX"; then 7563 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXX" >&58689 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 7564 8690 $as_echo "$CXX" >&6; } 7565 8691 else 7566 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58692 { $as_echo "$as_me:$LINENO: result: no" >&5 7567 8693 $as_echo "no" >&6; } 7568 8694 fi … … 7578 8704 # Extract the first word of "$ac_prog", so it can be a program name with args. 7579 8705 set dummy $ac_prog; ac_word=$2 7580 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58706 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7581 8707 $as_echo_n "checking for $ac_word... " >&6; } 7582 if ${ac_cv_prog_ac_ct_CXX+:} false; then :8708 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 7583 8709 $as_echo_n "(cached) " >&6 7584 8710 else … … 7591 8717 IFS=$as_save_IFS 7592 8718 test -z "$as_dir" && as_dir=. 7593 7594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8719 for ac_exec_ext in '' $ac_executable_extensions; do 8720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7595 8721 ac_cv_prog_ac_ct_CXX="$ac_prog" 7596 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58722 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7597 8723 break 2 7598 8724 fi 7599 8725 done 7600 8726 done 7601 8727 IFS=$as_save_IFS 7602 8728 … … 7605 8731 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7606 8732 if test -n "$ac_ct_CXX"; then 7607 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CXX" >&58733 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 7608 8734 $as_echo "$ac_ct_CXX" >&6; } 7609 8735 else 7610 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58736 { $as_echo "$as_me:$LINENO: result: no" >&5 7611 8737 $as_echo "no" >&6; } 7612 8738 fi … … 7621 8747 case $cross_compiling:$ac_tool_warned in 7622 8748 yes:) 7623 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&58749 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7624 8750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7625 8751 ac_tool_warned=yes ;; … … 7632 8758 fi 7633 8759 # Provide some information about the compiler. 7634 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C++ compiler version" >&58760 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7635 8761 set X $ac_compile 7636 8762 ac_compiler=$2 7637 for ac_option in --version -v -V -qversion; do 7638 { { ac_try="$ac_compiler $ac_option >&5" 8763 { (ac_try="$ac_compiler --version >&5" 7639 8764 case "(($ac_try" in 7640 8765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7641 8766 *) ac_try_echo=$ac_try;; 7642 8767 esac 7643 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""7644 $as_echo "$ac_try_echo" ; }>&57645 (eval "$ac_compiler $ac_option >&5") 2>conftest.err8768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8769 $as_echo "$ac_try_echo") >&5 8770 (eval "$ac_compiler --version >&5") 2>&5 7646 8771 ac_status=$? 7647 if test -s conftest.err; then 7648 sed '10a\ 7649 ... rest of stderr output deleted ... 7650 10q' conftest.err >conftest.er1 7651 cat conftest.er1 >&5 7652 fi 7653 rm -f conftest.er1 conftest.err 7654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7655 test $ac_status = 0; } 7656 done 7657 7658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8773 (exit $ac_status); } 8774 { (ac_try="$ac_compiler -v >&5" 8775 case "(($ac_try" in 8776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8777 *) ac_try_echo=$ac_try;; 8778 esac 8779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8780 $as_echo "$ac_try_echo") >&5 8781 (eval "$ac_compiler -v >&5") 2>&5 8782 ac_status=$? 8783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8784 (exit $ac_status); } 8785 { (ac_try="$ac_compiler -V >&5" 8786 case "(($ac_try" in 8787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8788 *) ac_try_echo=$ac_try;; 8789 esac 8790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8791 $as_echo "$ac_try_echo") >&5 8792 (eval "$ac_compiler -V >&5") 2>&5 8793 ac_status=$? 8794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8795 (exit $ac_status); } 8796 8797 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7659 8798 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7660 if ${ac_cv_cxx_compiler_gnu+:} false; then :8799 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 7661 8800 $as_echo_n "(cached) " >&6 7662 8801 else 7663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8802 cat >conftest.$ac_ext <<_ACEOF 8803 /* confdefs.h. */ 8804 _ACEOF 8805 cat confdefs.h >>conftest.$ac_ext 8806 cat >>conftest.$ac_ext <<_ACEOF 7664 8807 /* end confdefs.h. */ 7665 8808 … … 7675 8818 } 7676 8819 _ACEOF 7677 if ac_fn_cxx_try_compile "$LINENO"; then : 8820 rm -f conftest.$ac_objext 8821 if { (ac_try="$ac_compile" 8822 case "(($ac_try" in 8823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8824 *) ac_try_echo=$ac_try;; 8825 esac 8826 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8827 $as_echo "$ac_try_echo") >&5 8828 (eval "$ac_compile") 2>conftest.er1 8829 ac_status=$? 8830 grep -v '^ *+' conftest.er1 >conftest.err 8831 rm -f conftest.er1 8832 cat conftest.err >&5 8833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8834 (exit $ac_status); } && { 8835 test -z "$ac_cxx_werror_flag" || 8836 test ! -s conftest.err 8837 } && test -s conftest.$ac_objext; then 7678 8838 ac_compiler_gnu=yes 7679 8839 else 7680 ac_compiler_gnu=no 7681 fi 8840 $as_echo "$as_me: failed program was:" >&5 8841 sed 's/^/| /' conftest.$ac_ext >&5 8842 8843 ac_compiler_gnu=no 8844 fi 8845 7682 8846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7683 8847 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 7684 8848 7685 8849 fi 7686 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&58850 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 7687 8851 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 7688 8852 if test $ac_compiler_gnu = yes; then … … 7693 8857 ac_test_CXXFLAGS=${CXXFLAGS+set} 7694 8858 ac_save_CXXFLAGS=$CXXFLAGS 7695 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CXX accepts -g" >&58859 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 7696 8860 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 7697 if ${ac_cv_prog_cxx_g+:} false; then :8861 if test "${ac_cv_prog_cxx_g+set}" = set; then 7698 8862 $as_echo_n "(cached) " >&6 7699 8863 else … … 7702 8866 ac_cv_prog_cxx_g=no 7703 8867 CXXFLAGS="-g" 7704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8868 cat >conftest.$ac_ext <<_ACEOF 8869 /* confdefs.h. */ 8870 _ACEOF 8871 cat confdefs.h >>conftest.$ac_ext 8872 cat >>conftest.$ac_ext <<_ACEOF 7705 8873 /* end confdefs.h. */ 7706 8874 … … 7713 8881 } 7714 8882 _ACEOF 7715 if ac_fn_cxx_try_compile "$LINENO"; then : 8883 rm -f conftest.$ac_objext 8884 if { (ac_try="$ac_compile" 8885 case "(($ac_try" in 8886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8887 *) ac_try_echo=$ac_try;; 8888 esac 8889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8890 $as_echo "$ac_try_echo") >&5 8891 (eval "$ac_compile") 2>conftest.er1 8892 ac_status=$? 8893 grep -v '^ *+' conftest.er1 >conftest.err 8894 rm -f conftest.er1 8895 cat conftest.err >&5 8896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8897 (exit $ac_status); } && { 8898 test -z "$ac_cxx_werror_flag" || 8899 test ! -s conftest.err 8900 } && test -s conftest.$ac_objext; then 7716 8901 ac_cv_prog_cxx_g=yes 7717 8902 else 7718 CXXFLAGS="" 7719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8903 $as_echo "$as_me: failed program was:" >&5 8904 sed 's/^/| /' conftest.$ac_ext >&5 8905 8906 CXXFLAGS="" 8907 cat >conftest.$ac_ext <<_ACEOF 8908 /* confdefs.h. */ 8909 _ACEOF 8910 cat confdefs.h >>conftest.$ac_ext 8911 cat >>conftest.$ac_ext <<_ACEOF 7720 8912 /* end confdefs.h. */ 7721 8913 … … 7728 8920 } 7729 8921 _ACEOF 7730 if ac_fn_cxx_try_compile "$LINENO"; then : 7731 7732 else 7733 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8922 rm -f conftest.$ac_objext 8923 if { (ac_try="$ac_compile" 8924 case "(($ac_try" in 8925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8926 *) ac_try_echo=$ac_try;; 8927 esac 8928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8929 $as_echo "$ac_try_echo") >&5 8930 (eval "$ac_compile") 2>conftest.er1 8931 ac_status=$? 8932 grep -v '^ *+' conftest.er1 >conftest.err 8933 rm -f conftest.er1 8934 cat conftest.err >&5 8935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8936 (exit $ac_status); } && { 8937 test -z "$ac_cxx_werror_flag" || 8938 test ! -s conftest.err 8939 } && test -s conftest.$ac_objext; then 8940 : 8941 else 8942 $as_echo "$as_me: failed program was:" >&5 8943 sed 's/^/| /' conftest.$ac_ext >&5 8944 8945 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7734 8946 CXXFLAGS="-g" 7735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8947 cat >conftest.$ac_ext <<_ACEOF 8948 /* confdefs.h. */ 8949 _ACEOF 8950 cat confdefs.h >>conftest.$ac_ext 8951 cat >>conftest.$ac_ext <<_ACEOF 7736 8952 /* end confdefs.h. */ 7737 8953 … … 7744 8960 } 7745 8961 _ACEOF 7746 if ac_fn_cxx_try_compile "$LINENO"; then : 8962 rm -f conftest.$ac_objext 8963 if { (ac_try="$ac_compile" 8964 case "(($ac_try" in 8965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8966 *) ac_try_echo=$ac_try;; 8967 esac 8968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8969 $as_echo "$ac_try_echo") >&5 8970 (eval "$ac_compile") 2>conftest.er1 8971 ac_status=$? 8972 grep -v '^ *+' conftest.er1 >conftest.err 8973 rm -f conftest.er1 8974 cat conftest.err >&5 8975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8976 (exit $ac_status); } && { 8977 test -z "$ac_cxx_werror_flag" || 8978 test ! -s conftest.err 8979 } && test -s conftest.$ac_objext; then 7747 8980 ac_cv_prog_cxx_g=yes 7748 fi 8981 else 8982 $as_echo "$as_me: failed program was:" >&5 8983 sed 's/^/| /' conftest.$ac_ext >&5 8984 8985 8986 fi 8987 7749 8988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7750 8989 fi 8990 7751 8991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7752 8992 fi 8993 7753 8994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7754 8995 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7755 8996 fi 7756 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&58997 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 7757 8998 $as_echo "$ac_cv_prog_cxx_g" >&6; } 7758 8999 if test "$ac_test_CXXFLAGS" = set; then … … 7785 9026 7786 9027 7787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 9028 9029 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7788 9030 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7789 if ${ac_cv_c_bigendian+:} false; then :9031 if test "${ac_cv_c_bigendian+set}" = set; then 7790 9032 $as_echo_n "(cached) " >&6 7791 9033 else 7792 9034 ac_cv_c_bigendian=unknown 7793 9035 # See if we're dealing with a universal compiler. 7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9036 cat >conftest.$ac_ext <<_ACEOF 9037 /* confdefs.h. */ 9038 _ACEOF 9039 cat confdefs.h >>conftest.$ac_ext 9040 cat >>conftest.$ac_ext <<_ACEOF 7795 9041 /* end confdefs.h. */ 7796 9042 #ifndef __APPLE_CC__ … … 7800 9046 7801 9047 _ACEOF 7802 if ac_fn_cxx_try_compile "$LINENO"; then : 9048 rm -f conftest.$ac_objext 9049 if { (ac_try="$ac_compile" 9050 case "(($ac_try" in 9051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9052 *) ac_try_echo=$ac_try;; 9053 esac 9054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9055 $as_echo "$ac_try_echo") >&5 9056 (eval "$ac_compile") 2>conftest.er1 9057 ac_status=$? 9058 grep -v '^ *+' conftest.er1 >conftest.err 9059 rm -f conftest.er1 9060 cat conftest.err >&5 9061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9062 (exit $ac_status); } && { 9063 test -z "$ac_cxx_werror_flag" || 9064 test ! -s conftest.err 9065 } && test -s conftest.$ac_objext; then 7803 9066 7804 9067 # Check for potential -arch flags. It is not universal unless 7805 # there are at least two -arch flags with different values. 7806 ac_arch= 7807 ac_prev= 7808 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 7809 if test -n "$ac_prev"; then 7810 case $ac_word in 7811 i?86 | x86_64 | ppc | ppc64) 7812 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 7813 ac_arch=$ac_word 7814 else 7815 ac_cv_c_bigendian=universal 7816 break 7817 fi 7818 ;; 7819 esac 7820 ac_prev= 7821 elif test "x$ac_word" = "x-arch"; then 7822 ac_prev=arch 7823 fi 7824 done 7825 fi 9068 # there are some -arch flags. Note that *ppc* also matches 9069 # ppc64. This check is also rather less than ideal. 9070 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 9071 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 9072 esac 9073 else 9074 $as_echo "$as_me: failed program was:" >&5 9075 sed 's/^/| /' conftest.$ac_ext >&5 9076 9077 9078 fi 9079 7826 9080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7827 9081 if test $ac_cv_c_bigendian = unknown; then 7828 9082 # See if sys/param.h defines the BYTE_ORDER macro. 7829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9083 cat >conftest.$ac_ext <<_ACEOF 9084 /* confdefs.h. */ 9085 _ACEOF 9086 cat confdefs.h >>conftest.$ac_ext 9087 cat >>conftest.$ac_ext <<_ACEOF 7830 9088 /* end confdefs.h. */ 7831 9089 #include <sys/types.h> … … 7845 9103 } 7846 9104 _ACEOF 7847 if ac_fn_cxx_try_compile "$LINENO"; then : 9105 rm -f conftest.$ac_objext 9106 if { (ac_try="$ac_compile" 9107 case "(($ac_try" in 9108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9109 *) ac_try_echo=$ac_try;; 9110 esac 9111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9112 $as_echo "$ac_try_echo") >&5 9113 (eval "$ac_compile") 2>conftest.er1 9114 ac_status=$? 9115 grep -v '^ *+' conftest.er1 >conftest.err 9116 rm -f conftest.er1 9117 cat conftest.err >&5 9118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9119 (exit $ac_status); } && { 9120 test -z "$ac_cxx_werror_flag" || 9121 test ! -s conftest.err 9122 } && test -s conftest.$ac_objext; then 7848 9123 # It does; now see whether it defined to BIG_ENDIAN or not. 7849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9124 cat >conftest.$ac_ext <<_ACEOF 9125 /* confdefs.h. */ 9126 _ACEOF 9127 cat confdefs.h >>conftest.$ac_ext 9128 cat >>conftest.$ac_ext <<_ACEOF 7850 9129 /* end confdefs.h. */ 7851 9130 #include <sys/types.h> … … 7863 9142 } 7864 9143 _ACEOF 7865 if ac_fn_cxx_try_compile "$LINENO"; then : 9144 rm -f conftest.$ac_objext 9145 if { (ac_try="$ac_compile" 9146 case "(($ac_try" in 9147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9148 *) ac_try_echo=$ac_try;; 9149 esac 9150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9151 $as_echo "$ac_try_echo") >&5 9152 (eval "$ac_compile") 2>conftest.er1 9153 ac_status=$? 9154 grep -v '^ *+' conftest.er1 >conftest.err 9155 rm -f conftest.er1 9156 cat conftest.err >&5 9157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9158 (exit $ac_status); } && { 9159 test -z "$ac_cxx_werror_flag" || 9160 test ! -s conftest.err 9161 } && test -s conftest.$ac_objext; then 7866 9162 ac_cv_c_bigendian=yes 7867 9163 else 7868 ac_cv_c_bigendian=no 7869 fi 9164 $as_echo "$as_me: failed program was:" >&5 9165 sed 's/^/| /' conftest.$ac_ext >&5 9166 9167 ac_cv_c_bigendian=no 9168 fi 9169 7870 9170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7871 fi 9171 else 9172 $as_echo "$as_me: failed program was:" >&5 9173 sed 's/^/| /' conftest.$ac_ext >&5 9174 9175 9176 fi 9177 7872 9178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7873 9179 fi 7874 9180 if test $ac_cv_c_bigendian = unknown; then 7875 9181 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 7876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9182 cat >conftest.$ac_ext <<_ACEOF 9183 /* confdefs.h. */ 9184 _ACEOF 9185 cat confdefs.h >>conftest.$ac_ext 9186 cat >>conftest.$ac_ext <<_ACEOF 7877 9187 /* end confdefs.h. */ 7878 9188 #include <limits.h> … … 7889 9199 } 7890 9200 _ACEOF 7891 if ac_fn_cxx_try_compile "$LINENO"; then : 9201 rm -f conftest.$ac_objext 9202 if { (ac_try="$ac_compile" 9203 case "(($ac_try" in 9204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9205 *) ac_try_echo=$ac_try;; 9206 esac 9207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9208 $as_echo "$ac_try_echo") >&5 9209 (eval "$ac_compile") 2>conftest.er1 9210 ac_status=$? 9211 grep -v '^ *+' conftest.er1 >conftest.err 9212 rm -f conftest.er1 9213 cat conftest.err >&5 9214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9215 (exit $ac_status); } && { 9216 test -z "$ac_cxx_werror_flag" || 9217 test ! -s conftest.err 9218 } && test -s conftest.$ac_objext; then 7892 9219 # It does; now see whether it defined to _BIG_ENDIAN or not. 7893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9220 cat >conftest.$ac_ext <<_ACEOF 9221 /* confdefs.h. */ 9222 _ACEOF 9223 cat confdefs.h >>conftest.$ac_ext 9224 cat >>conftest.$ac_ext <<_ACEOF 7894 9225 /* end confdefs.h. */ 7895 9226 #include <limits.h> … … 7906 9237 } 7907 9238 _ACEOF 7908 if ac_fn_cxx_try_compile "$LINENO"; then : 9239 rm -f conftest.$ac_objext 9240 if { (ac_try="$ac_compile" 9241 case "(($ac_try" in 9242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9243 *) ac_try_echo=$ac_try;; 9244 esac 9245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9246 $as_echo "$ac_try_echo") >&5 9247 (eval "$ac_compile") 2>conftest.er1 9248 ac_status=$? 9249 grep -v '^ *+' conftest.er1 >conftest.err 9250 rm -f conftest.er1 9251 cat conftest.err >&5 9252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9253 (exit $ac_status); } && { 9254 test -z "$ac_cxx_werror_flag" || 9255 test ! -s conftest.err 9256 } && test -s conftest.$ac_objext; then 7909 9257 ac_cv_c_bigendian=yes 7910 9258 else 7911 ac_cv_c_bigendian=no 7912 fi 9259 $as_echo "$as_me: failed program was:" >&5 9260 sed 's/^/| /' conftest.$ac_ext >&5 9261 9262 ac_cv_c_bigendian=no 9263 fi 9264 7913 9265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7914 fi 9266 else 9267 $as_echo "$as_me: failed program was:" >&5 9268 sed 's/^/| /' conftest.$ac_ext >&5 9269 9270 9271 fi 9272 7915 9273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7916 9274 fi 7917 9275 if test $ac_cv_c_bigendian = unknown; then 7918 9276 # Compile a test program. 7919 if test "$cross_compiling" = yes; then :9277 if test "$cross_compiling" = yes; then 7920 9278 # Try to guess by grepping values from an object file. 7921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9279 cat >conftest.$ac_ext <<_ACEOF 9280 /* confdefs.h. */ 9281 _ACEOF 9282 cat confdefs.h >>conftest.$ac_ext 9283 cat >>conftest.$ac_ext <<_ACEOF 7922 9284 /* end confdefs.h. */ 7923 9285 short int ascii_mm[] = … … 7945 9307 } 7946 9308 _ACEOF 7947 if ac_fn_cxx_try_compile "$LINENO"; then : 9309 rm -f conftest.$ac_objext 9310 if { (ac_try="$ac_compile" 9311 case "(($ac_try" in 9312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9313 *) ac_try_echo=$ac_try;; 9314 esac 9315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9316 $as_echo "$ac_try_echo") >&5 9317 (eval "$ac_compile") 2>conftest.er1 9318 ac_status=$? 9319 grep -v '^ *+' conftest.er1 >conftest.err 9320 rm -f conftest.er1 9321 cat conftest.err >&5 9322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9323 (exit $ac_status); } && { 9324 test -z "$ac_cxx_werror_flag" || 9325 test ! -s conftest.err 9326 } && test -s conftest.$ac_objext; then 7948 9327 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 7949 9328 ac_cv_c_bigendian=yes … … 7957 9336 fi 7958 9337 fi 7959 fi 9338 else 9339 $as_echo "$as_me: failed program was:" >&5 9340 sed 's/^/| /' conftest.$ac_ext >&5 9341 9342 9343 fi 9344 7960 9345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7961 9346 else 7962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9347 cat >conftest.$ac_ext <<_ACEOF 9348 /* confdefs.h. */ 9349 _ACEOF 9350 cat confdefs.h >>conftest.$ac_ext 9351 cat >>conftest.$ac_ext <<_ACEOF 7963 9352 /* end confdefs.h. */ 7964 9353 $ac_includes_default … … 7980 9369 } 7981 9370 _ACEOF 7982 if ac_fn_cxx_try_run "$LINENO"; then : 9371 rm -f conftest$ac_exeext 9372 if { (ac_try="$ac_link" 9373 case "(($ac_try" in 9374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9375 *) ac_try_echo=$ac_try;; 9376 esac 9377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9378 $as_echo "$ac_try_echo") >&5 9379 (eval "$ac_link") 2>&5 9380 ac_status=$? 9381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9383 { (case "(($ac_try" in 9384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9385 *) ac_try_echo=$ac_try;; 9386 esac 9387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9388 $as_echo "$ac_try_echo") >&5 9389 (eval "$ac_try") 2>&5 9390 ac_status=$? 9391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9392 (exit $ac_status); }; }; then 7983 9393 ac_cv_c_bigendian=no 7984 9394 else 7985 ac_cv_c_bigendian=yes 7986 fi 7987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7988 conftest.$ac_objext conftest.beam conftest.$ac_ext 7989 fi 9395 $as_echo "$as_me: program exited with status $ac_status" >&5 9396 $as_echo "$as_me: failed program was:" >&5 9397 sed 's/^/| /' conftest.$ac_ext >&5 9398 9399 ( exit $ac_status ) 9400 ac_cv_c_bigendian=yes 9401 fi 9402 rm -rf conftest.dSYM 9403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9404 fi 9405 7990 9406 7991 9407 fi 7992 9408 fi 7993 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&59409 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7994 9410 $as_echo "$ac_cv_c_bigendian" >&6; } 7995 9411 case $ac_cv_c_bigendian in #( 7996 9412 yes) 7997 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9413 cat >>confdefs.h <<\_ACEOF 9414 #define WORDS_BIGENDIAN 1 9415 _ACEOF 7998 9416 ;; #( 7999 9417 no) … … 8001 9419 universal) 8002 9420 8003 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9421 cat >>confdefs.h <<\_ACEOF 9422 #define AC_APPLE_UNIVERSAL_BUILD 1 9423 _ACEOF 8004 9424 8005 9425 ;; #( 8006 9426 *) 8007 as_fn_error $? "unknown endianness 8008 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9427 { { $as_echo "$as_me:$LINENO: error: unknown endianness 9428 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 9429 $as_echo "$as_me: error: unknown endianness 9430 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 9431 { (exit 1); exit 1; }; } ;; 8009 9432 esac 8010 9433 … … 8013 9436 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8014 9437 # This bug is HP SR number 8606223364. 8015 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of int" >&59438 { $as_echo "$as_me:$LINENO: checking size of int" >&5 8016 9439 $as_echo_n "checking size of int... " >&6; } 8017 if ${ac_cv_sizeof_int+:} false; then :9440 if test "${ac_cv_sizeof_int+set}" = set; then 8018 9441 $as_echo_n "(cached) " >&6 8019 9442 else 8020 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 8021 8022 else 8023 if test "$ac_cv_type_int" = yes; then 8024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9443 if test "$cross_compiling" = yes; then 9444 # Depending upon the size, compute the lo and hi bounds. 9445 cat >conftest.$ac_ext <<_ACEOF 9446 /* confdefs.h. */ 9447 _ACEOF 9448 cat confdefs.h >>conftest.$ac_ext 9449 cat >>conftest.$ac_ext <<_ACEOF 9450 /* end confdefs.h. */ 9451 $ac_includes_default 9452 int 9453 main () 9454 { 9455 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)]; 9456 test_array [0] = 0 9457 9458 ; 9459 return 0; 9460 } 9461 _ACEOF 9462 rm -f conftest.$ac_objext 9463 if { (ac_try="$ac_compile" 9464 case "(($ac_try" in 9465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9466 *) ac_try_echo=$ac_try;; 9467 esac 9468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9469 $as_echo "$ac_try_echo") >&5 9470 (eval "$ac_compile") 2>conftest.er1 9471 ac_status=$? 9472 grep -v '^ *+' conftest.er1 >conftest.err 9473 rm -f conftest.er1 9474 cat conftest.err >&5 9475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9476 (exit $ac_status); } && { 9477 test -z "$ac_cxx_werror_flag" || 9478 test ! -s conftest.err 9479 } && test -s conftest.$ac_objext; then 9480 ac_lo=0 ac_mid=0 9481 while :; do 9482 cat >conftest.$ac_ext <<_ACEOF 9483 /* confdefs.h. */ 9484 _ACEOF 9485 cat confdefs.h >>conftest.$ac_ext 9486 cat >>conftest.$ac_ext <<_ACEOF 9487 /* end confdefs.h. */ 9488 $ac_includes_default 9489 int 9490 main () 9491 { 9492 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9493 test_array [0] = 0 9494 9495 ; 9496 return 0; 9497 } 9498 _ACEOF 9499 rm -f conftest.$ac_objext 9500 if { (ac_try="$ac_compile" 9501 case "(($ac_try" in 9502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9503 *) ac_try_echo=$ac_try;; 9504 esac 9505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9506 $as_echo "$ac_try_echo") >&5 9507 (eval "$ac_compile") 2>conftest.er1 9508 ac_status=$? 9509 grep -v '^ *+' conftest.er1 >conftest.err 9510 rm -f conftest.er1 9511 cat conftest.err >&5 9512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9513 (exit $ac_status); } && { 9514 test -z "$ac_cxx_werror_flag" || 9515 test ! -s conftest.err 9516 } && test -s conftest.$ac_objext; then 9517 ac_hi=$ac_mid; break 9518 else 9519 $as_echo "$as_me: failed program was:" >&5 9520 sed 's/^/| /' conftest.$ac_ext >&5 9521 9522 ac_lo=`expr $ac_mid + 1` 9523 if test $ac_lo -le $ac_mid; then 9524 ac_lo= ac_hi= 9525 break 9526 fi 9527 ac_mid=`expr 2 '*' $ac_mid + 1` 9528 fi 9529 9530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9531 done 9532 else 9533 $as_echo "$as_me: failed program was:" >&5 9534 sed 's/^/| /' conftest.$ac_ext >&5 9535 9536 cat >conftest.$ac_ext <<_ACEOF 9537 /* confdefs.h. */ 9538 _ACEOF 9539 cat confdefs.h >>conftest.$ac_ext 9540 cat >>conftest.$ac_ext <<_ACEOF 9541 /* end confdefs.h. */ 9542 $ac_includes_default 9543 int 9544 main () 9545 { 9546 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)]; 9547 test_array [0] = 0 9548 9549 ; 9550 return 0; 9551 } 9552 _ACEOF 9553 rm -f conftest.$ac_objext 9554 if { (ac_try="$ac_compile" 9555 case "(($ac_try" in 9556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9557 *) ac_try_echo=$ac_try;; 9558 esac 9559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9560 $as_echo "$ac_try_echo") >&5 9561 (eval "$ac_compile") 2>conftest.er1 9562 ac_status=$? 9563 grep -v '^ *+' conftest.er1 >conftest.err 9564 rm -f conftest.er1 9565 cat conftest.err >&5 9566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9567 (exit $ac_status); } && { 9568 test -z "$ac_cxx_werror_flag" || 9569 test ! -s conftest.err 9570 } && test -s conftest.$ac_objext; then 9571 ac_hi=-1 ac_mid=-1 9572 while :; do 9573 cat >conftest.$ac_ext <<_ACEOF 9574 /* confdefs.h. */ 9575 _ACEOF 9576 cat confdefs.h >>conftest.$ac_ext 9577 cat >>conftest.$ac_ext <<_ACEOF 9578 /* end confdefs.h. */ 9579 $ac_includes_default 9580 int 9581 main () 9582 { 9583 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)]; 9584 test_array [0] = 0 9585 9586 ; 9587 return 0; 9588 } 9589 _ACEOF 9590 rm -f conftest.$ac_objext 9591 if { (ac_try="$ac_compile" 9592 case "(($ac_try" in 9593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9594 *) ac_try_echo=$ac_try;; 9595 esac 9596 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9597 $as_echo "$ac_try_echo") >&5 9598 (eval "$ac_compile") 2>conftest.er1 9599 ac_status=$? 9600 grep -v '^ *+' conftest.er1 >conftest.err 9601 rm -f conftest.er1 9602 cat conftest.err >&5 9603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9604 (exit $ac_status); } && { 9605 test -z "$ac_cxx_werror_flag" || 9606 test ! -s conftest.err 9607 } && test -s conftest.$ac_objext; then 9608 ac_lo=$ac_mid; break 9609 else 9610 $as_echo "$as_me: failed program was:" >&5 9611 sed 's/^/| /' conftest.$ac_ext >&5 9612 9613 ac_hi=`expr '(' $ac_mid ')' - 1` 9614 if test $ac_mid -le $ac_hi; then 9615 ac_lo= ac_hi= 9616 break 9617 fi 9618 ac_mid=`expr 2 '*' $ac_mid` 9619 fi 9620 9621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9622 done 9623 else 9624 $as_echo "$as_me: failed program was:" >&5 9625 sed 's/^/| /' conftest.$ac_ext >&5 9626 9627 ac_lo= ac_hi= 9628 fi 9629 9630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9631 fi 9632 9633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9634 # Binary search between lo and hi bounds. 9635 while test "x$ac_lo" != "x$ac_hi"; do 9636 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 9637 cat >conftest.$ac_ext <<_ACEOF 9638 /* confdefs.h. */ 9639 _ACEOF 9640 cat confdefs.h >>conftest.$ac_ext 9641 cat >>conftest.$ac_ext <<_ACEOF 9642 /* end confdefs.h. */ 9643 $ac_includes_default 9644 int 9645 main () 9646 { 9647 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9648 test_array [0] = 0 9649 9650 ; 9651 return 0; 9652 } 9653 _ACEOF 9654 rm -f conftest.$ac_objext 9655 if { (ac_try="$ac_compile" 9656 case "(($ac_try" in 9657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9658 *) ac_try_echo=$ac_try;; 9659 esac 9660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9661 $as_echo "$ac_try_echo") >&5 9662 (eval "$ac_compile") 2>conftest.er1 9663 ac_status=$? 9664 grep -v '^ *+' conftest.er1 >conftest.err 9665 rm -f conftest.er1 9666 cat conftest.err >&5 9667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9668 (exit $ac_status); } && { 9669 test -z "$ac_cxx_werror_flag" || 9670 test ! -s conftest.err 9671 } && test -s conftest.$ac_objext; then 9672 ac_hi=$ac_mid 9673 else 9674 $as_echo "$as_me: failed program was:" >&5 9675 sed 's/^/| /' conftest.$ac_ext >&5 9676 9677 ac_lo=`expr '(' $ac_mid ')' + 1` 9678 fi 9679 9680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9681 done 9682 case $ac_lo in 9683 ?*) ac_cv_sizeof_int=$ac_lo;; 9684 '') if test "$ac_cv_type_int" = yes; then 9685 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8025 9686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8026 as_fn_error 77 "cannot compute sizeof (int) 8027 See \`config.log' for more details" "$LINENO" 5; } 9687 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9688 See \`config.log' for more details." >&5 9689 $as_echo "$as_me: error: cannot compute sizeof (int) 9690 See \`config.log' for more details." >&2;} 9691 { (exit 77); exit 77; }; }; } 9692 else 9693 ac_cv_sizeof_int=0 9694 fi ;; 9695 esac 9696 else 9697 cat >conftest.$ac_ext <<_ACEOF 9698 /* confdefs.h. */ 9699 _ACEOF 9700 cat confdefs.h >>conftest.$ac_ext 9701 cat >>conftest.$ac_ext <<_ACEOF 9702 /* end confdefs.h. */ 9703 $ac_includes_default 9704 static long int longval () { return (long int) (sizeof (int)); } 9705 static unsigned long int ulongval () { return (long int) (sizeof (int)); } 9706 #include <stdio.h> 9707 #include <stdlib.h> 9708 int 9709 main () 9710 { 9711 9712 FILE *f = fopen ("conftest.val", "w"); 9713 if (! f) 9714 return 1; 9715 if (((long int) (sizeof (int))) < 0) 9716 { 9717 long int i = longval (); 9718 if (i != ((long int) (sizeof (int)))) 9719 return 1; 9720 fprintf (f, "%ld", i); 9721 } 9722 else 9723 { 9724 unsigned long int i = ulongval (); 9725 if (i != ((long int) (sizeof (int)))) 9726 return 1; 9727 fprintf (f, "%lu", i); 9728 } 9729 /* Do not output a trailing newline, as this causes \r\n confusion 9730 on some platforms. */ 9731 return ferror (f) || fclose (f) != 0; 9732 9733 ; 9734 return 0; 9735 } 9736 _ACEOF 9737 rm -f conftest$ac_exeext 9738 if { (ac_try="$ac_link" 9739 case "(($ac_try" in 9740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9741 *) ac_try_echo=$ac_try;; 9742 esac 9743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9744 $as_echo "$ac_try_echo") >&5 9745 (eval "$ac_link") 2>&5 9746 ac_status=$? 9747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9749 { (case "(($ac_try" in 9750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9751 *) ac_try_echo=$ac_try;; 9752 esac 9753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9754 $as_echo "$ac_try_echo") >&5 9755 (eval "$ac_try") 2>&5 9756 ac_status=$? 9757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9758 (exit $ac_status); }; }; then 9759 ac_cv_sizeof_int=`cat conftest.val` 9760 else 9761 $as_echo "$as_me: program exited with status $ac_status" >&5 9762 $as_echo "$as_me: failed program was:" >&5 9763 sed 's/^/| /' conftest.$ac_ext >&5 9764 9765 ( exit $ac_status ) 9766 if test "$ac_cv_type_int" = yes; then 9767 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9769 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9770 See \`config.log' for more details." >&5 9771 $as_echo "$as_me: error: cannot compute sizeof (int) 9772 See \`config.log' for more details." >&2;} 9773 { (exit 77); exit 77; }; }; } 8028 9774 else 8029 9775 ac_cv_sizeof_int=0 8030 9776 fi 8031 9777 fi 8032 8033 fi 8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9778 rm -rf conftest.dSYM 9779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9780 fi 9781 rm -f conftest.val 9782 fi 9783 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 8035 9784 $as_echo "$ac_cv_sizeof_int" >&6; } 8036 9785 … … 8046 9795 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8047 9796 # This bug is HP SR number 8606223364. 8048 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of long" >&59797 { $as_echo "$as_me:$LINENO: checking size of long" >&5 8049 9798 $as_echo_n "checking size of long... " >&6; } 8050 if ${ac_cv_sizeof_long+:} false; then :9799 if test "${ac_cv_sizeof_long+set}" = set; then 8051 9800 $as_echo_n "(cached) " >&6 8052 9801 else 8053 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 8054 8055 else 8056 if test "$ac_cv_type_long" = yes; then 8057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9802 if test "$cross_compiling" = yes; then 9803 # Depending upon the size, compute the lo and hi bounds. 9804 cat >conftest.$ac_ext <<_ACEOF 9805 /* confdefs.h. */ 9806 _ACEOF 9807 cat confdefs.h >>conftest.$ac_ext 9808 cat >>conftest.$ac_ext <<_ACEOF 9809 /* end confdefs.h. */ 9810 $ac_includes_default 9811 int 9812 main () 9813 { 9814 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)]; 9815 test_array [0] = 0 9816 9817 ; 9818 return 0; 9819 } 9820 _ACEOF 9821 rm -f conftest.$ac_objext 9822 if { (ac_try="$ac_compile" 9823 case "(($ac_try" in 9824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9825 *) ac_try_echo=$ac_try;; 9826 esac 9827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9828 $as_echo "$ac_try_echo") >&5 9829 (eval "$ac_compile") 2>conftest.er1 9830 ac_status=$? 9831 grep -v '^ *+' conftest.er1 >conftest.err 9832 rm -f conftest.er1 9833 cat conftest.err >&5 9834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9835 (exit $ac_status); } && { 9836 test -z "$ac_cxx_werror_flag" || 9837 test ! -s conftest.err 9838 } && test -s conftest.$ac_objext; then 9839 ac_lo=0 ac_mid=0 9840 while :; do 9841 cat >conftest.$ac_ext <<_ACEOF 9842 /* confdefs.h. */ 9843 _ACEOF 9844 cat confdefs.h >>conftest.$ac_ext 9845 cat >>conftest.$ac_ext <<_ACEOF 9846 /* end confdefs.h. */ 9847 $ac_includes_default 9848 int 9849 main () 9850 { 9851 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 9852 test_array [0] = 0 9853 9854 ; 9855 return 0; 9856 } 9857 _ACEOF 9858 rm -f conftest.$ac_objext 9859 if { (ac_try="$ac_compile" 9860 case "(($ac_try" in 9861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9862 *) ac_try_echo=$ac_try;; 9863 esac 9864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9865 $as_echo "$ac_try_echo") >&5 9866 (eval "$ac_compile") 2>conftest.er1 9867 ac_status=$? 9868 grep -v '^ *+' conftest.er1 >conftest.err 9869 rm -f conftest.er1 9870 cat conftest.err >&5 9871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9872 (exit $ac_status); } && { 9873 test -z "$ac_cxx_werror_flag" || 9874 test ! -s conftest.err 9875 } && test -s conftest.$ac_objext; then 9876 ac_hi=$ac_mid; break 9877 else 9878 $as_echo "$as_me: failed program was:" >&5 9879 sed 's/^/| /' conftest.$ac_ext >&5 9880 9881 ac_lo=`expr $ac_mid + 1` 9882 if test $ac_lo -le $ac_mid; then 9883 ac_lo= ac_hi= 9884 break 9885 fi 9886 ac_mid=`expr 2 '*' $ac_mid + 1` 9887 fi 9888 9889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9890 done 9891 else 9892 $as_echo "$as_me: failed program was:" >&5 9893 sed 's/^/| /' conftest.$ac_ext >&5 9894 9895 cat >conftest.$ac_ext <<_ACEOF 9896 /* confdefs.h. */ 9897 _ACEOF 9898 cat confdefs.h >>conftest.$ac_ext 9899 cat >>conftest.$ac_ext <<_ACEOF 9900 /* end confdefs.h. */ 9901 $ac_includes_default 9902 int 9903 main () 9904 { 9905 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)]; 9906 test_array [0] = 0 9907 9908 ; 9909 return 0; 9910 } 9911 _ACEOF 9912 rm -f conftest.$ac_objext 9913 if { (ac_try="$ac_compile" 9914 case "(($ac_try" in 9915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9916 *) ac_try_echo=$ac_try;; 9917 esac 9918 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9919 $as_echo "$ac_try_echo") >&5 9920 (eval "$ac_compile") 2>conftest.er1 9921 ac_status=$? 9922 grep -v '^ *+' conftest.er1 >conftest.err 9923 rm -f conftest.er1 9924 cat conftest.err >&5 9925 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9926 (exit $ac_status); } && { 9927 test -z "$ac_cxx_werror_flag" || 9928 test ! -s conftest.err 9929 } && test -s conftest.$ac_objext; then 9930 ac_hi=-1 ac_mid=-1 9931 while :; do 9932 cat >conftest.$ac_ext <<_ACEOF 9933 /* confdefs.h. */ 9934 _ACEOF 9935 cat confdefs.h >>conftest.$ac_ext 9936 cat >>conftest.$ac_ext <<_ACEOF 9937 /* end confdefs.h. */ 9938 $ac_includes_default 9939 int 9940 main () 9941 { 9942 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)]; 9943 test_array [0] = 0 9944 9945 ; 9946 return 0; 9947 } 9948 _ACEOF 9949 rm -f conftest.$ac_objext 9950 if { (ac_try="$ac_compile" 9951 case "(($ac_try" in 9952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9953 *) ac_try_echo=$ac_try;; 9954 esac 9955 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9956 $as_echo "$ac_try_echo") >&5 9957 (eval "$ac_compile") 2>conftest.er1 9958 ac_status=$? 9959 grep -v '^ *+' conftest.er1 >conftest.err 9960 rm -f conftest.er1 9961 cat conftest.err >&5 9962 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9963 (exit $ac_status); } && { 9964 test -z "$ac_cxx_werror_flag" || 9965 test ! -s conftest.err 9966 } && test -s conftest.$ac_objext; then 9967 ac_lo=$ac_mid; break 9968 else 9969 $as_echo "$as_me: failed program was:" >&5 9970 sed 's/^/| /' conftest.$ac_ext >&5 9971 9972 ac_hi=`expr '(' $ac_mid ')' - 1` 9973 if test $ac_mid -le $ac_hi; then 9974 ac_lo= ac_hi= 9975 break 9976 fi 9977 ac_mid=`expr 2 '*' $ac_mid` 9978 fi 9979 9980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9981 done 9982 else 9983 $as_echo "$as_me: failed program was:" >&5 9984 sed 's/^/| /' conftest.$ac_ext >&5 9985 9986 ac_lo= ac_hi= 9987 fi 9988 9989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9990 fi 9991 9992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9993 # Binary search between lo and hi bounds. 9994 while test "x$ac_lo" != "x$ac_hi"; do 9995 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 9996 cat >conftest.$ac_ext <<_ACEOF 9997 /* confdefs.h. */ 9998 _ACEOF 9999 cat confdefs.h >>conftest.$ac_ext 10000 cat >>conftest.$ac_ext <<_ACEOF 10001 /* end confdefs.h. */ 10002 $ac_includes_default 10003 int 10004 main () 10005 { 10006 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 10007 test_array [0] = 0 10008 10009 ; 10010 return 0; 10011 } 10012 _ACEOF 10013 rm -f conftest.$ac_objext 10014 if { (ac_try="$ac_compile" 10015 case "(($ac_try" in 10016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10017 *) ac_try_echo=$ac_try;; 10018 esac 10019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10020 $as_echo "$ac_try_echo") >&5 10021 (eval "$ac_compile") 2>conftest.er1 10022 ac_status=$? 10023 grep -v '^ *+' conftest.er1 >conftest.err 10024 rm -f conftest.er1 10025 cat conftest.err >&5 10026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10027 (exit $ac_status); } && { 10028 test -z "$ac_cxx_werror_flag" || 10029 test ! -s conftest.err 10030 } && test -s conftest.$ac_objext; then 10031 ac_hi=$ac_mid 10032 else 10033 $as_echo "$as_me: failed program was:" >&5 10034 sed 's/^/| /' conftest.$ac_ext >&5 10035 10036 ac_lo=`expr '(' $ac_mid ')' + 1` 10037 fi 10038 10039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10040 done 10041 case $ac_lo in 10042 ?*) ac_cv_sizeof_long=$ac_lo;; 10043 '') if test "$ac_cv_type_long" = yes; then 10044 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8058 10045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8059 as_fn_error 77 "cannot compute sizeof (long) 8060 See \`config.log' for more details" "$LINENO" 5; } 10046 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 10047 See \`config.log' for more details." >&5 10048 $as_echo "$as_me: error: cannot compute sizeof (long) 10049 See \`config.log' for more details." >&2;} 10050 { (exit 77); exit 77; }; }; } 10051 else 10052 ac_cv_sizeof_long=0 10053 fi ;; 10054 esac 10055 else 10056 cat >conftest.$ac_ext <<_ACEOF 10057 /* confdefs.h. */ 10058 _ACEOF 10059 cat confdefs.h >>conftest.$ac_ext 10060 cat >>conftest.$ac_ext <<_ACEOF 10061 /* end confdefs.h. */ 10062 $ac_includes_default 10063 static long int longval () { return (long int) (sizeof (long)); } 10064 static unsigned long int ulongval () { return (long int) (sizeof (long)); } 10065 #include <stdio.h> 10066 #include <stdlib.h> 10067 int 10068 main () 10069 { 10070 10071 FILE *f = fopen ("conftest.val", "w"); 10072 if (! f) 10073 return 1; 10074 if (((long int) (sizeof (long))) < 0) 10075 { 10076 long int i = longval (); 10077 if (i != ((long int) (sizeof (long)))) 10078 return 1; 10079 fprintf (f, "%ld", i); 10080 } 10081 else 10082 { 10083 unsigned long int i = ulongval (); 10084 if (i != ((long int) (sizeof (long)))) 10085 return 1; 10086 fprintf (f, "%lu", i); 10087 } 10088 /* Do not output a trailing newline, as this causes \r\n confusion 10089 on some platforms. */ 10090 return ferror (f) || fclose (f) != 0; 10091 10092 ; 10093 return 0; 10094 } 10095 _ACEOF 10096 rm -f conftest$ac_exeext 10097 if { (ac_try="$ac_link" 10098 case "(($ac_try" in 10099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10100 *) ac_try_echo=$ac_try;; 10101 esac 10102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10103 $as_echo "$ac_try_echo") >&5 10104 (eval "$ac_link") 2>&5 10105 ac_status=$? 10106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10107 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10108 { (case "(($ac_try" in 10109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10110 *) ac_try_echo=$ac_try;; 10111 esac 10112 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10113 $as_echo "$ac_try_echo") >&5 10114 (eval "$ac_try") 2>&5 10115 ac_status=$? 10116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10117 (exit $ac_status); }; }; then 10118 ac_cv_sizeof_long=`cat conftest.val` 10119 else 10120 $as_echo "$as_me: program exited with status $ac_status" >&5 10121 $as_echo "$as_me: failed program was:" >&5 10122 sed 's/^/| /' conftest.$ac_ext >&5 10123 10124 ( exit $ac_status ) 10125 if test "$ac_cv_type_long" = yes; then 10126 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10128 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 10129 See \`config.log' for more details." >&5 10130 $as_echo "$as_me: error: cannot compute sizeof (long) 10131 See \`config.log' for more details." >&2;} 10132 { (exit 77); exit 77; }; }; } 8061 10133 else 8062 10134 ac_cv_sizeof_long=0 8063 10135 fi 8064 10136 fi 8065 8066 fi 8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 10137 rm -rf conftest.dSYM 10138 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10139 fi 10140 rm -f conftest.val 10141 fi 10142 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 8068 10143 $as_echo "$ac_cv_sizeof_long" >&6; } 8069 10144 … … 8079 10154 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8080 10155 # This bug is HP SR number 8606223364. 8081 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of long long" >&510156 { $as_echo "$as_me:$LINENO: checking size of long long" >&5 8082 10157 $as_echo_n "checking size of long long... " >&6; } 8083 if ${ac_cv_sizeof_long_long+:} false; then :10158 if test "${ac_cv_sizeof_long_long+set}" = set; then 8084 10159 $as_echo_n "(cached) " >&6 8085 10160 else 8086 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 8087 8088 else 8089 if test "$ac_cv_type_long_long" = yes; then 8090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10161 if test "$cross_compiling" = yes; then 10162 # Depending upon the size, compute the lo and hi bounds. 10163 cat >conftest.$ac_ext <<_ACEOF 10164 /* confdefs.h. */ 10165 _ACEOF 10166 cat confdefs.h >>conftest.$ac_ext 10167 cat >>conftest.$ac_ext <<_ACEOF 10168 /* end confdefs.h. */ 10169 $ac_includes_default 10170 int 10171 main () 10172 { 10173 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)]; 10174 test_array [0] = 0 10175 10176 ; 10177 return 0; 10178 } 10179 _ACEOF 10180 rm -f conftest.$ac_objext 10181 if { (ac_try="$ac_compile" 10182 case "(($ac_try" in 10183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10184 *) ac_try_echo=$ac_try;; 10185 esac 10186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10187 $as_echo "$ac_try_echo") >&5 10188 (eval "$ac_compile") 2>conftest.er1 10189 ac_status=$? 10190 grep -v '^ *+' conftest.er1 >conftest.err 10191 rm -f conftest.er1 10192 cat conftest.err >&5 10193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10194 (exit $ac_status); } && { 10195 test -z "$ac_cxx_werror_flag" || 10196 test ! -s conftest.err 10197 } && test -s conftest.$ac_objext; then 10198 ac_lo=0 ac_mid=0 10199 while :; do 10200 cat >conftest.$ac_ext <<_ACEOF 10201 /* confdefs.h. */ 10202 _ACEOF 10203 cat confdefs.h >>conftest.$ac_ext 10204 cat >>conftest.$ac_ext <<_ACEOF 10205 /* end confdefs.h. */ 10206 $ac_includes_default 10207 int 10208 main () 10209 { 10210 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 10211 test_array [0] = 0 10212 10213 ; 10214 return 0; 10215 } 10216 _ACEOF 10217 rm -f conftest.$ac_objext 10218 if { (ac_try="$ac_compile" 10219 case "(($ac_try" in 10220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10221 *) ac_try_echo=$ac_try;; 10222 esac 10223 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10224 $as_echo "$ac_try_echo") >&5 10225 (eval "$ac_compile") 2>conftest.er1 10226 ac_status=$? 10227 grep -v '^ *+' conftest.er1 >conftest.err 10228 rm -f conftest.er1 10229 cat conftest.err >&5 10230 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10231 (exit $ac_status); } && { 10232 test -z "$ac_cxx_werror_flag" || 10233 test ! -s conftest.err 10234 } && test -s conftest.$ac_objext; then 10235 ac_hi=$ac_mid; break 10236 else 10237 $as_echo "$as_me: failed program was:" >&5 10238 sed 's/^/| /' conftest.$ac_ext >&5 10239 10240 ac_lo=`expr $ac_mid + 1` 10241 if test $ac_lo -le $ac_mid; then 10242 ac_lo= ac_hi= 10243 break 10244 fi 10245 ac_mid=`expr 2 '*' $ac_mid + 1` 10246 fi 10247 10248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10249 done 10250 else 10251 $as_echo "$as_me: failed program was:" >&5 10252 sed 's/^/| /' conftest.$ac_ext >&5 10253 10254 cat >conftest.$ac_ext <<_ACEOF 10255 /* confdefs.h. */ 10256 _ACEOF 10257 cat confdefs.h >>conftest.$ac_ext 10258 cat >>conftest.$ac_ext <<_ACEOF 10259 /* end confdefs.h. */ 10260 $ac_includes_default 10261 int 10262 main () 10263 { 10264 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)]; 10265 test_array [0] = 0 10266 10267 ; 10268 return 0; 10269 } 10270 _ACEOF 10271 rm -f conftest.$ac_objext 10272 if { (ac_try="$ac_compile" 10273 case "(($ac_try" in 10274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10275 *) ac_try_echo=$ac_try;; 10276 esac 10277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10278 $as_echo "$ac_try_echo") >&5 10279 (eval "$ac_compile") 2>conftest.er1 10280 ac_status=$? 10281 grep -v '^ *+' conftest.er1 >conftest.err 10282 rm -f conftest.er1 10283 cat conftest.err >&5 10284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10285 (exit $ac_status); } && { 10286 test -z "$ac_cxx_werror_flag" || 10287 test ! -s conftest.err 10288 } && test -s conftest.$ac_objext; then 10289 ac_hi=-1 ac_mid=-1 10290 while :; do 10291 cat >conftest.$ac_ext <<_ACEOF 10292 /* confdefs.h. */ 10293 _ACEOF 10294 cat confdefs.h >>conftest.$ac_ext 10295 cat >>conftest.$ac_ext <<_ACEOF 10296 /* end confdefs.h. */ 10297 $ac_includes_default 10298 int 10299 main () 10300 { 10301 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)]; 10302 test_array [0] = 0 10303 10304 ; 10305 return 0; 10306 } 10307 _ACEOF 10308 rm -f conftest.$ac_objext 10309 if { (ac_try="$ac_compile" 10310 case "(($ac_try" in 10311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10312 *) ac_try_echo=$ac_try;; 10313 esac 10314 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10315 $as_echo "$ac_try_echo") >&5 10316 (eval "$ac_compile") 2>conftest.er1 10317 ac_status=$? 10318 grep -v '^ *+' conftest.er1 >conftest.err 10319 rm -f conftest.er1 10320 cat conftest.err >&5 10321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10322 (exit $ac_status); } && { 10323 test -z "$ac_cxx_werror_flag" || 10324 test ! -s conftest.err 10325 } && test -s conftest.$ac_objext; then 10326 ac_lo=$ac_mid; break 10327 else 10328 $as_echo "$as_me: failed program was:" >&5 10329 sed 's/^/| /' conftest.$ac_ext >&5 10330 10331 ac_hi=`expr '(' $ac_mid ')' - 1` 10332 if test $ac_mid -le $ac_hi; then 10333 ac_lo= ac_hi= 10334 break 10335 fi 10336 ac_mid=`expr 2 '*' $ac_mid` 10337 fi 10338 10339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10340 done 10341 else 10342 $as_echo "$as_me: failed program was:" >&5 10343 sed 's/^/| /' conftest.$ac_ext >&5 10344 10345 ac_lo= ac_hi= 10346 fi 10347 10348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10349 fi 10350 10351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10352 # Binary search between lo and hi bounds. 10353 while test "x$ac_lo" != "x$ac_hi"; do 10354 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10355 cat >conftest.$ac_ext <<_ACEOF 10356 /* confdefs.h. */ 10357 _ACEOF 10358 cat confdefs.h >>conftest.$ac_ext 10359 cat >>conftest.$ac_ext <<_ACEOF 10360 /* end confdefs.h. */ 10361 $ac_includes_default 10362 int 10363 main () 10364 { 10365 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 10366 test_array [0] = 0 10367 10368 ; 10369 return 0; 10370 } 10371 _ACEOF 10372 rm -f conftest.$ac_objext 10373 if { (ac_try="$ac_compile" 10374 case "(($ac_try" in 10375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10376 *) ac_try_echo=$ac_try;; 10377 esac 10378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10379 $as_echo "$ac_try_echo") >&5 10380 (eval "$ac_compile") 2>conftest.er1 10381 ac_status=$? 10382 grep -v '^ *+' conftest.er1 >conftest.err 10383 rm -f conftest.er1 10384 cat conftest.err >&5 10385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10386 (exit $ac_status); } && { 10387 test -z "$ac_cxx_werror_flag" || 10388 test ! -s conftest.err 10389 } && test -s conftest.$ac_objext; then 10390 ac_hi=$ac_mid 10391 else 10392 $as_echo "$as_me: failed program was:" >&5 10393 sed 's/^/| /' conftest.$ac_ext >&5 10394 10395 ac_lo=`expr '(' $ac_mid ')' + 1` 10396 fi 10397 10398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10399 done 10400 case $ac_lo in 10401 ?*) ac_cv_sizeof_long_long=$ac_lo;; 10402 '') if test "$ac_cv_type_long_long" = yes; then 10403 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8091 10404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8092 as_fn_error 77 "cannot compute sizeof (long long) 8093 See \`config.log' for more details" "$LINENO" 5; } 10405 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10406 See \`config.log' for more details." >&5 10407 $as_echo "$as_me: error: cannot compute sizeof (long long) 10408 See \`config.log' for more details." >&2;} 10409 { (exit 77); exit 77; }; }; } 10410 else 10411 ac_cv_sizeof_long_long=0 10412 fi ;; 10413 esac 10414 else 10415 cat >conftest.$ac_ext <<_ACEOF 10416 /* confdefs.h. */ 10417 _ACEOF 10418 cat confdefs.h >>conftest.$ac_ext 10419 cat >>conftest.$ac_ext <<_ACEOF 10420 /* end confdefs.h. */ 10421 $ac_includes_default 10422 static long int longval () { return (long int) (sizeof (long long)); } 10423 static unsigned long int ulongval () { return (long int) (sizeof (long long)); } 10424 #include <stdio.h> 10425 #include <stdlib.h> 10426 int 10427 main () 10428 { 10429 10430 FILE *f = fopen ("conftest.val", "w"); 10431 if (! f) 10432 return 1; 10433 if (((long int) (sizeof (long long))) < 0) 10434 { 10435 long int i = longval (); 10436 if (i != ((long int) (sizeof (long long)))) 10437 return 1; 10438 fprintf (f, "%ld", i); 10439 } 10440 else 10441 { 10442 unsigned long int i = ulongval (); 10443 if (i != ((long int) (sizeof (long long)))) 10444 return 1; 10445 fprintf (f, "%lu", i); 10446 } 10447 /* Do not output a trailing newline, as this causes \r\n confusion 10448 on some platforms. */ 10449 return ferror (f) || fclose (f) != 0; 10450 10451 ; 10452 return 0; 10453 } 10454 _ACEOF 10455 rm -f conftest$ac_exeext 10456 if { (ac_try="$ac_link" 10457 case "(($ac_try" in 10458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10459 *) ac_try_echo=$ac_try;; 10460 esac 10461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10462 $as_echo "$ac_try_echo") >&5 10463 (eval "$ac_link") 2>&5 10464 ac_status=$? 10465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10466 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10467 { (case "(($ac_try" in 10468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10469 *) ac_try_echo=$ac_try;; 10470 esac 10471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10472 $as_echo "$ac_try_echo") >&5 10473 (eval "$ac_try") 2>&5 10474 ac_status=$? 10475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10476 (exit $ac_status); }; }; then 10477 ac_cv_sizeof_long_long=`cat conftest.val` 10478 else 10479 $as_echo "$as_me: program exited with status $ac_status" >&5 10480 $as_echo "$as_me: failed program was:" >&5 10481 sed 's/^/| /' conftest.$ac_ext >&5 10482 10483 ( exit $ac_status ) 10484 if test "$ac_cv_type_long_long" = yes; then 10485 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10487 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10488 See \`config.log' for more details." >&5 10489 $as_echo "$as_me: error: cannot compute sizeof (long long) 10490 See \`config.log' for more details." >&2;} 10491 { (exit 77); exit 77; }; }; } 8094 10492 else 8095 10493 ac_cv_sizeof_long_long=0 8096 10494 fi 8097 10495 fi 8098 8099 fi 8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 10496 rm -rf conftest.dSYM 10497 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10498 fi 10499 rm -f conftest.val 10500 fi 10501 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 8101 10502 $as_echo "$ac_cv_sizeof_long_long" >&6; } 8102 10503 … … 8112 10513 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8113 10514 # This bug is HP SR number 8606223364. 8114 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of void *" >&510515 { $as_echo "$as_me:$LINENO: checking size of void *" >&5 8115 10516 $as_echo_n "checking size of void *... " >&6; } 8116 if ${ac_cv_sizeof_void_p+:} false; then :10517 if test "${ac_cv_sizeof_void_p+set}" = set; then 8117 10518 $as_echo_n "(cached) " >&6 8118 10519 else 8119 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 8120 8121 else 8122 if test "$ac_cv_type_void_p" = yes; then 8123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10520 if test "$cross_compiling" = yes; then 10521 # Depending upon the size, compute the lo and hi bounds. 10522 cat >conftest.$ac_ext <<_ACEOF 10523 /* confdefs.h. */ 10524 _ACEOF 10525 cat confdefs.h >>conftest.$ac_ext 10526 cat >>conftest.$ac_ext <<_ACEOF 10527 /* end confdefs.h. */ 10528 $ac_includes_default 10529 int 10530 main () 10531 { 10532 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)]; 10533 test_array [0] = 0 10534 10535 ; 10536 return 0; 10537 } 10538 _ACEOF 10539 rm -f conftest.$ac_objext 10540 if { (ac_try="$ac_compile" 10541 case "(($ac_try" in 10542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10543 *) ac_try_echo=$ac_try;; 10544 esac 10545 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10546 $as_echo "$ac_try_echo") >&5 10547 (eval "$ac_compile") 2>conftest.er1 10548 ac_status=$? 10549 grep -v '^ *+' conftest.er1 >conftest.err 10550 rm -f conftest.er1 10551 cat conftest.err >&5 10552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10553 (exit $ac_status); } && { 10554 test -z "$ac_cxx_werror_flag" || 10555 test ! -s conftest.err 10556 } && test -s conftest.$ac_objext; then 10557 ac_lo=0 ac_mid=0 10558 while :; do 10559 cat >conftest.$ac_ext <<_ACEOF 10560 /* confdefs.h. */ 10561 _ACEOF 10562 cat confdefs.h >>conftest.$ac_ext 10563 cat >>conftest.$ac_ext <<_ACEOF 10564 /* end confdefs.h. */ 10565 $ac_includes_default 10566 int 10567 main () 10568 { 10569 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10570 test_array [0] = 0 10571 10572 ; 10573 return 0; 10574 } 10575 _ACEOF 10576 rm -f conftest.$ac_objext 10577 if { (ac_try="$ac_compile" 10578 case "(($ac_try" in 10579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10580 *) ac_try_echo=$ac_try;; 10581 esac 10582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10583 $as_echo "$ac_try_echo") >&5 10584 (eval "$ac_compile") 2>conftest.er1 10585 ac_status=$? 10586 grep -v '^ *+' conftest.er1 >conftest.err 10587 rm -f conftest.er1 10588 cat conftest.err >&5 10589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10590 (exit $ac_status); } && { 10591 test -z "$ac_cxx_werror_flag" || 10592 test ! -s conftest.err 10593 } && test -s conftest.$ac_objext; then 10594 ac_hi=$ac_mid; break 10595 else 10596 $as_echo "$as_me: failed program was:" >&5 10597 sed 's/^/| /' conftest.$ac_ext >&5 10598 10599 ac_lo=`expr $ac_mid + 1` 10600 if test $ac_lo -le $ac_mid; then 10601 ac_lo= ac_hi= 10602 break 10603 fi 10604 ac_mid=`expr 2 '*' $ac_mid + 1` 10605 fi 10606 10607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10608 done 10609 else 10610 $as_echo "$as_me: failed program was:" >&5 10611 sed 's/^/| /' conftest.$ac_ext >&5 10612 10613 cat >conftest.$ac_ext <<_ACEOF 10614 /* confdefs.h. */ 10615 _ACEOF 10616 cat confdefs.h >>conftest.$ac_ext 10617 cat >>conftest.$ac_ext <<_ACEOF 10618 /* end confdefs.h. */ 10619 $ac_includes_default 10620 int 10621 main () 10622 { 10623 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)]; 10624 test_array [0] = 0 10625 10626 ; 10627 return 0; 10628 } 10629 _ACEOF 10630 rm -f conftest.$ac_objext 10631 if { (ac_try="$ac_compile" 10632 case "(($ac_try" in 10633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10634 *) ac_try_echo=$ac_try;; 10635 esac 10636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10637 $as_echo "$ac_try_echo") >&5 10638 (eval "$ac_compile") 2>conftest.er1 10639 ac_status=$? 10640 grep -v '^ *+' conftest.er1 >conftest.err 10641 rm -f conftest.er1 10642 cat conftest.err >&5 10643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10644 (exit $ac_status); } && { 10645 test -z "$ac_cxx_werror_flag" || 10646 test ! -s conftest.err 10647 } && test -s conftest.$ac_objext; then 10648 ac_hi=-1 ac_mid=-1 10649 while :; do 10650 cat >conftest.$ac_ext <<_ACEOF 10651 /* confdefs.h. */ 10652 _ACEOF 10653 cat confdefs.h >>conftest.$ac_ext 10654 cat >>conftest.$ac_ext <<_ACEOF 10655 /* end confdefs.h. */ 10656 $ac_includes_default 10657 int 10658 main () 10659 { 10660 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)]; 10661 test_array [0] = 0 10662 10663 ; 10664 return 0; 10665 } 10666 _ACEOF 10667 rm -f conftest.$ac_objext 10668 if { (ac_try="$ac_compile" 10669 case "(($ac_try" in 10670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10671 *) ac_try_echo=$ac_try;; 10672 esac 10673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10674 $as_echo "$ac_try_echo") >&5 10675 (eval "$ac_compile") 2>conftest.er1 10676 ac_status=$? 10677 grep -v '^ *+' conftest.er1 >conftest.err 10678 rm -f conftest.er1 10679 cat conftest.err >&5 10680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10681 (exit $ac_status); } && { 10682 test -z "$ac_cxx_werror_flag" || 10683 test ! -s conftest.err 10684 } && test -s conftest.$ac_objext; then 10685 ac_lo=$ac_mid; break 10686 else 10687 $as_echo "$as_me: failed program was:" >&5 10688 sed 's/^/| /' conftest.$ac_ext >&5 10689 10690 ac_hi=`expr '(' $ac_mid ')' - 1` 10691 if test $ac_mid -le $ac_hi; then 10692 ac_lo= ac_hi= 10693 break 10694 fi 10695 ac_mid=`expr 2 '*' $ac_mid` 10696 fi 10697 10698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10699 done 10700 else 10701 $as_echo "$as_me: failed program was:" >&5 10702 sed 's/^/| /' conftest.$ac_ext >&5 10703 10704 ac_lo= ac_hi= 10705 fi 10706 10707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10708 fi 10709 10710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10711 # Binary search between lo and hi bounds. 10712 while test "x$ac_lo" != "x$ac_hi"; do 10713 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10714 cat >conftest.$ac_ext <<_ACEOF 10715 /* confdefs.h. */ 10716 _ACEOF 10717 cat confdefs.h >>conftest.$ac_ext 10718 cat >>conftest.$ac_ext <<_ACEOF 10719 /* end confdefs.h. */ 10720 $ac_includes_default 10721 int 10722 main () 10723 { 10724 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10725 test_array [0] = 0 10726 10727 ; 10728 return 0; 10729 } 10730 _ACEOF 10731 rm -f conftest.$ac_objext 10732 if { (ac_try="$ac_compile" 10733 case "(($ac_try" in 10734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10735 *) ac_try_echo=$ac_try;; 10736 esac 10737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10738 $as_echo "$ac_try_echo") >&5 10739 (eval "$ac_compile") 2>conftest.er1 10740 ac_status=$? 10741 grep -v '^ *+' conftest.er1 >conftest.err 10742 rm -f conftest.er1 10743 cat conftest.err >&5 10744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10745 (exit $ac_status); } && { 10746 test -z "$ac_cxx_werror_flag" || 10747 test ! -s conftest.err 10748 } && test -s conftest.$ac_objext; then 10749 ac_hi=$ac_mid 10750 else 10751 $as_echo "$as_me: failed program was:" >&5 10752 sed 's/^/| /' conftest.$ac_ext >&5 10753 10754 ac_lo=`expr '(' $ac_mid ')' + 1` 10755 fi 10756 10757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10758 done 10759 case $ac_lo in 10760 ?*) ac_cv_sizeof_void_p=$ac_lo;; 10761 '') if test "$ac_cv_type_void_p" = yes; then 10762 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8124 10763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8125 as_fn_error 77 "cannot compute sizeof (void *) 8126 See \`config.log' for more details" "$LINENO" 5; } 10764 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10765 See \`config.log' for more details." >&5 10766 $as_echo "$as_me: error: cannot compute sizeof (void *) 10767 See \`config.log' for more details." >&2;} 10768 { (exit 77); exit 77; }; }; } 10769 else 10770 ac_cv_sizeof_void_p=0 10771 fi ;; 10772 esac 10773 else 10774 cat >conftest.$ac_ext <<_ACEOF 10775 /* confdefs.h. */ 10776 _ACEOF 10777 cat confdefs.h >>conftest.$ac_ext 10778 cat >>conftest.$ac_ext <<_ACEOF 10779 /* end confdefs.h. */ 10780 $ac_includes_default 10781 static long int longval () { return (long int) (sizeof (void *)); } 10782 static unsigned long int ulongval () { return (long int) (sizeof (void *)); } 10783 #include <stdio.h> 10784 #include <stdlib.h> 10785 int 10786 main () 10787 { 10788 10789 FILE *f = fopen ("conftest.val", "w"); 10790 if (! f) 10791 return 1; 10792 if (((long int) (sizeof (void *))) < 0) 10793 { 10794 long int i = longval (); 10795 if (i != ((long int) (sizeof (void *)))) 10796 return 1; 10797 fprintf (f, "%ld", i); 10798 } 10799 else 10800 { 10801 unsigned long int i = ulongval (); 10802 if (i != ((long int) (sizeof (void *)))) 10803 return 1; 10804 fprintf (f, "%lu", i); 10805 } 10806 /* Do not output a trailing newline, as this causes \r\n confusion 10807 on some platforms. */ 10808 return ferror (f) || fclose (f) != 0; 10809 10810 ; 10811 return 0; 10812 } 10813 _ACEOF 10814 rm -f conftest$ac_exeext 10815 if { (ac_try="$ac_link" 10816 case "(($ac_try" in 10817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10818 *) ac_try_echo=$ac_try;; 10819 esac 10820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10821 $as_echo "$ac_try_echo") >&5 10822 (eval "$ac_link") 2>&5 10823 ac_status=$? 10824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10825 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10826 { (case "(($ac_try" in 10827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10828 *) ac_try_echo=$ac_try;; 10829 esac 10830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10831 $as_echo "$ac_try_echo") >&5 10832 (eval "$ac_try") 2>&5 10833 ac_status=$? 10834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10835 (exit $ac_status); }; }; then 10836 ac_cv_sizeof_void_p=`cat conftest.val` 10837 else 10838 $as_echo "$as_me: program exited with status $ac_status" >&5 10839 $as_echo "$as_me: failed program was:" >&5 10840 sed 's/^/| /' conftest.$ac_ext >&5 10841 10842 ( exit $ac_status ) 10843 if test "$ac_cv_type_void_p" = yes; then 10844 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10846 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10847 See \`config.log' for more details." >&5 10848 $as_echo "$as_me: error: cannot compute sizeof (void *) 10849 See \`config.log' for more details." >&2;} 10850 { (exit 77); exit 77; }; }; } 8127 10851 else 8128 10852 ac_cv_sizeof_void_p=0 8129 10853 fi 8130 10854 fi 8131 8132 fi 8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 10855 rm -rf conftest.dSYM 10856 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10857 fi 10858 rm -f conftest.val 10859 fi 10860 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 8134 10861 $as_echo "$ac_cv_sizeof_void_p" >&6; } 8135 10862 … … 8145 10872 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8146 10873 # This bug is HP SR number 8606223364. 8147 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of float" >&510874 { $as_echo "$as_me:$LINENO: checking size of float" >&5 8148 10875 $as_echo_n "checking size of float... " >&6; } 8149 if ${ac_cv_sizeof_float+:} false; then :10876 if test "${ac_cv_sizeof_float+set}" = set; then 8150 10877 $as_echo_n "(cached) " >&6 8151 10878 else 8152 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then : 8153 8154 else 8155 if test "$ac_cv_type_float" = yes; then 8156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10879 if test "$cross_compiling" = yes; then 10880 # Depending upon the size, compute the lo and hi bounds. 10881 cat >conftest.$ac_ext <<_ACEOF 10882 /* confdefs.h. */ 10883 _ACEOF 10884 cat confdefs.h >>conftest.$ac_ext 10885 cat >>conftest.$ac_ext <<_ACEOF 10886 /* end confdefs.h. */ 10887 $ac_includes_default 10888 int 10889 main () 10890 { 10891 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)]; 10892 test_array [0] = 0 10893 10894 ; 10895 return 0; 10896 } 10897 _ACEOF 10898 rm -f conftest.$ac_objext 10899 if { (ac_try="$ac_compile" 10900 case "(($ac_try" in 10901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10902 *) ac_try_echo=$ac_try;; 10903 esac 10904 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10905 $as_echo "$ac_try_echo") >&5 10906 (eval "$ac_compile") 2>conftest.er1 10907 ac_status=$? 10908 grep -v '^ *+' conftest.er1 >conftest.err 10909 rm -f conftest.er1 10910 cat conftest.err >&5 10911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10912 (exit $ac_status); } && { 10913 test -z "$ac_cxx_werror_flag" || 10914 test ! -s conftest.err 10915 } && test -s conftest.$ac_objext; then 10916 ac_lo=0 ac_mid=0 10917 while :; do 10918 cat >conftest.$ac_ext <<_ACEOF 10919 /* confdefs.h. */ 10920 _ACEOF 10921 cat confdefs.h >>conftest.$ac_ext 10922 cat >>conftest.$ac_ext <<_ACEOF 10923 /* end confdefs.h. */ 10924 $ac_includes_default 10925 int 10926 main () 10927 { 10928 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 10929 test_array [0] = 0 10930 10931 ; 10932 return 0; 10933 } 10934 _ACEOF 10935 rm -f conftest.$ac_objext 10936 if { (ac_try="$ac_compile" 10937 case "(($ac_try" in 10938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10939 *) ac_try_echo=$ac_try;; 10940 esac 10941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10942 $as_echo "$ac_try_echo") >&5 10943 (eval "$ac_compile") 2>conftest.er1 10944 ac_status=$? 10945 grep -v '^ *+' conftest.er1 >conftest.err 10946 rm -f conftest.er1 10947 cat conftest.err >&5 10948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10949 (exit $ac_status); } && { 10950 test -z "$ac_cxx_werror_flag" || 10951 test ! -s conftest.err 10952 } && test -s conftest.$ac_objext; then 10953 ac_hi=$ac_mid; break 10954 else 10955 $as_echo "$as_me: failed program was:" >&5 10956 sed 's/^/| /' conftest.$ac_ext >&5 10957 10958 ac_lo=`expr $ac_mid + 1` 10959 if test $ac_lo -le $ac_mid; then 10960 ac_lo= ac_hi= 10961 break 10962 fi 10963 ac_mid=`expr 2 '*' $ac_mid + 1` 10964 fi 10965 10966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10967 done 10968 else 10969 $as_echo "$as_me: failed program was:" >&5 10970 sed 's/^/| /' conftest.$ac_ext >&5 10971 10972 cat >conftest.$ac_ext <<_ACEOF 10973 /* confdefs.h. */ 10974 _ACEOF 10975 cat confdefs.h >>conftest.$ac_ext 10976 cat >>conftest.$ac_ext <<_ACEOF 10977 /* end confdefs.h. */ 10978 $ac_includes_default 10979 int 10980 main () 10981 { 10982 static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)]; 10983 test_array [0] = 0 10984 10985 ; 10986 return 0; 10987 } 10988 _ACEOF 10989 rm -f conftest.$ac_objext 10990 if { (ac_try="$ac_compile" 10991 case "(($ac_try" in 10992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10993 *) ac_try_echo=$ac_try;; 10994 esac 10995 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10996 $as_echo "$ac_try_echo") >&5 10997 (eval "$ac_compile") 2>conftest.er1 10998 ac_status=$? 10999 grep -v '^ *+' conftest.er1 >conftest.err 11000 rm -f conftest.er1 11001 cat conftest.err >&5 11002 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11003 (exit $ac_status); } && { 11004 test -z "$ac_cxx_werror_flag" || 11005 test ! -s conftest.err 11006 } && test -s conftest.$ac_objext; then 11007 ac_hi=-1 ac_mid=-1 11008 while :; do 11009 cat >conftest.$ac_ext <<_ACEOF 11010 /* confdefs.h. */ 11011 _ACEOF 11012 cat confdefs.h >>conftest.$ac_ext 11013 cat >>conftest.$ac_ext <<_ACEOF 11014 /* end confdefs.h. */ 11015 $ac_includes_default 11016 int 11017 main () 11018 { 11019 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)]; 11020 test_array [0] = 0 11021 11022 ; 11023 return 0; 11024 } 11025 _ACEOF 11026 rm -f conftest.$ac_objext 11027 if { (ac_try="$ac_compile" 11028 case "(($ac_try" in 11029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11030 *) ac_try_echo=$ac_try;; 11031 esac 11032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11033 $as_echo "$ac_try_echo") >&5 11034 (eval "$ac_compile") 2>conftest.er1 11035 ac_status=$? 11036 grep -v '^ *+' conftest.er1 >conftest.err 11037 rm -f conftest.er1 11038 cat conftest.err >&5 11039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11040 (exit $ac_status); } && { 11041 test -z "$ac_cxx_werror_flag" || 11042 test ! -s conftest.err 11043 } && test -s conftest.$ac_objext; then 11044 ac_lo=$ac_mid; break 11045 else 11046 $as_echo "$as_me: failed program was:" >&5 11047 sed 's/^/| /' conftest.$ac_ext >&5 11048 11049 ac_hi=`expr '(' $ac_mid ')' - 1` 11050 if test $ac_mid -le $ac_hi; then 11051 ac_lo= ac_hi= 11052 break 11053 fi 11054 ac_mid=`expr 2 '*' $ac_mid` 11055 fi 11056 11057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11058 done 11059 else 11060 $as_echo "$as_me: failed program was:" >&5 11061 sed 's/^/| /' conftest.$ac_ext >&5 11062 11063 ac_lo= ac_hi= 11064 fi 11065 11066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11067 fi 11068 11069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11070 # Binary search between lo and hi bounds. 11071 while test "x$ac_lo" != "x$ac_hi"; do 11072 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 11073 cat >conftest.$ac_ext <<_ACEOF 11074 /* confdefs.h. */ 11075 _ACEOF 11076 cat confdefs.h >>conftest.$ac_ext 11077 cat >>conftest.$ac_ext <<_ACEOF 11078 /* end confdefs.h. */ 11079 $ac_includes_default 11080 int 11081 main () 11082 { 11083 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 11084 test_array [0] = 0 11085 11086 ; 11087 return 0; 11088 } 11089 _ACEOF 11090 rm -f conftest.$ac_objext 11091 if { (ac_try="$ac_compile" 11092 case "(($ac_try" in 11093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11094 *) ac_try_echo=$ac_try;; 11095 esac 11096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11097 $as_echo "$ac_try_echo") >&5 11098 (eval "$ac_compile") 2>conftest.er1 11099 ac_status=$? 11100 grep -v '^ *+' conftest.er1 >conftest.err 11101 rm -f conftest.er1 11102 cat conftest.err >&5 11103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11104 (exit $ac_status); } && { 11105 test -z "$ac_cxx_werror_flag" || 11106 test ! -s conftest.err 11107 } && test -s conftest.$ac_objext; then 11108 ac_hi=$ac_mid 11109 else 11110 $as_echo "$as_me: failed program was:" >&5 11111 sed 's/^/| /' conftest.$ac_ext >&5 11112 11113 ac_lo=`expr '(' $ac_mid ')' + 1` 11114 fi 11115 11116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11117 done 11118 case $ac_lo in 11119 ?*) ac_cv_sizeof_float=$ac_lo;; 11120 '') if test "$ac_cv_type_float" = yes; then 11121 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8157 11122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8158 as_fn_error 77 "cannot compute sizeof (float) 8159 See \`config.log' for more details" "$LINENO" 5; } 11123 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 11124 See \`config.log' for more details." >&5 11125 $as_echo "$as_me: error: cannot compute sizeof (float) 11126 See \`config.log' for more details." >&2;} 11127 { (exit 77); exit 77; }; }; } 11128 else 11129 ac_cv_sizeof_float=0 11130 fi ;; 11131 esac 11132 else 11133 cat >conftest.$ac_ext <<_ACEOF 11134 /* confdefs.h. */ 11135 _ACEOF 11136 cat confdefs.h >>conftest.$ac_ext 11137 cat >>conftest.$ac_ext <<_ACEOF 11138 /* end confdefs.h. */ 11139 $ac_includes_default 11140 static long int longval () { return (long int) (sizeof (float)); } 11141 static unsigned long int ulongval () { return (long int) (sizeof (float)); } 11142 #include <stdio.h> 11143 #include <stdlib.h> 11144 int 11145 main () 11146 { 11147 11148 FILE *f = fopen ("conftest.val", "w"); 11149 if (! f) 11150 return 1; 11151 if (((long int) (sizeof (float))) < 0) 11152 { 11153 long int i = longval (); 11154 if (i != ((long int) (sizeof (float)))) 11155 return 1; 11156 fprintf (f, "%ld", i); 11157 } 11158 else 11159 { 11160 unsigned long int i = ulongval (); 11161 if (i != ((long int) (sizeof (float)))) 11162 return 1; 11163 fprintf (f, "%lu", i); 11164 } 11165 /* Do not output a trailing newline, as this causes \r\n confusion 11166 on some platforms. */ 11167 return ferror (f) || fclose (f) != 0; 11168 11169 ; 11170 return 0; 11171 } 11172 _ACEOF 11173 rm -f conftest$ac_exeext 11174 if { (ac_try="$ac_link" 11175 case "(($ac_try" in 11176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11177 *) ac_try_echo=$ac_try;; 11178 esac 11179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11180 $as_echo "$ac_try_echo") >&5 11181 (eval "$ac_link") 2>&5 11182 ac_status=$? 11183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11185 { (case "(($ac_try" in 11186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11187 *) ac_try_echo=$ac_try;; 11188 esac 11189 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11190 $as_echo "$ac_try_echo") >&5 11191 (eval "$ac_try") 2>&5 11192 ac_status=$? 11193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11194 (exit $ac_status); }; }; then 11195 ac_cv_sizeof_float=`cat conftest.val` 11196 else 11197 $as_echo "$as_me: program exited with status $ac_status" >&5 11198 $as_echo "$as_me: failed program was:" >&5 11199 sed 's/^/| /' conftest.$ac_ext >&5 11200 11201 ( exit $ac_status ) 11202 if test "$ac_cv_type_float" = yes; then 11203 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 11204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11205 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 11206 See \`config.log' for more details." >&5 11207 $as_echo "$as_me: error: cannot compute sizeof (float) 11208 See \`config.log' for more details." >&2;} 11209 { (exit 77); exit 77; }; }; } 8160 11210 else 8161 11211 ac_cv_sizeof_float=0 8162 11212 fi 8163 11213 fi 8164 8165 fi 8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 11214 rm -rf conftest.dSYM 11215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11216 fi 11217 rm -f conftest.val 11218 fi 11219 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5 8167 11220 $as_echo "$ac_cv_sizeof_float" >&6; } 8168 11221 … … 8222 11275 8223 11276 RP_DIR="" 8224 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for rappture" >&511277 { $as_echo "$as_me:$LINENO: checking for rappture" >&5 8225 11278 $as_echo_n "checking for rappture... " >&6; } 8226 11279 if test "$with_rappture" == "yes" ; then … … 8231 11284 RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2" 8232 11285 RP_LIB_DIR="$dir/lib" 8233 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $dir" >&511286 { $as_echo "$as_me:$LINENO: result: $dir" >&5 8234 11287 $as_echo "$dir" >&6; } 8235 11288 break … … 8238 11291 else 8239 11292 if test ! -d "$with_rappture" ; then 8240 as_fn_error $? "--with-rappture: no such directory $with_rappture" "$LINENO" 5 11293 { { $as_echo "$as_me:$LINENO: error: --with-rappture: no such directory $with_rappture" >&5 11294 $as_echo "$as_me: error: --with-rappture: no such directory $with_rappture" >&2;} 11295 { (exit 1); exit 1; }; } 8241 11296 fi 8242 11297 RP_DIR=$with_rappture … … 8245 11300 fi 8246 11301 if test "x${RP_DIR}" = "x" ; then 8247 as_fn_error $? "cannot find rappture.h and librappture2.a, try using --with-rappture" "$LINENO" 5 8248 else 8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_rappture" >&5 11302 { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&5 11303 $as_echo "$as_me: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&2;} 11304 { (exit 1); exit 1; }; } 11305 else 11306 { $as_echo "$as_me:$LINENO: result: $with_rappture" >&5 8250 11307 $as_echo "$with_rappture" >&6; } 8251 11308 fi … … 8278 11335 CPPFLAGS=$VTK_INC_SPEC 8279 11336 11337 8280 11338 for ac_header in vtkSmartPointer.h 8281 do : 8282 ac_fn_cxx_check_header_mongrel "$LINENO" "vtkSmartPointer.h" "ac_cv_header_vtkSmartPointer_h" "$ac_includes_default" 8283 if test "x$ac_cv_header_vtkSmartPointer_h" = xyes; then : 8284 cat >>confdefs.h <<_ACEOF 8285 #define HAVE_VTKSMARTPOINTER_H 1 8286 _ACEOF 8287 8288 else 8289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find vtkSmartPointer.h" >&5 8290 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;} 8291 fi 8292 8293 done 8294 8295 CPPFLAGS=$save_CPPFLAGS 8296 8297 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glui.h" "ac_cv_header_GL_glui_h" "$ac_includes_default" 8298 if test "x$ac_cv_header_GL_glui_h" = xyes; then : 8299 8300 fi 8301 8302 8303 ac_fn_cxx_check_header_mongrel "$LINENO" "glui.h" "ac_cv_header_glui_h" "$ac_includes_default" 8304 if test "x$ac_cv_header_glui_h" = xyes; then : 8305 8306 fi 8307 8308 8309 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default" 8310 if test "x$ac_cv_header_GL_glut_h" = xyes; then : 8311 8312 fi 8313 8314 8315 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default" 8316 if test "x$ac_cv_header_GL_glew_h" = xyes; then : 8317 8318 fi 8319 8320 8321 8322 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 8323 do : 8324 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8325 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8326 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11339 do 11340 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11341 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11342 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11343 $as_echo_n "checking for $ac_header... " >&6; } 11344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11345 $as_echo_n "(cached) " >&6 11346 fi 11347 ac_res=`eval 'as_val=${'$as_ac_Header'} 11348 $as_echo "$as_val"'` 11349 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11350 $as_echo "$ac_res" >&6; } 11351 else 11352 # Is the header compilable? 11353 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11354 $as_echo_n "checking $ac_header usability... " >&6; } 11355 cat >conftest.$ac_ext <<_ACEOF 11356 /* confdefs.h. */ 11357 _ACEOF 11358 cat confdefs.h >>conftest.$ac_ext 11359 cat >>conftest.$ac_ext <<_ACEOF 11360 /* end confdefs.h. */ 11361 $ac_includes_default 11362 #include <$ac_header> 11363 _ACEOF 11364 rm -f conftest.$ac_objext 11365 if { (ac_try="$ac_compile" 11366 case "(($ac_try" in 11367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11368 *) ac_try_echo=$ac_try;; 11369 esac 11370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11371 $as_echo "$ac_try_echo") >&5 11372 (eval "$ac_compile") 2>conftest.er1 11373 ac_status=$? 11374 grep -v '^ *+' conftest.er1 >conftest.err 11375 rm -f conftest.er1 11376 cat conftest.err >&5 11377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11378 (exit $ac_status); } && { 11379 test -z "$ac_cxx_werror_flag" || 11380 test ! -s conftest.err 11381 } && test -s conftest.$ac_objext; then 11382 ac_header_compiler=yes 11383 else 11384 $as_echo "$as_me: failed program was:" >&5 11385 sed 's/^/| /' conftest.$ac_ext >&5 11386 11387 ac_header_compiler=no 11388 fi 11389 11390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11391 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11392 $as_echo "$ac_header_compiler" >&6; } 11393 11394 # Is the header present? 11395 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11396 $as_echo_n "checking $ac_header presence... " >&6; } 11397 cat >conftest.$ac_ext <<_ACEOF 11398 /* confdefs.h. */ 11399 _ACEOF 11400 cat confdefs.h >>conftest.$ac_ext 11401 cat >>conftest.$ac_ext <<_ACEOF 11402 /* end confdefs.h. */ 11403 #include <$ac_header> 11404 _ACEOF 11405 if { (ac_try="$ac_cpp conftest.$ac_ext" 11406 case "(($ac_try" in 11407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11408 *) ac_try_echo=$ac_try;; 11409 esac 11410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11411 $as_echo "$ac_try_echo") >&5 11412 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11413 ac_status=$? 11414 grep -v '^ *+' conftest.er1 >conftest.err 11415 rm -f conftest.er1 11416 cat conftest.err >&5 11417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11418 (exit $ac_status); } >/dev/null && { 11419 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11420 test ! -s conftest.err 11421 }; then 11422 ac_header_preproc=yes 11423 else 11424 $as_echo "$as_me: failed program was:" >&5 11425 sed 's/^/| /' conftest.$ac_ext >&5 11426 11427 ac_header_preproc=no 11428 fi 11429 11430 rm -f conftest.err conftest.$ac_ext 11431 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11432 $as_echo "$ac_header_preproc" >&6; } 11433 11434 # So? What about this header? 11435 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11436 yes:no: ) 11437 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11438 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11439 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11440 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11441 ac_header_preproc=yes 11442 ;; 11443 no:yes:* ) 11444 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11445 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11446 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11447 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11449 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11450 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11451 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11452 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11453 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11455 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11456 ( cat <<\_ASBOX 11457 ## ----------------------------------- ## 11458 ## Report this to rappture@nanohub.org ## 11459 ## ----------------------------------- ## 11460 _ASBOX 11461 ) | sed "s/^/$as_me: WARNING: /" >&2 11462 ;; 11463 esac 11464 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11465 $as_echo_n "checking for $ac_header... " >&6; } 11466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11467 $as_echo_n "(cached) " >&6 11468 else 11469 eval "$as_ac_Header=\$ac_header_preproc" 11470 fi 11471 ac_res=`eval 'as_val=${'$as_ac_Header'} 11472 $as_echo "$as_val"'` 11473 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11474 $as_echo "$ac_res" >&6; } 11475 11476 fi 11477 as_val=`eval 'as_val=${'$as_ac_Header'} 11478 $as_echo "$as_val"'` 11479 if test "x$as_val" = x""yes; then 8327 11480 cat >>confdefs.h <<_ACEOF 8328 11481 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8329 11482 _ACEOF 8330 11483 11484 else 11485 { $as_echo "$as_me:$LINENO: WARNING: cannot find vtkSmartPointer.h" >&5 11486 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;} 8331 11487 fi 8332 11488 8333 11489 done 8334 11490 8335 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 8336 do : 8337 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8338 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8339 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11491 CPPFLAGS=$save_CPPFLAGS 11492 11493 if test "${ac_cv_header_GL_glui_h+set}" = set; then 11494 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 11495 $as_echo_n "checking for GL/glui.h... " >&6; } 11496 if test "${ac_cv_header_GL_glui_h+set}" = set; then 11497 $as_echo_n "(cached) " >&6 11498 fi 11499 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 11500 $as_echo "$ac_cv_header_GL_glui_h" >&6; } 11501 else 11502 # Is the header compilable? 11503 { $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&5 11504 $as_echo_n "checking GL/glui.h usability... " >&6; } 11505 cat >conftest.$ac_ext <<_ACEOF 11506 /* confdefs.h. */ 11507 _ACEOF 11508 cat confdefs.h >>conftest.$ac_ext 11509 cat >>conftest.$ac_ext <<_ACEOF 11510 /* end confdefs.h. */ 11511 $ac_includes_default 11512 #include <GL/glui.h> 11513 _ACEOF 11514 rm -f conftest.$ac_objext 11515 if { (ac_try="$ac_compile" 11516 case "(($ac_try" in 11517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11518 *) ac_try_echo=$ac_try;; 11519 esac 11520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11521 $as_echo "$ac_try_echo") >&5 11522 (eval "$ac_compile") 2>conftest.er1 11523 ac_status=$? 11524 grep -v '^ *+' conftest.er1 >conftest.err 11525 rm -f conftest.er1 11526 cat conftest.err >&5 11527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11528 (exit $ac_status); } && { 11529 test -z "$ac_cxx_werror_flag" || 11530 test ! -s conftest.err 11531 } && test -s conftest.$ac_objext; then 11532 ac_header_compiler=yes 11533 else 11534 $as_echo "$as_me: failed program was:" >&5 11535 sed 's/^/| /' conftest.$ac_ext >&5 11536 11537 ac_header_compiler=no 11538 fi 11539 11540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11541 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11542 $as_echo "$ac_header_compiler" >&6; } 11543 11544 # Is the header present? 11545 { $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&5 11546 $as_echo_n "checking GL/glui.h presence... " >&6; } 11547 cat >conftest.$ac_ext <<_ACEOF 11548 /* confdefs.h. */ 11549 _ACEOF 11550 cat confdefs.h >>conftest.$ac_ext 11551 cat >>conftest.$ac_ext <<_ACEOF 11552 /* end confdefs.h. */ 11553 #include <GL/glui.h> 11554 _ACEOF 11555 if { (ac_try="$ac_cpp conftest.$ac_ext" 11556 case "(($ac_try" in 11557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11558 *) ac_try_echo=$ac_try;; 11559 esac 11560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11561 $as_echo "$ac_try_echo") >&5 11562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11563 ac_status=$? 11564 grep -v '^ *+' conftest.er1 >conftest.err 11565 rm -f conftest.er1 11566 cat conftest.err >&5 11567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11568 (exit $ac_status); } >/dev/null && { 11569 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11570 test ! -s conftest.err 11571 }; then 11572 ac_header_preproc=yes 11573 else 11574 $as_echo "$as_me: failed program was:" >&5 11575 sed 's/^/| /' conftest.$ac_ext >&5 11576 11577 ac_header_preproc=no 11578 fi 11579 11580 rm -f conftest.err conftest.$ac_ext 11581 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11582 $as_echo "$ac_header_preproc" >&6; } 11583 11584 # So? What about this header? 11585 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11586 yes:no: ) 11587 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 11588 $as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11589 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5 11590 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;} 11591 ac_header_preproc=yes 11592 ;; 11593 no:yes:* ) 11594 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5 11595 $as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;} 11596 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: check for missing prerequisite headers?" >&5 11597 $as_echo "$as_me: WARNING: GL/glui.h: check for missing prerequisite headers?" >&2;} 11598 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5 11599 $as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;} 11600 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&5 11601 $as_echo "$as_me: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&2;} 11602 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5 11603 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;} 11604 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5 11605 $as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;} 11606 ( cat <<\_ASBOX 11607 ## ----------------------------------- ## 11608 ## Report this to rappture@nanohub.org ## 11609 ## ----------------------------------- ## 11610 _ASBOX 11611 ) | sed "s/^/$as_me: WARNING: /" >&2 11612 ;; 11613 esac 11614 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 11615 $as_echo_n "checking for GL/glui.h... " >&6; } 11616 if test "${ac_cv_header_GL_glui_h+set}" = set; then 11617 $as_echo_n "(cached) " >&6 11618 else 11619 ac_cv_header_GL_glui_h=$ac_header_preproc 11620 fi 11621 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 11622 $as_echo "$ac_cv_header_GL_glui_h" >&6; } 11623 11624 fi 11625 11626 11627 if test "${ac_cv_header_glui_h+set}" = set; then 11628 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 11629 $as_echo_n "checking for glui.h... " >&6; } 11630 if test "${ac_cv_header_glui_h+set}" = set; then 11631 $as_echo_n "(cached) " >&6 11632 fi 11633 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 11634 $as_echo "$ac_cv_header_glui_h" >&6; } 11635 else 11636 # Is the header compilable? 11637 { $as_echo "$as_me:$LINENO: checking glui.h usability" >&5 11638 $as_echo_n "checking glui.h usability... " >&6; } 11639 cat >conftest.$ac_ext <<_ACEOF 11640 /* confdefs.h. */ 11641 _ACEOF 11642 cat confdefs.h >>conftest.$ac_ext 11643 cat >>conftest.$ac_ext <<_ACEOF 11644 /* end confdefs.h. */ 11645 $ac_includes_default 11646 #include <glui.h> 11647 _ACEOF 11648 rm -f conftest.$ac_objext 11649 if { (ac_try="$ac_compile" 11650 case "(($ac_try" in 11651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11652 *) ac_try_echo=$ac_try;; 11653 esac 11654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11655 $as_echo "$ac_try_echo") >&5 11656 (eval "$ac_compile") 2>conftest.er1 11657 ac_status=$? 11658 grep -v '^ *+' conftest.er1 >conftest.err 11659 rm -f conftest.er1 11660 cat conftest.err >&5 11661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11662 (exit $ac_status); } && { 11663 test -z "$ac_cxx_werror_flag" || 11664 test ! -s conftest.err 11665 } && test -s conftest.$ac_objext; then 11666 ac_header_compiler=yes 11667 else 11668 $as_echo "$as_me: failed program was:" >&5 11669 sed 's/^/| /' conftest.$ac_ext >&5 11670 11671 ac_header_compiler=no 11672 fi 11673 11674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11675 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11676 $as_echo "$ac_header_compiler" >&6; } 11677 11678 # Is the header present? 11679 { $as_echo "$as_me:$LINENO: checking glui.h presence" >&5 11680 $as_echo_n "checking glui.h presence... " >&6; } 11681 cat >conftest.$ac_ext <<_ACEOF 11682 /* confdefs.h. */ 11683 _ACEOF 11684 cat confdefs.h >>conftest.$ac_ext 11685 cat >>conftest.$ac_ext <<_ACEOF 11686 /* end confdefs.h. */ 11687 #include <glui.h> 11688 _ACEOF 11689 if { (ac_try="$ac_cpp conftest.$ac_ext" 11690 case "(($ac_try" in 11691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11692 *) ac_try_echo=$ac_try;; 11693 esac 11694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11695 $as_echo "$ac_try_echo") >&5 11696 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11697 ac_status=$? 11698 grep -v '^ *+' conftest.er1 >conftest.err 11699 rm -f conftest.er1 11700 cat conftest.err >&5 11701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11702 (exit $ac_status); } >/dev/null && { 11703 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11704 test ! -s conftest.err 11705 }; then 11706 ac_header_preproc=yes 11707 else 11708 $as_echo "$as_me: failed program was:" >&5 11709 sed 's/^/| /' conftest.$ac_ext >&5 11710 11711 ac_header_preproc=no 11712 fi 11713 11714 rm -f conftest.err conftest.$ac_ext 11715 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11716 $as_echo "$ac_header_preproc" >&6; } 11717 11718 # So? What about this header? 11719 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11720 yes:no: ) 11721 { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 11722 $as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11723 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5 11724 $as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;} 11725 ac_header_preproc=yes 11726 ;; 11727 no:yes:* ) 11728 { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5 11729 $as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;} 11730 { $as_echo "$as_me:$LINENO: WARNING: glui.h: check for missing prerequisite headers?" >&5 11731 $as_echo "$as_me: WARNING: glui.h: check for missing prerequisite headers?" >&2;} 11732 { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5 11733 $as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;} 11734 { $as_echo "$as_me:$LINENO: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&5 11735 $as_echo "$as_me: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&2;} 11736 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5 11737 $as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;} 11738 { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5 11739 $as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;} 11740 ( cat <<\_ASBOX 11741 ## ----------------------------------- ## 11742 ## Report this to rappture@nanohub.org ## 11743 ## ----------------------------------- ## 11744 _ASBOX 11745 ) | sed "s/^/$as_me: WARNING: /" >&2 11746 ;; 11747 esac 11748 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 11749 $as_echo_n "checking for glui.h... " >&6; } 11750 if test "${ac_cv_header_glui_h+set}" = set; then 11751 $as_echo_n "(cached) " >&6 11752 else 11753 ac_cv_header_glui_h=$ac_header_preproc 11754 fi 11755 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 11756 $as_echo "$ac_cv_header_glui_h" >&6; } 11757 11758 fi 11759 11760 11761 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11762 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 11763 $as_echo_n "checking for GL/glut.h... " >&6; } 11764 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11765 $as_echo_n "(cached) " >&6 11766 fi 11767 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 11768 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 11769 else 11770 # Is the header compilable? 11771 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5 11772 $as_echo_n "checking GL/glut.h usability... " >&6; } 11773 cat >conftest.$ac_ext <<_ACEOF 11774 /* confdefs.h. */ 11775 _ACEOF 11776 cat confdefs.h >>conftest.$ac_ext 11777 cat >>conftest.$ac_ext <<_ACEOF 11778 /* end confdefs.h. */ 11779 $ac_includes_default 11780 #include <GL/glut.h> 11781 _ACEOF 11782 rm -f conftest.$ac_objext 11783 if { (ac_try="$ac_compile" 11784 case "(($ac_try" in 11785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11786 *) ac_try_echo=$ac_try;; 11787 esac 11788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11789 $as_echo "$ac_try_echo") >&5 11790 (eval "$ac_compile") 2>conftest.er1 11791 ac_status=$? 11792 grep -v '^ *+' conftest.er1 >conftest.err 11793 rm -f conftest.er1 11794 cat conftest.err >&5 11795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11796 (exit $ac_status); } && { 11797 test -z "$ac_cxx_werror_flag" || 11798 test ! -s conftest.err 11799 } && test -s conftest.$ac_objext; then 11800 ac_header_compiler=yes 11801 else 11802 $as_echo "$as_me: failed program was:" >&5 11803 sed 's/^/| /' conftest.$ac_ext >&5 11804 11805 ac_header_compiler=no 11806 fi 11807 11808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11809 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11810 $as_echo "$ac_header_compiler" >&6; } 11811 11812 # Is the header present? 11813 { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5 11814 $as_echo_n "checking GL/glut.h presence... " >&6; } 11815 cat >conftest.$ac_ext <<_ACEOF 11816 /* confdefs.h. */ 11817 _ACEOF 11818 cat confdefs.h >>conftest.$ac_ext 11819 cat >>conftest.$ac_ext <<_ACEOF 11820 /* end confdefs.h. */ 11821 #include <GL/glut.h> 11822 _ACEOF 11823 if { (ac_try="$ac_cpp conftest.$ac_ext" 11824 case "(($ac_try" in 11825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11826 *) ac_try_echo=$ac_try;; 11827 esac 11828 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11829 $as_echo "$ac_try_echo") >&5 11830 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11831 ac_status=$? 11832 grep -v '^ *+' conftest.er1 >conftest.err 11833 rm -f conftest.er1 11834 cat conftest.err >&5 11835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11836 (exit $ac_status); } >/dev/null && { 11837 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11838 test ! -s conftest.err 11839 }; then 11840 ac_header_preproc=yes 11841 else 11842 $as_echo "$as_me: failed program was:" >&5 11843 sed 's/^/| /' conftest.$ac_ext >&5 11844 11845 ac_header_preproc=no 11846 fi 11847 11848 rm -f conftest.err conftest.$ac_ext 11849 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11850 $as_echo "$ac_header_preproc" >&6; } 11851 11852 # So? What about this header? 11853 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11854 yes:no: ) 11855 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5 11856 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11857 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5 11858 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;} 11859 ac_header_preproc=yes 11860 ;; 11861 no:yes:* ) 11862 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5 11863 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;} 11864 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5 11865 $as_echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;} 11866 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5 11867 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;} 11868 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5 11869 $as_echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;} 11870 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5 11871 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;} 11872 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5 11873 $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;} 11874 ( cat <<\_ASBOX 11875 ## ----------------------------------- ## 11876 ## Report this to rappture@nanohub.org ## 11877 ## ----------------------------------- ## 11878 _ASBOX 11879 ) | sed "s/^/$as_me: WARNING: /" >&2 11880 ;; 11881 esac 11882 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 11883 $as_echo_n "checking for GL/glut.h... " >&6; } 11884 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11885 $as_echo_n "(cached) " >&6 11886 else 11887 ac_cv_header_GL_glut_h=$ac_header_preproc 11888 fi 11889 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 11890 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 11891 11892 fi 11893 11894 11895 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11896 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 11897 $as_echo_n "checking for GL/glew.h... " >&6; } 11898 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11899 $as_echo_n "(cached) " >&6 11900 fi 11901 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 11902 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 11903 else 11904 # Is the header compilable? 11905 { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5 11906 $as_echo_n "checking GL/glew.h usability... " >&6; } 11907 cat >conftest.$ac_ext <<_ACEOF 11908 /* confdefs.h. */ 11909 _ACEOF 11910 cat confdefs.h >>conftest.$ac_ext 11911 cat >>conftest.$ac_ext <<_ACEOF 11912 /* end confdefs.h. */ 11913 $ac_includes_default 11914 #include <GL/glew.h> 11915 _ACEOF 11916 rm -f conftest.$ac_objext 11917 if { (ac_try="$ac_compile" 11918 case "(($ac_try" in 11919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11920 *) ac_try_echo=$ac_try;; 11921 esac 11922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11923 $as_echo "$ac_try_echo") >&5 11924 (eval "$ac_compile") 2>conftest.er1 11925 ac_status=$? 11926 grep -v '^ *+' conftest.er1 >conftest.err 11927 rm -f conftest.er1 11928 cat conftest.err >&5 11929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11930 (exit $ac_status); } && { 11931 test -z "$ac_cxx_werror_flag" || 11932 test ! -s conftest.err 11933 } && test -s conftest.$ac_objext; then 11934 ac_header_compiler=yes 11935 else 11936 $as_echo "$as_me: failed program was:" >&5 11937 sed 's/^/| /' conftest.$ac_ext >&5 11938 11939 ac_header_compiler=no 11940 fi 11941 11942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11943 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11944 $as_echo "$ac_header_compiler" >&6; } 11945 11946 # Is the header present? 11947 { $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5 11948 $as_echo_n "checking GL/glew.h presence... " >&6; } 11949 cat >conftest.$ac_ext <<_ACEOF 11950 /* confdefs.h. */ 11951 _ACEOF 11952 cat confdefs.h >>conftest.$ac_ext 11953 cat >>conftest.$ac_ext <<_ACEOF 11954 /* end confdefs.h. */ 11955 #include <GL/glew.h> 11956 _ACEOF 11957 if { (ac_try="$ac_cpp conftest.$ac_ext" 11958 case "(($ac_try" in 11959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11960 *) ac_try_echo=$ac_try;; 11961 esac 11962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11963 $as_echo "$ac_try_echo") >&5 11964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11965 ac_status=$? 11966 grep -v '^ *+' conftest.er1 >conftest.err 11967 rm -f conftest.er1 11968 cat conftest.err >&5 11969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11970 (exit $ac_status); } >/dev/null && { 11971 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11972 test ! -s conftest.err 11973 }; then 11974 ac_header_preproc=yes 11975 else 11976 $as_echo "$as_me: failed program was:" >&5 11977 sed 's/^/| /' conftest.$ac_ext >&5 11978 11979 ac_header_preproc=no 11980 fi 11981 11982 rm -f conftest.err conftest.$ac_ext 11983 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11984 $as_echo "$ac_header_preproc" >&6; } 11985 11986 # So? What about this header? 11987 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11988 yes:no: ) 11989 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5 11990 $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11991 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5 11992 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;} 11993 ac_header_preproc=yes 11994 ;; 11995 no:yes:* ) 11996 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5 11997 $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;} 11998 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: check for missing prerequisite headers?" >&5 11999 $as_echo "$as_me: WARNING: GL/glew.h: check for missing prerequisite headers?" >&2;} 12000 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5 12001 $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;} 12002 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&5 12003 $as_echo "$as_me: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&2;} 12004 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5 12005 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;} 12006 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5 12007 $as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;} 12008 ( cat <<\_ASBOX 12009 ## ----------------------------------- ## 12010 ## Report this to rappture@nanohub.org ## 12011 ## ----------------------------------- ## 12012 _ASBOX 12013 ) | sed "s/^/$as_me: WARNING: /" >&2 12014 ;; 12015 esac 12016 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 12017 $as_echo_n "checking for GL/glew.h... " >&6; } 12018 if test "${ac_cv_header_GL_glew_h+set}" = set; then 12019 $as_echo_n "(cached) " >&6 12020 else 12021 ac_cv_header_GL_glew_h=$ac_header_preproc 12022 fi 12023 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 12024 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 12025 12026 fi 12027 12028 12029 12030 12031 12032 12033 12034 12035 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 12036 do 12037 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12038 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12039 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12040 $as_echo_n "checking for $ac_header... " >&6; } 12041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12042 $as_echo_n "(cached) " >&6 12043 fi 12044 ac_res=`eval 'as_val=${'$as_ac_Header'} 12045 $as_echo "$as_val"'` 12046 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12047 $as_echo "$ac_res" >&6; } 12048 else 12049 # Is the header compilable? 12050 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12051 $as_echo_n "checking $ac_header usability... " >&6; } 12052 cat >conftest.$ac_ext <<_ACEOF 12053 /* confdefs.h. */ 12054 _ACEOF 12055 cat confdefs.h >>conftest.$ac_ext 12056 cat >>conftest.$ac_ext <<_ACEOF 12057 /* end confdefs.h. */ 12058 $ac_includes_default 12059 #include <$ac_header> 12060 _ACEOF 12061 rm -f conftest.$ac_objext 12062 if { (ac_try="$ac_compile" 12063 case "(($ac_try" in 12064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12065 *) ac_try_echo=$ac_try;; 12066 esac 12067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12068 $as_echo "$ac_try_echo") >&5 12069 (eval "$ac_compile") 2>conftest.er1 12070 ac_status=$? 12071 grep -v '^ *+' conftest.er1 >conftest.err 12072 rm -f conftest.er1 12073 cat conftest.err >&5 12074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12075 (exit $ac_status); } && { 12076 test -z "$ac_cxx_werror_flag" || 12077 test ! -s conftest.err 12078 } && test -s conftest.$ac_objext; then 12079 ac_header_compiler=yes 12080 else 12081 $as_echo "$as_me: failed program was:" >&5 12082 sed 's/^/| /' conftest.$ac_ext >&5 12083 12084 ac_header_compiler=no 12085 fi 12086 12087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12088 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12089 $as_echo "$ac_header_compiler" >&6; } 12090 12091 # Is the header present? 12092 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12093 $as_echo_n "checking $ac_header presence... " >&6; } 12094 cat >conftest.$ac_ext <<_ACEOF 12095 /* confdefs.h. */ 12096 _ACEOF 12097 cat confdefs.h >>conftest.$ac_ext 12098 cat >>conftest.$ac_ext <<_ACEOF 12099 /* end confdefs.h. */ 12100 #include <$ac_header> 12101 _ACEOF 12102 if { (ac_try="$ac_cpp conftest.$ac_ext" 12103 case "(($ac_try" in 12104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12105 *) ac_try_echo=$ac_try;; 12106 esac 12107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12108 $as_echo "$ac_try_echo") >&5 12109 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12110 ac_status=$? 12111 grep -v '^ *+' conftest.er1 >conftest.err 12112 rm -f conftest.er1 12113 cat conftest.err >&5 12114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12115 (exit $ac_status); } >/dev/null && { 12116 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12117 test ! -s conftest.err 12118 }; then 12119 ac_header_preproc=yes 12120 else 12121 $as_echo "$as_me: failed program was:" >&5 12122 sed 's/^/| /' conftest.$ac_ext >&5 12123 12124 ac_header_preproc=no 12125 fi 12126 12127 rm -f conftest.err conftest.$ac_ext 12128 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12129 $as_echo "$ac_header_preproc" >&6; } 12130 12131 # So? What about this header? 12132 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12133 yes:no: ) 12134 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12135 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12136 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12137 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12138 ac_header_preproc=yes 12139 ;; 12140 no:yes:* ) 12141 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12142 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12143 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12144 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12145 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12146 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12147 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12148 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12149 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12150 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12151 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12152 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12153 ( cat <<\_ASBOX 12154 ## ----------------------------------- ## 12155 ## Report this to rappture@nanohub.org ## 12156 ## ----------------------------------- ## 12157 _ASBOX 12158 ) | sed "s/^/$as_me: WARNING: /" >&2 12159 ;; 12160 esac 12161 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12162 $as_echo_n "checking for $ac_header... " >&6; } 12163 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12164 $as_echo_n "(cached) " >&6 12165 else 12166 eval "$as_ac_Header=\$ac_header_preproc" 12167 fi 12168 ac_res=`eval 'as_val=${'$as_ac_Header'} 12169 $as_echo "$as_val"'` 12170 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12171 $as_echo "$ac_res" >&6; } 12172 12173 fi 12174 as_val=`eval 'as_val=${'$as_ac_Header'} 12175 $as_echo "$as_val"'` 12176 if test "x$as_val" = x""yes; then 8340 12177 cat >>confdefs.h <<_ACEOF 8341 12178 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 8347 12184 8348 12185 12186 12187 12188 12189 12190 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 12191 do 12192 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12193 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12194 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12195 $as_echo_n "checking for $ac_header... " >&6; } 12196 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12197 $as_echo_n "(cached) " >&6 12198 fi 12199 ac_res=`eval 'as_val=${'$as_ac_Header'} 12200 $as_echo "$as_val"'` 12201 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12202 $as_echo "$ac_res" >&6; } 12203 else 12204 # Is the header compilable? 12205 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12206 $as_echo_n "checking $ac_header usability... " >&6; } 12207 cat >conftest.$ac_ext <<_ACEOF 12208 /* confdefs.h. */ 12209 _ACEOF 12210 cat confdefs.h >>conftest.$ac_ext 12211 cat >>conftest.$ac_ext <<_ACEOF 12212 /* end confdefs.h. */ 12213 $ac_includes_default 12214 #include <$ac_header> 12215 _ACEOF 12216 rm -f conftest.$ac_objext 12217 if { (ac_try="$ac_compile" 12218 case "(($ac_try" in 12219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12220 *) ac_try_echo=$ac_try;; 12221 esac 12222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12223 $as_echo "$ac_try_echo") >&5 12224 (eval "$ac_compile") 2>conftest.er1 12225 ac_status=$? 12226 grep -v '^ *+' conftest.er1 >conftest.err 12227 rm -f conftest.er1 12228 cat conftest.err >&5 12229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12230 (exit $ac_status); } && { 12231 test -z "$ac_cxx_werror_flag" || 12232 test ! -s conftest.err 12233 } && test -s conftest.$ac_objext; then 12234 ac_header_compiler=yes 12235 else 12236 $as_echo "$as_me: failed program was:" >&5 12237 sed 's/^/| /' conftest.$ac_ext >&5 12238 12239 ac_header_compiler=no 12240 fi 12241 12242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12243 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12244 $as_echo "$ac_header_compiler" >&6; } 12245 12246 # Is the header present? 12247 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12248 $as_echo_n "checking $ac_header presence... " >&6; } 12249 cat >conftest.$ac_ext <<_ACEOF 12250 /* confdefs.h. */ 12251 _ACEOF 12252 cat confdefs.h >>conftest.$ac_ext 12253 cat >>conftest.$ac_ext <<_ACEOF 12254 /* end confdefs.h. */ 12255 #include <$ac_header> 12256 _ACEOF 12257 if { (ac_try="$ac_cpp conftest.$ac_ext" 12258 case "(($ac_try" in 12259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12260 *) ac_try_echo=$ac_try;; 12261 esac 12262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12263 $as_echo "$ac_try_echo") >&5 12264 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12265 ac_status=$? 12266 grep -v '^ *+' conftest.er1 >conftest.err 12267 rm -f conftest.er1 12268 cat conftest.err >&5 12269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12270 (exit $ac_status); } >/dev/null && { 12271 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12272 test ! -s conftest.err 12273 }; then 12274 ac_header_preproc=yes 12275 else 12276 $as_echo "$as_me: failed program was:" >&5 12277 sed 's/^/| /' conftest.$ac_ext >&5 12278 12279 ac_header_preproc=no 12280 fi 12281 12282 rm -f conftest.err conftest.$ac_ext 12283 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12284 $as_echo "$ac_header_preproc" >&6; } 12285 12286 # So? What about this header? 12287 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12288 yes:no: ) 12289 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12290 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12291 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12292 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12293 ac_header_preproc=yes 12294 ;; 12295 no:yes:* ) 12296 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12297 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12298 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12299 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12300 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12301 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12302 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12303 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12304 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12305 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12306 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12307 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12308 ( cat <<\_ASBOX 12309 ## ----------------------------------- ## 12310 ## Report this to rappture@nanohub.org ## 12311 ## ----------------------------------- ## 12312 _ASBOX 12313 ) | sed "s/^/$as_me: WARNING: /" >&2 12314 ;; 12315 esac 12316 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12317 $as_echo_n "checking for $ac_header... " >&6; } 12318 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12319 $as_echo_n "(cached) " >&6 12320 else 12321 eval "$as_ac_Header=\$ac_header_preproc" 12322 fi 12323 ac_res=`eval 'as_val=${'$as_ac_Header'} 12324 $as_echo "$as_val"'` 12325 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12326 $as_echo "$ac_res" >&6; } 12327 12328 fi 12329 as_val=`eval 'as_val=${'$as_ac_Header'} 12330 $as_echo "$as_val"'` 12331 if test "x$as_val" = x""yes; then 12332 cat >>confdefs.h <<_ACEOF 12333 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12334 _ACEOF 12335 12336 fi 12337 12338 done 12339 12340 12341 8349 12342 for ac_func in accept4 8350 do : 8351 ac_fn_cxx_check_func "$LINENO" "accept4" "ac_cv_func_accept4" 8352 if test "x$ac_cv_func_accept4" = xyes; then : 12343 do 12344 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12345 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12346 $as_echo_n "checking for $ac_func... " >&6; } 12347 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12348 $as_echo_n "(cached) " >&6 12349 else 12350 cat >conftest.$ac_ext <<_ACEOF 12351 /* confdefs.h. */ 12352 _ACEOF 12353 cat confdefs.h >>conftest.$ac_ext 12354 cat >>conftest.$ac_ext <<_ACEOF 12355 /* end confdefs.h. */ 12356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12357 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12358 #define $ac_func innocuous_$ac_func 12359 12360 /* System header to define __stub macros and hopefully few prototypes, 12361 which can conflict with char $ac_func (); below. 12362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12363 <limits.h> exists even on freestanding compilers. */ 12364 12365 #ifdef __STDC__ 12366 # include <limits.h> 12367 #else 12368 # include <assert.h> 12369 #endif 12370 12371 #undef $ac_func 12372 12373 /* Override any GCC internal prototype to avoid an error. 12374 Use char because int might match the return type of a GCC 12375 builtin and then its argument prototype would still apply. */ 12376 #ifdef __cplusplus 12377 extern "C" 12378 #endif 12379 char $ac_func (); 12380 /* The GNU C library defines this for functions which it implements 12381 to always fail with ENOSYS. Some functions are actually named 12382 something starting with __ and the normal name is an alias. */ 12383 #if defined __stub_$ac_func || defined __stub___$ac_func 12384 choke me 12385 #endif 12386 12387 int 12388 main () 12389 { 12390 return $ac_func (); 12391 ; 12392 return 0; 12393 } 12394 _ACEOF 12395 rm -f conftest.$ac_objext conftest$ac_exeext 12396 if { (ac_try="$ac_link" 12397 case "(($ac_try" in 12398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12399 *) ac_try_echo=$ac_try;; 12400 esac 12401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12402 $as_echo "$ac_try_echo") >&5 12403 (eval "$ac_link") 2>conftest.er1 12404 ac_status=$? 12405 grep -v '^ *+' conftest.er1 >conftest.err 12406 rm -f conftest.er1 12407 cat conftest.err >&5 12408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12409 (exit $ac_status); } && { 12410 test -z "$ac_cxx_werror_flag" || 12411 test ! -s conftest.err 12412 } && test -s conftest$ac_exeext && { 12413 test "$cross_compiling" = yes || 12414 $as_test_x conftest$ac_exeext 12415 }; then 12416 eval "$as_ac_var=yes" 12417 else 12418 $as_echo "$as_me: failed program was:" >&5 12419 sed 's/^/| /' conftest.$ac_ext >&5 12420 12421 eval "$as_ac_var=no" 12422 fi 12423 12424 rm -rf conftest.dSYM 12425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12426 conftest$ac_exeext conftest.$ac_ext 12427 fi 12428 ac_res=`eval 'as_val=${'$as_ac_var'} 12429 $as_echo "$as_val"'` 12430 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12431 $as_echo "$ac_res" >&6; } 12432 as_val=`eval 'as_val=${'$as_ac_var'} 12433 $as_echo "$as_val"'` 12434 if test "x$as_val" = x""yes; then 8353 12435 cat >>confdefs.h <<_ACEOF 8354 #define HAVE_ACCEPT4112436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8355 12437 _ACEOF 8356 12438 … … 8359 12441 8360 12442 8361 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for OpenDX headers" >&512443 { $as_echo "$as_me:$LINENO: checking for OpenDX headers" >&5 8362 12444 $as_echo_n "checking for OpenDX headers... " >&6; } 8363 12445 DX_INC_DIR="" … … 8373 12455 done 8374 12456 if test "x${DX_INC_DIR}" = "x" ; then 8375 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cannot find OpenDX include files" >&512457 { $as_echo "$as_me:$LINENO: WARNING: cannot find OpenDX include files" >&5 8376 12458 $as_echo "$as_me: WARNING: cannot find OpenDX include files" >&2;} 8377 12459 DX_INC_SPEC="" … … 8382 12464 fi 8383 12465 8384 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: ${DX_INC_DIR}" >&512466 { $as_echo "$as_me:$LINENO: result: ${DX_INC_DIR}" >&5 8385 12467 $as_echo "${DX_INC_DIR}" >&6; } 8386 12468 save_CPPFLAGS=${CPPFLAGS} 8387 12469 CPPFLAGS="$DX_INC_SPEC $CPPFLAGS" 12470 8388 12471 for ac_header in dx/dx.h 8389 do : 8390 ac_fn_cxx_check_header_mongrel "$LINENO" "dx/dx.h" "ac_cv_header_dx_dx_h" "$ac_includes_default" 8391 if test "x$ac_cv_header_dx_dx_h" = xyes; then : 12472 do 12473 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12474 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12475 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12476 $as_echo_n "checking for $ac_header... " >&6; } 12477 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12478 $as_echo_n "(cached) " >&6 12479 fi 12480 ac_res=`eval 'as_val=${'$as_ac_Header'} 12481 $as_echo "$as_val"'` 12482 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12483 $as_echo "$ac_res" >&6; } 12484 else 12485 # Is the header compilable? 12486 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12487 $as_echo_n "checking $ac_header usability... " >&6; } 12488 cat >conftest.$ac_ext <<_ACEOF 12489 /* confdefs.h. */ 12490 _ACEOF 12491 cat confdefs.h >>conftest.$ac_ext 12492 cat >>conftest.$ac_ext <<_ACEOF 12493 /* end confdefs.h. */ 12494 $ac_includes_default 12495 #include <$ac_header> 12496 _ACEOF 12497 rm -f conftest.$ac_objext 12498 if { (ac_try="$ac_compile" 12499 case "(($ac_try" in 12500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12501 *) ac_try_echo=$ac_try;; 12502 esac 12503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12504 $as_echo "$ac_try_echo") >&5 12505 (eval "$ac_compile") 2>conftest.er1 12506 ac_status=$? 12507 grep -v '^ *+' conftest.er1 >conftest.err 12508 rm -f conftest.er1 12509 cat conftest.err >&5 12510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12511 (exit $ac_status); } && { 12512 test -z "$ac_cxx_werror_flag" || 12513 test ! -s conftest.err 12514 } && test -s conftest.$ac_objext; then 12515 ac_header_compiler=yes 12516 else 12517 $as_echo "$as_me: failed program was:" >&5 12518 sed 's/^/| /' conftest.$ac_ext >&5 12519 12520 ac_header_compiler=no 12521 fi 12522 12523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12524 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12525 $as_echo "$ac_header_compiler" >&6; } 12526 12527 # Is the header present? 12528 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12529 $as_echo_n "checking $ac_header presence... " >&6; } 12530 cat >conftest.$ac_ext <<_ACEOF 12531 /* confdefs.h. */ 12532 _ACEOF 12533 cat confdefs.h >>conftest.$ac_ext 12534 cat >>conftest.$ac_ext <<_ACEOF 12535 /* end confdefs.h. */ 12536 #include <$ac_header> 12537 _ACEOF 12538 if { (ac_try="$ac_cpp conftest.$ac_ext" 12539 case "(($ac_try" in 12540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12541 *) ac_try_echo=$ac_try;; 12542 esac 12543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12544 $as_echo "$ac_try_echo") >&5 12545 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12546 ac_status=$? 12547 grep -v '^ *+' conftest.er1 >conftest.err 12548 rm -f conftest.er1 12549 cat conftest.err >&5 12550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12551 (exit $ac_status); } >/dev/null && { 12552 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12553 test ! -s conftest.err 12554 }; then 12555 ac_header_preproc=yes 12556 else 12557 $as_echo "$as_me: failed program was:" >&5 12558 sed 's/^/| /' conftest.$ac_ext >&5 12559 12560 ac_header_preproc=no 12561 fi 12562 12563 rm -f conftest.err conftest.$ac_ext 12564 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12565 $as_echo "$ac_header_preproc" >&6; } 12566 12567 # So? What about this header? 12568 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12569 yes:no: ) 12570 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12571 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12572 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12573 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12574 ac_header_preproc=yes 12575 ;; 12576 no:yes:* ) 12577 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12578 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12579 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12580 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12581 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12582 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12583 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12584 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12585 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12586 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12587 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12588 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12589 ( cat <<\_ASBOX 12590 ## ----------------------------------- ## 12591 ## Report this to rappture@nanohub.org ## 12592 ## ----------------------------------- ## 12593 _ASBOX 12594 ) | sed "s/^/$as_me: WARNING: /" >&2 12595 ;; 12596 esac 12597 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12598 $as_echo_n "checking for $ac_header... " >&6; } 12599 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12600 $as_echo_n "(cached) " >&6 12601 else 12602 eval "$as_ac_Header=\$ac_header_preproc" 12603 fi 12604 ac_res=`eval 'as_val=${'$as_ac_Header'} 12605 $as_echo "$as_val"'` 12606 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12607 $as_echo "$ac_res" >&6; } 12608 12609 fi 12610 as_val=`eval 'as_val=${'$as_ac_Header'} 12611 $as_echo "$as_val"'` 12612 if test "x$as_val" = x""yes; then 8392 12613 cat >>confdefs.h <<_ACEOF 8393 #define HAVE_DX_DX_H112614 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8394 12615 _ACEOF 8395 12616 … … 8412 12633 LDFLAGS="-L$dir $LDFLAGS" 8413 12634 unset ac_cv_lib_DXcallm_DXGetComponentValue 8414 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for DXGetComponentValue in -lDXcallm" >&512635 { $as_echo "$as_me:$LINENO: checking for DXGetComponentValue in -lDXcallm" >&5 8415 12636 $as_echo_n "checking for DXGetComponentValue in -lDXcallm... " >&6; } 8416 if ${ac_cv_lib_DXcallm_DXGetComponentValue+:} false; then :12637 if test "${ac_cv_lib_DXcallm_DXGetComponentValue+set}" = set; then 8417 12638 $as_echo_n "(cached) " >&6 8418 12639 else 8419 12640 ac_check_lib_save_LIBS=$LIBS 8420 12641 LIBS="-lDXcallm -lX11 $LIBS" 8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12642 cat >conftest.$ac_ext <<_ACEOF 12643 /* confdefs.h. */ 12644 _ACEOF 12645 cat confdefs.h >>conftest.$ac_ext 12646 cat >>conftest.$ac_ext <<_ACEOF 8422 12647 /* end confdefs.h. */ 8423 12648 … … 8437 12662 } 8438 12663 _ACEOF 8439 if ac_fn_cxx_try_link "$LINENO"; then : 12664 rm -f conftest.$ac_objext conftest$ac_exeext 12665 if { (ac_try="$ac_link" 12666 case "(($ac_try" in 12667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12668 *) ac_try_echo=$ac_try;; 12669 esac 12670 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12671 $as_echo "$ac_try_echo") >&5 12672 (eval "$ac_link") 2>conftest.er1 12673 ac_status=$? 12674 grep -v '^ *+' conftest.er1 >conftest.err 12675 rm -f conftest.er1 12676 cat conftest.err >&5 12677 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12678 (exit $ac_status); } && { 12679 test -z "$ac_cxx_werror_flag" || 12680 test ! -s conftest.err 12681 } && test -s conftest$ac_exeext && { 12682 test "$cross_compiling" = yes || 12683 $as_test_x conftest$ac_exeext 12684 }; then 8440 12685 ac_cv_lib_DXcallm_DXGetComponentValue=yes 8441 12686 else 8442 ac_cv_lib_DXcallm_DXGetComponentValue=no 8443 fi 8444 rm -f core conftest.err conftest.$ac_objext \ 8445 conftest$ac_exeext conftest.$ac_ext 12687 $as_echo "$as_me: failed program was:" >&5 12688 sed 's/^/| /' conftest.$ac_ext >&5 12689 12690 ac_cv_lib_DXcallm_DXGetComponentValue=no 12691 fi 12692 12693 rm -rf conftest.dSYM 12694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12695 conftest$ac_exeext conftest.$ac_ext 8446 12696 LIBS=$ac_check_lib_save_LIBS 8447 12697 fi 8448 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&512698 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&5 8449 12699 $as_echo "$ac_cv_lib_DXcallm_DXGetComponentValue" >&6; } 8450 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = x yes; then :12700 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = x""yes; then 8451 12701 found=yes 8452 12702 else … … 8461 12711 done 8462 12712 if test "x${DX_LIB_DIR}" = "x" ; then 8463 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cannot find OpenDX libraries" >&512713 { $as_echo "$as_me:$LINENO: WARNING: cannot find OpenDX libraries" >&5 8464 12714 $as_echo "$as_me: WARNING: cannot find OpenDX libraries" >&2;} 8465 12715 fi 8466 12716 8467 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for libDXcallm library" >&512717 { $as_echo "$as_me:$LINENO: checking for libDXcallm library" >&5 8468 12718 $as_echo_n "checking for libDXcallm library... " >&6; } 8469 12719 if test "x${DX_LIB_DIR}" = "x" -o "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then … … 8472 12722 DX_LIB_SPEC="-L${DX_LIB_DIR} -lDXcallm" 8473 12723 fi 8474 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $DX_LIB_SPEC" >&512724 { $as_echo "$as_me:$LINENO: result: $DX_LIB_SPEC" >&5 8475 12725 $as_echo "$DX_LIB_SPEC" >&6; } 8476 12726 … … 8482 12732 fi 8483 12733 12734 12735 12736 12737 12738 12739 8484 12740 for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h 8485 do : 8486 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8487 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " 12741 do 12742 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12743 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12744 $as_echo_n "checking for $ac_header... " >&6; } 12745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12746 $as_echo_n "(cached) " >&6 12747 else 12748 cat >conftest.$ac_ext <<_ACEOF 12749 /* confdefs.h. */ 12750 _ACEOF 12751 cat confdefs.h >>conftest.$ac_ext 12752 cat >>conftest.$ac_ext <<_ACEOF 12753 /* end confdefs.h. */ 12754 8488 12755 #define __STDC_CONSTANT_MACROS 1 8489 12756 8490 " 8491 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12757 12758 #include <$ac_header> 12759 _ACEOF 12760 rm -f conftest.$ac_objext 12761 if { (ac_try="$ac_compile" 12762 case "(($ac_try" in 12763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12764 *) ac_try_echo=$ac_try;; 12765 esac 12766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12767 $as_echo "$ac_try_echo") >&5 12768 (eval "$ac_compile") 2>conftest.er1 12769 ac_status=$? 12770 grep -v '^ *+' conftest.er1 >conftest.err 12771 rm -f conftest.er1 12772 cat conftest.err >&5 12773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12774 (exit $ac_status); } && { 12775 test -z "$ac_cxx_werror_flag" || 12776 test ! -s conftest.err 12777 } && test -s conftest.$ac_objext; then 12778 eval "$as_ac_Header=yes" 12779 else 12780 $as_echo "$as_me: failed program was:" >&5 12781 sed 's/^/| /' conftest.$ac_ext >&5 12782 12783 eval "$as_ac_Header=no" 12784 fi 12785 12786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12787 fi 12788 ac_res=`eval 'as_val=${'$as_ac_Header'} 12789 $as_echo "$as_val"'` 12790 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12791 $as_echo "$ac_res" >&6; } 12792 as_val=`eval 'as_val=${'$as_ac_Header'} 12793 $as_echo "$as_val"'` 12794 if test "x$as_val" = x""yes; then 8492 12795 cat >>confdefs.h <<_ACEOF 8493 12796 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 8500 12803 CPPFLAGS=$save_CPPFLAGS 8501 12804 8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavcodec" >&5 12805 12806 { $as_echo "$as_me:$LINENO: checking for main in -lavcodec" >&5 8503 12807 $as_echo_n "checking for main in -lavcodec... " >&6; } 8504 if ${ac_cv_lib_avcodec_main+:} false; then :12808 if test "${ac_cv_lib_avcodec_main+set}" = set; then 8505 12809 $as_echo_n "(cached) " >&6 8506 12810 else 8507 12811 ac_check_lib_save_LIBS=$LIBS 8508 12812 LIBS="-lavcodec $LIBS" 8509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12813 cat >conftest.$ac_ext <<_ACEOF 12814 /* confdefs.h. */ 12815 _ACEOF 12816 cat confdefs.h >>conftest.$ac_ext 12817 cat >>conftest.$ac_ext <<_ACEOF 8510 12818 /* end confdefs.h. */ 8511 12819 … … 8519 12827 } 8520 12828 _ACEOF 8521 if ac_fn_cxx_try_link "$LINENO"; then : 12829 rm -f conftest.$ac_objext conftest$ac_exeext 12830 if { (ac_try="$ac_link" 12831 case "(($ac_try" in 12832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12833 *) ac_try_echo=$ac_try;; 12834 esac 12835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12836 $as_echo "$ac_try_echo") >&5 12837 (eval "$ac_link") 2>conftest.er1 12838 ac_status=$? 12839 grep -v '^ *+' conftest.er1 >conftest.err 12840 rm -f conftest.er1 12841 cat conftest.err >&5 12842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12843 (exit $ac_status); } && { 12844 test -z "$ac_cxx_werror_flag" || 12845 test ! -s conftest.err 12846 } && test -s conftest$ac_exeext && { 12847 test "$cross_compiling" = yes || 12848 $as_test_x conftest$ac_exeext 12849 }; then 8522 12850 ac_cv_lib_avcodec_main=yes 8523 12851 else 8524 ac_cv_lib_avcodec_main=no 8525 fi 8526 rm -f core conftest.err conftest.$ac_objext \ 8527 conftest$ac_exeext conftest.$ac_ext 12852 $as_echo "$as_me: failed program was:" >&5 12853 sed 's/^/| /' conftest.$ac_ext >&5 12854 12855 ac_cv_lib_avcodec_main=no 12856 fi 12857 12858 rm -rf conftest.dSYM 12859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12860 conftest$ac_exeext conftest.$ac_ext 8528 12861 LIBS=$ac_check_lib_save_LIBS 8529 12862 fi 8530 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_main" >&512863 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_main" >&5 8531 12864 $as_echo "$ac_cv_lib_avcodec_main" >&6; } 8532 if test "x$ac_cv_lib_avcodec_main" = x yes; then :12865 if test "x$ac_cv_lib_avcodec_main" = x""yes; then 8533 12866 cat >>confdefs.h <<_ACEOF 8534 12867 #define HAVE_LIBAVCODEC 1 … … 8538 12871 8539 12872 else 8540 as_fn_error $? "requires libavcodec" "$LINENO" 5 8541 fi 8542 8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavutil" >&5 12873 { { $as_echo "$as_me:$LINENO: error: requires libavcodec" >&5 12874 $as_echo "$as_me: error: requires libavcodec" >&2;} 12875 { (exit 1); exit 1; }; } 12876 fi 12877 12878 12879 { $as_echo "$as_me:$LINENO: checking for main in -lavutil" >&5 8544 12880 $as_echo_n "checking for main in -lavutil... " >&6; } 8545 if ${ac_cv_lib_avutil_main+:} false; then :12881 if test "${ac_cv_lib_avutil_main+set}" = set; then 8546 12882 $as_echo_n "(cached) " >&6 8547 12883 else 8548 12884 ac_check_lib_save_LIBS=$LIBS 8549 12885 LIBS="-lavutil $LIBS" 8550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12886 cat >conftest.$ac_ext <<_ACEOF 12887 /* confdefs.h. */ 12888 _ACEOF 12889 cat confdefs.h >>conftest.$ac_ext 12890 cat >>conftest.$ac_ext <<_ACEOF 8551 12891 /* end confdefs.h. */ 8552 12892 … … 8560 12900 } 8561 12901 _ACEOF 8562 if ac_fn_cxx_try_link "$LINENO"; then : 12902 rm -f conftest.$ac_objext conftest$ac_exeext 12903 if { (ac_try="$ac_link" 12904 case "(($ac_try" in 12905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12906 *) ac_try_echo=$ac_try;; 12907 esac 12908 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12909 $as_echo "$ac_try_echo") >&5 12910 (eval "$ac_link") 2>conftest.er1 12911 ac_status=$? 12912 grep -v '^ *+' conftest.er1 >conftest.err 12913 rm -f conftest.er1 12914 cat conftest.err >&5 12915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12916 (exit $ac_status); } && { 12917 test -z "$ac_cxx_werror_flag" || 12918 test ! -s conftest.err 12919 } && test -s conftest$ac_exeext && { 12920 test "$cross_compiling" = yes || 12921 $as_test_x conftest$ac_exeext 12922 }; then 8563 12923 ac_cv_lib_avutil_main=yes 8564 12924 else 8565 ac_cv_lib_avutil_main=no 8566 fi 8567 rm -f core conftest.err conftest.$ac_objext \ 8568 conftest$ac_exeext conftest.$ac_ext 12925 $as_echo "$as_me: failed program was:" >&5 12926 sed 's/^/| /' conftest.$ac_ext >&5 12927 12928 ac_cv_lib_avutil_main=no 12929 fi 12930 12931 rm -rf conftest.dSYM 12932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12933 conftest$ac_exeext conftest.$ac_ext 8569 12934 LIBS=$ac_check_lib_save_LIBS 8570 12935 fi 8571 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avutil_main" >&512936 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_main" >&5 8572 12937 $as_echo "$ac_cv_lib_avutil_main" >&6; } 8573 if test "x$ac_cv_lib_avutil_main" = x yes; then :12938 if test "x$ac_cv_lib_avutil_main" = x""yes; then 8574 12939 cat >>confdefs.h <<_ACEOF 8575 12940 #define HAVE_LIBAVUTIL 1 … … 8579 12944 8580 12945 else 8581 as_fn_error $? "requires libavutil" "$LINENO" 5 8582 fi 8583 8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavformat" >&5 12946 { { $as_echo "$as_me:$LINENO: error: requires libavutil" >&5 12947 $as_echo "$as_me: error: requires libavutil" >&2;} 12948 { (exit 1); exit 1; }; } 12949 fi 12950 12951 12952 { $as_echo "$as_me:$LINENO: checking for main in -lavformat" >&5 8585 12953 $as_echo_n "checking for main in -lavformat... " >&6; } 8586 if ${ac_cv_lib_avformat_main+:} false; then :12954 if test "${ac_cv_lib_avformat_main+set}" = set; then 8587 12955 $as_echo_n "(cached) " >&6 8588 12956 else 8589 12957 ac_check_lib_save_LIBS=$LIBS 8590 12958 LIBS="-lavformat $LIBS" 8591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12959 cat >conftest.$ac_ext <<_ACEOF 12960 /* confdefs.h. */ 12961 _ACEOF 12962 cat confdefs.h >>conftest.$ac_ext 12963 cat >>conftest.$ac_ext <<_ACEOF 8592 12964 /* end confdefs.h. */ 8593 12965 … … 8601 12973 } 8602 12974 _ACEOF 8603 if ac_fn_cxx_try_link "$LINENO"; then : 12975 rm -f conftest.$ac_objext conftest$ac_exeext 12976 if { (ac_try="$ac_link" 12977 case "(($ac_try" in 12978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12979 *) ac_try_echo=$ac_try;; 12980 esac 12981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12982 $as_echo "$ac_try_echo") >&5 12983 (eval "$ac_link") 2>conftest.er1 12984 ac_status=$? 12985 grep -v '^ *+' conftest.er1 >conftest.err 12986 rm -f conftest.er1 12987 cat conftest.err >&5 12988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12989 (exit $ac_status); } && { 12990 test -z "$ac_cxx_werror_flag" || 12991 test ! -s conftest.err 12992 } && test -s conftest$ac_exeext && { 12993 test "$cross_compiling" = yes || 12994 $as_test_x conftest$ac_exeext 12995 }; then 8604 12996 ac_cv_lib_avformat_main=yes 8605 12997 else 8606 ac_cv_lib_avformat_main=no 8607 fi 8608 rm -f core conftest.err conftest.$ac_objext \ 8609 conftest$ac_exeext conftest.$ac_ext 12998 $as_echo "$as_me: failed program was:" >&5 12999 sed 's/^/| /' conftest.$ac_ext >&5 13000 13001 ac_cv_lib_avformat_main=no 13002 fi 13003 13004 rm -rf conftest.dSYM 13005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13006 conftest$ac_exeext conftest.$ac_ext 8610 13007 LIBS=$ac_check_lib_save_LIBS 8611 13008 fi 8612 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avformat_main" >&513009 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_main" >&5 8613 13010 $as_echo "$ac_cv_lib_avformat_main" >&6; } 8614 if test "x$ac_cv_lib_avformat_main" = x yes; then :13011 if test "x$ac_cv_lib_avformat_main" = x""yes; then 8615 13012 cat >>confdefs.h <<_ACEOF 8616 13013 #define HAVE_LIBAVFORMAT 1 … … 8620 13017 8621 13018 else 8622 as_fn_error $? "requires libavformat" "$LINENO" 5 8623 fi 8624 8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lswscale" >&5 13019 { { $as_echo "$as_me:$LINENO: error: requires libavformat" >&5 13020 $as_echo "$as_me: error: requires libavformat" >&2;} 13021 { (exit 1); exit 1; }; } 13022 fi 13023 13024 13025 { $as_echo "$as_me:$LINENO: checking for main in -lswscale" >&5 8626 13026 $as_echo_n "checking for main in -lswscale... " >&6; } 8627 if ${ac_cv_lib_swscale_main+:} false; then :13027 if test "${ac_cv_lib_swscale_main+set}" = set; then 8628 13028 $as_echo_n "(cached) " >&6 8629 13029 else 8630 13030 ac_check_lib_save_LIBS=$LIBS 8631 13031 LIBS="-lswscale $LIBS" 8632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13032 cat >conftest.$ac_ext <<_ACEOF 13033 /* confdefs.h. */ 13034 _ACEOF 13035 cat confdefs.h >>conftest.$ac_ext 13036 cat >>conftest.$ac_ext <<_ACEOF 8633 13037 /* end confdefs.h. */ 8634 13038 … … 8642 13046 } 8643 13047 _ACEOF 8644 if ac_fn_cxx_try_link "$LINENO"; then : 13048 rm -f conftest.$ac_objext conftest$ac_exeext 13049 if { (ac_try="$ac_link" 13050 case "(($ac_try" in 13051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13052 *) ac_try_echo=$ac_try;; 13053 esac 13054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13055 $as_echo "$ac_try_echo") >&5 13056 (eval "$ac_link") 2>conftest.er1 13057 ac_status=$? 13058 grep -v '^ *+' conftest.er1 >conftest.err 13059 rm -f conftest.er1 13060 cat conftest.err >&5 13061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13062 (exit $ac_status); } && { 13063 test -z "$ac_cxx_werror_flag" || 13064 test ! -s conftest.err 13065 } && test -s conftest$ac_exeext && { 13066 test "$cross_compiling" = yes || 13067 $as_test_x conftest$ac_exeext 13068 }; then 8645 13069 ac_cv_lib_swscale_main=yes 8646 13070 else 8647 ac_cv_lib_swscale_main=no 8648 fi 8649 rm -f core conftest.err conftest.$ac_objext \ 8650 conftest$ac_exeext conftest.$ac_ext 13071 $as_echo "$as_me: failed program was:" >&5 13072 sed 's/^/| /' conftest.$ac_ext >&5 13073 13074 ac_cv_lib_swscale_main=no 13075 fi 13076 13077 rm -rf conftest.dSYM 13078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13079 conftest$ac_exeext conftest.$ac_ext 8651 13080 LIBS=$ac_check_lib_save_LIBS 8652 13081 fi 8653 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_swscale_main" >&513082 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_main" >&5 8654 13083 $as_echo "$ac_cv_lib_swscale_main" >&6; } 8655 if test "x$ac_cv_lib_swscale_main" = x yes; then :13084 if test "x$ac_cv_lib_swscale_main" = x""yes; then 8656 13085 cat >>confdefs.h <<_ACEOF 8657 13086 #define HAVE_LIBSWSCALE 1 … … 8662 13091 fi 8663 13092 13093 8664 13094 for ac_func in avcodec_register_all 8665 do : 8666 ac_fn_cxx_check_func "$LINENO" "avcodec_register_all" "ac_cv_func_avcodec_register_all" 8667 if test "x$ac_cv_func_avcodec_register_all" = xyes; then : 13095 do 13096 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13097 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13098 $as_echo_n "checking for $ac_func... " >&6; } 13099 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13100 $as_echo_n "(cached) " >&6 13101 else 13102 cat >conftest.$ac_ext <<_ACEOF 13103 /* confdefs.h. */ 13104 _ACEOF 13105 cat confdefs.h >>conftest.$ac_ext 13106 cat >>conftest.$ac_ext <<_ACEOF 13107 /* end confdefs.h. */ 13108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13109 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13110 #define $ac_func innocuous_$ac_func 13111 13112 /* System header to define __stub macros and hopefully few prototypes, 13113 which can conflict with char $ac_func (); below. 13114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13115 <limits.h> exists even on freestanding compilers. */ 13116 13117 #ifdef __STDC__ 13118 # include <limits.h> 13119 #else 13120 # include <assert.h> 13121 #endif 13122 13123 #undef $ac_func 13124 13125 /* Override any GCC internal prototype to avoid an error. 13126 Use char because int might match the return type of a GCC 13127 builtin and then its argument prototype would still apply. */ 13128 #ifdef __cplusplus 13129 extern "C" 13130 #endif 13131 char $ac_func (); 13132 /* The GNU C library defines this for functions which it implements 13133 to always fail with ENOSYS. Some functions are actually named 13134 something starting with __ and the normal name is an alias. */ 13135 #if defined __stub_$ac_func || defined __stub___$ac_func 13136 choke me 13137 #endif 13138 13139 int 13140 main () 13141 { 13142 return $ac_func (); 13143 ; 13144 return 0; 13145 } 13146 _ACEOF 13147 rm -f conftest.$ac_objext conftest$ac_exeext 13148 if { (ac_try="$ac_link" 13149 case "(($ac_try" in 13150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13151 *) ac_try_echo=$ac_try;; 13152 esac 13153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13154 $as_echo "$ac_try_echo") >&5 13155 (eval "$ac_link") 2>conftest.er1 13156 ac_status=$? 13157 grep -v '^ *+' conftest.er1 >conftest.err 13158 rm -f conftest.er1 13159 cat conftest.err >&5 13160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13161 (exit $ac_status); } && { 13162 test -z "$ac_cxx_werror_flag" || 13163 test ! -s conftest.err 13164 } && test -s conftest$ac_exeext && { 13165 test "$cross_compiling" = yes || 13166 $as_test_x conftest$ac_exeext 13167 }; then 13168 eval "$as_ac_var=yes" 13169 else 13170 $as_echo "$as_me: failed program was:" >&5 13171 sed 's/^/| /' conftest.$ac_ext >&5 13172 13173 eval "$as_ac_var=no" 13174 fi 13175 13176 rm -rf conftest.dSYM 13177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13178 conftest$ac_exeext conftest.$ac_ext 13179 fi 13180 ac_res=`eval 'as_val=${'$as_ac_var'} 13181 $as_echo "$as_val"'` 13182 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13183 $as_echo "$ac_res" >&6; } 13184 as_val=`eval 'as_val=${'$as_ac_var'} 13185 $as_echo "$as_val"'` 13186 if test "x$as_val" = x""yes; then 8668 13187 cat >>confdefs.h <<_ACEOF 8669 #define HAVE_AVCODEC_REGISTER_ALL113188 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8670 13189 _ACEOF 8671 13190 … … 8673 13192 done 8674 13193 13194 8675 13195 for ac_func in avcodec_init 8676 do : 8677 ac_fn_cxx_check_func "$LINENO" "avcodec_init" "ac_cv_func_avcodec_init" 8678 if test "x$ac_cv_func_avcodec_init" = xyes; then : 13196 do 13197 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13198 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13199 $as_echo_n "checking for $ac_func... " >&6; } 13200 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13201 $as_echo_n "(cached) " >&6 13202 else 13203 cat >conftest.$ac_ext <<_ACEOF 13204 /* confdefs.h. */ 13205 _ACEOF 13206 cat confdefs.h >>conftest.$ac_ext 13207 cat >>conftest.$ac_ext <<_ACEOF 13208 /* end confdefs.h. */ 13209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13210 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13211 #define $ac_func innocuous_$ac_func 13212 13213 /* System header to define __stub macros and hopefully few prototypes, 13214 which can conflict with char $ac_func (); below. 13215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13216 <limits.h> exists even on freestanding compilers. */ 13217 13218 #ifdef __STDC__ 13219 # include <limits.h> 13220 #else 13221 # include <assert.h> 13222 #endif 13223 13224 #undef $ac_func 13225 13226 /* Override any GCC internal prototype to avoid an error. 13227 Use char because int might match the return type of a GCC 13228 builtin and then its argument prototype would still apply. */ 13229 #ifdef __cplusplus 13230 extern "C" 13231 #endif 13232 char $ac_func (); 13233 /* The GNU C library defines this for functions which it implements 13234 to always fail with ENOSYS. Some functions are actually named 13235 something starting with __ and the normal name is an alias. */ 13236 #if defined __stub_$ac_func || defined __stub___$ac_func 13237 choke me 13238 #endif 13239 13240 int 13241 main () 13242 { 13243 return $ac_func (); 13244 ; 13245 return 0; 13246 } 13247 _ACEOF 13248 rm -f conftest.$ac_objext conftest$ac_exeext 13249 if { (ac_try="$ac_link" 13250 case "(($ac_try" in 13251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13252 *) ac_try_echo=$ac_try;; 13253 esac 13254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13255 $as_echo "$ac_try_echo") >&5 13256 (eval "$ac_link") 2>conftest.er1 13257 ac_status=$? 13258 grep -v '^ *+' conftest.er1 >conftest.err 13259 rm -f conftest.er1 13260 cat conftest.err >&5 13261 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13262 (exit $ac_status); } && { 13263 test -z "$ac_cxx_werror_flag" || 13264 test ! -s conftest.err 13265 } && test -s conftest$ac_exeext && { 13266 test "$cross_compiling" = yes || 13267 $as_test_x conftest$ac_exeext 13268 }; then 13269 eval "$as_ac_var=yes" 13270 else 13271 $as_echo "$as_me: failed program was:" >&5 13272 sed 's/^/| /' conftest.$ac_ext >&5 13273 13274 eval "$as_ac_var=no" 13275 fi 13276 13277 rm -rf conftest.dSYM 13278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13279 conftest$ac_exeext conftest.$ac_ext 13280 fi 13281 ac_res=`eval 'as_val=${'$as_ac_var'} 13282 $as_echo "$as_val"'` 13283 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13284 $as_echo "$ac_res" >&6; } 13285 as_val=`eval 'as_val=${'$as_ac_var'} 13286 $as_echo "$as_val"'` 13287 if test "x$as_val" = x""yes; then 8679 13288 cat >>confdefs.h <<_ACEOF 8680 #define HAVE_AVCODEC_INIT113289 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8681 13290 _ACEOF 8682 13291 … … 8684 13293 done 8685 13294 13295 8686 13296 for ac_func in avformat_new_stream 8687 do : 8688 ac_fn_cxx_check_func "$LINENO" "avformat_new_stream" "ac_cv_func_avformat_new_stream" 8689 if test "x$ac_cv_func_avformat_new_stream" = xyes; then : 13297 do 13298 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13299 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13300 $as_echo_n "checking for $ac_func... " >&6; } 13301 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13302 $as_echo_n "(cached) " >&6 13303 else 13304 cat >conftest.$ac_ext <<_ACEOF 13305 /* confdefs.h. */ 13306 _ACEOF 13307 cat confdefs.h >>conftest.$ac_ext 13308 cat >>conftest.$ac_ext <<_ACEOF 13309 /* end confdefs.h. */ 13310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13311 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13312 #define $ac_func innocuous_$ac_func 13313 13314 /* System header to define __stub macros and hopefully few prototypes, 13315 which can conflict with char $ac_func (); below. 13316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13317 <limits.h> exists even on freestanding compilers. */ 13318 13319 #ifdef __STDC__ 13320 # include <limits.h> 13321 #else 13322 # include <assert.h> 13323 #endif 13324 13325 #undef $ac_func 13326 13327 /* Override any GCC internal prototype to avoid an error. 13328 Use char because int might match the return type of a GCC 13329 builtin and then its argument prototype would still apply. */ 13330 #ifdef __cplusplus 13331 extern "C" 13332 #endif 13333 char $ac_func (); 13334 /* The GNU C library defines this for functions which it implements 13335 to always fail with ENOSYS. Some functions are actually named 13336 something starting with __ and the normal name is an alias. */ 13337 #if defined __stub_$ac_func || defined __stub___$ac_func 13338 choke me 13339 #endif 13340 13341 int 13342 main () 13343 { 13344 return $ac_func (); 13345 ; 13346 return 0; 13347 } 13348 _ACEOF 13349 rm -f conftest.$ac_objext conftest$ac_exeext 13350 if { (ac_try="$ac_link" 13351 case "(($ac_try" in 13352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13353 *) ac_try_echo=$ac_try;; 13354 esac 13355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13356 $as_echo "$ac_try_echo") >&5 13357 (eval "$ac_link") 2>conftest.er1 13358 ac_status=$? 13359 grep -v '^ *+' conftest.er1 >conftest.err 13360 rm -f conftest.er1 13361 cat conftest.err >&5 13362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13363 (exit $ac_status); } && { 13364 test -z "$ac_cxx_werror_flag" || 13365 test ! -s conftest.err 13366 } && test -s conftest$ac_exeext && { 13367 test "$cross_compiling" = yes || 13368 $as_test_x conftest$ac_exeext 13369 }; then 13370 eval "$as_ac_var=yes" 13371 else 13372 $as_echo "$as_me: failed program was:" >&5 13373 sed 's/^/| /' conftest.$ac_ext >&5 13374 13375 eval "$as_ac_var=no" 13376 fi 13377 13378 rm -rf conftest.dSYM 13379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13380 conftest$ac_exeext conftest.$ac_ext 13381 fi 13382 ac_res=`eval 'as_val=${'$as_ac_var'} 13383 $as_echo "$as_val"'` 13384 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13385 $as_echo "$ac_res" >&6; } 13386 as_val=`eval 'as_val=${'$as_ac_var'} 13387 $as_echo "$as_val"'` 13388 if test "x$as_val" = x""yes; then 8690 13389 cat >>confdefs.h <<_ACEOF 8691 #define HAVE_AVFORMAT_NEW_STREAM113390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8692 13391 _ACEOF 8693 13392 … … 8695 13394 done 8696 13395 13396 8697 13397 for ac_func in av_new_stream 8698 do : 8699 ac_fn_cxx_check_func "$LINENO" "av_new_stream" "ac_cv_func_av_new_stream" 8700 if test "x$ac_cv_func_av_new_stream" = xyes; then : 13398 do 13399 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13400 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13401 $as_echo_n "checking for $ac_func... " >&6; } 13402 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13403 $as_echo_n "(cached) " >&6 13404 else 13405 cat >conftest.$ac_ext <<_ACEOF 13406 /* confdefs.h. */ 13407 _ACEOF 13408 cat confdefs.h >>conftest.$ac_ext 13409 cat >>conftest.$ac_ext <<_ACEOF 13410 /* end confdefs.h. */ 13411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13412 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13413 #define $ac_func innocuous_$ac_func 13414 13415 /* System header to define __stub macros and hopefully few prototypes, 13416 which can conflict with char $ac_func (); below. 13417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13418 <limits.h> exists even on freestanding compilers. */ 13419 13420 #ifdef __STDC__ 13421 # include <limits.h> 13422 #else 13423 # include <assert.h> 13424 #endif 13425 13426 #undef $ac_func 13427 13428 /* Override any GCC internal prototype to avoid an error. 13429 Use char because int might match the return type of a GCC 13430 builtin and then its argument prototype would still apply. */ 13431 #ifdef __cplusplus 13432 extern "C" 13433 #endif 13434 char $ac_func (); 13435 /* The GNU C library defines this for functions which it implements 13436 to always fail with ENOSYS. Some functions are actually named 13437 something starting with __ and the normal name is an alias. */ 13438 #if defined __stub_$ac_func || defined __stub___$ac_func 13439 choke me 13440 #endif 13441 13442 int 13443 main () 13444 { 13445 return $ac_func (); 13446 ; 13447 return 0; 13448 } 13449 _ACEOF 13450 rm -f conftest.$ac_objext conftest$ac_exeext 13451 if { (ac_try="$ac_link" 13452 case "(($ac_try" in 13453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13454 *) ac_try_echo=$ac_try;; 13455 esac 13456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13457 $as_echo "$ac_try_echo") >&5 13458 (eval "$ac_link") 2>conftest.er1 13459 ac_status=$? 13460 grep -v '^ *+' conftest.er1 >conftest.err 13461 rm -f conftest.er1 13462 cat conftest.err >&5 13463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13464 (exit $ac_status); } && { 13465 test -z "$ac_cxx_werror_flag" || 13466 test ! -s conftest.err 13467 } && test -s conftest$ac_exeext && { 13468 test "$cross_compiling" = yes || 13469 $as_test_x conftest$ac_exeext 13470 }; then 13471 eval "$as_ac_var=yes" 13472 else 13473 $as_echo "$as_me: failed program was:" >&5 13474 sed 's/^/| /' conftest.$ac_ext >&5 13475 13476 eval "$as_ac_var=no" 13477 fi 13478 13479 rm -rf conftest.dSYM 13480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13481 conftest$ac_exeext conftest.$ac_ext 13482 fi 13483 ac_res=`eval 'as_val=${'$as_ac_var'} 13484 $as_echo "$as_val"'` 13485 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13486 $as_echo "$ac_res" >&6; } 13487 as_val=`eval 'as_val=${'$as_ac_var'} 13488 $as_echo "$as_val"'` 13489 if test "x$as_val" = x""yes; then 8701 13490 cat >>confdefs.h <<_ACEOF 8702 #define HAVE_AV_NEW_STREAM113491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8703 13492 _ACEOF 8704 13493 … … 8706 13495 done 8707 13496 13497 8708 13498 for ac_func in avcodec_open 8709 do : 8710 ac_fn_cxx_check_func "$LINENO" "avcodec_open" "ac_cv_func_avcodec_open" 8711 if test "x$ac_cv_func_avcodec_open" = xyes; then : 13499 do 13500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13501 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13502 $as_echo_n "checking for $ac_func... " >&6; } 13503 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13504 $as_echo_n "(cached) " >&6 13505 else 13506 cat >conftest.$ac_ext <<_ACEOF 13507 /* confdefs.h. */ 13508 _ACEOF 13509 cat confdefs.h >>conftest.$ac_ext 13510 cat >>conftest.$ac_ext <<_ACEOF 13511 /* end confdefs.h. */ 13512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13513 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13514 #define $ac_func innocuous_$ac_func 13515 13516 /* System header to define __stub macros and hopefully few prototypes, 13517 which can conflict with char $ac_func (); below. 13518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13519 <limits.h> exists even on freestanding compilers. */ 13520 13521 #ifdef __STDC__ 13522 # include <limits.h> 13523 #else 13524 # include <assert.h> 13525 #endif 13526 13527 #undef $ac_func 13528 13529 /* Override any GCC internal prototype to avoid an error. 13530 Use char because int might match the return type of a GCC 13531 builtin and then its argument prototype would still apply. */ 13532 #ifdef __cplusplus 13533 extern "C" 13534 #endif 13535 char $ac_func (); 13536 /* The GNU C library defines this for functions which it implements 13537 to always fail with ENOSYS. Some functions are actually named 13538 something starting with __ and the normal name is an alias. */ 13539 #if defined __stub_$ac_func || defined __stub___$ac_func 13540 choke me 13541 #endif 13542 13543 int 13544 main () 13545 { 13546 return $ac_func (); 13547 ; 13548 return 0; 13549 } 13550 _ACEOF 13551 rm -f conftest.$ac_objext conftest$ac_exeext 13552 if { (ac_try="$ac_link" 13553 case "(($ac_try" in 13554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13555 *) ac_try_echo=$ac_try;; 13556 esac 13557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13558 $as_echo "$ac_try_echo") >&5 13559 (eval "$ac_link") 2>conftest.er1 13560 ac_status=$? 13561 grep -v '^ *+' conftest.er1 >conftest.err 13562 rm -f conftest.er1 13563 cat conftest.err >&5 13564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13565 (exit $ac_status); } && { 13566 test -z "$ac_cxx_werror_flag" || 13567 test ! -s conftest.err 13568 } && test -s conftest$ac_exeext && { 13569 test "$cross_compiling" = yes || 13570 $as_test_x conftest$ac_exeext 13571 }; then 13572 eval "$as_ac_var=yes" 13573 else 13574 $as_echo "$as_me: failed program was:" >&5 13575 sed 's/^/| /' conftest.$ac_ext >&5 13576 13577 eval "$as_ac_var=no" 13578 fi 13579 13580 rm -rf conftest.dSYM 13581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13582 conftest$ac_exeext conftest.$ac_ext 13583 fi 13584 ac_res=`eval 'as_val=${'$as_ac_var'} 13585 $as_echo "$as_val"'` 13586 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13587 $as_echo "$ac_res" >&6; } 13588 as_val=`eval 'as_val=${'$as_ac_var'} 13589 $as_echo "$as_val"'` 13590 if test "x$as_val" = x""yes; then 8712 13591 cat >>confdefs.h <<_ACEOF 8713 #define HAVE_AVCODEC_OPEN113592 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8714 13593 _ACEOF 8715 13594 … … 8717 13596 done 8718 13597 13598 8719 13599 for ac_func in avcodec_open2 8720 do : 8721 ac_fn_cxx_check_func "$LINENO" "avcodec_open2" "ac_cv_func_avcodec_open2" 8722 if test "x$ac_cv_func_avcodec_open2" = xyes; then : 13600 do 13601 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13602 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13603 $as_echo_n "checking for $ac_func... " >&6; } 13604 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13605 $as_echo_n "(cached) " >&6 13606 else 13607 cat >conftest.$ac_ext <<_ACEOF 13608 /* confdefs.h. */ 13609 _ACEOF 13610 cat confdefs.h >>conftest.$ac_ext 13611 cat >>conftest.$ac_ext <<_ACEOF 13612 /* end confdefs.h. */ 13613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13614 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13615 #define $ac_func innocuous_$ac_func 13616 13617 /* System header to define __stub macros and hopefully few prototypes, 13618 which can conflict with char $ac_func (); below. 13619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13620 <limits.h> exists even on freestanding compilers. */ 13621 13622 #ifdef __STDC__ 13623 # include <limits.h> 13624 #else 13625 # include <assert.h> 13626 #endif 13627 13628 #undef $ac_func 13629 13630 /* Override any GCC internal prototype to avoid an error. 13631 Use char because int might match the return type of a GCC 13632 builtin and then its argument prototype would still apply. */ 13633 #ifdef __cplusplus 13634 extern "C" 13635 #endif 13636 char $ac_func (); 13637 /* The GNU C library defines this for functions which it implements 13638 to always fail with ENOSYS. Some functions are actually named 13639 something starting with __ and the normal name is an alias. */ 13640 #if defined __stub_$ac_func || defined __stub___$ac_func 13641 choke me 13642 #endif 13643 13644 int 13645 main () 13646 { 13647 return $ac_func (); 13648 ; 13649 return 0; 13650 } 13651 _ACEOF 13652 rm -f conftest.$ac_objext conftest$ac_exeext 13653 if { (ac_try="$ac_link" 13654 case "(($ac_try" in 13655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13656 *) ac_try_echo=$ac_try;; 13657 esac 13658 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13659 $as_echo "$ac_try_echo") >&5 13660 (eval "$ac_link") 2>conftest.er1 13661 ac_status=$? 13662 grep -v '^ *+' conftest.er1 >conftest.err 13663 rm -f conftest.er1 13664 cat conftest.err >&5 13665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13666 (exit $ac_status); } && { 13667 test -z "$ac_cxx_werror_flag" || 13668 test ! -s conftest.err 13669 } && test -s conftest$ac_exeext && { 13670 test "$cross_compiling" = yes || 13671 $as_test_x conftest$ac_exeext 13672 }; then 13673 eval "$as_ac_var=yes" 13674 else 13675 $as_echo "$as_me: failed program was:" >&5 13676 sed 's/^/| /' conftest.$ac_ext >&5 13677 13678 eval "$as_ac_var=no" 13679 fi 13680 13681 rm -rf conftest.dSYM 13682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13683 conftest$ac_exeext conftest.$ac_ext 13684 fi 13685 ac_res=`eval 'as_val=${'$as_ac_var'} 13686 $as_echo "$as_val"'` 13687 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13688 $as_echo "$ac_res" >&6; } 13689 as_val=`eval 'as_val=${'$as_ac_var'} 13690 $as_echo "$as_val"'` 13691 if test "x$as_val" = x""yes; then 8723 13692 cat >>confdefs.h <<_ACEOF 8724 #define HAVE_AVCODEC_OPEN2113693 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8725 13694 _ACEOF 8726 13695 … … 8728 13697 done 8729 13698 13699 8730 13700 for ac_func in avcodec_decode_video2 8731 do : 8732 ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video2" "ac_cv_func_avcodec_decode_video2" 8733 if test "x$ac_cv_func_avcodec_decode_video2" = xyes; then : 13701 do 13702 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13703 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13704 $as_echo_n "checking for $ac_func... " >&6; } 13705 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13706 $as_echo_n "(cached) " >&6 13707 else 13708 cat >conftest.$ac_ext <<_ACEOF 13709 /* confdefs.h. */ 13710 _ACEOF 13711 cat confdefs.h >>conftest.$ac_ext 13712 cat >>conftest.$ac_ext <<_ACEOF 13713 /* end confdefs.h. */ 13714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13715 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13716 #define $ac_func innocuous_$ac_func 13717 13718 /* System header to define __stub macros and hopefully few prototypes, 13719 which can conflict with char $ac_func (); below. 13720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13721 <limits.h> exists even on freestanding compilers. */ 13722 13723 #ifdef __STDC__ 13724 # include <limits.h> 13725 #else 13726 # include <assert.h> 13727 #endif 13728 13729 #undef $ac_func 13730 13731 /* Override any GCC internal prototype to avoid an error. 13732 Use char because int might match the return type of a GCC 13733 builtin and then its argument prototype would still apply. */ 13734 #ifdef __cplusplus 13735 extern "C" 13736 #endif 13737 char $ac_func (); 13738 /* The GNU C library defines this for functions which it implements 13739 to always fail with ENOSYS. Some functions are actually named 13740 something starting with __ and the normal name is an alias. */ 13741 #if defined __stub_$ac_func || defined __stub___$ac_func 13742 choke me 13743 #endif 13744 13745 int 13746 main () 13747 { 13748 return $ac_func (); 13749 ; 13750 return 0; 13751 } 13752 _ACEOF 13753 rm -f conftest.$ac_objext conftest$ac_exeext 13754 if { (ac_try="$ac_link" 13755 case "(($ac_try" in 13756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13757 *) ac_try_echo=$ac_try;; 13758 esac 13759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13760 $as_echo "$ac_try_echo") >&5 13761 (eval "$ac_link") 2>conftest.er1 13762 ac_status=$? 13763 grep -v '^ *+' conftest.er1 >conftest.err 13764 rm -f conftest.er1 13765 cat conftest.err >&5 13766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13767 (exit $ac_status); } && { 13768 test -z "$ac_cxx_werror_flag" || 13769 test ! -s conftest.err 13770 } && test -s conftest$ac_exeext && { 13771 test "$cross_compiling" = yes || 13772 $as_test_x conftest$ac_exeext 13773 }; then 13774 eval "$as_ac_var=yes" 13775 else 13776 $as_echo "$as_me: failed program was:" >&5 13777 sed 's/^/| /' conftest.$ac_ext >&5 13778 13779 eval "$as_ac_var=no" 13780 fi 13781 13782 rm -rf conftest.dSYM 13783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13784 conftest$ac_exeext conftest.$ac_ext 13785 fi 13786 ac_res=`eval 'as_val=${'$as_ac_var'} 13787 $as_echo "$as_val"'` 13788 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13789 $as_echo "$ac_res" >&6; } 13790 as_val=`eval 'as_val=${'$as_ac_var'} 13791 $as_echo "$as_val"'` 13792 if test "x$as_val" = x""yes; then 8734 13793 cat >>confdefs.h <<_ACEOF 8735 #define HAVE_AVCODEC_DECODE_VIDEO2113794 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8736 13795 _ACEOF 8737 13796 … … 8739 13798 done 8740 13799 13800 8741 13801 for ac_func in avcodec_decode_video 8742 do : 8743 ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video" "ac_cv_func_avcodec_decode_video" 8744 if test "x$ac_cv_func_avcodec_decode_video" = xyes; then : 13802 do 13803 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13804 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13805 $as_echo_n "checking for $ac_func... " >&6; } 13806 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13807 $as_echo_n "(cached) " >&6 13808 else 13809 cat >conftest.$ac_ext <<_ACEOF 13810 /* confdefs.h. */ 13811 _ACEOF 13812 cat confdefs.h >>conftest.$ac_ext 13813 cat >>conftest.$ac_ext <<_ACEOF 13814 /* end confdefs.h. */ 13815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13816 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13817 #define $ac_func innocuous_$ac_func 13818 13819 /* System header to define __stub macros and hopefully few prototypes, 13820 which can conflict with char $ac_func (); below. 13821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13822 <limits.h> exists even on freestanding compilers. */ 13823 13824 #ifdef __STDC__ 13825 # include <limits.h> 13826 #else 13827 # include <assert.h> 13828 #endif 13829 13830 #undef $ac_func 13831 13832 /* Override any GCC internal prototype to avoid an error. 13833 Use char because int might match the return type of a GCC 13834 builtin and then its argument prototype would still apply. */ 13835 #ifdef __cplusplus 13836 extern "C" 13837 #endif 13838 char $ac_func (); 13839 /* The GNU C library defines this for functions which it implements 13840 to always fail with ENOSYS. Some functions are actually named 13841 something starting with __ and the normal name is an alias. */ 13842 #if defined __stub_$ac_func || defined __stub___$ac_func 13843 choke me 13844 #endif 13845 13846 int 13847 main () 13848 { 13849 return $ac_func (); 13850 ; 13851 return 0; 13852 } 13853 _ACEOF 13854 rm -f conftest.$ac_objext conftest$ac_exeext 13855 if { (ac_try="$ac_link" 13856 case "(($ac_try" in 13857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13858 *) ac_try_echo=$ac_try;; 13859 esac 13860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13861 $as_echo "$ac_try_echo") >&5 13862 (eval "$ac_link") 2>conftest.er1 13863 ac_status=$? 13864 grep -v '^ *+' conftest.er1 >conftest.err 13865 rm -f conftest.er1 13866 cat conftest.err >&5 13867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13868 (exit $ac_status); } && { 13869 test -z "$ac_cxx_werror_flag" || 13870 test ! -s conftest.err 13871 } && test -s conftest$ac_exeext && { 13872 test "$cross_compiling" = yes || 13873 $as_test_x conftest$ac_exeext 13874 }; then 13875 eval "$as_ac_var=yes" 13876 else 13877 $as_echo "$as_me: failed program was:" >&5 13878 sed 's/^/| /' conftest.$ac_ext >&5 13879 13880 eval "$as_ac_var=no" 13881 fi 13882 13883 rm -rf conftest.dSYM 13884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13885 conftest$ac_exeext conftest.$ac_ext 13886 fi 13887 ac_res=`eval 'as_val=${'$as_ac_var'} 13888 $as_echo "$as_val"'` 13889 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13890 $as_echo "$ac_res" >&6; } 13891 as_val=`eval 'as_val=${'$as_ac_var'} 13892 $as_echo "$as_val"'` 13893 if test "x$as_val" = x""yes; then 8745 13894 cat >>confdefs.h <<_ACEOF 8746 #define HAVE_AVCODEC_DECODE_VIDEO113895 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8747 13896 _ACEOF 8748 13897 … … 8750 13899 done 8751 13900 13901 8752 13902 for ac_func in avcodec_encode_video2 8753 do : 8754 ac_fn_cxx_check_func "$LINENO" "avcodec_encode_video2" "ac_cv_func_avcodec_encode_video2" 8755 if test "x$ac_cv_func_avcodec_encode_video2" = xyes; then : 13903 do 13904 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13905 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13906 $as_echo_n "checking for $ac_func... " >&6; } 13907 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13908 $as_echo_n "(cached) " >&6 13909 else 13910 cat >conftest.$ac_ext <<_ACEOF 13911 /* confdefs.h. */ 13912 _ACEOF 13913 cat confdefs.h >>conftest.$ac_ext 13914 cat >>conftest.$ac_ext <<_ACEOF 13915 /* end confdefs.h. */ 13916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13917 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13918 #define $ac_func innocuous_$ac_func 13919 13920 /* System header to define __stub macros and hopefully few prototypes, 13921 which can conflict with char $ac_func (); below. 13922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13923 <limits.h> exists even on freestanding compilers. */ 13924 13925 #ifdef __STDC__ 13926 # include <limits.h> 13927 #else 13928 # include <assert.h> 13929 #endif 13930 13931 #undef $ac_func 13932 13933 /* Override any GCC internal prototype to avoid an error. 13934 Use char because int might match the return type of a GCC 13935 builtin and then its argument prototype would still apply. */ 13936 #ifdef __cplusplus 13937 extern "C" 13938 #endif 13939 char $ac_func (); 13940 /* The GNU C library defines this for functions which it implements 13941 to always fail with ENOSYS. Some functions are actually named 13942 something starting with __ and the normal name is an alias. */ 13943 #if defined __stub_$ac_func || defined __stub___$ac_func 13944 choke me 13945 #endif 13946 13947 int 13948 main () 13949 { 13950 return $ac_func (); 13951 ; 13952 return 0; 13953 } 13954 _ACEOF 13955 rm -f conftest.$ac_objext conftest$ac_exeext 13956 if { (ac_try="$ac_link" 13957 case "(($ac_try" in 13958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13959 *) ac_try_echo=$ac_try;; 13960 esac 13961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13962 $as_echo "$ac_try_echo") >&5 13963 (eval "$ac_link") 2>conftest.er1 13964 ac_status=$? 13965 grep -v '^ *+' conftest.er1 >conftest.err 13966 rm -f conftest.er1 13967 cat conftest.err >&5 13968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13969 (exit $ac_status); } && { 13970 test -z "$ac_cxx_werror_flag" || 13971 test ! -s conftest.err 13972 } && test -s conftest$ac_exeext && { 13973 test "$cross_compiling" = yes || 13974 $as_test_x conftest$ac_exeext 13975 }; then 13976 eval "$as_ac_var=yes" 13977 else 13978 $as_echo "$as_me: failed program was:" >&5 13979 sed 's/^/| /' conftest.$ac_ext >&5 13980 13981 eval "$as_ac_var=no" 13982 fi 13983 13984 rm -rf conftest.dSYM 13985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13986 conftest$ac_exeext conftest.$ac_ext 13987 fi 13988 ac_res=`eval 'as_val=${'$as_ac_var'} 13989 $as_echo "$as_val"'` 13990 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13991 $as_echo "$ac_res" >&6; } 13992 as_val=`eval 'as_val=${'$as_ac_var'} 13993 $as_echo "$as_val"'` 13994 if test "x$as_val" = x""yes; then 8756 13995 cat >>confdefs.h <<_ACEOF 8757 #define HAVE_AVCODEC_ENCODE_VIDEO2113996 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8758 13997 _ACEOF 8759 13998 … … 8761 14000 done 8762 14001 14002 8763 14003 for ac_func in avcodec_encode_video 8764 do : 8765 ac_fn_cxx_check_func "$LINENO" "avcodec_encode_video" "ac_cv_func_avcodec_encode_video" 8766 if test "x$ac_cv_func_avcodec_encode_video" = xyes; then : 14004 do 14005 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14006 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14007 $as_echo_n "checking for $ac_func... " >&6; } 14008 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14009 $as_echo_n "(cached) " >&6 14010 else 14011 cat >conftest.$ac_ext <<_ACEOF 14012 /* confdefs.h. */ 14013 _ACEOF 14014 cat confdefs.h >>conftest.$ac_ext 14015 cat >>conftest.$ac_ext <<_ACEOF 14016 /* end confdefs.h. */ 14017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14018 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14019 #define $ac_func innocuous_$ac_func 14020 14021 /* System header to define __stub macros and hopefully few prototypes, 14022 which can conflict with char $ac_func (); below. 14023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14024 <limits.h> exists even on freestanding compilers. */ 14025 14026 #ifdef __STDC__ 14027 # include <limits.h> 14028 #else 14029 # include <assert.h> 14030 #endif 14031 14032 #undef $ac_func 14033 14034 /* Override any GCC internal prototype to avoid an error. 14035 Use char because int might match the return type of a GCC 14036 builtin and then its argument prototype would still apply. */ 14037 #ifdef __cplusplus 14038 extern "C" 14039 #endif 14040 char $ac_func (); 14041 /* The GNU C library defines this for functions which it implements 14042 to always fail with ENOSYS. Some functions are actually named 14043 something starting with __ and the normal name is an alias. */ 14044 #if defined __stub_$ac_func || defined __stub___$ac_func 14045 choke me 14046 #endif 14047 14048 int 14049 main () 14050 { 14051 return $ac_func (); 14052 ; 14053 return 0; 14054 } 14055 _ACEOF 14056 rm -f conftest.$ac_objext conftest$ac_exeext 14057 if { (ac_try="$ac_link" 14058 case "(($ac_try" in 14059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14060 *) ac_try_echo=$ac_try;; 14061 esac 14062 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14063 $as_echo "$ac_try_echo") >&5 14064 (eval "$ac_link") 2>conftest.er1 14065 ac_status=$? 14066 grep -v '^ *+' conftest.er1 >conftest.err 14067 rm -f conftest.er1 14068 cat conftest.err >&5 14069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14070 (exit $ac_status); } && { 14071 test -z "$ac_cxx_werror_flag" || 14072 test ! -s conftest.err 14073 } && test -s conftest$ac_exeext && { 14074 test "$cross_compiling" = yes || 14075 $as_test_x conftest$ac_exeext 14076 }; then 14077 eval "$as_ac_var=yes" 14078 else 14079 $as_echo "$as_me: failed program was:" >&5 14080 sed 's/^/| /' conftest.$ac_ext >&5 14081 14082 eval "$as_ac_var=no" 14083 fi 14084 14085 rm -rf conftest.dSYM 14086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14087 conftest$ac_exeext conftest.$ac_ext 14088 fi 14089 ac_res=`eval 'as_val=${'$as_ac_var'} 14090 $as_echo "$as_val"'` 14091 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14092 $as_echo "$ac_res" >&6; } 14093 as_val=`eval 'as_val=${'$as_ac_var'} 14094 $as_echo "$as_val"'` 14095 if test "x$as_val" = x""yes; then 8767 14096 cat >>confdefs.h <<_ACEOF 8768 #define HAVE_AVCODEC_ENCODE_VIDEO114097 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8769 14098 _ACEOF 8770 14099 … … 8772 14101 done 8773 14102 14103 8774 14104 for ac_func in avformat_open_input 8775 do : 8776 ac_fn_cxx_check_func "$LINENO" "avformat_open_input" "ac_cv_func_avformat_open_input" 8777 if test "x$ac_cv_func_avformat_open_input" = xyes; then : 14105 do 14106 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14107 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14108 $as_echo_n "checking for $ac_func... " >&6; } 14109 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14110 $as_echo_n "(cached) " >&6 14111 else 14112 cat >conftest.$ac_ext <<_ACEOF 14113 /* confdefs.h. */ 14114 _ACEOF 14115 cat confdefs.h >>conftest.$ac_ext 14116 cat >>conftest.$ac_ext <<_ACEOF 14117 /* end confdefs.h. */ 14118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14119 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14120 #define $ac_func innocuous_$ac_func 14121 14122 /* System header to define __stub macros and hopefully few prototypes, 14123 which can conflict with char $ac_func (); below. 14124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14125 <limits.h> exists even on freestanding compilers. */ 14126 14127 #ifdef __STDC__ 14128 # include <limits.h> 14129 #else 14130 # include <assert.h> 14131 #endif 14132 14133 #undef $ac_func 14134 14135 /* Override any GCC internal prototype to avoid an error. 14136 Use char because int might match the return type of a GCC 14137 builtin and then its argument prototype would still apply. */ 14138 #ifdef __cplusplus 14139 extern "C" 14140 #endif 14141 char $ac_func (); 14142 /* The GNU C library defines this for functions which it implements 14143 to always fail with ENOSYS. Some functions are actually named 14144 something starting with __ and the normal name is an alias. */ 14145 #if defined __stub_$ac_func || defined __stub___$ac_func 14146 choke me 14147 #endif 14148 14149 int 14150 main () 14151 { 14152 return $ac_func (); 14153 ; 14154 return 0; 14155 } 14156 _ACEOF 14157 rm -f conftest.$ac_objext conftest$ac_exeext 14158 if { (ac_try="$ac_link" 14159 case "(($ac_try" in 14160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14161 *) ac_try_echo=$ac_try;; 14162 esac 14163 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14164 $as_echo "$ac_try_echo") >&5 14165 (eval "$ac_link") 2>conftest.er1 14166 ac_status=$? 14167 grep -v '^ *+' conftest.er1 >conftest.err 14168 rm -f conftest.er1 14169 cat conftest.err >&5 14170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14171 (exit $ac_status); } && { 14172 test -z "$ac_cxx_werror_flag" || 14173 test ! -s conftest.err 14174 } && test -s conftest$ac_exeext && { 14175 test "$cross_compiling" = yes || 14176 $as_test_x conftest$ac_exeext 14177 }; then 14178 eval "$as_ac_var=yes" 14179 else 14180 $as_echo "$as_me: failed program was:" >&5 14181 sed 's/^/| /' conftest.$ac_ext >&5 14182 14183 eval "$as_ac_var=no" 14184 fi 14185 14186 rm -rf conftest.dSYM 14187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14188 conftest$ac_exeext conftest.$ac_ext 14189 fi 14190 ac_res=`eval 'as_val=${'$as_ac_var'} 14191 $as_echo "$as_val"'` 14192 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14193 $as_echo "$ac_res" >&6; } 14194 as_val=`eval 'as_val=${'$as_ac_var'} 14195 $as_echo "$as_val"'` 14196 if test "x$as_val" = x""yes; then 8778 14197 cat >>confdefs.h <<_ACEOF 8779 #define HAVE_AVFORMAT_OPEN_INPUT114198 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8780 14199 _ACEOF 8781 14200 … … 8783 14202 done 8784 14203 14204 8785 14205 for ac_func in av_open_input_file 8786 do : 8787 ac_fn_cxx_check_func "$LINENO" "av_open_input_file" "ac_cv_func_av_open_input_file" 8788 if test "x$ac_cv_func_av_open_input_file" = xyes; then : 14206 do 14207 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14208 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14209 $as_echo_n "checking for $ac_func... " >&6; } 14210 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14211 $as_echo_n "(cached) " >&6 14212 else 14213 cat >conftest.$ac_ext <<_ACEOF 14214 /* confdefs.h. */ 14215 _ACEOF 14216 cat confdefs.h >>conftest.$ac_ext 14217 cat >>conftest.$ac_ext <<_ACEOF 14218 /* end confdefs.h. */ 14219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14220 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14221 #define $ac_func innocuous_$ac_func 14222 14223 /* System header to define __stub macros and hopefully few prototypes, 14224 which can conflict with char $ac_func (); below. 14225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14226 <limits.h> exists even on freestanding compilers. */ 14227 14228 #ifdef __STDC__ 14229 # include <limits.h> 14230 #else 14231 # include <assert.h> 14232 #endif 14233 14234 #undef $ac_func 14235 14236 /* Override any GCC internal prototype to avoid an error. 14237 Use char because int might match the return type of a GCC 14238 builtin and then its argument prototype would still apply. */ 14239 #ifdef __cplusplus 14240 extern "C" 14241 #endif 14242 char $ac_func (); 14243 /* The GNU C library defines this for functions which it implements 14244 to always fail with ENOSYS. Some functions are actually named 14245 something starting with __ and the normal name is an alias. */ 14246 #if defined __stub_$ac_func || defined __stub___$ac_func 14247 choke me 14248 #endif 14249 14250 int 14251 main () 14252 { 14253 return $ac_func (); 14254 ; 14255 return 0; 14256 } 14257 _ACEOF 14258 rm -f conftest.$ac_objext conftest$ac_exeext 14259 if { (ac_try="$ac_link" 14260 case "(($ac_try" in 14261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14262 *) ac_try_echo=$ac_try;; 14263 esac 14264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14265 $as_echo "$ac_try_echo") >&5 14266 (eval "$ac_link") 2>conftest.er1 14267 ac_status=$? 14268 grep -v '^ *+' conftest.er1 >conftest.err 14269 rm -f conftest.er1 14270 cat conftest.err >&5 14271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14272 (exit $ac_status); } && { 14273 test -z "$ac_cxx_werror_flag" || 14274 test ! -s conftest.err 14275 } && test -s conftest$ac_exeext && { 14276 test "$cross_compiling" = yes || 14277 $as_test_x conftest$ac_exeext 14278 }; then 14279 eval "$as_ac_var=yes" 14280 else 14281 $as_echo "$as_me: failed program was:" >&5 14282 sed 's/^/| /' conftest.$ac_ext >&5 14283 14284 eval "$as_ac_var=no" 14285 fi 14286 14287 rm -rf conftest.dSYM 14288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14289 conftest$ac_exeext conftest.$ac_ext 14290 fi 14291 ac_res=`eval 'as_val=${'$as_ac_var'} 14292 $as_echo "$as_val"'` 14293 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14294 $as_echo "$ac_res" >&6; } 14295 as_val=`eval 'as_val=${'$as_ac_var'} 14296 $as_echo "$as_val"'` 14297 if test "x$as_val" = x""yes; then 8789 14298 cat >>confdefs.h <<_ACEOF 8790 #define HAVE_AV_OPEN_INPUT_FILE114299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8791 14300 _ACEOF 8792 14301 … … 8794 14303 done 8795 14304 14305 8796 14306 for ac_func in av_guess_format 8797 do : 8798 ac_fn_cxx_check_func "$LINENO" "av_guess_format" "ac_cv_func_av_guess_format" 8799 if test "x$ac_cv_func_av_guess_format" = xyes; then : 14307 do 14308 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14309 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14310 $as_echo_n "checking for $ac_func... " >&6; } 14311 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14312 $as_echo_n "(cached) " >&6 14313 else 14314 cat >conftest.$ac_ext <<_ACEOF 14315 /* confdefs.h. */ 14316 _ACEOF 14317 cat confdefs.h >>conftest.$ac_ext 14318 cat >>conftest.$ac_ext <<_ACEOF 14319 /* end confdefs.h. */ 14320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14321 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14322 #define $ac_func innocuous_$ac_func 14323 14324 /* System header to define __stub macros and hopefully few prototypes, 14325 which can conflict with char $ac_func (); below. 14326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14327 <limits.h> exists even on freestanding compilers. */ 14328 14329 #ifdef __STDC__ 14330 # include <limits.h> 14331 #else 14332 # include <assert.h> 14333 #endif 14334 14335 #undef $ac_func 14336 14337 /* Override any GCC internal prototype to avoid an error. 14338 Use char because int might match the return type of a GCC 14339 builtin and then its argument prototype would still apply. */ 14340 #ifdef __cplusplus 14341 extern "C" 14342 #endif 14343 char $ac_func (); 14344 /* The GNU C library defines this for functions which it implements 14345 to always fail with ENOSYS. Some functions are actually named 14346 something starting with __ and the normal name is an alias. */ 14347 #if defined __stub_$ac_func || defined __stub___$ac_func 14348 choke me 14349 #endif 14350 14351 int 14352 main () 14353 { 14354 return $ac_func (); 14355 ; 14356 return 0; 14357 } 14358 _ACEOF 14359 rm -f conftest.$ac_objext conftest$ac_exeext 14360 if { (ac_try="$ac_link" 14361 case "(($ac_try" in 14362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14363 *) ac_try_echo=$ac_try;; 14364 esac 14365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14366 $as_echo "$ac_try_echo") >&5 14367 (eval "$ac_link") 2>conftest.er1 14368 ac_status=$? 14369 grep -v '^ *+' conftest.er1 >conftest.err 14370 rm -f conftest.er1 14371 cat conftest.err >&5 14372 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14373 (exit $ac_status); } && { 14374 test -z "$ac_cxx_werror_flag" || 14375 test ! -s conftest.err 14376 } && test -s conftest$ac_exeext && { 14377 test "$cross_compiling" = yes || 14378 $as_test_x conftest$ac_exeext 14379 }; then 14380 eval "$as_ac_var=yes" 14381 else 14382 $as_echo "$as_me: failed program was:" >&5 14383 sed 's/^/| /' conftest.$ac_ext >&5 14384 14385 eval "$as_ac_var=no" 14386 fi 14387 14388 rm -rf conftest.dSYM 14389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14390 conftest$ac_exeext conftest.$ac_ext 14391 fi 14392 ac_res=`eval 'as_val=${'$as_ac_var'} 14393 $as_echo "$as_val"'` 14394 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14395 $as_echo "$ac_res" >&6; } 14396 as_val=`eval 'as_val=${'$as_ac_var'} 14397 $as_echo "$as_val"'` 14398 if test "x$as_val" = x""yes; then 8800 14399 cat >>confdefs.h <<_ACEOF 8801 #define HAVE_AV_GUESS_FORMAT114400 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8802 14401 _ACEOF 8803 14402 … … 8805 14404 done 8806 14405 14406 8807 14407 for ac_func in guess_format 8808 do : 8809 ac_fn_cxx_check_func "$LINENO" "guess_format" "ac_cv_func_guess_format" 8810 if test "x$ac_cv_func_guess_format" = xyes; then : 14408 do 14409 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14410 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14411 $as_echo_n "checking for $ac_func... " >&6; } 14412 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14413 $as_echo_n "(cached) " >&6 14414 else 14415 cat >conftest.$ac_ext <<_ACEOF 14416 /* confdefs.h. */ 14417 _ACEOF 14418 cat confdefs.h >>conftest.$ac_ext 14419 cat >>conftest.$ac_ext <<_ACEOF 14420 /* end confdefs.h. */ 14421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14422 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14423 #define $ac_func innocuous_$ac_func 14424 14425 /* System header to define __stub macros and hopefully few prototypes, 14426 which can conflict with char $ac_func (); below. 14427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14428 <limits.h> exists even on freestanding compilers. */ 14429 14430 #ifdef __STDC__ 14431 # include <limits.h> 14432 #else 14433 # include <assert.h> 14434 #endif 14435 14436 #undef $ac_func 14437 14438 /* Override any GCC internal prototype to avoid an error. 14439 Use char because int might match the return type of a GCC 14440 builtin and then its argument prototype would still apply. */ 14441 #ifdef __cplusplus 14442 extern "C" 14443 #endif 14444 char $ac_func (); 14445 /* The GNU C library defines this for functions which it implements 14446 to always fail with ENOSYS. Some functions are actually named 14447 something starting with __ and the normal name is an alias. */ 14448 #if defined __stub_$ac_func || defined __stub___$ac_func 14449 choke me 14450 #endif 14451 14452 int 14453 main () 14454 { 14455 return $ac_func (); 14456 ; 14457 return 0; 14458 } 14459 _ACEOF 14460 rm -f conftest.$ac_objext conftest$ac_exeext 14461 if { (ac_try="$ac_link" 14462 case "(($ac_try" in 14463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14464 *) ac_try_echo=$ac_try;; 14465 esac 14466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14467 $as_echo "$ac_try_echo") >&5 14468 (eval "$ac_link") 2>conftest.er1 14469 ac_status=$? 14470 grep -v '^ *+' conftest.er1 >conftest.err 14471 rm -f conftest.er1 14472 cat conftest.err >&5 14473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14474 (exit $ac_status); } && { 14475 test -z "$ac_cxx_werror_flag" || 14476 test ! -s conftest.err 14477 } && test -s conftest$ac_exeext && { 14478 test "$cross_compiling" = yes || 14479 $as_test_x conftest$ac_exeext 14480 }; then 14481 eval "$as_ac_var=yes" 14482 else 14483 $as_echo "$as_me: failed program was:" >&5 14484 sed 's/^/| /' conftest.$ac_ext >&5 14485 14486 eval "$as_ac_var=no" 14487 fi 14488 14489 rm -rf conftest.dSYM 14490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14491 conftest$ac_exeext conftest.$ac_ext 14492 fi 14493 ac_res=`eval 'as_val=${'$as_ac_var'} 14494 $as_echo "$as_val"'` 14495 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14496 $as_echo "$ac_res" >&6; } 14497 as_val=`eval 'as_val=${'$as_ac_var'} 14498 $as_echo "$as_val"'` 14499 if test "x$as_val" = x""yes; then 8811 14500 cat >>confdefs.h <<_ACEOF 8812 #define HAVE_GUESS_FORMAT114501 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8813 14502 _ACEOF 8814 14503 … … 8816 14505 done 8817 14506 14507 8818 14508 for ac_func in av_dump_format 8819 do : 8820 ac_fn_cxx_check_func "$LINENO" "av_dump_format" "ac_cv_func_av_dump_format" 8821 if test "x$ac_cv_func_av_dump_format" = xyes; then : 14509 do 14510 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14511 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14512 $as_echo_n "checking for $ac_func... " >&6; } 14513 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14514 $as_echo_n "(cached) " >&6 14515 else 14516 cat >conftest.$ac_ext <<_ACEOF 14517 /* confdefs.h. */ 14518 _ACEOF 14519 cat confdefs.h >>conftest.$ac_ext 14520 cat >>conftest.$ac_ext <<_ACEOF 14521 /* end confdefs.h. */ 14522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14523 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14524 #define $ac_func innocuous_$ac_func 14525 14526 /* System header to define __stub macros and hopefully few prototypes, 14527 which can conflict with char $ac_func (); below. 14528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14529 <limits.h> exists even on freestanding compilers. */ 14530 14531 #ifdef __STDC__ 14532 # include <limits.h> 14533 #else 14534 # include <assert.h> 14535 #endif 14536 14537 #undef $ac_func 14538 14539 /* Override any GCC internal prototype to avoid an error. 14540 Use char because int might match the return type of a GCC 14541 builtin and then its argument prototype would still apply. */ 14542 #ifdef __cplusplus 14543 extern "C" 14544 #endif 14545 char $ac_func (); 14546 /* The GNU C library defines this for functions which it implements 14547 to always fail with ENOSYS. Some functions are actually named 14548 something starting with __ and the normal name is an alias. */ 14549 #if defined __stub_$ac_func || defined __stub___$ac_func 14550 choke me 14551 #endif 14552 14553 int 14554 main () 14555 { 14556 return $ac_func (); 14557 ; 14558 return 0; 14559 } 14560 _ACEOF 14561 rm -f conftest.$ac_objext conftest$ac_exeext 14562 if { (ac_try="$ac_link" 14563 case "(($ac_try" in 14564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14565 *) ac_try_echo=$ac_try;; 14566 esac 14567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14568 $as_echo "$ac_try_echo") >&5 14569 (eval "$ac_link") 2>conftest.er1 14570 ac_status=$? 14571 grep -v '^ *+' conftest.er1 >conftest.err 14572 rm -f conftest.er1 14573 cat conftest.err >&5 14574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14575 (exit $ac_status); } && { 14576 test -z "$ac_cxx_werror_flag" || 14577 test ! -s conftest.err 14578 } && test -s conftest$ac_exeext && { 14579 test "$cross_compiling" = yes || 14580 $as_test_x conftest$ac_exeext 14581 }; then 14582 eval "$as_ac_var=yes" 14583 else 14584 $as_echo "$as_me: failed program was:" >&5 14585 sed 's/^/| /' conftest.$ac_ext >&5 14586 14587 eval "$as_ac_var=no" 14588 fi 14589 14590 rm -rf conftest.dSYM 14591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14592 conftest$ac_exeext conftest.$ac_ext 14593 fi 14594 ac_res=`eval 'as_val=${'$as_ac_var'} 14595 $as_echo "$as_val"'` 14596 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14597 $as_echo "$ac_res" >&6; } 14598 as_val=`eval 'as_val=${'$as_ac_var'} 14599 $as_echo "$as_val"'` 14600 if test "x$as_val" = x""yes; then 8822 14601 cat >>confdefs.h <<_ACEOF 8823 #define HAVE_AV_DUMP_FORMAT114602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8824 14603 _ACEOF 8825 14604 … … 8827 14606 done 8828 14607 14608 8829 14609 for ac_func in dump_format 8830 do : 8831 ac_fn_cxx_check_func "$LINENO" "dump_format" "ac_cv_func_dump_format" 8832 if test "x$ac_cv_func_dump_format" = xyes; then : 14610 do 14611 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14612 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14613 $as_echo_n "checking for $ac_func... " >&6; } 14614 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14615 $as_echo_n "(cached) " >&6 14616 else 14617 cat >conftest.$ac_ext <<_ACEOF 14618 /* confdefs.h. */ 14619 _ACEOF 14620 cat confdefs.h >>conftest.$ac_ext 14621 cat >>conftest.$ac_ext <<_ACEOF 14622 /* end confdefs.h. */ 14623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14624 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14625 #define $ac_func innocuous_$ac_func 14626 14627 /* System header to define __stub macros and hopefully few prototypes, 14628 which can conflict with char $ac_func (); below. 14629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14630 <limits.h> exists even on freestanding compilers. */ 14631 14632 #ifdef __STDC__ 14633 # include <limits.h> 14634 #else 14635 # include <assert.h> 14636 #endif 14637 14638 #undef $ac_func 14639 14640 /* Override any GCC internal prototype to avoid an error. 14641 Use char because int might match the return type of a GCC 14642 builtin and then its argument prototype would still apply. */ 14643 #ifdef __cplusplus 14644 extern "C" 14645 #endif 14646 char $ac_func (); 14647 /* The GNU C library defines this for functions which it implements 14648 to always fail with ENOSYS. Some functions are actually named 14649 something starting with __ and the normal name is an alias. */ 14650 #if defined __stub_$ac_func || defined __stub___$ac_func 14651 choke me 14652 #endif 14653 14654 int 14655 main () 14656 { 14657 return $ac_func (); 14658 ; 14659 return 0; 14660 } 14661 _ACEOF 14662 rm -f conftest.$ac_objext conftest$ac_exeext 14663 if { (ac_try="$ac_link" 14664 case "(($ac_try" in 14665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14666 *) ac_try_echo=$ac_try;; 14667 esac 14668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14669 $as_echo "$ac_try_echo") >&5 14670 (eval "$ac_link") 2>conftest.er1 14671 ac_status=$? 14672 grep -v '^ *+' conftest.er1 >conftest.err 14673 rm -f conftest.er1 14674 cat conftest.err >&5 14675 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14676 (exit $ac_status); } && { 14677 test -z "$ac_cxx_werror_flag" || 14678 test ! -s conftest.err 14679 } && test -s conftest$ac_exeext && { 14680 test "$cross_compiling" = yes || 14681 $as_test_x conftest$ac_exeext 14682 }; then 14683 eval "$as_ac_var=yes" 14684 else 14685 $as_echo "$as_me: failed program was:" >&5 14686 sed 's/^/| /' conftest.$ac_ext >&5 14687 14688 eval "$as_ac_var=no" 14689 fi 14690 14691 rm -rf conftest.dSYM 14692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14693 conftest$ac_exeext conftest.$ac_ext 14694 fi 14695 ac_res=`eval 'as_val=${'$as_ac_var'} 14696 $as_echo "$as_val"'` 14697 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14698 $as_echo "$ac_res" >&6; } 14699 as_val=`eval 'as_val=${'$as_ac_var'} 14700 $as_echo "$as_val"'` 14701 if test "x$as_val" = x""yes; then 8833 14702 cat >>confdefs.h <<_ACEOF 8834 #define HAVE_DUMP_FORMAT114703 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8835 14704 _ACEOF 8836 14705 … … 8838 14707 done 8839 14708 14709 8840 14710 for ac_func in avio_open 8841 do : 8842 ac_fn_cxx_check_func "$LINENO" "avio_open" "ac_cv_func_avio_open" 8843 if test "x$ac_cv_func_avio_open" = xyes; then : 14711 do 14712 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14713 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14714 $as_echo_n "checking for $ac_func... " >&6; } 14715 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14716 $as_echo_n "(cached) " >&6 14717 else 14718 cat >conftest.$ac_ext <<_ACEOF 14719 /* confdefs.h. */ 14720 _ACEOF 14721 cat confdefs.h >>conftest.$ac_ext 14722 cat >>conftest.$ac_ext <<_ACEOF 14723 /* end confdefs.h. */ 14724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14725 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14726 #define $ac_func innocuous_$ac_func 14727 14728 /* System header to define __stub macros and hopefully few prototypes, 14729 which can conflict with char $ac_func (); below. 14730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14731 <limits.h> exists even on freestanding compilers. */ 14732 14733 #ifdef __STDC__ 14734 # include <limits.h> 14735 #else 14736 # include <assert.h> 14737 #endif 14738 14739 #undef $ac_func 14740 14741 /* Override any GCC internal prototype to avoid an error. 14742 Use char because int might match the return type of a GCC 14743 builtin and then its argument prototype would still apply. */ 14744 #ifdef __cplusplus 14745 extern "C" 14746 #endif 14747 char $ac_func (); 14748 /* The GNU C library defines this for functions which it implements 14749 to always fail with ENOSYS. Some functions are actually named 14750 something starting with __ and the normal name is an alias. */ 14751 #if defined __stub_$ac_func || defined __stub___$ac_func 14752 choke me 14753 #endif 14754 14755 int 14756 main () 14757 { 14758 return $ac_func (); 14759 ; 14760 return 0; 14761 } 14762 _ACEOF 14763 rm -f conftest.$ac_objext conftest$ac_exeext 14764 if { (ac_try="$ac_link" 14765 case "(($ac_try" in 14766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14767 *) ac_try_echo=$ac_try;; 14768 esac 14769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14770 $as_echo "$ac_try_echo") >&5 14771 (eval "$ac_link") 2>conftest.er1 14772 ac_status=$? 14773 grep -v '^ *+' conftest.er1 >conftest.err 14774 rm -f conftest.er1 14775 cat conftest.err >&5 14776 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14777 (exit $ac_status); } && { 14778 test -z "$ac_cxx_werror_flag" || 14779 test ! -s conftest.err 14780 } && test -s conftest$ac_exeext && { 14781 test "$cross_compiling" = yes || 14782 $as_test_x conftest$ac_exeext 14783 }; then 14784 eval "$as_ac_var=yes" 14785 else 14786 $as_echo "$as_me: failed program was:" >&5 14787 sed 's/^/| /' conftest.$ac_ext >&5 14788 14789 eval "$as_ac_var=no" 14790 fi 14791 14792 rm -rf conftest.dSYM 14793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14794 conftest$ac_exeext conftest.$ac_ext 14795 fi 14796 ac_res=`eval 'as_val=${'$as_ac_var'} 14797 $as_echo "$as_val"'` 14798 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14799 $as_echo "$ac_res" >&6; } 14800 as_val=`eval 'as_val=${'$as_ac_var'} 14801 $as_echo "$as_val"'` 14802 if test "x$as_val" = x""yes; then 8844 14803 cat >>confdefs.h <<_ACEOF 8845 #define HAVE_AVIO_OPEN114804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8846 14805 _ACEOF 8847 14806 … … 8849 14808 done 8850 14809 14810 8851 14811 for ac_func in url_fopen 8852 do : 8853 ac_fn_cxx_check_func "$LINENO" "url_fopen" "ac_cv_func_url_fopen" 8854 if test "x$ac_cv_func_url_fopen" = xyes; then : 14812 do 14813 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14814 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14815 $as_echo_n "checking for $ac_func... " >&6; } 14816 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14817 $as_echo_n "(cached) " >&6 14818 else 14819 cat >conftest.$ac_ext <<_ACEOF 14820 /* confdefs.h. */ 14821 _ACEOF 14822 cat confdefs.h >>conftest.$ac_ext 14823 cat >>conftest.$ac_ext <<_ACEOF 14824 /* end confdefs.h. */ 14825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14826 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14827 #define $ac_func innocuous_$ac_func 14828 14829 /* System header to define __stub macros and hopefully few prototypes, 14830 which can conflict with char $ac_func (); below. 14831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14832 <limits.h> exists even on freestanding compilers. */ 14833 14834 #ifdef __STDC__ 14835 # include <limits.h> 14836 #else 14837 # include <assert.h> 14838 #endif 14839 14840 #undef $ac_func 14841 14842 /* Override any GCC internal prototype to avoid an error. 14843 Use char because int might match the return type of a GCC 14844 builtin and then its argument prototype would still apply. */ 14845 #ifdef __cplusplus 14846 extern "C" 14847 #endif 14848 char $ac_func (); 14849 /* The GNU C library defines this for functions which it implements 14850 to always fail with ENOSYS. Some functions are actually named 14851 something starting with __ and the normal name is an alias. */ 14852 #if defined __stub_$ac_func || defined __stub___$ac_func 14853 choke me 14854 #endif 14855 14856 int 14857 main () 14858 { 14859 return $ac_func (); 14860 ; 14861 return 0; 14862 } 14863 _ACEOF 14864 rm -f conftest.$ac_objext conftest$ac_exeext 14865 if { (ac_try="$ac_link" 14866 case "(($ac_try" in 14867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14868 *) ac_try_echo=$ac_try;; 14869 esac 14870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14871 $as_echo "$ac_try_echo") >&5 14872 (eval "$ac_link") 2>conftest.er1 14873 ac_status=$? 14874 grep -v '^ *+' conftest.er1 >conftest.err 14875 rm -f conftest.er1 14876 cat conftest.err >&5 14877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14878 (exit $ac_status); } && { 14879 test -z "$ac_cxx_werror_flag" || 14880 test ! -s conftest.err 14881 } && test -s conftest$ac_exeext && { 14882 test "$cross_compiling" = yes || 14883 $as_test_x conftest$ac_exeext 14884 }; then 14885 eval "$as_ac_var=yes" 14886 else 14887 $as_echo "$as_me: failed program was:" >&5 14888 sed 's/^/| /' conftest.$ac_ext >&5 14889 14890 eval "$as_ac_var=no" 14891 fi 14892 14893 rm -rf conftest.dSYM 14894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14895 conftest$ac_exeext conftest.$ac_ext 14896 fi 14897 ac_res=`eval 'as_val=${'$as_ac_var'} 14898 $as_echo "$as_val"'` 14899 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14900 $as_echo "$ac_res" >&6; } 14901 as_val=`eval 'as_val=${'$as_ac_var'} 14902 $as_echo "$as_val"'` 14903 if test "x$as_val" = x""yes; then 8855 14904 cat >>confdefs.h <<_ACEOF 8856 #define HAVE_URL_FOPEN114905 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8857 14906 _ACEOF 8858 14907 … … 8860 14909 done 8861 14910 14911 8862 14912 for ac_func in avio_close 8863 do : 8864 ac_fn_cxx_check_func "$LINENO" "avio_close" "ac_cv_func_avio_close" 8865 if test "x$ac_cv_func_avio_close" = xyes; then : 14913 do 14914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14915 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14916 $as_echo_n "checking for $ac_func... " >&6; } 14917 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14918 $as_echo_n "(cached) " >&6 14919 else 14920 cat >conftest.$ac_ext <<_ACEOF 14921 /* confdefs.h. */ 14922 _ACEOF 14923 cat confdefs.h >>conftest.$ac_ext 14924 cat >>conftest.$ac_ext <<_ACEOF 14925 /* end confdefs.h. */ 14926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14927 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14928 #define $ac_func innocuous_$ac_func 14929 14930 /* System header to define __stub macros and hopefully few prototypes, 14931 which can conflict with char $ac_func (); below. 14932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14933 <limits.h> exists even on freestanding compilers. */ 14934 14935 #ifdef __STDC__ 14936 # include <limits.h> 14937 #else 14938 # include <assert.h> 14939 #endif 14940 14941 #undef $ac_func 14942 14943 /* Override any GCC internal prototype to avoid an error. 14944 Use char because int might match the return type of a GCC 14945 builtin and then its argument prototype would still apply. */ 14946 #ifdef __cplusplus 14947 extern "C" 14948 #endif 14949 char $ac_func (); 14950 /* The GNU C library defines this for functions which it implements 14951 to always fail with ENOSYS. Some functions are actually named 14952 something starting with __ and the normal name is an alias. */ 14953 #if defined __stub_$ac_func || defined __stub___$ac_func 14954 choke me 14955 #endif 14956 14957 int 14958 main () 14959 { 14960 return $ac_func (); 14961 ; 14962 return 0; 14963 } 14964 _ACEOF 14965 rm -f conftest.$ac_objext conftest$ac_exeext 14966 if { (ac_try="$ac_link" 14967 case "(($ac_try" in 14968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14969 *) ac_try_echo=$ac_try;; 14970 esac 14971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14972 $as_echo "$ac_try_echo") >&5 14973 (eval "$ac_link") 2>conftest.er1 14974 ac_status=$? 14975 grep -v '^ *+' conftest.er1 >conftest.err 14976 rm -f conftest.er1 14977 cat conftest.err >&5 14978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14979 (exit $ac_status); } && { 14980 test -z "$ac_cxx_werror_flag" || 14981 test ! -s conftest.err 14982 } && test -s conftest$ac_exeext && { 14983 test "$cross_compiling" = yes || 14984 $as_test_x conftest$ac_exeext 14985 }; then 14986 eval "$as_ac_var=yes" 14987 else 14988 $as_echo "$as_me: failed program was:" >&5 14989 sed 's/^/| /' conftest.$ac_ext >&5 14990 14991 eval "$as_ac_var=no" 14992 fi 14993 14994 rm -rf conftest.dSYM 14995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14996 conftest$ac_exeext conftest.$ac_ext 14997 fi 14998 ac_res=`eval 'as_val=${'$as_ac_var'} 14999 $as_echo "$as_val"'` 15000 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15001 $as_echo "$ac_res" >&6; } 15002 as_val=`eval 'as_val=${'$as_ac_var'} 15003 $as_echo "$as_val"'` 15004 if test "x$as_val" = x""yes; then 8866 15005 cat >>confdefs.h <<_ACEOF 8867 #define HAVE_AVIO_CLOSE115006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8868 15007 _ACEOF 8869 15008 … … 8871 15010 done 8872 15011 15012 8873 15013 for ac_func in url_fclose 8874 do : 8875 ac_fn_cxx_check_func "$LINENO" "url_fclose" "ac_cv_func_url_fclose" 8876 if test "x$ac_cv_func_url_fclose" = xyes; then : 15014 do 15015 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15016 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15017 $as_echo_n "checking for $ac_func... " >&6; } 15018 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15019 $as_echo_n "(cached) " >&6 15020 else 15021 cat >conftest.$ac_ext <<_ACEOF 15022 /* confdefs.h. */ 15023 _ACEOF 15024 cat confdefs.h >>conftest.$ac_ext 15025 cat >>conftest.$ac_ext <<_ACEOF 15026 /* end confdefs.h. */ 15027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 15028 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15029 #define $ac_func innocuous_$ac_func 15030 15031 /* System header to define __stub macros and hopefully few prototypes, 15032 which can conflict with char $ac_func (); below. 15033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15034 <limits.h> exists even on freestanding compilers. */ 15035 15036 #ifdef __STDC__ 15037 # include <limits.h> 15038 #else 15039 # include <assert.h> 15040 #endif 15041 15042 #undef $ac_func 15043 15044 /* Override any GCC internal prototype to avoid an error. 15045 Use char because int might match the return type of a GCC 15046 builtin and then its argument prototype would still apply. */ 15047 #ifdef __cplusplus 15048 extern "C" 15049 #endif 15050 char $ac_func (); 15051 /* The GNU C library defines this for functions which it implements 15052 to always fail with ENOSYS. Some functions are actually named 15053 something starting with __ and the normal name is an alias. */ 15054 #if defined __stub_$ac_func || defined __stub___$ac_func 15055 choke me 15056 #endif 15057 15058 int 15059 main () 15060 { 15061 return $ac_func (); 15062 ; 15063 return 0; 15064 } 15065 _ACEOF 15066 rm -f conftest.$ac_objext conftest$ac_exeext 15067 if { (ac_try="$ac_link" 15068 case "(($ac_try" in 15069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15070 *) ac_try_echo=$ac_try;; 15071 esac 15072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15073 $as_echo "$ac_try_echo") >&5 15074 (eval "$ac_link") 2>conftest.er1 15075 ac_status=$? 15076 grep -v '^ *+' conftest.er1 >conftest.err 15077 rm -f conftest.er1 15078 cat conftest.err >&5 15079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15080 (exit $ac_status); } && { 15081 test -z "$ac_cxx_werror_flag" || 15082 test ! -s conftest.err 15083 } && test -s conftest$ac_exeext && { 15084 test "$cross_compiling" = yes || 15085 $as_test_x conftest$ac_exeext 15086 }; then 15087 eval "$as_ac_var=yes" 15088 else 15089 $as_echo "$as_me: failed program was:" >&5 15090 sed 's/^/| /' conftest.$ac_ext >&5 15091 15092 eval "$as_ac_var=no" 15093 fi 15094 15095 rm -rf conftest.dSYM 15096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15097 conftest$ac_exeext conftest.$ac_ext 15098 fi 15099 ac_res=`eval 'as_val=${'$as_ac_var'} 15100 $as_echo "$as_val"'` 15101 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15102 $as_echo "$ac_res" >&6; } 15103 as_val=`eval 'as_val=${'$as_ac_var'} 15104 $as_echo "$as_val"'` 15105 if test "x$as_val" = x""yes; then 8877 15106 cat >>confdefs.h <<_ACEOF 8878 #define HAVE_URL_FCLOSE115107 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8879 15108 _ACEOF 8880 15109 … … 8882 15111 done 8883 15112 15113 8884 15114 for ac_func in avformat_alloc_context 8885 do : 8886 ac_fn_cxx_check_func "$LINENO" "avformat_alloc_context" "ac_cv_func_avformat_alloc_context" 8887 if test "x$ac_cv_func_avformat_alloc_context" = xyes; then : 15115 do 15116 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15117 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15118 $as_echo_n "checking for $ac_func... " >&6; } 15119 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15120 $as_echo_n "(cached) " >&6 15121 else 15122 cat >conftest.$ac_ext <<_ACEOF 15123 /* confdefs.h. */ 15124 _ACEOF 15125 cat confdefs.h >>conftest.$ac_ext 15126 cat >>conftest.$ac_ext <<_ACEOF 15127 /* end confdefs.h. */ 15128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 15129 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15130 #define $ac_func innocuous_$ac_func 15131 15132 /* System header to define __stub macros and hopefully few prototypes, 15133 which can conflict with char $ac_func (); below. 15134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15135 <limits.h> exists even on freestanding compilers. */ 15136 15137 #ifdef __STDC__ 15138 # include <limits.h> 15139 #else 15140 # include <assert.h> 15141 #endif 15142 15143 #undef $ac_func 15144 15145 /* Override any GCC internal prototype to avoid an error. 15146 Use char because int might match the return type of a GCC 15147 builtin and then its argument prototype would still apply. */ 15148 #ifdef __cplusplus 15149 extern "C" 15150 #endif 15151 char $ac_func (); 15152 /* The GNU C library defines this for functions which it implements 15153 to always fail with ENOSYS. Some functions are actually named 15154 something starting with __ and the normal name is an alias. */ 15155 #if defined __stub_$ac_func || defined __stub___$ac_func 15156 choke me 15157 #endif 15158 15159 int 15160 main () 15161 { 15162 return $ac_func (); 15163 ; 15164 return 0; 15165 } 15166 _ACEOF 15167 rm -f conftest.$ac_objext conftest$ac_exeext 15168 if { (ac_try="$ac_link" 15169 case "(($ac_try" in 15170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15171 *) ac_try_echo=$ac_try;; 15172 esac 15173 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15174 $as_echo "$ac_try_echo") >&5 15175 (eval "$ac_link") 2>conftest.er1 15176 ac_status=$? 15177 grep -v '^ *+' conftest.er1 >conftest.err 15178 rm -f conftest.er1 15179 cat conftest.err >&5 15180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15181 (exit $ac_status); } && { 15182 test -z "$ac_cxx_werror_flag" || 15183 test ! -s conftest.err 15184 } && test -s conftest$ac_exeext && { 15185 test "$cross_compiling" = yes || 15186 $as_test_x conftest$ac_exeext 15187 }; then 15188 eval "$as_ac_var=yes" 15189 else 15190 $as_echo "$as_me: failed program was:" >&5 15191 sed 's/^/| /' conftest.$ac_ext >&5 15192 15193 eval "$as_ac_var=no" 15194 fi 15195 15196 rm -rf conftest.dSYM 15197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15198 conftest$ac_exeext conftest.$ac_ext 15199 fi 15200 ac_res=`eval 'as_val=${'$as_ac_var'} 15201 $as_echo "$as_val"'` 15202 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15203 $as_echo "$ac_res" >&6; } 15204 as_val=`eval 'as_val=${'$as_ac_var'} 15205 $as_echo "$as_val"'` 15206 if test "x$as_val" = x""yes; then 8888 15207 cat >>confdefs.h <<_ACEOF 8889 #define HAVE_AVFORMAT_ALLOC_CONTEXT115208 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8890 15209 _ACEOF 8891 15210 … … 8893 15212 done 8894 15213 15214 8895 15215 for ac_func in av_alloc_format_context 8896 do : 8897 ac_fn_cxx_check_func "$LINENO" "av_alloc_format_context" "ac_cv_func_av_alloc_format_context" 8898 if test "x$ac_cv_func_av_alloc_format_context" = xyes; then : 15216 do 15217 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15218 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15219 $as_echo_n "checking for $ac_func... " >&6; } 15220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15221 $as_echo_n "(cached) " >&6 15222 else 15223 cat >conftest.$ac_ext <<_ACEOF 15224 /* confdefs.h. */ 15225 _ACEOF 15226 cat confdefs.h >>conftest.$ac_ext 15227 cat >>conftest.$ac_ext <<_ACEOF 15228 /* end confdefs.h. */ 15229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 15230 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15231 #define $ac_func innocuous_$ac_func 15232 15233 /* System header to define __stub macros and hopefully few prototypes, 15234 which can conflict with char $ac_func (); below. 15235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15236 <limits.h> exists even on freestanding compilers. */ 15237 15238 #ifdef __STDC__ 15239 # include <limits.h> 15240 #else 15241 # include <assert.h> 15242 #endif 15243 15244 #undef $ac_func 15245 15246 /* Override any GCC internal prototype to avoid an error. 15247 Use char because int might match the return type of a GCC 15248 builtin and then its argument prototype would still apply. */ 15249 #ifdef __cplusplus 15250 extern "C" 15251 #endif 15252 char $ac_func (); 15253 /* The GNU C library defines this for functions which it implements 15254 to always fail with ENOSYS. Some functions are actually named 15255 something starting with __ and the normal name is an alias. */ 15256 #if defined __stub_$ac_func || defined __stub___$ac_func 15257 choke me 15258 #endif 15259 15260 int 15261 main () 15262 { 15263 return $ac_func (); 15264 ; 15265 return 0; 15266 } 15267 _ACEOF 15268 rm -f conftest.$ac_objext conftest$ac_exeext 15269 if { (ac_try="$ac_link" 15270 case "(($ac_try" in 15271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15272 *) ac_try_echo=$ac_try;; 15273 esac 15274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15275 $as_echo "$ac_try_echo") >&5 15276 (eval "$ac_link") 2>conftest.er1 15277 ac_status=$? 15278 grep -v '^ *+' conftest.er1 >conftest.err 15279 rm -f conftest.er1 15280 cat conftest.err >&5 15281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15282 (exit $ac_status); } && { 15283 test -z "$ac_cxx_werror_flag" || 15284 test ! -s conftest.err 15285 } && test -s conftest$ac_exeext && { 15286 test "$cross_compiling" = yes || 15287 $as_test_x conftest$ac_exeext 15288 }; then 15289 eval "$as_ac_var=yes" 15290 else 15291 $as_echo "$as_me: failed program was:" >&5 15292 sed 's/^/| /' conftest.$ac_ext >&5 15293 15294 eval "$as_ac_var=no" 15295 fi 15296 15297 rm -rf conftest.dSYM 15298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15299 conftest$ac_exeext conftest.$ac_ext 15300 fi 15301 ac_res=`eval 'as_val=${'$as_ac_var'} 15302 $as_echo "$as_val"'` 15303 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15304 $as_echo "$ac_res" >&6; } 15305 as_val=`eval 'as_val=${'$as_ac_var'} 15306 $as_echo "$as_val"'` 15307 if test "x$as_val" = x""yes; then 8899 15308 cat >>confdefs.h <<_ACEOF 8900 #define HAVE_AV_ALLOC_FORMAT_CONTEXT115309 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8901 15310 _ACEOF 8902 15311 … … 8904 15313 done 8905 15314 15315 8906 15316 for ac_func in av_set_parameters 8907 do : 8908 ac_fn_cxx_check_func "$LINENO" "av_set_parameters" "ac_cv_func_av_set_parameters" 8909 if test "x$ac_cv_func_av_set_parameters" = xyes; then : 15317 do 15318 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15319 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15320 $as_echo_n "checking for $ac_func... " >&6; } 15321 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15322 $as_echo_n "(cached) " >&6 15323 else 15324 cat >conftest.$ac_ext <<_ACEOF 15325 /* confdefs.h. */ 15326 _ACEOF 15327 cat confdefs.h >>conftest.$ac_ext 15328 cat >>conftest.$ac_ext <<_ACEOF 15329 /* end confdefs.h. */ 15330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 15331 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15332 #define $ac_func innocuous_$ac_func 15333 15334 /* System header to define __stub macros and hopefully few prototypes, 15335 which can conflict with char $ac_func (); below. 15336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15337 <limits.h> exists even on freestanding compilers. */ 15338 15339 #ifdef __STDC__ 15340 # include <limits.h> 15341 #else 15342 # include <assert.h> 15343 #endif 15344 15345 #undef $ac_func 15346 15347 /* Override any GCC internal prototype to avoid an error. 15348 Use char because int might match the return type of a GCC 15349 builtin and then its argument prototype would still apply. */ 15350 #ifdef __cplusplus 15351 extern "C" 15352 #endif 15353 char $ac_func (); 15354 /* The GNU C library defines this for functions which it implements 15355 to always fail with ENOSYS. Some functions are actually named 15356 something starting with __ and the normal name is an alias. */ 15357 #if defined __stub_$ac_func || defined __stub___$ac_func 15358 choke me 15359 #endif 15360 15361 int 15362 main () 15363 { 15364 return $ac_func (); 15365 ; 15366 return 0; 15367 } 15368 _ACEOF 15369 rm -f conftest.$ac_objext conftest$ac_exeext 15370 if { (ac_try="$ac_link" 15371 case "(($ac_try" in 15372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15373 *) ac_try_echo=$ac_try;; 15374 esac 15375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15376 $as_echo "$ac_try_echo") >&5 15377 (eval "$ac_link") 2>conftest.er1 15378 ac_status=$? 15379 grep -v '^ *+' conftest.er1 >conftest.err 15380 rm -f conftest.er1 15381 cat conftest.err >&5 15382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15383 (exit $ac_status); } && { 15384 test -z "$ac_cxx_werror_flag" || 15385 test ! -s conftest.err 15386 } && test -s conftest$ac_exeext && { 15387 test "$cross_compiling" = yes || 15388 $as_test_x conftest$ac_exeext 15389 }; then 15390 eval "$as_ac_var=yes" 15391 else 15392 $as_echo "$as_me: failed program was:" >&5 15393 sed 's/^/| /' conftest.$ac_ext >&5 15394 15395 eval "$as_ac_var=no" 15396 fi 15397 15398 rm -rf conftest.dSYM 15399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15400 conftest$ac_exeext conftest.$ac_ext 15401 fi 15402 ac_res=`eval 'as_val=${'$as_ac_var'} 15403 $as_echo "$as_val"'` 15404 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15405 $as_echo "$ac_res" >&6; } 15406 as_val=`eval 'as_val=${'$as_ac_var'} 15407 $as_echo "$as_val"'` 15408 if test "x$as_val" = x""yes; then 8910 15409 cat >>confdefs.h <<_ACEOF 8911 #define HAVE_AV_SET_PARAMETERS115410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8912 15411 _ACEOF 8913 15412 … … 8915 15414 done 8916 15415 15416 8917 15417 for ac_func in avformat_write_header 8918 do : 8919 ac_fn_cxx_check_func "$LINENO" "avformat_write_header" "ac_cv_func_avformat_write_header" 8920 if test "x$ac_cv_func_avformat_write_header" = xyes; then : 15418 do 15419 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15420 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15421 $as_echo_n "checking for $ac_func... " >&6; } 15422 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15423 $as_echo_n "(cached) " >&6 15424 else 15425 cat >conftest.$ac_ext <<_ACEOF 15426 /* confdefs.h. */ 15427 _ACEOF 15428 cat confdefs.h >>conftest.$ac_ext 15429 cat >>conftest.$ac_ext <<_ACEOF 15430 /* end confdefs.h. */ 15431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 15432 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15433 #define $ac_func innocuous_$ac_func 15434 15435 /* System header to define __stub macros and hopefully few prototypes, 15436 which can conflict with char $ac_func (); below. 15437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15438 <limits.h> exists even on freestanding compilers. */ 15439 15440 #ifdef __STDC__ 15441 # include <limits.h> 15442 #else 15443 # include <assert.h> 15444 #endif 15445 15446 #undef $ac_func 15447 15448 /* Override any GCC internal prototype to avoid an error. 15449 Use char because int might match the return type of a GCC 15450 builtin and then its argument prototype would still apply. */ 15451 #ifdef __cplusplus 15452 extern "C" 15453 #endif 15454 char $ac_func (); 15455 /* The GNU C library defines this for functions which it implements 15456 to always fail with ENOSYS. Some functions are actually named 15457 something starting with __ and the normal name is an alias. */ 15458 #if defined __stub_$ac_func || defined __stub___$ac_func 15459 choke me 15460 #endif 15461 15462 int 15463 main () 15464 { 15465 return $ac_func (); 15466 ; 15467 return 0; 15468 } 15469 _ACEOF 15470 rm -f conftest.$ac_objext conftest$ac_exeext 15471 if { (ac_try="$ac_link" 15472 case "(($ac_try" in 15473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15474 *) ac_try_echo=$ac_try;; 15475 esac 15476 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15477 $as_echo "$ac_try_echo") >&5 15478 (eval "$ac_link") 2>conftest.er1 15479 ac_status=$? 15480 grep -v '^ *+' conftest.er1 >conftest.err 15481 rm -f conftest.er1 15482 cat conftest.err >&5 15483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15484 (exit $ac_status); } && { 15485 test -z "$ac_cxx_werror_flag" || 15486 test ! -s conftest.err 15487 } && test -s conftest$ac_exeext && { 15488 test "$cross_compiling" = yes || 15489 $as_test_x conftest$ac_exeext 15490 }; then 15491 eval "$as_ac_var=yes" 15492 else 15493 $as_echo "$as_me: failed program was:" >&5 15494 sed 's/^/| /' conftest.$ac_ext >&5 15495 15496 eval "$as_ac_var=no" 15497 fi 15498 15499 rm -rf conftest.dSYM 15500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15501 conftest$ac_exeext conftest.$ac_ext 15502 fi 15503 ac_res=`eval 'as_val=${'$as_ac_var'} 15504 $as_echo "$as_val"'` 15505 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15506 $as_echo "$ac_res" >&6; } 15507 as_val=`eval 'as_val=${'$as_ac_var'} 15508 $as_echo "$as_val"'` 15509 if test "x$as_val" = x""yes; then 8921 15510 cat >>confdefs.h <<_ACEOF 8922 #define HAVE_AVFORMAT_WRITE_HEADER115511 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8923 15512 _ACEOF 8924 15513 … … 8926 15515 done 8927 15516 15517 8928 15518 for ac_func in av_write_header 8929 do : 8930 ac_fn_cxx_check_func "$LINENO" "av_write_header" "ac_cv_func_av_write_header" 8931 if test "x$ac_cv_func_av_write_header" = xyes; then : 15519 do 15520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15521 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15522 $as_echo_n "checking for $ac_func... " >&6; } 15523 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15524 $as_echo_n "(cached) " >&6 15525 else 15526 cat >conftest.$ac_ext <<_ACEOF 15527 /* confdefs.h. */ 15528 _ACEOF 15529 cat confdefs.h >>conftest.$ac_ext 15530 cat >>conftest.$ac_ext <<_ACEOF 15531 /* end confdefs.h. */ 15532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 15533 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15534 #define $ac_func innocuous_$ac_func 15535 15536 /* System header to define __stub macros and hopefully few prototypes, 15537 which can conflict with char $ac_func (); below. 15538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15539 <limits.h> exists even on freestanding compilers. */ 15540 15541 #ifdef __STDC__ 15542 # include <limits.h> 15543 #else 15544 # include <assert.h> 15545 #endif 15546 15547 #undef $ac_func 15548 15549 /* Override any GCC internal prototype to avoid an error. 15550 Use char because int might match the return type of a GCC 15551 builtin and then its argument prototype would still apply. */ 15552 #ifdef __cplusplus 15553 extern "C" 15554 #endif 15555 char $ac_func (); 15556 /* The GNU C library defines this for functions which it implements 15557 to always fail with ENOSYS. Some functions are actually named 15558 something starting with __ and the normal name is an alias. */ 15559 #if defined __stub_$ac_func || defined __stub___$ac_func 15560 choke me 15561 #endif 15562 15563 int 15564 main () 15565 { 15566 return $ac_func (); 15567 ; 15568 return 0; 15569 } 15570 _ACEOF 15571 rm -f conftest.$ac_objext conftest$ac_exeext 15572 if { (ac_try="$ac_link" 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_link") 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_exeext && { 15589 test "$cross_compiling" = yes || 15590 $as_test_x conftest$ac_exeext 15591 }; then 15592 eval "$as_ac_var=yes" 15593 else 15594 $as_echo "$as_me: failed program was:" >&5 15595 sed 's/^/| /' conftest.$ac_ext >&5 15596 15597 eval "$as_ac_var=no" 15598 fi 15599 15600 rm -rf conftest.dSYM 15601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15602 conftest$ac_exeext conftest.$ac_ext 15603 fi 15604 ac_res=`eval 'as_val=${'$as_ac_var'} 15605 $as_echo "$as_val"'` 15606 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15607 $as_echo "$ac_res" >&6; } 15608 as_val=`eval 'as_val=${'$as_ac_var'} 15609 $as_echo "$as_val"'` 15610 if test "x$as_val" = x""yes; then 8932 15611 cat >>confdefs.h <<_ACEOF 8933 #define HAVE_AV_WRITE_HEADER115612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8934 15613 _ACEOF 8935 15614 … … 8937 15616 done 8938 15617 8939 ac_fn_cxx_check_func "$LINENO" "av_write_trailer" "ac_cv_func_av_write_trailer" 8940 if test "x$ac_cv_func_av_write_trailer" = xyes; then : 8941 8942 else 8943 as_fn_error $? "oops! no av_write_trailer?!?" "$LINENO" 5 8944 fi 8945 8946 ac_fn_cxx_check_func "$LINENO" "av_freep" "ac_cv_func_av_freep" 8947 if test "x$ac_cv_func_av_freep" = xyes; then : 8948 8949 else 8950 as_fn_error $? "oops! no av_freep ?!?" "$LINENO" 5 8951 fi 8952 8953 ac_fn_cxx_check_func "$LINENO" "av_free" "ac_cv_func_av_free" 8954 if test "x$ac_cv_func_av_free" = xyes; then : 8955 8956 else 8957 as_fn_error $? "oops! no av_free ?!?" "$LINENO" 5 8958 fi 8959 8960 ac_fn_cxx_check_func "$LINENO" "av_new_stream" "ac_cv_func_av_new_stream" 8961 if test "x$ac_cv_func_av_new_stream" = xyes; then : 8962 8963 else 8964 as_fn_error $? "oops! av_new_stream ?!?" "$LINENO" 5 8965 fi 8966 8967 ac_fn_cxx_check_func "$LINENO" "av_malloc" "ac_cv_func_av_malloc" 8968 if test "x$ac_cv_func_av_malloc" = xyes; then : 8969 8970 else 8971 as_fn_error $? "oops! no av_malloc ?!?" "$LINENO" 5 8972 fi 8973 8974 ac_fn_cxx_check_func "$LINENO" "av_init_packet" "ac_cv_func_av_init_packet" 8975 if test "x$ac_cv_func_av_init_packet" = xyes; then : 8976 8977 else 8978 as_fn_error $? "oops! no av_init_packet ?!?" "$LINENO" 5 8979 fi 8980 8981 ac_fn_cxx_check_func "$LINENO" "av_rescale_q" "ac_cv_func_av_rescale_q" 8982 if test "x$ac_cv_func_av_rescale_q" = xyes; then : 8983 8984 else 8985 as_fn_error $? "oops! no av_rescale_q ?!?" "$LINENO" 5 8986 fi 8987 8988 ac_fn_cxx_check_func "$LINENO" "av_write_frame" "ac_cv_func_av_write_frame" 8989 if test "x$ac_cv_func_av_write_frame" = xyes; then : 8990 8991 else 8992 as_fn_error $? "oops! av_write_frame ?!?" "$LINENO" 5 8993 fi 15618 { $as_echo "$as_me:$LINENO: checking for av_write_trailer" >&5 15619 $as_echo_n "checking for av_write_trailer... " >&6; } 15620 if test "${ac_cv_func_av_write_trailer+set}" = set; then 15621 $as_echo_n "(cached) " >&6 15622 else 15623 cat >conftest.$ac_ext <<_ACEOF 15624 /* confdefs.h. */ 15625 _ACEOF 15626 cat confdefs.h >>conftest.$ac_ext 15627 cat >>conftest.$ac_ext <<_ACEOF 15628 /* end confdefs.h. */ 15629 /* Define av_write_trailer to an innocuous variant, in case <limits.h> declares av_write_trailer. 15630 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15631 #define av_write_trailer innocuous_av_write_trailer 15632 15633 /* System header to define __stub macros and hopefully few prototypes, 15634 which can conflict with char av_write_trailer (); below. 15635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15636 <limits.h> exists even on freestanding compilers. */ 15637 15638 #ifdef __STDC__ 15639 # include <limits.h> 15640 #else 15641 # include <assert.h> 15642 #endif 15643 15644 #undef av_write_trailer 15645 15646 /* Override any GCC internal prototype to avoid an error. 15647 Use char because int might match the return type of a GCC 15648 builtin and then its argument prototype would still apply. */ 15649 #ifdef __cplusplus 15650 extern "C" 15651 #endif 15652 char av_write_trailer (); 15653 /* The GNU C library defines this for functions which it implements 15654 to always fail with ENOSYS. Some functions are actually named 15655 something starting with __ and the normal name is an alias. */ 15656 #if defined __stub_av_write_trailer || defined __stub___av_write_trailer 15657 choke me 15658 #endif 15659 15660 int 15661 main () 15662 { 15663 return av_write_trailer (); 15664 ; 15665 return 0; 15666 } 15667 _ACEOF 15668 rm -f conftest.$ac_objext conftest$ac_exeext 15669 if { (ac_try="$ac_link" 15670 case "(($ac_try" in 15671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15672 *) ac_try_echo=$ac_try;; 15673 esac 15674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15675 $as_echo "$ac_try_echo") >&5 15676 (eval "$ac_link") 2>conftest.er1 15677 ac_status=$? 15678 grep -v '^ *+' conftest.er1 >conftest.err 15679 rm -f conftest.er1 15680 cat conftest.err >&5 15681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15682 (exit $ac_status); } && { 15683 test -z "$ac_cxx_werror_flag" || 15684 test ! -s conftest.err 15685 } && test -s conftest$ac_exeext && { 15686 test "$cross_compiling" = yes || 15687 $as_test_x conftest$ac_exeext 15688 }; then 15689 ac_cv_func_av_write_trailer=yes 15690 else 15691 $as_echo "$as_me: failed program was:" >&5 15692 sed 's/^/| /' conftest.$ac_ext >&5 15693 15694 ac_cv_func_av_write_trailer=no 15695 fi 15696 15697 rm -rf conftest.dSYM 15698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15699 conftest$ac_exeext conftest.$ac_ext 15700 fi 15701 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_write_trailer" >&5 15702 $as_echo "$ac_cv_func_av_write_trailer" >&6; } 15703 if test "x$ac_cv_func_av_write_trailer" = x""yes; then 15704 : 15705 else 15706 { { $as_echo "$as_me:$LINENO: error: oops! no av_write_trailer?!?" >&5 15707 $as_echo "$as_me: error: oops! no av_write_trailer?!?" >&2;} 15708 { (exit 1); exit 1; }; } 15709 fi 15710 15711 { $as_echo "$as_me:$LINENO: checking for av_freep" >&5 15712 $as_echo_n "checking for av_freep... " >&6; } 15713 if test "${ac_cv_func_av_freep+set}" = set; then 15714 $as_echo_n "(cached) " >&6 15715 else 15716 cat >conftest.$ac_ext <<_ACEOF 15717 /* confdefs.h. */ 15718 _ACEOF 15719 cat confdefs.h >>conftest.$ac_ext 15720 cat >>conftest.$ac_ext <<_ACEOF 15721 /* end confdefs.h. */ 15722 /* Define av_freep to an innocuous variant, in case <limits.h> declares av_freep. 15723 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15724 #define av_freep innocuous_av_freep 15725 15726 /* System header to define __stub macros and hopefully few prototypes, 15727 which can conflict with char av_freep (); below. 15728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15729 <limits.h> exists even on freestanding compilers. */ 15730 15731 #ifdef __STDC__ 15732 # include <limits.h> 15733 #else 15734 # include <assert.h> 15735 #endif 15736 15737 #undef av_freep 15738 15739 /* Override any GCC internal prototype to avoid an error. 15740 Use char because int might match the return type of a GCC 15741 builtin and then its argument prototype would still apply. */ 15742 #ifdef __cplusplus 15743 extern "C" 15744 #endif 15745 char av_freep (); 15746 /* The GNU C library defines this for functions which it implements 15747 to always fail with ENOSYS. Some functions are actually named 15748 something starting with __ and the normal name is an alias. */ 15749 #if defined __stub_av_freep || defined __stub___av_freep 15750 choke me 15751 #endif 15752 15753 int 15754 main () 15755 { 15756 return av_freep (); 15757 ; 15758 return 0; 15759 } 15760 _ACEOF 15761 rm -f conftest.$ac_objext conftest$ac_exeext 15762 if { (ac_try="$ac_link" 15763 case "(($ac_try" in 15764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15765 *) ac_try_echo=$ac_try;; 15766 esac 15767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15768 $as_echo "$ac_try_echo") >&5 15769 (eval "$ac_link") 2>conftest.er1 15770 ac_status=$? 15771 grep -v '^ *+' conftest.er1 >conftest.err 15772 rm -f conftest.er1 15773 cat conftest.err >&5 15774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15775 (exit $ac_status); } && { 15776 test -z "$ac_cxx_werror_flag" || 15777 test ! -s conftest.err 15778 } && test -s conftest$ac_exeext && { 15779 test "$cross_compiling" = yes || 15780 $as_test_x conftest$ac_exeext 15781 }; then 15782 ac_cv_func_av_freep=yes 15783 else 15784 $as_echo "$as_me: failed program was:" >&5 15785 sed 's/^/| /' conftest.$ac_ext >&5 15786 15787 ac_cv_func_av_freep=no 15788 fi 15789 15790 rm -rf conftest.dSYM 15791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15792 conftest$ac_exeext conftest.$ac_ext 15793 fi 15794 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_freep" >&5 15795 $as_echo "$ac_cv_func_av_freep" >&6; } 15796 if test "x$ac_cv_func_av_freep" = x""yes; then 15797 : 15798 else 15799 { { $as_echo "$as_me:$LINENO: error: oops! no av_freep ?!?" >&5 15800 $as_echo "$as_me: error: oops! no av_freep ?!?" >&2;} 15801 { (exit 1); exit 1; }; } 15802 fi 15803 15804 { $as_echo "$as_me:$LINENO: checking for av_free" >&5 15805 $as_echo_n "checking for av_free... " >&6; } 15806 if test "${ac_cv_func_av_free+set}" = set; then 15807 $as_echo_n "(cached) " >&6 15808 else 15809 cat >conftest.$ac_ext <<_ACEOF 15810 /* confdefs.h. */ 15811 _ACEOF 15812 cat confdefs.h >>conftest.$ac_ext 15813 cat >>conftest.$ac_ext <<_ACEOF 15814 /* end confdefs.h. */ 15815 /* Define av_free to an innocuous variant, in case <limits.h> declares av_free. 15816 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15817 #define av_free innocuous_av_free 15818 15819 /* System header to define __stub macros and hopefully few prototypes, 15820 which can conflict with char av_free (); below. 15821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15822 <limits.h> exists even on freestanding compilers. */ 15823 15824 #ifdef __STDC__ 15825 # include <limits.h> 15826 #else 15827 # include <assert.h> 15828 #endif 15829 15830 #undef av_free 15831 15832 /* Override any GCC internal prototype to avoid an error. 15833 Use char because int might match the return type of a GCC 15834 builtin and then its argument prototype would still apply. */ 15835 #ifdef __cplusplus 15836 extern "C" 15837 #endif 15838 char av_free (); 15839 /* The GNU C library defines this for functions which it implements 15840 to always fail with ENOSYS. Some functions are actually named 15841 something starting with __ and the normal name is an alias. */ 15842 #if defined __stub_av_free || defined __stub___av_free 15843 choke me 15844 #endif 15845 15846 int 15847 main () 15848 { 15849 return av_free (); 15850 ; 15851 return 0; 15852 } 15853 _ACEOF 15854 rm -f conftest.$ac_objext conftest$ac_exeext 15855 if { (ac_try="$ac_link" 15856 case "(($ac_try" in 15857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15858 *) ac_try_echo=$ac_try;; 15859 esac 15860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15861 $as_echo "$ac_try_echo") >&5 15862 (eval "$ac_link") 2>conftest.er1 15863 ac_status=$? 15864 grep -v '^ *+' conftest.er1 >conftest.err 15865 rm -f conftest.er1 15866 cat conftest.err >&5 15867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15868 (exit $ac_status); } && { 15869 test -z "$ac_cxx_werror_flag" || 15870 test ! -s conftest.err 15871 } && test -s conftest$ac_exeext && { 15872 test "$cross_compiling" = yes || 15873 $as_test_x conftest$ac_exeext 15874 }; then 15875 ac_cv_func_av_free=yes 15876 else 15877 $as_echo "$as_me: failed program was:" >&5 15878 sed 's/^/| /' conftest.$ac_ext >&5 15879 15880 ac_cv_func_av_free=no 15881 fi 15882 15883 rm -rf conftest.dSYM 15884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15885 conftest$ac_exeext conftest.$ac_ext 15886 fi 15887 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_free" >&5 15888 $as_echo "$ac_cv_func_av_free" >&6; } 15889 if test "x$ac_cv_func_av_free" = x""yes; then 15890 : 15891 else 15892 { { $as_echo "$as_me:$LINENO: error: oops! no av_free ?!?" >&5 15893 $as_echo "$as_me: error: oops! no av_free ?!?" >&2;} 15894 { (exit 1); exit 1; }; } 15895 fi 15896 15897 { $as_echo "$as_me:$LINENO: checking for av_new_stream" >&5 15898 $as_echo_n "checking for av_new_stream... " >&6; } 15899 if test "${ac_cv_func_av_new_stream+set}" = set; then 15900 $as_echo_n "(cached) " >&6 15901 else 15902 cat >conftest.$ac_ext <<_ACEOF 15903 /* confdefs.h. */ 15904 _ACEOF 15905 cat confdefs.h >>conftest.$ac_ext 15906 cat >>conftest.$ac_ext <<_ACEOF 15907 /* end confdefs.h. */ 15908 /* Define av_new_stream to an innocuous variant, in case <limits.h> declares av_new_stream. 15909 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15910 #define av_new_stream innocuous_av_new_stream 15911 15912 /* System header to define __stub macros and hopefully few prototypes, 15913 which can conflict with char av_new_stream (); below. 15914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15915 <limits.h> exists even on freestanding compilers. */ 15916 15917 #ifdef __STDC__ 15918 # include <limits.h> 15919 #else 15920 # include <assert.h> 15921 #endif 15922 15923 #undef av_new_stream 15924 15925 /* Override any GCC internal prototype to avoid an error. 15926 Use char because int might match the return type of a GCC 15927 builtin and then its argument prototype would still apply. */ 15928 #ifdef __cplusplus 15929 extern "C" 15930 #endif 15931 char av_new_stream (); 15932 /* The GNU C library defines this for functions which it implements 15933 to always fail with ENOSYS. Some functions are actually named 15934 something starting with __ and the normal name is an alias. */ 15935 #if defined __stub_av_new_stream || defined __stub___av_new_stream 15936 choke me 15937 #endif 15938 15939 int 15940 main () 15941 { 15942 return av_new_stream (); 15943 ; 15944 return 0; 15945 } 15946 _ACEOF 15947 rm -f conftest.$ac_objext conftest$ac_exeext 15948 if { (ac_try="$ac_link" 15949 case "(($ac_try" in 15950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15951 *) ac_try_echo=$ac_try;; 15952 esac 15953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15954 $as_echo "$ac_try_echo") >&5 15955 (eval "$ac_link") 2>conftest.er1 15956 ac_status=$? 15957 grep -v '^ *+' conftest.er1 >conftest.err 15958 rm -f conftest.er1 15959 cat conftest.err >&5 15960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15961 (exit $ac_status); } && { 15962 test -z "$ac_cxx_werror_flag" || 15963 test ! -s conftest.err 15964 } && test -s conftest$ac_exeext && { 15965 test "$cross_compiling" = yes || 15966 $as_test_x conftest$ac_exeext 15967 }; then 15968 ac_cv_func_av_new_stream=yes 15969 else 15970 $as_echo "$as_me: failed program was:" >&5 15971 sed 's/^/| /' conftest.$ac_ext >&5 15972 15973 ac_cv_func_av_new_stream=no 15974 fi 15975 15976 rm -rf conftest.dSYM 15977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15978 conftest$ac_exeext conftest.$ac_ext 15979 fi 15980 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_new_stream" >&5 15981 $as_echo "$ac_cv_func_av_new_stream" >&6; } 15982 if test "x$ac_cv_func_av_new_stream" = x""yes; then 15983 : 15984 else 15985 { { $as_echo "$as_me:$LINENO: error: oops! av_new_stream ?!?" >&5 15986 $as_echo "$as_me: error: oops! av_new_stream ?!?" >&2;} 15987 { (exit 1); exit 1; }; } 15988 fi 15989 15990 { $as_echo "$as_me:$LINENO: checking for av_malloc" >&5 15991 $as_echo_n "checking for av_malloc... " >&6; } 15992 if test "${ac_cv_func_av_malloc+set}" = set; then 15993 $as_echo_n "(cached) " >&6 15994 else 15995 cat >conftest.$ac_ext <<_ACEOF 15996 /* confdefs.h. */ 15997 _ACEOF 15998 cat confdefs.h >>conftest.$ac_ext 15999 cat >>conftest.$ac_ext <<_ACEOF 16000 /* end confdefs.h. */ 16001 /* Define av_malloc to an innocuous variant, in case <limits.h> declares av_malloc. 16002 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16003 #define av_malloc innocuous_av_malloc 16004 16005 /* System header to define __stub macros and hopefully few prototypes, 16006 which can conflict with char av_malloc (); below. 16007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16008 <limits.h> exists even on freestanding compilers. */ 16009 16010 #ifdef __STDC__ 16011 # include <limits.h> 16012 #else 16013 # include <assert.h> 16014 #endif 16015 16016 #undef av_malloc 16017 16018 /* Override any GCC internal prototype to avoid an error. 16019 Use char because int might match the return type of a GCC 16020 builtin and then its argument prototype would still apply. */ 16021 #ifdef __cplusplus 16022 extern "C" 16023 #endif 16024 char av_malloc (); 16025 /* The GNU C library defines this for functions which it implements 16026 to always fail with ENOSYS. Some functions are actually named 16027 something starting with __ and the normal name is an alias. */ 16028 #if defined __stub_av_malloc || defined __stub___av_malloc 16029 choke me 16030 #endif 16031 16032 int 16033 main () 16034 { 16035 return av_malloc (); 16036 ; 16037 return 0; 16038 } 16039 _ACEOF 16040 rm -f conftest.$ac_objext conftest$ac_exeext 16041 if { (ac_try="$ac_link" 16042 case "(($ac_try" in 16043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16044 *) ac_try_echo=$ac_try;; 16045 esac 16046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16047 $as_echo "$ac_try_echo") >&5 16048 (eval "$ac_link") 2>conftest.er1 16049 ac_status=$? 16050 grep -v '^ *+' conftest.er1 >conftest.err 16051 rm -f conftest.er1 16052 cat conftest.err >&5 16053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16054 (exit $ac_status); } && { 16055 test -z "$ac_cxx_werror_flag" || 16056 test ! -s conftest.err 16057 } && test -s conftest$ac_exeext && { 16058 test "$cross_compiling" = yes || 16059 $as_test_x conftest$ac_exeext 16060 }; then 16061 ac_cv_func_av_malloc=yes 16062 else 16063 $as_echo "$as_me: failed program was:" >&5 16064 sed 's/^/| /' conftest.$ac_ext >&5 16065 16066 ac_cv_func_av_malloc=no 16067 fi 16068 16069 rm -rf conftest.dSYM 16070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16071 conftest$ac_exeext conftest.$ac_ext 16072 fi 16073 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_malloc" >&5 16074 $as_echo "$ac_cv_func_av_malloc" >&6; } 16075 if test "x$ac_cv_func_av_malloc" = x""yes; then 16076 : 16077 else 16078 { { $as_echo "$as_me:$LINENO: error: oops! no av_malloc ?!?" >&5 16079 $as_echo "$as_me: error: oops! no av_malloc ?!?" >&2;} 16080 { (exit 1); exit 1; }; } 16081 fi 16082 16083 { $as_echo "$as_me:$LINENO: checking for av_init_packet" >&5 16084 $as_echo_n "checking for av_init_packet... " >&6; } 16085 if test "${ac_cv_func_av_init_packet+set}" = set; then 16086 $as_echo_n "(cached) " >&6 16087 else 16088 cat >conftest.$ac_ext <<_ACEOF 16089 /* confdefs.h. */ 16090 _ACEOF 16091 cat confdefs.h >>conftest.$ac_ext 16092 cat >>conftest.$ac_ext <<_ACEOF 16093 /* end confdefs.h. */ 16094 /* Define av_init_packet to an innocuous variant, in case <limits.h> declares av_init_packet. 16095 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16096 #define av_init_packet innocuous_av_init_packet 16097 16098 /* System header to define __stub macros and hopefully few prototypes, 16099 which can conflict with char av_init_packet (); below. 16100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16101 <limits.h> exists even on freestanding compilers. */ 16102 16103 #ifdef __STDC__ 16104 # include <limits.h> 16105 #else 16106 # include <assert.h> 16107 #endif 16108 16109 #undef av_init_packet 16110 16111 /* Override any GCC internal prototype to avoid an error. 16112 Use char because int might match the return type of a GCC 16113 builtin and then its argument prototype would still apply. */ 16114 #ifdef __cplusplus 16115 extern "C" 16116 #endif 16117 char av_init_packet (); 16118 /* The GNU C library defines this for functions which it implements 16119 to always fail with ENOSYS. Some functions are actually named 16120 something starting with __ and the normal name is an alias. */ 16121 #if defined __stub_av_init_packet || defined __stub___av_init_packet 16122 choke me 16123 #endif 16124 16125 int 16126 main () 16127 { 16128 return av_init_packet (); 16129 ; 16130 return 0; 16131 } 16132 _ACEOF 16133 rm -f conftest.$ac_objext conftest$ac_exeext 16134 if { (ac_try="$ac_link" 16135 case "(($ac_try" in 16136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16137 *) ac_try_echo=$ac_try;; 16138 esac 16139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16140 $as_echo "$ac_try_echo") >&5 16141 (eval "$ac_link") 2>conftest.er1 16142 ac_status=$? 16143 grep -v '^ *+' conftest.er1 >conftest.err 16144 rm -f conftest.er1 16145 cat conftest.err >&5 16146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16147 (exit $ac_status); } && { 16148 test -z "$ac_cxx_werror_flag" || 16149 test ! -s conftest.err 16150 } && test -s conftest$ac_exeext && { 16151 test "$cross_compiling" = yes || 16152 $as_test_x conftest$ac_exeext 16153 }; then 16154 ac_cv_func_av_init_packet=yes 16155 else 16156 $as_echo "$as_me: failed program was:" >&5 16157 sed 's/^/| /' conftest.$ac_ext >&5 16158 16159 ac_cv_func_av_init_packet=no 16160 fi 16161 16162 rm -rf conftest.dSYM 16163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16164 conftest$ac_exeext conftest.$ac_ext 16165 fi 16166 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_init_packet" >&5 16167 $as_echo "$ac_cv_func_av_init_packet" >&6; } 16168 if test "x$ac_cv_func_av_init_packet" = x""yes; then 16169 : 16170 else 16171 { { $as_echo "$as_me:$LINENO: error: oops! no av_init_packet ?!?" >&5 16172 $as_echo "$as_me: error: oops! no av_init_packet ?!?" >&2;} 16173 { (exit 1); exit 1; }; } 16174 fi 16175 16176 { $as_echo "$as_me:$LINENO: checking for av_rescale_q" >&5 16177 $as_echo_n "checking for av_rescale_q... " >&6; } 16178 if test "${ac_cv_func_av_rescale_q+set}" = set; then 16179 $as_echo_n "(cached) " >&6 16180 else 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 /* Define av_rescale_q to an innocuous variant, in case <limits.h> declares av_rescale_q. 16188 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16189 #define av_rescale_q innocuous_av_rescale_q 16190 16191 /* System header to define __stub macros and hopefully few prototypes, 16192 which can conflict with char av_rescale_q (); below. 16193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16194 <limits.h> exists even on freestanding compilers. */ 16195 16196 #ifdef __STDC__ 16197 # include <limits.h> 16198 #else 16199 # include <assert.h> 16200 #endif 16201 16202 #undef av_rescale_q 16203 16204 /* Override any GCC internal prototype to avoid an error. 16205 Use char because int might match the return type of a GCC 16206 builtin and then its argument prototype would still apply. */ 16207 #ifdef __cplusplus 16208 extern "C" 16209 #endif 16210 char av_rescale_q (); 16211 /* The GNU C library defines this for functions which it implements 16212 to always fail with ENOSYS. Some functions are actually named 16213 something starting with __ and the normal name is an alias. */ 16214 #if defined __stub_av_rescale_q || defined __stub___av_rescale_q 16215 choke me 16216 #endif 16217 16218 int 16219 main () 16220 { 16221 return av_rescale_q (); 16222 ; 16223 return 0; 16224 } 16225 _ACEOF 16226 rm -f conftest.$ac_objext conftest$ac_exeext 16227 if { (ac_try="$ac_link" 16228 case "(($ac_try" in 16229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16230 *) ac_try_echo=$ac_try;; 16231 esac 16232 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16233 $as_echo "$ac_try_echo") >&5 16234 (eval "$ac_link") 2>conftest.er1 16235 ac_status=$? 16236 grep -v '^ *+' conftest.er1 >conftest.err 16237 rm -f conftest.er1 16238 cat conftest.err >&5 16239 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16240 (exit $ac_status); } && { 16241 test -z "$ac_cxx_werror_flag" || 16242 test ! -s conftest.err 16243 } && test -s conftest$ac_exeext && { 16244 test "$cross_compiling" = yes || 16245 $as_test_x conftest$ac_exeext 16246 }; then 16247 ac_cv_func_av_rescale_q=yes 16248 else 16249 $as_echo "$as_me: failed program was:" >&5 16250 sed 's/^/| /' conftest.$ac_ext >&5 16251 16252 ac_cv_func_av_rescale_q=no 16253 fi 16254 16255 rm -rf conftest.dSYM 16256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16257 conftest$ac_exeext conftest.$ac_ext 16258 fi 16259 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_rescale_q" >&5 16260 $as_echo "$ac_cv_func_av_rescale_q" >&6; } 16261 if test "x$ac_cv_func_av_rescale_q" = x""yes; then 16262 : 16263 else 16264 { { $as_echo "$as_me:$LINENO: error: oops! no av_rescale_q ?!?" >&5 16265 $as_echo "$as_me: error: oops! no av_rescale_q ?!?" >&2;} 16266 { (exit 1); exit 1; }; } 16267 fi 16268 16269 { $as_echo "$as_me:$LINENO: checking for av_write_frame" >&5 16270 $as_echo_n "checking for av_write_frame... " >&6; } 16271 if test "${ac_cv_func_av_write_frame+set}" = set; then 16272 $as_echo_n "(cached) " >&6 16273 else 16274 cat >conftest.$ac_ext <<_ACEOF 16275 /* confdefs.h. */ 16276 _ACEOF 16277 cat confdefs.h >>conftest.$ac_ext 16278 cat >>conftest.$ac_ext <<_ACEOF 16279 /* end confdefs.h. */ 16280 /* Define av_write_frame to an innocuous variant, in case <limits.h> declares av_write_frame. 16281 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16282 #define av_write_frame innocuous_av_write_frame 16283 16284 /* System header to define __stub macros and hopefully few prototypes, 16285 which can conflict with char av_write_frame (); below. 16286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16287 <limits.h> exists even on freestanding compilers. */ 16288 16289 #ifdef __STDC__ 16290 # include <limits.h> 16291 #else 16292 # include <assert.h> 16293 #endif 16294 16295 #undef av_write_frame 16296 16297 /* Override any GCC internal prototype to avoid an error. 16298 Use char because int might match the return type of a GCC 16299 builtin and then its argument prototype would still apply. */ 16300 #ifdef __cplusplus 16301 extern "C" 16302 #endif 16303 char av_write_frame (); 16304 /* The GNU C library defines this for functions which it implements 16305 to always fail with ENOSYS. Some functions are actually named 16306 something starting with __ and the normal name is an alias. */ 16307 #if defined __stub_av_write_frame || defined __stub___av_write_frame 16308 choke me 16309 #endif 16310 16311 int 16312 main () 16313 { 16314 return av_write_frame (); 16315 ; 16316 return 0; 16317 } 16318 _ACEOF 16319 rm -f conftest.$ac_objext conftest$ac_exeext 16320 if { (ac_try="$ac_link" 16321 case "(($ac_try" in 16322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16323 *) ac_try_echo=$ac_try;; 16324 esac 16325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16326 $as_echo "$ac_try_echo") >&5 16327 (eval "$ac_link") 2>conftest.er1 16328 ac_status=$? 16329 grep -v '^ *+' conftest.er1 >conftest.err 16330 rm -f conftest.er1 16331 cat conftest.err >&5 16332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16333 (exit $ac_status); } && { 16334 test -z "$ac_cxx_werror_flag" || 16335 test ! -s conftest.err 16336 } && test -s conftest$ac_exeext && { 16337 test "$cross_compiling" = yes || 16338 $as_test_x conftest$ac_exeext 16339 }; then 16340 ac_cv_func_av_write_frame=yes 16341 else 16342 $as_echo "$as_me: failed program was:" >&5 16343 sed 's/^/| /' conftest.$ac_ext >&5 16344 16345 ac_cv_func_av_write_frame=no 16346 fi 16347 16348 rm -rf conftest.dSYM 16349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16350 conftest$ac_exeext conftest.$ac_ext 16351 fi 16352 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_write_frame" >&5 16353 $as_echo "$ac_cv_func_av_write_frame" >&6; } 16354 if test "x$ac_cv_func_av_write_frame" = x""yes; then 16355 : 16356 else 16357 { { $as_echo "$as_me:$LINENO: error: oops! av_write_frame ?!?" >&5 16358 $as_echo "$as_me: error: oops! av_write_frame ?!?" >&2;} 16359 { (exit 1); exit 1; }; } 16360 fi 16361 8994 16362 8995 16363 for ac_func in img_convert 8996 do : 8997 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 8998 if test "x$ac_cv_func_img_convert" = xyes; then : 16364 do 16365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16366 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 16367 $as_echo_n "checking for $ac_func... " >&6; } 16368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16369 $as_echo_n "(cached) " >&6 16370 else 16371 cat >conftest.$ac_ext <<_ACEOF 16372 /* confdefs.h. */ 16373 _ACEOF 16374 cat confdefs.h >>conftest.$ac_ext 16375 cat >>conftest.$ac_ext <<_ACEOF 16376 /* end confdefs.h. */ 16377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16378 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16379 #define $ac_func innocuous_$ac_func 16380 16381 /* System header to define __stub macros and hopefully few prototypes, 16382 which can conflict with char $ac_func (); below. 16383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16384 <limits.h> exists even on freestanding compilers. */ 16385 16386 #ifdef __STDC__ 16387 # include <limits.h> 16388 #else 16389 # include <assert.h> 16390 #endif 16391 16392 #undef $ac_func 16393 16394 /* Override any GCC internal prototype to avoid an error. 16395 Use char because int might match the return type of a GCC 16396 builtin and then its argument prototype would still apply. */ 16397 #ifdef __cplusplus 16398 extern "C" 16399 #endif 16400 char $ac_func (); 16401 /* The GNU C library defines this for functions which it implements 16402 to always fail with ENOSYS. Some functions are actually named 16403 something starting with __ and the normal name is an alias. */ 16404 #if defined __stub_$ac_func || defined __stub___$ac_func 16405 choke me 16406 #endif 16407 16408 int 16409 main () 16410 { 16411 return $ac_func (); 16412 ; 16413 return 0; 16414 } 16415 _ACEOF 16416 rm -f conftest.$ac_objext conftest$ac_exeext 16417 if { (ac_try="$ac_link" 16418 case "(($ac_try" in 16419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16420 *) ac_try_echo=$ac_try;; 16421 esac 16422 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16423 $as_echo "$ac_try_echo") >&5 16424 (eval "$ac_link") 2>conftest.er1 16425 ac_status=$? 16426 grep -v '^ *+' conftest.er1 >conftest.err 16427 rm -f conftest.er1 16428 cat conftest.err >&5 16429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16430 (exit $ac_status); } && { 16431 test -z "$ac_cxx_werror_flag" || 16432 test ! -s conftest.err 16433 } && test -s conftest$ac_exeext && { 16434 test "$cross_compiling" = yes || 16435 $as_test_x conftest$ac_exeext 16436 }; then 16437 eval "$as_ac_var=yes" 16438 else 16439 $as_echo "$as_me: failed program was:" >&5 16440 sed 's/^/| /' conftest.$ac_ext >&5 16441 16442 eval "$as_ac_var=no" 16443 fi 16444 16445 rm -rf conftest.dSYM 16446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16447 conftest$ac_exeext conftest.$ac_ext 16448 fi 16449 ac_res=`eval 'as_val=${'$as_ac_var'} 16450 $as_echo "$as_val"'` 16451 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16452 $as_echo "$ac_res" >&6; } 16453 as_val=`eval 'as_val=${'$as_ac_var'} 16454 $as_echo "$as_val"'` 16455 if test "x$as_val" = x""yes; then 8999 16456 cat >>confdefs.h <<_ACEOF 9000 #define HAVE_IMG_CONVERT116457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9001 16458 _ACEOF 9002 16459 … … 9004 16461 done 9005 16462 16463 9006 16464 for ac_func in sws_scale 9007 do : 9008 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale" 9009 if test "x$ac_cv_func_sws_scale" = xyes; then : 16465 do 16466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16467 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 16468 $as_echo_n "checking for $ac_func... " >&6; } 16469 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16470 $as_echo_n "(cached) " >&6 16471 else 16472 cat >conftest.$ac_ext <<_ACEOF 16473 /* confdefs.h. */ 16474 _ACEOF 16475 cat confdefs.h >>conftest.$ac_ext 16476 cat >>conftest.$ac_ext <<_ACEOF 16477 /* end confdefs.h. */ 16478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16479 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16480 #define $ac_func innocuous_$ac_func 16481 16482 /* System header to define __stub macros and hopefully few prototypes, 16483 which can conflict with char $ac_func (); below. 16484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16485 <limits.h> exists even on freestanding compilers. */ 16486 16487 #ifdef __STDC__ 16488 # include <limits.h> 16489 #else 16490 # include <assert.h> 16491 #endif 16492 16493 #undef $ac_func 16494 16495 /* Override any GCC internal prototype to avoid an error. 16496 Use char because int might match the return type of a GCC 16497 builtin and then its argument prototype would still apply. */ 16498 #ifdef __cplusplus 16499 extern "C" 16500 #endif 16501 char $ac_func (); 16502 /* The GNU C library defines this for functions which it implements 16503 to always fail with ENOSYS. Some functions are actually named 16504 something starting with __ and the normal name is an alias. */ 16505 #if defined __stub_$ac_func || defined __stub___$ac_func 16506 choke me 16507 #endif 16508 16509 int 16510 main () 16511 { 16512 return $ac_func (); 16513 ; 16514 return 0; 16515 } 16516 _ACEOF 16517 rm -f conftest.$ac_objext conftest$ac_exeext 16518 if { (ac_try="$ac_link" 16519 case "(($ac_try" in 16520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16521 *) ac_try_echo=$ac_try;; 16522 esac 16523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16524 $as_echo "$ac_try_echo") >&5 16525 (eval "$ac_link") 2>conftest.er1 16526 ac_status=$? 16527 grep -v '^ *+' conftest.er1 >conftest.err 16528 rm -f conftest.er1 16529 cat conftest.err >&5 16530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16531 (exit $ac_status); } && { 16532 test -z "$ac_cxx_werror_flag" || 16533 test ! -s conftest.err 16534 } && test -s conftest$ac_exeext && { 16535 test "$cross_compiling" = yes || 16536 $as_test_x conftest$ac_exeext 16537 }; then 16538 eval "$as_ac_var=yes" 16539 else 16540 $as_echo "$as_me: failed program was:" >&5 16541 sed 's/^/| /' conftest.$ac_ext >&5 16542 16543 eval "$as_ac_var=no" 16544 fi 16545 16546 rm -rf conftest.dSYM 16547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16548 conftest$ac_exeext conftest.$ac_ext 16549 fi 16550 ac_res=`eval 'as_val=${'$as_ac_var'} 16551 $as_echo "$as_val"'` 16552 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16553 $as_echo "$ac_res" >&6; } 16554 as_val=`eval 'as_val=${'$as_ac_var'} 16555 $as_echo "$as_val"'` 16556 if test "x$as_val" = x""yes; then 9010 16557 cat >>confdefs.h <<_ACEOF 9011 #define HAVE_SWS_SCALE116558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9012 16559 _ACEOF 9013 16560 … … 9015 16562 done 9016 16563 9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16564 cat >conftest.$ac_ext <<_ACEOF 16565 /* confdefs.h. */ 16566 _ACEOF 16567 cat confdefs.h >>conftest.$ac_ext 16568 cat >>conftest.$ac_ext <<_ACEOF 9018 16569 /* end confdefs.h. */ 9019 16570 … … 9036 16587 } 9037 16588 _ACEOF 9038 if ac_fn_cxx_try_compile "$LINENO"; then : 16589 rm -f conftest.$ac_objext 16590 if { (ac_try="$ac_compile" 16591 case "(($ac_try" in 16592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16593 *) ac_try_echo=$ac_try;; 16594 esac 16595 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16596 $as_echo "$ac_try_echo") >&5 16597 (eval "$ac_compile") 2>conftest.er1 16598 ac_status=$? 16599 grep -v '^ *+' conftest.er1 >conftest.err 16600 rm -f conftest.er1 16601 cat conftest.err >&5 16602 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16603 (exit $ac_status); } && { 16604 test -z "$ac_cxx_werror_flag" || 16605 test ! -s conftest.err 16606 } && test -s conftest.$ac_objext; then 9039 16607 ac_avmedia_type_video="yes" 9040 16608 else 9041 ac_avmedia_type_video="no" 9042 fi 16609 $as_echo "$as_me: failed program was:" >&5 16610 sed 's/^/| /' conftest.$ac_ext >&5 16611 16612 ac_avmedia_type_video="no" 16613 fi 16614 9043 16615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9044 16616 if test "$ac_avmedia_type_video" == "yes" ; then 9045 16617 9046 $as_echo "#define HAVE_AVMEDIA_TYPE_VIDEO 1" >>confdefs.h 9047 9048 fi 9049 9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_alloc_frame in -lavcodec" >&5 16618 cat >>confdefs.h <<\_ACEOF 16619 #define HAVE_AVMEDIA_TYPE_VIDEO 1 16620 _ACEOF 16621 16622 fi 16623 16624 16625 { $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame in -lavcodec" >&5 9051 16626 $as_echo_n "checking for avcodec_alloc_frame in -lavcodec... " >&6; } 9052 if ${ac_cv_lib_avcodec_avcodec_alloc_frame+:} false; then :16627 if test "${ac_cv_lib_avcodec_avcodec_alloc_frame+set}" = set; then 9053 16628 $as_echo_n "(cached) " >&6 9054 16629 else 9055 16630 ac_check_lib_save_LIBS=$LIBS 9056 16631 LIBS="-lavcodec $LIBS" 9057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16632 cat >conftest.$ac_ext <<_ACEOF 16633 /* confdefs.h. */ 16634 _ACEOF 16635 cat confdefs.h >>conftest.$ac_ext 16636 cat >>conftest.$ac_ext <<_ACEOF 9058 16637 /* end confdefs.h. */ 9059 16638 … … 9073 16652 } 9074 16653 _ACEOF 9075 if ac_fn_cxx_try_link "$LINENO"; then : 16654 rm -f conftest.$ac_objext conftest$ac_exeext 16655 if { (ac_try="$ac_link" 16656 case "(($ac_try" in 16657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16658 *) ac_try_echo=$ac_try;; 16659 esac 16660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16661 $as_echo "$ac_try_echo") >&5 16662 (eval "$ac_link") 2>conftest.er1 16663 ac_status=$? 16664 grep -v '^ *+' conftest.er1 >conftest.err 16665 rm -f conftest.er1 16666 cat conftest.err >&5 16667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16668 (exit $ac_status); } && { 16669 test -z "$ac_cxx_werror_flag" || 16670 test ! -s conftest.err 16671 } && test -s conftest$ac_exeext && { 16672 test "$cross_compiling" = yes || 16673 $as_test_x conftest$ac_exeext 16674 }; then 9076 16675 ac_cv_lib_avcodec_avcodec_alloc_frame=yes 9077 16676 else 9078 ac_cv_lib_avcodec_avcodec_alloc_frame=no 9079 fi 9080 rm -f core conftest.err conftest.$ac_objext \ 9081 conftest$ac_exeext conftest.$ac_ext 16677 $as_echo "$as_me: failed program was:" >&5 16678 sed 's/^/| /' conftest.$ac_ext >&5 16679 16680 ac_cv_lib_avcodec_avcodec_alloc_frame=no 16681 fi 16682 16683 rm -rf conftest.dSYM 16684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16685 conftest$ac_exeext conftest.$ac_ext 9082 16686 LIBS=$ac_check_lib_save_LIBS 9083 16687 fi 9084 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&516688 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5 9085 16689 $as_echo "$ac_cv_lib_avcodec_avcodec_alloc_frame" >&6; } 9086 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x yes; then :16690 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x""yes; then 9087 16691 cat >>confdefs.h <<_ACEOF 9088 16692 #define HAVE_LIBAVCODEC 1 … … 9094 16698 9095 16699 # Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found 9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avformat_alloc_context in -lavformat" >&5 16700 16701 { $as_echo "$as_me:$LINENO: checking for avformat_alloc_context in -lavformat" >&5 9097 16702 $as_echo_n "checking for avformat_alloc_context in -lavformat... " >&6; } 9098 if ${ac_cv_lib_avformat_avformat_alloc_context+:} false; then :16703 if test "${ac_cv_lib_avformat_avformat_alloc_context+set}" = set; then 9099 16704 $as_echo_n "(cached) " >&6 9100 16705 else 9101 16706 ac_check_lib_save_LIBS=$LIBS 9102 16707 LIBS="-lavformat $LIBS" 9103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16708 cat >conftest.$ac_ext <<_ACEOF 16709 /* confdefs.h. */ 16710 _ACEOF 16711 cat confdefs.h >>conftest.$ac_ext 16712 cat >>conftest.$ac_ext <<_ACEOF 9104 16713 /* end confdefs.h. */ 9105 16714 … … 9119 16728 } 9120 16729 _ACEOF 9121 if ac_fn_cxx_try_link "$LINENO"; then : 16730 rm -f conftest.$ac_objext conftest$ac_exeext 16731 if { (ac_try="$ac_link" 16732 case "(($ac_try" in 16733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16734 *) ac_try_echo=$ac_try;; 16735 esac 16736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16737 $as_echo "$ac_try_echo") >&5 16738 (eval "$ac_link") 2>conftest.er1 16739 ac_status=$? 16740 grep -v '^ *+' conftest.er1 >conftest.err 16741 rm -f conftest.er1 16742 cat conftest.err >&5 16743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16744 (exit $ac_status); } && { 16745 test -z "$ac_cxx_werror_flag" || 16746 test ! -s conftest.err 16747 } && test -s conftest$ac_exeext && { 16748 test "$cross_compiling" = yes || 16749 $as_test_x conftest$ac_exeext 16750 }; then 9122 16751 ac_cv_lib_avformat_avformat_alloc_context=yes 9123 16752 else 9124 ac_cv_lib_avformat_avformat_alloc_context=no 9125 fi 9126 rm -f core conftest.err conftest.$ac_objext \ 9127 conftest$ac_exeext conftest.$ac_ext 16753 $as_echo "$as_me: failed program was:" >&5 16754 sed 's/^/| /' conftest.$ac_ext >&5 16755 16756 ac_cv_lib_avformat_avformat_alloc_context=no 16757 fi 16758 16759 rm -rf conftest.dSYM 16760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16761 conftest$ac_exeext conftest.$ac_ext 9128 16762 LIBS=$ac_check_lib_save_LIBS 9129 16763 fi 9130 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avformat_avformat_alloc_context" >&516764 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5 9131 16765 $as_echo "$ac_cv_lib_avformat_avformat_alloc_context" >&6; } 9132 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x yes; then :16766 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x""yes; then 9133 16767 cat >>confdefs.h <<_ACEOF 9134 16768 #define HAVE_LIBAVFORMAT 1 … … 9138 16772 9139 16773 else 9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_alloc_format_context in -lavformat" >&5 16774 16775 { $as_echo "$as_me:$LINENO: checking for av_alloc_format_context in -lavformat" >&5 9141 16776 $as_echo_n "checking for av_alloc_format_context in -lavformat... " >&6; } 9142 if ${ac_cv_lib_avformat_av_alloc_format_context+:} false; then :16777 if test "${ac_cv_lib_avformat_av_alloc_format_context+set}" = set; then 9143 16778 $as_echo_n "(cached) " >&6 9144 16779 else 9145 16780 ac_check_lib_save_LIBS=$LIBS 9146 16781 LIBS="-lavformat $LIBS" 9147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16782 cat >conftest.$ac_ext <<_ACEOF 16783 /* confdefs.h. */ 16784 _ACEOF 16785 cat confdefs.h >>conftest.$ac_ext 16786 cat >>conftest.$ac_ext <<_ACEOF 9148 16787 /* end confdefs.h. */ 9149 16788 … … 9163 16802 } 9164 16803 _ACEOF 9165 if ac_fn_cxx_try_link "$LINENO"; then : 16804 rm -f conftest.$ac_objext conftest$ac_exeext 16805 if { (ac_try="$ac_link" 16806 case "(($ac_try" in 16807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16808 *) ac_try_echo=$ac_try;; 16809 esac 16810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16811 $as_echo "$ac_try_echo") >&5 16812 (eval "$ac_link") 2>conftest.er1 16813 ac_status=$? 16814 grep -v '^ *+' conftest.er1 >conftest.err 16815 rm -f conftest.er1 16816 cat conftest.err >&5 16817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16818 (exit $ac_status); } && { 16819 test -z "$ac_cxx_werror_flag" || 16820 test ! -s conftest.err 16821 } && test -s conftest$ac_exeext && { 16822 test "$cross_compiling" = yes || 16823 $as_test_x conftest$ac_exeext 16824 }; then 9166 16825 ac_cv_lib_avformat_av_alloc_format_context=yes 9167 16826 else 9168 ac_cv_lib_avformat_av_alloc_format_context=no 9169 fi 9170 rm -f core conftest.err conftest.$ac_objext \ 9171 conftest$ac_exeext conftest.$ac_ext 16827 $as_echo "$as_me: failed program was:" >&5 16828 sed 's/^/| /' conftest.$ac_ext >&5 16829 16830 ac_cv_lib_avformat_av_alloc_format_context=no 16831 fi 16832 16833 rm -rf conftest.dSYM 16834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16835 conftest$ac_exeext conftest.$ac_ext 9172 16836 LIBS=$ac_check_lib_save_LIBS 9173 16837 fi 9174 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_alloc_format_context" >&516838 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_alloc_format_context" >&5 9175 16839 $as_echo "$ac_cv_lib_avformat_av_alloc_format_context" >&6; } 9176 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = x yes; then :16840 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = x""yes; then 9177 16841 cat >>confdefs.h <<_ACEOF 9178 16842 #define HAVE_LIBAVFORMAT 1 … … 9182 16846 9183 16847 else 9184 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: libavformat not usable" >&516848 { $as_echo "$as_me:$LINENO: WARNING: libavformat not usable" >&5 9185 16849 $as_echo "$as_me: WARNING: libavformat not usable" >&2;} 9186 16850 fi … … 9190 16854 9191 16855 9192 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for nVidia Cg installation" >&516856 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5 9193 16857 $as_echo_n "checking for nVidia Cg installation... " >&6; } 9194 16858 CG_DIR="" … … 9203 16867 fi 9204 16868 done 9205 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: ${CG_DIR}" >&516869 { $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5 9206 16870 $as_echo "${CG_DIR}" >&6; } 9207 16871 … … 9210 16874 save_CPPFLAGS=$CPPFLAGS 9211 16875 CPPFLAGS="${CG_INC_SPEC} $CPPFLAGS" 16876 9212 16877 for ac_header in Cg/cgGL.h 9213 do : 9214 ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default" 9215 if test "x$ac_cv_header_Cg_cgGL_h" = xyes; then : 16878 do 16879 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16881 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16882 $as_echo_n "checking for $ac_header... " >&6; } 16883 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16884 $as_echo_n "(cached) " >&6 16885 fi 16886 ac_res=`eval 'as_val=${'$as_ac_Header'} 16887 $as_echo "$as_val"'` 16888 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16889 $as_echo "$ac_res" >&6; } 16890 else 16891 # Is the header compilable? 16892 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 16893 $as_echo_n "checking $ac_header usability... " >&6; } 16894 cat >conftest.$ac_ext <<_ACEOF 16895 /* confdefs.h. */ 16896 _ACEOF 16897 cat confdefs.h >>conftest.$ac_ext 16898 cat >>conftest.$ac_ext <<_ACEOF 16899 /* end confdefs.h. */ 16900 $ac_includes_default 16901 #include <$ac_header> 16902 _ACEOF 16903 rm -f conftest.$ac_objext 16904 if { (ac_try="$ac_compile" 16905 case "(($ac_try" in 16906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16907 *) ac_try_echo=$ac_try;; 16908 esac 16909 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16910 $as_echo "$ac_try_echo") >&5 16911 (eval "$ac_compile") 2>conftest.er1 16912 ac_status=$? 16913 grep -v '^ *+' conftest.er1 >conftest.err 16914 rm -f conftest.er1 16915 cat conftest.err >&5 16916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16917 (exit $ac_status); } && { 16918 test -z "$ac_cxx_werror_flag" || 16919 test ! -s conftest.err 16920 } && test -s conftest.$ac_objext; then 16921 ac_header_compiler=yes 16922 else 16923 $as_echo "$as_me: failed program was:" >&5 16924 sed 's/^/| /' conftest.$ac_ext >&5 16925 16926 ac_header_compiler=no 16927 fi 16928 16929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16930 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16931 $as_echo "$ac_header_compiler" >&6; } 16932 16933 # Is the header present? 16934 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 16935 $as_echo_n "checking $ac_header presence... " >&6; } 16936 cat >conftest.$ac_ext <<_ACEOF 16937 /* confdefs.h. */ 16938 _ACEOF 16939 cat confdefs.h >>conftest.$ac_ext 16940 cat >>conftest.$ac_ext <<_ACEOF 16941 /* end confdefs.h. */ 16942 #include <$ac_header> 16943 _ACEOF 16944 if { (ac_try="$ac_cpp conftest.$ac_ext" 16945 case "(($ac_try" in 16946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16947 *) ac_try_echo=$ac_try;; 16948 esac 16949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16950 $as_echo "$ac_try_echo") >&5 16951 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 16952 ac_status=$? 16953 grep -v '^ *+' conftest.er1 >conftest.err 16954 rm -f conftest.er1 16955 cat conftest.err >&5 16956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16957 (exit $ac_status); } >/dev/null && { 16958 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 16959 test ! -s conftest.err 16960 }; then 16961 ac_header_preproc=yes 16962 else 16963 $as_echo "$as_me: failed program was:" >&5 16964 sed 's/^/| /' conftest.$ac_ext >&5 16965 16966 ac_header_preproc=no 16967 fi 16968 16969 rm -f conftest.err conftest.$ac_ext 16970 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16971 $as_echo "$ac_header_preproc" >&6; } 16972 16973 # So? What about this header? 16974 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 16975 yes:no: ) 16976 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 16977 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 16978 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 16979 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 16980 ac_header_preproc=yes 16981 ;; 16982 no:yes:* ) 16983 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 16984 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 16985 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 16986 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 16987 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 16988 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 16989 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 16990 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 16991 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 16992 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 16993 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 16994 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 16995 ( cat <<\_ASBOX 16996 ## ----------------------------------- ## 16997 ## Report this to rappture@nanohub.org ## 16998 ## ----------------------------------- ## 16999 _ASBOX 17000 ) | sed "s/^/$as_me: WARNING: /" >&2 17001 ;; 17002 esac 17003 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 17004 $as_echo_n "checking for $ac_header... " >&6; } 17005 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17006 $as_echo_n "(cached) " >&6 17007 else 17008 eval "$as_ac_Header=\$ac_header_preproc" 17009 fi 17010 ac_res=`eval 'as_val=${'$as_ac_Header'} 17011 $as_echo "$as_val"'` 17012 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17013 $as_echo "$ac_res" >&6; } 17014 17015 fi 17016 as_val=`eval 'as_val=${'$as_ac_Header'} 17017 $as_echo "$as_val"'` 17018 if test "x$as_val" = x""yes; then 9216 17019 cat >>confdefs.h <<_ACEOF 9217 #define HAVE_CG_CGGL_H19218 _ACEOF 9219 9220 else 9221 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cannot find nVidia Cg headers" >&517020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 17021 _ACEOF 17022 17023 else 17024 { $as_echo "$as_me:$LINENO: WARNING: cannot find nVidia Cg headers" >&5 9222 17025 $as_echo "$as_me: WARNING: cannot find nVidia Cg headers" >&2;} 9223 17026 fi … … 9283 17086 9284 17087 9285 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanoscale/renderservers.tcl nanovis/Makefile nanovis/newmat11/Makefile nanovis/R2/src/Makefile nanovis/vrmath/Makefile nanovis/imgLoaders/Makefile nanovis/transfer-function/Makefilepymolproxy/Makefile vtkvis/Doxyfile vtkvis/Makefile start_viz.sh start_nanoscale.sh"17088 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanoscale/renderservers.tcl nanovis/Makefile nanovis/newmat11/Makefile nanovis/R2/src/Makefile nanovis/vrmath/Makefile nanovis/imgLoaders/Makefile pymolproxy/Makefile vtkvis/Doxyfile vtkvis/Makefile start_viz.sh start_nanoscale.sh" 9286 17089 9287 17090 cat >confcache <<\_ACEOF … … 9312 17115 *${as_nl}*) 9313 17116 case $ac_var in #( 9314 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&517117 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 9315 17118 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9316 17119 esac … … 9318 17121 _ | IFS | as_nl) ;; #( 9319 17122 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9320 *) { eval $ac_var=; unset $ac_var;};;17123 *) $as_unset $ac_var ;; 9321 17124 esac ;; 9322 17125 esac … … 9326 17129 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9327 17130 *${as_nl}ac_space=\ *) 9328 # `set' does not quote correctly, so add quotes :double-quote9329 # substitution turns \\\\ into \\, and sed turns \\ into \ .17131 # `set' does not quote correctly, so add quotes (double-quote 17132 # substitution turns \\\\ into \\, and sed turns \\ into \). 9330 17133 sed -n \ 9331 17134 "s/'/'\\\\''/g; … … 9349 17152 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9350 17153 if test -w "$cache_file"; then 9351 if test "x$cache_file" != "x/dev/null"; then9352 { $as_echo "$as_me:$ {as_lineno-$LINENO}: updating cache $cache_file" >&517154 test "x$cache_file" != "x/dev/null" && 17155 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 9353 17156 $as_echo "$as_me: updating cache $cache_file" >&6;} 9354 if test ! -f "$cache_file" || test -h "$cache_file"; then 9355 cat confcache >"$cache_file" 9356 else 9357 case $cache_file in #( 9358 */* | ?:*) 9359 mv -f confcache "$cache_file"$$ && 9360 mv -f "$cache_file"$$ "$cache_file" ;; #( 9361 *) 9362 mv -f confcache "$cache_file" ;; 9363 esac 9364 fi 9365 fi 17157 cat confcache >$cache_file 9366 17158 else 9367 { $as_echo "$as_me:$ {as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&517159 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 9368 17160 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 9369 17161 fi … … 9379 17171 ac_libobjs= 9380 17172 ac_ltlibobjs= 9381 U=9382 17173 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 9383 17174 # 1. Remove the extension, and $U if already installed. … … 9386 17177 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9387 17178 # will be set to the directory where LIBOBJS objects are built. 9388 a s_fn_append ac_libobjs "\${LIBOBJDIR}$ac_i\$U.$ac_objext"9389 a s_fn_append ac_ltlibobjs "\${LIBOBJDIR}$ac_i"'$U.lo'17179 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 17180 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 9390 17181 done 9391 17182 LIBOBJS=$ac_libobjs … … 9396 17187 9397 17188 9398 : "${CONFIG_STATUS=./config.status}"17189 : ${CONFIG_STATUS=./config.status} 9399 17190 ac_write_fail=0 9400 17191 ac_clean_files_save=$ac_clean_files 9401 17192 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 9402 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $CONFIG_STATUS" >&517193 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 9403 17194 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9404 as_write_fail=0 9405 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 17195 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9406 17196 #! $SHELL 9407 17197 # Generated by $as_me. … … 9413 17203 ac_cs_recheck=false 9414 17204 ac_cs_silent=false 9415 9416 17205 SHELL=\${CONFIG_SHELL-$SHELL} 9417 export SHELL 9418 _ASEOF 9419 cat >>$CONFIG_STATUS <<\_A SEOF || as_write_fail=19420 ## -------------------- ##9421 ## M4sh Initialization. ##9422 ## -------------------- ##17206 _ACEOF 17207 17208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17209 ## --------------------- ## 17210 ## M4sh Initialization. ## 17211 ## --------------------- ## 9423 17212 9424 17213 # Be more Bourne compatible 9425 17214 DUALCASE=1; export DUALCASE # for MKS sh 9426 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :17215 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 9427 17216 emulate sh 9428 17217 NULLCMD=: … … 9432 17221 setopt NO_GLOB_SUBST 9433 17222 else 9434 case `(set -o) 2>/dev/null` in #( 9435 *posix*) : 9436 set -o posix ;; #( 9437 *) : 9438 ;; 9439 esac 9440 fi 9441 17223 case `(set -o) 2>/dev/null` in 17224 *posix*) set -o posix ;; 17225 esac 17226 17227 fi 17228 17229 17230 17231 17232 # PATH needs CR 17233 # Avoid depending upon Character Ranges. 17234 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 17235 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 17236 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 17237 as_cr_digits='0123456789' 17238 as_cr_alnum=$as_cr_Letters$as_cr_digits 9442 17239 9443 17240 as_nl=' … … 9448 17245 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9449 17246 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9450 # Prefer a ksh shell builtin over an external printf program on Solaris, 9451 # but without wasting forks for bash or zsh. 9452 if test -z "$BASH_VERSION$ZSH_VERSION" \ 9453 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9454 as_echo='print -r --' 9455 as_echo_n='print -rn --' 9456 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 17247 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9457 17248 as_echo='printf %s\n' 9458 17249 as_echo_n='printf %s' … … 9465 17256 as_echo_n_body='eval 9466 17257 arg=$1; 9467 case $arg in #(17258 case $arg in 9468 17259 *"$as_nl"*) 9469 17260 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 9488 17279 fi 9489 17280 17281 # Support unset when possible. 17282 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 17283 as_unset=unset 17284 else 17285 as_unset=false 17286 fi 17287 9490 17288 9491 17289 # IFS … … 9497 17295 9498 17296 # Find who we are. Look in the path if we contain no directory separator. 9499 as_myself= 9500 case $0 in #(( 17297 case $0 in 9501 17298 *[\\/]* ) as_myself=$0 ;; 9502 17299 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 9505 17302 IFS=$as_save_IFS 9506 17303 test -z "$as_dir" && as_dir=. 9507 9508 17304 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 17305 done 9509 17306 IFS=$as_save_IFS 9510 17307 … … 9518 17315 if test ! -f "$as_myself"; then 9519 17316 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9520 exit 1 9521 fi 9522 9523 # Unset variables that we do not need and which cause bugs (e.g. in 9524 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 9525 # suppresses any "Segmentation fault" message there. '((' could 9526 # trigger a bug in pdksh 5.2.14. 9527 for as_var in BASH_ENV ENV MAIL MAILPATH 9528 do eval test x\${$as_var+set} = xset \ 9529 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 17317 { (exit 1); exit 1; } 17318 fi 17319 17320 # Work around bugs in pre-3.0 UWIN ksh. 17321 for as_var in ENV MAIL MAILPATH 17322 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9530 17323 done 9531 17324 PS1='$ ' … … 9539 17332 export LANGUAGE 9540 17333 9541 # CDPATH. 9542 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9543 9544 9545 # as_fn_error STATUS ERROR [LINENO LOG_FD] 9546 # ---------------------------------------- 9547 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9548 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9549 # script with STATUS, using 1 if that was 0. 9550 as_fn_error () 9551 { 9552 as_status=$1; test $as_status -eq 0 && as_status=1 9553 if test "$4"; then 9554 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9555 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 9556 fi 9557 $as_echo "$as_me: error: $2" >&2 9558 as_fn_exit $as_status 9559 } # as_fn_error 9560 9561 9562 # as_fn_set_status STATUS 9563 # ----------------------- 9564 # Set $? to STATUS, without forking. 9565 as_fn_set_status () 9566 { 9567 return $1 9568 } # as_fn_set_status 9569 9570 # as_fn_exit STATUS 9571 # ----------------- 9572 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9573 as_fn_exit () 9574 { 9575 set +e 9576 as_fn_set_status $1 9577 exit $1 9578 } # as_fn_exit 9579 9580 # as_fn_unset VAR 9581 # --------------- 9582 # Portably unset VAR. 9583 as_fn_unset () 9584 { 9585 { eval $1=; unset $1;} 9586 } 9587 as_unset=as_fn_unset 9588 # as_fn_append VAR VALUE 9589 # ---------------------- 9590 # Append the text in VALUE to the end of the definition contained in VAR. Take 9591 # advantage of any shell optimizations that allow amortized linear growth over 9592 # repeated appends, instead of the typical quadratic growth present in naive 9593 # implementations. 9594 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 9595 eval 'as_fn_append () 9596 { 9597 eval $1+=\$2 9598 }' 9599 else 9600 as_fn_append () 9601 { 9602 eval $1=\$$1\$2 9603 } 9604 fi # as_fn_append 9605 9606 # as_fn_arith ARG... 9607 # ------------------ 9608 # Perform arithmetic evaluation on the ARGs, and store the result in the 9609 # global $as_val. Take advantage of shells that can avoid forks. The arguments 9610 # must be portable across $(()) and expr. 9611 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 9612 eval 'as_fn_arith () 9613 { 9614 as_val=$(( $* )) 9615 }' 9616 else 9617 as_fn_arith () 9618 { 9619 as_val=`expr "$@" || test $? -eq 1` 9620 } 9621 fi # as_fn_arith 9622 9623 17334 # Required to use basename. 9624 17335 if expr a : '\(a\)' >/dev/null 2>&1 && 9625 17336 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 9635 17346 fi 9636 17347 9637 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9638 as_dirname=dirname 9639 else 9640 as_dirname=false 9641 fi 9642 17348 17349 # Name of the executable. 9643 17350 as_me=`$as_basename -- "$0" || 9644 17351 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 9660 17367 s/.*/./; q'` 9661 17368 9662 # Avoid depending upon Character Ranges. 9663 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9664 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9665 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9666 as_cr_digits='0123456789' 9667 as_cr_alnum=$as_cr_Letters$as_cr_digits 17369 # CDPATH. 17370 $as_unset CDPATH 17371 17372 17373 17374 as_lineno_1=$LINENO 17375 as_lineno_2=$LINENO 17376 test "x$as_lineno_1" != "x$as_lineno_2" && 17377 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 17378 17379 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 17380 # uniformly replaced by the line number. The first 'sed' inserts a 17381 # line-number line after each line using $LINENO; the second 'sed' 17382 # does the real work. The second script uses 'N' to pair each 17383 # line-number line with the line containing $LINENO, and appends 17384 # trailing '-' during substitution so that $LINENO is not a special 17385 # case at line end. 17386 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 17387 # scripts with optimization help from Paolo Bonzini. Blame Lee 17388 # E. McMahon (1931-1989) for sed's syntax. :-) 17389 sed -n ' 17390 p 17391 /[$]LINENO/= 17392 ' <$as_myself | 17393 sed ' 17394 s/[$]LINENO.*/&-/ 17395 t lineno 17396 b 17397 :lineno 17398 N 17399 :loop 17400 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 17401 t loop 17402 s/-\n.*// 17403 ' >$as_me.lineno && 17404 chmod +x "$as_me.lineno" || 17405 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 17406 { (exit 1); exit 1; }; } 17407 17408 # Don't try to exec as it changes $[0], causing all sort of problems 17409 # (the dirname of $[0] is not the place where we might find the 17410 # original and so on. Autoconf is especially sensitive to this). 17411 . "./$as_me.lineno" 17412 # Exit status is that of the last command. 17413 exit 17414 } 17415 17416 17417 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 17418 as_dirname=dirname 17419 else 17420 as_dirname=false 17421 fi 9668 17422 9669 17423 ECHO_C= ECHO_N= ECHO_T= 9670 case `echo -n x` in #(((((17424 case `echo -n x` in 9671 17425 -n*) 9672 case `echo 'x y\c'` in17426 case `echo 'x\c'` in 9673 17427 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9674 xy) ECHO_C='\c';; 9675 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 9676 ECHO_T=' ';; 17428 *) ECHO_C='\c';; 9677 17429 esac;; 9678 17430 *) 9679 17431 ECHO_N='-n';; 9680 17432 esac 17433 if expr a : '\(a\)' >/dev/null 2>&1 && 17434 test "X`expr 00001 : '.*\(...\)'`" = X001; then 17435 as_expr=expr 17436 else 17437 as_expr=false 17438 fi 9681 17439 9682 17440 rm -f conf$$ conf$$.exe conf$$.file … … 9693 17451 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9694 17452 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9695 # In both cases, we have to default to `cp -p R'.17453 # In both cases, we have to default to `cp -p'. 9696 17454 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9697 as_ln_s='cp -p R'17455 as_ln_s='cp -p' 9698 17456 elif ln conf$$.file conf$$ 2>/dev/null; then 9699 17457 as_ln_s=ln 9700 17458 else 9701 as_ln_s='cp -p R'17459 as_ln_s='cp -p' 9702 17460 fi 9703 17461 else 9704 as_ln_s='cp -p R'17462 as_ln_s='cp -p' 9705 17463 fi 9706 17464 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9707 17465 rmdir conf$$.dir 2>/dev/null 9708 17466 9709 9710 # as_fn_mkdir_p9711 # -------------9712 # Create "$as_dir" as a directory, including parents if necessary.9713 as_fn_mkdir_p ()9714 {9715 9716 case $as_dir in #(9717 -*) as_dir=./$as_dir;;9718 esac9719 test -d "$as_dir" || eval $as_mkdir_p || {9720 as_dirs=9721 while :; do9722 case $as_dir in #(9723 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(9724 *) as_qdir=$as_dir;;9725 esac9726 as_dirs="'$as_qdir' $as_dirs"9727 as_dir=`$as_dirname -- "$as_dir" ||9728 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \9729 X"$as_dir" : 'X\(//\)[^/]' \| \9730 X"$as_dir" : 'X\(//\)$' \| \9731 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||9732 $as_echo X"$as_dir" |9733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{9734 s//\1/9735 q9736 }9737 /^X\(\/\/\)[^/].*/{9738 s//\1/9739 q9740 }9741 /^X\(\/\/\)$/{9742 s//\1/9743 q9744 }9745 /^X\(\/\).*/{9746 s//\1/9747 q9748 }9749 s/.*/./; q'`9750 test -d "$as_dir" && break9751 done9752 test -z "$as_dirs" || eval "mkdir $as_dirs"9753 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"9754 9755 9756 } # as_fn_mkdir_p9757 17467 if mkdir -p . 2>/dev/null; then 9758 as_mkdir_p= 'mkdir -p "$as_dir"'17468 as_mkdir_p=: 9759 17469 else 9760 17470 test -d ./-p && rmdir ./-p … … 9762 17472 fi 9763 17473 9764 9765 # as_fn_executable_p FILE 9766 # ----------------------- 9767 # Test if FILE is an executable regular file. 9768 as_fn_executable_p () 9769 { 9770 test -f "$1" && test -x "$1" 9771 } # as_fn_executable_p 9772 as_test_x='test -x' 9773 as_executable_p=as_fn_executable_p 17474 if test -x / >/dev/null 2>&1; then 17475 as_test_x='test -x' 17476 else 17477 if ls -dL / >/dev/null 2>&1; then 17478 as_ls_L_option=L 17479 else 17480 as_ls_L_option= 17481 fi 17482 as_test_x=' 17483 eval sh -c '\'' 17484 if test -d "$1"; then 17485 test -d "$1/."; 17486 else 17487 case $1 in 17488 -*)set "./$1";; 17489 esac; 17490 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 17491 ???[sx]*):;;*)false;;esac;fi 17492 '\'' sh 17493 ' 17494 fi 17495 as_executable_p=$as_test_x 9774 17496 9775 17497 # Sed expression to map a string onto a valid CPP name. … … 9781 17503 9782 17504 exec 6>&1 9783 ## ----------------------------------- ## 9784 ## Main body of $CONFIG_STATUS script. ## 9785 ## ----------------------------------- ## 9786 _ASEOF 9787 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9788 9789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9790 # Save the log message, to keep $0 and so on meaningful, and to 17505 17506 # Save the log message, to keep $[0] and so on meaningful, and to 9791 17507 # report actual input values of CONFIG_FILES etc. instead of their 9792 17508 # values after options handling. 9793 17509 ac_log=" 9794 17510 This file was extended by vizservers $as_me 0.1, which was 9795 generated by GNU Autoconf 2.6 9. Invocation command line was17511 generated by GNU Autoconf 2.63. Invocation command line was 9796 17512 9797 17513 CONFIG_FILES = $CONFIG_FILES … … 9824 17540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9825 17541 ac_cs_usage="\ 9826 \`$as_me' instantiates files and other configuration actions 9827 from templates according to the current configuration. Unless the files 9828 and actions are specified as TAGs, all are instantiated by default. 9829 9830 Usage: $0 [OPTION]... [TAG]... 17542 \`$as_me' instantiates files from templates according to the 17543 current configuration. 17544 17545 Usage: $0 [OPTION]... [FILE]... 9831 17546 9832 17547 -h, --help print this help, then exit 9833 17548 -V, --version print version number and configuration settings, then exit 9834 --config print configuration, then exit9835 17549 -q, --quiet, --silent 9836 17550 do not print progress messages … … 9848 17562 $config_headers 9849 17563 9850 Report bugs to < rappture@nanohub.org>."17564 Report bugs to <bug-autoconf@gnu.org>." 9851 17565 9852 17566 _ACEOF 9853 17567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9854 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"9855 17568 ac_cs_version="\\ 9856 17569 vizservers config.status 0.1 9857 configured by $0, generated by GNU Autoconf 2.6 9,9858 with options \\" \$ac_cs_config\\"9859 9860 Copyright (C) 20 12Free Software Foundation, Inc.17570 configured by $0, generated by GNU Autoconf 2.63, 17571 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 17572 17573 Copyright (C) 2008 Free Software Foundation, Inc. 9861 17574 This config.status script is free software; the Free Software Foundation 9862 17575 gives unlimited permission to copy, distribute and modify it." … … 9875 17588 do 9876 17589 case $1 in 9877 --*= ?*)17590 --*=*) 9878 17591 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9879 17592 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9880 ac_shift=:9881 ;;9882 --*=)9883 ac_option=`expr "X$1" : 'X\([^=]*\)='`9884 ac_optarg=9885 17593 ac_shift=: 9886 17594 ;; … … 9898 17606 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9899 17607 $as_echo "$ac_cs_version"; exit ;; 9900 --config | --confi | --conf | --con | --co | --c )9901 $as_echo "$ac_cs_config"; exit ;;9902 17608 --debug | --debu | --deb | --de | --d | -d ) 9903 17609 debug=: ;; … … 9906 17612 case $ac_optarg in 9907 17613 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9908 '') as_fn_error $? "missing file argument" ;;9909 17614 esac 9910 as_fn_append CONFIG_FILES "'$ac_optarg'"17615 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9911 17616 ac_need_defaults=false;; 9912 17617 --header | --heade | --head | --hea ) … … 9915 17620 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9916 17621 esac 9917 as_fn_append CONFIG_HEADERS "'$ac_optarg'"17622 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9918 17623 ac_need_defaults=false;; 9919 17624 --he | --h) 9920 17625 # Conflict between --help and --header 9921 as_fn_error $? "ambiguous option: \`$1' 9922 Try \`$0 --help' for more information.";; 17626 { $as_echo "$as_me: error: ambiguous option: $1 17627 Try \`$0 --help' for more information." >&2 17628 { (exit 1); exit 1; }; };; 9923 17629 --help | --hel | -h ) 9924 17630 $as_echo "$ac_cs_usage"; exit ;; … … 9928 17634 9929 17635 # This is an error. 9930 -*) as_fn_error $? "unrecognized option: \`$1' 9931 Try \`$0 --help' for more information." ;; 9932 9933 *) as_fn_append ac_config_targets " $1" 17636 -*) { $as_echo "$as_me: error: unrecognized option: $1 17637 Try \`$0 --help' for more information." >&2 17638 { (exit 1); exit 1; }; } ;; 17639 17640 *) ac_config_targets="$ac_config_targets $1" 9934 17641 ac_need_defaults=false ;; 9935 17642 … … 9948 17655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9949 17656 if \$ac_cs_recheck; then 9950 set X $SHELL'$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion17657 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9951 17658 shift 9952 17659 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 … … 9987 17694 "nanovis/vrmath/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/vrmath/Makefile" ;; 9988 17695 "nanovis/imgLoaders/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/imgLoaders/Makefile" ;; 9989 "nanovis/transfer-function/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/transfer-function/Makefile" ;;9990 17696 "pymolproxy/Makefile") CONFIG_FILES="$CONFIG_FILES pymolproxy/Makefile" ;; 9991 17697 "vtkvis/Doxyfile") CONFIG_FILES="$CONFIG_FILES vtkvis/Doxyfile" ;; … … 9994 17700 "start_nanoscale.sh") CONFIG_FILES="$CONFIG_FILES start_nanoscale.sh" ;; 9995 17701 9996 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17702 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 17703 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 17704 { (exit 1); exit 1; }; };; 9997 17705 esac 9998 17706 done … … 10016 17724 $debug || 10017 17725 { 10018 tmp= ac_tmp=17726 tmp= 10019 17727 trap 'exit_status=$? 10020 : "${ac_tmp:=$tmp}" 10021 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17728 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 10022 17729 ' 0 10023 trap ' as_fn_exit 1' 1 2 13 1517730 trap '{ (exit 1); exit 1; }' 1 2 13 15 10024 17731 } 10025 17732 # Create a (secure) tmp directory for tmp files. … … 10027 17734 { 10028 17735 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 10029 test - d "$tmp"17736 test -n "$tmp" && test -d "$tmp" 10030 17737 } || 10031 17738 { 10032 17739 tmp=./conf$$-$RANDOM 10033 17740 (umask 077 && mkdir "$tmp") 10034 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 10035 ac_tmp=$tmp 17741 } || 17742 { 17743 $as_echo "$as_me: cannot create a temporary directory in ." >&2 17744 { (exit 1); exit 1; } 17745 } 10036 17746 10037 17747 # Set up the scripts for CONFIG_FILES section. … … 10041 17751 10042 17752 10043 ac_cr=`echo X | tr X '\015'` 10044 # On cygwin, bash can eat \r inside `` if the user requested igncr. 10045 # But we know of no other shell where ac_cr would be empty at this 10046 # point, so we can use a bashism as a fallback. 10047 if test "x$ac_cr" = x; then 10048 eval ac_cr=\$\'\\r\' 10049 fi 17753 ac_cr=' 17754 ' 10050 17755 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10051 17756 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then … … 10055 17760 fi 10056 17761 10057 echo 'BEGIN {' >"$ ac_tmp/subs1.awk" &&17762 echo 'BEGIN {' >"$tmp/subs1.awk" && 10058 17763 _ACEOF 10059 17764 … … 10064 17769 echo "_ACEOF" 10065 17770 } >conf$$subs.sh || 10066 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10067 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17771 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17772 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17773 { (exit 1); exit 1; }; } 17774 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 10068 17775 ac_delim='%!_!# ' 10069 17776 for ac_last_try in false false false false false :; do 10070 17777 . ./conf$$subs.sh || 10071 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17778 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17779 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17780 { (exit 1); exit 1; }; } 10072 17781 10073 17782 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 10075 17784 break 10076 17785 elif $ac_last_try; then 10077 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17786 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17787 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17788 { (exit 1); exit 1; }; } 10078 17789 else 10079 17790 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 10083 17794 10084 17795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10085 cat >>"\$ ac_tmp/subs1.awk" <<\\_ACAWK &&17796 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 10086 17797 _ACEOF 10087 17798 sed -n ' … … 10097 17808 :nl 10098 17809 h 10099 s/\(.\{148\}\). .*/\1/17810 s/\(.\{148\}\).*/\1/ 10100 17811 t more1 10101 17812 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 10111 17822 :delim 10112 17823 h 10113 s/\(.\{148\}\). .*/\1/17824 s/\(.\{148\}\).*/\1/ 10114 17825 t more2 10115 17826 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 10131 17842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10132 17843 _ACAWK 10133 cat >>"\$ ac_tmp/subs1.awk" <<_ACAWK &&17844 cat >>"\$tmp/subs1.awk" <<_ACAWK && 10134 17845 for (key in S) S_is_set[key] = 1 10135 17846 FS = "" … … 10163 17874 else 10164 17875 cat 10165 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 10166 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 10167 _ACEOF 10168 10169 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 10170 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17876 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 17877 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 17878 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 17879 { (exit 1); exit 1; }; } 17880 _ACEOF 17881 17882 # VPATH may cause trouble with some makes, so we remove $(srcdir), 17883 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 10171 17884 # trailing colons and then remove the whole line if VPATH becomes empty 10172 17885 # (actually we leave an empty line to preserve line numbers). 10173 17886 if test "x$srcdir" = x.; then 10174 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 10175 h 10176 s/// 10177 s/^/:/ 10178 s/[ ]*$/:/ 10179 s/:\$(srcdir):/:/g 10180 s/:\${srcdir}:/:/g 10181 s/:@srcdir@:/:/g 10182 s/^:*// 17887 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 17888 s/:*\$(srcdir):*/:/ 17889 s/:*\${srcdir}:*/:/ 17890 s/:*@srcdir@:*/:/ 17891 s/^\([^=]*=[ ]*\):*/\1/ 10183 17892 s/:*$// 10184 x10185 s/\(=[ ]*\).*/\1/10186 G10187 s/\n//10188 17893 s/^[^=]*=[ ]*$// 10189 17894 }' … … 10197 17902 # This happens for instance with `./config.status Makefile'. 10198 17903 if test -n "$CONFIG_HEADERS"; then 10199 cat >"$ ac_tmp/defines.awk" <<\_ACAWK ||17904 cat >"$tmp/defines.awk" <<\_ACAWK || 10200 17905 BEGIN { 10201 17906 _ACEOF … … 10209 17914 ac_delim='%!_!# ' 10210 17915 for ac_last_try in false false :; do 10211 ac_t t=`sed -n "/$ac_delim/p" confdefs.h`10212 if test -z "$ac_t t"; then17916 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 17917 if test -z "$ac_t"; then 10213 17918 break 10214 17919 elif $ac_last_try; then 10215 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 17920 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 17921 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 17922 { (exit 1); exit 1; }; } 10216 17923 else 10217 17924 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 10298 18005 _ACEOF 10299 18006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10300 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 18007 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 18008 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 18009 { (exit 1); exit 1; }; } 10301 18010 fi # test -n "$CONFIG_HEADERS" 10302 18011 … … 10311 18020 case $ac_mode$ac_tag in 10312 18021 :[FHL]*:*);; 10313 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 18022 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 18023 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 18024 { (exit 1); exit 1; }; };; 10314 18025 :[FH]-) ac_tag=-:-;; 10315 18026 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 10330 18041 do 10331 18042 case $ac_f in 10332 -) ac_f="$ ac_tmp/stdin";;18043 -) ac_f="$tmp/stdin";; 10333 18044 *) # Look for the file first in the build tree, then in the source tree 10334 18045 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 10339 18050 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10340 18051 esac || 10341 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 18052 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 18053 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 18054 { (exit 1); exit 1; }; };; 10342 18055 esac 10343 18056 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10344 a s_fn_append ac_file_inputs "'$ac_f'"18057 ac_file_inputs="$ac_file_inputs '$ac_f'" 10345 18058 done 10346 18059 … … 10353 18066 if test x"$ac_file" != x-; then 10354 18067 configure_input="$ac_file. $configure_input" 10355 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $ac_file" >&518068 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 10356 18069 $as_echo "$as_me: creating $ac_file" >&6;} 10357 18070 fi … … 10365 18078 10366 18079 case $ac_tag in 10367 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 10368 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 18080 *:-:* | *:-) cat >"$tmp/stdin" \ 18081 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 18082 $as_echo "$as_me: error: could not create $ac_file" >&2;} 18083 { (exit 1); exit 1; }; } ;; 10369 18084 esac 10370 18085 ;; … … 10394 18109 } 10395 18110 s/.*/./; q'` 10396 as_dir="$ac_dir"; as_fn_mkdir_p 18111 { as_dir="$ac_dir" 18112 case $as_dir in #( 18113 -*) as_dir=./$as_dir;; 18114 esac 18115 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 18116 as_dirs= 18117 while :; do 18118 case $as_dir in #( 18119 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 18120 *) as_qdir=$as_dir;; 18121 esac 18122 as_dirs="'$as_qdir' $as_dirs" 18123 as_dir=`$as_dirname -- "$as_dir" || 18124 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18125 X"$as_dir" : 'X\(//\)[^/]' \| \ 18126 X"$as_dir" : 'X\(//\)$' \| \ 18127 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 18128 $as_echo X"$as_dir" | 18129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18130 s//\1/ 18131 q 18132 } 18133 /^X\(\/\/\)[^/].*/{ 18134 s//\1/ 18135 q 18136 } 18137 /^X\(\/\/\)$/{ 18138 s//\1/ 18139 q 18140 } 18141 /^X\(\/\).*/{ 18142 s//\1/ 18143 q 18144 } 18145 s/.*/./; q'` 18146 test -d "$as_dir" && break 18147 done 18148 test -z "$as_dirs" || eval "mkdir $as_dirs" 18149 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 18150 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 18151 { (exit 1); exit 1; }; }; } 10397 18152 ac_builddir=. 10398 18153 … … 10451 18206 # FIXME: This hack should be removed a few years after 2.60. 10452 18207 ac_datarootdir_hack=; ac_datarootdir_seen= 18208 10453 18209 ac_sed_dataroot=' 10454 18210 /datarootdir/ { … … 10460 18216 /@infodir@/p 10461 18217 /@localedir@/p 10462 /@mandir@/p' 18218 /@mandir@/p 18219 ' 10463 18220 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10464 18221 *datarootdir*) ac_datarootdir_seen=yes;; 10465 18222 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10466 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&518223 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10467 18224 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10468 18225 _ACEOF … … 10474 18231 s&@localedir@&$localedir&g 10475 18232 s&@mandir@&$mandir&g 10476 s&\\\${datarootdir}&$datarootdir&g' ;;18233 s&\\\${datarootdir}&$datarootdir&g' ;; 10477 18234 esac 10478 18235 _ACEOF … … 10502 18259 $ac_datarootdir_hack 10503 18260 " 10504 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 10505 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18261 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 18262 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 18263 $as_echo "$as_me: error: could not create $ac_file" >&2;} 18264 { (exit 1); exit 1; }; } 10506 18265 10507 18266 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10508 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 10509 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 10510 "$ac_tmp/out"`; test -z "$ac_out"; } && 10511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10512 which seems to be undefined. Please make sure it is defined" >&5 18267 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 18268 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 18269 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18270 which seems to be undefined. Please make sure it is defined." >&5 10513 18271 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10514 which seems to be undefined. Please make sure it is defined " >&2;}10515 10516 rm -f "$ ac_tmp/stdin"18272 which seems to be undefined. Please make sure it is defined." >&2;} 18273 18274 rm -f "$tmp/stdin" 10517 18275 case $ac_file in 10518 -) cat "$ ac_tmp/out" && rm -f "$ac_tmp/out";;10519 *) rm -f "$ac_file" && mv "$ ac_tmp/out" "$ac_file";;18276 -) cat "$tmp/out" && rm -f "$tmp/out";; 18277 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10520 18278 esac \ 10521 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18279 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 18280 $as_echo "$as_me: error: could not create $ac_file" >&2;} 18281 { (exit 1); exit 1; }; } 10522 18282 ;; 10523 18283 :H) … … 10528 18288 { 10529 18289 $as_echo "/* $configure_input */" \ 10530 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 10531 } >"$ac_tmp/config.h" \ 10532 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10533 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 10534 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18290 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 18291 } >"$tmp/config.h" \ 18292 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 18293 $as_echo "$as_me: error: could not create $ac_file" >&2;} 18294 { (exit 1); exit 1; }; } 18295 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 18296 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10535 18297 $as_echo "$as_me: $ac_file is unchanged" >&6;} 10536 18298 else 10537 18299 rm -f "$ac_file" 10538 mv "$ac_tmp/config.h" "$ac_file" \ 10539 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18300 mv "$tmp/config.h" "$ac_file" \ 18301 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 18302 $as_echo "$as_me: error: could not create $ac_file" >&2;} 18303 { (exit 1); exit 1; }; } 10540 18304 fi 10541 18305 else 10542 18306 $as_echo "/* $configure_input */" \ 10543 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 10544 || as_fn_error $? "could not create -" "$LINENO" 5 18307 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 18308 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 18309 $as_echo "$as_me: error: could not create -" >&2;} 18310 { (exit 1); exit 1; }; } 10545 18311 fi 10546 18312 ;; … … 10552 18318 10553 18319 10554 as_fn_exit 0 10555 _ACEOF 18320 { (exit 0); exit 0; } 18321 _ACEOF 18322 chmod +x $CONFIG_STATUS 10556 18323 ac_clean_files=$ac_clean_files_save 10557 18324 10558 18325 test $ac_write_fail = 0 || 10559 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 18326 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 18327 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 18328 { (exit 1); exit 1; }; } 10560 18329 10561 18330 … … 10578 18347 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 10579 18348 # would make configure fail if this is the last instruction. 10580 $ac_cs_success || as_fn_exit 118349 $ac_cs_success || { (exit 1); exit 1; } 10581 18350 fi 10582 18351 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10583 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&518352 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10584 18353 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10585 18354 fi
Note: See TracChangeset
for help on using the changeset viewer.